/**
 * Minified by jsDelivr using esbuild v0.28.1.
 * Original file: /npm/@okxconnect/connect-kit@1.6.7/dist/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
var cvt=Object.create,eN=Object.defineProperty,uvt=Object.getOwnPropertyDescriptor,lvt=Object.getOwnPropertyNames,fvt=Object.getPrototypeOf,dvt=Object.prototype.hasOwnProperty,r0=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):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,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of lvt(t))!dvt.call(e,s)&&s!==r&&eN(e,s,{get:()=>t[s],enumerable:!(o=uvt(t,s))||o.enumerable});return e},hi=(e,t,r)=>(r=e!=null?cvt(fvt(e)):{},fxe(t||!e||!e.__esModule?eN(r,"default",{value:e,enumerable:!0}):r,e)),tN=e=>fxe(eN({},"__esModule",{value:!0}),e),pxe=W(e=>{"use strict";m(),e.byteLength=u,e.toByteArray=d,e.fromByteArray=C;var t=[],r=[],o=typeof Uint8Array<"u"?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,n=s.length;i<n;++i)t[i]=s[i],r[s.charCodeAt(i)]=i;var i,n;r[45]=62,r[95]=63;function a(w){var T=w.length;if(T%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var A=w.indexOf("=");A===-1&&(A=T);var O=A===T?0:4-A%4;return[A,O]}function u(w){var T=a(w),A=T[0],O=T[1];return(A+O)*3/4-O}function c(w,T,A){return(T+A)*3/4-A}function d(w){var T,A=a(w),O=A[0],v=A[1],B=new o(c(w,O,v)),R=0,U=v>0?O-4:O,N;for(N=0;N<U;N+=4)T=r[w.charCodeAt(N)]<<18|r[w.charCodeAt(N+1)]<<12|r[w.charCodeAt(N+2)]<<6|r[w.charCodeAt(N+3)],B[R++]=T>>16&255,B[R++]=T>>8&255,B[R++]=T&255;return v===2&&(T=r[w.charCodeAt(N)]<<2|r[w.charCodeAt(N+1)]>>4,B[R++]=T&255),v===1&&(T=r[w.charCodeAt(N)]<<10|r[w.charCodeAt(N+1)]<<4|r[w.charCodeAt(N+2)]>>2,B[R++]=T>>8&255,B[R++]=T&255),B}function h(w){return t[w>>18&63]+t[w>>12&63]+t[w>>6&63]+t[w&63]}function y(w,T,A){for(var O,v=[],B=T;B<A;B+=3)O=(w[B]<<16&16711680)+(w[B+1]<<8&65280)+(w[B+2]&255),v.push(h(O));return v.join("")}function C(w){for(var T,A=w.length,O=A%3,v=[],B=16383,R=0,U=A-O;R<U;R+=B)v.push(y(w,R,R+B>U?U:R+B));return O===1?(T=w[A-1],v.push(t[T>>2]+t[T<<4&63]+"==")):O===2&&(T=(w[A-2]<<8)+w[A-1],v.push(t[T>>10]+t[T>>4&63]+t[T<<2&63]+"=")),v.join("")}}),gxe=W(e=>{m(),e.read=function(t,r,o,s,i){var n,a,u=i*8-s-1,c=(1<<u)-1,d=c>>1,h=-7,y=o?i-1:0,C=o?-1:1,w=t[r+y];for(y+=C,n=w&(1<<-h)-1,w>>=-h,h+=u;h>0;n=n*256+t[r+y],y+=C,h-=8);for(a=n&(1<<-h)-1,n>>=-h,h+=s;h>0;a=a*256+t[r+y],y+=C,h-=8);if(n===0)n=1-d;else{if(n===c)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,s),n=n-d}return(w?-1:1)*a*Math.pow(2,n-s)},e.write=function(t,r,o,s,i,n){var a,u,c,d=n*8-i-1,h=(1<<d)-1,y=h>>1,C=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=s?0:n-1,T=s?1:-1,A=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,a=h):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+y>=1?r+=C/c:r+=C*Math.pow(2,1-y),r*c>=2&&(a++,c/=2),a+y>=h?(u=0,a=h):a+y>=1?(u=(r*c-1)*Math.pow(2,i),a=a+y):(u=r*Math.pow(2,y-1)*Math.pow(2,i),a=0));i>=8;t[o+w]=u&255,w+=T,u/=256,i-=8);for(a=a<<i|u,d+=i;d>0;t[o+w]=a&255,w+=T,a/=256,d-=8);t[o+w-T]|=A*128}}),Go=W(e=>{"use strict";m();var t=pxe(),r=gxe(),o=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50;var s=2147483647;e.kMaxLength=s,a.TYPED_ARRAY_SUPPORT=i(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&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.");function i(){try{var ee=new Uint8Array(1),fe={foo:function(){return 42}};return Object.setPrototypeOf(fe,Uint8Array.prototype),Object.setPrototypeOf(ee,fe),ee.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function n(ee){if(ee>s)throw new RangeError('The value "'+ee+'" is invalid for option "size"');var fe=new Uint8Array(ee);return Object.setPrototypeOf(fe,a.prototype),fe}function a(ee,fe,ie){if(typeof ee=="number"){if(typeof fe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return h(ee)}return u(ee,fe,ie)}a.poolSize=8192;function u(ee,fe,ie){if(typeof ee=="string")return y(ee,fe);if(ArrayBuffer.isView(ee))return w(ee);if(ee==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ee);if(ve(ee,ArrayBuffer)||ee&&ve(ee.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ve(ee,SharedArrayBuffer)||ee&&ve(ee.buffer,SharedArrayBuffer)))return T(ee,fe,ie);if(typeof ee=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var re=ee.valueOf&&ee.valueOf();if(re!=null&&re!==ee)return a.from(re,fe,ie);var Oe=A(ee);if(Oe)return Oe;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ee[Symbol.toPrimitive]=="function")return a.from(ee[Symbol.toPrimitive]("string"),fe,ie);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ee)}a.from=function(ee,fe,ie){return u(ee,fe,ie)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function c(ee){if(typeof ee!="number")throw new TypeError('"size" argument must be of type number');if(ee<0)throw new RangeError('The value "'+ee+'" is invalid for option "size"')}function d(ee,fe,ie){return c(ee),ee<=0?n(ee):fe!==void 0?typeof ie=="string"?n(ee).fill(fe,ie):n(ee).fill(fe):n(ee)}a.alloc=function(ee,fe,ie){return d(ee,fe,ie)};function h(ee){return c(ee),n(ee<0?0:O(ee)|0)}a.allocUnsafe=function(ee){return h(ee)},a.allocUnsafeSlow=function(ee){return h(ee)};function y(ee,fe){if((typeof fe!="string"||fe==="")&&(fe="utf8"),!a.isEncoding(fe))throw new TypeError("Unknown encoding: "+fe);var ie=B(ee,fe)|0,re=n(ie),Oe=re.write(ee,fe);return Oe!==ie&&(re=re.slice(0,Oe)),re}function C(ee){for(var fe=ee.length<0?0:O(ee.length)|0,ie=n(fe),re=0;re<fe;re+=1)ie[re]=ee[re]&255;return ie}function w(ee){if(ve(ee,Uint8Array)){var fe=new Uint8Array(ee);return T(fe.buffer,fe.byteOffset,fe.byteLength)}return C(ee)}function T(ee,fe,ie){if(fe<0||ee.byteLength<fe)throw new RangeError('"offset" is outside of buffer bounds');if(ee.byteLength<fe+(ie||0))throw new RangeError('"length" is outside of buffer bounds');var re;return fe===void 0&&ie===void 0?re=new Uint8Array(ee):ie===void 0?re=new Uint8Array(ee,fe):re=new Uint8Array(ee,fe,ie),Object.setPrototypeOf(re,a.prototype),re}function A(ee){if(a.isBuffer(ee)){var fe=O(ee.length)|0,ie=n(fe);return ie.length===0||ee.copy(ie,0,0,fe),ie}if(ee.length!==void 0)return typeof ee.length!="number"||ge(ee.length)?n(0):C(ee);if(ee.type==="Buffer"&&Array.isArray(ee.data))return C(ee.data)}function O(ee){if(ee>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return ee|0}function v(ee){return+ee!=ee&&(ee=0),a.alloc(+ee)}a.isBuffer=function(ee){return ee!=null&&ee._isBuffer===!0&&ee!==a.prototype},a.compare=function(ee,fe){if(ve(ee,Uint8Array)&&(ee=a.from(ee,ee.offset,ee.byteLength)),ve(fe,Uint8Array)&&(fe=a.from(fe,fe.offset,fe.byteLength)),!a.isBuffer(ee)||!a.isBuffer(fe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ee===fe)return 0;for(var ie=ee.length,re=fe.length,Oe=0,Pe=Math.min(ie,re);Oe<Pe;++Oe)if(ee[Oe]!==fe[Oe]){ie=ee[Oe],re=fe[Oe];break}return ie<re?-1:re<ie?1:0},a.isEncoding=function(ee){switch(String(ee).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}},a.concat=function(ee,fe){if(!Array.isArray(ee))throw new TypeError('"list" argument must be an Array of Buffers');if(ee.length===0)return a.alloc(0);var ie;if(fe===void 0)for(fe=0,ie=0;ie<ee.length;++ie)fe+=ee[ie].length;var re=a.allocUnsafe(fe),Oe=0;for(ie=0;ie<ee.length;++ie){var Pe=ee[ie];if(ve(Pe,Uint8Array))Oe+Pe.length>re.length?a.from(Pe).copy(re,Oe):Uint8Array.prototype.set.call(re,Pe,Oe);else if(a.isBuffer(Pe))Pe.copy(re,Oe);else throw new TypeError('"list" argument must be an Array of Buffers');Oe+=Pe.length}return re};function B(ee,fe){if(a.isBuffer(ee))return ee.length;if(ArrayBuffer.isView(ee)||ve(ee,ArrayBuffer))return ee.byteLength;if(typeof ee!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ee);var ie=ee.length,re=arguments.length>2&&arguments[2]===!0;if(!re&&ie===0)return 0;for(var Oe=!1;;)switch(fe){case"ascii":case"latin1":case"binary":return ie;case"utf8":case"utf-8":return ue(ee).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie*2;case"hex":return ie>>>1;case"base64":return ne(ee).length;default:if(Oe)return re?-1:ue(ee).length;fe=(""+fe).toLowerCase(),Oe=!0}}a.byteLength=B;function R(ee,fe,ie){var re=!1;if((fe===void 0||fe<0)&&(fe=0),fe>this.length||((ie===void 0||ie>this.length)&&(ie=this.length),ie<=0)||(ie>>>=0,fe>>>=0,ie<=fe))return"";for(ee||(ee="utf8");;)switch(ee){case"hex":return S(this,fe,ie);case"utf8":case"utf-8":return E(this,fe,ie);case"ascii":return k(this,fe,ie);case"latin1":case"binary":return x(this,fe,ie);case"base64":return p(this,fe,ie);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f(this,fe,ie);default:if(re)throw new TypeError("Unknown encoding: "+ee);ee=(ee+"").toLowerCase(),re=!0}}a.prototype._isBuffer=!0;function U(ee,fe,ie){var re=ee[fe];ee[fe]=ee[ie],ee[ie]=re}a.prototype.swap16=function(){var ee=this.length;if(ee%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var fe=0;fe<ee;fe+=2)U(this,fe,fe+1);return this},a.prototype.swap32=function(){var ee=this.length;if(ee%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var fe=0;fe<ee;fe+=4)U(this,fe,fe+3),U(this,fe+1,fe+2);return this},a.prototype.swap64=function(){var ee=this.length;if(ee%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var fe=0;fe<ee;fe+=8)U(this,fe,fe+7),U(this,fe+1,fe+6),U(this,fe+2,fe+5),U(this,fe+3,fe+4);return this},a.prototype.toString=function(){var ee=this.length;return ee===0?"":arguments.length===0?E(this,0,ee):R.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(ee){if(!a.isBuffer(ee))throw new TypeError("Argument must be a Buffer");return this===ee?!0:a.compare(this,ee)===0},a.prototype.inspect=function(){var ee="",fe=e.INSPECT_MAX_BYTES;return ee=this.toString("hex",0,fe).replace(/(.{2})/g,"$1 ").trim(),this.length>fe&&(ee+=" ... "),"<Buffer "+ee+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(ee,fe,ie,re,Oe){if(ve(ee,Uint8Array)&&(ee=a.from(ee,ee.offset,ee.byteLength)),!a.isBuffer(ee))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ee);if(fe===void 0&&(fe=0),ie===void 0&&(ie=ee?ee.length:0),re===void 0&&(re=0),Oe===void 0&&(Oe=this.length),fe<0||ie>ee.length||re<0||Oe>this.length)throw new RangeError("out of range index");if(re>=Oe&&fe>=ie)return 0;if(re>=Oe)return-1;if(fe>=ie)return 1;if(fe>>>=0,ie>>>=0,re>>>=0,Oe>>>=0,this===ee)return 0;for(var Pe=Oe-re,Ne=ie-fe,Xe=Math.min(Pe,Ne),Je=this.slice(re,Oe),ft=ee.slice(fe,ie),Kt=0;Kt<Xe;++Kt)if(Je[Kt]!==ft[Kt]){Pe=Je[Kt],Ne=ft[Kt];break}return Pe<Ne?-1:Ne<Pe?1:0};function N(ee,fe,ie,re,Oe){if(ee.length===0)return-1;if(typeof ie=="string"?(re=ie,ie=0):ie>2147483647?ie=2147483647:ie<-2147483648&&(ie=-2147483648),ie=+ie,ge(ie)&&(ie=Oe?0:ee.length-1),ie<0&&(ie=ee.length+ie),ie>=ee.length){if(Oe)return-1;ie=ee.length-1}else if(ie<0)if(Oe)ie=0;else return-1;if(typeof fe=="string"&&(fe=a.from(fe,re)),a.isBuffer(fe))return fe.length===0?-1:_(ee,fe,ie,re,Oe);if(typeof fe=="number")return fe=fe&255,typeof Uint8Array.prototype.indexOf=="function"?Oe?Uint8Array.prototype.indexOf.call(ee,fe,ie):Uint8Array.prototype.lastIndexOf.call(ee,fe,ie):_(ee,[fe],ie,re,Oe);throw new TypeError("val must be string, number or Buffer")}function _(ee,fe,ie,re,Oe){var Pe=1,Ne=ee.length,Xe=fe.length;if(re!==void 0&&(re=String(re).toLowerCase(),re==="ucs2"||re==="ucs-2"||re==="utf16le"||re==="utf-16le")){if(ee.length<2||fe.length<2)return-1;Pe=2,Ne/=2,Xe/=2,ie/=2}function Je(it,Ye){return Pe===1?it[Ye]:it.readUInt16BE(Ye*Pe)}var ft;if(Oe){var Kt=-1;for(ft=ie;ft<Ne;ft++)if(Je(ee,ft)===Je(fe,Kt===-1?0:ft-Kt)){if(Kt===-1&&(Kt=ft),ft-Kt+1===Xe)return Kt*Pe}else Kt!==-1&&(ft-=ft-Kt),Kt=-1}else for(ie+Xe>Ne&&(ie=Ne-Xe),ft=ie;ft>=0;ft--){for(var wt=!0,Ie=0;Ie<Xe;Ie++)if(Je(ee,ft+Ie)!==Je(fe,Ie)){wt=!1;break}if(wt)return ft}return-1}a.prototype.includes=function(ee,fe,ie){return this.indexOf(ee,fe,ie)!==-1},a.prototype.indexOf=function(ee,fe,ie){return N(this,ee,fe,ie,!0)},a.prototype.lastIndexOf=function(ee,fe,ie){return N(this,ee,fe,ie,!1)};function L(ee,fe,ie,re){ie=Number(ie)||0;var Oe=ee.length-ie;re?(re=Number(re),re>Oe&&(re=Oe)):re=Oe;var Pe=fe.length;re>Pe/2&&(re=Pe/2);for(var Ne=0;Ne<re;++Ne){var Xe=parseInt(fe.substr(Ne*2,2),16);if(ge(Xe))return Ne;ee[ie+Ne]=Xe}return Ne}function H(ee,fe,ie,re){return me(ue(fe,ee.length-ie),ee,ie,re)}function F(ee,fe,ie,re){return me(ae(fe),ee,ie,re)}function G(ee,fe,ie,re){return me(ne(fe),ee,ie,re)}function l(ee,fe,ie,re){return me(q(fe,ee.length-ie),ee,ie,re)}a.prototype.write=function(ee,fe,ie,re){if(fe===void 0)re="utf8",ie=this.length,fe=0;else if(ie===void 0&&typeof fe=="string")re=fe,ie=this.length,fe=0;else if(isFinite(fe))fe=fe>>>0,isFinite(ie)?(ie=ie>>>0,re===void 0&&(re="utf8")):(re=ie,ie=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Oe=this.length-fe;if((ie===void 0||ie>Oe)&&(ie=Oe),ee.length>0&&(ie<0||fe<0)||fe>this.length)throw new RangeError("Attempt to write outside buffer bounds");re||(re="utf8");for(var Pe=!1;;)switch(re){case"hex":return L(this,ee,fe,ie);case"utf8":case"utf-8":return H(this,ee,fe,ie);case"ascii":case"latin1":case"binary":return F(this,ee,fe,ie);case"base64":return G(this,ee,fe,ie);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l(this,ee,fe,ie);default:if(Pe)throw new TypeError("Unknown encoding: "+re);re=(""+re).toLowerCase(),Pe=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function p(ee,fe,ie){return fe===0&&ie===ee.length?t.fromByteArray(ee):t.fromByteArray(ee.slice(fe,ie))}function E(ee,fe,ie){ie=Math.min(ee.length,ie);for(var re=[],Oe=fe;Oe<ie;){var Pe=ee[Oe],Ne=null,Xe=Pe>239?4:Pe>223?3:Pe>191?2:1;if(Oe+Xe<=ie){var Je,ft,Kt,wt;switch(Xe){case 1:Pe<128&&(Ne=Pe);break;case 2:Je=ee[Oe+1],(Je&192)===128&&(wt=(Pe&31)<<6|Je&63,wt>127&&(Ne=wt));break;case 3:Je=ee[Oe+1],ft=ee[Oe+2],(Je&192)===128&&(ft&192)===128&&(wt=(Pe&15)<<12|(Je&63)<<6|ft&63,wt>2047&&(wt<55296||wt>57343)&&(Ne=wt));break;case 4:Je=ee[Oe+1],ft=ee[Oe+2],Kt=ee[Oe+3],(Je&192)===128&&(ft&192)===128&&(Kt&192)===128&&(wt=(Pe&15)<<18|(Je&63)<<12|(ft&63)<<6|Kt&63,wt>65535&&wt<1114112&&(Ne=wt))}}Ne===null?(Ne=65533,Xe=1):Ne>65535&&(Ne-=65536,re.push(Ne>>>10&1023|55296),Ne=56320|Ne&1023),re.push(Ne),Oe+=Xe}return b(re)}var g=4096;function b(ee){var fe=ee.length;if(fe<=g)return String.fromCharCode.apply(String,ee);for(var ie="",re=0;re<fe;)ie+=String.fromCharCode.apply(String,ee.slice(re,re+=g));return ie}function k(ee,fe,ie){var re="";ie=Math.min(ee.length,ie);for(var Oe=fe;Oe<ie;++Oe)re+=String.fromCharCode(ee[Oe]&127);return re}function x(ee,fe,ie){var re="";ie=Math.min(ee.length,ie);for(var Oe=fe;Oe<ie;++Oe)re+=String.fromCharCode(ee[Oe]);return re}function S(ee,fe,ie){var re=ee.length;(!fe||fe<0)&&(fe=0),(!ie||ie<0||ie>re)&&(ie=re);for(var Oe="",Pe=fe;Pe<ie;++Pe)Oe+=ce[ee[Pe]];return Oe}function f(ee,fe,ie){for(var re=ee.slice(fe,ie),Oe="",Pe=0;Pe<re.length-1;Pe+=2)Oe+=String.fromCharCode(re[Pe]+re[Pe+1]*256);return Oe}a.prototype.slice=function(ee,fe){var ie=this.length;ee=~~ee,fe=fe===void 0?ie:~~fe,ee<0?(ee+=ie,ee<0&&(ee=0)):ee>ie&&(ee=ie),fe<0?(fe+=ie,fe<0&&(fe=0)):fe>ie&&(fe=ie),fe<ee&&(fe=ee);var re=this.subarray(ee,fe);return Object.setPrototypeOf(re,a.prototype),re};function M(ee,fe,ie){if(ee%1!==0||ee<0)throw new RangeError("offset is not uint");if(ee+fe>ie)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(ee,fe,ie){ee=ee>>>0,fe=fe>>>0,ie||M(ee,fe,this.length);for(var re=this[ee],Oe=1,Pe=0;++Pe<fe&&(Oe*=256);)re+=this[ee+Pe]*Oe;return re},a.prototype.readUintBE=a.prototype.readUIntBE=function(ee,fe,ie){ee=ee>>>0,fe=fe>>>0,ie||M(ee,fe,this.length);for(var re=this[ee+--fe],Oe=1;fe>0&&(Oe*=256);)re+=this[ee+--fe]*Oe;return re},a.prototype.readUint8=a.prototype.readUInt8=function(ee,fe){return ee=ee>>>0,fe||M(ee,1,this.length),this[ee]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(ee,fe){return ee=ee>>>0,fe||M(ee,2,this.length),this[ee]|this[ee+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(ee,fe){return ee=ee>>>0,fe||M(ee,2,this.length),this[ee]<<8|this[ee+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(ee,fe){return ee=ee>>>0,fe||M(ee,4,this.length),(this[ee]|this[ee+1]<<8|this[ee+2]<<16)+this[ee+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(ee,fe){return ee=ee>>>0,fe||M(ee,4,this.length),this[ee]*16777216+(this[ee+1]<<16|this[ee+2]<<8|this[ee+3])},a.prototype.readIntLE=function(ee,fe,ie){ee=ee>>>0,fe=fe>>>0,ie||M(ee,fe,this.length);for(var re=this[ee],Oe=1,Pe=0;++Pe<fe&&(Oe*=256);)re+=this[ee+Pe]*Oe;return Oe*=128,re>=Oe&&(re-=Math.pow(2,8*fe)),re},a.prototype.readIntBE=function(ee,fe,ie){ee=ee>>>0,fe=fe>>>0,ie||M(ee,fe,this.length);for(var re=fe,Oe=1,Pe=this[ee+--re];re>0&&(Oe*=256);)Pe+=this[ee+--re]*Oe;return Oe*=128,Pe>=Oe&&(Pe-=Math.pow(2,8*fe)),Pe},a.prototype.readInt8=function(ee,fe){return ee=ee>>>0,fe||M(ee,1,this.length),this[ee]&128?(255-this[ee]+1)*-1:this[ee]},a.prototype.readInt16LE=function(ee,fe){ee=ee>>>0,fe||M(ee,2,this.length);var ie=this[ee]|this[ee+1]<<8;return ie&32768?ie|4294901760:ie},a.prototype.readInt16BE=function(ee,fe){ee=ee>>>0,fe||M(ee,2,this.length);var ie=this[ee+1]|this[ee]<<8;return ie&32768?ie|4294901760:ie},a.prototype.readInt32LE=function(ee,fe){return ee=ee>>>0,fe||M(ee,4,this.length),this[ee]|this[ee+1]<<8|this[ee+2]<<16|this[ee+3]<<24},a.prototype.readInt32BE=function(ee,fe){return ee=ee>>>0,fe||M(ee,4,this.length),this[ee]<<24|this[ee+1]<<16|this[ee+2]<<8|this[ee+3]},a.prototype.readFloatLE=function(ee,fe){return ee=ee>>>0,fe||M(ee,4,this.length),r.read(this,ee,!0,23,4)},a.prototype.readFloatBE=function(ee,fe){return ee=ee>>>0,fe||M(ee,4,this.length),r.read(this,ee,!1,23,4)},a.prototype.readDoubleLE=function(ee,fe){return ee=ee>>>0,fe||M(ee,8,this.length),r.read(this,ee,!0,52,8)},a.prototype.readDoubleBE=function(ee,fe){return ee=ee>>>0,fe||M(ee,8,this.length),r.read(this,ee,!1,52,8)};function V(ee,fe,ie,re,Oe,Pe){if(!a.isBuffer(ee))throw new TypeError('"buffer" argument must be a Buffer instance');if(fe>Oe||fe<Pe)throw new RangeError('"value" argument is out of bounds');if(ie+re>ee.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(ee,fe,ie,re){if(ee=+ee,fe=fe>>>0,ie=ie>>>0,!re){var Oe=Math.pow(2,8*ie)-1;V(this,ee,fe,ie,Oe,0)}var Pe=1,Ne=0;for(this[fe]=ee&255;++Ne<ie&&(Pe*=256);)this[fe+Ne]=ee/Pe&255;return fe+ie},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(ee,fe,ie,re){if(ee=+ee,fe=fe>>>0,ie=ie>>>0,!re){var Oe=Math.pow(2,8*ie)-1;V(this,ee,fe,ie,Oe,0)}var Pe=ie-1,Ne=1;for(this[fe+Pe]=ee&255;--Pe>=0&&(Ne*=256);)this[fe+Pe]=ee/Ne&255;return fe+ie},a.prototype.writeUint8=a.prototype.writeUInt8=function(ee,fe,ie){return ee=+ee,fe=fe>>>0,ie||V(this,ee,fe,1,255,0),this[fe]=ee&255,fe+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(ee,fe,ie){return ee=+ee,fe=fe>>>0,ie||V(this,ee,fe,2,65535,0),this[fe]=ee&255,this[fe+1]=ee>>>8,fe+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(ee,fe,ie){return ee=+ee,fe=fe>>>0,ie||V(this,ee,fe,2,65535,0),this[fe]=ee>>>8,this[fe+1]=ee&255,fe+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(ee,fe,ie){return ee=+ee,fe=fe>>>0,ie||V(this,ee,fe,4,4294967295,0),this[fe+3]=ee>>>24,this[fe+2]=ee>>>16,this[fe+1]=ee>>>8,this[fe]=ee&255,fe+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(ee,fe,ie){return ee=+ee,fe=fe>>>0,ie||V(this,ee,fe,4,4294967295,0),this[fe]=ee>>>24,this[fe+1]=ee>>>16,this[fe+2]=ee>>>8,this[fe+3]=ee&255,fe+4},a.prototype.writeIntLE=function(ee,fe,ie,re){if(ee=+ee,fe=fe>>>0,!re){var Oe=Math.pow(2,8*ie-1);V(this,ee,fe,ie,Oe-1,-Oe)}var Pe=0,Ne=1,Xe=0;for(this[fe]=ee&255;++Pe<ie&&(Ne*=256);)ee<0&&Xe===0&&this[fe+Pe-1]!==0&&(Xe=1),this[fe+Pe]=(ee/Ne>>0)-Xe&255;return fe+ie},a.prototype.writeIntBE=function(ee,fe,ie,re){if(ee=+ee,fe=fe>>>0,!re){var Oe=Math.pow(2,8*ie-1);V(this,ee,fe,ie,Oe-1,-Oe)}var Pe=ie-1,Ne=1,Xe=0;for(this[fe+Pe]=ee&255;--Pe>=0&&(Ne*=256);)ee<0&&Xe===0&&this[fe+Pe+1]!==0&&(Xe=1),this[fe+Pe]=(ee/Ne>>0)-Xe&255;return fe+ie},a.prototype.writeInt8=function(ee,fe,ie){return ee=+ee,fe=fe>>>0,ie||V(this,ee,fe,1,127,-128),ee<0&&(ee=255+ee+1),this[fe]=ee&255,fe+1},a.prototype.writeInt16LE=function(ee,fe,ie){return ee=+ee,fe=fe>>>0,ie||V(this,ee,fe,2,32767,-32768),this[fe]=ee&255,this[fe+1]=ee>>>8,fe+2},a.prototype.writeInt16BE=function(ee,fe,ie){return ee=+ee,fe=fe>>>0,ie||V(this,ee,fe,2,32767,-32768),this[fe]=ee>>>8,this[fe+1]=ee&255,fe+2},a.prototype.writeInt32LE=function(ee,fe,ie){return ee=+ee,fe=fe>>>0,ie||V(this,ee,fe,4,2147483647,-2147483648),this[fe]=ee&255,this[fe+1]=ee>>>8,this[fe+2]=ee>>>16,this[fe+3]=ee>>>24,fe+4},a.prototype.writeInt32BE=function(ee,fe,ie){return ee=+ee,fe=fe>>>0,ie||V(this,ee,fe,4,2147483647,-2147483648),ee<0&&(ee=4294967295+ee+1),this[fe]=ee>>>24,this[fe+1]=ee>>>16,this[fe+2]=ee>>>8,this[fe+3]=ee&255,fe+4};function D(ee,fe,ie,re,Oe,Pe){if(ie+re>ee.length)throw new RangeError("Index out of range");if(ie<0)throw new RangeError("Index out of range")}function j(ee,fe,ie,re,Oe){return fe=+fe,ie=ie>>>0,Oe||D(ee,fe,ie,4,34028234663852886e22,-34028234663852886e22),r.write(ee,fe,ie,re,23,4),ie+4}a.prototype.writeFloatLE=function(ee,fe,ie){return j(this,ee,fe,!0,ie)},a.prototype.writeFloatBE=function(ee,fe,ie){return j(this,ee,fe,!1,ie)};function Y(ee,fe,ie,re,Oe){return fe=+fe,ie=ie>>>0,Oe||D(ee,fe,ie,8,17976931348623157e292,-17976931348623157e292),r.write(ee,fe,ie,re,52,8),ie+8}a.prototype.writeDoubleLE=function(ee,fe,ie){return Y(this,ee,fe,!0,ie)},a.prototype.writeDoubleBE=function(ee,fe,ie){return Y(this,ee,fe,!1,ie)},a.prototype.copy=function(ee,fe,ie,re){if(!a.isBuffer(ee))throw new TypeError("argument should be a Buffer");if(ie||(ie=0),!re&&re!==0&&(re=this.length),fe>=ee.length&&(fe=ee.length),fe||(fe=0),re>0&&re<ie&&(re=ie),re===ie||ee.length===0||this.length===0)return 0;if(fe<0)throw new RangeError("targetStart out of bounds");if(ie<0||ie>=this.length)throw new RangeError("Index out of range");if(re<0)throw new RangeError("sourceEnd out of bounds");re>this.length&&(re=this.length),ee.length-fe<re-ie&&(re=ee.length-fe+ie);var Oe=re-ie;return this===ee&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(fe,ie,re):Uint8Array.prototype.set.call(ee,this.subarray(ie,re),fe),Oe},a.prototype.fill=function(ee,fe,ie,re){if(typeof ee=="string"){if(typeof fe=="string"?(re=fe,fe=0,ie=this.length):typeof ie=="string"&&(re=ie,ie=this.length),re!==void 0&&typeof re!="string")throw new TypeError("encoding must be a string");if(typeof re=="string"&&!a.isEncoding(re))throw new TypeError("Unknown encoding: "+re);if(ee.length===1){var Oe=ee.charCodeAt(0);(re==="utf8"&&Oe<128||re==="latin1")&&(ee=Oe)}}else typeof ee=="number"?ee=ee&255:typeof ee=="boolean"&&(ee=Number(ee));if(fe<0||this.length<fe||this.length<ie)throw new RangeError("Out of range index");if(ie<=fe)return this;fe=fe>>>0,ie=ie===void 0?this.length:ie>>>0,ee||(ee=0);var Pe;if(typeof ee=="number")for(Pe=fe;Pe<ie;++Pe)this[Pe]=ee;else{var Ne=a.isBuffer(ee)?ee:a.from(ee,re),Xe=Ne.length;if(Xe===0)throw new TypeError('The value "'+ee+'" is invalid for argument "value"');for(Pe=0;Pe<ie-fe;++Pe)this[Pe+fe]=Ne[Pe%Xe]}return this};var oe=/[^+/0-9A-Za-z-_]/g;function de(ee){if(ee=ee.split("=")[0],ee=ee.trim().replace(oe,""),ee.length<2)return"";for(;ee.length%4!==0;)ee=ee+"=";return ee}function ue(ee,fe){fe=fe||1/0;for(var ie,re=ee.length,Oe=null,Pe=[],Ne=0;Ne<re;++Ne){if(ie=ee.charCodeAt(Ne),ie>55295&&ie<57344){if(!Oe){if(ie>56319){(fe-=3)>-1&&Pe.push(239,191,189);continue}else if(Ne+1===re){(fe-=3)>-1&&Pe.push(239,191,189);continue}Oe=ie;continue}if(ie<56320){(fe-=3)>-1&&Pe.push(239,191,189),Oe=ie;continue}ie=(Oe-55296<<10|ie-56320)+65536}else Oe&&(fe-=3)>-1&&Pe.push(239,191,189);if(Oe=null,ie<128){if((fe-=1)<0)break;Pe.push(ie)}else if(ie<2048){if((fe-=2)<0)break;Pe.push(ie>>6|192,ie&63|128)}else if(ie<65536){if((fe-=3)<0)break;Pe.push(ie>>12|224,ie>>6&63|128,ie&63|128)}else if(ie<1114112){if((fe-=4)<0)break;Pe.push(ie>>18|240,ie>>12&63|128,ie>>6&63|128,ie&63|128)}else throw new Error("Invalid code point")}return Pe}function ae(ee){for(var fe=[],ie=0;ie<ee.length;++ie)fe.push(ee.charCodeAt(ie)&255);return fe}function q(ee,fe){for(var ie,re,Oe,Pe=[],Ne=0;Ne<ee.length&&!((fe-=2)<0);++Ne)ie=ee.charCodeAt(Ne),re=ie>>8,Oe=ie%256,Pe.push(Oe),Pe.push(re);return Pe}function ne(ee){return t.toByteArray(de(ee))}function me(ee,fe,ie,re){for(var Oe=0;Oe<re&&!(Oe+ie>=fe.length||Oe>=ee.length);++Oe)fe[Oe+ie]=ee[Oe];return Oe}function ve(ee,fe){return ee instanceof fe||ee!=null&&ee.constructor!=null&&ee.constructor.name!=null&&ee.constructor.name===fe.name}function ge(ee){return ee!==ee}var ce=(function(){for(var ee="0123456789abcdef",fe=new Array(256),ie=0;ie<16;++ie)for(var re=ie*16,Oe=0;Oe<16;++Oe)fe[re+Oe]=ee[ie]+ee[Oe];return fe})()}),Jxe=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});var r={exports:{}},o=r.exports={},s,i;function n(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?s=setTimeout:s=n}catch{s=n}try{typeof clearTimeout=="function"?i=clearTimeout:i=a}catch{i=a}})();function u(S){if(s===setTimeout)return setTimeout(S,0);if((s===n||!s)&&setTimeout)return s=setTimeout,setTimeout(S,0);try{return s(S,0)}catch{try{return s.call(null,S,0)}catch{return s.call(this,S,0)}}}function c(S){if(i===clearTimeout)return clearTimeout(S);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(S);try{return i(S)}catch{try{return i.call(null,S)}catch{return i.call(this,S)}}}var d=[],h=!1,y,C=-1;function w(){!h||!y||(h=!1,y.length?d=y.concat(d):C=-1,d.length&&T())}function T(){if(!h){var S=u(w);h=!0;for(var f=d.length;f;){for(y=d,d=[];++C<f;)y&&y[C].run();C=-1,f=d.length}y=null,h=!1,c(S)}}o.nextTick=function(S){var f=new Array(arguments.length-1);if(arguments.length>1)for(var M=1;M<arguments.length;M++)f[M-1]=arguments[M];d.push(new A(S,f)),d.length===1&&!h&&u(T)};function A(S,f){this.fun=S,this.array=f}A.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={};function O(){}o.on=O,o.addListener=O,o.once=O,o.off=O,o.removeListener=O,o.removeAllListeners=O,o.emit=O,o.prependListener=O,o.prependOnceListener=O,o.listeners=function(S){return[]},o.binding=function(S){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(S){throw new Error("process.chdir is not supported")},o.umask=function(){return 0};function v(){}var B=r.exports.browser,R=v,U=r.exports.binding,N=v,_=1,L={},H=v,F=v,G=v,l=v,p=v,E="browser",g="browser",b="browser",k=[],x={nextTick:r.exports.nextTick,title:r.exports.title,browser:B,env:r.exports.env,argv:r.exports.argv,version:r.exports.version,versions:r.exports.versions,on:r.exports.on,addListener:r.exports.addListener,once:r.exports.once,off:r.exports.off,removeListener:r.exports.removeListener,removeAllListeners:r.exports.removeAllListeners,emit:r.exports.emit,emitWarning:R,prependListener:r.exports.prependListener,prependOnceListener:r.exports.prependOnceListener,listeners:r.exports.listeners,binding:U,cwd:r.exports.cwd,chdir:r.exports.chdir,umask:r.exports.umask,exit:N,pid:_,features:L,kill:H,dlopen:F,uptime:G,memoryUsage:l,uvCounters:p,platform:E,arch:g,execPath:b,execArgv:k};e.addListener=r.exports.addListener,e.arch=g,e.argv=r.exports.argv,e.binding=U,e.browser=B,e.chdir=r.exports.chdir,e.cwd=r.exports.cwd,e.default=x,e.dlopen=F,e.emit=r.exports.emit,e.emitWarning=R,e.env=r.exports.env,e.execArgv=k,e.execPath=b,e.exit=N,e.features=L,e.kill=H,e.listeners=r.exports.listeners,e.memoryUsage=l,e.nextTick=r.exports.nextTick,e.off=r.exports.off,e.on=r.exports.on,e.once=r.exports.once,e.pid=_,e.platform=E,e.prependListener=r.exports.prependListener,e.prependOnceListener=r.exports.prependOnceListener,e.removeAllListeners=r.exports.removeAllListeners,e.removeListener=r.exports.removeListener,e.title=r.exports.title,e.umask=r.exports.umask,e.uptime=G,e.uvCounters=p,e.version=r.exports.version,e.versions=r.exports.versions,e=t.exports=x}),P,I,jvt,global,m=En(()=>{P=hi(Go()),I=hi(Jxe()),jvt=(function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r})(Object),global=jvt}),nAe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.IJSONRpcProvider=e.IJSONRpcConnection=void 0;var t=class{};e.IJSONRpcConnection=t;var r=class{constructor(o){}};e.IJSONRpcProvider=r}),oAe=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(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(nAe(),e),r(oAe(),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(),o=r.Buffer;function s(n,a){for(var u in n)a[u]=n[u]}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=r:(s(r,e),e.Buffer=i);function i(n,a,u){return o(n,a,u)}i.prototype=Object.create(o.prototype),s(o,i),i.from=function(n,a,u){if(typeof n=="number")throw new TypeError("Argument must not be a number");return o(n,a,u)},i.alloc=function(n,a,u){if(typeof n!="number")throw new TypeError("Argument must be a number");var c=o(n);return a!==void 0?typeof u=="string"?c.fill(a,u):c.fill(a):c.fill(0),c},i.allocUnsafe=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return o(n)},i.allocUnsafeSlow=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(n)}}),Ux=W((e,t)=>{"use strict";m();var r=65536,o=4294967295;function s(){throw new Error(`Secure random number generation is not supported by this browser.
Use Chrome, Firefox or Internet Explorer 11`)}var i=vn().Buffer,n=global.crypto||global.msCrypto;n&&n.getRandomValues?t.exports=a:t.exports=s;function a(u,c){if(u>o)throw new RangeError("requested too many random bytes");var d=i.allocUnsafe(u);if(u>0)if(u>r)for(var h=0;h<u;h+=r)n.getRandomValues(d.slice(h,h+r));else n.getRandomValues(d);return typeof c=="function"?I.default.nextTick(function(){c(null,d)}):d}}),un=W((e,t)=>{m(),typeof Object.create=="function"?t.exports=function(r,o){o&&(r.super_=o,r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(r,o){if(o){r.super_=o;var s=function(){};s.prototype=o.prototype,r.prototype=new s,r.prototype.constructor=r}}}),kT=W((e,t)=>{"use strict";m();var r=typeof Reflect=="object"?Reflect:null,o=r&&typeof r.apply=="function"?r.apply:function(N,_,L){return Function.prototype.apply.call(N,_,L)},s;r&&typeof r.ownKeys=="function"?s=r.ownKeys:Object.getOwnPropertySymbols?s=function(N){return Object.getOwnPropertyNames(N).concat(Object.getOwnPropertySymbols(N))}:s=function(N){return Object.getOwnPropertyNames(N)};function i(N){console&&console.warn&&console.warn(N)}var n=Number.isNaN||function(N){return N!==N};function a(){a.init.call(this)}t.exports=a,t.exports.once=B,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var u=10;function c(N){if(typeof N!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof N)}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(N){if(typeof N!="number"||N<0||n(N))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+N+".");u=N}}),a.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(N){if(typeof N!="number"||N<0||n(N))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+N+".");return this._maxListeners=N,this};function d(N){return N._maxListeners===void 0?a.defaultMaxListeners:N._maxListeners}a.prototype.getMaxListeners=function(){return d(this)},a.prototype.emit=function(N){for(var _=[],L=1;L<arguments.length;L++)_.push(arguments[L]);var H=N==="error",F=this._events;if(F!==void 0)H=H&&F.error===void 0;else if(!H)return!1;if(H){var G;if(_.length>0&&(G=_[0]),G instanceof Error)throw G;var l=new Error("Unhandled error."+(G?" ("+G.message+")":""));throw l.context=G,l}var p=F[N];if(p===void 0)return!1;if(typeof p=="function")o(p,this,_);else for(var E=p.length,g=A(p,E),L=0;L<E;++L)o(g[L],this,_);return!0};function h(N,_,L,H){var F,G,l;if(c(L),G=N._events,G===void 0?(G=N._events=Object.create(null),N._eventsCount=0):(G.newListener!==void 0&&(N.emit("newListener",_,L.listener?L.listener:L),G=N._events),l=G[_]),l===void 0)l=G[_]=L,++N._eventsCount;else if(typeof l=="function"?l=G[_]=H?[L,l]:[l,L]:H?l.unshift(L):l.push(L),F=d(N),F>0&&l.length>F&&!l.warned){l.warned=!0;var p=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(_)+" listeners added. Use emitter.setMaxListeners() to increase limit");p.name="MaxListenersExceededWarning",p.emitter=N,p.type=_,p.count=l.length,i(p)}return N}a.prototype.addListener=function(N,_){return h(this,N,_,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(N,_){return h(this,N,_,!0)};function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function C(N,_,L){var H={fired:!1,wrapFn:void 0,target:N,type:_,listener:L},F=y.bind(H);return F.listener=L,H.wrapFn=F,F}a.prototype.once=function(N,_){return c(_),this.on(N,C(this,N,_)),this},a.prototype.prependOnceListener=function(N,_){return c(_),this.prependListener(N,C(this,N,_)),this},a.prototype.removeListener=function(N,_){var L,H,F,G,l;if(c(_),H=this._events,H===void 0)return this;if(L=H[N],L===void 0)return this;if(L===_||L.listener===_)--this._eventsCount===0?this._events=Object.create(null):(delete H[N],H.removeListener&&this.emit("removeListener",N,L.listener||_));else if(typeof L!="function"){for(F=-1,G=L.length-1;G>=0;G--)if(L[G]===_||L[G].listener===_){l=L[G].listener,F=G;break}if(F<0)return this;F===0?L.shift():O(L,F),L.length===1&&(H[N]=L[0]),H.removeListener!==void 0&&this.emit("removeListener",N,l||_)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(N){var _,L,H;if(L=this._events,L===void 0)return this;if(L.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):L[N]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete L[N]),this;if(arguments.length===0){var F=Object.keys(L),G;for(H=0;H<F.length;++H)G=F[H],G!=="removeListener"&&this.removeAllListeners(G);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(_=L[N],typeof _=="function")this.removeListener(N,_);else if(_!==void 0)for(H=_.length-1;H>=0;H--)this.removeListener(N,_[H]);return this};function w(N,_,L){var H=N._events;if(H===void 0)return[];var F=H[_];return F===void 0?[]:typeof F=="function"?L?[F.listener||F]:[F]:L?v(F):A(F,F.length)}a.prototype.listeners=function(N){return w(this,N,!0)},a.prototype.rawListeners=function(N){return w(this,N,!1)},a.listenerCount=function(N,_){return typeof N.listenerCount=="function"?N.listenerCount(_):T.call(N,_)},a.prototype.listenerCount=T;function T(N){var _=this._events;if(_!==void 0){var L=_[N];if(typeof L=="function")return 1;if(L!==void 0)return L.length}return 0}a.prototype.eventNames=function(){return this._eventsCount>0?s(this._events):[]};function A(N,_){for(var L=new Array(_),H=0;H<_;++H)L[H]=N[H];return L}function O(N,_){for(;_+1<N.length;_++)N[_]=N[_+1];N.pop()}function v(N){for(var _=new Array(N.length),L=0;L<_.length;++L)_[L]=N[L].listener||N[L];return _}function B(N,_){return new Promise(function(L,H){function F(l){N.removeListener(_,G),H(l)}function G(){typeof N.removeListener=="function"&&N.removeListener("error",F),L([].slice.call(arguments))}U(N,_,G,{once:!0}),_!=="error"&&R(N,F,{once:!0})})}function R(N,_,L){typeof N.on=="function"&&U(N,"error",_,L)}function U(N,_,L,H){if(typeof N.on=="function")H.once?N.once(_,L):N.on(_,L);else if(typeof N.addEventListener=="function")N.addEventListener(_,function F(G){H.once&&N.removeEventListener(_,F),L(G)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof N)}}),lX=W((e,t)=>{m(),t.exports=kT().EventEmitter}),fX=W((e,t)=>{"use strict";m(),t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},o=Symbol("test"),s=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var i=42;r[o]=i;for(var n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var a=Object.getOwnPropertySymbols(r);if(a.length!==1||a[0]!==o||!Object.prototype.propertyIsEnumerable.call(r,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(r,o);if(u.value!==i||u.enumerable!==!0)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}),TAe=W((e,t)=>{"use strict";m(),t.exports=Error}),CAe=W((e,t)=>{"use strict";m(),t.exports=EvalError}),OAe=W((e,t)=>{"use strict";m(),t.exports=RangeError}),BAe=W((e,t)=>{"use strict";m(),t.exports=ReferenceError}),hX=W((e,t)=>{"use strict";m(),t.exports=SyntaxError}),MT=W((e,t)=>{"use strict";m(),t.exports=TypeError}),RAe=W((e,t)=>{"use strict";m(),t.exports=URIError}),DAe=W((e,t)=>{"use strict";m(),t.exports=Math.abs}),LAe=W((e,t)=>{"use strict";m(),t.exports=Math.floor}),WAe=W((e,t)=>{"use strict";m(),t.exports=Math.max}),KAe=W((e,t)=>{"use strict";m(),t.exports=Math.min}),qAe=W((e,t)=>{"use strict";m(),t.exports=Math.pow}),GAe=W((e,t)=>{"use strict";m(),t.exports=Math.round}),JAe=W((e,t)=>{"use strict";m(),t.exports=Number.isNaN||function(r){return r!==r}}),YAe=W((e,t)=>{"use strict";m();var r=JAe();t.exports=function(o){return r(o)||o===0?o:o<0?-1:1}}),ZAe=W((e,t)=>{"use strict";m(),t.exports=Object.getOwnPropertyDescriptor}),Lx=W((e,t)=>{"use strict";m();var r=ZAe();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}),nEe=W((e,t)=>{"use strict";m();var r=typeof Symbol<"u"&&Symbol,o=fX();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:o()}}),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}),cEe=W((e,t)=>{"use strict";m();var r="Function.prototype.bind called on incompatible ",o=Object.prototype.toString,s=Math.max,i="[object Function]",n=function(c,d){for(var h=[],y=0;y<c.length;y+=1)h[y]=c[y];for(var C=0;C<d.length;C+=1)h[C+c.length]=d[C];return h},a=function(c,d){for(var h=[],y=d||0,C=0;y<c.length;y+=1,C+=1)h[C]=c[y];return h},u=function(c,d){for(var h="",y=0;y<c.length;y+=1)h+=c[y],y+1<c.length&&(h+=d);return h};t.exports=function(c){var d=this;if(typeof d!="function"||o.apply(d)!==i)throw new TypeError(r+d);for(var h=a(arguments,1),y,C=function(){if(this instanceof y){var v=d.apply(this,n(h,arguments));return Object(v)===v?v:this}return d.apply(c,n(h,arguments))},w=s(0,d.length-h.length),T=[],A=0;A<w;A++)T[A]="$"+A;if(y=Function("binder","return function ("+u(T,",")+"){ return binder.apply(this,arguments); }")(C),d.prototype){var O=function(){};O.prototype=d.prototype,y.prototype=new O,O.prototype=null}return y}}),_T=W((e,t)=>{"use strict";m();var r=cEe();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}),hEe=W((e,t)=>{"use strict";m(),t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}),yX=W((e,t)=>{"use strict";m();var r=_T(),o=pN(),s=hN(),i=hEe();t.exports=i||r.call(s,o)}),gN=W((e,t)=>{"use strict";m();var r=_T(),o=MT(),s=hN(),i=yX();t.exports=function(n){if(n.length<1||typeof n[0]!="function")throw new o("a function is required");return i(r,s,n)}}),xEe=W((e,t)=>{"use strict";m();var r=gN(),o=Lx(),s;try{s=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var i=!!s&&o&&o(Object.prototype,"__proto__"),n=Object,a=n.getPrototypeOf;t.exports=i&&typeof i.get=="function"?r([i.get]):typeof a=="function"?function(u){return a(u==null?u:n(u))}:!1}),bX=W((e,t)=>{"use strict";m();var r=pX(),o=gX(),s=xEe();t.exports=r?function(i){return r(i)}:o?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return o(i)}:s?function(i){return s(i)}:null}),vX=W((e,t)=>{"use strict";m();var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,s=_T();t.exports=s.call(r,o)}),AX=W((e,t)=>{"use strict";m();var r,o=dX(),s=TAe(),i=CAe(),n=OAe(),a=BAe(),u=hX(),c=MT(),d=RAe(),h=DAe(),y=LAe(),C=WAe(),w=KAe(),T=qAe(),A=GAe(),O=YAe(),v=Function,B=function(ne){try{return v('"use strict"; return ('+ne+").constructor;")()}catch{}},R=Lx(),U=jC(),N=function(){throw new c},_=R?(function(){try{return arguments.callee,N}catch{try{return R(arguments,"callee").get}catch{return N}}})():N,L=nEe()(),H=bX(),F=gX(),G=pX(),l=pN(),p=hN(),E={},g=typeof Uint8Array>"u"||!H?r:H(Uint8Array),b={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":L&&H?H([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":E,"%AsyncGenerator%":E,"%AsyncGeneratorFunction%":E,"%AsyncIteratorPrototype%":E,"%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%":s,"%eval%":eval,"%EvalError%":i,"%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%":v,"%GeneratorFunction%":E,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":L&&H?H(H([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!L||!H?r:H(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":R,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":n,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!L||!H?r:H(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":L&&H?H(""[Symbol.iterator]()):r,"%Symbol%":L?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":_,"%TypedArray%":g,"%TypeError%":c,"%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%":d,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":p,"%Function.prototype.apply%":l,"%Object.defineProperty%":U,"%Object.getPrototypeOf%":F,"%Math.abs%":h,"%Math.floor%":y,"%Math.max%":C,"%Math.min%":w,"%Math.pow%":T,"%Math.round%":A,"%Math.sign%":O,"%Reflect.getPrototypeOf%":G};if(H)try{null.error}catch(ne){k=H(H(ne)),b["%Error.prototype%"]=k}var k,x=function ne(me){var ve;if(me==="%AsyncFunction%")ve=B("async function () {}");else if(me==="%GeneratorFunction%")ve=B("function* () {}");else if(me==="%AsyncGeneratorFunction%")ve=B("async function* () {}");else if(me==="%AsyncGenerator%"){var ge=ne("%AsyncGeneratorFunction%");ge&&(ve=ge.prototype)}else if(me==="%AsyncIteratorPrototype%"){var ce=ne("%AsyncGenerator%");ce&&H&&(ve=H(ce.prototype))}return b[me]=ve,ve},S={__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"]},f=_T(),M=vX(),V=f.call(p,Array.prototype.concat),D=f.call(l,Array.prototype.splice),j=f.call(p,String.prototype.replace),Y=f.call(p,String.prototype.slice),oe=f.call(p,RegExp.prototype.exec),de=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ue=/\\(\\)?/g,ae=function(ne){var me=Y(ne,0,1),ve=Y(ne,-1);if(me==="%"&&ve!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(ve==="%"&&me!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var ge=[];return j(ne,de,function(ce,ee,fe,ie){ge[ge.length]=fe?j(ie,ue,"$1"):ee||ce}),ge},q=function(ne,me){var ve=ne,ge;if(M(S,ve)&&(ge=S[ve],ve="%"+ge[0]+"%"),M(b,ve)){var ce=b[ve];if(ce===E&&(ce=x(ve)),typeof ce>"u"&&!me)throw new c("intrinsic "+ne+" exists, but is not available. Please file an issue!");return{alias:ge,name:ve,value:ce}}throw new u("intrinsic "+ne+" does not exist!")};t.exports=function(ne,me){if(typeof ne!="string"||ne.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof me!="boolean")throw new c('"allowMissing" argument must be a boolean');if(oe(/^%?[^%]*%?$/,ne)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ve=ae(ne),ge=ve.length>0?ve[0]:"",ce=q("%"+ge+"%",me),ee=ce.name,fe=ce.value,ie=!1,re=ce.alias;re&&(ge=re[0],D(ve,V([0,1],re)));for(var Oe=1,Pe=!0;Oe<ve.length;Oe+=1){var Ne=ve[Oe],Xe=Y(Ne,0,1),Je=Y(Ne,-1);if((Xe==='"'||Xe==="'"||Xe==="`"||Je==='"'||Je==="'"||Je==="`")&&Xe!==Je)throw new u("property names with quotes must have matching quotes");if((Ne==="constructor"||!Pe)&&(ie=!0),ge+="."+Ne,ee="%"+ge+"%",M(b,ee))fe=b[ee];else if(fe!=null){if(!(Ne in fe)){if(!me)throw new c("base intrinsic for "+ne+" exists, but the property is not available.");return}if(R&&Oe+1>=ve.length){var ft=R(fe,Ne);Pe=!!ft,Pe&&"get"in ft&&!("originalValue"in ft.get)?fe=ft.get:fe=fe[Ne]}else Pe=M(fe,Ne),fe=fe[Ne];Pe&&!ie&&(b[ee]=fe)}}return fe}}),LT=W((e,t)=>{"use strict";m();var r=AX(),o=gN(),s=o([r("%String.prototype.indexOf%")]);t.exports=function(i,n){var a=r(i,!!n);return typeof a=="function"&&s(i,".prototype.")>-1?o([a]):a}}),LEe=W((e,t)=>{"use strict";m();var r=qC()(),o=LT(),s=o("Object.prototype.toString"),i=function(u){return r&&u&&typeof u=="object"&&Symbol.toStringTag in u?!1:s(u)==="[object Arguments]"},n=function(u){return i(u)?!0:u!==null&&typeof u=="object"&&"length"in u&&typeof u.length=="number"&&u.length>=0&&s(u)!=="[object Array]"&&"callee"in u&&s(u.callee)==="[object Function]"},a=(function(){return i(arguments)})();i.isLegacyArguments=n,t.exports=a?i:n}),qEe=W((e,t)=>{"use strict";m();var r=LT(),o=qC()(),s=vX(),i=Lx(),n;o?(a=r("RegExp.prototype.exec"),u={},c=function(){throw u},d={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(d[Symbol.toPrimitive]=c),n=function(C){if(!C||typeof C!="object")return!1;var w=i(C,"lastIndex"),T=w&&s(w,"value");if(!T)return!1;try{a(C,d)}catch(A){return A===u}}):(h=r("Object.prototype.toString"),y="[object RegExp]",n=function(C){return!C||typeof C!="object"&&typeof C!="function"?!1:h(C)===y});var a,u,c,d,h,y;t.exports=n}),GEe=W((e,t)=>{"use strict";m();var r=LT(),o=qEe(),s=r("RegExp.prototype.exec"),i=MT();t.exports=function(n){if(!o(n))throw new i("`regex` must be a RegExp");return function(a){return s(n,a)!==null}}}),YEe=W((e,t)=>{"use strict";m();var r=LT(),o=GEe(),s=o(/^\s*(?:function)?\*/),i=qC()(),n=bX(),a=r("Object.prototype.toString"),u=r("Function.prototype.toString"),c=function(){if(!i)return!1;try{return Function("return function*() {}")()}catch{}},d;t.exports=function(h){if(typeof h!="function")return!1;if(s(u(h)))return!0;if(!i){var y=a(h);return y==="[object GeneratorFunction]"}if(!n)return!1;if(typeof d>"u"){var C=c();d=C?n(C):!1}return n(h)===d}}),e2e=W((e,t)=>{"use strict";m();var r=Function.prototype.toString,o=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,s,i;if(typeof o=="function"&&typeof Object.defineProperty=="function")try{s=Object.defineProperty({},"length",{get:function(){throw i}}),i={},o(function(){throw 42},null,s)}catch(R){R!==i&&(o=null)}else o=null;var n=/^\s*class\b/,a=function(R){try{var U=r.call(R);return n.test(U)}catch{return!1}},u=function(R){try{return a(R)?!1:(r.call(R),!0)}catch{return!1}},c=Object.prototype.toString,d="[object Object]",h="[object Function]",y="[object GeneratorFunction]",C="[object HTMLAllCollection]",w="[object HTML document.all class]",T="[object HTMLCollection]",A=typeof Symbol=="function"&&!!Symbol.toStringTag,O=!(0 in[,]),v=function(){return!1};typeof document=="object"&&(B=document.all,c.call(B)===c.call(document.all)&&(v=function(R){if((O||!R)&&(typeof R>"u"||typeof R=="object"))try{var U=c.call(R);return(U===C||U===w||U===T||U===d)&&R("")==null}catch{}return!1}));var B;t.exports=o?function(R){if(v(R))return!0;if(!R||typeof R!="function"&&typeof R!="object")return!1;try{o(R,null,s)}catch(U){if(U!==i)return!1}return!a(R)&&u(R)}:function(R){if(v(R))return!0;if(!R||typeof R!="function"&&typeof R!="object")return!1;if(A)return u(R);if(a(R))return!1;var U=c.call(R);return U!==h&&U!==y&&!/^\[object HTML/.test(U)?!1:u(R)}}),n2e=W((e,t)=>{"use strict";m();var r=e2e(),o=Object.prototype.toString,s=Object.prototype.hasOwnProperty,i=function(c,d,h){for(var y=0,C=c.length;y<C;y++)s.call(c,y)&&(h==null?d(c[y],y,c):d.call(h,c[y],y,c))},n=function(c,d,h){for(var y=0,C=c.length;y<C;y++)h==null?d(c.charAt(y),y,c):d.call(h,c.charAt(y),y,c)},a=function(c,d,h){for(var y in c)s.call(c,y)&&(h==null?d(c[y],y,c):d.call(h,c[y],y,c))};function u(c){return o.call(c)==="[object Array]"}t.exports=function(c,d,h){if(!r(d))throw new TypeError("iterator must be a function");var y;arguments.length>=3&&(y=h),u(c)?i(c,d,y):typeof c=="string"?n(c,d,y):a(c,d,y)}}),o2e=W((e,t)=>{"use strict";m(),t.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}),a2e=W((e,t)=>{"use strict";m();var r=o2e(),o=typeof globalThis>"u"?global:globalThis;t.exports=function(){for(var s=[],i=0;i<r.length;i++)typeof o[r[i]]=="function"&&(s[s.length]=r[i]);return s}}),f2e=W((e,t)=>{"use strict";m();var r=jC(),o=hX(),s=MT(),i=Lx();t.exports=function(n,a,u){if(!n||typeof n!="object"&&typeof n!="function")throw new s("`obj` must be an object or a function`");if(typeof a!="string"&&typeof a!="symbol")throw new s("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new s("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new s("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new s("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new s("`loose`, if provided, must be a boolean");var c=arguments.length>3?arguments[3]:null,d=arguments.length>4?arguments[4]:null,h=arguments.length>5?arguments[5]:null,y=arguments.length>6?arguments[6]:!1,C=!!i&&i(n,a);if(r)r(n,a,{configurable:h===null&&C?C.configurable:!h,enumerable:c===null&&C?C.enumerable:!c,value:u,writable:d===null&&C?C.writable:!d});else if(y||!c&&!d&&!h)n[a]=u;else throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}),p2e=W((e,t)=>{"use strict";m();var r=jC(),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},t.exports=o}),v2e=W((e,t)=>{"use strict";m();var r=AX(),o=f2e(),s=p2e()(),i=Lx(),n=MT(),a=r("%Math.floor%");t.exports=function(u,c){if(typeof u!="function")throw new n("`fn` is not a function");if(typeof c!="number"||c<0||c>4294967295||a(c)!==c)throw new n("`length` must be a positive 32-bit integer");var d=arguments.length>2&&!!arguments[2],h=!0,y=!0;if("length"in u&&i){var C=i(u,"length");C&&!C.configurable&&(h=!1),C&&!C.writable&&(y=!1)}return(h||y||!d)&&(s?o(u,"length",c,!0,!0):o(u,"length",c)),u}}),x2e=W((e,t)=>{"use strict";m();var r=_T(),o=pN(),s=yX();t.exports=function(){return s(r,o,arguments)}}),T2e=W((e,t)=>{"use strict";m();var r=v2e(),o=jC(),s=gN(),i=x2e();t.exports=function(n){var a=s(arguments),u=n.length-(arguments.length-1);return r(a,1+(u>0?u:0),!0)},o?o(t.exports,"apply",{value:i}):t.exports.apply=i}),FX=W((e,t)=>{"use strict";m();var r=n2e(),o=a2e(),s=T2e(),i=LT(),n=Lx(),a=i("Object.prototype.toString"),u=qC()(),c=typeof globalThis>"u"?global:globalThis,d=o(),h=i("String.prototype.slice"),y=Object.getPrototypeOf,C=i("Array.prototype.indexOf",!0)||function(O,v){for(var B=0;B<O.length;B+=1)if(O[B]===v)return B;return-1},w={__proto__:null};u&&n&&y?r(d,function(O){var v=new c[O];if(Symbol.toStringTag in v){var B=y(v),R=n(B,Symbol.toStringTag);if(!R){var U=y(B);R=n(U,Symbol.toStringTag)}w["$"+O]=s(R.get)}}):r(d,function(O){var v=new c[O],B=v.slice||v.set;B&&(w["$"+O]=s(B))});var T=function(O){var v=!1;return r(w,function(B,R){if(!v)try{"$"+B(O)===R&&(v=h(R,1))}catch{}}),v},A=function(O){var v=!1;return r(w,function(B,R){if(!v)try{B(O),v=h(R,1)}catch{}}),v};t.exports=function(O){if(!O||typeof O!="object")return!1;if(!u){var v=h(a(O),8,-1);return C(d,v)>-1?v:v!=="Object"?!1:A(O)}return n?T(O):null}}),B2e=W((e,t)=>{"use strict";m();var r=FX();t.exports=function(o){return!!r(o)}}),q2e=W(e=>{"use strict";m();var t=LEe(),r=YEe(),o=FX(),s=B2e();function i(re){return re.call.bind(re)}var n=typeof BigInt<"u",a=typeof Symbol<"u",u=i(Object.prototype.toString),c=i(Number.prototype.valueOf),d=i(String.prototype.valueOf),h=i(Boolean.prototype.valueOf);n&&(y=i(BigInt.prototype.valueOf));var y;a&&(C=i(Symbol.prototype.valueOf));var C;function w(re,Oe){if(typeof re!="object")return!1;try{return Oe(re),!0}catch{return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=s;function T(re){return typeof Promise<"u"&&re instanceof Promise||re!==null&&typeof re=="object"&&typeof re.then=="function"&&typeof re.catch=="function"}e.isPromise=T;function A(re){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(re):s(re)||D(re)}e.isArrayBufferView=A;function O(re){return o(re)==="Uint8Array"}e.isUint8Array=O;function v(re){return o(re)==="Uint8ClampedArray"}e.isUint8ClampedArray=v;function B(re){return o(re)==="Uint16Array"}e.isUint16Array=B;function R(re){return o(re)==="Uint32Array"}e.isUint32Array=R;function U(re){return o(re)==="Int8Array"}e.isInt8Array=U;function N(re){return o(re)==="Int16Array"}e.isInt16Array=N;function _(re){return o(re)==="Int32Array"}e.isInt32Array=_;function L(re){return o(re)==="Float32Array"}e.isFloat32Array=L;function H(re){return o(re)==="Float64Array"}e.isFloat64Array=H;function F(re){return o(re)==="BigInt64Array"}e.isBigInt64Array=F;function G(re){return o(re)==="BigUint64Array"}e.isBigUint64Array=G;function l(re){return u(re)==="[object Map]"}l.working=typeof Map<"u"&&l(new Map);function p(re){return typeof Map>"u"?!1:l.working?l(re):re instanceof Map}e.isMap=p;function E(re){return u(re)==="[object Set]"}E.working=typeof Set<"u"&&E(new Set);function g(re){return typeof Set>"u"?!1:E.working?E(re):re instanceof Set}e.isSet=g;function b(re){return u(re)==="[object WeakMap]"}b.working=typeof WeakMap<"u"&&b(new WeakMap);function k(re){return typeof WeakMap>"u"?!1:b.working?b(re):re instanceof WeakMap}e.isWeakMap=k;function x(re){return u(re)==="[object WeakSet]"}x.working=typeof WeakSet<"u"&&x(new WeakSet);function S(re){return x(re)}e.isWeakSet=S;function f(re){return u(re)==="[object ArrayBuffer]"}f.working=typeof ArrayBuffer<"u"&&f(new ArrayBuffer);function M(re){return typeof ArrayBuffer>"u"?!1:f.working?f(re):re instanceof ArrayBuffer}e.isArrayBuffer=M;function V(re){return u(re)==="[object DataView]"}V.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&V(new DataView(new ArrayBuffer(1),0,1));function D(re){return typeof DataView>"u"?!1:V.working?V(re):re instanceof DataView}e.isDataView=D;var j=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Y(re){return u(re)==="[object SharedArrayBuffer]"}function oe(re){return typeof j>"u"?!1:(typeof Y.working>"u"&&(Y.working=Y(new j)),Y.working?Y(re):re instanceof j)}e.isSharedArrayBuffer=oe;function de(re){return u(re)==="[object AsyncFunction]"}e.isAsyncFunction=de;function ue(re){return u(re)==="[object Map Iterator]"}e.isMapIterator=ue;function ae(re){return u(re)==="[object Set Iterator]"}e.isSetIterator=ae;function q(re){return u(re)==="[object Generator]"}e.isGeneratorObject=q;function ne(re){return u(re)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=ne;function me(re){return w(re,c)}e.isNumberObject=me;function ve(re){return w(re,d)}e.isStringObject=ve;function ge(re){return w(re,h)}e.isBooleanObject=ge;function ce(re){return n&&w(re,y)}e.isBigIntObject=ce;function ee(re){return a&&w(re,C)}e.isSymbolObject=ee;function fe(re){return me(re)||ve(re)||ge(re)||ce(re)||ee(re)}e.isBoxedPrimitive=fe;function ie(re){return typeof Uint8Array<"u"&&(M(re)||oe(re))}e.isAnyArrayBuffer=ie,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(re){Object.defineProperty(e,re,{enumerable:!1,value:function(){throw new Error(re+" is not supported in userland")}})})}),G2e=W((e,t)=>{m(),t.exports=function(r){return r&&typeof r=="object"&&typeof r.copy=="function"&&typeof r.fill=="function"&&typeof r.readUInt8=="function"}}),$C=W(e=>{m();var t=Object.getOwnPropertyDescriptors||function(V){for(var D=Object.keys(V),j={},Y=0;Y<D.length;Y++)j[D[Y]]=Object.getOwnPropertyDescriptor(V,D[Y]);return j},r=/%[sdj%]/g;e.format=function(V){if(!U(V)){for(var D=[],j=0;j<arguments.length;j++)D.push(n(arguments[j]));return D.join(" ")}for(var j=1,Y=arguments,oe=Y.length,de=String(V).replace(r,function(q){if(q==="%%")return"%";if(j>=oe)return q;switch(q){case"%s":return String(Y[j++]);case"%d":return Number(Y[j++]);case"%j":try{return JSON.stringify(Y[j++])}catch{return"[Circular]"}default:return q}}),ue=Y[j];j<oe;ue=Y[++j])v(ue)||!H(ue)?de+=" "+ue:de+=" "+n(ue);return de},e.deprecate=function(V,D){if(typeof I.default<"u"&&I.default.noDeprecation===!0)return V;if(typeof I.default>"u")return function(){return e.deprecate(V,D).apply(this,arguments)};var j=!1;function Y(){if(!j){if(I.default.throwDeprecation)throw new Error(D);I.default.traceDeprecation?console.trace(D):console.error(D),j=!0}return V.apply(this,arguments)}return Y};var o={},s=/^$/;I.default.env.NODE_DEBUG&&(i=I.default.env.NODE_DEBUG,i=i.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+i+"$","i"));var i;e.debuglog=function(V){if(V=V.toUpperCase(),!o[V])if(s.test(V)){var D=I.default.pid;o[V]=function(){var j=e.format.apply(e,arguments);console.error("%s %d: %s",V,D,j)}}else o[V]=function(){};return o[V]};function n(V,D){var j={seen:[],stylize:u};return arguments.length>=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),O(D)?j.showHidden=D:D&&e._extend(j,D),_(j.showHidden)&&(j.showHidden=!1),_(j.depth)&&(j.depth=2),_(j.colors)&&(j.colors=!1),_(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=a),d(j,V,j.depth)}e.inspect=n,n.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]},n.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function a(V,D){var j=n.styles[D];return j?"\x1B["+n.colors[j][0]+"m"+V+"\x1B["+n.colors[j][1]+"m":V}function u(V,D){return V}function c(V){var D={};return V.forEach(function(j,Y){D[j]=!0}),D}function d(V,D,j){if(V.customInspect&&D&&l(D.inspect)&&D.inspect!==e.inspect&&!(D.constructor&&D.constructor.prototype===D)){var Y=D.inspect(j,V);return U(Y)||(Y=d(V,Y,j)),Y}var oe=h(V,D);if(oe)return oe;var de=Object.keys(D),ue=c(de);if(V.showHidden&&(de=Object.getOwnPropertyNames(D)),G(D)&&(de.indexOf("message")>=0||de.indexOf("description")>=0))return y(D);if(de.length===0){if(l(D)){var ae=D.name?": "+D.name:"";return V.stylize("[Function"+ae+"]","special")}if(L(D))return V.stylize(RegExp.prototype.toString.call(D),"regexp");if(F(D))return V.stylize(Date.prototype.toString.call(D),"date");if(G(D))return y(D)}var q="",ne=!1,me=["{","}"];if(A(D)&&(ne=!0,me=["[","]"]),l(D)){var ve=D.name?": "+D.name:"";q=" [Function"+ve+"]"}if(L(D)&&(q=" "+RegExp.prototype.toString.call(D)),F(D)&&(q=" "+Date.prototype.toUTCString.call(D)),G(D)&&(q=" "+y(D)),de.length===0&&(!ne||D.length==0))return me[0]+q+me[1];if(j<0)return L(D)?V.stylize(RegExp.prototype.toString.call(D),"regexp"):V.stylize("[Object]","special");V.seen.push(D);var ge;return ne?ge=C(V,D,j,ue,de):ge=de.map(function(ce){return w(V,D,j,ue,ce,ne)}),V.seen.pop(),T(ge,q,me)}function h(V,D){if(_(D))return V.stylize("undefined","undefined");if(U(D)){var j="'"+JSON.stringify(D).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return V.stylize(j,"string")}if(R(D))return V.stylize(""+D,"number");if(O(D))return V.stylize(""+D,"boolean");if(v(D))return V.stylize("null","null")}function y(V){return"["+Error.prototype.toString.call(V)+"]"}function C(V,D,j,Y,oe){for(var de=[],ue=0,ae=D.length;ue<ae;++ue)x(D,String(ue))?de.push(w(V,D,j,Y,String(ue),!0)):de.push("");return oe.forEach(function(q){q.match(/^\d+$/)||de.push(w(V,D,j,Y,q,!0))}),de}function w(V,D,j,Y,oe,de){var ue,ae,q;if(q=Object.getOwnPropertyDescriptor(D,oe)||{value:D[oe]},q.get?q.set?ae=V.stylize("[Getter/Setter]","special"):ae=V.stylize("[Getter]","special"):q.set&&(ae=V.stylize("[Setter]","special")),x(Y,oe)||(ue="["+oe+"]"),ae||(V.seen.indexOf(q.value)<0?(v(j)?ae=d(V,q.value,null):ae=d(V,q.value,j-1),ae.indexOf(`
`)>-1&&(de?ae=ae.split(`
`).map(function(ne){return"  "+ne}).join(`
`).slice(2):ae=`
`+ae.split(`
`).map(function(ne){return"   "+ne}).join(`
`))):ae=V.stylize("[Circular]","special")),_(ue)){if(de&&oe.match(/^\d+$/))return ae;ue=JSON.stringify(""+oe),ue.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ue=ue.slice(1,-1),ue=V.stylize(ue,"name")):(ue=ue.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ue=V.stylize(ue,"string"))}return ue+": "+ae}function T(V,D,j){var Y=0,oe=V.reduce(function(de,ue){return Y++,ue.indexOf(`
`)>=0&&Y++,de+ue.replace(/\u001b\[\d\d?m/g,"").length+1},0);return oe>60?j[0]+(D===""?"":D+`
 `)+" "+V.join(`,
  `)+" "+j[1]:j[0]+D+" "+V.join(", ")+" "+j[1]}e.types=q2e();function A(V){return Array.isArray(V)}e.isArray=A;function O(V){return typeof V=="boolean"}e.isBoolean=O;function v(V){return V===null}e.isNull=v;function B(V){return V==null}e.isNullOrUndefined=B;function R(V){return typeof V=="number"}e.isNumber=R;function U(V){return typeof V=="string"}e.isString=U;function N(V){return typeof V=="symbol"}e.isSymbol=N;function _(V){return V===void 0}e.isUndefined=_;function L(V){return H(V)&&E(V)==="[object RegExp]"}e.isRegExp=L,e.types.isRegExp=L;function H(V){return typeof V=="object"&&V!==null}e.isObject=H;function F(V){return H(V)&&E(V)==="[object Date]"}e.isDate=F,e.types.isDate=F;function G(V){return H(V)&&(E(V)==="[object Error]"||V instanceof Error)}e.isError=G,e.types.isNativeError=G;function l(V){return typeof V=="function"}e.isFunction=l;function p(V){return V===null||typeof V=="boolean"||typeof V=="number"||typeof V=="string"||typeof V=="symbol"||typeof V>"u"}e.isPrimitive=p,e.isBuffer=G2e();function E(V){return Object.prototype.toString.call(V)}function g(V){return V<10?"0"+V.toString(10):V.toString(10)}var b=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function k(){var V=new Date,D=[g(V.getHours()),g(V.getMinutes()),g(V.getSeconds())].join(":");return[V.getDate(),b[V.getMonth()],D].join(" ")}e.log=function(){console.log("%s - %s",k(),e.format.apply(e,arguments))},e.inherits=un(),e._extend=function(V,D){if(!D||!H(D))return V;for(var j=Object.keys(D),Y=j.length;Y--;)V[j[Y]]=D[j[Y]];return V};function x(V,D){return Object.prototype.hasOwnProperty.call(V,D)}var S=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(V){if(typeof V!="function")throw new TypeError('The "original" argument must be of type Function');if(S&&V[S]){var D=V[S];if(typeof D!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(D,S,{value:D,enumerable:!1,writable:!1,configurable:!0}),D}function D(){for(var j,Y,oe=new Promise(function(ae,q){j=ae,Y=q}),de=[],ue=0;ue<arguments.length;ue++)de.push(arguments[ue]);de.push(function(ae,q){ae?Y(ae):j(q)});try{V.apply(this,de)}catch(ae){Y(ae)}return oe}return Object.setPrototypeOf(D,Object.getPrototypeOf(V)),S&&Object.defineProperty(D,S,{value:D,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(D,t(V))},e.promisify.custom=S;function f(V,D){if(!V){var j=new Error("Promise was rejected with a falsy value");j.reason=V,V=j}return D(V)}function M(V){if(typeof V!="function")throw new TypeError('The "original" argument must be of type Function');function D(){for(var j=[],Y=0;Y<arguments.length;Y++)j.push(arguments[Y]);var oe=j.pop();if(typeof oe!="function")throw new TypeError("The last argument must be of type Function");var de=this,ue=function(){return oe.apply(de,arguments)};V.apply(this,j).then(function(ae){I.default.nextTick(ue.bind(null,null,ae))},function(ae){I.default.nextTick(f.bind(null,ae,ue))})}return Object.setPrototypeOf(D,Object.getPrototypeOf(V)),Object.defineProperties(D,t(V)),D}e.callbackify=M}),nTe=W((e,t)=>{"use strict";m();function r(A,O){var v=Object.keys(A);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(A);O&&(B=B.filter(function(R){return Object.getOwnPropertyDescriptor(A,R).enumerable})),v.push.apply(v,B)}return v}function o(A){for(var O=1;O<arguments.length;O++){var v=arguments[O]!=null?arguments[O]:{};O%2?r(Object(v),!0).forEach(function(B){s(A,B,v[B])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(v)):r(Object(v)).forEach(function(B){Object.defineProperty(A,B,Object.getOwnPropertyDescriptor(v,B))})}return A}function s(A,O,v){return O=u(O),O in A?Object.defineProperty(A,O,{value:v,enumerable:!0,configurable:!0,writable:!0}):A[O]=v,A}function i(A,O){if(!(A instanceof O))throw new TypeError("Cannot call a class as a function")}function n(A,O){for(var v=0;v<O.length;v++){var B=O[v];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(A,u(B.key),B)}}function a(A,O,v){return O&&n(A.prototype,O),v&&n(A,v),Object.defineProperty(A,"prototype",{writable:!1}),A}function u(A){var O=c(A,"string");return typeof O=="symbol"?O:String(O)}function c(A,O){if(typeof A!="object"||A===null)return A;var v=A[Symbol.toPrimitive];if(v!==void 0){var B=v.call(A,O||"default");if(typeof B!="object")return B;throw new TypeError("@@toPrimitive must return a primitive value.")}return(O==="string"?String:Number)(A)}var d=Go(),h=d.Buffer,y=$C(),C=y.inspect,w=C&&C.custom||"inspect";function T(A,O,v){h.prototype.copy.call(A,O,v)}t.exports=(function(){function A(){i(this,A),this.head=null,this.tail=null,this.length=0}return a(A,[{key:"push",value:function(O){var v={data:O,next:null};this.length>0?this.tail.next=v:this.head=v,this.tail=v,++this.length}},{key:"unshift",value:function(O){var v={data:O,next:this.head};this.length===0&&(this.tail=v),this.head=v,++this.length}},{key:"shift",value:function(){if(this.length!==0){var O=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,O}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(O){if(this.length===0)return"";for(var v=this.head,B=""+v.data;v=v.next;)B+=O+v.data;return B}},{key:"concat",value:function(O){if(this.length===0)return h.alloc(0);for(var v=h.allocUnsafe(O>>>0),B=this.head,R=0;B;)T(B.data,v,R),R+=B.data.length,B=B.next;return v}},{key:"consume",value:function(O,v){var B;return O<this.head.data.length?(B=this.head.data.slice(0,O),this.head.data=this.head.data.slice(O)):O===this.head.data.length?B=this.shift():B=v?this._getString(O):this._getBuffer(O),B}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(O){var v=this.head,B=1,R=v.data;for(O-=R.length;v=v.next;){var U=v.data,N=O>U.length?U.length:O;if(N===U.length?R+=U:R+=U.slice(0,O),O-=N,O===0){N===U.length?(++B,v.next?this.head=v.next:this.head=this.tail=null):(this.head=v,v.data=U.slice(N));break}++B}return this.length-=B,R}},{key:"_getBuffer",value:function(O){var v=h.allocUnsafe(O),B=this.head,R=1;for(B.data.copy(v),O-=B.data.length;B=B.next;){var U=B.data,N=O>U.length?U.length:O;if(U.copy(v,v.length-O,0,N),O-=N,O===0){N===U.length?(++R,B.next?this.head=B.next:this.head=this.tail=null):(this.head=B,B.data=U.slice(N));break}++R}return this.length-=R,v}},{key:w,value:function(O,v){return C(this,o(o({},v),{},{depth:0,customInspect:!1}))}}]),A})()}),XX=W((e,t)=>{"use strict";m();function r(u,c){var d=this,h=this._readableState&&this._readableState.destroyed,y=this._writableState&&this._writableState.destroyed;return h||y?(c?c(u):u&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,I.default.nextTick(n,this,u)):I.default.nextTick(n,this,u)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(u||null,function(C){!c&&C?d._writableState?d._writableState.errorEmitted?I.default.nextTick(s,d):(d._writableState.errorEmitted=!0,I.default.nextTick(o,d,C)):I.default.nextTick(o,d,C):c?(I.default.nextTick(s,d),c(C)):I.default.nextTick(s,d)}),this)}function o(u,c){n(u,c),s(u)}function s(u){u._writableState&&!u._writableState.emitClose||u._readableState&&!u._readableState.emitClose||u.emit("close")}function i(){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)}function n(u,c){u.emit("error",c)}function a(u,c){var d=u._readableState,h=u._writableState;d&&d.autoDestroy||h&&h.autoDestroy?u.destroy(c):u.emit("error",c)}t.exports={destroy:r,undestroy:i,errorOrDestroy:a}}),Kx=W((e,t)=>{"use strict";m();function r(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,c.__proto__=d}var o={};function s(c,d,h){h||(h=Error);function y(w,T,A){return typeof d=="string"?d:d(w,T,A)}var C=(function(w){r(T,w);function T(A,O,v){return w.call(this,y(A,O,v))||this}return T})(h);C.prototype.name=h.name,C.prototype.code=c,o[c]=C}function i(c,d){if(Array.isArray(c)){var h=c.length;return c=c.map(function(y){return String(y)}),h>2?"one of ".concat(d," ").concat(c.slice(0,h-1).join(", "),", or ")+c[h-1]:h===2?"one of ".concat(d," ").concat(c[0]," or ").concat(c[1]):"of ".concat(d," ").concat(c[0])}else return"of ".concat(d," ").concat(String(c))}function n(c,d,h){return c.substr(!h||h<0?0:+h,d.length)===d}function a(c,d,h){return(h===void 0||h>c.length)&&(h=c.length),c.substring(h-d.length,h)===d}function u(c,d,h){return typeof h!="number"&&(h=0),h+d.length>c.length?!1:c.indexOf(d,h)!==-1}s("ERR_INVALID_OPT_VALUE",function(c,d){return'The value "'+d+'" is invalid for option "'+c+'"'},TypeError),s("ERR_INVALID_ARG_TYPE",function(c,d,h){var y;typeof d=="string"&&n(d,"not ")?(y="must not be",d=d.replace(/^not /,"")):y="must be";var C;if(a(c," argument"))C="The ".concat(c," ").concat(y," ").concat(i(d,"type"));else{var w=u(c,".")?"property":"argument";C='The "'.concat(c,'" ').concat(w," ").concat(y," ").concat(i(d,"type"))}return C+=". Received type ".concat(typeof h),C},TypeError),s("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),s("ERR_METHOD_NOT_IMPLEMENTED",function(c){return"The "+c+" method is not implemented"}),s("ERR_STREAM_PREMATURE_CLOSE","Premature close"),s("ERR_STREAM_DESTROYED",function(c){return"Cannot call "+c+" after a stream was destroyed"}),s("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),s("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),s("ERR_STREAM_WRITE_AFTER_END","write after end"),s("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),s("ERR_UNKNOWN_ENCODING",function(c){return"Unknown encoding: "+c},TypeError),s("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=o}),YX=W((e,t)=>{"use strict";m();var r=Kx().codes.ERR_INVALID_OPT_VALUE;function o(i,n,a){return i.highWaterMark!=null?i.highWaterMark:n?i[a]:null}function s(i,n,a,u){var c=o(n,u,a);if(c!=null){if(!(isFinite(c)&&Math.floor(c)===c)||c<0){var d=u?a:"highWaterMark";throw new r(d,c)}return Math.floor(c)}return i.objectMode?16:16*1024}t.exports={getHighWaterMark:s}}),ZX=W((e,t)=>{m(),t.exports=r;function r(s,i){if(o("noDeprecation"))return s;var n=!1;function a(){if(!n){if(o("throwDeprecation"))throw new Error(i);o("traceDeprecation")?console.trace(i):console.warn(i),n=!0}return s.apply(this,arguments)}return a}function o(s){try{if(!global.localStorage)return!1}catch{return!1}var i=global.localStorage[s];return i==null?!1:String(i).toLowerCase()==="true"}}),tY=W((e,t)=>{"use strict";m(),t.exports=F;function r(ue){var ae=this;this.next=null,this.entry=null,this.finish=function(){de(ae,ue)}}var o;F.WritableState=L;var s={deprecate:ZX()},i=lX(),n=Go().Buffer,a=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function u(ue){return n.from(ue)}function c(ue){return n.isBuffer(ue)||ue instanceof a}var d=XX(),h=YX(),y=h.getHighWaterMark,C=Kx().codes,w=C.ERR_INVALID_ARG_TYPE,T=C.ERR_METHOD_NOT_IMPLEMENTED,A=C.ERR_MULTIPLE_CALLBACK,O=C.ERR_STREAM_CANNOT_PIPE,v=C.ERR_STREAM_DESTROYED,B=C.ERR_STREAM_NULL_VALUES,R=C.ERR_STREAM_WRITE_AFTER_END,U=C.ERR_UNKNOWN_ENCODING,N=d.errorOrDestroy;un()(F,i);function _(){}function L(ue,ae,q){o=o||Hx(),ue=ue||{},typeof q!="boolean"&&(q=ae instanceof o),this.objectMode=!!ue.objectMode,q&&(this.objectMode=this.objectMode||!!ue.writableObjectMode),this.highWaterMark=y(this,ue,"writableHighWaterMark",q),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ne=ue.decodeStrings===!1;this.decodeStrings=!ne,this.defaultEncoding=ue.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(me){x(ae,me)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=ue.emitClose!==!1,this.autoDestroy=!!ue.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}L.prototype.getBuffer=function(){for(var ue=this.bufferedRequest,ae=[];ue;)ae.push(ue),ue=ue.next;return ae},(function(){try{Object.defineProperty(L.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var H;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(H=Function.prototype[Symbol.hasInstance],Object.defineProperty(F,Symbol.hasInstance,{value:function(ue){return H.call(this,ue)?!0:this!==F?!1:ue&&ue._writableState instanceof L}})):H=function(ue){return ue instanceof this};function F(ue){o=o||Hx();var ae=this instanceof o;if(!ae&&!H.call(F,this))return new F(ue);this._writableState=new L(ue,this,ae),this.writable=!0,ue&&(typeof ue.write=="function"&&(this._write=ue.write),typeof ue.writev=="function"&&(this._writev=ue.writev),typeof ue.destroy=="function"&&(this._destroy=ue.destroy),typeof ue.final=="function"&&(this._final=ue.final)),i.call(this)}F.prototype.pipe=function(){N(this,new O)};function G(ue,ae){var q=new R;N(ue,q),I.default.nextTick(ae,q)}function l(ue,ae,q,ne){var me;return q===null?me=new B:typeof q!="string"&&!ae.objectMode&&(me=new w("chunk",["string","Buffer"],q)),me?(N(ue,me),I.default.nextTick(ne,me),!1):!0}F.prototype.write=function(ue,ae,q){var ne=this._writableState,me=!1,ve=!ne.objectMode&&c(ue);return ve&&!n.isBuffer(ue)&&(ue=u(ue)),typeof ae=="function"&&(q=ae,ae=null),ve?ae="buffer":ae||(ae=ne.defaultEncoding),typeof q!="function"&&(q=_),ne.ending?G(this,q):(ve||l(this,ne,ue,q))&&(ne.pendingcb++,me=E(this,ne,ve,ue,ae,q)),me},F.prototype.cork=function(){this._writableState.corked++},F.prototype.uncork=function(){var ue=this._writableState;ue.corked&&(ue.corked--,!ue.writing&&!ue.corked&&!ue.bufferProcessing&&ue.bufferedRequest&&M(this,ue))},F.prototype.setDefaultEncoding=function(ue){if(typeof ue=="string"&&(ue=ue.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ue+"").toLowerCase())>-1))throw new U(ue);return this._writableState.defaultEncoding=ue,this},Object.defineProperty(F.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function p(ue,ae,q){return!ue.objectMode&&ue.decodeStrings!==!1&&typeof ae=="string"&&(ae=n.from(ae,q)),ae}Object.defineProperty(F.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function E(ue,ae,q,ne,me,ve){if(!q){var ge=p(ae,ne,me);ne!==ge&&(q=!0,me="buffer",ne=ge)}var ce=ae.objectMode?1:ne.length;ae.length+=ce;var ee=ae.length<ae.highWaterMark;if(ee||(ae.needDrain=!0),ae.writing||ae.corked){var fe=ae.lastBufferedRequest;ae.lastBufferedRequest={chunk:ne,encoding:me,isBuf:q,callback:ve,next:null},fe?fe.next=ae.lastBufferedRequest:ae.bufferedRequest=ae.lastBufferedRequest,ae.bufferedRequestCount+=1}else g(ue,ae,!1,ce,ne,me,ve);return ee}function g(ue,ae,q,ne,me,ve,ge){ae.writelen=ne,ae.writecb=ge,ae.writing=!0,ae.sync=!0,ae.destroyed?ae.onwrite(new v("write")):q?ue._writev(me,ae.onwrite):ue._write(me,ve,ae.onwrite),ae.sync=!1}function b(ue,ae,q,ne,me){--ae.pendingcb,q?(I.default.nextTick(me,ne),I.default.nextTick(Y,ue,ae),ue._writableState.errorEmitted=!0,N(ue,ne)):(me(ne),ue._writableState.errorEmitted=!0,N(ue,ne),Y(ue,ae))}function k(ue){ue.writing=!1,ue.writecb=null,ue.length-=ue.writelen,ue.writelen=0}function x(ue,ae){var q=ue._writableState,ne=q.sync,me=q.writecb;if(typeof me!="function")throw new A;if(k(q),ae)b(ue,q,ne,ae,me);else{var ve=V(q)||ue.destroyed;!ve&&!q.corked&&!q.bufferProcessing&&q.bufferedRequest&&M(ue,q),ne?I.default.nextTick(S,ue,q,ve,me):S(ue,q,ve,me)}}function S(ue,ae,q,ne){q||f(ue,ae),ae.pendingcb--,ne(),Y(ue,ae)}function f(ue,ae){ae.length===0&&ae.needDrain&&(ae.needDrain=!1,ue.emit("drain"))}function M(ue,ae){ae.bufferProcessing=!0;var q=ae.bufferedRequest;if(ue._writev&&q&&q.next){var ne=ae.bufferedRequestCount,me=new Array(ne),ve=ae.corkedRequestsFree;ve.entry=q;for(var ge=0,ce=!0;q;)me[ge]=q,q.isBuf||(ce=!1),q=q.next,ge+=1;me.allBuffers=ce,g(ue,ae,!0,ae.length,me,"",ve.finish),ae.pendingcb++,ae.lastBufferedRequest=null,ve.next?(ae.corkedRequestsFree=ve.next,ve.next=null):ae.corkedRequestsFree=new r(ae),ae.bufferedRequestCount=0}else{for(;q;){var ee=q.chunk,fe=q.encoding,ie=q.callback,re=ae.objectMode?1:ee.length;if(g(ue,ae,!1,re,ee,fe,ie),q=q.next,ae.bufferedRequestCount--,ae.writing)break}q===null&&(ae.lastBufferedRequest=null)}ae.bufferedRequest=q,ae.bufferProcessing=!1}F.prototype._write=function(ue,ae,q){q(new T("_write()"))},F.prototype._writev=null,F.prototype.end=function(ue,ae,q){var ne=this._writableState;return typeof ue=="function"?(q=ue,ue=null,ae=null):typeof ae=="function"&&(q=ae,ae=null),ue!=null&&this.write(ue,ae),ne.corked&&(ne.corked=1,this.uncork()),ne.ending||oe(this,ne,q),this},Object.defineProperty(F.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function V(ue){return ue.ending&&ue.length===0&&ue.bufferedRequest===null&&!ue.finished&&!ue.writing}function D(ue,ae){ue._final(function(q){ae.pendingcb--,q&&N(ue,q),ae.prefinished=!0,ue.emit("prefinish"),Y(ue,ae)})}function j(ue,ae){!ae.prefinished&&!ae.finalCalled&&(typeof ue._final=="function"&&!ae.destroyed?(ae.pendingcb++,ae.finalCalled=!0,I.default.nextTick(D,ue,ae)):(ae.prefinished=!0,ue.emit("prefinish")))}function Y(ue,ae){var q=V(ae);if(q&&(j(ue,ae),ae.pendingcb===0&&(ae.finished=!0,ue.emit("finish"),ae.autoDestroy))){var ne=ue._readableState;(!ne||ne.autoDestroy&&ne.endEmitted)&&ue.destroy()}return q}function oe(ue,ae,q){ae.ending=!0,Y(ue,ae),q&&(ae.finished?I.default.nextTick(q):ue.once("finish",q)),ae.ended=!0,ue.writable=!1}function de(ue,ae,q){var ne=ue.entry;for(ue.entry=null;ne;){var me=ne.callback;ae.pendingcb--,me(q),ne=ne.next}ae.corkedRequestsFree.next=ue}Object.defineProperty(F.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(ue){this._writableState&&(this._writableState.destroyed=ue)}}),F.prototype.destroy=d.destroy,F.prototype._undestroy=d.undestroy,F.prototype._destroy=function(ue,ae){ae(ue)}}),Hx=W((e,t)=>{"use strict";m();var r=Object.keys||function(h){var y=[];for(var C in h)y.push(C);return y};t.exports=u;var o=iY(),s=tY();for(un()(u,o),i=r(s.prototype),a=0;a<i.length;a++)n=i[a],u.prototype[n]||(u.prototype[n]=s.prototype[n]);var i,n,a;function u(h){if(!(this instanceof u))return new u(h);o.call(this,h),s.call(this,h),this.allowHalfOpen=!0,h&&(h.readable===!1&&(this.readable=!1),h.writable===!1&&(this.writable=!1),h.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",c)))}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function c(){this._writableState.ended||I.default.nextTick(d,this)}function d(h){h.end()}Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(h){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=h,this._writableState.destroyed=h)}})}),qN=W(e=>{"use strict";m();var t=vn().Buffer,r=t.isEncoding||function(v){switch(v=""+v,v&&v.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 o(v){if(!v)return"utf8";for(var B;;)switch(v){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 v;default:if(B)return;v=(""+v).toLowerCase(),B=!0}}function s(v){var B=o(v);if(typeof B!="string"&&(t.isEncoding===r||!r(v)))throw new Error("Unknown encoding: "+v);return B||v}e.StringDecoder=i;function i(v){this.encoding=s(v);var B;switch(this.encoding){case"utf16le":this.text=y,this.end=C,B=4;break;case"utf8":this.fillLast=c,B=4;break;case"base64":this.text=w,this.end=T,B=3;break;default:this.write=A,this.end=O;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(B)}i.prototype.write=function(v){if(v.length===0)return"";var B,R;if(this.lastNeed){if(B=this.fillLast(v),B===void 0)return"";R=this.lastNeed,this.lastNeed=0}else R=0;return R<v.length?B?B+this.text(v,R):this.text(v,R):B||""},i.prototype.end=h,i.prototype.text=d,i.prototype.fillLast=function(v){if(this.lastNeed<=v.length)return v.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);v.copy(this.lastChar,this.lastTotal-this.lastNeed,0,v.length),this.lastNeed-=v.length};function n(v){return v<=127?0:v>>5===6?2:v>>4===14?3:v>>3===30?4:v>>6===2?-1:-2}function a(v,B,R){var U=B.length-1;if(U<R)return 0;var N=n(B[U]);return N>=0?(N>0&&(v.lastNeed=N-1),N):--U<R||N===-2?0:(N=n(B[U]),N>=0?(N>0&&(v.lastNeed=N-2),N):--U<R||N===-2?0:(N=n(B[U]),N>=0?(N>0&&(N===2?N=0:v.lastNeed=N-3),N):0))}function u(v,B,R){if((B[0]&192)!==128)return v.lastNeed=0,"\uFFFD";if(v.lastNeed>1&&B.length>1){if((B[1]&192)!==128)return v.lastNeed=1,"\uFFFD";if(v.lastNeed>2&&B.length>2&&(B[2]&192)!==128)return v.lastNeed=2,"\uFFFD"}}function c(v){var B=this.lastTotal-this.lastNeed,R=u(this,v,B);if(R!==void 0)return R;if(this.lastNeed<=v.length)return v.copy(this.lastChar,B,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);v.copy(this.lastChar,B,0,v.length),this.lastNeed-=v.length}function d(v,B){var R=a(this,v,B);if(!this.lastNeed)return v.toString("utf8",B);this.lastTotal=R;var U=v.length-(R-this.lastNeed);return v.copy(this.lastChar,0,U),v.toString("utf8",B,U)}function h(v){var B=v&&v.length?this.write(v):"";return this.lastNeed?B+"\uFFFD":B}function y(v,B){if((v.length-B)%2===0){var R=v.toString("utf16le",B);if(R){var U=R.charCodeAt(R.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=v[v.length-2],this.lastChar[1]=v[v.length-1],R.slice(0,-1)}return R}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=v[v.length-1],v.toString("utf16le",B,v.length-1)}function C(v){var B=v&&v.length?this.write(v):"";if(this.lastNeed){var R=this.lastTotal-this.lastNeed;return B+this.lastChar.toString("utf16le",0,R)}return B}function w(v,B){var R=(v.length-B)%3;return R===0?v.toString("base64",B):(this.lastNeed=3-R,this.lastTotal=3,R===1?this.lastChar[0]=v[v.length-1]:(this.lastChar[0]=v[v.length-2],this.lastChar[1]=v[v.length-1]),v.toString("base64",B,v.length-R))}function T(v){var B=v&&v.length?this.write(v):"";return this.lastNeed?B+this.lastChar.toString("base64",0,3-this.lastNeed):B}function A(v){return v.toString(this.encoding)}function O(v){return v&&v.length?this.write(v):""}}),jN=W((e,t)=>{"use strict";m();var r=Kx().codes.ERR_STREAM_PREMATURE_CLOSE;function o(a){var u=!1;return function(){if(!u){u=!0;for(var c=arguments.length,d=new Array(c),h=0;h<c;h++)d[h]=arguments[h];a.apply(this,d)}}}function s(){}function i(a){return a.setHeader&&typeof a.abort=="function"}function n(a,u,c){if(typeof u=="function")return n(a,null,u);u||(u={}),c=o(c||s);var d=u.readable||u.readable!==!1&&a.readable,h=u.writable||u.writable!==!1&&a.writable,y=function(){a.writable||w()},C=a._writableState&&a._writableState.finished,w=function(){h=!1,C=!0,d||c.call(a)},T=a._readableState&&a._readableState.endEmitted,A=function(){d=!1,T=!0,h||c.call(a)},O=function(R){c.call(a,R)},v=function(){var R;if(d&&!T)return(!a._readableState||!a._readableState.ended)&&(R=new r),c.call(a,R);if(h&&!C)return(!a._writableState||!a._writableState.ended)&&(R=new r),c.call(a,R)},B=function(){a.req.on("finish",w)};return i(a)?(a.on("complete",w),a.on("abort",v),a.req?B():a.on("request",B)):h&&!a._writableState&&(a.on("end",y),a.on("close",y)),a.on("end",A),a.on("finish",w),u.error!==!1&&a.on("error",O),a.on("close",v),function(){a.removeListener("complete",w),a.removeListener("abort",v),a.removeListener("request",B),a.req&&a.req.removeListener("finish",w),a.removeListener("end",y),a.removeListener("close",y),a.removeListener("finish",w),a.removeListener("end",A),a.removeListener("error",O),a.removeListener("close",v)}}t.exports=n}),STe=W((e,t)=>{"use strict";m();var r;function o(U,N,_){return N=s(N),N in U?Object.defineProperty(U,N,{value:_,enumerable:!0,configurable:!0,writable:!0}):U[N]=_,U}function s(U){var N=i(U,"string");return typeof N=="symbol"?N:String(N)}function i(U,N){if(typeof U!="object"||U===null)return U;var _=U[Symbol.toPrimitive];if(_!==void 0){var L=_.call(U,N||"default");if(typeof L!="object")return L;throw new TypeError("@@toPrimitive must return a primitive value.")}return(N==="string"?String:Number)(U)}var n=jN(),a=Symbol("lastResolve"),u=Symbol("lastReject"),c=Symbol("error"),d=Symbol("ended"),h=Symbol("lastPromise"),y=Symbol("handlePromise"),C=Symbol("stream");function w(U,N){return{value:U,done:N}}function T(U){var N=U[a];if(N!==null){var _=U[C].read();_!==null&&(U[h]=null,U[a]=null,U[u]=null,N(w(_,!1)))}}function A(U){I.default.nextTick(T,U)}function O(U,N){return function(_,L){U.then(function(){if(N[d]){_(w(void 0,!0));return}N[y](_,L)},L)}}var v=Object.getPrototypeOf(function(){}),B=Object.setPrototypeOf((r={get stream(){return this[C]},next:function(){var U=this,N=this[c];if(N!==null)return Promise.reject(N);if(this[d])return Promise.resolve(w(void 0,!0));if(this[C].destroyed)return new Promise(function(F,G){I.default.nextTick(function(){U[c]?G(U[c]):F(w(void 0,!0))})});var _=this[h],L;if(_)L=new Promise(O(_,this));else{var H=this[C].read();if(H!==null)return Promise.resolve(w(H,!1));L=new Promise(this[y])}return this[h]=L,L}},o(r,Symbol.asyncIterator,function(){return this}),o(r,"return",function(){var U=this;return new Promise(function(N,_){U[C].destroy(null,function(L){if(L){_(L);return}N(w(void 0,!0))})})}),r),v),R=function(U){var N,_=Object.create(B,(N={},o(N,C,{value:U,writable:!0}),o(N,a,{value:null,writable:!0}),o(N,u,{value:null,writable:!0}),o(N,c,{value:null,writable:!0}),o(N,d,{value:U._readableState.endEmitted,writable:!0}),o(N,y,{value:function(L,H){var F=_[C].read();F?(_[h]=null,_[a]=null,_[u]=null,L(w(F,!1))):(_[a]=L,_[u]=H)},writable:!0}),N));return _[h]=null,n(U,function(L){if(L&&L.code!=="ERR_STREAM_PREMATURE_CLOSE"){var H=_[u];H!==null&&(_[h]=null,_[a]=null,_[u]=null,H(L)),_[c]=L;return}var F=_[a];F!==null&&(_[h]=null,_[a]=null,_[u]=null,F(w(void 0,!0))),_[d]=!0}),U.on("readable",A.bind(null,_)),_};t.exports=R}),ITe=W((e,t)=>{m(),t.exports=function(){throw new Error("Readable.from is not available in the browser")}}),iY=W((e,t)=>{"use strict";m(),t.exports=l;var r;l.ReadableState=G;var o=kT().EventEmitter,s=function(ge,ce){return ge.listeners(ce).length},i=lX(),n=Go().Buffer,a=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function u(ge){return n.from(ge)}function c(ge){return n.isBuffer(ge)||ge instanceof a}var d=$C(),h;d&&d.debuglog?h=d.debuglog("stream"):h=function(){};var y=nTe(),C=XX(),w=YX(),T=w.getHighWaterMark,A=Kx().codes,O=A.ERR_INVALID_ARG_TYPE,v=A.ERR_STREAM_PUSH_AFTER_EOF,B=A.ERR_METHOD_NOT_IMPLEMENTED,R=A.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,U,N,_;un()(l,i);var L=C.errorOrDestroy,H=["error","close","destroy","pause","resume"];function F(ge,ce,ee){if(typeof ge.prependListener=="function")return ge.prependListener(ce,ee);!ge._events||!ge._events[ce]?ge.on(ce,ee):Array.isArray(ge._events[ce])?ge._events[ce].unshift(ee):ge._events[ce]=[ee,ge._events[ce]]}function G(ge,ce,ee){r=r||Hx(),ge=ge||{},typeof ee!="boolean"&&(ee=ce instanceof r),this.objectMode=!!ge.objectMode,ee&&(this.objectMode=this.objectMode||!!ge.readableObjectMode),this.highWaterMark=T(this,ge,"readableHighWaterMark",ee),this.buffer=new y,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=ge.emitClose!==!1,this.autoDestroy=!!ge.autoDestroy,this.destroyed=!1,this.defaultEncoding=ge.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ge.encoding&&(U||(U=qN().StringDecoder),this.decoder=new U(ge.encoding),this.encoding=ge.encoding)}function l(ge){if(r=r||Hx(),!(this instanceof l))return new l(ge);var ce=this instanceof r;this._readableState=new G(ge,this,ce),this.readable=!0,ge&&(typeof ge.read=="function"&&(this._read=ge.read),typeof ge.destroy=="function"&&(this._destroy=ge.destroy)),i.call(this)}Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(ge){this._readableState&&(this._readableState.destroyed=ge)}}),l.prototype.destroy=C.destroy,l.prototype._undestroy=C.undestroy,l.prototype._destroy=function(ge,ce){ce(ge)},l.prototype.push=function(ge,ce){var ee=this._readableState,fe;return ee.objectMode?fe=!0:typeof ge=="string"&&(ce=ce||ee.defaultEncoding,ce!==ee.encoding&&(ge=n.from(ge,ce),ce=""),fe=!0),p(this,ge,ce,!1,fe)},l.prototype.unshift=function(ge){return p(this,ge,null,!0,!1)};function p(ge,ce,ee,fe,ie){h("readableAddChunk",ce);var re=ge._readableState;if(ce===null)re.reading=!1,S(ge,re);else{var Oe;if(ie||(Oe=g(re,ce)),Oe)L(ge,Oe);else if(re.objectMode||ce&&ce.length>0)if(typeof ce!="string"&&!re.objectMode&&Object.getPrototypeOf(ce)!==n.prototype&&(ce=u(ce)),fe)re.endEmitted?L(ge,new R):E(ge,re,ce,!0);else if(re.ended)L(ge,new v);else{if(re.destroyed)return!1;re.reading=!1,re.decoder&&!ee?(ce=re.decoder.write(ce),re.objectMode||ce.length!==0?E(ge,re,ce,!1):V(ge,re)):E(ge,re,ce,!1)}else fe||(re.reading=!1,V(ge,re))}return!re.ended&&(re.length<re.highWaterMark||re.length===0)}function E(ge,ce,ee,fe){ce.flowing&&ce.length===0&&!ce.sync?(ce.awaitDrain=0,ge.emit("data",ee)):(ce.length+=ce.objectMode?1:ee.length,fe?ce.buffer.unshift(ee):ce.buffer.push(ee),ce.needReadable&&f(ge)),V(ge,ce)}function g(ge,ce){var ee;return!c(ce)&&typeof ce!="string"&&ce!==void 0&&!ge.objectMode&&(ee=new O("chunk",["string","Buffer","Uint8Array"],ce)),ee}l.prototype.isPaused=function(){return this._readableState.flowing===!1},l.prototype.setEncoding=function(ge){U||(U=qN().StringDecoder);var ce=new U(ge);this._readableState.decoder=ce,this._readableState.encoding=this._readableState.decoder.encoding;for(var ee=this._readableState.buffer.head,fe="";ee!==null;)fe+=ce.write(ee.data),ee=ee.next;return this._readableState.buffer.clear(),fe!==""&&this._readableState.buffer.push(fe),this._readableState.length=fe.length,this};var b=1073741824;function k(ge){return ge>=b?ge=b:(ge--,ge|=ge>>>1,ge|=ge>>>2,ge|=ge>>>4,ge|=ge>>>8,ge|=ge>>>16,ge++),ge}function x(ge,ce){return ge<=0||ce.length===0&&ce.ended?0:ce.objectMode?1:ge!==ge?ce.flowing&&ce.length?ce.buffer.head.data.length:ce.length:(ge>ce.highWaterMark&&(ce.highWaterMark=k(ge)),ge<=ce.length?ge:ce.ended?ce.length:(ce.needReadable=!0,0))}l.prototype.read=function(ge){h("read",ge),ge=parseInt(ge,10);var ce=this._readableState,ee=ge;if(ge!==0&&(ce.emittedReadable=!1),ge===0&&ce.needReadable&&((ce.highWaterMark!==0?ce.length>=ce.highWaterMark:ce.length>0)||ce.ended))return h("read: emitReadable",ce.length,ce.ended),ce.length===0&&ce.ended?ne(this):f(this),null;if(ge=x(ge,ce),ge===0&&ce.ended)return ce.length===0&&ne(this),null;var fe=ce.needReadable;h("need readable",fe),(ce.length===0||ce.length-ge<ce.highWaterMark)&&(fe=!0,h("length less than watermark",fe)),ce.ended||ce.reading?(fe=!1,h("reading or ended",fe)):fe&&(h("do read"),ce.reading=!0,ce.sync=!0,ce.length===0&&(ce.needReadable=!0),this._read(ce.highWaterMark),ce.sync=!1,ce.reading||(ge=x(ee,ce)));var ie;return ge>0?ie=q(ge,ce):ie=null,ie===null?(ce.needReadable=ce.length<=ce.highWaterMark,ge=0):(ce.length-=ge,ce.awaitDrain=0),ce.length===0&&(ce.ended||(ce.needReadable=!0),ee!==ge&&ce.ended&&ne(this)),ie!==null&&this.emit("data",ie),ie};function S(ge,ce){if(h("onEofChunk"),!ce.ended){if(ce.decoder){var ee=ce.decoder.end();ee&&ee.length&&(ce.buffer.push(ee),ce.length+=ce.objectMode?1:ee.length)}ce.ended=!0,ce.sync?f(ge):(ce.needReadable=!1,ce.emittedReadable||(ce.emittedReadable=!0,M(ge)))}}function f(ge){var ce=ge._readableState;h("emitReadable",ce.needReadable,ce.emittedReadable),ce.needReadable=!1,ce.emittedReadable||(h("emitReadable",ce.flowing),ce.emittedReadable=!0,I.default.nextTick(M,ge))}function M(ge){var ce=ge._readableState;h("emitReadable_",ce.destroyed,ce.length,ce.ended),!ce.destroyed&&(ce.length||ce.ended)&&(ge.emit("readable"),ce.emittedReadable=!1),ce.needReadable=!ce.flowing&&!ce.ended&&ce.length<=ce.highWaterMark,ae(ge)}function V(ge,ce){ce.readingMore||(ce.readingMore=!0,I.default.nextTick(D,ge,ce))}function D(ge,ce){for(;!ce.reading&&!ce.ended&&(ce.length<ce.highWaterMark||ce.flowing&&ce.length===0);){var ee=ce.length;if(h("maybeReadMore read 0"),ge.read(0),ee===ce.length)break}ce.readingMore=!1}l.prototype._read=function(ge){L(this,new B("_read()"))},l.prototype.pipe=function(ge,ce){var ee=this,fe=this._readableState;switch(fe.pipesCount){case 0:fe.pipes=ge;break;case 1:fe.pipes=[fe.pipes,ge];break;default:fe.pipes.push(ge);break}fe.pipesCount+=1,h("pipe count=%d opts=%j",fe.pipesCount,ce);var ie=(!ce||ce.end!==!1)&&ge!==I.default.stdout&&ge!==I.default.stderr,re=ie?Pe:it;fe.endEmitted?I.default.nextTick(re):ee.once("end",re),ge.on("unpipe",Oe);function Oe(Ye,et){h("onunpipe"),Ye===ee&&et&&et.hasUnpiped===!1&&(et.hasUnpiped=!0,Je())}function Pe(){h("onend"),ge.end()}var Ne=j(ee);ge.on("drain",Ne);var Xe=!1;function Je(){h("cleanup"),ge.removeListener("close",wt),ge.removeListener("finish",Ie),ge.removeListener("drain",Ne),ge.removeListener("error",Kt),ge.removeListener("unpipe",Oe),ee.removeListener("end",Pe),ee.removeListener("end",it),ee.removeListener("data",ft),Xe=!0,fe.awaitDrain&&(!ge._writableState||ge._writableState.needDrain)&&Ne()}ee.on("data",ft);function ft(Ye){h("ondata");var et=ge.write(Ye);h("dest.write",et),et===!1&&((fe.pipesCount===1&&fe.pipes===ge||fe.pipesCount>1&&ve(fe.pipes,ge)!==-1)&&!Xe&&(h("false write response, pause",fe.awaitDrain),fe.awaitDrain++),ee.pause())}function Kt(Ye){h("onerror",Ye),it(),ge.removeListener("error",Kt),s(ge,"error")===0&&L(ge,Ye)}F(ge,"error",Kt);function wt(){ge.removeListener("finish",Ie),it()}ge.once("close",wt);function Ie(){h("onfinish"),ge.removeListener("close",wt),it()}ge.once("finish",Ie);function it(){h("unpipe"),ee.unpipe(ge)}return ge.emit("pipe",ee),fe.flowing||(h("pipe resume"),ee.resume()),ge};function j(ge){return function(){var ce=ge._readableState;h("pipeOnDrain",ce.awaitDrain),ce.awaitDrain&&ce.awaitDrain--,ce.awaitDrain===0&&s(ge,"data")&&(ce.flowing=!0,ae(ge))}}l.prototype.unpipe=function(ge){var ce=this._readableState,ee={hasUnpiped:!1};if(ce.pipesCount===0)return this;if(ce.pipesCount===1)return ge&&ge!==ce.pipes?this:(ge||(ge=ce.pipes),ce.pipes=null,ce.pipesCount=0,ce.flowing=!1,ge&&ge.emit("unpipe",this,ee),this);if(!ge){var fe=ce.pipes,ie=ce.pipesCount;ce.pipes=null,ce.pipesCount=0,ce.flowing=!1;for(var re=0;re<ie;re++)fe[re].emit("unpipe",this,{hasUnpiped:!1});return this}var Oe=ve(ce.pipes,ge);return Oe===-1?this:(ce.pipes.splice(Oe,1),ce.pipesCount-=1,ce.pipesCount===1&&(ce.pipes=ce.pipes[0]),ge.emit("unpipe",this,ee),this)},l.prototype.on=function(ge,ce){var ee=i.prototype.on.call(this,ge,ce),fe=this._readableState;return ge==="data"?(fe.readableListening=this.listenerCount("readable")>0,fe.flowing!==!1&&this.resume()):ge==="readable"&&!fe.endEmitted&&!fe.readableListening&&(fe.readableListening=fe.needReadable=!0,fe.flowing=!1,fe.emittedReadable=!1,h("on readable",fe.length,fe.reading),fe.length?f(this):fe.reading||I.default.nextTick(oe,this)),ee},l.prototype.addListener=l.prototype.on,l.prototype.removeListener=function(ge,ce){var ee=i.prototype.removeListener.call(this,ge,ce);return ge==="readable"&&I.default.nextTick(Y,this),ee},l.prototype.removeAllListeners=function(ge){var ce=i.prototype.removeAllListeners.apply(this,arguments);return(ge==="readable"||ge===void 0)&&I.default.nextTick(Y,this),ce};function Y(ge){var ce=ge._readableState;ce.readableListening=ge.listenerCount("readable")>0,ce.resumeScheduled&&!ce.paused?ce.flowing=!0:ge.listenerCount("data")>0&&ge.resume()}function oe(ge){h("readable nexttick read 0"),ge.read(0)}l.prototype.resume=function(){var ge=this._readableState;return ge.flowing||(h("resume"),ge.flowing=!ge.readableListening,de(this,ge)),ge.paused=!1,this};function de(ge,ce){ce.resumeScheduled||(ce.resumeScheduled=!0,I.default.nextTick(ue,ge,ce))}function ue(ge,ce){h("resume",ce.reading),ce.reading||ge.read(0),ce.resumeScheduled=!1,ge.emit("resume"),ae(ge),ce.flowing&&!ce.reading&&ge.read(0)}l.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function ae(ge){var ce=ge._readableState;for(h("flow",ce.flowing);ce.flowing&&ge.read()!==null;);}l.prototype.wrap=function(ge){var ce=this,ee=this._readableState,fe=!1;ge.on("end",function(){if(h("wrapped end"),ee.decoder&&!ee.ended){var Oe=ee.decoder.end();Oe&&Oe.length&&ce.push(Oe)}ce.push(null)}),ge.on("data",function(Oe){if(h("wrapped data"),ee.decoder&&(Oe=ee.decoder.write(Oe)),!(ee.objectMode&&Oe==null)&&!(!ee.objectMode&&(!Oe||!Oe.length))){var Pe=ce.push(Oe);Pe||(fe=!0,ge.pause())}});for(var ie in ge)this[ie]===void 0&&typeof ge[ie]=="function"&&(this[ie]=(function(Oe){return function(){return ge[Oe].apply(ge,arguments)}})(ie));for(var re=0;re<H.length;re++)ge.on(H[re],this.emit.bind(this,H[re]));return this._read=function(Oe){h("wrapped _read",Oe),fe&&(fe=!1,ge.resume())},this},typeof Symbol=="function"&&(l.prototype[Symbol.asyncIterator]=function(){return N===void 0&&(N=STe()),N(this)}),Object.defineProperty(l.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(l.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(l.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(ge){this._readableState&&(this._readableState.flowing=ge)}}),l._fromList=q,Object.defineProperty(l.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function q(ge,ce){if(ce.length===0)return null;var ee;return ce.objectMode?ee=ce.buffer.shift():!ge||ge>=ce.length?(ce.decoder?ee=ce.buffer.join(""):ce.buffer.length===1?ee=ce.buffer.first():ee=ce.buffer.concat(ce.length),ce.buffer.clear()):ee=ce.buffer.consume(ge,ce.decoder),ee}function ne(ge){var ce=ge._readableState;h("endReadable",ce.endEmitted),ce.endEmitted||(ce.ended=!0,I.default.nextTick(me,ce,ge))}function me(ge,ce){if(h("endReadableNT",ge.endEmitted,ge.length),!ge.endEmitted&&ge.length===0&&(ge.endEmitted=!0,ce.readable=!1,ce.emit("end"),ge.autoDestroy)){var ee=ce._writableState;(!ee||ee.autoDestroy&&ee.finished)&&ce.destroy()}}typeof Symbol=="function"&&(l.from=function(ge,ce){return _===void 0&&(_=ITe()),_(l,ge,ce)});function ve(ge,ce){for(var ee=0,fe=ge.length;ee<fe;ee++)if(ge[ee]===ce)return ee;return-1}}),mY=W((e,t)=>{"use strict";m(),t.exports=c;var r=Kx().codes,o=r.ERR_METHOD_NOT_IMPLEMENTED,s=r.ERR_MULTIPLE_CALLBACK,i=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,n=r.ERR_TRANSFORM_WITH_LENGTH_0,a=Hx();un()(c,a);function u(y,C){var w=this._transformState;w.transforming=!1;var T=w.writecb;if(T===null)return this.emit("error",new s);w.writechunk=null,w.writecb=null,C!=null&&this.push(C),T(y);var A=this._readableState;A.reading=!1,(A.needReadable||A.length<A.highWaterMark)&&this._read(A.highWaterMark)}function c(y){if(!(this instanceof c))return new c(y);a.call(this,y),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,y&&(typeof y.transform=="function"&&(this._transform=y.transform),typeof y.flush=="function"&&(this._flush=y.flush)),this.on("prefinish",d)}function d(){var y=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(C,w){h(y,C,w)}):h(this,null,null)}c.prototype.push=function(y,C){return this._transformState.needTransform=!1,a.prototype.push.call(this,y,C)},c.prototype._transform=function(y,C,w){w(new o("_transform()"))},c.prototype._write=function(y,C,w){var T=this._transformState;if(T.writecb=w,T.writechunk=y,T.writeencoding=C,!T.transforming){var A=this._readableState;(T.needTransform||A.needReadable||A.length<A.highWaterMark)&&this._read(A.highWaterMark)}},c.prototype._read=function(y){var C=this._transformState;C.writechunk!==null&&!C.transforming?(C.transforming=!0,this._transform(C.writechunk,C.writeencoding,C.afterTransform)):C.needTransform=!0},c.prototype._destroy=function(y,C){a.prototype._destroy.call(this,y,function(w){C(w)})};function h(y,C,w){if(C)return y.emit("error",C);if(w!=null&&y.push(w),y._writableState.length)throw new n;if(y._transformState.transforming)throw new i;return y.push(null)}}),KTe=W((e,t)=>{"use strict";m(),t.exports=o;var r=mY();un()(o,r);function o(s){if(!(this instanceof o))return new o(s);r.call(this,s)}o.prototype._transform=function(s,i,n){n(null,s)}}),VTe=W((e,t)=>{"use strict";m();var r;function o(w){var T=!1;return function(){T||(T=!0,w.apply(void 0,arguments))}}var s=Kx().codes,i=s.ERR_MISSING_ARGS,n=s.ERR_STREAM_DESTROYED;function a(w){if(w)throw w}function u(w){return w.setHeader&&typeof w.abort=="function"}function c(w,T,A,O){O=o(O);var v=!1;w.on("close",function(){v=!0}),r===void 0&&(r=jN()),r(w,{readable:T,writable:A},function(R){if(R)return O(R);v=!0,O()});var B=!1;return function(R){if(!v&&!B){if(B=!0,u(w))return w.abort();if(typeof w.destroy=="function")return w.destroy();O(R||new n("pipe"))}}}function d(w){w()}function h(w,T){return w.pipe(T)}function y(w){return!w.length||typeof w[w.length-1]!="function"?a:w.pop()}function C(){for(var w=arguments.length,T=new Array(w),A=0;A<w;A++)T[A]=arguments[A];var O=y(T);if(Array.isArray(T[0])&&(T=T[0]),T.length<2)throw new i("streams");var v,B=T.map(function(R,U){var N=U<T.length-1,_=U>0;return c(R,N,_,function(L){v||(v=L),L&&B.forEach(d),!N&&(B.forEach(d),O(v))})});return T.reduce(h)}t.exports=C}),wY=W((e,t)=>{m(),t.exports=s;var r=kT().EventEmitter,o=un();o(s,r),s.Readable=iY(),s.Writable=tY(),s.Duplex=Hx(),s.Transform=mY(),s.PassThrough=KTe(),s.finished=jN(),s.pipeline=VTe(),s.Stream=s;function s(){r.call(this)}s.prototype.pipe=function(i,n){var a=this;function u(T){i.writable&&i.write(T)===!1&&a.pause&&a.pause()}a.on("data",u);function c(){a.readable&&a.resume&&a.resume()}i.on("drain",c),!i._isStdio&&(!n||n.end!==!1)&&(a.on("end",h),a.on("close",y));var d=!1;function h(){d||(d=!0,i.end())}function y(){d||(d=!0,typeof i.destroy=="function"&&i.destroy())}function C(T){if(w(),r.listenerCount(this,"error")===0)throw T}a.on("error",C),i.on("error",C);function w(){a.removeListener("data",u),i.removeListener("drain",c),a.removeListener("end",h),a.removeListener("close",y),a.removeListener("error",C),i.removeListener("error",C),a.removeListener("end",w),a.removeListener("close",w),i.removeListener("close",w)}return a.on("end",w),a.on("close",w),i.on("close",w),i.emit("pipe",a),i}}),xY=W((e,t)=>{"use strict";m();var r=vn().Buffer,o=wY().Transform,s=un();function i(c){o.call(this),this._block=r.allocUnsafe(c),this._blockSize=c,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}s(i,o),i.prototype._transform=function(c,d,h){var y=null;try{this.update(c,d)}catch(C){y=C}h(y)},i.prototype._flush=function(c){var d=null;try{this.push(this.digest())}catch(h){d=h}c(d)};var n=typeof Uint8Array<"u",a=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(r.prototype instanceof Uint8Array||r.TYPED_ARRAY_SUPPORT);function u(c,d){if(c instanceof r)return c;if(typeof c=="string")return r.from(c,d);if(a&&ArrayBuffer.isView(c)){if(c.byteLength===0)return r.alloc(0);var h=r.from(c.buffer,c.byteOffset,c.byteLength);if(h.byteLength===c.byteLength)return h}if(n&&c instanceof Uint8Array||r.isBuffer(c)&&c.constructor&&typeof c.constructor.isBuffer=="function"&&c.constructor.isBuffer(c))return r.from(c);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}i.prototype.update=function(c,d){if(this._finalized)throw new Error("Digest already called");c=u(c,d);for(var h=this._block,y=0;this._blockOffset+c.length-y>=this._blockSize;){for(var C=this._blockOffset;C<this._blockSize;)h[C++]=c[y++];this._update(),this._blockOffset=0}for(;y<c.length;)h[this._blockOffset++]=c[y++];for(var w=0,T=c.length*8;T>0;++w)this._length[w]+=T,T=this._length[w]/4294967296|0,T>0&&(this._length[w]-=4294967296*T);return this},i.prototype._update=function(){throw new Error("_update is not implemented")},i.prototype.digest=function(c){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var d=this._digest();c!==void 0&&(d=d.toString(c)),this._block.fill(0),this._blockOffset=0;for(var h=0;h<4;++h)this._length[h]=0;return d},i.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=i}),tD=W((e,t)=>{"use strict";m();var r=un(),o=xY(),s=vn().Buffer,i=new Array(16);function n(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}r(n,o),n.prototype._update=function(){for(var y=i,C=0;C<16;++C)y[C]=this._block.readInt32LE(C*4);var w=this._a,T=this._b,A=this._c,O=this._d;w=u(w,T,A,O,y[0],3614090360,7),O=u(O,w,T,A,y[1],3905402710,12),A=u(A,O,w,T,y[2],606105819,17),T=u(T,A,O,w,y[3],3250441966,22),w=u(w,T,A,O,y[4],4118548399,7),O=u(O,w,T,A,y[5],1200080426,12),A=u(A,O,w,T,y[6],2821735955,17),T=u(T,A,O,w,y[7],4249261313,22),w=u(w,T,A,O,y[8],1770035416,7),O=u(O,w,T,A,y[9],2336552879,12),A=u(A,O,w,T,y[10],4294925233,17),T=u(T,A,O,w,y[11],2304563134,22),w=u(w,T,A,O,y[12],1804603682,7),O=u(O,w,T,A,y[13],4254626195,12),A=u(A,O,w,T,y[14],2792965006,17),T=u(T,A,O,w,y[15],1236535329,22),w=c(w,T,A,O,y[1],4129170786,5),O=c(O,w,T,A,y[6],3225465664,9),A=c(A,O,w,T,y[11],643717713,14),T=c(T,A,O,w,y[0],3921069994,20),w=c(w,T,A,O,y[5],3593408605,5),O=c(O,w,T,A,y[10],38016083,9),A=c(A,O,w,T,y[15],3634488961,14),T=c(T,A,O,w,y[4],3889429448,20),w=c(w,T,A,O,y[9],568446438,5),O=c(O,w,T,A,y[14],3275163606,9),A=c(A,O,w,T,y[3],4107603335,14),T=c(T,A,O,w,y[8],1163531501,20),w=c(w,T,A,O,y[13],2850285829,5),O=c(O,w,T,A,y[2],4243563512,9),A=c(A,O,w,T,y[7],1735328473,14),T=c(T,A,O,w,y[12],2368359562,20),w=d(w,T,A,O,y[5],4294588738,4),O=d(O,w,T,A,y[8],2272392833,11),A=d(A,O,w,T,y[11],1839030562,16),T=d(T,A,O,w,y[14],4259657740,23),w=d(w,T,A,O,y[1],2763975236,4),O=d(O,w,T,A,y[4],1272893353,11),A=d(A,O,w,T,y[7],4139469664,16),T=d(T,A,O,w,y[10],3200236656,23),w=d(w,T,A,O,y[13],681279174,4),O=d(O,w,T,A,y[0],3936430074,11),A=d(A,O,w,T,y[3],3572445317,16),T=d(T,A,O,w,y[6],76029189,23),w=d(w,T,A,O,y[9],3654602809,4),O=d(O,w,T,A,y[12],3873151461,11),A=d(A,O,w,T,y[15],530742520,16),T=d(T,A,O,w,y[2],3299628645,23),w=h(w,T,A,O,y[0],4096336452,6),O=h(O,w,T,A,y[7],1126891415,10),A=h(A,O,w,T,y[14],2878612391,15),T=h(T,A,O,w,y[5],4237533241,21),w=h(w,T,A,O,y[12],1700485571,6),O=h(O,w,T,A,y[3],2399980690,10),A=h(A,O,w,T,y[10],4293915773,15),T=h(T,A,O,w,y[1],2240044497,21),w=h(w,T,A,O,y[8],1873313359,6),O=h(O,w,T,A,y[15],4264355552,10),A=h(A,O,w,T,y[6],2734768916,15),T=h(T,A,O,w,y[13],1309151649,21),w=h(w,T,A,O,y[4],4149444226,6),O=h(O,w,T,A,y[11],3174756917,10),A=h(A,O,w,T,y[2],718787259,15),T=h(T,A,O,w,y[9],3951481745,21),this._a=this._a+w|0,this._b=this._b+T|0,this._c=this._c+A|0,this._d=this._d+O|0},n.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 y=s.allocUnsafe(16);return y.writeInt32LE(this._a,0),y.writeInt32LE(this._b,4),y.writeInt32LE(this._c,8),y.writeInt32LE(this._d,12),y};function a(y,C){return y<<C|y>>>32-C}function u(y,C,w,T,A,O,v){return a(y+(C&w|~C&T)+A+O|0,v)+C|0}function c(y,C,w,T,A,O,v){return a(y+(C&T|w&~T)+A+O|0,v)+C|0}function d(y,C,w,T,A,O,v){return a(y+(C^w^T)+A+O|0,v)+C|0}function h(y,C,w,T,A,O,v){return a(y+(w^(C|~T))+A+O|0,v)+C|0}t.exports=n}),nD=W((e,t)=>{"use strict";m();var r=Go().Buffer,o=un(),s=xY(),i=new Array(16),n=[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],u=[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],c=[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],d=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function y(){s.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}o(y,s),y.prototype._update=function(){for(var B=i,R=0;R<16;++R)B[R]=this._block.readInt32LE(R*4);for(var U=this._a|0,N=this._b|0,_=this._c|0,L=this._d|0,H=this._e|0,F=this._a|0,G=this._b|0,l=this._c|0,p=this._d|0,E=this._e|0,g=0;g<80;g+=1){var b,k;g<16?(b=w(U,N,_,L,H,B[n[g]],d[0],u[g]),k=v(F,G,l,p,E,B[a[g]],h[0],c[g])):g<32?(b=T(U,N,_,L,H,B[n[g]],d[1],u[g]),k=O(F,G,l,p,E,B[a[g]],h[1],c[g])):g<48?(b=A(U,N,_,L,H,B[n[g]],d[2],u[g]),k=A(F,G,l,p,E,B[a[g]],h[2],c[g])):g<64?(b=O(U,N,_,L,H,B[n[g]],d[3],u[g]),k=T(F,G,l,p,E,B[a[g]],h[3],c[g])):(b=v(U,N,_,L,H,B[n[g]],d[4],u[g]),k=w(F,G,l,p,E,B[a[g]],h[4],c[g])),U=H,H=L,L=C(_,10),_=N,N=b,F=E,E=p,p=C(l,10),l=G,G=k}var x=this._b+_+p|0;this._b=this._c+L+E|0,this._c=this._d+H+F|0,this._d=this._e+U+G|0,this._e=this._a+N+l|0,this._a=x},y.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 B=r.alloc?r.alloc(20):new r(20);return B.writeInt32LE(this._a,0),B.writeInt32LE(this._b,4),B.writeInt32LE(this._c,8),B.writeInt32LE(this._d,12),B.writeInt32LE(this._e,16),B};function C(B,R){return B<<R|B>>>32-R}function w(B,R,U,N,_,L,H,F){return C(B+(R^U^N)+L+H|0,F)+_|0}function T(B,R,U,N,_,L,H,F){return C(B+(R&U|~R&N)+L+H|0,F)+_|0}function A(B,R,U,N,_,L,H,F){return C(B+((R|~U)^N)+L+H|0,F)+_|0}function O(B,R,U,N,_,L,H,F){return C(B+(R&N|U&~N)+L+H|0,F)+_|0}function v(B,R,U,N,_,L,H,F){return C(B+(R^(U|~N))+L+H|0,F)+_|0}t.exports=y}),Jx=W((e,t)=>{m();var r=vn().Buffer;function o(s,i){this._block=r.alloc(s),this._finalSize=i,this._blockSize=s,this._len=0}o.prototype.update=function(s,i){typeof s=="string"&&(i=i||"utf8",s=r.from(s,i));for(var n=this._block,a=this._blockSize,u=s.length,c=this._len,d=0;d<u;){for(var h=c%a,y=Math.min(u-d,a-h),C=0;C<y;C++)n[h+C]=s[d+C];c+=y,d+=y,c%a===0&&this._update(n)}return this._len+=u,this},o.prototype.digest=function(s){var i=this._len%this._blockSize;this._block[i]=128,this._block.fill(0,i+1),i>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=this._len*8;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var a=(n&4294967295)>>>0,u=(n-a)/4294967296;this._block.writeUInt32BE(u,this._blockSize-8),this._block.writeUInt32BE(a,this._blockSize-4)}this._update(this._block);var c=this._hash();return s?c.toString(s):c},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=o}),lSe=W((e,t)=>{m();var r=un(),o=Jx(),s=vn().Buffer,i=[1518500249,1859775393,-1894007588,-899497514],n=new Array(80);function a(){this.init(),this._w=n,o.call(this,64,56)}r(a,o),a.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function u(h){return h<<5|h>>>27}function c(h){return h<<30|h>>>2}function d(h,y,C,w){return h===0?y&C|~y&w:h===2?y&C|y&w|C&w:y^C^w}a.prototype._update=function(h){for(var y=this._w,C=this._a|0,w=this._b|0,T=this._c|0,A=this._d|0,O=this._e|0,v=0;v<16;++v)y[v]=h.readInt32BE(v*4);for(;v<80;++v)y[v]=y[v-3]^y[v-8]^y[v-14]^y[v-16];for(var B=0;B<80;++B){var R=~~(B/20),U=u(C)+d(R,w,T,A)+O+y[B]+i[R]|0;O=A,A=T,T=c(w),w=C,C=U}this._a=C+this._a|0,this._b=w+this._b|0,this._c=T+this._c|0,this._d=A+this._d|0,this._e=O+this._e|0},a.prototype._hash=function(){var h=s.allocUnsafe(20);return h.writeInt32BE(this._a|0,0),h.writeInt32BE(this._b|0,4),h.writeInt32BE(this._c|0,8),h.writeInt32BE(this._d|0,12),h.writeInt32BE(this._e|0,16),h},t.exports=a}),hSe=W((e,t)=>{m();var r=un(),o=Jx(),s=vn().Buffer,i=[1518500249,1859775393,-1894007588,-899497514],n=new Array(80);function a(){this.init(),this._w=n,o.call(this,64,56)}r(a,o),a.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function u(y){return y<<1|y>>>31}function c(y){return y<<5|y>>>27}function d(y){return y<<30|y>>>2}function h(y,C,w,T){return y===0?C&w|~C&T:y===2?C&w|C&T|w&T:C^w^T}a.prototype._update=function(y){for(var C=this._w,w=this._a|0,T=this._b|0,A=this._c|0,O=this._d|0,v=this._e|0,B=0;B<16;++B)C[B]=y.readInt32BE(B*4);for(;B<80;++B)C[B]=u(C[B-3]^C[B-8]^C[B-14]^C[B-16]);for(var R=0;R<80;++R){var U=~~(R/20),N=c(w)+h(U,T,A,O)+v+C[R]+i[U]|0;v=O,O=A,A=d(T),T=w,w=N}this._a=w+this._a|0,this._b=T+this._b|0,this._c=A+this._c|0,this._d=O+this._d|0,this._e=v+this._e|0},a.prototype._hash=function(){var y=s.allocUnsafe(20);return y.writeInt32BE(this._a|0,0),y.writeInt32BE(this._b|0,4),y.writeInt32BE(this._c|0,8),y.writeInt32BE(this._d|0,12),y.writeInt32BE(this._e|0,16),y},t.exports=a}),EY=W((e,t)=>{m();var r=un(),o=Jx(),s=vn().Buffer,i=[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],n=new Array(64);function a(){this.init(),this._w=n,o.call(this,64,56)}r(a,o),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};function u(w,T,A){return A^w&(T^A)}function c(w,T,A){return w&T|A&(w|T)}function d(w){return(w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10)}function h(w){return(w>>>6|w<<26)^(w>>>11|w<<21)^(w>>>25|w<<7)}function y(w){return(w>>>7|w<<25)^(w>>>18|w<<14)^w>>>3}function C(w){return(w>>>17|w<<15)^(w>>>19|w<<13)^w>>>10}a.prototype._update=function(w){for(var T=this._w,A=this._a|0,O=this._b|0,v=this._c|0,B=this._d|0,R=this._e|0,U=this._f|0,N=this._g|0,_=this._h|0,L=0;L<16;++L)T[L]=w.readInt32BE(L*4);for(;L<64;++L)T[L]=C(T[L-2])+T[L-7]+y(T[L-15])+T[L-16]|0;for(var H=0;H<64;++H){var F=_+h(R)+u(R,U,N)+i[H]+T[H]|0,G=d(A)+c(A,O,v)|0;_=N,N=U,U=R,R=B+F|0,B=v,v=O,O=A,A=F+G|0}this._a=A+this._a|0,this._b=O+this._b|0,this._c=v+this._c|0,this._d=B+this._d|0,this._e=R+this._e|0,this._f=U+this._f|0,this._g=N+this._g|0,this._h=_+this._h|0},a.prototype._hash=function(){var w=s.allocUnsafe(32);return w.writeInt32BE(this._a,0),w.writeInt32BE(this._b,4),w.writeInt32BE(this._c,8),w.writeInt32BE(this._d,12),w.writeInt32BE(this._e,16),w.writeInt32BE(this._f,20),w.writeInt32BE(this._g,24),w.writeInt32BE(this._h,28),w},t.exports=a}),mSe=W((e,t)=>{m();var r=un(),o=EY(),s=Jx(),i=vn().Buffer,n=new Array(64);function a(){this.init(),this._w=n,s.call(this,64,56)}r(a,o),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 u=i.allocUnsafe(28);return u.writeInt32BE(this._a,0),u.writeInt32BE(this._b,4),u.writeInt32BE(this._c,8),u.writeInt32BE(this._d,12),u.writeInt32BE(this._e,16),u.writeInt32BE(this._f,20),u.writeInt32BE(this._g,24),u},t.exports=a}),TY=W((e,t)=>{m();var r=un(),o=Jx(),s=vn().Buffer,i=[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],n=new Array(160);function a(){this.init(),this._w=n,o.call(this,128,112)}r(a,o),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};function u(O,v,B){return B^O&(v^B)}function c(O,v,B){return O&v|B&(O|v)}function d(O,v){return(O>>>28|v<<4)^(v>>>2|O<<30)^(v>>>7|O<<25)}function h(O,v){return(O>>>14|v<<18)^(O>>>18|v<<14)^(v>>>9|O<<23)}function y(O,v){return(O>>>1|v<<31)^(O>>>8|v<<24)^O>>>7}function C(O,v){return(O>>>1|v<<31)^(O>>>8|v<<24)^(O>>>7|v<<25)}function w(O,v){return(O>>>19|v<<13)^(v>>>29|O<<3)^O>>>6}function T(O,v){return(O>>>19|v<<13)^(v>>>29|O<<3)^(O>>>6|v<<26)}function A(O,v){return O>>>0<v>>>0?1:0}a.prototype._update=function(O){for(var v=this._w,B=this._ah|0,R=this._bh|0,U=this._ch|0,N=this._dh|0,_=this._eh|0,L=this._fh|0,H=this._gh|0,F=this._hh|0,G=this._al|0,l=this._bl|0,p=this._cl|0,E=this._dl|0,g=this._el|0,b=this._fl|0,k=this._gl|0,x=this._hl|0,S=0;S<32;S+=2)v[S]=O.readInt32BE(S*4),v[S+1]=O.readInt32BE(S*4+4);for(;S<160;S+=2){var f=v[S-30],M=v[S-30+1],V=y(f,M),D=C(M,f);f=v[S-4],M=v[S-4+1];var j=w(f,M),Y=T(M,f),oe=v[S-14],de=v[S-14+1],ue=v[S-32],ae=v[S-32+1],q=D+de|0,ne=V+oe+A(q,D)|0;q=q+Y|0,ne=ne+j+A(q,Y)|0,q=q+ae|0,ne=ne+ue+A(q,ae)|0,v[S]=ne,v[S+1]=q}for(var me=0;me<160;me+=2){ne=v[me],q=v[me+1];var ve=c(B,R,U),ge=c(G,l,p),ce=d(B,G),ee=d(G,B),fe=h(_,g),ie=h(g,_),re=i[me],Oe=i[me+1],Pe=u(_,L,H),Ne=u(g,b,k),Xe=x+ie|0,Je=F+fe+A(Xe,x)|0;Xe=Xe+Ne|0,Je=Je+Pe+A(Xe,Ne)|0,Xe=Xe+Oe|0,Je=Je+re+A(Xe,Oe)|0,Xe=Xe+q|0,Je=Je+ne+A(Xe,q)|0;var ft=ee+ge|0,Kt=ce+ve+A(ft,ee)|0;F=H,x=k,H=L,k=b,L=_,b=g,g=E+Xe|0,_=N+Je+A(g,E)|0,N=U,E=p,U=R,p=l,R=B,l=G,G=Xe+ft|0,B=Je+Kt+A(G,Xe)|0}this._al=this._al+G|0,this._bl=this._bl+l|0,this._cl=this._cl+p|0,this._dl=this._dl+E|0,this._el=this._el+g|0,this._fl=this._fl+b|0,this._gl=this._gl+k|0,this._hl=this._hl+x|0,this._ah=this._ah+B+A(this._al,G)|0,this._bh=this._bh+R+A(this._bl,l)|0,this._ch=this._ch+U+A(this._cl,p)|0,this._dh=this._dh+N+A(this._dl,E)|0,this._eh=this._eh+_+A(this._el,g)|0,this._fh=this._fh+L+A(this._fl,b)|0,this._gh=this._gh+H+A(this._gl,k)|0,this._hh=this._hh+F+A(this._hl,x)|0},a.prototype._hash=function(){var O=s.allocUnsafe(64);function v(B,R,U){O.writeInt32BE(B,U),O.writeInt32BE(R,U+4)}return v(this._ah,this._al,0),v(this._bh,this._bl,8),v(this._ch,this._cl,16),v(this._dh,this._dl,24),v(this._eh,this._el,32),v(this._fh,this._fl,40),v(this._gh,this._gl,48),v(this._hh,this._hl,56),O},t.exports=a}),CSe=W((e,t)=>{m();var r=un(),o=TY(),s=Jx(),i=vn().Buffer,n=new Array(160);function a(){this.init(),this._w=n,s.call(this,128,112)}r(a,o),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 u=i.allocUnsafe(48);function c(d,h,y){u.writeInt32BE(d,y),u.writeInt32BE(h,y+4)}return c(this._ah,this._al,0),c(this._bh,this._bl,8),c(this._ch,this._cl,16),c(this._dh,this._dl,24),c(this._eh,this._el,32),c(this._fh,this._fl,40),u},t.exports=a}),aD=W((r,t)=>{m();var r=t.exports=function(o){o=o.toLowerCase();var s=r[o];if(!s)throw new Error(o+" is not supported (we accept pull requests)");return new s};r.sha=lSe(),r.sha1=hSe(),r.sha224=mSe(),r.sha256=EY(),r.sha384=CSe(),r.sha512=TY()}),Ny=W((e,t)=>{"use strict";m();var r=vn().Buffer,o=wY().Transform,s=qN().StringDecoder,i=un();function n(d){o.call(this),this.hashMode=typeof d=="string",this.hashMode?this[d]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}i(n,o);var a=typeof Uint8Array<"u",u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(r.prototype instanceof Uint8Array||r.TYPED_ARRAY_SUPPORT);function c(d,h){if(d instanceof r)return d;if(typeof d=="string")return r.from(d,h);if(u&&ArrayBuffer.isView(d)){if(d.byteLength===0)return r.alloc(0);var y=r.from(d.buffer,d.byteOffset,d.byteLength);if(y.byteLength===d.byteLength)return y}if(a&&d instanceof Uint8Array||r.isBuffer(d)&&d.constructor&&typeof d.constructor.isBuffer=="function"&&d.constructor.isBuffer(d))return r.from(d);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}n.prototype.update=function(d,h,y){var C=c(d,h),w=this._update(C);return this.hashMode?this:(y&&(w=this._toString(w,y)),w)},n.prototype.setAutoPadding=function(){},n.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},n.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},n.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},n.prototype._transform=function(d,h,y){var C;try{this.hashMode?this._update(d):this.push(this._update(d))}catch(w){C=w}finally{y(C)}},n.prototype._flush=function(d){var h;try{this.push(this.__final())}catch(y){h=y}d(h)},n.prototype._finalOrDigest=function(d){var h=this.__final()||r.alloc(0);return d&&(h=this._toString(h,d,!0)),h},n.prototype._toString=function(d,h,y){if(this._decoder||(this._decoder=new s(h),this._encoding=h),this._encoding!==h)throw new Error("can\u2019t switch encodings");var C=this._decoder.write(d);return y&&(C+=this._decoder.end()),C},t.exports=n}),VT=W((e,t)=>{"use strict";m();var r=un(),o=tD(),s=nD(),i=aD(),n=Ny();function a(u){n.call(this,"digest"),this._hash=u}r(a,n),a.prototype._update=function(u){this._hash.update(u)},a.prototype._final=function(){return this._hash.digest()},t.exports=function(u){return u=u.toLowerCase(),u==="md5"?new o:u==="rmd160"||u==="ripemd160"?new s:new a(i(u))}}),RSe=W((e,t)=>{"use strict";m();var r=un(),o=vn().Buffer,s=Ny(),i=o.alloc(128),n=64;function a(u,c){s.call(this,"digest"),typeof c=="string"&&(c=o.from(c)),this._alg=u,this._key=c,c.length>n?c=u(c):c.length<n&&(c=o.concat([c,i],n));for(var d=this._ipad=o.allocUnsafe(n),h=this._opad=o.allocUnsafe(n),y=0;y<n;y++)d[y]=c[y]^54,h[y]=c[y]^92;this._hash=[d]}r(a,s),a.prototype._update=function(u){this._hash.push(u)},a.prototype._final=function(){var u=this._alg(o.concat(this._hash));return this._alg(o.concat([this._opad,u]))},t.exports=a}),SY=W((e,t)=>{m();var r=tD();t.exports=function(o){return new r().update(o).digest()}}),OY=W((e,t)=>{"use strict";m();var r=un(),o=RSe(),s=Ny(),i=vn().Buffer,n=SY(),a=nD(),u=aD(),c=i.alloc(128);function d(h,y){s.call(this,"digest"),typeof y=="string"&&(y=i.from(y));var C=h==="sha512"||h==="sha384"?128:64;if(this._alg=h,this._key=y,y.length>C){var w=h==="rmd160"?new a:u(h);y=w.update(y).digest()}else y.length<C&&(y=i.concat([y,c],C));for(var T=this._ipad=i.allocUnsafe(C),A=this._opad=i.allocUnsafe(C),O=0;O<C;O++)T[O]=y[O]^54,A[O]=y[O]^92;this._hash=h==="rmd160"?new a:u(h),this._hash.update(T)}r(d,s),d.prototype._update=function(h){this._hash.update(h)},d.prototype._final=function(){var h=this._hash.digest(),y=this._alg==="rmd160"?new a:u(this._alg);return y.update(this._opad).update(h).digest()},t.exports=function(h,y){return h=h.toLowerCase(),h==="rmd160"||h==="ripemd160"?new d("rmd160",y):h==="md5"?new o(n,y):new d(h,y)}}),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"}}}),FSe=W((e,t)=>{"use strict";m(),t.exports=PY()}),BY=W((e,t)=>{m();var r=Math.pow(2,30)-1;t.exports=function(o,s){if(typeof o!="number")throw new TypeError("Iterations not a number");if(o<0)throw new TypeError("Bad iterations");if(typeof s!="number")throw new TypeError("Key length not a number");if(s<0||s>r||s!==s)throw new TypeError("Bad key length")}}),kY=W((e,t)=>{m();var r;global.process&&global.process.browser?r="utf-8":global.process&&global.process.version?(o=parseInt(I.default.version.split(".")[0].slice(1),10),r=o>=6?"utf-8":"binary"):r="utf-8";var o;t.exports=r}),_Y=W((e,t)=>{m();var r=vn().Buffer;t.exports=function(o,s,i){if(r.isBuffer(o))return o;if(typeof o=="string")return r.from(o,s);if(ArrayBuffer.isView(o))return r.from(o.buffer);throw new TypeError(i+" must be a string, a Buffer, a typed array or a DataView")}}),RY=W((e,t)=>{m();var r=SY(),o=nD(),s=aD(),i=vn().Buffer,n=BY(),a=kY(),u=_Y(),c=i.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(w,T,A){var O=y(w),v=w==="sha512"||w==="sha384"?128:64;T.length>v?T=O(T):T.length<v&&(T=i.concat([T,c],v));for(var B=i.allocUnsafe(v+d[w]),R=i.allocUnsafe(v+d[w]),U=0;U<v;U++)B[U]=T[U]^54,R[U]=T[U]^92;var N=i.allocUnsafe(v+A+4);B.copy(N,0,0,v),this.ipad1=N,this.ipad2=B,this.opad=R,this.alg=w,this.blocksize=v,this.hash=O,this.size=d[w]}h.prototype.run=function(w,T){w.copy(T,this.blocksize);var A=this.hash(T);return A.copy(this.opad,this.blocksize),this.hash(this.opad)};function y(w){function T(O){return s(w).update(O).digest()}function A(O){return new o().update(O).digest()}return w==="rmd160"||w==="ripemd160"?A:w==="md5"?r:T}function C(w,T,A,O,v){n(A,O),w=u(w,a,"Password"),T=u(T,a,"Salt"),v=v||"sha1";var B=new h(v,w,T.length),R=i.allocUnsafe(O),U=i.allocUnsafe(T.length+4);T.copy(U,0,0,T.length);for(var N=0,_=d[v],L=Math.ceil(O/_),H=1;H<=L;H++){U.writeUInt32BE(H,T.length);for(var F=B.run(U,B.ipad1),G=F,l=1;l<A;l++){G=B.run(G,B.ipad2);for(var p=0;p<_;p++)F[p]^=G[p]}F.copy(R,N),N+=_}return R}t.exports=C}),e3e=W((e,t)=>{m();var r=vn().Buffer,o=BY(),s=kY(),i=RY(),n=_Y(),a,u=global.crypto&&global.crypto.subtle,c={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(A){if(global.process&&!global.process.browser||!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(d[A]!==void 0)return d[A];a=a||r.alloc(8);var O=w(a,a,10,128,A).then(function(){return!0}).catch(function(){return!1});return d[A]=O,O}var y;function C(){return y||(global.process&&global.process.nextTick?y=global.process.nextTick:global.queueMicrotask?y=global.queueMicrotask:global.setImmediate?y=global.setImmediate:y=global.setTimeout,y)}function w(A,O,v,B,R){return u.importKey("raw",A,{name:"PBKDF2"},!1,["deriveBits"]).then(function(U){return u.deriveBits({name:"PBKDF2",salt:O,iterations:v,hash:{name:R}},U,B<<3)}).then(function(U){return r.from(U)})}function T(A,O){A.then(function(v){C()(function(){O(null,v)})},function(v){C()(function(){O(v)})})}t.exports=function(A,O,v,B,R,U){typeof R=="function"&&(U=R,R=void 0),R=R||"sha1";var N=c[R.toLowerCase()];if(!N||typeof global.Promise!="function"){C()(function(){var _;try{_=i(A,O,v,B,R)}catch(L){return U(L)}U(null,_)});return}if(o(v,B),A=n(A,s,"Password"),O=n(O,s,"Salt"),typeof U!="function")throw new Error("No callback provided to pbkdf2");T(h(N).then(function(_){return _?w(A,O,v,B,N):i(A,O,v,B,R)}),U)}}),LY=W(e=>{m(),e.pbkdf2=e3e(),e.pbkdf2Sync=RY()}),FY=W(e=>{"use strict";m(),e.readUInt32BE=function(s,i){var n=s[0+i]<<24|s[1+i]<<16|s[2+i]<<8|s[3+i];return n>>>0},e.writeUInt32BE=function(s,i,n){s[0+n]=i>>>24,s[1+n]=i>>>16&255,s[2+n]=i>>>8&255,s[3+n]=i&255},e.ip=function(s,i,n,a){for(var u=0,c=0,d=6;d>=0;d-=2){for(var h=0;h<=24;h+=8)u<<=1,u|=i>>>h+d&1;for(var h=0;h<=24;h+=8)u<<=1,u|=s>>>h+d&1}for(var d=6;d>=0;d-=2){for(var h=1;h<=25;h+=8)c<<=1,c|=i>>>h+d&1;for(var h=1;h<=25;h+=8)c<<=1,c|=s>>>h+d&1}n[a+0]=u>>>0,n[a+1]=c>>>0},e.rip=function(s,i,n,a){for(var u=0,c=0,d=0;d<4;d++)for(var h=24;h>=0;h-=8)u<<=1,u|=i>>>h+d&1,u<<=1,u|=s>>>h+d&1;for(var d=4;d<8;d++)for(var h=24;h>=0;h-=8)c<<=1,c|=i>>>h+d&1,c<<=1,c|=s>>>h+d&1;n[a+0]=u>>>0,n[a+1]=c>>>0},e.pc1=function(s,i,n,a){for(var u=0,c=0,d=7;d>=5;d--){for(var h=0;h<=24;h+=8)u<<=1,u|=i>>h+d&1;for(var h=0;h<=24;h+=8)u<<=1,u|=s>>h+d&1}for(var h=0;h<=24;h+=8)u<<=1,u|=i>>h+d&1;for(var d=1;d<=3;d++){for(var h=0;h<=24;h+=8)c<<=1,c|=i>>h+d&1;for(var h=0;h<=24;h+=8)c<<=1,c|=s>>h+d&1}for(var h=0;h<=24;h+=8)c<<=1,c|=s>>h+d&1;n[a+0]=u>>>0,n[a+1]=c>>>0},e.r28shl=function(s,i){return s<<i&268435455|s>>>28-i};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(s,i,n,a){for(var u=0,c=0,d=t.length>>>1,h=0;h<d;h++)u<<=1,u|=s>>>t[h]&1;for(var h=d;h<t.length;h++)c<<=1,c|=i>>>t[h]&1;n[a+0]=u>>>0,n[a+1]=c>>>0},e.expand=function(s,i,n){var a=0,u=0;a=(s&1)<<5|s>>>27;for(var c=23;c>=15;c-=4)a<<=6,a|=s>>>c&63;for(var c=11;c>=3;c-=4)u|=s>>>c&63,u<<=6;u|=(s&31)<<1|s>>>31,i[n+0]=a>>>0,i[n+1]=u>>>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(s,i){for(var n=0,a=0;a<4;a++){var u=s>>>18-a*6&63,c=r[a*64+u];n<<=4,n|=c}for(var a=0;a<4;a++){var u=i>>>18-a*6&63,c=r[256+a*64+u];n<<=4,n|=c}return n>>>0};var o=[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(s){for(var i=0,n=0;n<o.length;n++)i<<=1,i|=s>>>o[n]&1;return i>>>0},e.padSplit=function(s,i,n){for(var a=s.toString(2);a.length<i;)a="0"+a;for(var u=[],c=0;c<i;c+=n)u.push(a.slice(c,c+n));return u.join(" ")}}),Gf=W((e,t)=>{m(),t.exports=r;function r(o,s){if(!o)throw new Error(s||"Assertion failed")}r.equal=function(o,s,i){if(o!=s)throw new Error(i||"Assertion failed: "+o+" != "+s)}}),pD=W((e,t)=>{"use strict";m();var r=Gf();function o(s){this.options=s,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=s.padding!==!1}t.exports=o,o.prototype._init=function(){},o.prototype.update=function(s){return s.length===0?[]:this.type==="decrypt"?this._updateDecrypt(s):this._updateEncrypt(s)},o.prototype._buffer=function(s,i){for(var n=Math.min(this.buffer.length-this.bufferOff,s.length-i),a=0;a<n;a++)this.buffer[this.bufferOff+a]=s[i+a];return this.bufferOff+=n,n},o.prototype._flushBuffer=function(s,i){return this._update(this.buffer,0,s,i),this.bufferOff=0,this.blockSize},o.prototype._updateEncrypt=function(s){var i=0,n=0,a=(this.bufferOff+s.length)/this.blockSize|0,u=new Array(a*this.blockSize);this.bufferOff!==0&&(i+=this._buffer(s,i),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(u,n)));for(var c=s.length-(s.length-i)%this.blockSize;i<c;i+=this.blockSize)this._update(s,i,u,n),n+=this.blockSize;for(;i<s.length;i++,this.bufferOff++)this.buffer[this.bufferOff]=s[i];return u},o.prototype._updateDecrypt=function(s){for(var i=0,n=0,a=Math.ceil((this.bufferOff+s.length)/this.blockSize)-1,u=new Array(a*this.blockSize);a>0;a--)i+=this._buffer(s,i),n+=this._flushBuffer(u,n);return i+=this._buffer(s,i),u},o.prototype.final=function(s){var i;s&&(i=this.update(s));var n;return this.type==="encrypt"?n=this._finalEncrypt():n=this._finalDecrypt(),i?i.concat(n):n},o.prototype._pad=function(s,i){if(i===0)return!1;for(;i<s.length;)s[i++]=0;return!0},o.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var s=new Array(this.blockSize);return this._update(this.buffer,0,s,0),s},o.prototype._unpad=function(s){return s},o.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var s=new Array(this.blockSize);return this._flushBuffer(s,0),this._unpad(s)}}),WY=W((e,t)=>{"use strict";m();var r=Gf(),o=un(),s=FY(),i=pD();function n(){this.tmp=new Array(2),this.keys=null}function a(c){i.call(this,c);var d=new n;this._desState=d,this.deriveKeys(d,c.key)}o(a,i),t.exports=a,a.create=function(c){return new a(c)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];a.prototype.deriveKeys=function(c,d){c.keys=new Array(32),r.equal(d.length,this.blockSize,"Invalid key length");var h=s.readUInt32BE(d,0),y=s.readUInt32BE(d,4);s.pc1(h,y,c.tmp,0),h=c.tmp[0],y=c.tmp[1];for(var C=0;C<c.keys.length;C+=2){var w=u[C>>>1];h=s.r28shl(h,w),y=s.r28shl(y,w),s.pc2(h,y,c.keys,C)}},a.prototype._update=function(c,d,h,y){var C=this._desState,w=s.readUInt32BE(c,d),T=s.readUInt32BE(c,d+4);s.ip(w,T,C.tmp,0),w=C.tmp[0],T=C.tmp[1],this.type==="encrypt"?this._encrypt(C,w,T,C.tmp,0):this._decrypt(C,w,T,C.tmp,0),w=C.tmp[0],T=C.tmp[1],s.writeUInt32BE(h,w,y),s.writeUInt32BE(h,T,y+4)},a.prototype._pad=function(c,d){if(this.padding===!1)return!1;for(var h=c.length-d,y=d;y<c.length;y++)c[y]=h;return!0},a.prototype._unpad=function(c){if(this.padding===!1)return c;for(var d=c[c.length-1],h=c.length-d;h<c.length;h++)r.equal(c[h],d);return c.slice(0,c.length-d)},a.prototype._encrypt=function(c,d,h,y,C){for(var w=d,T=h,A=0;A<c.keys.length;A+=2){var O=c.keys[A],v=c.keys[A+1];s.expand(T,c.tmp,0),O^=c.tmp[0],v^=c.tmp[1];var B=s.substitute(O,v),R=s.permute(B),U=T;T=(w^R)>>>0,w=U}s.rip(T,w,y,C)},a.prototype._decrypt=function(c,d,h,y,C){for(var w=h,T=d,A=c.keys.length-2;A>=0;A-=2){var O=c.keys[A],v=c.keys[A+1];s.expand(w,c.tmp,0),O^=c.tmp[0],v^=c.tmp[1];var B=s.substitute(O,v),R=s.permute(B),U=w;w=(T^R)>>>0,T=U}s.rip(w,T,y,C)}}),l3e=W(e=>{"use strict";m();var t=Gf(),r=un(),o={};function s(n){t.equal(n.length,8,"Invalid IV length"),this.iv=new Array(8);for(var a=0;a<this.iv.length;a++)this.iv[a]=n[a]}function i(n){function a(h){n.call(this,h),this._cbcInit()}r(a,n);for(var u=Object.keys(o),c=0;c<u.length;c++){var d=u[c];a.prototype[d]=o[d]}return a.create=function(h){return new a(h)},a}e.instantiate=i,o._cbcInit=function(){var n=new s(this.options.iv);this._cbcState=n},o._update=function(n,a,u,c){var d=this._cbcState,h=this.constructor.super_.prototype,y=d.iv;if(this.type==="encrypt"){for(var C=0;C<this.blockSize;C++)y[C]^=n[a+C];h._update.call(this,y,0,u,c);for(var C=0;C<this.blockSize;C++)y[C]=u[c+C]}else{h._update.call(this,n,a,u,c);for(var C=0;C<this.blockSize;C++)u[c+C]^=y[C];for(var C=0;C<this.blockSize;C++)y[C]=n[a+C]}}}),h3e=W((e,t)=>{"use strict";m();var r=Gf(),o=un(),s=pD(),i=WY();function n(u,c){r.equal(c.length,24,"Invalid key length");var d=c.slice(0,8),h=c.slice(8,16),y=c.slice(16,24);u==="encrypt"?this.ciphers=[i.create({type:"encrypt",key:d}),i.create({type:"decrypt",key:h}),i.create({type:"encrypt",key:y})]:this.ciphers=[i.create({type:"decrypt",key:y}),i.create({type:"encrypt",key:h}),i.create({type:"decrypt",key:d})]}function a(u){s.call(this,u);var c=new n(this.type,this.options.key);this._edeState=c}o(a,s),t.exports=a,a.create=function(u){return new a(u)},a.prototype._update=function(u,c,d,h){var y=this._edeState;y.ciphers[0]._update(u,c,d,h),y.ciphers[1]._update(d,h,d,h),y.ciphers[2]._update(d,h,d,h)},a.prototype._pad=i.prototype._pad,a.prototype._unpad=i.prototype._unpad}),p3e=W(e=>{"use strict";m(),e.utils=FY(),e.Cipher=pD(),e.DES=WY(),e.CBC=l3e(),e.EDE=h3e()}),m3e=W((e,t)=>{m();var r=Ny(),o=p3e(),s=un(),i=vn().Buffer,n={"des-ede3-cbc":o.CBC.instantiate(o.EDE),"des-ede3":o.EDE,"des-ede-cbc":o.CBC.instantiate(o.EDE),"des-ede":o.EDE,"des-cbc":o.CBC.instantiate(o.DES),"des-ecb":o.DES};n.des=n["des-cbc"],n.des3=n["des-ede3-cbc"],t.exports=a,s(a,r);function a(u){r.call(this);var c=u.mode.toLowerCase(),d=n[c],h;u.decrypt?h="decrypt":h="encrypt";var y=u.key;i.isBuffer(y)||(y=i.from(y)),(c==="des-ede"||c==="des-ede-cbc")&&(y=i.concat([y,y.slice(0,8)]));var C=u.iv;i.isBuffer(C)||(C=i.from(C)),this._des=d.create({key:y,iv:C,type:h})}a.prototype._update=function(u){return i.from(this._des.update(u))},a.prototype._final=function(){return i.from(this._des.final())}}),b3e=W(e=>{m(),e.encrypt=function(t,r){return t._cipher.encryptBlock(r)},e.decrypt=function(t,r){return t._cipher.decryptBlock(r)}}),YT=W((e,t)=>{m(),t.exports=function(r,o){for(var s=Math.min(r.length,o.length),i=new P.Buffer(s),n=0;n<s;++n)i[n]=r[n]^o[n];return i}}),x3e=W(e=>{m();var t=YT();e.encrypt=function(r,o){var s=t(o,r._prev);return r._prev=r._cipher.encryptBlock(s),r._prev},e.decrypt=function(r,o){var s=r._prev;r._prev=o;var i=r._cipher.decryptBlock(o);return t(i,s)}}),T3e=W(e=>{m();var t=vn().Buffer,r=YT();function o(s,i,n){var a=i.length,u=r(i,s._cache);return s._cache=s._cache.slice(a),s._prev=t.concat([s._prev,n?i:u]),u}e.encrypt=function(s,i,n){for(var a=t.allocUnsafe(0),u;i.length;)if(s._cache.length===0&&(s._cache=s._cipher.encryptBlock(s._prev),s._prev=t.allocUnsafe(0)),s._cache.length<=i.length)u=s._cache.length,a=t.concat([a,o(s,i.slice(0,u),n)]),i=i.slice(u);else{a=t.concat([a,o(s,i,n)]);break}return a}}),C3e=W(e=>{m();var t=vn().Buffer;function r(o,s,i){var n=o._cipher.encryptBlock(o._prev),a=n[0]^s;return o._prev=t.concat([o._prev.slice(1),t.from([i?s:a])]),a}e.encrypt=function(o,s,i){for(var n=s.length,a=t.allocUnsafe(n),u=-1;++u<n;)a[u]=r(o,s[u],i);return a}}),O3e=W(e=>{m();var t=vn().Buffer;function r(s,i,n){for(var a,u=-1,c=8,d=0,h,y;++u<c;)a=s._cipher.encryptBlock(s._prev),h=i&1<<7-u?128:0,y=a[0]^h,d+=(y&128)>>u%8,s._prev=o(s._prev,n?h:y);return d}function o(s,i){var n=s.length,a=-1,u=t.allocUnsafe(s.length);for(s=t.concat([s,t.from([i])]);++a<n;)u[a]=s[a]<<1|s[a+1]>>7;return u}e.encrypt=function(s,i,n){for(var a=i.length,u=t.allocUnsafe(a),c=-1;++c<a;)u[c]=r(s,i[c],n);return u}}),B3e=W(e=>{m();var t=YT();function r(o){return o._prev=o._cipher.encryptBlock(o._prev),o._prev}e.encrypt=function(o,s){for(;o._cache.length<s.length;)o._cache=P.Buffer.concat([o._cache,r(o)]);var i=o._cache.slice(0,s.length);return o._cache=o._cache.slice(s.length),t(s,i)}}),qY=W((e,t)=>{m();function r(o){for(var s=o.length,i;s--;)if(i=o.readUInt8(s),i===255)o.writeUInt8(0,s);else{i++,o.writeUInt8(i,s);break}}t.exports=r}),GY=W(e=>{m();var t=YT(),r=vn().Buffer,o=qY();function s(n){var a=n._cipher.encryptBlockRaw(n._prev);return o(n._prev),a}var i=16;e.encrypt=function(n,a){var u=Math.ceil(a.length/i),c=n._cache.length;n._cache=r.concat([n._cache,r.allocUnsafe(u*i)]);for(var d=0;d<u;d++){var h=s(n),y=c+d*i;n._cache.writeUInt32BE(h[0],y+0),n._cache.writeUInt32BE(h[1],y+4),n._cache.writeUInt32BE(h[2],y+8),n._cache.writeUInt32BE(h[3],y+12)}var C=n._cache.slice(0,a.length);return n._cache=n._cache.slice(a.length),t(a,C)}}),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={ECB:b3e(),CBC:x3e(),CFB:T3e(),CFB8:C3e(),CFB1:O3e(),OFB:B3e(),CTR:GY(),GCM:GY()},o=VY();for(s in o)o[s].module=r[o[s].mode];var s;t.exports=o}),AI=W((e,t)=>{m();var r=vn().Buffer;function o(c){r.isBuffer(c)||(c=r.from(c));for(var d=c.length/4|0,h=new Array(d),y=0;y<d;y++)h[y]=c.readUInt32BE(y*4);return h}function s(c){for(var d=0;d<c.length;c++)c[d]=0}function i(c,d,h,y,C){for(var w=h[0],T=h[1],A=h[2],O=h[3],v=c[0]^d[0],B=c[1]^d[1],R=c[2]^d[2],U=c[3]^d[3],N,_,L,H,F=4,G=1;G<C;G++)N=w[v>>>24]^T[B>>>16&255]^A[R>>>8&255]^O[U&255]^d[F++],_=w[B>>>24]^T[R>>>16&255]^A[U>>>8&255]^O[v&255]^d[F++],L=w[R>>>24]^T[U>>>16&255]^A[v>>>8&255]^O[B&255]^d[F++],H=w[U>>>24]^T[v>>>16&255]^A[B>>>8&255]^O[R&255]^d[F++],v=N,B=_,R=L,U=H;return N=(y[v>>>24]<<24|y[B>>>16&255]<<16|y[R>>>8&255]<<8|y[U&255])^d[F++],_=(y[B>>>24]<<24|y[R>>>16&255]<<16|y[U>>>8&255]<<8|y[v&255])^d[F++],L=(y[R>>>24]<<24|y[U>>>16&255]<<16|y[v>>>8&255]<<8|y[B&255])^d[F++],H=(y[U>>>24]<<24|y[v>>>16&255]<<16|y[B>>>8&255]<<8|y[R&255])^d[F++],N=N>>>0,_=_>>>0,L=L>>>0,H=H>>>0,[N,_,L,H]}var n=[0,1,2,4,8,16,32,64,128,27,54],a=(function(){for(var c=new Array(256),d=0;d<256;d++)d<128?c[d]=d<<1:c[d]=d<<1^283;for(var h=[],y=[],C=[[],[],[],[]],w=[[],[],[],[]],T=0,A=0,O=0;O<256;++O){var v=A^A<<1^A<<2^A<<3^A<<4;v=v>>>8^v&255^99,h[T]=v,y[v]=T;var B=c[T],R=c[B],U=c[R],N=c[v]*257^v*16843008;C[0][T]=N<<24|N>>>8,C[1][T]=N<<16|N>>>16,C[2][T]=N<<8|N>>>24,C[3][T]=N,N=U*16843009^R*65537^B*257^T*16843008,w[0][v]=N<<24|N>>>8,w[1][v]=N<<16|N>>>16,w[2][v]=N<<8|N>>>24,w[3][v]=N,T===0?T=A=1:(T=B^c[c[c[U^B]]],A^=c[c[A]])}return{SBOX:h,INV_SBOX:y,SUB_MIX:C,INV_SUB_MIX:w}})();function u(c){this._key=o(c),this._reset()}u.blockSize=16,u.keySize=256/8,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var c=this._key,d=c.length,h=d+6,y=(h+1)*4,C=[],w=0;w<d;w++)C[w]=c[w];for(w=d;w<y;w++){var T=C[w-1];w%d===0?(T=T<<8|T>>>24,T=a.SBOX[T>>>24]<<24|a.SBOX[T>>>16&255]<<16|a.SBOX[T>>>8&255]<<8|a.SBOX[T&255],T^=n[w/d|0]<<24):d>6&&w%d===4&&(T=a.SBOX[T>>>24]<<24|a.SBOX[T>>>16&255]<<16|a.SBOX[T>>>8&255]<<8|a.SBOX[T&255]),C[w]=C[w-d]^T}for(var A=[],O=0;O<y;O++){var v=y-O,B=C[v-(O%4?0:4)];O<4||v<=4?A[O]=B:A[O]=a.INV_SUB_MIX[0][a.SBOX[B>>>24]]^a.INV_SUB_MIX[1][a.SBOX[B>>>16&255]]^a.INV_SUB_MIX[2][a.SBOX[B>>>8&255]]^a.INV_SUB_MIX[3][a.SBOX[B&255]]}this._nRounds=h,this._keySchedule=C,this._invKeySchedule=A},u.prototype.encryptBlockRaw=function(c){return c=o(c),i(c,this._keySchedule,a.SUB_MIX,a.SBOX,this._nRounds)},u.prototype.encryptBlock=function(c){var d=this.encryptBlockRaw(c),h=r.allocUnsafe(16);return h.writeUInt32BE(d[0],0),h.writeUInt32BE(d[1],4),h.writeUInt32BE(d[2],8),h.writeUInt32BE(d[3],12),h},u.prototype.decryptBlock=function(c){c=o(c);var d=c[1];c[1]=c[3],c[3]=d;var h=i(c,this._invKeySchedule,a.INV_SUB_MIX,a.INV_SBOX,this._nRounds),y=r.allocUnsafe(16);return y.writeUInt32BE(h[0],0),y.writeUInt32BE(h[3],4),y.writeUInt32BE(h[2],8),y.writeUInt32BE(h[1],12),y},u.prototype.scrub=function(){s(this._keySchedule),s(this._invKeySchedule),s(this._key)},t.exports.AES=u}),F3e=W((e,t)=>{m();var r=vn().Buffer,o=r.alloc(16,0);function s(a){return[a.readUInt32BE(0),a.readUInt32BE(4),a.readUInt32BE(8),a.readUInt32BE(12)]}function i(a){var u=r.allocUnsafe(16);return u.writeUInt32BE(a[0]>>>0,0),u.writeUInt32BE(a[1]>>>0,4),u.writeUInt32BE(a[2]>>>0,8),u.writeUInt32BE(a[3]>>>0,12),u}function n(a){this.h=a,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}n.prototype.ghash=function(a){for(var u=-1;++u<a.length;)this.state[u]^=a[u];this._multiply()},n.prototype._multiply=function(){for(var a=s(this.h),u=[0,0,0,0],c,d,h,y=-1;++y<128;){for(d=(this.state[~~(y/8)]&1<<7-y%8)!==0,d&&(u[0]^=a[0],u[1]^=a[1],u[2]^=a[2],u[3]^=a[3]),h=(a[3]&1)!==0,c=3;c>0;c--)a[c]=a[c]>>>1|(a[c-1]&1)<<31;a[0]=a[0]>>>1,h&&(a[0]=a[0]^225<<24)}this.state=i(u)},n.prototype.update=function(a){this.cache=r.concat([this.cache,a]);for(var u;this.cache.length>=16;)u=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(u)},n.prototype.final=function(a,u){return this.cache.length&&this.ghash(r.concat([this.cache,o],16)),this.ghash(i([0,a,0,u])),this.state},t.exports=n}),QY=W((e,t)=>{m();var r=AI(),o=vn().Buffer,s=Ny(),i=un(),n=F3e(),a=YT(),u=qY();function c(y,C){var w=0;y.length!==C.length&&w++;for(var T=Math.min(y.length,C.length),A=0;A<T;++A)w+=y[A]^C[A];return w}function d(y,C,w){if(C.length===12)return y._finID=o.concat([C,o.from([0,0,0,1])]),o.concat([C,o.from([0,0,0,2])]);var T=new n(w),A=C.length,O=A%16;T.update(C),O&&(O=16-O,T.update(o.alloc(O,0))),T.update(o.alloc(8,0));var v=A*8,B=o.alloc(8);B.writeUIntBE(v,0,8),T.update(B),y._finID=T.state;var R=o.from(y._finID);return u(R),R}function h(y,C,w,T){s.call(this);var A=o.alloc(4,0);this._cipher=new r.AES(C);var O=this._cipher.encryptBlock(A);this._ghash=new n(O),w=d(this,w,O),this._prev=o.from(w),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=T,this._alen=0,this._len=0,this._mode=y,this._authTag=null,this._called=!1}i(h,s),h.prototype._update=function(y){if(!this._called&&this._alen){var C=16-this._alen%16;C<16&&(C=o.alloc(C,0),this._ghash.update(C))}this._called=!0;var w=this._mode.encrypt(this,y);return this._decrypt?this._ghash.update(y):this._ghash.update(w),this._len+=y.length,w},h.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var y=a(this._ghash.final(this._alen*8,this._len*8),this._cipher.encryptBlock(this._finID));if(this._decrypt&&c(y,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=y,this._cipher.scrub()},h.prototype.getAuthTag=function(){if(this._decrypt||!o.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},h.prototype.setAuthTag=function(y){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=y},h.prototype.setAAD=function(y){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(y),this._alen+=y.length},t.exports=h}),$Y=W((e,t)=>{m();var r=AI(),o=vn().Buffer,s=Ny(),i=un();function n(a,u,c,d){s.call(this),this._cipher=new r.AES(u),this._prev=o.from(c),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=d,this._mode=a}i(n,s),n.prototype._update=function(a){return this._mode.encrypt(this,a,this._decrypt)},n.prototype._final=function(){this._cipher.scrub()},t.exports=n}),TI=W((e,t)=>{m();var r=vn().Buffer,o=tD();function s(i,n,a,u){if(r.isBuffer(i)||(i=r.from(i,"binary")),n&&(r.isBuffer(n)||(n=r.from(n,"binary")),n.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var c=a/8,d=r.alloc(c),h=r.alloc(u||0),y=r.alloc(0);c>0||u>0;){var C=new o;C.update(y),C.update(i),n&&C.update(n),y=C.digest();var w=0;if(c>0){var T=d.length-c;w=Math.min(c,y.length),y.copy(d,T,0,w),c-=w}if(w<y.length&&u>0){var A=h.length-u,O=Math.min(u,y.length-w);y.copy(h,A,w,w+O),u-=O}}return y.fill(0),{key:d,iv:h}}t.exports=s}),X3e=W(e=>{m();var t=vD(),r=QY(),o=vn().Buffer,s=$Y(),i=Ny(),n=AI(),a=TI(),u=un();function c(w,T,A){i.call(this),this._cache=new h,this._cipher=new n.AES(T),this._prev=o.from(A),this._mode=w,this._autopadding=!0}u(c,i),c.prototype._update=function(w){this._cache.add(w);for(var T,A,O=[];T=this._cache.get();)A=this._mode.encrypt(this,T),O.push(A);return o.concat(O)};var d=o.alloc(16,16);c.prototype._final=function(){var w=this._cache.flush();if(this._autopadding)return w=this._mode.encrypt(this,w),this._cipher.scrub(),w;if(!w.equals(d))throw this._cipher.scrub(),new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(w){return this._autopadding=!!w,this};function h(){this.cache=o.allocUnsafe(0)}h.prototype.add=function(w){this.cache=o.concat([this.cache,w])},h.prototype.get=function(){if(this.cache.length>15){var w=this.cache.slice(0,16);return this.cache=this.cache.slice(16),w}return null},h.prototype.flush=function(){for(var w=16-this.cache.length,T=o.allocUnsafe(w),A=-1;++A<w;)T.writeUInt8(w,A);return o.concat([this.cache,T])};function y(w,T,A){var O=t[w.toLowerCase()];if(!O)throw new TypeError("invalid suite type");if(typeof T=="string"&&(T=o.from(T)),T.length!==O.key/8)throw new TypeError("invalid key length "+T.length);if(typeof A=="string"&&(A=o.from(A)),O.mode!=="GCM"&&A.length!==O.iv)throw new TypeError("invalid iv length "+A.length);return O.type==="stream"?new s(O.module,T,A):O.type==="auth"?new r(O.module,T,A):new c(O.module,T,A)}function C(w,T){var A=t[w.toLowerCase()];if(!A)throw new TypeError("invalid suite type");var O=a(T,!1,A.key,A.iv);return y(w,O.key,O.iv)}e.createCipheriv=y,e.createCipher=C}),$3e=W(e=>{m();var t=QY(),r=vn().Buffer,o=vD(),s=$Y(),i=Ny(),n=AI(),a=TI(),u=un();function c(w,T,A){i.call(this),this._cache=new d,this._last=void 0,this._cipher=new n.AES(T),this._prev=r.from(A),this._mode=w,this._autopadding=!0}u(c,i),c.prototype._update=function(w){this._cache.add(w);for(var T,A,O=[];T=this._cache.get(this._autopadding);)A=this._mode.decrypt(this,T),O.push(A);return r.concat(O)},c.prototype._final=function(){var w=this._cache.flush();if(this._autopadding)return h(this._mode.decrypt(this,w));if(w)throw new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(w){return this._autopadding=!!w,this};function d(){this.cache=r.allocUnsafe(0)}d.prototype.add=function(w){this.cache=r.concat([this.cache,w])},d.prototype.get=function(w){var T;if(w){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},d.prototype.flush=function(){if(this.cache.length)return this.cache};function h(w){var T=w[15];if(T<1||T>16)throw new Error("unable to decrypt data");for(var A=-1;++A<T;)if(w[A+(16-T)]!==T)throw new Error("unable to decrypt data");if(T!==16)return w.slice(0,16-T)}function y(w,T,A){var O=o[w.toLowerCase()];if(!O)throw new TypeError("invalid suite type");if(typeof A=="string"&&(A=r.from(A)),O.mode!=="GCM"&&A.length!==O.iv)throw new TypeError("invalid iv length "+A.length);if(typeof T=="string"&&(T=r.from(T)),T.length!==O.key/8)throw new TypeError("invalid key length "+T.length);return O.type==="stream"?new s(O.module,T,A,!0):O.type==="auth"?new t(O.module,T,A,!0):new c(O.module,T,A)}function C(w,T){var A=o[w.toLowerCase()];if(!A)throw new TypeError("invalid suite type");var O=a(T,!1,A.key,A.iv);return y(w,O.key,O.iv)}e.createDecipher=C,e.createDecipheriv=y}),TD=W(e=>{m();var t=X3e(),r=$3e(),o=VY();function s(){return Object.keys(o)}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=s}),r6e=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}}),a6e=W(e=>{m();var t=m3e(),r=TD(),o=vD(),s=r6e(),i=TI();function n(h,y){h=h.toLowerCase();var C,w;if(o[h])C=o[h].key,w=o[h].iv;else if(s[h])C=s[h].key*8,w=s[h].iv;else throw new TypeError("invalid suite type");var T=i(y,!1,C,w);return u(h,T.key,T.iv)}function a(h,y){h=h.toLowerCase();var C,w;if(o[h])C=o[h].key,w=o[h].iv;else if(s[h])C=s[h].key*8,w=s[h].iv;else throw new TypeError("invalid suite type");var T=i(y,!1,C,w);return c(h,T.key,T.iv)}function u(h,y,C){if(h=h.toLowerCase(),o[h])return r.createCipheriv(h,y,C);if(s[h])return new t({key:y,iv:C,mode:h});throw new TypeError("invalid suite type")}function c(h,y,C){if(h=h.toLowerCase(),o[h])return r.createDecipheriv(h,y,C);if(s[h])return new t({key:y,iv:C,mode:h,decrypt:!0});throw new TypeError("invalid suite type")}function d(){return Object.keys(s).concat(r.getCiphers())}e.createCipher=e.Cipher=n,e.createCipheriv=e.Cipheriv=u,e.createDecipher=e.Decipher=a,e.createDecipheriv=e.Decipheriv=c,e.listCiphers=e.getCiphers=d}),iQ=W((e,t)=>{m(),(function(r,o){"use strict";function s(l,p){if(!l)throw new Error(p||"Assertion failed")}function i(l,p){l.super_=p;var E=function(){};E.prototype=p.prototype,l.prototype=new E,l.prototype.constructor=l}function n(l,p,E){if(n.isBN(l))return l;this.negative=0,this.words=null,this.length=0,this.red=null,l!==null&&((p==="le"||p==="be")&&(E=p,p=10),this._init(l||0,p||10,E||"be"))}typeof r=="object"?r.exports=n:o.BN=n,n.BN=n,n.wordSize=26;var a;try{typeof window<"u"&&typeof window.Buffer<"u"?a=window.Buffer:a=Go().Buffer}catch{}n.isBN=function(l){return l instanceof n?!0:l!==null&&typeof l=="object"&&l.constructor.wordSize===n.wordSize&&Array.isArray(l.words)},n.max=function(l,p){return l.cmp(p)>0?l:p},n.min=function(l,p){return l.cmp(p)<0?l:p},n.prototype._init=function(l,p,E){if(typeof l=="number")return this._initNumber(l,p,E);if(typeof l=="object")return this._initArray(l,p,E);p==="hex"&&(p=16),s(p===(p|0)&&p>=2&&p<=36),l=l.toString().replace(/\s+/g,"");var g=0;l[0]==="-"&&(g++,this.negative=1),g<l.length&&(p===16?this._parseHex(l,g,E):(this._parseBase(l,p,g),E==="le"&&this._initArray(this.toArray(),p,E)))},n.prototype._initNumber=function(l,p,E){l<0&&(this.negative=1,l=-l),l<67108864?(this.words=[l&67108863],this.length=1):l<4503599627370496?(this.words=[l&67108863,l/67108864&67108863],this.length=2):(s(l<9007199254740992),this.words=[l&67108863,l/67108864&67108863,1],this.length=3),E==="le"&&this._initArray(this.toArray(),p,E)},n.prototype._initArray=function(l,p,E){if(s(typeof l.length=="number"),l.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(l.length/3),this.words=new Array(this.length);for(var g=0;g<this.length;g++)this.words[g]=0;var b,k,x=0;if(E==="be")for(g=l.length-1,b=0;g>=0;g-=3)k=l[g]|l[g-1]<<8|l[g-2]<<16,this.words[b]|=k<<x&67108863,this.words[b+1]=k>>>26-x&67108863,x+=24,x>=26&&(x-=26,b++);else if(E==="le")for(g=0,b=0;g<l.length;g+=3)k=l[g]|l[g+1]<<8|l[g+2]<<16,this.words[b]|=k<<x&67108863,this.words[b+1]=k>>>26-x&67108863,x+=24,x>=26&&(x-=26,b++);return this.strip()};function u(l,p){var E=l.charCodeAt(p);return E>=65&&E<=70?E-55:E>=97&&E<=102?E-87:E-48&15}function c(l,p,E){var g=u(l,E);return E-1>=p&&(g|=u(l,E-1)<<4),g}n.prototype._parseHex=function(l,p,E){this.length=Math.ceil((l.length-p)/6),this.words=new Array(this.length);for(var g=0;g<this.length;g++)this.words[g]=0;var b=0,k=0,x;if(E==="be")for(g=l.length-1;g>=p;g-=2)x=c(l,p,g)<<b,this.words[k]|=x&67108863,b>=18?(b-=18,k+=1,this.words[k]|=x>>>26):b+=8;else{var S=l.length-p;for(g=S%2===0?p+1:p;g<l.length;g+=2)x=c(l,p,g)<<b,this.words[k]|=x&67108863,b>=18?(b-=18,k+=1,this.words[k]|=x>>>26):b+=8}this.strip()};function d(l,p,E,g){for(var b=0,k=Math.min(l.length,E),x=p;x<k;x++){var S=l.charCodeAt(x)-48;b*=g,S>=49?b+=S-49+10:S>=17?b+=S-17+10:b+=S}return b}n.prototype._parseBase=function(l,p,E){this.words=[0],this.length=1;for(var g=0,b=1;b<=67108863;b*=p)g++;g--,b=b/p|0;for(var k=l.length-E,x=k%g,S=Math.min(k,k-x)+E,f=0,M=E;M<S;M+=g)f=d(l,M,M+g,p),this.imuln(b),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if(x!==0){var V=1;for(f=d(l,M,l.length,p),M=0;M<x;M++)V*=p;this.imuln(V),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}this.strip()},n.prototype.copy=function(l){l.words=new Array(this.length);for(var p=0;p<this.length;p++)l.words[p]=this.words[p];l.length=this.length,l.negative=this.negative,l.red=this.red},n.prototype.clone=function(){var l=new n(null);return this.copy(l),l},n.prototype._expand=function(l){for(;this.length<l;)this.words[this.length++]=0;return this},n.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},n.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},n.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var h=["","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"],y=[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],C=[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];n.prototype.toString=function(l,p){l=l||10,p=p|0||1;var E;if(l===16||l==="hex"){E="";for(var g=0,b=0,k=0;k<this.length;k++){var x=this.words[k],S=((x<<g|b)&16777215).toString(16);b=x>>>24-g&16777215,g+=2,g>=26&&(g-=26,k--),b!==0||k!==this.length-1?E=h[6-S.length]+S+E:E=S+E}for(b!==0&&(E=b.toString(16)+E);E.length%p!==0;)E="0"+E;return this.negative!==0&&(E="-"+E),E}if(l===(l|0)&&l>=2&&l<=36){var f=y[l],M=C[l];E="";var V=this.clone();for(V.negative=0;!V.isZero();){var D=V.modn(M).toString(l);V=V.idivn(M),V.isZero()?E=D+E:E=h[f-D.length]+D+E}for(this.isZero()&&(E="0"+E);E.length%p!==0;)E="0"+E;return this.negative!==0&&(E="-"+E),E}s(!1,"Base should be between 2 and 36")},n.prototype.toNumber=function(){var l=this.words[0];return this.length===2?l+=this.words[1]*67108864:this.length===3&&this.words[2]===1?l+=4503599627370496+this.words[1]*67108864:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-l:l},n.prototype.toJSON=function(){return this.toString(16)},n.prototype.toBuffer=function(l,p){return s(typeof a<"u"),this.toArrayLike(a,l,p)},n.prototype.toArray=function(l,p){return this.toArrayLike(Array,l,p)},n.prototype.toArrayLike=function(l,p,E){var g=this.byteLength(),b=E||Math.max(1,g);s(g<=b,"byte array longer than desired length"),s(b>0,"Requested array length <= 0"),this.strip();var k=p==="le",x=new l(b),S,f,M=this.clone();if(k){for(f=0;!M.isZero();f++)S=M.andln(255),M.iushrn(8),x[f]=S;for(;f<b;f++)x[f]=0}else{for(f=0;f<b-g;f++)x[f]=0;for(f=0;!M.isZero();f++)S=M.andln(255),M.iushrn(8),x[b-f-1]=S}return x},Math.clz32?n.prototype._countBits=function(l){return 32-Math.clz32(l)}:n.prototype._countBits=function(l){var p=l,E=0;return p>=4096&&(E+=13,p>>>=13),p>=64&&(E+=7,p>>>=7),p>=8&&(E+=4,p>>>=4),p>=2&&(E+=2,p>>>=2),E+p},n.prototype._zeroBits=function(l){if(l===0)return 26;var p=l,E=0;return p&8191||(E+=13,p>>>=13),p&127||(E+=7,p>>>=7),p&15||(E+=4,p>>>=4),p&3||(E+=2,p>>>=2),p&1||E++,E},n.prototype.bitLength=function(){var l=this.words[this.length-1],p=this._countBits(l);return(this.length-1)*26+p};function w(l){for(var p=new Array(l.bitLength()),E=0;E<p.length;E++){var g=E/26|0,b=E%26;p[E]=(l.words[g]&1<<b)>>>b}return p}n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var l=0,p=0;p<this.length;p++){var E=this._zeroBits(this.words[p]);if(l+=E,E!==26)break}return l},n.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},n.prototype.toTwos=function(l){return this.negative!==0?this.abs().inotn(l).iaddn(1):this.clone()},n.prototype.fromTwos=function(l){return this.testn(l-1)?this.notn(l).iaddn(1).ineg():this.clone()},n.prototype.isNeg=function(){return this.negative!==0},n.prototype.neg=function(){return this.clone().ineg()},n.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},n.prototype.iuor=function(l){for(;this.length<l.length;)this.words[this.length++]=0;for(var p=0;p<l.length;p++)this.words[p]=this.words[p]|l.words[p];return this.strip()},n.prototype.ior=function(l){return s((this.negative|l.negative)===0),this.iuor(l)},n.prototype.or=function(l){return this.length>l.length?this.clone().ior(l):l.clone().ior(this)},n.prototype.uor=function(l){return this.length>l.length?this.clone().iuor(l):l.clone().iuor(this)},n.prototype.iuand=function(l){var p;this.length>l.length?p=l:p=this;for(var E=0;E<p.length;E++)this.words[E]=this.words[E]&l.words[E];return this.length=p.length,this.strip()},n.prototype.iand=function(l){return s((this.negative|l.negative)===0),this.iuand(l)},n.prototype.and=function(l){return this.length>l.length?this.clone().iand(l):l.clone().iand(this)},n.prototype.uand=function(l){return this.length>l.length?this.clone().iuand(l):l.clone().iuand(this)},n.prototype.iuxor=function(l){var p,E;this.length>l.length?(p=this,E=l):(p=l,E=this);for(var g=0;g<E.length;g++)this.words[g]=p.words[g]^E.words[g];if(this!==p)for(;g<p.length;g++)this.words[g]=p.words[g];return this.length=p.length,this.strip()},n.prototype.ixor=function(l){return s((this.negative|l.negative)===0),this.iuxor(l)},n.prototype.xor=function(l){return this.length>l.length?this.clone().ixor(l):l.clone().ixor(this)},n.prototype.uxor=function(l){return this.length>l.length?this.clone().iuxor(l):l.clone().iuxor(this)},n.prototype.inotn=function(l){s(typeof l=="number"&&l>=0);var p=Math.ceil(l/26)|0,E=l%26;this._expand(p),E>0&&p--;for(var g=0;g<p;g++)this.words[g]=~this.words[g]&67108863;return E>0&&(this.words[g]=~this.words[g]&67108863>>26-E),this.strip()},n.prototype.notn=function(l){return this.clone().inotn(l)},n.prototype.setn=function(l,p){s(typeof l=="number"&&l>=0);var E=l/26|0,g=l%26;return this._expand(E+1),p?this.words[E]=this.words[E]|1<<g:this.words[E]=this.words[E]&~(1<<g),this.strip()},n.prototype.iadd=function(l){var p;if(this.negative!==0&&l.negative===0)return this.negative=0,p=this.isub(l),this.negative^=1,this._normSign();if(this.negative===0&&l.negative!==0)return l.negative=0,p=this.isub(l),l.negative=1,p._normSign();var E,g;this.length>l.length?(E=this,g=l):(E=l,g=this);for(var b=0,k=0;k<g.length;k++)p=(E.words[k]|0)+(g.words[k]|0)+b,this.words[k]=p&67108863,b=p>>>26;for(;b!==0&&k<E.length;k++)p=(E.words[k]|0)+b,this.words[k]=p&67108863,b=p>>>26;if(this.length=E.length,b!==0)this.words[this.length]=b,this.length++;else if(E!==this)for(;k<E.length;k++)this.words[k]=E.words[k];return this},n.prototype.add=function(l){var p;return l.negative!==0&&this.negative===0?(l.negative=0,p=this.sub(l),l.negative^=1,p):l.negative===0&&this.negative!==0?(this.negative=0,p=l.sub(this),this.negative=1,p):this.length>l.length?this.clone().iadd(l):l.clone().iadd(this)},n.prototype.isub=function(l){if(l.negative!==0){l.negative=0;var p=this.iadd(l);return l.negative=1,p._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(l),this.negative=1,this._normSign();var E=this.cmp(l);if(E===0)return this.negative=0,this.length=1,this.words[0]=0,this;var g,b;E>0?(g=this,b=l):(g=l,b=this);for(var k=0,x=0;x<b.length;x++)p=(g.words[x]|0)-(b.words[x]|0)+k,k=p>>26,this.words[x]=p&67108863;for(;k!==0&&x<g.length;x++)p=(g.words[x]|0)+k,k=p>>26,this.words[x]=p&67108863;if(k===0&&x<g.length&&g!==this)for(;x<g.length;x++)this.words[x]=g.words[x];return this.length=Math.max(this.length,x),g!==this&&(this.negative=1),this.strip()},n.prototype.sub=function(l){return this.clone().isub(l)};function T(l,p,E){E.negative=p.negative^l.negative;var g=l.length+p.length|0;E.length=g,g=g-1|0;var b=l.words[0]|0,k=p.words[0]|0,x=b*k,S=x&67108863,f=x/67108864|0;E.words[0]=S;for(var M=1;M<g;M++){for(var V=f>>>26,D=f&67108863,j=Math.min(M,p.length-1),Y=Math.max(0,M-l.length+1);Y<=j;Y++){var oe=M-Y|0;b=l.words[oe]|0,k=p.words[Y]|0,x=b*k+D,V+=x/67108864|0,D=x&67108863}E.words[M]=D|0,f=V|0}return f!==0?E.words[M]=f|0:E.length--,E.strip()}var A=function(l,p,E){var g=l.words,b=p.words,k=E.words,x=0,S,f,M,V=g[0]|0,D=V&8191,j=V>>>13,Y=g[1]|0,oe=Y&8191,de=Y>>>13,ue=g[2]|0,ae=ue&8191,q=ue>>>13,ne=g[3]|0,me=ne&8191,ve=ne>>>13,ge=g[4]|0,ce=ge&8191,ee=ge>>>13,fe=g[5]|0,ie=fe&8191,re=fe>>>13,Oe=g[6]|0,Pe=Oe&8191,Ne=Oe>>>13,Xe=g[7]|0,Je=Xe&8191,ft=Xe>>>13,Kt=g[8]|0,wt=Kt&8191,Ie=Kt>>>13,it=g[9]|0,Ye=it&8191,et=it>>>13,Gt=b[0]|0,It=Gt&8191,Rt=Gt>>>13,_r=b[1]|0,jt=_r&8191,Fe=_r>>>13,Pr=b[2]|0,$t=Pr&8191,Qt=Pr>>>13,At=b[3]|0,ur=At&8191,tr=At>>>13,Vt=b[4]|0,bt=Vt&8191,kt=Vt>>>13,er=b[5]|0,Et=er&8191,qt=er>>>13,Hr=b[6]|0,_t=Hr&8191,Wt=Hr>>>13,qr=b[7]|0,Ce=qr&8191,_e=qr>>>13,Ze=b[8]|0,he=Ze&8191,Ke=Ze>>>13,Ht=b[9]|0,yt=Ht&8191,Ot=Ht>>>13;E.negative=l.negative^p.negative,E.length=19,S=Math.imul(D,It),f=Math.imul(D,Rt),f=f+Math.imul(j,It)|0,M=Math.imul(j,Rt);var hr=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(hr>>>26)|0,hr&=67108863,S=Math.imul(oe,It),f=Math.imul(oe,Rt),f=f+Math.imul(de,It)|0,M=Math.imul(de,Rt),S=S+Math.imul(D,jt)|0,f=f+Math.imul(D,Fe)|0,f=f+Math.imul(j,jt)|0,M=M+Math.imul(j,Fe)|0;var Br=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Br>>>26)|0,Br&=67108863,S=Math.imul(ae,It),f=Math.imul(ae,Rt),f=f+Math.imul(q,It)|0,M=Math.imul(q,Rt),S=S+Math.imul(oe,jt)|0,f=f+Math.imul(oe,Fe)|0,f=f+Math.imul(de,jt)|0,M=M+Math.imul(de,Fe)|0,S=S+Math.imul(D,$t)|0,f=f+Math.imul(D,Qt)|0,f=f+Math.imul(j,$t)|0,M=M+Math.imul(j,Qt)|0;var Er=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Er>>>26)|0,Er&=67108863,S=Math.imul(me,It),f=Math.imul(me,Rt),f=f+Math.imul(ve,It)|0,M=Math.imul(ve,Rt),S=S+Math.imul(ae,jt)|0,f=f+Math.imul(ae,Fe)|0,f=f+Math.imul(q,jt)|0,M=M+Math.imul(q,Fe)|0,S=S+Math.imul(oe,$t)|0,f=f+Math.imul(oe,Qt)|0,f=f+Math.imul(de,$t)|0,M=M+Math.imul(de,Qt)|0,S=S+Math.imul(D,ur)|0,f=f+Math.imul(D,tr)|0,f=f+Math.imul(j,ur)|0,M=M+Math.imul(j,tr)|0;var Qe=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,S=Math.imul(ce,It),f=Math.imul(ce,Rt),f=f+Math.imul(ee,It)|0,M=Math.imul(ee,Rt),S=S+Math.imul(me,jt)|0,f=f+Math.imul(me,Fe)|0,f=f+Math.imul(ve,jt)|0,M=M+Math.imul(ve,Fe)|0,S=S+Math.imul(ae,$t)|0,f=f+Math.imul(ae,Qt)|0,f=f+Math.imul(q,$t)|0,M=M+Math.imul(q,Qt)|0,S=S+Math.imul(oe,ur)|0,f=f+Math.imul(oe,tr)|0,f=f+Math.imul(de,ur)|0,M=M+Math.imul(de,tr)|0,S=S+Math.imul(D,bt)|0,f=f+Math.imul(D,kt)|0,f=f+Math.imul(j,bt)|0,M=M+Math.imul(j,kt)|0;var mt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(mt>>>26)|0,mt&=67108863,S=Math.imul(ie,It),f=Math.imul(ie,Rt),f=f+Math.imul(re,It)|0,M=Math.imul(re,Rt),S=S+Math.imul(ce,jt)|0,f=f+Math.imul(ce,Fe)|0,f=f+Math.imul(ee,jt)|0,M=M+Math.imul(ee,Fe)|0,S=S+Math.imul(me,$t)|0,f=f+Math.imul(me,Qt)|0,f=f+Math.imul(ve,$t)|0,M=M+Math.imul(ve,Qt)|0,S=S+Math.imul(ae,ur)|0,f=f+Math.imul(ae,tr)|0,f=f+Math.imul(q,ur)|0,M=M+Math.imul(q,tr)|0,S=S+Math.imul(oe,bt)|0,f=f+Math.imul(oe,kt)|0,f=f+Math.imul(de,bt)|0,M=M+Math.imul(de,kt)|0,S=S+Math.imul(D,Et)|0,f=f+Math.imul(D,qt)|0,f=f+Math.imul(j,Et)|0,M=M+Math.imul(j,qt)|0;var Ue=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Ue>>>26)|0,Ue&=67108863,S=Math.imul(Pe,It),f=Math.imul(Pe,Rt),f=f+Math.imul(Ne,It)|0,M=Math.imul(Ne,Rt),S=S+Math.imul(ie,jt)|0,f=f+Math.imul(ie,Fe)|0,f=f+Math.imul(re,jt)|0,M=M+Math.imul(re,Fe)|0,S=S+Math.imul(ce,$t)|0,f=f+Math.imul(ce,Qt)|0,f=f+Math.imul(ee,$t)|0,M=M+Math.imul(ee,Qt)|0,S=S+Math.imul(me,ur)|0,f=f+Math.imul(me,tr)|0,f=f+Math.imul(ve,ur)|0,M=M+Math.imul(ve,tr)|0,S=S+Math.imul(ae,bt)|0,f=f+Math.imul(ae,kt)|0,f=f+Math.imul(q,bt)|0,M=M+Math.imul(q,kt)|0,S=S+Math.imul(oe,Et)|0,f=f+Math.imul(oe,qt)|0,f=f+Math.imul(de,Et)|0,M=M+Math.imul(de,qt)|0,S=S+Math.imul(D,_t)|0,f=f+Math.imul(D,Wt)|0,f=f+Math.imul(j,_t)|0,M=M+Math.imul(j,Wt)|0;var Ge=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,S=Math.imul(Je,It),f=Math.imul(Je,Rt),f=f+Math.imul(ft,It)|0,M=Math.imul(ft,Rt),S=S+Math.imul(Pe,jt)|0,f=f+Math.imul(Pe,Fe)|0,f=f+Math.imul(Ne,jt)|0,M=M+Math.imul(Ne,Fe)|0,S=S+Math.imul(ie,$t)|0,f=f+Math.imul(ie,Qt)|0,f=f+Math.imul(re,$t)|0,M=M+Math.imul(re,Qt)|0,S=S+Math.imul(ce,ur)|0,f=f+Math.imul(ce,tr)|0,f=f+Math.imul(ee,ur)|0,M=M+Math.imul(ee,tr)|0,S=S+Math.imul(me,bt)|0,f=f+Math.imul(me,kt)|0,f=f+Math.imul(ve,bt)|0,M=M+Math.imul(ve,kt)|0,S=S+Math.imul(ae,Et)|0,f=f+Math.imul(ae,qt)|0,f=f+Math.imul(q,Et)|0,M=M+Math.imul(q,qt)|0,S=S+Math.imul(oe,_t)|0,f=f+Math.imul(oe,Wt)|0,f=f+Math.imul(de,_t)|0,M=M+Math.imul(de,Wt)|0,S=S+Math.imul(D,Ce)|0,f=f+Math.imul(D,_e)|0,f=f+Math.imul(j,Ce)|0,M=M+Math.imul(j,_e)|0;var Me=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Me>>>26)|0,Me&=67108863,S=Math.imul(wt,It),f=Math.imul(wt,Rt),f=f+Math.imul(Ie,It)|0,M=Math.imul(Ie,Rt),S=S+Math.imul(Je,jt)|0,f=f+Math.imul(Je,Fe)|0,f=f+Math.imul(ft,jt)|0,M=M+Math.imul(ft,Fe)|0,S=S+Math.imul(Pe,$t)|0,f=f+Math.imul(Pe,Qt)|0,f=f+Math.imul(Ne,$t)|0,M=M+Math.imul(Ne,Qt)|0,S=S+Math.imul(ie,ur)|0,f=f+Math.imul(ie,tr)|0,f=f+Math.imul(re,ur)|0,M=M+Math.imul(re,tr)|0,S=S+Math.imul(ce,bt)|0,f=f+Math.imul(ce,kt)|0,f=f+Math.imul(ee,bt)|0,M=M+Math.imul(ee,kt)|0,S=S+Math.imul(me,Et)|0,f=f+Math.imul(me,qt)|0,f=f+Math.imul(ve,Et)|0,M=M+Math.imul(ve,qt)|0,S=S+Math.imul(ae,_t)|0,f=f+Math.imul(ae,Wt)|0,f=f+Math.imul(q,_t)|0,M=M+Math.imul(q,Wt)|0,S=S+Math.imul(oe,Ce)|0,f=f+Math.imul(oe,_e)|0,f=f+Math.imul(de,Ce)|0,M=M+Math.imul(de,_e)|0,S=S+Math.imul(D,he)|0,f=f+Math.imul(D,Ke)|0,f=f+Math.imul(j,he)|0,M=M+Math.imul(j,Ke)|0;var ze=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ze>>>26)|0,ze&=67108863,S=Math.imul(Ye,It),f=Math.imul(Ye,Rt),f=f+Math.imul(et,It)|0,M=Math.imul(et,Rt),S=S+Math.imul(wt,jt)|0,f=f+Math.imul(wt,Fe)|0,f=f+Math.imul(Ie,jt)|0,M=M+Math.imul(Ie,Fe)|0,S=S+Math.imul(Je,$t)|0,f=f+Math.imul(Je,Qt)|0,f=f+Math.imul(ft,$t)|0,M=M+Math.imul(ft,Qt)|0,S=S+Math.imul(Pe,ur)|0,f=f+Math.imul(Pe,tr)|0,f=f+Math.imul(Ne,ur)|0,M=M+Math.imul(Ne,tr)|0,S=S+Math.imul(ie,bt)|0,f=f+Math.imul(ie,kt)|0,f=f+Math.imul(re,bt)|0,M=M+Math.imul(re,kt)|0,S=S+Math.imul(ce,Et)|0,f=f+Math.imul(ce,qt)|0,f=f+Math.imul(ee,Et)|0,M=M+Math.imul(ee,qt)|0,S=S+Math.imul(me,_t)|0,f=f+Math.imul(me,Wt)|0,f=f+Math.imul(ve,_t)|0,M=M+Math.imul(ve,Wt)|0,S=S+Math.imul(ae,Ce)|0,f=f+Math.imul(ae,_e)|0,f=f+Math.imul(q,Ce)|0,M=M+Math.imul(q,_e)|0,S=S+Math.imul(oe,he)|0,f=f+Math.imul(oe,Ke)|0,f=f+Math.imul(de,he)|0,M=M+Math.imul(de,Ke)|0,S=S+Math.imul(D,yt)|0,f=f+Math.imul(D,Ot)|0,f=f+Math.imul(j,yt)|0,M=M+Math.imul(j,Ot)|0;var Le=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Le>>>26)|0,Le&=67108863,S=Math.imul(Ye,jt),f=Math.imul(Ye,Fe),f=f+Math.imul(et,jt)|0,M=Math.imul(et,Fe),S=S+Math.imul(wt,$t)|0,f=f+Math.imul(wt,Qt)|0,f=f+Math.imul(Ie,$t)|0,M=M+Math.imul(Ie,Qt)|0,S=S+Math.imul(Je,ur)|0,f=f+Math.imul(Je,tr)|0,f=f+Math.imul(ft,ur)|0,M=M+Math.imul(ft,tr)|0,S=S+Math.imul(Pe,bt)|0,f=f+Math.imul(Pe,kt)|0,f=f+Math.imul(Ne,bt)|0,M=M+Math.imul(Ne,kt)|0,S=S+Math.imul(ie,Et)|0,f=f+Math.imul(ie,qt)|0,f=f+Math.imul(re,Et)|0,M=M+Math.imul(re,qt)|0,S=S+Math.imul(ce,_t)|0,f=f+Math.imul(ce,Wt)|0,f=f+Math.imul(ee,_t)|0,M=M+Math.imul(ee,Wt)|0,S=S+Math.imul(me,Ce)|0,f=f+Math.imul(me,_e)|0,f=f+Math.imul(ve,Ce)|0,M=M+Math.imul(ve,_e)|0,S=S+Math.imul(ae,he)|0,f=f+Math.imul(ae,Ke)|0,f=f+Math.imul(q,he)|0,M=M+Math.imul(q,Ke)|0,S=S+Math.imul(oe,yt)|0,f=f+Math.imul(oe,Ot)|0,f=f+Math.imul(de,yt)|0,M=M+Math.imul(de,Ot)|0;var rt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(rt>>>26)|0,rt&=67108863,S=Math.imul(Ye,$t),f=Math.imul(Ye,Qt),f=f+Math.imul(et,$t)|0,M=Math.imul(et,Qt),S=S+Math.imul(wt,ur)|0,f=f+Math.imul(wt,tr)|0,f=f+Math.imul(Ie,ur)|0,M=M+Math.imul(Ie,tr)|0,S=S+Math.imul(Je,bt)|0,f=f+Math.imul(Je,kt)|0,f=f+Math.imul(ft,bt)|0,M=M+Math.imul(ft,kt)|0,S=S+Math.imul(Pe,Et)|0,f=f+Math.imul(Pe,qt)|0,f=f+Math.imul(Ne,Et)|0,M=M+Math.imul(Ne,qt)|0,S=S+Math.imul(ie,_t)|0,f=f+Math.imul(ie,Wt)|0,f=f+Math.imul(re,_t)|0,M=M+Math.imul(re,Wt)|0,S=S+Math.imul(ce,Ce)|0,f=f+Math.imul(ce,_e)|0,f=f+Math.imul(ee,Ce)|0,M=M+Math.imul(ee,_e)|0,S=S+Math.imul(me,he)|0,f=f+Math.imul(me,Ke)|0,f=f+Math.imul(ve,he)|0,M=M+Math.imul(ve,Ke)|0,S=S+Math.imul(ae,yt)|0,f=f+Math.imul(ae,Ot)|0,f=f+Math.imul(q,yt)|0,M=M+Math.imul(q,Ot)|0;var ht=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ht>>>26)|0,ht&=67108863,S=Math.imul(Ye,ur),f=Math.imul(Ye,tr),f=f+Math.imul(et,ur)|0,M=Math.imul(et,tr),S=S+Math.imul(wt,bt)|0,f=f+Math.imul(wt,kt)|0,f=f+Math.imul(Ie,bt)|0,M=M+Math.imul(Ie,kt)|0,S=S+Math.imul(Je,Et)|0,f=f+Math.imul(Je,qt)|0,f=f+Math.imul(ft,Et)|0,M=M+Math.imul(ft,qt)|0,S=S+Math.imul(Pe,_t)|0,f=f+Math.imul(Pe,Wt)|0,f=f+Math.imul(Ne,_t)|0,M=M+Math.imul(Ne,Wt)|0,S=S+Math.imul(ie,Ce)|0,f=f+Math.imul(ie,_e)|0,f=f+Math.imul(re,Ce)|0,M=M+Math.imul(re,_e)|0,S=S+Math.imul(ce,he)|0,f=f+Math.imul(ce,Ke)|0,f=f+Math.imul(ee,he)|0,M=M+Math.imul(ee,Ke)|0,S=S+Math.imul(me,yt)|0,f=f+Math.imul(me,Ot)|0,f=f+Math.imul(ve,yt)|0,M=M+Math.imul(ve,Ot)|0;var ut=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ut>>>26)|0,ut&=67108863,S=Math.imul(Ye,bt),f=Math.imul(Ye,kt),f=f+Math.imul(et,bt)|0,M=Math.imul(et,kt),S=S+Math.imul(wt,Et)|0,f=f+Math.imul(wt,qt)|0,f=f+Math.imul(Ie,Et)|0,M=M+Math.imul(Ie,qt)|0,S=S+Math.imul(Je,_t)|0,f=f+Math.imul(Je,Wt)|0,f=f+Math.imul(ft,_t)|0,M=M+Math.imul(ft,Wt)|0,S=S+Math.imul(Pe,Ce)|0,f=f+Math.imul(Pe,_e)|0,f=f+Math.imul(Ne,Ce)|0,M=M+Math.imul(Ne,_e)|0,S=S+Math.imul(ie,he)|0,f=f+Math.imul(ie,Ke)|0,f=f+Math.imul(re,he)|0,M=M+Math.imul(re,Ke)|0,S=S+Math.imul(ce,yt)|0,f=f+Math.imul(ce,Ot)|0,f=f+Math.imul(ee,yt)|0,M=M+Math.imul(ee,Ot)|0;var Dt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,S=Math.imul(Ye,Et),f=Math.imul(Ye,qt),f=f+Math.imul(et,Et)|0,M=Math.imul(et,qt),S=S+Math.imul(wt,_t)|0,f=f+Math.imul(wt,Wt)|0,f=f+Math.imul(Ie,_t)|0,M=M+Math.imul(Ie,Wt)|0,S=S+Math.imul(Je,Ce)|0,f=f+Math.imul(Je,_e)|0,f=f+Math.imul(ft,Ce)|0,M=M+Math.imul(ft,_e)|0,S=S+Math.imul(Pe,he)|0,f=f+Math.imul(Pe,Ke)|0,f=f+Math.imul(Ne,he)|0,M=M+Math.imul(Ne,Ke)|0,S=S+Math.imul(ie,yt)|0,f=f+Math.imul(ie,Ot)|0,f=f+Math.imul(re,yt)|0,M=M+Math.imul(re,Ot)|0;var He=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(He>>>26)|0,He&=67108863,S=Math.imul(Ye,_t),f=Math.imul(Ye,Wt),f=f+Math.imul(et,_t)|0,M=Math.imul(et,Wt),S=S+Math.imul(wt,Ce)|0,f=f+Math.imul(wt,_e)|0,f=f+Math.imul(Ie,Ce)|0,M=M+Math.imul(Ie,_e)|0,S=S+Math.imul(Je,he)|0,f=f+Math.imul(Je,Ke)|0,f=f+Math.imul(ft,he)|0,M=M+Math.imul(ft,Ke)|0,S=S+Math.imul(Pe,yt)|0,f=f+Math.imul(Pe,Ot)|0,f=f+Math.imul(Ne,yt)|0,M=M+Math.imul(Ne,Ot)|0;var nt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(nt>>>26)|0,nt&=67108863,S=Math.imul(Ye,Ce),f=Math.imul(Ye,_e),f=f+Math.imul(et,Ce)|0,M=Math.imul(et,_e),S=S+Math.imul(wt,he)|0,f=f+Math.imul(wt,Ke)|0,f=f+Math.imul(Ie,he)|0,M=M+Math.imul(Ie,Ke)|0,S=S+Math.imul(Je,yt)|0,f=f+Math.imul(Je,Ot)|0,f=f+Math.imul(ft,yt)|0,M=M+Math.imul(ft,Ot)|0;var at=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(at>>>26)|0,at&=67108863,S=Math.imul(Ye,he),f=Math.imul(Ye,Ke),f=f+Math.imul(et,he)|0,M=Math.imul(et,Ke),S=S+Math.imul(wt,yt)|0,f=f+Math.imul(wt,Ot)|0,f=f+Math.imul(Ie,yt)|0,M=M+Math.imul(Ie,Ot)|0;var Tt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,S=Math.imul(Ye,yt),f=Math.imul(Ye,Ot),f=f+Math.imul(et,yt)|0,M=Math.imul(et,Ot);var pt=(x+S|0)+((f&8191)<<13)|0;return x=(M+(f>>>13)|0)+(pt>>>26)|0,pt&=67108863,k[0]=hr,k[1]=Br,k[2]=Er,k[3]=Qe,k[4]=mt,k[5]=Ue,k[6]=Ge,k[7]=Me,k[8]=ze,k[9]=Le,k[10]=rt,k[11]=ht,k[12]=ut,k[13]=Dt,k[14]=He,k[15]=nt,k[16]=at,k[17]=Tt,k[18]=pt,x!==0&&(k[19]=x,E.length++),E};Math.imul||(A=T);function O(l,p,E){E.negative=p.negative^l.negative,E.length=l.length+p.length;for(var g=0,b=0,k=0;k<E.length-1;k++){var x=b;b=0;for(var S=g&67108863,f=Math.min(k,p.length-1),M=Math.max(0,k-l.length+1);M<=f;M++){var V=k-M,D=l.words[V]|0,j=p.words[M]|0,Y=D*j,oe=Y&67108863;x=x+(Y/67108864|0)|0,oe=oe+S|0,S=oe&67108863,x=x+(oe>>>26)|0,b+=x>>>26,x&=67108863}E.words[k]=S,g=x,x=b}return g!==0?E.words[k]=g:E.length--,E.strip()}function v(l,p,E){var g=new B;return g.mulp(l,p,E)}n.prototype.mulTo=function(l,p){var E,g=this.length+l.length;return this.length===10&&l.length===10?E=A(this,l,p):g<63?E=T(this,l,p):g<1024?E=O(this,l,p):E=v(this,l,p),E};function B(l,p){this.x=l,this.y=p}B.prototype.makeRBT=function(l){for(var p=new Array(l),E=n.prototype._countBits(l)-1,g=0;g<l;g++)p[g]=this.revBin(g,E,l);return p},B.prototype.revBin=function(l,p,E){if(l===0||l===E-1)return l;for(var g=0,b=0;b<p;b++)g|=(l&1)<<p-b-1,l>>=1;return g},B.prototype.permute=function(l,p,E,g,b,k){for(var x=0;x<k;x++)g[x]=p[l[x]],b[x]=E[l[x]]},B.prototype.transform=function(l,p,E,g,b,k){this.permute(k,l,p,E,g,b);for(var x=1;x<b;x<<=1)for(var S=x<<1,f=Math.cos(2*Math.PI/S),M=Math.sin(2*Math.PI/S),V=0;V<b;V+=S)for(var D=f,j=M,Y=0;Y<x;Y++){var oe=E[V+Y],de=g[V+Y],ue=E[V+Y+x],ae=g[V+Y+x],q=D*ue-j*ae;ae=D*ae+j*ue,ue=q,E[V+Y]=oe+ue,g[V+Y]=de+ae,E[V+Y+x]=oe-ue,g[V+Y+x]=de-ae,Y!==S&&(q=f*D-M*j,j=f*j+M*D,D=q)}},B.prototype.guessLen13b=function(l,p){var E=Math.max(p,l)|1,g=E&1,b=0;for(E=E/2|0;E;E=E>>>1)b++;return 1<<b+1+g},B.prototype.conjugate=function(l,p,E){if(!(E<=1))for(var g=0;g<E/2;g++){var b=l[g];l[g]=l[E-g-1],l[E-g-1]=b,b=p[g],p[g]=-p[E-g-1],p[E-g-1]=-b}},B.prototype.normalize13b=function(l,p){for(var E=0,g=0;g<p/2;g++){var b=Math.round(l[2*g+1]/p)*8192+Math.round(l[2*g]/p)+E;l[g]=b&67108863,b<67108864?E=0:E=b/67108864|0}return l},B.prototype.convert13b=function(l,p,E,g){for(var b=0,k=0;k<p;k++)b=b+(l[k]|0),E[2*k]=b&8191,b=b>>>13,E[2*k+1]=b&8191,b=b>>>13;for(k=2*p;k<g;++k)E[k]=0;s(b===0),s((b&-8192)===0)},B.prototype.stub=function(l){for(var p=new Array(l),E=0;E<l;E++)p[E]=0;return p},B.prototype.mulp=function(l,p,E){var g=2*this.guessLen13b(l.length,p.length),b=this.makeRBT(g),k=this.stub(g),x=new Array(g),S=new Array(g),f=new Array(g),M=new Array(g),V=new Array(g),D=new Array(g),j=E.words;j.length=g,this.convert13b(l.words,l.length,x,g),this.convert13b(p.words,p.length,M,g),this.transform(x,k,S,f,g,b),this.transform(M,k,V,D,g,b);for(var Y=0;Y<g;Y++){var oe=S[Y]*V[Y]-f[Y]*D[Y];f[Y]=S[Y]*D[Y]+f[Y]*V[Y],S[Y]=oe}return this.conjugate(S,f,g),this.transform(S,f,j,k,g,b),this.conjugate(j,k,g),this.normalize13b(j,g),E.negative=l.negative^p.negative,E.length=l.length+p.length,E.strip()},n.prototype.mul=function(l){var p=new n(null);return p.words=new Array(this.length+l.length),this.mulTo(l,p)},n.prototype.mulf=function(l){var p=new n(null);return p.words=new Array(this.length+l.length),v(this,l,p)},n.prototype.imul=function(l){return this.clone().mulTo(l,this)},n.prototype.imuln=function(l){s(typeof l=="number"),s(l<67108864);for(var p=0,E=0;E<this.length;E++){var g=(this.words[E]|0)*l,b=(g&67108863)+(p&67108863);p>>=26,p+=g/67108864|0,p+=b>>>26,this.words[E]=b&67108863}return p!==0&&(this.words[E]=p,this.length++),this},n.prototype.muln=function(l){return this.clone().imuln(l)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(l){var p=w(l);if(p.length===0)return new n(1);for(var E=this,g=0;g<p.length&&p[g]===0;g++,E=E.sqr());if(++g<p.length)for(var b=E.sqr();g<p.length;g++,b=b.sqr())p[g]!==0&&(E=E.mul(b));return E},n.prototype.iushln=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26,g=67108863>>>26-p<<26-p,b;if(p!==0){var k=0;for(b=0;b<this.length;b++){var x=this.words[b]&g,S=(this.words[b]|0)-x<<p;this.words[b]=S|k,k=x>>>26-p}k&&(this.words[b]=k,this.length++)}if(E!==0){for(b=this.length-1;b>=0;b--)this.words[b+E]=this.words[b];for(b=0;b<E;b++)this.words[b]=0;this.length+=E}return this.strip()},n.prototype.ishln=function(l){return s(this.negative===0),this.iushln(l)},n.prototype.iushrn=function(l,p,E){s(typeof l=="number"&&l>=0);var g;p?g=(p-p%26)/26:g=0;var b=l%26,k=Math.min((l-b)/26,this.length),x=67108863^67108863>>>b<<b,S=E;if(g-=k,g=Math.max(0,g),S){for(var f=0;f<k;f++)S.words[f]=this.words[f];S.length=k}if(k!==0)if(this.length>k)for(this.length-=k,f=0;f<this.length;f++)this.words[f]=this.words[f+k];else this.words[0]=0,this.length=1;var M=0;for(f=this.length-1;f>=0&&(M!==0||f>=g);f--){var V=this.words[f]|0;this.words[f]=M<<26-b|V>>>b,M=V&x}return S&&M!==0&&(S.words[S.length++]=M),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},n.prototype.ishrn=function(l,p,E){return s(this.negative===0),this.iushrn(l,p,E)},n.prototype.shln=function(l){return this.clone().ishln(l)},n.prototype.ushln=function(l){return this.clone().iushln(l)},n.prototype.shrn=function(l){return this.clone().ishrn(l)},n.prototype.ushrn=function(l){return this.clone().iushrn(l)},n.prototype.testn=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26,g=1<<p;if(this.length<=E)return!1;var b=this.words[E];return!!(b&g)},n.prototype.imaskn=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=E)return this;if(p!==0&&E++,this.length=Math.min(E,this.length),p!==0){var g=67108863^67108863>>>p<<p;this.words[this.length-1]&=g}return this.strip()},n.prototype.maskn=function(l){return this.clone().imaskn(l)},n.prototype.iaddn=function(l){return s(typeof l=="number"),s(l<67108864),l<0?this.isubn(-l):this.negative!==0?this.length===1&&(this.words[0]|0)<l?(this.words[0]=l-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(l),this.negative=1,this):this._iaddn(l)},n.prototype._iaddn=function(l){this.words[0]+=l;for(var p=0;p<this.length&&this.words[p]>=67108864;p++)this.words[p]-=67108864,p===this.length-1?this.words[p+1]=1:this.words[p+1]++;return this.length=Math.max(this.length,p+1),this},n.prototype.isubn=function(l){if(s(typeof l=="number"),s(l<67108864),l<0)return this.iaddn(-l);if(this.negative!==0)return this.negative=0,this.iaddn(l),this.negative=1,this;if(this.words[0]-=l,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var p=0;p<this.length&&this.words[p]<0;p++)this.words[p]+=67108864,this.words[p+1]-=1;return this.strip()},n.prototype.addn=function(l){return this.clone().iaddn(l)},n.prototype.subn=function(l){return this.clone().isubn(l)},n.prototype.iabs=function(){return this.negative=0,this},n.prototype.abs=function(){return this.clone().iabs()},n.prototype._ishlnsubmul=function(l,p,E){var g=l.length+E,b;this._expand(g);var k,x=0;for(b=0;b<l.length;b++){k=(this.words[b+E]|0)+x;var S=(l.words[b]|0)*p;k-=S&67108863,x=(k>>26)-(S/67108864|0),this.words[b+E]=k&67108863}for(;b<this.length-E;b++)k=(this.words[b+E]|0)+x,x=k>>26,this.words[b+E]=k&67108863;if(x===0)return this.strip();for(s(x===-1),x=0,b=0;b<this.length;b++)k=-(this.words[b]|0)+x,x=k>>26,this.words[b]=k&67108863;return this.negative=1,this.strip()},n.prototype._wordDiv=function(l,p){var E=this.length-l.length,g=this.clone(),b=l,k=b.words[b.length-1]|0,x=this._countBits(k);E=26-x,E!==0&&(b=b.ushln(E),g.iushln(E),k=b.words[b.length-1]|0);var S=g.length-b.length,f;if(p!=="mod"){f=new n(null),f.length=S+1,f.words=new Array(f.length);for(var M=0;M<f.length;M++)f.words[M]=0}var V=g.clone()._ishlnsubmul(b,1,S);V.negative===0&&(g=V,f&&(f.words[S]=1));for(var D=S-1;D>=0;D--){var j=(g.words[b.length+D]|0)*67108864+(g.words[b.length+D-1]|0);for(j=Math.min(j/k|0,67108863),g._ishlnsubmul(b,j,D);g.negative!==0;)j--,g.negative=0,g._ishlnsubmul(b,1,D),g.isZero()||(g.negative^=1);f&&(f.words[D]=j)}return f&&f.strip(),g.strip(),p!=="div"&&E!==0&&g.iushrn(E),{div:f||null,mod:g}},n.prototype.divmod=function(l,p,E){if(s(!l.isZero()),this.isZero())return{div:new n(0),mod:new n(0)};var g,b,k;return this.negative!==0&&l.negative===0?(k=this.neg().divmod(l,p),p!=="mod"&&(g=k.div.neg()),p!=="div"&&(b=k.mod.neg(),E&&b.negative!==0&&b.iadd(l)),{div:g,mod:b}):this.negative===0&&l.negative!==0?(k=this.divmod(l.neg(),p),p!=="mod"&&(g=k.div.neg()),{div:g,mod:k.mod}):this.negative&l.negative?(k=this.neg().divmod(l.neg(),p),p!=="div"&&(b=k.mod.neg(),E&&b.negative!==0&&b.isub(l)),{div:k.div,mod:b}):l.length>this.length||this.cmp(l)<0?{div:new n(0),mod:this}:l.length===1?p==="div"?{div:this.divn(l.words[0]),mod:null}:p==="mod"?{div:null,mod:new n(this.modn(l.words[0]))}:{div:this.divn(l.words[0]),mod:new n(this.modn(l.words[0]))}:this._wordDiv(l,p)},n.prototype.div=function(l){return this.divmod(l,"div",!1).div},n.prototype.mod=function(l){return this.divmod(l,"mod",!1).mod},n.prototype.umod=function(l){return this.divmod(l,"mod",!0).mod},n.prototype.divRound=function(l){var p=this.divmod(l);if(p.mod.isZero())return p.div;var E=p.div.negative!==0?p.mod.isub(l):p.mod,g=l.ushrn(1),b=l.andln(1),k=E.cmp(g);return k<0||b===1&&k===0?p.div:p.div.negative!==0?p.div.isubn(1):p.div.iaddn(1)},n.prototype.modn=function(l){s(l<=67108863);for(var p=(1<<26)%l,E=0,g=this.length-1;g>=0;g--)E=(p*E+(this.words[g]|0))%l;return E},n.prototype.idivn=function(l){s(l<=67108863);for(var p=0,E=this.length-1;E>=0;E--){var g=(this.words[E]|0)+p*67108864;this.words[E]=g/l|0,p=g%l}return this.strip()},n.prototype.divn=function(l){return this.clone().idivn(l)},n.prototype.egcd=function(l){s(l.negative===0),s(!l.isZero());var p=this,E=l.clone();p.negative!==0?p=p.umod(l):p=p.clone();for(var g=new n(1),b=new n(0),k=new n(0),x=new n(1),S=0;p.isEven()&&E.isEven();)p.iushrn(1),E.iushrn(1),++S;for(var f=E.clone(),M=p.clone();!p.isZero();){for(var V=0,D=1;!(p.words[0]&D)&&V<26;++V,D<<=1);if(V>0)for(p.iushrn(V);V-- >0;)(g.isOdd()||b.isOdd())&&(g.iadd(f),b.isub(M)),g.iushrn(1),b.iushrn(1);for(var j=0,Y=1;!(E.words[0]&Y)&&j<26;++j,Y<<=1);if(j>0)for(E.iushrn(j);j-- >0;)(k.isOdd()||x.isOdd())&&(k.iadd(f),x.isub(M)),k.iushrn(1),x.iushrn(1);p.cmp(E)>=0?(p.isub(E),g.isub(k),b.isub(x)):(E.isub(p),k.isub(g),x.isub(b))}return{a:k,b:x,gcd:E.iushln(S)}},n.prototype._invmp=function(l){s(l.negative===0),s(!l.isZero());var p=this,E=l.clone();p.negative!==0?p=p.umod(l):p=p.clone();for(var g=new n(1),b=new n(0),k=E.clone();p.cmpn(1)>0&&E.cmpn(1)>0;){for(var x=0,S=1;!(p.words[0]&S)&&x<26;++x,S<<=1);if(x>0)for(p.iushrn(x);x-- >0;)g.isOdd()&&g.iadd(k),g.iushrn(1);for(var f=0,M=1;!(E.words[0]&M)&&f<26;++f,M<<=1);if(f>0)for(E.iushrn(f);f-- >0;)b.isOdd()&&b.iadd(k),b.iushrn(1);p.cmp(E)>=0?(p.isub(E),g.isub(b)):(E.isub(p),b.isub(g))}var V;return p.cmpn(1)===0?V=g:V=b,V.cmpn(0)<0&&V.iadd(l),V},n.prototype.gcd=function(l){if(this.isZero())return l.abs();if(l.isZero())return this.abs();var p=this.clone(),E=l.clone();p.negative=0,E.negative=0;for(var g=0;p.isEven()&&E.isEven();g++)p.iushrn(1),E.iushrn(1);do{for(;p.isEven();)p.iushrn(1);for(;E.isEven();)E.iushrn(1);var b=p.cmp(E);if(b<0){var k=p;p=E,E=k}else if(b===0||E.cmpn(1)===0)break;p.isub(E)}while(!0);return E.iushln(g)},n.prototype.invm=function(l){return this.egcd(l).a.umod(l)},n.prototype.isEven=function(){return(this.words[0]&1)===0},n.prototype.isOdd=function(){return(this.words[0]&1)===1},n.prototype.andln=function(l){return this.words[0]&l},n.prototype.bincn=function(l){s(typeof l=="number");var p=l%26,E=(l-p)/26,g=1<<p;if(this.length<=E)return this._expand(E+1),this.words[E]|=g,this;for(var b=g,k=E;b!==0&&k<this.length;k++){var x=this.words[k]|0;x+=b,b=x>>>26,x&=67108863,this.words[k]=x}return b!==0&&(this.words[k]=b,this.length++),this},n.prototype.isZero=function(){return this.length===1&&this.words[0]===0},n.prototype.cmpn=function(l){var p=l<0;if(this.negative!==0&&!p)return-1;if(this.negative===0&&p)return 1;this.strip();var E;if(this.length>1)E=1;else{p&&(l=-l),s(l<=67108863,"Number is too big");var g=this.words[0]|0;E=g===l?0:g<l?-1:1}return this.negative!==0?-E|0:E},n.prototype.cmp=function(l){if(this.negative!==0&&l.negative===0)return-1;if(this.negative===0&&l.negative!==0)return 1;var p=this.ucmp(l);return this.negative!==0?-p|0:p},n.prototype.ucmp=function(l){if(this.length>l.length)return 1;if(this.length<l.length)return-1;for(var p=0,E=this.length-1;E>=0;E--){var g=this.words[E]|0,b=l.words[E]|0;if(g!==b){g<b?p=-1:g>b&&(p=1);break}}return p},n.prototype.gtn=function(l){return this.cmpn(l)===1},n.prototype.gt=function(l){return this.cmp(l)===1},n.prototype.gten=function(l){return this.cmpn(l)>=0},n.prototype.gte=function(l){return this.cmp(l)>=0},n.prototype.ltn=function(l){return this.cmpn(l)===-1},n.prototype.lt=function(l){return this.cmp(l)===-1},n.prototype.lten=function(l){return this.cmpn(l)<=0},n.prototype.lte=function(l){return this.cmp(l)<=0},n.prototype.eqn=function(l){return this.cmpn(l)===0},n.prototype.eq=function(l){return this.cmp(l)===0},n.red=function(l){return new F(l)},n.prototype.toRed=function(l){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),l.convertTo(this)._forceRed(l)},n.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(l){return this.red=l,this},n.prototype.forceRed=function(l){return s(!this.red,"Already a number in reduction context"),this._forceRed(l)},n.prototype.redAdd=function(l){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,l)},n.prototype.redIAdd=function(l){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,l)},n.prototype.redSub=function(l){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,l)},n.prototype.redISub=function(l){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,l)},n.prototype.redShl=function(l){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,l)},n.prototype.redMul=function(l){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.mul(this,l)},n.prototype.redIMul=function(l){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.imul(this,l)},n.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(l){return s(this.red&&!l.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,l)};var R={k256:null,p224:null,p192:null,p25519:null};function U(l,p){this.name=l,this.p=new n(p,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}U.prototype._tmp=function(){var l=new n(null);return l.words=new Array(Math.ceil(this.n/13)),l},U.prototype.ireduce=function(l){var p=l,E;do this.split(p,this.tmp),p=this.imulK(p),p=p.iadd(this.tmp),E=p.bitLength();while(E>this.n);var g=E<this.n?-1:p.ucmp(this.p);return g===0?(p.words[0]=0,p.length=1):g>0?p.isub(this.p):p.strip!==void 0?p.strip():p._strip(),p},U.prototype.split=function(l,p){l.iushrn(this.n,0,p)},U.prototype.imulK=function(l){return l.imul(this.k)};function N(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(N,U),N.prototype.split=function(l,p){for(var E=4194303,g=Math.min(l.length,9),b=0;b<g;b++)p.words[b]=l.words[b];if(p.length=g,l.length<=9){l.words[0]=0,l.length=1;return}var k=l.words[9];for(p.words[p.length++]=k&E,b=10;b<l.length;b++){var x=l.words[b]|0;l.words[b-10]=(x&E)<<4|k>>>22,k=x}k>>>=22,l.words[b-10]=k,k===0&&l.length>10?l.length-=10:l.length-=9},N.prototype.imulK=function(l){l.words[l.length]=0,l.words[l.length+1]=0,l.length+=2;for(var p=0,E=0;E<l.length;E++){var g=l.words[E]|0;p+=g*977,l.words[E]=p&67108863,p=g*64+(p/67108864|0)}return l.words[l.length-1]===0&&(l.length--,l.words[l.length-1]===0&&l.length--),l};function _(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i(_,U);function L(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i(L,U);function H(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i(H,U),H.prototype.imulK=function(l){for(var p=0,E=0;E<l.length;E++){var g=(l.words[E]|0)*19+p,b=g&67108863;g>>>=26,l.words[E]=b,p=g}return p!==0&&(l.words[l.length++]=p),l},n._prime=function(l){if(R[l])return R[l];var p;if(l==="k256")p=new N;else if(l==="p224")p=new _;else if(l==="p192")p=new L;else if(l==="p25519")p=new H;else throw new Error("Unknown prime "+l);return R[l]=p,p};function F(l){if(typeof l=="string"){var p=n._prime(l);this.m=p.p,this.prime=p}else s(l.gtn(1),"modulus must be greater than 1"),this.m=l,this.prime=null}F.prototype._verify1=function(l){s(l.negative===0,"red works only with positives"),s(l.red,"red works only with red numbers")},F.prototype._verify2=function(l,p){s((l.negative|p.negative)===0,"red works only with positives"),s(l.red&&l.red===p.red,"red works only with red numbers")},F.prototype.imod=function(l){return this.prime?this.prime.ireduce(l)._forceRed(this):l.umod(this.m)._forceRed(this)},F.prototype.neg=function(l){return l.isZero()?l.clone():this.m.sub(l)._forceRed(this)},F.prototype.add=function(l,p){this._verify2(l,p);var E=l.add(p);return E.cmp(this.m)>=0&&E.isub(this.m),E._forceRed(this)},F.prototype.iadd=function(l,p){this._verify2(l,p);var E=l.iadd(p);return E.cmp(this.m)>=0&&E.isub(this.m),E},F.prototype.sub=function(l,p){this._verify2(l,p);var E=l.sub(p);return E.cmpn(0)<0&&E.iadd(this.m),E._forceRed(this)},F.prototype.isub=function(l,p){this._verify2(l,p);var E=l.isub(p);return E.cmpn(0)<0&&E.iadd(this.m),E},F.prototype.shl=function(l,p){return this._verify1(l),this.imod(l.ushln(p))},F.prototype.imul=function(l,p){return this._verify2(l,p),this.imod(l.imul(p))},F.prototype.mul=function(l,p){return this._verify2(l,p),this.imod(l.mul(p))},F.prototype.isqr=function(l){return this.imul(l,l.clone())},F.prototype.sqr=function(l){return this.mul(l,l)},F.prototype.sqrt=function(l){if(l.isZero())return l.clone();var p=this.m.andln(3);if(s(p%2===1),p===3){var E=this.m.add(new n(1)).iushrn(2);return this.pow(l,E)}for(var g=this.m.subn(1),b=0;!g.isZero()&&g.andln(1)===0;)b++,g.iushrn(1);s(!g.isZero());var k=new n(1).toRed(this),x=k.redNeg(),S=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new n(2*f*f).toRed(this);this.pow(f,S).cmp(x)!==0;)f.redIAdd(x);for(var M=this.pow(f,g),V=this.pow(l,g.addn(1).iushrn(1)),D=this.pow(l,g),j=b;D.cmp(k)!==0;){for(var Y=D,oe=0;Y.cmp(k)!==0;oe++)Y=Y.redSqr();s(oe<j);var de=this.pow(M,new n(1).iushln(j-oe-1));V=V.redMul(de),M=de.redSqr(),D=D.redMul(M),j=oe}return V},F.prototype.invm=function(l){var p=l._invmp(this.m);return p.negative!==0?(p.negative=0,this.imod(p).redNeg()):this.imod(p)},F.prototype.pow=function(l,p){if(p.isZero())return new n(1).toRed(this);if(p.cmpn(1)===0)return l.clone();var E=4,g=new Array(1<<E);g[0]=new n(1).toRed(this),g[1]=l;for(var b=2;b<g.length;b++)g[b]=this.mul(g[b-1],l);var k=g[0],x=0,S=0,f=p.bitLength()%26;for(f===0&&(f=26),b=p.length-1;b>=0;b--){for(var M=p.words[b],V=f-1;V>=0;V--){var D=M>>V&1;if(k!==g[0]&&(k=this.sqr(k)),D===0&&x===0){S=0;continue}x<<=1,x|=D,S++,!(S!==E&&(b!==0||V!==0))&&(k=this.mul(k,g[x]),S=0,x=0)}f=26}return k},F.prototype.convertTo=function(l){var p=l.umod(this.m);return p===l?p.clone():p},F.prototype.convertFrom=function(l){var p=l.clone();return p.red=null,p},n.mont=function(l){return new G(l)};function G(l){F.call(this,l),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new n(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)}i(G,F),G.prototype.convertTo=function(l){return this.imod(l.ushln(this.shift))},G.prototype.convertFrom=function(l){var p=this.imod(l.mul(this.rinv));return p.red=null,p},G.prototype.imul=function(l,p){if(l.isZero()||p.isZero())return l.words[0]=0,l.length=1,l;var E=l.imul(p),g=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=E.isub(g).iushrn(this.shift),k=b;return b.cmp(this.m)>=0?k=b.isub(this.m):b.cmpn(0)<0&&(k=b.iadd(this.m)),k._forceRed(this)},G.prototype.mul=function(l,p){if(l.isZero()||p.isZero())return new n(0)._forceRed(this);var E=l.mul(p),g=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=E.isub(g).iushrn(this.shift),k=b;return b.cmp(this.m)>=0?k=b.isub(this.m):b.cmpn(0)<0&&(k=b.iadd(this.m)),k._forceRed(this)},G.prototype.invm=function(l){var p=this.imod(l._invmp(this.m).mul(this.r2));return p._forceRed(this)}})(typeof t>"u"||t,e)}),l6e=W((e,t)=>{m(),(function(r,o){"use strict";function s(l,p){if(!l)throw new Error(p||"Assertion failed")}function i(l,p){l.super_=p;var E=function(){};E.prototype=p.prototype,l.prototype=new E,l.prototype.constructor=l}function n(l,p,E){if(n.isBN(l))return l;this.negative=0,this.words=null,this.length=0,this.red=null,l!==null&&((p==="le"||p==="be")&&(E=p,p=10),this._init(l||0,p||10,E||"be"))}typeof r=="object"?r.exports=n:o.BN=n,n.BN=n,n.wordSize=26;var a;try{typeof window<"u"&&typeof window.Buffer<"u"?a=window.Buffer:a=Go().Buffer}catch{}n.isBN=function(l){return l instanceof n?!0:l!==null&&typeof l=="object"&&l.constructor.wordSize===n.wordSize&&Array.isArray(l.words)},n.max=function(l,p){return l.cmp(p)>0?l:p},n.min=function(l,p){return l.cmp(p)<0?l:p},n.prototype._init=function(l,p,E){if(typeof l=="number")return this._initNumber(l,p,E);if(typeof l=="object")return this._initArray(l,p,E);p==="hex"&&(p=16),s(p===(p|0)&&p>=2&&p<=36),l=l.toString().replace(/\s+/g,"");var g=0;l[0]==="-"&&(g++,this.negative=1),g<l.length&&(p===16?this._parseHex(l,g,E):(this._parseBase(l,p,g),E==="le"&&this._initArray(this.toArray(),p,E)))},n.prototype._initNumber=function(l,p,E){l<0&&(this.negative=1,l=-l),l<67108864?(this.words=[l&67108863],this.length=1):l<4503599627370496?(this.words=[l&67108863,l/67108864&67108863],this.length=2):(s(l<9007199254740992),this.words=[l&67108863,l/67108864&67108863,1],this.length=3),E==="le"&&this._initArray(this.toArray(),p,E)},n.prototype._initArray=function(l,p,E){if(s(typeof l.length=="number"),l.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(l.length/3),this.words=new Array(this.length);for(var g=0;g<this.length;g++)this.words[g]=0;var b,k,x=0;if(E==="be")for(g=l.length-1,b=0;g>=0;g-=3)k=l[g]|l[g-1]<<8|l[g-2]<<16,this.words[b]|=k<<x&67108863,this.words[b+1]=k>>>26-x&67108863,x+=24,x>=26&&(x-=26,b++);else if(E==="le")for(g=0,b=0;g<l.length;g+=3)k=l[g]|l[g+1]<<8|l[g+2]<<16,this.words[b]|=k<<x&67108863,this.words[b+1]=k>>>26-x&67108863,x+=24,x>=26&&(x-=26,b++);return this.strip()};function u(l,p){var E=l.charCodeAt(p);return E>=65&&E<=70?E-55:E>=97&&E<=102?E-87:E-48&15}function c(l,p,E){var g=u(l,E);return E-1>=p&&(g|=u(l,E-1)<<4),g}n.prototype._parseHex=function(l,p,E){this.length=Math.ceil((l.length-p)/6),this.words=new Array(this.length);for(var g=0;g<this.length;g++)this.words[g]=0;var b=0,k=0,x;if(E==="be")for(g=l.length-1;g>=p;g-=2)x=c(l,p,g)<<b,this.words[k]|=x&67108863,b>=18?(b-=18,k+=1,this.words[k]|=x>>>26):b+=8;else{var S=l.length-p;for(g=S%2===0?p+1:p;g<l.length;g+=2)x=c(l,p,g)<<b,this.words[k]|=x&67108863,b>=18?(b-=18,k+=1,this.words[k]|=x>>>26):b+=8}this.strip()};function d(l,p,E,g){for(var b=0,k=Math.min(l.length,E),x=p;x<k;x++){var S=l.charCodeAt(x)-48;b*=g,S>=49?b+=S-49+10:S>=17?b+=S-17+10:b+=S}return b}n.prototype._parseBase=function(l,p,E){this.words=[0],this.length=1;for(var g=0,b=1;b<=67108863;b*=p)g++;g--,b=b/p|0;for(var k=l.length-E,x=k%g,S=Math.min(k,k-x)+E,f=0,M=E;M<S;M+=g)f=d(l,M,M+g,p),this.imuln(b),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if(x!==0){var V=1;for(f=d(l,M,l.length,p),M=0;M<x;M++)V*=p;this.imuln(V),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}this.strip()},n.prototype.copy=function(l){l.words=new Array(this.length);for(var p=0;p<this.length;p++)l.words[p]=this.words[p];l.length=this.length,l.negative=this.negative,l.red=this.red},n.prototype.clone=function(){var l=new n(null);return this.copy(l),l},n.prototype._expand=function(l){for(;this.length<l;)this.words[this.length++]=0;return this},n.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},n.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},n.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var h=["","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"],y=[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],C=[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];n.prototype.toString=function(l,p){l=l||10,p=p|0||1;var E;if(l===16||l==="hex"){E="";for(var g=0,b=0,k=0;k<this.length;k++){var x=this.words[k],S=((x<<g|b)&16777215).toString(16);b=x>>>24-g&16777215,g+=2,g>=26&&(g-=26,k--),b!==0||k!==this.length-1?E=h[6-S.length]+S+E:E=S+E}for(b!==0&&(E=b.toString(16)+E);E.length%p!==0;)E="0"+E;return this.negative!==0&&(E="-"+E),E}if(l===(l|0)&&l>=2&&l<=36){var f=y[l],M=C[l];E="";var V=this.clone();for(V.negative=0;!V.isZero();){var D=V.modn(M).toString(l);V=V.idivn(M),V.isZero()?E=D+E:E=h[f-D.length]+D+E}for(this.isZero()&&(E="0"+E);E.length%p!==0;)E="0"+E;return this.negative!==0&&(E="-"+E),E}s(!1,"Base should be between 2 and 36")},n.prototype.toNumber=function(){var l=this.words[0];return this.length===2?l+=this.words[1]*67108864:this.length===3&&this.words[2]===1?l+=4503599627370496+this.words[1]*67108864:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-l:l},n.prototype.toJSON=function(){return this.toString(16)},n.prototype.toBuffer=function(l,p){return s(typeof a<"u"),this.toArrayLike(a,l,p)},n.prototype.toArray=function(l,p){return this.toArrayLike(Array,l,p)},n.prototype.toArrayLike=function(l,p,E){var g=this.byteLength(),b=E||Math.max(1,g);s(g<=b,"byte array longer than desired length"),s(b>0,"Requested array length <= 0"),this.strip();var k=p==="le",x=new l(b),S,f,M=this.clone();if(k){for(f=0;!M.isZero();f++)S=M.andln(255),M.iushrn(8),x[f]=S;for(;f<b;f++)x[f]=0}else{for(f=0;f<b-g;f++)x[f]=0;for(f=0;!M.isZero();f++)S=M.andln(255),M.iushrn(8),x[b-f-1]=S}return x},Math.clz32?n.prototype._countBits=function(l){return 32-Math.clz32(l)}:n.prototype._countBits=function(l){var p=l,E=0;return p>=4096&&(E+=13,p>>>=13),p>=64&&(E+=7,p>>>=7),p>=8&&(E+=4,p>>>=4),p>=2&&(E+=2,p>>>=2),E+p},n.prototype._zeroBits=function(l){if(l===0)return 26;var p=l,E=0;return p&8191||(E+=13,p>>>=13),p&127||(E+=7,p>>>=7),p&15||(E+=4,p>>>=4),p&3||(E+=2,p>>>=2),p&1||E++,E},n.prototype.bitLength=function(){var l=this.words[this.length-1],p=this._countBits(l);return(this.length-1)*26+p};function w(l){for(var p=new Array(l.bitLength()),E=0;E<p.length;E++){var g=E/26|0,b=E%26;p[E]=(l.words[g]&1<<b)>>>b}return p}n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var l=0,p=0;p<this.length;p++){var E=this._zeroBits(this.words[p]);if(l+=E,E!==26)break}return l},n.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},n.prototype.toTwos=function(l){return this.negative!==0?this.abs().inotn(l).iaddn(1):this.clone()},n.prototype.fromTwos=function(l){return this.testn(l-1)?this.notn(l).iaddn(1).ineg():this.clone()},n.prototype.isNeg=function(){return this.negative!==0},n.prototype.neg=function(){return this.clone().ineg()},n.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},n.prototype.iuor=function(l){for(;this.length<l.length;)this.words[this.length++]=0;for(var p=0;p<l.length;p++)this.words[p]=this.words[p]|l.words[p];return this.strip()},n.prototype.ior=function(l){return s((this.negative|l.negative)===0),this.iuor(l)},n.prototype.or=function(l){return this.length>l.length?this.clone().ior(l):l.clone().ior(this)},n.prototype.uor=function(l){return this.length>l.length?this.clone().iuor(l):l.clone().iuor(this)},n.prototype.iuand=function(l){var p;this.length>l.length?p=l:p=this;for(var E=0;E<p.length;E++)this.words[E]=this.words[E]&l.words[E];return this.length=p.length,this.strip()},n.prototype.iand=function(l){return s((this.negative|l.negative)===0),this.iuand(l)},n.prototype.and=function(l){return this.length>l.length?this.clone().iand(l):l.clone().iand(this)},n.prototype.uand=function(l){return this.length>l.length?this.clone().iuand(l):l.clone().iuand(this)},n.prototype.iuxor=function(l){var p,E;this.length>l.length?(p=this,E=l):(p=l,E=this);for(var g=0;g<E.length;g++)this.words[g]=p.words[g]^E.words[g];if(this!==p)for(;g<p.length;g++)this.words[g]=p.words[g];return this.length=p.length,this.strip()},n.prototype.ixor=function(l){return s((this.negative|l.negative)===0),this.iuxor(l)},n.prototype.xor=function(l){return this.length>l.length?this.clone().ixor(l):l.clone().ixor(this)},n.prototype.uxor=function(l){return this.length>l.length?this.clone().iuxor(l):l.clone().iuxor(this)},n.prototype.inotn=function(l){s(typeof l=="number"&&l>=0);var p=Math.ceil(l/26)|0,E=l%26;this._expand(p),E>0&&p--;for(var g=0;g<p;g++)this.words[g]=~this.words[g]&67108863;return E>0&&(this.words[g]=~this.words[g]&67108863>>26-E),this.strip()},n.prototype.notn=function(l){return this.clone().inotn(l)},n.prototype.setn=function(l,p){s(typeof l=="number"&&l>=0);var E=l/26|0,g=l%26;return this._expand(E+1),p?this.words[E]=this.words[E]|1<<g:this.words[E]=this.words[E]&~(1<<g),this.strip()},n.prototype.iadd=function(l){var p;if(this.negative!==0&&l.negative===0)return this.negative=0,p=this.isub(l),this.negative^=1,this._normSign();if(this.negative===0&&l.negative!==0)return l.negative=0,p=this.isub(l),l.negative=1,p._normSign();var E,g;this.length>l.length?(E=this,g=l):(E=l,g=this);for(var b=0,k=0;k<g.length;k++)p=(E.words[k]|0)+(g.words[k]|0)+b,this.words[k]=p&67108863,b=p>>>26;for(;b!==0&&k<E.length;k++)p=(E.words[k]|0)+b,this.words[k]=p&67108863,b=p>>>26;if(this.length=E.length,b!==0)this.words[this.length]=b,this.length++;else if(E!==this)for(;k<E.length;k++)this.words[k]=E.words[k];return this},n.prototype.add=function(l){var p;return l.negative!==0&&this.negative===0?(l.negative=0,p=this.sub(l),l.negative^=1,p):l.negative===0&&this.negative!==0?(this.negative=0,p=l.sub(this),this.negative=1,p):this.length>l.length?this.clone().iadd(l):l.clone().iadd(this)},n.prototype.isub=function(l){if(l.negative!==0){l.negative=0;var p=this.iadd(l);return l.negative=1,p._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(l),this.negative=1,this._normSign();var E=this.cmp(l);if(E===0)return this.negative=0,this.length=1,this.words[0]=0,this;var g,b;E>0?(g=this,b=l):(g=l,b=this);for(var k=0,x=0;x<b.length;x++)p=(g.words[x]|0)-(b.words[x]|0)+k,k=p>>26,this.words[x]=p&67108863;for(;k!==0&&x<g.length;x++)p=(g.words[x]|0)+k,k=p>>26,this.words[x]=p&67108863;if(k===0&&x<g.length&&g!==this)for(;x<g.length;x++)this.words[x]=g.words[x];return this.length=Math.max(this.length,x),g!==this&&(this.negative=1),this.strip()},n.prototype.sub=function(l){return this.clone().isub(l)};function T(l,p,E){E.negative=p.negative^l.negative;var g=l.length+p.length|0;E.length=g,g=g-1|0;var b=l.words[0]|0,k=p.words[0]|0,x=b*k,S=x&67108863,f=x/67108864|0;E.words[0]=S;for(var M=1;M<g;M++){for(var V=f>>>26,D=f&67108863,j=Math.min(M,p.length-1),Y=Math.max(0,M-l.length+1);Y<=j;Y++){var oe=M-Y|0;b=l.words[oe]|0,k=p.words[Y]|0,x=b*k+D,V+=x/67108864|0,D=x&67108863}E.words[M]=D|0,f=V|0}return f!==0?E.words[M]=f|0:E.length--,E.strip()}var A=function(l,p,E){var g=l.words,b=p.words,k=E.words,x=0,S,f,M,V=g[0]|0,D=V&8191,j=V>>>13,Y=g[1]|0,oe=Y&8191,de=Y>>>13,ue=g[2]|0,ae=ue&8191,q=ue>>>13,ne=g[3]|0,me=ne&8191,ve=ne>>>13,ge=g[4]|0,ce=ge&8191,ee=ge>>>13,fe=g[5]|0,ie=fe&8191,re=fe>>>13,Oe=g[6]|0,Pe=Oe&8191,Ne=Oe>>>13,Xe=g[7]|0,Je=Xe&8191,ft=Xe>>>13,Kt=g[8]|0,wt=Kt&8191,Ie=Kt>>>13,it=g[9]|0,Ye=it&8191,et=it>>>13,Gt=b[0]|0,It=Gt&8191,Rt=Gt>>>13,_r=b[1]|0,jt=_r&8191,Fe=_r>>>13,Pr=b[2]|0,$t=Pr&8191,Qt=Pr>>>13,At=b[3]|0,ur=At&8191,tr=At>>>13,Vt=b[4]|0,bt=Vt&8191,kt=Vt>>>13,er=b[5]|0,Et=er&8191,qt=er>>>13,Hr=b[6]|0,_t=Hr&8191,Wt=Hr>>>13,qr=b[7]|0,Ce=qr&8191,_e=qr>>>13,Ze=b[8]|0,he=Ze&8191,Ke=Ze>>>13,Ht=b[9]|0,yt=Ht&8191,Ot=Ht>>>13;E.negative=l.negative^p.negative,E.length=19,S=Math.imul(D,It),f=Math.imul(D,Rt),f=f+Math.imul(j,It)|0,M=Math.imul(j,Rt);var hr=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(hr>>>26)|0,hr&=67108863,S=Math.imul(oe,It),f=Math.imul(oe,Rt),f=f+Math.imul(de,It)|0,M=Math.imul(de,Rt),S=S+Math.imul(D,jt)|0,f=f+Math.imul(D,Fe)|0,f=f+Math.imul(j,jt)|0,M=M+Math.imul(j,Fe)|0;var Br=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Br>>>26)|0,Br&=67108863,S=Math.imul(ae,It),f=Math.imul(ae,Rt),f=f+Math.imul(q,It)|0,M=Math.imul(q,Rt),S=S+Math.imul(oe,jt)|0,f=f+Math.imul(oe,Fe)|0,f=f+Math.imul(de,jt)|0,M=M+Math.imul(de,Fe)|0,S=S+Math.imul(D,$t)|0,f=f+Math.imul(D,Qt)|0,f=f+Math.imul(j,$t)|0,M=M+Math.imul(j,Qt)|0;var Er=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Er>>>26)|0,Er&=67108863,S=Math.imul(me,It),f=Math.imul(me,Rt),f=f+Math.imul(ve,It)|0,M=Math.imul(ve,Rt),S=S+Math.imul(ae,jt)|0,f=f+Math.imul(ae,Fe)|0,f=f+Math.imul(q,jt)|0,M=M+Math.imul(q,Fe)|0,S=S+Math.imul(oe,$t)|0,f=f+Math.imul(oe,Qt)|0,f=f+Math.imul(de,$t)|0,M=M+Math.imul(de,Qt)|0,S=S+Math.imul(D,ur)|0,f=f+Math.imul(D,tr)|0,f=f+Math.imul(j,ur)|0,M=M+Math.imul(j,tr)|0;var Qe=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,S=Math.imul(ce,It),f=Math.imul(ce,Rt),f=f+Math.imul(ee,It)|0,M=Math.imul(ee,Rt),S=S+Math.imul(me,jt)|0,f=f+Math.imul(me,Fe)|0,f=f+Math.imul(ve,jt)|0,M=M+Math.imul(ve,Fe)|0,S=S+Math.imul(ae,$t)|0,f=f+Math.imul(ae,Qt)|0,f=f+Math.imul(q,$t)|0,M=M+Math.imul(q,Qt)|0,S=S+Math.imul(oe,ur)|0,f=f+Math.imul(oe,tr)|0,f=f+Math.imul(de,ur)|0,M=M+Math.imul(de,tr)|0,S=S+Math.imul(D,bt)|0,f=f+Math.imul(D,kt)|0,f=f+Math.imul(j,bt)|0,M=M+Math.imul(j,kt)|0;var mt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(mt>>>26)|0,mt&=67108863,S=Math.imul(ie,It),f=Math.imul(ie,Rt),f=f+Math.imul(re,It)|0,M=Math.imul(re,Rt),S=S+Math.imul(ce,jt)|0,f=f+Math.imul(ce,Fe)|0,f=f+Math.imul(ee,jt)|0,M=M+Math.imul(ee,Fe)|0,S=S+Math.imul(me,$t)|0,f=f+Math.imul(me,Qt)|0,f=f+Math.imul(ve,$t)|0,M=M+Math.imul(ve,Qt)|0,S=S+Math.imul(ae,ur)|0,f=f+Math.imul(ae,tr)|0,f=f+Math.imul(q,ur)|0,M=M+Math.imul(q,tr)|0,S=S+Math.imul(oe,bt)|0,f=f+Math.imul(oe,kt)|0,f=f+Math.imul(de,bt)|0,M=M+Math.imul(de,kt)|0,S=S+Math.imul(D,Et)|0,f=f+Math.imul(D,qt)|0,f=f+Math.imul(j,Et)|0,M=M+Math.imul(j,qt)|0;var Ue=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Ue>>>26)|0,Ue&=67108863,S=Math.imul(Pe,It),f=Math.imul(Pe,Rt),f=f+Math.imul(Ne,It)|0,M=Math.imul(Ne,Rt),S=S+Math.imul(ie,jt)|0,f=f+Math.imul(ie,Fe)|0,f=f+Math.imul(re,jt)|0,M=M+Math.imul(re,Fe)|0,S=S+Math.imul(ce,$t)|0,f=f+Math.imul(ce,Qt)|0,f=f+Math.imul(ee,$t)|0,M=M+Math.imul(ee,Qt)|0,S=S+Math.imul(me,ur)|0,f=f+Math.imul(me,tr)|0,f=f+Math.imul(ve,ur)|0,M=M+Math.imul(ve,tr)|0,S=S+Math.imul(ae,bt)|0,f=f+Math.imul(ae,kt)|0,f=f+Math.imul(q,bt)|0,M=M+Math.imul(q,kt)|0,S=S+Math.imul(oe,Et)|0,f=f+Math.imul(oe,qt)|0,f=f+Math.imul(de,Et)|0,M=M+Math.imul(de,qt)|0,S=S+Math.imul(D,_t)|0,f=f+Math.imul(D,Wt)|0,f=f+Math.imul(j,_t)|0,M=M+Math.imul(j,Wt)|0;var Ge=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,S=Math.imul(Je,It),f=Math.imul(Je,Rt),f=f+Math.imul(ft,It)|0,M=Math.imul(ft,Rt),S=S+Math.imul(Pe,jt)|0,f=f+Math.imul(Pe,Fe)|0,f=f+Math.imul(Ne,jt)|0,M=M+Math.imul(Ne,Fe)|0,S=S+Math.imul(ie,$t)|0,f=f+Math.imul(ie,Qt)|0,f=f+Math.imul(re,$t)|0,M=M+Math.imul(re,Qt)|0,S=S+Math.imul(ce,ur)|0,f=f+Math.imul(ce,tr)|0,f=f+Math.imul(ee,ur)|0,M=M+Math.imul(ee,tr)|0,S=S+Math.imul(me,bt)|0,f=f+Math.imul(me,kt)|0,f=f+Math.imul(ve,bt)|0,M=M+Math.imul(ve,kt)|0,S=S+Math.imul(ae,Et)|0,f=f+Math.imul(ae,qt)|0,f=f+Math.imul(q,Et)|0,M=M+Math.imul(q,qt)|0,S=S+Math.imul(oe,_t)|0,f=f+Math.imul(oe,Wt)|0,f=f+Math.imul(de,_t)|0,M=M+Math.imul(de,Wt)|0,S=S+Math.imul(D,Ce)|0,f=f+Math.imul(D,_e)|0,f=f+Math.imul(j,Ce)|0,M=M+Math.imul(j,_e)|0;var Me=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Me>>>26)|0,Me&=67108863,S=Math.imul(wt,It),f=Math.imul(wt,Rt),f=f+Math.imul(Ie,It)|0,M=Math.imul(Ie,Rt),S=S+Math.imul(Je,jt)|0,f=f+Math.imul(Je,Fe)|0,f=f+Math.imul(ft,jt)|0,M=M+Math.imul(ft,Fe)|0,S=S+Math.imul(Pe,$t)|0,f=f+Math.imul(Pe,Qt)|0,f=f+Math.imul(Ne,$t)|0,M=M+Math.imul(Ne,Qt)|0,S=S+Math.imul(ie,ur)|0,f=f+Math.imul(ie,tr)|0,f=f+Math.imul(re,ur)|0,M=M+Math.imul(re,tr)|0,S=S+Math.imul(ce,bt)|0,f=f+Math.imul(ce,kt)|0,f=f+Math.imul(ee,bt)|0,M=M+Math.imul(ee,kt)|0,S=S+Math.imul(me,Et)|0,f=f+Math.imul(me,qt)|0,f=f+Math.imul(ve,Et)|0,M=M+Math.imul(ve,qt)|0,S=S+Math.imul(ae,_t)|0,f=f+Math.imul(ae,Wt)|0,f=f+Math.imul(q,_t)|0,M=M+Math.imul(q,Wt)|0,S=S+Math.imul(oe,Ce)|0,f=f+Math.imul(oe,_e)|0,f=f+Math.imul(de,Ce)|0,M=M+Math.imul(de,_e)|0,S=S+Math.imul(D,he)|0,f=f+Math.imul(D,Ke)|0,f=f+Math.imul(j,he)|0,M=M+Math.imul(j,Ke)|0;var ze=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ze>>>26)|0,ze&=67108863,S=Math.imul(Ye,It),f=Math.imul(Ye,Rt),f=f+Math.imul(et,It)|0,M=Math.imul(et,Rt),S=S+Math.imul(wt,jt)|0,f=f+Math.imul(wt,Fe)|0,f=f+Math.imul(Ie,jt)|0,M=M+Math.imul(Ie,Fe)|0,S=S+Math.imul(Je,$t)|0,f=f+Math.imul(Je,Qt)|0,f=f+Math.imul(ft,$t)|0,M=M+Math.imul(ft,Qt)|0,S=S+Math.imul(Pe,ur)|0,f=f+Math.imul(Pe,tr)|0,f=f+Math.imul(Ne,ur)|0,M=M+Math.imul(Ne,tr)|0,S=S+Math.imul(ie,bt)|0,f=f+Math.imul(ie,kt)|0,f=f+Math.imul(re,bt)|0,M=M+Math.imul(re,kt)|0,S=S+Math.imul(ce,Et)|0,f=f+Math.imul(ce,qt)|0,f=f+Math.imul(ee,Et)|0,M=M+Math.imul(ee,qt)|0,S=S+Math.imul(me,_t)|0,f=f+Math.imul(me,Wt)|0,f=f+Math.imul(ve,_t)|0,M=M+Math.imul(ve,Wt)|0,S=S+Math.imul(ae,Ce)|0,f=f+Math.imul(ae,_e)|0,f=f+Math.imul(q,Ce)|0,M=M+Math.imul(q,_e)|0,S=S+Math.imul(oe,he)|0,f=f+Math.imul(oe,Ke)|0,f=f+Math.imul(de,he)|0,M=M+Math.imul(de,Ke)|0,S=S+Math.imul(D,yt)|0,f=f+Math.imul(D,Ot)|0,f=f+Math.imul(j,yt)|0,M=M+Math.imul(j,Ot)|0;var Le=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Le>>>26)|0,Le&=67108863,S=Math.imul(Ye,jt),f=Math.imul(Ye,Fe),f=f+Math.imul(et,jt)|0,M=Math.imul(et,Fe),S=S+Math.imul(wt,$t)|0,f=f+Math.imul(wt,Qt)|0,f=f+Math.imul(Ie,$t)|0,M=M+Math.imul(Ie,Qt)|0,S=S+Math.imul(Je,ur)|0,f=f+Math.imul(Je,tr)|0,f=f+Math.imul(ft,ur)|0,M=M+Math.imul(ft,tr)|0,S=S+Math.imul(Pe,bt)|0,f=f+Math.imul(Pe,kt)|0,f=f+Math.imul(Ne,bt)|0,M=M+Math.imul(Ne,kt)|0,S=S+Math.imul(ie,Et)|0,f=f+Math.imul(ie,qt)|0,f=f+Math.imul(re,Et)|0,M=M+Math.imul(re,qt)|0,S=S+Math.imul(ce,_t)|0,f=f+Math.imul(ce,Wt)|0,f=f+Math.imul(ee,_t)|0,M=M+Math.imul(ee,Wt)|0,S=S+Math.imul(me,Ce)|0,f=f+Math.imul(me,_e)|0,f=f+Math.imul(ve,Ce)|0,M=M+Math.imul(ve,_e)|0,S=S+Math.imul(ae,he)|0,f=f+Math.imul(ae,Ke)|0,f=f+Math.imul(q,he)|0,M=M+Math.imul(q,Ke)|0,S=S+Math.imul(oe,yt)|0,f=f+Math.imul(oe,Ot)|0,f=f+Math.imul(de,yt)|0,M=M+Math.imul(de,Ot)|0;var rt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(rt>>>26)|0,rt&=67108863,S=Math.imul(Ye,$t),f=Math.imul(Ye,Qt),f=f+Math.imul(et,$t)|0,M=Math.imul(et,Qt),S=S+Math.imul(wt,ur)|0,f=f+Math.imul(wt,tr)|0,f=f+Math.imul(Ie,ur)|0,M=M+Math.imul(Ie,tr)|0,S=S+Math.imul(Je,bt)|0,f=f+Math.imul(Je,kt)|0,f=f+Math.imul(ft,bt)|0,M=M+Math.imul(ft,kt)|0,S=S+Math.imul(Pe,Et)|0,f=f+Math.imul(Pe,qt)|0,f=f+Math.imul(Ne,Et)|0,M=M+Math.imul(Ne,qt)|0,S=S+Math.imul(ie,_t)|0,f=f+Math.imul(ie,Wt)|0,f=f+Math.imul(re,_t)|0,M=M+Math.imul(re,Wt)|0,S=S+Math.imul(ce,Ce)|0,f=f+Math.imul(ce,_e)|0,f=f+Math.imul(ee,Ce)|0,M=M+Math.imul(ee,_e)|0,S=S+Math.imul(me,he)|0,f=f+Math.imul(me,Ke)|0,f=f+Math.imul(ve,he)|0,M=M+Math.imul(ve,Ke)|0,S=S+Math.imul(ae,yt)|0,f=f+Math.imul(ae,Ot)|0,f=f+Math.imul(q,yt)|0,M=M+Math.imul(q,Ot)|0;var ht=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ht>>>26)|0,ht&=67108863,S=Math.imul(Ye,ur),f=Math.imul(Ye,tr),f=f+Math.imul(et,ur)|0,M=Math.imul(et,tr),S=S+Math.imul(wt,bt)|0,f=f+Math.imul(wt,kt)|0,f=f+Math.imul(Ie,bt)|0,M=M+Math.imul(Ie,kt)|0,S=S+Math.imul(Je,Et)|0,f=f+Math.imul(Je,qt)|0,f=f+Math.imul(ft,Et)|0,M=M+Math.imul(ft,qt)|0,S=S+Math.imul(Pe,_t)|0,f=f+Math.imul(Pe,Wt)|0,f=f+Math.imul(Ne,_t)|0,M=M+Math.imul(Ne,Wt)|0,S=S+Math.imul(ie,Ce)|0,f=f+Math.imul(ie,_e)|0,f=f+Math.imul(re,Ce)|0,M=M+Math.imul(re,_e)|0,S=S+Math.imul(ce,he)|0,f=f+Math.imul(ce,Ke)|0,f=f+Math.imul(ee,he)|0,M=M+Math.imul(ee,Ke)|0,S=S+Math.imul(me,yt)|0,f=f+Math.imul(me,Ot)|0,f=f+Math.imul(ve,yt)|0,M=M+Math.imul(ve,Ot)|0;var ut=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ut>>>26)|0,ut&=67108863,S=Math.imul(Ye,bt),f=Math.imul(Ye,kt),f=f+Math.imul(et,bt)|0,M=Math.imul(et,kt),S=S+Math.imul(wt,Et)|0,f=f+Math.imul(wt,qt)|0,f=f+Math.imul(Ie,Et)|0,M=M+Math.imul(Ie,qt)|0,S=S+Math.imul(Je,_t)|0,f=f+Math.imul(Je,Wt)|0,f=f+Math.imul(ft,_t)|0,M=M+Math.imul(ft,Wt)|0,S=S+Math.imul(Pe,Ce)|0,f=f+Math.imul(Pe,_e)|0,f=f+Math.imul(Ne,Ce)|0,M=M+Math.imul(Ne,_e)|0,S=S+Math.imul(ie,he)|0,f=f+Math.imul(ie,Ke)|0,f=f+Math.imul(re,he)|0,M=M+Math.imul(re,Ke)|0,S=S+Math.imul(ce,yt)|0,f=f+Math.imul(ce,Ot)|0,f=f+Math.imul(ee,yt)|0,M=M+Math.imul(ee,Ot)|0;var Dt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,S=Math.imul(Ye,Et),f=Math.imul(Ye,qt),f=f+Math.imul(et,Et)|0,M=Math.imul(et,qt),S=S+Math.imul(wt,_t)|0,f=f+Math.imul(wt,Wt)|0,f=f+Math.imul(Ie,_t)|0,M=M+Math.imul(Ie,Wt)|0,S=S+Math.imul(Je,Ce)|0,f=f+Math.imul(Je,_e)|0,f=f+Math.imul(ft,Ce)|0,M=M+Math.imul(ft,_e)|0,S=S+Math.imul(Pe,he)|0,f=f+Math.imul(Pe,Ke)|0,f=f+Math.imul(Ne,he)|0,M=M+Math.imul(Ne,Ke)|0,S=S+Math.imul(ie,yt)|0,f=f+Math.imul(ie,Ot)|0,f=f+Math.imul(re,yt)|0,M=M+Math.imul(re,Ot)|0;var He=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(He>>>26)|0,He&=67108863,S=Math.imul(Ye,_t),f=Math.imul(Ye,Wt),f=f+Math.imul(et,_t)|0,M=Math.imul(et,Wt),S=S+Math.imul(wt,Ce)|0,f=f+Math.imul(wt,_e)|0,f=f+Math.imul(Ie,Ce)|0,M=M+Math.imul(Ie,_e)|0,S=S+Math.imul(Je,he)|0,f=f+Math.imul(Je,Ke)|0,f=f+Math.imul(ft,he)|0,M=M+Math.imul(ft,Ke)|0,S=S+Math.imul(Pe,yt)|0,f=f+Math.imul(Pe,Ot)|0,f=f+Math.imul(Ne,yt)|0,M=M+Math.imul(Ne,Ot)|0;var nt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(nt>>>26)|0,nt&=67108863,S=Math.imul(Ye,Ce),f=Math.imul(Ye,_e),f=f+Math.imul(et,Ce)|0,M=Math.imul(et,_e),S=S+Math.imul(wt,he)|0,f=f+Math.imul(wt,Ke)|0,f=f+Math.imul(Ie,he)|0,M=M+Math.imul(Ie,Ke)|0,S=S+Math.imul(Je,yt)|0,f=f+Math.imul(Je,Ot)|0,f=f+Math.imul(ft,yt)|0,M=M+Math.imul(ft,Ot)|0;var at=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(at>>>26)|0,at&=67108863,S=Math.imul(Ye,he),f=Math.imul(Ye,Ke),f=f+Math.imul(et,he)|0,M=Math.imul(et,Ke),S=S+Math.imul(wt,yt)|0,f=f+Math.imul(wt,Ot)|0,f=f+Math.imul(Ie,yt)|0,M=M+Math.imul(Ie,Ot)|0;var Tt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,S=Math.imul(Ye,yt),f=Math.imul(Ye,Ot),f=f+Math.imul(et,yt)|0,M=Math.imul(et,Ot);var pt=(x+S|0)+((f&8191)<<13)|0;return x=(M+(f>>>13)|0)+(pt>>>26)|0,pt&=67108863,k[0]=hr,k[1]=Br,k[2]=Er,k[3]=Qe,k[4]=mt,k[5]=Ue,k[6]=Ge,k[7]=Me,k[8]=ze,k[9]=Le,k[10]=rt,k[11]=ht,k[12]=ut,k[13]=Dt,k[14]=He,k[15]=nt,k[16]=at,k[17]=Tt,k[18]=pt,x!==0&&(k[19]=x,E.length++),E};Math.imul||(A=T);function O(l,p,E){E.negative=p.negative^l.negative,E.length=l.length+p.length;for(var g=0,b=0,k=0;k<E.length-1;k++){var x=b;b=0;for(var S=g&67108863,f=Math.min(k,p.length-1),M=Math.max(0,k-l.length+1);M<=f;M++){var V=k-M,D=l.words[V]|0,j=p.words[M]|0,Y=D*j,oe=Y&67108863;x=x+(Y/67108864|0)|0,oe=oe+S|0,S=oe&67108863,x=x+(oe>>>26)|0,b+=x>>>26,x&=67108863}E.words[k]=S,g=x,x=b}return g!==0?E.words[k]=g:E.length--,E.strip()}function v(l,p,E){var g=new B;return g.mulp(l,p,E)}n.prototype.mulTo=function(l,p){var E,g=this.length+l.length;return this.length===10&&l.length===10?E=A(this,l,p):g<63?E=T(this,l,p):g<1024?E=O(this,l,p):E=v(this,l,p),E};function B(l,p){this.x=l,this.y=p}B.prototype.makeRBT=function(l){for(var p=new Array(l),E=n.prototype._countBits(l)-1,g=0;g<l;g++)p[g]=this.revBin(g,E,l);return p},B.prototype.revBin=function(l,p,E){if(l===0||l===E-1)return l;for(var g=0,b=0;b<p;b++)g|=(l&1)<<p-b-1,l>>=1;return g},B.prototype.permute=function(l,p,E,g,b,k){for(var x=0;x<k;x++)g[x]=p[l[x]],b[x]=E[l[x]]},B.prototype.transform=function(l,p,E,g,b,k){this.permute(k,l,p,E,g,b);for(var x=1;x<b;x<<=1)for(var S=x<<1,f=Math.cos(2*Math.PI/S),M=Math.sin(2*Math.PI/S),V=0;V<b;V+=S)for(var D=f,j=M,Y=0;Y<x;Y++){var oe=E[V+Y],de=g[V+Y],ue=E[V+Y+x],ae=g[V+Y+x],q=D*ue-j*ae;ae=D*ae+j*ue,ue=q,E[V+Y]=oe+ue,g[V+Y]=de+ae,E[V+Y+x]=oe-ue,g[V+Y+x]=de-ae,Y!==S&&(q=f*D-M*j,j=f*j+M*D,D=q)}},B.prototype.guessLen13b=function(l,p){var E=Math.max(p,l)|1,g=E&1,b=0;for(E=E/2|0;E;E=E>>>1)b++;return 1<<b+1+g},B.prototype.conjugate=function(l,p,E){if(!(E<=1))for(var g=0;g<E/2;g++){var b=l[g];l[g]=l[E-g-1],l[E-g-1]=b,b=p[g],p[g]=-p[E-g-1],p[E-g-1]=-b}},B.prototype.normalize13b=function(l,p){for(var E=0,g=0;g<p/2;g++){var b=Math.round(l[2*g+1]/p)*8192+Math.round(l[2*g]/p)+E;l[g]=b&67108863,b<67108864?E=0:E=b/67108864|0}return l},B.prototype.convert13b=function(l,p,E,g){for(var b=0,k=0;k<p;k++)b=b+(l[k]|0),E[2*k]=b&8191,b=b>>>13,E[2*k+1]=b&8191,b=b>>>13;for(k=2*p;k<g;++k)E[k]=0;s(b===0),s((b&-8192)===0)},B.prototype.stub=function(l){for(var p=new Array(l),E=0;E<l;E++)p[E]=0;return p},B.prototype.mulp=function(l,p,E){var g=2*this.guessLen13b(l.length,p.length),b=this.makeRBT(g),k=this.stub(g),x=new Array(g),S=new Array(g),f=new Array(g),M=new Array(g),V=new Array(g),D=new Array(g),j=E.words;j.length=g,this.convert13b(l.words,l.length,x,g),this.convert13b(p.words,p.length,M,g),this.transform(x,k,S,f,g,b),this.transform(M,k,V,D,g,b);for(var Y=0;Y<g;Y++){var oe=S[Y]*V[Y]-f[Y]*D[Y];f[Y]=S[Y]*D[Y]+f[Y]*V[Y],S[Y]=oe}return this.conjugate(S,f,g),this.transform(S,f,j,k,g,b),this.conjugate(j,k,g),this.normalize13b(j,g),E.negative=l.negative^p.negative,E.length=l.length+p.length,E.strip()},n.prototype.mul=function(l){var p=new n(null);return p.words=new Array(this.length+l.length),this.mulTo(l,p)},n.prototype.mulf=function(l){var p=new n(null);return p.words=new Array(this.length+l.length),v(this,l,p)},n.prototype.imul=function(l){return this.clone().mulTo(l,this)},n.prototype.imuln=function(l){s(typeof l=="number"),s(l<67108864);for(var p=0,E=0;E<this.length;E++){var g=(this.words[E]|0)*l,b=(g&67108863)+(p&67108863);p>>=26,p+=g/67108864|0,p+=b>>>26,this.words[E]=b&67108863}return p!==0&&(this.words[E]=p,this.length++),this},n.prototype.muln=function(l){return this.clone().imuln(l)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(l){var p=w(l);if(p.length===0)return new n(1);for(var E=this,g=0;g<p.length&&p[g]===0;g++,E=E.sqr());if(++g<p.length)for(var b=E.sqr();g<p.length;g++,b=b.sqr())p[g]!==0&&(E=E.mul(b));return E},n.prototype.iushln=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26,g=67108863>>>26-p<<26-p,b;if(p!==0){var k=0;for(b=0;b<this.length;b++){var x=this.words[b]&g,S=(this.words[b]|0)-x<<p;this.words[b]=S|k,k=x>>>26-p}k&&(this.words[b]=k,this.length++)}if(E!==0){for(b=this.length-1;b>=0;b--)this.words[b+E]=this.words[b];for(b=0;b<E;b++)this.words[b]=0;this.length+=E}return this.strip()},n.prototype.ishln=function(l){return s(this.negative===0),this.iushln(l)},n.prototype.iushrn=function(l,p,E){s(typeof l=="number"&&l>=0);var g;p?g=(p-p%26)/26:g=0;var b=l%26,k=Math.min((l-b)/26,this.length),x=67108863^67108863>>>b<<b,S=E;if(g-=k,g=Math.max(0,g),S){for(var f=0;f<k;f++)S.words[f]=this.words[f];S.length=k}if(k!==0)if(this.length>k)for(this.length-=k,f=0;f<this.length;f++)this.words[f]=this.words[f+k];else this.words[0]=0,this.length=1;var M=0;for(f=this.length-1;f>=0&&(M!==0||f>=g);f--){var V=this.words[f]|0;this.words[f]=M<<26-b|V>>>b,M=V&x}return S&&M!==0&&(S.words[S.length++]=M),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},n.prototype.ishrn=function(l,p,E){return s(this.negative===0),this.iushrn(l,p,E)},n.prototype.shln=function(l){return this.clone().ishln(l)},n.prototype.ushln=function(l){return this.clone().iushln(l)},n.prototype.shrn=function(l){return this.clone().ishrn(l)},n.prototype.ushrn=function(l){return this.clone().iushrn(l)},n.prototype.testn=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26,g=1<<p;if(this.length<=E)return!1;var b=this.words[E];return!!(b&g)},n.prototype.imaskn=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=E)return this;if(p!==0&&E++,this.length=Math.min(E,this.length),p!==0){var g=67108863^67108863>>>p<<p;this.words[this.length-1]&=g}return this.strip()},n.prototype.maskn=function(l){return this.clone().imaskn(l)},n.prototype.iaddn=function(l){return s(typeof l=="number"),s(l<67108864),l<0?this.isubn(-l):this.negative!==0?this.length===1&&(this.words[0]|0)<l?(this.words[0]=l-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(l),this.negative=1,this):this._iaddn(l)},n.prototype._iaddn=function(l){this.words[0]+=l;for(var p=0;p<this.length&&this.words[p]>=67108864;p++)this.words[p]-=67108864,p===this.length-1?this.words[p+1]=1:this.words[p+1]++;return this.length=Math.max(this.length,p+1),this},n.prototype.isubn=function(l){if(s(typeof l=="number"),s(l<67108864),l<0)return this.iaddn(-l);if(this.negative!==0)return this.negative=0,this.iaddn(l),this.negative=1,this;if(this.words[0]-=l,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var p=0;p<this.length&&this.words[p]<0;p++)this.words[p]+=67108864,this.words[p+1]-=1;return this.strip()},n.prototype.addn=function(l){return this.clone().iaddn(l)},n.prototype.subn=function(l){return this.clone().isubn(l)},n.prototype.iabs=function(){return this.negative=0,this},n.prototype.abs=function(){return this.clone().iabs()},n.prototype._ishlnsubmul=function(l,p,E){var g=l.length+E,b;this._expand(g);var k,x=0;for(b=0;b<l.length;b++){k=(this.words[b+E]|0)+x;var S=(l.words[b]|0)*p;k-=S&67108863,x=(k>>26)-(S/67108864|0),this.words[b+E]=k&67108863}for(;b<this.length-E;b++)k=(this.words[b+E]|0)+x,x=k>>26,this.words[b+E]=k&67108863;if(x===0)return this.strip();for(s(x===-1),x=0,b=0;b<this.length;b++)k=-(this.words[b]|0)+x,x=k>>26,this.words[b]=k&67108863;return this.negative=1,this.strip()},n.prototype._wordDiv=function(l,p){var E=this.length-l.length,g=this.clone(),b=l,k=b.words[b.length-1]|0,x=this._countBits(k);E=26-x,E!==0&&(b=b.ushln(E),g.iushln(E),k=b.words[b.length-1]|0);var S=g.length-b.length,f;if(p!=="mod"){f=new n(null),f.length=S+1,f.words=new Array(f.length);for(var M=0;M<f.length;M++)f.words[M]=0}var V=g.clone()._ishlnsubmul(b,1,S);V.negative===0&&(g=V,f&&(f.words[S]=1));for(var D=S-1;D>=0;D--){var j=(g.words[b.length+D]|0)*67108864+(g.words[b.length+D-1]|0);for(j=Math.min(j/k|0,67108863),g._ishlnsubmul(b,j,D);g.negative!==0;)j--,g.negative=0,g._ishlnsubmul(b,1,D),g.isZero()||(g.negative^=1);f&&(f.words[D]=j)}return f&&f.strip(),g.strip(),p!=="div"&&E!==0&&g.iushrn(E),{div:f||null,mod:g}},n.prototype.divmod=function(l,p,E){if(s(!l.isZero()),this.isZero())return{div:new n(0),mod:new n(0)};var g,b,k;return this.negative!==0&&l.negative===0?(k=this.neg().divmod(l,p),p!=="mod"&&(g=k.div.neg()),p!=="div"&&(b=k.mod.neg(),E&&b.negative!==0&&b.iadd(l)),{div:g,mod:b}):this.negative===0&&l.negative!==0?(k=this.divmod(l.neg(),p),p!=="mod"&&(g=k.div.neg()),{div:g,mod:k.mod}):this.negative&l.negative?(k=this.neg().divmod(l.neg(),p),p!=="div"&&(b=k.mod.neg(),E&&b.negative!==0&&b.isub(l)),{div:k.div,mod:b}):l.length>this.length||this.cmp(l)<0?{div:new n(0),mod:this}:l.length===1?p==="div"?{div:this.divn(l.words[0]),mod:null}:p==="mod"?{div:null,mod:new n(this.modn(l.words[0]))}:{div:this.divn(l.words[0]),mod:new n(this.modn(l.words[0]))}:this._wordDiv(l,p)},n.prototype.div=function(l){return this.divmod(l,"div",!1).div},n.prototype.mod=function(l){return this.divmod(l,"mod",!1).mod},n.prototype.umod=function(l){return this.divmod(l,"mod",!0).mod},n.prototype.divRound=function(l){var p=this.divmod(l);if(p.mod.isZero())return p.div;var E=p.div.negative!==0?p.mod.isub(l):p.mod,g=l.ushrn(1),b=l.andln(1),k=E.cmp(g);return k<0||b===1&&k===0?p.div:p.div.negative!==0?p.div.isubn(1):p.div.iaddn(1)},n.prototype.modn=function(l){s(l<=67108863);for(var p=(1<<26)%l,E=0,g=this.length-1;g>=0;g--)E=(p*E+(this.words[g]|0))%l;return E},n.prototype.idivn=function(l){s(l<=67108863);for(var p=0,E=this.length-1;E>=0;E--){var g=(this.words[E]|0)+p*67108864;this.words[E]=g/l|0,p=g%l}return this.strip()},n.prototype.divn=function(l){return this.clone().idivn(l)},n.prototype.egcd=function(l){s(l.negative===0),s(!l.isZero());var p=this,E=l.clone();p.negative!==0?p=p.umod(l):p=p.clone();for(var g=new n(1),b=new n(0),k=new n(0),x=new n(1),S=0;p.isEven()&&E.isEven();)p.iushrn(1),E.iushrn(1),++S;for(var f=E.clone(),M=p.clone();!p.isZero();){for(var V=0,D=1;!(p.words[0]&D)&&V<26;++V,D<<=1);if(V>0)for(p.iushrn(V);V-- >0;)(g.isOdd()||b.isOdd())&&(g.iadd(f),b.isub(M)),g.iushrn(1),b.iushrn(1);for(var j=0,Y=1;!(E.words[0]&Y)&&j<26;++j,Y<<=1);if(j>0)for(E.iushrn(j);j-- >0;)(k.isOdd()||x.isOdd())&&(k.iadd(f),x.isub(M)),k.iushrn(1),x.iushrn(1);p.cmp(E)>=0?(p.isub(E),g.isub(k),b.isub(x)):(E.isub(p),k.isub(g),x.isub(b))}return{a:k,b:x,gcd:E.iushln(S)}},n.prototype._invmp=function(l){s(l.negative===0),s(!l.isZero());var p=this,E=l.clone();p.negative!==0?p=p.umod(l):p=p.clone();for(var g=new n(1),b=new n(0),k=E.clone();p.cmpn(1)>0&&E.cmpn(1)>0;){for(var x=0,S=1;!(p.words[0]&S)&&x<26;++x,S<<=1);if(x>0)for(p.iushrn(x);x-- >0;)g.isOdd()&&g.iadd(k),g.iushrn(1);for(var f=0,M=1;!(E.words[0]&M)&&f<26;++f,M<<=1);if(f>0)for(E.iushrn(f);f-- >0;)b.isOdd()&&b.iadd(k),b.iushrn(1);p.cmp(E)>=0?(p.isub(E),g.isub(b)):(E.isub(p),b.isub(g))}var V;return p.cmpn(1)===0?V=g:V=b,V.cmpn(0)<0&&V.iadd(l),V},n.prototype.gcd=function(l){if(this.isZero())return l.abs();if(l.isZero())return this.abs();var p=this.clone(),E=l.clone();p.negative=0,E.negative=0;for(var g=0;p.isEven()&&E.isEven();g++)p.iushrn(1),E.iushrn(1);do{for(;p.isEven();)p.iushrn(1);for(;E.isEven();)E.iushrn(1);var b=p.cmp(E);if(b<0){var k=p;p=E,E=k}else if(b===0||E.cmpn(1)===0)break;p.isub(E)}while(!0);return E.iushln(g)},n.prototype.invm=function(l){return this.egcd(l).a.umod(l)},n.prototype.isEven=function(){return(this.words[0]&1)===0},n.prototype.isOdd=function(){return(this.words[0]&1)===1},n.prototype.andln=function(l){return this.words[0]&l},n.prototype.bincn=function(l){s(typeof l=="number");var p=l%26,E=(l-p)/26,g=1<<p;if(this.length<=E)return this._expand(E+1),this.words[E]|=g,this;for(var b=g,k=E;b!==0&&k<this.length;k++){var x=this.words[k]|0;x+=b,b=x>>>26,x&=67108863,this.words[k]=x}return b!==0&&(this.words[k]=b,this.length++),this},n.prototype.isZero=function(){return this.length===1&&this.words[0]===0},n.prototype.cmpn=function(l){var p=l<0;if(this.negative!==0&&!p)return-1;if(this.negative===0&&p)return 1;this.strip();var E;if(this.length>1)E=1;else{p&&(l=-l),s(l<=67108863,"Number is too big");var g=this.words[0]|0;E=g===l?0:g<l?-1:1}return this.negative!==0?-E|0:E},n.prototype.cmp=function(l){if(this.negative!==0&&l.negative===0)return-1;if(this.negative===0&&l.negative!==0)return 1;var p=this.ucmp(l);return this.negative!==0?-p|0:p},n.prototype.ucmp=function(l){if(this.length>l.length)return 1;if(this.length<l.length)return-1;for(var p=0,E=this.length-1;E>=0;E--){var g=this.words[E]|0,b=l.words[E]|0;if(g!==b){g<b?p=-1:g>b&&(p=1);break}}return p},n.prototype.gtn=function(l){return this.cmpn(l)===1},n.prototype.gt=function(l){return this.cmp(l)===1},n.prototype.gten=function(l){return this.cmpn(l)>=0},n.prototype.gte=function(l){return this.cmp(l)>=0},n.prototype.ltn=function(l){return this.cmpn(l)===-1},n.prototype.lt=function(l){return this.cmp(l)===-1},n.prototype.lten=function(l){return this.cmpn(l)<=0},n.prototype.lte=function(l){return this.cmp(l)<=0},n.prototype.eqn=function(l){return this.cmpn(l)===0},n.prototype.eq=function(l){return this.cmp(l)===0},n.red=function(l){return new F(l)},n.prototype.toRed=function(l){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),l.convertTo(this)._forceRed(l)},n.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(l){return this.red=l,this},n.prototype.forceRed=function(l){return s(!this.red,"Already a number in reduction context"),this._forceRed(l)},n.prototype.redAdd=function(l){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,l)},n.prototype.redIAdd=function(l){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,l)},n.prototype.redSub=function(l){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,l)},n.prototype.redISub=function(l){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,l)},n.prototype.redShl=function(l){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,l)},n.prototype.redMul=function(l){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.mul(this,l)},n.prototype.redIMul=function(l){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.imul(this,l)},n.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(l){return s(this.red&&!l.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,l)};var R={k256:null,p224:null,p192:null,p25519:null};function U(l,p){this.name=l,this.p=new n(p,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}U.prototype._tmp=function(){var l=new n(null);return l.words=new Array(Math.ceil(this.n/13)),l},U.prototype.ireduce=function(l){var p=l,E;do this.split(p,this.tmp),p=this.imulK(p),p=p.iadd(this.tmp),E=p.bitLength();while(E>this.n);var g=E<this.n?-1:p.ucmp(this.p);return g===0?(p.words[0]=0,p.length=1):g>0?p.isub(this.p):p.strip!==void 0?p.strip():p._strip(),p},U.prototype.split=function(l,p){l.iushrn(this.n,0,p)},U.prototype.imulK=function(l){return l.imul(this.k)};function N(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(N,U),N.prototype.split=function(l,p){for(var E=4194303,g=Math.min(l.length,9),b=0;b<g;b++)p.words[b]=l.words[b];if(p.length=g,l.length<=9){l.words[0]=0,l.length=1;return}var k=l.words[9];for(p.words[p.length++]=k&E,b=10;b<l.length;b++){var x=l.words[b]|0;l.words[b-10]=(x&E)<<4|k>>>22,k=x}k>>>=22,l.words[b-10]=k,k===0&&l.length>10?l.length-=10:l.length-=9},N.prototype.imulK=function(l){l.words[l.length]=0,l.words[l.length+1]=0,l.length+=2;for(var p=0,E=0;E<l.length;E++){var g=l.words[E]|0;p+=g*977,l.words[E]=p&67108863,p=g*64+(p/67108864|0)}return l.words[l.length-1]===0&&(l.length--,l.words[l.length-1]===0&&l.length--),l};function _(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i(_,U);function L(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i(L,U);function H(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i(H,U),H.prototype.imulK=function(l){for(var p=0,E=0;E<l.length;E++){var g=(l.words[E]|0)*19+p,b=g&67108863;g>>>=26,l.words[E]=b,p=g}return p!==0&&(l.words[l.length++]=p),l},n._prime=function(l){if(R[l])return R[l];var p;if(l==="k256")p=new N;else if(l==="p224")p=new _;else if(l==="p192")p=new L;else if(l==="p25519")p=new H;else throw new Error("Unknown prime "+l);return R[l]=p,p};function F(l){if(typeof l=="string"){var p=n._prime(l);this.m=p.p,this.prime=p}else s(l.gtn(1),"modulus must be greater than 1"),this.m=l,this.prime=null}F.prototype._verify1=function(l){s(l.negative===0,"red works only with positives"),s(l.red,"red works only with red numbers")},F.prototype._verify2=function(l,p){s((l.negative|p.negative)===0,"red works only with positives"),s(l.red&&l.red===p.red,"red works only with red numbers")},F.prototype.imod=function(l){return this.prime?this.prime.ireduce(l)._forceRed(this):l.umod(this.m)._forceRed(this)},F.prototype.neg=function(l){return l.isZero()?l.clone():this.m.sub(l)._forceRed(this)},F.prototype.add=function(l,p){this._verify2(l,p);var E=l.add(p);return E.cmp(this.m)>=0&&E.isub(this.m),E._forceRed(this)},F.prototype.iadd=function(l,p){this._verify2(l,p);var E=l.iadd(p);return E.cmp(this.m)>=0&&E.isub(this.m),E},F.prototype.sub=function(l,p){this._verify2(l,p);var E=l.sub(p);return E.cmpn(0)<0&&E.iadd(this.m),E._forceRed(this)},F.prototype.isub=function(l,p){this._verify2(l,p);var E=l.isub(p);return E.cmpn(0)<0&&E.iadd(this.m),E},F.prototype.shl=function(l,p){return this._verify1(l),this.imod(l.ushln(p))},F.prototype.imul=function(l,p){return this._verify2(l,p),this.imod(l.imul(p))},F.prototype.mul=function(l,p){return this._verify2(l,p),this.imod(l.mul(p))},F.prototype.isqr=function(l){return this.imul(l,l.clone())},F.prototype.sqr=function(l){return this.mul(l,l)},F.prototype.sqrt=function(l){if(l.isZero())return l.clone();var p=this.m.andln(3);if(s(p%2===1),p===3){var E=this.m.add(new n(1)).iushrn(2);return this.pow(l,E)}for(var g=this.m.subn(1),b=0;!g.isZero()&&g.andln(1)===0;)b++,g.iushrn(1);s(!g.isZero());var k=new n(1).toRed(this),x=k.redNeg(),S=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new n(2*f*f).toRed(this);this.pow(f,S).cmp(x)!==0;)f.redIAdd(x);for(var M=this.pow(f,g),V=this.pow(l,g.addn(1).iushrn(1)),D=this.pow(l,g),j=b;D.cmp(k)!==0;){for(var Y=D,oe=0;Y.cmp(k)!==0;oe++)Y=Y.redSqr();s(oe<j);var de=this.pow(M,new n(1).iushln(j-oe-1));V=V.redMul(de),M=de.redSqr(),D=D.redMul(M),j=oe}return V},F.prototype.invm=function(l){var p=l._invmp(this.m);return p.negative!==0?(p.negative=0,this.imod(p).redNeg()):this.imod(p)},F.prototype.pow=function(l,p){if(p.isZero())return new n(1).toRed(this);if(p.cmpn(1)===0)return l.clone();var E=4,g=new Array(1<<E);g[0]=new n(1).toRed(this),g[1]=l;for(var b=2;b<g.length;b++)g[b]=this.mul(g[b-1],l);var k=g[0],x=0,S=0,f=p.bitLength()%26;for(f===0&&(f=26),b=p.length-1;b>=0;b--){for(var M=p.words[b],V=f-1;V>=0;V--){var D=M>>V&1;if(k!==g[0]&&(k=this.sqr(k)),D===0&&x===0){S=0;continue}x<<=1,x|=D,S++,!(S!==E&&(b!==0||V!==0))&&(k=this.mul(k,g[x]),S=0,x=0)}f=26}return k},F.prototype.convertTo=function(l){var p=l.umod(this.m);return p===l?p.clone():p},F.prototype.convertFrom=function(l){var p=l.clone();return p.red=null,p},n.mont=function(l){return new G(l)};function G(l){F.call(this,l),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new n(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)}i(G,F),G.prototype.convertTo=function(l){return this.imod(l.ushln(this.shift))},G.prototype.convertFrom=function(l){var p=this.imod(l.mul(this.rinv));return p.red=null,p},G.prototype.imul=function(l,p){if(l.isZero()||p.isZero())return l.words[0]=0,l.length=1,l;var E=l.imul(p),g=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=E.isub(g).iushrn(this.shift),k=b;return b.cmp(this.m)>=0?k=b.isub(this.m):b.cmpn(0)<0&&(k=b.iadd(this.m)),k._forceRed(this)},G.prototype.mul=function(l,p){if(l.isZero()||p.isZero())return new n(0)._forceRed(this);var E=l.mul(p),g=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=E.isub(g).iushrn(this.shift),k=b;return b.cmp(this.m)>=0?k=b.isub(this.m):b.cmpn(0)<0&&(k=b.iadd(this.m)),k._forceRed(this)},G.prototype.invm=function(l){var p=this.imod(l._invmp(this.m).mul(this.r2));return p._forceRed(this)}})(typeof t>"u"||t,e)}),SD=W((e,t)=>{m();var r;t.exports=function(i){return r||(r=new o(null)),r.generate(i)};function o(i){this.rand=i}if(t.exports.Rand=o,o.prototype.generate=function(i){return this._rand(i)},o.prototype._rand=function(i){if(this.rand.getBytes)return this.rand.getBytes(i);for(var n=new Uint8Array(i),a=0;a<n.length;a++)n[a]=this.rand.getByte();return n},typeof self=="object")self.crypto&&self.crypto.getRandomValues?o.prototype._rand=function(i){var n=new Uint8Array(i);return self.crypto.getRandomValues(n),n}:self.msCrypto&&self.msCrypto.getRandomValues?o.prototype._rand=function(i){var n=new Uint8Array(i);return self.msCrypto.getRandomValues(n),n}:typeof window=="object"&&(o.prototype._rand=function(){throw new Error("Not implemented yet")});else try{if(s=II(),typeof s.randomBytes!="function")throw new Error("Not supported");o.prototype._rand=function(i){return s.randomBytes(i)}}catch{}var s}),uQ=W((e,t)=>{m();var r=l6e(),o=SD();function s(i){this.rand=i||new o.Rand}t.exports=s,s.create=function(i){return new s(i)},s.prototype._randbelow=function(i){var n=i.bitLength(),a=Math.ceil(n/8);do var u=new r(this.rand.generate(a));while(u.cmp(i)>=0);return u},s.prototype._randrange=function(i,n){var a=n.sub(i);return i.add(this._randbelow(a))},s.prototype.test=function(i,n,a){var u=i.bitLength(),c=r.mont(i),d=new r(1).toRed(c);n||(n=Math.max(1,u/48|0));for(var h=i.subn(1),y=0;!h.testn(y);y++);for(var C=i.shrn(y),w=h.toRed(c),T=!0;n>0;n--){var A=this._randrange(new r(2),h);a&&a(A);var O=A.toRed(c).redPow(C);if(!(O.cmp(d)===0||O.cmp(w)===0)){for(var v=1;v<y;v++){if(O=O.redSqr(),O.cmp(d)===0)return!1;if(O.cmp(w)===0)break}if(v===y)return!1}}return T},s.prototype.getDivisor=function(i,n){var a=i.bitLength(),u=r.mont(i),c=new r(1).toRed(u);n||(n=Math.max(1,a/48|0));for(var d=i.subn(1),h=0;!d.testn(h);h++);for(var y=i.shrn(h),C=d.toRed(u);n>0;n--){var w=this._randrange(new r(2),d),T=i.gcd(w);if(T.cmpn(1)!==0)return T;var A=w.toRed(u).redPow(y);if(!(A.cmp(c)===0||A.cmp(C)===0)){for(var O=1;O<h;O++){if(A=A.redSqr(),A.cmp(c)===0)return A.fromRed().subn(1).gcd(i);if(A.cmp(C)===0)break}if(O===h)return A=A.redSqr(),A.fromRed().subn(1).gcd(i)}}return!1}}),gQ=W((e,t)=>{m();var r=Ux();t.exports=N,N.simpleSieve=R,N.fermatTest=U;var o=iQ(),s=new o(24),i=uQ(),n=new i,a=new o(1),u=new o(2),c=new o(5),d=new o(16),h=new o(8),y=new o(10),C=new o(3),w=new o(7),T=new o(11),A=new o(4),O=new o(12),v=null;function B(){if(v!==null)return v;var _=1048576,L=[];L[0]=2;for(var H=1,F=3;F<_;F+=2){for(var G=Math.ceil(Math.sqrt(F)),l=0;l<H&&L[l]<=G&&F%L[l]!==0;l++);H!==l&&L[l]<=G||(L[H++]=F)}return v=L,L}function R(_){for(var L=B(),H=0;H<L.length;H++)if(_.modn(L[H])===0)return _.cmpn(L[H])===0;return!0}function U(_){var L=o.mont(_);return u.toRed(L).redPow(_.subn(1)).fromRed().cmpn(1)===0}function N(_,L){if(_<16)return L===2||L===5?new o([140,123]):new o([140,39]);L=new o(L);for(var H,F;;){for(H=new o(r(Math.ceil(_/8)));H.bitLength()>_;)H.ishrn(1);if(H.isEven()&&H.iadd(a),H.testn(1)||H.iadd(u),L.cmp(u)){if(!L.cmp(c))for(;H.mod(y).cmp(C);)H.iadd(A)}else for(;H.mod(s).cmp(T);)H.iadd(A);if(F=H.shrn(1),R(F)&&R(H)&&U(F)&&U(H)&&n.test(F)&&n.test(H))return H}}}),g6e=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"}}}),v6e=W((e,t)=>{m();var r=iQ(),o=uQ(),s=new o,i=new r(24),n=new r(11),a=new r(10),u=new r(3),c=new r(7),d=gQ(),h=Ux();t.exports=A;function y(v,B){return B=B||"utf8",P.Buffer.isBuffer(v)||(v=new P.Buffer(v,B)),this._pub=new r(v),this}function C(v,B){return B=B||"utf8",P.Buffer.isBuffer(v)||(v=new P.Buffer(v,B)),this._priv=new r(v),this}var w={};function T(v,B){var R=B.toString("hex"),U=[R,v.toString(16)].join("_");if(U in w)return w[U];var N=0;if(v.isEven()||!d.simpleSieve||!d.fermatTest(v)||!s.test(v))return N+=1,R==="02"||R==="05"?N+=8:N+=4,w[U]=N,N;s.test(v.shrn(1))||(N+=2);var _;switch(R){case"02":v.mod(i).cmp(n)&&(N+=8);break;case"05":_=v.mod(a),_.cmp(u)&&_.cmp(c)&&(N+=8);break;default:N+=4}return w[U]=N,N}function A(v,B,R){this.setGenerator(B),this.__prime=new r(v),this._prime=r.mont(this.__prime),this._primeLen=v.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,R?(this.setPublicKey=y,this.setPrivateKey=C):this._primeCode=8}Object.defineProperty(A.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=T(this.__prime,this.__gen)),this._primeCode}}),A.prototype.generateKeys=function(){return this._priv||(this._priv=new r(h(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},A.prototype.computeSecret=function(v){v=new r(v),v=v.toRed(this._prime);var B=v.redPow(this._priv).fromRed(),R=new P.Buffer(B.toArray()),U=this.getPrime();if(R.length<U.length){var N=new P.Buffer(U.length-R.length);N.fill(0),R=P.Buffer.concat([N,R])}return R},A.prototype.getPublicKey=function(v){return O(this._pub,v)},A.prototype.getPrivateKey=function(v){return O(this._priv,v)},A.prototype.getPrime=function(v){return O(this.__prime,v)},A.prototype.getGenerator=function(v){return O(this._gen,v)},A.prototype.setGenerator=function(v,B){return B=B||"utf8",P.Buffer.isBuffer(v)||(v=new P.Buffer(v,B)),this.__gen=v,this._gen=new r(v),this};function O(v,B){var R=new P.Buffer(v.toArray());return B?R.toString(B):R}}),A6e=W(e=>{m();var t=gQ(),r=g6e(),o=v6e();function s(a){var u=new P.Buffer(r[a].prime,"hex"),c=new P.Buffer(r[a].gen,"hex");return new o(u,c)}var i={binary:!0,hex:!0,base64:!0};function n(a,u,c,d){return P.Buffer.isBuffer(u)||i[u]===void 0?n(a,"binary",u,c):(u=u||"binary",d=d||"binary",c=c||new P.Buffer([2]),P.Buffer.isBuffer(c)||(c=new P.Buffer(c,d)),typeof a=="number"?new o(t(a,c),c,!0):(P.Buffer.isBuffer(a)||(a=new P.Buffer(a,u)),new o(a,c,!0)))}e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=s,e.createDiffieHellman=e.DiffieHellman=n}),OI=W((e,t)=>{"use strict";m(),typeof I.default>"u"||!I.default.version||I.default.version.indexOf("v0.")===0||I.default.version.indexOf("v1.")===0&&I.default.version.indexOf("v1.8.")!==0?t.exports={nextTick:r}:t.exports=I.default;function r(o,s,i,n){if(typeof o!="function")throw new TypeError('"callback" argument must be a function');var a=arguments.length,u,c;switch(a){case 0:case 1:return I.default.nextTick(o);case 2:return I.default.nextTick(function(){o.call(null,s)});case 3:return I.default.nextTick(function(){o.call(null,s,i)});case 4:return I.default.nextTick(function(){o.call(null,s,i,n)});default:for(u=new Array(a-1),c=0;c<u.length;)u[c++]=arguments[c];return I.default.nextTick(function(){o.apply(null,u)})}}}),T6e=W((e,t)=>{m();var r={}.toString;t.exports=Array.isArray||function(o){return r.call(o)=="[object Array]"}}),bQ=W((e,t)=>{m(),t.exports=kT().EventEmitter}),PD=W((e,t)=>{m();var r=Go(),o=r.Buffer;function s(n,a){for(var u in n)a[u]=n[u]}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=r:(s(r,e),e.Buffer=i);function i(n,a,u){return o(n,a,u)}s(o,i),i.from=function(n,a,u){if(typeof n=="number")throw new TypeError("Argument must not be a number");return o(n,a,u)},i.alloc=function(n,a,u){if(typeof n!="number")throw new TypeError("Argument must be a number");var c=o(n);return a!==void 0?typeof u=="string"?c.fill(a,u):c.fill(a):c.fill(0),c},i.allocUnsafe=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return o(n)},i.allocUnsafeSlow=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(n)}}),tS=W(e=>{m();function t(A){return Array.isArray?Array.isArray(A):T(A)==="[object Array]"}e.isArray=t;function r(A){return typeof A=="boolean"}e.isBoolean=r;function o(A){return A===null}e.isNull=o;function s(A){return A==null}e.isNullOrUndefined=s;function i(A){return typeof A=="number"}e.isNumber=i;function n(A){return typeof A=="string"}e.isString=n;function a(A){return typeof A=="symbol"}e.isSymbol=a;function u(A){return A===void 0}e.isUndefined=u;function c(A){return T(A)==="[object RegExp]"}e.isRegExp=c;function d(A){return typeof A=="object"&&A!==null}e.isObject=d;function h(A){return T(A)==="[object Date]"}e.isDate=h;function y(A){return T(A)==="[object Error]"||A instanceof Error}e.isError=y;function C(A){return typeof A=="function"}e.isFunction=C;function w(A){return A===null||typeof A=="boolean"||typeof A=="number"||typeof A=="string"||typeof A=="symbol"||typeof A>"u"}e.isPrimitive=w,e.isBuffer=Go().Buffer.isBuffer;function T(A){return Object.prototype.toString.call(A)}}),P6e=W((e,t)=>{"use strict";m();function r(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}var o=PD().Buffer,s=$C();function i(n,a,u){n.copy(a,u)}t.exports=(function(){function n(){r(this,n),this.head=null,this.tail=null,this.length=0}return n.prototype.push=function(a){var u={data:a,next:null};this.length>0?this.tail.next=u:this.head=u,this.tail=u,++this.length},n.prototype.unshift=function(a){var u={data:a,next:this.head};this.length===0&&(this.tail=u),this.head=u,++this.length},n.prototype.shift=function(){if(this.length!==0){var a=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,a}},n.prototype.clear=function(){this.head=this.tail=null,this.length=0},n.prototype.join=function(a){if(this.length===0)return"";for(var u=this.head,c=""+u.data;u=u.next;)c+=a+u.data;return c},n.prototype.concat=function(a){if(this.length===0)return o.alloc(0);for(var u=o.allocUnsafe(a>>>0),c=this.head,d=0;c;)i(c.data,u,d),d+=c.data.length,c=c.next;return u},n})(),s&&s.inspect&&s.inspect.custom&&(t.exports.prototype[s.inspect.custom]=function(){var n=s.inspect({length:this.length});return this.constructor.name+" "+n})}),xQ=W((e,t)=>{"use strict";m();var r=OI();function o(n,a){var u=this,c=this._readableState&&this._readableState.destroyed,d=this._writableState&&this._writableState.destroyed;return c||d?(a?a(n):n&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(i,this,n)):r.nextTick(i,this,n)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(h){!a&&h?u._writableState?u._writableState.errorEmitted||(u._writableState.errorEmitted=!0,r.nextTick(i,u,h)):r.nextTick(i,u,h):a&&a(h)}),this)}function s(){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)}function i(n,a){n.emit("error",a)}t.exports={destroy:o,undestroy:s}}),EQ=W((e,t)=>{"use strict";m();var r=OI();t.exports=O;function o(S){var f=this;this.next=null,this.entry=null,this.finish=function(){x(f,S)}}var s=!I.default.browser&&["v0.10","v0.9."].indexOf(I.default.version.slice(0,5))>-1?setImmediate:r.nextTick,i;O.WritableState=T;var n=Object.create(tS());n.inherits=un();var a={deprecate:ZX()},u=bQ(),c=PD().Buffer,d=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function h(S){return c.from(S)}function y(S){return c.isBuffer(S)||S instanceof d}var C=xQ();n.inherits(O,u);function w(){}function T(S,f){i=i||oA(),S=S||{};var M=f instanceof i;this.objectMode=!!S.objectMode,M&&(this.objectMode=this.objectMode||!!S.writableObjectMode);var V=S.highWaterMark,D=S.writableHighWaterMark,j=this.objectMode?16:16*1024;V||V===0?this.highWaterMark=V:M&&(D||D===0)?this.highWaterMark=D:this.highWaterMark=j,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 Y=S.decodeStrings===!1;this.decodeStrings=!Y,this.defaultEncoding=S.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(oe){H(f,oe)},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 o(this)}T.prototype.getBuffer=function(){for(var S=this.bufferedRequest,f=[];S;)f.push(S),S=S.next;return f},(function(){try{Object.defineProperty(T.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var A;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(A=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(S){return A.call(this,S)?!0:this!==O?!1:S&&S._writableState instanceof T}})):A=function(S){return S instanceof this};function O(S){if(i=i||oA(),!A.call(O,this)&&!(this instanceof i))return new O(S);this._writableState=new T(S,this),this.writable=!0,S&&(typeof S.write=="function"&&(this._write=S.write),typeof S.writev=="function"&&(this._writev=S.writev),typeof S.destroy=="function"&&(this._destroy=S.destroy),typeof S.final=="function"&&(this._final=S.final)),u.call(this)}O.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function v(S,f){var M=new Error("write after end");S.emit("error",M),r.nextTick(f,M)}function B(S,f,M,V){var D=!0,j=!1;return M===null?j=new TypeError("May not write null values to stream"):typeof M!="string"&&M!==void 0&&!f.objectMode&&(j=new TypeError("Invalid non-string/buffer chunk")),j&&(S.emit("error",j),r.nextTick(V,j),D=!1),D}O.prototype.write=function(S,f,M){var V=this._writableState,D=!1,j=!V.objectMode&&y(S);return j&&!c.isBuffer(S)&&(S=h(S)),typeof f=="function"&&(M=f,f=null),j?f="buffer":f||(f=V.defaultEncoding),typeof M!="function"&&(M=w),V.ended?v(this,M):(j||B(this,V,S,M))&&(V.pendingcb++,D=U(this,V,j,S,f,M)),D},O.prototype.cork=function(){var S=this._writableState;S.corked++},O.prototype.uncork=function(){var S=this._writableState;S.corked&&(S.corked--,!S.writing&&!S.corked&&!S.bufferProcessing&&S.bufferedRequest&&l(this,S))},O.prototype.setDefaultEncoding=function(S){if(typeof S=="string"&&(S=S.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((S+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+S);return this._writableState.defaultEncoding=S,this};function R(S,f,M){return!S.objectMode&&S.decodeStrings!==!1&&typeof f=="string"&&(f=c.from(f,M)),f}Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function U(S,f,M,V,D,j){if(!M){var Y=R(f,V,D);V!==Y&&(M=!0,D="buffer",V=Y)}var oe=f.objectMode?1:V.length;f.length+=oe;var de=f.length<f.highWaterMark;if(de||(f.needDrain=!0),f.writing||f.corked){var ue=f.lastBufferedRequest;f.lastBufferedRequest={chunk:V,encoding:D,isBuf:M,callback:j,next:null},ue?ue.next=f.lastBufferedRequest:f.bufferedRequest=f.lastBufferedRequest,f.bufferedRequestCount+=1}else N(S,f,!1,oe,V,D,j);return de}function N(S,f,M,V,D,j,Y){f.writelen=V,f.writecb=Y,f.writing=!0,f.sync=!0,M?S._writev(D,f.onwrite):S._write(D,j,f.onwrite),f.sync=!1}function _(S,f,M,V,D){--f.pendingcb,M?(r.nextTick(D,V),r.nextTick(b,S,f),S._writableState.errorEmitted=!0,S.emit("error",V)):(D(V),S._writableState.errorEmitted=!0,S.emit("error",V),b(S,f))}function L(S){S.writing=!1,S.writecb=null,S.length-=S.writelen,S.writelen=0}function H(S,f){var M=S._writableState,V=M.sync,D=M.writecb;if(L(M),f)_(S,M,V,f,D);else{var j=p(M);!j&&!M.corked&&!M.bufferProcessing&&M.bufferedRequest&&l(S,M),V?s(F,S,M,j,D):F(S,M,j,D)}}function F(S,f,M,V){M||G(S,f),f.pendingcb--,V(),b(S,f)}function G(S,f){f.length===0&&f.needDrain&&(f.needDrain=!1,S.emit("drain"))}function l(S,f){f.bufferProcessing=!0;var M=f.bufferedRequest;if(S._writev&&M&&M.next){var V=f.bufferedRequestCount,D=new Array(V),j=f.corkedRequestsFree;j.entry=M;for(var Y=0,oe=!0;M;)D[Y]=M,M.isBuf||(oe=!1),M=M.next,Y+=1;D.allBuffers=oe,N(S,f,!0,f.length,D,"",j.finish),f.pendingcb++,f.lastBufferedRequest=null,j.next?(f.corkedRequestsFree=j.next,j.next=null):f.corkedRequestsFree=new o(f),f.bufferedRequestCount=0}else{for(;M;){var de=M.chunk,ue=M.encoding,ae=M.callback,q=f.objectMode?1:de.length;if(N(S,f,!1,q,de,ue,ae),M=M.next,f.bufferedRequestCount--,f.writing)break}M===null&&(f.lastBufferedRequest=null)}f.bufferedRequest=M,f.bufferProcessing=!1}O.prototype._write=function(S,f,M){M(new Error("_write() is not implemented"))},O.prototype._writev=null,O.prototype.end=function(S,f,M){var V=this._writableState;typeof S=="function"?(M=S,S=null,f=null):typeof f=="function"&&(M=f,f=null),S!=null&&this.write(S,f),V.corked&&(V.corked=1,this.uncork()),V.ending||k(this,V,M)};function p(S){return S.ending&&S.length===0&&S.bufferedRequest===null&&!S.finished&&!S.writing}function E(S,f){S._final(function(M){f.pendingcb--,M&&S.emit("error",M),f.prefinished=!0,S.emit("prefinish"),b(S,f)})}function g(S,f){!f.prefinished&&!f.finalCalled&&(typeof S._final=="function"?(f.pendingcb++,f.finalCalled=!0,r.nextTick(E,S,f)):(f.prefinished=!0,S.emit("prefinish")))}function b(S,f){var M=p(f);return M&&(g(S,f),f.pendingcb===0&&(f.finished=!0,S.emit("finish"))),M}function k(S,f,M){f.ending=!0,b(S,f),M&&(f.finished?r.nextTick(M):S.once("finish",M)),f.ended=!0,S.writable=!1}function x(S,f,M){var V=S.entry;for(S.entry=null;V;){var D=V.callback;f.pendingcb--,D(M),V=V.next}f.corkedRequestsFree.next=S}Object.defineProperty(O.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(S){this._writableState&&(this._writableState.destroyed=S)}}),O.prototype.destroy=C.destroy,O.prototype._undestroy=C.undestroy,O.prototype._destroy=function(S,f){this.end(),f(S)}}),oA=W((e,t)=>{"use strict";m();var r=OI(),o=Object.keys||function(C){var w=[];for(var T in C)w.push(T);return w};t.exports=d;var s=Object.create(tS());s.inherits=un();var i=CQ(),n=EQ();for(s.inherits(d,i),a=o(n.prototype),c=0;c<a.length;c++)u=a[c],d.prototype[u]||(d.prototype[u]=n.prototype[u]);var a,u,c;function d(C){if(!(this instanceof d))return new d(C);i.call(this,C),n.call(this,C),C&&C.readable===!1&&(this.readable=!1),C&&C.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,C&&C.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",h)}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function h(){this.allowHalfOpen||this._writableState.ended||r.nextTick(y,this)}function y(C){C.end()}Object.defineProperty(d.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(C){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=C,this._writableState.destroyed=C)}}),d.prototype._destroy=function(C,w){this.push(null),this.end(),r.nextTick(w,C)}}),j6e=W((e,t)=>{m();var r=Go(),o=r.Buffer;function s(n,a){for(var u in n)a[u]=n[u]}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=r:(s(r,e),e.Buffer=i);function i(n,a,u){return o(n,a,u)}s(o,i),i.from=function(n,a,u){if(typeof n=="number")throw new TypeError("Argument must not be a number");return o(n,a,u)},i.alloc=function(n,a,u){if(typeof n!="number")throw new TypeError("Argument must be a number");var c=o(n);return a!==void 0?typeof u=="string"?c.fill(a,u):c.fill(a):c.fill(0),c},i.allocUnsafe=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return o(n)},i.allocUnsafeSlow=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(n)}}),BQ=W(e=>{"use strict";m();var t=j6e().Buffer,r=t.isEncoding||function(v){switch(v=""+v,v&&v.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 o(v){if(!v)return"utf8";for(var B;;)switch(v){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 v;default:if(B)return;v=(""+v).toLowerCase(),B=!0}}function s(v){var B=o(v);if(typeof B!="string"&&(t.isEncoding===r||!r(v)))throw new Error("Unknown encoding: "+v);return B||v}e.StringDecoder=i;function i(v){this.encoding=s(v);var B;switch(this.encoding){case"utf16le":this.text=y,this.end=C,B=4;break;case"utf8":this.fillLast=c,B=4;break;case"base64":this.text=w,this.end=T,B=3;break;default:this.write=A,this.end=O;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(B)}i.prototype.write=function(v){if(v.length===0)return"";var B,R;if(this.lastNeed){if(B=this.fillLast(v),B===void 0)return"";R=this.lastNeed,this.lastNeed=0}else R=0;return R<v.length?B?B+this.text(v,R):this.text(v,R):B||""},i.prototype.end=h,i.prototype.text=d,i.prototype.fillLast=function(v){if(this.lastNeed<=v.length)return v.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);v.copy(this.lastChar,this.lastTotal-this.lastNeed,0,v.length),this.lastNeed-=v.length};function n(v){return v<=127?0:v>>5===6?2:v>>4===14?3:v>>3===30?4:v>>6===2?-1:-2}function a(v,B,R){var U=B.length-1;if(U<R)return 0;var N=n(B[U]);return N>=0?(N>0&&(v.lastNeed=N-1),N):--U<R||N===-2?0:(N=n(B[U]),N>=0?(N>0&&(v.lastNeed=N-2),N):--U<R||N===-2?0:(N=n(B[U]),N>=0?(N>0&&(N===2?N=0:v.lastNeed=N-3),N):0))}function u(v,B,R){if((B[0]&192)!==128)return v.lastNeed=0,"\uFFFD";if(v.lastNeed>1&&B.length>1){if((B[1]&192)!==128)return v.lastNeed=1,"\uFFFD";if(v.lastNeed>2&&B.length>2&&(B[2]&192)!==128)return v.lastNeed=2,"\uFFFD"}}function c(v){var B=this.lastTotal-this.lastNeed,R=u(this,v,B);if(R!==void 0)return R;if(this.lastNeed<=v.length)return v.copy(this.lastChar,B,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);v.copy(this.lastChar,B,0,v.length),this.lastNeed-=v.length}function d(v,B){var R=a(this,v,B);if(!this.lastNeed)return v.toString("utf8",B);this.lastTotal=R;var U=v.length-(R-this.lastNeed);return v.copy(this.lastChar,0,U),v.toString("utf8",B,U)}function h(v){var B=v&&v.length?this.write(v):"";return this.lastNeed?B+"\uFFFD":B}function y(v,B){if((v.length-B)%2===0){var R=v.toString("utf16le",B);if(R){var U=R.charCodeAt(R.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=v[v.length-2],this.lastChar[1]=v[v.length-1],R.slice(0,-1)}return R}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=v[v.length-1],v.toString("utf16le",B,v.length-1)}function C(v){var B=v&&v.length?this.write(v):"";if(this.lastNeed){var R=this.lastTotal-this.lastNeed;return B+this.lastChar.toString("utf16le",0,R)}return B}function w(v,B){var R=(v.length-B)%3;return R===0?v.toString("base64",B):(this.lastNeed=3-R,this.lastTotal=3,R===1?this.lastChar[0]=v[v.length-1]:(this.lastChar[0]=v[v.length-2],this.lastChar[1]=v[v.length-1]),v.toString("base64",B,v.length-R))}function T(v){var B=v&&v.length?this.write(v):"";return this.lastNeed?B+this.lastChar.toString("base64",0,3-this.lastNeed):B}function A(v){return v.toString(this.encoding)}function O(v){return v&&v.length?this.write(v):""}}),CQ=W((e,t)=>{"use strict";m();var r=OI();t.exports=U;var o=T6e(),s;U.ReadableState=R;var i=kT().EventEmitter,n=function(q,ne){return q.listeners(ne).length},a=bQ(),u=PD().Buffer,c=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function d(q){return u.from(q)}function h(q){return u.isBuffer(q)||q instanceof c}var y=Object.create(tS());y.inherits=un();var C=$C(),w=void 0;C&&C.debuglog?w=C.debuglog("stream"):w=function(){};var T=P6e(),A=xQ(),O;y.inherits(U,a);var v=["error","close","destroy","pause","resume"];function B(q,ne,me){if(typeof q.prependListener=="function")return q.prependListener(ne,me);!q._events||!q._events[ne]?q.on(ne,me):o(q._events[ne])?q._events[ne].unshift(me):q._events[ne]=[me,q._events[ne]]}function R(q,ne){s=s||oA(),q=q||{};var me=ne instanceof s;this.objectMode=!!q.objectMode,me&&(this.objectMode=this.objectMode||!!q.readableObjectMode);var ve=q.highWaterMark,ge=q.readableHighWaterMark,ce=this.objectMode?16:16*1024;ve||ve===0?this.highWaterMark=ve:me&&(ge||ge===0)?this.highWaterMark=ge:this.highWaterMark=ce,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new T,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=q.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,q.encoding&&(O||(O=BQ().StringDecoder),this.decoder=new O(q.encoding),this.encoding=q.encoding)}function U(q){if(s=s||oA(),!(this instanceof U))return new U(q);this._readableState=new R(q,this),this.readable=!0,q&&(typeof q.read=="function"&&(this._read=q.read),typeof q.destroy=="function"&&(this._destroy=q.destroy)),a.call(this)}Object.defineProperty(U.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(q){this._readableState&&(this._readableState.destroyed=q)}}),U.prototype.destroy=A.destroy,U.prototype._undestroy=A.undestroy,U.prototype._destroy=function(q,ne){this.push(null),ne(q)},U.prototype.push=function(q,ne){var me=this._readableState,ve;return me.objectMode?ve=!0:typeof q=="string"&&(ne=ne||me.defaultEncoding,ne!==me.encoding&&(q=u.from(q,ne),ne=""),ve=!0),N(this,q,ne,!1,ve)},U.prototype.unshift=function(q){return N(this,q,null,!0,!1)};function N(q,ne,me,ve,ge){var ce=q._readableState;if(ne===null)ce.reading=!1,p(q,ce);else{var ee;ge||(ee=L(ce,ne)),ee?q.emit("error",ee):ce.objectMode||ne&&ne.length>0?(typeof ne!="string"&&!ce.objectMode&&Object.getPrototypeOf(ne)!==u.prototype&&(ne=d(ne)),ve?ce.endEmitted?q.emit("error",new Error("stream.unshift() after end event")):_(q,ce,ne,!0):ce.ended?q.emit("error",new Error("stream.push() after EOF")):(ce.reading=!1,ce.decoder&&!me?(ne=ce.decoder.write(ne),ce.objectMode||ne.length!==0?_(q,ce,ne,!1):b(q,ce)):_(q,ce,ne,!1))):ve||(ce.reading=!1)}return H(ce)}function _(q,ne,me,ve){ne.flowing&&ne.length===0&&!ne.sync?(q.emit("data",me),q.read(0)):(ne.length+=ne.objectMode?1:me.length,ve?ne.buffer.unshift(me):ne.buffer.push(me),ne.needReadable&&E(q)),b(q,ne)}function L(q,ne){var me;return!h(ne)&&typeof ne!="string"&&ne!==void 0&&!q.objectMode&&(me=new TypeError("Invalid non-string/buffer chunk")),me}function H(q){return!q.ended&&(q.needReadable||q.length<q.highWaterMark||q.length===0)}U.prototype.isPaused=function(){return this._readableState.flowing===!1},U.prototype.setEncoding=function(q){return O||(O=BQ().StringDecoder),this._readableState.decoder=new O(q),this._readableState.encoding=q,this};var F=8388608;function G(q){return q>=F?q=F:(q--,q|=q>>>1,q|=q>>>2,q|=q>>>4,q|=q>>>8,q|=q>>>16,q++),q}function l(q,ne){return q<=0||ne.length===0&&ne.ended?0:ne.objectMode?1:q!==q?ne.flowing&&ne.length?ne.buffer.head.data.length:ne.length:(q>ne.highWaterMark&&(ne.highWaterMark=G(q)),q<=ne.length?q:ne.ended?ne.length:(ne.needReadable=!0,0))}U.prototype.read=function(q){w("read",q),q=parseInt(q,10);var ne=this._readableState,me=q;if(q!==0&&(ne.emittedReadable=!1),q===0&&ne.needReadable&&(ne.length>=ne.highWaterMark||ne.ended))return w("read: emitReadable",ne.length,ne.ended),ne.length===0&&ne.ended?de(this):E(this),null;if(q=l(q,ne),q===0&&ne.ended)return ne.length===0&&de(this),null;var ve=ne.needReadable;w("need readable",ve),(ne.length===0||ne.length-q<ne.highWaterMark)&&(ve=!0,w("length less than watermark",ve)),ne.ended||ne.reading?(ve=!1,w("reading or ended",ve)):ve&&(w("do read"),ne.reading=!0,ne.sync=!0,ne.length===0&&(ne.needReadable=!0),this._read(ne.highWaterMark),ne.sync=!1,ne.reading||(q=l(me,ne)));var ge;return q>0?ge=D(q,ne):ge=null,ge===null?(ne.needReadable=!0,q=0):ne.length-=q,ne.length===0&&(ne.ended||(ne.needReadable=!0),me!==q&&ne.ended&&de(this)),ge!==null&&this.emit("data",ge),ge};function p(q,ne){if(!ne.ended){if(ne.decoder){var me=ne.decoder.end();me&&me.length&&(ne.buffer.push(me),ne.length+=ne.objectMode?1:me.length)}ne.ended=!0,E(q)}}function E(q){var ne=q._readableState;ne.needReadable=!1,ne.emittedReadable||(w("emitReadable",ne.flowing),ne.emittedReadable=!0,ne.sync?r.nextTick(g,q):g(q))}function g(q){w("emit readable"),q.emit("readable"),V(q)}function b(q,ne){ne.readingMore||(ne.readingMore=!0,r.nextTick(k,q,ne))}function k(q,ne){for(var me=ne.length;!ne.reading&&!ne.flowing&&!ne.ended&&ne.length<ne.highWaterMark&&(w("maybeReadMore read 0"),q.read(0),me!==ne.length);)me=ne.length;ne.readingMore=!1}U.prototype._read=function(q){this.emit("error",new Error("_read() is not implemented"))},U.prototype.pipe=function(q,ne){var me=this,ve=this._readableState;switch(ve.pipesCount){case 0:ve.pipes=q;break;case 1:ve.pipes=[ve.pipes,q];break;default:ve.pipes.push(q);break}ve.pipesCount+=1,w("pipe count=%d opts=%j",ve.pipesCount,ne);var ge=(!ne||ne.end!==!1)&&q!==I.default.stdout&&q!==I.default.stderr,ce=ge?fe:Kt;ve.endEmitted?r.nextTick(ce):me.once("end",ce),q.on("unpipe",ee);function ee(wt,Ie){w("onunpipe"),wt===me&&Ie&&Ie.hasUnpiped===!1&&(Ie.hasUnpiped=!0,Oe())}function fe(){w("onend"),q.end()}var ie=x(me);q.on("drain",ie);var re=!1;function Oe(){w("cleanup"),q.removeListener("close",Je),q.removeListener("finish",ft),q.removeListener("drain",ie),q.removeListener("error",Xe),q.removeListener("unpipe",ee),me.removeListener("end",fe),me.removeListener("end",Kt),me.removeListener("data",Ne),re=!0,ve.awaitDrain&&(!q._writableState||q._writableState.needDrain)&&ie()}var Pe=!1;me.on("data",Ne);function Ne(wt){w("ondata"),Pe=!1;var Ie=q.write(wt);Ie===!1&&!Pe&&((ve.pipesCount===1&&ve.pipes===q||ve.pipesCount>1&&ae(ve.pipes,q)!==-1)&&!re&&(w("false write response, pause",ve.awaitDrain),ve.awaitDrain++,Pe=!0),me.pause())}function Xe(wt){w("onerror",wt),Kt(),q.removeListener("error",Xe),n(q,"error")===0&&q.emit("error",wt)}B(q,"error",Xe);function Je(){q.removeListener("finish",ft),Kt()}q.once("close",Je);function ft(){w("onfinish"),q.removeListener("close",Je),Kt()}q.once("finish",ft);function Kt(){w("unpipe"),me.unpipe(q)}return q.emit("pipe",me),ve.flowing||(w("pipe resume"),me.resume()),q};function x(q){return function(){var ne=q._readableState;w("pipeOnDrain",ne.awaitDrain),ne.awaitDrain&&ne.awaitDrain--,ne.awaitDrain===0&&n(q,"data")&&(ne.flowing=!0,V(q))}}U.prototype.unpipe=function(q){var ne=this._readableState,me={hasUnpiped:!1};if(ne.pipesCount===0)return this;if(ne.pipesCount===1)return q&&q!==ne.pipes?this:(q||(q=ne.pipes),ne.pipes=null,ne.pipesCount=0,ne.flowing=!1,q&&q.emit("unpipe",this,me),this);if(!q){var ve=ne.pipes,ge=ne.pipesCount;ne.pipes=null,ne.pipesCount=0,ne.flowing=!1;for(var ce=0;ce<ge;ce++)ve[ce].emit("unpipe",this,{hasUnpiped:!1});return this}var ee=ae(ne.pipes,q);return ee===-1?this:(ne.pipes.splice(ee,1),ne.pipesCount-=1,ne.pipesCount===1&&(ne.pipes=ne.pipes[0]),q.emit("unpipe",this,me),this)},U.prototype.on=function(q,ne){var me=a.prototype.on.call(this,q,ne);if(q==="data")this._readableState.flowing!==!1&&this.resume();else if(q==="readable"){var ve=this._readableState;!ve.endEmitted&&!ve.readableListening&&(ve.readableListening=ve.needReadable=!0,ve.emittedReadable=!1,ve.reading?ve.length&&E(this):r.nextTick(S,this))}return me},U.prototype.addListener=U.prototype.on;function S(q){w("readable nexttick read 0"),q.read(0)}U.prototype.resume=function(){var q=this._readableState;return q.flowing||(w("resume"),q.flowing=!0,f(this,q)),this};function f(q,ne){ne.resumeScheduled||(ne.resumeScheduled=!0,r.nextTick(M,q,ne))}function M(q,ne){ne.reading||(w("resume read 0"),q.read(0)),ne.resumeScheduled=!1,ne.awaitDrain=0,q.emit("resume"),V(q),ne.flowing&&!ne.reading&&q.read(0)}U.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function V(q){var ne=q._readableState;for(w("flow",ne.flowing);ne.flowing&&q.read()!==null;);}U.prototype.wrap=function(q){var ne=this,me=this._readableState,ve=!1;q.on("end",function(){if(w("wrapped end"),me.decoder&&!me.ended){var ee=me.decoder.end();ee&&ee.length&&ne.push(ee)}ne.push(null)}),q.on("data",function(ee){if(w("wrapped data"),me.decoder&&(ee=me.decoder.write(ee)),!(me.objectMode&&ee==null)&&!(!me.objectMode&&(!ee||!ee.length))){var fe=ne.push(ee);fe||(ve=!0,q.pause())}});for(var ge in q)this[ge]===void 0&&typeof q[ge]=="function"&&(this[ge]=(function(ee){return function(){return q[ee].apply(q,arguments)}})(ge));for(var ce=0;ce<v.length;ce++)q.on(v[ce],this.emit.bind(this,v[ce]));return this._read=function(ee){w("wrapped _read",ee),ve&&(ve=!1,q.resume())},this},Object.defineProperty(U.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),U._fromList=D;function D(q,ne){if(ne.length===0)return null;var me;return ne.objectMode?me=ne.buffer.shift():!q||q>=ne.length?(ne.decoder?me=ne.buffer.join(""):ne.buffer.length===1?me=ne.buffer.head.data:me=ne.buffer.concat(ne.length),ne.buffer.clear()):me=j(q,ne.buffer,ne.decoder),me}function j(q,ne,me){var ve;return q<ne.head.data.length?(ve=ne.head.data.slice(0,q),ne.head.data=ne.head.data.slice(q)):q===ne.head.data.length?ve=ne.shift():ve=me?Y(q,ne):oe(q,ne),ve}function Y(q,ne){var me=ne.head,ve=1,ge=me.data;for(q-=ge.length;me=me.next;){var ce=me.data,ee=q>ce.length?ce.length:q;if(ee===ce.length?ge+=ce:ge+=ce.slice(0,q),q-=ee,q===0){ee===ce.length?(++ve,me.next?ne.head=me.next:ne.head=ne.tail=null):(ne.head=me,me.data=ce.slice(ee));break}++ve}return ne.length-=ve,ge}function oe(q,ne){var me=u.allocUnsafe(q),ve=ne.head,ge=1;for(ve.data.copy(me),q-=ve.data.length;ve=ve.next;){var ce=ve.data,ee=q>ce.length?ce.length:q;if(ce.copy(me,me.length-q,0,ee),q-=ee,q===0){ee===ce.length?(++ge,ve.next?ne.head=ve.next:ne.head=ne.tail=null):(ne.head=ve,ve.data=ce.slice(ee));break}++ge}return ne.length-=ge,me}function de(q){var ne=q._readableState;if(ne.length>0)throw new Error('"endReadable()" called on non-empty stream');ne.endEmitted||(ne.ended=!0,r.nextTick(ue,ne,q))}function ue(q,ne){!q.endEmitted&&q.length===0&&(q.endEmitted=!0,ne.readable=!1,ne.emit("end"))}function ae(q,ne){for(var me=0,ve=q.length;me<ve;me++)if(q[me]===ne)return me;return-1}}),UQ=W((e,t)=>{"use strict";m(),t.exports=i;var r=oA(),o=Object.create(tS());o.inherits=un(),o.inherits(i,r);function s(u,c){var d=this._transformState;d.transforming=!1;var h=d.writecb;if(!h)return this.emit("error",new Error("write callback called multiple times"));d.writechunk=null,d.writecb=null,c!=null&&this.push(c),h(u);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function i(u){if(!(this instanceof i))return new i(u);r.call(this,u),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,u&&(typeof u.transform=="function"&&(this._transform=u.transform),typeof u.flush=="function"&&(this._flush=u.flush)),this.on("prefinish",n)}function n(){var u=this;typeof this._flush=="function"?this._flush(function(c,d){a(u,c,d)}):a(this,null,null)}i.prototype.push=function(u,c){return this._transformState.needTransform=!1,r.prototype.push.call(this,u,c)},i.prototype._transform=function(u,c,d){throw new Error("_transform() is not implemented")},i.prototype._write=function(u,c,d){var h=this._transformState;if(h.writecb=d,h.writechunk=u,h.writeencoding=c,!h.transforming){var y=this._readableState;(h.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},i.prototype._read=function(u){var c=this._transformState;c.writechunk!==null&&c.writecb&&!c.transforming?(c.transforming=!0,this._transform(c.writechunk,c.writeencoding,c.afterTransform)):c.needTransform=!0},i.prototype._destroy=function(u,c){var d=this;r.prototype._destroy.call(this,u,function(h){c(h),d.emit("close")})};function a(u,c,d){if(c)return u.emit("error",c);if(d!=null&&u.push(d),u._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(u._transformState.transforming)throw new Error("Calling transform done when still transforming");return u.push(null)}}),d4e=W((e,t)=>{"use strict";m(),t.exports=s;var r=UQ(),o=Object.create(tS());o.inherits=un(),o.inherits(s,r);function s(i){if(!(this instanceof s))return new s(i);r.call(this,i)}s.prototype._transform=function(i,n,a){a(null,i)}}),p4e=W((e,t)=>{m(),e=t.exports=CQ(),e.Stream=e,e.Readable=e,e.Writable=EQ(),e.Duplex=oA(),e.Transform=UQ(),e.PassThrough=d4e()}),sS=W((e,t)=>{m(),(function(r,o){"use strict";function s(g,b){if(!g)throw new Error(b||"Assertion failed")}function i(g,b){g.super_=b;var k=function(){};k.prototype=b.prototype,g.prototype=new k,g.prototype.constructor=g}function n(g,b,k){if(n.isBN(g))return g;this.negative=0,this.words=null,this.length=0,this.red=null,g!==null&&((b==="le"||b==="be")&&(k=b,b=10),this._init(g||0,b||10,k||"be"))}typeof r=="object"?r.exports=n:o.BN=n,n.BN=n,n.wordSize=26;var a;try{typeof window<"u"&&typeof window.Buffer<"u"?a=window.Buffer:a=Go().Buffer}catch{}n.isBN=function(g){return g instanceof n?!0:g!==null&&typeof g=="object"&&g.constructor.wordSize===n.wordSize&&Array.isArray(g.words)},n.max=function(g,b){return g.cmp(b)>0?g:b},n.min=function(g,b){return g.cmp(b)<0?g:b},n.prototype._init=function(g,b,k){if(typeof g=="number")return this._initNumber(g,b,k);if(typeof g=="object")return this._initArray(g,b,k);b==="hex"&&(b=16),s(b===(b|0)&&b>=2&&b<=36),g=g.toString().replace(/\s+/g,"");var x=0;g[0]==="-"&&(x++,this.negative=1),x<g.length&&(b===16?this._parseHex(g,x,k):(this._parseBase(g,b,x),k==="le"&&this._initArray(this.toArray(),b,k)))},n.prototype._initNumber=function(g,b,k){g<0&&(this.negative=1,g=-g),g<67108864?(this.words=[g&67108863],this.length=1):g<4503599627370496?(this.words=[g&67108863,g/67108864&67108863],this.length=2):(s(g<9007199254740992),this.words=[g&67108863,g/67108864&67108863,1],this.length=3),k==="le"&&this._initArray(this.toArray(),b,k)},n.prototype._initArray=function(g,b,k){if(s(typeof g.length=="number"),g.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(g.length/3),this.words=new Array(this.length);for(var x=0;x<this.length;x++)this.words[x]=0;var S,f,M=0;if(k==="be")for(x=g.length-1,S=0;x>=0;x-=3)f=g[x]|g[x-1]<<8|g[x-2]<<16,this.words[S]|=f<<M&67108863,this.words[S+1]=f>>>26-M&67108863,M+=24,M>=26&&(M-=26,S++);else if(k==="le")for(x=0,S=0;x<g.length;x+=3)f=g[x]|g[x+1]<<8|g[x+2]<<16,this.words[S]|=f<<M&67108863,this.words[S+1]=f>>>26-M&67108863,M+=24,M>=26&&(M-=26,S++);return this._strip()};function u(g,b){var k=g.charCodeAt(b);if(k>=48&&k<=57)return k-48;if(k>=65&&k<=70)return k-55;if(k>=97&&k<=102)return k-87;s(!1,"Invalid character in "+g)}function c(g,b,k){var x=u(g,k);return k-1>=b&&(x|=u(g,k-1)<<4),x}n.prototype._parseHex=function(g,b,k){this.length=Math.ceil((g.length-b)/6),this.words=new Array(this.length);for(var x=0;x<this.length;x++)this.words[x]=0;var S=0,f=0,M;if(k==="be")for(x=g.length-1;x>=b;x-=2)M=c(g,b,x)<<S,this.words[f]|=M&67108863,S>=18?(S-=18,f+=1,this.words[f]|=M>>>26):S+=8;else{var V=g.length-b;for(x=V%2===0?b+1:b;x<g.length;x+=2)M=c(g,b,x)<<S,this.words[f]|=M&67108863,S>=18?(S-=18,f+=1,this.words[f]|=M>>>26):S+=8}this._strip()};function d(g,b,k,x){for(var S=0,f=0,M=Math.min(g.length,k),V=b;V<M;V++){var D=g.charCodeAt(V)-48;S*=x,D>=49?f=D-49+10:D>=17?f=D-17+10:f=D,s(D>=0&&f<x,"Invalid character"),S+=f}return S}n.prototype._parseBase=function(g,b,k){this.words=[0],this.length=1;for(var x=0,S=1;S<=67108863;S*=b)x++;x--,S=S/b|0;for(var f=g.length-k,M=f%x,V=Math.min(f,f-M)+k,D=0,j=k;j<V;j+=x)D=d(g,j,j+x,b),this.imuln(S),this.words[0]+D<67108864?this.words[0]+=D:this._iaddn(D);if(M!==0){var Y=1;for(D=d(g,j,g.length,b),j=0;j<M;j++)Y*=b;this.imuln(Y),this.words[0]+D<67108864?this.words[0]+=D:this._iaddn(D)}this._strip()},n.prototype.copy=function(g){g.words=new Array(this.length);for(var b=0;b<this.length;b++)g.words[b]=this.words[b];g.length=this.length,g.negative=this.negative,g.red=this.red};function h(g,b){g.words=b.words,g.length=b.length,g.negative=b.negative,g.red=b.red}if(n.prototype._move=function(g){h(g,this)},n.prototype.clone=function(){var g=new n(null);return this.copy(g),g},n.prototype._expand=function(g){for(;this.length<g;)this.words[this.length++]=0;return this},n.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},n.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{n.prototype[Symbol.for("nodejs.util.inspect.custom")]=y}catch{n.prototype.inspect=y}else n.prototype.inspect=y;function y(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var C=["","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"],w=[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],T=[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];n.prototype.toString=function(g,b){g=g||10,b=b|0||1;var k;if(g===16||g==="hex"){k="";for(var x=0,S=0,f=0;f<this.length;f++){var M=this.words[f],V=((M<<x|S)&16777215).toString(16);S=M>>>24-x&16777215,x+=2,x>=26&&(x-=26,f--),S!==0||f!==this.length-1?k=C[6-V.length]+V+k:k=V+k}for(S!==0&&(k=S.toString(16)+k);k.length%b!==0;)k="0"+k;return this.negative!==0&&(k="-"+k),k}if(g===(g|0)&&g>=2&&g<=36){var D=w[g],j=T[g];k="";var Y=this.clone();for(Y.negative=0;!Y.isZero();){var oe=Y.modrn(j).toString(g);Y=Y.idivn(j),Y.isZero()?k=oe+k:k=C[D-oe.length]+oe+k}for(this.isZero()&&(k="0"+k);k.length%b!==0;)k="0"+k;return this.negative!==0&&(k="-"+k),k}s(!1,"Base should be between 2 and 36")},n.prototype.toNumber=function(){var g=this.words[0];return this.length===2?g+=this.words[1]*67108864:this.length===3&&this.words[2]===1?g+=4503599627370496+this.words[1]*67108864:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-g:g},n.prototype.toJSON=function(){return this.toString(16,2)},a&&(n.prototype.toBuffer=function(g,b){return this.toArrayLike(a,g,b)}),n.prototype.toArray=function(g,b){return this.toArrayLike(Array,g,b)};var A=function(g,b){return g.allocUnsafe?g.allocUnsafe(b):new g(b)};n.prototype.toArrayLike=function(g,b,k){this._strip();var x=this.byteLength(),S=k||Math.max(1,x);s(x<=S,"byte array longer than desired length"),s(S>0,"Requested array length <= 0");var f=A(g,S),M=b==="le"?"LE":"BE";return this["_toArrayLike"+M](f,x),f},n.prototype._toArrayLikeLE=function(g,b){for(var k=0,x=0,S=0,f=0;S<this.length;S++){var M=this.words[S]<<f|x;g[k++]=M&255,k<g.length&&(g[k++]=M>>8&255),k<g.length&&(g[k++]=M>>16&255),f===6?(k<g.length&&(g[k++]=M>>24&255),x=0,f=0):(x=M>>>24,f+=2)}if(k<g.length)for(g[k++]=x;k<g.length;)g[k++]=0},n.prototype._toArrayLikeBE=function(g,b){for(var k=g.length-1,x=0,S=0,f=0;S<this.length;S++){var M=this.words[S]<<f|x;g[k--]=M&255,k>=0&&(g[k--]=M>>8&255),k>=0&&(g[k--]=M>>16&255),f===6?(k>=0&&(g[k--]=M>>24&255),x=0,f=0):(x=M>>>24,f+=2)}if(k>=0)for(g[k--]=x;k>=0;)g[k--]=0},Math.clz32?n.prototype._countBits=function(g){return 32-Math.clz32(g)}:n.prototype._countBits=function(g){var b=g,k=0;return b>=4096&&(k+=13,b>>>=13),b>=64&&(k+=7,b>>>=7),b>=8&&(k+=4,b>>>=4),b>=2&&(k+=2,b>>>=2),k+b},n.prototype._zeroBits=function(g){if(g===0)return 26;var b=g,k=0;return b&8191||(k+=13,b>>>=13),b&127||(k+=7,b>>>=7),b&15||(k+=4,b>>>=4),b&3||(k+=2,b>>>=2),b&1||k++,k},n.prototype.bitLength=function(){var g=this.words[this.length-1],b=this._countBits(g);return(this.length-1)*26+b};function O(g){for(var b=new Array(g.bitLength()),k=0;k<b.length;k++){var x=k/26|0,S=k%26;b[k]=g.words[x]>>>S&1}return b}n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var g=0,b=0;b<this.length;b++){var k=this._zeroBits(this.words[b]);if(g+=k,k!==26)break}return g},n.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},n.prototype.toTwos=function(g){return this.negative!==0?this.abs().inotn(g).iaddn(1):this.clone()},n.prototype.fromTwos=function(g){return this.testn(g-1)?this.notn(g).iaddn(1).ineg():this.clone()},n.prototype.isNeg=function(){return this.negative!==0},n.prototype.neg=function(){return this.clone().ineg()},n.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},n.prototype.iuor=function(g){for(;this.length<g.length;)this.words[this.length++]=0;for(var b=0;b<g.length;b++)this.words[b]=this.words[b]|g.words[b];return this._strip()},n.prototype.ior=function(g){return s((this.negative|g.negative)===0),this.iuor(g)},n.prototype.or=function(g){return this.length>g.length?this.clone().ior(g):g.clone().ior(this)},n.prototype.uor=function(g){return this.length>g.length?this.clone().iuor(g):g.clone().iuor(this)},n.prototype.iuand=function(g){var b;this.length>g.length?b=g:b=this;for(var k=0;k<b.length;k++)this.words[k]=this.words[k]&g.words[k];return this.length=b.length,this._strip()},n.prototype.iand=function(g){return s((this.negative|g.negative)===0),this.iuand(g)},n.prototype.and=function(g){return this.length>g.length?this.clone().iand(g):g.clone().iand(this)},n.prototype.uand=function(g){return this.length>g.length?this.clone().iuand(g):g.clone().iuand(this)},n.prototype.iuxor=function(g){var b,k;this.length>g.length?(b=this,k=g):(b=g,k=this);for(var x=0;x<k.length;x++)this.words[x]=b.words[x]^k.words[x];if(this!==b)for(;x<b.length;x++)this.words[x]=b.words[x];return this.length=b.length,this._strip()},n.prototype.ixor=function(g){return s((this.negative|g.negative)===0),this.iuxor(g)},n.prototype.xor=function(g){return this.length>g.length?this.clone().ixor(g):g.clone().ixor(this)},n.prototype.uxor=function(g){return this.length>g.length?this.clone().iuxor(g):g.clone().iuxor(this)},n.prototype.inotn=function(g){s(typeof g=="number"&&g>=0);var b=Math.ceil(g/26)|0,k=g%26;this._expand(b),k>0&&b--;for(var x=0;x<b;x++)this.words[x]=~this.words[x]&67108863;return k>0&&(this.words[x]=~this.words[x]&67108863>>26-k),this._strip()},n.prototype.notn=function(g){return this.clone().inotn(g)},n.prototype.setn=function(g,b){s(typeof g=="number"&&g>=0);var k=g/26|0,x=g%26;return this._expand(k+1),b?this.words[k]=this.words[k]|1<<x:this.words[k]=this.words[k]&~(1<<x),this._strip()},n.prototype.iadd=function(g){var b;if(this.negative!==0&&g.negative===0)return this.negative=0,b=this.isub(g),this.negative^=1,this._normSign();if(this.negative===0&&g.negative!==0)return g.negative=0,b=this.isub(g),g.negative=1,b._normSign();var k,x;this.length>g.length?(k=this,x=g):(k=g,x=this);for(var S=0,f=0;f<x.length;f++)b=(k.words[f]|0)+(x.words[f]|0)+S,this.words[f]=b&67108863,S=b>>>26;for(;S!==0&&f<k.length;f++)b=(k.words[f]|0)+S,this.words[f]=b&67108863,S=b>>>26;if(this.length=k.length,S!==0)this.words[this.length]=S,this.length++;else if(k!==this)for(;f<k.length;f++)this.words[f]=k.words[f];return this},n.prototype.add=function(g){var b;return g.negative!==0&&this.negative===0?(g.negative=0,b=this.sub(g),g.negative^=1,b):g.negative===0&&this.negative!==0?(this.negative=0,b=g.sub(this),this.negative=1,b):this.length>g.length?this.clone().iadd(g):g.clone().iadd(this)},n.prototype.isub=function(g){if(g.negative!==0){g.negative=0;var b=this.iadd(g);return g.negative=1,b._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(g),this.negative=1,this._normSign();var k=this.cmp(g);if(k===0)return this.negative=0,this.length=1,this.words[0]=0,this;var x,S;k>0?(x=this,S=g):(x=g,S=this);for(var f=0,M=0;M<S.length;M++)b=(x.words[M]|0)-(S.words[M]|0)+f,f=b>>26,this.words[M]=b&67108863;for(;f!==0&&M<x.length;M++)b=(x.words[M]|0)+f,f=b>>26,this.words[M]=b&67108863;if(f===0&&M<x.length&&x!==this)for(;M<x.length;M++)this.words[M]=x.words[M];return this.length=Math.max(this.length,M),x!==this&&(this.negative=1),this._strip()},n.prototype.sub=function(g){return this.clone().isub(g)};function v(g,b,k){k.negative=b.negative^g.negative;var x=g.length+b.length|0;k.length=x,x=x-1|0;var S=g.words[0]|0,f=b.words[0]|0,M=S*f,V=M&67108863,D=M/67108864|0;k.words[0]=V;for(var j=1;j<x;j++){for(var Y=D>>>26,oe=D&67108863,de=Math.min(j,b.length-1),ue=Math.max(0,j-g.length+1);ue<=de;ue++){var ae=j-ue|0;S=g.words[ae]|0,f=b.words[ue]|0,M=S*f+oe,Y+=M/67108864|0,oe=M&67108863}k.words[j]=oe|0,D=Y|0}return D!==0?k.words[j]=D|0:k.length--,k._strip()}var B=function(g,b,k){var x=g.words,S=b.words,f=k.words,M=0,V,D,j,Y=x[0]|0,oe=Y&8191,de=Y>>>13,ue=x[1]|0,ae=ue&8191,q=ue>>>13,ne=x[2]|0,me=ne&8191,ve=ne>>>13,ge=x[3]|0,ce=ge&8191,ee=ge>>>13,fe=x[4]|0,ie=fe&8191,re=fe>>>13,Oe=x[5]|0,Pe=Oe&8191,Ne=Oe>>>13,Xe=x[6]|0,Je=Xe&8191,ft=Xe>>>13,Kt=x[7]|0,wt=Kt&8191,Ie=Kt>>>13,it=x[8]|0,Ye=it&8191,et=it>>>13,Gt=x[9]|0,It=Gt&8191,Rt=Gt>>>13,_r=S[0]|0,jt=_r&8191,Fe=_r>>>13,Pr=S[1]|0,$t=Pr&8191,Qt=Pr>>>13,At=S[2]|0,ur=At&8191,tr=At>>>13,Vt=S[3]|0,bt=Vt&8191,kt=Vt>>>13,er=S[4]|0,Et=er&8191,qt=er>>>13,Hr=S[5]|0,_t=Hr&8191,Wt=Hr>>>13,qr=S[6]|0,Ce=qr&8191,_e=qr>>>13,Ze=S[7]|0,he=Ze&8191,Ke=Ze>>>13,Ht=S[8]|0,yt=Ht&8191,Ot=Ht>>>13,hr=S[9]|0,Br=hr&8191,Er=hr>>>13;k.negative=g.negative^b.negative,k.length=19,V=Math.imul(oe,jt),D=Math.imul(oe,Fe),D=D+Math.imul(de,jt)|0,j=Math.imul(de,Fe);var Qe=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,V=Math.imul(ae,jt),D=Math.imul(ae,Fe),D=D+Math.imul(q,jt)|0,j=Math.imul(q,Fe),V=V+Math.imul(oe,$t)|0,D=D+Math.imul(oe,Qt)|0,D=D+Math.imul(de,$t)|0,j=j+Math.imul(de,Qt)|0;var mt=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(mt>>>26)|0,mt&=67108863,V=Math.imul(me,jt),D=Math.imul(me,Fe),D=D+Math.imul(ve,jt)|0,j=Math.imul(ve,Fe),V=V+Math.imul(ae,$t)|0,D=D+Math.imul(ae,Qt)|0,D=D+Math.imul(q,$t)|0,j=j+Math.imul(q,Qt)|0,V=V+Math.imul(oe,ur)|0,D=D+Math.imul(oe,tr)|0,D=D+Math.imul(de,ur)|0,j=j+Math.imul(de,tr)|0;var Ue=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(Ue>>>26)|0,Ue&=67108863,V=Math.imul(ce,jt),D=Math.imul(ce,Fe),D=D+Math.imul(ee,jt)|0,j=Math.imul(ee,Fe),V=V+Math.imul(me,$t)|0,D=D+Math.imul(me,Qt)|0,D=D+Math.imul(ve,$t)|0,j=j+Math.imul(ve,Qt)|0,V=V+Math.imul(ae,ur)|0,D=D+Math.imul(ae,tr)|0,D=D+Math.imul(q,ur)|0,j=j+Math.imul(q,tr)|0,V=V+Math.imul(oe,bt)|0,D=D+Math.imul(oe,kt)|0,D=D+Math.imul(de,bt)|0,j=j+Math.imul(de,kt)|0;var Ge=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,V=Math.imul(ie,jt),D=Math.imul(ie,Fe),D=D+Math.imul(re,jt)|0,j=Math.imul(re,Fe),V=V+Math.imul(ce,$t)|0,D=D+Math.imul(ce,Qt)|0,D=D+Math.imul(ee,$t)|0,j=j+Math.imul(ee,Qt)|0,V=V+Math.imul(me,ur)|0,D=D+Math.imul(me,tr)|0,D=D+Math.imul(ve,ur)|0,j=j+Math.imul(ve,tr)|0,V=V+Math.imul(ae,bt)|0,D=D+Math.imul(ae,kt)|0,D=D+Math.imul(q,bt)|0,j=j+Math.imul(q,kt)|0,V=V+Math.imul(oe,Et)|0,D=D+Math.imul(oe,qt)|0,D=D+Math.imul(de,Et)|0,j=j+Math.imul(de,qt)|0;var Me=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(Me>>>26)|0,Me&=67108863,V=Math.imul(Pe,jt),D=Math.imul(Pe,Fe),D=D+Math.imul(Ne,jt)|0,j=Math.imul(Ne,Fe),V=V+Math.imul(ie,$t)|0,D=D+Math.imul(ie,Qt)|0,D=D+Math.imul(re,$t)|0,j=j+Math.imul(re,Qt)|0,V=V+Math.imul(ce,ur)|0,D=D+Math.imul(ce,tr)|0,D=D+Math.imul(ee,ur)|0,j=j+Math.imul(ee,tr)|0,V=V+Math.imul(me,bt)|0,D=D+Math.imul(me,kt)|0,D=D+Math.imul(ve,bt)|0,j=j+Math.imul(ve,kt)|0,V=V+Math.imul(ae,Et)|0,D=D+Math.imul(ae,qt)|0,D=D+Math.imul(q,Et)|0,j=j+Math.imul(q,qt)|0,V=V+Math.imul(oe,_t)|0,D=D+Math.imul(oe,Wt)|0,D=D+Math.imul(de,_t)|0,j=j+Math.imul(de,Wt)|0;var ze=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(ze>>>26)|0,ze&=67108863,V=Math.imul(Je,jt),D=Math.imul(Je,Fe),D=D+Math.imul(ft,jt)|0,j=Math.imul(ft,Fe),V=V+Math.imul(Pe,$t)|0,D=D+Math.imul(Pe,Qt)|0,D=D+Math.imul(Ne,$t)|0,j=j+Math.imul(Ne,Qt)|0,V=V+Math.imul(ie,ur)|0,D=D+Math.imul(ie,tr)|0,D=D+Math.imul(re,ur)|0,j=j+Math.imul(re,tr)|0,V=V+Math.imul(ce,bt)|0,D=D+Math.imul(ce,kt)|0,D=D+Math.imul(ee,bt)|0,j=j+Math.imul(ee,kt)|0,V=V+Math.imul(me,Et)|0,D=D+Math.imul(me,qt)|0,D=D+Math.imul(ve,Et)|0,j=j+Math.imul(ve,qt)|0,V=V+Math.imul(ae,_t)|0,D=D+Math.imul(ae,Wt)|0,D=D+Math.imul(q,_t)|0,j=j+Math.imul(q,Wt)|0,V=V+Math.imul(oe,Ce)|0,D=D+Math.imul(oe,_e)|0,D=D+Math.imul(de,Ce)|0,j=j+Math.imul(de,_e)|0;var Le=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(Le>>>26)|0,Le&=67108863,V=Math.imul(wt,jt),D=Math.imul(wt,Fe),D=D+Math.imul(Ie,jt)|0,j=Math.imul(Ie,Fe),V=V+Math.imul(Je,$t)|0,D=D+Math.imul(Je,Qt)|0,D=D+Math.imul(ft,$t)|0,j=j+Math.imul(ft,Qt)|0,V=V+Math.imul(Pe,ur)|0,D=D+Math.imul(Pe,tr)|0,D=D+Math.imul(Ne,ur)|0,j=j+Math.imul(Ne,tr)|0,V=V+Math.imul(ie,bt)|0,D=D+Math.imul(ie,kt)|0,D=D+Math.imul(re,bt)|0,j=j+Math.imul(re,kt)|0,V=V+Math.imul(ce,Et)|0,D=D+Math.imul(ce,qt)|0,D=D+Math.imul(ee,Et)|0,j=j+Math.imul(ee,qt)|0,V=V+Math.imul(me,_t)|0,D=D+Math.imul(me,Wt)|0,D=D+Math.imul(ve,_t)|0,j=j+Math.imul(ve,Wt)|0,V=V+Math.imul(ae,Ce)|0,D=D+Math.imul(ae,_e)|0,D=D+Math.imul(q,Ce)|0,j=j+Math.imul(q,_e)|0,V=V+Math.imul(oe,he)|0,D=D+Math.imul(oe,Ke)|0,D=D+Math.imul(de,he)|0,j=j+Math.imul(de,Ke)|0;var rt=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(rt>>>26)|0,rt&=67108863,V=Math.imul(Ye,jt),D=Math.imul(Ye,Fe),D=D+Math.imul(et,jt)|0,j=Math.imul(et,Fe),V=V+Math.imul(wt,$t)|0,D=D+Math.imul(wt,Qt)|0,D=D+Math.imul(Ie,$t)|0,j=j+Math.imul(Ie,Qt)|0,V=V+Math.imul(Je,ur)|0,D=D+Math.imul(Je,tr)|0,D=D+Math.imul(ft,ur)|0,j=j+Math.imul(ft,tr)|0,V=V+Math.imul(Pe,bt)|0,D=D+Math.imul(Pe,kt)|0,D=D+Math.imul(Ne,bt)|0,j=j+Math.imul(Ne,kt)|0,V=V+Math.imul(ie,Et)|0,D=D+Math.imul(ie,qt)|0,D=D+Math.imul(re,Et)|0,j=j+Math.imul(re,qt)|0,V=V+Math.imul(ce,_t)|0,D=D+Math.imul(ce,Wt)|0,D=D+Math.imul(ee,_t)|0,j=j+Math.imul(ee,Wt)|0,V=V+Math.imul(me,Ce)|0,D=D+Math.imul(me,_e)|0,D=D+Math.imul(ve,Ce)|0,j=j+Math.imul(ve,_e)|0,V=V+Math.imul(ae,he)|0,D=D+Math.imul(ae,Ke)|0,D=D+Math.imul(q,he)|0,j=j+Math.imul(q,Ke)|0,V=V+Math.imul(oe,yt)|0,D=D+Math.imul(oe,Ot)|0,D=D+Math.imul(de,yt)|0,j=j+Math.imul(de,Ot)|0;var ht=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(ht>>>26)|0,ht&=67108863,V=Math.imul(It,jt),D=Math.imul(It,Fe),D=D+Math.imul(Rt,jt)|0,j=Math.imul(Rt,Fe),V=V+Math.imul(Ye,$t)|0,D=D+Math.imul(Ye,Qt)|0,D=D+Math.imul(et,$t)|0,j=j+Math.imul(et,Qt)|0,V=V+Math.imul(wt,ur)|0,D=D+Math.imul(wt,tr)|0,D=D+Math.imul(Ie,ur)|0,j=j+Math.imul(Ie,tr)|0,V=V+Math.imul(Je,bt)|0,D=D+Math.imul(Je,kt)|0,D=D+Math.imul(ft,bt)|0,j=j+Math.imul(ft,kt)|0,V=V+Math.imul(Pe,Et)|0,D=D+Math.imul(Pe,qt)|0,D=D+Math.imul(Ne,Et)|0,j=j+Math.imul(Ne,qt)|0,V=V+Math.imul(ie,_t)|0,D=D+Math.imul(ie,Wt)|0,D=D+Math.imul(re,_t)|0,j=j+Math.imul(re,Wt)|0,V=V+Math.imul(ce,Ce)|0,D=D+Math.imul(ce,_e)|0,D=D+Math.imul(ee,Ce)|0,j=j+Math.imul(ee,_e)|0,V=V+Math.imul(me,he)|0,D=D+Math.imul(me,Ke)|0,D=D+Math.imul(ve,he)|0,j=j+Math.imul(ve,Ke)|0,V=V+Math.imul(ae,yt)|0,D=D+Math.imul(ae,Ot)|0,D=D+Math.imul(q,yt)|0,j=j+Math.imul(q,Ot)|0,V=V+Math.imul(oe,Br)|0,D=D+Math.imul(oe,Er)|0,D=D+Math.imul(de,Br)|0,j=j+Math.imul(de,Er)|0;var ut=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(ut>>>26)|0,ut&=67108863,V=Math.imul(It,$t),D=Math.imul(It,Qt),D=D+Math.imul(Rt,$t)|0,j=Math.imul(Rt,Qt),V=V+Math.imul(Ye,ur)|0,D=D+Math.imul(Ye,tr)|0,D=D+Math.imul(et,ur)|0,j=j+Math.imul(et,tr)|0,V=V+Math.imul(wt,bt)|0,D=D+Math.imul(wt,kt)|0,D=D+Math.imul(Ie,bt)|0,j=j+Math.imul(Ie,kt)|0,V=V+Math.imul(Je,Et)|0,D=D+Math.imul(Je,qt)|0,D=D+Math.imul(ft,Et)|0,j=j+Math.imul(ft,qt)|0,V=V+Math.imul(Pe,_t)|0,D=D+Math.imul(Pe,Wt)|0,D=D+Math.imul(Ne,_t)|0,j=j+Math.imul(Ne,Wt)|0,V=V+Math.imul(ie,Ce)|0,D=D+Math.imul(ie,_e)|0,D=D+Math.imul(re,Ce)|0,j=j+Math.imul(re,_e)|0,V=V+Math.imul(ce,he)|0,D=D+Math.imul(ce,Ke)|0,D=D+Math.imul(ee,he)|0,j=j+Math.imul(ee,Ke)|0,V=V+Math.imul(me,yt)|0,D=D+Math.imul(me,Ot)|0,D=D+Math.imul(ve,yt)|0,j=j+Math.imul(ve,Ot)|0,V=V+Math.imul(ae,Br)|0,D=D+Math.imul(ae,Er)|0,D=D+Math.imul(q,Br)|0,j=j+Math.imul(q,Er)|0;var Dt=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,V=Math.imul(It,ur),D=Math.imul(It,tr),D=D+Math.imul(Rt,ur)|0,j=Math.imul(Rt,tr),V=V+Math.imul(Ye,bt)|0,D=D+Math.imul(Ye,kt)|0,D=D+Math.imul(et,bt)|0,j=j+Math.imul(et,kt)|0,V=V+Math.imul(wt,Et)|0,D=D+Math.imul(wt,qt)|0,D=D+Math.imul(Ie,Et)|0,j=j+Math.imul(Ie,qt)|0,V=V+Math.imul(Je,_t)|0,D=D+Math.imul(Je,Wt)|0,D=D+Math.imul(ft,_t)|0,j=j+Math.imul(ft,Wt)|0,V=V+Math.imul(Pe,Ce)|0,D=D+Math.imul(Pe,_e)|0,D=D+Math.imul(Ne,Ce)|0,j=j+Math.imul(Ne,_e)|0,V=V+Math.imul(ie,he)|0,D=D+Math.imul(ie,Ke)|0,D=D+Math.imul(re,he)|0,j=j+Math.imul(re,Ke)|0,V=V+Math.imul(ce,yt)|0,D=D+Math.imul(ce,Ot)|0,D=D+Math.imul(ee,yt)|0,j=j+Math.imul(ee,Ot)|0,V=V+Math.imul(me,Br)|0,D=D+Math.imul(me,Er)|0,D=D+Math.imul(ve,Br)|0,j=j+Math.imul(ve,Er)|0;var He=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(He>>>26)|0,He&=67108863,V=Math.imul(It,bt),D=Math.imul(It,kt),D=D+Math.imul(Rt,bt)|0,j=Math.imul(Rt,kt),V=V+Math.imul(Ye,Et)|0,D=D+Math.imul(Ye,qt)|0,D=D+Math.imul(et,Et)|0,j=j+Math.imul(et,qt)|0,V=V+Math.imul(wt,_t)|0,D=D+Math.imul(wt,Wt)|0,D=D+Math.imul(Ie,_t)|0,j=j+Math.imul(Ie,Wt)|0,V=V+Math.imul(Je,Ce)|0,D=D+Math.imul(Je,_e)|0,D=D+Math.imul(ft,Ce)|0,j=j+Math.imul(ft,_e)|0,V=V+Math.imul(Pe,he)|0,D=D+Math.imul(Pe,Ke)|0,D=D+Math.imul(Ne,he)|0,j=j+Math.imul(Ne,Ke)|0,V=V+Math.imul(ie,yt)|0,D=D+Math.imul(ie,Ot)|0,D=D+Math.imul(re,yt)|0,j=j+Math.imul(re,Ot)|0,V=V+Math.imul(ce,Br)|0,D=D+Math.imul(ce,Er)|0,D=D+Math.imul(ee,Br)|0,j=j+Math.imul(ee,Er)|0;var nt=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(nt>>>26)|0,nt&=67108863,V=Math.imul(It,Et),D=Math.imul(It,qt),D=D+Math.imul(Rt,Et)|0,j=Math.imul(Rt,qt),V=V+Math.imul(Ye,_t)|0,D=D+Math.imul(Ye,Wt)|0,D=D+Math.imul(et,_t)|0,j=j+Math.imul(et,Wt)|0,V=V+Math.imul(wt,Ce)|0,D=D+Math.imul(wt,_e)|0,D=D+Math.imul(Ie,Ce)|0,j=j+Math.imul(Ie,_e)|0,V=V+Math.imul(Je,he)|0,D=D+Math.imul(Je,Ke)|0,D=D+Math.imul(ft,he)|0,j=j+Math.imul(ft,Ke)|0,V=V+Math.imul(Pe,yt)|0,D=D+Math.imul(Pe,Ot)|0,D=D+Math.imul(Ne,yt)|0,j=j+Math.imul(Ne,Ot)|0,V=V+Math.imul(ie,Br)|0,D=D+Math.imul(ie,Er)|0,D=D+Math.imul(re,Br)|0,j=j+Math.imul(re,Er)|0;var at=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(at>>>26)|0,at&=67108863,V=Math.imul(It,_t),D=Math.imul(It,Wt),D=D+Math.imul(Rt,_t)|0,j=Math.imul(Rt,Wt),V=V+Math.imul(Ye,Ce)|0,D=D+Math.imul(Ye,_e)|0,D=D+Math.imul(et,Ce)|0,j=j+Math.imul(et,_e)|0,V=V+Math.imul(wt,he)|0,D=D+Math.imul(wt,Ke)|0,D=D+Math.imul(Ie,he)|0,j=j+Math.imul(Ie,Ke)|0,V=V+Math.imul(Je,yt)|0,D=D+Math.imul(Je,Ot)|0,D=D+Math.imul(ft,yt)|0,j=j+Math.imul(ft,Ot)|0,V=V+Math.imul(Pe,Br)|0,D=D+Math.imul(Pe,Er)|0,D=D+Math.imul(Ne,Br)|0,j=j+Math.imul(Ne,Er)|0;var Tt=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,V=Math.imul(It,Ce),D=Math.imul(It,_e),D=D+Math.imul(Rt,Ce)|0,j=Math.imul(Rt,_e),V=V+Math.imul(Ye,he)|0,D=D+Math.imul(Ye,Ke)|0,D=D+Math.imul(et,he)|0,j=j+Math.imul(et,Ke)|0,V=V+Math.imul(wt,yt)|0,D=D+Math.imul(wt,Ot)|0,D=D+Math.imul(Ie,yt)|0,j=j+Math.imul(Ie,Ot)|0,V=V+Math.imul(Je,Br)|0,D=D+Math.imul(Je,Er)|0,D=D+Math.imul(ft,Br)|0,j=j+Math.imul(ft,Er)|0;var pt=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(pt>>>26)|0,pt&=67108863,V=Math.imul(It,he),D=Math.imul(It,Ke),D=D+Math.imul(Rt,he)|0,j=Math.imul(Rt,Ke),V=V+Math.imul(Ye,yt)|0,D=D+Math.imul(Ye,Ot)|0,D=D+Math.imul(et,yt)|0,j=j+Math.imul(et,Ot)|0,V=V+Math.imul(wt,Br)|0,D=D+Math.imul(wt,Er)|0,D=D+Math.imul(Ie,Br)|0,j=j+Math.imul(Ie,Er)|0;var Bt=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,V=Math.imul(It,yt),D=Math.imul(It,Ot),D=D+Math.imul(Rt,yt)|0,j=Math.imul(Rt,Ot),V=V+Math.imul(Ye,Br)|0,D=D+Math.imul(Ye,Er)|0,D=D+Math.imul(et,Br)|0,j=j+Math.imul(et,Er)|0;var Zt=(M+V|0)+((D&8191)<<13)|0;M=(j+(D>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,V=Math.imul(It,Br),D=Math.imul(It,Er),D=D+Math.imul(Rt,Br)|0,j=Math.imul(Rt,Er);var K=(M+V|0)+((D&8191)<<13)|0;return M=(j+(D>>>13)|0)+(K>>>26)|0,K&=67108863,f[0]=Qe,f[1]=mt,f[2]=Ue,f[3]=Ge,f[4]=Me,f[5]=ze,f[6]=Le,f[7]=rt,f[8]=ht,f[9]=ut,f[10]=Dt,f[11]=He,f[12]=nt,f[13]=at,f[14]=Tt,f[15]=pt,f[16]=Bt,f[17]=Zt,f[18]=K,M!==0&&(f[19]=M,k.length++),k};Math.imul||(B=v);function R(g,b,k){k.negative=b.negative^g.negative,k.length=g.length+b.length;for(var x=0,S=0,f=0;f<k.length-1;f++){var M=S;S=0;for(var V=x&67108863,D=Math.min(f,b.length-1),j=Math.max(0,f-g.length+1);j<=D;j++){var Y=f-j,oe=g.words[Y]|0,de=b.words[j]|0,ue=oe*de,ae=ue&67108863;M=M+(ue/67108864|0)|0,ae=ae+V|0,V=ae&67108863,M=M+(ae>>>26)|0,S+=M>>>26,M&=67108863}k.words[f]=V,x=M,M=S}return x!==0?k.words[f]=x:k.length--,k._strip()}function U(g,b,k){return R(g,b,k)}n.prototype.mulTo=function(g,b){var k,x=this.length+g.length;return this.length===10&&g.length===10?k=B(this,g,b):x<63?k=v(this,g,b):x<1024?k=R(this,g,b):k=U(this,g,b),k};function N(g,b){this.x=g,this.y=b}N.prototype.makeRBT=function(g){for(var b=new Array(g),k=n.prototype._countBits(g)-1,x=0;x<g;x++)b[x]=this.revBin(x,k,g);return b},N.prototype.revBin=function(g,b,k){if(g===0||g===k-1)return g;for(var x=0,S=0;S<b;S++)x|=(g&1)<<b-S-1,g>>=1;return x},N.prototype.permute=function(g,b,k,x,S,f){for(var M=0;M<f;M++)x[M]=b[g[M]],S[M]=k[g[M]]},N.prototype.transform=function(g,b,k,x,S,f){this.permute(f,g,b,k,x,S);for(var M=1;M<S;M<<=1)for(var V=M<<1,D=Math.cos(2*Math.PI/V),j=Math.sin(2*Math.PI/V),Y=0;Y<S;Y+=V)for(var oe=D,de=j,ue=0;ue<M;ue++){var ae=k[Y+ue],q=x[Y+ue],ne=k[Y+ue+M],me=x[Y+ue+M],ve=oe*ne-de*me;me=oe*me+de*ne,ne=ve,k[Y+ue]=ae+ne,x[Y+ue]=q+me,k[Y+ue+M]=ae-ne,x[Y+ue+M]=q-me,ue!==V&&(ve=D*oe-j*de,de=D*de+j*oe,oe=ve)}},N.prototype.guessLen13b=function(g,b){var k=Math.max(b,g)|1,x=k&1,S=0;for(k=k/2|0;k;k=k>>>1)S++;return 1<<S+1+x},N.prototype.conjugate=function(g,b,k){if(!(k<=1))for(var x=0;x<k/2;x++){var S=g[x];g[x]=g[k-x-1],g[k-x-1]=S,S=b[x],b[x]=-b[k-x-1],b[k-x-1]=-S}},N.prototype.normalize13b=function(g,b){for(var k=0,x=0;x<b/2;x++){var S=Math.round(g[2*x+1]/b)*8192+Math.round(g[2*x]/b)+k;g[x]=S&67108863,S<67108864?k=0:k=S/67108864|0}return g},N.prototype.convert13b=function(g,b,k,x){for(var S=0,f=0;f<b;f++)S=S+(g[f]|0),k[2*f]=S&8191,S=S>>>13,k[2*f+1]=S&8191,S=S>>>13;for(f=2*b;f<x;++f)k[f]=0;s(S===0),s((S&-8192)===0)},N.prototype.stub=function(g){for(var b=new Array(g),k=0;k<g;k++)b[k]=0;return b},N.prototype.mulp=function(g,b,k){var x=2*this.guessLen13b(g.length,b.length),S=this.makeRBT(x),f=this.stub(x),M=new Array(x),V=new Array(x),D=new Array(x),j=new Array(x),Y=new Array(x),oe=new Array(x),de=k.words;de.length=x,this.convert13b(g.words,g.length,M,x),this.convert13b(b.words,b.length,j,x),this.transform(M,f,V,D,x,S),this.transform(j,f,Y,oe,x,S);for(var ue=0;ue<x;ue++){var ae=V[ue]*Y[ue]-D[ue]*oe[ue];D[ue]=V[ue]*oe[ue]+D[ue]*Y[ue],V[ue]=ae}return this.conjugate(V,D,x),this.transform(V,D,de,f,x,S),this.conjugate(de,f,x),this.normalize13b(de,x),k.negative=g.negative^b.negative,k.length=g.length+b.length,k._strip()},n.prototype.mul=function(g){var b=new n(null);return b.words=new Array(this.length+g.length),this.mulTo(g,b)},n.prototype.mulf=function(g){var b=new n(null);return b.words=new Array(this.length+g.length),U(this,g,b)},n.prototype.imul=function(g){return this.clone().mulTo(g,this)},n.prototype.imuln=function(g){var b=g<0;b&&(g=-g),s(typeof g=="number"),s(g<67108864);for(var k=0,x=0;x<this.length;x++){var S=(this.words[x]|0)*g,f=(S&67108863)+(k&67108863);k>>=26,k+=S/67108864|0,k+=f>>>26,this.words[x]=f&67108863}return k!==0&&(this.words[x]=k,this.length++),b?this.ineg():this},n.prototype.muln=function(g){return this.clone().imuln(g)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(g){var b=O(g);if(b.length===0)return new n(1);for(var k=this,x=0;x<b.length&&b[x]===0;x++,k=k.sqr());if(++x<b.length)for(var S=k.sqr();x<b.length;x++,S=S.sqr())b[x]!==0&&(k=k.mul(S));return k},n.prototype.iushln=function(g){s(typeof g=="number"&&g>=0);var b=g%26,k=(g-b)/26,x=67108863>>>26-b<<26-b,S;if(b!==0){var f=0;for(S=0;S<this.length;S++){var M=this.words[S]&x,V=(this.words[S]|0)-M<<b;this.words[S]=V|f,f=M>>>26-b}f&&(this.words[S]=f,this.length++)}if(k!==0){for(S=this.length-1;S>=0;S--)this.words[S+k]=this.words[S];for(S=0;S<k;S++)this.words[S]=0;this.length+=k}return this._strip()},n.prototype.ishln=function(g){return s(this.negative===0),this.iushln(g)},n.prototype.iushrn=function(g,b,k){s(typeof g=="number"&&g>=0);var x;b?x=(b-b%26)/26:x=0;var S=g%26,f=Math.min((g-S)/26,this.length),M=67108863^67108863>>>S<<S,V=k;if(x-=f,x=Math.max(0,x),V){for(var D=0;D<f;D++)V.words[D]=this.words[D];V.length=f}if(f!==0)if(this.length>f)for(this.length-=f,D=0;D<this.length;D++)this.words[D]=this.words[D+f];else this.words[0]=0,this.length=1;var j=0;for(D=this.length-1;D>=0&&(j!==0||D>=x);D--){var Y=this.words[D]|0;this.words[D]=j<<26-S|Y>>>S,j=Y&M}return V&&j!==0&&(V.words[V.length++]=j),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},n.prototype.ishrn=function(g,b,k){return s(this.negative===0),this.iushrn(g,b,k)},n.prototype.shln=function(g){return this.clone().ishln(g)},n.prototype.ushln=function(g){return this.clone().iushln(g)},n.prototype.shrn=function(g){return this.clone().ishrn(g)},n.prototype.ushrn=function(g){return this.clone().iushrn(g)},n.prototype.testn=function(g){s(typeof g=="number"&&g>=0);var b=g%26,k=(g-b)/26,x=1<<b;if(this.length<=k)return!1;var S=this.words[k];return!!(S&x)},n.prototype.imaskn=function(g){s(typeof g=="number"&&g>=0);var b=g%26,k=(g-b)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=k)return this;if(b!==0&&k++,this.length=Math.min(k,this.length),b!==0){var x=67108863^67108863>>>b<<b;this.words[this.length-1]&=x}return this._strip()},n.prototype.maskn=function(g){return this.clone().imaskn(g)},n.prototype.iaddn=function(g){return s(typeof g=="number"),s(g<67108864),g<0?this.isubn(-g):this.negative!==0?this.length===1&&(this.words[0]|0)<=g?(this.words[0]=g-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(g),this.negative=1,this):this._iaddn(g)},n.prototype._iaddn=function(g){this.words[0]+=g;for(var b=0;b<this.length&&this.words[b]>=67108864;b++)this.words[b]-=67108864,b===this.length-1?this.words[b+1]=1:this.words[b+1]++;return this.length=Math.max(this.length,b+1),this},n.prototype.isubn=function(g){if(s(typeof g=="number"),s(g<67108864),g<0)return this.iaddn(-g);if(this.negative!==0)return this.negative=0,this.iaddn(g),this.negative=1,this;if(this.words[0]-=g,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var b=0;b<this.length&&this.words[b]<0;b++)this.words[b]+=67108864,this.words[b+1]-=1;return this._strip()},n.prototype.addn=function(g){return this.clone().iaddn(g)},n.prototype.subn=function(g){return this.clone().isubn(g)},n.prototype.iabs=function(){return this.negative=0,this},n.prototype.abs=function(){return this.clone().iabs()},n.prototype._ishlnsubmul=function(g,b,k){var x=g.length+k,S;this._expand(x);var f,M=0;for(S=0;S<g.length;S++){f=(this.words[S+k]|0)+M;var V=(g.words[S]|0)*b;f-=V&67108863,M=(f>>26)-(V/67108864|0),this.words[S+k]=f&67108863}for(;S<this.length-k;S++)f=(this.words[S+k]|0)+M,M=f>>26,this.words[S+k]=f&67108863;if(M===0)return this._strip();for(s(M===-1),M=0,S=0;S<this.length;S++)f=-(this.words[S]|0)+M,M=f>>26,this.words[S]=f&67108863;return this.negative=1,this._strip()},n.prototype._wordDiv=function(g,b){var k=this.length-g.length,x=this.clone(),S=g,f=S.words[S.length-1]|0,M=this._countBits(f);k=26-M,k!==0&&(S=S.ushln(k),x.iushln(k),f=S.words[S.length-1]|0);var V=x.length-S.length,D;if(b!=="mod"){D=new n(null),D.length=V+1,D.words=new Array(D.length);for(var j=0;j<D.length;j++)D.words[j]=0}var Y=x.clone()._ishlnsubmul(S,1,V);Y.negative===0&&(x=Y,D&&(D.words[V]=1));for(var oe=V-1;oe>=0;oe--){var de=(x.words[S.length+oe]|0)*67108864+(x.words[S.length+oe-1]|0);for(de=Math.min(de/f|0,67108863),x._ishlnsubmul(S,de,oe);x.negative!==0;)de--,x.negative=0,x._ishlnsubmul(S,1,oe),x.isZero()||(x.negative^=1);D&&(D.words[oe]=de)}return D&&D._strip(),x._strip(),b!=="div"&&k!==0&&x.iushrn(k),{div:D||null,mod:x}},n.prototype.divmod=function(g,b,k){if(s(!g.isZero()),this.isZero())return{div:new n(0),mod:new n(0)};var x,S,f;return this.negative!==0&&g.negative===0?(f=this.neg().divmod(g,b),b!=="mod"&&(x=f.div.neg()),b!=="div"&&(S=f.mod.neg(),k&&S.negative!==0&&S.iadd(g)),{div:x,mod:S}):this.negative===0&&g.negative!==0?(f=this.divmod(g.neg(),b),b!=="mod"&&(x=f.div.neg()),{div:x,mod:f.mod}):this.negative&g.negative?(f=this.neg().divmod(g.neg(),b),b!=="div"&&(S=f.mod.neg(),k&&S.negative!==0&&S.isub(g)),{div:f.div,mod:S}):g.length>this.length||this.cmp(g)<0?{div:new n(0),mod:this}:g.length===1?b==="div"?{div:this.divn(g.words[0]),mod:null}:b==="mod"?{div:null,mod:new n(this.modrn(g.words[0]))}:{div:this.divn(g.words[0]),mod:new n(this.modrn(g.words[0]))}:this._wordDiv(g,b)},n.prototype.div=function(g){return this.divmod(g,"div",!1).div},n.prototype.mod=function(g){return this.divmod(g,"mod",!1).mod},n.prototype.umod=function(g){return this.divmod(g,"mod",!0).mod},n.prototype.divRound=function(g){var b=this.divmod(g);if(b.mod.isZero())return b.div;var k=b.div.negative!==0?b.mod.isub(g):b.mod,x=g.ushrn(1),S=g.andln(1),f=k.cmp(x);return f<0||S===1&&f===0?b.div:b.div.negative!==0?b.div.isubn(1):b.div.iaddn(1)},n.prototype.modrn=function(g){var b=g<0;b&&(g=-g),s(g<=67108863);for(var k=(1<<26)%g,x=0,S=this.length-1;S>=0;S--)x=(k*x+(this.words[S]|0))%g;return b?-x:x},n.prototype.modn=function(g){return this.modrn(g)},n.prototype.idivn=function(g){var b=g<0;b&&(g=-g),s(g<=67108863);for(var k=0,x=this.length-1;x>=0;x--){var S=(this.words[x]|0)+k*67108864;this.words[x]=S/g|0,k=S%g}return this._strip(),b?this.ineg():this},n.prototype.divn=function(g){return this.clone().idivn(g)},n.prototype.egcd=function(g){s(g.negative===0),s(!g.isZero());var b=this,k=g.clone();b.negative!==0?b=b.umod(g):b=b.clone();for(var x=new n(1),S=new n(0),f=new n(0),M=new n(1),V=0;b.isEven()&&k.isEven();)b.iushrn(1),k.iushrn(1),++V;for(var D=k.clone(),j=b.clone();!b.isZero();){for(var Y=0,oe=1;!(b.words[0]&oe)&&Y<26;++Y,oe<<=1);if(Y>0)for(b.iushrn(Y);Y-- >0;)(x.isOdd()||S.isOdd())&&(x.iadd(D),S.isub(j)),x.iushrn(1),S.iushrn(1);for(var de=0,ue=1;!(k.words[0]&ue)&&de<26;++de,ue<<=1);if(de>0)for(k.iushrn(de);de-- >0;)(f.isOdd()||M.isOdd())&&(f.iadd(D),M.isub(j)),f.iushrn(1),M.iushrn(1);b.cmp(k)>=0?(b.isub(k),x.isub(f),S.isub(M)):(k.isub(b),f.isub(x),M.isub(S))}return{a:f,b:M,gcd:k.iushln(V)}},n.prototype._invmp=function(g){s(g.negative===0),s(!g.isZero());var b=this,k=g.clone();b.negative!==0?b=b.umod(g):b=b.clone();for(var x=new n(1),S=new n(0),f=k.clone();b.cmpn(1)>0&&k.cmpn(1)>0;){for(var M=0,V=1;!(b.words[0]&V)&&M<26;++M,V<<=1);if(M>0)for(b.iushrn(M);M-- >0;)x.isOdd()&&x.iadd(f),x.iushrn(1);for(var D=0,j=1;!(k.words[0]&j)&&D<26;++D,j<<=1);if(D>0)for(k.iushrn(D);D-- >0;)S.isOdd()&&S.iadd(f),S.iushrn(1);b.cmp(k)>=0?(b.isub(k),x.isub(S)):(k.isub(b),S.isub(x))}var Y;return b.cmpn(1)===0?Y=x:Y=S,Y.cmpn(0)<0&&Y.iadd(g),Y},n.prototype.gcd=function(g){if(this.isZero())return g.abs();if(g.isZero())return this.abs();var b=this.clone(),k=g.clone();b.negative=0,k.negative=0;for(var x=0;b.isEven()&&k.isEven();x++)b.iushrn(1),k.iushrn(1);do{for(;b.isEven();)b.iushrn(1);for(;k.isEven();)k.iushrn(1);var S=b.cmp(k);if(S<0){var f=b;b=k,k=f}else if(S===0||k.cmpn(1)===0)break;b.isub(k)}while(!0);return k.iushln(x)},n.prototype.invm=function(g){return this.egcd(g).a.umod(g)},n.prototype.isEven=function(){return(this.words[0]&1)===0},n.prototype.isOdd=function(){return(this.words[0]&1)===1},n.prototype.andln=function(g){return this.words[0]&g},n.prototype.bincn=function(g){s(typeof g=="number");var b=g%26,k=(g-b)/26,x=1<<b;if(this.length<=k)return this._expand(k+1),this.words[k]|=x,this;for(var S=x,f=k;S!==0&&f<this.length;f++){var M=this.words[f]|0;M+=S,S=M>>>26,M&=67108863,this.words[f]=M}return S!==0&&(this.words[f]=S,this.length++),this},n.prototype.isZero=function(){return this.length===1&&this.words[0]===0},n.prototype.cmpn=function(g){var b=g<0;if(this.negative!==0&&!b)return-1;if(this.negative===0&&b)return 1;this._strip();var k;if(this.length>1)k=1;else{b&&(g=-g),s(g<=67108863,"Number is too big");var x=this.words[0]|0;k=x===g?0:x<g?-1:1}return this.negative!==0?-k|0:k},n.prototype.cmp=function(g){if(this.negative!==0&&g.negative===0)return-1;if(this.negative===0&&g.negative!==0)return 1;var b=this.ucmp(g);return this.negative!==0?-b|0:b},n.prototype.ucmp=function(g){if(this.length>g.length)return 1;if(this.length<g.length)return-1;for(var b=0,k=this.length-1;k>=0;k--){var x=this.words[k]|0,S=g.words[k]|0;if(x!==S){x<S?b=-1:x>S&&(b=1);break}}return b},n.prototype.gtn=function(g){return this.cmpn(g)===1},n.prototype.gt=function(g){return this.cmp(g)===1},n.prototype.gten=function(g){return this.cmpn(g)>=0},n.prototype.gte=function(g){return this.cmp(g)>=0},n.prototype.ltn=function(g){return this.cmpn(g)===-1},n.prototype.lt=function(g){return this.cmp(g)===-1},n.prototype.lten=function(g){return this.cmpn(g)<=0},n.prototype.lte=function(g){return this.cmp(g)<=0},n.prototype.eqn=function(g){return this.cmpn(g)===0},n.prototype.eq=function(g){return this.cmp(g)===0},n.red=function(g){return new p(g)},n.prototype.toRed=function(g){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),g.convertTo(this)._forceRed(g)},n.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(g){return this.red=g,this},n.prototype.forceRed=function(g){return s(!this.red,"Already a number in reduction context"),this._forceRed(g)},n.prototype.redAdd=function(g){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,g)},n.prototype.redIAdd=function(g){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,g)},n.prototype.redSub=function(g){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,g)},n.prototype.redISub=function(g){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,g)},n.prototype.redShl=function(g){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,g)},n.prototype.redMul=function(g){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,g),this.red.mul(this,g)},n.prototype.redIMul=function(g){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,g),this.red.imul(this,g)},n.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(g){return s(this.red&&!g.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,g)};var _={k256:null,p224:null,p192:null,p25519:null};function L(g,b){this.name=g,this.p=new n(b,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}L.prototype._tmp=function(){var g=new n(null);return g.words=new Array(Math.ceil(this.n/13)),g},L.prototype.ireduce=function(g){var b=g,k;do this.split(b,this.tmp),b=this.imulK(b),b=b.iadd(this.tmp),k=b.bitLength();while(k>this.n);var x=k<this.n?-1:b.ucmp(this.p);return x===0?(b.words[0]=0,b.length=1):x>0?b.isub(this.p):b.strip!==void 0?b.strip():b._strip(),b},L.prototype.split=function(g,b){g.iushrn(this.n,0,b)},L.prototype.imulK=function(g){return g.imul(this.k)};function H(){L.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(H,L),H.prototype.split=function(g,b){for(var k=4194303,x=Math.min(g.length,9),S=0;S<x;S++)b.words[S]=g.words[S];if(b.length=x,g.length<=9){g.words[0]=0,g.length=1;return}var f=g.words[9];for(b.words[b.length++]=f&k,S=10;S<g.length;S++){var M=g.words[S]|0;g.words[S-10]=(M&k)<<4|f>>>22,f=M}f>>>=22,g.words[S-10]=f,f===0&&g.length>10?g.length-=10:g.length-=9},H.prototype.imulK=function(g){g.words[g.length]=0,g.words[g.length+1]=0,g.length+=2;for(var b=0,k=0;k<g.length;k++){var x=g.words[k]|0;b+=x*977,g.words[k]=b&67108863,b=x*64+(b/67108864|0)}return g.words[g.length-1]===0&&(g.length--,g.words[g.length-1]===0&&g.length--),g};function F(){L.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i(F,L);function G(){L.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i(G,L);function l(){L.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i(l,L),l.prototype.imulK=function(g){for(var b=0,k=0;k<g.length;k++){var x=(g.words[k]|0)*19+b,S=x&67108863;x>>>=26,g.words[k]=S,b=x}return b!==0&&(g.words[g.length++]=b),g},n._prime=function(g){if(_[g])return _[g];var b;if(g==="k256")b=new H;else if(g==="p224")b=new F;else if(g==="p192")b=new G;else if(g==="p25519")b=new l;else throw new Error("Unknown prime "+g);return _[g]=b,b};function p(g){if(typeof g=="string"){var b=n._prime(g);this.m=b.p,this.prime=b}else s(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}p.prototype._verify1=function(g){s(g.negative===0,"red works only with positives"),s(g.red,"red works only with red numbers")},p.prototype._verify2=function(g,b){s((g.negative|b.negative)===0,"red works only with positives"),s(g.red&&g.red===b.red,"red works only with red numbers")},p.prototype.imod=function(g){return this.prime?this.prime.ireduce(g)._forceRed(this):(h(g,g.umod(this.m)._forceRed(this)),g)},p.prototype.neg=function(g){return g.isZero()?g.clone():this.m.sub(g)._forceRed(this)},p.prototype.add=function(g,b){this._verify2(g,b);var k=g.add(b);return k.cmp(this.m)>=0&&k.isub(this.m),k._forceRed(this)},p.prototype.iadd=function(g,b){this._verify2(g,b);var k=g.iadd(b);return k.cmp(this.m)>=0&&k.isub(this.m),k},p.prototype.sub=function(g,b){this._verify2(g,b);var k=g.sub(b);return k.cmpn(0)<0&&k.iadd(this.m),k._forceRed(this)},p.prototype.isub=function(g,b){this._verify2(g,b);var k=g.isub(b);return k.cmpn(0)<0&&k.iadd(this.m),k},p.prototype.shl=function(g,b){return this._verify1(g),this.imod(g.ushln(b))},p.prototype.imul=function(g,b){return this._verify2(g,b),this.imod(g.imul(b))},p.prototype.mul=function(g,b){return this._verify2(g,b),this.imod(g.mul(b))},p.prototype.isqr=function(g){return this.imul(g,g.clone())},p.prototype.sqr=function(g){return this.mul(g,g)},p.prototype.sqrt=function(g){if(g.isZero())return g.clone();var b=this.m.andln(3);if(s(b%2===1),b===3){var k=this.m.add(new n(1)).iushrn(2);return this.pow(g,k)}for(var x=this.m.subn(1),S=0;!x.isZero()&&x.andln(1)===0;)S++,x.iushrn(1);s(!x.isZero());var f=new n(1).toRed(this),M=f.redNeg(),V=this.m.subn(1).iushrn(1),D=this.m.bitLength();for(D=new n(2*D*D).toRed(this);this.pow(D,V).cmp(M)!==0;)D.redIAdd(M);for(var j=this.pow(D,x),Y=this.pow(g,x.addn(1).iushrn(1)),oe=this.pow(g,x),de=S;oe.cmp(f)!==0;){for(var ue=oe,ae=0;ue.cmp(f)!==0;ae++)ue=ue.redSqr();s(ae<de);var q=this.pow(j,new n(1).iushln(de-ae-1));Y=Y.redMul(q),j=q.redSqr(),oe=oe.redMul(j),de=ae}return Y},p.prototype.invm=function(g){var b=g._invmp(this.m);return b.negative!==0?(b.negative=0,this.imod(b).redNeg()):this.imod(b)},p.prototype.pow=function(g,b){if(b.isZero())return new n(1).toRed(this);if(b.cmpn(1)===0)return g.clone();var k=4,x=new Array(1<<k);x[0]=new n(1).toRed(this),x[1]=g;for(var S=2;S<x.length;S++)x[S]=this.mul(x[S-1],g);var f=x[0],M=0,V=0,D=b.bitLength()%26;for(D===0&&(D=26),S=b.length-1;S>=0;S--){for(var j=b.words[S],Y=D-1;Y>=0;Y--){var oe=j>>Y&1;if(f!==x[0]&&(f=this.sqr(f)),oe===0&&M===0){V=0;continue}M<<=1,M|=oe,V++,!(V!==k&&(S!==0||Y!==0))&&(f=this.mul(f,x[M]),V=0,M=0)}D=26}return f},p.prototype.convertTo=function(g){var b=g.umod(this.m);return b===g?b.clone():b},p.prototype.convertFrom=function(g){var b=g.clone();return b.red=null,b},n.mont=function(g){return new E(g)};function E(g){p.call(this,g),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new n(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)}i(E,p),E.prototype.convertTo=function(g){return this.imod(g.ushln(this.shift))},E.prototype.convertFrom=function(g){var b=this.imod(g.mul(this.rinv));return b.red=null,b},E.prototype.imul=function(g,b){if(g.isZero()||b.isZero())return g.words[0]=0,g.length=1,g;var k=g.imul(b),x=k.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=k.isub(x).iushrn(this.shift),f=S;return S.cmp(this.m)>=0?f=S.isub(this.m):S.cmpn(0)<0&&(f=S.iadd(this.m)),f._forceRed(this)},E.prototype.mul=function(g,b){if(g.isZero()||b.isZero())return new n(0)._forceRed(this);var k=g.mul(b),x=k.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=k.isub(x).iushrn(this.shift),f=S;return S.cmp(this.m)>=0?f=S.isub(this.m):S.cmpn(0)<0&&(f=S.iadd(this.m)),f._forceRed(this)},E.prototype.invm=function(g){var b=this.imod(g._invmp(this.m).mul(this.r2));return b._forceRed(this)}})(typeof t>"u"||t,e)}),WD=W((e,t)=>{"use strict";m();var r=sS(),o=Ux(),s=vn().Buffer;function i(u){var c=u.modulus.byteLength(),d;do d=new r(o(c));while(d.cmp(u.modulus)>=0||!d.umod(u.prime1)||!d.umod(u.prime2));return d}function n(u){var c=i(u),d=c.toRed(r.mont(u.modulus)).redPow(new r(u.publicExponent)).fromRed();return{blinder:d,unblinder:c.invm(u.modulus)}}function a(u,c){var d=n(c),h=c.modulus.byteLength(),y=new r(u).mul(d.blinder).umod(c.modulus),C=y.toRed(r.mont(c.prime1)),w=y.toRed(r.mont(c.prime2)),T=c.coefficient,A=c.prime1,O=c.prime2,v=C.redPow(c.exponent1).fromRed(),B=w.redPow(c.exponent2).fromRed(),R=v.isub(B).imul(T).umod(A).imul(O);return B.iadd(R).imul(d.unblinder).umod(c.modulus).toArrayLike(s,"be",h)}a.getr=i,t.exports=a}),v4e=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(r,o){"use strict";function s(l,p){if(!l)throw new Error(p||"Assertion failed")}function i(l,p){l.super_=p;var E=function(){};E.prototype=p.prototype,l.prototype=new E,l.prototype.constructor=l}function n(l,p,E){if(n.isBN(l))return l;this.negative=0,this.words=null,this.length=0,this.red=null,l!==null&&((p==="le"||p==="be")&&(E=p,p=10),this._init(l||0,p||10,E||"be"))}typeof r=="object"?r.exports=n:o.BN=n,n.BN=n,n.wordSize=26;var a;try{typeof window<"u"&&typeof window.Buffer<"u"?a=window.Buffer:a=Go().Buffer}catch{}n.isBN=function(l){return l instanceof n?!0:l!==null&&typeof l=="object"&&l.constructor.wordSize===n.wordSize&&Array.isArray(l.words)},n.max=function(l,p){return l.cmp(p)>0?l:p},n.min=function(l,p){return l.cmp(p)<0?l:p},n.prototype._init=function(l,p,E){if(typeof l=="number")return this._initNumber(l,p,E);if(typeof l=="object")return this._initArray(l,p,E);p==="hex"&&(p=16),s(p===(p|0)&&p>=2&&p<=36),l=l.toString().replace(/\s+/g,"");var g=0;l[0]==="-"&&(g++,this.negative=1),g<l.length&&(p===16?this._parseHex(l,g,E):(this._parseBase(l,p,g),E==="le"&&this._initArray(this.toArray(),p,E)))},n.prototype._initNumber=function(l,p,E){l<0&&(this.negative=1,l=-l),l<67108864?(this.words=[l&67108863],this.length=1):l<4503599627370496?(this.words=[l&67108863,l/67108864&67108863],this.length=2):(s(l<9007199254740992),this.words=[l&67108863,l/67108864&67108863,1],this.length=3),E==="le"&&this._initArray(this.toArray(),p,E)},n.prototype._initArray=function(l,p,E){if(s(typeof l.length=="number"),l.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(l.length/3),this.words=new Array(this.length);for(var g=0;g<this.length;g++)this.words[g]=0;var b,k,x=0;if(E==="be")for(g=l.length-1,b=0;g>=0;g-=3)k=l[g]|l[g-1]<<8|l[g-2]<<16,this.words[b]|=k<<x&67108863,this.words[b+1]=k>>>26-x&67108863,x+=24,x>=26&&(x-=26,b++);else if(E==="le")for(g=0,b=0;g<l.length;g+=3)k=l[g]|l[g+1]<<8|l[g+2]<<16,this.words[b]|=k<<x&67108863,this.words[b+1]=k>>>26-x&67108863,x+=24,x>=26&&(x-=26,b++);return this.strip()};function u(l,p){var E=l.charCodeAt(p);return E>=65&&E<=70?E-55:E>=97&&E<=102?E-87:E-48&15}function c(l,p,E){var g=u(l,E);return E-1>=p&&(g|=u(l,E-1)<<4),g}n.prototype._parseHex=function(l,p,E){this.length=Math.ceil((l.length-p)/6),this.words=new Array(this.length);for(var g=0;g<this.length;g++)this.words[g]=0;var b=0,k=0,x;if(E==="be")for(g=l.length-1;g>=p;g-=2)x=c(l,p,g)<<b,this.words[k]|=x&67108863,b>=18?(b-=18,k+=1,this.words[k]|=x>>>26):b+=8;else{var S=l.length-p;for(g=S%2===0?p+1:p;g<l.length;g+=2)x=c(l,p,g)<<b,this.words[k]|=x&67108863,b>=18?(b-=18,k+=1,this.words[k]|=x>>>26):b+=8}this.strip()};function d(l,p,E,g){for(var b=0,k=Math.min(l.length,E),x=p;x<k;x++){var S=l.charCodeAt(x)-48;b*=g,S>=49?b+=S-49+10:S>=17?b+=S-17+10:b+=S}return b}n.prototype._parseBase=function(l,p,E){this.words=[0],this.length=1;for(var g=0,b=1;b<=67108863;b*=p)g++;g--,b=b/p|0;for(var k=l.length-E,x=k%g,S=Math.min(k,k-x)+E,f=0,M=E;M<S;M+=g)f=d(l,M,M+g,p),this.imuln(b),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if(x!==0){var V=1;for(f=d(l,M,l.length,p),M=0;M<x;M++)V*=p;this.imuln(V),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}this.strip()},n.prototype.copy=function(l){l.words=new Array(this.length);for(var p=0;p<this.length;p++)l.words[p]=this.words[p];l.length=this.length,l.negative=this.negative,l.red=this.red},n.prototype.clone=function(){var l=new n(null);return this.copy(l),l},n.prototype._expand=function(l){for(;this.length<l;)this.words[this.length++]=0;return this},n.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},n.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},n.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var h=["","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"],y=[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],C=[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];n.prototype.toString=function(l,p){l=l||10,p=p|0||1;var E;if(l===16||l==="hex"){E="";for(var g=0,b=0,k=0;k<this.length;k++){var x=this.words[k],S=((x<<g|b)&16777215).toString(16);b=x>>>24-g&16777215,g+=2,g>=26&&(g-=26,k--),b!==0||k!==this.length-1?E=h[6-S.length]+S+E:E=S+E}for(b!==0&&(E=b.toString(16)+E);E.length%p!==0;)E="0"+E;return this.negative!==0&&(E="-"+E),E}if(l===(l|0)&&l>=2&&l<=36){var f=y[l],M=C[l];E="";var V=this.clone();for(V.negative=0;!V.isZero();){var D=V.modn(M).toString(l);V=V.idivn(M),V.isZero()?E=D+E:E=h[f-D.length]+D+E}for(this.isZero()&&(E="0"+E);E.length%p!==0;)E="0"+E;return this.negative!==0&&(E="-"+E),E}s(!1,"Base should be between 2 and 36")},n.prototype.toNumber=function(){var l=this.words[0];return this.length===2?l+=this.words[1]*67108864:this.length===3&&this.words[2]===1?l+=4503599627370496+this.words[1]*67108864:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-l:l},n.prototype.toJSON=function(){return this.toString(16)},n.prototype.toBuffer=function(l,p){return s(typeof a<"u"),this.toArrayLike(a,l,p)},n.prototype.toArray=function(l,p){return this.toArrayLike(Array,l,p)},n.prototype.toArrayLike=function(l,p,E){var g=this.byteLength(),b=E||Math.max(1,g);s(g<=b,"byte array longer than desired length"),s(b>0,"Requested array length <= 0"),this.strip();var k=p==="le",x=new l(b),S,f,M=this.clone();if(k){for(f=0;!M.isZero();f++)S=M.andln(255),M.iushrn(8),x[f]=S;for(;f<b;f++)x[f]=0}else{for(f=0;f<b-g;f++)x[f]=0;for(f=0;!M.isZero();f++)S=M.andln(255),M.iushrn(8),x[b-f-1]=S}return x},Math.clz32?n.prototype._countBits=function(l){return 32-Math.clz32(l)}:n.prototype._countBits=function(l){var p=l,E=0;return p>=4096&&(E+=13,p>>>=13),p>=64&&(E+=7,p>>>=7),p>=8&&(E+=4,p>>>=4),p>=2&&(E+=2,p>>>=2),E+p},n.prototype._zeroBits=function(l){if(l===0)return 26;var p=l,E=0;return p&8191||(E+=13,p>>>=13),p&127||(E+=7,p>>>=7),p&15||(E+=4,p>>>=4),p&3||(E+=2,p>>>=2),p&1||E++,E},n.prototype.bitLength=function(){var l=this.words[this.length-1],p=this._countBits(l);return(this.length-1)*26+p};function w(l){for(var p=new Array(l.bitLength()),E=0;E<p.length;E++){var g=E/26|0,b=E%26;p[E]=(l.words[g]&1<<b)>>>b}return p}n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var l=0,p=0;p<this.length;p++){var E=this._zeroBits(this.words[p]);if(l+=E,E!==26)break}return l},n.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},n.prototype.toTwos=function(l){return this.negative!==0?this.abs().inotn(l).iaddn(1):this.clone()},n.prototype.fromTwos=function(l){return this.testn(l-1)?this.notn(l).iaddn(1).ineg():this.clone()},n.prototype.isNeg=function(){return this.negative!==0},n.prototype.neg=function(){return this.clone().ineg()},n.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},n.prototype.iuor=function(l){for(;this.length<l.length;)this.words[this.length++]=0;for(var p=0;p<l.length;p++)this.words[p]=this.words[p]|l.words[p];return this.strip()},n.prototype.ior=function(l){return s((this.negative|l.negative)===0),this.iuor(l)},n.prototype.or=function(l){return this.length>l.length?this.clone().ior(l):l.clone().ior(this)},n.prototype.uor=function(l){return this.length>l.length?this.clone().iuor(l):l.clone().iuor(this)},n.prototype.iuand=function(l){var p;this.length>l.length?p=l:p=this;for(var E=0;E<p.length;E++)this.words[E]=this.words[E]&l.words[E];return this.length=p.length,this.strip()},n.prototype.iand=function(l){return s((this.negative|l.negative)===0),this.iuand(l)},n.prototype.and=function(l){return this.length>l.length?this.clone().iand(l):l.clone().iand(this)},n.prototype.uand=function(l){return this.length>l.length?this.clone().iuand(l):l.clone().iuand(this)},n.prototype.iuxor=function(l){var p,E;this.length>l.length?(p=this,E=l):(p=l,E=this);for(var g=0;g<E.length;g++)this.words[g]=p.words[g]^E.words[g];if(this!==p)for(;g<p.length;g++)this.words[g]=p.words[g];return this.length=p.length,this.strip()},n.prototype.ixor=function(l){return s((this.negative|l.negative)===0),this.iuxor(l)},n.prototype.xor=function(l){return this.length>l.length?this.clone().ixor(l):l.clone().ixor(this)},n.prototype.uxor=function(l){return this.length>l.length?this.clone().iuxor(l):l.clone().iuxor(this)},n.prototype.inotn=function(l){s(typeof l=="number"&&l>=0);var p=Math.ceil(l/26)|0,E=l%26;this._expand(p),E>0&&p--;for(var g=0;g<p;g++)this.words[g]=~this.words[g]&67108863;return E>0&&(this.words[g]=~this.words[g]&67108863>>26-E),this.strip()},n.prototype.notn=function(l){return this.clone().inotn(l)},n.prototype.setn=function(l,p){s(typeof l=="number"&&l>=0);var E=l/26|0,g=l%26;return this._expand(E+1),p?this.words[E]=this.words[E]|1<<g:this.words[E]=this.words[E]&~(1<<g),this.strip()},n.prototype.iadd=function(l){var p;if(this.negative!==0&&l.negative===0)return this.negative=0,p=this.isub(l),this.negative^=1,this._normSign();if(this.negative===0&&l.negative!==0)return l.negative=0,p=this.isub(l),l.negative=1,p._normSign();var E,g;this.length>l.length?(E=this,g=l):(E=l,g=this);for(var b=0,k=0;k<g.length;k++)p=(E.words[k]|0)+(g.words[k]|0)+b,this.words[k]=p&67108863,b=p>>>26;for(;b!==0&&k<E.length;k++)p=(E.words[k]|0)+b,this.words[k]=p&67108863,b=p>>>26;if(this.length=E.length,b!==0)this.words[this.length]=b,this.length++;else if(E!==this)for(;k<E.length;k++)this.words[k]=E.words[k];return this},n.prototype.add=function(l){var p;return l.negative!==0&&this.negative===0?(l.negative=0,p=this.sub(l),l.negative^=1,p):l.negative===0&&this.negative!==0?(this.negative=0,p=l.sub(this),this.negative=1,p):this.length>l.length?this.clone().iadd(l):l.clone().iadd(this)},n.prototype.isub=function(l){if(l.negative!==0){l.negative=0;var p=this.iadd(l);return l.negative=1,p._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(l),this.negative=1,this._normSign();var E=this.cmp(l);if(E===0)return this.negative=0,this.length=1,this.words[0]=0,this;var g,b;E>0?(g=this,b=l):(g=l,b=this);for(var k=0,x=0;x<b.length;x++)p=(g.words[x]|0)-(b.words[x]|0)+k,k=p>>26,this.words[x]=p&67108863;for(;k!==0&&x<g.length;x++)p=(g.words[x]|0)+k,k=p>>26,this.words[x]=p&67108863;if(k===0&&x<g.length&&g!==this)for(;x<g.length;x++)this.words[x]=g.words[x];return this.length=Math.max(this.length,x),g!==this&&(this.negative=1),this.strip()},n.prototype.sub=function(l){return this.clone().isub(l)};function T(l,p,E){E.negative=p.negative^l.negative;var g=l.length+p.length|0;E.length=g,g=g-1|0;var b=l.words[0]|0,k=p.words[0]|0,x=b*k,S=x&67108863,f=x/67108864|0;E.words[0]=S;for(var M=1;M<g;M++){for(var V=f>>>26,D=f&67108863,j=Math.min(M,p.length-1),Y=Math.max(0,M-l.length+1);Y<=j;Y++){var oe=M-Y|0;b=l.words[oe]|0,k=p.words[Y]|0,x=b*k+D,V+=x/67108864|0,D=x&67108863}E.words[M]=D|0,f=V|0}return f!==0?E.words[M]=f|0:E.length--,E.strip()}var A=function(l,p,E){var g=l.words,b=p.words,k=E.words,x=0,S,f,M,V=g[0]|0,D=V&8191,j=V>>>13,Y=g[1]|0,oe=Y&8191,de=Y>>>13,ue=g[2]|0,ae=ue&8191,q=ue>>>13,ne=g[3]|0,me=ne&8191,ve=ne>>>13,ge=g[4]|0,ce=ge&8191,ee=ge>>>13,fe=g[5]|0,ie=fe&8191,re=fe>>>13,Oe=g[6]|0,Pe=Oe&8191,Ne=Oe>>>13,Xe=g[7]|0,Je=Xe&8191,ft=Xe>>>13,Kt=g[8]|0,wt=Kt&8191,Ie=Kt>>>13,it=g[9]|0,Ye=it&8191,et=it>>>13,Gt=b[0]|0,It=Gt&8191,Rt=Gt>>>13,_r=b[1]|0,jt=_r&8191,Fe=_r>>>13,Pr=b[2]|0,$t=Pr&8191,Qt=Pr>>>13,At=b[3]|0,ur=At&8191,tr=At>>>13,Vt=b[4]|0,bt=Vt&8191,kt=Vt>>>13,er=b[5]|0,Et=er&8191,qt=er>>>13,Hr=b[6]|0,_t=Hr&8191,Wt=Hr>>>13,qr=b[7]|0,Ce=qr&8191,_e=qr>>>13,Ze=b[8]|0,he=Ze&8191,Ke=Ze>>>13,Ht=b[9]|0,yt=Ht&8191,Ot=Ht>>>13;E.negative=l.negative^p.negative,E.length=19,S=Math.imul(D,It),f=Math.imul(D,Rt),f=f+Math.imul(j,It)|0,M=Math.imul(j,Rt);var hr=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(hr>>>26)|0,hr&=67108863,S=Math.imul(oe,It),f=Math.imul(oe,Rt),f=f+Math.imul(de,It)|0,M=Math.imul(de,Rt),S=S+Math.imul(D,jt)|0,f=f+Math.imul(D,Fe)|0,f=f+Math.imul(j,jt)|0,M=M+Math.imul(j,Fe)|0;var Br=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Br>>>26)|0,Br&=67108863,S=Math.imul(ae,It),f=Math.imul(ae,Rt),f=f+Math.imul(q,It)|0,M=Math.imul(q,Rt),S=S+Math.imul(oe,jt)|0,f=f+Math.imul(oe,Fe)|0,f=f+Math.imul(de,jt)|0,M=M+Math.imul(de,Fe)|0,S=S+Math.imul(D,$t)|0,f=f+Math.imul(D,Qt)|0,f=f+Math.imul(j,$t)|0,M=M+Math.imul(j,Qt)|0;var Er=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Er>>>26)|0,Er&=67108863,S=Math.imul(me,It),f=Math.imul(me,Rt),f=f+Math.imul(ve,It)|0,M=Math.imul(ve,Rt),S=S+Math.imul(ae,jt)|0,f=f+Math.imul(ae,Fe)|0,f=f+Math.imul(q,jt)|0,M=M+Math.imul(q,Fe)|0,S=S+Math.imul(oe,$t)|0,f=f+Math.imul(oe,Qt)|0,f=f+Math.imul(de,$t)|0,M=M+Math.imul(de,Qt)|0,S=S+Math.imul(D,ur)|0,f=f+Math.imul(D,tr)|0,f=f+Math.imul(j,ur)|0,M=M+Math.imul(j,tr)|0;var Qe=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,S=Math.imul(ce,It),f=Math.imul(ce,Rt),f=f+Math.imul(ee,It)|0,M=Math.imul(ee,Rt),S=S+Math.imul(me,jt)|0,f=f+Math.imul(me,Fe)|0,f=f+Math.imul(ve,jt)|0,M=M+Math.imul(ve,Fe)|0,S=S+Math.imul(ae,$t)|0,f=f+Math.imul(ae,Qt)|0,f=f+Math.imul(q,$t)|0,M=M+Math.imul(q,Qt)|0,S=S+Math.imul(oe,ur)|0,f=f+Math.imul(oe,tr)|0,f=f+Math.imul(de,ur)|0,M=M+Math.imul(de,tr)|0,S=S+Math.imul(D,bt)|0,f=f+Math.imul(D,kt)|0,f=f+Math.imul(j,bt)|0,M=M+Math.imul(j,kt)|0;var mt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(mt>>>26)|0,mt&=67108863,S=Math.imul(ie,It),f=Math.imul(ie,Rt),f=f+Math.imul(re,It)|0,M=Math.imul(re,Rt),S=S+Math.imul(ce,jt)|0,f=f+Math.imul(ce,Fe)|0,f=f+Math.imul(ee,jt)|0,M=M+Math.imul(ee,Fe)|0,S=S+Math.imul(me,$t)|0,f=f+Math.imul(me,Qt)|0,f=f+Math.imul(ve,$t)|0,M=M+Math.imul(ve,Qt)|0,S=S+Math.imul(ae,ur)|0,f=f+Math.imul(ae,tr)|0,f=f+Math.imul(q,ur)|0,M=M+Math.imul(q,tr)|0,S=S+Math.imul(oe,bt)|0,f=f+Math.imul(oe,kt)|0,f=f+Math.imul(de,bt)|0,M=M+Math.imul(de,kt)|0,S=S+Math.imul(D,Et)|0,f=f+Math.imul(D,qt)|0,f=f+Math.imul(j,Et)|0,M=M+Math.imul(j,qt)|0;var Ue=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Ue>>>26)|0,Ue&=67108863,S=Math.imul(Pe,It),f=Math.imul(Pe,Rt),f=f+Math.imul(Ne,It)|0,M=Math.imul(Ne,Rt),S=S+Math.imul(ie,jt)|0,f=f+Math.imul(ie,Fe)|0,f=f+Math.imul(re,jt)|0,M=M+Math.imul(re,Fe)|0,S=S+Math.imul(ce,$t)|0,f=f+Math.imul(ce,Qt)|0,f=f+Math.imul(ee,$t)|0,M=M+Math.imul(ee,Qt)|0,S=S+Math.imul(me,ur)|0,f=f+Math.imul(me,tr)|0,f=f+Math.imul(ve,ur)|0,M=M+Math.imul(ve,tr)|0,S=S+Math.imul(ae,bt)|0,f=f+Math.imul(ae,kt)|0,f=f+Math.imul(q,bt)|0,M=M+Math.imul(q,kt)|0,S=S+Math.imul(oe,Et)|0,f=f+Math.imul(oe,qt)|0,f=f+Math.imul(de,Et)|0,M=M+Math.imul(de,qt)|0,S=S+Math.imul(D,_t)|0,f=f+Math.imul(D,Wt)|0,f=f+Math.imul(j,_t)|0,M=M+Math.imul(j,Wt)|0;var Ge=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,S=Math.imul(Je,It),f=Math.imul(Je,Rt),f=f+Math.imul(ft,It)|0,M=Math.imul(ft,Rt),S=S+Math.imul(Pe,jt)|0,f=f+Math.imul(Pe,Fe)|0,f=f+Math.imul(Ne,jt)|0,M=M+Math.imul(Ne,Fe)|0,S=S+Math.imul(ie,$t)|0,f=f+Math.imul(ie,Qt)|0,f=f+Math.imul(re,$t)|0,M=M+Math.imul(re,Qt)|0,S=S+Math.imul(ce,ur)|0,f=f+Math.imul(ce,tr)|0,f=f+Math.imul(ee,ur)|0,M=M+Math.imul(ee,tr)|0,S=S+Math.imul(me,bt)|0,f=f+Math.imul(me,kt)|0,f=f+Math.imul(ve,bt)|0,M=M+Math.imul(ve,kt)|0,S=S+Math.imul(ae,Et)|0,f=f+Math.imul(ae,qt)|0,f=f+Math.imul(q,Et)|0,M=M+Math.imul(q,qt)|0,S=S+Math.imul(oe,_t)|0,f=f+Math.imul(oe,Wt)|0,f=f+Math.imul(de,_t)|0,M=M+Math.imul(de,Wt)|0,S=S+Math.imul(D,Ce)|0,f=f+Math.imul(D,_e)|0,f=f+Math.imul(j,Ce)|0,M=M+Math.imul(j,_e)|0;var Me=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Me>>>26)|0,Me&=67108863,S=Math.imul(wt,It),f=Math.imul(wt,Rt),f=f+Math.imul(Ie,It)|0,M=Math.imul(Ie,Rt),S=S+Math.imul(Je,jt)|0,f=f+Math.imul(Je,Fe)|0,f=f+Math.imul(ft,jt)|0,M=M+Math.imul(ft,Fe)|0,S=S+Math.imul(Pe,$t)|0,f=f+Math.imul(Pe,Qt)|0,f=f+Math.imul(Ne,$t)|0,M=M+Math.imul(Ne,Qt)|0,S=S+Math.imul(ie,ur)|0,f=f+Math.imul(ie,tr)|0,f=f+Math.imul(re,ur)|0,M=M+Math.imul(re,tr)|0,S=S+Math.imul(ce,bt)|0,f=f+Math.imul(ce,kt)|0,f=f+Math.imul(ee,bt)|0,M=M+Math.imul(ee,kt)|0,S=S+Math.imul(me,Et)|0,f=f+Math.imul(me,qt)|0,f=f+Math.imul(ve,Et)|0,M=M+Math.imul(ve,qt)|0,S=S+Math.imul(ae,_t)|0,f=f+Math.imul(ae,Wt)|0,f=f+Math.imul(q,_t)|0,M=M+Math.imul(q,Wt)|0,S=S+Math.imul(oe,Ce)|0,f=f+Math.imul(oe,_e)|0,f=f+Math.imul(de,Ce)|0,M=M+Math.imul(de,_e)|0,S=S+Math.imul(D,he)|0,f=f+Math.imul(D,Ke)|0,f=f+Math.imul(j,he)|0,M=M+Math.imul(j,Ke)|0;var ze=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ze>>>26)|0,ze&=67108863,S=Math.imul(Ye,It),f=Math.imul(Ye,Rt),f=f+Math.imul(et,It)|0,M=Math.imul(et,Rt),S=S+Math.imul(wt,jt)|0,f=f+Math.imul(wt,Fe)|0,f=f+Math.imul(Ie,jt)|0,M=M+Math.imul(Ie,Fe)|0,S=S+Math.imul(Je,$t)|0,f=f+Math.imul(Je,Qt)|0,f=f+Math.imul(ft,$t)|0,M=M+Math.imul(ft,Qt)|0,S=S+Math.imul(Pe,ur)|0,f=f+Math.imul(Pe,tr)|0,f=f+Math.imul(Ne,ur)|0,M=M+Math.imul(Ne,tr)|0,S=S+Math.imul(ie,bt)|0,f=f+Math.imul(ie,kt)|0,f=f+Math.imul(re,bt)|0,M=M+Math.imul(re,kt)|0,S=S+Math.imul(ce,Et)|0,f=f+Math.imul(ce,qt)|0,f=f+Math.imul(ee,Et)|0,M=M+Math.imul(ee,qt)|0,S=S+Math.imul(me,_t)|0,f=f+Math.imul(me,Wt)|0,f=f+Math.imul(ve,_t)|0,M=M+Math.imul(ve,Wt)|0,S=S+Math.imul(ae,Ce)|0,f=f+Math.imul(ae,_e)|0,f=f+Math.imul(q,Ce)|0,M=M+Math.imul(q,_e)|0,S=S+Math.imul(oe,he)|0,f=f+Math.imul(oe,Ke)|0,f=f+Math.imul(de,he)|0,M=M+Math.imul(de,Ke)|0,S=S+Math.imul(D,yt)|0,f=f+Math.imul(D,Ot)|0,f=f+Math.imul(j,yt)|0,M=M+Math.imul(j,Ot)|0;var Le=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Le>>>26)|0,Le&=67108863,S=Math.imul(Ye,jt),f=Math.imul(Ye,Fe),f=f+Math.imul(et,jt)|0,M=Math.imul(et,Fe),S=S+Math.imul(wt,$t)|0,f=f+Math.imul(wt,Qt)|0,f=f+Math.imul(Ie,$t)|0,M=M+Math.imul(Ie,Qt)|0,S=S+Math.imul(Je,ur)|0,f=f+Math.imul(Je,tr)|0,f=f+Math.imul(ft,ur)|0,M=M+Math.imul(ft,tr)|0,S=S+Math.imul(Pe,bt)|0,f=f+Math.imul(Pe,kt)|0,f=f+Math.imul(Ne,bt)|0,M=M+Math.imul(Ne,kt)|0,S=S+Math.imul(ie,Et)|0,f=f+Math.imul(ie,qt)|0,f=f+Math.imul(re,Et)|0,M=M+Math.imul(re,qt)|0,S=S+Math.imul(ce,_t)|0,f=f+Math.imul(ce,Wt)|0,f=f+Math.imul(ee,_t)|0,M=M+Math.imul(ee,Wt)|0,S=S+Math.imul(me,Ce)|0,f=f+Math.imul(me,_e)|0,f=f+Math.imul(ve,Ce)|0,M=M+Math.imul(ve,_e)|0,S=S+Math.imul(ae,he)|0,f=f+Math.imul(ae,Ke)|0,f=f+Math.imul(q,he)|0,M=M+Math.imul(q,Ke)|0,S=S+Math.imul(oe,yt)|0,f=f+Math.imul(oe,Ot)|0,f=f+Math.imul(de,yt)|0,M=M+Math.imul(de,Ot)|0;var rt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(rt>>>26)|0,rt&=67108863,S=Math.imul(Ye,$t),f=Math.imul(Ye,Qt),f=f+Math.imul(et,$t)|0,M=Math.imul(et,Qt),S=S+Math.imul(wt,ur)|0,f=f+Math.imul(wt,tr)|0,f=f+Math.imul(Ie,ur)|0,M=M+Math.imul(Ie,tr)|0,S=S+Math.imul(Je,bt)|0,f=f+Math.imul(Je,kt)|0,f=f+Math.imul(ft,bt)|0,M=M+Math.imul(ft,kt)|0,S=S+Math.imul(Pe,Et)|0,f=f+Math.imul(Pe,qt)|0,f=f+Math.imul(Ne,Et)|0,M=M+Math.imul(Ne,qt)|0,S=S+Math.imul(ie,_t)|0,f=f+Math.imul(ie,Wt)|0,f=f+Math.imul(re,_t)|0,M=M+Math.imul(re,Wt)|0,S=S+Math.imul(ce,Ce)|0,f=f+Math.imul(ce,_e)|0,f=f+Math.imul(ee,Ce)|0,M=M+Math.imul(ee,_e)|0,S=S+Math.imul(me,he)|0,f=f+Math.imul(me,Ke)|0,f=f+Math.imul(ve,he)|0,M=M+Math.imul(ve,Ke)|0,S=S+Math.imul(ae,yt)|0,f=f+Math.imul(ae,Ot)|0,f=f+Math.imul(q,yt)|0,M=M+Math.imul(q,Ot)|0;var ht=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ht>>>26)|0,ht&=67108863,S=Math.imul(Ye,ur),f=Math.imul(Ye,tr),f=f+Math.imul(et,ur)|0,M=Math.imul(et,tr),S=S+Math.imul(wt,bt)|0,f=f+Math.imul(wt,kt)|0,f=f+Math.imul(Ie,bt)|0,M=M+Math.imul(Ie,kt)|0,S=S+Math.imul(Je,Et)|0,f=f+Math.imul(Je,qt)|0,f=f+Math.imul(ft,Et)|0,M=M+Math.imul(ft,qt)|0,S=S+Math.imul(Pe,_t)|0,f=f+Math.imul(Pe,Wt)|0,f=f+Math.imul(Ne,_t)|0,M=M+Math.imul(Ne,Wt)|0,S=S+Math.imul(ie,Ce)|0,f=f+Math.imul(ie,_e)|0,f=f+Math.imul(re,Ce)|0,M=M+Math.imul(re,_e)|0,S=S+Math.imul(ce,he)|0,f=f+Math.imul(ce,Ke)|0,f=f+Math.imul(ee,he)|0,M=M+Math.imul(ee,Ke)|0,S=S+Math.imul(me,yt)|0,f=f+Math.imul(me,Ot)|0,f=f+Math.imul(ve,yt)|0,M=M+Math.imul(ve,Ot)|0;var ut=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ut>>>26)|0,ut&=67108863,S=Math.imul(Ye,bt),f=Math.imul(Ye,kt),f=f+Math.imul(et,bt)|0,M=Math.imul(et,kt),S=S+Math.imul(wt,Et)|0,f=f+Math.imul(wt,qt)|0,f=f+Math.imul(Ie,Et)|0,M=M+Math.imul(Ie,qt)|0,S=S+Math.imul(Je,_t)|0,f=f+Math.imul(Je,Wt)|0,f=f+Math.imul(ft,_t)|0,M=M+Math.imul(ft,Wt)|0,S=S+Math.imul(Pe,Ce)|0,f=f+Math.imul(Pe,_e)|0,f=f+Math.imul(Ne,Ce)|0,M=M+Math.imul(Ne,_e)|0,S=S+Math.imul(ie,he)|0,f=f+Math.imul(ie,Ke)|0,f=f+Math.imul(re,he)|0,M=M+Math.imul(re,Ke)|0,S=S+Math.imul(ce,yt)|0,f=f+Math.imul(ce,Ot)|0,f=f+Math.imul(ee,yt)|0,M=M+Math.imul(ee,Ot)|0;var Dt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,S=Math.imul(Ye,Et),f=Math.imul(Ye,qt),f=f+Math.imul(et,Et)|0,M=Math.imul(et,qt),S=S+Math.imul(wt,_t)|0,f=f+Math.imul(wt,Wt)|0,f=f+Math.imul(Ie,_t)|0,M=M+Math.imul(Ie,Wt)|0,S=S+Math.imul(Je,Ce)|0,f=f+Math.imul(Je,_e)|0,f=f+Math.imul(ft,Ce)|0,M=M+Math.imul(ft,_e)|0,S=S+Math.imul(Pe,he)|0,f=f+Math.imul(Pe,Ke)|0,f=f+Math.imul(Ne,he)|0,M=M+Math.imul(Ne,Ke)|0,S=S+Math.imul(ie,yt)|0,f=f+Math.imul(ie,Ot)|0,f=f+Math.imul(re,yt)|0,M=M+Math.imul(re,Ot)|0;var He=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(He>>>26)|0,He&=67108863,S=Math.imul(Ye,_t),f=Math.imul(Ye,Wt),f=f+Math.imul(et,_t)|0,M=Math.imul(et,Wt),S=S+Math.imul(wt,Ce)|0,f=f+Math.imul(wt,_e)|0,f=f+Math.imul(Ie,Ce)|0,M=M+Math.imul(Ie,_e)|0,S=S+Math.imul(Je,he)|0,f=f+Math.imul(Je,Ke)|0,f=f+Math.imul(ft,he)|0,M=M+Math.imul(ft,Ke)|0,S=S+Math.imul(Pe,yt)|0,f=f+Math.imul(Pe,Ot)|0,f=f+Math.imul(Ne,yt)|0,M=M+Math.imul(Ne,Ot)|0;var nt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(nt>>>26)|0,nt&=67108863,S=Math.imul(Ye,Ce),f=Math.imul(Ye,_e),f=f+Math.imul(et,Ce)|0,M=Math.imul(et,_e),S=S+Math.imul(wt,he)|0,f=f+Math.imul(wt,Ke)|0,f=f+Math.imul(Ie,he)|0,M=M+Math.imul(Ie,Ke)|0,S=S+Math.imul(Je,yt)|0,f=f+Math.imul(Je,Ot)|0,f=f+Math.imul(ft,yt)|0,M=M+Math.imul(ft,Ot)|0;var at=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(at>>>26)|0,at&=67108863,S=Math.imul(Ye,he),f=Math.imul(Ye,Ke),f=f+Math.imul(et,he)|0,M=Math.imul(et,Ke),S=S+Math.imul(wt,yt)|0,f=f+Math.imul(wt,Ot)|0,f=f+Math.imul(Ie,yt)|0,M=M+Math.imul(Ie,Ot)|0;var Tt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,S=Math.imul(Ye,yt),f=Math.imul(Ye,Ot),f=f+Math.imul(et,yt)|0,M=Math.imul(et,Ot);var pt=(x+S|0)+((f&8191)<<13)|0;return x=(M+(f>>>13)|0)+(pt>>>26)|0,pt&=67108863,k[0]=hr,k[1]=Br,k[2]=Er,k[3]=Qe,k[4]=mt,k[5]=Ue,k[6]=Ge,k[7]=Me,k[8]=ze,k[9]=Le,k[10]=rt,k[11]=ht,k[12]=ut,k[13]=Dt,k[14]=He,k[15]=nt,k[16]=at,k[17]=Tt,k[18]=pt,x!==0&&(k[19]=x,E.length++),E};Math.imul||(A=T);function O(l,p,E){E.negative=p.negative^l.negative,E.length=l.length+p.length;for(var g=0,b=0,k=0;k<E.length-1;k++){var x=b;b=0;for(var S=g&67108863,f=Math.min(k,p.length-1),M=Math.max(0,k-l.length+1);M<=f;M++){var V=k-M,D=l.words[V]|0,j=p.words[M]|0,Y=D*j,oe=Y&67108863;x=x+(Y/67108864|0)|0,oe=oe+S|0,S=oe&67108863,x=x+(oe>>>26)|0,b+=x>>>26,x&=67108863}E.words[k]=S,g=x,x=b}return g!==0?E.words[k]=g:E.length--,E.strip()}function v(l,p,E){var g=new B;return g.mulp(l,p,E)}n.prototype.mulTo=function(l,p){var E,g=this.length+l.length;return this.length===10&&l.length===10?E=A(this,l,p):g<63?E=T(this,l,p):g<1024?E=O(this,l,p):E=v(this,l,p),E};function B(l,p){this.x=l,this.y=p}B.prototype.makeRBT=function(l){for(var p=new Array(l),E=n.prototype._countBits(l)-1,g=0;g<l;g++)p[g]=this.revBin(g,E,l);return p},B.prototype.revBin=function(l,p,E){if(l===0||l===E-1)return l;for(var g=0,b=0;b<p;b++)g|=(l&1)<<p-b-1,l>>=1;return g},B.prototype.permute=function(l,p,E,g,b,k){for(var x=0;x<k;x++)g[x]=p[l[x]],b[x]=E[l[x]]},B.prototype.transform=function(l,p,E,g,b,k){this.permute(k,l,p,E,g,b);for(var x=1;x<b;x<<=1)for(var S=x<<1,f=Math.cos(2*Math.PI/S),M=Math.sin(2*Math.PI/S),V=0;V<b;V+=S)for(var D=f,j=M,Y=0;Y<x;Y++){var oe=E[V+Y],de=g[V+Y],ue=E[V+Y+x],ae=g[V+Y+x],q=D*ue-j*ae;ae=D*ae+j*ue,ue=q,E[V+Y]=oe+ue,g[V+Y]=de+ae,E[V+Y+x]=oe-ue,g[V+Y+x]=de-ae,Y!==S&&(q=f*D-M*j,j=f*j+M*D,D=q)}},B.prototype.guessLen13b=function(l,p){var E=Math.max(p,l)|1,g=E&1,b=0;for(E=E/2|0;E;E=E>>>1)b++;return 1<<b+1+g},B.prototype.conjugate=function(l,p,E){if(!(E<=1))for(var g=0;g<E/2;g++){var b=l[g];l[g]=l[E-g-1],l[E-g-1]=b,b=p[g],p[g]=-p[E-g-1],p[E-g-1]=-b}},B.prototype.normalize13b=function(l,p){for(var E=0,g=0;g<p/2;g++){var b=Math.round(l[2*g+1]/p)*8192+Math.round(l[2*g]/p)+E;l[g]=b&67108863,b<67108864?E=0:E=b/67108864|0}return l},B.prototype.convert13b=function(l,p,E,g){for(var b=0,k=0;k<p;k++)b=b+(l[k]|0),E[2*k]=b&8191,b=b>>>13,E[2*k+1]=b&8191,b=b>>>13;for(k=2*p;k<g;++k)E[k]=0;s(b===0),s((b&-8192)===0)},B.prototype.stub=function(l){for(var p=new Array(l),E=0;E<l;E++)p[E]=0;return p},B.prototype.mulp=function(l,p,E){var g=2*this.guessLen13b(l.length,p.length),b=this.makeRBT(g),k=this.stub(g),x=new Array(g),S=new Array(g),f=new Array(g),M=new Array(g),V=new Array(g),D=new Array(g),j=E.words;j.length=g,this.convert13b(l.words,l.length,x,g),this.convert13b(p.words,p.length,M,g),this.transform(x,k,S,f,g,b),this.transform(M,k,V,D,g,b);for(var Y=0;Y<g;Y++){var oe=S[Y]*V[Y]-f[Y]*D[Y];f[Y]=S[Y]*D[Y]+f[Y]*V[Y],S[Y]=oe}return this.conjugate(S,f,g),this.transform(S,f,j,k,g,b),this.conjugate(j,k,g),this.normalize13b(j,g),E.negative=l.negative^p.negative,E.length=l.length+p.length,E.strip()},n.prototype.mul=function(l){var p=new n(null);return p.words=new Array(this.length+l.length),this.mulTo(l,p)},n.prototype.mulf=function(l){var p=new n(null);return p.words=new Array(this.length+l.length),v(this,l,p)},n.prototype.imul=function(l){return this.clone().mulTo(l,this)},n.prototype.imuln=function(l){s(typeof l=="number"),s(l<67108864);for(var p=0,E=0;E<this.length;E++){var g=(this.words[E]|0)*l,b=(g&67108863)+(p&67108863);p>>=26,p+=g/67108864|0,p+=b>>>26,this.words[E]=b&67108863}return p!==0&&(this.words[E]=p,this.length++),this},n.prototype.muln=function(l){return this.clone().imuln(l)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(l){var p=w(l);if(p.length===0)return new n(1);for(var E=this,g=0;g<p.length&&p[g]===0;g++,E=E.sqr());if(++g<p.length)for(var b=E.sqr();g<p.length;g++,b=b.sqr())p[g]!==0&&(E=E.mul(b));return E},n.prototype.iushln=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26,g=67108863>>>26-p<<26-p,b;if(p!==0){var k=0;for(b=0;b<this.length;b++){var x=this.words[b]&g,S=(this.words[b]|0)-x<<p;this.words[b]=S|k,k=x>>>26-p}k&&(this.words[b]=k,this.length++)}if(E!==0){for(b=this.length-1;b>=0;b--)this.words[b+E]=this.words[b];for(b=0;b<E;b++)this.words[b]=0;this.length+=E}return this.strip()},n.prototype.ishln=function(l){return s(this.negative===0),this.iushln(l)},n.prototype.iushrn=function(l,p,E){s(typeof l=="number"&&l>=0);var g;p?g=(p-p%26)/26:g=0;var b=l%26,k=Math.min((l-b)/26,this.length),x=67108863^67108863>>>b<<b,S=E;if(g-=k,g=Math.max(0,g),S){for(var f=0;f<k;f++)S.words[f]=this.words[f];S.length=k}if(k!==0)if(this.length>k)for(this.length-=k,f=0;f<this.length;f++)this.words[f]=this.words[f+k];else this.words[0]=0,this.length=1;var M=0;for(f=this.length-1;f>=0&&(M!==0||f>=g);f--){var V=this.words[f]|0;this.words[f]=M<<26-b|V>>>b,M=V&x}return S&&M!==0&&(S.words[S.length++]=M),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},n.prototype.ishrn=function(l,p,E){return s(this.negative===0),this.iushrn(l,p,E)},n.prototype.shln=function(l){return this.clone().ishln(l)},n.prototype.ushln=function(l){return this.clone().iushln(l)},n.prototype.shrn=function(l){return this.clone().ishrn(l)},n.prototype.ushrn=function(l){return this.clone().iushrn(l)},n.prototype.testn=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26,g=1<<p;if(this.length<=E)return!1;var b=this.words[E];return!!(b&g)},n.prototype.imaskn=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=E)return this;if(p!==0&&E++,this.length=Math.min(E,this.length),p!==0){var g=67108863^67108863>>>p<<p;this.words[this.length-1]&=g}return this.strip()},n.prototype.maskn=function(l){return this.clone().imaskn(l)},n.prototype.iaddn=function(l){return s(typeof l=="number"),s(l<67108864),l<0?this.isubn(-l):this.negative!==0?this.length===1&&(this.words[0]|0)<l?(this.words[0]=l-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(l),this.negative=1,this):this._iaddn(l)},n.prototype._iaddn=function(l){this.words[0]+=l;for(var p=0;p<this.length&&this.words[p]>=67108864;p++)this.words[p]-=67108864,p===this.length-1?this.words[p+1]=1:this.words[p+1]++;return this.length=Math.max(this.length,p+1),this},n.prototype.isubn=function(l){if(s(typeof l=="number"),s(l<67108864),l<0)return this.iaddn(-l);if(this.negative!==0)return this.negative=0,this.iaddn(l),this.negative=1,this;if(this.words[0]-=l,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var p=0;p<this.length&&this.words[p]<0;p++)this.words[p]+=67108864,this.words[p+1]-=1;return this.strip()},n.prototype.addn=function(l){return this.clone().iaddn(l)},n.prototype.subn=function(l){return this.clone().isubn(l)},n.prototype.iabs=function(){return this.negative=0,this},n.prototype.abs=function(){return this.clone().iabs()},n.prototype._ishlnsubmul=function(l,p,E){var g=l.length+E,b;this._expand(g);var k,x=0;for(b=0;b<l.length;b++){k=(this.words[b+E]|0)+x;var S=(l.words[b]|0)*p;k-=S&67108863,x=(k>>26)-(S/67108864|0),this.words[b+E]=k&67108863}for(;b<this.length-E;b++)k=(this.words[b+E]|0)+x,x=k>>26,this.words[b+E]=k&67108863;if(x===0)return this.strip();for(s(x===-1),x=0,b=0;b<this.length;b++)k=-(this.words[b]|0)+x,x=k>>26,this.words[b]=k&67108863;return this.negative=1,this.strip()},n.prototype._wordDiv=function(l,p){var E=this.length-l.length,g=this.clone(),b=l,k=b.words[b.length-1]|0,x=this._countBits(k);E=26-x,E!==0&&(b=b.ushln(E),g.iushln(E),k=b.words[b.length-1]|0);var S=g.length-b.length,f;if(p!=="mod"){f=new n(null),f.length=S+1,f.words=new Array(f.length);for(var M=0;M<f.length;M++)f.words[M]=0}var V=g.clone()._ishlnsubmul(b,1,S);V.negative===0&&(g=V,f&&(f.words[S]=1));for(var D=S-1;D>=0;D--){var j=(g.words[b.length+D]|0)*67108864+(g.words[b.length+D-1]|0);for(j=Math.min(j/k|0,67108863),g._ishlnsubmul(b,j,D);g.negative!==0;)j--,g.negative=0,g._ishlnsubmul(b,1,D),g.isZero()||(g.negative^=1);f&&(f.words[D]=j)}return f&&f.strip(),g.strip(),p!=="div"&&E!==0&&g.iushrn(E),{div:f||null,mod:g}},n.prototype.divmod=function(l,p,E){if(s(!l.isZero()),this.isZero())return{div:new n(0),mod:new n(0)};var g,b,k;return this.negative!==0&&l.negative===0?(k=this.neg().divmod(l,p),p!=="mod"&&(g=k.div.neg()),p!=="div"&&(b=k.mod.neg(),E&&b.negative!==0&&b.iadd(l)),{div:g,mod:b}):this.negative===0&&l.negative!==0?(k=this.divmod(l.neg(),p),p!=="mod"&&(g=k.div.neg()),{div:g,mod:k.mod}):this.negative&l.negative?(k=this.neg().divmod(l.neg(),p),p!=="div"&&(b=k.mod.neg(),E&&b.negative!==0&&b.isub(l)),{div:k.div,mod:b}):l.length>this.length||this.cmp(l)<0?{div:new n(0),mod:this}:l.length===1?p==="div"?{div:this.divn(l.words[0]),mod:null}:p==="mod"?{div:null,mod:new n(this.modn(l.words[0]))}:{div:this.divn(l.words[0]),mod:new n(this.modn(l.words[0]))}:this._wordDiv(l,p)},n.prototype.div=function(l){return this.divmod(l,"div",!1).div},n.prototype.mod=function(l){return this.divmod(l,"mod",!1).mod},n.prototype.umod=function(l){return this.divmod(l,"mod",!0).mod},n.prototype.divRound=function(l){var p=this.divmod(l);if(p.mod.isZero())return p.div;var E=p.div.negative!==0?p.mod.isub(l):p.mod,g=l.ushrn(1),b=l.andln(1),k=E.cmp(g);return k<0||b===1&&k===0?p.div:p.div.negative!==0?p.div.isubn(1):p.div.iaddn(1)},n.prototype.modn=function(l){s(l<=67108863);for(var p=(1<<26)%l,E=0,g=this.length-1;g>=0;g--)E=(p*E+(this.words[g]|0))%l;return E},n.prototype.idivn=function(l){s(l<=67108863);for(var p=0,E=this.length-1;E>=0;E--){var g=(this.words[E]|0)+p*67108864;this.words[E]=g/l|0,p=g%l}return this.strip()},n.prototype.divn=function(l){return this.clone().idivn(l)},n.prototype.egcd=function(l){s(l.negative===0),s(!l.isZero());var p=this,E=l.clone();p.negative!==0?p=p.umod(l):p=p.clone();for(var g=new n(1),b=new n(0),k=new n(0),x=new n(1),S=0;p.isEven()&&E.isEven();)p.iushrn(1),E.iushrn(1),++S;for(var f=E.clone(),M=p.clone();!p.isZero();){for(var V=0,D=1;!(p.words[0]&D)&&V<26;++V,D<<=1);if(V>0)for(p.iushrn(V);V-- >0;)(g.isOdd()||b.isOdd())&&(g.iadd(f),b.isub(M)),g.iushrn(1),b.iushrn(1);for(var j=0,Y=1;!(E.words[0]&Y)&&j<26;++j,Y<<=1);if(j>0)for(E.iushrn(j);j-- >0;)(k.isOdd()||x.isOdd())&&(k.iadd(f),x.isub(M)),k.iushrn(1),x.iushrn(1);p.cmp(E)>=0?(p.isub(E),g.isub(k),b.isub(x)):(E.isub(p),k.isub(g),x.isub(b))}return{a:k,b:x,gcd:E.iushln(S)}},n.prototype._invmp=function(l){s(l.negative===0),s(!l.isZero());var p=this,E=l.clone();p.negative!==0?p=p.umod(l):p=p.clone();for(var g=new n(1),b=new n(0),k=E.clone();p.cmpn(1)>0&&E.cmpn(1)>0;){for(var x=0,S=1;!(p.words[0]&S)&&x<26;++x,S<<=1);if(x>0)for(p.iushrn(x);x-- >0;)g.isOdd()&&g.iadd(k),g.iushrn(1);for(var f=0,M=1;!(E.words[0]&M)&&f<26;++f,M<<=1);if(f>0)for(E.iushrn(f);f-- >0;)b.isOdd()&&b.iadd(k),b.iushrn(1);p.cmp(E)>=0?(p.isub(E),g.isub(b)):(E.isub(p),b.isub(g))}var V;return p.cmpn(1)===0?V=g:V=b,V.cmpn(0)<0&&V.iadd(l),V},n.prototype.gcd=function(l){if(this.isZero())return l.abs();if(l.isZero())return this.abs();var p=this.clone(),E=l.clone();p.negative=0,E.negative=0;for(var g=0;p.isEven()&&E.isEven();g++)p.iushrn(1),E.iushrn(1);do{for(;p.isEven();)p.iushrn(1);for(;E.isEven();)E.iushrn(1);var b=p.cmp(E);if(b<0){var k=p;p=E,E=k}else if(b===0||E.cmpn(1)===0)break;p.isub(E)}while(!0);return E.iushln(g)},n.prototype.invm=function(l){return this.egcd(l).a.umod(l)},n.prototype.isEven=function(){return(this.words[0]&1)===0},n.prototype.isOdd=function(){return(this.words[0]&1)===1},n.prototype.andln=function(l){return this.words[0]&l},n.prototype.bincn=function(l){s(typeof l=="number");var p=l%26,E=(l-p)/26,g=1<<p;if(this.length<=E)return this._expand(E+1),this.words[E]|=g,this;for(var b=g,k=E;b!==0&&k<this.length;k++){var x=this.words[k]|0;x+=b,b=x>>>26,x&=67108863,this.words[k]=x}return b!==0&&(this.words[k]=b,this.length++),this},n.prototype.isZero=function(){return this.length===1&&this.words[0]===0},n.prototype.cmpn=function(l){var p=l<0;if(this.negative!==0&&!p)return-1;if(this.negative===0&&p)return 1;this.strip();var E;if(this.length>1)E=1;else{p&&(l=-l),s(l<=67108863,"Number is too big");var g=this.words[0]|0;E=g===l?0:g<l?-1:1}return this.negative!==0?-E|0:E},n.prototype.cmp=function(l){if(this.negative!==0&&l.negative===0)return-1;if(this.negative===0&&l.negative!==0)return 1;var p=this.ucmp(l);return this.negative!==0?-p|0:p},n.prototype.ucmp=function(l){if(this.length>l.length)return 1;if(this.length<l.length)return-1;for(var p=0,E=this.length-1;E>=0;E--){var g=this.words[E]|0,b=l.words[E]|0;if(g!==b){g<b?p=-1:g>b&&(p=1);break}}return p},n.prototype.gtn=function(l){return this.cmpn(l)===1},n.prototype.gt=function(l){return this.cmp(l)===1},n.prototype.gten=function(l){return this.cmpn(l)>=0},n.prototype.gte=function(l){return this.cmp(l)>=0},n.prototype.ltn=function(l){return this.cmpn(l)===-1},n.prototype.lt=function(l){return this.cmp(l)===-1},n.prototype.lten=function(l){return this.cmpn(l)<=0},n.prototype.lte=function(l){return this.cmp(l)<=0},n.prototype.eqn=function(l){return this.cmpn(l)===0},n.prototype.eq=function(l){return this.cmp(l)===0},n.red=function(l){return new F(l)},n.prototype.toRed=function(l){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),l.convertTo(this)._forceRed(l)},n.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(l){return this.red=l,this},n.prototype.forceRed=function(l){return s(!this.red,"Already a number in reduction context"),this._forceRed(l)},n.prototype.redAdd=function(l){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,l)},n.prototype.redIAdd=function(l){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,l)},n.prototype.redSub=function(l){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,l)},n.prototype.redISub=function(l){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,l)},n.prototype.redShl=function(l){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,l)},n.prototype.redMul=function(l){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.mul(this,l)},n.prototype.redIMul=function(l){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.imul(this,l)},n.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(l){return s(this.red&&!l.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,l)};var R={k256:null,p224:null,p192:null,p25519:null};function U(l,p){this.name=l,this.p=new n(p,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}U.prototype._tmp=function(){var l=new n(null);return l.words=new Array(Math.ceil(this.n/13)),l},U.prototype.ireduce=function(l){var p=l,E;do this.split(p,this.tmp),p=this.imulK(p),p=p.iadd(this.tmp),E=p.bitLength();while(E>this.n);var g=E<this.n?-1:p.ucmp(this.p);return g===0?(p.words[0]=0,p.length=1):g>0?p.isub(this.p):p.strip!==void 0?p.strip():p._strip(),p},U.prototype.split=function(l,p){l.iushrn(this.n,0,p)},U.prototype.imulK=function(l){return l.imul(this.k)};function N(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(N,U),N.prototype.split=function(l,p){for(var E=4194303,g=Math.min(l.length,9),b=0;b<g;b++)p.words[b]=l.words[b];if(p.length=g,l.length<=9){l.words[0]=0,l.length=1;return}var k=l.words[9];for(p.words[p.length++]=k&E,b=10;b<l.length;b++){var x=l.words[b]|0;l.words[b-10]=(x&E)<<4|k>>>22,k=x}k>>>=22,l.words[b-10]=k,k===0&&l.length>10?l.length-=10:l.length-=9},N.prototype.imulK=function(l){l.words[l.length]=0,l.words[l.length+1]=0,l.length+=2;for(var p=0,E=0;E<l.length;E++){var g=l.words[E]|0;p+=g*977,l.words[E]=p&67108863,p=g*64+(p/67108864|0)}return l.words[l.length-1]===0&&(l.length--,l.words[l.length-1]===0&&l.length--),l};function _(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i(_,U);function L(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i(L,U);function H(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i(H,U),H.prototype.imulK=function(l){for(var p=0,E=0;E<l.length;E++){var g=(l.words[E]|0)*19+p,b=g&67108863;g>>>=26,l.words[E]=b,p=g}return p!==0&&(l.words[l.length++]=p),l},n._prime=function(l){if(R[l])return R[l];var p;if(l==="k256")p=new N;else if(l==="p224")p=new _;else if(l==="p192")p=new L;else if(l==="p25519")p=new H;else throw new Error("Unknown prime "+l);return R[l]=p,p};function F(l){if(typeof l=="string"){var p=n._prime(l);this.m=p.p,this.prime=p}else s(l.gtn(1),"modulus must be greater than 1"),this.m=l,this.prime=null}F.prototype._verify1=function(l){s(l.negative===0,"red works only with positives"),s(l.red,"red works only with red numbers")},F.prototype._verify2=function(l,p){s((l.negative|p.negative)===0,"red works only with positives"),s(l.red&&l.red===p.red,"red works only with red numbers")},F.prototype.imod=function(l){return this.prime?this.prime.ireduce(l)._forceRed(this):l.umod(this.m)._forceRed(this)},F.prototype.neg=function(l){return l.isZero()?l.clone():this.m.sub(l)._forceRed(this)},F.prototype.add=function(l,p){this._verify2(l,p);var E=l.add(p);return E.cmp(this.m)>=0&&E.isub(this.m),E._forceRed(this)},F.prototype.iadd=function(l,p){this._verify2(l,p);var E=l.iadd(p);return E.cmp(this.m)>=0&&E.isub(this.m),E},F.prototype.sub=function(l,p){this._verify2(l,p);var E=l.sub(p);return E.cmpn(0)<0&&E.iadd(this.m),E._forceRed(this)},F.prototype.isub=function(l,p){this._verify2(l,p);var E=l.isub(p);return E.cmpn(0)<0&&E.iadd(this.m),E},F.prototype.shl=function(l,p){return this._verify1(l),this.imod(l.ushln(p))},F.prototype.imul=function(l,p){return this._verify2(l,p),this.imod(l.imul(p))},F.prototype.mul=function(l,p){return this._verify2(l,p),this.imod(l.mul(p))},F.prototype.isqr=function(l){return this.imul(l,l.clone())},F.prototype.sqr=function(l){return this.mul(l,l)},F.prototype.sqrt=function(l){if(l.isZero())return l.clone();var p=this.m.andln(3);if(s(p%2===1),p===3){var E=this.m.add(new n(1)).iushrn(2);return this.pow(l,E)}for(var g=this.m.subn(1),b=0;!g.isZero()&&g.andln(1)===0;)b++,g.iushrn(1);s(!g.isZero());var k=new n(1).toRed(this),x=k.redNeg(),S=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new n(2*f*f).toRed(this);this.pow(f,S).cmp(x)!==0;)f.redIAdd(x);for(var M=this.pow(f,g),V=this.pow(l,g.addn(1).iushrn(1)),D=this.pow(l,g),j=b;D.cmp(k)!==0;){for(var Y=D,oe=0;Y.cmp(k)!==0;oe++)Y=Y.redSqr();s(oe<j);var de=this.pow(M,new n(1).iushln(j-oe-1));V=V.redMul(de),M=de.redSqr(),D=D.redMul(M),j=oe}return V},F.prototype.invm=function(l){var p=l._invmp(this.m);return p.negative!==0?(p.negative=0,this.imod(p).redNeg()):this.imod(p)},F.prototype.pow=function(l,p){if(p.isZero())return new n(1).toRed(this);if(p.cmpn(1)===0)return l.clone();var E=4,g=new Array(1<<E);g[0]=new n(1).toRed(this),g[1]=l;for(var b=2;b<g.length;b++)g[b]=this.mul(g[b-1],l);var k=g[0],x=0,S=0,f=p.bitLength()%26;for(f===0&&(f=26),b=p.length-1;b>=0;b--){for(var M=p.words[b],V=f-1;V>=0;V--){var D=M>>V&1;if(k!==g[0]&&(k=this.sqr(k)),D===0&&x===0){S=0;continue}x<<=1,x|=D,S++,!(S!==E&&(b!==0||V!==0))&&(k=this.mul(k,g[x]),S=0,x=0)}f=26}return k},F.prototype.convertTo=function(l){var p=l.umod(this.m);return p===l?p.clone():p},F.prototype.convertFrom=function(l){var p=l.clone();return p.red=null,p},n.mont=function(l){return new G(l)};function G(l){F.call(this,l),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new n(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)}i(G,F),G.prototype.convertTo=function(l){return this.imod(l.ushln(this.shift))},G.prototype.convertFrom=function(l){var p=this.imod(l.mul(this.rinv));return p.red=null,p},G.prototype.imul=function(l,p){if(l.isZero()||p.isZero())return l.words[0]=0,l.length=1,l;var E=l.imul(p),g=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=E.isub(g).iushrn(this.shift),k=b;return b.cmp(this.m)>=0?k=b.isub(this.m):b.cmpn(0)<0&&(k=b.iadd(this.m)),k._forceRed(this)},G.prototype.mul=function(l,p){if(l.isZero()||p.isZero())return new n(0)._forceRed(this);var E=l.mul(p),g=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=E.isub(g).iushrn(this.shift),k=b;return b.cmp(this.m)>=0?k=b.isub(this.m):b.cmpn(0)<0&&(k=b.iadd(this.m)),k._forceRed(this)},G.prototype.invm=function(l){var p=this.imod(l._invmp(this.m).mul(this.r2));return p._forceRed(this)}})(typeof t>"u"||t,e)}),WQ=W(e=>{"use strict";m();var t=e;function r(i,n){if(Array.isArray(i))return i.slice();if(!i)return[];var a=[];if(typeof i!="string"){for(var u=0;u<i.length;u++)a[u]=i[u]|0;return a}if(n==="hex"){i=i.replace(/[^a-z0-9]+/ig,""),i.length%2!==0&&(i="0"+i);for(var u=0;u<i.length;u+=2)a.push(parseInt(i[u]+i[u+1],16))}else for(var u=0;u<i.length;u++){var c=i.charCodeAt(u),d=c>>8,h=c&255;d?a.push(d,h):a.push(h)}return a}t.toArray=r;function o(i){return i.length===1?"0"+i:i}t.zero2=o;function s(i){for(var n="",a=0;a<i.length;a++)n+=o(i[a].toString(16));return n}t.toHex=s,t.encode=function(i,n){return n==="hex"?s(i):i}}),Vf=W(e=>{"use strict";m();var t=e,r=zp(),o=Gf(),s=WQ();t.assert=o,t.toArray=s.toArray,t.zero2=s.zero2,t.toHex=s.toHex,t.encode=s.encode;function i(d,h,y){var C=new Array(Math.max(d.bitLength(),y)+1),w;for(w=0;w<C.length;w+=1)C[w]=0;var T=1<<h+1,A=d.clone();for(w=0;w<C.length;w++){var O,v=A.andln(T-1);A.isOdd()?(v>(T>>1)-1?O=(T>>1)-v:O=v,A.isubn(O)):O=0,C[w]=O,A.iushrn(1)}return C}t.getNAF=i;function n(d,h){var y=[[],[]];d=d.clone(),h=h.clone();for(var C=0,w=0,T;d.cmpn(-C)>0||h.cmpn(-w)>0;){var A=d.andln(3)+C&3,O=h.andln(3)+w&3;A===3&&(A=-1),O===3&&(O=-1);var v;A&1?(T=d.andln(7)+C&7,(T===3||T===5)&&O===2?v=-A:v=A):v=0,y[0].push(v);var B;O&1?(T=h.andln(7)+w&7,(T===3||T===5)&&A===2?B=-O:B=O):B=0,y[1].push(B),2*C===v+1&&(C=1-C),2*w===B+1&&(w=1-w),d.iushrn(1),h.iushrn(1)}return y}t.getJSF=n;function a(d,h,y){var C="_"+h;d.prototype[h]=function(){return this[C]!==void 0?this[C]:this[C]=y.call(this)}}t.cachedProperty=a;function u(d){return typeof d=="string"?t.toArray(d,"hex"):d}t.parseBytes=u;function c(d){return new r(d,"hex","le")}t.intFromLE=c}),UI=W((e,t)=>{"use strict";m();var r=zp(),o=Vf(),s=o.getNAF,i=o.getJSF,n=o.assert;function a(c,d){this.type=c,this.p=new r(d.p,16),this.red=d.prime?r.red(d.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=d.n&&new r(d.n,16),this.g=d.g&&this.pointFromJSON(d.g,d.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 h=this.n&&this.p.div(this.n);!h||h.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}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(c,d){n(c.precomputed);var h=c._getDoubles(),y=s(d,1,this._bitLength),C=(1<<h.step+1)-(h.step%2===0?2:1);C/=3;var w=[],T,A;for(T=0;T<y.length;T+=h.step){A=0;for(var O=T+h.step-1;O>=T;O--)A=(A<<1)+y[O];w.push(A)}for(var v=this.jpoint(null,null,null),B=this.jpoint(null,null,null),R=C;R>0;R--){for(T=0;T<w.length;T++)A=w[T],A===R?B=B.mixedAdd(h.points[T]):A===-R&&(B=B.mixedAdd(h.points[T].neg()));v=v.add(B)}return v.toP()},a.prototype._wnafMul=function(c,d){var h=4,y=c._getNAFPoints(h);h=y.wnd;for(var C=y.points,w=s(d,h,this._bitLength),T=this.jpoint(null,null,null),A=w.length-1;A>=0;A--){for(var O=0;A>=0&&w[A]===0;A--)O++;if(A>=0&&O++,T=T.dblp(O),A<0)break;var v=w[A];n(v!==0),c.type==="affine"?v>0?T=T.mixedAdd(C[v-1>>1]):T=T.mixedAdd(C[-v-1>>1].neg()):v>0?T=T.add(C[v-1>>1]):T=T.add(C[-v-1>>1].neg())}return c.type==="affine"?T.toP():T},a.prototype._wnafMulAdd=function(c,d,h,y,C){var w=this._wnafT1,T=this._wnafT2,A=this._wnafT3,O=0,v,B,R;for(v=0;v<y;v++){R=d[v];var U=R._getNAFPoints(c);w[v]=U.wnd,T[v]=U.points}for(v=y-1;v>=1;v-=2){var N=v-1,_=v;if(w[N]!==1||w[_]!==1){A[N]=s(h[N],w[N],this._bitLength),A[_]=s(h[_],w[_],this._bitLength),O=Math.max(A[N].length,O),O=Math.max(A[_].length,O);continue}var L=[d[N],null,null,d[_]];d[N].y.cmp(d[_].y)===0?(L[1]=d[N].add(d[_]),L[2]=d[N].toJ().mixedAdd(d[_].neg())):d[N].y.cmp(d[_].y.redNeg())===0?(L[1]=d[N].toJ().mixedAdd(d[_]),L[2]=d[N].add(d[_].neg())):(L[1]=d[N].toJ().mixedAdd(d[_]),L[2]=d[N].toJ().mixedAdd(d[_].neg()));var H=[-3,-1,-5,-7,0,7,5,1,3],F=i(h[N],h[_]);for(O=Math.max(F[0].length,O),A[N]=new Array(O),A[_]=new Array(O),B=0;B<O;B++){var G=F[0][B]|0,l=F[1][B]|0;A[N][B]=H[(G+1)*3+(l+1)],A[_][B]=0,T[N]=L}}var p=this.jpoint(null,null,null),E=this._wnafT4;for(v=O;v>=0;v--){for(var g=0;v>=0;){var b=!0;for(B=0;B<y;B++)E[B]=A[B][v]|0,E[B]!==0&&(b=!1);if(!b)break;g++,v--}if(v>=0&&g++,p=p.dblp(g),v<0)break;for(B=0;B<y;B++){var k=E[B];k!==0&&(k>0?R=T[B][k-1>>1]:k<0&&(R=T[B][-k-1>>1].neg()),R.type==="affine"?p=p.mixedAdd(R):p=p.add(R))}}for(v=0;v<y;v++)T[v]=null;return C?p:p.toP()};function u(c,d){this.curve=c,this.type=d,this.precomputed=null}a.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},a.prototype.decodePoint=function(c,d){c=o.toArray(c,d);var h=this.p.byteLength();if((c[0]===4||c[0]===6||c[0]===7)&&c.length-1===2*h){c[0]===6?n(c[c.length-1]%2===0):c[0]===7&&n(c[c.length-1]%2===1);var y=this.point(c.slice(1,1+h),c.slice(1+h,1+2*h));return y}else if((c[0]===2||c[0]===3)&&c.length-1===h)return this.pointFromX(c.slice(1,1+h),c[0]===3);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(c){return this.encode(c,!0)},u.prototype._encode=function(c){var d=this.curve.p.byteLength(),h=this.getX().toArray("be",d);return c?[this.getY().isEven()?2:3].concat(h):[4].concat(h,this.getY().toArray("be",d))},u.prototype.encode=function(c,d){return o.encode(this._encode(d),c)},u.prototype.precompute=function(c){if(this.precomputed)return this;var d={doubles:null,naf:null,beta:null};return d.naf=this._getNAFPoints(8),d.doubles=this._getDoubles(4,c),d.beta=this._getBeta(),this.precomputed=d,this},u.prototype._hasDoubles=function(c){if(!this.precomputed)return!1;var d=this.precomputed.doubles;return d?d.points.length>=Math.ceil((c.bitLength()+1)/d.step):!1},u.prototype._getDoubles=function(c,d){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var h=[this],y=this,C=0;C<d;C+=c){for(var w=0;w<c;w++)y=y.dbl();h.push(y)}return{step:c,points:h}},u.prototype._getNAFPoints=function(c){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var d=[this],h=(1<<c)-1,y=h===1?null:this.dbl(),C=1;C<h;C++)d[C]=d[C-1].add(y);return{wnd:c,points:d}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(c){for(var d=this,h=0;h<c;h++)d=d.dbl();return d}}),I4e=W((e,t)=>{"use strict";m();var r=Vf(),o=zp(),s=un(),i=UI(),n=r.assert;function a(d){i.call(this,"short",d),this.a=new o(d.a,16).toRed(this.red),this.b=new o(d.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(d),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}s(a,i),t.exports=a,a.prototype._getEndomorphism=function(d){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var h,y;if(d.beta)h=new o(d.beta,16).toRed(this.red);else{var C=this._getEndoRoots(this.p);h=C[0].cmp(C[1])<0?C[0]:C[1],h=h.toRed(this.red)}if(d.lambda)y=new o(d.lambda,16);else{var w=this._getEndoRoots(this.n);this.g.mul(w[0]).x.cmp(this.g.x.redMul(h))===0?y=w[0]:(y=w[1],n(this.g.mul(y).x.cmp(this.g.x.redMul(h))===0))}var T;return d.basis?T=d.basis.map(function(A){return{a:new o(A.a,16),b:new o(A.b,16)}}):T=this._getEndoBasis(y),{beta:h,lambda:y,basis:T}}},a.prototype._getEndoRoots=function(d){var h=d===this.p?this.red:o.mont(d),y=new o(2).toRed(h).redInvm(),C=y.redNeg(),w=new o(3).toRed(h).redNeg().redSqrt().redMul(y),T=C.redAdd(w).fromRed(),A=C.redSub(w).fromRed();return[T,A]},a.prototype._getEndoBasis=function(d){for(var h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),y=d,C=this.n.clone(),w=new o(1),T=new o(0),A=new o(0),O=new o(1),v,B,R,U,N,_,L,H=0,F,G;y.cmpn(0)!==0;){var l=C.div(y);F=C.sub(l.mul(y)),G=A.sub(l.mul(w));var p=O.sub(l.mul(T));if(!R&&F.cmp(h)<0)v=L.neg(),B=w,R=F.neg(),U=G;else if(R&&++H===2)break;L=F,C=y,y=F,A=w,w=G,O=T,T=p}N=F.neg(),_=G;var E=R.sqr().add(U.sqr()),g=N.sqr().add(_.sqr());return g.cmp(E)>=0&&(N=v,_=B),R.negative&&(R=R.neg(),U=U.neg()),N.negative&&(N=N.neg(),_=_.neg()),[{a:R,b:U},{a:N,b:_}]},a.prototype._endoSplit=function(d){var h=this.endo.basis,y=h[0],C=h[1],w=C.b.mul(d).divRound(this.n),T=y.b.neg().mul(d).divRound(this.n),A=w.mul(y.a),O=T.mul(C.a),v=w.mul(y.b),B=T.mul(C.b),R=d.sub(A).sub(O),U=v.add(B).neg();return{k1:R,k2:U}},a.prototype.pointFromX=function(d,h){d=new o(d,16),d.red||(d=d.toRed(this.red));var y=d.redSqr().redMul(d).redIAdd(d.redMul(this.a)).redIAdd(this.b),C=y.redSqrt();if(C.redSqr().redSub(y).cmp(this.zero)!==0)throw new Error("invalid point");var w=C.fromRed().isOdd();return(h&&!w||!h&&w)&&(C=C.redNeg()),this.point(d,C)},a.prototype.validate=function(d){if(d.inf)return!0;var h=d.x,y=d.y,C=this.a.redMul(h),w=h.redSqr().redMul(h).redIAdd(C).redIAdd(this.b);return y.redSqr().redISub(w).cmpn(0)===0},a.prototype._endoWnafMulAdd=function(d,h,y){for(var C=this._endoWnafT1,w=this._endoWnafT2,T=0;T<d.length;T++){var A=this._endoSplit(h[T]),O=d[T],v=O._getBeta();A.k1.negative&&(A.k1.ineg(),O=O.neg(!0)),A.k2.negative&&(A.k2.ineg(),v=v.neg(!0)),C[T*2]=O,C[T*2+1]=v,w[T*2]=A.k1,w[T*2+1]=A.k2}for(var B=this._wnafMulAdd(1,C,w,T*2,y),R=0;R<T*2;R++)C[R]=null,w[R]=null;return B};function u(d,h,y,C){i.BasePoint.call(this,d,"affine"),h===null&&y===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new o(h,16),this.y=new o(y,16),C&&(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)}s(u,i.BasePoint),a.prototype.point=function(d,h,y){return new u(this,d,h,y)},a.prototype.pointFromJSON=function(d,h){return u.fromJSON(this,d,h)},u.prototype._getBeta=function(){if(this.curve.endo){var d=this.precomputed;if(d&&d.beta)return d.beta;var h=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(d){var y=this.curve,C=function(w){return y.point(w.x.redMul(y.endo.beta),w.y)};d.beta=h,h.precomputed={beta:null,naf:d.naf&&{wnd:d.naf.wnd,points:d.naf.points.map(C)},doubles:d.doubles&&{step:d.doubles.step,points:d.doubles.points.map(C)}}}return h}},u.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]},u.fromJSON=function(d,h,y){typeof h=="string"&&(h=JSON.parse(h));var C=d.point(h[0],h[1],y);if(!h[2])return C;function w(A){return d.point(A[0],A[1],y)}var T=h[2];return C.precomputed={beta:null,doubles:T.doubles&&{step:T.doubles.step,points:[C].concat(T.doubles.points.map(w))},naf:T.naf&&{wnd:T.naf.wnd,points:[C].concat(T.naf.points.map(w))}},C},u.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)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(d){if(this.inf)return d;if(d.inf)return this;if(this.eq(d))return this.dbl();if(this.neg().eq(d))return this.curve.point(null,null);if(this.x.cmp(d.x)===0)return this.curve.point(null,null);var h=this.y.redSub(d.y);h.cmpn(0)!==0&&(h=h.redMul(this.x.redSub(d.x).redInvm()));var y=h.redSqr().redISub(this.x).redISub(d.x),C=h.redMul(this.x.redSub(y)).redISub(this.y);return this.curve.point(y,C)},u.prototype.dbl=function(){if(this.inf)return this;var d=this.y.redAdd(this.y);if(d.cmpn(0)===0)return this.curve.point(null,null);var h=this.curve.a,y=this.x.redSqr(),C=d.redInvm(),w=y.redAdd(y).redIAdd(y).redIAdd(h).redMul(C),T=w.redSqr().redISub(this.x.redAdd(this.x)),A=w.redMul(this.x.redSub(T)).redISub(this.y);return this.curve.point(T,A)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(d){return d=new o(d,16),this.isInfinity()?this:this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve.endo?this.curve._endoWnafMulAdd([this],[d]):this.curve._wnafMul(this,d)},u.prototype.mulAdd=function(d,h,y){var C=[this,h],w=[d,y];return this.curve.endo?this.curve._endoWnafMulAdd(C,w):this.curve._wnafMulAdd(1,C,w,2)},u.prototype.jmulAdd=function(d,h,y){var C=[this,h],w=[d,y];return this.curve.endo?this.curve._endoWnafMulAdd(C,w,!0):this.curve._wnafMulAdd(1,C,w,2,!0)},u.prototype.eq=function(d){return this===d||this.inf===d.inf&&(this.inf||this.x.cmp(d.x)===0&&this.y.cmp(d.y)===0)},u.prototype.neg=function(d){if(this.inf)return this;var h=this.curve.point(this.x,this.y.redNeg());if(d&&this.precomputed){var y=this.precomputed,C=function(w){return w.neg()};h.precomputed={naf:y.naf&&{wnd:y.naf.wnd,points:y.naf.points.map(C)},doubles:y.doubles&&{step:y.doubles.step,points:y.doubles.points.map(C)}}}return h},u.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var d=this.curve.jpoint(this.x,this.y,this.curve.one);return d};function c(d,h,y,C){i.BasePoint.call(this,d,"jacobian"),h===null&&y===null&&C===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o(0)):(this.x=new o(h,16),this.y=new o(y,16),this.z=new o(C,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}s(c,i.BasePoint),a.prototype.jpoint=function(d,h,y){return new c(this,d,h,y)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var d=this.z.redInvm(),h=d.redSqr(),y=this.x.redMul(h),C=this.y.redMul(h).redMul(d);return this.curve.point(y,C)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(d){if(this.isInfinity())return d;if(d.isInfinity())return this;var h=d.z.redSqr(),y=this.z.redSqr(),C=this.x.redMul(h),w=d.x.redMul(y),T=this.y.redMul(h.redMul(d.z)),A=d.y.redMul(y.redMul(this.z)),O=C.redSub(w),v=T.redSub(A);if(O.cmpn(0)===0)return v.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var B=O.redSqr(),R=B.redMul(O),U=C.redMul(B),N=v.redSqr().redIAdd(R).redISub(U).redISub(U),_=v.redMul(U.redISub(N)).redISub(T.redMul(R)),L=this.z.redMul(d.z).redMul(O);return this.curve.jpoint(N,_,L)},c.prototype.mixedAdd=function(d){if(this.isInfinity())return d.toJ();if(d.isInfinity())return this;var h=this.z.redSqr(),y=this.x,C=d.x.redMul(h),w=this.y,T=d.y.redMul(h).redMul(this.z),A=y.redSub(C),O=w.redSub(T);if(A.cmpn(0)===0)return O.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var v=A.redSqr(),B=v.redMul(A),R=y.redMul(v),U=O.redSqr().redIAdd(B).redISub(R).redISub(R),N=O.redMul(R.redISub(U)).redISub(w.redMul(B)),_=this.z.redMul(A);return this.curve.jpoint(U,N,_)},c.prototype.dblp=function(d){if(d===0)return this;if(this.isInfinity())return this;if(!d)return this.dbl();var h;if(this.curve.zeroA||this.curve.threeA){var y=this;for(h=0;h<d;h++)y=y.dbl();return y}var C=this.curve.a,w=this.curve.tinv,T=this.x,A=this.y,O=this.z,v=O.redSqr().redSqr(),B=A.redAdd(A);for(h=0;h<d;h++){var R=T.redSqr(),U=B.redSqr(),N=U.redSqr(),_=R.redAdd(R).redIAdd(R).redIAdd(C.redMul(v)),L=T.redMul(U),H=_.redSqr().redISub(L.redAdd(L)),F=L.redISub(H),G=_.redMul(F);G=G.redIAdd(G).redISub(N);var l=B.redMul(O);h+1<d&&(v=v.redMul(N)),T=H,O=l,B=G}return this.curve.jpoint(T,B.redMul(w),O)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},c.prototype._zeroDbl=function(){var d,h,y;if(this.zOne){var C=this.x.redSqr(),w=this.y.redSqr(),T=w.redSqr(),A=this.x.redAdd(w).redSqr().redISub(C).redISub(T);A=A.redIAdd(A);var O=C.redAdd(C).redIAdd(C),v=O.redSqr().redISub(A).redISub(A),B=T.redIAdd(T);B=B.redIAdd(B),B=B.redIAdd(B),d=v,h=O.redMul(A.redISub(v)).redISub(B),y=this.y.redAdd(this.y)}else{var R=this.x.redSqr(),U=this.y.redSqr(),N=U.redSqr(),_=this.x.redAdd(U).redSqr().redISub(R).redISub(N);_=_.redIAdd(_);var L=R.redAdd(R).redIAdd(R),H=L.redSqr(),F=N.redIAdd(N);F=F.redIAdd(F),F=F.redIAdd(F),d=H.redISub(_).redISub(_),h=L.redMul(_.redISub(d)).redISub(F),y=this.y.redMul(this.z),y=y.redIAdd(y)}return this.curve.jpoint(d,h,y)},c.prototype._threeDbl=function(){var d,h,y;if(this.zOne){var C=this.x.redSqr(),w=this.y.redSqr(),T=w.redSqr(),A=this.x.redAdd(w).redSqr().redISub(C).redISub(T);A=A.redIAdd(A);var O=C.redAdd(C).redIAdd(C).redIAdd(this.curve.a),v=O.redSqr().redISub(A).redISub(A);d=v;var B=T.redIAdd(T);B=B.redIAdd(B),B=B.redIAdd(B),h=O.redMul(A.redISub(v)).redISub(B),y=this.y.redAdd(this.y)}else{var R=this.z.redSqr(),U=this.y.redSqr(),N=this.x.redMul(U),_=this.x.redSub(R).redMul(this.x.redAdd(R));_=_.redAdd(_).redIAdd(_);var L=N.redIAdd(N);L=L.redIAdd(L);var H=L.redAdd(L);d=_.redSqr().redISub(H),y=this.y.redAdd(this.z).redSqr().redISub(U).redISub(R);var F=U.redSqr();F=F.redIAdd(F),F=F.redIAdd(F),F=F.redIAdd(F),h=_.redMul(L.redISub(d)).redISub(F)}return this.curve.jpoint(d,h,y)},c.prototype._dbl=function(){var d=this.curve.a,h=this.x,y=this.y,C=this.z,w=C.redSqr().redSqr(),T=h.redSqr(),A=y.redSqr(),O=T.redAdd(T).redIAdd(T).redIAdd(d.redMul(w)),v=h.redAdd(h);v=v.redIAdd(v);var B=v.redMul(A),R=O.redSqr().redISub(B.redAdd(B)),U=B.redISub(R),N=A.redSqr();N=N.redIAdd(N),N=N.redIAdd(N),N=N.redIAdd(N);var _=O.redMul(U).redISub(N),L=y.redAdd(y).redMul(C);return this.curve.jpoint(R,_,L)},c.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var d=this.x.redSqr(),h=this.y.redSqr(),y=this.z.redSqr(),C=h.redSqr(),w=d.redAdd(d).redIAdd(d),T=w.redSqr(),A=this.x.redAdd(h).redSqr().redISub(d).redISub(C);A=A.redIAdd(A),A=A.redAdd(A).redIAdd(A),A=A.redISub(T);var O=A.redSqr(),v=C.redIAdd(C);v=v.redIAdd(v),v=v.redIAdd(v),v=v.redIAdd(v);var B=w.redIAdd(A).redSqr().redISub(T).redISub(O).redISub(v),R=h.redMul(B);R=R.redIAdd(R),R=R.redIAdd(R);var U=this.x.redMul(O).redISub(R);U=U.redIAdd(U),U=U.redIAdd(U);var N=this.y.redMul(B.redMul(v.redISub(B)).redISub(A.redMul(O)));N=N.redIAdd(N),N=N.redIAdd(N),N=N.redIAdd(N);var _=this.z.redAdd(A).redSqr().redISub(y).redISub(O);return this.curve.jpoint(U,N,_)},c.prototype.mul=function(d,h){return d=new o(d,h),this.curve._wnafMul(this,d)},c.prototype.eq=function(d){if(d.type==="affine")return this.eq(d.toJ());if(this===d)return!0;var h=this.z.redSqr(),y=d.z.redSqr();if(this.x.redMul(y).redISub(d.x.redMul(h)).cmpn(0)!==0)return!1;var C=h.redMul(this.z),w=y.redMul(d.z);return this.y.redMul(w).redISub(d.y.redMul(C)).cmpn(0)===0},c.prototype.eqXToP=function(d){var h=this.z.redSqr(),y=d.toRed(this.curve.red).redMul(h);if(this.x.cmp(y)===0)return!0;for(var C=d.clone(),w=this.curve.redN.redMul(h);;){if(C.iadd(this.curve.n),C.cmp(this.curve.p)>=0)return!1;if(y.redIAdd(w),this.x.cmp(y)===0)return!0}},c.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)+">"},c.prototype.isInfinity=function(){return this.z.cmpn(0)===0}}),B4e=W((e,t)=>{"use strict";m();var r=zp(),o=un(),s=UI(),i=Vf();function n(u){s.call(this,"mont",u),this.a=new r(u.a,16).toRed(this.red),this.b=new r(u.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))}o(n,s),t.exports=n,n.prototype.validate=function(u){var c=u.normalize().x,d=c.redSqr(),h=d.redMul(c).redAdd(d.redMul(this.a)).redAdd(c),y=h.redSqrt();return y.redSqr().cmp(h)===0};function a(u,c,d){s.BasePoint.call(this,u,"projective"),c===null&&d===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(c,16),this.z=new r(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}o(a,s.BasePoint),n.prototype.decodePoint=function(u,c){return this.point(i.toArray(u,c),1)},n.prototype.point=function(u,c){return new a(this,u,c)},n.prototype.pointFromJSON=function(u){return a.fromJSON(this,u)},a.prototype.precompute=function(){},a.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},a.fromJSON=function(u,c){return new a(u,c[0],c[1]||u.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 this.z.cmpn(0)===0},a.prototype.dbl=function(){var u=this.x.redAdd(this.z),c=u.redSqr(),d=this.x.redSub(this.z),h=d.redSqr(),y=c.redSub(h),C=c.redMul(h),w=y.redMul(h.redAdd(this.curve.a24.redMul(y)));return this.curve.point(C,w)},a.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},a.prototype.diffAdd=function(u,c){var d=this.x.redAdd(this.z),h=this.x.redSub(this.z),y=u.x.redAdd(u.z),C=u.x.redSub(u.z),w=C.redMul(d),T=y.redMul(h),A=c.z.redMul(w.redAdd(T).redSqr()),O=c.x.redMul(w.redISub(T).redSqr());return this.curve.point(A,O)},a.prototype.mul=function(u){for(var c=u.clone(),d=this,h=this.curve.point(null,null),y=this,C=[];c.cmpn(0)!==0;c.iushrn(1))C.push(c.andln(1));for(var w=C.length-1;w>=0;w--)C[w]===0?(d=d.diffAdd(h,y),h=h.dbl()):(h=d.diffAdd(h,y),d=d.dbl());return h},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(u){return this.getX().cmp(u.getX())===0},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()}}),_4e=W((e,t)=>{"use strict";m();var r=Vf(),o=zp(),s=un(),i=UI(),n=r.assert;function a(c){this.twisted=(c.a|0)!==1,this.mOneA=this.twisted&&(c.a|0)===-1,this.extended=this.mOneA,i.call(this,"edwards",c),this.a=new o(c.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(c.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(c.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),n(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(c.c|0)===1}s(a,i),t.exports=a,a.prototype._mulA=function(c){return this.mOneA?c.redNeg():this.a.redMul(c)},a.prototype._mulC=function(c){return this.oneC?c:this.c.redMul(c)},a.prototype.jpoint=function(c,d,h,y){return this.point(c,d,h,y)},a.prototype.pointFromX=function(c,d){c=new o(c,16),c.red||(c=c.toRed(this.red));var h=c.redSqr(),y=this.c2.redSub(this.a.redMul(h)),C=this.one.redSub(this.c2.redMul(this.d).redMul(h)),w=y.redMul(C.redInvm()),T=w.redSqrt();if(T.redSqr().redSub(w).cmp(this.zero)!==0)throw new Error("invalid point");var A=T.fromRed().isOdd();return(d&&!A||!d&&A)&&(T=T.redNeg()),this.point(c,T)},a.prototype.pointFromY=function(c,d){c=new o(c,16),c.red||(c=c.toRed(this.red));var h=c.redSqr(),y=h.redSub(this.c2),C=h.redMul(this.d).redMul(this.c2).redSub(this.a),w=y.redMul(C.redInvm());if(w.cmp(this.zero)===0){if(d)throw new Error("invalid point");return this.point(this.zero,c)}var T=w.redSqrt();if(T.redSqr().redSub(w).cmp(this.zero)!==0)throw new Error("invalid point");return T.fromRed().isOdd()!==d&&(T=T.redNeg()),this.point(T,c)},a.prototype.validate=function(c){if(c.isInfinity())return!0;c.normalize();var d=c.x.redSqr(),h=c.y.redSqr(),y=d.redMul(this.a).redAdd(h),C=this.c2.redMul(this.one.redAdd(this.d.redMul(d).redMul(h)));return y.cmp(C)===0};function u(c,d,h,y,C){i.BasePoint.call(this,c,"projective"),d===null&&h===null&&y===null?(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 o(d,16),this.y=new o(h,16),this.z=y?new o(y,16):this.curve.one,this.t=C&&new o(C,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()))))}s(u,i.BasePoint),a.prototype.pointFromJSON=function(c){return u.fromJSON(this,c)},a.prototype.point=function(c,d,h,y){return new u(this,c,d,h,y)},u.fromJSON=function(c,d){return new u(c,d[0],d[1],d[2])},u.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)+">"},u.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},u.prototype._extDbl=function(){var c=this.x.redSqr(),d=this.y.redSqr(),h=this.z.redSqr();h=h.redIAdd(h);var y=this.curve._mulA(c),C=this.x.redAdd(this.y).redSqr().redISub(c).redISub(d),w=y.redAdd(d),T=w.redSub(h),A=y.redSub(d),O=C.redMul(T),v=w.redMul(A),B=C.redMul(A),R=T.redMul(w);return this.curve.point(O,v,R,B)},u.prototype._projDbl=function(){var c=this.x.redAdd(this.y).redSqr(),d=this.x.redSqr(),h=this.y.redSqr(),y,C,w,T,A,O;if(this.curve.twisted){T=this.curve._mulA(d);var v=T.redAdd(h);this.zOne?(y=c.redSub(d).redSub(h).redMul(v.redSub(this.curve.two)),C=v.redMul(T.redSub(h)),w=v.redSqr().redSub(v).redSub(v)):(A=this.z.redSqr(),O=v.redSub(A).redISub(A),y=c.redSub(d).redISub(h).redMul(O),C=v.redMul(T.redSub(h)),w=v.redMul(O))}else T=d.redAdd(h),A=this.curve._mulC(this.z).redSqr(),O=T.redSub(A).redSub(A),y=this.curve._mulC(c.redISub(T)).redMul(O),C=this.curve._mulC(T).redMul(d.redISub(h)),w=T.redMul(O);return this.curve.point(y,C,w)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(c){var d=this.y.redSub(this.x).redMul(c.y.redSub(c.x)),h=this.y.redAdd(this.x).redMul(c.y.redAdd(c.x)),y=this.t.redMul(this.curve.dd).redMul(c.t),C=this.z.redMul(c.z.redAdd(c.z)),w=h.redSub(d),T=C.redSub(y),A=C.redAdd(y),O=h.redAdd(d),v=w.redMul(T),B=A.redMul(O),R=w.redMul(O),U=T.redMul(A);return this.curve.point(v,B,U,R)},u.prototype._projAdd=function(c){var d=this.z.redMul(c.z),h=d.redSqr(),y=this.x.redMul(c.x),C=this.y.redMul(c.y),w=this.curve.d.redMul(y).redMul(C),T=h.redSub(w),A=h.redAdd(w),O=this.x.redAdd(this.y).redMul(c.x.redAdd(c.y)).redISub(y).redISub(C),v=d.redMul(T).redMul(O),B,R;return this.curve.twisted?(B=d.redMul(A).redMul(C.redSub(this.curve._mulA(y))),R=T.redMul(A)):(B=d.redMul(A).redMul(C.redSub(y)),R=this.curve._mulC(T).redMul(A)),this.curve.point(v,B,R)},u.prototype.add=function(c){return this.isInfinity()?c:c.isInfinity()?this:this.curve.extended?this._extAdd(c):this._projAdd(c)},u.prototype.mul=function(c){return this._hasDoubles(c)?this.curve._fixedNafMul(this,c):this.curve._wnafMul(this,c)},u.prototype.mulAdd=function(c,d,h){return this.curve._wnafMulAdd(1,[this,d],[c,h],2,!1)},u.prototype.jmulAdd=function(c,d,h){return this.curve._wnafMulAdd(1,[this,d],[c,h],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var c=this.z.redInvm();return this.x=this.x.redMul(c),this.y=this.y.redMul(c),this.t&&(this.t=this.t.redMul(c)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(c){return this===c||this.getX().cmp(c.getX())===0&&this.getY().cmp(c.getY())===0},u.prototype.eqXToP=function(c){var d=c.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(d)===0)return!0;for(var h=c.clone(),y=this.curve.redN.redMul(this.z);;){if(h.iadd(this.curve.n),h.cmp(this.curve.p)>=0)return!1;if(d.redIAdd(y),this.x.cmp(d)===0)return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add}),KQ=W(e=>{"use strict";m();var t=e;t.base=UI(),t.short=I4e(),t.mont=B4e(),t.edwards=_4e()}),c0=W(e=>{"use strict";m();var t=Gf(),r=un();e.inherits=r;function o(p,E){return(p.charCodeAt(E)&64512)!==55296||E<0||E+1>=p.length?!1:(p.charCodeAt(E+1)&64512)===56320}function s(p,E){if(Array.isArray(p))return p.slice();if(!p)return[];var g=[];if(typeof p=="string")if(E){if(E==="hex")for(p=p.replace(/[^a-z0-9]+/ig,""),p.length%2!==0&&(p="0"+p),k=0;k<p.length;k+=2)g.push(parseInt(p[k]+p[k+1],16))}else for(var b=0,k=0;k<p.length;k++){var x=p.charCodeAt(k);x<128?g[b++]=x:x<2048?(g[b++]=x>>6|192,g[b++]=x&63|128):o(p,k)?(x=65536+((x&1023)<<10)+(p.charCodeAt(++k)&1023),g[b++]=x>>18|240,g[b++]=x>>12&63|128,g[b++]=x>>6&63|128,g[b++]=x&63|128):(g[b++]=x>>12|224,g[b++]=x>>6&63|128,g[b++]=x&63|128)}else for(k=0;k<p.length;k++)g[k]=p[k]|0;return g}e.toArray=s;function i(p){for(var E="",g=0;g<p.length;g++)E+=u(p[g].toString(16));return E}e.toHex=i;function n(p){var E=p>>>24|p>>>8&65280|p<<8&16711680|(p&255)<<24;return E>>>0}e.htonl=n;function a(p,E){for(var g="",b=0;b<p.length;b++){var k=p[b];E==="little"&&(k=n(k)),g+=c(k.toString(16))}return g}e.toHex32=a;function u(p){return p.length===1?"0"+p:p}e.zero2=u;function c(p){return p.length===7?"0"+p:p.length===6?"00"+p:p.length===5?"000"+p:p.length===4?"0000"+p:p.length===3?"00000"+p:p.length===2?"000000"+p:p.length===1?"0000000"+p:p}e.zero8=c;function d(p,E,g,b){var k=g-E;t(k%4===0);for(var x=new Array(k/4),S=0,f=E;S<x.length;S++,f+=4){var M;b==="big"?M=p[f]<<24|p[f+1]<<16|p[f+2]<<8|p[f+3]:M=p[f+3]<<24|p[f+2]<<16|p[f+1]<<8|p[f],x[S]=M>>>0}return x}e.join32=d;function h(p,E){for(var g=new Array(p.length*4),b=0,k=0;b<p.length;b++,k+=4){var x=p[b];E==="big"?(g[k]=x>>>24,g[k+1]=x>>>16&255,g[k+2]=x>>>8&255,g[k+3]=x&255):(g[k+3]=x>>>24,g[k+2]=x>>>16&255,g[k+1]=x>>>8&255,g[k]=x&255)}return g}e.split32=h;function y(p,E){return p>>>E|p<<32-E}e.rotr32=y;function C(p,E){return p<<E|p>>>32-E}e.rotl32=C;function w(p,E){return p+E>>>0}e.sum32=w;function T(p,E,g){return p+E+g>>>0}e.sum32_3=T;function A(p,E,g,b){return p+E+g+b>>>0}e.sum32_4=A;function O(p,E,g,b,k){return p+E+g+b+k>>>0}e.sum32_5=O;function v(p,E,g,b){var k=p[E],x=p[E+1],S=b+x>>>0,f=(S<b?1:0)+g+k;p[E]=f>>>0,p[E+1]=S}e.sum64=v;function B(p,E,g,b){var k=E+b>>>0,x=(k<E?1:0)+p+g;return x>>>0}e.sum64_hi=B;function R(p,E,g,b){var k=E+b;return k>>>0}e.sum64_lo=R;function U(p,E,g,b,k,x,S,f){var M=0,V=E;V=V+b>>>0,M+=V<E?1:0,V=V+x>>>0,M+=V<x?1:0,V=V+f>>>0,M+=V<f?1:0;var D=p+g+k+S+M;return D>>>0}e.sum64_4_hi=U;function N(p,E,g,b,k,x,S,f){var M=E+b+x+f;return M>>>0}e.sum64_4_lo=N;function _(p,E,g,b,k,x,S,f,M,V){var D=0,j=E;j=j+b>>>0,D+=j<E?1:0,j=j+x>>>0,D+=j<x?1:0,j=j+f>>>0,D+=j<f?1:0,j=j+V>>>0,D+=j<V?1:0;var Y=p+g+k+S+M+D;return Y>>>0}e.sum64_5_hi=_;function L(p,E,g,b,k,x,S,f,M,V){var D=E+b+x+f+V;return D>>>0}e.sum64_5_lo=L;function H(p,E,g){var b=E<<32-g|p>>>g;return b>>>0}e.rotr64_hi=H;function F(p,E,g){var b=p<<32-g|E>>>g;return b>>>0}e.rotr64_lo=F;function G(p,E,g){return p>>>g}e.shr64_hi=G;function l(p,E,g){var b=p<<32-g|E>>>g;return b>>>0}e.shr64_lo=l}),fS=W(e=>{"use strict";m();var t=c0(),r=Gf();function o(){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=o,o.prototype.update=function(s,i){if(s=t.toArray(s,i),this.pending?this.pending=this.pending.concat(s):this.pending=s,this.pendingTotal+=s.length,this.pending.length>=this._delta8){s=this.pending;var n=s.length%this._delta8;this.pending=s.slice(s.length-n,s.length),this.pending.length===0&&(this.pending=null),s=t.join32(s,0,s.length-n,this.endian);for(var a=0;a<s.length;a+=this._delta32)this._update(s,a,a+this._delta32)}return this},o.prototype.digest=function(s){return this.update(this._pad()),r(this.pending===null),this._digest(s)},o.prototype._pad=function(){var s=this.pendingTotal,i=this._delta8,n=i-(s+this.padLength)%i,a=new Array(n+this.padLength);a[0]=128;for(var u=1;u<n;u++)a[u]=0;if(s<<=3,this.endian==="big"){for(var c=8;c<this.padLength;c++)a[u++]=0;a[u++]=0,a[u++]=0,a[u++]=0,a[u++]=0,a[u++]=s>>>24&255,a[u++]=s>>>16&255,a[u++]=s>>>8&255,a[u++]=s&255}else for(a[u++]=s&255,a[u++]=s>>>8&255,a[u++]=s>>>16&255,a[u++]=s>>>24&255,a[u++]=0,a[u++]=0,a[u++]=0,a[u++]=0,c=8;c<this.padLength;c++)a[u++]=0;return a}}),HQ=W(e=>{"use strict";m();var t=c0(),r=t.rotr32;function o(h,y,C,w){if(h===0)return s(y,C,w);if(h===1||h===3)return n(y,C,w);if(h===2)return i(y,C,w)}e.ft_1=o;function s(h,y,C){return h&y^~h&C}e.ch32=s;function i(h,y,C){return h&y^h&C^y&C}e.maj32=i;function n(h,y,C){return h^y^C}e.p32=n;function a(h){return r(h,2)^r(h,13)^r(h,22)}e.s0_256=a;function u(h){return r(h,6)^r(h,11)^r(h,25)}e.s1_256=u;function c(h){return r(h,7)^r(h,18)^h>>>3}e.g0_256=c;function d(h){return r(h,17)^r(h,19)^h>>>10}e.g1_256=d}),j4e=W((e,t)=>{"use strict";m();var r=c0(),o=fS(),s=HQ(),i=r.rotl32,n=r.sum32,a=r.sum32_5,u=s.ft_1,c=o.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(h,c),t.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(y,C){for(var w=this.W,T=0;T<16;T++)w[T]=y[C+T];for(;T<w.length;T++)w[T]=i(w[T-3]^w[T-8]^w[T-14]^w[T-16],1);var A=this.h[0],O=this.h[1],v=this.h[2],B=this.h[3],R=this.h[4];for(T=0;T<w.length;T++){var U=~~(T/20),N=a(i(A,5),u(U,O,v,B),R,w[T],d[U]);R=B,B=v,v=i(O,30),O=A,A=N}this.h[0]=n(this.h[0],A),this.h[1]=n(this.h[1],O),this.h[2]=n(this.h[2],v),this.h[3]=n(this.h[3],B),this.h[4]=n(this.h[4],R)},h.prototype._digest=function(y){return y==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}}),jQ=W((e,t)=>{"use strict";m();var r=c0(),o=fS(),s=HQ(),i=Gf(),n=r.sum32,a=r.sum32_4,u=r.sum32_5,c=s.ch32,d=s.maj32,h=s.s0_256,y=s.s1_256,C=s.g0_256,w=s.g1_256,T=o.BlockHash,A=[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(){if(!(this instanceof O))return new O;T.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=A,this.W=new Array(64)}r.inherits(O,T),t.exports=O,O.blockSize=512,O.outSize=256,O.hmacStrength=192,O.padLength=64,O.prototype._update=function(v,B){for(var R=this.W,U=0;U<16;U++)R[U]=v[B+U];for(;U<R.length;U++)R[U]=a(w(R[U-2]),R[U-7],C(R[U-15]),R[U-16]);var N=this.h[0],_=this.h[1],L=this.h[2],H=this.h[3],F=this.h[4],G=this.h[5],l=this.h[6],p=this.h[7];for(i(this.k.length===R.length),U=0;U<R.length;U++){var E=u(p,y(F),c(F,G,l),this.k[U],R[U]),g=n(h(N),d(N,_,L));p=l,l=G,G=F,F=n(H,E),H=L,L=_,_=N,N=n(E,g)}this.h[0]=n(this.h[0],N),this.h[1]=n(this.h[1],_),this.h[2]=n(this.h[2],L),this.h[3]=n(this.h[3],H),this.h[4]=n(this.h[4],F),this.h[5]=n(this.h[5],G),this.h[6]=n(this.h[6],l),this.h[7]=n(this.h[7],p)},O.prototype._digest=function(v){return v==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}}),Y4e=W((e,t)=>{"use strict";m();var r=c0(),o=jQ();function s(){if(!(this instanceof s))return new s;o.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(s,o),t.exports=s,s.blockSize=512,s.outSize=224,s.hmacStrength=192,s.padLength=64,s.prototype._digest=function(i){return i==="hex"?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(),o=fS(),s=Gf(),i=r.rotr64_hi,n=r.rotr64_lo,a=r.shr64_hi,u=r.shr64_lo,c=r.sum64,d=r.sum64_hi,h=r.sum64_lo,y=r.sum64_4_hi,C=r.sum64_4_lo,w=r.sum64_5_hi,T=r.sum64_5_lo,A=o.BlockHash,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];function v(){if(!(this instanceof v))return new v;A.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=O,this.W=new Array(160)}r.inherits(v,A),t.exports=v,v.blockSize=1024,v.outSize=512,v.hmacStrength=192,v.padLength=128,v.prototype._prepareBlock=function(g,b){for(var k=this.W,x=0;x<32;x++)k[x]=g[b+x];for(;x<k.length;x+=2){var S=p(k[x-4],k[x-3]),f=E(k[x-4],k[x-3]),M=k[x-14],V=k[x-13],D=G(k[x-30],k[x-29]),j=l(k[x-30],k[x-29]),Y=k[x-32],oe=k[x-31];k[x]=y(S,f,M,V,D,j,Y,oe),k[x+1]=C(S,f,M,V,D,j,Y,oe)}},v.prototype._update=function(g,b){this._prepareBlock(g,b);var k=this.W,x=this.h[0],S=this.h[1],f=this.h[2],M=this.h[3],V=this.h[4],D=this.h[5],j=this.h[6],Y=this.h[7],oe=this.h[8],de=this.h[9],ue=this.h[10],ae=this.h[11],q=this.h[12],ne=this.h[13],me=this.h[14],ve=this.h[15];s(this.k.length===k.length);for(var ge=0;ge<k.length;ge+=2){var ce=me,ee=ve,fe=H(oe,de),ie=F(oe,de),re=B(oe,de,ue,ae,q,ne),Oe=R(oe,de,ue,ae,q,ne),Pe=this.k[ge],Ne=this.k[ge+1],Xe=k[ge],Je=k[ge+1],ft=w(ce,ee,fe,ie,re,Oe,Pe,Ne,Xe,Je),Kt=T(ce,ee,fe,ie,re,Oe,Pe,Ne,Xe,Je);ce=_(x,S),ee=L(x,S),fe=U(x,S,f,M,V,D),ie=N(x,S,f,M,V,D);var wt=d(ce,ee,fe,ie),Ie=h(ce,ee,fe,ie);me=q,ve=ne,q=ue,ne=ae,ue=oe,ae=de,oe=d(j,Y,ft,Kt),de=h(Y,Y,ft,Kt),j=V,Y=D,V=f,D=M,f=x,M=S,x=d(ft,Kt,wt,Ie),S=h(ft,Kt,wt,Ie)}c(this.h,0,x,S),c(this.h,2,f,M),c(this.h,4,V,D),c(this.h,6,j,Y),c(this.h,8,oe,de),c(this.h,10,ue,ae),c(this.h,12,q,ne),c(this.h,14,me,ve)},v.prototype._digest=function(g){return g==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")};function B(g,b,k,x,S){var f=g&k^~g&S;return f<0&&(f+=4294967296),f}function R(g,b,k,x,S,f){var M=b&x^~b&f;return M<0&&(M+=4294967296),M}function U(g,b,k,x,S){var f=g&k^g&S^k&S;return f<0&&(f+=4294967296),f}function N(g,b,k,x,S,f){var M=b&x^b&f^x&f;return M<0&&(M+=4294967296),M}function _(g,b){var k=i(g,b,28),x=i(b,g,2),S=i(b,g,7),f=k^x^S;return f<0&&(f+=4294967296),f}function L(g,b){var k=n(g,b,28),x=n(b,g,2),S=n(b,g,7),f=k^x^S;return f<0&&(f+=4294967296),f}function H(g,b){var k=i(g,b,14),x=i(g,b,18),S=i(b,g,9),f=k^x^S;return f<0&&(f+=4294967296),f}function F(g,b){var k=n(g,b,14),x=n(g,b,18),S=n(b,g,9),f=k^x^S;return f<0&&(f+=4294967296),f}function G(g,b){var k=i(g,b,1),x=i(g,b,8),S=a(g,b,7),f=k^x^S;return f<0&&(f+=4294967296),f}function l(g,b){var k=n(g,b,1),x=n(g,b,8),S=u(g,b,7),f=k^x^S;return f<0&&(f+=4294967296),f}function p(g,b){var k=i(g,b,19),x=i(b,g,29),S=a(g,b,6),f=k^x^S;return f<0&&(f+=4294967296),f}function E(g,b){var k=n(g,b,19),x=n(b,g,29),S=u(g,b,6),f=k^x^S;return f<0&&(f+=4294967296),f}}),n8e=W((e,t)=>{"use strict";m();var r=c0(),o=XQ();function s(){if(!(this instanceof s))return new s;o.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(s,o),t.exports=s,s.blockSize=1024,s.outSize=384,s.hmacStrength=192,s.padLength=128,s.prototype._digest=function(i){return i==="hex"?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}}),i8e=W(e=>{"use strict";m(),e.sha1=j4e(),e.sha224=Y4e(),e.sha256=jQ(),e.sha384=n8e(),e.sha512=XQ()}),l8e=W(e=>{"use strict";m();var t=c0(),r=fS(),o=t.rotl32,s=t.sum32,i=t.sum32_3,n=t.sum32_4,a=r.BlockHash;function u(){if(!(this instanceof u))return new u;a.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}t.inherits(u,a),e.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(A,O){for(var v=this.h[0],B=this.h[1],R=this.h[2],U=this.h[3],N=this.h[4],_=v,L=B,H=R,F=U,G=N,l=0;l<80;l++){var p=s(o(n(v,c(l,B,R,U),A[y[l]+O],d(l)),w[l]),N);v=N,N=U,U=o(R,10),R=B,B=p,p=s(o(n(_,c(79-l,L,H,F),A[C[l]+O],h(l)),T[l]),G),_=G,G=F,F=o(H,10),H=L,L=p}p=i(this.h[1],R,F),this.h[1]=i(this.h[2],U,G),this.h[2]=i(this.h[3],N,_),this.h[3]=i(this.h[4],v,L),this.h[4]=i(this.h[0],B,H),this.h[0]=p},u.prototype._digest=function(A){return A==="hex"?t.toHex32(this.h,"little"):t.split32(this.h,"little")};function c(A,O,v,B){return A<=15?O^v^B:A<=31?O&v|~O&B:A<=47?(O|~v)^B:A<=63?O&B|v&~B:O^(v|~B)}function d(A){return A<=15?0:A<=31?1518500249:A<=47?1859775393:A<=63?2400959708:2840853838}function h(A){return A<=15?1352829926:A<=31?1548603684:A<=47?1836072691:A<=63?2053994217:0}var y=[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],C=[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],w=[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],T=[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]}),d8e=W((e,t)=>{"use strict";m();var r=c0(),o=Gf();function s(i,n,a){if(!(this instanceof s))return new s(i,n,a);this.Hash=i,this.blockSize=i.blockSize/8,this.outSize=i.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(n,a))}t.exports=s,s.prototype._init=function(i){i.length>this.blockSize&&(i=new this.Hash().update(i).digest()),o(i.length<=this.blockSize);for(var n=i.length;n<this.blockSize;n++)i.push(0);for(n=0;n<i.length;n++)i[n]^=54;for(this.inner=new this.Hash().update(i),n=0;n<i.length;n++)i[n]^=106;this.outer=new this.Hash().update(i)},s.prototype.update=function(i,n){return this.inner.update(i,n),this},s.prototype.digest=function(i){return this.outer.update(this.inner.digest()),this.outer.digest(i)}}),YD=W(e=>{m();var t=e;t.utils=c0(),t.common=fS(),t.sha=i8e(),t.ripemd=l8e(),t.hmac=d8e(),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}),g8e=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=e,r=YD(),o=KQ(),s=Vf(),i=s.assert;function n(c){c.type==="short"?this.curve=new o.short(c):c.type==="edwards"?this.curve=new o.edwards(c):this.curve=new o.mont(c),this.g=this.curve.g,this.n=this.curve.n,this.hash=c.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}t.PresetCurve=n;function a(c,d){Object.defineProperty(t,c,{configurable:!0,enumerable:!0,get:function(){var h=new n(d);return Object.defineProperty(t,c,{configurable:!0,enumerable:!0,value:h}),h}})}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:r.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:r.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:r.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:r.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:r.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:r.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:r.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var u;try{u=g8e()}catch{u=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:r.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",u]})}),x8e=W((e,t)=>{"use strict";m();var r=YD(),o=WQ(),s=Gf();function i(n){if(!(this instanceof i))return new i(n);this.hash=n.hash,this.predResist=!!n.predResist,this.outLen=this.hash.outSize,this.minEntropy=n.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var a=o.toArray(n.entropy,n.entropyEnc||"hex"),u=o.toArray(n.nonce,n.nonceEnc||"hex"),c=o.toArray(n.pers,n.persEnc||"hex");s(a.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(a,u,c)}t.exports=i,i.prototype._init=function(n,a,u){var c=n.concat(a).concat(u);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var d=0;d<this.V.length;d++)this.K[d]=0,this.V[d]=1;this._update(c),this._reseed=1,this.reseedInterval=281474976710656},i.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},i.prototype._update=function(n){var a=this._hmac().update(this.V).update([0]);n&&(a=a.update(n)),this.K=a.digest(),this.V=this._hmac().update(this.V).digest(),n&&(this.K=this._hmac().update(this.V).update([1]).update(n).digest(),this.V=this._hmac().update(this.V).digest())},i.prototype.reseed=function(n,a,u,c){typeof a!="string"&&(c=u,u=a,a=null),n=o.toArray(n,a),u=o.toArray(u,c),s(n.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(n.concat(u||[])),this._reseed=1},i.prototype.generate=function(n,a,u,c){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof a!="string"&&(c=u,u=a,a=null),u&&(u=o.toArray(u,c||"hex"),this._update(u));for(var d=[];d.length<n;)this.V=this._hmac().update(this.V).digest(),d=d.concat(this.V);var h=d.slice(0,n);return this._update(u),this._reseed++,o.encode(h,a)}}),E8e=W((e,t)=>{"use strict";m();var r=zp(),o=Vf(),s=o.assert;function i(n,a){this.ec=n,this.priv=null,this.pub=null,a.priv&&this._importPrivate(a.priv,a.privEnc),a.pub&&this._importPublic(a.pub,a.pubEnc)}t.exports=i,i.fromPublic=function(n,a,u){return a instanceof i?a:new i(n,{pub:a,pubEnc:u})},i.fromPrivate=function(n,a,u){return a instanceof i?a:new i(n,{priv:a,privEnc:u})},i.prototype.validate=function(){var n=this.getPublic();return n.isInfinity()?{result:!1,reason:"Invalid public key"}:n.validate()?n.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(n,a){return typeof n=="string"&&(a=n,n=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),a?this.pub.encode(a,n):this.pub},i.prototype.getPrivate=function(n){return n==="hex"?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(n,a){this.priv=new r(n,a||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(n,a){if(n.x||n.y){this.ec.curve.type==="mont"?s(n.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&s(n.x&&n.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(n.x,n.y);return}this.pub=this.ec.curve.decodePoint(n,a)},i.prototype.derive=function(n){return n.validate()||s(n.validate(),"public point not validated"),n.mul(this.priv).getX()},i.prototype.sign=function(n,a,u){return this.ec.sign(n,this,a,u)},i.prototype.verify=function(n,a,u){return this.ec.verify(n,a,this,void 0,u)},i.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}}),C8e=W((e,t)=>{"use strict";m();var r=zp(),o=Vf(),s=o.assert;function i(d,h){if(d instanceof i)return d;this._importDER(d,h)||(s(d.r&&d.s,"Signature without r or s"),this.r=new r(d.r,16),this.s=new r(d.s,16),d.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=d.recoveryParam)}t.exports=i;function n(){this.place=0}function a(d,h){var y=d[h.place++];if(!(y&128))return y;var C=y&15;if(C===0||C>4||d[h.place]===0)return!1;for(var w=0,T=0,A=h.place;T<C;T++,A++)w<<=8,w|=d[A],w>>>=0;return w<=127?!1:(h.place=A,w)}function u(d){for(var h=0,y=d.length-1;!d[h]&&!(d[h+1]&128)&&h<y;)h++;return h===0?d:d.slice(h)}i.prototype._importDER=function(d,h){d=o.toArray(d,h);var y=new n;if(d[y.place++]!==48)return!1;var C=a(d,y);if(C===!1||C+y.place!==d.length||d[y.place++]!==2)return!1;var w=a(d,y);if(w===!1||d[y.place]&128)return!1;var T=d.slice(y.place,w+y.place);if(y.place+=w,d[y.place++]!==2)return!1;var A=a(d,y);if(A===!1||d.length!==A+y.place||d[y.place]&128)return!1;var O=d.slice(y.place,A+y.place);if(T[0]===0)if(T[1]&128)T=T.slice(1);else return!1;if(O[0]===0)if(O[1]&128)O=O.slice(1);else return!1;return this.r=new r(T),this.s=new r(O),this.recoveryParam=null,!0};function c(d,h){if(h<128){d.push(h);return}var y=1+(Math.log(h)/Math.LN2>>>3);for(d.push(y|128);--y;)d.push(h>>>(y<<3)&255);d.push(h)}i.prototype.toDER=function(d){var h=this.r.toArray(),y=this.s.toArray();for(h[0]&128&&(h=[0].concat(h)),y[0]&128&&(y=[0].concat(y)),h=u(h),y=u(y);!y[0]&&!(y[1]&128);)y=y.slice(1);var C=[2];c(C,h.length),C=C.concat(h),C.push(2),c(C,y.length);var w=C.concat(y),T=[48];return c(T,w.length),T=T.concat(w),o.encode(T,d)}}),P8e=W((e,t)=>{"use strict";m();var r=zp(),o=x8e(),s=Vf(),i=QD(),n=SD(),a=s.assert,u=E8e(),c=C8e();function d(h){if(!(this instanceof d))return new d(h);typeof h=="string"&&(a(Object.prototype.hasOwnProperty.call(i,h),"Unknown curve "+h),h=i[h]),h instanceof i.PresetCurve&&(h={curve:h}),this.curve=h.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=h.curve.g,this.g.precompute(h.curve.n.bitLength()+1),this.hash=h.hash||h.curve.hash}t.exports=d,d.prototype.keyPair=function(h){return new u(this,h)},d.prototype.keyFromPrivate=function(h,y){return u.fromPrivate(this,h,y)},d.prototype.keyFromPublic=function(h,y){return u.fromPublic(this,h,y)},d.prototype.genKeyPair=function(h){h||(h={});for(var y=new o({hash:this.hash,pers:h.pers,persEnc:h.persEnc||"utf8",entropy:h.entropy||n(this.hash.hmacStrength),entropyEnc:h.entropy&&h.entropyEnc||"utf8",nonce:this.n.toArray()}),C=this.n.byteLength(),w=this.n.sub(new r(2));;){var T=new r(y.generate(C));if(!(T.cmp(w)>0))return T.iaddn(1),this.keyFromPrivate(T)}},d.prototype._truncateToN=function(h,y,C){var w;if(r.isBN(h)||typeof h=="number")h=new r(h,16),w=h.byteLength();else if(typeof h=="object")w=h.length,h=new r(h,16);else{var T=h.toString();w=T.length+1>>>1,h=new r(T,16)}typeof C!="number"&&(C=w*8);var A=C-this.n.bitLength();return A>0&&(h=h.ushrn(A)),!y&&h.cmp(this.n)>=0?h.sub(this.n):h},d.prototype.sign=function(h,y,C,w){if(typeof C=="object"&&(w=C,C=null),w||(w={}),typeof h!="string"&&typeof h!="number"&&!r.isBN(h)){a(typeof h=="object"&&h&&typeof h.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),a(h.length>>>0===h.length);for(var T=0;T<h.length;T++)a((h[T]&255)===h[T])}y=this.keyFromPrivate(y,C),h=this._truncateToN(h,!1,w.msgBitLength),a(!h.isNeg(),"Can not sign a negative message");var A=this.n.byteLength(),O=y.getPrivate().toArray("be",A),v=h.toArray("be",A);a(new r(v).eq(h),"Can not sign message");for(var B=new o({hash:this.hash,entropy:O,nonce:v,pers:w.pers,persEnc:w.persEnc||"utf8"}),R=this.n.sub(new r(1)),U=0;;U++){var N=w.k?w.k(U):new r(B.generate(this.n.byteLength()));if(N=this._truncateToN(N,!0),!(N.cmpn(1)<=0||N.cmp(R)>=0)){var _=this.g.mul(N);if(!_.isInfinity()){var L=_.getX(),H=L.umod(this.n);if(H.cmpn(0)!==0){var F=N.invm(this.n).mul(H.mul(y.getPrivate()).iadd(h));if(F=F.umod(this.n),F.cmpn(0)!==0){var G=(_.getY().isOdd()?1:0)|(L.cmp(H)!==0?2:0);return w.canonical&&F.cmp(this.nh)>0&&(F=this.n.sub(F),G^=1),new c({r:H,s:F,recoveryParam:G})}}}}}},d.prototype.verify=function(h,y,C,w,T){T||(T={}),h=this._truncateToN(h,!1,T.msgBitLength),C=this.keyFromPublic(C,w),y=new c(y,"hex");var A=y.r,O=y.s;if(A.cmpn(1)<0||A.cmp(this.n)>=0||O.cmpn(1)<0||O.cmp(this.n)>=0)return!1;var v=O.invm(this.n),B=v.mul(h).umod(this.n),R=v.mul(A).umod(this.n),U;return this.curve._maxwellTrick?(U=this.g.jmulAdd(B,C.getPublic(),R),U.isInfinity()?!1:U.eqXToP(A)):(U=this.g.mulAdd(B,C.getPublic(),R),U.isInfinity()?!1:U.getX().umod(this.n).cmp(A)===0)},d.prototype.recoverPubKey=function(h,y,C,w){a((3&C)===C,"The recovery param is more than two bits"),y=new c(y,w);var T=this.n,A=new r(h),O=y.r,v=y.s,B=C&1,R=C>>1;if(O.cmp(this.curve.p.umod(this.curve.n))>=0&&R)throw new Error("Unable to find sencond key candinate");R?O=this.curve.pointFromX(O.add(this.curve.n),B):O=this.curve.pointFromX(O,B);var U=y.r.invm(T),N=T.sub(A).mul(U).umod(T),_=v.mul(U).umod(T);return this.g.mulAdd(N,O,_)},d.prototype.getKeyRecoveryParam=function(h,y,C,w){if(y=new c(y,w),y.recoveryParam!==null)return y.recoveryParam;for(var T=0;T<4;T++){var A;try{A=this.recoverPubKey(h,y,T)}catch{continue}if(A.eq(C))return T}throw new Error("Unable to find valid recovery factor")}}),_8e=W((e,t)=>{"use strict";m();var r=Vf(),o=r.assert,s=r.parseBytes,i=r.cachedProperty;function n(a,u){this.eddsa=a,this._secret=s(u.secret),a.isPoint(u.pub)?this._pub=u.pub:this._pubBytes=s(u.pub)}n.fromPublic=function(a,u){return u instanceof n?u:new n(a,{pub:u})},n.fromSecret=function(a,u){return u instanceof n?u:new n(a,{secret:u})},n.prototype.secret=function(){return this._secret},i(n,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),i(n,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),i(n,"privBytes",function(){var a=this.eddsa,u=this.hash(),c=a.encodingLength-1,d=u.slice(0,a.encodingLength);return d[0]&=248,d[c]&=127,d[c]|=64,d}),i(n,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),i(n,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),i(n,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),n.prototype.sign=function(a){return o(this._secret,"KeyPair can only verify"),this.eddsa.sign(a,this)},n.prototype.verify=function(a,u){return this.eddsa.verify(a,u,this)},n.prototype.getSecret=function(a){return o(this._secret,"KeyPair is public only"),r.encode(this.secret(),a)},n.prototype.getPublic=function(a){return r.encode(this.pubBytes(),a)},t.exports=n}),D8e=W((e,t)=>{"use strict";m();var r=zp(),o=Vf(),s=o.assert,i=o.cachedProperty,n=o.parseBytes;function a(u,c){this.eddsa=u,typeof c!="object"&&(c=n(c)),Array.isArray(c)&&(s(c.length===u.encodingLength*2,"Signature has invalid size"),c={R:c.slice(0,u.encodingLength),S:c.slice(u.encodingLength)}),s(c.R&&c.S,"Signature without R or S"),u.isPoint(c.R)&&(this._R=c.R),c.S instanceof r&&(this._S=c.S),this._Rencoded=Array.isArray(c.R)?c.R:c.Rencoded,this._Sencoded=Array.isArray(c.S)?c.S:c.Sencoded}i(a,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),i(a,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),i(a,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),i(a,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),a.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},a.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},t.exports=a}),z8e=W((e,t)=>{"use strict";m();var r=YD(),o=QD(),s=Vf(),i=s.assert,n=s.parseBytes,a=_8e(),u=D8e();function c(d){if(i(d==="ed25519","only tested with ed25519 so far"),!(this instanceof c))return new c(d);d=o[d].curve,this.curve=d,this.g=d.g,this.g.precompute(d.n.bitLength()+1),this.pointClass=d.point().constructor,this.encodingLength=Math.ceil(d.n.bitLength()/8),this.hash=r.sha512}t.exports=c,c.prototype.sign=function(d,h){d=n(d);var y=this.keyFromSecret(h),C=this.hashInt(y.messagePrefix(),d),w=this.g.mul(C),T=this.encodePoint(w),A=this.hashInt(T,y.pubBytes(),d).mul(y.priv()),O=C.add(A).umod(this.curve.n);return this.makeSignature({R:w,S:O,Rencoded:T})},c.prototype.verify=function(d,h,y){if(d=n(d),h=this.makeSignature(h),h.S().gte(h.eddsa.curve.n)||h.S().isNeg())return!1;var C=this.keyFromPublic(y),w=this.hashInt(h.Rencoded(),C.pubBytes(),d),T=this.g.mul(h.S()),A=h.R().add(C.pub().mul(w));return A.eq(T)},c.prototype.hashInt=function(){for(var d=this.hash(),h=0;h<arguments.length;h++)d.update(arguments[h]);return s.intFromLE(d.digest()).umod(this.curve.n)},c.prototype.keyFromPublic=function(d){return a.fromPublic(this,d)},c.prototype.keyFromSecret=function(d){return a.fromSecret(this,d)},c.prototype.makeSignature=function(d){return d instanceof u?d:new u(this,d)},c.prototype.encodePoint=function(d){var h=d.getY().toArray("le",this.encodingLength);return h[this.encodingLength-1]|=d.getX().isOdd()?128:0,h},c.prototype.decodePoint=function(d){d=s.parseBytes(d);var h=d.length-1,y=d.slice(0,h).concat(d[h]&-129),C=(d[h]&128)!==0,w=s.intFromLE(y);return this.curve.pointFromY(w,C)},c.prototype.encodeInt=function(d){return d.toArray("le",this.encodingLength)},c.prototype.decodeInt=function(d){return s.intFromLE(d)},c.prototype.isPoint=function(d){return d instanceof this.pointClass}}),nU=W(e=>{"use strict";m();var t=e;t.version=v4e().version,t.utils=Vf(),t.rand=SD(),t.curve=KQ(),t.curves=QD(),t.ec=P8e(),t.eddsa=z8e()}),q8e=W((e,t)=>{m(),(function(r,o){"use strict";function s(l,p){if(!l)throw new Error(p||"Assertion failed")}function i(l,p){l.super_=p;var E=function(){};E.prototype=p.prototype,l.prototype=new E,l.prototype.constructor=l}function n(l,p,E){if(n.isBN(l))return l;this.negative=0,this.words=null,this.length=0,this.red=null,l!==null&&((p==="le"||p==="be")&&(E=p,p=10),this._init(l||0,p||10,E||"be"))}typeof r=="object"?r.exports=n:o.BN=n,n.BN=n,n.wordSize=26;var a;try{typeof window<"u"&&typeof window.Buffer<"u"?a=window.Buffer:a=Go().Buffer}catch{}n.isBN=function(l){return l instanceof n?!0:l!==null&&typeof l=="object"&&l.constructor.wordSize===n.wordSize&&Array.isArray(l.words)},n.max=function(l,p){return l.cmp(p)>0?l:p},n.min=function(l,p){return l.cmp(p)<0?l:p},n.prototype._init=function(l,p,E){if(typeof l=="number")return this._initNumber(l,p,E);if(typeof l=="object")return this._initArray(l,p,E);p==="hex"&&(p=16),s(p===(p|0)&&p>=2&&p<=36),l=l.toString().replace(/\s+/g,"");var g=0;l[0]==="-"&&(g++,this.negative=1),g<l.length&&(p===16?this._parseHex(l,g,E):(this._parseBase(l,p,g),E==="le"&&this._initArray(this.toArray(),p,E)))},n.prototype._initNumber=function(l,p,E){l<0&&(this.negative=1,l=-l),l<67108864?(this.words=[l&67108863],this.length=1):l<4503599627370496?(this.words=[l&67108863,l/67108864&67108863],this.length=2):(s(l<9007199254740992),this.words=[l&67108863,l/67108864&67108863,1],this.length=3),E==="le"&&this._initArray(this.toArray(),p,E)},n.prototype._initArray=function(l,p,E){if(s(typeof l.length=="number"),l.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(l.length/3),this.words=new Array(this.length);for(var g=0;g<this.length;g++)this.words[g]=0;var b,k,x=0;if(E==="be")for(g=l.length-1,b=0;g>=0;g-=3)k=l[g]|l[g-1]<<8|l[g-2]<<16,this.words[b]|=k<<x&67108863,this.words[b+1]=k>>>26-x&67108863,x+=24,x>=26&&(x-=26,b++);else if(E==="le")for(g=0,b=0;g<l.length;g+=3)k=l[g]|l[g+1]<<8|l[g+2]<<16,this.words[b]|=k<<x&67108863,this.words[b+1]=k>>>26-x&67108863,x+=24,x>=26&&(x-=26,b++);return this.strip()};function u(l,p){var E=l.charCodeAt(p);return E>=65&&E<=70?E-55:E>=97&&E<=102?E-87:E-48&15}function c(l,p,E){var g=u(l,E);return E-1>=p&&(g|=u(l,E-1)<<4),g}n.prototype._parseHex=function(l,p,E){this.length=Math.ceil((l.length-p)/6),this.words=new Array(this.length);for(var g=0;g<this.length;g++)this.words[g]=0;var b=0,k=0,x;if(E==="be")for(g=l.length-1;g>=p;g-=2)x=c(l,p,g)<<b,this.words[k]|=x&67108863,b>=18?(b-=18,k+=1,this.words[k]|=x>>>26):b+=8;else{var S=l.length-p;for(g=S%2===0?p+1:p;g<l.length;g+=2)x=c(l,p,g)<<b,this.words[k]|=x&67108863,b>=18?(b-=18,k+=1,this.words[k]|=x>>>26):b+=8}this.strip()};function d(l,p,E,g){for(var b=0,k=Math.min(l.length,E),x=p;x<k;x++){var S=l.charCodeAt(x)-48;b*=g,S>=49?b+=S-49+10:S>=17?b+=S-17+10:b+=S}return b}n.prototype._parseBase=function(l,p,E){this.words=[0],this.length=1;for(var g=0,b=1;b<=67108863;b*=p)g++;g--,b=b/p|0;for(var k=l.length-E,x=k%g,S=Math.min(k,k-x)+E,f=0,M=E;M<S;M+=g)f=d(l,M,M+g,p),this.imuln(b),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if(x!==0){var V=1;for(f=d(l,M,l.length,p),M=0;M<x;M++)V*=p;this.imuln(V),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}this.strip()},n.prototype.copy=function(l){l.words=new Array(this.length);for(var p=0;p<this.length;p++)l.words[p]=this.words[p];l.length=this.length,l.negative=this.negative,l.red=this.red},n.prototype.clone=function(){var l=new n(null);return this.copy(l),l},n.prototype._expand=function(l){for(;this.length<l;)this.words[this.length++]=0;return this},n.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},n.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},n.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var h=["","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"],y=[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],C=[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];n.prototype.toString=function(l,p){l=l||10,p=p|0||1;var E;if(l===16||l==="hex"){E="";for(var g=0,b=0,k=0;k<this.length;k++){var x=this.words[k],S=((x<<g|b)&16777215).toString(16);b=x>>>24-g&16777215,g+=2,g>=26&&(g-=26,k--),b!==0||k!==this.length-1?E=h[6-S.length]+S+E:E=S+E}for(b!==0&&(E=b.toString(16)+E);E.length%p!==0;)E="0"+E;return this.negative!==0&&(E="-"+E),E}if(l===(l|0)&&l>=2&&l<=36){var f=y[l],M=C[l];E="";var V=this.clone();for(V.negative=0;!V.isZero();){var D=V.modn(M).toString(l);V=V.idivn(M),V.isZero()?E=D+E:E=h[f-D.length]+D+E}for(this.isZero()&&(E="0"+E);E.length%p!==0;)E="0"+E;return this.negative!==0&&(E="-"+E),E}s(!1,"Base should be between 2 and 36")},n.prototype.toNumber=function(){var l=this.words[0];return this.length===2?l+=this.words[1]*67108864:this.length===3&&this.words[2]===1?l+=4503599627370496+this.words[1]*67108864:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-l:l},n.prototype.toJSON=function(){return this.toString(16)},n.prototype.toBuffer=function(l,p){return s(typeof a<"u"),this.toArrayLike(a,l,p)},n.prototype.toArray=function(l,p){return this.toArrayLike(Array,l,p)},n.prototype.toArrayLike=function(l,p,E){var g=this.byteLength(),b=E||Math.max(1,g);s(g<=b,"byte array longer than desired length"),s(b>0,"Requested array length <= 0"),this.strip();var k=p==="le",x=new l(b),S,f,M=this.clone();if(k){for(f=0;!M.isZero();f++)S=M.andln(255),M.iushrn(8),x[f]=S;for(;f<b;f++)x[f]=0}else{for(f=0;f<b-g;f++)x[f]=0;for(f=0;!M.isZero();f++)S=M.andln(255),M.iushrn(8),x[b-f-1]=S}return x},Math.clz32?n.prototype._countBits=function(l){return 32-Math.clz32(l)}:n.prototype._countBits=function(l){var p=l,E=0;return p>=4096&&(E+=13,p>>>=13),p>=64&&(E+=7,p>>>=7),p>=8&&(E+=4,p>>>=4),p>=2&&(E+=2,p>>>=2),E+p},n.prototype._zeroBits=function(l){if(l===0)return 26;var p=l,E=0;return p&8191||(E+=13,p>>>=13),p&127||(E+=7,p>>>=7),p&15||(E+=4,p>>>=4),p&3||(E+=2,p>>>=2),p&1||E++,E},n.prototype.bitLength=function(){var l=this.words[this.length-1],p=this._countBits(l);return(this.length-1)*26+p};function w(l){for(var p=new Array(l.bitLength()),E=0;E<p.length;E++){var g=E/26|0,b=E%26;p[E]=(l.words[g]&1<<b)>>>b}return p}n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var l=0,p=0;p<this.length;p++){var E=this._zeroBits(this.words[p]);if(l+=E,E!==26)break}return l},n.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},n.prototype.toTwos=function(l){return this.negative!==0?this.abs().inotn(l).iaddn(1):this.clone()},n.prototype.fromTwos=function(l){return this.testn(l-1)?this.notn(l).iaddn(1).ineg():this.clone()},n.prototype.isNeg=function(){return this.negative!==0},n.prototype.neg=function(){return this.clone().ineg()},n.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},n.prototype.iuor=function(l){for(;this.length<l.length;)this.words[this.length++]=0;for(var p=0;p<l.length;p++)this.words[p]=this.words[p]|l.words[p];return this.strip()},n.prototype.ior=function(l){return s((this.negative|l.negative)===0),this.iuor(l)},n.prototype.or=function(l){return this.length>l.length?this.clone().ior(l):l.clone().ior(this)},n.prototype.uor=function(l){return this.length>l.length?this.clone().iuor(l):l.clone().iuor(this)},n.prototype.iuand=function(l){var p;this.length>l.length?p=l:p=this;for(var E=0;E<p.length;E++)this.words[E]=this.words[E]&l.words[E];return this.length=p.length,this.strip()},n.prototype.iand=function(l){return s((this.negative|l.negative)===0),this.iuand(l)},n.prototype.and=function(l){return this.length>l.length?this.clone().iand(l):l.clone().iand(this)},n.prototype.uand=function(l){return this.length>l.length?this.clone().iuand(l):l.clone().iuand(this)},n.prototype.iuxor=function(l){var p,E;this.length>l.length?(p=this,E=l):(p=l,E=this);for(var g=0;g<E.length;g++)this.words[g]=p.words[g]^E.words[g];if(this!==p)for(;g<p.length;g++)this.words[g]=p.words[g];return this.length=p.length,this.strip()},n.prototype.ixor=function(l){return s((this.negative|l.negative)===0),this.iuxor(l)},n.prototype.xor=function(l){return this.length>l.length?this.clone().ixor(l):l.clone().ixor(this)},n.prototype.uxor=function(l){return this.length>l.length?this.clone().iuxor(l):l.clone().iuxor(this)},n.prototype.inotn=function(l){s(typeof l=="number"&&l>=0);var p=Math.ceil(l/26)|0,E=l%26;this._expand(p),E>0&&p--;for(var g=0;g<p;g++)this.words[g]=~this.words[g]&67108863;return E>0&&(this.words[g]=~this.words[g]&67108863>>26-E),this.strip()},n.prototype.notn=function(l){return this.clone().inotn(l)},n.prototype.setn=function(l,p){s(typeof l=="number"&&l>=0);var E=l/26|0,g=l%26;return this._expand(E+1),p?this.words[E]=this.words[E]|1<<g:this.words[E]=this.words[E]&~(1<<g),this.strip()},n.prototype.iadd=function(l){var p;if(this.negative!==0&&l.negative===0)return this.negative=0,p=this.isub(l),this.negative^=1,this._normSign();if(this.negative===0&&l.negative!==0)return l.negative=0,p=this.isub(l),l.negative=1,p._normSign();var E,g;this.length>l.length?(E=this,g=l):(E=l,g=this);for(var b=0,k=0;k<g.length;k++)p=(E.words[k]|0)+(g.words[k]|0)+b,this.words[k]=p&67108863,b=p>>>26;for(;b!==0&&k<E.length;k++)p=(E.words[k]|0)+b,this.words[k]=p&67108863,b=p>>>26;if(this.length=E.length,b!==0)this.words[this.length]=b,this.length++;else if(E!==this)for(;k<E.length;k++)this.words[k]=E.words[k];return this},n.prototype.add=function(l){var p;return l.negative!==0&&this.negative===0?(l.negative=0,p=this.sub(l),l.negative^=1,p):l.negative===0&&this.negative!==0?(this.negative=0,p=l.sub(this),this.negative=1,p):this.length>l.length?this.clone().iadd(l):l.clone().iadd(this)},n.prototype.isub=function(l){if(l.negative!==0){l.negative=0;var p=this.iadd(l);return l.negative=1,p._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(l),this.negative=1,this._normSign();var E=this.cmp(l);if(E===0)return this.negative=0,this.length=1,this.words[0]=0,this;var g,b;E>0?(g=this,b=l):(g=l,b=this);for(var k=0,x=0;x<b.length;x++)p=(g.words[x]|0)-(b.words[x]|0)+k,k=p>>26,this.words[x]=p&67108863;for(;k!==0&&x<g.length;x++)p=(g.words[x]|0)+k,k=p>>26,this.words[x]=p&67108863;if(k===0&&x<g.length&&g!==this)for(;x<g.length;x++)this.words[x]=g.words[x];return this.length=Math.max(this.length,x),g!==this&&(this.negative=1),this.strip()},n.prototype.sub=function(l){return this.clone().isub(l)};function T(l,p,E){E.negative=p.negative^l.negative;var g=l.length+p.length|0;E.length=g,g=g-1|0;var b=l.words[0]|0,k=p.words[0]|0,x=b*k,S=x&67108863,f=x/67108864|0;E.words[0]=S;for(var M=1;M<g;M++){for(var V=f>>>26,D=f&67108863,j=Math.min(M,p.length-1),Y=Math.max(0,M-l.length+1);Y<=j;Y++){var oe=M-Y|0;b=l.words[oe]|0,k=p.words[Y]|0,x=b*k+D,V+=x/67108864|0,D=x&67108863}E.words[M]=D|0,f=V|0}return f!==0?E.words[M]=f|0:E.length--,E.strip()}var A=function(l,p,E){var g=l.words,b=p.words,k=E.words,x=0,S,f,M,V=g[0]|0,D=V&8191,j=V>>>13,Y=g[1]|0,oe=Y&8191,de=Y>>>13,ue=g[2]|0,ae=ue&8191,q=ue>>>13,ne=g[3]|0,me=ne&8191,ve=ne>>>13,ge=g[4]|0,ce=ge&8191,ee=ge>>>13,fe=g[5]|0,ie=fe&8191,re=fe>>>13,Oe=g[6]|0,Pe=Oe&8191,Ne=Oe>>>13,Xe=g[7]|0,Je=Xe&8191,ft=Xe>>>13,Kt=g[8]|0,wt=Kt&8191,Ie=Kt>>>13,it=g[9]|0,Ye=it&8191,et=it>>>13,Gt=b[0]|0,It=Gt&8191,Rt=Gt>>>13,_r=b[1]|0,jt=_r&8191,Fe=_r>>>13,Pr=b[2]|0,$t=Pr&8191,Qt=Pr>>>13,At=b[3]|0,ur=At&8191,tr=At>>>13,Vt=b[4]|0,bt=Vt&8191,kt=Vt>>>13,er=b[5]|0,Et=er&8191,qt=er>>>13,Hr=b[6]|0,_t=Hr&8191,Wt=Hr>>>13,qr=b[7]|0,Ce=qr&8191,_e=qr>>>13,Ze=b[8]|0,he=Ze&8191,Ke=Ze>>>13,Ht=b[9]|0,yt=Ht&8191,Ot=Ht>>>13;E.negative=l.negative^p.negative,E.length=19,S=Math.imul(D,It),f=Math.imul(D,Rt),f=f+Math.imul(j,It)|0,M=Math.imul(j,Rt);var hr=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(hr>>>26)|0,hr&=67108863,S=Math.imul(oe,It),f=Math.imul(oe,Rt),f=f+Math.imul(de,It)|0,M=Math.imul(de,Rt),S=S+Math.imul(D,jt)|0,f=f+Math.imul(D,Fe)|0,f=f+Math.imul(j,jt)|0,M=M+Math.imul(j,Fe)|0;var Br=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Br>>>26)|0,Br&=67108863,S=Math.imul(ae,It),f=Math.imul(ae,Rt),f=f+Math.imul(q,It)|0,M=Math.imul(q,Rt),S=S+Math.imul(oe,jt)|0,f=f+Math.imul(oe,Fe)|0,f=f+Math.imul(de,jt)|0,M=M+Math.imul(de,Fe)|0,S=S+Math.imul(D,$t)|0,f=f+Math.imul(D,Qt)|0,f=f+Math.imul(j,$t)|0,M=M+Math.imul(j,Qt)|0;var Er=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Er>>>26)|0,Er&=67108863,S=Math.imul(me,It),f=Math.imul(me,Rt),f=f+Math.imul(ve,It)|0,M=Math.imul(ve,Rt),S=S+Math.imul(ae,jt)|0,f=f+Math.imul(ae,Fe)|0,f=f+Math.imul(q,jt)|0,M=M+Math.imul(q,Fe)|0,S=S+Math.imul(oe,$t)|0,f=f+Math.imul(oe,Qt)|0,f=f+Math.imul(de,$t)|0,M=M+Math.imul(de,Qt)|0,S=S+Math.imul(D,ur)|0,f=f+Math.imul(D,tr)|0,f=f+Math.imul(j,ur)|0,M=M+Math.imul(j,tr)|0;var Qe=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,S=Math.imul(ce,It),f=Math.imul(ce,Rt),f=f+Math.imul(ee,It)|0,M=Math.imul(ee,Rt),S=S+Math.imul(me,jt)|0,f=f+Math.imul(me,Fe)|0,f=f+Math.imul(ve,jt)|0,M=M+Math.imul(ve,Fe)|0,S=S+Math.imul(ae,$t)|0,f=f+Math.imul(ae,Qt)|0,f=f+Math.imul(q,$t)|0,M=M+Math.imul(q,Qt)|0,S=S+Math.imul(oe,ur)|0,f=f+Math.imul(oe,tr)|0,f=f+Math.imul(de,ur)|0,M=M+Math.imul(de,tr)|0,S=S+Math.imul(D,bt)|0,f=f+Math.imul(D,kt)|0,f=f+Math.imul(j,bt)|0,M=M+Math.imul(j,kt)|0;var mt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(mt>>>26)|0,mt&=67108863,S=Math.imul(ie,It),f=Math.imul(ie,Rt),f=f+Math.imul(re,It)|0,M=Math.imul(re,Rt),S=S+Math.imul(ce,jt)|0,f=f+Math.imul(ce,Fe)|0,f=f+Math.imul(ee,jt)|0,M=M+Math.imul(ee,Fe)|0,S=S+Math.imul(me,$t)|0,f=f+Math.imul(me,Qt)|0,f=f+Math.imul(ve,$t)|0,M=M+Math.imul(ve,Qt)|0,S=S+Math.imul(ae,ur)|0,f=f+Math.imul(ae,tr)|0,f=f+Math.imul(q,ur)|0,M=M+Math.imul(q,tr)|0,S=S+Math.imul(oe,bt)|0,f=f+Math.imul(oe,kt)|0,f=f+Math.imul(de,bt)|0,M=M+Math.imul(de,kt)|0,S=S+Math.imul(D,Et)|0,f=f+Math.imul(D,qt)|0,f=f+Math.imul(j,Et)|0,M=M+Math.imul(j,qt)|0;var Ue=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Ue>>>26)|0,Ue&=67108863,S=Math.imul(Pe,It),f=Math.imul(Pe,Rt),f=f+Math.imul(Ne,It)|0,M=Math.imul(Ne,Rt),S=S+Math.imul(ie,jt)|0,f=f+Math.imul(ie,Fe)|0,f=f+Math.imul(re,jt)|0,M=M+Math.imul(re,Fe)|0,S=S+Math.imul(ce,$t)|0,f=f+Math.imul(ce,Qt)|0,f=f+Math.imul(ee,$t)|0,M=M+Math.imul(ee,Qt)|0,S=S+Math.imul(me,ur)|0,f=f+Math.imul(me,tr)|0,f=f+Math.imul(ve,ur)|0,M=M+Math.imul(ve,tr)|0,S=S+Math.imul(ae,bt)|0,f=f+Math.imul(ae,kt)|0,f=f+Math.imul(q,bt)|0,M=M+Math.imul(q,kt)|0,S=S+Math.imul(oe,Et)|0,f=f+Math.imul(oe,qt)|0,f=f+Math.imul(de,Et)|0,M=M+Math.imul(de,qt)|0,S=S+Math.imul(D,_t)|0,f=f+Math.imul(D,Wt)|0,f=f+Math.imul(j,_t)|0,M=M+Math.imul(j,Wt)|0;var Ge=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,S=Math.imul(Je,It),f=Math.imul(Je,Rt),f=f+Math.imul(ft,It)|0,M=Math.imul(ft,Rt),S=S+Math.imul(Pe,jt)|0,f=f+Math.imul(Pe,Fe)|0,f=f+Math.imul(Ne,jt)|0,M=M+Math.imul(Ne,Fe)|0,S=S+Math.imul(ie,$t)|0,f=f+Math.imul(ie,Qt)|0,f=f+Math.imul(re,$t)|0,M=M+Math.imul(re,Qt)|0,S=S+Math.imul(ce,ur)|0,f=f+Math.imul(ce,tr)|0,f=f+Math.imul(ee,ur)|0,M=M+Math.imul(ee,tr)|0,S=S+Math.imul(me,bt)|0,f=f+Math.imul(me,kt)|0,f=f+Math.imul(ve,bt)|0,M=M+Math.imul(ve,kt)|0,S=S+Math.imul(ae,Et)|0,f=f+Math.imul(ae,qt)|0,f=f+Math.imul(q,Et)|0,M=M+Math.imul(q,qt)|0,S=S+Math.imul(oe,_t)|0,f=f+Math.imul(oe,Wt)|0,f=f+Math.imul(de,_t)|0,M=M+Math.imul(de,Wt)|0,S=S+Math.imul(D,Ce)|0,f=f+Math.imul(D,_e)|0,f=f+Math.imul(j,Ce)|0,M=M+Math.imul(j,_e)|0;var Me=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Me>>>26)|0,Me&=67108863,S=Math.imul(wt,It),f=Math.imul(wt,Rt),f=f+Math.imul(Ie,It)|0,M=Math.imul(Ie,Rt),S=S+Math.imul(Je,jt)|0,f=f+Math.imul(Je,Fe)|0,f=f+Math.imul(ft,jt)|0,M=M+Math.imul(ft,Fe)|0,S=S+Math.imul(Pe,$t)|0,f=f+Math.imul(Pe,Qt)|0,f=f+Math.imul(Ne,$t)|0,M=M+Math.imul(Ne,Qt)|0,S=S+Math.imul(ie,ur)|0,f=f+Math.imul(ie,tr)|0,f=f+Math.imul(re,ur)|0,M=M+Math.imul(re,tr)|0,S=S+Math.imul(ce,bt)|0,f=f+Math.imul(ce,kt)|0,f=f+Math.imul(ee,bt)|0,M=M+Math.imul(ee,kt)|0,S=S+Math.imul(me,Et)|0,f=f+Math.imul(me,qt)|0,f=f+Math.imul(ve,Et)|0,M=M+Math.imul(ve,qt)|0,S=S+Math.imul(ae,_t)|0,f=f+Math.imul(ae,Wt)|0,f=f+Math.imul(q,_t)|0,M=M+Math.imul(q,Wt)|0,S=S+Math.imul(oe,Ce)|0,f=f+Math.imul(oe,_e)|0,f=f+Math.imul(de,Ce)|0,M=M+Math.imul(de,_e)|0,S=S+Math.imul(D,he)|0,f=f+Math.imul(D,Ke)|0,f=f+Math.imul(j,he)|0,M=M+Math.imul(j,Ke)|0;var ze=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ze>>>26)|0,ze&=67108863,S=Math.imul(Ye,It),f=Math.imul(Ye,Rt),f=f+Math.imul(et,It)|0,M=Math.imul(et,Rt),S=S+Math.imul(wt,jt)|0,f=f+Math.imul(wt,Fe)|0,f=f+Math.imul(Ie,jt)|0,M=M+Math.imul(Ie,Fe)|0,S=S+Math.imul(Je,$t)|0,f=f+Math.imul(Je,Qt)|0,f=f+Math.imul(ft,$t)|0,M=M+Math.imul(ft,Qt)|0,S=S+Math.imul(Pe,ur)|0,f=f+Math.imul(Pe,tr)|0,f=f+Math.imul(Ne,ur)|0,M=M+Math.imul(Ne,tr)|0,S=S+Math.imul(ie,bt)|0,f=f+Math.imul(ie,kt)|0,f=f+Math.imul(re,bt)|0,M=M+Math.imul(re,kt)|0,S=S+Math.imul(ce,Et)|0,f=f+Math.imul(ce,qt)|0,f=f+Math.imul(ee,Et)|0,M=M+Math.imul(ee,qt)|0,S=S+Math.imul(me,_t)|0,f=f+Math.imul(me,Wt)|0,f=f+Math.imul(ve,_t)|0,M=M+Math.imul(ve,Wt)|0,S=S+Math.imul(ae,Ce)|0,f=f+Math.imul(ae,_e)|0,f=f+Math.imul(q,Ce)|0,M=M+Math.imul(q,_e)|0,S=S+Math.imul(oe,he)|0,f=f+Math.imul(oe,Ke)|0,f=f+Math.imul(de,he)|0,M=M+Math.imul(de,Ke)|0,S=S+Math.imul(D,yt)|0,f=f+Math.imul(D,Ot)|0,f=f+Math.imul(j,yt)|0,M=M+Math.imul(j,Ot)|0;var Le=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Le>>>26)|0,Le&=67108863,S=Math.imul(Ye,jt),f=Math.imul(Ye,Fe),f=f+Math.imul(et,jt)|0,M=Math.imul(et,Fe),S=S+Math.imul(wt,$t)|0,f=f+Math.imul(wt,Qt)|0,f=f+Math.imul(Ie,$t)|0,M=M+Math.imul(Ie,Qt)|0,S=S+Math.imul(Je,ur)|0,f=f+Math.imul(Je,tr)|0,f=f+Math.imul(ft,ur)|0,M=M+Math.imul(ft,tr)|0,S=S+Math.imul(Pe,bt)|0,f=f+Math.imul(Pe,kt)|0,f=f+Math.imul(Ne,bt)|0,M=M+Math.imul(Ne,kt)|0,S=S+Math.imul(ie,Et)|0,f=f+Math.imul(ie,qt)|0,f=f+Math.imul(re,Et)|0,M=M+Math.imul(re,qt)|0,S=S+Math.imul(ce,_t)|0,f=f+Math.imul(ce,Wt)|0,f=f+Math.imul(ee,_t)|0,M=M+Math.imul(ee,Wt)|0,S=S+Math.imul(me,Ce)|0,f=f+Math.imul(me,_e)|0,f=f+Math.imul(ve,Ce)|0,M=M+Math.imul(ve,_e)|0,S=S+Math.imul(ae,he)|0,f=f+Math.imul(ae,Ke)|0,f=f+Math.imul(q,he)|0,M=M+Math.imul(q,Ke)|0,S=S+Math.imul(oe,yt)|0,f=f+Math.imul(oe,Ot)|0,f=f+Math.imul(de,yt)|0,M=M+Math.imul(de,Ot)|0;var rt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(rt>>>26)|0,rt&=67108863,S=Math.imul(Ye,$t),f=Math.imul(Ye,Qt),f=f+Math.imul(et,$t)|0,M=Math.imul(et,Qt),S=S+Math.imul(wt,ur)|0,f=f+Math.imul(wt,tr)|0,f=f+Math.imul(Ie,ur)|0,M=M+Math.imul(Ie,tr)|0,S=S+Math.imul(Je,bt)|0,f=f+Math.imul(Je,kt)|0,f=f+Math.imul(ft,bt)|0,M=M+Math.imul(ft,kt)|0,S=S+Math.imul(Pe,Et)|0,f=f+Math.imul(Pe,qt)|0,f=f+Math.imul(Ne,Et)|0,M=M+Math.imul(Ne,qt)|0,S=S+Math.imul(ie,_t)|0,f=f+Math.imul(ie,Wt)|0,f=f+Math.imul(re,_t)|0,M=M+Math.imul(re,Wt)|0,S=S+Math.imul(ce,Ce)|0,f=f+Math.imul(ce,_e)|0,f=f+Math.imul(ee,Ce)|0,M=M+Math.imul(ee,_e)|0,S=S+Math.imul(me,he)|0,f=f+Math.imul(me,Ke)|0,f=f+Math.imul(ve,he)|0,M=M+Math.imul(ve,Ke)|0,S=S+Math.imul(ae,yt)|0,f=f+Math.imul(ae,Ot)|0,f=f+Math.imul(q,yt)|0,M=M+Math.imul(q,Ot)|0;var ht=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ht>>>26)|0,ht&=67108863,S=Math.imul(Ye,ur),f=Math.imul(Ye,tr),f=f+Math.imul(et,ur)|0,M=Math.imul(et,tr),S=S+Math.imul(wt,bt)|0,f=f+Math.imul(wt,kt)|0,f=f+Math.imul(Ie,bt)|0,M=M+Math.imul(Ie,kt)|0,S=S+Math.imul(Je,Et)|0,f=f+Math.imul(Je,qt)|0,f=f+Math.imul(ft,Et)|0,M=M+Math.imul(ft,qt)|0,S=S+Math.imul(Pe,_t)|0,f=f+Math.imul(Pe,Wt)|0,f=f+Math.imul(Ne,_t)|0,M=M+Math.imul(Ne,Wt)|0,S=S+Math.imul(ie,Ce)|0,f=f+Math.imul(ie,_e)|0,f=f+Math.imul(re,Ce)|0,M=M+Math.imul(re,_e)|0,S=S+Math.imul(ce,he)|0,f=f+Math.imul(ce,Ke)|0,f=f+Math.imul(ee,he)|0,M=M+Math.imul(ee,Ke)|0,S=S+Math.imul(me,yt)|0,f=f+Math.imul(me,Ot)|0,f=f+Math.imul(ve,yt)|0,M=M+Math.imul(ve,Ot)|0;var ut=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ut>>>26)|0,ut&=67108863,S=Math.imul(Ye,bt),f=Math.imul(Ye,kt),f=f+Math.imul(et,bt)|0,M=Math.imul(et,kt),S=S+Math.imul(wt,Et)|0,f=f+Math.imul(wt,qt)|0,f=f+Math.imul(Ie,Et)|0,M=M+Math.imul(Ie,qt)|0,S=S+Math.imul(Je,_t)|0,f=f+Math.imul(Je,Wt)|0,f=f+Math.imul(ft,_t)|0,M=M+Math.imul(ft,Wt)|0,S=S+Math.imul(Pe,Ce)|0,f=f+Math.imul(Pe,_e)|0,f=f+Math.imul(Ne,Ce)|0,M=M+Math.imul(Ne,_e)|0,S=S+Math.imul(ie,he)|0,f=f+Math.imul(ie,Ke)|0,f=f+Math.imul(re,he)|0,M=M+Math.imul(re,Ke)|0,S=S+Math.imul(ce,yt)|0,f=f+Math.imul(ce,Ot)|0,f=f+Math.imul(ee,yt)|0,M=M+Math.imul(ee,Ot)|0;var Dt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,S=Math.imul(Ye,Et),f=Math.imul(Ye,qt),f=f+Math.imul(et,Et)|0,M=Math.imul(et,qt),S=S+Math.imul(wt,_t)|0,f=f+Math.imul(wt,Wt)|0,f=f+Math.imul(Ie,_t)|0,M=M+Math.imul(Ie,Wt)|0,S=S+Math.imul(Je,Ce)|0,f=f+Math.imul(Je,_e)|0,f=f+Math.imul(ft,Ce)|0,M=M+Math.imul(ft,_e)|0,S=S+Math.imul(Pe,he)|0,f=f+Math.imul(Pe,Ke)|0,f=f+Math.imul(Ne,he)|0,M=M+Math.imul(Ne,Ke)|0,S=S+Math.imul(ie,yt)|0,f=f+Math.imul(ie,Ot)|0,f=f+Math.imul(re,yt)|0,M=M+Math.imul(re,Ot)|0;var He=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(He>>>26)|0,He&=67108863,S=Math.imul(Ye,_t),f=Math.imul(Ye,Wt),f=f+Math.imul(et,_t)|0,M=Math.imul(et,Wt),S=S+Math.imul(wt,Ce)|0,f=f+Math.imul(wt,_e)|0,f=f+Math.imul(Ie,Ce)|0,M=M+Math.imul(Ie,_e)|0,S=S+Math.imul(Je,he)|0,f=f+Math.imul(Je,Ke)|0,f=f+Math.imul(ft,he)|0,M=M+Math.imul(ft,Ke)|0,S=S+Math.imul(Pe,yt)|0,f=f+Math.imul(Pe,Ot)|0,f=f+Math.imul(Ne,yt)|0,M=M+Math.imul(Ne,Ot)|0;var nt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(nt>>>26)|0,nt&=67108863,S=Math.imul(Ye,Ce),f=Math.imul(Ye,_e),f=f+Math.imul(et,Ce)|0,M=Math.imul(et,_e),S=S+Math.imul(wt,he)|0,f=f+Math.imul(wt,Ke)|0,f=f+Math.imul(Ie,he)|0,M=M+Math.imul(Ie,Ke)|0,S=S+Math.imul(Je,yt)|0,f=f+Math.imul(Je,Ot)|0,f=f+Math.imul(ft,yt)|0,M=M+Math.imul(ft,Ot)|0;var at=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(at>>>26)|0,at&=67108863,S=Math.imul(Ye,he),f=Math.imul(Ye,Ke),f=f+Math.imul(et,he)|0,M=Math.imul(et,Ke),S=S+Math.imul(wt,yt)|0,f=f+Math.imul(wt,Ot)|0,f=f+Math.imul(Ie,yt)|0,M=M+Math.imul(Ie,Ot)|0;var Tt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,S=Math.imul(Ye,yt),f=Math.imul(Ye,Ot),f=f+Math.imul(et,yt)|0,M=Math.imul(et,Ot);var pt=(x+S|0)+((f&8191)<<13)|0;return x=(M+(f>>>13)|0)+(pt>>>26)|0,pt&=67108863,k[0]=hr,k[1]=Br,k[2]=Er,k[3]=Qe,k[4]=mt,k[5]=Ue,k[6]=Ge,k[7]=Me,k[8]=ze,k[9]=Le,k[10]=rt,k[11]=ht,k[12]=ut,k[13]=Dt,k[14]=He,k[15]=nt,k[16]=at,k[17]=Tt,k[18]=pt,x!==0&&(k[19]=x,E.length++),E};Math.imul||(A=T);function O(l,p,E){E.negative=p.negative^l.negative,E.length=l.length+p.length;for(var g=0,b=0,k=0;k<E.length-1;k++){var x=b;b=0;for(var S=g&67108863,f=Math.min(k,p.length-1),M=Math.max(0,k-l.length+1);M<=f;M++){var V=k-M,D=l.words[V]|0,j=p.words[M]|0,Y=D*j,oe=Y&67108863;x=x+(Y/67108864|0)|0,oe=oe+S|0,S=oe&67108863,x=x+(oe>>>26)|0,b+=x>>>26,x&=67108863}E.words[k]=S,g=x,x=b}return g!==0?E.words[k]=g:E.length--,E.strip()}function v(l,p,E){var g=new B;return g.mulp(l,p,E)}n.prototype.mulTo=function(l,p){var E,g=this.length+l.length;return this.length===10&&l.length===10?E=A(this,l,p):g<63?E=T(this,l,p):g<1024?E=O(this,l,p):E=v(this,l,p),E};function B(l,p){this.x=l,this.y=p}B.prototype.makeRBT=function(l){for(var p=new Array(l),E=n.prototype._countBits(l)-1,g=0;g<l;g++)p[g]=this.revBin(g,E,l);return p},B.prototype.revBin=function(l,p,E){if(l===0||l===E-1)return l;for(var g=0,b=0;b<p;b++)g|=(l&1)<<p-b-1,l>>=1;return g},B.prototype.permute=function(l,p,E,g,b,k){for(var x=0;x<k;x++)g[x]=p[l[x]],b[x]=E[l[x]]},B.prototype.transform=function(l,p,E,g,b,k){this.permute(k,l,p,E,g,b);for(var x=1;x<b;x<<=1)for(var S=x<<1,f=Math.cos(2*Math.PI/S),M=Math.sin(2*Math.PI/S),V=0;V<b;V+=S)for(var D=f,j=M,Y=0;Y<x;Y++){var oe=E[V+Y],de=g[V+Y],ue=E[V+Y+x],ae=g[V+Y+x],q=D*ue-j*ae;ae=D*ae+j*ue,ue=q,E[V+Y]=oe+ue,g[V+Y]=de+ae,E[V+Y+x]=oe-ue,g[V+Y+x]=de-ae,Y!==S&&(q=f*D-M*j,j=f*j+M*D,D=q)}},B.prototype.guessLen13b=function(l,p){var E=Math.max(p,l)|1,g=E&1,b=0;for(E=E/2|0;E;E=E>>>1)b++;return 1<<b+1+g},B.prototype.conjugate=function(l,p,E){if(!(E<=1))for(var g=0;g<E/2;g++){var b=l[g];l[g]=l[E-g-1],l[E-g-1]=b,b=p[g],p[g]=-p[E-g-1],p[E-g-1]=-b}},B.prototype.normalize13b=function(l,p){for(var E=0,g=0;g<p/2;g++){var b=Math.round(l[2*g+1]/p)*8192+Math.round(l[2*g]/p)+E;l[g]=b&67108863,b<67108864?E=0:E=b/67108864|0}return l},B.prototype.convert13b=function(l,p,E,g){for(var b=0,k=0;k<p;k++)b=b+(l[k]|0),E[2*k]=b&8191,b=b>>>13,E[2*k+1]=b&8191,b=b>>>13;for(k=2*p;k<g;++k)E[k]=0;s(b===0),s((b&-8192)===0)},B.prototype.stub=function(l){for(var p=new Array(l),E=0;E<l;E++)p[E]=0;return p},B.prototype.mulp=function(l,p,E){var g=2*this.guessLen13b(l.length,p.length),b=this.makeRBT(g),k=this.stub(g),x=new Array(g),S=new Array(g),f=new Array(g),M=new Array(g),V=new Array(g),D=new Array(g),j=E.words;j.length=g,this.convert13b(l.words,l.length,x,g),this.convert13b(p.words,p.length,M,g),this.transform(x,k,S,f,g,b),this.transform(M,k,V,D,g,b);for(var Y=0;Y<g;Y++){var oe=S[Y]*V[Y]-f[Y]*D[Y];f[Y]=S[Y]*D[Y]+f[Y]*V[Y],S[Y]=oe}return this.conjugate(S,f,g),this.transform(S,f,j,k,g,b),this.conjugate(j,k,g),this.normalize13b(j,g),E.negative=l.negative^p.negative,E.length=l.length+p.length,E.strip()},n.prototype.mul=function(l){var p=new n(null);return p.words=new Array(this.length+l.length),this.mulTo(l,p)},n.prototype.mulf=function(l){var p=new n(null);return p.words=new Array(this.length+l.length),v(this,l,p)},n.prototype.imul=function(l){return this.clone().mulTo(l,this)},n.prototype.imuln=function(l){s(typeof l=="number"),s(l<67108864);for(var p=0,E=0;E<this.length;E++){var g=(this.words[E]|0)*l,b=(g&67108863)+(p&67108863);p>>=26,p+=g/67108864|0,p+=b>>>26,this.words[E]=b&67108863}return p!==0&&(this.words[E]=p,this.length++),this},n.prototype.muln=function(l){return this.clone().imuln(l)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(l){var p=w(l);if(p.length===0)return new n(1);for(var E=this,g=0;g<p.length&&p[g]===0;g++,E=E.sqr());if(++g<p.length)for(var b=E.sqr();g<p.length;g++,b=b.sqr())p[g]!==0&&(E=E.mul(b));return E},n.prototype.iushln=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26,g=67108863>>>26-p<<26-p,b;if(p!==0){var k=0;for(b=0;b<this.length;b++){var x=this.words[b]&g,S=(this.words[b]|0)-x<<p;this.words[b]=S|k,k=x>>>26-p}k&&(this.words[b]=k,this.length++)}if(E!==0){for(b=this.length-1;b>=0;b--)this.words[b+E]=this.words[b];for(b=0;b<E;b++)this.words[b]=0;this.length+=E}return this.strip()},n.prototype.ishln=function(l){return s(this.negative===0),this.iushln(l)},n.prototype.iushrn=function(l,p,E){s(typeof l=="number"&&l>=0);var g;p?g=(p-p%26)/26:g=0;var b=l%26,k=Math.min((l-b)/26,this.length),x=67108863^67108863>>>b<<b,S=E;if(g-=k,g=Math.max(0,g),S){for(var f=0;f<k;f++)S.words[f]=this.words[f];S.length=k}if(k!==0)if(this.length>k)for(this.length-=k,f=0;f<this.length;f++)this.words[f]=this.words[f+k];else this.words[0]=0,this.length=1;var M=0;for(f=this.length-1;f>=0&&(M!==0||f>=g);f--){var V=this.words[f]|0;this.words[f]=M<<26-b|V>>>b,M=V&x}return S&&M!==0&&(S.words[S.length++]=M),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},n.prototype.ishrn=function(l,p,E){return s(this.negative===0),this.iushrn(l,p,E)},n.prototype.shln=function(l){return this.clone().ishln(l)},n.prototype.ushln=function(l){return this.clone().iushln(l)},n.prototype.shrn=function(l){return this.clone().ishrn(l)},n.prototype.ushrn=function(l){return this.clone().iushrn(l)},n.prototype.testn=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26,g=1<<p;if(this.length<=E)return!1;var b=this.words[E];return!!(b&g)},n.prototype.imaskn=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=E)return this;if(p!==0&&E++,this.length=Math.min(E,this.length),p!==0){var g=67108863^67108863>>>p<<p;this.words[this.length-1]&=g}return this.strip()},n.prototype.maskn=function(l){return this.clone().imaskn(l)},n.prototype.iaddn=function(l){return s(typeof l=="number"),s(l<67108864),l<0?this.isubn(-l):this.negative!==0?this.length===1&&(this.words[0]|0)<l?(this.words[0]=l-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(l),this.negative=1,this):this._iaddn(l)},n.prototype._iaddn=function(l){this.words[0]+=l;for(var p=0;p<this.length&&this.words[p]>=67108864;p++)this.words[p]-=67108864,p===this.length-1?this.words[p+1]=1:this.words[p+1]++;return this.length=Math.max(this.length,p+1),this},n.prototype.isubn=function(l){if(s(typeof l=="number"),s(l<67108864),l<0)return this.iaddn(-l);if(this.negative!==0)return this.negative=0,this.iaddn(l),this.negative=1,this;if(this.words[0]-=l,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var p=0;p<this.length&&this.words[p]<0;p++)this.words[p]+=67108864,this.words[p+1]-=1;return this.strip()},n.prototype.addn=function(l){return this.clone().iaddn(l)},n.prototype.subn=function(l){return this.clone().isubn(l)},n.prototype.iabs=function(){return this.negative=0,this},n.prototype.abs=function(){return this.clone().iabs()},n.prototype._ishlnsubmul=function(l,p,E){var g=l.length+E,b;this._expand(g);var k,x=0;for(b=0;b<l.length;b++){k=(this.words[b+E]|0)+x;var S=(l.words[b]|0)*p;k-=S&67108863,x=(k>>26)-(S/67108864|0),this.words[b+E]=k&67108863}for(;b<this.length-E;b++)k=(this.words[b+E]|0)+x,x=k>>26,this.words[b+E]=k&67108863;if(x===0)return this.strip();for(s(x===-1),x=0,b=0;b<this.length;b++)k=-(this.words[b]|0)+x,x=k>>26,this.words[b]=k&67108863;return this.negative=1,this.strip()},n.prototype._wordDiv=function(l,p){var E=this.length-l.length,g=this.clone(),b=l,k=b.words[b.length-1]|0,x=this._countBits(k);E=26-x,E!==0&&(b=b.ushln(E),g.iushln(E),k=b.words[b.length-1]|0);var S=g.length-b.length,f;if(p!=="mod"){f=new n(null),f.length=S+1,f.words=new Array(f.length);for(var M=0;M<f.length;M++)f.words[M]=0}var V=g.clone()._ishlnsubmul(b,1,S);V.negative===0&&(g=V,f&&(f.words[S]=1));for(var D=S-1;D>=0;D--){var j=(g.words[b.length+D]|0)*67108864+(g.words[b.length+D-1]|0);for(j=Math.min(j/k|0,67108863),g._ishlnsubmul(b,j,D);g.negative!==0;)j--,g.negative=0,g._ishlnsubmul(b,1,D),g.isZero()||(g.negative^=1);f&&(f.words[D]=j)}return f&&f.strip(),g.strip(),p!=="div"&&E!==0&&g.iushrn(E),{div:f||null,mod:g}},n.prototype.divmod=function(l,p,E){if(s(!l.isZero()),this.isZero())return{div:new n(0),mod:new n(0)};var g,b,k;return this.negative!==0&&l.negative===0?(k=this.neg().divmod(l,p),p!=="mod"&&(g=k.div.neg()),p!=="div"&&(b=k.mod.neg(),E&&b.negative!==0&&b.iadd(l)),{div:g,mod:b}):this.negative===0&&l.negative!==0?(k=this.divmod(l.neg(),p),p!=="mod"&&(g=k.div.neg()),{div:g,mod:k.mod}):this.negative&l.negative?(k=this.neg().divmod(l.neg(),p),p!=="div"&&(b=k.mod.neg(),E&&b.negative!==0&&b.isub(l)),{div:k.div,mod:b}):l.length>this.length||this.cmp(l)<0?{div:new n(0),mod:this}:l.length===1?p==="div"?{div:this.divn(l.words[0]),mod:null}:p==="mod"?{div:null,mod:new n(this.modn(l.words[0]))}:{div:this.divn(l.words[0]),mod:new n(this.modn(l.words[0]))}:this._wordDiv(l,p)},n.prototype.div=function(l){return this.divmod(l,"div",!1).div},n.prototype.mod=function(l){return this.divmod(l,"mod",!1).mod},n.prototype.umod=function(l){return this.divmod(l,"mod",!0).mod},n.prototype.divRound=function(l){var p=this.divmod(l);if(p.mod.isZero())return p.div;var E=p.div.negative!==0?p.mod.isub(l):p.mod,g=l.ushrn(1),b=l.andln(1),k=E.cmp(g);return k<0||b===1&&k===0?p.div:p.div.negative!==0?p.div.isubn(1):p.div.iaddn(1)},n.prototype.modn=function(l){s(l<=67108863);for(var p=(1<<26)%l,E=0,g=this.length-1;g>=0;g--)E=(p*E+(this.words[g]|0))%l;return E},n.prototype.idivn=function(l){s(l<=67108863);for(var p=0,E=this.length-1;E>=0;E--){var g=(this.words[E]|0)+p*67108864;this.words[E]=g/l|0,p=g%l}return this.strip()},n.prototype.divn=function(l){return this.clone().idivn(l)},n.prototype.egcd=function(l){s(l.negative===0),s(!l.isZero());var p=this,E=l.clone();p.negative!==0?p=p.umod(l):p=p.clone();for(var g=new n(1),b=new n(0),k=new n(0),x=new n(1),S=0;p.isEven()&&E.isEven();)p.iushrn(1),E.iushrn(1),++S;for(var f=E.clone(),M=p.clone();!p.isZero();){for(var V=0,D=1;!(p.words[0]&D)&&V<26;++V,D<<=1);if(V>0)for(p.iushrn(V);V-- >0;)(g.isOdd()||b.isOdd())&&(g.iadd(f),b.isub(M)),g.iushrn(1),b.iushrn(1);for(var j=0,Y=1;!(E.words[0]&Y)&&j<26;++j,Y<<=1);if(j>0)for(E.iushrn(j);j-- >0;)(k.isOdd()||x.isOdd())&&(k.iadd(f),x.isub(M)),k.iushrn(1),x.iushrn(1);p.cmp(E)>=0?(p.isub(E),g.isub(k),b.isub(x)):(E.isub(p),k.isub(g),x.isub(b))}return{a:k,b:x,gcd:E.iushln(S)}},n.prototype._invmp=function(l){s(l.negative===0),s(!l.isZero());var p=this,E=l.clone();p.negative!==0?p=p.umod(l):p=p.clone();for(var g=new n(1),b=new n(0),k=E.clone();p.cmpn(1)>0&&E.cmpn(1)>0;){for(var x=0,S=1;!(p.words[0]&S)&&x<26;++x,S<<=1);if(x>0)for(p.iushrn(x);x-- >0;)g.isOdd()&&g.iadd(k),g.iushrn(1);for(var f=0,M=1;!(E.words[0]&M)&&f<26;++f,M<<=1);if(f>0)for(E.iushrn(f);f-- >0;)b.isOdd()&&b.iadd(k),b.iushrn(1);p.cmp(E)>=0?(p.isub(E),g.isub(b)):(E.isub(p),b.isub(g))}var V;return p.cmpn(1)===0?V=g:V=b,V.cmpn(0)<0&&V.iadd(l),V},n.prototype.gcd=function(l){if(this.isZero())return l.abs();if(l.isZero())return this.abs();var p=this.clone(),E=l.clone();p.negative=0,E.negative=0;for(var g=0;p.isEven()&&E.isEven();g++)p.iushrn(1),E.iushrn(1);do{for(;p.isEven();)p.iushrn(1);for(;E.isEven();)E.iushrn(1);var b=p.cmp(E);if(b<0){var k=p;p=E,E=k}else if(b===0||E.cmpn(1)===0)break;p.isub(E)}while(!0);return E.iushln(g)},n.prototype.invm=function(l){return this.egcd(l).a.umod(l)},n.prototype.isEven=function(){return(this.words[0]&1)===0},n.prototype.isOdd=function(){return(this.words[0]&1)===1},n.prototype.andln=function(l){return this.words[0]&l},n.prototype.bincn=function(l){s(typeof l=="number");var p=l%26,E=(l-p)/26,g=1<<p;if(this.length<=E)return this._expand(E+1),this.words[E]|=g,this;for(var b=g,k=E;b!==0&&k<this.length;k++){var x=this.words[k]|0;x+=b,b=x>>>26,x&=67108863,this.words[k]=x}return b!==0&&(this.words[k]=b,this.length++),this},n.prototype.isZero=function(){return this.length===1&&this.words[0]===0},n.prototype.cmpn=function(l){var p=l<0;if(this.negative!==0&&!p)return-1;if(this.negative===0&&p)return 1;this.strip();var E;if(this.length>1)E=1;else{p&&(l=-l),s(l<=67108863,"Number is too big");var g=this.words[0]|0;E=g===l?0:g<l?-1:1}return this.negative!==0?-E|0:E},n.prototype.cmp=function(l){if(this.negative!==0&&l.negative===0)return-1;if(this.negative===0&&l.negative!==0)return 1;var p=this.ucmp(l);return this.negative!==0?-p|0:p},n.prototype.ucmp=function(l){if(this.length>l.length)return 1;if(this.length<l.length)return-1;for(var p=0,E=this.length-1;E>=0;E--){var g=this.words[E]|0,b=l.words[E]|0;if(g!==b){g<b?p=-1:g>b&&(p=1);break}}return p},n.prototype.gtn=function(l){return this.cmpn(l)===1},n.prototype.gt=function(l){return this.cmp(l)===1},n.prototype.gten=function(l){return this.cmpn(l)>=0},n.prototype.gte=function(l){return this.cmp(l)>=0},n.prototype.ltn=function(l){return this.cmpn(l)===-1},n.prototype.lt=function(l){return this.cmp(l)===-1},n.prototype.lten=function(l){return this.cmpn(l)<=0},n.prototype.lte=function(l){return this.cmp(l)<=0},n.prototype.eqn=function(l){return this.cmpn(l)===0},n.prototype.eq=function(l){return this.cmp(l)===0},n.red=function(l){return new F(l)},n.prototype.toRed=function(l){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),l.convertTo(this)._forceRed(l)},n.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(l){return this.red=l,this},n.prototype.forceRed=function(l){return s(!this.red,"Already a number in reduction context"),this._forceRed(l)},n.prototype.redAdd=function(l){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,l)},n.prototype.redIAdd=function(l){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,l)},n.prototype.redSub=function(l){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,l)},n.prototype.redISub=function(l){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,l)},n.prototype.redShl=function(l){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,l)},n.prototype.redMul=function(l){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.mul(this,l)},n.prototype.redIMul=function(l){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.imul(this,l)},n.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(l){return s(this.red&&!l.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,l)};var R={k256:null,p224:null,p192:null,p25519:null};function U(l,p){this.name=l,this.p=new n(p,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}U.prototype._tmp=function(){var l=new n(null);return l.words=new Array(Math.ceil(this.n/13)),l},U.prototype.ireduce=function(l){var p=l,E;do this.split(p,this.tmp),p=this.imulK(p),p=p.iadd(this.tmp),E=p.bitLength();while(E>this.n);var g=E<this.n?-1:p.ucmp(this.p);return g===0?(p.words[0]=0,p.length=1):g>0?p.isub(this.p):p.strip!==void 0?p.strip():p._strip(),p},U.prototype.split=function(l,p){l.iushrn(this.n,0,p)},U.prototype.imulK=function(l){return l.imul(this.k)};function N(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(N,U),N.prototype.split=function(l,p){for(var E=4194303,g=Math.min(l.length,9),b=0;b<g;b++)p.words[b]=l.words[b];if(p.length=g,l.length<=9){l.words[0]=0,l.length=1;return}var k=l.words[9];for(p.words[p.length++]=k&E,b=10;b<l.length;b++){var x=l.words[b]|0;l.words[b-10]=(x&E)<<4|k>>>22,k=x}k>>>=22,l.words[b-10]=k,k===0&&l.length>10?l.length-=10:l.length-=9},N.prototype.imulK=function(l){l.words[l.length]=0,l.words[l.length+1]=0,l.length+=2;for(var p=0,E=0;E<l.length;E++){var g=l.words[E]|0;p+=g*977,l.words[E]=p&67108863,p=g*64+(p/67108864|0)}return l.words[l.length-1]===0&&(l.length--,l.words[l.length-1]===0&&l.length--),l};function _(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i(_,U);function L(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i(L,U);function H(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i(H,U),H.prototype.imulK=function(l){for(var p=0,E=0;E<l.length;E++){var g=(l.words[E]|0)*19+p,b=g&67108863;g>>>=26,l.words[E]=b,p=g}return p!==0&&(l.words[l.length++]=p),l},n._prime=function(l){if(R[l])return R[l];var p;if(l==="k256")p=new N;else if(l==="p224")p=new _;else if(l==="p192")p=new L;else if(l==="p25519")p=new H;else throw new Error("Unknown prime "+l);return R[l]=p,p};function F(l){if(typeof l=="string"){var p=n._prime(l);this.m=p.p,this.prime=p}else s(l.gtn(1),"modulus must be greater than 1"),this.m=l,this.prime=null}F.prototype._verify1=function(l){s(l.negative===0,"red works only with positives"),s(l.red,"red works only with red numbers")},F.prototype._verify2=function(l,p){s((l.negative|p.negative)===0,"red works only with positives"),s(l.red&&l.red===p.red,"red works only with red numbers")},F.prototype.imod=function(l){return this.prime?this.prime.ireduce(l)._forceRed(this):l.umod(this.m)._forceRed(this)},F.prototype.neg=function(l){return l.isZero()?l.clone():this.m.sub(l)._forceRed(this)},F.prototype.add=function(l,p){this._verify2(l,p);var E=l.add(p);return E.cmp(this.m)>=0&&E.isub(this.m),E._forceRed(this)},F.prototype.iadd=function(l,p){this._verify2(l,p);var E=l.iadd(p);return E.cmp(this.m)>=0&&E.isub(this.m),E},F.prototype.sub=function(l,p){this._verify2(l,p);var E=l.sub(p);return E.cmpn(0)<0&&E.iadd(this.m),E._forceRed(this)},F.prototype.isub=function(l,p){this._verify2(l,p);var E=l.isub(p);return E.cmpn(0)<0&&E.iadd(this.m),E},F.prototype.shl=function(l,p){return this._verify1(l),this.imod(l.ushln(p))},F.prototype.imul=function(l,p){return this._verify2(l,p),this.imod(l.imul(p))},F.prototype.mul=function(l,p){return this._verify2(l,p),this.imod(l.mul(p))},F.prototype.isqr=function(l){return this.imul(l,l.clone())},F.prototype.sqr=function(l){return this.mul(l,l)},F.prototype.sqrt=function(l){if(l.isZero())return l.clone();var p=this.m.andln(3);if(s(p%2===1),p===3){var E=this.m.add(new n(1)).iushrn(2);return this.pow(l,E)}for(var g=this.m.subn(1),b=0;!g.isZero()&&g.andln(1)===0;)b++,g.iushrn(1);s(!g.isZero());var k=new n(1).toRed(this),x=k.redNeg(),S=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new n(2*f*f).toRed(this);this.pow(f,S).cmp(x)!==0;)f.redIAdd(x);for(var M=this.pow(f,g),V=this.pow(l,g.addn(1).iushrn(1)),D=this.pow(l,g),j=b;D.cmp(k)!==0;){for(var Y=D,oe=0;Y.cmp(k)!==0;oe++)Y=Y.redSqr();s(oe<j);var de=this.pow(M,new n(1).iushln(j-oe-1));V=V.redMul(de),M=de.redSqr(),D=D.redMul(M),j=oe}return V},F.prototype.invm=function(l){var p=l._invmp(this.m);return p.negative!==0?(p.negative=0,this.imod(p).redNeg()):this.imod(p)},F.prototype.pow=function(l,p){if(p.isZero())return new n(1).toRed(this);if(p.cmpn(1)===0)return l.clone();var E=4,g=new Array(1<<E);g[0]=new n(1).toRed(this),g[1]=l;for(var b=2;b<g.length;b++)g[b]=this.mul(g[b-1],l);var k=g[0],x=0,S=0,f=p.bitLength()%26;for(f===0&&(f=26),b=p.length-1;b>=0;b--){for(var M=p.words[b],V=f-1;V>=0;V--){var D=M>>V&1;if(k!==g[0]&&(k=this.sqr(k)),D===0&&x===0){S=0;continue}x<<=1,x|=D,S++,!(S!==E&&(b!==0||V!==0))&&(k=this.mul(k,g[x]),S=0,x=0)}f=26}return k},F.prototype.convertTo=function(l){var p=l.umod(this.m);return p===l?p.clone():p},F.prototype.convertFrom=function(l){var p=l.clone();return p.red=null,p},n.mont=function(l){return new G(l)};function G(l){F.call(this,l),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new n(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)}i(G,F),G.prototype.convertTo=function(l){return this.imod(l.ushln(this.shift))},G.prototype.convertFrom=function(l){var p=this.imod(l.mul(this.rinv));return p.red=null,p},G.prototype.imul=function(l,p){if(l.isZero()||p.isZero())return l.words[0]=0,l.length=1,l;var E=l.imul(p),g=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=E.isub(g).iushrn(this.shift),k=b;return b.cmp(this.m)>=0?k=b.isub(this.m):b.cmpn(0)<0&&(k=b.iadd(this.m)),k._forceRed(this)},G.prototype.mul=function(l,p){if(l.isZero()||p.isZero())return new n(0)._forceRed(this);var E=l.mul(p),g=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=E.isub(g).iushrn(this.shift),k=b;return b.cmp(this.m)>=0?k=b.isub(this.m):b.cmpn(0)<0&&(k=b.iadd(this.m)),k._forceRed(this)},G.prototype.invm=function(l){var p=this.imod(l._invmp(this.m).mul(this.r2));return p._forceRed(this)}})(typeof t>"u"||t,e)}),j8e=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,o=r.eval,s=r.execScript;!o&&s&&(s.call(r,"null"),o=r.eval),forEach(Object_keys(e),function(a){r[a]=e[a]}),forEach(globals,function(a){e[a]&&(r[a]=e[a])});var i=Object_keys(r),n=o.call(r,this.code);return forEach(Object_keys(r),function(a){(a in e||indexOf(i,a)===-1)&&(e[a]=r[a])}),forEach(globals,function(a){a in e||defineProp(e,a,r[a])}),document.body.removeChild(t),n},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(o){e[o]=t[o]}),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 typeof e=="object"&&forEach(Object_keys(e),function(r){t[r]=e[r]}),t}}),J8e=W(e=>{m();var t=wS(),r=un(),o=e;o.define=function(i,n){return new s(i,n)};function s(i,n){this.name=i,this.body=n,this.decoders={},this.encoders={}}s.prototype._createNamed=function(i){var n;try{n=j8e().runInThisContext("(function "+this.name+`(entity) {
  this._initNamed(entity);
})`)}catch{n=function(a){this._initNamed(a)}}return r(n,i),n.prototype._initNamed=function(a){i.call(this,a)},new n(this)},s.prototype._getDecoder=function(i){return i=i||"der",this.decoders.hasOwnProperty(i)||(this.decoders[i]=this._createNamed(t.decoders[i])),this.decoders[i]},s.prototype.decode=function(i,n,a){return this._getDecoder(n).decode(i,a)},s.prototype._getEncoder=function(i){return i=i||"der",this.encoders.hasOwnProperty(i)||(this.encoders[i]=this._createNamed(t.encoders[i])),this.encoders[i]},s.prototype.encode=function(i,n,a){return this._getEncoder(n).encode(i,a)}}),Y8e=W(e=>{m();var t=un();function r(s){this._reporterState={obj:null,path:[],options:s||{},errors:[]}}e.Reporter=r,r.prototype.isError=function(s){return s instanceof o},r.prototype.save=function(){var s=this._reporterState;return{obj:s.obj,pathLen:s.path.length}},r.prototype.restore=function(s){var i=this._reporterState;i.obj=s.obj,i.path=i.path.slice(0,s.pathLen)},r.prototype.enterKey=function(s){return this._reporterState.path.push(s)},r.prototype.exitKey=function(s){var i=this._reporterState;i.path=i.path.slice(0,s-1)},r.prototype.leaveKey=function(s,i,n){var a=this._reporterState;this.exitKey(s),a.obj!==null&&(a.obj[i]=n)},r.prototype.path=function(){return this._reporterState.path.join("/")},r.prototype.enterObject=function(){var s=this._reporterState,i=s.obj;return s.obj={},i},r.prototype.leaveObject=function(s){var i=this._reporterState,n=i.obj;return i.obj=s,n},r.prototype.error=function(s){var i,n=this._reporterState,a=s instanceof o;if(a?i=s:i=new o(n.path.map(function(u){return"["+JSON.stringify(u)+"]"}).join(""),s.message||s,s.stack),!n.options.partial)throw i;return a||n.errors.push(i),i},r.prototype.wrapResult=function(s){var i=this._reporterState;return i.options.partial?{result:this.isError(s)?null:s,errors:i.errors}:s};function o(s,i){this.path=s,this.rethrow(i)}t(o,Error),o.prototype.rethrow=function(s){if(this.message=s+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(i){this.stack=i.stack}return this}}),cZ=W(e=>{m();var t=un(),r=AS().Reporter,o=Go().Buffer;function s(n,a){if(r.call(this,a),!o.isBuffer(n)){this.error("Input not Buffer");return}this.base=n,this.offset=0,this.length=n.length}t(s,r),e.DecoderBuffer=s,s.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},s.prototype.restore=function(n){var a=new s(this.base);return a.offset=n.offset,a.length=this.offset,this.offset=n.offset,r.prototype.restore.call(this,n.reporter),a},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(n){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(n||"DecoderBuffer overrun")},s.prototype.skip=function(n,a){if(!(this.offset+n<=this.length))return this.error(a||"DecoderBuffer overrun");var u=new s(this.base);return u._reporterState=this._reporterState,u.offset=this.offset,u.length=this.offset+n,this.offset+=n,u},s.prototype.raw=function(n){return this.base.slice(n?n.offset:this.offset,this.length)};function i(n,a){if(Array.isArray(n))this.length=0,this.value=n.map(function(u){return u instanceof i||(u=new i(u,a)),this.length+=u.length,u},this);else if(typeof n=="number"){if(!(0<=n&&n<=255))return a.error("non-byte EncoderBuffer value");this.value=n,this.length=1}else if(typeof n=="string")this.value=n,this.length=o.byteLength(n);else if(o.isBuffer(n))this.value=n,this.length=n.length;else return a.error("Unsupported type: "+typeof n)}e.EncoderBuffer=i,i.prototype.join=function(n,a){return n||(n=new o(this.length)),a||(a=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(u){u.join(n,a),a+=u.length}):(typeof this.value=="number"?n[a]=this.value:typeof this.value=="string"?n.write(this.value,a):o.isBuffer(this.value)&&this.value.copy(n,a),a+=this.length)),n}}),$8e=W((e,t)=>{m();var r=AS().Reporter,o=AS().EncoderBuffer,s=AS().DecoderBuffer,i=Gf(),n=["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(n),u=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function c(h,y){var C={};this._baseState=C,C.enc=h,C.parent=y||null,C.children=null,C.tag=null,C.args=null,C.reverseArgs=null,C.choice=null,C.optional=!1,C.any=!1,C.obj=!1,C.use=null,C.useDecoder=null,C.key=null,C.default=null,C.explicit=null,C.implicit=null,C.contains=null,C.parent||(C.children=[],this._wrap())}t.exports=c;var d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){var h=this._baseState,y={};d.forEach(function(w){y[w]=h[w]});var C=new this.constructor(y.parent);return C._baseState=y,C},c.prototype._wrap=function(){var h=this._baseState;a.forEach(function(y){this[y]=function(){var C=new this.constructor(this);return h.children.push(C),C[y].apply(C,arguments)}},this)},c.prototype._init=function(h){var y=this._baseState;i(y.parent===null),h.call(this),y.children=y.children.filter(function(C){return C._baseState.parent===this},this),i.equal(y.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(h){var y=this._baseState,C=h.filter(function(w){return w instanceof this.constructor},this);h=h.filter(function(w){return!(w instanceof this.constructor)},this),C.length!==0&&(i(y.children===null),y.children=C,C.forEach(function(w){w._baseState.parent=this},this)),h.length!==0&&(i(y.args===null),y.args=h,y.reverseArgs=h.map(function(w){if(typeof w!="object"||w.constructor!==Object)return w;var T={};return Object.keys(w).forEach(function(A){A==(A|0)&&(A|=0);var O=w[A];T[O]=A}),T}))},u.forEach(function(h){c.prototype[h]=function(){var y=this._baseState;throw new Error(h+" not implemented for encoding: "+y.enc)}}),n.forEach(function(h){c.prototype[h]=function(){var y=this._baseState,C=Array.prototype.slice.call(arguments);return i(y.tag===null),y.tag=h,this._useArgs(C),this}}),c.prototype.use=function(h){i(h);var y=this._baseState;return i(y.use===null),y.use=h,this},c.prototype.optional=function(){var h=this._baseState;return h.optional=!0,this},c.prototype.def=function(h){var y=this._baseState;return i(y.default===null),y.default=h,y.optional=!0,this},c.prototype.explicit=function(h){var y=this._baseState;return i(y.explicit===null&&y.implicit===null),y.explicit=h,this},c.prototype.implicit=function(h){var y=this._baseState;return i(y.explicit===null&&y.implicit===null),y.implicit=h,this},c.prototype.obj=function(){var h=this._baseState,y=Array.prototype.slice.call(arguments);return h.obj=!0,y.length!==0&&this._useArgs(y),this},c.prototype.key=function(h){var y=this._baseState;return i(y.key===null),y.key=h,this},c.prototype.any=function(){var h=this._baseState;return h.any=!0,this},c.prototype.choice=function(h){var y=this._baseState;return i(y.choice===null),y.choice=h,this._useArgs(Object.keys(h).map(function(C){return h[C]})),this},c.prototype.contains=function(h){var y=this._baseState;return i(y.use===null),y.contains=h,this},c.prototype._decode=function(h,y){var C=this._baseState;if(C.parent===null)return h.wrapResult(C.children[0]._decode(h,y));var w=C.default,T=!0,A=null;if(C.key!==null&&(A=h.enterKey(C.key)),C.optional){var O=null;if(C.explicit!==null?O=C.explicit:C.implicit!==null?O=C.implicit:C.tag!==null&&(O=C.tag),O===null&&!C.any){var v=h.save();try{C.choice===null?this._decodeGeneric(C.tag,h,y):this._decodeChoice(h,y),T=!0}catch{T=!1}h.restore(v)}else if(T=this._peekTag(h,O,C.any),h.isError(T))return T}var B;if(C.obj&&T&&(B=h.enterObject()),T){if(C.explicit!==null){var R=this._decodeTag(h,C.explicit);if(h.isError(R))return R;h=R}var U=h.offset;if(C.use===null&&C.choice===null){if(C.any)var v=h.save();var N=this._decodeTag(h,C.implicit!==null?C.implicit:C.tag,C.any);if(h.isError(N))return N;C.any?w=h.raw(v):h=N}if(y&&y.track&&C.tag!==null&&y.track(h.path(),U,h.length,"tagged"),y&&y.track&&C.tag!==null&&y.track(h.path(),h.offset,h.length,"content"),C.any?w=w:C.choice===null?w=this._decodeGeneric(C.tag,h,y):w=this._decodeChoice(h,y),h.isError(w))return w;if(!C.any&&C.choice===null&&C.children!==null&&C.children.forEach(function(L){L._decode(h,y)}),C.contains&&(C.tag==="octstr"||C.tag==="bitstr")){var _=new s(w);w=this._getUse(C.contains,h._reporterState.obj)._decode(_,y)}}return C.obj&&T&&(w=h.leaveObject(B)),C.key!==null&&(w!==null||T===!0)?h.leaveKey(A,C.key,w):A!==null&&h.exitKey(A),w},c.prototype._decodeGeneric=function(h,y,C){var w=this._baseState;return h==="seq"||h==="set"?null:h==="seqof"||h==="setof"?this._decodeList(y,h,w.args[0],C):/str$/.test(h)?this._decodeStr(y,h,C):h==="objid"&&w.args?this._decodeObjid(y,w.args[0],w.args[1],C):h==="objid"?this._decodeObjid(y,null,null,C):h==="gentime"||h==="utctime"?this._decodeTime(y,h,C):h==="null_"?this._decodeNull(y,C):h==="bool"?this._decodeBool(y,C):h==="objDesc"?this._decodeStr(y,h,C):h==="int"||h==="enum"?this._decodeInt(y,w.args&&w.args[0],C):w.use!==null?this._getUse(w.use,y._reporterState.obj)._decode(y,C):y.error("unknown tag: "+h)},c.prototype._getUse=function(h,y){var C=this._baseState;return C.useDecoder=this._use(h,y),i(C.useDecoder._baseState.parent===null),C.useDecoder=C.useDecoder._baseState.children[0],C.implicit!==C.useDecoder._baseState.implicit&&(C.useDecoder=C.useDecoder.clone(),C.useDecoder._baseState.implicit=C.implicit),C.useDecoder},c.prototype._decodeChoice=function(h,y){var C=this._baseState,w=null,T=!1;return Object.keys(C.choice).some(function(A){var O=h.save(),v=C.choice[A];try{var B=v._decode(h,y);if(h.isError(B))return!1;w={type:A,value:B},T=!0}catch{return h.restore(O),!1}return!0},this),T?w:h.error("Choice not matched")},c.prototype._createEncoderBuffer=function(h){return new o(h,this.reporter)},c.prototype._encode=function(h,y,C){var w=this._baseState;if(!(w.default!==null&&w.default===h)){var T=this._encodeValue(h,y,C);if(T!==void 0&&!this._skipDefault(T,y,C))return T}},c.prototype._encodeValue=function(h,y,C){var w=this._baseState;if(w.parent===null)return w.children[0]._encode(h,y||new r);var v=null;if(this.reporter=y,w.optional&&h===void 0)if(w.default!==null)h=w.default;else return;var T=null,A=!1;if(w.any)v=this._createEncoderBuffer(h);else if(w.choice)v=this._encodeChoice(h,y);else if(w.contains)T=this._getUse(w.contains,C)._encode(h,y),A=!0;else if(w.children)T=w.children.map(function(U){if(U._baseState.tag==="null_")return U._encode(null,y,h);if(U._baseState.key===null)return y.error("Child should have a key");var N=y.enterKey(U._baseState.key);if(typeof h!="object")return y.error("Child expected, but input is not object");var _=U._encode(h[U._baseState.key],y,h);return y.leaveKey(N),_},this).filter(function(U){return U}),T=this._createEncoderBuffer(T);else if(w.tag==="seqof"||w.tag==="setof"){if(!(w.args&&w.args.length===1))return y.error("Too many args for : "+w.tag);if(!Array.isArray(h))return y.error("seqof/setof, but data is not Array");var O=this.clone();O._baseState.implicit=null,T=this._createEncoderBuffer(h.map(function(U){var N=this._baseState;return this._getUse(N.args[0],h)._encode(U,y)},O))}else w.use!==null?v=this._getUse(w.use,C)._encode(h,y):(T=this._encodePrimitive(w.tag,h),A=!0);var v;if(!w.any&&w.choice===null){var B=w.implicit!==null?w.implicit:w.tag,R=w.implicit===null?"universal":"context";B===null?w.use===null&&y.error("Tag could be omitted only for .use()"):w.use===null&&(v=this._encodeComposite(B,A,R,T))}return w.explicit!==null&&(v=this._encodeComposite(w.explicit,!1,"context",v)),v},c.prototype._encodeChoice=function(h,y){var C=this._baseState,w=C.choice[h.type];return w||i(!1,h.type+" not found in "+JSON.stringify(Object.keys(C.choice))),w._encode(h.value,y)},c.prototype._encodePrimitive=function(h,y){var C=this._baseState;if(/str$/.test(h))return this._encodeStr(y,h);if(h==="objid"&&C.args)return this._encodeObjid(y,C.reverseArgs[0],C.args[1]);if(h==="objid")return this._encodeObjid(y,null,null);if(h==="gentime"||h==="utctime")return this._encodeTime(y,h);if(h==="null_")return this._encodeNull();if(h==="int"||h==="enum")return this._encodeInt(y,C.args&&C.reverseArgs[0]);if(h==="bool")return this._encodeBool(y);if(h==="objDesc")return this._encodeStr(y,h);throw new Error("Unsupported tag: "+h)},c.prototype._isNumstr=function(h){return/^[0-9 ]*$/.test(h)},c.prototype._isPrintstr=function(h){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(h)}}),AS=W(e=>{m();var t=e;t.Reporter=Y8e().Reporter,t.DecoderBuffer=cZ().DecoderBuffer,t.EncoderBuffer=cZ().EncoderBuffer,t.Node=$8e()}),rCe=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(r){var o={};return Object.keys(r).forEach(function(s){(s|0)==s&&(s=s|0);var i=r[s];o[i]=s}),o},t.der=rCe()}),dZ=W((e,t)=>{m();var r=un(),o=wS(),s=o.base,i=o.bignum,n=o.constants.der;function a(h){this.enc="der",this.name=h.name,this.entity=h,this.tree=new u,this.tree._init(h.body)}t.exports=a,a.prototype.decode=function(h,y){return h instanceof s.DecoderBuffer||(h=new s.DecoderBuffer(h,y)),this.tree._decode(h,y)};function u(h){s.Node.call(this,"der",h)}r(u,s.Node),u.prototype._peekTag=function(h,y,C){if(h.isEmpty())return!1;var w=h.save(),T=c(h,'Failed to peek tag: "'+y+'"');return h.isError(T)?T:(h.restore(w),T.tag===y||T.tagStr===y||T.tagStr+"of"===y||C)},u.prototype._decodeTag=function(h,y,C){var w=c(h,'Failed to decode tag of "'+y+'"');if(h.isError(w))return w;var T=d(h,w.primitive,'Failed to get length of "'+y+'"');if(h.isError(T))return T;if(!C&&w.tag!==y&&w.tagStr!==y&&w.tagStr+"of"!==y)return h.error('Failed to match tag: "'+y+'"');if(w.primitive||T!==null)return h.skip(T,'Failed to match body of: "'+y+'"');var A=h.save(),O=this._skipUntilEnd(h,'Failed to skip indefinite length body: "'+this.tag+'"');return h.isError(O)?O:(T=h.offset-A.offset,h.restore(A),h.skip(T,'Failed to match body of: "'+y+'"'))},u.prototype._skipUntilEnd=function(h,y){for(;;){var C=c(h,y);if(h.isError(C))return C;var w=d(h,C.primitive,y);if(h.isError(w))return w;var T;if(C.primitive||w!==null?T=h.skip(w):T=this._skipUntilEnd(h,y),h.isError(T))return T;if(C.tagStr==="end")break}},u.prototype._decodeList=function(h,y,C,w){for(var T=[];!h.isEmpty();){var A=this._peekTag(h,"end");if(h.isError(A))return A;var O=C.decode(h,"der",w);if(h.isError(O)&&A)break;T.push(O)}return T},u.prototype._decodeStr=function(h,y){if(y==="bitstr"){var C=h.readUInt8();return h.isError(C)?C:{unused:C,data:h.raw()}}else if(y==="bmpstr"){var w=h.raw();if(w.length%2===1)return h.error("Decoding of string type: bmpstr length mismatch");for(var T="",A=0;A<w.length/2;A++)T+=String.fromCharCode(w.readUInt16BE(A*2));return T}else if(y==="numstr"){var O=h.raw().toString("ascii");return this._isNumstr(O)?O:h.error("Decoding of string type: numstr unsupported characters")}else{if(y==="octstr"||y==="objDesc")return h.raw();if(y==="printstr"){var v=h.raw().toString("ascii");return this._isPrintstr(v)?v:h.error("Decoding of string type: printstr unsupported characters")}else return/str$/.test(y)?h.raw().toString():h.error("Decoding of string type: "+y+" unsupported")}},u.prototype._decodeObjid=function(h,y,C){for(var w,T=[],A=0;!h.isEmpty();){var O=h.readUInt8();A<<=7,A|=O&127,O&128||(T.push(A),A=0)}O&128&&T.push(A);var v=T[0]/40|0,B=T[0]%40;if(C?w=T:w=[v,B].concat(T.slice(1)),y){var R=y[w.join(" ")];R===void 0&&(R=y[w.join(".")]),R!==void 0&&(w=R)}return w},u.prototype._decodeTime=function(h,y){var C=h.raw().toString();if(y==="gentime")var w=C.slice(0,4)|0,T=C.slice(4,6)|0,A=C.slice(6,8)|0,O=C.slice(8,10)|0,v=C.slice(10,12)|0,B=C.slice(12,14)|0;else if(y==="utctime"){var w=C.slice(0,2)|0,T=C.slice(2,4)|0,A=C.slice(4,6)|0,O=C.slice(6,8)|0,v=C.slice(8,10)|0,B=C.slice(10,12)|0;w<70?w=2e3+w:w=1900+w}else return h.error("Decoding "+y+" time is not supported yet");return Date.UTC(w,T-1,A,O,v,B,0)},u.prototype._decodeNull=function(h){return null},u.prototype._decodeBool=function(h){var y=h.readUInt8();return h.isError(y)?y:y!==0},u.prototype._decodeInt=function(h,y){var C=h.raw(),w=new i(C);return y&&(w=y[w.toString(10)]||w),w},u.prototype._use=function(h,y){return typeof h=="function"&&(h=h(y)),h._getDecoder("der").tree};function c(h,y){var C=h.readUInt8(y);if(h.isError(C))return C;var w=n.tagClass[C>>6],T=(C&32)===0;if((C&31)===31){var A=C;for(C=0;(A&128)===128;){if(A=h.readUInt8(y),h.isError(A))return A;C<<=7,C|=A&127}}else C&=31;var O=n.tag[C];return{cls:w,primitive:T,tag:C,tagStr:O}}function d(h,y,C){var w=h.readUInt8(C);if(h.isError(w))return w;if(!y&&w===128)return null;if(!(w&128))return w;var T=w&127;if(T>4)return h.error("length octect is too long");w=0;for(var A=0;A<T;A++){w<<=8;var O=h.readUInt8(C);if(h.isError(O))return O;w|=O}return w}}),lCe=W((e,t)=>{m();var r=un(),o=Go().Buffer,s=dZ();function i(n){s.call(this,n),this.enc="pem"}r(i,s),t.exports=i,i.prototype.decode=function(n,a){for(var u=n.toString().split(/[\r\n]+/g),c=a.label.toUpperCase(),d=/^-----(BEGIN|END) ([^-]+)-----$/,h=-1,y=-1,C=0;C<u.length;C++){var w=u[C].match(d);if(w!==null&&w[2]===c)if(h===-1){if(w[1]!=="BEGIN")break;h=C}else{if(w[1]!=="END")break;y=C;break}}if(h===-1||y===-1)throw new Error("PEM section not found for: "+c);var T=u.slice(h+1,y).join("");T.replace(/[^a-z0-9\+\/=]+/gi,"");var A=new o(T,"base64");return s.prototype.decode.call(this,A,a)}}),hCe=W(e=>{m();var t=e;t.der=dZ(),t.pem=lCe()}),yZ=W((e,t)=>{m();var r=un(),o=Go().Buffer,s=wS(),i=s.base,n=s.constants.der;function a(h){this.enc="der",this.name=h.name,this.entity=h,this.tree=new u,this.tree._init(h.body)}t.exports=a,a.prototype.encode=function(h,y){return this.tree._encode(h,y).join()};function u(h){i.Node.call(this,"der",h)}r(u,i.Node),u.prototype._encodeComposite=function(h,y,C,w){var T=d(h,y,C,this.reporter);if(w.length<128){var v=new o(2);return v[0]=T,v[1]=w.length,this._createEncoderBuffer([v,w])}for(var A=1,O=w.length;O>=256;O>>=8)A++;var v=new o(2+A);v[0]=T,v[1]=128|A;for(var O=1+A,B=w.length;B>0;O--,B>>=8)v[O]=B&255;return this._createEncoderBuffer([v,w])},u.prototype._encodeStr=function(h,y){if(y==="bitstr")return this._createEncoderBuffer([h.unused|0,h.data]);if(y==="bmpstr"){for(var C=new o(h.length*2),w=0;w<h.length;w++)C.writeUInt16BE(h.charCodeAt(w),w*2);return this._createEncoderBuffer(C)}else return y==="numstr"?this._isNumstr(h)?this._createEncoderBuffer(h):this.reporter.error("Encoding of string type: numstr supports only digits and space"):y==="printstr"?this._isPrintstr(h)?this._createEncoderBuffer(h):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(y)?this._createEncoderBuffer(h):y==="objDesc"?this._createEncoderBuffer(h):this.reporter.error("Encoding of string type: "+y+" unsupported")},u.prototype._encodeObjid=function(h,y,C){if(typeof h=="string"){if(!y)return this.reporter.error("string objid given, but no values map found");if(!y.hasOwnProperty(h))return this.reporter.error("objid not found in values map");h=y[h].split(/[\s\.]+/g);for(var w=0;w<h.length;w++)h[w]|=0}else if(Array.isArray(h)){h=h.slice();for(var w=0;w<h.length;w++)h[w]|=0}if(!Array.isArray(h))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(h));if(!C){if(h[1]>=40)return this.reporter.error("Second objid identifier OOB");h.splice(0,2,h[0]*40+h[1])}for(var T=0,w=0;w<h.length;w++){var A=h[w];for(T++;A>=128;A>>=7)T++}for(var O=new o(T),v=O.length-1,w=h.length-1;w>=0;w--){var A=h[w];for(O[v--]=A&127;(A>>=7)>0;)O[v--]=128|A&127}return this._createEncoderBuffer(O)};function c(h){return h<10?"0"+h:h}u.prototype._encodeTime=function(h,y){var C,w=new Date(h);return y==="gentime"?C=[c(w.getFullYear()),c(w.getUTCMonth()+1),c(w.getUTCDate()),c(w.getUTCHours()),c(w.getUTCMinutes()),c(w.getUTCSeconds()),"Z"].join(""):y==="utctime"?C=[c(w.getFullYear()%100),c(w.getUTCMonth()+1),c(w.getUTCDate()),c(w.getUTCHours()),c(w.getUTCMinutes()),c(w.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+y+" time is not supported yet"),this._encodeStr(C,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(h,y){if(typeof h=="string"){if(!y)return this.reporter.error("String int or enum given, but no values map");if(!y.hasOwnProperty(h))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(h));h=y[h]}if(typeof h!="number"&&!o.isBuffer(h)){var C=h.toArray();!h.sign&&C[0]&128&&C.unshift(0),h=new o(C)}if(o.isBuffer(h)){var w=h.length;h.length===0&&w++;var T=new o(w);return h.copy(T),h.length===0&&(T[0]=0),this._createEncoderBuffer(T)}if(h<128)return this._createEncoderBuffer(h);if(h<256)return this._createEncoderBuffer([0,h]);for(var w=1,A=h;A>=256;A>>=8)w++;for(var T=new Array(w),A=T.length-1;A>=0;A--)T[A]=h&255,h>>=8;return T[0]&128&&T.unshift(0),this._createEncoderBuffer(new o(T))},u.prototype._encodeBool=function(h){return this._createEncoderBuffer(h?255:0)},u.prototype._use=function(h,y){return typeof h=="function"&&(h=h(y)),h._getEncoder("der").tree},u.prototype._skipDefault=function(h,y,C){var w=this._baseState,T;if(w.default===null)return!1;var A=h.join();if(w.defaultBuffer===void 0&&(w.defaultBuffer=this._encodeValue(w.default,y,C).join()),A.length!==w.defaultBuffer.length)return!1;for(T=0;T<A.length;T++)if(A[T]!==w.defaultBuffer[T])return!1;return!0};function d(h,y,C,w){var T;if(h==="seqof"?h="seq":h==="setof"&&(h="set"),n.tagByName.hasOwnProperty(h))T=n.tagByName[h];else if(typeof h=="number"&&(h|0)===h)T=h;else return w.error("Unknown tag: "+h);return T>=31?w.error("Multi-octet tag encoding unsupported"):(y||(T|=32),T|=n.tagClassByName[C||"universal"]<<6,T)}}),vCe=W((e,t)=>{m();var r=un(),o=yZ();function s(i){o.call(this,i),this.enc="pem"}r(s,o),t.exports=s,s.prototype.encode=function(i,n){for(var a=o.prototype.encode.call(this,i),u=a.toString("base64"),c=["-----BEGIN "+n.label+"-----"],d=0;d<u.length;d+=64)c.push(u.slice(d,d+64));return c.push("-----END "+n.label+"-----"),c.join(`
`)}}),ACe=W(e=>{m();var t=e;t.der=yZ(),t.pem=vCe()}),wS=W(e=>{m();var t=e;t.bignum=q8e(),t.define=J8e().define,t.base=AS(),t.constants=uZ(),t.decoders=hCe(),t.encoders=ACe()}),ICe=W((e,t)=>{"use strict";m();var r=wS(),o=r.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),s=r.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),i=r.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),n=r.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(i),this.key("subjectPublicKey").bitstr())}),a=r.define("RelativeDistinguishedName",function(){this.setof(s)}),u=r.define("RDNSequence",function(){this.seqof(a)}),c=r.define("Name",function(){this.choice({rdnSequence:this.use(u)})}),d=r.define("Validity",function(){this.seq().obj(this.key("notBefore").use(o),this.key("notAfter").use(o))}),h=r.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),y=r.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(i),this.key("issuer").use(c),this.key("validity").use(d),this.key("subject").use(c),this.key("subjectPublicKeyInfo").use(n),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())}),C=r.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(y),this.key("signatureAlgorithm").use(i),this.key("signatureValue").bitstr())});t.exports=C}),PCe=W(e=>{"use strict";m();var t=wS();e.certificate=ICe();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 o=t.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});e.RSAPublicKey=o;var s=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())}),i=t.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())});e.PublicKey=i;var n=t.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())});e.PrivateKey=n;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 u=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=u,e.DSAparam=t.define("DSAparam",function(){this.int()});var c=t.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),d=t.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(c),this.key("publicKey").optional().explicit(1).bitstr())});e.ECPrivateKey=d,e.signature=t.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})}),BCe=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"}}),MCe=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,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,s=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,i=TI(),n=TD(),a=vn().Buffer;t.exports=function(u,c){var d=u.toString(),h=d.match(r),y;if(h){var C="aes"+h[1],w=a.from(h[2],"hex"),T=a.from(h[3].replace(/[\r\n]/g,""),"base64"),A=i(c,w.slice(0,8),parseInt(h[1],10)).key,O=[],v=n.createDecipheriv(C,A,w);O.push(v.update(T)),O.push(v.final()),y=a.concat(O)}else{var B=d.match(s);y=a.from(B[2].replace(/[\r\n]/g,""),"base64")}var R=d.match(o)[1];return{tag:R,data:y}}}),KI=W((e,t)=>{"use strict";m();var r=PCe(),o=BCe(),s=MCe(),i=TD(),n=LY(),a=vn().Buffer;function u(d,h){var y=d.algorithm.decrypt.kde.kdeparams.salt,C=parseInt(d.algorithm.decrypt.kde.kdeparams.iters.toString(),10),w=o[d.algorithm.decrypt.cipher.algo.join(".")],T=d.algorithm.decrypt.cipher.iv,A=d.subjectPrivateKey,O=parseInt(w.split("-")[1],10)/8,v=n.pbkdf2Sync(h,y,C,O,"sha1"),B=i.createDecipheriv(w,v,T),R=[];return R.push(B.update(A)),R.push(B.final()),a.concat(R)}function c(d){var h;typeof d=="object"&&!a.isBuffer(d)&&(h=d.passphrase,d=d.key),typeof d=="string"&&(d=a.from(d));var y=s(d,h),C=y.tag,w=y.data,T,A;switch(C){case"CERTIFICATE":A=r.certificate.decode(w,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(A||(A=r.PublicKey.decode(w,"der")),T=A.algorithm.algorithm.join("."),T){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(A.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return A.subjectPrivateKey=A.subjectPublicKey,{type:"ec",data:A};case"1.2.840.10040.4.1":return A.algorithm.params.pub_key=r.DSAparam.decode(A.subjectPublicKey.data,"der"),{type:"dsa",data:A.algorithm.params};default:throw new Error("unknown key id "+T)}case"ENCRYPTED PRIVATE KEY":w=r.EncryptedPrivateKey.decode(w,"der"),w=u(w,h);case"PRIVATE KEY":switch(A=r.PrivateKey.decode(w,"der"),T=A.algorithm.algorithm.join("."),T){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(A.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:A.algorithm.curve,privateKey:r.ECPrivateKey.decode(A.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return A.algorithm.params.priv_key=r.DSAparam.decode(A.subjectPrivateKey,"der"),{type:"dsa",params:A.algorithm.params};default:throw new Error("unknown key id "+T)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(w,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(w,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(w,"der")};case"EC PRIVATE KEY":return w=r.ECPrivateKey.decode(w,"der"),{curve:w.parameters.value,privateKey:w.privateKey};default:throw new Error("unknown key type "+C)}}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"}}),UCe=W((e,t)=>{"use strict";m();var r=vn().Buffer,o=OY(),s=WD(),i=nU().ec,n=sS(),a=KI(),u=xZ(),c=1;function d(B,R,U,N,_){var L=a(R);if(L.curve){if(N!=="ecdsa"&&N!=="ecdsa/rsa")throw new Error("wrong private key type");return h(B,L)}else if(L.type==="dsa"){if(N!=="dsa")throw new Error("wrong private key type");return y(B,L,U)}if(N!=="rsa"&&N!=="ecdsa/rsa")throw new Error("wrong private key type");if(R.padding!==void 0&&R.padding!==c)throw new Error("illegal or unsupported padding mode");B=r.concat([_,B]);for(var H=L.modulus.byteLength(),F=[0,1];B.length+F.length+1<H;)F.push(255);F.push(0);for(var G=-1;++G<B.length;)F.push(B[G]);var l=s(F,L);return l}function h(B,R){var U=u[R.curve.join(".")];if(!U)throw new Error("unknown curve "+R.curve.join("."));var N=new i(U),_=N.keyFromPrivate(R.privateKey),L=_.sign(B);return r.from(L.toDER())}function y(B,R,U){for(var N=R.params.priv_key,_=R.params.p,L=R.params.q,H=R.params.g,F=new n(0),G,l=T(B,L).mod(L),p=!1,E=w(N,L,B,U);p===!1;)G=O(L,E,U),F=v(H,G,_,L),p=G.invm(L).imul(l.add(N.mul(F))).mod(L),p.cmpn(0)===0&&(p=!1,F=new n(0));return C(F,p)}function C(B,R){B=B.toArray(),R=R.toArray(),B[0]&128&&(B=[0].concat(B)),R[0]&128&&(R=[0].concat(R));var U=B.length+R.length+4,N=[48,U,2,B.length];return N=N.concat(B,[2,R.length],R),r.from(N)}function w(B,R,U,N){if(B=r.from(B.toArray()),B.length<R.byteLength()){var _=r.alloc(R.byteLength()-B.length);B=r.concat([_,B])}var L=U.length,H=A(U,R),F=r.alloc(L);F.fill(1);var G=r.alloc(L);return G=o(N,G).update(F).update(r.from([0])).update(B).update(H).digest(),F=o(N,G).update(F).digest(),G=o(N,G).update(F).update(r.from([1])).update(B).update(H).digest(),F=o(N,G).update(F).digest(),{k:G,v:F}}function T(B,R){var U=new n(B),N=(B.length<<3)-R.bitLength();return N>0&&U.ishrn(N),U}function A(B,R){B=T(B,R),B=B.mod(R);var U=r.from(B.toArray());if(U.length<R.byteLength()){var N=r.alloc(R.byteLength()-U.length);U=r.concat([N,U])}return U}function O(B,R,U){var N,_;do{for(N=r.alloc(0);N.length*8<B.bitLength();)R.v=o(U,R.k).update(R.v).digest(),N=r.concat([N,R.v]);_=T(N,B),R.k=o(U,R.k).update(R.v).update(r.from([0])).digest(),R.v=o(U,R.k).update(R.v).digest()}while(_.cmp(B)!==-1);return _}function v(B,R,U,N){return B.toRed(n.mont(U)).redPow(R).fromRed().mod(N)}t.exports=d,t.exports.getKey=w,t.exports.makeKey=O}),zCe=W((e,t)=>{"use strict";m();var r=vn().Buffer,o=sS(),s=nU().ec,i=KI(),n=xZ();function a(h,y,C,w,T){var A=i(C);if(A.type==="ec"){if(w!=="ecdsa"&&w!=="ecdsa/rsa")throw new Error("wrong public key type");return u(h,y,A)}else if(A.type==="dsa"){if(w!=="dsa")throw new Error("wrong public key type");return c(h,y,A)}if(w!=="rsa"&&w!=="ecdsa/rsa")throw new Error("wrong public key type");y=r.concat([T,y]);for(var O=A.modulus.byteLength(),v=[1],B=0;y.length+v.length+2<O;)v.push(255),B+=1;v.push(0);for(var R=-1;++R<y.length;)v.push(y[R]);v=r.from(v);var U=o.mont(A.modulus);h=new o(h).toRed(U),h=h.redPow(new o(A.publicExponent)),h=r.from(h.fromRed().toArray());var N=B<8?1:0;for(O=Math.min(h.length,v.length),h.length!==v.length&&(N=1),R=-1;++R<O;)N|=h[R]^v[R];return N===0}function u(h,y,C){var w=n[C.data.algorithm.curve.join(".")];if(!w)throw new Error("unknown curve "+C.data.algorithm.curve.join("."));var T=new s(w),A=C.data.subjectPrivateKey.data;return T.verify(y,h,A)}function c(h,y,C){var w=C.data.p,T=C.data.q,A=C.data.g,O=C.data.pub_key,v=i.signature.decode(h,"der"),B=v.s,R=v.r;d(B,T),d(R,T);var U=o.mont(w),N=B.invm(T),_=A.toRed(U).redPow(new o(y).mul(N).mod(T)).fromRed().mul(O.toRed(U).redPow(R.mul(N).mod(T)).fromRed()).mod(w).mod(T);return _.cmp(R)===0}function d(h,y){if(h.cmpn(0)<=0)throw new Error("invalid sig");if(h.cmp(y)>=0)throw new Error("invalid sig")}t.exports=a}),VCe=W((e,t)=>{"use strict";m();var r=vn().Buffer,o=VT(),s=p4e(),i=un(),n=UCe(),a=zCe(),u=PY();Object.keys(u).forEach(function(C){u[C].id=r.from(u[C].id,"hex"),u[C.toLowerCase()]=u[C]});function c(C){s.Writable.call(this);var w=u[C];if(!w)throw new Error("Unknown message digest");this._hashType=w.hash,this._hash=o(w.hash),this._tag=w.id,this._signType=w.sign}i(c,s.Writable),c.prototype._write=function(C,w,T){this._hash.update(C),T()},c.prototype.update=function(C,w){return this._hash.update(typeof C=="string"?r.from(C,w):C),this},c.prototype.sign=function(C,w){this.end();var T=this._hash.digest(),A=n(T,C,this._hashType,this._signType,this._tag);return w?A.toString(w):A};function d(C){s.Writable.call(this);var w=u[C];if(!w)throw new Error("Unknown message digest");this._hash=o(w.hash),this._tag=w.id,this._signType=w.sign}i(d,s.Writable),d.prototype._write=function(C,w,T){this._hash.update(C),T()},d.prototype.update=function(C,w){return this._hash.update(typeof C=="string"?r.from(C,w):C),this},d.prototype.verify=function(C,w,T){var A=typeof w=="string"?r.from(w,T):w;this.end();var O=this._hash.digest();return a(A,O,C,this._signType,this._tag)};function h(C){return new c(C)}function y(C){return new d(C)}t.exports={Sign:h,Verify:y,createSign:h,createVerify:y}}),XCe=W((e,t)=>{m(),(function(r,o){"use strict";function s(l,p){if(!l)throw new Error(p||"Assertion failed")}function i(l,p){l.super_=p;var E=function(){};E.prototype=p.prototype,l.prototype=new E,l.prototype.constructor=l}function n(l,p,E){if(n.isBN(l))return l;this.negative=0,this.words=null,this.length=0,this.red=null,l!==null&&((p==="le"||p==="be")&&(E=p,p=10),this._init(l||0,p||10,E||"be"))}typeof r=="object"?r.exports=n:o.BN=n,n.BN=n,n.wordSize=26;var a;try{typeof window<"u"&&typeof window.Buffer<"u"?a=window.Buffer:a=Go().Buffer}catch{}n.isBN=function(l){return l instanceof n?!0:l!==null&&typeof l=="object"&&l.constructor.wordSize===n.wordSize&&Array.isArray(l.words)},n.max=function(l,p){return l.cmp(p)>0?l:p},n.min=function(l,p){return l.cmp(p)<0?l:p},n.prototype._init=function(l,p,E){if(typeof l=="number")return this._initNumber(l,p,E);if(typeof l=="object")return this._initArray(l,p,E);p==="hex"&&(p=16),s(p===(p|0)&&p>=2&&p<=36),l=l.toString().replace(/\s+/g,"");var g=0;l[0]==="-"&&(g++,this.negative=1),g<l.length&&(p===16?this._parseHex(l,g,E):(this._parseBase(l,p,g),E==="le"&&this._initArray(this.toArray(),p,E)))},n.prototype._initNumber=function(l,p,E){l<0&&(this.negative=1,l=-l),l<67108864?(this.words=[l&67108863],this.length=1):l<4503599627370496?(this.words=[l&67108863,l/67108864&67108863],this.length=2):(s(l<9007199254740992),this.words=[l&67108863,l/67108864&67108863,1],this.length=3),E==="le"&&this._initArray(this.toArray(),p,E)},n.prototype._initArray=function(l,p,E){if(s(typeof l.length=="number"),l.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(l.length/3),this.words=new Array(this.length);for(var g=0;g<this.length;g++)this.words[g]=0;var b,k,x=0;if(E==="be")for(g=l.length-1,b=0;g>=0;g-=3)k=l[g]|l[g-1]<<8|l[g-2]<<16,this.words[b]|=k<<x&67108863,this.words[b+1]=k>>>26-x&67108863,x+=24,x>=26&&(x-=26,b++);else if(E==="le")for(g=0,b=0;g<l.length;g+=3)k=l[g]|l[g+1]<<8|l[g+2]<<16,this.words[b]|=k<<x&67108863,this.words[b+1]=k>>>26-x&67108863,x+=24,x>=26&&(x-=26,b++);return this.strip()};function u(l,p){var E=l.charCodeAt(p);return E>=65&&E<=70?E-55:E>=97&&E<=102?E-87:E-48&15}function c(l,p,E){var g=u(l,E);return E-1>=p&&(g|=u(l,E-1)<<4),g}n.prototype._parseHex=function(l,p,E){this.length=Math.ceil((l.length-p)/6),this.words=new Array(this.length);for(var g=0;g<this.length;g++)this.words[g]=0;var b=0,k=0,x;if(E==="be")for(g=l.length-1;g>=p;g-=2)x=c(l,p,g)<<b,this.words[k]|=x&67108863,b>=18?(b-=18,k+=1,this.words[k]|=x>>>26):b+=8;else{var S=l.length-p;for(g=S%2===0?p+1:p;g<l.length;g+=2)x=c(l,p,g)<<b,this.words[k]|=x&67108863,b>=18?(b-=18,k+=1,this.words[k]|=x>>>26):b+=8}this.strip()};function d(l,p,E,g){for(var b=0,k=Math.min(l.length,E),x=p;x<k;x++){var S=l.charCodeAt(x)-48;b*=g,S>=49?b+=S-49+10:S>=17?b+=S-17+10:b+=S}return b}n.prototype._parseBase=function(l,p,E){this.words=[0],this.length=1;for(var g=0,b=1;b<=67108863;b*=p)g++;g--,b=b/p|0;for(var k=l.length-E,x=k%g,S=Math.min(k,k-x)+E,f=0,M=E;M<S;M+=g)f=d(l,M,M+g,p),this.imuln(b),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if(x!==0){var V=1;for(f=d(l,M,l.length,p),M=0;M<x;M++)V*=p;this.imuln(V),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}this.strip()},n.prototype.copy=function(l){l.words=new Array(this.length);for(var p=0;p<this.length;p++)l.words[p]=this.words[p];l.length=this.length,l.negative=this.negative,l.red=this.red},n.prototype.clone=function(){var l=new n(null);return this.copy(l),l},n.prototype._expand=function(l){for(;this.length<l;)this.words[this.length++]=0;return this},n.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},n.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},n.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var h=["","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"],y=[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],C=[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];n.prototype.toString=function(l,p){l=l||10,p=p|0||1;var E;if(l===16||l==="hex"){E="";for(var g=0,b=0,k=0;k<this.length;k++){var x=this.words[k],S=((x<<g|b)&16777215).toString(16);b=x>>>24-g&16777215,g+=2,g>=26&&(g-=26,k--),b!==0||k!==this.length-1?E=h[6-S.length]+S+E:E=S+E}for(b!==0&&(E=b.toString(16)+E);E.length%p!==0;)E="0"+E;return this.negative!==0&&(E="-"+E),E}if(l===(l|0)&&l>=2&&l<=36){var f=y[l],M=C[l];E="";var V=this.clone();for(V.negative=0;!V.isZero();){var D=V.modn(M).toString(l);V=V.idivn(M),V.isZero()?E=D+E:E=h[f-D.length]+D+E}for(this.isZero()&&(E="0"+E);E.length%p!==0;)E="0"+E;return this.negative!==0&&(E="-"+E),E}s(!1,"Base should be between 2 and 36")},n.prototype.toNumber=function(){var l=this.words[0];return this.length===2?l+=this.words[1]*67108864:this.length===3&&this.words[2]===1?l+=4503599627370496+this.words[1]*67108864:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-l:l},n.prototype.toJSON=function(){return this.toString(16)},n.prototype.toBuffer=function(l,p){return s(typeof a<"u"),this.toArrayLike(a,l,p)},n.prototype.toArray=function(l,p){return this.toArrayLike(Array,l,p)},n.prototype.toArrayLike=function(l,p,E){var g=this.byteLength(),b=E||Math.max(1,g);s(g<=b,"byte array longer than desired length"),s(b>0,"Requested array length <= 0"),this.strip();var k=p==="le",x=new l(b),S,f,M=this.clone();if(k){for(f=0;!M.isZero();f++)S=M.andln(255),M.iushrn(8),x[f]=S;for(;f<b;f++)x[f]=0}else{for(f=0;f<b-g;f++)x[f]=0;for(f=0;!M.isZero();f++)S=M.andln(255),M.iushrn(8),x[b-f-1]=S}return x},Math.clz32?n.prototype._countBits=function(l){return 32-Math.clz32(l)}:n.prototype._countBits=function(l){var p=l,E=0;return p>=4096&&(E+=13,p>>>=13),p>=64&&(E+=7,p>>>=7),p>=8&&(E+=4,p>>>=4),p>=2&&(E+=2,p>>>=2),E+p},n.prototype._zeroBits=function(l){if(l===0)return 26;var p=l,E=0;return p&8191||(E+=13,p>>>=13),p&127||(E+=7,p>>>=7),p&15||(E+=4,p>>>=4),p&3||(E+=2,p>>>=2),p&1||E++,E},n.prototype.bitLength=function(){var l=this.words[this.length-1],p=this._countBits(l);return(this.length-1)*26+p};function w(l){for(var p=new Array(l.bitLength()),E=0;E<p.length;E++){var g=E/26|0,b=E%26;p[E]=(l.words[g]&1<<b)>>>b}return p}n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var l=0,p=0;p<this.length;p++){var E=this._zeroBits(this.words[p]);if(l+=E,E!==26)break}return l},n.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},n.prototype.toTwos=function(l){return this.negative!==0?this.abs().inotn(l).iaddn(1):this.clone()},n.prototype.fromTwos=function(l){return this.testn(l-1)?this.notn(l).iaddn(1).ineg():this.clone()},n.prototype.isNeg=function(){return this.negative!==0},n.prototype.neg=function(){return this.clone().ineg()},n.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},n.prototype.iuor=function(l){for(;this.length<l.length;)this.words[this.length++]=0;for(var p=0;p<l.length;p++)this.words[p]=this.words[p]|l.words[p];return this.strip()},n.prototype.ior=function(l){return s((this.negative|l.negative)===0),this.iuor(l)},n.prototype.or=function(l){return this.length>l.length?this.clone().ior(l):l.clone().ior(this)},n.prototype.uor=function(l){return this.length>l.length?this.clone().iuor(l):l.clone().iuor(this)},n.prototype.iuand=function(l){var p;this.length>l.length?p=l:p=this;for(var E=0;E<p.length;E++)this.words[E]=this.words[E]&l.words[E];return this.length=p.length,this.strip()},n.prototype.iand=function(l){return s((this.negative|l.negative)===0),this.iuand(l)},n.prototype.and=function(l){return this.length>l.length?this.clone().iand(l):l.clone().iand(this)},n.prototype.uand=function(l){return this.length>l.length?this.clone().iuand(l):l.clone().iuand(this)},n.prototype.iuxor=function(l){var p,E;this.length>l.length?(p=this,E=l):(p=l,E=this);for(var g=0;g<E.length;g++)this.words[g]=p.words[g]^E.words[g];if(this!==p)for(;g<p.length;g++)this.words[g]=p.words[g];return this.length=p.length,this.strip()},n.prototype.ixor=function(l){return s((this.negative|l.negative)===0),this.iuxor(l)},n.prototype.xor=function(l){return this.length>l.length?this.clone().ixor(l):l.clone().ixor(this)},n.prototype.uxor=function(l){return this.length>l.length?this.clone().iuxor(l):l.clone().iuxor(this)},n.prototype.inotn=function(l){s(typeof l=="number"&&l>=0);var p=Math.ceil(l/26)|0,E=l%26;this._expand(p),E>0&&p--;for(var g=0;g<p;g++)this.words[g]=~this.words[g]&67108863;return E>0&&(this.words[g]=~this.words[g]&67108863>>26-E),this.strip()},n.prototype.notn=function(l){return this.clone().inotn(l)},n.prototype.setn=function(l,p){s(typeof l=="number"&&l>=0);var E=l/26|0,g=l%26;return this._expand(E+1),p?this.words[E]=this.words[E]|1<<g:this.words[E]=this.words[E]&~(1<<g),this.strip()},n.prototype.iadd=function(l){var p;if(this.negative!==0&&l.negative===0)return this.negative=0,p=this.isub(l),this.negative^=1,this._normSign();if(this.negative===0&&l.negative!==0)return l.negative=0,p=this.isub(l),l.negative=1,p._normSign();var E,g;this.length>l.length?(E=this,g=l):(E=l,g=this);for(var b=0,k=0;k<g.length;k++)p=(E.words[k]|0)+(g.words[k]|0)+b,this.words[k]=p&67108863,b=p>>>26;for(;b!==0&&k<E.length;k++)p=(E.words[k]|0)+b,this.words[k]=p&67108863,b=p>>>26;if(this.length=E.length,b!==0)this.words[this.length]=b,this.length++;else if(E!==this)for(;k<E.length;k++)this.words[k]=E.words[k];return this},n.prototype.add=function(l){var p;return l.negative!==0&&this.negative===0?(l.negative=0,p=this.sub(l),l.negative^=1,p):l.negative===0&&this.negative!==0?(this.negative=0,p=l.sub(this),this.negative=1,p):this.length>l.length?this.clone().iadd(l):l.clone().iadd(this)},n.prototype.isub=function(l){if(l.negative!==0){l.negative=0;var p=this.iadd(l);return l.negative=1,p._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(l),this.negative=1,this._normSign();var E=this.cmp(l);if(E===0)return this.negative=0,this.length=1,this.words[0]=0,this;var g,b;E>0?(g=this,b=l):(g=l,b=this);for(var k=0,x=0;x<b.length;x++)p=(g.words[x]|0)-(b.words[x]|0)+k,k=p>>26,this.words[x]=p&67108863;for(;k!==0&&x<g.length;x++)p=(g.words[x]|0)+k,k=p>>26,this.words[x]=p&67108863;if(k===0&&x<g.length&&g!==this)for(;x<g.length;x++)this.words[x]=g.words[x];return this.length=Math.max(this.length,x),g!==this&&(this.negative=1),this.strip()},n.prototype.sub=function(l){return this.clone().isub(l)};function T(l,p,E){E.negative=p.negative^l.negative;var g=l.length+p.length|0;E.length=g,g=g-1|0;var b=l.words[0]|0,k=p.words[0]|0,x=b*k,S=x&67108863,f=x/67108864|0;E.words[0]=S;for(var M=1;M<g;M++){for(var V=f>>>26,D=f&67108863,j=Math.min(M,p.length-1),Y=Math.max(0,M-l.length+1);Y<=j;Y++){var oe=M-Y|0;b=l.words[oe]|0,k=p.words[Y]|0,x=b*k+D,V+=x/67108864|0,D=x&67108863}E.words[M]=D|0,f=V|0}return f!==0?E.words[M]=f|0:E.length--,E.strip()}var A=function(l,p,E){var g=l.words,b=p.words,k=E.words,x=0,S,f,M,V=g[0]|0,D=V&8191,j=V>>>13,Y=g[1]|0,oe=Y&8191,de=Y>>>13,ue=g[2]|0,ae=ue&8191,q=ue>>>13,ne=g[3]|0,me=ne&8191,ve=ne>>>13,ge=g[4]|0,ce=ge&8191,ee=ge>>>13,fe=g[5]|0,ie=fe&8191,re=fe>>>13,Oe=g[6]|0,Pe=Oe&8191,Ne=Oe>>>13,Xe=g[7]|0,Je=Xe&8191,ft=Xe>>>13,Kt=g[8]|0,wt=Kt&8191,Ie=Kt>>>13,it=g[9]|0,Ye=it&8191,et=it>>>13,Gt=b[0]|0,It=Gt&8191,Rt=Gt>>>13,_r=b[1]|0,jt=_r&8191,Fe=_r>>>13,Pr=b[2]|0,$t=Pr&8191,Qt=Pr>>>13,At=b[3]|0,ur=At&8191,tr=At>>>13,Vt=b[4]|0,bt=Vt&8191,kt=Vt>>>13,er=b[5]|0,Et=er&8191,qt=er>>>13,Hr=b[6]|0,_t=Hr&8191,Wt=Hr>>>13,qr=b[7]|0,Ce=qr&8191,_e=qr>>>13,Ze=b[8]|0,he=Ze&8191,Ke=Ze>>>13,Ht=b[9]|0,yt=Ht&8191,Ot=Ht>>>13;E.negative=l.negative^p.negative,E.length=19,S=Math.imul(D,It),f=Math.imul(D,Rt),f=f+Math.imul(j,It)|0,M=Math.imul(j,Rt);var hr=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(hr>>>26)|0,hr&=67108863,S=Math.imul(oe,It),f=Math.imul(oe,Rt),f=f+Math.imul(de,It)|0,M=Math.imul(de,Rt),S=S+Math.imul(D,jt)|0,f=f+Math.imul(D,Fe)|0,f=f+Math.imul(j,jt)|0,M=M+Math.imul(j,Fe)|0;var Br=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Br>>>26)|0,Br&=67108863,S=Math.imul(ae,It),f=Math.imul(ae,Rt),f=f+Math.imul(q,It)|0,M=Math.imul(q,Rt),S=S+Math.imul(oe,jt)|0,f=f+Math.imul(oe,Fe)|0,f=f+Math.imul(de,jt)|0,M=M+Math.imul(de,Fe)|0,S=S+Math.imul(D,$t)|0,f=f+Math.imul(D,Qt)|0,f=f+Math.imul(j,$t)|0,M=M+Math.imul(j,Qt)|0;var Er=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Er>>>26)|0,Er&=67108863,S=Math.imul(me,It),f=Math.imul(me,Rt),f=f+Math.imul(ve,It)|0,M=Math.imul(ve,Rt),S=S+Math.imul(ae,jt)|0,f=f+Math.imul(ae,Fe)|0,f=f+Math.imul(q,jt)|0,M=M+Math.imul(q,Fe)|0,S=S+Math.imul(oe,$t)|0,f=f+Math.imul(oe,Qt)|0,f=f+Math.imul(de,$t)|0,M=M+Math.imul(de,Qt)|0,S=S+Math.imul(D,ur)|0,f=f+Math.imul(D,tr)|0,f=f+Math.imul(j,ur)|0,M=M+Math.imul(j,tr)|0;var Qe=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,S=Math.imul(ce,It),f=Math.imul(ce,Rt),f=f+Math.imul(ee,It)|0,M=Math.imul(ee,Rt),S=S+Math.imul(me,jt)|0,f=f+Math.imul(me,Fe)|0,f=f+Math.imul(ve,jt)|0,M=M+Math.imul(ve,Fe)|0,S=S+Math.imul(ae,$t)|0,f=f+Math.imul(ae,Qt)|0,f=f+Math.imul(q,$t)|0,M=M+Math.imul(q,Qt)|0,S=S+Math.imul(oe,ur)|0,f=f+Math.imul(oe,tr)|0,f=f+Math.imul(de,ur)|0,M=M+Math.imul(de,tr)|0,S=S+Math.imul(D,bt)|0,f=f+Math.imul(D,kt)|0,f=f+Math.imul(j,bt)|0,M=M+Math.imul(j,kt)|0;var mt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(mt>>>26)|0,mt&=67108863,S=Math.imul(ie,It),f=Math.imul(ie,Rt),f=f+Math.imul(re,It)|0,M=Math.imul(re,Rt),S=S+Math.imul(ce,jt)|0,f=f+Math.imul(ce,Fe)|0,f=f+Math.imul(ee,jt)|0,M=M+Math.imul(ee,Fe)|0,S=S+Math.imul(me,$t)|0,f=f+Math.imul(me,Qt)|0,f=f+Math.imul(ve,$t)|0,M=M+Math.imul(ve,Qt)|0,S=S+Math.imul(ae,ur)|0,f=f+Math.imul(ae,tr)|0,f=f+Math.imul(q,ur)|0,M=M+Math.imul(q,tr)|0,S=S+Math.imul(oe,bt)|0,f=f+Math.imul(oe,kt)|0,f=f+Math.imul(de,bt)|0,M=M+Math.imul(de,kt)|0,S=S+Math.imul(D,Et)|0,f=f+Math.imul(D,qt)|0,f=f+Math.imul(j,Et)|0,M=M+Math.imul(j,qt)|0;var Ue=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Ue>>>26)|0,Ue&=67108863,S=Math.imul(Pe,It),f=Math.imul(Pe,Rt),f=f+Math.imul(Ne,It)|0,M=Math.imul(Ne,Rt),S=S+Math.imul(ie,jt)|0,f=f+Math.imul(ie,Fe)|0,f=f+Math.imul(re,jt)|0,M=M+Math.imul(re,Fe)|0,S=S+Math.imul(ce,$t)|0,f=f+Math.imul(ce,Qt)|0,f=f+Math.imul(ee,$t)|0,M=M+Math.imul(ee,Qt)|0,S=S+Math.imul(me,ur)|0,f=f+Math.imul(me,tr)|0,f=f+Math.imul(ve,ur)|0,M=M+Math.imul(ve,tr)|0,S=S+Math.imul(ae,bt)|0,f=f+Math.imul(ae,kt)|0,f=f+Math.imul(q,bt)|0,M=M+Math.imul(q,kt)|0,S=S+Math.imul(oe,Et)|0,f=f+Math.imul(oe,qt)|0,f=f+Math.imul(de,Et)|0,M=M+Math.imul(de,qt)|0,S=S+Math.imul(D,_t)|0,f=f+Math.imul(D,Wt)|0,f=f+Math.imul(j,_t)|0,M=M+Math.imul(j,Wt)|0;var Ge=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,S=Math.imul(Je,It),f=Math.imul(Je,Rt),f=f+Math.imul(ft,It)|0,M=Math.imul(ft,Rt),S=S+Math.imul(Pe,jt)|0,f=f+Math.imul(Pe,Fe)|0,f=f+Math.imul(Ne,jt)|0,M=M+Math.imul(Ne,Fe)|0,S=S+Math.imul(ie,$t)|0,f=f+Math.imul(ie,Qt)|0,f=f+Math.imul(re,$t)|0,M=M+Math.imul(re,Qt)|0,S=S+Math.imul(ce,ur)|0,f=f+Math.imul(ce,tr)|0,f=f+Math.imul(ee,ur)|0,M=M+Math.imul(ee,tr)|0,S=S+Math.imul(me,bt)|0,f=f+Math.imul(me,kt)|0,f=f+Math.imul(ve,bt)|0,M=M+Math.imul(ve,kt)|0,S=S+Math.imul(ae,Et)|0,f=f+Math.imul(ae,qt)|0,f=f+Math.imul(q,Et)|0,M=M+Math.imul(q,qt)|0,S=S+Math.imul(oe,_t)|0,f=f+Math.imul(oe,Wt)|0,f=f+Math.imul(de,_t)|0,M=M+Math.imul(de,Wt)|0,S=S+Math.imul(D,Ce)|0,f=f+Math.imul(D,_e)|0,f=f+Math.imul(j,Ce)|0,M=M+Math.imul(j,_e)|0;var Me=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Me>>>26)|0,Me&=67108863,S=Math.imul(wt,It),f=Math.imul(wt,Rt),f=f+Math.imul(Ie,It)|0,M=Math.imul(Ie,Rt),S=S+Math.imul(Je,jt)|0,f=f+Math.imul(Je,Fe)|0,f=f+Math.imul(ft,jt)|0,M=M+Math.imul(ft,Fe)|0,S=S+Math.imul(Pe,$t)|0,f=f+Math.imul(Pe,Qt)|0,f=f+Math.imul(Ne,$t)|0,M=M+Math.imul(Ne,Qt)|0,S=S+Math.imul(ie,ur)|0,f=f+Math.imul(ie,tr)|0,f=f+Math.imul(re,ur)|0,M=M+Math.imul(re,tr)|0,S=S+Math.imul(ce,bt)|0,f=f+Math.imul(ce,kt)|0,f=f+Math.imul(ee,bt)|0,M=M+Math.imul(ee,kt)|0,S=S+Math.imul(me,Et)|0,f=f+Math.imul(me,qt)|0,f=f+Math.imul(ve,Et)|0,M=M+Math.imul(ve,qt)|0,S=S+Math.imul(ae,_t)|0,f=f+Math.imul(ae,Wt)|0,f=f+Math.imul(q,_t)|0,M=M+Math.imul(q,Wt)|0,S=S+Math.imul(oe,Ce)|0,f=f+Math.imul(oe,_e)|0,f=f+Math.imul(de,Ce)|0,M=M+Math.imul(de,_e)|0,S=S+Math.imul(D,he)|0,f=f+Math.imul(D,Ke)|0,f=f+Math.imul(j,he)|0,M=M+Math.imul(j,Ke)|0;var ze=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ze>>>26)|0,ze&=67108863,S=Math.imul(Ye,It),f=Math.imul(Ye,Rt),f=f+Math.imul(et,It)|0,M=Math.imul(et,Rt),S=S+Math.imul(wt,jt)|0,f=f+Math.imul(wt,Fe)|0,f=f+Math.imul(Ie,jt)|0,M=M+Math.imul(Ie,Fe)|0,S=S+Math.imul(Je,$t)|0,f=f+Math.imul(Je,Qt)|0,f=f+Math.imul(ft,$t)|0,M=M+Math.imul(ft,Qt)|0,S=S+Math.imul(Pe,ur)|0,f=f+Math.imul(Pe,tr)|0,f=f+Math.imul(Ne,ur)|0,M=M+Math.imul(Ne,tr)|0,S=S+Math.imul(ie,bt)|0,f=f+Math.imul(ie,kt)|0,f=f+Math.imul(re,bt)|0,M=M+Math.imul(re,kt)|0,S=S+Math.imul(ce,Et)|0,f=f+Math.imul(ce,qt)|0,f=f+Math.imul(ee,Et)|0,M=M+Math.imul(ee,qt)|0,S=S+Math.imul(me,_t)|0,f=f+Math.imul(me,Wt)|0,f=f+Math.imul(ve,_t)|0,M=M+Math.imul(ve,Wt)|0,S=S+Math.imul(ae,Ce)|0,f=f+Math.imul(ae,_e)|0,f=f+Math.imul(q,Ce)|0,M=M+Math.imul(q,_e)|0,S=S+Math.imul(oe,he)|0,f=f+Math.imul(oe,Ke)|0,f=f+Math.imul(de,he)|0,M=M+Math.imul(de,Ke)|0,S=S+Math.imul(D,yt)|0,f=f+Math.imul(D,Ot)|0,f=f+Math.imul(j,yt)|0,M=M+Math.imul(j,Ot)|0;var Le=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Le>>>26)|0,Le&=67108863,S=Math.imul(Ye,jt),f=Math.imul(Ye,Fe),f=f+Math.imul(et,jt)|0,M=Math.imul(et,Fe),S=S+Math.imul(wt,$t)|0,f=f+Math.imul(wt,Qt)|0,f=f+Math.imul(Ie,$t)|0,M=M+Math.imul(Ie,Qt)|0,S=S+Math.imul(Je,ur)|0,f=f+Math.imul(Je,tr)|0,f=f+Math.imul(ft,ur)|0,M=M+Math.imul(ft,tr)|0,S=S+Math.imul(Pe,bt)|0,f=f+Math.imul(Pe,kt)|0,f=f+Math.imul(Ne,bt)|0,M=M+Math.imul(Ne,kt)|0,S=S+Math.imul(ie,Et)|0,f=f+Math.imul(ie,qt)|0,f=f+Math.imul(re,Et)|0,M=M+Math.imul(re,qt)|0,S=S+Math.imul(ce,_t)|0,f=f+Math.imul(ce,Wt)|0,f=f+Math.imul(ee,_t)|0,M=M+Math.imul(ee,Wt)|0,S=S+Math.imul(me,Ce)|0,f=f+Math.imul(me,_e)|0,f=f+Math.imul(ve,Ce)|0,M=M+Math.imul(ve,_e)|0,S=S+Math.imul(ae,he)|0,f=f+Math.imul(ae,Ke)|0,f=f+Math.imul(q,he)|0,M=M+Math.imul(q,Ke)|0,S=S+Math.imul(oe,yt)|0,f=f+Math.imul(oe,Ot)|0,f=f+Math.imul(de,yt)|0,M=M+Math.imul(de,Ot)|0;var rt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(rt>>>26)|0,rt&=67108863,S=Math.imul(Ye,$t),f=Math.imul(Ye,Qt),f=f+Math.imul(et,$t)|0,M=Math.imul(et,Qt),S=S+Math.imul(wt,ur)|0,f=f+Math.imul(wt,tr)|0,f=f+Math.imul(Ie,ur)|0,M=M+Math.imul(Ie,tr)|0,S=S+Math.imul(Je,bt)|0,f=f+Math.imul(Je,kt)|0,f=f+Math.imul(ft,bt)|0,M=M+Math.imul(ft,kt)|0,S=S+Math.imul(Pe,Et)|0,f=f+Math.imul(Pe,qt)|0,f=f+Math.imul(Ne,Et)|0,M=M+Math.imul(Ne,qt)|0,S=S+Math.imul(ie,_t)|0,f=f+Math.imul(ie,Wt)|0,f=f+Math.imul(re,_t)|0,M=M+Math.imul(re,Wt)|0,S=S+Math.imul(ce,Ce)|0,f=f+Math.imul(ce,_e)|0,f=f+Math.imul(ee,Ce)|0,M=M+Math.imul(ee,_e)|0,S=S+Math.imul(me,he)|0,f=f+Math.imul(me,Ke)|0,f=f+Math.imul(ve,he)|0,M=M+Math.imul(ve,Ke)|0,S=S+Math.imul(ae,yt)|0,f=f+Math.imul(ae,Ot)|0,f=f+Math.imul(q,yt)|0,M=M+Math.imul(q,Ot)|0;var ht=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ht>>>26)|0,ht&=67108863,S=Math.imul(Ye,ur),f=Math.imul(Ye,tr),f=f+Math.imul(et,ur)|0,M=Math.imul(et,tr),S=S+Math.imul(wt,bt)|0,f=f+Math.imul(wt,kt)|0,f=f+Math.imul(Ie,bt)|0,M=M+Math.imul(Ie,kt)|0,S=S+Math.imul(Je,Et)|0,f=f+Math.imul(Je,qt)|0,f=f+Math.imul(ft,Et)|0,M=M+Math.imul(ft,qt)|0,S=S+Math.imul(Pe,_t)|0,f=f+Math.imul(Pe,Wt)|0,f=f+Math.imul(Ne,_t)|0,M=M+Math.imul(Ne,Wt)|0,S=S+Math.imul(ie,Ce)|0,f=f+Math.imul(ie,_e)|0,f=f+Math.imul(re,Ce)|0,M=M+Math.imul(re,_e)|0,S=S+Math.imul(ce,he)|0,f=f+Math.imul(ce,Ke)|0,f=f+Math.imul(ee,he)|0,M=M+Math.imul(ee,Ke)|0,S=S+Math.imul(me,yt)|0,f=f+Math.imul(me,Ot)|0,f=f+Math.imul(ve,yt)|0,M=M+Math.imul(ve,Ot)|0;var ut=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ut>>>26)|0,ut&=67108863,S=Math.imul(Ye,bt),f=Math.imul(Ye,kt),f=f+Math.imul(et,bt)|0,M=Math.imul(et,kt),S=S+Math.imul(wt,Et)|0,f=f+Math.imul(wt,qt)|0,f=f+Math.imul(Ie,Et)|0,M=M+Math.imul(Ie,qt)|0,S=S+Math.imul(Je,_t)|0,f=f+Math.imul(Je,Wt)|0,f=f+Math.imul(ft,_t)|0,M=M+Math.imul(ft,Wt)|0,S=S+Math.imul(Pe,Ce)|0,f=f+Math.imul(Pe,_e)|0,f=f+Math.imul(Ne,Ce)|0,M=M+Math.imul(Ne,_e)|0,S=S+Math.imul(ie,he)|0,f=f+Math.imul(ie,Ke)|0,f=f+Math.imul(re,he)|0,M=M+Math.imul(re,Ke)|0,S=S+Math.imul(ce,yt)|0,f=f+Math.imul(ce,Ot)|0,f=f+Math.imul(ee,yt)|0,M=M+Math.imul(ee,Ot)|0;var Dt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,S=Math.imul(Ye,Et),f=Math.imul(Ye,qt),f=f+Math.imul(et,Et)|0,M=Math.imul(et,qt),S=S+Math.imul(wt,_t)|0,f=f+Math.imul(wt,Wt)|0,f=f+Math.imul(Ie,_t)|0,M=M+Math.imul(Ie,Wt)|0,S=S+Math.imul(Je,Ce)|0,f=f+Math.imul(Je,_e)|0,f=f+Math.imul(ft,Ce)|0,M=M+Math.imul(ft,_e)|0,S=S+Math.imul(Pe,he)|0,f=f+Math.imul(Pe,Ke)|0,f=f+Math.imul(Ne,he)|0,M=M+Math.imul(Ne,Ke)|0,S=S+Math.imul(ie,yt)|0,f=f+Math.imul(ie,Ot)|0,f=f+Math.imul(re,yt)|0,M=M+Math.imul(re,Ot)|0;var He=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(He>>>26)|0,He&=67108863,S=Math.imul(Ye,_t),f=Math.imul(Ye,Wt),f=f+Math.imul(et,_t)|0,M=Math.imul(et,Wt),S=S+Math.imul(wt,Ce)|0,f=f+Math.imul(wt,_e)|0,f=f+Math.imul(Ie,Ce)|0,M=M+Math.imul(Ie,_e)|0,S=S+Math.imul(Je,he)|0,f=f+Math.imul(Je,Ke)|0,f=f+Math.imul(ft,he)|0,M=M+Math.imul(ft,Ke)|0,S=S+Math.imul(Pe,yt)|0,f=f+Math.imul(Pe,Ot)|0,f=f+Math.imul(Ne,yt)|0,M=M+Math.imul(Ne,Ot)|0;var nt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(nt>>>26)|0,nt&=67108863,S=Math.imul(Ye,Ce),f=Math.imul(Ye,_e),f=f+Math.imul(et,Ce)|0,M=Math.imul(et,_e),S=S+Math.imul(wt,he)|0,f=f+Math.imul(wt,Ke)|0,f=f+Math.imul(Ie,he)|0,M=M+Math.imul(Ie,Ke)|0,S=S+Math.imul(Je,yt)|0,f=f+Math.imul(Je,Ot)|0,f=f+Math.imul(ft,yt)|0,M=M+Math.imul(ft,Ot)|0;var at=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(at>>>26)|0,at&=67108863,S=Math.imul(Ye,he),f=Math.imul(Ye,Ke),f=f+Math.imul(et,he)|0,M=Math.imul(et,Ke),S=S+Math.imul(wt,yt)|0,f=f+Math.imul(wt,Ot)|0,f=f+Math.imul(Ie,yt)|0,M=M+Math.imul(Ie,Ot)|0;var Tt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,S=Math.imul(Ye,yt),f=Math.imul(Ye,Ot),f=f+Math.imul(et,yt)|0,M=Math.imul(et,Ot);var pt=(x+S|0)+((f&8191)<<13)|0;return x=(M+(f>>>13)|0)+(pt>>>26)|0,pt&=67108863,k[0]=hr,k[1]=Br,k[2]=Er,k[3]=Qe,k[4]=mt,k[5]=Ue,k[6]=Ge,k[7]=Me,k[8]=ze,k[9]=Le,k[10]=rt,k[11]=ht,k[12]=ut,k[13]=Dt,k[14]=He,k[15]=nt,k[16]=at,k[17]=Tt,k[18]=pt,x!==0&&(k[19]=x,E.length++),E};Math.imul||(A=T);function O(l,p,E){E.negative=p.negative^l.negative,E.length=l.length+p.length;for(var g=0,b=0,k=0;k<E.length-1;k++){var x=b;b=0;for(var S=g&67108863,f=Math.min(k,p.length-1),M=Math.max(0,k-l.length+1);M<=f;M++){var V=k-M,D=l.words[V]|0,j=p.words[M]|0,Y=D*j,oe=Y&67108863;x=x+(Y/67108864|0)|0,oe=oe+S|0,S=oe&67108863,x=x+(oe>>>26)|0,b+=x>>>26,x&=67108863}E.words[k]=S,g=x,x=b}return g!==0?E.words[k]=g:E.length--,E.strip()}function v(l,p,E){var g=new B;return g.mulp(l,p,E)}n.prototype.mulTo=function(l,p){var E,g=this.length+l.length;return this.length===10&&l.length===10?E=A(this,l,p):g<63?E=T(this,l,p):g<1024?E=O(this,l,p):E=v(this,l,p),E};function B(l,p){this.x=l,this.y=p}B.prototype.makeRBT=function(l){for(var p=new Array(l),E=n.prototype._countBits(l)-1,g=0;g<l;g++)p[g]=this.revBin(g,E,l);return p},B.prototype.revBin=function(l,p,E){if(l===0||l===E-1)return l;for(var g=0,b=0;b<p;b++)g|=(l&1)<<p-b-1,l>>=1;return g},B.prototype.permute=function(l,p,E,g,b,k){for(var x=0;x<k;x++)g[x]=p[l[x]],b[x]=E[l[x]]},B.prototype.transform=function(l,p,E,g,b,k){this.permute(k,l,p,E,g,b);for(var x=1;x<b;x<<=1)for(var S=x<<1,f=Math.cos(2*Math.PI/S),M=Math.sin(2*Math.PI/S),V=0;V<b;V+=S)for(var D=f,j=M,Y=0;Y<x;Y++){var oe=E[V+Y],de=g[V+Y],ue=E[V+Y+x],ae=g[V+Y+x],q=D*ue-j*ae;ae=D*ae+j*ue,ue=q,E[V+Y]=oe+ue,g[V+Y]=de+ae,E[V+Y+x]=oe-ue,g[V+Y+x]=de-ae,Y!==S&&(q=f*D-M*j,j=f*j+M*D,D=q)}},B.prototype.guessLen13b=function(l,p){var E=Math.max(p,l)|1,g=E&1,b=0;for(E=E/2|0;E;E=E>>>1)b++;return 1<<b+1+g},B.prototype.conjugate=function(l,p,E){if(!(E<=1))for(var g=0;g<E/2;g++){var b=l[g];l[g]=l[E-g-1],l[E-g-1]=b,b=p[g],p[g]=-p[E-g-1],p[E-g-1]=-b}},B.prototype.normalize13b=function(l,p){for(var E=0,g=0;g<p/2;g++){var b=Math.round(l[2*g+1]/p)*8192+Math.round(l[2*g]/p)+E;l[g]=b&67108863,b<67108864?E=0:E=b/67108864|0}return l},B.prototype.convert13b=function(l,p,E,g){for(var b=0,k=0;k<p;k++)b=b+(l[k]|0),E[2*k]=b&8191,b=b>>>13,E[2*k+1]=b&8191,b=b>>>13;for(k=2*p;k<g;++k)E[k]=0;s(b===0),s((b&-8192)===0)},B.prototype.stub=function(l){for(var p=new Array(l),E=0;E<l;E++)p[E]=0;return p},B.prototype.mulp=function(l,p,E){var g=2*this.guessLen13b(l.length,p.length),b=this.makeRBT(g),k=this.stub(g),x=new Array(g),S=new Array(g),f=new Array(g),M=new Array(g),V=new Array(g),D=new Array(g),j=E.words;j.length=g,this.convert13b(l.words,l.length,x,g),this.convert13b(p.words,p.length,M,g),this.transform(x,k,S,f,g,b),this.transform(M,k,V,D,g,b);for(var Y=0;Y<g;Y++){var oe=S[Y]*V[Y]-f[Y]*D[Y];f[Y]=S[Y]*D[Y]+f[Y]*V[Y],S[Y]=oe}return this.conjugate(S,f,g),this.transform(S,f,j,k,g,b),this.conjugate(j,k,g),this.normalize13b(j,g),E.negative=l.negative^p.negative,E.length=l.length+p.length,E.strip()},n.prototype.mul=function(l){var p=new n(null);return p.words=new Array(this.length+l.length),this.mulTo(l,p)},n.prototype.mulf=function(l){var p=new n(null);return p.words=new Array(this.length+l.length),v(this,l,p)},n.prototype.imul=function(l){return this.clone().mulTo(l,this)},n.prototype.imuln=function(l){s(typeof l=="number"),s(l<67108864);for(var p=0,E=0;E<this.length;E++){var g=(this.words[E]|0)*l,b=(g&67108863)+(p&67108863);p>>=26,p+=g/67108864|0,p+=b>>>26,this.words[E]=b&67108863}return p!==0&&(this.words[E]=p,this.length++),this},n.prototype.muln=function(l){return this.clone().imuln(l)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(l){var p=w(l);if(p.length===0)return new n(1);for(var E=this,g=0;g<p.length&&p[g]===0;g++,E=E.sqr());if(++g<p.length)for(var b=E.sqr();g<p.length;g++,b=b.sqr())p[g]!==0&&(E=E.mul(b));return E},n.prototype.iushln=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26,g=67108863>>>26-p<<26-p,b;if(p!==0){var k=0;for(b=0;b<this.length;b++){var x=this.words[b]&g,S=(this.words[b]|0)-x<<p;this.words[b]=S|k,k=x>>>26-p}k&&(this.words[b]=k,this.length++)}if(E!==0){for(b=this.length-1;b>=0;b--)this.words[b+E]=this.words[b];for(b=0;b<E;b++)this.words[b]=0;this.length+=E}return this.strip()},n.prototype.ishln=function(l){return s(this.negative===0),this.iushln(l)},n.prototype.iushrn=function(l,p,E){s(typeof l=="number"&&l>=0);var g;p?g=(p-p%26)/26:g=0;var b=l%26,k=Math.min((l-b)/26,this.length),x=67108863^67108863>>>b<<b,S=E;if(g-=k,g=Math.max(0,g),S){for(var f=0;f<k;f++)S.words[f]=this.words[f];S.length=k}if(k!==0)if(this.length>k)for(this.length-=k,f=0;f<this.length;f++)this.words[f]=this.words[f+k];else this.words[0]=0,this.length=1;var M=0;for(f=this.length-1;f>=0&&(M!==0||f>=g);f--){var V=this.words[f]|0;this.words[f]=M<<26-b|V>>>b,M=V&x}return S&&M!==0&&(S.words[S.length++]=M),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},n.prototype.ishrn=function(l,p,E){return s(this.negative===0),this.iushrn(l,p,E)},n.prototype.shln=function(l){return this.clone().ishln(l)},n.prototype.ushln=function(l){return this.clone().iushln(l)},n.prototype.shrn=function(l){return this.clone().ishrn(l)},n.prototype.ushrn=function(l){return this.clone().iushrn(l)},n.prototype.testn=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26,g=1<<p;if(this.length<=E)return!1;var b=this.words[E];return!!(b&g)},n.prototype.imaskn=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=E)return this;if(p!==0&&E++,this.length=Math.min(E,this.length),p!==0){var g=67108863^67108863>>>p<<p;this.words[this.length-1]&=g}return this.strip()},n.prototype.maskn=function(l){return this.clone().imaskn(l)},n.prototype.iaddn=function(l){return s(typeof l=="number"),s(l<67108864),l<0?this.isubn(-l):this.negative!==0?this.length===1&&(this.words[0]|0)<l?(this.words[0]=l-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(l),this.negative=1,this):this._iaddn(l)},n.prototype._iaddn=function(l){this.words[0]+=l;for(var p=0;p<this.length&&this.words[p]>=67108864;p++)this.words[p]-=67108864,p===this.length-1?this.words[p+1]=1:this.words[p+1]++;return this.length=Math.max(this.length,p+1),this},n.prototype.isubn=function(l){if(s(typeof l=="number"),s(l<67108864),l<0)return this.iaddn(-l);if(this.negative!==0)return this.negative=0,this.iaddn(l),this.negative=1,this;if(this.words[0]-=l,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var p=0;p<this.length&&this.words[p]<0;p++)this.words[p]+=67108864,this.words[p+1]-=1;return this.strip()},n.prototype.addn=function(l){return this.clone().iaddn(l)},n.prototype.subn=function(l){return this.clone().isubn(l)},n.prototype.iabs=function(){return this.negative=0,this},n.prototype.abs=function(){return this.clone().iabs()},n.prototype._ishlnsubmul=function(l,p,E){var g=l.length+E,b;this._expand(g);var k,x=0;for(b=0;b<l.length;b++){k=(this.words[b+E]|0)+x;var S=(l.words[b]|0)*p;k-=S&67108863,x=(k>>26)-(S/67108864|0),this.words[b+E]=k&67108863}for(;b<this.length-E;b++)k=(this.words[b+E]|0)+x,x=k>>26,this.words[b+E]=k&67108863;if(x===0)return this.strip();for(s(x===-1),x=0,b=0;b<this.length;b++)k=-(this.words[b]|0)+x,x=k>>26,this.words[b]=k&67108863;return this.negative=1,this.strip()},n.prototype._wordDiv=function(l,p){var E=this.length-l.length,g=this.clone(),b=l,k=b.words[b.length-1]|0,x=this._countBits(k);E=26-x,E!==0&&(b=b.ushln(E),g.iushln(E),k=b.words[b.length-1]|0);var S=g.length-b.length,f;if(p!=="mod"){f=new n(null),f.length=S+1,f.words=new Array(f.length);for(var M=0;M<f.length;M++)f.words[M]=0}var V=g.clone()._ishlnsubmul(b,1,S);V.negative===0&&(g=V,f&&(f.words[S]=1));for(var D=S-1;D>=0;D--){var j=(g.words[b.length+D]|0)*67108864+(g.words[b.length+D-1]|0);for(j=Math.min(j/k|0,67108863),g._ishlnsubmul(b,j,D);g.negative!==0;)j--,g.negative=0,g._ishlnsubmul(b,1,D),g.isZero()||(g.negative^=1);f&&(f.words[D]=j)}return f&&f.strip(),g.strip(),p!=="div"&&E!==0&&g.iushrn(E),{div:f||null,mod:g}},n.prototype.divmod=function(l,p,E){if(s(!l.isZero()),this.isZero())return{div:new n(0),mod:new n(0)};var g,b,k;return this.negative!==0&&l.negative===0?(k=this.neg().divmod(l,p),p!=="mod"&&(g=k.div.neg()),p!=="div"&&(b=k.mod.neg(),E&&b.negative!==0&&b.iadd(l)),{div:g,mod:b}):this.negative===0&&l.negative!==0?(k=this.divmod(l.neg(),p),p!=="mod"&&(g=k.div.neg()),{div:g,mod:k.mod}):this.negative&l.negative?(k=this.neg().divmod(l.neg(),p),p!=="div"&&(b=k.mod.neg(),E&&b.negative!==0&&b.isub(l)),{div:k.div,mod:b}):l.length>this.length||this.cmp(l)<0?{div:new n(0),mod:this}:l.length===1?p==="div"?{div:this.divn(l.words[0]),mod:null}:p==="mod"?{div:null,mod:new n(this.modn(l.words[0]))}:{div:this.divn(l.words[0]),mod:new n(this.modn(l.words[0]))}:this._wordDiv(l,p)},n.prototype.div=function(l){return this.divmod(l,"div",!1).div},n.prototype.mod=function(l){return this.divmod(l,"mod",!1).mod},n.prototype.umod=function(l){return this.divmod(l,"mod",!0).mod},n.prototype.divRound=function(l){var p=this.divmod(l);if(p.mod.isZero())return p.div;var E=p.div.negative!==0?p.mod.isub(l):p.mod,g=l.ushrn(1),b=l.andln(1),k=E.cmp(g);return k<0||b===1&&k===0?p.div:p.div.negative!==0?p.div.isubn(1):p.div.iaddn(1)},n.prototype.modn=function(l){s(l<=67108863);for(var p=(1<<26)%l,E=0,g=this.length-1;g>=0;g--)E=(p*E+(this.words[g]|0))%l;return E},n.prototype.idivn=function(l){s(l<=67108863);for(var p=0,E=this.length-1;E>=0;E--){var g=(this.words[E]|0)+p*67108864;this.words[E]=g/l|0,p=g%l}return this.strip()},n.prototype.divn=function(l){return this.clone().idivn(l)},n.prototype.egcd=function(l){s(l.negative===0),s(!l.isZero());var p=this,E=l.clone();p.negative!==0?p=p.umod(l):p=p.clone();for(var g=new n(1),b=new n(0),k=new n(0),x=new n(1),S=0;p.isEven()&&E.isEven();)p.iushrn(1),E.iushrn(1),++S;for(var f=E.clone(),M=p.clone();!p.isZero();){for(var V=0,D=1;!(p.words[0]&D)&&V<26;++V,D<<=1);if(V>0)for(p.iushrn(V);V-- >0;)(g.isOdd()||b.isOdd())&&(g.iadd(f),b.isub(M)),g.iushrn(1),b.iushrn(1);for(var j=0,Y=1;!(E.words[0]&Y)&&j<26;++j,Y<<=1);if(j>0)for(E.iushrn(j);j-- >0;)(k.isOdd()||x.isOdd())&&(k.iadd(f),x.isub(M)),k.iushrn(1),x.iushrn(1);p.cmp(E)>=0?(p.isub(E),g.isub(k),b.isub(x)):(E.isub(p),k.isub(g),x.isub(b))}return{a:k,b:x,gcd:E.iushln(S)}},n.prototype._invmp=function(l){s(l.negative===0),s(!l.isZero());var p=this,E=l.clone();p.negative!==0?p=p.umod(l):p=p.clone();for(var g=new n(1),b=new n(0),k=E.clone();p.cmpn(1)>0&&E.cmpn(1)>0;){for(var x=0,S=1;!(p.words[0]&S)&&x<26;++x,S<<=1);if(x>0)for(p.iushrn(x);x-- >0;)g.isOdd()&&g.iadd(k),g.iushrn(1);for(var f=0,M=1;!(E.words[0]&M)&&f<26;++f,M<<=1);if(f>0)for(E.iushrn(f);f-- >0;)b.isOdd()&&b.iadd(k),b.iushrn(1);p.cmp(E)>=0?(p.isub(E),g.isub(b)):(E.isub(p),b.isub(g))}var V;return p.cmpn(1)===0?V=g:V=b,V.cmpn(0)<0&&V.iadd(l),V},n.prototype.gcd=function(l){if(this.isZero())return l.abs();if(l.isZero())return this.abs();var p=this.clone(),E=l.clone();p.negative=0,E.negative=0;for(var g=0;p.isEven()&&E.isEven();g++)p.iushrn(1),E.iushrn(1);do{for(;p.isEven();)p.iushrn(1);for(;E.isEven();)E.iushrn(1);var b=p.cmp(E);if(b<0){var k=p;p=E,E=k}else if(b===0||E.cmpn(1)===0)break;p.isub(E)}while(!0);return E.iushln(g)},n.prototype.invm=function(l){return this.egcd(l).a.umod(l)},n.prototype.isEven=function(){return(this.words[0]&1)===0},n.prototype.isOdd=function(){return(this.words[0]&1)===1},n.prototype.andln=function(l){return this.words[0]&l},n.prototype.bincn=function(l){s(typeof l=="number");var p=l%26,E=(l-p)/26,g=1<<p;if(this.length<=E)return this._expand(E+1),this.words[E]|=g,this;for(var b=g,k=E;b!==0&&k<this.length;k++){var x=this.words[k]|0;x+=b,b=x>>>26,x&=67108863,this.words[k]=x}return b!==0&&(this.words[k]=b,this.length++),this},n.prototype.isZero=function(){return this.length===1&&this.words[0]===0},n.prototype.cmpn=function(l){var p=l<0;if(this.negative!==0&&!p)return-1;if(this.negative===0&&p)return 1;this.strip();var E;if(this.length>1)E=1;else{p&&(l=-l),s(l<=67108863,"Number is too big");var g=this.words[0]|0;E=g===l?0:g<l?-1:1}return this.negative!==0?-E|0:E},n.prototype.cmp=function(l){if(this.negative!==0&&l.negative===0)return-1;if(this.negative===0&&l.negative!==0)return 1;var p=this.ucmp(l);return this.negative!==0?-p|0:p},n.prototype.ucmp=function(l){if(this.length>l.length)return 1;if(this.length<l.length)return-1;for(var p=0,E=this.length-1;E>=0;E--){var g=this.words[E]|0,b=l.words[E]|0;if(g!==b){g<b?p=-1:g>b&&(p=1);break}}return p},n.prototype.gtn=function(l){return this.cmpn(l)===1},n.prototype.gt=function(l){return this.cmp(l)===1},n.prototype.gten=function(l){return this.cmpn(l)>=0},n.prototype.gte=function(l){return this.cmp(l)>=0},n.prototype.ltn=function(l){return this.cmpn(l)===-1},n.prototype.lt=function(l){return this.cmp(l)===-1},n.prototype.lten=function(l){return this.cmpn(l)<=0},n.prototype.lte=function(l){return this.cmp(l)<=0},n.prototype.eqn=function(l){return this.cmpn(l)===0},n.prototype.eq=function(l){return this.cmp(l)===0},n.red=function(l){return new F(l)},n.prototype.toRed=function(l){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),l.convertTo(this)._forceRed(l)},n.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(l){return this.red=l,this},n.prototype.forceRed=function(l){return s(!this.red,"Already a number in reduction context"),this._forceRed(l)},n.prototype.redAdd=function(l){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,l)},n.prototype.redIAdd=function(l){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,l)},n.prototype.redSub=function(l){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,l)},n.prototype.redISub=function(l){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,l)},n.prototype.redShl=function(l){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,l)},n.prototype.redMul=function(l){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.mul(this,l)},n.prototype.redIMul=function(l){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.imul(this,l)},n.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(l){return s(this.red&&!l.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,l)};var R={k256:null,p224:null,p192:null,p25519:null};function U(l,p){this.name=l,this.p=new n(p,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}U.prototype._tmp=function(){var l=new n(null);return l.words=new Array(Math.ceil(this.n/13)),l},U.prototype.ireduce=function(l){var p=l,E;do this.split(p,this.tmp),p=this.imulK(p),p=p.iadd(this.tmp),E=p.bitLength();while(E>this.n);var g=E<this.n?-1:p.ucmp(this.p);return g===0?(p.words[0]=0,p.length=1):g>0?p.isub(this.p):p.strip!==void 0?p.strip():p._strip(),p},U.prototype.split=function(l,p){l.iushrn(this.n,0,p)},U.prototype.imulK=function(l){return l.imul(this.k)};function N(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(N,U),N.prototype.split=function(l,p){for(var E=4194303,g=Math.min(l.length,9),b=0;b<g;b++)p.words[b]=l.words[b];if(p.length=g,l.length<=9){l.words[0]=0,l.length=1;return}var k=l.words[9];for(p.words[p.length++]=k&E,b=10;b<l.length;b++){var x=l.words[b]|0;l.words[b-10]=(x&E)<<4|k>>>22,k=x}k>>>=22,l.words[b-10]=k,k===0&&l.length>10?l.length-=10:l.length-=9},N.prototype.imulK=function(l){l.words[l.length]=0,l.words[l.length+1]=0,l.length+=2;for(var p=0,E=0;E<l.length;E++){var g=l.words[E]|0;p+=g*977,l.words[E]=p&67108863,p=g*64+(p/67108864|0)}return l.words[l.length-1]===0&&(l.length--,l.words[l.length-1]===0&&l.length--),l};function _(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i(_,U);function L(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i(L,U);function H(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i(H,U),H.prototype.imulK=function(l){for(var p=0,E=0;E<l.length;E++){var g=(l.words[E]|0)*19+p,b=g&67108863;g>>>=26,l.words[E]=b,p=g}return p!==0&&(l.words[l.length++]=p),l},n._prime=function(l){if(R[l])return R[l];var p;if(l==="k256")p=new N;else if(l==="p224")p=new _;else if(l==="p192")p=new L;else if(l==="p25519")p=new H;else throw new Error("Unknown prime "+l);return R[l]=p,p};function F(l){if(typeof l=="string"){var p=n._prime(l);this.m=p.p,this.prime=p}else s(l.gtn(1),"modulus must be greater than 1"),this.m=l,this.prime=null}F.prototype._verify1=function(l){s(l.negative===0,"red works only with positives"),s(l.red,"red works only with red numbers")},F.prototype._verify2=function(l,p){s((l.negative|p.negative)===0,"red works only with positives"),s(l.red&&l.red===p.red,"red works only with red numbers")},F.prototype.imod=function(l){return this.prime?this.prime.ireduce(l)._forceRed(this):l.umod(this.m)._forceRed(this)},F.prototype.neg=function(l){return l.isZero()?l.clone():this.m.sub(l)._forceRed(this)},F.prototype.add=function(l,p){this._verify2(l,p);var E=l.add(p);return E.cmp(this.m)>=0&&E.isub(this.m),E._forceRed(this)},F.prototype.iadd=function(l,p){this._verify2(l,p);var E=l.iadd(p);return E.cmp(this.m)>=0&&E.isub(this.m),E},F.prototype.sub=function(l,p){this._verify2(l,p);var E=l.sub(p);return E.cmpn(0)<0&&E.iadd(this.m),E._forceRed(this)},F.prototype.isub=function(l,p){this._verify2(l,p);var E=l.isub(p);return E.cmpn(0)<0&&E.iadd(this.m),E},F.prototype.shl=function(l,p){return this._verify1(l),this.imod(l.ushln(p))},F.prototype.imul=function(l,p){return this._verify2(l,p),this.imod(l.imul(p))},F.prototype.mul=function(l,p){return this._verify2(l,p),this.imod(l.mul(p))},F.prototype.isqr=function(l){return this.imul(l,l.clone())},F.prototype.sqr=function(l){return this.mul(l,l)},F.prototype.sqrt=function(l){if(l.isZero())return l.clone();var p=this.m.andln(3);if(s(p%2===1),p===3){var E=this.m.add(new n(1)).iushrn(2);return this.pow(l,E)}for(var g=this.m.subn(1),b=0;!g.isZero()&&g.andln(1)===0;)b++,g.iushrn(1);s(!g.isZero());var k=new n(1).toRed(this),x=k.redNeg(),S=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new n(2*f*f).toRed(this);this.pow(f,S).cmp(x)!==0;)f.redIAdd(x);for(var M=this.pow(f,g),V=this.pow(l,g.addn(1).iushrn(1)),D=this.pow(l,g),j=b;D.cmp(k)!==0;){for(var Y=D,oe=0;Y.cmp(k)!==0;oe++)Y=Y.redSqr();s(oe<j);var de=this.pow(M,new n(1).iushln(j-oe-1));V=V.redMul(de),M=de.redSqr(),D=D.redMul(M),j=oe}return V},F.prototype.invm=function(l){var p=l._invmp(this.m);return p.negative!==0?(p.negative=0,this.imod(p).redNeg()):this.imod(p)},F.prototype.pow=function(l,p){if(p.isZero())return new n(1).toRed(this);if(p.cmpn(1)===0)return l.clone();var E=4,g=new Array(1<<E);g[0]=new n(1).toRed(this),g[1]=l;for(var b=2;b<g.length;b++)g[b]=this.mul(g[b-1],l);var k=g[0],x=0,S=0,f=p.bitLength()%26;for(f===0&&(f=26),b=p.length-1;b>=0;b--){for(var M=p.words[b],V=f-1;V>=0;V--){var D=M>>V&1;if(k!==g[0]&&(k=this.sqr(k)),D===0&&x===0){S=0;continue}x<<=1,x|=D,S++,!(S!==E&&(b!==0||V!==0))&&(k=this.mul(k,g[x]),S=0,x=0)}f=26}return k},F.prototype.convertTo=function(l){var p=l.umod(this.m);return p===l?p.clone():p},F.prototype.convertFrom=function(l){var p=l.clone();return p.red=null,p},n.mont=function(l){return new G(l)};function G(l){F.call(this,l),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new n(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)}i(G,F),G.prototype.convertTo=function(l){return this.imod(l.ushln(this.shift))},G.prototype.convertFrom=function(l){var p=this.imod(l.mul(this.rinv));return p.red=null,p},G.prototype.imul=function(l,p){if(l.isZero()||p.isZero())return l.words[0]=0,l.length=1,l;var E=l.imul(p),g=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=E.isub(g).iushrn(this.shift),k=b;return b.cmp(this.m)>=0?k=b.isub(this.m):b.cmpn(0)<0&&(k=b.iadd(this.m)),k._forceRed(this)},G.prototype.mul=function(l,p){if(l.isZero()||p.isZero())return new n(0)._forceRed(this);var E=l.mul(p),g=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=E.isub(g).iushrn(this.shift),k=b;return b.cmp(this.m)>=0?k=b.isub(this.m):b.cmpn(0)<0&&(k=b.iadd(this.m)),k._forceRed(this)},G.prototype.invm=function(l){var p=this.imod(l._invmp(this.m).mul(this.r2));return p._forceRed(this)}})(typeof t>"u"||t,e)}),QCe=W((e,t)=>{m();var r=nU(),o=XCe();t.exports=function(a){return new i(a)};var s={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}};s.p224=s.secp224r1,s.p256=s.secp256r1=s.prime256v1,s.p192=s.secp192r1=s.prime192v1,s.p384=s.secp384r1,s.p521=s.secp521r1;function i(a){this.curveType=s[a],this.curveType||(this.curveType={name:a}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}i.prototype.generateKeys=function(a,u){return this.keys=this.curve.genKeyPair(),this.getPublicKey(a,u)},i.prototype.computeSecret=function(a,u,c){u=u||"utf8",P.Buffer.isBuffer(a)||(a=new P.Buffer(a,u));var d=this.curve.keyFromPublic(a).getPublic(),h=d.mul(this.keys.getPrivate()).getX();return n(h,c,this.curveType.byteLength)},i.prototype.getPublicKey=function(a,u){var c=this.keys.getPublic(u==="compressed",!0);return u==="hybrid"&&(c[c.length-1]%2?c[0]=7:c[0]=6),n(c,a)},i.prototype.getPrivateKey=function(a){return n(this.keys.getPrivate(),a)},i.prototype.setPublicKey=function(a,u){return u=u||"utf8",P.Buffer.isBuffer(a)||(a=new P.Buffer(a,u)),this.keys._importPublic(a),this},i.prototype.setPrivateKey=function(a,u){u=u||"utf8",P.Buffer.isBuffer(a)||(a=new P.Buffer(a,u));var c=new o(a);return c=c.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(c),this};function n(a,u,c){Array.isArray(a)||(a=a.toArray());var d=new P.Buffer(a);if(c&&d.length<c){var h=new P.Buffer(c-d.length);h.fill(0),d=P.Buffer.concat([h,d])}return u?d.toString(u):d}}),IZ=W((e,t)=>{m();var r=VT(),o=vn().Buffer;t.exports=function(i,n){for(var a=o.alloc(0),u=0,c;a.length<n;)c=s(u++),a=o.concat([a,r("sha1").update(i).update(c).digest()]);return a.slice(0,n)};function s(i){var n=o.allocUnsafe(4);return n.writeUInt32BE(i,0),n}}),OZ=W((e,t)=>{m(),t.exports=function(r,o){for(var s=r.length,i=-1;++i<s;)r[i]^=o[i];return r}}),hU=W((e,t)=>{m(),(function(r,o){"use strict";function s(l,p){if(!l)throw new Error(p||"Assertion failed")}function i(l,p){l.super_=p;var E=function(){};E.prototype=p.prototype,l.prototype=new E,l.prototype.constructor=l}function n(l,p,E){if(n.isBN(l))return l;this.negative=0,this.words=null,this.length=0,this.red=null,l!==null&&((p==="le"||p==="be")&&(E=p,p=10),this._init(l||0,p||10,E||"be"))}typeof r=="object"?r.exports=n:o.BN=n,n.BN=n,n.wordSize=26;var a;try{typeof window<"u"&&typeof window.Buffer<"u"?a=window.Buffer:a=Go().Buffer}catch{}n.isBN=function(l){return l instanceof n?!0:l!==null&&typeof l=="object"&&l.constructor.wordSize===n.wordSize&&Array.isArray(l.words)},n.max=function(l,p){return l.cmp(p)>0?l:p},n.min=function(l,p){return l.cmp(p)<0?l:p},n.prototype._init=function(l,p,E){if(typeof l=="number")return this._initNumber(l,p,E);if(typeof l=="object")return this._initArray(l,p,E);p==="hex"&&(p=16),s(p===(p|0)&&p>=2&&p<=36),l=l.toString().replace(/\s+/g,"");var g=0;l[0]==="-"&&(g++,this.negative=1),g<l.length&&(p===16?this._parseHex(l,g,E):(this._parseBase(l,p,g),E==="le"&&this._initArray(this.toArray(),p,E)))},n.prototype._initNumber=function(l,p,E){l<0&&(this.negative=1,l=-l),l<67108864?(this.words=[l&67108863],this.length=1):l<4503599627370496?(this.words=[l&67108863,l/67108864&67108863],this.length=2):(s(l<9007199254740992),this.words=[l&67108863,l/67108864&67108863,1],this.length=3),E==="le"&&this._initArray(this.toArray(),p,E)},n.prototype._initArray=function(l,p,E){if(s(typeof l.length=="number"),l.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(l.length/3),this.words=new Array(this.length);for(var g=0;g<this.length;g++)this.words[g]=0;var b,k,x=0;if(E==="be")for(g=l.length-1,b=0;g>=0;g-=3)k=l[g]|l[g-1]<<8|l[g-2]<<16,this.words[b]|=k<<x&67108863,this.words[b+1]=k>>>26-x&67108863,x+=24,x>=26&&(x-=26,b++);else if(E==="le")for(g=0,b=0;g<l.length;g+=3)k=l[g]|l[g+1]<<8|l[g+2]<<16,this.words[b]|=k<<x&67108863,this.words[b+1]=k>>>26-x&67108863,x+=24,x>=26&&(x-=26,b++);return this.strip()};function u(l,p){var E=l.charCodeAt(p);return E>=65&&E<=70?E-55:E>=97&&E<=102?E-87:E-48&15}function c(l,p,E){var g=u(l,E);return E-1>=p&&(g|=u(l,E-1)<<4),g}n.prototype._parseHex=function(l,p,E){this.length=Math.ceil((l.length-p)/6),this.words=new Array(this.length);for(var g=0;g<this.length;g++)this.words[g]=0;var b=0,k=0,x;if(E==="be")for(g=l.length-1;g>=p;g-=2)x=c(l,p,g)<<b,this.words[k]|=x&67108863,b>=18?(b-=18,k+=1,this.words[k]|=x>>>26):b+=8;else{var S=l.length-p;for(g=S%2===0?p+1:p;g<l.length;g+=2)x=c(l,p,g)<<b,this.words[k]|=x&67108863,b>=18?(b-=18,k+=1,this.words[k]|=x>>>26):b+=8}this.strip()};function d(l,p,E,g){for(var b=0,k=Math.min(l.length,E),x=p;x<k;x++){var S=l.charCodeAt(x)-48;b*=g,S>=49?b+=S-49+10:S>=17?b+=S-17+10:b+=S}return b}n.prototype._parseBase=function(l,p,E){this.words=[0],this.length=1;for(var g=0,b=1;b<=67108863;b*=p)g++;g--,b=b/p|0;for(var k=l.length-E,x=k%g,S=Math.min(k,k-x)+E,f=0,M=E;M<S;M+=g)f=d(l,M,M+g,p),this.imuln(b),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if(x!==0){var V=1;for(f=d(l,M,l.length,p),M=0;M<x;M++)V*=p;this.imuln(V),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}this.strip()},n.prototype.copy=function(l){l.words=new Array(this.length);for(var p=0;p<this.length;p++)l.words[p]=this.words[p];l.length=this.length,l.negative=this.negative,l.red=this.red},n.prototype.clone=function(){var l=new n(null);return this.copy(l),l},n.prototype._expand=function(l){for(;this.length<l;)this.words[this.length++]=0;return this},n.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},n.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},n.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var h=["","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"],y=[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],C=[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];n.prototype.toString=function(l,p){l=l||10,p=p|0||1;var E;if(l===16||l==="hex"){E="";for(var g=0,b=0,k=0;k<this.length;k++){var x=this.words[k],S=((x<<g|b)&16777215).toString(16);b=x>>>24-g&16777215,g+=2,g>=26&&(g-=26,k--),b!==0||k!==this.length-1?E=h[6-S.length]+S+E:E=S+E}for(b!==0&&(E=b.toString(16)+E);E.length%p!==0;)E="0"+E;return this.negative!==0&&(E="-"+E),E}if(l===(l|0)&&l>=2&&l<=36){var f=y[l],M=C[l];E="";var V=this.clone();for(V.negative=0;!V.isZero();){var D=V.modn(M).toString(l);V=V.idivn(M),V.isZero()?E=D+E:E=h[f-D.length]+D+E}for(this.isZero()&&(E="0"+E);E.length%p!==0;)E="0"+E;return this.negative!==0&&(E="-"+E),E}s(!1,"Base should be between 2 and 36")},n.prototype.toNumber=function(){var l=this.words[0];return this.length===2?l+=this.words[1]*67108864:this.length===3&&this.words[2]===1?l+=4503599627370496+this.words[1]*67108864:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-l:l},n.prototype.toJSON=function(){return this.toString(16)},n.prototype.toBuffer=function(l,p){return s(typeof a<"u"),this.toArrayLike(a,l,p)},n.prototype.toArray=function(l,p){return this.toArrayLike(Array,l,p)},n.prototype.toArrayLike=function(l,p,E){var g=this.byteLength(),b=E||Math.max(1,g);s(g<=b,"byte array longer than desired length"),s(b>0,"Requested array length <= 0"),this.strip();var k=p==="le",x=new l(b),S,f,M=this.clone();if(k){for(f=0;!M.isZero();f++)S=M.andln(255),M.iushrn(8),x[f]=S;for(;f<b;f++)x[f]=0}else{for(f=0;f<b-g;f++)x[f]=0;for(f=0;!M.isZero();f++)S=M.andln(255),M.iushrn(8),x[b-f-1]=S}return x},Math.clz32?n.prototype._countBits=function(l){return 32-Math.clz32(l)}:n.prototype._countBits=function(l){var p=l,E=0;return p>=4096&&(E+=13,p>>>=13),p>=64&&(E+=7,p>>>=7),p>=8&&(E+=4,p>>>=4),p>=2&&(E+=2,p>>>=2),E+p},n.prototype._zeroBits=function(l){if(l===0)return 26;var p=l,E=0;return p&8191||(E+=13,p>>>=13),p&127||(E+=7,p>>>=7),p&15||(E+=4,p>>>=4),p&3||(E+=2,p>>>=2),p&1||E++,E},n.prototype.bitLength=function(){var l=this.words[this.length-1],p=this._countBits(l);return(this.length-1)*26+p};function w(l){for(var p=new Array(l.bitLength()),E=0;E<p.length;E++){var g=E/26|0,b=E%26;p[E]=(l.words[g]&1<<b)>>>b}return p}n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var l=0,p=0;p<this.length;p++){var E=this._zeroBits(this.words[p]);if(l+=E,E!==26)break}return l},n.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},n.prototype.toTwos=function(l){return this.negative!==0?this.abs().inotn(l).iaddn(1):this.clone()},n.prototype.fromTwos=function(l){return this.testn(l-1)?this.notn(l).iaddn(1).ineg():this.clone()},n.prototype.isNeg=function(){return this.negative!==0},n.prototype.neg=function(){return this.clone().ineg()},n.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},n.prototype.iuor=function(l){for(;this.length<l.length;)this.words[this.length++]=0;for(var p=0;p<l.length;p++)this.words[p]=this.words[p]|l.words[p];return this.strip()},n.prototype.ior=function(l){return s((this.negative|l.negative)===0),this.iuor(l)},n.prototype.or=function(l){return this.length>l.length?this.clone().ior(l):l.clone().ior(this)},n.prototype.uor=function(l){return this.length>l.length?this.clone().iuor(l):l.clone().iuor(this)},n.prototype.iuand=function(l){var p;this.length>l.length?p=l:p=this;for(var E=0;E<p.length;E++)this.words[E]=this.words[E]&l.words[E];return this.length=p.length,this.strip()},n.prototype.iand=function(l){return s((this.negative|l.negative)===0),this.iuand(l)},n.prototype.and=function(l){return this.length>l.length?this.clone().iand(l):l.clone().iand(this)},n.prototype.uand=function(l){return this.length>l.length?this.clone().iuand(l):l.clone().iuand(this)},n.prototype.iuxor=function(l){var p,E;this.length>l.length?(p=this,E=l):(p=l,E=this);for(var g=0;g<E.length;g++)this.words[g]=p.words[g]^E.words[g];if(this!==p)for(;g<p.length;g++)this.words[g]=p.words[g];return this.length=p.length,this.strip()},n.prototype.ixor=function(l){return s((this.negative|l.negative)===0),this.iuxor(l)},n.prototype.xor=function(l){return this.length>l.length?this.clone().ixor(l):l.clone().ixor(this)},n.prototype.uxor=function(l){return this.length>l.length?this.clone().iuxor(l):l.clone().iuxor(this)},n.prototype.inotn=function(l){s(typeof l=="number"&&l>=0);var p=Math.ceil(l/26)|0,E=l%26;this._expand(p),E>0&&p--;for(var g=0;g<p;g++)this.words[g]=~this.words[g]&67108863;return E>0&&(this.words[g]=~this.words[g]&67108863>>26-E),this.strip()},n.prototype.notn=function(l){return this.clone().inotn(l)},n.prototype.setn=function(l,p){s(typeof l=="number"&&l>=0);var E=l/26|0,g=l%26;return this._expand(E+1),p?this.words[E]=this.words[E]|1<<g:this.words[E]=this.words[E]&~(1<<g),this.strip()},n.prototype.iadd=function(l){var p;if(this.negative!==0&&l.negative===0)return this.negative=0,p=this.isub(l),this.negative^=1,this._normSign();if(this.negative===0&&l.negative!==0)return l.negative=0,p=this.isub(l),l.negative=1,p._normSign();var E,g;this.length>l.length?(E=this,g=l):(E=l,g=this);for(var b=0,k=0;k<g.length;k++)p=(E.words[k]|0)+(g.words[k]|0)+b,this.words[k]=p&67108863,b=p>>>26;for(;b!==0&&k<E.length;k++)p=(E.words[k]|0)+b,this.words[k]=p&67108863,b=p>>>26;if(this.length=E.length,b!==0)this.words[this.length]=b,this.length++;else if(E!==this)for(;k<E.length;k++)this.words[k]=E.words[k];return this},n.prototype.add=function(l){var p;return l.negative!==0&&this.negative===0?(l.negative=0,p=this.sub(l),l.negative^=1,p):l.negative===0&&this.negative!==0?(this.negative=0,p=l.sub(this),this.negative=1,p):this.length>l.length?this.clone().iadd(l):l.clone().iadd(this)},n.prototype.isub=function(l){if(l.negative!==0){l.negative=0;var p=this.iadd(l);return l.negative=1,p._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(l),this.negative=1,this._normSign();var E=this.cmp(l);if(E===0)return this.negative=0,this.length=1,this.words[0]=0,this;var g,b;E>0?(g=this,b=l):(g=l,b=this);for(var k=0,x=0;x<b.length;x++)p=(g.words[x]|0)-(b.words[x]|0)+k,k=p>>26,this.words[x]=p&67108863;for(;k!==0&&x<g.length;x++)p=(g.words[x]|0)+k,k=p>>26,this.words[x]=p&67108863;if(k===0&&x<g.length&&g!==this)for(;x<g.length;x++)this.words[x]=g.words[x];return this.length=Math.max(this.length,x),g!==this&&(this.negative=1),this.strip()},n.prototype.sub=function(l){return this.clone().isub(l)};function T(l,p,E){E.negative=p.negative^l.negative;var g=l.length+p.length|0;E.length=g,g=g-1|0;var b=l.words[0]|0,k=p.words[0]|0,x=b*k,S=x&67108863,f=x/67108864|0;E.words[0]=S;for(var M=1;M<g;M++){for(var V=f>>>26,D=f&67108863,j=Math.min(M,p.length-1),Y=Math.max(0,M-l.length+1);Y<=j;Y++){var oe=M-Y|0;b=l.words[oe]|0,k=p.words[Y]|0,x=b*k+D,V+=x/67108864|0,D=x&67108863}E.words[M]=D|0,f=V|0}return f!==0?E.words[M]=f|0:E.length--,E.strip()}var A=function(l,p,E){var g=l.words,b=p.words,k=E.words,x=0,S,f,M,V=g[0]|0,D=V&8191,j=V>>>13,Y=g[1]|0,oe=Y&8191,de=Y>>>13,ue=g[2]|0,ae=ue&8191,q=ue>>>13,ne=g[3]|0,me=ne&8191,ve=ne>>>13,ge=g[4]|0,ce=ge&8191,ee=ge>>>13,fe=g[5]|0,ie=fe&8191,re=fe>>>13,Oe=g[6]|0,Pe=Oe&8191,Ne=Oe>>>13,Xe=g[7]|0,Je=Xe&8191,ft=Xe>>>13,Kt=g[8]|0,wt=Kt&8191,Ie=Kt>>>13,it=g[9]|0,Ye=it&8191,et=it>>>13,Gt=b[0]|0,It=Gt&8191,Rt=Gt>>>13,_r=b[1]|0,jt=_r&8191,Fe=_r>>>13,Pr=b[2]|0,$t=Pr&8191,Qt=Pr>>>13,At=b[3]|0,ur=At&8191,tr=At>>>13,Vt=b[4]|0,bt=Vt&8191,kt=Vt>>>13,er=b[5]|0,Et=er&8191,qt=er>>>13,Hr=b[6]|0,_t=Hr&8191,Wt=Hr>>>13,qr=b[7]|0,Ce=qr&8191,_e=qr>>>13,Ze=b[8]|0,he=Ze&8191,Ke=Ze>>>13,Ht=b[9]|0,yt=Ht&8191,Ot=Ht>>>13;E.negative=l.negative^p.negative,E.length=19,S=Math.imul(D,It),f=Math.imul(D,Rt),f=f+Math.imul(j,It)|0,M=Math.imul(j,Rt);var hr=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(hr>>>26)|0,hr&=67108863,S=Math.imul(oe,It),f=Math.imul(oe,Rt),f=f+Math.imul(de,It)|0,M=Math.imul(de,Rt),S=S+Math.imul(D,jt)|0,f=f+Math.imul(D,Fe)|0,f=f+Math.imul(j,jt)|0,M=M+Math.imul(j,Fe)|0;var Br=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Br>>>26)|0,Br&=67108863,S=Math.imul(ae,It),f=Math.imul(ae,Rt),f=f+Math.imul(q,It)|0,M=Math.imul(q,Rt),S=S+Math.imul(oe,jt)|0,f=f+Math.imul(oe,Fe)|0,f=f+Math.imul(de,jt)|0,M=M+Math.imul(de,Fe)|0,S=S+Math.imul(D,$t)|0,f=f+Math.imul(D,Qt)|0,f=f+Math.imul(j,$t)|0,M=M+Math.imul(j,Qt)|0;var Er=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Er>>>26)|0,Er&=67108863,S=Math.imul(me,It),f=Math.imul(me,Rt),f=f+Math.imul(ve,It)|0,M=Math.imul(ve,Rt),S=S+Math.imul(ae,jt)|0,f=f+Math.imul(ae,Fe)|0,f=f+Math.imul(q,jt)|0,M=M+Math.imul(q,Fe)|0,S=S+Math.imul(oe,$t)|0,f=f+Math.imul(oe,Qt)|0,f=f+Math.imul(de,$t)|0,M=M+Math.imul(de,Qt)|0,S=S+Math.imul(D,ur)|0,f=f+Math.imul(D,tr)|0,f=f+Math.imul(j,ur)|0,M=M+Math.imul(j,tr)|0;var Qe=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,S=Math.imul(ce,It),f=Math.imul(ce,Rt),f=f+Math.imul(ee,It)|0,M=Math.imul(ee,Rt),S=S+Math.imul(me,jt)|0,f=f+Math.imul(me,Fe)|0,f=f+Math.imul(ve,jt)|0,M=M+Math.imul(ve,Fe)|0,S=S+Math.imul(ae,$t)|0,f=f+Math.imul(ae,Qt)|0,f=f+Math.imul(q,$t)|0,M=M+Math.imul(q,Qt)|0,S=S+Math.imul(oe,ur)|0,f=f+Math.imul(oe,tr)|0,f=f+Math.imul(de,ur)|0,M=M+Math.imul(de,tr)|0,S=S+Math.imul(D,bt)|0,f=f+Math.imul(D,kt)|0,f=f+Math.imul(j,bt)|0,M=M+Math.imul(j,kt)|0;var mt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(mt>>>26)|0,mt&=67108863,S=Math.imul(ie,It),f=Math.imul(ie,Rt),f=f+Math.imul(re,It)|0,M=Math.imul(re,Rt),S=S+Math.imul(ce,jt)|0,f=f+Math.imul(ce,Fe)|0,f=f+Math.imul(ee,jt)|0,M=M+Math.imul(ee,Fe)|0,S=S+Math.imul(me,$t)|0,f=f+Math.imul(me,Qt)|0,f=f+Math.imul(ve,$t)|0,M=M+Math.imul(ve,Qt)|0,S=S+Math.imul(ae,ur)|0,f=f+Math.imul(ae,tr)|0,f=f+Math.imul(q,ur)|0,M=M+Math.imul(q,tr)|0,S=S+Math.imul(oe,bt)|0,f=f+Math.imul(oe,kt)|0,f=f+Math.imul(de,bt)|0,M=M+Math.imul(de,kt)|0,S=S+Math.imul(D,Et)|0,f=f+Math.imul(D,qt)|0,f=f+Math.imul(j,Et)|0,M=M+Math.imul(j,qt)|0;var Ue=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Ue>>>26)|0,Ue&=67108863,S=Math.imul(Pe,It),f=Math.imul(Pe,Rt),f=f+Math.imul(Ne,It)|0,M=Math.imul(Ne,Rt),S=S+Math.imul(ie,jt)|0,f=f+Math.imul(ie,Fe)|0,f=f+Math.imul(re,jt)|0,M=M+Math.imul(re,Fe)|0,S=S+Math.imul(ce,$t)|0,f=f+Math.imul(ce,Qt)|0,f=f+Math.imul(ee,$t)|0,M=M+Math.imul(ee,Qt)|0,S=S+Math.imul(me,ur)|0,f=f+Math.imul(me,tr)|0,f=f+Math.imul(ve,ur)|0,M=M+Math.imul(ve,tr)|0,S=S+Math.imul(ae,bt)|0,f=f+Math.imul(ae,kt)|0,f=f+Math.imul(q,bt)|0,M=M+Math.imul(q,kt)|0,S=S+Math.imul(oe,Et)|0,f=f+Math.imul(oe,qt)|0,f=f+Math.imul(de,Et)|0,M=M+Math.imul(de,qt)|0,S=S+Math.imul(D,_t)|0,f=f+Math.imul(D,Wt)|0,f=f+Math.imul(j,_t)|0,M=M+Math.imul(j,Wt)|0;var Ge=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,S=Math.imul(Je,It),f=Math.imul(Je,Rt),f=f+Math.imul(ft,It)|0,M=Math.imul(ft,Rt),S=S+Math.imul(Pe,jt)|0,f=f+Math.imul(Pe,Fe)|0,f=f+Math.imul(Ne,jt)|0,M=M+Math.imul(Ne,Fe)|0,S=S+Math.imul(ie,$t)|0,f=f+Math.imul(ie,Qt)|0,f=f+Math.imul(re,$t)|0,M=M+Math.imul(re,Qt)|0,S=S+Math.imul(ce,ur)|0,f=f+Math.imul(ce,tr)|0,f=f+Math.imul(ee,ur)|0,M=M+Math.imul(ee,tr)|0,S=S+Math.imul(me,bt)|0,f=f+Math.imul(me,kt)|0,f=f+Math.imul(ve,bt)|0,M=M+Math.imul(ve,kt)|0,S=S+Math.imul(ae,Et)|0,f=f+Math.imul(ae,qt)|0,f=f+Math.imul(q,Et)|0,M=M+Math.imul(q,qt)|0,S=S+Math.imul(oe,_t)|0,f=f+Math.imul(oe,Wt)|0,f=f+Math.imul(de,_t)|0,M=M+Math.imul(de,Wt)|0,S=S+Math.imul(D,Ce)|0,f=f+Math.imul(D,_e)|0,f=f+Math.imul(j,Ce)|0,M=M+Math.imul(j,_e)|0;var Me=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Me>>>26)|0,Me&=67108863,S=Math.imul(wt,It),f=Math.imul(wt,Rt),f=f+Math.imul(Ie,It)|0,M=Math.imul(Ie,Rt),S=S+Math.imul(Je,jt)|0,f=f+Math.imul(Je,Fe)|0,f=f+Math.imul(ft,jt)|0,M=M+Math.imul(ft,Fe)|0,S=S+Math.imul(Pe,$t)|0,f=f+Math.imul(Pe,Qt)|0,f=f+Math.imul(Ne,$t)|0,M=M+Math.imul(Ne,Qt)|0,S=S+Math.imul(ie,ur)|0,f=f+Math.imul(ie,tr)|0,f=f+Math.imul(re,ur)|0,M=M+Math.imul(re,tr)|0,S=S+Math.imul(ce,bt)|0,f=f+Math.imul(ce,kt)|0,f=f+Math.imul(ee,bt)|0,M=M+Math.imul(ee,kt)|0,S=S+Math.imul(me,Et)|0,f=f+Math.imul(me,qt)|0,f=f+Math.imul(ve,Et)|0,M=M+Math.imul(ve,qt)|0,S=S+Math.imul(ae,_t)|0,f=f+Math.imul(ae,Wt)|0,f=f+Math.imul(q,_t)|0,M=M+Math.imul(q,Wt)|0,S=S+Math.imul(oe,Ce)|0,f=f+Math.imul(oe,_e)|0,f=f+Math.imul(de,Ce)|0,M=M+Math.imul(de,_e)|0,S=S+Math.imul(D,he)|0,f=f+Math.imul(D,Ke)|0,f=f+Math.imul(j,he)|0,M=M+Math.imul(j,Ke)|0;var ze=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ze>>>26)|0,ze&=67108863,S=Math.imul(Ye,It),f=Math.imul(Ye,Rt),f=f+Math.imul(et,It)|0,M=Math.imul(et,Rt),S=S+Math.imul(wt,jt)|0,f=f+Math.imul(wt,Fe)|0,f=f+Math.imul(Ie,jt)|0,M=M+Math.imul(Ie,Fe)|0,S=S+Math.imul(Je,$t)|0,f=f+Math.imul(Je,Qt)|0,f=f+Math.imul(ft,$t)|0,M=M+Math.imul(ft,Qt)|0,S=S+Math.imul(Pe,ur)|0,f=f+Math.imul(Pe,tr)|0,f=f+Math.imul(Ne,ur)|0,M=M+Math.imul(Ne,tr)|0,S=S+Math.imul(ie,bt)|0,f=f+Math.imul(ie,kt)|0,f=f+Math.imul(re,bt)|0,M=M+Math.imul(re,kt)|0,S=S+Math.imul(ce,Et)|0,f=f+Math.imul(ce,qt)|0,f=f+Math.imul(ee,Et)|0,M=M+Math.imul(ee,qt)|0,S=S+Math.imul(me,_t)|0,f=f+Math.imul(me,Wt)|0,f=f+Math.imul(ve,_t)|0,M=M+Math.imul(ve,Wt)|0,S=S+Math.imul(ae,Ce)|0,f=f+Math.imul(ae,_e)|0,f=f+Math.imul(q,Ce)|0,M=M+Math.imul(q,_e)|0,S=S+Math.imul(oe,he)|0,f=f+Math.imul(oe,Ke)|0,f=f+Math.imul(de,he)|0,M=M+Math.imul(de,Ke)|0,S=S+Math.imul(D,yt)|0,f=f+Math.imul(D,Ot)|0,f=f+Math.imul(j,yt)|0,M=M+Math.imul(j,Ot)|0;var Le=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Le>>>26)|0,Le&=67108863,S=Math.imul(Ye,jt),f=Math.imul(Ye,Fe),f=f+Math.imul(et,jt)|0,M=Math.imul(et,Fe),S=S+Math.imul(wt,$t)|0,f=f+Math.imul(wt,Qt)|0,f=f+Math.imul(Ie,$t)|0,M=M+Math.imul(Ie,Qt)|0,S=S+Math.imul(Je,ur)|0,f=f+Math.imul(Je,tr)|0,f=f+Math.imul(ft,ur)|0,M=M+Math.imul(ft,tr)|0,S=S+Math.imul(Pe,bt)|0,f=f+Math.imul(Pe,kt)|0,f=f+Math.imul(Ne,bt)|0,M=M+Math.imul(Ne,kt)|0,S=S+Math.imul(ie,Et)|0,f=f+Math.imul(ie,qt)|0,f=f+Math.imul(re,Et)|0,M=M+Math.imul(re,qt)|0,S=S+Math.imul(ce,_t)|0,f=f+Math.imul(ce,Wt)|0,f=f+Math.imul(ee,_t)|0,M=M+Math.imul(ee,Wt)|0,S=S+Math.imul(me,Ce)|0,f=f+Math.imul(me,_e)|0,f=f+Math.imul(ve,Ce)|0,M=M+Math.imul(ve,_e)|0,S=S+Math.imul(ae,he)|0,f=f+Math.imul(ae,Ke)|0,f=f+Math.imul(q,he)|0,M=M+Math.imul(q,Ke)|0,S=S+Math.imul(oe,yt)|0,f=f+Math.imul(oe,Ot)|0,f=f+Math.imul(de,yt)|0,M=M+Math.imul(de,Ot)|0;var rt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(rt>>>26)|0,rt&=67108863,S=Math.imul(Ye,$t),f=Math.imul(Ye,Qt),f=f+Math.imul(et,$t)|0,M=Math.imul(et,Qt),S=S+Math.imul(wt,ur)|0,f=f+Math.imul(wt,tr)|0,f=f+Math.imul(Ie,ur)|0,M=M+Math.imul(Ie,tr)|0,S=S+Math.imul(Je,bt)|0,f=f+Math.imul(Je,kt)|0,f=f+Math.imul(ft,bt)|0,M=M+Math.imul(ft,kt)|0,S=S+Math.imul(Pe,Et)|0,f=f+Math.imul(Pe,qt)|0,f=f+Math.imul(Ne,Et)|0,M=M+Math.imul(Ne,qt)|0,S=S+Math.imul(ie,_t)|0,f=f+Math.imul(ie,Wt)|0,f=f+Math.imul(re,_t)|0,M=M+Math.imul(re,Wt)|0,S=S+Math.imul(ce,Ce)|0,f=f+Math.imul(ce,_e)|0,f=f+Math.imul(ee,Ce)|0,M=M+Math.imul(ee,_e)|0,S=S+Math.imul(me,he)|0,f=f+Math.imul(me,Ke)|0,f=f+Math.imul(ve,he)|0,M=M+Math.imul(ve,Ke)|0,S=S+Math.imul(ae,yt)|0,f=f+Math.imul(ae,Ot)|0,f=f+Math.imul(q,yt)|0,M=M+Math.imul(q,Ot)|0;var ht=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ht>>>26)|0,ht&=67108863,S=Math.imul(Ye,ur),f=Math.imul(Ye,tr),f=f+Math.imul(et,ur)|0,M=Math.imul(et,tr),S=S+Math.imul(wt,bt)|0,f=f+Math.imul(wt,kt)|0,f=f+Math.imul(Ie,bt)|0,M=M+Math.imul(Ie,kt)|0,S=S+Math.imul(Je,Et)|0,f=f+Math.imul(Je,qt)|0,f=f+Math.imul(ft,Et)|0,M=M+Math.imul(ft,qt)|0,S=S+Math.imul(Pe,_t)|0,f=f+Math.imul(Pe,Wt)|0,f=f+Math.imul(Ne,_t)|0,M=M+Math.imul(Ne,Wt)|0,S=S+Math.imul(ie,Ce)|0,f=f+Math.imul(ie,_e)|0,f=f+Math.imul(re,Ce)|0,M=M+Math.imul(re,_e)|0,S=S+Math.imul(ce,he)|0,f=f+Math.imul(ce,Ke)|0,f=f+Math.imul(ee,he)|0,M=M+Math.imul(ee,Ke)|0,S=S+Math.imul(me,yt)|0,f=f+Math.imul(me,Ot)|0,f=f+Math.imul(ve,yt)|0,M=M+Math.imul(ve,Ot)|0;var ut=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(ut>>>26)|0,ut&=67108863,S=Math.imul(Ye,bt),f=Math.imul(Ye,kt),f=f+Math.imul(et,bt)|0,M=Math.imul(et,kt),S=S+Math.imul(wt,Et)|0,f=f+Math.imul(wt,qt)|0,f=f+Math.imul(Ie,Et)|0,M=M+Math.imul(Ie,qt)|0,S=S+Math.imul(Je,_t)|0,f=f+Math.imul(Je,Wt)|0,f=f+Math.imul(ft,_t)|0,M=M+Math.imul(ft,Wt)|0,S=S+Math.imul(Pe,Ce)|0,f=f+Math.imul(Pe,_e)|0,f=f+Math.imul(Ne,Ce)|0,M=M+Math.imul(Ne,_e)|0,S=S+Math.imul(ie,he)|0,f=f+Math.imul(ie,Ke)|0,f=f+Math.imul(re,he)|0,M=M+Math.imul(re,Ke)|0,S=S+Math.imul(ce,yt)|0,f=f+Math.imul(ce,Ot)|0,f=f+Math.imul(ee,yt)|0,M=M+Math.imul(ee,Ot)|0;var Dt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,S=Math.imul(Ye,Et),f=Math.imul(Ye,qt),f=f+Math.imul(et,Et)|0,M=Math.imul(et,qt),S=S+Math.imul(wt,_t)|0,f=f+Math.imul(wt,Wt)|0,f=f+Math.imul(Ie,_t)|0,M=M+Math.imul(Ie,Wt)|0,S=S+Math.imul(Je,Ce)|0,f=f+Math.imul(Je,_e)|0,f=f+Math.imul(ft,Ce)|0,M=M+Math.imul(ft,_e)|0,S=S+Math.imul(Pe,he)|0,f=f+Math.imul(Pe,Ke)|0,f=f+Math.imul(Ne,he)|0,M=M+Math.imul(Ne,Ke)|0,S=S+Math.imul(ie,yt)|0,f=f+Math.imul(ie,Ot)|0,f=f+Math.imul(re,yt)|0,M=M+Math.imul(re,Ot)|0;var He=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(He>>>26)|0,He&=67108863,S=Math.imul(Ye,_t),f=Math.imul(Ye,Wt),f=f+Math.imul(et,_t)|0,M=Math.imul(et,Wt),S=S+Math.imul(wt,Ce)|0,f=f+Math.imul(wt,_e)|0,f=f+Math.imul(Ie,Ce)|0,M=M+Math.imul(Ie,_e)|0,S=S+Math.imul(Je,he)|0,f=f+Math.imul(Je,Ke)|0,f=f+Math.imul(ft,he)|0,M=M+Math.imul(ft,Ke)|0,S=S+Math.imul(Pe,yt)|0,f=f+Math.imul(Pe,Ot)|0,f=f+Math.imul(Ne,yt)|0,M=M+Math.imul(Ne,Ot)|0;var nt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(nt>>>26)|0,nt&=67108863,S=Math.imul(Ye,Ce),f=Math.imul(Ye,_e),f=f+Math.imul(et,Ce)|0,M=Math.imul(et,_e),S=S+Math.imul(wt,he)|0,f=f+Math.imul(wt,Ke)|0,f=f+Math.imul(Ie,he)|0,M=M+Math.imul(Ie,Ke)|0,S=S+Math.imul(Je,yt)|0,f=f+Math.imul(Je,Ot)|0,f=f+Math.imul(ft,yt)|0,M=M+Math.imul(ft,Ot)|0;var at=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(at>>>26)|0,at&=67108863,S=Math.imul(Ye,he),f=Math.imul(Ye,Ke),f=f+Math.imul(et,he)|0,M=Math.imul(et,Ke),S=S+Math.imul(wt,yt)|0,f=f+Math.imul(wt,Ot)|0,f=f+Math.imul(Ie,yt)|0,M=M+Math.imul(Ie,Ot)|0;var Tt=(x+S|0)+((f&8191)<<13)|0;x=(M+(f>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,S=Math.imul(Ye,yt),f=Math.imul(Ye,Ot),f=f+Math.imul(et,yt)|0,M=Math.imul(et,Ot);var pt=(x+S|0)+((f&8191)<<13)|0;return x=(M+(f>>>13)|0)+(pt>>>26)|0,pt&=67108863,k[0]=hr,k[1]=Br,k[2]=Er,k[3]=Qe,k[4]=mt,k[5]=Ue,k[6]=Ge,k[7]=Me,k[8]=ze,k[9]=Le,k[10]=rt,k[11]=ht,k[12]=ut,k[13]=Dt,k[14]=He,k[15]=nt,k[16]=at,k[17]=Tt,k[18]=pt,x!==0&&(k[19]=x,E.length++),E};Math.imul||(A=T);function O(l,p,E){E.negative=p.negative^l.negative,E.length=l.length+p.length;for(var g=0,b=0,k=0;k<E.length-1;k++){var x=b;b=0;for(var S=g&67108863,f=Math.min(k,p.length-1),M=Math.max(0,k-l.length+1);M<=f;M++){var V=k-M,D=l.words[V]|0,j=p.words[M]|0,Y=D*j,oe=Y&67108863;x=x+(Y/67108864|0)|0,oe=oe+S|0,S=oe&67108863,x=x+(oe>>>26)|0,b+=x>>>26,x&=67108863}E.words[k]=S,g=x,x=b}return g!==0?E.words[k]=g:E.length--,E.strip()}function v(l,p,E){var g=new B;return g.mulp(l,p,E)}n.prototype.mulTo=function(l,p){var E,g=this.length+l.length;return this.length===10&&l.length===10?E=A(this,l,p):g<63?E=T(this,l,p):g<1024?E=O(this,l,p):E=v(this,l,p),E};function B(l,p){this.x=l,this.y=p}B.prototype.makeRBT=function(l){for(var p=new Array(l),E=n.prototype._countBits(l)-1,g=0;g<l;g++)p[g]=this.revBin(g,E,l);return p},B.prototype.revBin=function(l,p,E){if(l===0||l===E-1)return l;for(var g=0,b=0;b<p;b++)g|=(l&1)<<p-b-1,l>>=1;return g},B.prototype.permute=function(l,p,E,g,b,k){for(var x=0;x<k;x++)g[x]=p[l[x]],b[x]=E[l[x]]},B.prototype.transform=function(l,p,E,g,b,k){this.permute(k,l,p,E,g,b);for(var x=1;x<b;x<<=1)for(var S=x<<1,f=Math.cos(2*Math.PI/S),M=Math.sin(2*Math.PI/S),V=0;V<b;V+=S)for(var D=f,j=M,Y=0;Y<x;Y++){var oe=E[V+Y],de=g[V+Y],ue=E[V+Y+x],ae=g[V+Y+x],q=D*ue-j*ae;ae=D*ae+j*ue,ue=q,E[V+Y]=oe+ue,g[V+Y]=de+ae,E[V+Y+x]=oe-ue,g[V+Y+x]=de-ae,Y!==S&&(q=f*D-M*j,j=f*j+M*D,D=q)}},B.prototype.guessLen13b=function(l,p){var E=Math.max(p,l)|1,g=E&1,b=0;for(E=E/2|0;E;E=E>>>1)b++;return 1<<b+1+g},B.prototype.conjugate=function(l,p,E){if(!(E<=1))for(var g=0;g<E/2;g++){var b=l[g];l[g]=l[E-g-1],l[E-g-1]=b,b=p[g],p[g]=-p[E-g-1],p[E-g-1]=-b}},B.prototype.normalize13b=function(l,p){for(var E=0,g=0;g<p/2;g++){var b=Math.round(l[2*g+1]/p)*8192+Math.round(l[2*g]/p)+E;l[g]=b&67108863,b<67108864?E=0:E=b/67108864|0}return l},B.prototype.convert13b=function(l,p,E,g){for(var b=0,k=0;k<p;k++)b=b+(l[k]|0),E[2*k]=b&8191,b=b>>>13,E[2*k+1]=b&8191,b=b>>>13;for(k=2*p;k<g;++k)E[k]=0;s(b===0),s((b&-8192)===0)},B.prototype.stub=function(l){for(var p=new Array(l),E=0;E<l;E++)p[E]=0;return p},B.prototype.mulp=function(l,p,E){var g=2*this.guessLen13b(l.length,p.length),b=this.makeRBT(g),k=this.stub(g),x=new Array(g),S=new Array(g),f=new Array(g),M=new Array(g),V=new Array(g),D=new Array(g),j=E.words;j.length=g,this.convert13b(l.words,l.length,x,g),this.convert13b(p.words,p.length,M,g),this.transform(x,k,S,f,g,b),this.transform(M,k,V,D,g,b);for(var Y=0;Y<g;Y++){var oe=S[Y]*V[Y]-f[Y]*D[Y];f[Y]=S[Y]*D[Y]+f[Y]*V[Y],S[Y]=oe}return this.conjugate(S,f,g),this.transform(S,f,j,k,g,b),this.conjugate(j,k,g),this.normalize13b(j,g),E.negative=l.negative^p.negative,E.length=l.length+p.length,E.strip()},n.prototype.mul=function(l){var p=new n(null);return p.words=new Array(this.length+l.length),this.mulTo(l,p)},n.prototype.mulf=function(l){var p=new n(null);return p.words=new Array(this.length+l.length),v(this,l,p)},n.prototype.imul=function(l){return this.clone().mulTo(l,this)},n.prototype.imuln=function(l){s(typeof l=="number"),s(l<67108864);for(var p=0,E=0;E<this.length;E++){var g=(this.words[E]|0)*l,b=(g&67108863)+(p&67108863);p>>=26,p+=g/67108864|0,p+=b>>>26,this.words[E]=b&67108863}return p!==0&&(this.words[E]=p,this.length++),this},n.prototype.muln=function(l){return this.clone().imuln(l)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(l){var p=w(l);if(p.length===0)return new n(1);for(var E=this,g=0;g<p.length&&p[g]===0;g++,E=E.sqr());if(++g<p.length)for(var b=E.sqr();g<p.length;g++,b=b.sqr())p[g]!==0&&(E=E.mul(b));return E},n.prototype.iushln=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26,g=67108863>>>26-p<<26-p,b;if(p!==0){var k=0;for(b=0;b<this.length;b++){var x=this.words[b]&g,S=(this.words[b]|0)-x<<p;this.words[b]=S|k,k=x>>>26-p}k&&(this.words[b]=k,this.length++)}if(E!==0){for(b=this.length-1;b>=0;b--)this.words[b+E]=this.words[b];for(b=0;b<E;b++)this.words[b]=0;this.length+=E}return this.strip()},n.prototype.ishln=function(l){return s(this.negative===0),this.iushln(l)},n.prototype.iushrn=function(l,p,E){s(typeof l=="number"&&l>=0);var g;p?g=(p-p%26)/26:g=0;var b=l%26,k=Math.min((l-b)/26,this.length),x=67108863^67108863>>>b<<b,S=E;if(g-=k,g=Math.max(0,g),S){for(var f=0;f<k;f++)S.words[f]=this.words[f];S.length=k}if(k!==0)if(this.length>k)for(this.length-=k,f=0;f<this.length;f++)this.words[f]=this.words[f+k];else this.words[0]=0,this.length=1;var M=0;for(f=this.length-1;f>=0&&(M!==0||f>=g);f--){var V=this.words[f]|0;this.words[f]=M<<26-b|V>>>b,M=V&x}return S&&M!==0&&(S.words[S.length++]=M),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},n.prototype.ishrn=function(l,p,E){return s(this.negative===0),this.iushrn(l,p,E)},n.prototype.shln=function(l){return this.clone().ishln(l)},n.prototype.ushln=function(l){return this.clone().iushln(l)},n.prototype.shrn=function(l){return this.clone().ishrn(l)},n.prototype.ushrn=function(l){return this.clone().iushrn(l)},n.prototype.testn=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26,g=1<<p;if(this.length<=E)return!1;var b=this.words[E];return!!(b&g)},n.prototype.imaskn=function(l){s(typeof l=="number"&&l>=0);var p=l%26,E=(l-p)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=E)return this;if(p!==0&&E++,this.length=Math.min(E,this.length),p!==0){var g=67108863^67108863>>>p<<p;this.words[this.length-1]&=g}return this.strip()},n.prototype.maskn=function(l){return this.clone().imaskn(l)},n.prototype.iaddn=function(l){return s(typeof l=="number"),s(l<67108864),l<0?this.isubn(-l):this.negative!==0?this.length===1&&(this.words[0]|0)<l?(this.words[0]=l-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(l),this.negative=1,this):this._iaddn(l)},n.prototype._iaddn=function(l){this.words[0]+=l;for(var p=0;p<this.length&&this.words[p]>=67108864;p++)this.words[p]-=67108864,p===this.length-1?this.words[p+1]=1:this.words[p+1]++;return this.length=Math.max(this.length,p+1),this},n.prototype.isubn=function(l){if(s(typeof l=="number"),s(l<67108864),l<0)return this.iaddn(-l);if(this.negative!==0)return this.negative=0,this.iaddn(l),this.negative=1,this;if(this.words[0]-=l,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var p=0;p<this.length&&this.words[p]<0;p++)this.words[p]+=67108864,this.words[p+1]-=1;return this.strip()},n.prototype.addn=function(l){return this.clone().iaddn(l)},n.prototype.subn=function(l){return this.clone().isubn(l)},n.prototype.iabs=function(){return this.negative=0,this},n.prototype.abs=function(){return this.clone().iabs()},n.prototype._ishlnsubmul=function(l,p,E){var g=l.length+E,b;this._expand(g);var k,x=0;for(b=0;b<l.length;b++){k=(this.words[b+E]|0)+x;var S=(l.words[b]|0)*p;k-=S&67108863,x=(k>>26)-(S/67108864|0),this.words[b+E]=k&67108863}for(;b<this.length-E;b++)k=(this.words[b+E]|0)+x,x=k>>26,this.words[b+E]=k&67108863;if(x===0)return this.strip();for(s(x===-1),x=0,b=0;b<this.length;b++)k=-(this.words[b]|0)+x,x=k>>26,this.words[b]=k&67108863;return this.negative=1,this.strip()},n.prototype._wordDiv=function(l,p){var E=this.length-l.length,g=this.clone(),b=l,k=b.words[b.length-1]|0,x=this._countBits(k);E=26-x,E!==0&&(b=b.ushln(E),g.iushln(E),k=b.words[b.length-1]|0);var S=g.length-b.length,f;if(p!=="mod"){f=new n(null),f.length=S+1,f.words=new Array(f.length);for(var M=0;M<f.length;M++)f.words[M]=0}var V=g.clone()._ishlnsubmul(b,1,S);V.negative===0&&(g=V,f&&(f.words[S]=1));for(var D=S-1;D>=0;D--){var j=(g.words[b.length+D]|0)*67108864+(g.words[b.length+D-1]|0);for(j=Math.min(j/k|0,67108863),g._ishlnsubmul(b,j,D);g.negative!==0;)j--,g.negative=0,g._ishlnsubmul(b,1,D),g.isZero()||(g.negative^=1);f&&(f.words[D]=j)}return f&&f.strip(),g.strip(),p!=="div"&&E!==0&&g.iushrn(E),{div:f||null,mod:g}},n.prototype.divmod=function(l,p,E){if(s(!l.isZero()),this.isZero())return{div:new n(0),mod:new n(0)};var g,b,k;return this.negative!==0&&l.negative===0?(k=this.neg().divmod(l,p),p!=="mod"&&(g=k.div.neg()),p!=="div"&&(b=k.mod.neg(),E&&b.negative!==0&&b.iadd(l)),{div:g,mod:b}):this.negative===0&&l.negative!==0?(k=this.divmod(l.neg(),p),p!=="mod"&&(g=k.div.neg()),{div:g,mod:k.mod}):this.negative&l.negative?(k=this.neg().divmod(l.neg(),p),p!=="div"&&(b=k.mod.neg(),E&&b.negative!==0&&b.isub(l)),{div:k.div,mod:b}):l.length>this.length||this.cmp(l)<0?{div:new n(0),mod:this}:l.length===1?p==="div"?{div:this.divn(l.words[0]),mod:null}:p==="mod"?{div:null,mod:new n(this.modn(l.words[0]))}:{div:this.divn(l.words[0]),mod:new n(this.modn(l.words[0]))}:this._wordDiv(l,p)},n.prototype.div=function(l){return this.divmod(l,"div",!1).div},n.prototype.mod=function(l){return this.divmod(l,"mod",!1).mod},n.prototype.umod=function(l){return this.divmod(l,"mod",!0).mod},n.prototype.divRound=function(l){var p=this.divmod(l);if(p.mod.isZero())return p.div;var E=p.div.negative!==0?p.mod.isub(l):p.mod,g=l.ushrn(1),b=l.andln(1),k=E.cmp(g);return k<0||b===1&&k===0?p.div:p.div.negative!==0?p.div.isubn(1):p.div.iaddn(1)},n.prototype.modn=function(l){s(l<=67108863);for(var p=(1<<26)%l,E=0,g=this.length-1;g>=0;g--)E=(p*E+(this.words[g]|0))%l;return E},n.prototype.idivn=function(l){s(l<=67108863);for(var p=0,E=this.length-1;E>=0;E--){var g=(this.words[E]|0)+p*67108864;this.words[E]=g/l|0,p=g%l}return this.strip()},n.prototype.divn=function(l){return this.clone().idivn(l)},n.prototype.egcd=function(l){s(l.negative===0),s(!l.isZero());var p=this,E=l.clone();p.negative!==0?p=p.umod(l):p=p.clone();for(var g=new n(1),b=new n(0),k=new n(0),x=new n(1),S=0;p.isEven()&&E.isEven();)p.iushrn(1),E.iushrn(1),++S;for(var f=E.clone(),M=p.clone();!p.isZero();){for(var V=0,D=1;!(p.words[0]&D)&&V<26;++V,D<<=1);if(V>0)for(p.iushrn(V);V-- >0;)(g.isOdd()||b.isOdd())&&(g.iadd(f),b.isub(M)),g.iushrn(1),b.iushrn(1);for(var j=0,Y=1;!(E.words[0]&Y)&&j<26;++j,Y<<=1);if(j>0)for(E.iushrn(j);j-- >0;)(k.isOdd()||x.isOdd())&&(k.iadd(f),x.isub(M)),k.iushrn(1),x.iushrn(1);p.cmp(E)>=0?(p.isub(E),g.isub(k),b.isub(x)):(E.isub(p),k.isub(g),x.isub(b))}return{a:k,b:x,gcd:E.iushln(S)}},n.prototype._invmp=function(l){s(l.negative===0),s(!l.isZero());var p=this,E=l.clone();p.negative!==0?p=p.umod(l):p=p.clone();for(var g=new n(1),b=new n(0),k=E.clone();p.cmpn(1)>0&&E.cmpn(1)>0;){for(var x=0,S=1;!(p.words[0]&S)&&x<26;++x,S<<=1);if(x>0)for(p.iushrn(x);x-- >0;)g.isOdd()&&g.iadd(k),g.iushrn(1);for(var f=0,M=1;!(E.words[0]&M)&&f<26;++f,M<<=1);if(f>0)for(E.iushrn(f);f-- >0;)b.isOdd()&&b.iadd(k),b.iushrn(1);p.cmp(E)>=0?(p.isub(E),g.isub(b)):(E.isub(p),b.isub(g))}var V;return p.cmpn(1)===0?V=g:V=b,V.cmpn(0)<0&&V.iadd(l),V},n.prototype.gcd=function(l){if(this.isZero())return l.abs();if(l.isZero())return this.abs();var p=this.clone(),E=l.clone();p.negative=0,E.negative=0;for(var g=0;p.isEven()&&E.isEven();g++)p.iushrn(1),E.iushrn(1);do{for(;p.isEven();)p.iushrn(1);for(;E.isEven();)E.iushrn(1);var b=p.cmp(E);if(b<0){var k=p;p=E,E=k}else if(b===0||E.cmpn(1)===0)break;p.isub(E)}while(!0);return E.iushln(g)},n.prototype.invm=function(l){return this.egcd(l).a.umod(l)},n.prototype.isEven=function(){return(this.words[0]&1)===0},n.prototype.isOdd=function(){return(this.words[0]&1)===1},n.prototype.andln=function(l){return this.words[0]&l},n.prototype.bincn=function(l){s(typeof l=="number");var p=l%26,E=(l-p)/26,g=1<<p;if(this.length<=E)return this._expand(E+1),this.words[E]|=g,this;for(var b=g,k=E;b!==0&&k<this.length;k++){var x=this.words[k]|0;x+=b,b=x>>>26,x&=67108863,this.words[k]=x}return b!==0&&(this.words[k]=b,this.length++),this},n.prototype.isZero=function(){return this.length===1&&this.words[0]===0},n.prototype.cmpn=function(l){var p=l<0;if(this.negative!==0&&!p)return-1;if(this.negative===0&&p)return 1;this.strip();var E;if(this.length>1)E=1;else{p&&(l=-l),s(l<=67108863,"Number is too big");var g=this.words[0]|0;E=g===l?0:g<l?-1:1}return this.negative!==0?-E|0:E},n.prototype.cmp=function(l){if(this.negative!==0&&l.negative===0)return-1;if(this.negative===0&&l.negative!==0)return 1;var p=this.ucmp(l);return this.negative!==0?-p|0:p},n.prototype.ucmp=function(l){if(this.length>l.length)return 1;if(this.length<l.length)return-1;for(var p=0,E=this.length-1;E>=0;E--){var g=this.words[E]|0,b=l.words[E]|0;if(g!==b){g<b?p=-1:g>b&&(p=1);break}}return p},n.prototype.gtn=function(l){return this.cmpn(l)===1},n.prototype.gt=function(l){return this.cmp(l)===1},n.prototype.gten=function(l){return this.cmpn(l)>=0},n.prototype.gte=function(l){return this.cmp(l)>=0},n.prototype.ltn=function(l){return this.cmpn(l)===-1},n.prototype.lt=function(l){return this.cmp(l)===-1},n.prototype.lten=function(l){return this.cmpn(l)<=0},n.prototype.lte=function(l){return this.cmp(l)<=0},n.prototype.eqn=function(l){return this.cmpn(l)===0},n.prototype.eq=function(l){return this.cmp(l)===0},n.red=function(l){return new F(l)},n.prototype.toRed=function(l){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),l.convertTo(this)._forceRed(l)},n.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(l){return this.red=l,this},n.prototype.forceRed=function(l){return s(!this.red,"Already a number in reduction context"),this._forceRed(l)},n.prototype.redAdd=function(l){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,l)},n.prototype.redIAdd=function(l){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,l)},n.prototype.redSub=function(l){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,l)},n.prototype.redISub=function(l){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,l)},n.prototype.redShl=function(l){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,l)},n.prototype.redMul=function(l){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.mul(this,l)},n.prototype.redIMul=function(l){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.imul(this,l)},n.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(l){return s(this.red&&!l.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,l)};var R={k256:null,p224:null,p192:null,p25519:null};function U(l,p){this.name=l,this.p=new n(p,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}U.prototype._tmp=function(){var l=new n(null);return l.words=new Array(Math.ceil(this.n/13)),l},U.prototype.ireduce=function(l){var p=l,E;do this.split(p,this.tmp),p=this.imulK(p),p=p.iadd(this.tmp),E=p.bitLength();while(E>this.n);var g=E<this.n?-1:p.ucmp(this.p);return g===0?(p.words[0]=0,p.length=1):g>0?p.isub(this.p):p.strip!==void 0?p.strip():p._strip(),p},U.prototype.split=function(l,p){l.iushrn(this.n,0,p)},U.prototype.imulK=function(l){return l.imul(this.k)};function N(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(N,U),N.prototype.split=function(l,p){for(var E=4194303,g=Math.min(l.length,9),b=0;b<g;b++)p.words[b]=l.words[b];if(p.length=g,l.length<=9){l.words[0]=0,l.length=1;return}var k=l.words[9];for(p.words[p.length++]=k&E,b=10;b<l.length;b++){var x=l.words[b]|0;l.words[b-10]=(x&E)<<4|k>>>22,k=x}k>>>=22,l.words[b-10]=k,k===0&&l.length>10?l.length-=10:l.length-=9},N.prototype.imulK=function(l){l.words[l.length]=0,l.words[l.length+1]=0,l.length+=2;for(var p=0,E=0;E<l.length;E++){var g=l.words[E]|0;p+=g*977,l.words[E]=p&67108863,p=g*64+(p/67108864|0)}return l.words[l.length-1]===0&&(l.length--,l.words[l.length-1]===0&&l.length--),l};function _(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i(_,U);function L(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i(L,U);function H(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i(H,U),H.prototype.imulK=function(l){for(var p=0,E=0;E<l.length;E++){var g=(l.words[E]|0)*19+p,b=g&67108863;g>>>=26,l.words[E]=b,p=g}return p!==0&&(l.words[l.length++]=p),l},n._prime=function(l){if(R[l])return R[l];var p;if(l==="k256")p=new N;else if(l==="p224")p=new _;else if(l==="p192")p=new L;else if(l==="p25519")p=new H;else throw new Error("Unknown prime "+l);return R[l]=p,p};function F(l){if(typeof l=="string"){var p=n._prime(l);this.m=p.p,this.prime=p}else s(l.gtn(1),"modulus must be greater than 1"),this.m=l,this.prime=null}F.prototype._verify1=function(l){s(l.negative===0,"red works only with positives"),s(l.red,"red works only with red numbers")},F.prototype._verify2=function(l,p){s((l.negative|p.negative)===0,"red works only with positives"),s(l.red&&l.red===p.red,"red works only with red numbers")},F.prototype.imod=function(l){return this.prime?this.prime.ireduce(l)._forceRed(this):l.umod(this.m)._forceRed(this)},F.prototype.neg=function(l){return l.isZero()?l.clone():this.m.sub(l)._forceRed(this)},F.prototype.add=function(l,p){this._verify2(l,p);var E=l.add(p);return E.cmp(this.m)>=0&&E.isub(this.m),E._forceRed(this)},F.prototype.iadd=function(l,p){this._verify2(l,p);var E=l.iadd(p);return E.cmp(this.m)>=0&&E.isub(this.m),E},F.prototype.sub=function(l,p){this._verify2(l,p);var E=l.sub(p);return E.cmpn(0)<0&&E.iadd(this.m),E._forceRed(this)},F.prototype.isub=function(l,p){this._verify2(l,p);var E=l.isub(p);return E.cmpn(0)<0&&E.iadd(this.m),E},F.prototype.shl=function(l,p){return this._verify1(l),this.imod(l.ushln(p))},F.prototype.imul=function(l,p){return this._verify2(l,p),this.imod(l.imul(p))},F.prototype.mul=function(l,p){return this._verify2(l,p),this.imod(l.mul(p))},F.prototype.isqr=function(l){return this.imul(l,l.clone())},F.prototype.sqr=function(l){return this.mul(l,l)},F.prototype.sqrt=function(l){if(l.isZero())return l.clone();var p=this.m.andln(3);if(s(p%2===1),p===3){var E=this.m.add(new n(1)).iushrn(2);return this.pow(l,E)}for(var g=this.m.subn(1),b=0;!g.isZero()&&g.andln(1)===0;)b++,g.iushrn(1);s(!g.isZero());var k=new n(1).toRed(this),x=k.redNeg(),S=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new n(2*f*f).toRed(this);this.pow(f,S).cmp(x)!==0;)f.redIAdd(x);for(var M=this.pow(f,g),V=this.pow(l,g.addn(1).iushrn(1)),D=this.pow(l,g),j=b;D.cmp(k)!==0;){for(var Y=D,oe=0;Y.cmp(k)!==0;oe++)Y=Y.redSqr();s(oe<j);var de=this.pow(M,new n(1).iushln(j-oe-1));V=V.redMul(de),M=de.redSqr(),D=D.redMul(M),j=oe}return V},F.prototype.invm=function(l){var p=l._invmp(this.m);return p.negative!==0?(p.negative=0,this.imod(p).redNeg()):this.imod(p)},F.prototype.pow=function(l,p){if(p.isZero())return new n(1).toRed(this);if(p.cmpn(1)===0)return l.clone();var E=4,g=new Array(1<<E);g[0]=new n(1).toRed(this),g[1]=l;for(var b=2;b<g.length;b++)g[b]=this.mul(g[b-1],l);var k=g[0],x=0,S=0,f=p.bitLength()%26;for(f===0&&(f=26),b=p.length-1;b>=0;b--){for(var M=p.words[b],V=f-1;V>=0;V--){var D=M>>V&1;if(k!==g[0]&&(k=this.sqr(k)),D===0&&x===0){S=0;continue}x<<=1,x|=D,S++,!(S!==E&&(b!==0||V!==0))&&(k=this.mul(k,g[x]),S=0,x=0)}f=26}return k},F.prototype.convertTo=function(l){var p=l.umod(this.m);return p===l?p.clone():p},F.prototype.convertFrom=function(l){var p=l.clone();return p.red=null,p},n.mont=function(l){return new G(l)};function G(l){F.call(this,l),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new n(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)}i(G,F),G.prototype.convertTo=function(l){return this.imod(l.ushln(this.shift))},G.prototype.convertFrom=function(l){var p=this.imod(l.mul(this.rinv));return p.red=null,p},G.prototype.imul=function(l,p){if(l.isZero()||p.isZero())return l.words[0]=0,l.length=1,l;var E=l.imul(p),g=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=E.isub(g).iushrn(this.shift),k=b;return b.cmp(this.m)>=0?k=b.isub(this.m):b.cmpn(0)<0&&(k=b.iadd(this.m)),k._forceRed(this)},G.prototype.mul=function(l,p){if(l.isZero()||p.isZero())return new n(0)._forceRed(this);var E=l.mul(p),g=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=E.isub(g).iushrn(this.shift),k=b;return b.cmp(this.m)>=0?k=b.isub(this.m):b.cmpn(0)<0&&(k=b.iadd(this.m)),k._forceRed(this)},G.prototype.invm=function(l){var p=this.imod(l._invmp(this.m).mul(this.r2));return p._forceRed(this)}})(typeof t>"u"||t,e)}),BZ=W((e,t)=>{m();var r=hU(),o=vn().Buffer;function s(i,n){return o.from(i.toRed(r.mont(n.modulus)).redPow(new r(n.publicExponent)).fromRed().toArray())}t.exports=s}),sIe=W((e,t)=>{m();var r=KI(),o=Ux(),s=VT(),i=IZ(),n=OZ(),a=hU(),u=BZ(),c=WD(),d=vn().Buffer;t.exports=function(w,T,A){var O;w.padding?O=w.padding:A?O=1:O=4;var v=r(w),B;if(O===4)B=h(v,T);else if(O===1)B=y(v,T,A);else if(O===3){if(B=new a(T),B.cmp(v.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return A?c(B,v):u(B,v)};function h(w,T){var A=w.modulus.byteLength(),O=T.length,v=s("sha1").update(d.alloc(0)).digest(),B=v.length,R=2*B;if(O>A-R-2)throw new Error("message too long");var U=d.alloc(A-O-R-2),N=A-B-1,_=o(B),L=n(d.concat([v,U,d.alloc(1,1),T],N),i(_,N)),H=n(_,i(L,B));return new a(d.concat([d.alloc(1),H,L],A))}function y(w,T,A){var O=T.length,v=w.modulus.byteLength();if(O>v-11)throw new Error("message too long");var B;return A?B=d.alloc(v-O-3,255):B=C(v-O-3),new a(d.concat([d.from([0,A?1:2]),B,d.alloc(1),T],v))}function C(w){for(var T=d.allocUnsafe(w),A=0,O=o(w*2),v=0,B;A<w;)v===O.length&&(O=o(w*2),v=0),B=O[v++],B&&(T[A++]=B);return T}}),fIe=W((e,t)=>{m();var r=KI(),o=IZ(),s=OZ(),i=hU(),n=WD(),a=VT(),u=BZ(),c=vn().Buffer;t.exports=function(C,w,T){var A;C.padding?A=C.padding:T?A=1:A=4;var O=r(C),v=O.modulus.byteLength();if(w.length>v||new i(w).cmp(O.modulus)>=0)throw new Error("decryption error");var B;T?B=u(new i(w),O):B=n(w,O);var R=c.alloc(v-B.length);if(B=c.concat([R,B],v),A===4)return d(O,B);if(A===1)return h(O,B,T);if(A===3)return B;throw new Error("unknown padding")};function d(C,w){var T=C.modulus.byteLength(),A=a("sha1").update(c.alloc(0)).digest(),O=A.length;if(w[0]!==0)throw new Error("decryption error");var v=w.slice(1,O+1),B=w.slice(O+1),R=s(v,o(B,O)),U=s(B,o(R,T-O-1));if(y(A,U.slice(0,O)))throw new Error("decryption error");for(var N=O;U[N]===0;)N++;if(U[N++]!==1)throw new Error("decryption error");return U.slice(N)}function h(C,w,T){for(var A=w.slice(0,2),O=2,v=0;w[O++]!==0;)if(O>=w.length){v++;break}var B=w.slice(2,O-1);if((A.toString("hex")!=="0002"&&!T||A.toString("hex")!=="0001"&&T)&&v++,B.length<8&&v++,v)throw new Error("decryption error");return w.slice(O)}function y(C,w){C=c.from(C),w=c.from(w);var T=0,A=C.length;C.length!==w.length&&(T++,A=Math.min(C.length,w.length));for(var O=-1;++O<A;)T+=C[O]^w[O];return T}}),dIe=W(e=>{m(),e.publicEncrypt=sIe(),e.privateDecrypt=fIe(),e.privateEncrypt=function(t,r){return e.publicEncrypt(t,r,!0)},e.publicDecrypt=function(t,r){return e.privateDecrypt(t,r,!0)}}),AIe=W(e=>{"use strict";m();function t(){throw new Error(`secure random number generation not supported by this browser
use chrome, FireFox or Internet Explorer 11`)}var r=vn(),o=Ux(),s=r.Buffer,i=r.kMaxLength,n=global.crypto||global.msCrypto,a=Math.pow(2,32)-1;function u(C,w){if(typeof C!="number"||C!==C)throw new TypeError("offset must be a number");if(C>a||C<0)throw new TypeError("offset must be a uint32");if(C>i||C>w)throw new RangeError("offset out of range")}function c(C,w,T){if(typeof C!="number"||C!==C)throw new TypeError("size must be a number");if(C>a||C<0)throw new TypeError("size must be a uint32");if(C+w>T||C>i)throw new RangeError("buffer too small")}n&&n.getRandomValues||!I.default.browser?(e.randomFill=d,e.randomFillSync=y):(e.randomFill=t,e.randomFillSync=t);function d(C,w,T,A){if(!s.isBuffer(C)&&!(C instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof w=="function")A=w,w=0,T=C.length;else if(typeof T=="function")A=T,T=C.length-w;else if(typeof A!="function")throw new TypeError('"cb" argument must be a function');return u(w,C.length),c(T,w,C.length),h(C,w,T,A)}function h(C,w,T,A){if(I.default.browser){var O=C.buffer,v=new Uint8Array(O,w,T);if(n.getRandomValues(v),A){I.default.nextTick(function(){A(null,C)});return}return C}if(A){o(T,function(R,U){if(R)return A(R);U.copy(C,w),A(null,C)});return}var B=o(T);return B.copy(C,w),C}function y(C,w,T){if(typeof w>"u"&&(w=0),!s.isBuffer(C)&&!(C instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return u(w,C.length),T===void 0&&(T=C.length-w),c(T,w,C.length),h(C,w,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=FSe(),r=Object.keys(t),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(r);e.getHashes=function(){return o};var s=LY();e.pbkdf2=s.pbkdf2,e.pbkdf2Sync=s.pbkdf2Sync;var i=a6e();e.Cipher=i.Cipher,e.createCipher=i.createCipher,e.Cipheriv=i.Cipheriv,e.createCipheriv=i.createCipheriv,e.Decipher=i.Decipher,e.createDecipher=i.createDecipher,e.Decipheriv=i.Decipheriv,e.createDecipheriv=i.createDecipheriv,e.getCiphers=i.getCiphers,e.listCiphers=i.listCiphers;var n=A6e();e.DiffieHellmanGroup=n.DiffieHellmanGroup,e.createDiffieHellmanGroup=n.createDiffieHellmanGroup,e.getDiffieHellman=n.getDiffieHellman,e.createDiffieHellman=n.createDiffieHellman,e.DiffieHellman=n.DiffieHellman;var a=VCe();e.createSign=a.createSign,e.Sign=a.Sign,e.createVerify=a.createVerify,e.Verify=a.Verify,e.createECDH=QCe();var u=dIe();e.publicEncrypt=u.publicEncrypt,e.privateEncrypt=u.privateEncrypt,e.publicDecrypt=u.publicDecrypt,e.privateDecrypt=u.privateDecrypt;var c=AIe();e.randomFill=c.randomFill,e.randomFillSync=c.randomFillSync,e.createCredentials=function(){throw new Error(`sorry, createCredentials is not implemented yet
we accept pull requests
https://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(r){"use strict";var o=function(Ce){var _e,Ze=new Float64Array(16);if(Ce)for(_e=0;_e<Ce.length;_e++)Ze[_e]=Ce[_e];return Ze},s=function(){throw new Error("no PRNG")},i=new Uint8Array(16),n=new Uint8Array(32);n[0]=9;var a=o(),u=o([1]),c=o([56129,1]),d=o([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),h=o([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),y=o([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),C=o([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),w=o([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function T(Ce,_e,Ze,he){Ce[_e]=Ze>>24&255,Ce[_e+1]=Ze>>16&255,Ce[_e+2]=Ze>>8&255,Ce[_e+3]=Ze&255,Ce[_e+4]=he>>24&255,Ce[_e+5]=he>>16&255,Ce[_e+6]=he>>8&255,Ce[_e+7]=he&255}function A(Ce,_e,Ze,he,Ke){var Ht,yt=0;for(Ht=0;Ht<Ke;Ht++)yt|=Ce[_e+Ht]^Ze[he+Ht];return(1&yt-1>>>8)-1}function O(Ce,_e,Ze,he){return A(Ce,_e,Ze,he,16)}function v(Ce,_e,Ze,he){return A(Ce,_e,Ze,he,32)}function B(Ce,_e,Ze,he){for(var Ke=he[0]&255|(he[1]&255)<<8|(he[2]&255)<<16|(he[3]&255)<<24,Ht=Ze[0]&255|(Ze[1]&255)<<8|(Ze[2]&255)<<16|(Ze[3]&255)<<24,yt=Ze[4]&255|(Ze[5]&255)<<8|(Ze[6]&255)<<16|(Ze[7]&255)<<24,Ot=Ze[8]&255|(Ze[9]&255)<<8|(Ze[10]&255)<<16|(Ze[11]&255)<<24,hr=Ze[12]&255|(Ze[13]&255)<<8|(Ze[14]&255)<<16|(Ze[15]&255)<<24,Br=he[4]&255|(he[5]&255)<<8|(he[6]&255)<<16|(he[7]&255)<<24,Er=_e[0]&255|(_e[1]&255)<<8|(_e[2]&255)<<16|(_e[3]&255)<<24,Qe=_e[4]&255|(_e[5]&255)<<8|(_e[6]&255)<<16|(_e[7]&255)<<24,mt=_e[8]&255|(_e[9]&255)<<8|(_e[10]&255)<<16|(_e[11]&255)<<24,Ue=_e[12]&255|(_e[13]&255)<<8|(_e[14]&255)<<16|(_e[15]&255)<<24,Ge=he[8]&255|(he[9]&255)<<8|(he[10]&255)<<16|(he[11]&255)<<24,Me=Ze[16]&255|(Ze[17]&255)<<8|(Ze[18]&255)<<16|(Ze[19]&255)<<24,ze=Ze[20]&255|(Ze[21]&255)<<8|(Ze[22]&255)<<16|(Ze[23]&255)<<24,Le=Ze[24]&255|(Ze[25]&255)<<8|(Ze[26]&255)<<16|(Ze[27]&255)<<24,rt=Ze[28]&255|(Ze[29]&255)<<8|(Ze[30]&255)<<16|(Ze[31]&255)<<24,ht=he[12]&255|(he[13]&255)<<8|(he[14]&255)<<16|(he[15]&255)<<24,ut=Ke,Dt=Ht,He=yt,nt=Ot,at=hr,Tt=Br,pt=Er,Bt=Qe,Zt=mt,K=Ue,X=Ge,Z=Me,be=ze,Be=Le,dt=rt,gt=ht,Ve,Yt=0;Yt<20;Yt+=2)Ve=ut+be|0,at^=Ve<<7|Ve>>>25,Ve=at+ut|0,Zt^=Ve<<9|Ve>>>23,Ve=Zt+at|0,be^=Ve<<13|Ve>>>19,Ve=be+Zt|0,ut^=Ve<<18|Ve>>>14,Ve=Tt+Dt|0,K^=Ve<<7|Ve>>>25,Ve=K+Tt|0,Be^=Ve<<9|Ve>>>23,Ve=Be+K|0,Dt^=Ve<<13|Ve>>>19,Ve=Dt+Be|0,Tt^=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>8&255,Ce[6]=Dt>>>16&255,Ce[7]=Dt>>>24&255,Ce[8]=He>>>0&255,Ce[9]=He>>>8&255,Ce[10]=He>>>16&255,Ce[11]=He>>>24&255,Ce[12]=nt>>>0&255,Ce[13]=nt>>>8&255,Ce[14]=nt>>>16&255,Ce[15]=nt>>>24&255,Ce[16]=at>>>0&255,Ce[17]=at>>>8&255,Ce[18]=at>>>16&255,Ce[19]=at>>>24&255,Ce[20]=Tt>>>0&255,Ce[21]=Tt>>>8&255,Ce[22]=Tt>>>16&255,Ce[23]=Tt>>>24&255,Ce[24]=pt>>>0&255,Ce[25]=pt>>>8&255,Ce[26]=pt>>>16&255,Ce[27]=pt>>>24&255,Ce[28]=Bt>>>0&255,Ce[29]=Bt>>>8&255,Ce[30]=Bt>>>16&255,Ce[31]=Bt>>>24&255,Ce[32]=Zt>>>0&255,Ce[33]=Zt>>>8&255,Ce[34]=Zt>>>16&255,Ce[35]=Zt>>>24&255,Ce[36]=K>>>0&255,Ce[37]=K>>>8&255,Ce[38]=K>>>16&255,Ce[39]=K>>>24&255,Ce[40]=X>>>0&255,Ce[41]=X>>>8&255,Ce[42]=X>>>16&255,Ce[43]=X>>>24&255,Ce[44]=Z>>>0&255,Ce[45]=Z>>>8&255,Ce[46]=Z>>>16&255,Ce[47]=Z>>>24&255,Ce[48]=be>>>0&255,Ce[49]=be>>>8&255,Ce[50]=be>>>16&255,Ce[51]=be>>>24&255,Ce[52]=Be>>>0&255,Ce[53]=Be>>>8&255,Ce[54]=Be>>>16&255,Ce[55]=Be>>>24&255,Ce[56]=dt>>>0&255,Ce[57]=dt>>>8&255,Ce[58]=dt>>>16&255,Ce[59]=dt>>>24&255,Ce[60]=gt>>>0&255,Ce[61]=gt>>>8&255,Ce[62]=gt>>>16&255,Ce[63]=gt>>>24&255}function R(Ce,_e,Ze,he){for(var Ke=he[0]&255|(he[1]&255)<<8|(he[2]&255)<<16|(he[3]&255)<<24,Ht=Ze[0]&255|(Ze[1]&255)<<8|(Ze[2]&255)<<16|(Ze[3]&255)<<24,yt=Ze[4]&255|(Ze[5]&255)<<8|(Ze[6]&255)<<16|(Ze[7]&255)<<24,Ot=Ze[8]&255|(Ze[9]&255)<<8|(Ze[10]&255)<<16|(Ze[11]&255)<<24,hr=Ze[12]&255|(Ze[13]&255)<<8|(Ze[14]&255)<<16|(Ze[15]&255)<<24,Br=he[4]&255|(he[5]&255)<<8|(he[6]&255)<<16|(he[7]&255)<<24,Er=_e[0]&255|(_e[1]&255)<<8|(_e[2]&255)<<16|(_e[3]&255)<<24,Qe=_e[4]&255|(_e[5]&255)<<8|(_e[6]&255)<<16|(_e[7]&255)<<24,mt=_e[8]&255|(_e[9]&255)<<8|(_e[10]&255)<<16|(_e[11]&255)<<24,Ue=_e[12]&255|(_e[13]&255)<<8|(_e[14]&255)<<16|(_e[15]&255)<<24,Ge=he[8]&255|(he[9]&255)<<8|(he[10]&255)<<16|(he[11]&255)<<24,Me=Ze[16]&255|(Ze[17]&255)<<8|(Ze[18]&255)<<16|(Ze[19]&255)<<24,ze=Ze[20]&255|(Ze[21]&255)<<8|(Ze[22]&255)<<16|(Ze[23]&255)<<24,Le=Ze[24]&255|(Ze[25]&255)<<8|(Ze[26]&255)<<16|(Ze[27]&255)<<24,rt=Ze[28]&255|(Ze[29]&255)<<8|(Ze[30]&255)<<16|(Ze[31]&255)<<24,ht=he[12]&255|(he[13]&255)<<8|(he[14]&255)<<16|(he[15]&255)<<24,ut=Ke,Dt=Ht,He=yt,nt=Ot,at=hr,Tt=Br,pt=Er,Bt=Qe,Zt=mt,K=Ue,X=Ge,Z=Me,be=ze,Be=Le,dt=rt,gt=ht,Ve,Yt=0;Yt<20;Yt+=2)Ve=ut+be|0,at^=Ve<<7|Ve>>>25,Ve=at+ut|0,Zt^=Ve<<9|Ve>>>23,Ve=Zt+at|0,be^=Ve<<13|Ve>>>19,Ve=be+Zt|0,ut^=Ve<<18|Ve>>>14,Ve=Tt+Dt|0,K^=Ve<<7|Ve>>>25,Ve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ce[12]=gt>>>0&255,Ce[13]=gt>>>8&255,Ce[14]=gt>>>16&255,Ce[15]=gt>>>24&255,Ce[16]=pt>>>0&255,Ce[17]=pt>>>8&255,Ce[18]=pt>>>16&255,Ce[19]=pt>>>24&255,Ce[20]=Bt>>>0&255,Ce[21]=Bt>>>8&255,Ce[22]=Bt>>>16&255,Ce[23]=Bt>>>24&255,Ce[24]=Zt>>>0&255,Ce[25]=Zt>>>8&255,Ce[26]=Zt>>>16&255,Ce[27]=Zt>>>24&255,Ce[28]=K>>>0&255,Ce[29]=K>>>8&255,Ce[30]=K>>>16&255,Ce[31]=K>>>24&255}function U(Ce,_e,Ze,he){B(Ce,_e,Ze,he)}function N(Ce,_e,Ze,he){R(Ce,_e,Ze,he)}var _=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function L(Ce,_e,Ze,he,Ke,Ht,yt){var Ot=new Uint8Array(16),hr=new Uint8Array(64),Br,Er;for(Er=0;Er<16;Er++)Ot[Er]=0;for(Er=0;Er<8;Er++)Ot[Er]=Ht[Er];for(;Ke>=64;){for(U(hr,Ot,yt,_),Er=0;Er<64;Er++)Ce[_e+Er]=Ze[he+Er]^hr[Er];for(Br=1,Er=8;Er<16;Er++)Br=Br+(Ot[Er]&255)|0,Ot[Er]=Br&255,Br>>>=8;Ke-=64,_e+=64,he+=64}if(Ke>0)for(U(hr,Ot,yt,_),Er=0;Er<Ke;Er++)Ce[_e+Er]=Ze[he+Er]^hr[Er];return 0}function H(Ce,_e,Ze,he,Ke){var Ht=new Uint8Array(16),yt=new Uint8Array(64),Ot,hr;for(hr=0;hr<16;hr++)Ht[hr]=0;for(hr=0;hr<8;hr++)Ht[hr]=he[hr];for(;Ze>=64;){for(U(yt,Ht,Ke,_),hr=0;hr<64;hr++)Ce[_e+hr]=yt[hr];for(Ot=1,hr=8;hr<16;hr++)Ot=Ot+(Ht[hr]&255)|0,Ht[hr]=Ot&255,Ot>>>=8;Ze-=64,_e+=64}if(Ze>0)for(U(yt,Ht,Ke,_),hr=0;hr<Ze;hr++)Ce[_e+hr]=yt[hr];return 0}function F(Ce,_e,Ze,he,Ke){var Ht=new Uint8Array(32);N(Ht,he,Ke,_);for(var yt=new Uint8Array(8),Ot=0;Ot<8;Ot++)yt[Ot]=he[Ot+16];return H(Ce,_e,Ze,yt,Ht)}function G(Ce,_e,Ze,he,Ke,Ht,yt){var Ot=new Uint8Array(32);N(Ot,Ht,yt,_);for(var hr=new Uint8Array(8),Br=0;Br<8;Br++)hr[Br]=Ht[Br+16];return L(Ce,_e,Ze,he,Ke,hr,Ot)}var l=function(Ce){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;var _e,Ze,he,Ke,Ht,yt,Ot,hr;_e=Ce[0]&255|(Ce[1]&255)<<8,this.r[0]=_e&8191,Ze=Ce[2]&255|(Ce[3]&255)<<8,this.r[1]=(_e>>>13|Ze<<3)&8191,he=Ce[4]&255|(Ce[5]&255)<<8,this.r[2]=(Ze>>>10|he<<6)&7939,Ke=Ce[6]&255|(Ce[7]&255)<<8,this.r[3]=(he>>>7|Ke<<9)&8191,Ht=Ce[8]&255|(Ce[9]&255)<<8,this.r[4]=(Ke>>>4|Ht<<12)&255,this.r[5]=Ht>>>1&8190,yt=Ce[10]&255|(Ce[11]&255)<<8,this.r[6]=(Ht>>>14|yt<<2)&8191,Ot=Ce[12]&255|(Ce[13]&255)<<8,this.r[7]=(yt>>>11|Ot<<5)&8065,hr=Ce[14]&255|(Ce[15]&255)<<8,this.r[8]=(Ot>>>8|hr<<8)&8191,this.r[9]=hr>>>5&127,this.pad[0]=Ce[16]&255|(Ce[17]&255)<<8,this.pad[1]=Ce[18]&255|(Ce[19]&255)<<8,this.pad[2]=Ce[20]&255|(Ce[21]&255)<<8,this.pad[3]=Ce[22]&255|(Ce[23]&255)<<8,this.pad[4]=Ce[24]&255|(Ce[25]&255)<<8,this.pad[5]=Ce[26]&255|(Ce[27]&255)<<8,this.pad[6]=Ce[28]&255|(Ce[29]&255)<<8,this.pad[7]=Ce[30]&255|(Ce[31]&255)<<8};l.prototype.blocks=function(Ce,_e,Ze){for(var he=this.fin?0:2048,Ke,Ht,yt,Ot,hr,Br,Er,Qe,mt,Ue,Ge,Me,ze,Le,rt,ht,ut,Dt,He,nt=this.h[0],at=this.h[1],Tt=this.h[2],pt=this.h[3],Bt=this.h[4],Zt=this.h[5],K=this.h[6],X=this.h[7],Z=this.h[8],be=this.h[9],Be=this.r[0],dt=this.r[1],gt=this.r[2],Ve=this.r[3],Yt=this.r[4],yr=this.r[5],Cr=this.r[6],dr=this.r[7],wr=this.r[8],jr=this.r[9];Ze>=16;)Ke=Ce[_e+0]&255|(Ce[_e+1]&255)<<8,nt+=Ke&8191,Ht=Ce[_e+2]&255|(Ce[_e+3]&255)<<8,at+=(Ke>>>13|Ht<<3)&8191,yt=Ce[_e+4]&255|(Ce[_e+5]&255)<<8,Tt+=(Ht>>>10|yt<<6)&8191,Ot=Ce[_e+6]&255|(Ce[_e+7]&255)<<8,pt+=(yt>>>7|Ot<<9)&8191,hr=Ce[_e+8]&255|(Ce[_e+9]&255)<<8,Bt+=(Ot>>>4|hr<<12)&8191,Zt+=hr>>>1&8191,Br=Ce[_e+10]&255|(Ce[_e+11]&255)<<8,K+=(hr>>>14|Br<<2)&8191,Er=Ce[_e+12]&255|(Ce[_e+13]&255)<<8,X+=(Br>>>11|Er<<5)&8191,Qe=Ce[_e+14]&255|(Ce[_e+15]&255)<<8,Z+=(Er>>>8|Qe<<8)&8191,be+=Qe>>>5|he,mt=0,Ue=mt,Ue+=nt*Be,Ue+=at*(5*jr),Ue+=Tt*(5*wr),Ue+=pt*(5*dr),Ue+=Bt*(5*Cr),mt=Ue>>>13,Ue&=8191,Ue+=Zt*(5*yr),Ue+=K*(5*Yt),Ue+=X*(5*Ve),Ue+=Z*(5*gt),Ue+=be*(5*dt),mt+=Ue>>>13,Ue&=8191,Ge=mt,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,mt=ut>>>13,ut&=8191,ut+=Zt*gt,ut+=K*dt,ut+=X*Be,ut+=Z*(5*jr),ut+=be*(5*wr),mt+=ut>>>13,ut&=8191,Dt=mt,Dt+=nt*wr,Dt+=at*dr,Dt+=Tt*Cr,Dt+=pt*yr,Dt+=Bt*Yt,mt=Dt>>>13,Dt&=8191,Dt+=Zt*Ve,Dt+=K*gt,Dt+=X*dt,Dt+=Z*Be,Dt+=be*(5*jr),mt+=Dt>>>13,Dt&=8191,He=mt,He+=nt*jr,He+=at*wr,He+=Tt*dr,He+=pt*Cr,He+=Bt*yr,mt=He>>>13,He&=8191,He+=Zt*Yt,He+=K*Ve,He+=X*gt,He+=Z*dt,He+=be*Be,mt+=He>>>13,He&=8191,mt=(mt<<2)+mt|0,mt=mt+Ue|0,Ue=mt&8191,mt=mt>>>13,Ge+=mt,nt=Ue,at=Ge,Tt=Me,pt=ze,Bt=Le,Zt=rt,K=ht,X=ut,Z=Dt,be=He,_e+=16,Ze-=16;this.h[0]=nt,this.h[1]=at,this.h[2]=Tt,this.h[3]=pt,this.h[4]=Bt,this.h[5]=Zt,this.h[6]=K,this.h[7]=X,this.h[8]=Z,this.h[9]=be},l.prototype.finish=function(Ce,_e){var Ze=new Uint16Array(10),he,Ke,Ht,yt;if(this.leftover){for(yt=this.leftover,this.buffer[yt++]=1;yt<16;yt++)this.buffer[yt]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(he=this.h[1]>>>13,this.h[1]&=8191,yt=2;yt<10;yt++)this.h[yt]+=he,he=this.h[yt]>>>13,this.h[yt]&=8191;for(this.h[0]+=he*5,he=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=he,he=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=he,Ze[0]=this.h[0]+5,he=Ze[0]>>>13,Ze[0]&=8191,yt=1;yt<10;yt++)Ze[yt]=this.h[yt]+he,he=Ze[yt]>>>13,Ze[yt]&=8191;for(Ze[9]-=8192,Ke=(he^1)-1,yt=0;yt<10;yt++)Ze[yt]&=Ke;for(Ke=~Ke,yt=0;yt<10;yt++)this.h[yt]=this.h[yt]&Ke|Ze[yt];for(this.h[0]=(this.h[0]|this.h[1]<<13)&65535,this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535,this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535,this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535,this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535,this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535,this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535,this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535,Ht=this.h[0]+this.pad[0],this.h[0]=Ht&65535,yt=1;yt<8;yt++)Ht=(this.h[yt]+this.pad[yt]|0)+(Ht>>>16)|0,this.h[yt]=Ht&65535;Ce[_e+0]=this.h[0]>>>0&255,Ce[_e+1]=this.h[0]>>>8&255,Ce[_e+2]=this.h[1]>>>0&255,Ce[_e+3]=this.h[1]>>>8&255,Ce[_e+4]=this.h[2]>>>0&255,Ce[_e+5]=this.h[2]>>>8&255,Ce[_e+6]=this.h[3]>>>0&255,Ce[_e+7]=this.h[3]>>>8&255,Ce[_e+8]=this.h[4]>>>0&255,Ce[_e+9]=this.h[4]>>>8&255,Ce[_e+10]=this.h[5]>>>0&255,Ce[_e+11]=this.h[5]>>>8&255,Ce[_e+12]=this.h[6]>>>0&255,Ce[_e+13]=this.h[6]>>>8&255,Ce[_e+14]=this.h[7]>>>0&255,Ce[_e+15]=this.h[7]>>>8&255},l.prototype.update=function(Ce,_e,Ze){var he,Ke;if(this.leftover){for(Ke=16-this.leftover,Ke>Ze&&(Ke=Ze),he=0;he<Ke;he++)this.buffer[this.leftover+he]=Ce[_e+he];if(Ze-=Ke,_e+=Ke,this.leftover+=Ke,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(Ze>=16&&(Ke=Ze-Ze%16,this.blocks(Ce,_e,Ke),_e+=Ke,Ze-=Ke),Ze){for(he=0;he<Ze;he++)this.buffer[this.leftover+he]=Ce[_e+he];this.leftover+=Ze}};function p(Ce,_e,Ze,he,Ke,Ht){var yt=new l(Ht);return yt.update(Ze,he,Ke),yt.finish(Ce,_e),0}function E(Ce,_e,Ze,he,Ke,Ht){var yt=new Uint8Array(16);return p(yt,0,Ze,he,Ke,Ht),O(Ce,_e,yt,0)}function g(Ce,_e,Ze,he,Ke){var Ht;if(Ze<32)return-1;for(G(Ce,0,_e,0,Ze,he,Ke),p(Ce,16,Ce,32,Ze-32,Ce),Ht=0;Ht<16;Ht++)Ce[Ht]=0;return 0}function b(Ce,_e,Ze,he,Ke){var Ht,yt=new Uint8Array(32);if(Ze<32||(F(yt,0,32,he,Ke),E(_e,16,_e,32,Ze-32,yt)!==0))return-1;for(G(Ce,0,_e,0,Ze,he,Ke),Ht=0;Ht<32;Ht++)Ce[Ht]=0;return 0}function k(Ce,_e){var Ze;for(Ze=0;Ze<16;Ze++)Ce[Ze]=_e[Ze]|0}function x(Ce){var _e,Ze,he=1;for(_e=0;_e<16;_e++)Ze=Ce[_e]+he+65535,he=Math.floor(Ze/65536),Ce[_e]=Ze-he*65536;Ce[0]+=he-1+37*(he-1)}function S(Ce,_e,Ze){for(var he,Ke=~(Ze-1),Ht=0;Ht<16;Ht++)he=Ke&(Ce[Ht]^_e[Ht]),Ce[Ht]^=he,_e[Ht]^=he}function f(Ce,_e){var Ze,he,Ke,Ht=o(),yt=o();for(Ze=0;Ze<16;Ze++)yt[Ze]=_e[Ze];for(x(yt),x(yt),x(yt),he=0;he<2;he++){for(Ht[0]=yt[0]-65517,Ze=1;Ze<15;Ze++)Ht[Ze]=yt[Ze]-65535-(Ht[Ze-1]>>16&1),Ht[Ze-1]&=65535;Ht[15]=yt[15]-32767-(Ht[14]>>16&1),Ke=Ht[15]>>16&1,Ht[14]&=65535,S(yt,Ht,1-Ke)}for(Ze=0;Ze<16;Ze++)Ce[2*Ze]=yt[Ze]&255,Ce[2*Ze+1]=yt[Ze]>>8}function M(Ce,_e){var Ze=new Uint8Array(32),he=new Uint8Array(32);return f(Ze,Ce),f(he,_e),v(Ze,0,he,0)}function V(Ce){var _e=new Uint8Array(32);return f(_e,Ce),_e[0]&1}function D(Ce,_e){var Ze;for(Ze=0;Ze<16;Ze++)Ce[Ze]=_e[2*Ze]+(_e[2*Ze+1]<<8);Ce[15]&=32767}function j(Ce,_e,Ze){for(var he=0;he<16;he++)Ce[he]=_e[he]+Ze[he]}function Y(Ce,_e,Ze){for(var he=0;he<16;he++)Ce[he]=_e[he]-Ze[he]}function oe(Ce,_e,Ze){var he,Ke,Ht=0,yt=0,Ot=0,hr=0,Br=0,Er=0,Qe=0,mt=0,Ue=0,Ge=0,Me=0,ze=0,Le=0,rt=0,ht=0,ut=0,Dt=0,He=0,nt=0,at=0,Tt=0,pt=0,Bt=0,Zt=0,K=0,X=0,Z=0,be=0,Be=0,dt=0,gt=0,Ve=Ze[0],Yt=Ze[1],yr=Ze[2],Cr=Ze[3],dr=Ze[4],wr=Ze[5],jr=Ze[6],sn=Ze[7],ln=Ze[8],gn=Ze[9],An=Ze[10],mn=Ze[11],Cn=Ze[12],Gn=Ze[13],qn=Ze[14],Hn=Ze[15];he=_e[0],Ht+=he*Ve,yt+=he*Yt,Ot+=he*yr,hr+=he*Cr,Br+=he*dr,Er+=he*wr,Qe+=he*jr,mt+=he*sn,Ue+=he*ln,Ge+=he*gn,Me+=he*An,ze+=he*mn,Le+=he*Cn,rt+=he*Gn,ht+=he*qn,ut+=he*Hn,he=_e[1],yt+=he*Ve,Ot+=he*Yt,hr+=he*yr,Br+=he*Cr,Er+=he*dr,Qe+=he*wr,mt+=he*jr,Ue+=he*sn,Ge+=he*ln,Me+=he*gn,ze+=he*An,Le+=he*mn,rt+=he*Cn,ht+=he*Gn,ut+=he*qn,Dt+=he*Hn,he=_e[2],Ot+=he*Ve,hr+=he*Yt,Br+=he*yr,Er+=he*Cr,Qe+=he*dr,mt+=he*wr,Ue+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*jr,Bt+=he*sn,Zt+=he*ln,K+=he*gn,X+=he*An,Z+=he*mn,be+=he*Cn,Be+=he*Gn,dt+=he*qn,gt+=he*Hn,Ht+=38*Dt,yt+=38*He,Ot+=38*nt,hr+=38*at,Br+=38*Tt,Er+=38*pt,Qe+=38*Bt,mt+=38*Zt,Ue+=38*K,Ge+=38*X,Me+=38*Z,ze+=38*be,Le+=38*Be,rt+=38*dt,ht+=38*gt,Ke=1,he=Ht+Ke+65535,Ke=Math.floor(he/65536),Ht=he-Ke*65536,he=yt+Ke+65535,Ke=Math.floor(he/65536),yt=he-Ke*65536,he=Ot+Ke+65535,Ke=Math.floor(he/65536),Ot=he-Ke*65536,he=hr+Ke+65535,Ke=Math.floor(he/65536),hr=he-Ke*65536,he=Br+Ke+65535,Ke=Math.floor(he/65536),Br=he-Ke*65536,he=Er+Ke+65535,Ke=Math.floor(he/65536),Er=he-Ke*65536,he=Qe+Ke+65535,Ke=Math.floor(he/65536),Qe=he-Ke*65536,he=mt+Ke+65535,Ke=Math.floor(he/65536),mt=he-Ke*65536,he=Ue+Ke+65535,Ke=Math.floor(he/65536),Ue=he-Ke*65536,he=Ge+Ke+65535,Ke=Math.floor(he/65536),Ge=he-Ke*65536,he=Me+Ke+65535,Ke=Math.floor(he/65536),Me=he-Ke*65536,he=ze+Ke+65535,Ke=Math.floor(he/65536),ze=he-Ke*65536,he=Le+Ke+65535,Ke=Math.floor(he/65536),Le=he-Ke*65536,he=rt+Ke+65535,Ke=Math.floor(he/65536),rt=he-Ke*65536,he=ht+Ke+65535,Ke=Math.floor(he/65536),ht=he-Ke*65536,he=ut+Ke+65535,Ke=Math.floor(he/65536),ut=he-Ke*65536,Ht+=Ke-1+37*(Ke-1),Ke=1,he=Ht+Ke+65535,Ke=Math.floor(he/65536),Ht=he-Ke*65536,he=yt+Ke+65535,Ke=Math.floor(he/65536),yt=he-Ke*65536,he=Ot+Ke+65535,Ke=Math.floor(he/65536),Ot=he-Ke*65536,he=hr+Ke+65535,Ke=Math.floor(he/65536),hr=he-Ke*65536,he=Br+Ke+65535,Ke=Math.floor(he/65536),Br=he-Ke*65536,he=Er+Ke+65535,Ke=Math.floor(he/65536),Er=he-Ke*65536,he=Qe+Ke+65535,Ke=Math.floor(he/65536),Qe=he-Ke*65536,he=mt+Ke+65535,Ke=Math.floor(he/65536),mt=he-Ke*65536,he=Ue+Ke+65535,Ke=Math.floor(he/65536),Ue=he-Ke*65536,he=Ge+Ke+65535,Ke=Math.floor(he/65536),Ge=he-Ke*65536,he=Me+Ke+65535,Ke=Math.floor(he/65536),Me=he-Ke*65536,he=ze+Ke+65535,Ke=Math.floor(he/65536),ze=he-Ke*65536,he=Le+Ke+65535,Ke=Math.floor(he/65536),Le=he-Ke*65536,he=rt+Ke+65535,Ke=Math.floor(he/65536),rt=he-Ke*65536,he=ht+Ke+65535,Ke=Math.floor(he/65536),ht=he-Ke*65536,he=ut+Ke+65535,Ke=Math.floor(he/65536),ut=he-Ke*65536,Ht+=Ke-1+37*(Ke-1),Ce[0]=Ht,Ce[1]=yt,Ce[2]=Ot,Ce[3]=hr,Ce[4]=Br,Ce[5]=Er,Ce[6]=Qe,Ce[7]=mt,Ce[8]=Ue,Ce[9]=Ge,Ce[10]=Me,Ce[11]=ze,Ce[12]=Le,Ce[13]=rt,Ce[14]=ht,Ce[15]=ut}function de(Ce,_e){oe(Ce,_e,_e)}function ue(Ce,_e){var Ze=o(),he;for(he=0;he<16;he++)Ze[he]=_e[he];for(he=253;he>=0;he--)de(Ze,Ze),he!==2&&he!==4&&oe(Ze,Ze,_e);for(he=0;he<16;he++)Ce[he]=Ze[he]}function ae(Ce,_e){var Ze=o(),he;for(he=0;he<16;he++)Ze[he]=_e[he];for(he=250;he>=0;he--)de(Ze,Ze),he!==1&&oe(Ze,Ze,_e);for(he=0;he<16;he++)Ce[he]=Ze[he]}function q(Ce,_e,Ze){var he=new Uint8Array(32),Ke=new Float64Array(80),Ht,yt,Ot=o(),hr=o(),Br=o(),Er=o(),Qe=o(),mt=o();for(yt=0;yt<31;yt++)he[yt]=_e[yt];for(he[31]=_e[31]&127|64,he[0]&=248,D(Ke,Ze),yt=0;yt<16;yt++)hr[yt]=Ke[yt],Er[yt]=Ot[yt]=Br[yt]=0;for(Ot[0]=Er[0]=1,yt=254;yt>=0;--yt)Ht=he[yt>>>3]>>>(yt&7)&1,S(Ot,hr,Ht),S(Br,Er,Ht),j(Qe,Ot,Br),Y(Ot,Ot,Br),j(Br,hr,Er),Y(hr,hr,Er),de(Er,Qe),de(mt,Ot),oe(Ot,Br,Ot),oe(Br,hr,Qe),j(Qe,Ot,Br),Y(Ot,Ot,Br),de(hr,Ot),Y(Br,Er,mt),oe(Ot,Br,c),j(Ot,Ot,Er),oe(Br,Br,Ot),oe(Ot,Er,mt),oe(Er,hr,Ke),de(hr,Qe),S(Ot,hr,Ht),S(Br,Er,Ht);for(yt=0;yt<16;yt++)Ke[yt+16]=Ot[yt],Ke[yt+32]=Br[yt],Ke[yt+48]=hr[yt],Ke[yt+64]=Er[yt];var Ue=Ke.subarray(32),Ge=Ke.subarray(16);return ue(Ue,Ue),oe(Ge,Ge,Ue),f(Ce,Ge),0}function ne(Ce,_e){return q(Ce,_e,n)}function me(Ce,_e){return s(_e,32),ne(Ce,_e)}function ve(Ce,_e,Ze){var he=new Uint8Array(32);return q(he,Ze,_e),N(Ce,i,he,_)}var ge=g,ce=b;function ee(Ce,_e,Ze,he,Ke,Ht){var yt=new Uint8Array(32);return ve(yt,Ke,Ht),ge(Ce,_e,Ze,he,yt)}function fe(Ce,_e,Ze,he,Ke,Ht){var yt=new Uint8Array(32);return ve(yt,Ke,Ht),ce(Ce,_e,Ze,he,yt)}var ie=[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 re(Ce,_e,Ze,he){for(var Ke=new Int32Array(16),Ht=new Int32Array(16),yt,Ot,hr,Br,Er,Qe,mt,Ue,Ge,Me,ze,Le,rt,ht,ut,Dt,He,nt,at,Tt,pt,Bt,Zt,K,X,Z,be=Ce[0],Be=Ce[1],dt=Ce[2],gt=Ce[3],Ve=Ce[4],Yt=Ce[5],yr=Ce[6],Cr=Ce[7],dr=_e[0],wr=_e[1],jr=_e[2],sn=_e[3],ln=_e[4],gn=_e[5],An=_e[6],mn=_e[7],Cn=0;he>=128;){for(at=0;at<16;at++)Tt=8*at+Cn,Ke[at]=Ze[Tt+0]<<24|Ze[Tt+1]<<16|Ze[Tt+2]<<8|Ze[Tt+3],Ht[at]=Ze[Tt+4]<<24|Ze[Tt+5]<<16|Ze[Tt+6]<<8|Ze[Tt+7];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t>>>16,pt=Ce[7],Bt=_e[7],Zt+=Bt&65535,K+=Bt>>>16,X+=pt&65535,Z+=pt>>>16,K+=Zt>>>16,X+=K>>>16,Z+=X>>>16,Ce[7]=Cr=X&65535|Z<<16,_e[7]=mn=Zt&65535|K<<16,Cn+=128,he-=128}return he}function Oe(Ce,_e,Ze){var he=new Int32Array(8),Ke=new Int32Array(8),Ht=new Uint8Array(256),yt,Ot=Ze;for(he[0]=1779033703,he[1]=3144134277,he[2]=1013904242,he[3]=2773480762,he[4]=1359893119,he[5]=2600822924,he[6]=528734635,he[7]=1541459225,Ke[0]=4089235720,Ke[1]=2227873595,Ke[2]=4271175723,Ke[3]=1595750129,Ke[4]=2917565137,Ke[5]=725511199,Ke[6]=4215389547,Ke[7]=327033209,re(he,Ke,_e,Ze),Ze%=128,yt=0;yt<Ze;yt++)Ht[yt]=_e[Ot-Ze+yt];for(Ht[Ze]=128,Ze=256-128*(Ze<112?1:0),Ht[Ze-9]=0,T(Ht,Ze-8,Ot/536870912|0,Ot<<3),re(he,Ke,Ht,Ze),yt=0;yt<8;yt++)T(Ce,8*yt,he[yt],Ke[yt]);return 0}function Pe(Ce,_e){var Ze=o(),he=o(),Ke=o(),Ht=o(),yt=o(),Ot=o(),hr=o(),Br=o(),Er=o();Y(Ze,Ce[1],Ce[0]),Y(Er,_e[1],_e[0]),oe(Ze,Ze,Er),j(he,Ce[0],Ce[1]),j(Er,_e[0],_e[1]),oe(he,he,Er),oe(Ke,Ce[3],_e[3]),oe(Ke,Ke,h),oe(Ht,Ce[2],_e[2]),j(Ht,Ht,Ht),Y(yt,he,Ze),Y(Ot,Ht,Ke),j(hr,Ht,Ke),j(Br,he,Ze),oe(Ce[0],yt,Ot),oe(Ce[1],Br,hr),oe(Ce[2],hr,Ot),oe(Ce[3],yt,Br)}function Ne(Ce,_e,Ze){var he;for(he=0;he<4;he++)S(Ce[he],_e[he],Ze)}function Xe(Ce,_e){var Ze=o(),he=o(),Ke=o();ue(Ke,_e[2]),oe(Ze,_e[0],Ke),oe(he,_e[1],Ke),f(Ce,he),Ce[31]^=V(Ze)<<7}function Je(Ce,_e,Ze){var he,Ke;for(k(Ce[0],a),k(Ce[1],u),k(Ce[2],u),k(Ce[3],a),Ke=255;Ke>=0;--Ke)he=Ze[Ke/8|0]>>(Ke&7)&1,Ne(Ce,_e,he),Pe(_e,Ce),Pe(Ce,Ce),Ne(Ce,_e,he)}function ft(Ce,_e){var Ze=[o(),o(),o(),o()];k(Ze[0],y),k(Ze[1],C),k(Ze[2],u),oe(Ze[3],y,C),Je(Ce,Ze,_e)}function Kt(Ce,_e,Ze){var he=new Uint8Array(64),Ke=[o(),o(),o(),o()],Ht;for(Ze||s(_e,32),Oe(he,_e,32),he[0]&=248,he[31]&=127,he[31]|=64,ft(Ke,he),Xe(Ce,Ke),Ht=0;Ht<32;Ht++)_e[Ht+32]=Ce[Ht];return 0}var wt=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(Ce,_e){var Ze,he,Ke,Ht;for(he=63;he>=32;--he){for(Ze=0,Ke=he-32,Ht=he-12;Ke<Ht;++Ke)_e[Ke]+=Ze-16*_e[he]*wt[Ke-(he-32)],Ze=Math.floor((_e[Ke]+128)/256),_e[Ke]-=Ze*256;_e[Ke]+=Ze,_e[he]=0}for(Ze=0,Ke=0;Ke<32;Ke++)_e[Ke]+=Ze-(_e[31]>>4)*wt[Ke],Ze=_e[Ke]>>8,_e[Ke]&=255;for(Ke=0;Ke<32;Ke++)_e[Ke]-=Ze*wt[Ke];for(he=0;he<32;he++)_e[he+1]+=_e[he]>>8,Ce[he]=_e[he]&255}function it(Ce){var _e=new Float64Array(64),Ze;for(Ze=0;Ze<64;Ze++)_e[Ze]=Ce[Ze];for(Ze=0;Ze<64;Ze++)Ce[Ze]=0;Ie(Ce,_e)}function Ye(Ce,_e,Ze,he){var Ke=new Uint8Array(64),Ht=new Uint8Array(64),yt=new Uint8Array(64),Ot,hr,Br=new Float64Array(64),Er=[o(),o(),o(),o()];Oe(Ke,he,32),Ke[0]&=248,Ke[31]&=127,Ke[31]|=64;var Qe=Ze+64;for(Ot=0;Ot<Ze;Ot++)Ce[64+Ot]=_e[Ot];for(Ot=0;Ot<32;Ot++)Ce[32+Ot]=Ke[32+Ot];for(Oe(yt,Ce.subarray(32),Ze+32),it(yt),ft(Er,yt),Xe(Ce,Er),Ot=32;Ot<64;Ot++)Ce[Ot]=he[Ot];for(Oe(Ht,Ce,Ze+64),it(Ht),Ot=0;Ot<64;Ot++)Br[Ot]=0;for(Ot=0;Ot<32;Ot++)Br[Ot]=yt[Ot];for(Ot=0;Ot<32;Ot++)for(hr=0;hr<32;hr++)Br[Ot+hr]+=Ht[Ot]*Ke[hr];return Ie(Ce.subarray(32),Br),Qe}function et(Ce,_e){var Ze=o(),he=o(),Ke=o(),Ht=o(),yt=o(),Ot=o(),hr=o();return k(Ce[2],u),D(Ce[1],_e),de(Ke,Ce[1]),oe(Ht,Ke,d),Y(Ke,Ke,Ce[2]),j(Ht,Ce[2],Ht),de(yt,Ht),de(Ot,yt),oe(hr,Ot,yt),oe(Ze,hr,Ke),oe(Ze,Ze,Ht),ae(Ze,Ze),oe(Ze,Ze,Ke),oe(Ze,Ze,Ht),oe(Ze,Ze,Ht),oe(Ce[0],Ze,Ht),de(he,Ce[0]),oe(he,he,Ht),M(he,Ke)&&oe(Ce[0],Ce[0],w),de(he,Ce[0]),oe(he,he,Ht),M(he,Ke)?-1:(V(Ce[0])===_e[31]>>7&&Y(Ce[0],a,Ce[0]),oe(Ce[3],Ce[0],Ce[1]),0)}function Gt(Ce,_e,Ze,he){var Ke,Ht=new Uint8Array(32),yt=new Uint8Array(64),Ot=[o(),o(),o(),o()],hr=[o(),o(),o(),o()];if(Ze<64||et(hr,he))return-1;for(Ke=0;Ke<Ze;Ke++)Ce[Ke]=_e[Ke];for(Ke=0;Ke<32;Ke++)Ce[Ke+32]=he[Ke];if(Oe(yt,Ce,Ze),it(yt),Je(Ot,hr,yt),ft(hr,_e.subarray(32)),Pe(Ot,hr),Xe(Ht,Ot),Ze-=64,v(_e,0,Ht,0)){for(Ke=0;Ke<Ze;Ke++)Ce[Ke]=0;return-1}for(Ke=0;Ke<Ze;Ke++)Ce[Ke]=_e[Ke+64];return Ze}var It=32,Rt=24,_r=32,jt=16,Fe=32,Pr=32,$t=32,Qt=32,At=32,ur=Rt,tr=_r,Vt=jt,bt=64,kt=32,er=64,Et=32,qt=64;r.lowlevel={crypto_core_hsalsa20:N,crypto_stream_xor:G,crypto_stream:F,crypto_stream_salsa20_xor:L,crypto_stream_salsa20:H,crypto_onetimeauth:p,crypto_onetimeauth_verify:E,crypto_verify_16:O,crypto_verify_32:v,crypto_secretbox:g,crypto_secretbox_open:b,crypto_scalarmult:q,crypto_scalarmult_base:ne,crypto_box_beforenm:ve,crypto_box_afternm:ge,crypto_box:ee,crypto_box_open:fe,crypto_box_keypair:me,crypto_hash:Oe,crypto_sign:Ye,crypto_sign_keypair:Kt,crypto_sign_open:Gt,crypto_secretbox_KEYBYTES:It,crypto_secretbox_NONCEBYTES:Rt,crypto_secretbox_ZEROBYTES:_r,crypto_secretbox_BOXZEROBYTES:jt,crypto_scalarmult_BYTES:Fe,crypto_scalarmult_SCALARBYTES:Pr,crypto_box_PUBLICKEYBYTES:$t,crypto_box_SECRETKEYBYTES:Qt,crypto_box_BEFORENMBYTES:At,crypto_box_NONCEBYTES:ur,crypto_box_ZEROBYTES:tr,crypto_box_BOXZEROBYTES:Vt,crypto_sign_BYTES:bt,crypto_sign_PUBLICKEYBYTES:kt,crypto_sign_SECRETKEYBYTES:er,crypto_sign_SEEDBYTES:Et,crypto_hash_BYTES:qt,gf:o,D:d,L:wt,pack25519:f,unpack25519:D,M:oe,A:j,S:de,Z:Y,pow2523:ae,add:Pe,set25519:k,modL:Ie,scalarmult:Je,scalarbase:ft};function Hr(Ce,_e){if(Ce.length!==It)throw new Error("bad key size");if(_e.length!==Rt)throw new Error("bad nonce size")}function _t(Ce,_e){if(Ce.length!==$t)throw new Error("bad public key size");if(_e.length!==Qt)throw new Error("bad secret key size")}function Wt(){for(var Ce=0;Ce<arguments.length;Ce++)if(!(arguments[Ce]instanceof Uint8Array))throw new TypeError("unexpected type, use Uint8Array")}function qr(Ce){for(var _e=0;_e<Ce.length;_e++)Ce[_e]=0}r.randomBytes=function(Ce){var _e=new Uint8Array(Ce);return s(_e,Ce),_e},r.secretbox=function(Ce,_e,Ze){Wt(Ce,_e,Ze),Hr(Ze,_e);for(var he=new Uint8Array(_r+Ce.length),Ke=new Uint8Array(he.length),Ht=0;Ht<Ce.length;Ht++)he[Ht+_r]=Ce[Ht];return g(Ke,he,he.length,_e,Ze),Ke.subarray(jt)},r.secretbox.open=function(Ce,_e,Ze){Wt(Ce,_e,Ze),Hr(Ze,_e);for(var he=new Uint8Array(jt+Ce.length),Ke=new Uint8Array(he.length),Ht=0;Ht<Ce.length;Ht++)he[Ht+jt]=Ce[Ht];return he.length<32||b(Ke,he,he.length,_e,Ze)!==0?null:Ke.subarray(_r)},r.secretbox.keyLength=It,r.secretbox.nonceLength=Rt,r.secretbox.overheadLength=jt,r.scalarMult=function(Ce,_e){if(Wt(Ce,_e),Ce.length!==Pr)throw new Error("bad n size");if(_e.length!==Fe)throw new Error("bad p size");var Ze=new Uint8Array(Fe);return q(Ze,Ce,_e),Ze},r.scalarMult.base=function(Ce){if(Wt(Ce),Ce.length!==Pr)throw new Error("bad n size");var _e=new Uint8Array(Fe);return ne(_e,Ce),_e},r.scalarMult.scalarLength=Pr,r.scalarMult.groupElementLength=Fe,r.box=function(Ce,_e,Ze,he){var Ke=r.box.before(Ze,he);return r.secretbox(Ce,_e,Ke)},r.box.before=function(Ce,_e){Wt(Ce,_e),_t(Ce,_e);var Ze=new Uint8Array(At);return ve(Ze,Ce,_e),Ze},r.box.after=r.secretbox,r.box.open=function(Ce,_e,Ze,he){var Ke=r.box.before(Ze,he);return r.secretbox.open(Ce,_e,Ke)},r.box.open.after=r.secretbox.open,r.box.keyPair=function(){var Ce=new Uint8Array($t),_e=new Uint8Array(Qt);return me(Ce,_e),{publicKey:Ce,secretKey:_e}},r.box.keyPair.fromSecretKey=function(Ce){if(Wt(Ce),Ce.length!==Qt)throw new Error("bad secret key size");var _e=new Uint8Array($t);return ne(_e,Ce),{publicKey:_e,secretKey:new Uint8Array(Ce)}},r.box.publicKeyLength=$t,r.box.secretKeyLength=Qt,r.box.sharedKeyLength=At,r.box.nonceLength=ur,r.box.overheadLength=r.secretbox.overheadLength,r.sign=function(Ce,_e){if(Wt(Ce,_e),_e.length!==er)throw new Error("bad secret key size");var Ze=new Uint8Array(bt+Ce.length);return Ye(Ze,Ce,Ce.length,_e),Ze},r.sign.open=function(Ce,_e){if(Wt(Ce,_e),_e.length!==kt)throw new Error("bad public key size");var Ze=new Uint8Array(Ce.length),he=Gt(Ze,Ce,Ce.length,_e);if(he<0)return null;for(var Ke=new Uint8Array(he),Ht=0;Ht<Ke.length;Ht++)Ke[Ht]=Ze[Ht];return Ke},r.sign.detached=function(Ce,_e){for(var Ze=r.sign(Ce,_e),he=new Uint8Array(bt),Ke=0;Ke<he.length;Ke++)he[Ke]=Ze[Ke];return he},r.sign.detached.verify=function(Ce,_e,Ze){if(Wt(Ce,_e,Ze),_e.length!==bt)throw new Error("bad signature size");if(Ze.length!==kt)throw new Error("bad public key size");var he=new Uint8Array(bt+Ce.length),Ke=new Uint8Array(bt+Ce.length),Ht;for(Ht=0;Ht<bt;Ht++)he[Ht]=_e[Ht];for(Ht=0;Ht<Ce.length;Ht++)he[Ht+bt]=Ce[Ht];return Gt(Ke,he,he.length,Ze)>=0},r.sign.keyPair=function(){var Ce=new Uint8Array(kt),_e=new Uint8Array(er);return Kt(Ce,_e),{publicKey:Ce,secretKey:_e}},r.sign.keyPair.fromSecretKey=function(Ce){if(Wt(Ce),Ce.length!==er)throw new Error("bad secret key size");for(var _e=new Uint8Array(kt),Ze=0;Ze<_e.length;Ze++)_e[Ze]=Ce[32+Ze];return{publicKey:_e,secretKey:new Uint8Array(Ce)}},r.sign.keyPair.fromSeed=function(Ce){if(Wt(Ce),Ce.length!==Et)throw new Error("bad seed size");for(var _e=new Uint8Array(kt),Ze=new Uint8Array(er),he=0;he<32;he++)Ze[he]=Ce[he];return Kt(_e,Ze,!0),{publicKey:_e,secretKey:Ze}},r.sign.publicKeyLength=kt,r.sign.secretKeyLength=er,r.sign.seedLength=Et,r.sign.signatureLength=bt,r.hash=function(Ce){Wt(Ce);var _e=new Uint8Array(qt);return Oe(_e,Ce,Ce.length),_e},r.hash.hashLength=qt,r.verify=function(Ce,_e){return Wt(Ce,_e),Ce.length===0||_e.length===0||Ce.length!==_e.length?!1:A(Ce,0,_e,0,Ce.length)===0},r.setPRNG=function(Ce){s=Ce},(function(){var Ce=typeof self<"u"?self.crypto||self.msCrypto:null;if(Ce&&Ce.getRandomValues){var _e=65536;r.setPRNG(function(Ze,he){var Ke,Ht=new Uint8Array(he);for(Ke=0;Ke<he;Ke+=_e)Ce.getRandomValues(Ht.subarray(Ke,Ke+Math.min(he-Ke,_e)));for(Ke=0;Ke<he;Ke++)Ze[Ke]=Ht[Ke];qr(Ht)})}else typeof r0<"u"&&(Ce=II(),Ce&&Ce.randomBytes&&r.setPRNG(function(Ze,he){var Ke,Ht=Ce.randomBytes(he);for(Ke=0;Ke<he;Ke++)Ze[Ke]=Ht[Ke];qr(Ht)}))})()})(typeof t<"u"&&t.exports?t.exports:self.nacl=self.nacl||{})}),CIe=W((e,t)=>{m(),(function(r,o){"use strict";typeof t<"u"&&t.exports?t.exports=o():(r.nacl||(r.nacl={}),r.nacl.util=o())})(e,function(){"use strict";var r={};function o(s){if(!/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(s))throw new TypeError("invalid encoding")}return r.decodeUTF8=function(s){if(typeof s!="string")throw new TypeError("expected string");var i,n=unescape(encodeURIComponent(s)),a=new Uint8Array(n.length);for(i=0;i<n.length;i++)a[i]=n.charCodeAt(i);return a},r.encodeUTF8=function(s){var i,n=[];for(i=0;i<s.length;i++)n.push(String.fromCharCode(s[i]));return decodeURIComponent(escape(n.join("")))},typeof atob>"u"?typeof P.Buffer.from<"u"?(r.encodeBase64=function(s){return P.Buffer.from(s).toString("base64")},r.decodeBase64=function(s){return o(s),new Uint8Array(Array.prototype.slice.call(P.Buffer.from(s,"base64"),0))}):(r.encodeBase64=function(s){return new P.Buffer(s).toString("base64")},r.decodeBase64=function(s){return o(s),new Uint8Array(Array.prototype.slice.call(new P.Buffer(s,"base64"),0))}):(r.encodeBase64=function(s){var i,n=[],a=s.length;for(i=0;i<a;i++)n.push(String.fromCharCode(s[i]));return btoa(n.join(""))},r.decodeBase64=function(s){o(s);var i,n=atob(s),a=new Uint8Array(n.length);for(i=0;i<n.length;i++)a[i]=n.charCodeAt(i);return a}),r})});function eIt(e,t){if(e.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),o=0;o<r.length;o++)r[o]=255;for(var s=0;s<e.length;s++){var i=e.charAt(s),n=i.charCodeAt(0);if(r[n]!==255)throw new TypeError(i+" is ambiguous");r[n]=s}var a=e.length,u=e.charAt(0),c=Math.log(a)/Math.log(256),d=Math.log(256)/Math.log(a);function h(w){if(w instanceof Uint8Array||(ArrayBuffer.isView(w)?w=new Uint8Array(w.buffer,w.byteOffset,w.byteLength):Array.isArray(w)&&(w=Uint8Array.from(w))),!(w instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(w.length===0)return"";for(var T=0,A=0,O=0,v=w.length;O!==v&&w[O]===0;)O++,T++;for(var B=(v-O)*d+1>>>0,R=new Uint8Array(B);O!==v;){for(var U=w[O],N=0,_=B-1;(U!==0||N<A)&&_!==-1;_--,N++)U+=256*R[_]>>>0,R[_]=U%a>>>0,U=U/a>>>0;if(U!==0)throw new Error("Non-zero carry");A=N,O++}for(var L=B-A;L!==B&&R[L]===0;)L++;for(var H=u.repeat(T);L<B;++L)H+=e.charAt(R[L]);return H}function y(w){if(typeof w!="string")throw new TypeError("Expected String");if(w.length===0)return new Uint8Array;var T=0;if(w[T]!==" "){for(var A=0,O=0;w[T]===u;)A++,T++;for(var v=(w.length-T)*c+1>>>0,B=new Uint8Array(v);w[T];){var R=r[w.charCodeAt(T)];if(R===255)return;for(var U=0,N=v-1;(R!==0||U<O)&&N!==-1;N--,U++)R+=a*B[N]>>>0,B[N]=R%256>>>0,R=R/256>>>0;if(R!==0)throw new Error("Non-zero carry");O=U,T++}if(w[T]!==" "){for(var _=v-O;_!==v&&B[_]===0;)_++;for(var L=new Uint8Array(A+(v-_)),H=A;_!==v;)L[H++]=B[_++];return L}}}function C(w){var T=y(w);if(T)return T;throw new Error(`Non-${t} character`)}return{encode:h,decodeUnsafe:y,decode:C}}var tIt,rIt,IIe,OIe=En(()=>{m(),tIt=eIt,rIt=tIt,IIe=rIt}),bU={};Vr(bU,{coerce:()=>m0,empty:()=>PIe,equals:()=>RZ,fromHex:()=>iIt,fromString:()=>NZ,isBinary:()=>oIt,toHex:()=>nIt,toString:()=>DZ});var PIe,nIt,iIt,RZ,m0,oIt,NZ,DZ,fv=En(()=>{m(),PIe=new Uint8Array(0),nIt=e=>e.reduce((t,r)=>t+r.toString(16).padStart(2,"0"),""),iIt=e=>{let t=e.match(/../g);return t?new Uint8Array(t.map(r=>parseInt(r,16))):PIe},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&&e.constructor.name==="Uint8Array")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")},oIt=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,sIt,aIt,As,Qp=En(()=>{m(),OIe(),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(typeof e=="string"){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}`)}else 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 S0{constructor(t){this.decoders=t}or(t){let r=t.decoders||{[t.prefix]:t};return new S0({...this.decoders,...r})}decode(t){let r=t[0],o=this.decoders[r];if(o)return o.decode(t);throw RangeError(`Unable to decode multibase string ${JSON.stringify(t)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}},WZ=class{constructor(e,t,r,o){this.name=e,this.prefix=t,this.baseEncode=r,this.baseDecode=o,this.encoder=new UZ(e,t,r),this.decoder=new LZ(e,t,o)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}},vU=({name:e,prefix:t,encode:r,decode:o})=>new WZ(e,t,r,o),dv=({prefix:e,name:t,alphabet:r})=>{let{encode:o,decode:s}=IIe(r,t);return vU({prefix:e,name:t,encode:o,decode:i=>m0(s(i))})},sIt=(e,t,r,o)=>{let s={};for(let d=0;d<t.length;++d)s[t[d]]=d;let i=e.length;for(;e[i-1]==="=";)--i;let n=new Uint8Array(i*r/8|0),a=0,u=0,c=0;for(let d=0;d<i;++d){let h=s[e[d]];if(h===void 0)throw new SyntaxError(`Non-${o} character`);u=u<<r|h,a+=r,a>=8&&(a-=8,n[c++]=255&u>>a)}if(a>=r||255&u<<8-a)throw new SyntaxError("Unexpected end of data");return n},aIt=(e,t,r)=>{let o=t[t.length-1]==="=",s=(1<<r)-1,i="",n=0,a=0;for(let u=0;u<e.length;++u)for(a=a<<8|e[u],n+=8;n>r;)n-=r,i+=t[s&a>>n];if(n&&(i+=t[s&a<<r-n]),o)for(;i.length*r&7;)i+="=";return i},As=({name:e,prefix:t,bitsPerChar:r,alphabet:o})=>vU({prefix:t,name:e,encode(s){return aIt(s,o,r)},decode(s){return sIt(s,o,r,e)}})}),zZ={};Vr(zZ,{identity:()=>cIt});var cIt,BIe=En(()=>{m(),Qp(),fv(),cIt=vU({prefix:"\0",name:"identity",encode:e=>DZ(e),decode:e=>NZ(e)})}),KZ={};Vr(KZ,{base2:()=>uIt});var uIt,kIe=En(()=>{m(),Qp(),uIt=As({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1})}),HZ={};Vr(HZ,{base8:()=>lIt});var lIt,MIe=En(()=>{m(),Qp(),lIt=As({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3})}),qZ={};Vr(qZ,{base10:()=>fIt});var fIt,_Ie=En(()=>{m(),Qp(),fIt=dv({prefix:"9",name:"base10",alphabet:"0123456789"})}),jZ={};Vr(jZ,{base16:()=>dIt,base16upper:()=>hIt});var dIt,hIt,RIe=En(()=>{m(),Qp(),dIt=As({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),hIt=As({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4})}),GZ={};Vr(GZ,{base32:()=>TS,base32hex:()=>mIt,base32hexpad:()=>vIt,base32hexpadupper:()=>wIt,base32hexupper:()=>bIt,base32pad:()=>gIt,base32padupper:()=>yIt,base32upper:()=>pIt,base32z:()=>xIt});var TS,pIt,gIt,yIt,mIt,bIt,vIt,wIt,xIt,VZ=En(()=>{m(),Qp(),TS=As({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),pIt=As({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),gIt=As({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),yIt=As({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),mIt=As({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),bIt=As({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),vIt=As({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),wIt=As({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),xIt=As({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5})}),JZ={};Vr(JZ,{base36:()=>AIt,base36upper:()=>EIt});var AIt,EIt,NIe=En(()=>{m(),Qp(),AIt=dv({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),EIt=dv({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"})}),XZ={};Vr(XZ,{base58btc:()=>Zp,base58flickr:()=>TIt});var Zp,TIt,YZ=En(()=>{m(),Qp(),Zp=dv({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),TIt=dv({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"})}),QZ={};Vr(QZ,{base64:()=>SIt,base64pad:()=>CIt,base64url:()=>IIt,base64urlpad:()=>OIt});var SIt,CIt,IIt,OIt,DIe=En(()=>{m(),Qp(),SIt=As({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),CIt=As({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),IIt=As({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),OIt=As({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6})});function FIe(e,t,r){t=t||[],r=r||0;for(var o=r;e>=MIt;)t[r++]=e&255|UIe,e/=128;for(;e&kIt;)t[r++]=e&255|UIe,e>>>=7;return t[r]=e|0,FIe.bytes=r-o+1,t}function ZZ(e,o){var r=0,o=o||0,s=0,i=o,n,a=e.length;do{if(i>=a)throw ZZ.bytes=0,new RangeError("Could not decode varint");n=e[i++],r+=s<28?(n&LIe)<<s:(n&LIe)*Math.pow(2,s),s+=7}while(n>=RIt);return ZZ.bytes=i-o,r}var PIt,UIe,BIt,kIt,MIt,_It,RIt,LIe,NIt,DIt,UIt,LIt,FIt,WIt,zIt,KIt,HIt,qIt,jIt,GIt,XI,WIe=En(()=>{m(),PIt=FIe,UIe=128,BIt=127,kIt=~BIt,MIt=Math.pow(2,31),_It=ZZ,RIt=128,LIe=127,NIt=Math.pow(2,7),DIt=Math.pow(2,14),UIt=Math.pow(2,21),LIt=Math.pow(2,28),FIt=Math.pow(2,35),WIt=Math.pow(2,42),zIt=Math.pow(2,49),KIt=Math.pow(2,56),HIt=Math.pow(2,63),qIt=function(e){return e<NIt?1:e<DIt?2:e<UIt?3:e<LIt?4:e<FIt?5:e<WIt?6:e<zIt?7:e<KIt?8:e<HIt?9:10},jIt={encode:PIt,decode:_It,encodingLength:qIt},GIt=jIt,XI=GIt}),CS={};Vr(CS,{decode:()=>SS,encodeTo:()=>mA,encodingLength:()=>bA});var SS,mA,bA,wU=En(()=>{m(),WIe(),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,o=bA(e),s=o+bA(r),i=new Uint8Array(s+r);return mA(e,i,0),mA(r,i,o),i.set(t,s),new vA(e,r,t,i)},$Z=e=>{let t=m0(e),[r,o]=SS(t),[s,i]=SS(t.subarray(o)),n=t.subarray(o+i);if(n.byteLength!==s)throw new Error("Incorrect length");return new vA(r,s,n,t)},e$=(e,t)=>e===t?!0:e.code===t.code&&e.size===t.size&&RZ(e.bytes,t.bytes),vA=class{constructor(e,t,r,o){this.code=e,this.size=t,this.digest=r,this.bytes=o}}}),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)}else throw Error("Unknown type, must be binary type")}}}),t$={};Vr(t$,{sha256:()=>VIt,sha512:()=>JIt});var zIe,VIt,JIt,KIe=En(()=>{m(),TU(),zIe=e=>async t=>new Uint8Array(await crypto.subtle.digest(e,t)),VIt=OS({name:"sha2-256",code:18,encode:zIe("SHA-256")}),JIt=OS({name:"sha2-512",code:19,encode:zIe("SHA-512")})}),r$={};Vr(r$,{identity:()=>XIt});var XIt,HIe=En(()=>{m(),TU(),fv(),XIt=OS({name:"identity",code:0,encode:e=>m0(e)})}),n$={};Vr(n$,{code:()=>QIt,decode:()=>$It,encode:()=>ZIt,name:()=>YIt});var qIe,YIt,QIt,ZIt,$It,jIe=En(()=>{m(),fv(),qIe=e=>m0(e),{name:YIt,code:QIt,encode:ZIt,decode:$It}={name:"raw",code:85,decode:qIe,encode:qIe}}),i$={};Vr(i$,{code:()=>tOt,decode:()=>nOt,encode:()=>rOt,name:()=>eOt});var eOt,tOt,rOt,nOt,GIe=En(()=>{m(),{name:eOt,code:tOt,encode:rOt,decode:nOt}={name:"json",code:512,encode:e=>new TextEncoder().encode(JSON.stringify(e)),decode:e=>JSON.parse(new TextDecoder().decode(e))}}),ZI,iOt,oOt,sOt,QI,aOt,VIe,JIe,SU,CU,cOt,uOt,lOt,XIe=En(()=>{m(),wU(),xU(),YZ(),VZ(),fv(),ZI=class No{constructor(t,r,o,s){this.code=r,this.version=t,this.multihash=o,this.bytes=s,this.byteOffset=s.byteOffset,this.byteLength=s.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(){switch(this.version){case 0:return this;default:{let{code:t,multihash:r}=this;if(t!==QI)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(r.code!==aOt)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");return No.createV0(r)}}}toV1(){switch(this.version){case 0:{let{code:t,digest:r}=this.multihash,o=YI(t,r);return No.createV1(this.code,o)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(t){return t&&this.code===t.code&&this.version===t.version&&e$(this.multihash,t.multihash)}toString(t){let{bytes:r,version:o,_baseCache:s}=this;return o===0?oOt(r,s,t||Zp.encoder):sOt(r,s,t||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(t){return uOt(/^0\.0/,lOt),!!(t&&(t[JIe]||t.asCID===t))}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 No)return t;if(t!=null&&t.asCID===t){let{version:r,code:o,multihash:s,bytes:i}=t;return new No(r,o,s,i||VIe(r,o,s.bytes))}else if(t!=null&&t[JIe]===!0){let{version:r,multihash:o,code:s}=t,i=$Z(o);return No.create(r,s,i)}else return null}static create(t,r,o){if(typeof r!="number")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 No(t,r,o,o.bytes)}case 1:{let s=VIe(t,r,o.bytes);return new No(t,r,o,s)}default:throw new Error("Invalid version")}}static createV0(t){return No.create(0,QI,t)}static createV1(t,r){return No.create(1,t,r)}static decode(t){let[r,o]=No.decodeFirst(t);if(o.length)throw new Error("Incorrect length");return r}static decodeFirst(t){let r=No.inspectBytes(t),o=r.size-r.multihashSize,s=m0(t.subarray(o,o+r.multihashSize));if(s.byteLength!==r.multihashSize)throw new Error("Incorrect length");let i=s.subarray(r.multihashSize-r.digestSize),n=new vA(r.multihashCode,r.digestSize,i,s);return[r.version===0?No.createV0(n):No.createV1(r.codec,n),t.subarray(r.size)]}static inspectBytes(t){let r=0,o=()=>{let[h,y]=SS(t.subarray(r));return r+=y,h},s=o(),i=QI;if(s===18?(s=0,r=0):s===1&&(i=o()),s!==0&&s!==1)throw new RangeError(`Invalid CID version ${s}`);let n=r,a=o(),u=o(),c=r+u,d=c-n;return{version:s,codec:i,multihashCode:a,digestSize:u,multihashSize:d,size:c}}static parse(t,r){let[o,s]=iOt(t,r),i=No.decode(s);return i._baseCache.set(o,t),i}},iOt=(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(t==null)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[e[0],t.decode(e)]}}},oOt=(e,t,r)=>{let{prefix:o}=r;if(o!==Zp.prefix)throw Error(`Cannot string encode V0 in ${r.name} encoding`);let s=t.get(o);if(s==null){let i=r.encode(e).slice(1);return t.set(o,i),i}else return s},sOt=(e,t,r)=>{let{prefix:o}=r,s=t.get(o);if(s==null){let i=r.encode(e);return t.set(o,i),i}else return s},QI=112,aOt=18,VIe=(e,t,r)=>{let o=bA(e),s=o+bA(t),i=new Uint8Array(s+r.byteLength);return mA(e,i,0),mA(t,i,o),i.set(r,s),i},JIe=Symbol.for("@ipld/js-cid/CID"),SU={writable:!1,configurable:!1,enumerable:!0},CU={writable:!1,enumerable:!1,configurable:!1},cOt="0.0.0-dev",uOt=(e,t)=>{if(e.test(cOt))console.warn(t);else throw new Error(t)},lOt=`CID.isCID(v) is deprecated and will be removed in the next major release.
Following code pattern:

if (CID.isCID(value)) {
  doSomethingWithCID(value)
}

Is replaced with:

const cid = CID.asCID(value)
if (cid) {
  // Make sure to use cid instead of value
  doSomethingWithCID(cid)
}
`}),YIe=En(()=>{m(),XIe(),wU(),fv(),TU(),xU()}),QIe={};Vr(QIe,{CID:()=>ZI,bases:()=>IU,bytes:()=>bU,codecs:()=>dOt,digest:()=>IS,hasher:()=>EU,hashes:()=>fOt,varint:()=>CS});var IU,fOt,dOt,o$=En(()=>{m(),BIe(),kIe(),MIe(),_Ie(),RIe(),VZ(),NIe(),YZ(),DIe(),KIe(),HIe(),jIe(),GIe(),YIe(),IU={...zZ,...KZ,...HZ,...qZ,...jZ,...GZ,...JZ,...XZ,...QZ},fOt={...t$,...r$},dOt={raw:n$,json:i$}});function ZIe(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?globalThis.Buffer.allocUnsafe(e):new Uint8Array(e)}var $Ie=En(()=>{m()});function tOe(e,t,r,o){return{name:e,prefix:t,encoder:{name:e,prefix:t,encode:r},decoder:{decode:o}}}var eOe,s$,hOt,rOe,nOe=En(()=>{m(),o$(),$Ie(),eOe=tOe("utf8","u",e=>"u"+new TextDecoder("utf8").decode(e),e=>new TextEncoder().encode(e.substring(1))),s$=tOe("ascii","a",e=>{let t="a";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},e=>{e=e.substring(1);let t=ZIe(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}),hOt={utf8:eOe,"utf-8":eOe,hex:IU.base16,latin1:s$,ascii:s$,binary:s$,...IU},rOe=hOt}),iOe={};Vr(iOe,{toString:()=>pOt});function pOt(e,t="utf8"){let r=rOe[t];if(!r)throw new Error(`Unsupported encoding "${t}"`);return(t==="utf8"||t==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8"):r.encoder.encode(e).substring(1)}var oOe=En(()=>{m(),nOe()}),sOe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});function t(a,u){var c=a>>>16&65535,d=a&65535,h=u>>>16&65535,y=u&65535;return d*y+(c*y+d*h<<16>>>0)|0}e.mul=Math.imul||t;function r(a,u){return a+u|0}e.add=r;function o(a,u){return a-u|0}e.sub=o;function s(a,u){return a<<u|a>>>32-u}e.rotl=s;function i(a,u){return a<<32-u|a>>>u}e.rotr=i;function n(a){return typeof a=="number"&&isFinite(a)&&Math.floor(a)===a}e.isInteger=Number.isInteger||n,e.MAX_SAFE_INTEGER=9007199254740991,e.isSafeInteger=function(a){return e.isInteger(a)&&a>=-e.MAX_SAFE_INTEGER&&a<=e.MAX_SAFE_INTEGER}}),BU=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});var t=sOe();function r(b,k){return k===void 0&&(k=0),(b[k+0]<<8|b[k+1])<<16>>16}e.readInt16BE=r;function o(b,k){return k===void 0&&(k=0),(b[k+0]<<8|b[k+1])>>>0}e.readUint16BE=o;function s(b,k){return k===void 0&&(k=0),(b[k+1]<<8|b[k])<<16>>16}e.readInt16LE=s;function i(b,k){return k===void 0&&(k=0),(b[k+1]<<8|b[k])>>>0}e.readUint16LE=i;function n(b,k,x){return k===void 0&&(k=new Uint8Array(2)),x===void 0&&(x=0),k[x+0]=b>>>8,k[x+1]=b>>>0,k}e.writeUint16BE=n,e.writeInt16BE=n;function a(b,k,x){return k===void 0&&(k=new Uint8Array(2)),x===void 0&&(x=0),k[x+0]=b>>>0,k[x+1]=b>>>8,k}e.writeUint16LE=a,e.writeInt16LE=a;function u(b,k){return k===void 0&&(k=0),b[k]<<24|b[k+1]<<16|b[k+2]<<8|b[k+3]}e.readInt32BE=u;function c(b,k){return k===void 0&&(k=0),(b[k]<<24|b[k+1]<<16|b[k+2]<<8|b[k+3])>>>0}e.readUint32BE=c;function d(b,k){return k===void 0&&(k=0),b[k+3]<<24|b[k+2]<<16|b[k+1]<<8|b[k]}e.readInt32LE=d;function h(b,k){return k===void 0&&(k=0),(b[k+3]<<24|b[k+2]<<16|b[k+1]<<8|b[k])>>>0}e.readUint32LE=h;function y(b,k,x){return k===void 0&&(k=new Uint8Array(4)),x===void 0&&(x=0),k[x+0]=b>>>24,k[x+1]=b>>>16,k[x+2]=b>>>8,k[x+3]=b>>>0,k}e.writeUint32BE=y,e.writeInt32BE=y;function C(b,k,x){return k===void 0&&(k=new Uint8Array(4)),x===void 0&&(x=0),k[x+0]=b>>>0,k[x+1]=b>>>8,k[x+2]=b>>>16,k[x+3]=b>>>24,k}e.writeUint32LE=C,e.writeInt32LE=C;function w(b,k){k===void 0&&(k=0);var x=u(b,k),S=u(b,k+4);return x*4294967296+S-(S>>31)*4294967296}e.readInt64BE=w;function T(b,k){k===void 0&&(k=0);var x=c(b,k),S=c(b,k+4);return x*4294967296+S}e.readUint64BE=T;function A(b,k){k===void 0&&(k=0);var x=d(b,k),S=d(b,k+4);return S*4294967296+x-(x>>31)*4294967296}e.readInt64LE=A;function O(b,k){k===void 0&&(k=0);var x=h(b,k),S=h(b,k+4);return S*4294967296+x}e.readUint64LE=O;function v(b,k,x){return k===void 0&&(k=new Uint8Array(8)),x===void 0&&(x=0),y(b/4294967296>>>0,k,x),y(b>>>0,k,x+4),k}e.writeUint64BE=v,e.writeInt64BE=v;function B(b,k,x){return k===void 0&&(k=new Uint8Array(8)),x===void 0&&(x=0),C(b>>>0,k,x),C(b/4294967296>>>0,k,x+4),k}e.writeUint64LE=B,e.writeInt64LE=B;function R(b,k,x){if(x===void 0&&(x=0),b%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(b/8>k.length-x)throw new Error("readUintBE: array is too short for the given bitLength");for(var S=0,f=1,M=b/8+x-1;M>=x;M--)S+=k[M]*f,f*=256;return S}e.readUintBE=R;function U(b,k,x){if(x===void 0&&(x=0),b%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(b/8>k.length-x)throw new Error("readUintLE: array is too short for the given bitLength");for(var S=0,f=1,M=x;M<x+b/8;M++)S+=k[M]*f,f*=256;return S}e.readUintLE=U;function N(b,k,x,S){if(x===void 0&&(x=new Uint8Array(b/8)),S===void 0&&(S=0),b%8!==0)throw new Error("writeUintBE supports only bitLengths divisible by 8");if(!t.isSafeInteger(k))throw new Error("writeUintBE value must be an integer");for(var f=1,M=b/8+S-1;M>=S;M--)x[M]=k/f&255,f*=256;return x}e.writeUintBE=N;function _(b,k,x,S){if(x===void 0&&(x=new Uint8Array(b/8)),S===void 0&&(S=0),b%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!t.isSafeInteger(k))throw new Error("writeUintLE value must be an integer");for(var f=1,M=S;M<S+b/8;M++)x[M]=k/f&255,f*=256;return x}e.writeUintLE=_;function L(b,k){k===void 0&&(k=0);var x=new DataView(b.buffer,b.byteOffset,b.byteLength);return x.getFloat32(k)}e.readFloat32BE=L;function H(b,k){k===void 0&&(k=0);var x=new DataView(b.buffer,b.byteOffset,b.byteLength);return x.getFloat32(k,!0)}e.readFloat32LE=H;function F(b,k){k===void 0&&(k=0);var x=new DataView(b.buffer,b.byteOffset,b.byteLength);return x.getFloat64(k)}e.readFloat64BE=F;function G(b,k){k===void 0&&(k=0);var x=new DataView(b.buffer,b.byteOffset,b.byteLength);return x.getFloat64(k,!0)}e.readFloat64LE=G;function l(b,k,x){k===void 0&&(k=new Uint8Array(4)),x===void 0&&(x=0);var S=new DataView(k.buffer,k.byteOffset,k.byteLength);return S.setFloat32(x,b),k}e.writeFloat32BE=l;function p(b,k,x){k===void 0&&(k=new Uint8Array(4)),x===void 0&&(x=0);var S=new DataView(k.buffer,k.byteOffset,k.byteLength);return S.setFloat32(x,b,!0),k}e.writeFloat32LE=p;function E(b,k,x){k===void 0&&(k=new Uint8Array(8)),x===void 0&&(x=0);var S=new DataView(k.buffer,k.byteOffset,k.byteLength);return S.setFloat64(x,b),k}e.writeFloat64BE=E;function g(b,k,x){k===void 0&&(k=new Uint8Array(8)),x===void 0&&(x=0);var S=new DataView(k.buffer,k.byteOffset,k.byteLength);return S.setFloat64(x,b,!0),k}e.writeFloat64LE=g}),PS=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});function t(r){for(var o=0;o<r.length;o++)r[o]=0;return r}e.wipe=t}),hOe=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 o=(function(){function a(){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 a.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},a.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},a.prototype.clean=function(){r.wipe(this._buffer),r.wipe(this._temp),this.reset()},a.prototype.update=function(u,c){if(c===void 0&&(c=u.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var d=0;if(this._bytesHashed+=c,this._bufferLength>0){for(;this._bufferLength<this.blockSize&&c>0;)this._buffer[this._bufferLength++]=u[d++],c--;this._bufferLength===this.blockSize&&(i(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(c>=this.blockSize&&(d=i(this._temp,this._state,u,d,c),c%=this.blockSize);c>0;)this._buffer[this._bufferLength++]=u[d++],c--;return this},a.prototype.finish=function(u){if(!this._finished){var c=this._bytesHashed,d=this._bufferLength,h=c/536870912|0,y=c<<3,C=c%64<56?64:128;this._buffer[d]=128;for(var w=d+1;w<C-8;w++)this._buffer[w]=0;t.writeUint32BE(h,this._buffer,C-8),t.writeUint32BE(y,this._buffer,C-4),i(this._temp,this._state,this._buffer,0,C),this._finished=!0}for(var w=0;w<this.digestLength/4;w++)t.writeUint32BE(this._state[w],u,w*4);return this},a.prototype.digest=function(){var u=new Uint8Array(this.digestLength);return this.finish(u),u},a.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}},a.prototype.restoreState=function(u){return this._state.set(u.state),this._bufferLength=u.bufferLength,u.buffer&&this._buffer.set(u.buffer),this._bytesHashed=u.bytesHashed,this._finished=!1,this},a.prototype.cleanSavedState=function(u){r.wipe(u.state),u.buffer&&r.wipe(u.buffer),u.bufferLength=0,u.bytesHashed=0},a})();e.SHA256=o;var s=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 i(a,u,c,d,h){for(;h>=64;){for(var y=u[0],C=u[1],w=u[2],T=u[3],A=u[4],O=u[5],v=u[6],B=u[7],R=0;R<16;R++){var U=d+R*4;a[R]=t.readUint32BE(c,U)}for(var R=16;R<64;R++){var N=a[R-2],_=(N>>>17|N<<15)^(N>>>19|N<<13)^N>>>10;N=a[R-15];var L=(N>>>7|N<<25)^(N>>>18|N<<14)^N>>>3;a[R]=(_+a[R-7]|0)+(L+a[R-16]|0)}for(var R=0;R<64;R++){var _=(((A>>>6|A<<26)^(A>>>11|A<<21)^(A>>>25|A<<7))+(A&O^~A&v)|0)+(B+(s[R]+a[R]|0)|0)|0,L=((y>>>2|y<<30)^(y>>>13|y<<19)^(y>>>22|y<<10))+(y&C^y&w^C&w)|0;B=v,v=O,O=A,A=T+_|0,T=w,w=C,C=y,y=_+L|0}u[0]+=y,u[1]+=C,u[2]+=w,u[3]+=T,u[4]+=A,u[5]+=O,u[6]+=v,u[7]+=B,d+=64,h-=64}return d}function n(a){var u=new o;u.update(a);var c=u.digest();return u.clean(),c}e.hash=n}),gOe=W((e,t)=>{m();var r=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,o=(function(){function i(){this.fetch=!1,this.DOMException=r.DOMException}return i.prototype=r,new i})();(function(i){var n=(function(a){var u=typeof i<"u"&&i||typeof self<"u"&&self||typeof global<"u"&&global||{},c={searchParams:"URLSearchParams"in u,iterable:"Symbol"in u&&"iterator"in Symbol,blob:"FileReader"in u&&"Blob"in u&&(function(){try{return new Blob,!0}catch{return!1}})(),formData:"FormData"in u,arrayBuffer:"ArrayBuffer"in u};function d(b){return b&&DataView.prototype.isPrototypeOf(b)}if(c.arrayBuffer)var h=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],y=ArrayBuffer.isView||function(b){return b&&h.indexOf(Object.prototype.toString.call(b))>-1};function C(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(b)||b==="")throw new TypeError('Invalid character in header field name: "'+b+'"');return b.toLowerCase()}function w(b){return typeof b!="string"&&(b=String(b)),b}function T(b){var k={next:function(){var x=b.shift();return{done:x===void 0,value:x}}};return c.iterable&&(k[Symbol.iterator]=function(){return k}),k}function A(b){this.map={},b instanceof A?b.forEach(function(k,x){this.append(x,k)},this):Array.isArray(b)?b.forEach(function(k){if(k.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+k.length);this.append(k[0],k[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(k){this.append(k,b[k])},this)}A.prototype.append=function(b,k){b=C(b),k=w(k);var x=this.map[b];this.map[b]=x?x+", "+k:k},A.prototype.delete=function(b){delete this.map[C(b)]},A.prototype.get=function(b){return b=C(b),this.has(b)?this.map[b]:null},A.prototype.has=function(b){return this.map.hasOwnProperty(C(b))},A.prototype.set=function(b,k){this.map[C(b)]=w(k)},A.prototype.forEach=function(b,k){for(var x in this.map)this.map.hasOwnProperty(x)&&b.call(k,this.map[x],x,this)},A.prototype.keys=function(){var b=[];return this.forEach(function(k,x){b.push(x)}),T(b)},A.prototype.values=function(){var b=[];return this.forEach(function(k){b.push(k)}),T(b)},A.prototype.entries=function(){var b=[];return this.forEach(function(k,x){b.push([x,k])}),T(b)},c.iterable&&(A.prototype[Symbol.iterator]=A.prototype.entries);function O(b){if(!b._noBody){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}}function v(b){return new Promise(function(k,x){b.onload=function(){k(b.result)},b.onerror=function(){x(b.error)}})}function B(b){var k=new FileReader,x=v(k);return k.readAsArrayBuffer(b),x}function R(b){var k=new FileReader,x=v(k),S=/charset=([A-Za-z0-9_-]+)/.exec(b.type),f=S?S[1]:"utf-8";return k.readAsText(b,f),x}function U(b){for(var k=new Uint8Array(b),x=new Array(k.length),S=0;S<k.length;S++)x[S]=String.fromCharCode(k[S]);return x.join("")}function N(b){if(b.slice)return b.slice(0);var k=new Uint8Array(b.byteLength);return k.set(new Uint8Array(b)),k.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(b){this.bodyUsed=this.bodyUsed,this._bodyInit=b,b?typeof b=="string"?this._bodyText=b:c.blob&&Blob.prototype.isPrototypeOf(b)?this._bodyBlob=b:c.formData&&FormData.prototype.isPrototypeOf(b)?this._bodyFormData=b:c.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)?this._bodyText=b.toString():c.arrayBuffer&&c.blob&&d(b)?(this._bodyArrayBuffer=N(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||y(b))?this._bodyArrayBuffer=N(b):this._bodyText=b=Object.prototype.toString.call(b):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof b=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):c.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},c.blob&&(this.blob=function(){var b=O(this);if(b)return b;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){var b=O(this);return b||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(c.blob)return this.blob().then(B);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var b=O(this);if(b)return b;if(this._bodyBlob)return R(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(U(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},c.formData&&(this.formData=function(){return this.text().then(G)}),this.json=function(){return this.text().then(JSON.parse)},this}var L=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function H(b){var k=b.toUpperCase();return L.indexOf(k)>-1?k:b}function F(b,k){if(!(this instanceof F))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');k=k||{};var x=k.body;if(b instanceof F){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,k.headers||(this.headers=new A(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!x&&b._bodyInit!=null&&(x=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=k.credentials||this.credentials||"same-origin",(k.headers||!this.headers)&&(this.headers=new A(k.headers)),this.method=H(k.method||this.method||"GET"),this.mode=k.mode||this.mode||null,this.signal=k.signal||this.signal||(function(){if("AbortController"in u){var M=new AbortController;return M.signal}})(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&x)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(x),(this.method==="GET"||this.method==="HEAD")&&(k.cache==="no-store"||k.cache==="no-cache")){var S=/([?&])_=[^&]*/;if(S.test(this.url))this.url=this.url.replace(S,"$1_="+new Date().getTime());else{var f=/\?/;this.url+=(f.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}F.prototype.clone=function(){return new F(this,{body:this._bodyInit})};function G(b){var k=new FormData;return b.trim().split("&").forEach(function(x){if(x){var S=x.split("="),f=S.shift().replace(/\+/g," "),M=S.join("=").replace(/\+/g," ");k.append(decodeURIComponent(f),decodeURIComponent(M))}}),k}function l(b){var k=new A,x=b.replace(/\r?\n[\t ]+/g," ");return x.split("\r").map(function(S){return S.indexOf(`
`)===0?S.substr(1,S.length):S}).forEach(function(S){var f=S.split(":"),M=f.shift().trim();if(M){var V=f.join(":").trim();try{k.append(M,V)}catch(D){console.warn("Response "+D.message)}}}),k}_.call(F.prototype);function p(b,k){if(!(this instanceof p))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(k||(k={}),this.type="default",this.status=k.status===void 0?200:k.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=k.statusText===void 0?"":""+k.statusText,this.headers=new A(k.headers),this.url=k.url||"",this._initBody(b)}_.call(p.prototype),p.prototype.clone=function(){return new p(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new A(this.headers),url:this.url})},p.error=function(){var b=new p(null,{status:200,statusText:""});return b.ok=!1,b.status=0,b.type="error",b};var E=[301,302,303,307,308];p.redirect=function(b,k){if(E.indexOf(k)===-1)throw new RangeError("Invalid status code");return new p(null,{status:k,headers:{location:b}})},a.DOMException=u.DOMException;try{new a.DOMException}catch{a.DOMException=function(b,k){this.message=b,this.name=k;var x=Error(b);this.stack=x.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function g(b,k){return new Promise(function(x,S){var f=new F(b,k);if(f.signal&&f.signal.aborted)return S(new a.DOMException("Aborted","AbortError"));var M=new XMLHttpRequest;function V(){M.abort()}M.onload=function(){var Y={statusText:M.statusText,headers:l(M.getAllResponseHeaders()||"")};f.url.indexOf("file://")===0&&(M.status<200||M.status>599)?Y.status=200:Y.status=M.status,Y.url="responseURL"in M?M.responseURL:Y.headers.get("X-Request-URL");var oe="response"in M?M.response:M.responseText;setTimeout(function(){x(new p(oe,Y))},0)},M.onerror=function(){setTimeout(function(){S(new TypeError("Network request failed"))},0)},M.ontimeout=function(){setTimeout(function(){S(new TypeError("Network request timed out"))},0)},M.onabort=function(){setTimeout(function(){S(new a.DOMException("Aborted","AbortError"))},0)};function D(Y){try{return Y===""&&u.location.href?u.location.href:Y}catch{return Y}}if(M.open(f.method,D(f.url),!0),f.credentials==="include"?M.withCredentials=!0:f.credentials==="omit"&&(M.withCredentials=!1),"responseType"in M&&(c.blob?M.responseType="blob":c.arrayBuffer&&(M.responseType="arraybuffer")),k&&typeof k.headers=="object"&&!(k.headers instanceof A||u.Headers&&k.headers instanceof u.Headers)){var j=[];Object.getOwnPropertyNames(k.headers).forEach(function(Y){j.push(C(Y)),M.setRequestHeader(Y,w(k.headers[Y]))}),f.headers.forEach(function(Y,oe){j.indexOf(oe)===-1&&M.setRequestHeader(oe,Y)})}else f.headers.forEach(function(Y,oe){M.setRequestHeader(oe,Y)});f.signal&&(f.signal.addEventListener("abort",V),M.onreadystatechange=function(){M.readyState===4&&f.signal.removeEventListener("abort",V)}),M.send(typeof f._bodyInit>"u"?null:f._bodyInit)})}return g.polyfill=!0,u.fetch||(u.fetch=g,u.Headers=A,u.Request=F,u.Response=p),a.Headers=A,a.Request=F,a.Response=p,a.fetch=g,a})({})})(o),o.fetch.ponyfill=!0,delete o.fetch.polyfill;var s=r.fetch?r:o;e=s.fetch,e.default=s.fetch,e.fetch=s.fetch,e.Headers=s.Headers,e.Request=s.Request,e.Response=s.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=class lh extends Error{constructor(i,n){n==null&&(n=r(i)),super(n),this.code=i,this.message=`${lh.prefix} ${n?`
`+n:""}`,Object.setPrototypeOf(this,lh.prototype)}toJSON(){return{message:this.message,code:this.code}}};e.OKXConnectError=t,t.prefix="[OKX_CONNECT_SDK_ERROR]";function r(s){return s==o.UNKNOWN_ERROR?"unknown error":s==o.BAD_REQUEST_ERROR?"bad request error":s==o.ALREADY_CONNECTED_ERROR?"already connected error":s==o.NOT_CONNECTED_ERROR?"not connected error":s==o.UNKNOWN_APP_ERROR?"unknown app error":s==o.USER_REJECTS_ERROR?"user rejects error":s==o.USER_REJECTS_ERROR_CAUSE_REGISTER?"wallet address are registering":s==o.METHOD_NOT_SUPPORTED?"method not supported":s==o.CONNECTION_ERROR?"connect error":s==o.CHAIN_NOT_SUPPORTED?"chain not supported":"unknown error"}var o;(function(s){s[s.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",s[s.BAD_REQUEST_ERROR=1]="BAD_REQUEST_ERROR",s[s.ALREADY_CONNECTED_ERROR=11]="ALREADY_CONNECTED_ERROR",s[s.NOT_CONNECTED_ERROR=12]="NOT_CONNECTED_ERROR",s[s.UNKNOWN_APP_ERROR=100]="UNKNOWN_APP_ERROR",s[s.USER_REJECTS_ERROR=300]="USER_REJECTS_ERROR",s[s.USER_REJECTS_ERROR_CAUSE_REGISTER=301]="USER_REJECTS_ERROR_CAUSE_REGISTER",s[s.METHOD_NOT_SUPPORTED=400]="METHOD_NOT_SUPPORTED",s[s.CHAIN_NOT_SUPPORTED=500]="CHAIN_NOT_SUPPORTED",s[s.WALLET_NOT_SUPPORTED=600]="WALLET_NOT_SUPPORTED",s[s.CONNECTION_ERROR=700]="CONNECTION_ERROR"})(o||(e.OKX_CONNECT_ERROR_CODES=o={})),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}),mOe=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";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;var t;(function(r){r.UniversalLink="universallink",r.DeepLink="deeplink"})(t||(e.OpenAppLinkType=t={})),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"}),MS=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=t,e.getTestTgTwaUrl=r,e.getBotNameAndAppName=o,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";function t(){return window.okxTesttwaUrl}function r(){return window.okxTestTgtwaUrl}function o(s){let i=new URL(s).pathname.split("/").filter(Boolean);if(i.length>=2){let n=i[0],a=i[1];return{botName:n,appName:a}}}}),COe=W(e=>{"use strict";m();var t=e&&e.__importDefault||function(F){return F&&F.__esModule?F:{default:F}};Object.defineProperty(e,"__esModule",{value:!0}),e.isJsonRpcPayload=r,e.isJsonRpcRequest=o,e.isJsonRpcResponse=s,e.isJsonRpcResult=i,e.isJsonRpcError=n,e.payloadId=y,e.getBigIntRpcId=C,e.formatJsonRpcRequest=w,e.formatJsonRpcResult=T,e.formatJsonRpcError=A,e.isReservedErrorCode=O,e.getError=v,e.getErrorByCode=B,e.formatErrorMessage=R,e.isHttpUrl=_,e.isWsUrl=L,e.parseConnectionError=H;function r(F){return typeof F=="object"&&"id"in F&&"jsonrpc"in F&&F.jsonrpc==="2.0"}function o(F){return r(F)&&"method"in F}function s(F){return r(F)&&(i(F)||n(F))}function i(F){return"result"in F}function n(F){return"error"in F}var a=h$(),u=t(oh()),c=class{constructor(F){this.i=1;let G=F===8?new Uint8Array(1):F===16?new Uint16Array(1):new Uint32Array(1);F?this.initialValue=u.default.randomBytes(F/8)[0]:this.initialValue=0}getNextValue(){return this.initialValue+this.i++}},d=new c(8),h=new c(16);function y(){let F=Date.now()*1e3,G=d.getNextValue();return F+G}function C(){let F=BigInt(Date.now())*BigInt(1e6),G=BigInt(h.getNextValue());return F+G}function w(F,G,l){return{id:l||y(),jsonrpc:"2.0",method:F,params:G}}function T(F,G){return{id:F,jsonrpc:"2.0",result:G}}function A(F,G,l){return{id:F,jsonrpc:"2.0",error:R(G,l)}}function O(F){return a.RESERVED_ERROR_CODES.includes(F)}function v(F){return Object.keys(a.STANDARD_ERROR_MAP).includes(F)?a.STANDARD_ERROR_MAP[F]:a.STANDARD_ERROR_MAP[a.DEFAULT_ERROR]}function B(F){return Object.values(a.STANDARD_ERROR_MAP).find(l=>l.code===F)||a.STANDARD_ERROR_MAP[a.DEFAULT_ERROR]}function R(F,G){return typeof F>"u"?v(a.INTERNAL_ERROR):(typeof F=="string"&&(F=Object.assign(Object.assign({},v(a.SERVER_ERROR)),{message:F})),typeof G<"u"&&(F.data=G),O(F.code)&&(F=B(F.code)),F)}function U(F){let G=F.match(new RegExp(/^\w+:/,"gi"));if(!(!G||!G.length))return G[0]}function N(F,G){let l=U(F);return typeof l>"u"?!1:new RegExp(G).test(l)}function _(F){return N(F,"^https?:")}function L(F){return N(F,"^wss?:")}function H(F,G,l){return F.message.includes("getaddrinfo ENOTFOUND")||F.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${l} RPC url at ${G}`):F}}),Qf=W((e,t)=>{"use strict";m();var r=Object.prototype.hasOwnProperty,o="~";function s(){}Object.create&&(s.prototype=Object.create(null),new s().__proto__||(o=!1));function i(c,d,h){this.fn=c,this.context=d,this.once=h||!1}function n(c,d,h,y,C){if(typeof h!="function")throw new TypeError("The listener must be a function");var w=new i(h,y||c,C),T=o?o+d:d;return c._events[T]?c._events[T].fn?c._events[T]=[c._events[T],w]:c._events[T].push(w):(c._events[T]=w,c._eventsCount++),c}function a(c,d){--c._eventsCount===0?c._events=new s:delete c._events[d]}function u(){this._events=new s,this._eventsCount=0}u.prototype.eventNames=function(){var c=[],d,h;if(this._eventsCount===0)return c;for(h in d=this._events)r.call(d,h)&&c.push(o?h.slice(1):h);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(d)):c},u.prototype.listeners=function(c){var d=o?o+c:c,h=this._events[d];if(!h)return[];if(h.fn)return[h.fn];for(var y=0,C=h.length,w=new Array(C);y<C;y++)w[y]=h[y].fn;return w},u.prototype.listenerCount=function(c){var d=o?o+c:c,h=this._events[d];return h?h.fn?1:h.length:0},u.prototype.emit=function(c,d,h,y,C,w){var T=o?o+c:c;if(!this._events[T])return!1;var A=this._events[T],O=arguments.length,v,B;if(A.fn){switch(A.once&&this.removeListener(c,A.fn,void 0,!0),O){case 1:return A.fn.call(A.context),!0;case 2:return A.fn.call(A.context,d),!0;case 3:return A.fn.call(A.context,d,h),!0;case 4:return A.fn.call(A.context,d,h,y),!0;case 5:return A.fn.call(A.context,d,h,y,C),!0;case 6:return A.fn.call(A.context,d,h,y,C,w),!0}for(B=1,v=new Array(O-1);B<O;B++)v[B-1]=arguments[B];A.fn.apply(A.context,v)}else{var R=A.length,U;for(B=0;B<R;B++)switch(A[B].once&&this.removeListener(c,A[B].fn,void 0,!0),O){case 1:A[B].fn.call(A[B].context);break;case 2:A[B].fn.call(A[B].context,d);break;case 3:A[B].fn.call(A[B].context,d,h);break;case 4:A[B].fn.call(A[B].context,d,h,y);break;default:if(!v)for(U=1,v=new Array(O-1);U<O;U++)v[U-1]=arguments[U];A[B].fn.apply(A[B].context,v)}}return!0},u.prototype.on=function(c,d,h){return n(this,c,d,h,!1)},u.prototype.once=function(c,d,h){return n(this,c,d,h,!0)},u.prototype.removeListener=function(c,d,h,y){var C=o?o+c:c;if(!this._events[C])return this;if(!d)return a(this,C),this;var w=this._events[C];if(w.fn)w.fn===d&&(!y||w.once)&&(!h||w.context===h)&&a(this,C);else{for(var T=0,A=[],O=w.length;T<O;T++)(w[T].fn!==d||y&&!w[T].once||h&&w[T].context!==h)&&A.push(w[T]);A.length?this._events[C]=A.length===1?A[0]:A:a(this,C)}return this},u.prototype.removeAllListeners=function(c){var d;return c?(d=o?o+c:c,this._events[d]&&a(this,d)):(this._events=new s,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=o,u.EventEmitter=u,typeof t<"u"&&(t.exports=u)}),POe=W(e=>{"use strict";m();var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0}),e.IEngine=e.ISignClient=e.ISignClientEvents=e.IEngineEvents=void 0;var r=t(Qf()),o=class extends r.default{constructor(){super()}};e.IEngineEvents=o;var s=class extends r.default{constructor(){super()}};e.ISignClientEvents=s;var i=class{constructor(a){this.data=a}};e.ISignClient=i;var n=class{constructor(a){this.client=a}};e.IEngine=n}),kOe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.ConnectWalletType=void 0;var t;(function(r){r[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"})(t||(e.ConnectWalletType=t={}))}),_Oe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.TONCHAIN=void 0;var t;(function(r){r.MAINNET="-239"})(t||(e.TONCHAIN=t={}))}),NOe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.CONNECT_ITEM_ERROR_CODES=void 0;var t;(function(r){r[r.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",r[r.METHOD_NOT_SUPPORTED=400]="METHOD_NOT_SUPPORTED"})(t||(e.CONNECT_ITEM_ERROR_CODES=t={}))}),DOe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.CONNECT_ITEM_ERROR_CODES=e.TONCHAIN=void 0;var t=_Oe();Object.defineProperty(e,"TONCHAIN",{enumerable:!0,get:function(){return t.TONCHAIN}});var r=NOe();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=t,e.creatOKXMiniAppWalletInfo=r,e.creatOKXInjectWalletInfo=o,e.OKXWalletName="OKX Wallet",e.OKXMiniWalletName="OKX Mini Wallet",e.OKXInjectWalletName="OKX Inject Wallet",e.AptosGoogleWalletName="Continue with Google",e.AptosAppleWalletName="Continue with Apple";function t(){return{appName:"okxAppWallet",name:e.OKXWalletName,imageUrl:"https://static.okx.com/cdn/assets/imgs/247/58E63FEA47A2B7D7.png"}}function r(){return{appName:"okxMiniApp",name:e.OKXMiniWalletName,imageUrl:"https://static.okx.com/cdn/assets/imgs/247/58E63FEA47A2B7D7.png"}}function o(){return{appName:"okxInjectWallet",name:e.OKXInjectWalletName,imageUrl:""}}}),LOe=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(n,a,u,c){c===void 0&&(c=u);var d=Object.getOwnPropertyDescriptor(a,u);(!d||("get"in d?!a.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return a[u]}}),Object.defineProperty(n,c,d)}:function(n,a,u,c){c===void 0&&(c=u),n[c]=a[u]}),r=e&&e.__exportStar||function(n,a){for(var u in n)u!=="default"&&!Object.prototype.hasOwnProperty.call(a,u)&&t(a,n,u)};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 o=COe();Object.defineProperty(e,"formatJsonRpcError",{enumerable:!0,get:function(){return o.formatJsonRpcError}}),Object.defineProperty(e,"isHttpUrl",{enumerable:!0,get:function(){return o.isHttpUrl}}),Object.defineProperty(e,"parseConnectionError",{enumerable:!0,get:function(){return o.parseConnectionError}}),Object.defineProperty(e,"isJsonRpcResponse",{enumerable:!0,get:function(){return o.isJsonRpcResponse}}),Object.defineProperty(e,"isJsonRpcError",{enumerable:!0,get:function(){return o.isJsonRpcError}}),Object.defineProperty(e,"formatJsonRpcRequest",{enumerable:!0,get:function(){return o.formatJsonRpcRequest}}),Object.defineProperty(e,"getBigIntRpcId",{enumerable:!0,get:function(){return o.getBigIntRpcId}});var s=POe();Object.defineProperty(e,"ISignClient",{enumerable:!0,get:function(){return s.ISignClient}}),Object.defineProperty(e,"IEngineEvents",{enumerable:!0,get:function(){return s.IEngineEvents}}),Object.defineProperty(e,"IEngine",{enumerable:!0,get:function(){return s.IEngine}}),Object.defineProperty(e,"ISignClientEvents",{enumerable:!0,get:function(){return s.ISignClientEvents}});var i=kOe();Object.defineProperty(e,"ConnectWalletType",{enumerable:!0,get:function(){return i.ConnectWalletType}}),r(DOe(),e),r(zU(),e)}),FOe=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(i,n,a,u){u===void 0&&(u=a);var c=Object.getOwnPropertyDescriptor(n,a);(!c||("get"in c?!n.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return n[a]}}),Object.defineProperty(i,u,c)}:function(i,n,a,u){u===void 0&&(u=a),i[u]=n[a]}),r=e&&e.__exportStar||function(i,n){for(var a in i)a!=="default"&&!Object.prototype.hasOwnProperty.call(n,a)&&t(n,i,a)};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(mOe(),e);var o=p$();Object.defineProperty(e,"NameSpaceKeyEip155",{enumerable:!0,get:function(){return o.NameSpaceKeyEip155}}),Object.defineProperty(e,"NameSpaceKeySOL",{enumerable:!0,get:function(){return o.NameSpaceKeySOL}}),Object.defineProperty(e,"NameSpaceKeyTON",{enumerable:!0,get:function(){return o.NameSpaceKeyTON}}),Object.defineProperty(e,"NameSpaceKeySui",{enumerable:!0,get:function(){return o.NameSpaceKeySui}}),Object.defineProperty(e,"NameSpaceKeyBtc",{enumerable:!0,get:function(){return o.NameSpaceKeyBtc}}),Object.defineProperty(e,"NameSpaceKeyAptos",{enumerable:!0,get:function(){return o.NameSpaceKeyAptos}}),Object.defineProperty(e,"NameSpaceKeyCosmos",{enumerable:!0,get:function(){return o.NameSpaceKeyCosmos}}),Object.defineProperty(e,"NameSpaceKeyTron",{enumerable:!0,get:function(){return o.NameSpaceKeyTron}}),Object.defineProperty(e,"NameSpaceKeyStarknet",{enumerable:!0,get:function(){return o.NameSpaceKeyStarknet}}),Object.defineProperty(e,"OpenAppLinkType",{enumerable:!0,get:function(){return o.OpenAppLinkType}});var s=MS();Object.defineProperty(e,"tonConnectSdkVersion",{enumerable:!0,get:function(){return s.tonConnectSdkVersion}}),Object.defineProperty(e,"downloadUrl",{enumerable:!0,get:function(){return s.downloadUrl}}),Object.defineProperty(e,"standardDeeplink",{enumerable:!0,get:function(){return s.standardDeeplink}}),Object.defineProperty(e,"okxAppStackDeepLink",{enumerable:!0,get:function(){return s.okxAppStackDeepLink}}),Object.defineProperty(e,"okxWalletStackDeepLink",{enumerable:!0,get:function(){return s.okxWalletStackDeepLink}}),Object.defineProperty(e,"okxAppDeepLink",{enumerable:!0,get:function(){return s.okxAppDeepLink}}),Object.defineProperty(e,"okxWalletDeepLink",{enumerable:!0,get:function(){return s.okxWalletDeepLink}}),Object.defineProperty(e,"okxAppUniversalLink",{enumerable:!0,get:function(){return s.okxAppUniversalLink}}),Object.defineProperty(e,"okxWalletUniversalLink",{enumerable:!0,get:function(){return s.okxWalletUniversalLink}}),r(LOe(),e),r(FOe(),e)}),WOe=W((e,t)=>{m(),(function(r,o){"use strict";var s="1.0.41",i="",n="?",a="function",u="undefined",c="object",d="string",h="major",y="model",C="name",w="type",T="vendor",A="version",O="architecture",v="console",B="mobile",R="tablet",U="smarttv",N="wearable",_="embedded",L=500,H="Amazon",F="Apple",G="ASUS",l="BlackBerry",p="Browser",E="Chrome",g="Edge",b="Firefox",k="Google",x="Honor",S="Huawei",f="Lenovo",M="LG",V="Microsoft",D="Motorola",j="Nvidia",Y="OnePlus",oe="Opera",de="OPPO",ue="Samsung",ae="Sharp",q="Sony",ne="Xiaomi",me="Zebra",ve="Facebook",ge="Chromium OS",ce="Mac OS",ee=" Browser",fe=function(et,Gt){var It={};for(var Rt in et)Gt[Rt]&&Gt[Rt].length%2===0?It[Rt]=Gt[Rt].concat(et[Rt]):It[Rt]=et[Rt];return It},ie=function(et){for(var Gt={},It=0;It<et.length;It++)Gt[et[It].toUpperCase()]=et[It];return Gt},re=function(et,Gt){return typeof et===d?Oe(Gt).indexOf(Oe(et))!==-1:!1},Oe=function(et){return et.toLowerCase()},Pe=function(et){return typeof et===d?et.replace(/[^\d\.]/g,i).split(".")[0]:o},Ne=function(et,Gt){if(typeof et===d)return et=et.replace(/^\s\s*/,i),typeof Gt===u?et:et.substring(0,L)},Xe=function(et,Gt){for(var It=0,Rt,_r,jt,Fe,Pr,$t;It<Gt.length&&!Pr;){var Qt=Gt[It],At=Gt[It+1];for(Rt=_r=0;Rt<Qt.length&&!Pr&&Qt[Rt];)if(Pr=Qt[Rt++].exec(et),Pr)for(jt=0;jt<At.length;jt++)$t=Pr[++_r],Fe=At[jt],typeof Fe===c&&Fe.length>0?Fe.length===2?typeof Fe[1]==a?this[Fe[0]]=Fe[1].call(this,$t):this[Fe[0]]=Fe[1]:Fe.length===3?typeof Fe[1]===a&&!(Fe[1].exec&&Fe[1].test)?this[Fe[0]]=$t?Fe[1].call(this,$t,Fe[2]):o:this[Fe[0]]=$t?$t.replace(Fe[1],Fe[2]):o:Fe.length===4&&(this[Fe[0]]=$t?Fe[3].call(this,$t.replace(Fe[1],Fe[2])):o):this[Fe]=$t||o;It+=2}},Je=function(et,Gt){for(var It in Gt)if(typeof Gt[It]===c&&Gt[It].length>0){for(var Rt=0;Rt<Gt[It].length;Rt++)if(re(Gt[It][Rt],et))return It===n?o:It}else if(re(Gt[It],et))return It===n?o:It;return Gt.hasOwnProperty("*")?Gt["*"]:et},ft={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Kt={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"},wt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[A,[C,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[A,[C,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[C,A],[/opios[\/ ]+([\w\.]+)/i],[A,[C,oe+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[A,[C,oe+" GX"]],[/\bopr\/([\w\.]+)/i],[A,[C,oe]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[A,[C,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[A,[C,"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],[C,A],[/quark(?:pc)?\/([-\w\.]+)/i],[A,[C,"Quark"]],[/\bddg\/([\w\.]+)/i],[A,[C,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[A,[C,"UC"+p]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[A,[C,"WeChat"]],[/konqueror\/([\w\.]+)/i],[A,[C,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[A,[C,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[A,[C,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[A,[C,"Smart Lenovo "+p]],[/(avast|avg)\/([\w\.]+)/i],[[C,/(.+)/,"$1 Secure "+p],A],[/\bfocus\/([\w\.]+)/i],[A,[C,b+" Focus"]],[/\bopt\/([\w\.]+)/i],[A,[C,oe+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[A,[C,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[A,[C,"Dolphin"]],[/coast\/([\w\.]+)/i],[A,[C,oe+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[A,[C,"MIUI"+ee]],[/fxios\/([\w\.-]+)/i],[A,[C,b]],[/\bqihoobrowser\/?([\w\.]*)/i],[A,[C,"360"]],[/\b(qq)\/([\w\.]+)/i],[[C,/(.+)/,"$1Browser"],A],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[C,/(.+)/,"$1"+ee],A],[/samsungbrowser\/([\w\.]+)/i],[A,[C,ue+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[A,[C,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[C,"Sogou Mobile"],A],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[C,A],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[C],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[A,C],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[C,ve],A],[/(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],[C,A],[/\bgsa\/([\w\.]+) .*safari\//i],[A,[C,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[A,[C,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[A,[C,E+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[C,E+" WebView"],A],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[A,[C,"Android "+p]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[C,A],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[A,[C,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[A,C],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[C,[A,Je,ft]],[/(webkit|khtml)\/([\w\.]+)/i],[C,A],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[C,"Netscape"],A],[/(wolvic|librewolf)\/([\w\.]+)/i],[C,A],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[A,[C,b+" 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],[C,[A,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[C,[A,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[O,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[O,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[O,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[O,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[O,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[O,/ower/,i,Oe]],[/ sun4\w[;\)]/i],[[O,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[O,Oe]]],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],[y,[T,ue],[w,R]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[y,[T,ue],[w,B]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[y,[T,F],[w,B]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[y,[T,F],[w,R]],[/(macintosh);/i],[y,[T,F]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[y,[T,ae],[w,B]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[y,[T,x],[w,R]],[/honor([-\w ]+)[;\)]/i],[y,[T,x],[w,B]],[/\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],[y,[T,S],[w,R]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[y,[T,S],[w,B]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[y,/_/g," "],[T,ne],[w,R]],[/\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],[[y,/_/g," "],[T,ne],[w,B]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[y,[T,de],[w,B]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[y,[T,Je,{OnePlus:["304","403","203"],"*":de}],[w,R]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[y,[T,"Vivo"],[w,B]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[y,[T,"Realme"],[w,B]],[/\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],[y,[T,D],[w,B]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[y,[T,D],[w,R]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[y,[T,M],[w,R]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[y,[T,M],[w,B]],[/(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],[y,[T,f],[w,R]],[/(nokia) (t[12][01])/i],[T,y,[w,R]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[y,/_/g," "],[w,B],[T,"Nokia"]],[/(pixel (c|tablet))\b/i],[y,[T,k],[w,R]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[y,[T,k],[w,B]],[/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],[y,[T,q],[w,B]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[y,"Xperia Tablet"],[T,q],[w,R]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[y,[T,Y],[w,B]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[y,[T,H],[w,R]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[y,/(.+)/g,"Fire Phone $1"],[T,H],[w,B]],[/(playbook);[-\w\),; ]+(rim)/i],[y,T,[w,R]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[y,[T,l],[w,B]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[y,[T,G],[w,R]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[y,[T,G],[w,B]],[/(nexus 9)/i],[y,[T,"HTC"],[w,R]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[T,[y,/_/g," "],[w,B]],[/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],[y,[T,"TCL"],[w,R]],[/(itel) ((\w+))/i],[[T,Oe],y,[w,Je,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[y,[T,"Acer"],[w,R]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[y,[T,"Meizu"],[w,B]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[y,[T,"Ulefone"],[w,B]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[y,[T,"Energizer"],[w,B]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[y,[T,"Cat"],[w,B]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[y,[T,"Smartfren"],[w,B]],[/droid.+; (a(?:015|06[35]|142p?))/i],[y,[T,"Nothing"],[w,B]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[y,[T,"Archos"],[w,R]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[y,[T,"Archos"],[w,B]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[T,y,[w,R]],[/(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],[T,y,[w,B]],[/(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],[T,y,[w,R]],[/(surface duo)/i],[y,[T,V],[w,R]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[y,[T,"Fairphone"],[w,B]],[/(u304aa)/i],[y,[T,"AT&T"],[w,B]],[/\bsie-(\w*)/i],[y,[T,"Siemens"],[w,B]],[/\b(rct\w+) b/i],[y,[T,"RCA"],[w,R]],[/\b(venue[\d ]{2,7}) b/i],[y,[T,"Dell"],[w,R]],[/\b(q(?:mv|ta)\w+) b/i],[y,[T,"Verizon"],[w,R]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[y,[T,"Barnes & Noble"],[w,R]],[/\b(tm\d{3}\w+) b/i],[y,[T,"NuVision"],[w,R]],[/\b(k88) b/i],[y,[T,"ZTE"],[w,R]],[/\b(nx\d{3}j) b/i],[y,[T,"ZTE"],[w,B]],[/\b(gen\d{3}) b.+49h/i],[y,[T,"Swiss"],[w,B]],[/\b(zur\d{3}) b/i],[y,[T,"Swiss"],[w,R]],[/\b((zeki)?tb.*\b) b/i],[y,[T,"Zeki"],[w,R]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[T,"Dragon Touch"],y,[w,R]],[/\b(ns-?\w{0,9}) b/i],[y,[T,"Insignia"],[w,R]],[/\b((nxa|next)-?\w{0,9}) b/i],[y,[T,"NextBook"],[w,R]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[T,"Voice"],y,[w,B]],[/\b(lvtel\-)?(v1[12]) b/i],[[T,"LvTel"],y,[w,B]],[/\b(ph-1) /i],[y,[T,"Essential"],[w,B]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[y,[T,"Envizen"],[w,R]],[/\b(trio[-\w\. ]+) b/i],[y,[T,"MachSpeed"],[w,R]],[/\btu_(1491) b/i],[y,[T,"Rotor"],[w,R]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[y,[T,j],[w,R]],[/(sprint) (\w+)/i],[T,y,[w,B]],[/(kin\.[onetw]{3})/i],[[y,/\./g," "],[T,V],[w,B]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[y,[T,me],[w,R]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[y,[T,me],[w,B]],[/smart-tv.+(samsung)/i],[T,[w,U]],[/hbbtv.+maple;(\d+)/i],[[y,/^/,"SmartTV"],[T,ue],[w,U]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[T,M],[w,U]],[/(apple) ?tv/i],[T,[y,F+" TV"],[w,U]],[/crkey/i],[[y,E+"cast"],[T,k],[w,U]],[/droid.+aft(\w+)( bui|\))/i],[y,[T,H],[w,U]],[/(shield \w+ tv)/i],[y,[T,j],[w,U]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[y,[T,ae],[w,U]],[/(bravia[\w ]+)( bui|\))/i],[y,[T,q],[w,U]],[/(mi(tv|box)-?\w+) bui/i],[y,[T,ne],[w,U]],[/Hbbtv.*(technisat) (.*);/i],[T,y,[w,U]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[T,Ne],[y,Ne],[w,U]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[y,[w,U]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[w,U]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[T,y,[w,v]],[/droid.+; (shield)( bui|\))/i],[y,[T,j],[w,v]],[/(playstation \w+)/i],[y,[T,q],[w,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[y,[T,V],[w,v]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[y,[T,ue],[w,N]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[T,y,[w,N]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[y,[T,de],[w,N]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[y,[T,F],[w,N]],[/(opwwe\d{3})/i],[y,[T,Y],[w,N]],[/(moto 360)/i],[y,[T,D],[w,N]],[/(smartwatch 3)/i],[y,[T,q],[w,N]],[/(g watch r)/i],[y,[T,M],[w,N]],[/droid.+; (wt63?0{2,3})\)/i],[y,[T,me],[w,N]],[/droid.+; (glass) \d/i],[y,[T,k],[w,N]],[/(pico) (4|neo3(?: link|pro)?)/i],[T,y,[w,N]],[/; (quest( \d| pro)?)/i],[y,[T,ve],[w,N]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[T,[w,_]],[/(aeobc)\b/i],[y,[T,H],[w,_]],[/(homepod).+mac os/i],[y,[T,F],[w,_]],[/windows iot/i],[[w,_]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[y,[w,B]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[y,[w,R]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[w,R]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[w,B]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[y,[T,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[A,[C,g+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[C,A],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[A,[C,"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],[C,A],[/ladybird\//i],[[C,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[A,C]],os:[[/microsoft (windows) (vista|xp)/i],[C,A],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[C,[A,Je,Kt]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[A,Je,Kt],[C,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[A,/_/g,"."],[C,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[C,ce],[A,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[A,C],[/(ubuntu) ([\w\.]+) like android/i],[[C,/(.+)/,"$1 Touch"],A],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[C,A],[/\(bb(10);/i],[A,[C,l]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[A,[C,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[A,[C,b+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[A,[C,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[A,[C,"watchOS"]],[/crkey\/([\d\.]+)/i],[A,[C,E+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[C,ge],A],[/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],[C,A],[/(sunos) ?([\w\.\d]*)/i],[[C,"Solaris"],A],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[C,A]]},Ie=function(et,Gt){if(typeof et===c&&(Gt=et,et=o),!(this instanceof Ie))return new Ie(et,Gt).getResult();var It=typeof r!==u&&r.navigator?r.navigator:o,Rt=et||(It&&It.userAgent?It.userAgent:i),_r=It&&It.userAgentData?It.userAgentData:o,jt=Gt?fe(wt,Gt):wt,Fe=It&&It.userAgent==Rt;return this.getBrowser=function(){var Pr={};return Pr[C]=o,Pr[A]=o,Xe.call(Pr,Rt,jt.browser),Pr[h]=Pe(Pr[A]),Fe&&It&&It.brave&&typeof It.brave.isBrave==a&&(Pr[C]="Brave"),Pr},this.getCPU=function(){var Pr={};return Pr[O]=o,Xe.call(Pr,Rt,jt.cpu),Pr},this.getDevice=function(){var Pr={};return Pr[T]=o,Pr[y]=o,Pr[w]=o,Xe.call(Pr,Rt,jt.device),Fe&&!Pr[w]&&_r&&_r.mobile&&(Pr[w]=B),Fe&&Pr[y]=="Macintosh"&&It&&typeof It.standalone!==u&&It.maxTouchPoints&&It.maxTouchPoints>2&&(Pr[y]="iPad",Pr[w]=R),Pr},this.getEngine=function(){var Pr={};return Pr[C]=o,Pr[A]=o,Xe.call(Pr,Rt,jt.engine),Pr},this.getOS=function(){var Pr={};return Pr[C]=o,Pr[A]=o,Xe.call(Pr,Rt,jt.os),Fe&&!Pr[C]&&_r&&_r.platform&&_r.platform!="Unknown"&&(Pr[C]=_r.platform.replace(/chrome os/i,ge).replace(/macos/i,ce)),Pr},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 Rt},this.setUA=function(Pr){return Rt=typeof Pr===d&&Pr.length>L?Ne(Pr,L):Pr,this},this.setUA(Rt),this};Ie.VERSION=s,Ie.BROWSER=ie([C,A,h]),Ie.CPU=ie([O]),Ie.DEVICE=ie([y,T,w,v,B,U,R,N,_]),Ie.ENGINE=Ie.OS=ie([C,A]),typeof e!==u?(typeof t!==u&&t.exports&&(e=t.exports=Ie),e.UAParser=Ie):typeof define===a&&define.amd?define(function(){return Ie}):typeof r!==u&&(r.UAParser=Ie);var it=typeof r!==u&&(r.jQuery||r.Zepto);if(it&&!it.ua){var Ye=new Ie;it.ua=Ye.getResult(),it.ua.get=function(){return Ye.getUA()},it.ua.set=function(et){Ye.setUA(et);var Gt=Ye.getResult();for(var It in Gt)it.ua[It]=Gt[It]}}})(typeof window=="object"?window:e)}),jU=W(e=>{"use strict";m();var t=e&&e.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(e,"__esModule",{value:!0}),e.openLink=i,e.openLinkBlank=n,e.openDeeplinkWithFallback=a,e.isMobileUserAgent=u,e.getUserAgent=c,e.isOS=d,e.isBrowser=h;var r=t(WOe()),o=Ks(),s=tO();function i(y,C="_self"){(0,o.logDebug)("openLink",y,C),window.open(y,C,"noopener noreferrer")}function n(y){i(y,"_blank")}function a(y,C){let w=()=>{h("safari")||d("android")&&h("firefox")||C()},T=setTimeout(()=>w(),500);window.addEventListener("blur",()=>clearTimeout(T),{once:!0}),d("android")&&(0,s.inTg)()?i(y,"_blank"):i(y,"_self")}function u(){let y=!1;return(function(C){(/(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(C)||/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(C.slice(0,4)))&&(y=!0)})(navigator.userAgent||navigator.vendor||window.opera),y}function c(){var y,C,w;let T=new r.default().getResult(),A=(y=T.os.name)===null||y===void 0?void 0:y.toLowerCase(),O=(C=T.device.model)===null||C===void 0?void 0:C.toLowerCase(),v;switch(!0){case O==="ipad":v="ipad";break;case A==="ios":v="ios";break;case A==="android":v="android";break;case A==="mac os":v="macos";break;case A==="linux":v="linux";break;case A?.includes("windows"):v="windows";break}let B=(w=T.browser.name)===null||w===void 0?void 0:w.toLowerCase(),R;switch(!0){case B==="chrome":R="chrome";break;case B==="firefox":R="firefox";break;case B?.includes("safari"):R="safari";break;case B?.includes("opera"):R="opera";break}return{os:v,browser:R}}function d(...y){return y.includes(c().os)}function h(...y){return y.includes(c().browser)}}),tO=W(e=>{"use strict";m();var t,r,o,s,i,n,a;Object.defineProperty(e,"__esModule",{value:!0}),e.isTmaPlatform=T,e.isInTMA=A,e.inTg=O,e.isInTelegramBrowser=v,e.sendExpand=B,e.sendOpenTelegramLink=R,e.versionCompare=F;var u=US(),c=Ks(),d=zi(),h=jU(),y={};try{let l=location.hash.toString();y=_(l)}catch{}var C="unknown";y?.tgWebAppPlatform&&(C=(t=y.tgWebAppPlatform)!==null&&t!==void 0?t:"unknown"),C==="unknown"&&(C=(s=(o=(r=(0,u.getWindow)()?.Telegram)===null||r===void 0?void 0:r.WebApp)===null||o===void 0?void 0:o.platform)!==null&&s!==void 0?s:"unknown");var w="6.0";y?.tgWebAppVersion&&(w=y.tgWebAppVersion),w||(w=(a=(n=(i=(0,u.getWindow)()?.Telegram)===null||i===void 0?void 0:i.WebApp)===null||n===void 0?void 0:n.version)!==null&&a!==void 0?a:"6.0");function T(...l){return l.includes(C)}function A(){var l;return C!=="unknown"||!!(!((l=(0,u.getWindow)())===null||l===void 0)&&l.TelegramWebviewProxy)}function O(){return v()||A()}function v(){var l;let p=!!(!((l=(0,u.getWindow)())===null||l===void 0)&&l.TelegramWebview);return(A()||p)&&C==="unknown"}function B(){N("web_app_expand",{})}function R(l,p){let E=new URL(l);if(E.protocol!=="http:"&&E.protocol!=="https:"){if(p)return p();throw new d.OKXConnectError(d.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Url protocol is not supported: ${E}`)}if(E.hostname!=="t.me"){if(p)return p();throw new d.OKXConnectError(d.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Url host is not supported: ${E}`)}let g=E.pathname+E.search;U()||G("6.1")?N("web_app_open_tg_link",{path_full:g}):(0,h.openLinkBlank)("https://t.me"+g)}function U(){try{let l=(0,u.getWindow)();return l?l.parent!=null&&l!==l.parent:!1}catch{return!1}}function N(l,p){try{let E=(0,u.getWindow)();if(!E)throw new d.OKXConnectError(d.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Can't post event to parent window: window is not defined");if(E.TelegramWebviewProxy!==void 0)(0,c.logDebug)("postEvent",l,p),E.TelegramWebviewProxy.postEvent(l,JSON.stringify(p));else if(E.external&&"notify"in E.external)(0,c.logDebug)("postEvent",l,p),E.external.notify(JSON.stringify({eventType:l,eventData:p}));else if(U()){let g="*",b=JSON.stringify({eventType:l,eventData:p});(0,c.logDebug)("postEvent",l,p),E.parent.postMessage(b,g)}else throw new d.OKXConnectError(d.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Can't post event to TMA")}catch(E){(0,c.logError)(`Can't post event to parent window: ${E}`)}}function _(l){l=l.replace(/^#/,"");let p={};if(!l.length)return p;if(l.indexOf("=")<0&&l.indexOf("?")<0)return p._path=L(l),p;let E=l.indexOf("?");if(E>=0){let b=l.substr(0,E);p._path=L(b),l=l.substr(E+1)}let g=H(l);for(let b in g)p[b]=g[b];return p}function L(l){try{return l=l.replace(/\+/g,"%20"),decodeURIComponent(l)}catch{return l}}function H(l){let p={};if(!l.length)return p;let E=l.split("&"),g,b,k,x;for(g=0;g<E.length;g++)b=E[g].split("="),k=L(b[0]),x=b[1]==null?null:L(b[1]),p[k]=x;return p}function F(l,p){typeof l!="string"&&(l=""),typeof p!="string"&&(p="");let E=l.replace(/^\s+|\s+$/g,"").split("."),g=p.replace(/^\s+|\s+$/g,"").split("."),b,k,x,S;for(b=Math.max(E.length,g.length),k=0;k<b;k++)if(x=parseInt(E[k])||0,S=parseInt(g[k])||0,x!==S)return x>S?1:-1;return 0}function G(l){return F(w,l)>=0}}),US=W(e=>{"use strict";m();var t,r,o,s;Object.defineProperty(e,"__esModule",{value:!0}),e.removeUrlLastSlash=h,e.addPathToUrl=y,e.openOKXDeeplink=C,e.openOKXDeeplinkWithFallback=w,e.getWindow=T,e.isTelegramUrl=A,e.encodeTelegramUrlParameters=O,e.encodeConnectParams=v,e.encodeTWAConnectURLParams=B,e.openOKXTMAWalletlinkWithFallback=U,e.isInTMA=G,e.isInTelegramBrowser=l,e.getOKXLink=p;var i=zi(),n=Ks(),a=MS(),u=Zf(),c=tO(),d=OT();function h(E){return E.slice(-1)==="/"?E.slice(0,-1):E}function y(E,g){return h(E)+"/"+g}function C(E,g,b){w(E,g,b,!1)}function w(E,g,b,k=!0){var x;let S=!!(!((x=T())===null||x===void 0)&&x.TelegramWebviewProxy);console.log("openOKXDeeplinkWithFallback fullUrl:",g);let f=!1,M=3e3,V=null,D=()=>{console.log("fallbackToDownloadPage :empty")},j=!1;if(b===i.OpenAppLinkType.UniversalLink?j=(0,u.isInIOSChrome)()||(0,u.isInIOSLine)()||(0,u.isInIOSLark)()||(0,u.isInIOSWeChat)():j=S===!1&&(0,u.isIos)(),k&&((0,u.isIos)()?j&&(D=()=>{console.log("windowOpen --> fallbackToDownloadPage --",f),f||(console.log("windowOpen --> fallbackToDownloadPage universal link"),window.open(g,"_self"))}):D=()=>{f||(V?V.open(g,"_self"):window.open(g,"_blank"))}),!(0,u.isIos)()||j){if(S?((0,n.logDebug)("window.open(deeplinkUrl, '_blank') ",E),V=window.open(E,"_blank")):(console.log("windowOpen --> deeplinkUrl"),window.location.href=E),k){setTimeout(D,M);let Y=0,oe=setInterval(()=>{Y++,console.log("windowOpen --> interval:",Y,document.hidden,document.visibilityState),document.hidden&&(f=!0),(Y>10||document.hidden)&&(clearInterval(oe),console.log("windowOpen :cleat: ${count}"))},200);window.addEventListener("blur",()=>{console.log("windowOpen :blur"),f=!0},{once:!0}),document.addEventListener("visibilitychange",()=>{console.log("windowOpen :visibilitychange:",document.visibilityState),document.visibilityState==="hidden"&&(f=!0)})}}else S?window.open(g,"_blank"):(console.log("windowOpen[before]: ",Date.now()),window?.okxLogDebug?window.open(g,"_blank"):window.open(g,"_self"),console.log("windowOpen[after]: ",Date.now()))}function T(){if(typeof window<"u")return window}function A(E){if(!E)return!1;let g=new URL(E);return g.protocol==="tg:"||g.hostname==="t.me"}function O(E){let g=E;return g=g.replace(/\./g,"%2E"),g=g.replace(/-/g,"%2D"),g=g.replace(/_/g,"%5F"),g=g.replace(/&/g,"-"),g=g.replace(/=/g,"__"),g=g.replace(/%/g,"--"),g}function v(E){let g=Object.assign(Object.assign({},E),{protocolVersion:d.CONNECT_PROTOCOL_VER}),b=JSON.stringify(g);(0,n.logDebug)("url encodeConnectParams connectRequestStr ",b);let k=new TextEncoder().encode(b),x=btoa(String.fromCharCode(...k));return(0,n.logDebug)("url encodeConnectParams base64Encoded ",x),x}function B(E){let g=JSON.stringify({topic:E.topic,clientId:E.clientId});(0,n.logDebug)("url encodeConnectParams connectRequestStr",g);let b=new TextEncoder().encode(g);return btoa(String.fromCharCode(...b))}function R(E,g){let b={okxconnect:"",redirect:"",extraparams:"",fromtg:!1};E&&(b.okxconnect=E),g&&(b.redirect=g),G()?b.fromtg=!0:b.fromtg=!1,(0,n.logDebug)("getTelegramWalletTWAUrl redirect:",b.redirect);let k=JSON.stringify(b),x=new TextEncoder().encode(k),S=btoa(String.fromCharCode(...x)),f=(0,u.toSafeBase64FromBase64)(S);if((0,n.logDebug)("[TWA] open link:",b,S),E||g){if(G())return(0,a.getTestTgTwaUrl)()?`${(0,a.getTestTgTwaUrl)()}?startapp=${f}`:`https://t.me/${a.tgwalletName}/start?startapp=${f}`;if((0,a.getTestTwaUrl)())return`${(0,a.getTestTwaUrl)()}?tgWebAppStartParam=${f}`;if((0,a.getTestTgTwaUrl)()){let M=(0,a.getBotNameAndAppName)((0,a.getTestTgTwaUrl)());if(M){let{botName:V,appName:D}=M;return`tg://resolve?domain=${V}&appname=${D}&startapp=${f}`}return`tg://resolve?domain=${a.tgwalletName}&appname=${a.tgwalletAppName}&startapp=${f}`}else return`tg://resolve?domain=${a.tgwalletName}&appname=${a.tgwalletAppName}&startapp=${f}`}if(G())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 M=(0,a.getBotNameAndAppName)((0,a.getTestTgTwaUrl)());if(M){let{botName:V,appName:D}=M;return`tg://resolve?domain=${V}&appname=${D}`}return`tg://resolve?domain=${a.tgwalletName}&appname=${a.tgwalletAppName}`}else return`tg://resolve?domain=${a.tgwalletName}&appname=${a.tgwalletAppName}`}function U(E){var g,b,k,x,S;(0,n.logDebug)("[TWA] open link:",E,"isInTMA ==> ",G()),G()?!((b=(g=T())===null||g===void 0?void 0:g.Telegram)===null||b===void 0)&&b.WebApp?(S=(x=(k=T())===null||k===void 0?void 0:k.Telegram)===null||x===void 0?void 0:x.WebApp)===null||S===void 0||S.openTelegramLink(E):(0,c.sendOpenTelegramLink)(E):(0,a.getTestTwaUrl)()?window.open(E,"_blank"):window.open(E,"_self")}function N(E){try{return E=E.replace(/\+/g,"%20"),decodeURIComponent(E)}catch{return E}}function _(E){let g={};if(!E.length)return g;let b=E.split("&"),k,x,S,f;for(k=0;k<b.length;k++)x=b[k].split("="),S=N(x[0]),f=x[1]==null?null:N(x[1]),g[S]=f;return g}function L(E){E=E.replace(/^#/,"");let g={};if(!E.length)return g;if(E.indexOf("=")<0&&E.indexOf("?")<0)return g._path=N(E),g;let b=E.indexOf("?");if(b>=0){let x=E.substr(0,b);g._path=N(x),E=E.substr(b+1)}let k=_(E);for(let x in k)g[x]=k[x];return g}var H={};try{let E=location.hash.toString();H=L(E)}catch{}var F="unknown";H?.tgWebAppPlatform&&(F=(t=H.tgWebAppPlatform)!==null&&t!==void 0?t:"unknown"),F==="unknown"&&(F=(s=(o=(r=T()?.Telegram)===null||r===void 0?void 0:r.WebApp)===null||o===void 0?void 0:o.platform)!==null&&s!==void 0?s:"unknown");function G(){var E;return F!=="unknown"||!!(!((E=T())===null||E===void 0)&&E.TelegramWebviewProxy)}function l(){var E;let g=!!(!((E=T())===null||E===void 0)&&E.TelegramWebview);return(G()||g)&&F==="unknown"}function p(E,g=i.ConnectWalletType.OKX_APP_COMMON,b){(0,n.logDebug)(`url  getOKXLink() called connectRequest==> ${JSON.stringify(E)}  walletType=> ${g}  tmaReturnUrl==> ${b}`);function k(x,S){if(!E)return{universalLink:S,deepLink:x};let f=`${x}?param=${v(E)}`;return{universalLink:`${S}?topic=${E.topic}${(0,u.getLastSixMd5Hash)(E.clientId)}`,deepLink:f}}switch(g){case i.ConnectWalletType.OKX_WALLET:return k(i.okxWalletDeepLink,i.okxWalletUniversalLink);case i.ConnectWalletType.OKX_APP_COMMON:return k(a.okxCommonDeepLink,a.okxCommonUniversalLink);case i.ConnectWalletType.OKX_MINI:return E?{universalLink:R(B(E),b??"back")}:{universalLink:R(void 0,b??"back")};default:return k(i.okxAppDeepLink,i.okxAppUniversalLink)}}}),ZOe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(s,i,n,a){function u(c){return c instanceof n?c:new n(function(d){d(c)})}return new(n||(n=Promise))(function(c,d){function h(w){try{C(a.next(w))}catch(T){d(T)}}function y(w){try{C(a.throw(w))}catch(T){d(T)}}function C(w){w.done?c(w.value):u(w.value).then(h,y)}C((a=a.apply(s,i||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.callForSuccess=r,e.delay=o;function r(s,i){return t(this,void 0,void 0,function*(){var n,a;let u=(n=i?.attempts)!==null&&n!==void 0?n:3,c=(a=i?.delayMs)!==null&&a!==void 0?a:800;if(typeof s!="function")throw new Error(`Expected a function, got ${typeof s}`);let d=0,h;for(;d<u;)try{return yield s()}catch(y){h=y,d++,d<u&&(yield o(c))}throw h})}function o(s,i){return t(this,void 0,void 0,function*(){return new Promise((n,a)=>{var u,c;if(!((u=i?.signal)===null||u===void 0)&&u.aborted){a(new Error("Delay aborted"));return}let d=setTimeout(()=>n(),s);(c=i?.signal)===null||c===void 0||c.addEventListener("abort",()=>{clearTimeout(d),a(new Error("Delay aborted"))})})})}}),$Oe=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"}),e5e=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.checkMetaData=r;var t=zi();function r(o){if(!o)throw new t.OKXConnectError(t.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,"You have to specify a `dappMetaData`in the options.");if(!o.name)throw new t.OKXConnectError(t.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,"dappName is required");return!0}}),Ao=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(y,C,w,T){T===void 0&&(T=w);var A=Object.getOwnPropertyDescriptor(C,w);(!A||("get"in A?!C.__esModule:A.writable||A.configurable))&&(A={enumerable:!0,get:function(){return C[w]}}),Object.defineProperty(y,T,A)}:function(y,C,w,T){T===void 0&&(T=w),y[T]=C[w]}),r=e&&e.__exportStar||function(y,C){for(var w in y)w!=="default"&&!Object.prototype.hasOwnProperty.call(C,w)&&t(C,y,w)};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 o=ZOe();Object.defineProperty(e,"callForSuccess",{enumerable:!0,get:function(){return o.callForSuccess}});var s=Ks();Object.defineProperty(e,"logDebug",{enumerable:!0,get:function(){return s.logDebug}}),Object.defineProperty(e,"logError",{enumerable:!0,get:function(){return s.logError}}),Object.defineProperty(e,"logWarning",{enumerable:!0,get:function(){return s.logWarning}}),Object.defineProperty(e,"reportLog",{enumerable:!0,get:function(){return s.reportLog}}),Object.defineProperty(e,"reportEvent",{enumerable:!0,get:function(){return s.reportEvent}}),Object.defineProperty(e,"getDefaultReporter",{enumerable:!0,get:function(){return s.getDefaultReporter}}),r($Oe(),e),r(oO(),e);var i=bv();Object.defineProperty(e,"safeJsonParse",{enumerable:!0,get:function(){return i.safeJsonParse}}),Object.defineProperty(e,"safeJsonStringify",{enumerable:!0,get:function(){return i.safeJsonStringify}});var n=US();Object.defineProperty(e,"openOKXDeeplink",{enumerable:!0,get:function(){return n.openOKXDeeplink}}),Object.defineProperty(e,"openOKXDeeplinkWithFallback",{enumerable:!0,get:function(){return n.openOKXDeeplinkWithFallback}}),Object.defineProperty(e,"isTelegramUrl",{enumerable:!0,get:function(){return n.isTelegramUrl}}),Object.defineProperty(e,"encodeTelegramUrlParameters",{enumerable:!0,get:function(){return n.encodeTelegramUrlParameters}}),Object.defineProperty(e,"openOKXTMAWalletlinkWithFallback",{enumerable:!0,get:function(){return n.openOKXTMAWalletlinkWithFallback}}),Object.defineProperty(e,"encodeConnectParams",{enumerable:!0,get:function(){return n.encodeConnectParams}}),Object.defineProperty(e,"encodeTWAConnectURLParams",{enumerable:!0,get:function(){return n.encodeTWAConnectURLParams}}),Object.defineProperty(e,"getOKXLink",{enumerable:!0,get:function(){return n.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 u=jU();Object.defineProperty(e,"openLink",{enumerable:!0,get:function(){return u.openLink}}),Object.defineProperty(e,"openLinkBlank",{enumerable:!0,get:function(){return u.openLinkBlank}}),Object.defineProperty(e,"openDeeplinkWithFallback",{enumerable:!0,get:function(){return u.openDeeplinkWithFallback}}),Object.defineProperty(e,"isMobileUserAgent",{enumerable:!0,get:function(){return u.isMobileUserAgent}}),Object.defineProperty(e,"isOS",{enumerable:!0,get:function(){return u.isOS}}),Object.defineProperty(e,"isBrowser",{enumerable:!0,get:function(){return u.isBrowser}});var c=tO();Object.defineProperty(e,"versionCompare",{enumerable:!0,get:function(){return c.versionCompare}});var d=e5e();Object.defineProperty(e,"checkMetaData",{enumerable:!0,get:function(){return d.checkMetaData}});var h=Zf();Object.defineProperty(e,"replaceChainNameToChainId",{enumerable:!0,get:function(){return h.replaceChainNameToChainId}}),Object.defineProperty(e,"replaceChainIdToChainName",{enumerable:!0,get:function(){return h.replaceChainIdToChainName}}),Object.defineProperty(e,"chainName2IdMap",{enumerable:!0,get:function(){return h.chainName2IdMap}}),Object.defineProperty(e,"getNamespaceKeyByChain",{enumerable:!0,get:function(){return h.getNamespaceKeyByChain}}),Object.defineProperty(e,"chainIdToStandardChainIdMap",{enumerable:!0,get:function(){return h.chainIdToStandardChainIdMap}})}),QU=W((e,t)=>{m(),(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var o;typeof window<"u"?o=window:typeof global<"u"?o=global:typeof self<"u"?o=self:o=this,o.localforage=r()}})(function(){var r,o,s;return(function i(n,a,u){function c(y,C){if(!a[y]){if(!n[y]){var w=typeof r0=="function"&&r0;if(!C&&w)return w(y,!0);if(d)return d(y,!0);var T=new Error("Cannot find module '"+y+"'");throw T.code="MODULE_NOT_FOUND",T}var A=a[y]={exports:{}};n[y][0].call(A.exports,function(O){var v=n[y][1][O];return c(v||O)},A,A.exports,i,n,a,u)}return a[y].exports}for(var d=typeof r0=="function"&&r0,h=0;h<u.length;h++)c(u[h]);return c})({1:[function(i,n,a){(function(u){"use strict";var c=u.MutationObserver||u.WebKitMutationObserver,d;if(c){var h=0,y=new c(O),C=u.document.createTextNode("");y.observe(C,{characterData:!0}),d=function(){C.data=h=++h%2}}else if(!u.setImmediate&&typeof u.MessageChannel<"u"){var w=new u.MessageChannel;w.port1.onmessage=O,d=function(){w.port2.postMessage(0)}}else"document"in u&&"onreadystatechange"in u.document.createElement("script")?d=function(){var B=u.document.createElement("script");B.onreadystatechange=function(){O(),B.onreadystatechange=null,B.parentNode.removeChild(B),B=null},u.document.documentElement.appendChild(B)}:d=function(){setTimeout(O,0)};var T,A=[];function O(){T=!0;for(var B,R,U=A.length;U;){for(R=A,A=[],B=-1;++B<U;)R[B]();U=A.length}T=!1}n.exports=v;function v(B){A.push(B)===1&&!T&&d()}}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],2:[function(i,n,a){"use strict";var u=i(1);function c(){}var d={},h=["REJECTED"],y=["FULFILLED"],C=["PENDING"];n.exports=w;function w(L){if(typeof L!="function")throw new TypeError("resolver must be a function");this.state=C,this.queue=[],this.outcome=void 0,L!==c&&v(this,L)}w.prototype.catch=function(L){return this.then(null,L)},w.prototype.then=function(L,H){if(typeof L!="function"&&this.state===y||typeof H!="function"&&this.state===h)return this;var F=new this.constructor(c);if(this.state!==C){var G=this.state===y?L:H;A(F,G,this.outcome)}else this.queue.push(new T(F,L,H));return F};function T(L,H,F){this.promise=L,typeof H=="function"&&(this.onFulfilled=H,this.callFulfilled=this.otherCallFulfilled),typeof F=="function"&&(this.onRejected=F,this.callRejected=this.otherCallRejected)}T.prototype.callFulfilled=function(L){d.resolve(this.promise,L)},T.prototype.otherCallFulfilled=function(L){A(this.promise,this.onFulfilled,L)},T.prototype.callRejected=function(L){d.reject(this.promise,L)},T.prototype.otherCallRejected=function(L){A(this.promise,this.onRejected,L)};function A(L,H,F){u(function(){var G;try{G=H(F)}catch(l){return d.reject(L,l)}G===L?d.reject(L,new TypeError("Cannot resolve promise with itself")):d.resolve(L,G)})}d.resolve=function(L,H){var F=B(O,H);if(F.status==="error")return d.reject(L,F.value);var G=F.value;if(G)v(L,G);else{L.state=y,L.outcome=H;for(var l=-1,p=L.queue.length;++l<p;)L.queue[l].callFulfilled(H)}return L},d.reject=function(L,H){L.state=h,L.outcome=H;for(var F=-1,G=L.queue.length;++F<G;)L.queue[F].callRejected(H);return L};function O(L){var H=L&&L.then;if(L&&(typeof L=="object"||typeof L=="function")&&typeof H=="function")return function(){H.apply(L,arguments)}}function v(L,H){var F=!1;function G(g){F||(F=!0,d.reject(L,g))}function l(g){F||(F=!0,d.resolve(L,g))}function p(){H(l,G)}var E=B(p);E.status==="error"&&G(E.value)}function B(L,H){var F={};try{F.value=L(H),F.status="success"}catch(G){F.status="error",F.value=G}return F}w.resolve=R;function R(L){return L instanceof this?L:d.resolve(new this(c),L)}w.reject=U;function U(L){var H=new this(c);return d.reject(H,L)}w.all=N;function N(L){var H=this;if(Object.prototype.toString.call(L)!=="[object Array]")return this.reject(new TypeError("must be an array"));var F=L.length,G=!1;if(!F)return this.resolve([]);for(var l=new Array(F),p=0,E=-1,g=new this(c);++E<F;)b(L[E],E);return g;function b(k,x){H.resolve(k).then(S,function(f){G||(G=!0,d.reject(g,f))});function S(f){l[x]=f,++p===F&&!G&&(G=!0,d.resolve(g,l))}}}w.race=_;function _(L){var H=this;if(Object.prototype.toString.call(L)!=="[object Array]")return this.reject(new TypeError("must be an array"));var F=L.length,G=!1;if(!F)return this.resolve([]);for(var l=-1,p=new this(c);++l<F;)E(L[l]);return p;function E(g){H.resolve(g).then(function(b){G||(G=!0,d.resolve(p,b))},function(b){G||(G=!0,d.reject(p,b))})}}},{1:1}],3:[function(i,n,a){(function(u){"use strict";typeof u.Promise!="function"&&(u.Promise=i(2))}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{2:2}],4:[function(i,n,a){"use strict";var u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Z){return typeof Z}:function(Z){return Z&&typeof Symbol=="function"&&Z.constructor===Symbol&&Z!==Symbol.prototype?"symbol":typeof Z};function c(Z,be){if(!(Z instanceof be))throw new TypeError("Cannot call a class as a function")}function d(){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}}var h=d();function y(){try{if(!h||!h.open)return!1;var Z=typeof openDatabase<"u"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),be=typeof fetch=="function"&&fetch.toString().indexOf("[native code")!==-1;return(!Z||be)&&typeof indexedDB<"u"&&typeof IDBKeyRange<"u"}catch{return!1}}function C(Z,be){Z=Z||[],be=be||{};try{return new Blob(Z,be)}catch(Ve){if(Ve.name!=="TypeError")throw Ve;for(var Be=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,dt=new Be,gt=0;gt<Z.length;gt+=1)dt.append(Z[gt]);return dt.getBlob(be.type)}}typeof Promise>"u"&&i(3);var w=Promise;function T(Z,be){be&&Z.then(function(Be){be(null,Be)},function(Be){be(Be)})}function A(Z,be,Be){typeof be=="function"&&Z.then(be),typeof Be=="function"&&Z.catch(Be)}function O(Z){return typeof Z!="string"&&(console.warn(Z+" used as a key, but it is not a string."),Z=String(Z)),Z}function v(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var B="local-forage-detect-blob-support",R=void 0,U={},N=Object.prototype.toString,_="readonly",L="readwrite";function H(Z){for(var be=Z.length,Be=new ArrayBuffer(be),dt=new Uint8Array(Be),gt=0;gt<be;gt++)dt[gt]=Z.charCodeAt(gt);return Be}function F(Z){return new w(function(be){var Be=Z.transaction(B,L),dt=C([""]);Be.objectStore(B).put(dt,"key"),Be.onabort=function(gt){gt.preventDefault(),gt.stopPropagation(),be(!1)},Be.oncomplete=function(){var gt=navigator.userAgent.match(/Chrome\/(\d+)/),Ve=navigator.userAgent.match(/Edge\//);be(Ve||!gt||parseInt(gt[1],10)>=43)}}).catch(function(){return!1})}function G(Z){return typeof R=="boolean"?w.resolve(R):F(Z).then(function(be){return R=be,R})}function l(Z){var be=U[Z.name],Be={};Be.promise=new w(function(dt,gt){Be.resolve=dt,Be.reject=gt}),be.deferredOperations.push(Be),be.dbReady?be.dbReady=be.dbReady.then(function(){return Be.promise}):be.dbReady=Be.promise}function p(Z){var be=U[Z.name],Be=be.deferredOperations.pop();if(Be)return Be.resolve(),Be.promise}function E(Z,be){var Be=U[Z.name],dt=Be.deferredOperations.pop();if(dt)return dt.reject(be),dt.promise}function g(Z,be){return new w(function(Be,dt){if(U[Z.name]=U[Z.name]||Y(),Z.db)if(be)l(Z),Z.db.close();else return Be(Z.db);var gt=[Z.name];be&&gt.push(Z.version);var Ve=h.open.apply(h,gt);be&&(Ve.onupgradeneeded=function(Yt){var yr=Ve.result;try{yr.createObjectStore(Z.storeName),Yt.oldVersion<=1&&yr.createObjectStore(B)}catch(Cr){if(Cr.name==="ConstraintError")console.warn('The database "'+Z.name+'" has been upgraded from version '+Yt.oldVersion+" to version "+Yt.newVersion+', but the storage "'+Z.storeName+'" already exists.');else throw Cr}}),Ve.onerror=function(Yt){Yt.preventDefault(),dt(Ve.error)},Ve.onsuccess=function(){var Yt=Ve.result;Yt.onversionchange=function(yr){yr.target.close()},Be(Yt),p(Z)}})}function b(Z){return g(Z,!1)}function k(Z){return g(Z,!0)}function x(Z,be){if(!Z.db)return!0;var Be=!Z.db.objectStoreNames.contains(Z.storeName),dt=Z.version<Z.db.version,gt=Z.version>Z.db.version;if(dt&&(Z.version!==be&&console.warn('The database "'+Z.name+`" can't be downgraded from version `+Z.db.version+" to version "+Z.version+"."),Z.version=Z.db.version),gt||Be){if(Be){var Ve=Z.db.version+1;Ve>Z.version&&(Z.version=Ve)}return!0}return!1}function S(Z){return new w(function(be,Be){var dt=new FileReader;dt.onerror=Be,dt.onloadend=function(gt){var Ve=btoa(gt.target.result||"");be({__local_forage_encoded_blob:!0,data:Ve,type:Z.type})},dt.readAsBinaryString(Z)})}function f(Z){var be=H(atob(Z.data));return C([be],{type:Z.type})}function M(Z){return Z&&Z.__local_forage_encoded_blob}function V(Z){var be=this,Be=be._initReady().then(function(){var dt=U[be._dbInfo.name];if(dt&&dt.dbReady)return dt.dbReady});return A(Be,Z,Z),Be}function D(Z){l(Z);for(var be=U[Z.name],Be=be.forages,dt=0;dt<Be.length;dt++){var gt=Be[dt];gt._dbInfo.db&&(gt._dbInfo.db.close(),gt._dbInfo.db=null)}return Z.db=null,b(Z).then(function(Ve){return Z.db=Ve,x(Z)?k(Z):Ve}).then(function(Ve){Z.db=be.db=Ve;for(var Yt=0;Yt<Be.length;Yt++)Be[Yt]._dbInfo.db=Ve}).catch(function(Ve){throw E(Z,Ve),Ve})}function j(Z,be,Be,dt){dt===void 0&&(dt=1);try{var gt=Z.db.transaction(Z.storeName,be);Be(null,gt)}catch(Ve){if(dt>0&&(!Z.db||Ve.name==="InvalidStateError"||Ve.name==="NotFoundError"))return w.resolve().then(function(){if(!Z.db||Ve.name==="NotFoundError"&&!Z.db.objectStoreNames.contains(Z.storeName)&&Z.version<=Z.db.version)return Z.db&&(Z.version=Z.db.version+1),k(Z)}).then(function(){return D(Z).then(function(){j(Z,be,Be,dt-1)})}).catch(Be);Be(Ve)}}function Y(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function oe(Z){var be=this,Be={db:null};if(Z)for(var dt in Z)Be[dt]=Z[dt];var gt=U[Be.name];gt||(gt=Y(),U[Be.name]=gt),gt.forages.push(be),be._initReady||(be._initReady=be.ready,be.ready=V);var Ve=[];function Yt(){return w.resolve()}for(var yr=0;yr<gt.forages.length;yr++){var Cr=gt.forages[yr];Cr!==be&&Ve.push(Cr._initReady().catch(Yt))}var dr=gt.forages.slice(0);return w.all(Ve).then(function(){return Be.db=gt.db,b(Be)}).then(function(wr){return Be.db=wr,x(Be,be._defaultConfig.version)?k(Be):wr}).then(function(wr){Be.db=gt.db=wr,be._dbInfo=Be;for(var jr=0;jr<dr.length;jr++){var sn=dr[jr];sn!==be&&(sn._dbInfo.db=Be.db,sn._dbInfo.version=Be.version)}})}function de(Z,be){var Be=this;Z=O(Z);var dt=new w(function(gt,Ve){Be.ready().then(function(){j(Be._dbInfo,_,function(Yt,yr){if(Yt)return Ve(Yt);try{var Cr=yr.objectStore(Be._dbInfo.storeName),dr=Cr.get(Z);dr.onsuccess=function(){var wr=dr.result;wr===void 0&&(wr=null),M(wr)&&(wr=f(wr)),gt(wr)},dr.onerror=function(){Ve(dr.error)}}catch(wr){Ve(wr)}})}).catch(Ve)});return T(dt,be),dt}function ue(Z,be){var Be=this,dt=new w(function(gt,Ve){Be.ready().then(function(){j(Be._dbInfo,_,function(Yt,yr){if(Yt)return Ve(Yt);try{var Cr=yr.objectStore(Be._dbInfo.storeName),dr=Cr.openCursor(),wr=1;dr.onsuccess=function(){var jr=dr.result;if(jr){var sn=jr.value;M(sn)&&(sn=f(sn));var ln=Z(sn,jr.key,wr++);ln!==void 0?gt(ln):jr.continue()}else gt()},dr.onerror=function(){Ve(dr.error)}}catch(jr){Ve(jr)}})}).catch(Ve)});return T(dt,be),dt}function ae(Z,be,Be){var dt=this;Z=O(Z);var gt=new w(function(Ve,Yt){var yr;dt.ready().then(function(){return yr=dt._dbInfo,N.call(be)==="[object Blob]"?G(yr.db).then(function(Cr){return Cr?be:S(be)}):be}).then(function(Cr){j(dt._dbInfo,L,function(dr,wr){if(dr)return Yt(dr);try{var jr=wr.objectStore(dt._dbInfo.storeName);Cr===null&&(Cr=void 0);var sn=jr.put(Cr,Z);wr.oncomplete=function(){Cr===void 0&&(Cr=null),Ve(Cr)},wr.onabort=wr.onerror=function(){var ln=sn.error?sn.error:sn.transaction.error;Yt(ln)}}catch(ln){Yt(ln)}})}).catch(Yt)});return T(gt,Be),gt}function q(Z,be){var Be=this;Z=O(Z);var dt=new w(function(gt,Ve){Be.ready().then(function(){j(Be._dbInfo,L,function(Yt,yr){if(Yt)return Ve(Yt);try{var Cr=yr.objectStore(Be._dbInfo.storeName),dr=Cr.delete(Z);yr.oncomplete=function(){gt()},yr.onerror=function(){Ve(dr.error)},yr.onabort=function(){var wr=dr.error?dr.error:dr.transaction.error;Ve(wr)}}catch(wr){Ve(wr)}})}).catch(Ve)});return T(dt,be),dt}function ne(Z){var be=this,Be=new w(function(dt,gt){be.ready().then(function(){j(be._dbInfo,L,function(Ve,Yt){if(Ve)return gt(Ve);try{var yr=Yt.objectStore(be._dbInfo.storeName),Cr=yr.clear();Yt.oncomplete=function(){dt()},Yt.onabort=Yt.onerror=function(){var dr=Cr.error?Cr.error:Cr.transaction.error;gt(dr)}}catch(dr){gt(dr)}})}).catch(gt)});return T(Be,Z),Be}function me(Z){var be=this,Be=new w(function(dt,gt){be.ready().then(function(){j(be._dbInfo,_,function(Ve,Yt){if(Ve)return gt(Ve);try{var yr=Yt.objectStore(be._dbInfo.storeName),Cr=yr.count();Cr.onsuccess=function(){dt(Cr.result)},Cr.onerror=function(){gt(Cr.error)}}catch(dr){gt(dr)}})}).catch(gt)});return T(Be,Z),Be}function ve(Z,be){var Be=this,dt=new w(function(gt,Ve){if(Z<0){gt(null);return}Be.ready().then(function(){j(Be._dbInfo,_,function(Yt,yr){if(Yt)return Ve(Yt);try{var Cr=yr.objectStore(Be._dbInfo.storeName),dr=!1,wr=Cr.openKeyCursor();wr.onsuccess=function(){var jr=wr.result;if(!jr){gt(null);return}Z===0||dr?gt(jr.key):(dr=!0,jr.advance(Z))},wr.onerror=function(){Ve(wr.error)}}catch(jr){Ve(jr)}})}).catch(Ve)});return T(dt,be),dt}function ge(Z){var be=this,Be=new w(function(dt,gt){be.ready().then(function(){j(be._dbInfo,_,function(Ve,Yt){if(Ve)return gt(Ve);try{var yr=Yt.objectStore(be._dbInfo.storeName),Cr=yr.openKeyCursor(),dr=[];Cr.onsuccess=function(){var wr=Cr.result;if(!wr){dt(dr);return}dr.push(wr.key),wr.continue()},Cr.onerror=function(){gt(Cr.error)}}catch(wr){gt(wr)}})}).catch(gt)});return T(Be,Z),Be}function ce(Z,be){be=v.apply(this,arguments);var Be=this.config();Z=typeof Z!="function"&&Z||{},Z.name||(Z.name=Z.name||Be.name,Z.storeName=Z.storeName||Be.storeName);var dt=this,gt;if(!Z.name)gt=w.reject("Invalid arguments");else{var Ve=Z.name===Be.name&&dt._dbInfo.db,Yt=Ve?w.resolve(dt._dbInfo.db):b(Z).then(function(yr){var Cr=U[Z.name],dr=Cr.forages;Cr.db=yr;for(var wr=0;wr<dr.length;wr++)dr[wr]._dbInfo.db=yr;return yr});Z.storeName?gt=Yt.then(function(yr){if(yr.objectStoreNames.contains(Z.storeName)){var Cr=yr.version+1;l(Z);var dr=U[Z.name],wr=dr.forages;yr.close();for(var jr=0;jr<wr.length;jr++){var sn=wr[jr];sn._dbInfo.db=null,sn._dbInfo.version=Cr}var ln=new w(function(gn,An){var mn=h.open(Z.name,Cr);mn.onerror=function(Cn){var Gn=mn.result;Gn.close(),An(Cn)},mn.onupgradeneeded=function(){var Cn=mn.result;Cn.deleteObjectStore(Z.storeName)},mn.onsuccess=function(){var Cn=mn.result;Cn.close(),gn(Cn)}});return ln.then(function(gn){dr.db=gn;for(var An=0;An<wr.length;An++){var mn=wr[An];mn._dbInfo.db=gn,p(mn._dbInfo)}}).catch(function(gn){throw(E(Z,gn)||w.resolve()).catch(function(){}),gn})}}):gt=Yt.then(function(yr){l(Z);var Cr=U[Z.name],dr=Cr.forages;yr.close();for(var wr=0;wr<dr.length;wr++){var jr=dr[wr];jr._dbInfo.db=null}var sn=new w(function(ln,gn){var An=h.deleteDatabase(Z.name);An.onerror=function(){var mn=An.result;mn&&mn.close(),gn(An.error)},An.onblocked=function(){console.warn('dropInstance blocked for database "'+Z.name+'" until all open connections are closed')},An.onsuccess=function(){var mn=An.result;mn&&mn.close(),ln(mn)}});return sn.then(function(ln){Cr.db=ln;for(var gn=0;gn<dr.length;gn++){var An=dr[gn];p(An._dbInfo)}}).catch(function(ln){throw(E(Z,ln)||w.resolve()).catch(function(){}),ln})})}return T(gt,be),gt}var ee={_driver:"asyncStorage",_initStorage:oe,_support:y(),iterate:ue,getItem:de,setItem:ae,removeItem:q,clear:ne,length:me,key:ve,keys:ge,dropInstance:ce};function fe(){return typeof openDatabase=="function"}var ie="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re="~~local_forage_type~",Oe=/^~~local_forage_type~([^~]+)~/,Pe="__lfsc__:",Ne=Pe.length,Xe="arbf",Je="blob",ft="si08",Kt="ui08",wt="uic8",Ie="si16",it="si32",Ye="ur16",et="ui32",Gt="fl32",It="fl64",Rt=Ne+Xe.length,_r=Object.prototype.toString;function jt(Z){var be=Z.length*.75,Be=Z.length,dt,gt=0,Ve,Yt,yr,Cr;Z[Z.length-1]==="="&&(be--,Z[Z.length-2]==="="&&be--);var dr=new ArrayBuffer(be),wr=new Uint8Array(dr);for(dt=0;dt<Be;dt+=4)Ve=ie.indexOf(Z[dt]),Yt=ie.indexOf(Z[dt+1]),yr=ie.indexOf(Z[dt+2]),Cr=ie.indexOf(Z[dt+3]),wr[gt++]=Ve<<2|Yt>>4,wr[gt++]=(Yt&15)<<4|yr>>2,wr[gt++]=(yr&3)<<6|Cr&63;return dr}function Fe(Z){var be=new Uint8Array(Z),Be="",dt;for(dt=0;dt<be.length;dt+=3)Be+=ie[be[dt]>>2],Be+=ie[(be[dt]&3)<<4|be[dt+1]>>4],Be+=ie[(be[dt+1]&15)<<2|be[dt+2]>>6],Be+=ie[be[dt+2]&63];return be.length%3===2?Be=Be.substring(0,Be.length-1)+"=":be.length%3===1&&(Be=Be.substring(0,Be.length-2)+"=="),Be}function Pr(Z,be){var Be="";if(Z&&(Be=_r.call(Z)),Z&&(Be==="[object ArrayBuffer]"||Z.buffer&&_r.call(Z.buffer)==="[object ArrayBuffer]")){var dt,gt=Pe;Z instanceof ArrayBuffer?(dt=Z,gt+=Xe):(dt=Z.buffer,Be==="[object Int8Array]"?gt+=ft:Be==="[object Uint8Array]"?gt+=Kt:Be==="[object Uint8ClampedArray]"?gt+=wt:Be==="[object Int16Array]"?gt+=Ie:Be==="[object Uint16Array]"?gt+=Ye:Be==="[object Int32Array]"?gt+=it:Be==="[object Uint32Array]"?gt+=et:Be==="[object Float32Array]"?gt+=Gt:Be==="[object Float64Array]"?gt+=It:be(new Error("Failed to get type for BinaryArray"))),be(gt+Fe(dt))}else if(Be==="[object Blob]"){var Ve=new FileReader;Ve.onload=function(){var Yt=re+Z.type+"~"+Fe(this.result);be(Pe+Je+Yt)},Ve.readAsArrayBuffer(Z)}else try{be(JSON.stringify(Z))}catch(Yt){console.error("Couldn't convert value into a JSON string: ",Z),be(null,Yt)}}function $t(Z){if(Z.substring(0,Ne)!==Pe)return JSON.parse(Z);var be=Z.substring(Rt),Be=Z.substring(Ne,Rt),dt;if(Be===Je&&Oe.test(be)){var gt=be.match(Oe);dt=gt[1],be=be.substring(gt[0].length)}var Ve=jt(be);switch(Be){case Xe:return Ve;case Je:return C([Ve],{type:dt});case ft:return new Int8Array(Ve);case Kt:return new Uint8Array(Ve);case wt:return new Uint8ClampedArray(Ve);case Ie:return new Int16Array(Ve);case Ye:return new Uint16Array(Ve);case it:return new Int32Array(Ve);case et:return new Uint32Array(Ve);case Gt:return new Float32Array(Ve);case It:return new Float64Array(Ve);default:throw new Error("Unkown type: "+Be)}}var Qt={serialize:Pr,deserialize:$t,stringToBuffer:jt,bufferToString:Fe};function At(Z,be,Be,dt){Z.executeSql("CREATE TABLE IF NOT EXISTS "+be.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],Be,dt)}function ur(Z){var be=this,Be={db:null};if(Z)for(var dt in Z)Be[dt]=typeof Z[dt]!="string"?Z[dt].toString():Z[dt];var gt=new w(function(Ve,Yt){try{Be.db=openDatabase(Be.name,String(Be.version),Be.description,Be.size)}catch(yr){return Yt(yr)}Be.db.transaction(function(yr){At(yr,Be,function(){be._dbInfo=Be,Ve()},function(Cr,dr){Yt(dr)})},Yt)});return Be.serializer=Qt,gt}function tr(Z,be,Be,dt,gt,Ve){Z.executeSql(Be,dt,gt,function(Yt,yr){yr.code===yr.SYNTAX_ERR?Yt.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[be.storeName],function(Cr,dr){dr.rows.length?Ve(Cr,yr):At(Cr,be,function(){Cr.executeSql(Be,dt,gt,Ve)},Ve)},Ve):Ve(Yt,yr)},Ve)}function Vt(Z,be){var Be=this;Z=O(Z);var dt=new w(function(gt,Ve){Be.ready().then(function(){var Yt=Be._dbInfo;Yt.db.transaction(function(yr){tr(yr,Yt,"SELECT * FROM "+Yt.storeName+" WHERE key = ? LIMIT 1",[Z],function(Cr,dr){var wr=dr.rows.length?dr.rows.item(0).value:null;wr&&(wr=Yt.serializer.deserialize(wr)),gt(wr)},function(Cr,dr){Ve(dr)})})}).catch(Ve)});return T(dt,be),dt}function bt(Z,be){var Be=this,dt=new w(function(gt,Ve){Be.ready().then(function(){var Yt=Be._dbInfo;Yt.db.transaction(function(yr){tr(yr,Yt,"SELECT * FROM "+Yt.storeName,[],function(Cr,dr){for(var wr=dr.rows,jr=wr.length,sn=0;sn<jr;sn++){var ln=wr.item(sn),gn=ln.value;if(gn&&(gn=Yt.serializer.deserialize(gn)),gn=Z(gn,ln.key,sn+1),gn!==void 0){gt(gn);return}}gt()},function(Cr,dr){Ve(dr)})})}).catch(Ve)});return T(dt,be),dt}function kt(Z,be,Be,dt){var gt=this;Z=O(Z);var Ve=new w(function(Yt,yr){gt.ready().then(function(){be===void 0&&(be=null);var Cr=be,dr=gt._dbInfo;dr.serializer.serialize(be,function(wr,jr){jr?yr(jr):dr.db.transaction(function(sn){tr(sn,dr,"INSERT OR REPLACE INTO "+dr.storeName+" (key, value) VALUES (?, ?)",[Z,wr],function(){Yt(Cr)},function(ln,gn){yr(gn)})},function(sn){if(sn.code===sn.QUOTA_ERR){if(dt>0){Yt(kt.apply(gt,[Z,Cr,Be,dt-1]));return}yr(sn)}})})}).catch(yr)});return T(Ve,Be),Ve}function er(Z,be,Be){return kt.apply(this,[Z,be,Be,1])}function Et(Z,be){var Be=this;Z=O(Z);var dt=new w(function(gt,Ve){Be.ready().then(function(){var Yt=Be._dbInfo;Yt.db.transaction(function(yr){tr(yr,Yt,"DELETE FROM "+Yt.storeName+" WHERE key = ?",[Z],function(){gt()},function(Cr,dr){Ve(dr)})})}).catch(Ve)});return T(dt,be),dt}function qt(Z){var be=this,Be=new w(function(dt,gt){be.ready().then(function(){var Ve=be._dbInfo;Ve.db.transaction(function(Yt){tr(Yt,Ve,"DELETE FROM "+Ve.storeName,[],function(){dt()},function(yr,Cr){gt(Cr)})})}).catch(gt)});return T(Be,Z),Be}function Hr(Z){var be=this,Be=new w(function(dt,gt){be.ready().then(function(){var Ve=be._dbInfo;Ve.db.transaction(function(Yt){tr(Yt,Ve,"SELECT COUNT(key) as c FROM "+Ve.storeName,[],function(yr,Cr){var dr=Cr.rows.item(0).c;dt(dr)},function(yr,Cr){gt(Cr)})})}).catch(gt)});return T(Be,Z),Be}function _t(Z,be){var Be=this,dt=new w(function(gt,Ve){Be.ready().then(function(){var Yt=Be._dbInfo;Yt.db.transaction(function(yr){tr(yr,Yt,"SELECT key FROM "+Yt.storeName+" WHERE id = ? LIMIT 1",[Z+1],function(Cr,dr){var wr=dr.rows.length?dr.rows.item(0).key:null;gt(wr)},function(Cr,dr){Ve(dr)})})}).catch(Ve)});return T(dt,be),dt}function Wt(Z){var be=this,Be=new w(function(dt,gt){be.ready().then(function(){var Ve=be._dbInfo;Ve.db.transaction(function(Yt){tr(Yt,Ve,"SELECT key FROM "+Ve.storeName,[],function(yr,Cr){for(var dr=[],wr=0;wr<Cr.rows.length;wr++)dr.push(Cr.rows.item(wr).key);dt(dr)},function(yr,Cr){gt(Cr)})})}).catch(gt)});return T(Be,Z),Be}function qr(Z){return new w(function(be,Be){Z.transaction(function(dt){dt.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(gt,Ve){for(var Yt=[],yr=0;yr<Ve.rows.length;yr++)Yt.push(Ve.rows.item(yr).name);be({db:Z,storeNames:Yt})},function(gt,Ve){Be(Ve)})},function(dt){Be(dt)})})}function Ce(Z,be){be=v.apply(this,arguments);var Be=this.config();Z=typeof Z!="function"&&Z||{},Z.name||(Z.name=Z.name||Be.name,Z.storeName=Z.storeName||Be.storeName);var dt=this,gt;return Z.name?gt=new w(function(Ve){var Yt;Z.name===Be.name?Yt=dt._dbInfo.db:Yt=openDatabase(Z.name,"","",0),Z.storeName?Ve({db:Yt,storeNames:[Z.storeName]}):Ve(qr(Yt))}).then(function(Ve){return new w(function(Yt,yr){Ve.db.transaction(function(Cr){function dr(ln){return new w(function(gn,An){Cr.executeSql("DROP TABLE IF EXISTS "+ln,[],function(){gn()},function(mn,Cn){An(Cn)})})}for(var wr=[],jr=0,sn=Ve.storeNames.length;jr<sn;jr++)wr.push(dr(Ve.storeNames[jr]));w.all(wr).then(function(){Yt()}).catch(function(ln){yr(ln)})},function(Cr){yr(Cr)})})}):gt=w.reject("Invalid arguments"),T(gt,be),gt}var _e={_driver:"webSQLStorage",_initStorage:ur,_support:fe(),iterate:bt,getItem:Vt,setItem:er,removeItem:Et,clear:qt,length:Hr,key:_t,keys:Wt,dropInstance:Ce};function Ze(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}function he(Z,be){var Be=Z.name+"/";return Z.storeName!==be.storeName&&(Be+=Z.storeName+"/"),Be}function Ke(){var Z="_localforage_support_test";try{return localStorage.setItem(Z,!0),localStorage.removeItem(Z),!1}catch{return!0}}function Ht(){return!Ke()||localStorage.length>0}function yt(Z){var be=this,Be={};if(Z)for(var dt in Z)Be[dt]=Z[dt];return Be.keyPrefix=he(Z,be._defaultConfig),Ht()?(be._dbInfo=Be,Be.serializer=Qt,w.resolve()):w.reject()}function Ot(Z){var be=this,Be=be.ready().then(function(){for(var dt=be._dbInfo.keyPrefix,gt=localStorage.length-1;gt>=0;gt--){var Ve=localStorage.key(gt);Ve.indexOf(dt)===0&&localStorage.removeItem(Ve)}});return T(Be,Z),Be}function hr(Z,be){var Be=this;Z=O(Z);var dt=Be.ready().then(function(){var gt=Be._dbInfo,Ve=localStorage.getItem(gt.keyPrefix+Z);return Ve&&(Ve=gt.serializer.deserialize(Ve)),Ve});return T(dt,be),dt}function Br(Z,be){var Be=this,dt=Be.ready().then(function(){for(var gt=Be._dbInfo,Ve=gt.keyPrefix,Yt=Ve.length,yr=localStorage.length,Cr=1,dr=0;dr<yr;dr++){var wr=localStorage.key(dr);if(wr.indexOf(Ve)===0){var jr=localStorage.getItem(wr);if(jr&&(jr=gt.serializer.deserialize(jr)),jr=Z(jr,wr.substring(Yt),Cr++),jr!==void 0)return jr}}});return T(dt,be),dt}function Er(Z,be){var Be=this,dt=Be.ready().then(function(){var gt=Be._dbInfo,Ve;try{Ve=localStorage.key(Z)}catch{Ve=null}return Ve&&(Ve=Ve.substring(gt.keyPrefix.length)),Ve});return T(dt,be),dt}function Qe(Z){var be=this,Be=be.ready().then(function(){for(var dt=be._dbInfo,gt=localStorage.length,Ve=[],Yt=0;Yt<gt;Yt++){var yr=localStorage.key(Yt);yr.indexOf(dt.keyPrefix)===0&&Ve.push(yr.substring(dt.keyPrefix.length))}return Ve});return T(Be,Z),Be}function mt(Z){var be=this,Be=be.keys().then(function(dt){return dt.length});return T(Be,Z),Be}function Ue(Z,be){var Be=this;Z=O(Z);var dt=Be.ready().then(function(){var gt=Be._dbInfo;localStorage.removeItem(gt.keyPrefix+Z)});return T(dt,be),dt}function Ge(Z,be,Be){var dt=this;Z=O(Z);var gt=dt.ready().then(function(){be===void 0&&(be=null);var Ve=be;return new w(function(Yt,yr){var Cr=dt._dbInfo;Cr.serializer.serialize(be,function(dr,wr){if(wr)yr(wr);else try{localStorage.setItem(Cr.keyPrefix+Z,dr),Yt(Ve)}catch(jr){(jr.name==="QuotaExceededError"||jr.name==="NS_ERROR_DOM_QUOTA_REACHED")&&yr(jr),yr(jr)}})})});return T(gt,Be),gt}function Me(Z,be){if(be=v.apply(this,arguments),Z=typeof Z!="function"&&Z||{},!Z.name){var Be=this.config();Z.name=Z.name||Be.name,Z.storeName=Z.storeName||Be.storeName}var dt=this,gt;return Z.name?gt=new w(function(Ve){Z.storeName?Ve(he(Z,dt._defaultConfig)):Ve(Z.name+"/")}).then(function(Ve){for(var Yt=localStorage.length-1;Yt>=0;Yt--){var yr=localStorage.key(Yt);yr.indexOf(Ve)===0&&localStorage.removeItem(yr)}}):gt=w.reject("Invalid arguments"),T(gt,be),gt}var ze={_driver:"localStorageWrapper",_initStorage:yt,_support:Ze(),iterate:Br,getItem:hr,setItem:Ge,removeItem:Ue,clear:Ot,length:mt,key:Er,keys:Qe,dropInstance:Me},Le=function(Z,be){return Z===be||typeof Z=="number"&&typeof be=="number"&&isNaN(Z)&&isNaN(be)},rt=function(Z,be){for(var Be=Z.length,dt=0;dt<Be;){if(Le(Z[dt],be))return!0;dt++}return!1},ht=Array.isArray||function(Z){return Object.prototype.toString.call(Z)==="[object Array]"},ut={},Dt={},He={INDEXEDDB:ee,WEBSQL:_e,LOCALSTORAGE:ze},nt=[He.INDEXEDDB._driver,He.WEBSQL._driver,He.LOCALSTORAGE._driver],at=["dropInstance"],Tt=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(at),pt={description:"",driver:nt.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function Bt(Z,be){Z[be]=function(){var Be=arguments;return Z.ready().then(function(){return Z[be].apply(Z,Be)})}}function Zt(){for(var Z=1;Z<arguments.length;Z++){var be=arguments[Z];if(be)for(var Be in be)be.hasOwnProperty(Be)&&(ht(be[Be])?arguments[0][Be]=be[Be].slice():arguments[0][Be]=be[Be])}return arguments[0]}var K=(function(){function Z(be){c(this,Z);for(var Be in He)if(He.hasOwnProperty(Be)){var dt=He[Be],gt=dt._driver;this[Be]=gt,ut[gt]||this.defineDriver(dt)}this._defaultConfig=Zt({},pt),this._config=Zt({},this._defaultConfig,be),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return Z.prototype.config=function(be){if((typeof be>"u"?"undefined":u(be))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var Be in be){if(Be==="storeName"&&(be[Be]=be[Be].replace(/\W/g,"_")),Be==="version"&&typeof be[Be]!="number")return new Error("Database version must be a number.");this._config[Be]=be[Be]}return"driver"in be&&be.driver?this.setDriver(this._config.driver):!0}else return typeof be=="string"?this._config[be]:this._config},Z.prototype.defineDriver=function(be,Be,dt){var gt=new w(function(Ve,Yt){try{var yr=be._driver,Cr=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!be._driver){Yt(Cr);return}for(var dr=Tt.concat("_initStorage"),wr=0,jr=dr.length;wr<jr;wr++){var sn=dr[wr],ln=!rt(at,sn);if((ln||be[sn])&&typeof be[sn]!="function"){Yt(Cr);return}}var gn=function(){for(var mn=function(Hn){return function(){var uo=new Error("Method "+Hn+" is not implemented by the current driver"),Ri=w.reject(uo);return T(Ri,arguments[arguments.length-1]),Ri}},Cn=0,Gn=at.length;Cn<Gn;Cn++){var qn=at[Cn];be[qn]||(be[qn]=mn(qn))}};gn();var An=function(mn){ut[yr]&&console.info("Redefining LocalForage driver: "+yr),ut[yr]=be,Dt[yr]=mn,Ve()};"_support"in be?be._support&&typeof be._support=="function"?be._support().then(An,Yt):An(!!be._support):An(!0)}catch(mn){Yt(mn)}});return A(gt,Be,dt),gt},Z.prototype.driver=function(){return this._driver||null},Z.prototype.getDriver=function(be,Be,dt){var gt=ut[be]?w.resolve(ut[be]):w.reject(new Error("Driver not found."));return A(gt,Be,dt),gt},Z.prototype.getSerializer=function(be){var Be=w.resolve(Qt);return A(Be,be),Be},Z.prototype.ready=function(be){var Be=this,dt=Be._driverSet.then(function(){return Be._ready===null&&(Be._ready=Be._initDriver()),Be._ready});return A(dt,be,be),dt},Z.prototype.setDriver=function(be,Be,dt){var gt=this;ht(be)||(be=[be]);var Ve=this._getSupportedDrivers(be);function Yt(){gt._config.driver=gt.driver()}function yr(wr){return gt._extend(wr),Yt(),gt._ready=gt._initStorage(gt._config),gt._ready}function Cr(wr){return function(){var jr=0;function sn(){for(;jr<wr.length;){var ln=wr[jr];return jr++,gt._dbInfo=null,gt._ready=null,gt.getDriver(ln).then(yr).catch(sn)}Yt();var gn=new Error("No available storage method found.");return gt._driverSet=w.reject(gn),gt._driverSet}return sn()}}var dr=this._driverSet!==null?this._driverSet.catch(function(){return w.resolve()}):w.resolve();return this._driverSet=dr.then(function(){var wr=Ve[0];return gt._dbInfo=null,gt._ready=null,gt.getDriver(wr).then(function(jr){gt._driver=jr._driver,Yt(),gt._wrapLibraryMethodsWithReady(),gt._initDriver=Cr(Ve)})}).catch(function(){Yt();var wr=new Error("No available storage method found.");return gt._driverSet=w.reject(wr),gt._driverSet}),A(this._driverSet,Be,dt),this._driverSet},Z.prototype.supports=function(be){return!!Dt[be]},Z.prototype._extend=function(be){Zt(this,be)},Z.prototype._getSupportedDrivers=function(be){for(var Be=[],dt=0,gt=be.length;dt<gt;dt++){var Ve=be[dt];this.supports(Ve)&&Be.push(Ve)}return Be},Z.prototype._wrapLibraryMethodsWithReady=function(){for(var be=0,Be=Tt.length;be<Be;be++)Bt(this,Tt[be])},Z.prototype.createInstance=function(be){return new Z(be)},Z})(),X=new K;n.exports=X},{3:3}]},{},[4])(4)})}),oO=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(O,v,B,R){function U(N){return N instanceof B?N:new B(function(_){_(N)})}return new(B||(B=Promise))(function(N,_){function L(G){try{F(R.next(G))}catch(l){_(l)}}function H(G){try{F(R.throw(G))}catch(l){_(l)}}function F(G){G.done?N(G.value):U(G.value).then(L,H)}F((R=R.apply(O,v||[])).next())})},r=e&&e.__importDefault||function(O){return O&&O.__esModule?O:{default:O}};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXReporter=e.OKXReportSide=e.OKXReportType=e.versionStr=void 0;var o=r(gOe()),s=Ks(),i=US(),n=Ao(),a=r(QU());e.versionStr="1.9.0";var u=["https://www.okx.com/dappstat/wallet-connect","https://www.okx.ac/dappstat/wallet-connect"],c="OKX_RP_CK",d="OKX_RP_UUID_CK",h=100,y={Accept:"*/*","Content-Type":"text/plain"},C="POST",w={headers:y,method:C};e.OKXReportType={PAGE_IN:"page_in",PAGE_OUT:"page_out",CLICK:"click",LOG:"log"},e.OKXReportSide={DAPP:"dapp",WALLET:"wallet"};var T=(O,...v)=>t(void 0,[O,...v],void 0,function*(B,R={},U=5e3){for(let N of B)try{let _=new AbortController,L=_.signal,H=(0,o.default)(N,Object.assign(Object.assign({},R),{signal:L})),F=new Promise((l,p)=>setTimeout(()=>{_.abort(),p(new Error("Request timed out"))},U)),G=yield Promise.race([H,F]);if(G.ok)return G;if(G.status==502)return console.error("Fetch error status 502",N),G}catch(_){console.error(`Fetch error for ${N}:`,_)}throw console.error("'All fetch attempts failed.'"),new Error("All fetch attempts failed.")}),A=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(O,v,B){this.currentVersion=O+s.logVersion,this.currentSide=v,this.appName=B}get recordCacheKey(){return c+"@"+this.appName}get reportPlatform(){return(0,n.isMobileUserAgent)()?(0,n.isIos)()?"iOS":"android":"pc"}beginReport(){return t(this,void 0,void 0,function*(){this.startErrorCatching();let O=yield this.storage.getItem(this.recordCacheKey),v=yield this.storage.getItem(d);v?this.currentUUID=v:this.storage.setItem(d,this.currentUUID),O&&(this.recordList=O,(0,s.logDebug)("resume records from cache length: ",this.recordList.length),yield this.sendCachedRecords())})}startErrorCatching(){(0,i.getWindow)()&&(0,s.logDebug)("begin capture console error")}cachedErrors(){return this.recordList}sendRecord(O){return t(this,void 0,void 0,function*(){return new Promise((v,B)=>t(this,void 0,void 0,function*(){try{let R=JSON.stringify(O);(0,s.logDebug)("[REPORT] record: ",R);let U=yield T(u,Object.assign(Object.assign({},w),{body:R}));(0,s.logDebug)("[REPORT] get rsp:",U),U&&U.status&&U.status==200?(this.recordList=this.recordList.filter(N=>N.timestamp!=O.timestamp||N.content!=O.content),yield this.storage.setItem(this.recordCacheKey,this.recordList),v(!0)):B(!1)}catch(R){(0,s.logDebug)("send record error:",R),v(!0)}}))})}sendRecordContent(O,v,B){return t(this,arguments,void 0,function*(R,U,N,_=void 0,L=void 0,H=void 0,F=void 0,G=void 0,l=void 0){var p,E,g,b;let k=(p=(0,i.getWindow)())===null||p===void 0?void 0:p.location.pathname,x=(E=(0,i.getWindow)())===null||E===void 0?void 0:E.location.origin;k&&x&&(x=x+k);let S=(g=(0,i.getWindow)())===null||g===void 0?void 0:g.navigator.language,f=(b=(0,i.getWindow)())===null||b===void 0?void 0:b.navigator.userAgent,M=this.reportPlatform,V={uuid:this.currentUUID,version:this.currentVersion,content:R,action:N,side:this.currentSide,timestamp:new Date().getTime(),url:x,lang:S,type:U,platform:M,"user-agent":f,reverved1:_,reverved2:L,reverved3:H,reverved4:F,reverved5:G,reverved6:l};yield this.markRecordItem(V),yield this.sendRecord(V)})}sendCachedRecords(){return t(this,void 0,void 0,function*(){return new Promise((O,v)=>t(this,void 0,void 0,function*(){let B=this.recordList.map(R=>this.sendRecord(R));(0,s.logDebug)("[REPORT] submit & clean recorded caches begin @",new Date().toUTCString()),Promise.allSettled(B).then(R=>{(0,s.logDebug)("[REPORT] submit & clean recorded caches ends @",new Date().toUTCString());let U=[];R.forEach((N,_)=>{N.status=="rejected"&&U.push(_)}),this.recordList=this.recordList.filter((N,_)=>!U.includes(_)),this.storage.setItem(this.recordCacheKey,this.recordList).then(function(N){O()}).catch(function(N){v(N)})})}))})}markRecordItem(O){return t(this,void 0,void 0,function*(){if(this.recordList.push(O),this.recordList.length>h){let v=this.recordList.length-h;this.recordList.splice(0,v)}return new Promise((v,B)=>{this.storage.setItem(this.recordCacheKey,this.recordList).then(function(R){v(O)}).catch(function(R){B(R)})})})}};e.OKXReporter=A}),c5e=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(w,T,A,O){function v(B){return B instanceof A?B:new A(function(R){R(B)})}return new(A||(A=Promise))(function(B,R){function U(L){try{_(O.next(L))}catch(H){R(H)}}function N(L){try{_(O.throw(L))}catch(H){R(H)}}function _(L){L.done?B(L.value):v(L.value).then(U,N)}_((O=O.apply(w,T||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.logVersion=void 0,e.getDefaultReporter=n,e.logDebug=c,e.logError=d,e.logWarning=h,e.reportEvent=y,e.reportLog=C;var r=!1,o=!1,s=oO(),i=new s.OKXReporter;function n(){return i}var a=c5e(),u=a.version;function c(...w){if(typeof console<"u")try{(r||window?.okxLogDebug)&&console.log(`[OKX_CONNECT_SDK1] ${u} `,...w)}catch{}}function d(...w){if(typeof console<"u")try{if((r||window?.okxLogDebug)&&console.error(`[OKX_CONNECT_SDK1] ${u} `,...w),o||!r){let T="";T+=[...w].reduce((A,O)=>{typeof O=="string"?A+=","+O:typeof O=="object"&&(A+=JSON.stringify(O))}),i.sendRecordContent(T,s.OKXReportType.LOG,"")}}catch{}}function h(...w){if(typeof console<"u")try{(r||window?.okxLogDebug)&&console.warn(`[OKX_CONNECT_SDK1] ${u} `,...w)}catch{}}function y(w,T,A){return t(this,arguments,void 0,function*(O,v,B,R=void 0,U=void 0,N=void 0,_=void 0,L=void 0,H=void 0){try{yield i.sendRecordContent(B,O,v,R,U,N,_,L,H)}catch{}})}function C(w){return t(this,arguments,void 0,function*(T,A="default"){})}e.logVersion=u}),bv=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.safeJsonParse=s,e.safeJsonStringify=i;var t=Ks(),r=n=>JSON.stringify(n,(a,u)=>typeof u=="bigint"?u.toString()+"n":u),o=n=>{let a=/:(\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,u=n.replace(a,(c,d)=>`:"${d}n"`);try{return JSON.parse(u,(c,d)=>typeof d=="string"&&d.match(/^\d+n$/)?BigInt(d.substring(0,d.length-1)):d)}catch{return JSON.parse(n)}};function s(n){if(typeof n!="string")throw(0,t.logDebug)(n),new Error(`Cannot safe json parse value of type ${typeof n}`);try{return o(n)}catch(a){return console.error("safeJsonParse error:",a),n}}function i(n){return typeof n=="string"?n:r(n)||""}}),H$=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.okxfromString=o,e.okxtoString=s,e.alloc=i,e.allocUnsafe=n;var t=(o$(),tN(QIe)),r=Ks();function o(h,y="utf8"){let C=d[y];if((0,r.logDebug)("okxfromstring ====> "),!C)throw new Error(`Unsupported encoding "${y}"`);return C.decoder.decode(`${C.prefix}${h}`)}function s(h,y="utf8"){let C=d[y];if((0,r.logDebug)("okxtoString ====> "),!C)throw new Error(`Unsupported encoding "${y}"`);return C.encoder.encode(h).substring(1)}function i(h=0){return new Uint8Array(h)}function n(h=0){return new Uint8Array(h)}function a(h,y,C,w){return{name:h,prefix:y,encoder:{name:h,prefix:y,encode:C},decoder:{decode:w}}}var u=a("utf8","u",h=>"u"+new TextDecoder("utf8").decode(h),h=>new TextEncoder().encode(h.substring(1))),c=a("ascii","a",h=>{let y="a";for(let C=0;C<h.length;C++){let w=h[C];w&&String.fromCharCode(w)&&(y+=String.fromCharCode(w))}return y},h=>{h=h.substring(1);let y=n(h.length);for(let C=0;C<h.length;C++)y[C]=h.charCodeAt(C);return y}),d=Object.assign({utf8:u,"utf-8":u,hex:t.bases.base16,latin1:c,ascii:c,binary:c},t.bases)}),ti=W((e,t)=>{m(),(function(r,o){typeof e=="object"?t.exports=e=o():typeof define=="function"&&define.amd?define([],o):r.CryptoJS=o()})(e,function(){var r=r||(function(o,s){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof global<"u"&&global.crypto&&(i=global.crypto),!i&&typeof r0=="function")try{i=II()}catch{}var n=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||(function(){function B(){}return function(R){var U;return B.prototype=R,U=new B,B.prototype=null,U}})(),u={},c=u.lib={},d=c.Base=(function(){return{extend:function(B){var R=a(this);return B&&R.mixIn(B),(!R.hasOwnProperty("init")||this.init===R.init)&&(R.init=function(){R.$super.init.apply(this,arguments)}),R.init.prototype=R,R.$super=this,R},create:function(){var B=this.extend();return B.init.apply(B,arguments),B},init:function(){},mixIn:function(B){for(var R in B)B.hasOwnProperty(R)&&(this[R]=B[R]);B.hasOwnProperty("toString")&&(this.toString=B.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),h=c.WordArray=d.extend({init:function(B,R){B=this.words=B||[],R!=s?this.sigBytes=R:this.sigBytes=B.length*4},toString:function(B){return(B||C).stringify(this)},concat:function(B){var R=this.words,U=B.words,N=this.sigBytes,_=B.sigBytes;if(this.clamp(),N%4)for(var L=0;L<_;L++){var H=U[L>>>2]>>>24-L%4*8&255;R[N+L>>>2]|=H<<24-(N+L)%4*8}else for(var F=0;F<_;F+=4)R[N+F>>>2]=U[F>>>2];return this.sigBytes+=_,this},clamp:function(){var B=this.words,R=this.sigBytes;B[R>>>2]&=4294967295<<32-R%4*8,B.length=o.ceil(R/4)},clone:function(){var B=d.clone.call(this);return B.words=this.words.slice(0),B},random:function(B){for(var R=[],U=0;U<B;U+=4)R.push(n());return new h.init(R,B)}}),y=u.enc={},C=y.Hex={stringify:function(B){for(var R=B.words,U=B.sigBytes,N=[],_=0;_<U;_++){var L=R[_>>>2]>>>24-_%4*8&255;N.push((L>>>4).toString(16)),N.push((L&15).toString(16))}return N.join("")},parse:function(B){for(var R=B.length,U=[],N=0;N<R;N+=2)U[N>>>3]|=parseInt(B.substr(N,2),16)<<24-N%8*4;return new h.init(U,R/2)}},w=y.Latin1={stringify:function(B){for(var R=B.words,U=B.sigBytes,N=[],_=0;_<U;_++){var L=R[_>>>2]>>>24-_%4*8&255;N.push(String.fromCharCode(L))}return N.join("")},parse:function(B){for(var R=B.length,U=[],N=0;N<R;N++)U[N>>>2]|=(B.charCodeAt(N)&255)<<24-N%4*8;return new h.init(U,R)}},T=y.Utf8={stringify:function(B){try{return decodeURIComponent(escape(w.stringify(B)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(B){return w.parse(unescape(encodeURIComponent(B)))}},A=c.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(B){typeof B=="string"&&(B=T.parse(B)),this._data.concat(B),this._nDataBytes+=B.sigBytes},_process:function(B){var R,U=this._data,N=U.words,_=U.sigBytes,L=this.blockSize,H=L*4,F=_/H;B?F=o.ceil(F):F=o.max((F|0)-this._minBufferSize,0);var G=F*L,l=o.min(G*4,_);if(G){for(var p=0;p<G;p+=L)this._doProcessBlock(N,p);R=N.splice(0,G),U.sigBytes-=l}return new h.init(R,l)},clone:function(){var B=d.clone.call(this);return B._data=this._data.clone(),B},_minBufferSize:0}),O=c.Hasher=A.extend({cfg:d.extend(),init:function(B){this.cfg=this.cfg.extend(B),this.reset()},reset:function(){A.reset.call(this),this._doReset()},update:function(B){return this._append(B),this._process(),this},finalize:function(B){B&&this._append(B);var R=this._doFinalize();return R},blockSize:512/32,_createHelper:function(B){return function(R,U){return new B.init(U).finalize(R)}},_createHmacHelper:function(B){return function(R,U){return new v.HMAC.init(B,U).finalize(R)}}}),v=u.algo={};return u})(Math);return r})}),aO=W((e,t)=>{m(),(function(r,o){typeof e=="object"?t.exports=e=o(ti()):typeof define=="function"&&define.amd?define(["./core"],o):o(r.CryptoJS)})(e,function(r){return(function(o){var s=r,i=s.lib,n=i.Base,a=i.WordArray,u=s.x64={},c=u.Word=n.extend({init:function(h,y){this.high=h,this.low=y}}),d=u.WordArray=n.extend({init:function(h,y){h=this.words=h||[],y!=o?this.sigBytes=y:this.sigBytes=h.length*8},toX32:function(){for(var h=this.words,y=h.length,C=[],w=0;w<y;w++){var T=h[w];C.push(T.high),C.push(T.low)}return a.create(C,this.sigBytes)},clone:function(){for(var h=n.clone.call(this),y=h.words=this.words.slice(0),C=y.length,w=0;w<C;w++)y[w]=y[w].clone();return h}})})(),r})}),w5e=W((e,t)=>{m(),(function(r,o){typeof e=="object"?t.exports=e=o(ti()):typeof define=="function"&&define.amd?define(["./core"],o):o(r.CryptoJS)})(e,function(r){return(function(){if(typeof ArrayBuffer=="function"){var o=r,s=o.lib,i=s.WordArray,n=i.init,a=i.init=function(u){if(u instanceof ArrayBuffer&&(u=new Uint8Array(u)),(u instanceof Int8Array||typeof Uint8ClampedArray<"u"&&u instanceof Uint8ClampedArray||u instanceof Int16Array||u instanceof Uint16Array||u instanceof Int32Array||u instanceof Uint32Array||u instanceof Float32Array||u instanceof Float64Array)&&(u=new Uint8Array(u.buffer,u.byteOffset,u.byteLength)),u instanceof Uint8Array){for(var c=u.byteLength,d=[],h=0;h<c;h++)d[h>>>2]|=u[h]<<24-h%4*8;n.call(this,d,c)}else n.apply(this,arguments)};a.prototype=i}})(),r.lib.WordArray})}),A5e=W((e,t)=>{m(),(function(r,o){typeof e=="object"?t.exports=e=o(ti()):typeof define=="function"&&define.amd?define(["./core"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.lib,i=s.WordArray,n=o.enc,a=n.Utf16=n.Utf16BE={stringify:function(c){for(var d=c.words,h=c.sigBytes,y=[],C=0;C<h;C+=2){var w=d[C>>>2]>>>16-C%4*8&65535;y.push(String.fromCharCode(w))}return y.join("")},parse:function(c){for(var d=c.length,h=[],y=0;y<d;y++)h[y>>>1]|=c.charCodeAt(y)<<16-y%2*16;return i.create(h,d*2)}};n.Utf16LE={stringify:function(c){for(var d=c.words,h=c.sigBytes,y=[],C=0;C<h;C+=2){var w=u(d[C>>>2]>>>16-C%4*8&65535);y.push(String.fromCharCode(w))}return y.join("")},parse:function(c){for(var d=c.length,h=[],y=0;y<d;y++)h[y>>>1]|=u(c.charCodeAt(y)<<16-y%2*16);return i.create(h,d*2)}};function u(c){return c<<8&4278255360|c>>>8&16711935}})(),r.enc.Utf16})}),xv=W((e,t)=>{m(),(function(r,o){typeof e=="object"?t.exports=e=o(ti()):typeof define=="function"&&define.amd?define(["./core"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.lib,i=s.WordArray,n=o.enc,a=n.Base64={stringify:function(c){var d=c.words,h=c.sigBytes,y=this._map;c.clamp();for(var C=[],w=0;w<h;w+=3)for(var T=d[w>>>2]>>>24-w%4*8&255,A=d[w+1>>>2]>>>24-(w+1)%4*8&255,O=d[w+2>>>2]>>>24-(w+2)%4*8&255,v=T<<16|A<<8|O,B=0;B<4&&w+B*.75<h;B++)C.push(y.charAt(v>>>6*(3-B)&63));var R=y.charAt(64);if(R)for(;C.length%4;)C.push(R);return C.join("")},parse:function(c){var d=c.length,h=this._map,y=this._reverseMap;if(!y){y=this._reverseMap=[];for(var C=0;C<h.length;C++)y[h.charCodeAt(C)]=C}var w=h.charAt(64);if(w){var T=c.indexOf(w);T!==-1&&(d=T)}return u(c,d,y)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function u(c,d,h){for(var y=[],C=0,w=0;w<d;w++)if(w%4){var T=h[c.charCodeAt(w-1)]<<w%4*2,A=h[c.charCodeAt(w)]>>>6-w%4*2,O=T|A;y[C>>>2]|=O<<24-C%4*8,C++}return i.create(y,C)}})(),r.enc.Base64})}),S5e=W((e,t)=>{m(),(function(r,o){typeof e=="object"?t.exports=e=o(ti()):typeof define=="function"&&define.amd?define(["./core"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.lib,i=s.WordArray,n=o.enc,a=n.Base64url={stringify:function(c,d){d===void 0&&(d=!0);var h=c.words,y=c.sigBytes,C=d?this._safe_map:this._map;c.clamp();for(var w=[],T=0;T<y;T+=3)for(var A=h[T>>>2]>>>24-T%4*8&255,O=h[T+1>>>2]>>>24-(T+1)%4*8&255,v=h[T+2>>>2]>>>24-(T+2)%4*8&255,B=A<<16|O<<8|v,R=0;R<4&&T+R*.75<y;R++)w.push(C.charAt(B>>>6*(3-R)&63));var U=C.charAt(64);if(U)for(;w.length%4;)w.push(U);return w.join("")},parse:function(c,d){d===void 0&&(d=!0);var h=c.length,y=d?this._safe_map:this._map,C=this._reverseMap;if(!C){C=this._reverseMap=[];for(var w=0;w<y.length;w++)C[y.charCodeAt(w)]=w}var T=y.charAt(64);if(T){var A=c.indexOf(T);A!==-1&&(h=A)}return u(c,h,C)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function u(c,d,h){for(var y=[],C=0,w=0;w<d;w++)if(w%4){var T=h[c.charCodeAt(w-1)]<<w%4*2,A=h[c.charCodeAt(w)]>>>6-w%4*2,O=T|A;y[C>>>2]|=O<<24-C%4*8,C++}return i.create(y,C)}})(),r.enc.Base64url})}),Av=W((e,t)=>{m(),(function(r,o){typeof e=="object"?t.exports=e=o(ti()):typeof define=="function"&&define.amd?define(["./core"],o):o(r.CryptoJS)})(e,function(r){return(function(o){var s=r,i=s.lib,n=i.WordArray,a=i.Hasher,u=s.algo,c=[];(function(){for(var T=0;T<64;T++)c[T]=o.abs(o.sin(T+1))*4294967296|0})();var d=u.MD5=a.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(T,A){for(var O=0;O<16;O++){var v=A+O,B=T[v];T[v]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360}var R=this._hash.words,U=T[A+0],N=T[A+1],_=T[A+2],L=T[A+3],H=T[A+4],F=T[A+5],G=T[A+6],l=T[A+7],p=T[A+8],E=T[A+9],g=T[A+10],b=T[A+11],k=T[A+12],x=T[A+13],S=T[A+14],f=T[A+15],M=R[0],V=R[1],D=R[2],j=R[3];M=h(M,V,D,j,U,7,c[0]),j=h(j,M,V,D,N,12,c[1]),D=h(D,j,M,V,_,17,c[2]),V=h(V,D,j,M,L,22,c[3]),M=h(M,V,D,j,H,7,c[4]),j=h(j,M,V,D,F,12,c[5]),D=h(D,j,M,V,G,17,c[6]),V=h(V,D,j,M,l,22,c[7]),M=h(M,V,D,j,p,7,c[8]),j=h(j,M,V,D,E,12,c[9]),D=h(D,j,M,V,g,17,c[10]),V=h(V,D,j,M,b,22,c[11]),M=h(M,V,D,j,k,7,c[12]),j=h(j,M,V,D,x,12,c[13]),D=h(D,j,M,V,S,17,c[14]),V=h(V,D,j,M,f,22,c[15]),M=y(M,V,D,j,N,5,c[16]),j=y(j,M,V,D,G,9,c[17]),D=y(D,j,M,V,b,14,c[18]),V=y(V,D,j,M,U,20,c[19]),M=y(M,V,D,j,F,5,c[20]),j=y(j,M,V,D,g,9,c[21]),D=y(D,j,M,V,f,14,c[22]),V=y(V,D,j,M,H,20,c[23]),M=y(M,V,D,j,E,5,c[24]),j=y(j,M,V,D,S,9,c[25]),D=y(D,j,M,V,L,14,c[26]),V=y(V,D,j,M,p,20,c[27]),M=y(M,V,D,j,x,5,c[28]),j=y(j,M,V,D,_,9,c[29]),D=y(D,j,M,V,l,14,c[30]),V=y(V,D,j,M,k,20,c[31]),M=C(M,V,D,j,F,4,c[32]),j=C(j,M,V,D,p,11,c[33]),D=C(D,j,M,V,b,16,c[34]),V=C(V,D,j,M,S,23,c[35]),M=C(M,V,D,j,N,4,c[36]),j=C(j,M,V,D,H,11,c[37]),D=C(D,j,M,V,l,16,c[38]),V=C(V,D,j,M,g,23,c[39]),M=C(M,V,D,j,x,4,c[40]),j=C(j,M,V,D,U,11,c[41]),D=C(D,j,M,V,L,16,c[42]),V=C(V,D,j,M,G,23,c[43]),M=C(M,V,D,j,E,4,c[44]),j=C(j,M,V,D,k,11,c[45]),D=C(D,j,M,V,f,16,c[46]),V=C(V,D,j,M,_,23,c[47]),M=w(M,V,D,j,U,6,c[48]),j=w(j,M,V,D,l,10,c[49]),D=w(D,j,M,V,S,15,c[50]),V=w(V,D,j,M,F,21,c[51]),M=w(M,V,D,j,k,6,c[52]),j=w(j,M,V,D,L,10,c[53]),D=w(D,j,M,V,g,15,c[54]),V=w(V,D,j,M,N,21,c[55]),M=w(M,V,D,j,p,6,c[56]),j=w(j,M,V,D,f,10,c[57]),D=w(D,j,M,V,G,15,c[58]),V=w(V,D,j,M,x,21,c[59]),M=w(M,V,D,j,H,6,c[60]),j=w(j,M,V,D,b,10,c[61]),D=w(D,j,M,V,_,15,c[62]),V=w(V,D,j,M,E,21,c[63]),R[0]=R[0]+M|0,R[1]=R[1]+V|0,R[2]=R[2]+D|0,R[3]=R[3]+j|0},_doFinalize:function(){var T=this._data,A=T.words,O=this._nDataBytes*8,v=T.sigBytes*8;A[v>>>5]|=128<<24-v%32;var B=o.floor(O/4294967296),R=O;A[(v+64>>>9<<4)+15]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,A[(v+64>>>9<<4)+14]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,T.sigBytes=(A.length+1)*4,this._process();for(var U=this._hash,N=U.words,_=0;_<4;_++){var L=N[_];N[_]=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360}return U},clone:function(){var T=a.clone.call(this);return T._hash=this._hash.clone(),T}});function h(T,A,O,v,B,R,U){var N=T+(A&O|~A&v)+B+U;return(N<<R|N>>>32-R)+A}function y(T,A,O,v,B,R,U){var N=T+(A&v|O&~v)+B+U;return(N<<R|N>>>32-R)+A}function C(T,A,O,v,B,R,U){var N=T+(A^O^v)+B+U;return(N<<R|N>>>32-R)+A}function w(T,A,O,v,B,R,U){var N=T+(O^(A|~v))+B+U;return(N<<R|N>>>32-R)+A}s.MD5=a._createHelper(d),s.HmacMD5=a._createHmacHelper(d)})(Math),r.MD5})}),q$=W((e,t)=>{m(),(function(r,o){typeof e=="object"?t.exports=e=o(ti()):typeof define=="function"&&define.amd?define(["./core"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.lib,i=s.WordArray,n=s.Hasher,a=o.algo,u=[],c=a.SHA1=n.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(d,h){for(var y=this._hash.words,C=y[0],w=y[1],T=y[2],A=y[3],O=y[4],v=0;v<80;v++){if(v<16)u[v]=d[h+v]|0;else{var B=u[v-3]^u[v-8]^u[v-14]^u[v-16];u[v]=B<<1|B>>>31}var R=(C<<5|C>>>27)+O+u[v];v<20?R+=(w&T|~w&A)+1518500249:v<40?R+=(w^T^A)+1859775393:v<60?R+=(w&T|w&A|T&A)-1894007588:R+=(w^T^A)-899497514,O=A,A=T,T=w<<30|w>>>2,w=C,C=R}y[0]=y[0]+C|0,y[1]=y[1]+w|0,y[2]=y[2]+T|0,y[3]=y[3]+A|0,y[4]=y[4]+O|0},_doFinalize:function(){var d=this._data,h=d.words,y=this._nDataBytes*8,C=d.sigBytes*8;return h[C>>>5]|=128<<24-C%32,h[(C+64>>>9<<4)+14]=Math.floor(y/4294967296),h[(C+64>>>9<<4)+15]=y,d.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var d=n.clone.call(this);return d._hash=this._hash.clone(),d}});o.SHA1=n._createHelper(c),o.HmacSHA1=n._createHmacHelper(c)})(),r.SHA1})}),l9=W((e,t)=>{m(),(function(r,o){typeof e=="object"?t.exports=e=o(ti()):typeof define=="function"&&define.amd?define(["./core"],o):o(r.CryptoJS)})(e,function(r){return(function(o){var s=r,i=s.lib,n=i.WordArray,a=i.Hasher,u=s.algo,c=[],d=[];(function(){function C(O){for(var v=o.sqrt(O),B=2;B<=v;B++)if(!(O%B))return!1;return!0}function w(O){return(O-(O|0))*4294967296|0}for(var T=2,A=0;A<64;)C(T)&&(A<8&&(c[A]=w(o.pow(T,1/2))),d[A]=w(o.pow(T,1/3)),A++),T++})();var h=[],y=u.SHA256=a.extend({_doReset:function(){this._hash=new n.init(c.slice(0))},_doProcessBlock:function(C,w){for(var T=this._hash.words,A=T[0],O=T[1],v=T[2],B=T[3],R=T[4],U=T[5],N=T[6],_=T[7],L=0;L<64;L++){if(L<16)h[L]=C[w+L]|0;else{var H=h[L-15],F=(H<<25|H>>>7)^(H<<14|H>>>18)^H>>>3,G=h[L-2],l=(G<<15|G>>>17)^(G<<13|G>>>19)^G>>>10;h[L]=F+h[L-7]+l+h[L-16]}var p=R&U^~R&N,E=A&O^A&v^O&v,g=(A<<30|A>>>2)^(A<<19|A>>>13)^(A<<10|A>>>22),b=(R<<26|R>>>6)^(R<<21|R>>>11)^(R<<7|R>>>25),k=_+b+p+d[L]+h[L],x=g+E;_=N,N=U,U=R,R=B+k|0,B=v,v=O,O=A,A=k+x|0}T[0]=T[0]+A|0,T[1]=T[1]+O|0,T[2]=T[2]+v|0,T[3]=T[3]+B|0,T[4]=T[4]+R|0,T[5]=T[5]+U|0,T[6]=T[6]+N|0,T[7]=T[7]+_|0},_doFinalize:function(){var C=this._data,w=C.words,T=this._nDataBytes*8,A=C.sigBytes*8;return w[A>>>5]|=128<<24-A%32,w[(A+64>>>9<<4)+14]=o.floor(T/4294967296),w[(A+64>>>9<<4)+15]=T,C.sigBytes=w.length*4,this._process(),this._hash},clone:function(){var C=a.clone.call(this);return C._hash=this._hash.clone(),C}});s.SHA256=a._createHelper(y),s.HmacSHA256=a._createHmacHelper(y)})(Math),r.SHA256})}),B5e=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),l9()):typeof define=="function"&&define.amd?define(["./core","./sha256"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.lib,i=s.WordArray,n=o.algo,a=n.SHA256,u=n.SHA224=a.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=a._doFinalize.call(this);return c.sigBytes-=4,c}});o.SHA224=a._createHelper(u),o.HmacSHA224=a._createHmacHelper(u)})(),r.SHA224})}),j$=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),aO()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.lib,i=s.Hasher,n=o.x64,a=n.Word,u=n.WordArray,c=o.algo;function d(){return a.create.apply(a,arguments)}var h=[d(1116352408,3609767458),d(1899447441,602891725),d(3049323471,3964484399),d(3921009573,2173295548),d(961987163,4081628472),d(1508970993,3053834265),d(2453635748,2937671579),d(2870763221,3664609560),d(3624381080,2734883394),d(310598401,1164996542),d(607225278,1323610764),d(1426881987,3590304994),d(1925078388,4068182383),d(2162078206,991336113),d(2614888103,633803317),d(3248222580,3479774868),d(3835390401,2666613458),d(4022224774,944711139),d(264347078,2341262773),d(604807628,2007800933),d(770255983,1495990901),d(1249150122,1856431235),d(1555081692,3175218132),d(1996064986,2198950837),d(2554220882,3999719339),d(2821834349,766784016),d(2952996808,2566594879),d(3210313671,3203337956),d(3336571891,1034457026),d(3584528711,2466948901),d(113926993,3758326383),d(338241895,168717936),d(666307205,1188179964),d(773529912,1546045734),d(1294757372,1522805485),d(1396182291,2643833823),d(1695183700,2343527390),d(1986661051,1014477480),d(2177026350,1206759142),d(2456956037,344077627),d(2730485921,1290863460),d(2820302411,3158454273),d(3259730800,3505952657),d(3345764771,106217008),d(3516065817,3606008344),d(3600352804,1432725776),d(4094571909,1467031594),d(275423344,851169720),d(430227734,3100823752),d(506948616,1363258195),d(659060556,3750685593),d(883997877,3785050280),d(958139571,3318307427),d(1322822218,3812723403),d(1537002063,2003034995),d(1747873779,3602036899),d(1955562222,1575990012),d(2024104815,1125592928),d(2227730452,2716904306),d(2361852424,442776044),d(2428436474,593698344),d(2756734187,3733110249),d(3204031479,2999351573),d(3329325298,3815920427),d(3391569614,3928383900),d(3515267271,566280711),d(3940187606,3454069534),d(4118630271,4000239992),d(116418474,1914138554),d(174292421,2731055270),d(289380356,3203993006),d(460393269,320620315),d(685471733,587496836),d(852142971,1086792851),d(1017036298,365543100),d(1126000580,2618297676),d(1288033470,3409855158),d(1501505948,4234509866),d(1607167915,987167468),d(1816402316,1246189591)],y=[];(function(){for(var w=0;w<80;w++)y[w]=d()})();var C=c.SHA512=i.extend({_doReset:function(){this._hash=new u.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(w,T){for(var A=this._hash.words,O=A[0],v=A[1],B=A[2],R=A[3],U=A[4],N=A[5],_=A[6],L=A[7],H=O.high,F=O.low,G=v.high,l=v.low,p=B.high,E=B.low,g=R.high,b=R.low,k=U.high,x=U.low,S=N.high,f=N.low,M=_.high,V=_.low,D=L.high,j=L.low,Y=H,oe=F,de=G,ue=l,ae=p,q=E,ne=g,me=b,ve=k,ge=x,ce=S,ee=f,fe=M,ie=V,re=D,Oe=j,Pe=0;Pe<80;Pe++){var Ne,Xe,Je=y[Pe];if(Pe<16)Xe=Je.high=w[T+Pe*2]|0,Ne=Je.low=w[T+Pe*2+1]|0;else{var ft=y[Pe-15],Kt=ft.high,wt=ft.low,Ie=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+(oe>>>0<Wt>>>0?1:0)|0}F=O.low=F+oe,O.high=H+Y+(F>>>0<oe>>>0?1:0),l=v.low=l+ue,v.high=G+de+(l>>>0<ue>>>0?1:0),E=B.low=E+q,B.high=p+ae+(E>>>0<q>>>0?1:0),b=R.low=b+me,R.high=g+ne+(b>>>0<me>>>0?1:0),x=U.low=x+ge,U.high=k+ve+(x>>>0<ge>>>0?1:0),f=N.low=f+ee,N.high=S+ce+(f>>>0<ee>>>0?1:0),V=_.low=V+ie,_.high=M+fe+(V>>>0<ie>>>0?1:0),j=L.low=j+Oe,L.high=D+re+(j>>>0<Oe>>>0?1:0)},_doFinalize:function(){var w=this._data,T=w.words,A=this._nDataBytes*8,O=w.sigBytes*8;T[O>>>5]|=128<<24-O%32,T[(O+128>>>10<<5)+30]=Math.floor(A/4294967296),T[(O+128>>>10<<5)+31]=A,w.sigBytes=T.length*4,this._process();var v=this._hash.toX32();return v},clone:function(){var w=i.clone.call(this);return w._hash=this._hash.clone(),w},blockSize:1024/32});o.SHA512=i._createHelper(C),o.HmacSHA512=i._createHmacHelper(C)})(),r.SHA512})}),_5e=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),aO(),j$()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.x64,i=s.Word,n=s.WordArray,a=o.algo,u=a.SHA512,c=a.SHA384=u.extend({_doReset:function(){this._hash=new n.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var d=u._doFinalize.call(this);return d.sigBytes-=16,d}});o.SHA384=u._createHelper(c),o.HmacSHA384=u._createHmacHelper(c)})(),r.SHA384})}),N5e=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),aO()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],o):o(r.CryptoJS)})(e,function(r){return(function(o){var s=r,i=s.lib,n=i.WordArray,a=i.Hasher,u=s.x64,c=u.Word,d=s.algo,h=[],y=[],C=[];(function(){for(var A=1,O=0,v=0;v<24;v++){h[A+5*O]=(v+1)*(v+2)/2%64;var B=O%5,R=(2*A+3*O)%5;A=B,O=R}for(var A=0;A<5;A++)for(var O=0;O<5;O++)y[A+5*O]=O+(2*A+3*O)%5*5;for(var U=1,N=0;N<24;N++){for(var _=0,L=0,H=0;H<7;H++){if(U&1){var F=(1<<H)-1;F<32?L^=1<<F:_^=1<<F-32}U&128?U=U<<1^113:U<<=1}C[N]=c.create(_,L)}})();var w=[];(function(){for(var A=0;A<25;A++)w[A]=c.create()})();var T=d.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var A=this._state=[],O=0;O<25;O++)A[O]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(A,O){for(var v=this._state,B=this.blockSize/2,R=0;R<B;R++){var U=A[O+2*R],N=A[O+2*R+1];U=(U<<8|U>>>24)&16711935|(U<<24|U>>>8)&4278255360,N=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360;var _=v[R];_.high^=N,_.low^=U}for(var L=0;L<24;L++){for(var H=0;H<5;H++){for(var F=0,G=0,l=0;l<5;l++){var _=v[H+5*l];F^=_.high,G^=_.low}var p=w[H];p.high=F,p.low=G}for(var H=0;H<5;H++)for(var E=w[(H+4)%5],g=w[(H+1)%5],b=g.high,k=g.low,F=E.high^(b<<1|k>>>31),G=E.low^(k<<1|b>>>31),l=0;l<5;l++){var _=v[H+5*l];_.high^=F,_.low^=G}for(var x=1;x<25;x++){var F,G,_=v[x],S=_.high,f=_.low,M=h[x];M<32?(F=S<<M|f>>>32-M,G=f<<M|S>>>32-M):(F=f<<M-32|S>>>64-M,G=S<<M-32|f>>>64-M);var V=w[y[x]];V.high=F,V.low=G}var D=w[0],j=v[0];D.high=j.high,D.low=j.low;for(var H=0;H<5;H++)for(var l=0;l<5;l++){var x=H+5*l,_=v[x],Y=w[x],oe=w[(H+1)%5+5*l],de=w[(H+2)%5+5*l];_.high=Y.high^~oe.high&de.high,_.low=Y.low^~oe.low&de.low}var _=v[0],ue=C[L];_.high^=ue.high,_.low^=ue.low}},_doFinalize:function(){var A=this._data,O=A.words,v=this._nDataBytes*8,B=A.sigBytes*8,R=this.blockSize*32;O[B>>>5]|=1<<24-B%32,O[(o.ceil((B+1)/R)*R>>>5)-1]|=128,A.sigBytes=O.length*4,this._process();for(var U=this._state,N=this.cfg.outputLength/8,_=N/8,L=[],H=0;H<_;H++){var F=U[H],G=F.high,l=F.low;G=(G<<8|G>>>24)&16711935|(G<<24|G>>>8)&4278255360,l=(l<<8|l>>>24)&16711935|(l<<24|l>>>8)&4278255360,L.push(l),L.push(G)}return new n.init(L,N)},clone:function(){for(var A=a.clone.call(this),O=A._state=this._state.slice(0),v=0;v<25;v++)O[v]=O[v].clone();return A}});s.SHA3=a._createHelper(T),s.HmacSHA3=a._createHmacHelper(T)})(Math),r.SHA3})}),U5e=W((e,t)=>{m(),(function(r,o){typeof e=="object"?t.exports=e=o(ti()):typeof define=="function"&&define.amd?define(["./core"],o):o(r.CryptoJS)})(e,function(r){return(function(o){var s=r,i=s.lib,n=i.WordArray,a=i.Hasher,u=s.algo,c=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]),d=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]),h=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]),y=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]),C=n.create([0,1518500249,1859775393,2400959708,2840853838]),w=n.create([1352829926,1548603684,1836072691,2053994217,0]),T=u.RIPEMD160=a.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(N,_){for(var L=0;L<16;L++){var H=_+L,F=N[H];N[H]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360}var G=this._hash.words,l=C.words,p=w.words,E=c.words,g=d.words,b=h.words,k=y.words,x,S,f,M,V,D,j,Y,oe,de;D=x=G[0],j=S=G[1],Y=f=G[2],oe=M=G[3],de=V=G[4];for(var ue,L=0;L<80;L+=1)ue=x+N[_+E[L]]|0,L<16?ue+=A(S,f,M)+l[0]:L<32?ue+=O(S,f,M)+l[1]:L<48?ue+=v(S,f,M)+l[2]:L<64?ue+=B(S,f,M)+l[3]:ue+=R(S,f,M)+l[4],ue=ue|0,ue=U(ue,b[L]),ue=ue+V|0,x=V,V=M,M=U(f,10),f=S,S=ue,ue=D+N[_+g[L]]|0,L<16?ue+=R(j,Y,oe)+p[0]:L<32?ue+=B(j,Y,oe)+p[1]:L<48?ue+=v(j,Y,oe)+p[2]:L<64?ue+=O(j,Y,oe)+p[3]:ue+=A(j,Y,oe)+p[4],ue=ue|0,ue=U(ue,k[L]),ue=ue+de|0,D=de,de=oe,oe=U(Y,10),Y=j,j=ue;ue=G[1]+f+oe|0,G[1]=G[2]+M+de|0,G[2]=G[3]+V+D|0,G[3]=G[4]+x+j|0,G[4]=G[0]+S+Y|0,G[0]=ue},_doFinalize:function(){var N=this._data,_=N.words,L=this._nDataBytes*8,H=N.sigBytes*8;_[H>>>5]|=128<<24-H%32,_[(H+64>>>9<<4)+14]=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,N.sigBytes=(_.length+1)*4,this._process();for(var F=this._hash,G=F.words,l=0;l<5;l++){var p=G[l];G[l]=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360}return F},clone:function(){var N=a.clone.call(this);return N._hash=this._hash.clone(),N}});function A(N,_,L){return N^_^L}function O(N,_,L){return N&_|~N&L}function v(N,_,L){return(N|~_)^L}function B(N,_,L){return N&L|_&~L}function R(N,_,L){return N^(_|~L)}function U(N,_){return N<<_|N>>>32-_}s.RIPEMD160=a._createHelper(T),s.HmacRIPEMD160=a._createHmacHelper(T)})(Math),r.RIPEMD160})}),m9=W((e,t)=>{m(),(function(r,o){typeof e=="object"?t.exports=e=o(ti()):typeof define=="function"&&define.amd?define(["./core"],o):o(r.CryptoJS)})(e,function(r){(function(){var o=r,s=o.lib,i=s.Base,n=o.enc,a=n.Utf8,u=o.algo,c=u.HMAC=i.extend({init:function(d,h){d=this._hasher=new d.init,typeof h=="string"&&(h=a.parse(h));var y=d.blockSize,C=y*4;h.sigBytes>C&&(h=d.finalize(h)),h.clamp();for(var w=this._oKey=h.clone(),T=this._iKey=h.clone(),A=w.words,O=T.words,v=0;v<y;v++)A[v]^=1549556828,O[v]^=909522486;w.sigBytes=T.sigBytes=C,this.reset()},reset:function(){var d=this._hasher;d.reset(),d.update(this._iKey)},update:function(d){return this._hasher.update(d),this},finalize:function(d){var h=this._hasher,y=h.finalize(d);h.reset();var C=h.finalize(this._oKey.clone().concat(y));return C}})})()})}),W5e=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),l9(),m9()):typeof define=="function"&&define.amd?define(["./core","./sha256","./hmac"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.lib,i=s.Base,n=s.WordArray,a=o.algo,u=a.SHA256,c=a.HMAC,d=a.PBKDF2=i.extend({cfg:i.extend({keySize:128/32,hasher:u,iterations:25e4}),init:function(h){this.cfg=this.cfg.extend(h)},compute:function(h,y){for(var C=this.cfg,w=c.create(C.hasher,h),T=n.create(),A=n.create([1]),O=T.words,v=A.words,B=C.keySize,R=C.iterations;O.length<B;){var U=w.update(y).finalize(A);w.reset();for(var N=U.words,_=N.length,L=U,H=1;H<R;H++){L=w.finalize(L),w.reset();for(var F=L.words,G=0;G<_;G++)N[G]^=F[G]}T.concat(U),v[0]++}return T.sigBytes=B*4,T}});o.PBKDF2=function(h,y,C){return d.create(C).compute(h,y)}})(),r.PBKDF2})}),tm=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),q$(),m9()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.lib,i=s.Base,n=s.WordArray,a=o.algo,u=a.MD5,c=a.EvpKDF=i.extend({cfg:i.extend({keySize:128/32,hasher:u,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,h){for(var y,C=this.cfg,w=C.hasher.create(),T=n.create(),A=T.words,O=C.keySize,v=C.iterations;A.length<O;){y&&w.update(y),y=w.update(d).finalize(h),w.reset();for(var B=1;B<v;B++)y=w.finalize(y),w.reset();T.concat(y)}return T.sigBytes=O*4,T}});o.EvpKDF=function(d,h,y){return c.create(y).compute(d,h)}})(),r.EvpKDF})}),Ea=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),tm()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],o):o(r.CryptoJS)})(e,function(r){r.lib.Cipher||(function(o){var s=r,i=s.lib,n=i.Base,a=i.WordArray,u=i.BufferedBlockAlgorithm,c=s.enc,d=c.Utf8,h=c.Base64,y=s.algo,C=y.EvpKDF,w=i.Cipher=u.extend({cfg:n.extend(),createEncryptor:function(p,E){return this.create(this._ENC_XFORM_MODE,p,E)},createDecryptor:function(p,E){return this.create(this._DEC_XFORM_MODE,p,E)},init:function(p,E,g){this.cfg=this.cfg.extend(g),this._xformMode=p,this._key=E,this.reset()},reset:function(){u.reset.call(this),this._doReset()},process:function(p){return this._append(p),this._process()},finalize:function(p){p&&this._append(p);var E=this._doFinalize();return E},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function p(E){return typeof E=="string"?l:H}return function(E){return{encrypt:function(g,b,k){return p(b).encrypt(E,g,b,k)},decrypt:function(g,b,k){return p(b).decrypt(E,g,b,k)}}}})()}),T=i.StreamCipher=w.extend({_doFinalize:function(){var p=this._process(!0);return p},blockSize:1}),A=s.mode={},O=i.BlockCipherMode=n.extend({createEncryptor:function(p,E){return this.Encryptor.create(p,E)},createDecryptor:function(p,E){return this.Decryptor.create(p,E)},init:function(p,E){this._cipher=p,this._iv=E}}),v=A.CBC=(function(){var p=O.extend();p.Encryptor=p.extend({processBlock:function(g,b){var k=this._cipher,x=k.blockSize;E.call(this,g,b,x),k.encryptBlock(g,b),this._prevBlock=g.slice(b,b+x)}}),p.Decryptor=p.extend({processBlock:function(g,b){var k=this._cipher,x=k.blockSize,S=g.slice(b,b+x);k.decryptBlock(g,b),E.call(this,g,b,x),this._prevBlock=S}});function E(g,b,k){var x,S=this._iv;S?(x=S,this._iv=o):x=this._prevBlock;for(var f=0;f<k;f++)g[b+f]^=x[f]}return p})(),B=s.pad={},R=B.Pkcs7={pad:function(p,E){for(var g=E*4,b=g-p.sigBytes%g,k=b<<24|b<<16|b<<8|b,x=[],S=0;S<b;S+=4)x.push(k);var f=a.create(x,b);p.concat(f)},unpad:function(p){var E=p.words[p.sigBytes-1>>>2]&255;p.sigBytes-=E}},U=i.BlockCipher=w.extend({cfg:w.cfg.extend({mode:v,padding:R}),reset:function(){var p;w.reset.call(this);var E=this.cfg,g=E.iv,b=E.mode;this._xformMode==this._ENC_XFORM_MODE?p=b.createEncryptor:(p=b.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==p?this._mode.init(this,g&&g.words):(this._mode=p.call(b,this,g&&g.words),this._mode.__creator=p)},_doProcessBlock:function(p,E){this._mode.processBlock(p,E)},_doFinalize:function(){var p,E=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(E.pad(this._data,this.blockSize),p=this._process(!0)):(p=this._process(!0),E.unpad(p)),p},blockSize:128/32}),N=i.CipherParams=n.extend({init:function(p){this.mixIn(p)},toString:function(p){return(p||this.formatter).stringify(this)}}),_=s.format={},L=_.OpenSSL={stringify:function(p){var E,g=p.ciphertext,b=p.salt;return b?E=a.create([1398893684,1701076831]).concat(b).concat(g):E=g,E.toString(h)},parse:function(p){var E,g=h.parse(p),b=g.words;return b[0]==1398893684&&b[1]==1701076831&&(E=a.create(b.slice(2,4)),b.splice(0,4),g.sigBytes-=16),N.create({ciphertext:g,salt:E})}},H=i.SerializableCipher=n.extend({cfg:n.extend({format:L}),encrypt:function(p,E,g,b){b=this.cfg.extend(b);var k=p.createEncryptor(g,b),x=k.finalize(E),S=k.cfg;return N.create({ciphertext:x,key:g,iv:S.iv,algorithm:p,mode:S.mode,padding:S.padding,blockSize:p.blockSize,formatter:b.format})},decrypt:function(p,E,g,b){b=this.cfg.extend(b),E=this._parse(E,b.format);var k=p.createDecryptor(g,b).finalize(E.ciphertext);return k},_parse:function(p,E){return typeof p=="string"?E.parse(p,this):p}}),F=s.kdf={},G=F.OpenSSL={execute:function(p,E,g,b,k){if(b||(b=a.random(64/8)),k)var x=C.create({keySize:E+g,hasher:k}).compute(p,b);else var x=C.create({keySize:E+g}).compute(p,b);var S=a.create(x.words.slice(E),g*4);return x.sigBytes=E*4,N.create({key:x,iv:S,salt:b})}},l=i.PasswordBasedCipher=H.extend({cfg:H.cfg.extend({kdf:G}),encrypt:function(p,E,g,b){b=this.cfg.extend(b);var k=b.kdf.execute(g,p.keySize,p.ivSize,b.salt,b.hasher);b.iv=k.iv;var x=H.encrypt.call(this,p,E,k.key,b);return x.mixIn(k),x},decrypt:function(p,E,g,b){b=this.cfg.extend(b),E=this._parse(E,b.format);var k=b.kdf.execute(g,p.keySize,p.ivSize,E.salt,b.hasher);b.iv=k.iv;var x=H.decrypt.call(this,p,E,k.key,b);return x}})})()})}),q5e=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),Ea()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return r.mode.CFB=(function(){var o=r.lib.BlockCipherMode.extend();o.Encryptor=o.extend({processBlock:function(i,n){var a=this._cipher,u=a.blockSize;s.call(this,i,n,u,a),this._prevBlock=i.slice(n,n+u)}}),o.Decryptor=o.extend({processBlock:function(i,n){var a=this._cipher,u=a.blockSize,c=i.slice(n,n+u);s.call(this,i,n,u,a),this._prevBlock=c}});function s(i,n,a,u){var c,d=this._iv;d?(c=d.slice(0),this._iv=void 0):c=this._prevBlock,u.encryptBlock(c,0);for(var h=0;h<a;h++)i[n+h]^=c[h]}return o})(),r.mode.CFB})}),G5e=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),Ea()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return r.mode.CTR=(function(){var o=r.lib.BlockCipherMode.extend(),s=o.Encryptor=o.extend({processBlock:function(i,n){var a=this._cipher,u=a.blockSize,c=this._iv,d=this._counter;c&&(d=this._counter=c.slice(0),this._iv=void 0);var h=d.slice(0);a.encryptBlock(h,0),d[u-1]=d[u-1]+1|0;for(var y=0;y<u;y++)i[n+y]^=h[y]}});return o.Decryptor=s,o})(),r.mode.CTR})}),J5e=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),Ea()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return r.mode.CTRGladman=(function(){var o=r.lib.BlockCipherMode.extend();function s(a){if((a>>24&255)===255){var u=a>>16&255,c=a>>8&255,d=a&255;u===255?(u=0,c===255?(c=0,d===255?d=0:++d):++c):++u,a=0,a+=u<<16,a+=c<<8,a+=d}else a+=1<<24;return a}function i(a){return(a[0]=s(a[0]))===0&&(a[1]=s(a[1])),a}var n=o.Encryptor=o.extend({processBlock:function(a,u){var c=this._cipher,d=c.blockSize,h=this._iv,y=this._counter;h&&(y=this._counter=h.slice(0),this._iv=void 0),i(y);var C=y.slice(0);c.encryptBlock(C,0);for(var w=0;w<d;w++)a[u+w]^=C[w]}});return o.Decryptor=n,o})(),r.mode.CTRGladman})}),Y5e=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),Ea()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return r.mode.OFB=(function(){var o=r.lib.BlockCipherMode.extend(),s=o.Encryptor=o.extend({processBlock:function(i,n){var a=this._cipher,u=a.blockSize,c=this._iv,d=this._keystream;c&&(d=this._keystream=c.slice(0),this._iv=void 0),a.encryptBlock(d,0);for(var h=0;h<u;h++)i[n+h]^=d[h]}});return o.Decryptor=s,o})(),r.mode.OFB})}),Z5e=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),Ea()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return r.mode.ECB=(function(){var o=r.lib.BlockCipherMode.extend();return o.Encryptor=o.extend({processBlock:function(s,i){this._cipher.encryptBlock(s,i)}}),o.Decryptor=o.extend({processBlock:function(s,i){this._cipher.decryptBlock(s,i)}}),o})(),r.mode.ECB})}),ePe=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),Ea()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return r.pad.AnsiX923={pad:function(o,s){var i=o.sigBytes,n=s*4,a=n-i%n,u=i+a-1;o.clamp(),o.words[u>>>2]|=a<<24-u%4*8,o.sigBytes+=a},unpad:function(o){var s=o.words[o.sigBytes-1>>>2]&255;o.sigBytes-=s}},r.pad.Ansix923})}),rPe=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),Ea()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return r.pad.Iso10126={pad:function(o,s){var i=s*4,n=i-o.sigBytes%i;o.concat(r.lib.WordArray.random(n-1)).concat(r.lib.WordArray.create([n<<24],1))},unpad:function(o){var s=o.words[o.sigBytes-1>>>2]&255;o.sigBytes-=s}},r.pad.Iso10126})}),iPe=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),Ea()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return r.pad.Iso97971={pad:function(o,s){o.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(o,s)},unpad:function(o){r.pad.ZeroPadding.unpad(o),o.sigBytes--}},r.pad.Iso97971})}),sPe=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),Ea()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return r.pad.ZeroPadding={pad:function(o,s){var i=s*4;o.clamp(),o.sigBytes+=i-(o.sigBytes%i||i)},unpad:function(o){for(var s=o.words,i=o.sigBytes-1,i=o.sigBytes-1;i>=0;i--)if(s[i>>>2]>>>24-i%4*8&255){o.sigBytes=i+1;break}}},r.pad.ZeroPadding})}),cPe=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),Ea()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}),lPe=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),Ea()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return(function(o){var s=r,i=s.lib,n=i.CipherParams,a=s.enc,u=a.Hex,c=s.format,d=c.Hex={stringify:function(h){return h.ciphertext.toString(u)},parse:function(h){var y=u.parse(h);return n.create({ciphertext:y})}}})(),r.format.Hex})}),dPe=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),xv(),Av(),tm(),Ea()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.lib,i=s.BlockCipher,n=o.algo,a=[],u=[],c=[],d=[],h=[],y=[],C=[],w=[],T=[],A=[];(function(){for(var B=[],R=0;R<256;R++)R<128?B[R]=R<<1:B[R]=R<<1^283;for(var U=0,N=0,R=0;R<256;R++){var _=N^N<<1^N<<2^N<<3^N<<4;_=_>>>8^_&255^99,a[U]=_,u[_]=U;var L=B[U],H=B[L],F=B[H],G=B[_]*257^_*16843008;c[U]=G<<24|G>>>8,d[U]=G<<16|G>>>16,h[U]=G<<8|G>>>24,y[U]=G;var G=F*16843009^H*65537^L*257^U*16843008;C[_]=G<<24|G>>>8,w[_]=G<<16|G>>>16,T[_]=G<<8|G>>>24,A[_]=G,U?(U=L^B[B[B[F^L]]],N^=B[B[N]]):U=N=1}})();var O=[0,1,2,4,8,16,32,64,128,27,54],v=n.AES=i.extend({_doReset:function(){var B;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var R=this._keyPriorReset=this._key,U=R.words,N=R.sigBytes/4,_=this._nRounds=N+6,L=(_+1)*4,H=this._keySchedule=[],F=0;F<L;F++)F<N?H[F]=U[F]:(B=H[F-1],F%N?N>6&&F%N==4&&(B=a[B>>>24]<<24|a[B>>>16&255]<<16|a[B>>>8&255]<<8|a[B&255]):(B=B<<8|B>>>24,B=a[B>>>24]<<24|a[B>>>16&255]<<16|a[B>>>8&255]<<8|a[B&255],B^=O[F/N|0]<<24),H[F]=H[F-N]^B);for(var G=this._invKeySchedule=[],l=0;l<L;l++){var F=L-l;if(l%4)var B=H[F];else var B=H[F-4];l<4||F<=4?G[l]=B:G[l]=C[a[B>>>24]]^w[a[B>>>16&255]]^T[a[B>>>8&255]]^A[a[B&255]]}}},encryptBlock:function(B,R){this._doCryptBlock(B,R,this._keySchedule,c,d,h,y,a)},decryptBlock:function(B,R){var U=B[R+1];B[R+1]=B[R+3],B[R+3]=U,this._doCryptBlock(B,R,this._invKeySchedule,C,w,T,A,u);var U=B[R+1];B[R+1]=B[R+3],B[R+3]=U},_doCryptBlock:function(B,R,U,N,_,L,H,F){for(var G=this._nRounds,l=B[R]^U[0],p=B[R+1]^U[1],E=B[R+2]^U[2],g=B[R+3]^U[3],b=4,k=1;k<G;k++){var x=N[l>>>24]^_[p>>>16&255]^L[E>>>8&255]^H[g&255]^U[b++],S=N[p>>>24]^_[E>>>16&255]^L[g>>>8&255]^H[l&255]^U[b++],f=N[E>>>24]^_[g>>>16&255]^L[l>>>8&255]^H[p&255]^U[b++],M=N[g>>>24]^_[l>>>16&255]^L[p>>>8&255]^H[E&255]^U[b++];l=x,p=S,E=f,g=M}var x=(F[l>>>24]<<24|F[p>>>16&255]<<16|F[E>>>8&255]<<8|F[g&255])^U[b++],S=(F[p>>>24]<<24|F[E>>>16&255]<<16|F[g>>>8&255]<<8|F[l&255])^U[b++],f=(F[E>>>24]<<24|F[g>>>16&255]<<16|F[l>>>8&255]<<8|F[p&255])^U[b++],M=(F[g>>>24]<<24|F[l>>>16&255]<<16|F[p>>>8&255]<<8|F[E&255])^U[b++];B[R]=x,B[R+1]=S,B[R+2]=f,B[R+3]=M},keySize:256/32});o.AES=i._createHelper(v)})(),r.AES})}),pPe=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),xv(),Av(),tm(),Ea()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.lib,i=s.WordArray,n=s.BlockCipher,a=o.algo,u=[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],c=[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],d=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=[{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}],y=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],C=a.DES=n.extend({_doReset:function(){for(var O=this._key,v=O.words,B=[],R=0;R<56;R++){var U=u[R]-1;B[R]=v[U>>>5]>>>31-U%32&1}for(var N=this._subKeys=[],_=0;_<16;_++){for(var L=N[_]=[],H=d[_],R=0;R<24;R++)L[R/6|0]|=B[(c[R]-1+H)%28]<<31-R%6,L[4+(R/6|0)]|=B[28+(c[R+24]-1+H)%28]<<31-R%6;L[0]=L[0]<<1|L[0]>>>31;for(var R=1;R<7;R++)L[R]=L[R]>>>(R-1)*4+3;L[7]=L[7]<<5|L[7]>>>27}for(var F=this._invSubKeys=[],R=0;R<16;R++)F[R]=N[15-R]},encryptBlock:function(O,v){this._doCryptBlock(O,v,this._subKeys)},decryptBlock:function(O,v){this._doCryptBlock(O,v,this._invSubKeys)},_doCryptBlock:function(O,v,B){this._lBlock=O[v],this._rBlock=O[v+1],w.call(this,4,252645135),w.call(this,16,65535),T.call(this,2,858993459),T.call(this,8,16711935),w.call(this,1,1431655765);for(var R=0;R<16;R++){for(var U=B[R],N=this._lBlock,_=this._rBlock,L=0,H=0;H<8;H++)L|=h[H][((_^U[H])&y[H])>>>0];this._lBlock=_,this._rBlock=N^L}var F=this._lBlock;this._lBlock=this._rBlock,this._rBlock=F,w.call(this,1,1431655765),T.call(this,8,16711935),T.call(this,2,858993459),w.call(this,16,65535),w.call(this,4,252645135),O[v]=this._lBlock,O[v+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function w(O,v){var B=(this._lBlock>>>O^this._rBlock)&v;this._rBlock^=B,this._lBlock^=B<<O}function T(O,v){var B=(this._rBlock>>>O^this._lBlock)&v;this._lBlock^=B,this._rBlock^=B<<O}o.DES=n._createHelper(C);var A=a.TripleDES=n.extend({_doReset:function(){var O=this._key,v=O.words;if(v.length!==2&&v.length!==4&&v.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var B=v.slice(0,2),R=v.length<4?v.slice(0,2):v.slice(2,4),U=v.length<6?v.slice(0,2):v.slice(4,6);this._des1=C.createEncryptor(i.create(B)),this._des2=C.createEncryptor(i.create(R)),this._des3=C.createEncryptor(i.create(U))},encryptBlock:function(O,v){this._des1.encryptBlock(O,v),this._des2.decryptBlock(O,v),this._des3.encryptBlock(O,v)},decryptBlock:function(O,v){this._des3.decryptBlock(O,v),this._des2.encryptBlock(O,v),this._des1.decryptBlock(O,v)},keySize:192/32,ivSize:64/32,blockSize:64/32});o.TripleDES=n._createHelper(A)})(),r.TripleDES})}),yPe=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),xv(),Av(),tm(),Ea()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.lib,i=s.StreamCipher,n=o.algo,a=n.RC4=i.extend({_doReset:function(){for(var d=this._key,h=d.words,y=d.sigBytes,C=this._S=[],w=0;w<256;w++)C[w]=w;for(var w=0,T=0;w<256;w++){var A=w%y,O=h[A>>>2]>>>24-A%4*8&255;T=(T+C[w]+O)%256;var v=C[w];C[w]=C[T],C[T]=v}this._i=this._j=0},_doProcessBlock:function(d,h){d[h]^=u.call(this)},keySize:256/32,ivSize:0});function u(){for(var d=this._S,h=this._i,y=this._j,C=0,w=0;w<4;w++){h=(h+1)%256,y=(y+d[h])%256;var T=d[h];d[h]=d[y],d[y]=T,C|=d[(d[h]+d[y])%256]<<24-w*8}return this._i=h,this._j=y,C}o.RC4=i._createHelper(a);var c=n.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var d=this.cfg.drop;d>0;d--)u.call(this)}});o.RC4Drop=i._createHelper(c)})(),r.RC4})}),bPe=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),xv(),Av(),tm(),Ea()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.lib,i=s.StreamCipher,n=o.algo,a=[],u=[],c=[],d=n.Rabbit=i.extend({_doReset:function(){for(var y=this._key.words,C=this.cfg.iv,w=0;w<4;w++)y[w]=(y[w]<<8|y[w]>>>24)&16711935|(y[w]<<24|y[w]>>>8)&4278255360;var T=this._X=[y[0],y[3]<<16|y[2]>>>16,y[1],y[0]<<16|y[3]>>>16,y[2],y[1]<<16|y[0]>>>16,y[3],y[2]<<16|y[1]>>>16],A=this._C=[y[2]<<16|y[2]>>>16,y[0]&4294901760|y[1]&65535,y[3]<<16|y[3]>>>16,y[1]&4294901760|y[2]&65535,y[0]<<16|y[0]>>>16,y[2]&4294901760|y[3]&65535,y[1]<<16|y[1]>>>16,y[3]&4294901760|y[0]&65535];this._b=0;for(var w=0;w<4;w++)h.call(this);for(var w=0;w<8;w++)A[w]^=T[w+4&7];if(C){var O=C.words,v=O[0],B=O[1],R=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,U=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,N=R>>>16|U&4294901760,_=U<<16|R&65535;A[0]^=R,A[1]^=N,A[2]^=U,A[3]^=_,A[4]^=R,A[5]^=N,A[6]^=U,A[7]^=_;for(var w=0;w<4;w++)h.call(this)}},_doProcessBlock:function(y,C){var w=this._X;h.call(this),a[0]=w[0]^w[5]>>>16^w[3]<<16,a[1]=w[2]^w[7]>>>16^w[5]<<16,a[2]=w[4]^w[1]>>>16^w[7]<<16,a[3]=w[6]^w[3]>>>16^w[1]<<16;for(var T=0;T<4;T++)a[T]=(a[T]<<8|a[T]>>>24)&16711935|(a[T]<<24|a[T]>>>8)&4278255360,y[C+T]^=a[T]},blockSize:128/32,ivSize:64/32});function h(){for(var y=this._X,C=this._C,w=0;w<8;w++)u[w]=C[w];C[0]=C[0]+1295307597+this._b|0,C[1]=C[1]+3545052371+(C[0]>>>0<u[0]>>>0?1:0)|0,C[2]=C[2]+886263092+(C[1]>>>0<u[1]>>>0?1:0)|0,C[3]=C[3]+1295307597+(C[2]>>>0<u[2]>>>0?1:0)|0,C[4]=C[4]+3545052371+(C[3]>>>0<u[3]>>>0?1:0)|0,C[5]=C[5]+886263092+(C[4]>>>0<u[4]>>>0?1:0)|0,C[6]=C[6]+1295307597+(C[5]>>>0<u[5]>>>0?1:0)|0,C[7]=C[7]+3545052371+(C[6]>>>0<u[6]>>>0?1:0)|0,this._b=C[7]>>>0<u[7]>>>0?1:0;for(var w=0;w<8;w++){var T=y[w]+C[w],A=T&65535,O=T>>>16,v=((A*A>>>17)+A*O>>>15)+O*O,B=((T&4294901760)*T|0)+((T&65535)*T|0);c[w]=v^B}y[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,y[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,y[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,y[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,y[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,y[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,y[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,y[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}o.Rabbit=i._createHelper(d)})(),r.Rabbit})}),wPe=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),xv(),Av(),tm(),Ea()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.lib,i=s.StreamCipher,n=o.algo,a=[],u=[],c=[],d=n.RabbitLegacy=i.extend({_doReset:function(){var y=this._key.words,C=this.cfg.iv,w=this._X=[y[0],y[3]<<16|y[2]>>>16,y[1],y[0]<<16|y[3]>>>16,y[2],y[1]<<16|y[0]>>>16,y[3],y[2]<<16|y[1]>>>16],T=this._C=[y[2]<<16|y[2]>>>16,y[0]&4294901760|y[1]&65535,y[3]<<16|y[3]>>>16,y[1]&4294901760|y[2]&65535,y[0]<<16|y[0]>>>16,y[2]&4294901760|y[3]&65535,y[1]<<16|y[1]>>>16,y[3]&4294901760|y[0]&65535];this._b=0;for(var A=0;A<4;A++)h.call(this);for(var A=0;A<8;A++)T[A]^=w[A+4&7];if(C){var O=C.words,v=O[0],B=O[1],R=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,U=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,N=R>>>16|U&4294901760,_=U<<16|R&65535;T[0]^=R,T[1]^=N,T[2]^=U,T[3]^=_,T[4]^=R,T[5]^=N,T[6]^=U,T[7]^=_;for(var A=0;A<4;A++)h.call(this)}},_doProcessBlock:function(y,C){var w=this._X;h.call(this),a[0]=w[0]^w[5]>>>16^w[3]<<16,a[1]=w[2]^w[7]>>>16^w[5]<<16,a[2]=w[4]^w[1]>>>16^w[7]<<16,a[3]=w[6]^w[3]>>>16^w[1]<<16;for(var T=0;T<4;T++)a[T]=(a[T]<<8|a[T]>>>24)&16711935|(a[T]<<24|a[T]>>>8)&4278255360,y[C+T]^=a[T]},blockSize:128/32,ivSize:64/32});function h(){for(var y=this._X,C=this._C,w=0;w<8;w++)u[w]=C[w];C[0]=C[0]+1295307597+this._b|0,C[1]=C[1]+3545052371+(C[0]>>>0<u[0]>>>0?1:0)|0,C[2]=C[2]+886263092+(C[1]>>>0<u[1]>>>0?1:0)|0,C[3]=C[3]+1295307597+(C[2]>>>0<u[2]>>>0?1:0)|0,C[4]=C[4]+3545052371+(C[3]>>>0<u[3]>>>0?1:0)|0,C[5]=C[5]+886263092+(C[4]>>>0<u[4]>>>0?1:0)|0,C[6]=C[6]+1295307597+(C[5]>>>0<u[5]>>>0?1:0)|0,C[7]=C[7]+3545052371+(C[6]>>>0<u[6]>>>0?1:0)|0,this._b=C[7]>>>0<u[7]>>>0?1:0;for(var w=0;w<8;w++){var T=y[w]+C[w],A=T&65535,O=T>>>16,v=((A*A>>>17)+A*O>>>15)+O*O,B=((T&4294901760)*T|0)+((T&65535)*T|0);c[w]=v^B}y[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,y[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,y[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,y[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,y[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,y[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,y[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,y[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}o.RabbitLegacy=i._createHelper(d)})(),r.RabbitLegacy})}),APe=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),xv(),Av(),tm(),Ea()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(r.CryptoJS)})(e,function(r){return(function(){var o=r,s=o.lib,i=s.BlockCipher,n=o.algo;let a=16,u=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[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 d={pbox:[],sbox:[]};function h(A,O){let v=O>>24&255,B=O>>16&255,R=O>>8&255,U=O&255,N=A.sbox[0][v]+A.sbox[1][B];return N=N^A.sbox[2][R],N=N+A.sbox[3][U],N}function y(A,O,v){let B=O,R=v,U;for(let N=0;N<a;++N)B=B^A.pbox[N],R=h(A,B)^R,U=B,B=R,R=U;return U=B,B=R,R=U,R=R^A.pbox[a],B=B^A.pbox[a+1],{left:B,right:R}}function C(A,O,v){let B=O,R=v,U;for(let N=a+1;N>1;--N)B=B^A.pbox[N],R=h(A,B)^R,U=B,B=R,R=U;return U=B,B=R,R=U,R=R^A.pbox[1],B=B^A.pbox[0],{left:B,right:R}}function w(A,O,v){for(let _=0;_<4;_++){A.sbox[_]=[];for(let L=0;L<256;L++)A.sbox[_][L]=c[_][L]}let B=0;for(let _=0;_<a+2;_++)A.pbox[_]=u[_]^O[B],B++,B>=v&&(B=0);let R=0,U=0,N=0;for(let _=0;_<a+2;_+=2)N=y(A,R,U),R=N.left,U=N.right,A.pbox[_]=R,A.pbox[_+1]=U;for(let _=0;_<4;_++)for(let L=0;L<256;L+=2)N=y(A,R,U),R=N.left,U=N.right,A.sbox[_][L]=R,A.sbox[_][L+1]=U;return!0}var T=n.Blowfish=i.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var A=this._keyPriorReset=this._key,O=A.words,v=A.sigBytes/4;w(d,O,v)}},encryptBlock:function(A,O){var v=y(d,A[O],A[O+1]);A[O]=v.left,A[O+1]=v.right},decryptBlock:function(A,O){var v=C(d,A[O],A[O+1]);A[O]=v.left,A[O+1]=v.right},blockSize:64/32,keySize:128/32,ivSize:64/32});o.Blowfish=i._createHelper(T)})(),r.Blowfish})}),G$=W((e,t)=>{m(),(function(r,o,s){typeof e=="object"?t.exports=e=o(ti(),aO(),w5e(),A5e(),xv(),S5e(),Av(),q$(),l9(),B5e(),j$(),_5e(),N5e(),U5e(),m9(),W5e(),tm(),Ea(),q5e(),G5e(),J5e(),Y5e(),Z5e(),ePe(),rPe(),iPe(),sPe(),cPe(),lPe(),dPe(),pPe(),yPe(),bPe(),wPe(),APe()):typeof define=="function"&&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"],o):r.CryptoJS=o(r.CryptoJS)})(e,function(r){return r})}),Zf=W(e=>{"use strict";m();var t=e&&e.__importDefault||function(ue){return ue&&ue.__esModule?ue:{default:ue}};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=y,e.getChainId=C,e.toHexString=w,e.concatUint8Arrays=T,e.splitToUint8Arrays=A,e.base64encode=B,e.base64decode=R,e.checkWSUrl=U,e.hashKey=G,e.generateRandomBytes32=l,e.generateTopic=p,e.generateGroupId=E,e.isInIOSLine=b,e.isInIOSLark=k,e.isInIOSChrome=x,e.isInIOSWeChat=S,e.isIos=f,e.getLastSixMd5Hash=M,e.toSafeBase64FromBase64=V,e.useShortLink=D,e.replaceChainNameToChainId=j,e.replaceChainIdToChainName=Y,e.getNamespaceKeyByChain=oe,e.scopePollingDetectionStrategy=de;var r=t(oh()),o=t(CIe()),s=(oOe(),tN(iOe)),i=hOe(),n=bv(),a=Ks(),u=H$(),c=t(G$()),d=zi(),h="base16";function y(ue){if(ue.length%2!==0)throw new Error(`Cannot convert ${ue} to bytesArray`);let ae=new Uint8Array(ue.length/2);for(let q=0;q<ue.length;q+=2)ae[q/2]=parseInt(ue.slice(q,q+2),16);return ae}function C(ue){return ue.includes(":")?ue.split(":")[1]:ue}function w(ue){let ae="";return ue.forEach(q=>{ae+=("0"+(q&255).toString(16)).slice(-2)}),ae}function T(ue,ae){let q=new Uint8Array(ue.length+ae.length);return q.set(ue),q.set(ae,ue.length),q}function A(ue,ae){if(ae>=ue.length)throw new Error("Index is out of buffer");let q=ue.slice(0,ae),ne=ue.slice(ae);return[q,ne]}function O(ue,ae){let q=o.default.encodeBase64(ue);return ae?encodeURIComponent(q):q}function v(ue,ae){return ae&&(ue=decodeURIComponent(ue)),o.default.decodeBase64(ue)}function B(ue,ae){let q;return ue instanceof Uint8Array?q=ue:(typeof ue!="string"&&(ue=(0,n.safeJsonStringify)(ue)),q=o.default.decodeUTF8(ue)),O(q,ae)}function R(ue,ae){let q=v(ue,ae);return{toString(){return o.default.encodeUTF8(q)},toObject(){try{return(0,n.safeJsonParse)(o.default.encodeUTF8(q))}catch{return null}},toUint8Array(){return q}}}function U(ue){let ae=ue.match(new RegExp(/^\w+:/,"gi"));if(!ae||!ae.length)return!1;let q=ae[0];return q===void 0?!1:new RegExp("^wss?:").test(q)}var N=()=>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.resolveWebSocketImplementation=N;var _=()=>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.hasBuiltInWebSocket=_;var L=()=>typeof global<"u"&&typeof global.localStorage<"u"||typeof window<"u"&&typeof window.localStorage<"u";e.hasLocalStorage=L;var H=()=>typeof global<"u"&&typeof global.localStorage<"u"?global.localStorage:typeof window<"u"&&typeof window.localStorage<"u"?window.localStorage:localStorage;e.resolveLocalStorage=H;var F=()=>typeof window<"u";e.isBrowser=F,e.RANDOM_LENGTH=32;function G(ue,ae=h){(0,a.logDebug)(`hash key called ${ue}`);let q=(0,i.hash)((0,u.okxfromString)(ue,ae));return(0,s.toString)(q,ae)}function l(){return r.default.randomBytes(e.RANDOM_LENGTH)}function p(){let ue=l();return(0,a.logDebug)(`generate topic called ${ue}`),G((0,s.toString)(ue,h))}function E(){let ue=r.default.randomBytes(16);return(0,a.logDebug)(`generate groupid called ${ue}`),G((0,s.toString)(ue,h))}var g=ue=>Object.getPrototypeOf(ue)===Object.prototype&&Object.keys(ue).length;e.isValidObject=g;function b(){return navigator.userAgent.includes("Safari Line/")&&f()}function k(){return navigator.userAgent.includes("Lark/")&&f()}function x(){return navigator.userAgent.includes("CriOS/")&&f()}function S(){return navigator.userAgent.includes("MicroMessenger/")&&f()}function f(){let ue=navigator.userAgent,ae=navigator.maxTouchPoints||0,q=/iPad|iPhone|iPod/.test(ue)&&!window.MSStream,ne=ue.includes("Mac")&&ae>1;return(0,a.logDebug)(`utils isIos >>>isIOSDevice: ${q}    >> isIPadOS: ${ne}`),q||ne}function M(ue){return c.default.MD5(ue).toString().slice(-6)}function V(ue){return ue.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function D(){return!0}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(d.SOLANA_CHAINS.MAINNET,d.SOLANA_CHAINS_STANDARD.MAINNET),e.chainIdToStandardChainIdMap.set(d.SOLANA_CHAINS.TESTNET,d.SOLANA_CHAINS_STANDARD.TESTNET);function j(ue){return e.chainName2IdMap.forEach((ae,q)=>{ue.includes(q)&&(ue=ue.replace(q,ae))}),ue}function Y(ue){return e.chainName2IdMap.forEach((ae,q)=>{ue.includes(ae)&&(ue=ue.replace(ae,q))}),ue}function oe(ue){for(let[ae,q]of Object.entries(d.NAMES_CHAINS))if(Object.values(q).includes(ue))return ae;return ue}function de(ue){if(typeof window>"u"||typeof document>"u")return;let ae=[];function q(){if(ue())for(let me of ae)me()}let ne=setInterval(q,1e3);ae.push(()=>clearInterval(ne)),document.readyState==="loading"&&(document.addEventListener("DOMContentLoaded",q,{once:!0}),ae.push(()=>document.removeEventListener("DOMContentLoaded",q))),document.readyState!=="complete"&&(window.addEventListener("load",q,{once:!0}),ae.push(()=>window.removeEventListener("load",q))),q()}}),fO=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(C,w,T,A){A===void 0&&(A=T);var O=Object.getOwnPropertyDescriptor(w,T);(!O||("get"in O?!w.__esModule:O.writable||O.configurable))&&(O={enumerable:!0,get:function(){return w[T]}}),Object.defineProperty(C,A,O)}:function(C,w,T,A){A===void 0&&(A=T),C[A]=w[T]}),r=e&&e.__setModuleDefault||(Object.create?function(C,w){Object.defineProperty(C,"default",{enumerable:!0,value:w})}:function(C,w){C.default=w}),o=e&&e.__importStar||(function(){var C=function(w){return C=Object.getOwnPropertyNames||function(T){var A=[];for(var O in T)Object.prototype.hasOwnProperty.call(T,O)&&(A[A.length]=O);return A},C(w)};return function(w){if(w&&w.__esModule)return w;var T={};if(w!=null)for(var A=C(w),O=0;O<A.length;O++)A[O]!=="default"&&t(T,w,A[O]);return r(T,w),T}})(),s=e&&e.__importDefault||function(C){return C&&C.__esModule?C:{default:C}};Object.defineProperty(e,"__esModule",{value:!0}),e.Storage=void 0;var i=PT(),n=s(oh()),a=Zf(),u=Ao(),c=o(Ks()),d=Ao(),h=G$(),y=class wu{constructor(w,T=void 0){let A=(0,a.resolveLocalStorage)();this.storeKey="",this.cipherIV="",this.subKey=w,c.logDebug("--------get current local storage --------"),c.logDebug(A),this.synchronizedCache()}checkAndUpgradeCache(w,T){if(w&&w.length>0&&T&&T.length>0){c.logDebug("--------get current local storage --------"),c.logDebug(localStorage);let A=localStorage.getItem(wu.cacheKey+w);if(typeof A>"u"||A===null){c.logDebug("no pre cache content");return}c.logDebug(A),A?.length>0&&(c.logDebug("write in cache content: ",w,"->",T),localStorage.setItem(wu.cacheKey+T,A),c.logDebug("clean in cache content: ",w),localStorage.removeItem(wu.cacheKey+w))}else c.logDebug("no pre cache key:",w)}saveContent(w,T,A="-"){let O={id:A,timestamp:Date.now().toString(),content:w};this.saveItem(O,T)}saveItem(w,T){let A=wu.cacheKey+this.subKey,O=(0,a.resolveLocalStorage)();c.logDebug(this.cache),c.logDebug(`get cache obj: ${this.cache}, ${T}, ${w}`),this.cache[T]=w;let v=(0,u.safeJsonStringify)(this.cache);c.logDebug(`STORAGE: ${T} @ ${this.cache}`),O.setItem(A,v)}getItem(w){return c.logDebug(`STORAGE >> getItem: ${w} @ ${this.cache}`),this.cache[w]}synchronizedCache(){let w=localStorage.getItem(wu.cacheKey+this.subKey);if(typeof w>"u"||w===null){c.logDebug("with no cache"),this.cache={};return}if(c.logDebug(w),w?.length>0){var T=(0,u.safeJsonParse)(w);this.cache=T}c.logDebug(`get cache obj: ${this.cache}`),(typeof this.cache>"u"||this.cache==null)&&(this.cache={})}getCachedPBKDF2InfoKey(){var w,T,A,O;if(this.storeKey.length>0&&((w=this.cipherIV)===null||w===void 0?void 0:w.length)>0)return{pw:this.storeKey,iv:this.cipherIV};let v=(T=this.getItem(i.OKXCONNECTOR_STORAGER_CRYPTO_SALT))===null||T===void 0?void 0:T.content;v||(v=(0,a.toHexString)(n.default.randomBytes(24)),this.saveContent(v,i.OKXCONNECTOR_STORAGER_CRYPTO_SALT));let B=(A=this.getItem(i.OKXCONNECTOR_STORAGE_CRYPTO_PASSWORD))===null||A===void 0?void 0:A.content;B||(B=(0,a.toHexString)(n.default.randomBytes(32)),this.saveContent(B,i.OKXCONNECTOR_STORAGE_CRYPTO_PASSWORD));let R=(O=this.getItem(i.OKXCONNECTOR_STORAGE_CRYPTO_CIPHERIV))===null||O===void 0?void 0:O.content;if(!R){let U=n.default.randomBytes(16);R=(0,a.toHexString)(U),this.saveContent(R,i.OKXCONNECTOR_STORAGE_CRYPTO_CIPHERIV)}return this.cipherIV=R,this.storeKey=(0,h.PBKDF2)(B,v,{iterations:10}).toString(),{pw:this.storeKey,iv:this.cipherIV}}encryptStoreMsg(w,T){(0,d.logDebug)(`encryptStoreMsg  encryptStoreMsg start ${Date.now()}`);let A=this.getCachedPBKDF2InfoKey();(0,d.logDebug)(`encryptStoreMsg  encryptStoreMsg mid ${Date.now()}`);var O=h.AES.encrypt(w,A.pw).toString();this.saveContent(O,T),(0,d.logDebug)(`encryptStoreMsg  encryptStoreMsg end ${Date.now()}`)}getAndDecrypt(w){(0,d.logDebug)(`encryptStoreMsg  getAndDecrypt start ${Date.now()}`);let T=this.getItem(w);if(T&&T.content){let A=this.getCachedPBKDF2InfoKey();(0,d.logDebug)(`encryptStoreMsg  getAndDecrypt mid ${Date.now()}`);let O=h.AES.decrypt(T.content,A.pw).toString(h.enc.Utf8);return(0,d.logDebug)(`encryptStoreMsg  getAndDecrypt end ${Date.now()}`),O}return null}clearCache(w=void 0){if(w===void 0){let T=(0,a.resolveLocalStorage)();this.cache={};let A=wu.cacheKey+this.subKey;T.setItem(A,"")}else{let T=wu.cacheKey+this.subKey,A=(0,a.resolveLocalStorage)();c.logDebug(this.cache),this.cache[w]=null;let O=(0,u.safeJsonStringify)(this.cache);c.logDebug(`STORAGE: clean key ${w} @ ${this.cache}`),A.setItem(T,O)}}};e.Storage=y,y.cacheKey="OKXStorageKey"}),H9=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(A,O,v,B){B===void 0&&(B=v);var R=Object.getOwnPropertyDescriptor(O,v);(!R||("get"in R?!O.__esModule:R.writable||R.configurable))&&(R={enumerable:!0,get:function(){return O[v]}}),Object.defineProperty(A,B,R)}:function(A,O,v,B){B===void 0&&(B=v),A[B]=O[v]}),r=e&&e.__setModuleDefault||(Object.create?function(A,O){Object.defineProperty(A,"default",{enumerable:!0,value:O})}:function(A,O){A.default=O}),o=e&&e.__importStar||(function(){var A=function(O){return A=Object.getOwnPropertyNames||function(v){var B=[];for(var R in v)Object.prototype.hasOwnProperty.call(v,R)&&(B[B.length]=R);return B},A(O)};return function(O){if(O&&O.__esModule)return O;var v={};if(O!=null)for(var B=A(O),R=0;R<B.length;R++)B[R]!=="default"&&t(v,O,B[R]);return r(v,O),v}})(),s=e&&e.__awaiter||function(A,O,v,B){function R(U){return U instanceof v?U:new v(function(N){N(U)})}return new(v||(v=Promise))(function(U,N){function _(F){try{H(B.next(F))}catch(G){N(G)}}function L(F){try{H(B.throw(F))}catch(G){N(G)}}function H(F){F.done?U(F.value):R(F.value).then(_,L)}H((B=B.apply(A,O||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXWalletConnector=void 0;var i=OT(),n=PT(),a=fO(),u=Ao(),c=Zf(),d=Qf(),h=o(Ks()),y=zi(),C=oO(),w=(0,c.resolveWebSocketImplementation)(),T=class{constructor(A){if(this.events=new d.EventEmitter,this.state=i.ConnectorState.InitState,this.selectedUrlIndex=0,this.retryCount=0,this.timeOutLimit=8e3,!(0,c.checkWSUrl)(A))throw new Error(`CONNECTOR: invalid url ${A}`);this.url=A,this.heartbeatTimer=null,this.connectionTimeoutTimer=null,this.connectURLStorage=new a.Storage(n.OKXCONNECTOR_CACHE_KEY+n.OKXCONNECTOR_CACHE_KEY)}get connecting(){return this.state==i.ConnectorState.Connecting}onPayload(A){if(!(typeof A.data>"u")){if(h.logDebug("get received data"),h.logDebug(A),typeof A.data=="string"&&A.data==="pong"){h.logDebug(`CONNECT: receive pong ${Date.now().toString()}`);return}this.events.emit("payload",A.data)}}onClose(A){var O;h.logDebug("socket get closed: ",(O=this.socket)===null||O===void 0?void 0:O.url,A.code),this.socket=void 0,this.events.emit("close",A)}onError(A,O){let v={id:A,msg:O.toString()};this.events.emit("payload",v)}onopen(A){A.onmessage=O=>this.onPayload(O),A.onclose=O=>this.onClose(O),this.socket=A,this.state=i.ConnectorState.Connected,this.events.emit("open")}emitError(A){this.events.emit("fail",A)}heartbeat(){return s(this,void 0,void 0,function*(){if(this.heartbeatTimer&&clearTimeout(this.heartbeatTimer),this.state!=i.ConnectorState.Connected&&this.state!=i.ConnectorState.OnError){h.logDebug("heart beat close");return}if(!this.socket){if(h.logDebug("socket not exist"),this.state==i.ConnectorState.Connected||this.state==i.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)}}return}if(this.socket.readyState!==WebSocket.OPEN){if(h.logDebug("socket not ready"),this.state==i.ConnectorState.Connected||this.state==i.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)}}return}h.logDebug(`send ping heart beat: ${Date.now().toString()}, ${this.socket}`),this.socket.send("ping"),this.heartbeatTimer=setTimeout(this.heartbeat.bind(this),5e3)})}registOpen(A=this.url,O=!1){if(!(0,c.checkWSUrl)(A))throw new Error(`CONNECTOR: invalid url ${A}`);this.url=A,O||h.logDebug("Connection connect:",this.url,new Date().toUTCString()),this.state=i.ConnectorState.Connecting;let v=new URLSearchParams(A).get("origin");return new Promise((B,R)=>{let U=new w(A,[]);h.logDebug("Connection connect Begin:",this.url,new Date().toUTCString()),this.startTimeOutTimer(U),(0,c.hasBuiltInWebSocket)()?(h.logDebug("Add socket error handler"),U.onerror=()=>{R(new Error("socket error")),U.close()}):(h.logDebug("Add socket error handler"),U.on("error",()=>{R(new Error("socket error")),U.close()})),U.onopen=()=>{h.logDebug("socket opened"),this.resetTimeOutTimer(i.OKXCONNECTOR_WS_URL_PENDING_CLOSE_CODE.FINISHED),this.onopen(U),this.heartbeat(),B(U)}})}checkMaxRetry(){return h.logDebug("current retry count:",this.retryCount,"of",i.OKXCONNECTOR_WS_URL_LIST.length),this.retryCount>i.OKXCONNECTOR_WS_URL_LIST.length*3}connectionTryNext(){return s(this,void 0,void 0,function*(){if(this.checkMaxRetry())h.logDebug("Max Connection retry ",this.retryCount,new Date().toUTCString());else{this.retryCount+=1;let A=this.getNextSelectUrl();return h.logDebug("Connection retry:",A,new Date().toUTCString()),this.registOpen(A,!0)}})}startTimeOutTimer(A){this.connectionTimeoutTimer&&this.resetTimeOutTimer(i.OKXCONNECTOR_WS_URL_PENDING_CLOSE_CODE.CANCELED),this.pendingSocket=A,this.connectionTimeoutTimer=setTimeout(()=>{this.pendingSocket&&this.resetTimeOutTimer(i.OKXCONNECTOR_WS_URL_PENDING_CLOSE_CODE.TIME_OUT)},this.timeOutLimit)}resetTimeOutTimer(A){var O;if(A==i.OKXCONNECTOR_WS_URL_PENDING_CLOSE_CODE.TIME_OUT)throw clearTimeout(this.connectionTimeoutTimer),(O=this.pendingSocket)===null||O===void 0||O.close(),this.pendingSocket=void 0,h.reportEvent(C.OKXReportType.LOG,"timeout",this.retryCount.toString()),new Error("socket timeout");this.pendingSocket=void 0,clearTimeout(this.connectionTimeoutTimer)}cacheSuccessUrlSelect(){this.connectURLStorage.saveContent(this.selectedUrlIndex.toString(),n.OKXCONNECTOR_CACHE_KEY)}getNextSelectUrl(){return this.selectedUrlIndex+=1,this.selectedUrlIndex=this.selectedUrlIndex%i.OKXCONNECTOR_WS_URL_LIST.length,i.OKXCONNECTOR_WS_URL_LIST[this.selectedUrlIndex]}onVisibleChanged(){return s(this,void 0,void 0,function*(){if(document.visibilityState==="visible"&&(h.logDebug(`get changed ${this.state}, ${this.socket}`),this.state==i.ConnectorState.Connected&&typeof this.socket>"u")){h.logDebug("CONNECTION need reopen");try{yield this.tryRegistOpen()}catch{h.logError("regist open failed")}return}})}tryRegistOpen(){return s(this,arguments,void 0,function*(A=this.url){if(this.connecting)return h.logDebug("tryRegistOpen => connecting state"),new Promise((v,B)=>{this.events.once("fail",R=>(h.logDebug("tryRegistOpen => connecting fail listener",R),B(R))),this.events.once("open",()=>typeof this.socket>"u"?B(new Error("Connect lost")):v(this.socket))});h.logDebug("tryRegistOpen => try registOpen until retry limit is hit");let O=!1;for(;!this.checkMaxRetry()&&!this.socket;)try{h.logDebug("tryRegistOpen => call registOpen, try count:",this.retryCount,O),yield this.registOpen(A,O)}catch(v){h.logDebug("tryRegistOpen => registOpen failed",v),this.retryCount+=1,A=this.getNextSelectUrl(),O=!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=i.ConnectorState.OnError,this.emitError(new Error("tryRegistOpen failed")),new y.OKXConnectError(y.OKX_CONNECT_ERROR_CODES.CONNECTION_ERROR,"Failed to connect")})}connect(){return s(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(A){throw h.logDebug("connect => failed to connect",A),A}})}disconnect(){return s(this,void 0,void 0,function*(){return this.state=i.ConnectorState.Disconnected,new Promise((A,O)=>{if(typeof this.socket>"u"){A();return}this.socket.onclose=v=>{this.onClose(v),A()},this.socket.close(),this.heartbeatTimer&&clearTimeout(this.heartbeatTimer)})})}currentStatus(){return{state:this.state,url:this.url}}addListener(A,O,v,B,R){this.listenPayloadHandler&&this.events.removeListener("payload",this.listenPayloadHandler),this.listenPayloadHandler=U=>s(this,void 0,void 0,function*(){var N;h.logDebug(`<<< get payload ${U}`);let _=(0,u.safeJsonParse)(U);if(_.params&&_.params.data){let L=(N=_.params.data)===null||N===void 0?void 0:N.message,H=!1;if(L&&R){let F=yield R(_.params.data);H=F.isSplitPackage&&!F.finalMessage,F.isSplitPackage&&(F.finalMessage&&F.finalMessage.length>0?(h.logDebug("CONNECT: update raw msg content"),L=F.finalMessage):(h.logDebug("CONNECT: skip raw msg content"),H=!0))}if(!H)try{let F=O(L);F===void 0?(h.logDebug("CONNECT: decrypt undefined"),B(A,"Decrypt undefined")):v(A,F)}catch(F){h.logDebug(`CONNECT: decrypt failed: ${F}`),B(A,F.message)}}}),this.events.on("payload",this.listenPayloadHandler),this.failHandler&&this.events.removeListener("fail",this.failHandler),this.failHandler=U=>{U?(h.logDebug(`CONNECT failed: ${U}`),B(A,U.message)):B(A,"Unkonow error")},this.events.on("fail",this.failHandler)}addPackageParse(A){this.payloadHandler&&this.events.removeListener("payload",this.payloadHandler),this.payloadHandler=O=>s(this,void 0,void 0,function*(){h.logDebug(`CONNECTION @[${new Date().toUTCString()}] <<<< received e:${O}`);let v=(0,u.safeJsonParse)(O);yield A(v)}),this.events.on("payload",this.payloadHandler)}once(A,O){this.events.once(A,O)}off(A,O){this.events.off(A,O)}removeListener(A,O){this.events.removeListener(A,O)}send(A,O){return s(this,void 0,void 0,function*(){try{typeof this.socket>"u"&&(h.logDebug(`>>> send payload undefined ${O}`),yield A()),h.logDebug(`CONNECTION @[${new Date().toUTCString()}]>>> send payload ${(0,u.safeJsonStringify)(O)}`),this.socket&&this.socket.send((0,u.safeJsonStringify)(O))}catch(v){this.onError(O.id,v)}})}getMsgPayloadFromHistory(A){return s(this,void 0,void 0,function*(){if(typeof A>"u")return;let O={params:{data:A}},v=(0,u.safeJsonStringify)(A);h.logDebug("get received data from history"),h.logDebug(v),v=(0,u.safeJsonStringify)(O),this.events.emit("payload",v)})}onOpen(A){this.openHandler&&this.events.removeListener("open",this.openHandler),this.openHandler=()=>s(this,void 0,void 0,function*(){h.logDebug(`CONNECTION @[${new Date().toUTCString()}] >>> ws opened: `),yield A()}),this.events.on("open",this.openHandler),this.cacheSuccessUrlSelect()}};e.OKXWalletConnector=T}),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(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0}),e.SessionCrypto=void 0;var r=t(oh()),o=Zf(),s=class{constructor(i=void 0){this.nonceLength=24,this.sessionKeyPair=i?this.createKeypairFromString(i):this.createKeypair()}createKeypair(){return r.default.box.keyPair()}createKeypairFromString(i){return{publicKey:(0,o.hexToByteArray)(i.publicKey),secretKey:(0,o.hexToByteArray)(i.secretKey)}}createNonce(){return r.default.randomBytes(this.nonceLength)}get keyPair(){return this.sessionKeyPair}encrypt(i,n){let a=new TextEncoder().encode(i),u=this.createNonce(),c=r.default.box(a,u,(0,o.hexToByteArray)(n),this.keyPair.secretKey),d=(0,o.concatUint8Arrays)(u,c);var h=(0,o.toHexString)(d),y=new TextEncoder().encode(h);return(0,o.base64encode)(y,!1)}encryptWallet(i,n){let a=new TextEncoder().encode(i),u=this.createNonce(),c=r.default.box(a,u,(0,o.hexToByteArray)(n),this.keyPair.secretKey),d=(0,o.concatUint8Arrays)(u,c);return(0,o.base64encode)(d,!1)}decrypt(i,n){let a=(0,o.base64decode)(i,!0).toUint8Array(),[u,c]=(0,o.splitToUint8Arrays)(a,this.nonceLength),d=r.default.box.open(c,u,(0,o.hexToByteArray)(n),this.keyPair.secretKey);if(!d)throw new Error(`Decryption error: 
 message: ${i.toString()} 
 sender pubkey: ${n.toString()} 
 keypair pubkey: ${(0,o.toHexString)(this.keyPair.publicKey)} 
 keypair secretkey: ${(0,o.toHexString)(this.keyPair.secretKey)}`);return new TextDecoder().decode(d)}decryptWallet(i,n){let a=(0,o.base64decode)(i,!0),u=(0,o.hexToByteArray)(a.toString()),[c,d]=(0,o.splitToUint8Arrays)(u,this.nonceLength),h=r.default.box.open(d,c,(0,o.hexToByteArray)(n),this.keyPair.secretKey);if(!h)throw new Error(`Decryption error: 
 message: ${i.toString()} 
 sender pubkey: ${n.toString()} 
 keypair pubkey: ${(0,o.toHexString)(this.keyPair.publicKey)} 
 keypair secretkey: ${(0,o.toHexString)(this.keyPair.secretKey)}`);return new TextDecoder().decode(h)}stringifyKeypair(){return{publicKey:(0,o.toHexString)(this.keyPair.publicKey),secretKey:(0,o.toHexString)(this.keyPair.secretKey)}}};e.SessionCrypto=s}),PPe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserRandomSource=void 0;var t=65536,r=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;let o=typeof self<"u"?self.crypto||self.msCrypto:null;o&&o.getRandomValues!==void 0&&(this._crypto=o,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(o){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");let s=new Uint8Array(o);for(let i=0;i<s.length;i+=t)this._crypto.getRandomValues(s.subarray(i,i+Math.min(s.length-i,t)));return s}};e.BrowserRandomSource=r}),BPe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.NodeRandomSource=void 0;var t=PS(),r=class{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof r0<"u"){let o=II();o&&o.randomBytes&&(this._crypto=o,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(o){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let s=this._crypto.randomBytes(o);if(s.length!==o)throw new Error("NodeRandomSource: got fewer bytes than requested");let i=new Uint8Array(o);for(let n=0;n<i.length;n++)i[n]=s[n];return(0,t.wipe)(s),i}};e.NodeRandomSource=r}),kPe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.SystemRandomSource=void 0;var t=PPe(),r=BPe(),o=class{constructor(){if(this.isAvailable=!1,this.name="",this._source=new t.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new r.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(s){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(s)}};e.SystemRandomSource=o}),NPe=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=kPe(),r=BU(),o=PS();e.defaultRandomSource=new t.SystemRandomSource;function s(c,d=e.defaultRandomSource){return d.randomBytes(c)}e.randomBytes=s;function i(c=e.defaultRandomSource){let d=s(4,c),h=(0,r.readUint32LE)(d);return(0,o.wipe)(d),h}e.randomUint32=i;var n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function a(c,d=n,h=e.defaultRandomSource){if(d.length<2)throw new Error("randomString charset is too short");if(d.length>256)throw new Error("randomString charset is too long");let y="",C=d.length,w=256-256%C;for(;c>0;){let T=s(Math.ceil(c*256/w),h);for(let A=0;A<T.length&&c>0;A++){let O=T[A];O<w&&(y+=d.charAt(O%C),c--)}(0,o.wipe)(T)}return y}e.randomString=a;function u(c,d=n,h=e.defaultRandomSource){let y=Math.ceil(c/(Math.log(d.length)/Math.LN2));return a(y,d,h)}e.randomStringForEntropy=u}),LPe=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 o=(function(){function a(){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 a.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},a.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},a.prototype.clean=function(){r.wipe(this._buffer),r.wipe(this._tempHi),r.wipe(this._tempLo),this.reset()},a.prototype.update=function(u,c){if(c===void 0&&(c=u.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var d=0;if(this._bytesHashed+=c,this._bufferLength>0){for(;this._bufferLength<e.BLOCK_SIZE&&c>0;)this._buffer[this._bufferLength++]=u[d++],c--;this._bufferLength===this.blockSize&&(i(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(c>=this.blockSize&&(d=i(this._tempHi,this._tempLo,this._stateHi,this._stateLo,u,d,c),c%=this.blockSize);c>0;)this._buffer[this._bufferLength++]=u[d++],c--;return this},a.prototype.finish=function(u){if(!this._finished){var c=this._bytesHashed,d=this._bufferLength,h=c/536870912|0,y=c<<3,C=c%128<112?128:256;this._buffer[d]=128;for(var w=d+1;w<C-8;w++)this._buffer[w]=0;t.writeUint32BE(h,this._buffer,C-8),t.writeUint32BE(y,this._buffer,C-4),i(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,C),this._finished=!0}for(var w=0;w<this.digestLength/8;w++)t.writeUint32BE(this._stateHi[w],u,w*8),t.writeUint32BE(this._stateLo[w],u,w*8+4);return this},a.prototype.digest=function(){var u=new Uint8Array(this.digestLength);return this.finish(u),u},a.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}},a.prototype.restoreState=function(u){return this._stateHi.set(u.stateHi),this._stateLo.set(u.stateLo),this._bufferLength=u.bufferLength,u.buffer&&this._buffer.set(u.buffer),this._bytesHashed=u.bytesHashed,this._finished=!1,this},a.prototype.cleanSavedState=function(u){r.wipe(u.stateHi),r.wipe(u.stateLo),u.buffer&&r.wipe(u.buffer),u.bufferLength=0,u.bytesHashed=0},a})();e.SHA512=o;var s=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 i(a,u,c,d,h,y,C){for(var w=c[0],T=c[1],A=c[2],O=c[3],v=c[4],B=c[5],R=c[6],U=c[7],N=d[0],_=d[1],L=d[2],H=d[3],F=d[4],G=d[5],l=d[6],p=d[7],E,g,b,k,x,S,f,M;C>=128;){for(var V=0;V<16;V++){var D=8*V+y;a[V]=t.readUint32BE(h,D),u[V]=t.readUint32BE(h,D+4)}for(var V=0;V<80;V++){var j=w,Y=T,oe=A,de=O,ue=v,ae=B,q=R,ne=U,me=N,ve=_,ge=L,ce=H,ee=F,fe=G,ie=l,re=p;if(E=U,g=p,x=g&65535,S=g>>>16,f=E&65535,M=E>>>16,E=(v>>>14|F<<18)^(v>>>18|F<<14)^(F>>>9|v<<23),g=(F>>>14|v<<18)^(F>>>18|v<<14)^(v>>>9|F<<23),x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,E=v&B^~v&R,g=F&G^~F&l,x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,E=s[V*2],g=s[V*2+1],x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,E=a[V%16],g=u[V%16],x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,S+=x>>>16,f+=S>>>16,M+=f>>>16,b=f&65535|M<<16,k=x&65535|S<<16,E=b,g=k,x=g&65535,S=g>>>16,f=E&65535,M=E>>>16,E=(w>>>28|N<<4)^(N>>>2|w<<30)^(N>>>7|w<<25),g=(N>>>28|w<<4)^(w>>>2|N<<30)^(w>>>7|N<<25),x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,E=w&T^w&A^T&A,g=N&_^N&L^_&L,x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,S+=x>>>16,f+=S>>>16,M+=f>>>16,ne=f&65535|M<<16,re=x&65535|S<<16,E=de,g=ce,x=g&65535,S=g>>>16,f=E&65535,M=E>>>16,E=b,g=k,x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,S+=x>>>16,f+=S>>>16,M+=f>>>16,de=f&65535|M<<16,ce=x&65535|S<<16,T=j,A=Y,O=oe,v=de,B=ue,R=ae,U=q,w=ne,_=me,L=ve,H=ge,F=ce,G=ee,l=fe,p=ie,N=re,V%16===15)for(var D=0;D<16;D++)E=a[D],g=u[D],x=g&65535,S=g>>>16,f=E&65535,M=E>>>16,E=a[(D+9)%16],g=u[(D+9)%16],x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,b=a[(D+1)%16],k=u[(D+1)%16],E=(b>>>1|k<<31)^(b>>>8|k<<24)^b>>>7,g=(k>>>1|b<<31)^(k>>>8|b<<24)^(k>>>7|b<<25),x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,b=a[(D+14)%16],k=u[(D+14)%16],E=(b>>>19|k<<13)^(k>>>29|b<<3)^b>>>6,g=(k>>>19|b<<13)^(b>>>29|k<<3)^(k>>>6|b<<26),x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,S+=x>>>16,f+=S>>>16,M+=f>>>16,a[D]=f&65535|M<<16,u[D]=x&65535|S<<16}E=w,g=N,x=g&65535,S=g>>>16,f=E&65535,M=E>>>16,E=c[0],g=d[0],x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,S+=x>>>16,f+=S>>>16,M+=f>>>16,c[0]=w=f&65535|M<<16,d[0]=N=x&65535|S<<16,E=T,g=_,x=g&65535,S=g>>>16,f=E&65535,M=E>>>16,E=c[1],g=d[1],x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,S+=x>>>16,f+=S>>>16,M+=f>>>16,c[1]=T=f&65535|M<<16,d[1]=_=x&65535|S<<16,E=A,g=L,x=g&65535,S=g>>>16,f=E&65535,M=E>>>16,E=c[2],g=d[2],x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,S+=x>>>16,f+=S>>>16,M+=f>>>16,c[2]=A=f&65535|M<<16,d[2]=L=x&65535|S<<16,E=O,g=H,x=g&65535,S=g>>>16,f=E&65535,M=E>>>16,E=c[3],g=d[3],x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,S+=x>>>16,f+=S>>>16,M+=f>>>16,c[3]=O=f&65535|M<<16,d[3]=H=x&65535|S<<16,E=v,g=F,x=g&65535,S=g>>>16,f=E&65535,M=E>>>16,E=c[4],g=d[4],x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,S+=x>>>16,f+=S>>>16,M+=f>>>16,c[4]=v=f&65535|M<<16,d[4]=F=x&65535|S<<16,E=B,g=G,x=g&65535,S=g>>>16,f=E&65535,M=E>>>16,E=c[5],g=d[5],x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,S+=x>>>16,f+=S>>>16,M+=f>>>16,c[5]=B=f&65535|M<<16,d[5]=G=x&65535|S<<16,E=R,g=l,x=g&65535,S=g>>>16,f=E&65535,M=E>>>16,E=c[6],g=d[6],x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,S+=x>>>16,f+=S>>>16,M+=f>>>16,c[6]=R=f&65535|M<<16,d[6]=l=x&65535|S<<16,E=U,g=p,x=g&65535,S=g>>>16,f=E&65535,M=E>>>16,E=c[7],g=d[7],x+=g&65535,S+=g>>>16,f+=E&65535,M+=E>>>16,S+=x>>>16,f+=S>>>16,M+=f>>>16,c[7]=U=f&65535|M<<16,d[7]=p=x&65535|S<<16,y+=128,C-=128}return y}function n(a){var u=new o;u.update(a);var c=u.digest();return u.clean(),c}e.hash=n}),ZPe=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=NPe(),r=LPe(),o=PS();e.SIGNATURE_LENGTH=64,e.PUBLIC_KEY_LENGTH=32,e.SECRET_KEY_LENGTH=64,e.SEED_LENGTH=32;function s(de){let ue=new Float64Array(16);if(de)for(let ae=0;ae<de.length;ae++)ue[ae]=de[ae];return ue}var i=new Uint8Array(32);i[0]=9;var n=s(),a=s([1]),u=s([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),c=s([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),d=s([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),h=s([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),y=s([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function C(de,ue){for(let ae=0;ae<16;ae++)de[ae]=ue[ae]|0}function w(de){let ue=1;for(let ae=0;ae<16;ae++){let q=de[ae]+ue+65535;ue=Math.floor(q/65536),de[ae]=q-ue*65536}de[0]+=ue-1+37*(ue-1)}function T(de,ue,ae){let q=~(ae-1);for(let ne=0;ne<16;ne++){let me=q&(de[ne]^ue[ne]);de[ne]^=me,ue[ne]^=me}}function A(de,ue){let ae=s(),q=s();for(let ne=0;ne<16;ne++)q[ne]=ue[ne];w(q),w(q),w(q);for(let ne=0;ne<2;ne++){ae[0]=q[0]-65517;for(let ve=1;ve<15;ve++)ae[ve]=q[ve]-65535-(ae[ve-1]>>16&1),ae[ve-1]&=65535;ae[15]=q[15]-32767-(ae[14]>>16&1);let me=ae[15]>>16&1;ae[14]&=65535,T(q,ae,1-me)}for(let ne=0;ne<16;ne++)de[2*ne]=q[ne]&255,de[2*ne+1]=q[ne]>>8}function O(de,ue){let ae=0;for(let q=0;q<32;q++)ae|=de[q]^ue[q];return(1&ae-1>>>8)-1}function v(de,ue){let ae=new Uint8Array(32),q=new Uint8Array(32);return A(ae,de),A(q,ue),O(ae,q)}function B(de){let ue=new Uint8Array(32);return A(ue,de),ue[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38*Rt,re+=38*_r,Oe+=38*jt,Pe+=38*Fe,Ne+=38*Pr,Xe+=38*$t,Je+=38*Qt,ft+=38*At,Kt+=38*ur,ne=1,q=me+ne+65535,ne=Math.floor(q/65536),me=q-ne*65536,q=ve+ne+65535,ne=Math.floor(q/65536),ve=q-ne*65536,q=ge+ne+65535,ne=Math.floor(q/65536),ge=q-ne*65536,q=ce+ne+65535,ne=Math.floor(q/65536),ce=q-ne*65536,q=ee+ne+65535,ne=Math.floor(q/65536),ee=q-ne*65536,q=fe+ne+65535,ne=Math.floor(q/65536),fe=q-ne*65536,q=ie+ne+65535,ne=Math.floor(q/65536),ie=q-ne*65536,q=re+ne+65535,ne=Math.floor(q/65536),re=q-ne*65536,q=Oe+ne+65535,ne=Math.floor(q/65536),Oe=q-ne*65536,q=Pe+ne+65535,ne=Math.floor(q/65536),Pe=q-ne*65536,q=Ne+ne+65535,ne=Math.floor(q/65536),Ne=q-ne*65536,q=Xe+ne+65535,ne=Math.floor(q/65536),Xe=q-ne*65536,q=Je+ne+65535,ne=Math.floor(q/65536),Je=q-ne*65536,q=ft+ne+65535,ne=Math.floor(q/65536),ft=q-ne*65536,q=Kt+ne+65535,ne=Math.floor(q/65536),Kt=q-ne*65536,q=wt+ne+65535,ne=Math.floor(q/65536),wt=q-ne*65536,me+=ne-1+37*(ne-1),ne=1,q=me+ne+65535,ne=Math.floor(q/65536),me=q-ne*65536,q=ve+ne+65535,ne=Math.floor(q/65536),ve=q-ne*65536,q=ge+ne+65535,ne=Math.floor(q/65536),ge=q-ne*65536,q=ce+ne+65535,ne=Math.floor(q/65536),ce=q-ne*65536,q=ee+ne+65535,ne=Math.floor(q/65536),ee=q-ne*65536,q=fe+ne+65535,ne=Math.floor(q/65536),fe=q-ne*65536,q=ie+ne+65535,ne=Math.floor(q/65536),ie=q-ne*65536,q=re+ne+65535,ne=Math.floor(q/65536),re=q-ne*65536,q=Oe+ne+65535,ne=Math.floor(q/65536),Oe=q-ne*65536,q=Pe+ne+65535,ne=Math.floor(q/65536),Pe=q-ne*65536,q=Ne+ne+65535,ne=Math.floor(q/65536),Ne=q-ne*65536,q=Xe+ne+65535,ne=Math.floor(q/65536),Xe=q-ne*65536,q=Je+ne+65535,ne=Math.floor(q/65536),Je=q-ne*65536,q=ft+ne+65535,ne=Math.floor(q/65536),ft=q-ne*65536,q=Kt+ne+65535,ne=Math.floor(q/65536),Kt=q-ne*65536,q=wt+ne+65535,ne=Math.floor(q/65536),wt=q-ne*65536,me+=ne-1+37*(ne-1),de[0]=me,de[1]=ve,de[2]=ge,de[3]=ce,de[4]=ee,de[5]=fe,de[6]=ie,de[7]=re,de[8]=Oe,de[9]=Pe,de[10]=Ne,de[11]=Xe,de[12]=Je,de[13]=ft,de[14]=Kt,de[15]=wt}function L(de,ue){_(de,ue,ue)}function H(de,ue){let ae=s(),q;for(q=0;q<16;q++)ae[q]=ue[q];for(q=253;q>=0;q--)L(ae,ae),q!==2&&q!==4&&_(ae,ae,ue);for(q=0;q<16;q++)de[q]=ae[q]}function F(de,ue){let ae=s(),q;for(q=0;q<16;q++)ae[q]=ue[q];for(q=250;q>=0;q--)L(ae,ae),q!==1&&_(ae,ae,ue);for(q=0;q<16;q++)de[q]=ae[q]}function G(de,ue){let ae=s(),q=s(),ne=s(),me=s(),ve=s(),ge=s(),ce=s(),ee=s(),fe=s();N(ae,de[1],de[0]),N(fe,ue[1],ue[0]),_(ae,ae,fe),U(q,de[0],de[1]),U(fe,ue[0],ue[1]),_(q,q,fe),_(ne,de[3],ue[3]),_(ne,ne,c),_(me,de[2],ue[2]),U(me,me,me),N(ve,q,ae),N(ge,me,ne),U(ce,me,ne),U(ee,q,ae),_(de[0],ve,ge),_(de[1],ee,ce),_(de[2],ce,ge),_(de[3],ve,ee)}function l(de,ue,ae){for(let q=0;q<4;q++)T(de[q],ue[q],ae)}function p(de,ue){let ae=s(),q=s(),ne=s();H(ne,ue[2]),_(ae,ue[0],ne),_(q,ue[1],ne),A(de,q),de[31]^=B(ae)<<7}function E(de,ue,ae){C(de[0],n),C(de[1],a),C(de[2],a),C(de[3],n);for(let q=255;q>=0;--q){let ne=ae[q/8|0]>>(q&7)&1;l(de,ue,ne),G(ue,de),G(de,de),l(de,ue,ne)}}function g(de,ue){let ae=[s(),s(),s(),s()];C(ae[0],d),C(ae[1],h),C(ae[2],a),_(ae[3],d,h),E(de,ae,ue)}function b(de){if(de.length!==e.SEED_LENGTH)throw new Error(`ed25519: seed must be ${e.SEED_LENGTH} bytes`);let ue=(0,r.hash)(de);ue[0]&=248,ue[31]&=127,ue[31]|=64;let ae=new Uint8Array(32),q=[s(),s(),s(),s()];g(q,ue),p(ae,q);let ne=new Uint8Array(64);return ne.set(de),ne.set(ae,32),{publicKey:ae,secretKey:ne}}e.generateKeyPairFromSeed=b;function k(de){let ue=(0,t.randomBytes)(32,de),ae=b(ue);return(0,o.wipe)(ue),ae}e.generateKeyPair=k;function x(de){if(de.length!==e.SECRET_KEY_LENGTH)throw new Error(`ed25519: secret key must be ${e.SECRET_KEY_LENGTH} bytes`);return new Uint8Array(de.subarray(32))}e.extractPublicKeyFromSecretKey=x;var S=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 f(de,ue){let ae,q,ne,me;for(q=63;q>=32;--q){for(ae=0,ne=q-32,me=q-12;ne<me;++ne)ue[ne]+=ae-16*ue[q]*S[ne-(q-32)],ae=Math.floor((ue[ne]+128)/256),ue[ne]-=ae*256;ue[ne]+=ae,ue[q]=0}for(ae=0,ne=0;ne<32;ne++)ue[ne]+=ae-(ue[31]>>4)*S[ne],ae=ue[ne]>>8,ue[ne]&=255;for(ne=0;ne<32;ne++)ue[ne]-=ae*S[ne];for(q=0;q<32;q++)ue[q+1]+=ue[q]>>8,de[q]=ue[q]&255}function M(de){let ue=new Float64Array(64);for(let ae=0;ae<64;ae++)ue[ae]=de[ae];for(let ae=0;ae<64;ae++)de[ae]=0;f(de,ue)}function V(de,ue){let ae=new Float64Array(64),q=[s(),s(),s(),s()],ne=(0,r.hash)(de.subarray(0,32));ne[0]&=248,ne[31]&=127,ne[31]|=64;let me=new Uint8Array(64);me.set(ne.subarray(32),32);let ve=new r.SHA512;ve.update(me.subarray(32)),ve.update(ue);let ge=ve.digest();ve.clean(),M(ge),g(q,ge),p(me,q),ve.reset(),ve.update(me.subarray(0,32)),ve.update(de.subarray(32)),ve.update(ue);let ce=ve.digest();M(ce);for(let ee=0;ee<32;ee++)ae[ee]=ge[ee];for(let ee=0;ee<32;ee++)for(let fe=0;fe<32;fe++)ae[ee+fe]+=ce[ee]*ne[fe];return f(me.subarray(32),ae),me}e.sign=V;function D(de,ue){let ae=s(),q=s(),ne=s(),me=s(),ve=s(),ge=s(),ce=s();return C(de[2],a),R(de[1],ue),L(ne,de[1]),_(me,ne,u),N(ne,ne,de[2]),U(me,de[2],me),L(ve,me),L(ge,ve),_(ce,ge,ve),_(ae,ce,ne),_(ae,ae,me),F(ae,ae),_(ae,ae,ne),_(ae,ae,me),_(ae,ae,me),_(de[0],ae,me),L(q,de[0]),_(q,q,me),v(q,ne)&&_(de[0],de[0],y),L(q,de[0]),_(q,q,me),v(q,ne)?-1:(B(de[0])===ue[31]>>7&&N(de[0],n,de[0]),_(de[3],de[0],de[1]),0)}function j(de,ue,ae){let q=new Uint8Array(32),ne=[s(),s(),s(),s()],me=[s(),s(),s(),s()];if(ae.length!==e.SIGNATURE_LENGTH)throw new Error(`ed25519: signature must be ${e.SIGNATURE_LENGTH} bytes`);if(D(me,de))return!1;let ve=new r.SHA512;ve.update(ae.subarray(0,32)),ve.update(de),ve.update(ue);let ge=ve.digest();return M(ge),E(ne,me,ge),g(me,ae.subarray(32)),G(ne,me),p(q,ne),!O(ae,q)}e.verify=j;function Y(de){let ue=[s(),s(),s(),s()];if(D(ue,de))throw new Error("Ed25519: invalid public key");let ae=s(),q=s(),ne=ue[1];U(ae,a,ne),N(q,a,ne),H(q,q),_(ae,ae,q);let me=new Uint8Array(32);return A(me,ae),me}e.convertPublicKeyToX25519=Y;function oe(de){let ue=(0,r.hash)(de.subarray(0,32));ue[0]&=248,ue[31]&=127,ue[31]|=64;let ae=new Uint8Array(ue.subarray(0,32));return(0,o.wipe)(ue),ae}e.convertSecretKeyToX25519=oe}),mee=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(H,F,G,l){l===void 0&&(l=G);var p=Object.getOwnPropertyDescriptor(F,G);(!p||("get"in p?!F.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return F[G]}}),Object.defineProperty(H,l,p)}:function(H,F,G,l){l===void 0&&(l=G),H[l]=F[G]}),r=e&&e.__setModuleDefault||(Object.create?function(H,F){Object.defineProperty(H,"default",{enumerable:!0,value:F})}:function(H,F){H.default=F}),o=e&&e.__importStar||(function(){var H=function(F){return H=Object.getOwnPropertyNames||function(G){var l=[];for(var p in G)Object.prototype.hasOwnProperty.call(G,p)&&(l[l.length]=p);return l},H(F)};return function(F){if(F&&F.__esModule)return F;var G={};if(F!=null)for(var l=H(F),p=0;p<l.length;p++)l[p]!=="default"&&t(G,F,l[p]);return r(G,F),G}})(),s=e&&e.__awaiter||function(H,F,G,l){function p(E){return E instanceof G?E:new G(function(g){g(E)})}return new(G||(G=Promise))(function(E,g){function b(S){try{x(l.next(S))}catch(f){g(f)}}function k(S){try{x(l.throw(S))}catch(f){g(f)}}function x(S){S.done?E(S.value):p(S.value).then(b,k)}x((l=l.apply(H,F||[])).next())})},i=e&&e.__importDefault||function(H){return H&&H.__esModule?H:{default:H}};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=y,e.decodeJSON=C,e.encodeJSON=w,e.encodeIss=T,e.decodeIss=A,e.encodeSig=O,e.decodeSig=v,e.encodeData=B,e.decodeData=R,e.encodeJWT=U,e.decodeJWT=N,e.signJWT=_,e.verifyJWT=L;var n=o(ZPe()),a=bv(),u=Zf(),c=i(oh()),d=o(Ks()),h=H$();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;function y(){return c.default.sign.keyPair()}function C(H){return(0,a.safeJsonParse)((0,h.okxtoString)((0,h.okxfromString)(H,e.JWT_ENCODING),e.JSON_ENCODING))}function w(H){return(0,h.okxtoString)((0,h.okxfromString)((0,a.safeJsonStringify)(H),e.JSON_ENCODING),e.JWT_ENCODING)}function T(H){d.logDebug(`publicKey: ${(0,u.toHexString)(H)}`);var F=(0,h.okxtoString)(H,e.MULTICODEC_ED25519_ENCODING);return[e.DID_PREFIX,e.DID_METHOD,F].join(e.DID_DELIMITER)}function A(H){let[F,G,l]=H.split(e.DID_DELIMITER);if(F!==e.DID_PREFIX||G!==e.DID_METHOD)throw new Error('Issuer must be a DID with method "key"');if(l===void 0)throw new Error("multicodec is undefined");let p=(0,h.okxfromString)(l,e.MULTICODEC_ED25519_ENCODING);if(p===void 0||p.length!==e.MULTICODEC_ED25519_LENGTH)throw new Error("Issuer must be a public key with length 32 bytes");return p}function O(H){return(0,h.okxtoString)(H,e.JWT_ENCODING)}function v(H){return(0,h.okxfromString)(H,e.JWT_ENCODING)}function B(H){return(0,h.okxfromString)([w(H.header),w(H.payload)].join(e.JWT_DELIMITER),e.DATA_ENCODING)}function R(H){var F,G;let l=(0,h.okxtoString)(H,e.DATA_ENCODING).split(e.JWT_DELIMITER),p=C((F=l[0])!==null&&F!==void 0?F:"{}"),E=C((G=l[1])!==null&&G!==void 0?G:"{}");return{header:p,payload:E}}function U(H){return[w(H.header),w(H.payload),O(H.signature)].join(e.JWT_DELIMITER)}function N(H){var F,G,l;let p=H.split(e.JWT_DELIMITER),E=C((F=p[0])!==null&&F!==void 0?F:"{}"),g=C((G=p[1])!==null&&G!==void 0?G:"{}"),b=v((l=p[2])!==null&&l!==void 0?l:"{}"),k=(0,h.okxfromString)(p.slice(0,2).join(e.JWT_DELIMITER),e.DATA_ENCODING);return{header:E,payload:g,signature:b,data:k}}function _(H,F,G,l){return s(this,arguments,void 0,function*(p,E,g,b,k=Math.floor(Date.now())){let x={alg:e.JWT_IRIDIUM_ALG,typ:e.JWT_IRIDIUM_TYP},S=T(b.publicKey),f=k+g,M={iss:S,sub:p,aud:E,act:"authenticate user",iat:k,exp:f},V=B({header:x,payload:M});d.logDebug(`get sec kp: ${b.secretKey} {${b.secretKey.length}}`);let D=c.default.sign.detached(V,b.secretKey);return U({header:x,payload:M,signature:D})})}function L(H){return s(this,void 0,void 0,function*(){let{header:F,payload:G,data:l,signature:p}=N(H);if(F.alg!==e.JWT_IRIDIUM_ALG||F.typ!==e.JWT_IRIDIUM_TYP)throw new Error("JWT must use EdDSA algorithm");let E=A(G.iss);return n.verify(E,l,p)})}}),vee=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(v,B,R,U){U===void 0&&(U=R);var N=Object.getOwnPropertyDescriptor(B,R);(!N||("get"in N?!B.__esModule:N.writable||N.configurable))&&(N={enumerable:!0,get:function(){return B[R]}}),Object.defineProperty(v,U,N)}:function(v,B,R,U){U===void 0&&(U=R),v[U]=B[R]}),r=e&&e.__setModuleDefault||(Object.create?function(v,B){Object.defineProperty(v,"default",{enumerable:!0,value:B})}:function(v,B){v.default=B}),o=e&&e.__importStar||(function(){var v=function(B){return v=Object.getOwnPropertyNames||function(R){var U=[];for(var N in R)Object.prototype.hasOwnProperty.call(R,N)&&(U[U.length]=N);return U},v(B)};return function(B){if(B&&B.__esModule)return B;var R={};if(B!=null)for(var U=v(B),N=0;N<U.length;N++)U[N]!=="default"&&t(R,B,U[N]);return r(R,B),R}})(),s=e&&e.__awaiter||function(v,B,R,U){function N(_){return _ instanceof R?_:new R(function(L){L(_)})}return new(R||(R=Promise))(function(_,L){function H(l){try{G(U.next(l))}catch(p){L(p)}}function F(l){try{G(U.throw(l))}catch(p){L(p)}}function G(l){l.done?_(l.value):N(l.value).then(H,F)}G((U=U.apply(v,B||[])).next())})},i=e&&e.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.ConnectionSplitPackages=void 0;var n=PT(),a=i(QU()),u=Zf(),c=bv(),d=o(Ks()),h=Ks(),y=2,C=63e3,w="ConnectionReceiveKey",T="ConnectionSendKey",A="ConnectionSenderVersionKey",O=class{constructor(v){this.splitMessageSendArray=new Map,this.splitMessageReceivedArray=new Map,this.splitMessageSenderVersionMap=new Map,this.splitPackageCache=a.default.createInstance({name:n.OKXCONNECTOR_STORAGE_PROTOCOL_CACHE+v})}init(v){return s(this,void 0,void 0,function*(){if(yield this.recoverFromCache(),this.splitMessageSendArray.size>0){for(let[B,R]of this.splitMessageSendArray.entries())for(let U=0;U<R.length;){let N=R[U];try{yield v((0,c.safeJsonStringify)(N),B),d.logDebug(`Successfully sent payload: ${(0,c.safeJsonStringify)(N)} to topic: ${B}`),R.splice(U,1)}catch(_){d.logError(`Failed to send payload: ${(0,c.safeJsonStringify)(N)} to topic: ${B}`,_),N.retryCount=(N.retryCount||0)+1,N.retryCount>3?(d.logError(`Payload failed after 3 retries: ${(0,c.safeJsonStringify)(N)}`),R.splice(U,1)):U++}}yield this.syncCache()}})}tryParseMessageSplitPayload(v){var B;let R;try{if(v.trimStart().startsWith("{")){let U=(0,c.safeJsonParse)(v);if(U&&U.protocol_version&&U.protocol_version>=2){let N=U;N.package_group_id&&((B=N.package_group_id)===null||B===void 0?void 0:B.length)>0&&(R=U)}}else(0,h.logDebug)("not split packages")}catch{(0,h.logDebug)("not split packages")}return R}updateTopicSenderVersion(v,B){return s(this,void 0,void 0,function*(){this.splitMessageSenderVersionMap.set(v,B),yield this.syncCache(),(0,h.logDebug)("get update topic sender version: ",v,B)})}sendSplitPackages(v,B,R,U){return s(this,void 0,void 0,function*(){if(!v){d.logError("sendSplitPackages invalid topic");return}let N=this.splitMessageSenderVersionMap.get(v),_=B.length;try{if(_<C)throw new Error(`no need to split (size:${_})`);if(!N||N&&N<y)throw new Error(`version not support split (version: ${N})`);let L=[],H=C;for(let l=0;l<B.length;l+=H)l+H<B.length?L.push(B.slice(l,l+H)):L.push(B.slice(l));let F=(0,u.generateGroupId)(),G=L.map((l,p)=>({topicId:v,protocol_version:y,total_count:L.length,package_index:p,package_group_id:F,content:l}));this.mergePackageArray(!0,G);for(let l=0;l<G.length;){let p=G[l],E=(0,c.safeJsonStringify)(p);try{yield U(E,v),d.logDebug(`Successfully sent payload: ${E} to topic: ${v}`),G.splice(l,1)}catch(g){d.logError(`Failed to send payload: ${E} to topic: ${v}`,g),p.retryCount=(p.retryCount||0)+1,p.retryCount>3?(d.logError(`Payload failed after 3 retries: ${E}`),G.splice(l,1)):l++}}this.splitMessageSendArray.set(v,[]),yield this.syncCache()}catch(L){(0,h.logDebug)("send split packages no split"),(0,h.logDebug)(L),yield R(v,B)}})}onReceivedPackageCheck(v){return s(this,void 0,void 0,function*(){this.mergePackageArray(!1,[v]);let B=new Map,R=v.topicId;this.splitMessageReceivedArray.forEach((N,_)=>{_==v.topicId&&N.forEach(L=>{if(L.messageObject.package_group_id){let H=B.get(L.messageObject.package_group_id);H||(H=new Array),H.push(L),B.set(L.messageObject.package_group_id,H)}})}),(0,h.logDebug)("on received message, check message cache");let U={isSplitPackage:!1};if(v.messageObject.package_group_id){U.isSplitPackage=!0;let N=B.get(v.messageObject.package_group_id);if(N?.length){let _=new Set;if(N.forEach(L=>{L.messageObject.package_index!==void 0&&_.add(L.messageObject.package_index)}),_.size==v.messageObject.total_count){N.sort((G,l)=>(G.messageObject.package_index||G.messageObject.package_index===0)&&(l.messageObject.package_index||l.messageObject.package_index===0)?G.messageObject.package_index-l.messageObject.package_index:0);let L=N.reduce((G,l)=>(G.push(l.messageObject.content),G),[]),H=N.reduce((G,l)=>(G.push(l.messageId),G),[]);U.isSplitPackage=!0,U.finalMessage=L.join(""),U.completeMessageIdList=H;let F=this.splitMessageReceivedArray.get(R);F&&(F=F.filter(G=>!H.includes(G.messageId)),this.splitMessageReceivedArray.set(R,F)),yield this.syncCache()}}}return U})}mergePackageArray(v,B){return s(this,void 0,void 0,function*(){if((0,h.logDebug)("append sending array"),v){let R=B.filter(U=>{let N=U.topicId,_=!0;return this.splitMessageSendArray.get(N)?.forEach(H=>{H.package_group_id==U.package_group_id&&H.total_count==U.total_count&&H.package_index==U.package_index&&(_=!1)}),_});if(R.length>0){let U=R[0].topicId,N=this.splitMessageSendArray.get(U);N||(N=new Array),N=N.concat(R),this.splitMessageSendArray.set(U,N),(0,h.logDebug)("append sending array (after filted): ",N)}}else{let R=B.filter(U=>{let N=U.topicId,_=!0;return this.splitMessageReceivedArray.get(N)?.forEach(H=>{H.messageId==U.messageId&&(_=!1)}),_});if(R.length>0){let U=R[0].topicId,N=this.splitMessageReceivedArray.get(U);N||(N=new Array),N=N.concat(R),this.splitMessageReceivedArray.set(U,N),(0,h.logDebug)("append received array (after filted): ",N)}}})}syncCache(){return s(this,void 0,void 0,function*(){(0,h.logDebug)("sync split message cache"),yield this.splitPackageCache.setItem(w,this.splitMessageReceivedArray),yield this.splitPackageCache.setItem(T,this.splitMessageSendArray),yield this.splitPackageCache.setItem(A,this.splitMessageSenderVersionMap)})}recoverFromCache(){return s(this,void 0,void 0,function*(){let v=yield this.splitPackageCache.getItem(w);v?this.splitMessageReceivedArray=v:this.splitMessageReceivedArray=new Map;let B=yield this.splitPackageCache.getItem(T);B?this.splitMessageSendArray=B:this.splitMessageSendArray=new Map;let R=yield this.splitPackageCache.getItem(A);R?this.splitMessageSenderVersionMap=R:this.splitMessageSenderVersionMap=new Map})}};e.ConnectionSplitPackages=O}),Eee=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(N,_,L,H){H===void 0&&(H=L);var F=Object.getOwnPropertyDescriptor(_,L);(!F||("get"in F?!_.__esModule:F.writable||F.configurable))&&(F={enumerable:!0,get:function(){return _[L]}}),Object.defineProperty(N,H,F)}:function(N,_,L,H){H===void 0&&(H=L),N[H]=_[L]}),r=e&&e.__setModuleDefault||(Object.create?function(N,_){Object.defineProperty(N,"default",{enumerable:!0,value:_})}:function(N,_){N.default=_}),o=e&&e.__importStar||(function(){var N=function(_){return N=Object.getOwnPropertyNames||function(L){var H=[];for(var F in L)Object.prototype.hasOwnProperty.call(L,F)&&(H[H.length]=F);return H},N(_)};return function(_){if(_&&_.__esModule)return _;var L={};if(_!=null)for(var H=N(_),F=0;F<H.length;F++)H[F]!=="default"&&t(L,_,H[F]);return r(L,_),L}})(),s=e&&e.__awaiter||function(N,_,L,H){function F(G){return G instanceof L?G:new L(function(l){l(G)})}return new(L||(L=Promise))(function(G,l){function p(b){try{g(H.next(b))}catch(k){l(k)}}function E(b){try{g(H.throw(b))}catch(k){l(k)}}function g(b){b.done?G(b.value):F(b.value).then(p,E)}g((H=H.apply(N,_||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.ConnectionManager=void 0;var i=H9(),n=tee(),a=PT(),u=ree(),c=OT(),d=Qf(),h=fO(),y=Zf(),C=iee(),w=mee(),T=bv(),A=o(Ks()),O=Ks(),v=oO(),B=US(),R=vee(),U=class{constructor(N=void 0){this.events=new d.EventEmitter,this.splitManager=new R.ConnectionSplitPackages("dapp"),this.connectorEnable=!1,this.connectStorage=new h.Storage(a.OKXCONNECTOR_CACHE_KEY_DAPP+N,a.OKXCONNECTOR_CACHE_KEY_DAPP),this.tonsdkConnectStorage=new h.Storage(a.OKXCONNECTOR_TON_KEY+N,a.OKXCONNECTOR_TON_KEY),this.crypto=new C.SessionCrypto;let _=(0,B.isInTMA)();if((0,O.logDebug)("do init:",_),A.reportLog("connection manager do init"),_)try{let L=this.getCachedCryptoKeyPair();(0,O.logDebug)("use same pk:",L),this.crypto=new C.SessionCrypto(L)}catch{this.connectStorage.clearCache(),A.reportEvent(v.OKXReportType.LOG,"cache_fail","cache failed")}this.jwtKeyPair=this.getCachedJWTKeyPair(),this.saveJWTKeyPair(this.jwtKeyPair),this.connector=new i.OKXWalletConnector(c.OKXCONNECTOR_WS_URL_1),this.packageId=Date.now(),this.connectedWalletPK="",this.currentTopic="",A.logDebug(`this.connectedWalletPK  constructor   ${this.connectedWalletPK}`)}refreshPackageId(){let N=Date.now();N==this.packageId&&(this.packageId=N+1),this.packageId=N}saveCryptoKeyPair(N){let _=(0,T.safeJsonStringify)(N);this.connectStorage.encryptStoreMsg(_,a.OKXCONNECTOR_CRYPTO_KEY)}getCachedCryptoKeyPair(){let N=this.connectStorage.getAndDecrypt(a.OKXCONNECTOR_CRYPTO_KEY);return typeof N=="string"?(A.logDebug("get cached crypto key:"),A.logDebug(N),(0,T.safeJsonParse)(N)):(this.connectStorage.clearCache(),null)}saveJWTKeyPair(N){var _={publicKey:(0,y.toHexString)(N.publicKey),secretKey:(0,y.toHexString)(N.secretKey)};A.logDebug("save jwt kp");let L=(0,T.safeJsonStringify)(_);A.logDebug(L),this.connectStorage.encryptStoreMsg(L,a.OKXCONNECTOR_JWT_KEY)}getCachedJWTKeyPair(){try{let _=this.connectStorage.getAndDecrypt(a.OKXCONNECTOR_JWT_KEY);if(typeof _=="string"){A.logDebug("get cached jwt kp:"),A.logDebug(_);let L=(0,T.safeJsonParse)(_);A.logDebug("save jwt kp"),A.logDebug(L);var N={publicKey:(0,y.hexToByteArray)(L.publicKey),secretKey:(0,y.hexToByteArray)(L.secretKey)};return N}else return(0,w.generateKeyPair)()}catch{return A.reportEvent(v.OKXReportType.LOG,"cache_fail","cache failed"),(0,w.generateKeyPair)()}}isWalletPKReady(){return A.logDebug(`isWalletPKReady  ===> ${this.connectedWalletPK}`),this.connectedWalletPK.length>0}makeJWT(N){return s(this,void 0,void 0,function*(){return yield(0,w.signJWT)(N,u.OKXCONNECTOR_JWT_SIDE,u.OKXCONNECTOR_JWT_TTL,this.jwtKeyPair)})}parsePackage(N){return s(this,arguments,void 0,function*(_,L=!1){var H,F,G,l,p,E,g,b,k,x,S,f,M;if(this.events.emit(_.id,_),!L){yield this.sendACK(_.id,!0);let V=(H=this.connectStorage.getItem(a.OKXCONNECTOR_TOKEN_CACHE))===null||H===void 0?void 0:H.content;if(V){let D=_;if(!((G=(F=D.params)===null||F===void 0?void 0:F.data)===null||G===void 0)&&G.messageId){D.method&&D.method===n.CONNECT_METHOD_PUSH&&((0,O.logDebug)("checkExpire: update expire when get push"),this.updateExpireLimit(V));let j=this.splitManager.tryParseMessageSplitPayload((p=(l=D.params)===null||l===void 0?void 0:l.data)===null||p===void 0?void 0:p.message);if(j){let Y={topicId:(g=(E=D.params)===null||E===void 0?void 0:E.data)===null||g===void 0?void 0:g.topic,messageId:(k=(b=D.params)===null||b===void 0?void 0:b.data)===null||k===void 0?void 0:k.messageId,messageObject:j,publishedAt:(S=(x=D.params)===null||x===void 0?void 0:x.data)===null||S===void 0?void 0:S.publishedAt},oe=yield this.splitManager.onReceivedPackageCheck(Y);oe.completeMessageIdList&&oe.completeMessageIdList.forEach(de=>s(this,void 0,void 0,function*(){this.refreshPackageId(),yield this.sendReceive(this.packageId.toString(),de,V)}))}else this.refreshPackageId(),yield this.sendReceive(this.packageId.toString(),(M=(f=D.params)===null||f===void 0?void 0:f.data)===null||M===void 0?void 0:M.messageId,V)}}}})}restoreConnect(N){return s(this,void 0,void 0,function*(){if(A.reportLog("connection manager restore connection"),A.logDebug(`connectionManager  restoreConenct   ${N}`),typeof N!="string"||N.length===0)throw new Error("CONNECTION: invalid topic");A.logDebug("connectionManager  restoreConenct   disconnect"),yield this.disconnect(!0),this.connectStorage.saveContent(N,a.OKXCONNECTOR_TOKEN_CACHE),A.logDebug("connectionManager  restoreConenct   conect"),yield this.connect(!0)})}getConnectInfo(){var N=(0,y.generateTopic)();return A.logDebug(`generate topic token: ${N}`),A.reportLog("connection manager generate connection info"),this.currentTopic=N,{channelId:N,clientId:this.crypto.stringifyKeypair().publicKey}}connect(){return s(this,arguments,void 0,function*(N=!1){this.timeLog=new Date().getTime(),(0,O.logDebug)("ConnectTime---enter->",this.timeLog),A.reportLog("connection manager begin connect");let _=this.connectStorage.getItem(a.OKXCONNECTOR_TOKEN_CACHE);var L=this.currentTopic;if(A.logDebug(`generate topic token: ${L}`),N){typeof _<"u"&&_!==null&&(A.logDebug(`read last connect id: ${_}`),L=_.content);var H=this.connectStorage.getItem(a.OKXCONNECTOR_CRYPTO_SENDER_PK_CACHE);H&&(this.connectedWalletPK=H.content,(0,O.logDebug)(`connectionManager connect() this.connectedWalletPK : ${this.connectedWalletPK}`)),A.reportLog("connection manager do restore connection")}if(N)try{let G=this.getCachedCryptoKeyPair();G&&(this.crypto=new C.SessionCrypto(G))}catch{throw A.logError("get crypto key pair from cache failed"),A.reportEvent(v.OKXReportType.LOG,"cache_fail","cache failed"),this.connectStorage.clearCache(),new Error("crypto cache failed")}A.logDebug(`use crypto client id: ${this.crypto.stringifyKeypair().publicKey}`),this.connectStorage.saveContent(L,a.OKXCONNECTOR_TOKEN_CACHE);var F=yield this.makeJWT(L);return A.logDebug(`generate jwt token: ${F}`),this.connectStorage.saveContent(F,"jwt"),new Promise((G,l)=>{this.connector.onOpen(()=>s(this,void 0,void 0,function*(){A.logDebug("1. connector on open"),A.reportLog("1. connect ws open");let p=new Date().getTime();(0,O.logDebug)("ConnectTime---open->",p-this.timeLog),this.events.once(this.packageId.toString(),E=>s(this,void 0,void 0,function*(){if(E&&E.error){A.logError("failed when login"),A.reportLog("2. connect login failed"),yield this.connector.disconnect();var g=new Error;g.message=E.error.message,g.name=E.error.code.toString(),l(g)}this.refreshPackageId(),this.events.once(this.packageId.toString(),k=>s(this,void 0,void 0,function*(){if(k&&k.error){A.logError("failed when subscribe"),A.reportLog("3. connect subscribe failed"),yield this.connector.disconnect();var x=new Error;x.message=k.error.message,x.name=k.error.code.toString(),l(x)}this.refreshPackageId(),A.logDebug(`4. subscribe callback then send fetch: ${this.packageId}`),A.reportLog("4. subscribe callback then send fetch");let S=new Date().getTime();(0,O.logDebug)("ConnectTime--subscribe callback->",S-this.timeLog),yield this.sendFetchAndConsumeMessages(this.packageId.toString(),L),A.logDebug(`5. splitmanager init: ${this.packageId}`),A.reportLog("5. splitmanager init"),yield this.splitManager.init(this.sendRaw.bind(this)),N&&(this.checkExpire(L)?((0,O.logDebug)("disconnect From topic expire"),setTimeout(()=>{this.activateDisconnect()},1e3)):((0,O.logDebug)("extends expire check"),this.updateExpireLimit(L))),G()})),A.logDebug(`3. login callback then send subscribe: ${this.packageId}`),A.reportLog("3. connect subscribe failed");let b=new Date().getTime();(0,O.logDebug)("ConnectTime---login callback->",b-this.timeLog),yield this.connector.send(()=>s(this,void 0,void 0,function*(){A.logDebug("CONNECT: reconnect before send"),yield this.connector.connect().catch(k=>{(0,O.logDebug)("ConnectionManager connect error",k),l(k)})}),{id:this.packageId.toString(),jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_SUB,params:{topic:L}})})),A.logDebug("2. login called"),A.reportLog("2. connection manager connect call login"),yield this.connector.send(()=>s(this,void 0,void 0,function*(){A.logDebug("CONNECT: reconnect before send"),yield this.connector.connect().catch(E=>{(0,O.logDebug)("ConnectionManager connect error",E),l(E)})}),{id:this.packageId.toString(),jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_LOGIN,params:{token:F}}),this.connector.addPackageParse(E=>{var g;if(A.logDebug("connect: parse package"),A.logDebug(E),!("params"in E)||!("data"in E.params)){this.parsePackage(E,!0);return}let b=(g=E.params.data)===null||g===void 0?void 0:g.message;if(typeof b<"u"&&b.length>0){b=b.replace(/'/g,'"');let k=(0,T.safeJsonParse)(b);typeof k!="string"&&"clientId"in k&&k.clientId&&k.clientId.length>0&&(this.connectedWalletPK=k.clientId,A.logDebug(`this.connectedWalletPK  addPackageParse   ${this.connectedWalletPK}`),this.connectStorage.saveContent(this.connectedWalletPK,a.OKXCONNECTOR_CRYPTO_SENDER_PK_CACHE),this.saveCryptoKeyPair(this.crypto.stringifyKeypair()))}this.parsePackage(E,E.method===n.CONNECT_METHOD_RECEIVE)})})),this.connector.connect().catch(p=>{(0,O.logDebug)("ConnectionManager connect error",p),l(p)}),this.connectorEnable=!0})})}sendSubscribe(N){return s(this,void 0,void 0,function*(){this.refreshPackageId(),yield this.connector.send(()=>s(this,void 0,void 0,function*(){}),{id:this.packageId.toString(),jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_SUB,params:{topic:N}})})}sendDisconnect(N){return s(this,void 0,void 0,function*(){return new Promise((_,L)=>s(this,void 0,void 0,function*(){if(this.refreshPackageId(),!this.connectorEnable){A.logDebug("skip disconnect before connected relay"),_();return}this.events.once(this.packageId.toString(),F=>s(this,void 0,void 0,function*(){A.logDebug("CONNECT: disconnect command send"),this.connectorEnable=!1,_()}));let H={id:this.packageId.toString(),jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_DISCONNECT,params:{message:{topic:N,ttl:c.OKXCONNECTOR_MESSAGE_DISCONNECT_TTL}}};yield this.connector.send(()=>s(this,void 0,void 0,function*(){A.logDebug("CONNECT: skip reconnect send")}),H)}))})}sendRecvDisconnect(N){return s(this,void 0,void 0,function*(){this.refreshPackageId();let _={id:this.packageId.toString(),jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_RECV_DISCONNECT,params:{topic:N}};yield this.connector.send(()=>s(this,void 0,void 0,function*(){return A.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),_)})}disconnect(){return s(this,arguments,void 0,function*(N=!1){try{yield this.sendDisconnect(this.currentTopic)}catch(_){A.logError("send disconnect command failed",_)}yield this.connector.disconnect(),A.reportLog("connect disconnect"),this.connectStorage.clearCache(a.OKXCONNECTOR_TOKEN_CACHE),N||(this.connectStorage.clearCache(a.OKXCONNECTOR_CRYPTO_SENDER_PK_CACHE),this.connectedWalletPK="",(0,O.logDebug)(`connectionManager disconnect() this.connectedWalletPK : ${this.connectedWalletPK}`))})}updateProtocolVersion(N,_){this.splitManager.updateTopicSenderVersion(N,_)}addListener(N,_,L){this.connector.addListener((0,T.safeJsonStringify)(N),H=>{if(H=H.replace(/'/g,'"'),A.logDebug(`addListener ===> ${H}`),typeof H<"u"&&H.length>0){var F=(0,T.safeJsonParse)(H),G=F.message;let l;return G.trimStart().startsWith("{")?l=G:(F.clientId&&F.clientId.length>0&&(this.connectedWalletPK=F.clientId,this.connectStorage.saveContent(this.connectedWalletPK,a.OKXCONNECTOR_CRYPTO_SENDER_PK_CACHE),A.logDebug(`this.connectedWalletPK  addListener   ${this.connectedWalletPK}`),A.logDebug(`this.cryptoKey  addListener   ${(0,y.toHexString)(this.crypto.keyPair.publicKey)}`),this.saveCryptoKeyPair(this.crypto.stringifyKeypair())),l=this.crypto.decrypt(G,this.connectedWalletPK)),A.logDebug(`addListener ===> ${l}`),l}},_,L,H=>new Promise((F,G)=>s(this,void 0,void 0,function*(){let l=this.splitManager.tryParseMessageSplitPayload(H.message);if(l){let p={topicId:H.topic,messageId:H?.messageId,messageObject:l,publishedAt:H?.publishedAt},E=yield this.splitManager.onReceivedPackageCheck(p);F(E)}else F({isSplitPackage:!1})})))}sendRaw(N){return s(this,void 0,void 0,function*(){A.logDebug(`message send =====> ${N}`),A.reportLog("connect send raw msg");let _=N;A.logDebug(`message send =====encrypt message.length>>>> ${_.length}`);let L=this.connectStorage.getItem(a.OKXCONNECTOR_TOKEN_CACHE);A.logDebug(`message send =====topic>>>> ${L?.content}`),this.refreshPackageId();let H={id:this.packageId.toString(),method:n.CONNECT_METHOD_PUBLISH,jsonrpc:c.CONNECT_JSONRPC_VER,params:{message:{topic:L?.content,message:_,ttl:c.OKXCONNECTOR_MESSAGE_TTL}}};return this.events.once(this.packageId.toString(),F=>s(this,void 0,void 0,function*(){F&&F.error?A.logError(`@${new Date().toUTCString()} >>> failed when send msg`):F&&!F.error&&A.logDebug(`CONNECTION @[${new Date().toUTCString()}] >>> send msg with id ${this.packageId} successed`)})),yield this.connector.send(()=>s(this,void 0,void 0,function*(){return A.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),H),this.packageId})}sendEncryptedMsg(N,_){return s(this,arguments,void 0,function*(L,H,F=c.OKXCONNECTOR_MESSAGE_TTL){this.refreshPackageId();let G={id:this.packageId.toString(),method:n.CONNECT_METHOD_PUBLISH,jsonrpc:c.CONNECT_JSONRPC_VER,params:{message:{topic:L,message:H,ttl:F}}};this.events.once(this.packageId.toString(),l=>s(this,void 0,void 0,function*(){l&&l.error?A.logError(`@${new Date().toUTCString()} >>> failed when send msg`):l&&!l.error&&A.logDebug(`CONNECTION @[${new Date().toUTCString()}] >>> send msg with id ${this.packageId} successed`)})),yield this.connector.send(()=>s(this,void 0,void 0,function*(){return A.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),G)})}send(N){return s(this,arguments,void 0,function*(_,L=c.OKXCONNECTOR_MESSAGE_TTL){if(A.logDebug(`message send =====> ${_}`),A.reportLog("connect send msg"),!this.isWalletPKReady())throw new Error("connection not finish");let H=this.crypto.encrypt(_,this.connectedWalletPK);A.logDebug(`message send =====encrypt message.length>>>> ${H.length}`),A.reportEvent(v.OKXReportType.LOG,"msg_size",H.length.toString());let F=this.connectStorage.getItem(a.OKXCONNECTOR_TOKEN_CACHE);return A.logDebug(`message send =====topic>>>> ${F?.content}`),yield this.splitManager.sendSplitPackages(F?.content,H,this.sendEncryptedMsg.bind(this),this.sendRaw.bind(this)),this.packageId})}sendACK(N,_){return s(this,arguments,void 0,function*(L,H,F=void 0){if(H===!0){let G={id:L,jsonrpc:c.CONNECT_JSONRPC_VER,result:!0};yield this.connector.send(()=>s(this,void 0,void 0,function*(){return A.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),G)}else if(F){let G={id:L,jsonrpc:c.CONNECT_JSONRPC_VER,error:{code:F.code,message:F.message}};yield this.connector.send(()=>s(this,void 0,void 0,function*(){return A.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),G)}})}sendReceive(N,_,L){return s(this,void 0,void 0,function*(){let H={id:N,jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_RECEIVE,params:{data:{messageId:_,topic:L}}};yield this.connector.send(()=>s(this,void 0,void 0,function*(){return A.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),H)})}sendFetchAndConsumeMessages(N,_){return s(this,void 0,void 0,function*(){this.events.once(N,F=>s(this,void 0,void 0,function*(){var G,l;if(F.result){var p=F.result.hasMore,E=F.result.data;let g=F.result.disconnectedTopics;if(g)try{for(let b=0;b<g.length;b++){let k=g[b];if(k.topic){(0,O.logDebug)("send receive disconnect:",k.topic),yield this.sendRecvDisconnect(k.topic);let x=(0,T.safeJsonStringify)({requestId:k.publishedAt.toString(),method:"disconnect"}),S={messageId:k.publishedAt.toString(),message:(0,T.safeJsonStringify)({message:x}),topic:k.topic,publishedAt:k.publishedAt};yield this.connector.getMsgPayloadFromHistory(S)}}}catch(b){A.logError("disconnect topic fails",b)}if(E)for(let b=0;b<E.length;b++){let k=E[b];if(k&&k.topic==_){let x=k.messageId;A.reportLog("5. get fetch result"),this.splitManager.tryParseMessageSplitPayload(k.message)?(yield this.connector.getMsgPayloadFromHistory(k),A.logDebug("skip receive")):(yield this.connector.getMsgPayloadFromHistory(k),this.refreshPackageId(),yield this.sendReceive(this.packageId.toString(),x,_))}}p&&(this.refreshPackageId(),yield this.sendFetchAndConsumeMessages(this.packageId.toString(),_))}else A.logDebug(`CONNECT: get error rsp ${(G=F.error)===null||G===void 0?void 0:G.code} : ${(l=F.error)===null||l===void 0?void 0:l.message}`)})),A.logDebug("5. send fetch more"),A.reportLog("5. send fetch more");let L=new Date().getTime();(0,O.logDebug)("ConnectTime---5->",L-this.timeLog);let H={id:N,jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_FETCHMSG,params:{data:{topic:_}}};yield this.connector.send(()=>s(this,void 0,void 0,function*(){return A.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),H)})}cleanCache(){A.reportLog("connection cache clean called"),this.connectStorage.clearCache()}saveSessionContent(N,_){_||this.connectStorage.clearCache(a.OKXCONNECTOR_SESSION_PREFIX_KEY+N);let L=(0,T.safeJsonStringify)(_);this.connectStorage.encryptStoreMsg(L,a.OKXCONNECTOR_SESSION_PREFIX_KEY+N)}getSessionContent(N){try{let _=this.connectStorage.getAndDecrypt(a.OKXCONNECTOR_SESSION_PREFIX_KEY+N);if(_)return(0,T.safeJsonParse)(_)}catch{this.connectStorage.clearCache(a.OKXCONNECTOR_SESSION_PREFIX_KEY+N)}}getCurrentConnectionReady(){let N=!1;try{this.getCachedCryptoKeyPair()&&(N=!0)}catch{A.logError("check connection ready failed")}return this.isWalletPKReady()&&N}getCryptoKeyEnable(){let N=!1;try{this.getCachedCryptoKeyPair()&&(N=!0)}catch{A.logError("check connection ready failed")}return N}checkExpire(N){let _=!1;if(N.length==0)return(0,O.logDebug)("checkExpire: invalid topic"),_;let L=this.getSessionContent(a.OKXCONNECTOR_STORAGE_TOPIC_EXPIRE_CACHE);return L&&L.topic?L.topic==N?Date.now()>L.timestamp&&((0,O.logDebug)("checkExpire: connection is Expired"),_=!0):((0,O.logDebug)("checkExpire: not same connection"),_=!1):((0,O.logDebug)("checkExpire: not topic records"),this.updateExpireLimit(N),_=!1),_}updateExpireLimit(N){(0,O.logDebug)(`update expire limit for topic: ${N}`);let _={topic:N,timestamp:Date.now()+c.OKXCONNECTOR_SESSION_LIVE_TTL};this.saveSessionContent(a.OKXCONNECTOR_STORAGE_TOPIC_EXPIRE_CACHE,_)}activateDisconnect(){return s(this,void 0,void 0,function*(){let N=(0,T.safeJsonStringify)({requestId:"",method:"disconnect"}),_={messageId:"",message:(0,T.safeJsonStringify)({message:N}),topic:this.currentTopic,publishedAt:0};yield this.connector.getMsgPayloadFromHistory(_)})}};e.ConnectionManager=U}),bBe=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"}}),SBe=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(N,_,L,H){H===void 0&&(H=L);var F=Object.getOwnPropertyDescriptor(_,L);(!F||("get"in F?!_.__esModule:F.writable||F.configurable))&&(F={enumerable:!0,get:function(){return _[L]}}),Object.defineProperty(N,H,F)}:function(N,_,L,H){H===void 0&&(H=L),N[H]=_[L]}),r=e&&e.__setModuleDefault||(Object.create?function(N,_){Object.defineProperty(N,"default",{enumerable:!0,value:_})}:function(N,_){N.default=_}),o=e&&e.__importStar||(function(){var N=function(_){return N=Object.getOwnPropertyNames||function(L){var H=[];for(var F in L)Object.prototype.hasOwnProperty.call(L,F)&&(H[H.length]=F);return H},N(_)};return function(_){if(_&&_.__esModule)return _;var L={};if(_!=null)for(var H=N(_),F=0;F<H.length;F++)H[F]!=="default"&&t(L,_,H[F]);return r(L,_),L}})(),s=e&&e.__awaiter||function(N,_,L,H){function F(G){return G instanceof L?G:new L(function(l){l(G)})}return new(L||(L=Promise))(function(G,l){function p(b){try{g(H.next(b))}catch(k){l(k)}}function E(b){try{g(H.throw(b))}catch(k){l(k)}}function g(b){b.done?G(b.value):F(b.value).then(p,E)}g((H=H.apply(N,_||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.WalletConnectionManager=void 0;var i=H9(),n=tee(),a=PT(),u=ree(),c=OT(),d=bBe(),h=vee(),y=Qf(),C=fO(),w=Zf(),T=iee(),A=mee(),O=bv(),v=o(Ks()),B=Ks(),R=Ao(),U=class{constructor(){this.events=new y.EventEmitter,this.communicateEvents=new y.EventEmitter,this.splitManager=new h.ConnectionSplitPackages("wallet"),v.logDebug("connect manager construct"),this.connectStorage=new C.Storage(a.OKXCONNECTOR_CACHE_KEY),this.jwtKeyPair=this.getCachedJWTKeyPair(),this.saveJWTKeyPair(this.jwtKeyPair),this.connector=new i.OKXWalletConnector(c.OKXCONNECTOR_WS_URL_1),this.packageId=Date.now(),this.sessionCryptoInfoMap=new Map,this.inLogin=!1,this.isLogined=!1}refreshPackageId(N=0){let _=Date.now()+N;_==this.packageId&&(this.packageId=_+1),this.packageId=_}saveCryptoKeyPair(N,_){let L=(0,O.safeJsonStringify)(_);this.connectStorage.encryptStoreMsg(L,a.OKXCONNECTOR_CRYPTO_KEY+N)}getCachedCryptoKeyPair(N){let _=this.connectStorage.getAndDecrypt(a.OKXCONNECTOR_CRYPTO_KEY+N);return typeof _=="string"?(v.logDebug("get cached crypto key:"),v.logDebug(_),(0,O.safeJsonParse)(_)):(this.connectStorage.clearCache(),null)}saveJWTKeyPair(N){var _={publicKey:(0,w.toHexString)(N.publicKey),secretKey:(0,w.toHexString)(N.secretKey)};v.logDebug("save jwt kp");let L=(0,O.safeJsonStringify)(_);v.logDebug(L),this.connectStorage.encryptStoreMsg(L,a.OKXCONNECTOR_JWT_KEY),v.logDebug("after save jwt kp")}getCachedJWTKeyPair(){let N=this.connectStorage.getAndDecrypt(a.OKXCONNECTOR_JWT_KEY);if(typeof N=="string"){v.logDebug("get cached jwt kp:"),v.logDebug(N);let L=(0,O.safeJsonParse)(N);v.logDebug("save jwt kp"),v.logDebug(L);var _={publicKey:(0,w.hexToByteArray)(L.publicKey),secretKey:(0,w.hexToByteArray)(L.secretKey)};return _}else return(0,A.generateKeyPair)()}isTopicPublicKeyExist(N){return v.logDebug(`isTopicPublicKeyExist  ===> ${N}`),this.sessionCryptoInfoMap.get(N)}makeJWT(N){return s(this,void 0,void 0,function*(){return yield(0,A.signJWT)(N,u.OKXCONNECTOR_JWT_WALLET_SIDE,u.OKXCONNECTOR_JWT_TTL,this.jwtKeyPair)})}parseInternalMsg(N){try{let _=(0,O.safeJsonParse)(N)["ivur-igbfft-ptjip"];if(_&&_.length>0)return(0,R.base64decode)(_,!0).toString()}catch(_){v.logError("parse internal msg",_)}}updateClientId(N,_){let L=this.sessionCryptoInfoMap.get(N);if((0,B.logDebug)("updateClientId",L,N,_),L&&_&&_.length>0){if(L.cid){let H=(0,w.getLastSixMd5Hash)(_);L.cid==H?L.dappPublicKey=_:v.logError("cid check failed",L,N,_)}else L.dappPublicKey=_;this.syncCacheSessionInfo()}return!1}parsePackage(N,_){return s(this,arguments,void 0,function*(L,H,F=!1){var G,l,p,E,g,b,k,x,S,f,M,V,D,j,Y,oe,de;this.events.emit(H.id,H);let ue=this.sessionCryptoInfoMap.get(L);v.logDebug("get sessionInfo for decrypt topic:",L),v.logDebug("get sessionInfo for decrypt:",H.id,L,ue,this.sessionCryptoInfoMap);let ae=!1;if(ue&&H.params.data&&!((G=H.params.data)===null||G===void 0)&&G.message)if(!((l=H.params.data)===null||l===void 0)&&l.isInternalData){let q=(p=H.params.data)===null||p===void 0?void 0:p.message,ne=(E=H.params.data)===null||E===void 0?void 0:E.topic,me=this.parseInternalMsg(q);(0,B.logDebug)("parse internal origin: ",me),me&&me.length>0&&this.communicateEvents.emit("origin",me,ne)}else try{let q=(g=H.params.data)===null||g===void 0?void 0:g.message;if(H.method&&H.method===n.CONNECT_METHOD_PUSH&&((0,B.logDebug)("checkExpire: update expire when get push"),this.updateExpireLimit(L)),q.trimStart().startsWith("{")){let ne=this.splitManager.tryParseMessageSplitPayload(q);if(ne){(0,B.logDebug)("parse split msg object: ",ne),ae=!0;let me={topicId:(k=(b=H.params)===null||b===void 0?void 0:b.data)===null||k===void 0?void 0:k.topic,messageId:(S=(x=H.params)===null||x===void 0?void 0:x.data)===null||S===void 0?void 0:S.messageId,messageObject:ne,publishedAt:(M=(f=H.params)===null||f===void 0?void 0:f.data)===null||M===void 0?void 0:M.publishedAt},ve=yield this.splitManager.onReceivedPackageCheck(me);if(ve.completeMessageIdList&&ve.completeMessageIdList.forEach(ge=>s(this,void 0,void 0,function*(){this.refreshPackageId(),yield this.sendReceive(this.packageId.toString(),ge,L)})),ve.finalMessage){let ge=ue.crypto.decryptWallet(ve.finalMessage,ue.dappPublicKey);(0,B.logDebug)("<<< receive msg from split:",L,ge),this.communicateEvents.emit(L,ge)}}else{let me=(0,O.safeJsonParse)(q);if(me.method){if(me.method=="session_info"){let ve=me.params.sessionInfo,ge=(0,R.base64decode)(ve,!1);(0,B.logDebug)("wallet connection manager requset base64Content:",ge),(0,B.logDebug)("base64Content:"+ge);let ce=ge.toObject();this.updateClientId(L,ce.clientId)}(0,B.logDebug)("<<< parse raw msg:",L,me),this.communicateEvents.emit(L,q)}}}else{let ne=ue.crypto.decryptWallet((V=H.params.data)===null||V===void 0?void 0:V.message,ue.dappPublicKey);(0,B.logDebug)("<<< receive msg:",L,ne),this.communicateEvents.emit(L,ne)}}catch{let q=ue.crypto.decryptWallet((D=H.params.data)===null||D===void 0?void 0:D.message,ue.dappPublicKey);(0,B.logDebug)("<<< receive msg:",L,q),this.communicateEvents.emit(L,q)}if(!F&&(yield this.sendACK(H.id,!0),L&&!ae)){let q=H;!((Y=(j=q.params)===null||j===void 0?void 0:j.data)===null||Y===void 0)&&Y.messageId&&(this.refreshPackageId(),yield this.sendReceive(this.packageId.toString(),(de=(oe=q.params)===null||oe===void 0?void 0:oe.data)===null||de===void 0?void 0:de.messageId,L))}})}recovrySessionInfoFromCache(){let N=this.connectStorage.getAndDecrypt(d.WalletConnectionManagerTopicInfoCacheKey);if(v.logDebug("get cached sessionInfos:",N),N){let _=(0,O.safeJsonParse)(N);for(let L in _){let H=_[L];v.logDebug("make topicItem:",H);let F={topic:L,crypto:new T.SessionCrypto({publicKey:H.cryptoKeyPair.publicKey,secretKey:H.cryptoKeyPair.secretKey}),dappPublicKey:H.dappPublicKey,cid:H.cid};this.sessionCryptoInfoMap.set(L,F)}}v.logDebug("get cached sessionInfos map:",this.sessionCryptoInfoMap)}syncCacheSessionInfo(){let N={};for(let[L,H]of this.sessionCryptoInfoMap)v.logDebug("for each Keys",L),H&&(N[L]={cryptoKeyPair:H.crypto.stringifyKeypair(),dappPublicKey:H.dappPublicKey,cid:H.cid});let _=(0,O.safeJsonStringify)(N);v.logDebug("sync cache sessionInfos:",_),this.connectStorage.encryptStoreMsg(_,d.WalletConnectionManagerTopicInfoCacheKey)}cacheSessionInfo(N,_,L=!0){let H=_.dappPublicKey,F=[];for(let[G,l]of this.sessionCryptoInfoMap)v.logDebug("for each Keys",G),l.dappPublicKey==H&&(v.logDebug("duplicated dapp public key:",G,H),F.push(G));for(let[G,l]of this.sessionCryptoInfoMap)F.includes(G)&&this.sessionCryptoInfoMap.delete(G);return v.logDebug("cleaned connect session cache:",this.sessionCryptoInfoMap),this.sessionCryptoInfoMap.set(N,_),v.logDebug("cache sessionInfo:",N,_,this.sessionCryptoInfoMap),L&&this.syncCacheSessionInfo(),F}updateProtocolVersion(N,_){this.splitManager.updateTopicSenderVersion(N,_)}appendTopic(N,_,L){return s(this,void 0,void 0,function*(){return(0,B.logDebug)("4.1. get append Topic:",N),new Promise((H,F)=>s(this,void 0,void 0,function*(){if(!this.isLogined){var G=new Error;G.message="connection is not logined",G.name="append error",F(G);return}let l={topic:N,crypto:new T.SessionCrypto,dappPublicKey:_||"",cid:L},p=this.cacheSessionInfo(N,l,!1);yield this.subscribeTopics(Array.from([N])),this.refreshPackageId(),v.logDebug(`5. subscribe callback then fetch append message: ${this.packageId}, ${N}`),v.reportLog("5. subscribe callback then fetch append message");let E=new Date().getTime();(0,B.logDebug)("Append --subscribe callback->",E-this.timeLog),H(p)}))})}confirmAppendingTopics(){this.syncCacheSessionInfo()}connect(){return s(this,void 0,void 0,function*(){this.timeLog=new Date().getTime(),(0,B.logDebug)("[Wallet] ConnectTime---enter->",this.timeLog),v.reportLog("wallet connect connect called");let N=Date.now().toString();var _=yield this.makeJWT(N);return v.logDebug(`generate jwt token: ${_}`),this.connectStorage.saveContent(_,"jwt"),this.recovrySessionInfoFromCache(),new Promise((L,H)=>{this.inLogin=!0,this.connector.onOpen(()=>s(this,void 0,void 0,function*(){v.logDebug("1. connector on open"),v.reportLog("1. wallet connect connect on open");let F=new Date().getTime();(0,B.logDebug)("ConnectTime---open->",F-this.timeLog),this.events.once(this.packageId.toString(),G=>s(this,void 0,void 0,function*(){if(G&&G.error){v.logError("failed when login"),yield this.connector.disconnect();var l=new Error;l.message=G.error.message,l.name=G.error.code.toString(),H(l)}else this.isLogined=!0,L(),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(()=>s(this,void 0,void 0,function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),{id:this.packageId.toString(),jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_LOGIN,params:{token:_}})})),this.connector.connect().catch(F=>{(0,B.logDebug)("WalletConnectionManager connect error",F),H(F)}),this.connector.addPackageParse(F=>{var G,l;if(v.logDebug("connect: parse package"),v.logDebug(F),!("params"in F)||!("data"in F.params)){this.parsePackage("",F,!0);return}!((G=F.params.data)===null||G===void 0)&&G.topic&&this.parsePackage((l=F.params.data)===null||l===void 0?void 0:l.topic,F,F.method===n.CONNECT_METHOD_RECEIVE)})})})}getSessionPublicKey(N){if(this.isTopicPublicKeyExist(N)){let _=this.sessionCryptoInfoMap.get(N);if(_)return(0,w.toHexString)(_.crypto.keyPair.publicKey)}}getCurrentCachedTopicIdList(){return Array.from(this.sessionCryptoInfoMap.keys())}sendDisconnect(N){return s(this,void 0,void 0,function*(){this.refreshPackageId();let _={id:this.packageId.toString(),jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_DISCONNECT,params:{message:{topic:N,ttl:c.OKXCONNECTOR_MESSAGE_DISCONNECT_TTL}}};yield this.connector.send(()=>s(this,void 0,void 0,function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),_)})}sendRecvDisconnect(N){return s(this,void 0,void 0,function*(){this.refreshPackageId();let _={id:this.packageId.toString(),jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_RECV_DISCONNECT,params:{topic:N}};yield this.connector.send(()=>s(this,void 0,void 0,function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),_)})}disconnect(){return s(this,arguments,void 0,function*(N=!1){yield this.connector.disconnect(),this.connectStorage.clearCache(a.OKXCONNECTOR_TOKEN_CACHE),N||this.connectStorage.clearCache(a.OKXCONNECTOR_CRYPTO_SENDER_PK_CACHE)})}sendRaw(N,_){return s(this,void 0,void 0,function*(){_&&(yield this.sendMsg(_,N,c.OKXCONNECTOR_MESSAGE_TTL))})}sendMsg(N,_,L){return s(this,void 0,void 0,function*(){if(_){this.refreshPackageId();let H={id:this.packageId.toString(),method:n.CONNECT_METHOD_PUBLISH,jsonrpc:c.CONNECT_JSONRPC_VER,params:{message:{topic:N,message:_,ttl:L}}};this.events.once(this.packageId.toString(),F=>s(this,void 0,void 0,function*(){F&&F.error?v.logError(`@${new Date().toUTCString()} >>> failed when send msg`):F&&!F.error&&v.logDebug(`CONNECTION @[${new Date().toUTCString()}] >>> send msg with id ${this.packageId} successed`)})),yield this.connector.send(()=>s(this,void 0,void 0,function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),H)}})}send(N,_){return s(this,arguments,void 0,function*(L,H,F=!1,G=c.OKXCONNECTOR_MESSAGE_TTL,l=!1){var p,E;if(v.logDebug(`message send =====> ${H}`),!this.isTopicPublicKeyExist(L))throw new Error("connection not finish");let g=(p=this.sessionCryptoInfoMap.get(L))===null||p===void 0?void 0:p.dappPublicKey,b=(E=this.sessionCryptoInfoMap.get(L))===null||E===void 0?void 0:E.crypto,k;l&&(k={message:H});let x=!1;if(b&&g&&!l){let S=b.encryptWallet(H,g);x=!0,k={message:S}}if(k){F&&b&&(k.clientId=(0,w.toHexString)(b.keyPair.publicKey));let S=(0,O.safeJsonStringify)(k);!l&&x?yield this.splitManager.sendSplitPackages(L,S,this.sendMsg.bind(this),this.sendRaw.bind(this)):yield this.sendMsg(L,S,G)}})}sendACK(N,_){return s(this,arguments,void 0,function*(L,H,F=void 0){if(H===!0){let G={id:L,jsonrpc:c.CONNECT_JSONRPC_VER,result:!0};yield this.connector.send(()=>s(this,void 0,void 0,function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),G)}else if(F){let G={id:L,jsonrpc:c.CONNECT_JSONRPC_VER,error:{code:F.code,message:F.message}};yield this.connector.send(()=>s(this,void 0,void 0,function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),G)}})}sendReceive(N,_,L){return s(this,void 0,void 0,function*(){let H={id:N,jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_RECEIVE,params:{data:{messageId:_,topic:L}}};yield this.connector.send(()=>s(this,void 0,void 0,function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),H)})}sendUnsubscribe(N){return s(this,void 0,void 0,function*(){yield this.connector.send(()=>s(this,void 0,void 0,function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),{id:this.packageId.toString(),jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_UNSUB,params:{topic:N}});try{yield this.sendDisconnect(N)}catch(_){v.logError("send disconnect command failed",_)}this.sessionCryptoInfoMap.delete(N),this.syncCacheSessionInfo()})}sendFetchAndConsumeMessages(N,_){return s(this,void 0,void 0,function*(){this.events.once(N,F=>s(this,void 0,void 0,function*(){var G,l;if(F.result){var p=F.result.hasMore,E=F.result.data;if(E)for(let g=0;g<E.length;g++){let b=E[g];if(b&&b.topic==_){let k=b.messageId;yield this.connector.getMsgPayloadFromHistory(b),this.refreshPackageId(),yield this.sendReceive(this.packageId.toString(),k,_)}}p&&(this.refreshPackageId(),yield this.sendFetchAndConsumeMessages(this.packageId.toString(),_))}else v.logDebug(`CONNECT: get error rsp ${(G=F.error)===null||G===void 0?void 0:G.code} : ${(l=F.error)===null||l===void 0?void 0:l.message}`)})),v.logDebug("5. send fetch more");let L=new Date().getTime();(0,B.logDebug)("ConnectTime---5->",L-this.timeLog);let H={id:N,jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_FETCHMSG,params:{data:{topic:_}}};yield this.connector.send(()=>s(this,void 0,void 0,function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),H)})}sendBatchFetchAndConsumeMessages(N,_){return s(this,void 0,void 0,function*(){this.events.once(N,F=>s(this,void 0,void 0,function*(){var G,l;if(F.result){var p=F.result.hasMore,E=F.result.data;let g=F.result.disconnectedTopics;if(g)try{for(let b=0;b<g.length;b++){let k=g[b];if(k.topic){(0,B.logDebug)("send receive disconnect:",k.topic),yield this.sendRecvDisconnect(k.topic);let x=(0,O.safeJsonStringify)({requestId:k.publishedAt.toString(),method:n.CONNECT_METHOD_DISCONNECT}),S={messageId:k.publishedAt.toString(),message:(0,O.safeJsonStringify)({message:x}),topic:k.topic,publishedAt:k.publishedAt};yield this.connector.getMsgPayloadFromHistory(S)}}}catch(b){v.logError("disconnect topic fails",b)}if(E)for(let b=0;b<E.length;b++){let k=E[b];if(k&&k.topic)if(this.splitManager.tryParseMessageSplitPayload(k.message))yield this.connector.getMsgPayloadFromHistory(k);else{let x=k.messageId;yield this.connector.getMsgPayloadFromHistory(k),this.refreshPackageId(b),yield this.sendReceive(this.packageId.toString(),x,k.topic)}}p&&(this.refreshPackageId(),yield this.sendBatchFetchAndConsumeMessages(this.packageId.toString(),_))}else v.logDebug(`CONNECT: get error rsp ${(G=F.error)===null||G===void 0?void 0:G.code} : ${(l=F.error)===null||l===void 0?void 0:l.message}`)})),v.logDebug("5. send fetch more"),v.reportLog("5. send fetch more");let L=new Date().getTime();(0,B.logDebug)("ConnectTime---5->",L-this.timeLog);let H={id:N,jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_BATCH_FETCHMSG,params:{topics:_,withInternalData:!0}};yield this.connector.send(()=>s(this,void 0,void 0,function*(){v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),H)})}cleanCache(){return s(this,void 0,void 0,function*(){this.connectStorage.clearCache()})}saveSessionContent(N,_){_||this.connectStorage.clearCache(a.OKXCONNECTOR_SESSION_PREFIX_KEY+N);let L=(0,O.safeJsonStringify)(_);this.connectStorage.encryptStoreMsg(L,a.OKXCONNECTOR_SESSION_PREFIX_KEY+N)}getSessionContent(N){let _=this.connectStorage.getAndDecrypt(a.OKXCONNECTOR_SESSION_PREFIX_KEY+N);if(_)return(0,O.safeJsonParse)(_)}subscribeTopics(N){return s(this,void 0,void 0,function*(){(0,B.logDebug)("4. topicid list",N),v.reportLog("4. topicid list"),this.refreshPackageId();let _=new Date().getTime();return(0,B.logDebug)("ConnectTime--subscribe callback->",_-this.timeLog),new Promise((L,H)=>s(this,void 0,void 0,function*(){let F=0;for(let G=0;G<N.length;++G){let l=N[G];this.refreshPackageId(G),this.events.once(this.packageId.toString(),E=>s(this,void 0,void 0,function*(){if(E&&E.error){v.logError("failed when subscribe"),yield this.connector.disconnect();var g=new Error;g.message=E.error.message,g.name=E.error.code.toString(),F+=1,F==N.length&&L()}this.refreshPackageId(G);let b=new Date().getTime();(0,B.logDebug)("ConnectTime--subscribe callback->",b-this.timeLog),F+=1,F==N.length&&(v.logDebug(`5. send fetch msg: ${this.packageId}, ${l}`),yield this.sendBatchFetchAndConsumeMessages(this.packageId.toString(),N),yield this.splitManager.init(this.sendRaw.bind(this)),this.checkExpire(l)?((0,B.logDebug)("disconnect From topic expire"),yield this.activateDisconnect(l)):((0,B.logDebug)("extends expire check"),this.updateExpireLimit(l)),L())})),v.logDebug(`3. login callback then send subscribe: ${this.packageId}, ${l}`),v.reportLog("3. login callback then send subscribe");let p=new Date().getTime();(0,B.logDebug)("ConnectTime---login callback->",p-this.timeLog),yield this.connector.send(()=>s(this,void 0,void 0,function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}),{id:this.packageId.toString(),jsonrpc:c.CONNECT_JSONRPC_VER,method:n.CONNECT_METHOD_SUB,params:{topic:l}})}}))})}checkExpire(N){let _=!1;if(N.length==0)return(0,B.logDebug)("checkExpire: invalid topic"),_;let L=this.getSessionContent(a.OKXCONNECTOR_STORAGE_TOPIC_WALLET_EXPIRE_CACHE);if(L&&L instanceof Object)try{let H=new Map(Object.entries(L)).get(N);H?Date.now()>H&&((0,B.logDebug)("checkExpire: connection is Expired"),_=!0):((0,B.logDebug)("checkExpire: not same connection"),_=!1)}catch{(0,B.logDebug)("checkExpire: cache error"),_=!1}else(0,B.logDebug)("checkExpire: not topic records"),this.updateExpireLimit(N),_=!1;return _}updateExpireLimit(N){(0,B.logDebug)(`update expire limit for topic: ${N}`);try{let _=this.getSessionContent(a.OKXCONNECTOR_STORAGE_TOPIC_WALLET_EXPIRE_CACHE),L=new Map;_&&(L=new Map(Object.entries(_)));let H=Date.now()+c.OKXCONNECTOR_SESSION_LIVE_TTL;L.set(N,H),this.saveSessionContent(a.OKXCONNECTOR_STORAGE_TOPIC_WALLET_EXPIRE_CACHE,Object.fromEntries(L))}catch{(0,B.logDebug)("update cache failed")}}activateDisconnect(N){return s(this,void 0,void 0,function*(){let _=(0,O.safeJsonStringify)({requestId:"",method:n.CONNECT_METHOD_DISCONNECT}),L={messageId:"",message:(0,O.safeJsonStringify)({message:_}),topic:N,publishedAt:0};yield this.connector.getMsgPayloadFromHistory(L)})}};e.WalletConnectionManager=U}),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=r,e.buildRequestAccountNameSpacesByConnectResponse=o,e.buildAccountNameSpaces=s,e.findConnectorBySession=i;var t=Ks();function r(n){return o(n)}function o(n){let a={};(0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse start connectResponse111>>",JSON.stringify(n));let u=n.payload.responses.find(h=>h.name==="requestAccounts");if(u&&u.accounts){let h=[];for(let y of u.accounts)y.namespace==="ton"?y.data&&y.data.ton_addr&&y.data.ton_addr.address&&y.data.ton_addr.address.length>0&&((0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse start TON>>",JSON.stringify(y)),h.push(y)):((0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse start other>>",JSON.stringify(y)),h.push(y));u.accounts=h}let c=n.payload.responses.find(h=>h.name==="ton_addr"),d=n.payload.responses.find(h=>h.name==="ton_proof");if(c&&!u){(0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse adapt ton data >>");let h=c.address;h="ton:"+c.network+":"+h;let y={ton_addr:c};d&&(y.ton_proof=d),u={name:"requestAccounts",accounts:[{namespace:"ton",addresses:[h],methods:["ton_sendTransaction"],extra:{},data:y}]}}return(0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse end universalResponse>>>",JSON.stringify(u)),s(u.accounts,a),a}function s(n,a){n.forEach(u=>{var c=[],d=[];u.addresses.forEach(h=>{var y=h.split(":");if((0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse addressArr>>",y.length),y.length>=3){let C=y.slice(0,2).join(":");c.push(C),d.push(h),(0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse chain:>>",C,"addressItem:",h)}}),u.data&&u.data.ton_addr&&(u.data.ton_addr.name="ton_addr"),u.data&&u.data.ton_proof&&(u.data.ton_proof.name="ton_proof"),a[u.namespace]={chains:c,accounts:d,methods:u.methods,extra:u.extra,payload:u.data},(0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse result>>",JSON.stringify(a))})}function i(n,a,u){let c;if(u&&u.connectWalletType&&(c=n.find(d=>d.getType()===u.connectWalletType)),!c){let d=a?.appName;d&&(c=n.find(h=>h.getTag()===d))}return c}}),BBe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(c,d,h,y){function C(w){return w instanceof h?w:new h(function(T){T(w)})}return new(h||(h=Promise))(function(w,T){function A(B){try{v(y.next(B))}catch(R){T(R)}}function O(B){try{v(y.throw(B))}catch(R){T(R)}}function v(B){B.done?w(B.value):C(B.value).then(A,O)}v((y=y.apply(c,d||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.Engine=void 0;var r=zi(),o=OT(),s=Ao(),i=E0(),n=Eee(),a=Cee(),u=class{constructor(c){this.connectors=[],this.useConnector=void 0,this.wsOpenWalletConnector=void 0,this.sessionRetryTimer=null,this.connectionManager=new n.ConnectionManager(c),this.addConnectionListener()}getConnector(){if(this.useConnector)return this.useConnector}setAccountChangeListener(c){this.accountChangeListener=c,(0,s.logDebug)("setAccountChangeListener: engine",c);for(let d of this.connectors)d.setAccountChangeListener(c)}registerConnector(c){this.connectors=c;for(let d of c)d.setConnectionManager(this.connectionManager);this.accountChangeListener&&this.setAccountChangeListener(this.accountChangeListener)}getAllConnectors(){return this.connectors}hasWsConnector(){for(let c of this.connectors)if(this.isWsConnector(c))return!0;return!1}isWsConnector(c){return c?Object.values(i.CONNECTOR_TYPE.WS).includes(c.getType()):!1}isInjectedConnector(c){return c?Object.values(i.CONNECTOR_TYPE.INJECT).includes(c.getType())||Object.values(i.CONNECTOR_TYPE.KEYLESS).includes(c.getType()):!1}universalConnect(c,d,h){return t(this,void 0,void 0,function*(){return this.addConnectionListener(),this.wsOpenWalletConnector=void 0,new Promise((y,C)=>t(this,void 0,void 0,function*(){var w,T,A,O,v;try{(0,s.logDebug)("engine universalConnect request :",JSON.stringify(c)),(0,s.logDebug)("engine universalConnect sessionConfig :",JSON.stringify(d));let B=[];c.forEach(l=>{let p=l.name;(p.startsWith("requestAccounts")||p.startsWith("ton"))&&B.push(l)}),(0,s.logDebug)("engine universalConnect universalRequest :",JSON.stringify(B));let R=this.connectionManager.getConnectInfo(),U=Date.now().toString(),N=(w=d.openUniversalUrl)!==null&&w!==void 0?w:!1,_=(T=d.openAppLinkType)!==null&&T!==void 0?T:r.OpenAppLinkType.UniversalLink,L={protocolVer:Number(r.tonConnectSdkVersion),topic:R.channelId,clientId:R.clientId,requestId:U,dAppInfo:this.fixDappName(d.dappInfo),requests:B,redirect:(A=d?.redirect)!==null&&A!==void 0?A:"none"},H=(0,s.encodeConnectParams)(L);L.redirect=(O=d?.redirect)!==null&&O!==void 0?O:"none",(0,s.logDebug)("engine universalConnect ==>>universalConnectRequest:",JSON.stringify(L));let F=()=>{let l;return this.connectors.length==1&&this.connectors[0].getType()===i.CONNECTOR_TYPE.INJECT.OKX_INJECT_WALLET?l=this.connectors[0]:l=this.connectors.find(p=>p.getType()===d.connectWalletType),l?.openWallet({connectRequest:L},_)};this.setWsOpenWallet();let G=(0,s.isIos)();if(G&&N&&((0,s.logDebug)(`engine universalConnect ==>>isIOS: ${G}   openUniversalLink: ${N}`),F()),this.addOnConnectResultListener((l,p)=>{var E,g,b,k;try{this.stopSendSessionRetry(),this.addOnConnectResultListener(void 0);let f=l;if(f.method=="connect"){(0,s.logDebug)("engin  universalConnect success connectResponse:>>>",JSON.stringify(f));let M=(0,a.buildNameSpacesByConnectResponse)(f);if(M){let V;!((g=(E=f.payload)===null||E===void 0?void 0:E.responses)===null||g===void 0)&&g[0]&&"walletName"in f.payload.responses[0]&&(V=f.payload.responses[0].walletName);var x=(b=f.payload)===null||b===void 0?void 0:b.wallet.appName,S;S=p,d.connectWalletType==null&&p.getTag()==r.OKXWalletName&&(d.connectWalletType=p.getType());let D=Object.assign({topic:R.channelId,sessionConfig:d,namespaces:M},f.payload&&{wallet:Object.assign(Object.assign({},f.payload.wallet),{walletName:V})}),j=f.payload.responses.find(Y=>Y.name==="requestAccounts");j&&j.connectRequestMethods&&(D.signResponse=j.connectRequestMethods),(0,s.logDebug)("engin  universalConnect success session:>>>",JSON.stringify(D)),this.isWsConnector(S)&&((0,s.logDebug)("engine update protocol version"),this.connectionManager.updateProtocolVersion(R.channelId,f.payload.wallet.maxProtocolVersion)),this.deviceInfo=Object.assign({},D.wallet),y(D),this.setUseConnector(S),(0,s.reportEvent)(s.OKXReportType.PAGE_IN,s.Report_OKXConnectSDKExtension_ConnectDapp_ConnectSuccess_View,x,this.getChainIdsFromSession(D))}else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR)}else if(f.method=="connect_error"&&((k=f.payload)===null||k===void 0?void 0:k.code)!=null)throw new r.OKXConnectError(f.payload.code)}catch(f){C(f)}}),this.hasWsConnector()){yield(v=this.connectionManager)===null||v===void 0?void 0:v.disconnect(!1);try{yield this.connectionManager.connect()}catch(l){throw(0,s.logDebug)("Engine universalConnect error",l),l}(0,s.logDebug)("engin  universalConnect ==>> connectInfoAndUrl:",h),this.sendSession(H,L.topic,N)}if(!G&&N&&F(),(0,s.logDebug)("engin  universalConnect ==>> connectInfoAndUrl:",h),h){let l={connectRequest:L,redirect:d.redirect,tmaReturnUrl:d.tmaReturnUrl};(0,s.logDebug)("universalConnect connectInfoAndUrl info :",JSON.stringify(l)),h(l)}}catch(B){(0,s.logDebug)("Engine universalConnect catch error",B),C(B)}}))})}fixDappName(c){try{if(c.name.toLowerCase()==="dapp portal"){let d=document.title;if(d||(d=this.getOGSiteName()),d)return Object.assign(Object.assign({},c),{name:c.name+" - "+d})}return c}catch{return c}}setWsOpenWallet(){this.connectors.filter(c=>this.isWsConnector(c)).forEach(c=>{c.setOpenWalletCalled(d=>{this.wsOpenWalletConnector=d})})}getOGSiteName(){let c=document.getElementsByTagName("meta"),d=["og:site_name","og:title","twitter:title"];for(let h of c){let y=h.getAttribute("property");for(let C of d)if(y==C)return h.getAttribute("content")}}addOnConnectResultListener(c){for(let d of this.connectors)this.isInjectedConnector(d)&&d.setOnConnectResultListener(c);this.connectResultListener=c}openWallet(c,d,h){var y;d?d.openWallet(c,h):(y=this.getConnector())===null||y===void 0||y.openWallet(c,h)}send(c,d,h){return t(this,void 0,void 0,function*(){var y,C,w,T,A,O,v,B,R;let U;"chainId"in c&&c.chainId!=null&&(U=c.chainId.toString());try{if((0,s.reportEvent)(s.OKXReportType.LOG,s.Report_OKXConnectSDK_RequestStart_Log,"",(C=(y=this.getConnector())===null||y===void 0?void 0:y.getTag())!==null&&C!==void 0?C:"",c.method,(T=(w=this.deviceInfo)===null||w===void 0?void 0:w.platform)!==null&&T!==void 0?T:"",U),!this.getConnector())throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR);(A=this.getConnector())===null||A===void 0||A.send(c,{resolve:N=>{var _,L,H,F,G,l,p,E,g;(_=d?.resolve)===null||_===void 0||_.call(d,N),"error"in N&&N.error?(0,s.reportEvent)(s.OKXReportType.LOG,s.Report_OKXConnectSDK_RequestError_Log,"",(H=(L=this.getConnector())===null||L===void 0?void 0:L.getTag())!==null&&H!==void 0?H:"",c.method,(G=(F=this.deviceInfo)===null||F===void 0?void 0:F.platform)!==null&&G!==void 0?G:"",U):(0,s.reportEvent)(s.OKXReportType.LOG,s.Report_OKXConnectSDK_RequestSuccess_Log,"",(p=(l=this.getConnector())===null||l===void 0?void 0:l.getTag())!==null&&p!==void 0?p:"",c.method,(g=(E=this.deviceInfo)===null||E===void 0?void 0:E.platform)!==null&&g!==void 0?g:"",U)},onAck:()=>{var N;(N=d?.onAck)===null||N===void 0||N.call(d)}})}catch(N){throw(0,s.reportEvent)(s.OKXReportType.LOG,s.Report_OKXConnectSDK_RequestError_Log,"",(v=(O=this.getConnector())===null||O===void 0?void 0:O.getTag())!==null&&v!==void 0?v:"",c.method,(R=(B=this.deviceInfo)===null||B===void 0?void 0:B.platform)!==null&&R!==void 0?R:"",U),N}})}clearData(){var c;(c=this.getConnector())===null||c===void 0||c.clearData()}addDisconnectListener(c){var d;(d=this.getConnector())===null||d===void 0||d.addDisconnectListener(c)}saveSessionContent(c,d){this.connectionManager.saveSessionContent(c,d)}getSessionContent(c){var d=this.connectionManager.getSessionContent(c);if(d){var h="";if(typeof d=="object"&&(0,a.findConnectorBySession)(this.connectors,d.wallet,d.sessionConfig))return d}}setConnectConnector(c,d){var h=c?.appName;h&&this.setUseConnector((0,a.findConnectorBySession)(this.connectors,c,d))}setUseConnector(c){this.useConnector=c,this.isWsConnector(c)&&c.addConnectionListener()}setSessionConnectingListener(c){this.sessionConnectingListener=c}restoreconnect(c,d){return t(this,void 0,void 0,function*(){this.getConnector()?this.getConnector().restoreconnect(c,h=>{var y,C;d(h),h&&(this.deviceInfo=Object.assign({},h.wallet),(0,s.reportEvent)(s.OKXReportType.PAGE_IN,s.Report_OKXConnectSDKExtension_ConnectDapp_ConnectSuccess_View,(C=(y=this.getConnector())===null||y===void 0?void 0:y.getTag())!==null&&C!==void 0?C:"",this.getChainIdsFromSession(h)))}):d(null)})}restoreconnectFromTopic(c){return t(this,void 0,void 0,function*(){this.isWsConnector(this.getConnector())&&(yield this.getConnector().restoreconnectFromTopic(c))})}getCurrentConnectionReady(c){var d;return!!(!((d=this.getConnector())===null||d===void 0)&&d.getCurrentConnectionReady(c))}getChainIdsFromSession(c){if(!c.namespaces)return"";let d=new Set;return Object.values(c.namespaces).forEach(h=>{h.chains&&h.chains.forEach(y=>{d.add(y)})}),Array.from(d).join(",")}connectManagerDisconnect(){return t(this,arguments,void 0,function*(c=!1){var d,h;this.getConnector()?(d=this.getConnector())===null||d===void 0||d.connectManagerDisconnect(c):yield(h=this.connectors.find(y=>this.isWsConnector(y)))===null||h===void 0?void 0:h.connectManagerDisconnect(c),this.stopSendSessionRetry(),this.setUseConnector(void 0)})}sendSession(c,d,h){return t(this,void 0,void 0,function*(){(0,s.logDebug)("[Connect] sendSession called:",c);let y=Date.now().toString(),C={method:"session_info",params:{protocolVersion:o.CONNECT_PROTOCOL_VER,sessionInfo:c}};yield this.connectionManager.sendRaw(JSON.stringify(Object.assign(Object.assign({},C),{requestId:y}))),this.sessionRetryTimer&&clearInterval(this.sessionRetryTimer),h||(this.sessionRetryTimer=setInterval(()=>t(this,void 0,void 0,function*(){let w=Date.now().toString();(0,s.logDebug)("[Connect] Retrying sendSession..."),yield this.connectionManager.sendSubscribe(d),yield this.connectionManager.sendRaw(JSON.stringify(Object.assign(Object.assign({},C),{requestId:w})))}),o.OKXCONNECTOR_MESSAGE_TTL))})}stopSendSessionRetry(){this.sessionRetryTimer&&(clearInterval(this.sessionRetryTimer),this.sessionRetryTimer=null,(0,s.logDebug)("[Connect] Stopped retry for session"))}getDefaultWsConnector(){return this.connectors.find(c=>this.isWsConnector(c))}addConnectionListener(){var c;(c=this.connectionManager)===null||c===void 0||c.addListener("sdk_response",(d,h)=>{var y=(0,s.safeJsonParse)(h);(0,s.logDebug)(`Engine ==>> addListener ==> success ==> ${y}`),this.wsOpenWalletConnector==null&&(this.wsOpenWalletConnector=this.getDefaultWsConnector()),y.method==="connect"?this.connectResultListener&&this.wsOpenWalletConnector&&this.connectResultListener(y,this.wsOpenWalletConnector):y.method==="connect_error"?this.connectManagerDisconnect(!1).catch(()=>{}).finally(()=>{this.connectResultListener&&this.wsOpenWalletConnector&&this.connectResultListener(y,this.wsOpenWalletConnector)}):y.method==="session_connecting"&&((0,s.logDebug)("Engine ==>> handleResponse_4  ===> sessionConnectingListener"),this.sessionConnectingListener&&((0,s.logDebug)("Engine ==>> handleResponse_4  ===> sessionConnectingListener not null"),this.sessionConnectingListener(),this.sessionConnectingListener=void 0))},function(){})}};e.Engine=u}),kBe=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 o=SBe();Object.defineProperty(e,"WalletConnectionManager",{enumerable:!0,get:function(){return o.WalletConnectionManager}});var s=BBe();Object.defineProperty(e,"Engine",{enumerable:!0,get:function(){return s.Engine}});var i=fO();Object.defineProperty(e,"Storage",{enumerable:!0,get:function(){return i.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=t;function t(){return typeof r("okxwallet")<"u"}function r(o){let s=(i,n)=>{let[a,...u]=n.split("."),c=i[a];if(c)return u.length===0?c:s(c,u.join("."))};if(typeof window<"u")return s(window,o)}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=i,e.media=n,e.mediaMin=a,e.mediaMax=u,e.mediaMinMax=c;var t=jU(),r=tO(),o=US(),s=Ks();e.maxWidth={mobile:440,tablet:1020};function i(d){var h;let y=(0,o.getWindow)();if(!y)return d==="desktop";if((0,r.isTmaPlatform)("weba"))return!0;let C=y.innerWidth;switch(d){case"desktop":return C>e.maxWidth.tablet;case"tablet":return C>e.maxWidth.mobile;default:case"mobile":let w=C<=e.maxWidth.mobile||(0,t.isOS)("ios","android","ipad");if(w){let T=!!(!((h=(0,o.getWindow)())===null||h===void 0)&&h.TelegramWebviewProxy),A=navigator.maxTouchPoints||0;T&&A===0&&(w=!1),(0,s.logDebug)("isDevice mobile isTelegram and maxTouchPoints:",w,T,A)}return w}}function n(d){switch(d){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:case"desktop":return`@media (min-width: ${e.maxWidth.tablet}px)`}}function a(d){return`@media (min-width: ${d}px)`}function u(d){return`@media (max-width: ${d}px)`}function c(d,h){return`@media (min-width: ${d}px) and (max-width: ${h}px)`}e.mediaTouch="@media (hover: none)",e.mediaNotTouch="@media not all and (hover: none)"}),_Be=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(a,u,c,d){function h(y){return y instanceof c?y:new c(function(C){C(y)})}return new(c||(c=Promise))(function(y,C){function w(O){try{A(d.next(O))}catch(v){C(v)}}function T(O){try{A(d.throw(O))}catch(v){C(v)}}function A(O){O.done?y(O.value):h(O.value).then(w,T)}A((d=d.apply(a,u||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.Eip155Provider=void 0;var r=zi(),o=Ao(),s=rg(),i=Ov(),n=class{constructor(){this.accountChangedEVMHandler=null}send(a){return t(this,void 0,void 0,function*(){var u;try{(0,o.logDebug)("Eip155Provider send request:",(0,o.safeJsonStringify)(a)),yield this.restoreConnect();let c=null;switch(a.method){case"personal_sign":a.params&&"message"in a.params&&(c={method:a.method,params:[a.params.message,a.address]});break;case"eth_sendTransaction":case"wallet_addEthereumChain":case"wallet_switchEthereumChain":a.params&&(c={method:a.method,params:[a.params]});break;case"eth_signTypedData_v4":a.params&&"typedDataJson"in a.params&&!((u=a.params)===null||u===void 0)&&u.typedDataJson&&typeof a.params.typedDataJson=="string"&&(c={method:a.method,params:[a.address,a.params.typedDataJson]});break;case"wallet_watchAsset":a.params&&(c={method:a.method,params:a.params});break;default:c={method:a.method,params:a.injectParams}}if(c)if((a.method==="wallet_switchEthereumChain"||a.method==="wallet_addEthereumChain")&&a.params&&"chainId"in a.params){(0,o.logDebug)("Eip155Provider send request switch requestParams:",(0,o.safeJsonStringify)(c));let d=parseInt(a.params.chainId,16).toString();yield window.okxwallet.request(c);let h=`eip155:${d}:${a.address}`;return(0,o.logDebug)("Eip155Provider send request switch result:",h),{result:h,method:a.method}}else{let d=(0,o.getChainId)(a.chainId),h=`0x${Number(d).toString(16)}`;if((0,o.logDebug)("Eip155Provider current chainId:",d,h),h){yield window.okxwallet.request({method:"wallet_switchEthereumChain",params:[{chainId:h}]}),(0,o.logDebug)("Eip155Provider send request requestParams:",h,(0,o.safeJsonStringify)(c));let y=yield window.okxwallet.request(c);return(0,o.logDebug)("Eip155Provider send request result:",(0,o.safeJsonStringify)(y)),{result:y,method:a.method}}}else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)}catch(c){throw(0,o.logDebug)("Eip155Provider encountered an error:",c),c}})}restoreConnect(){return(0,s.isDevice)("mobile")?window.okxwallet.request({method:"eth_requestAccounts"}):Promise.resolve()}parseConnectResponse(a,u,c,d,h,y){return t(this,void 0,void 0,function*(){try{let C=[];d.forEach(A=>{A.namespace===r.NameSpaceKeyEip155&&C.push(...A.chains)});let w=[],T={};return C.forEach(A=>{let O=(0,o.getChainId)(A),v=h.address.find(B=>B.chainId===O&&B.coinType===60||B.namespaceChainId===A);v&&(w.push(A+":"+v.address),T[A]={publicKey:v.publicKey})}),w&&w.length>0?{namespace:r.NameSpaceKeyEip155,addresses:w,methods:[...i.Eip55Methods],extra:T}:void 0}catch(C){throw C}})}connect(){return t(this,void 0,void 0,function*(){return window.okxwallet.request({method:"eth_requestAccounts"})})}singleConnect(){return this.connect()}addAccountChangedListener(a){console.log("window.okxwallet configEventWithKey: eip155"),this.accountChangedEVMHandler=u=>{console.log("window.okxwallet configEventWithKey_evm:",Date.now(),"eip155",u),u&&u.length>0&&a()},window.okxwallet.on("accountsChanged",this.accountChangedEVMHandler)}removeListener(){this.accountChangedEVMHandler&&window.okxwallet.removeListener("accountsChanged",this.accountChangedEVMHandler)}};e.Eip155Provider=n}),RBe=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(_Be(),e)}),DBe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0})}),LBe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0})}),WBe=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(DBe(),e),r(LBe(),e)}),KBe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(n,a,u,c){function d(h){return h instanceof u?h:new u(function(y){y(h)})}return new(u||(u=Promise))(function(h,y){function C(A){try{T(c.next(A))}catch(O){y(O)}}function w(A){try{T(c.throw(A))}catch(O){y(O)}}function T(A){A.done?h(A.value):d(A.value).then(C,w)}T((c=c.apply(n,a||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.SuiStandardProvider=void 0;var r=zi(),o=Ao(),s=rg(),i=class{constructor(n){this.wallet=n}getVersion(){return this.wallet.version}supportChains(n){return n.length===1&&n[0]===r.SUI_CHAINS.MAINNET}send(n){return t(this,void 0,void 0,function*(){try{(0,o.logDebug)("suiProvider send request:",JSON.stringify(n));let a=n.method,u;if(n.injectParams&&this.wallet){let c=n.injectParams;switch(a){case"sui_signTransactionBlock":let d;if(this.wallet.features["sui:signTransaction"])d=yield this.wallet.features["sui:signTransaction"].signTransaction(c);else if(this.wallet.features["sui:signTransactionBlock"])d=yield this.wallet.features["sui:signTransactionBlock"].signTransactionBlock(c);else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);u={method:"sui_signTransactionBlock",result:d?.signature};break;case"sui_signAndExecuteTransactionBlock":let h;if(this.wallet.features["sui:signAndExecuteTransaction"])h=yield this.wallet.features["sui:signAndExecuteTransaction"].signAndExecuteTransaction(c);else if(this.wallet.features["sui:signAndExecuteTransactionBlock"])h=yield this.wallet.features["sui:signAndExecuteTransactionBlock"].signAndExecuteTransactionBlock(c);else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);u={method:"sui_signAndExecuteTransactionBlock",result:h.digest};break;case"sui_signMessage":u={method:"sui_signMessage",result:(yield this.wallet.features["sui:signMessage"].signMessage(c)).signature};break;case"sui_signPersonalMessage":u={method:"sui_signPersonalMessage",result:(yield this.wallet.features["sui:signPersonalMessage"].signPersonalMessage(c)).signature};break}}return u}catch(a){throw(0,o.logDebug)("suiProvider send error:",a),a}})}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,s.isDevice)("mobile")?this.connect():Promise.resolve()}getAccount(n){return t(this,void 0,void 0,function*(){var a,u;let c=yield this.connect();if(!c)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR);let d=(a=c?.address)!==null&&a!==void 0?a:"",h=(u=c?.publicKey)!==null&&u!==void 0?u:"";h instanceof Uint8Array&&(h=this.normalizeUint8Array(h),h=btoa(String.fromCharCode(...h)));let y={};return y[r.SUI_CHAINS.MAINNET]={publicKey:h},{namespace:r.NameSpaceKeySui,addresses:[`${r.SUI_CHAINS.MAINNET}:${c.address}`],methods:c.features,extra:y}})}normalizeUint8Array(n){return n.length===33&&n[0]===0?n.slice(1):n}};e.SuiStandardProvider=i}),_ee=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.AptosNetwork=e.UserResponseStatus=void 0,e.getArgs=o;var t=zi(),r;(function(i){i.APPROVED="Approved",i.REJECTED="Rejected"})(r||(e.UserResponseStatus=r={}));function o(i){if(typeof i=="object"&&i!==null&&"status"in i){if(i.status===r.REJECTED)throw new t.OKXConnectError(t.OKX_CONNECT_ERROR_CODES.USER_REJECTS_ERROR);return i.args}return i}var s;(function(i){i.MAINNET="mainnet",i.TESTNET="testnet",i.DEVNET="devnet"})(s||(e.AptosNetwork=s={}))}),jBe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(n,a,u,c){function d(h){return h instanceof u?h:new u(function(y){y(h)})}return new(u||(u=Promise))(function(h,y){function C(A){try{T(c.next(A))}catch(O){y(O)}}function w(A){try{T(c.throw(A))}catch(O){y(O)}}function T(A){A.done?h(A.value):d(A.value).then(C,w)}T((c=c.apply(n,a||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.AptosStandardProvider=void 0;var r=zi(),o=Ao(),s=_ee(),i=class{constructor(n){this.wallet=n,this.mainNetWorkInfo={chainId:"1",name:s.AptosNetwork.MAINNET}}getVersion(){return this.wallet.version}supportChains(n){return n.length===1&&n[0]===r.APTOS_CHAINS.MAINNET}send(n){return t(this,void 0,void 0,function*(){var a,u,c,d,h;try{try{(0,o.logDebug)("AptosStandardProvider send request:",JSON.stringify(n))}catch{}yield this.confirmNetwrok(n.chainId);let y=n.method,C;if(n.injectParams&&this.wallet){let w=n.injectParams;switch(y){case"aptos_signTransaction":let T;if(this.wallet.features["aptos:signTransaction"])if("rawTransaction"in w){let v=yield this.wallet.features["aptos:signTransaction"].signTransaction(w);T=(0,s.getArgs)(v)}else if(this.wallet.features["aptos:signTransaction"].version==="1.1"){let v=w,B={payload:v.data,expirationTimestamp:(a=v.options)===null||a===void 0?void 0:a.expirationTimestamp,expirationSecondsFromNow:(u=v.options)===null||u===void 0?void 0:u.expirationSecondsFromNow,gasUnitPrice:(c=v?.options)===null||c===void 0?void 0:c.gasUnitPrice,maxGasAmount:(d=v?.options)===null||d===void 0?void 0:d.maxGasAmount,sequenceNumber:(h=v?.options)===null||h===void 0?void 0:h.accountSequenceNumber,sender:v.sender},R=yield this.wallet.features["aptos:signTransaction"].signTransaction(B);T=(0,s.getArgs)(C)}else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);C={method:"aptos_signTransaction",injectResult:T};break;case"aptos_signMessage":let A;if(this.wallet.features["aptos:signMessage"]){let v=yield this.wallet.features["aptos:signMessage"].signMessage(w);A=(0,s.getArgs)(v)}else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);C={method:"aptos_signMessage",injectResult:A};break;case"aptos_signAndSubmitTransaction":let O;if(this.wallet.features["aptos:signAndSubmitTransaction"])if(this.wallet.features["aptos:signAndSubmitTransaction"].version=="1.0.0"){if("standardV1Transaction"in w){let v=yield this.wallet.features["aptos:signAndSubmitTransaction"].signAndSubmitTransaction(w.standardV1Transaction);O=(0,s.getArgs)(v)}}else if(this.wallet.features["aptos:signAndSubmitTransaction"].version=="1.1.0"){if("standardV11Transaction"in w){let v=n.params,B=yield this.wallet.features["aptos:signAndSubmitTransaction"].signAndSubmitTransaction(w.standardV11Transaction);O=(0,s.getArgs)(B)}}else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);C={method:"aptos_signAndSubmitTransaction",result:O.hash.toString()};break}}return C}catch(y){throw(0,o.logDebug)("aptosProvider send error:",y),y}})}removeListener(){this.previousAccountChangedListener=void 0}addAccountChangedListener(n){this.accountChangedListener=n}setAccountChangedListener(){if(this.previousAccountChangedListener!=this.accountChangedListener&&this.wallet.features["aptos:onAccountChange"]&&this.accountChangedListener)try{this.wallet.features["aptos:onAccountChange"].onAccountChange(n=>{var a,u,c,d;try{let h=(u=(a=(0,s.getArgs)(n))===null||a===void 0?void 0:a.address)===null||u===void 0?void 0:u.toString();this.address!=h&&(this.accountChangedListener((d=(c=(0,s.getArgs)(n))===null||c===void 0?void 0:c.address)===null||d===void 0?void 0:d.toString()),this.address=h)}catch{this.address&&(this.accountChangedListener(void 0),this.address=void 0)}}),this.previousAccountChangedListener=this.accountChangedListener}catch(n){(0,o.logDebug)(`aptosStandardProvider addAccountChangedListener: error ${n.toString()}`)}}connect(){return t(this,void 0,void 0,function*(){return this.wallet.features["aptos:connect"].connect()})}getAccount(n){return t(this,void 0,void 0,function*(){let a=(0,s.getArgs)(yield this.connect()),u=a.address;typeof u=="object"&&u.toString&&(u=u.toString()),u instanceof Uint8Array&&(u=this.normalizeUint8Array(u),u=btoa(String.fromCharCode(...u)));let c=a.publicKey.toString();this.address!==u&&(this.setAccountChangedListener(),this.address=u);let d={};return d[r.APTOS_CHAINS.MAINNET]={publicKey:c},{namespace:r.NameSpaceKeyAptos,addresses:[`${r.APTOS_CHAINS.MAINNET}:${u}`],methods:[],extra:d}})}normalizeUint8Array(n){return n.length===33&&n[0]===0?n.slice(1):n}disconnect(){return t(this,void 0,void 0,function*(){if(this.wallet.features["aptos:disconnect"])return this.wallet.features["aptos:disconnect"].disconnect()})}confirmNetwrok(n){return t(this,void 0,void 0,function*(){if(n!==o.chainName2IdMap.get(r.APTOS_CHAINS.MAINNET))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED);if(this.wallet.features["aptos:network"]){let a=yield this.wallet.features["aptos:network"].network();if(a.chainId==1&&a.name.toLowerCase()==s.AptosNetwork.MAINNET)return Promise.resolve();yield this.changeMainNetwork()}else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)})}changeMainNetwork(){return t(this,void 0,void 0,function*(){if(this.wallet.features["aptos:changeNetwork"]){let n=yield this.wallet.features["aptos:changeNetwork"].changeNetwork(this.mainNetWorkInfo);if((0,s.getArgs)(n).success)return Promise.resolve()}else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)})}};e.AptosStandardProvider=i}),$9=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.WalletReadyState=void 0;var t;(function(r){r.Installed="Installed",r.NotDetected="NotDetected",r.Loadable="Loadable",r.Unsupported="Unsupported"})(t||(e.WalletReadyState=t={}))}),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}),JBe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(u,c,d,h){function y(C){return C instanceof d?C:new d(function(w){w(C)})}return new(d||(d=Promise))(function(C,w){function T(v){try{O(h.next(v))}catch(B){w(B)}}function A(v){try{O(h.throw(v))}catch(B){w(B)}}function O(v){v.done?C(v.value):y(v.value).then(T,A)}O((h=h.apply(u,c||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.MartainWalletAdapter=void 0;var r=Dee(),o=$9(),s=zi(),i=Zf(),n=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"?o.WalletReadyState.Unsupported:o.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!==o.WalletReadyState.Unsupported&&(0,i.scopePollingDetectionStrategy)(()=>window.martian?(this._readyState=o.WalletReadyState.Installed,this.emit("readyStateChange",this._readyState),!0):!1)}get publicAccount(){var u,c,d;return{publicKey:((u=this._wallet)===null||u===void 0?void 0:u.publicKey)||null,address:((c=this._wallet)===null||c===void 0?void 0:c.address)||null,authKey:((d=this._wallet)===null||d===void 0?void 0:d.authKey)||null}}get connecting(){return this._connecting}get version(){return this._version}get network(){return{name:this._network,chainId:this._chainId}}onAccountChange(u){return t(this,void 0,void 0,function*(){try{let c=this._wallet,d=this._provider||window.martian;if(!c||!d)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);let h=y=>t(this,void 0,void 0,function*(){let{publicKey:C}=yield d?.account();this._wallet=Object.assign(Object.assign({},this._wallet),{address:y,publicKey:C})});yield d?.onAccountChange(h)}catch(c){let d=c.message;throw c}(0,n.logDebug)("MartainWalletAdapter.onAccountChange()")})}onNetworkChange(){return t(this,void 0,void 0,function*(){(0,n.logDebug)("MartainWalletAdapter.onNetworkChange()")})}connect(){return t(this,void 0,void 0,function*(){try{if(!(this._readyState===o.WalletReadyState.Loadable||this._readyState===o.WalletReadyState.Installed))throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);if(this.connecting)return;if(this.connected){yield this.initNetWork();return}this._connecting=!0;let u=this._provider||window.martian;if((yield u?.isConnected())&&(yield u?.disconnect()),!(yield u?.connect()))throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR);yield this.initNetWork()}catch(u){throw u}finally{this._connecting=!1}})}initNetWork(){return t(this,void 0,void 0,function*(){let u=this._provider||window.martian,c=yield u?.account();if(c){this._wallet=Object.assign(Object.assign({},c),{isConnected:!0});let d=yield u?.network(),{chainId:h}=yield u.getChainId();this._network=d,this._chainId=h.toString()}})}disconnect(){return t(this,void 0,void 0,function*(){let u=this._wallet,c=this._provider||window.martian;if(u){this._wallet=null;try{yield c?.disconnect()}catch{}}})}signAndSubmitTransaction(u,c){return t(this,void 0,void 0,function*(){try{let d=this._wallet,h=this._provider||window.martian;if(!d||!h)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);let y=yield h.generateTransaction(d.address||"",u,c);if(!y)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,"generate transaction error");let C=yield h?.signAndSubmitTransaction(y);if(!C)throw new Error("No response");return{hash:C}}catch(d){throw d}})}signTransaction(u,c){return t(this,void 0,void 0,function*(){try{let d=this._wallet,h=this._provider||window.martian;if(!d||!h)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);let y=yield h.generateTransaction(d.address||"",u,c);if(!y)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,"generate transaction error");let C=yield h?.signTransaction(y);if(!C)throw new Error("No response");return C}catch(d){throw d}})}signMessage(u){return t(this,void 0,void 0,function*(){try{let c=this._wallet,d=this._provider||window.martian;if(!c||!d)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);if(typeof u!="object"||!u.nonce)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,"Invalid signMessage Payload");let h=yield d?.signMessage(u);if(h)return h;throw new Error("Sign Message failed")}catch(c){throw c}})}};e.MartainWalletAdapter=a}),XBe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(a,u,c,d){function h(y){return y instanceof c?y:new c(function(C){C(y)})}return new(c||(c=Promise))(function(y,C){function w(O){try{A(d.next(O))}catch(v){C(v)}}function T(O){try{A(d.throw(O))}catch(v){C(v)}}function A(O){O.done?y(O.value):h(O.value).then(w,T)}A((d=d.apply(a,u||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.PetraWalletAdapter=void 0;var r=Dee(),o=$9(),s=Zf(),i=zi(),n=class extends r.BaseAptosWalletAdapter{get readyState(){return this._readyState}getPerta(){var a;if(this._provider)return this._provider;if(!window.petra)return;let u=window.petra;if(!(u&&(u.isOKExWallet||u.isOkxWallet||((a=window.okxwallet)===null||a===void 0?void 0:a.aptos)===u)))return this._provider=u,u}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"?o.WalletReadyState.Unsupported:o.WalletReadyState.NotDetected,this._network=void 0,this._connecting=!1,this._wallet=null,typeof window<"u"&&this._readyState!==o.WalletReadyState.Unsupported&&(0,s.scopePollingDetectionStrategy)(()=>this.getPerta()?(this._readyState=o.WalletReadyState.Installed,!0):!1)}get publicAccount(){var a,u,c;return{publicKey:((a=this._wallet)===null||a===void 0?void 0:a.publicKey)||null,address:((u=this._wallet)===null||u===void 0?void 0:u.address)||null,authKey:((c=this._wallet)===null||c===void 0?void 0:c.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===o.WalletReadyState.Loadable||this._readyState===o.WalletReadyState.Installed))throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);if(this.connected){yield this.initNetWork();return}this._connecting=!0;let a=this.getPerta(),u=yield a?.connect();this._wallet={address:u?.address,publicKey:u?.publicKey,isConnected:!0},yield this.initNetWork()}catch(a){throw a}finally{this._connecting=!1}})}initNetWork(){return t(this,void 0,void 0,function*(){let a=this.getPerta(),u=yield a?.network(),c=null,d=null;this._network=u})}disconnect(){return t(this,void 0,void 0,function*(){let a=this._wallet,u=this.getPerta();if(a){this._wallet=null;try{yield u?.disconnect()}catch{}}})}signAndSubmitTransaction(a,u){return t(this,void 0,void 0,function*(){try{let c=this._wallet,d=this.getPerta();if(!c||!d)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);let h=yield d.signAndSubmitTransaction(a,u);if(h.code)throw new Error(h.message);return h}catch(c){throw c}})}signTransaction(a,u){return t(this,void 0,void 0,function*(){try{let c=this._wallet,d=this.getPerta();if(!c||!d)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);let h=yield d?.signTransaction(a);if(h.code)throw new Error(h.message);return h}catch(c){throw c}})}signMessage(a){return t(this,void 0,void 0,function*(){try{let u=this._wallet,c=this.getPerta();if(!u||!c)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);let d=yield c?.signMessage(a);if(d)return d;throw new Error("Sign Message failed")}catch(u){throw u}})}onAccountChange(a){return t(this,void 0,void 0,function*(){try{let u=this._wallet,c=this.getPerta(),d=h=>t(this,void 0,void 0,function*(){var y,C,w,T,A,O;if(h?.publicKey)this._wallet=Object.assign(Object.assign({},this._wallet),{publicKey:h.publicKey||((y=this._wallet)===null||y===void 0?void 0:y.publicKey),authKey:h.authKey||((C=this._wallet)===null||C===void 0?void 0:C.authKey),address:h.address||((w=this._wallet)===null||w===void 0?void 0:w.address)});else{let v=yield c?.connect();this._wallet=Object.assign(Object.assign({},this._wallet),{authKey:v?.authKey||((T=this._wallet)===null||T===void 0?void 0:T.authKey),address:v?.address||((A=this._wallet)===null||A===void 0?void 0:A.address),publicKey:v?.publicKey||((O=this._wallet)===null||O===void 0?void 0:O.publicKey)})}a?.(this._wallet)});c?.onAccountChange(d)}catch(u){throw u}})}onNetworkChange(){return t(this,void 0,void 0,function*(){try{let a=this._wallet,u=this.getPerta(),c=d=>t(this,void 0,void 0,function*(){d&&(this._network=d.networkName)})}catch(a){throw a}})}};e.PetraWalletAdapter=n}),Wee=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r($9(),e),r(JBe(),e),r(XBe(),e)}),YBe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(a,u,c,d){function h(y){return y instanceof c?y:new c(function(C){C(y)})}return new(c||(c=Promise))(function(y,C){function w(O){try{A(d.next(O))}catch(v){C(v)}}function T(O){try{A(d.throw(O))}catch(v){C(v)}}function A(O){O.done?y(O.value):h(O.value).then(w,T)}A((d=d.apply(a,u||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.AptosThirdpartInjectProvider=void 0;var r=zi(),o=Wee(),s=Ao(),i=_ee(),n=class{constructor(a){this.walletAdapter=a}disconnect(){return t(this,void 0,void 0,function*(){yield this.walletAdapter.disconnect()})}getVersion(){return this.walletAdapter.version}getAccount(a){return t(this,void 0,void 0,function*(){yield this.walletAdapter.connect();let u=this.walletAdapter.publicAccount,c=u.address,d=u.publicKey.toString(),h={};return h[r.APTOS_CHAINS.MAINNET]={publicKey:d},{namespace:r.NameSpaceKeyAptos,addresses:[`${r.APTOS_CHAINS.MAINNET}:${c}`],methods:[],extra:h}})}supportChains(a){return this.walletAdapter.readyState!==o.WalletReadyState.Installed?!1:a.length===1&&a[0]===r.APTOS_CHAINS.MAINNET}send(a){return t(this,void 0,void 0,function*(){try{try{(0,s.logDebug)("AptosStandardProvider send request:",JSON.stringify(a))}catch{}this.confirmNetwrok(a.chainId);let u=a.method,c;if(a.injectParams&&this.walletAdapter){let d=a.injectParams;switch(u){case"aptos_signTransaction":c={method:"aptos_signTransaction",result:yield this.walletAdapter.signTransaction(a.params)};break;case"aptos_signMessage":let h=yield this.walletAdapter.signMessage(d);typeof h=="object"&&"signature"in h&&(h=h.signature),c={method:"aptos_signMessage",result:h};break;case"aptos_signAndSubmitTransaction":c={method:"aptos_signAndSubmitTransaction",result:(yield this.walletAdapter.signAndSubmitTransaction(a.params)).hash};break}}return c}catch(u){throw(0,s.logDebug)("aptosProvider send error:",u),u}})}removeListener(){}addAccountChangedListener(a){this.walletAdapter.onAccountChange(u=>{a?.(u?.address)})}confirmNetwrok(a){var u;if(a!==s.chainName2IdMap.get(r.APTOS_CHAINS.MAINNET))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED);if(((u=this.walletAdapter.network.name)===null||u===void 0?void 0:u.toLowerCase())!=i.AptosNetwork.MAINNET)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED)}};e.AptosThirdpartInjectProvider=n}),QBe=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(jBe(),e),r(YBe(),e),r(Wee(),e)}),eke=W(e=>{"use strict";m();var t=e&&e.__classPrivateFieldGet||function(O,v,B,R){if(B==="a"&&!R)throw new TypeError("Private accessor was defined without a getter");if(typeof v=="function"?O!==v||!R:!v.has(O))throw new TypeError("Cannot read private member from an object whose class did not declare it");return B==="m"?R:B==="a"?R.call(O):R?R.value:v.get(O)},r=e&&e.__classPrivateFieldSet||function(O,v,B,R,U){if(R==="m")throw new TypeError("Private method is not writable");if(R==="a"&&!U)throw new TypeError("Private accessor was defined without a setter");if(typeof v=="function"?O!==v||!U:!v.has(O))throw new TypeError("Cannot write private member to an object whose class did not declare it");return R==="a"?U.call(O,B):U?U.value=B:v.set(O,B),B},o;Object.defineProperty(e,"__esModule",{value:!0}),e.DEPRECATED_getWallets=e.getWallets=void 0;var s,i=new Set;function n(O){h=void 0,i.add(O)}function a(O){h=void 0,i.delete(O)}var u={};function c(){if(s||(s=Object.freeze({register:d,get:y,on:C}),typeof window>"u"))return s;let O=Object.freeze({register:d});try{window.addEventListener("wallet-standard:register-wallet",({detail:v})=>v(O))}catch(v){console.error(`wallet-standard:register-wallet event listener could not be added
`,v)}try{window.dispatchEvent(new T(O))}catch(v){console.error(`wallet-standard:app-ready event could not be dispatched
`,v)}return s}e.getWallets=c;function d(...O){var v;return O=O.filter(B=>!i.has(B)),O.length?(O.forEach(B=>n(B)),(v=u.register)===null||v===void 0||v.forEach(B=>w(()=>B(...O))),function(){var B;O.forEach(R=>a(R)),(B=u.unregister)===null||B===void 0||B.forEach(R=>w(()=>R(...O)))}):()=>{}}var h;function y(){return h||(h=[...i]),h}function C(O,v){var B;return!((B=u[O])===null||B===void 0)&&B.push(v)||(u[O]=[v]),function(){var R;u[O]=(R=u[O])===null||R===void 0?void 0:R.filter(U=>v!==U)}}function w(O){try{O()}catch(v){console.error(v)}}var T=class extends Event{get detail(){return t(this,o,"f")}get type(){return"wallet-standard:app-ready"}constructor(O){super("wallet-standard:app-ready",{bubbles:!1,cancelable:!1,composed:!1}),o.set(this,void 0),r(this,o,O,"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")}};o=new WeakMap;function A(){if(s||(s=c(),typeof window>"u"))return s;let O=window.navigator.wallets||[];if(!Array.isArray(O))return console.error("window.navigator.wallets is not an array"),s;let{register:v}=s,B=(...R)=>R.forEach(U=>w(()=>U({register:v})));try{Object.defineProperty(window.navigator,"wallets",{value:Object.freeze({push:B})})}catch{return console.error("window.navigator.wallets could not be set"),s}return B(...O),s}e.DEPRECATED_getWallets=A}),tke=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(eke(),e)}),nke=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0})}),oke=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0})}),ake=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0})}),uke=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0})}),lke=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(nke(),e),r(oke(),e),r(ake(),e),r(uke(),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}),dke=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.encodeContextObject=e.decodeEncodedContext=void 0;function t(i){let n=atob(i);return Object.fromEntries(new URLSearchParams(n).entries())}e.decodeEncodedContext=t;function r(i){return Array.isArray(i)?"%5B"+i.map(r).join("%2C%20")+"%5D":typeof i=="bigint"?`${i}n`:encodeURIComponent(String(i!=null&&Object.getPrototypeOf(i)===null?Object.assign({},i):i))}function o([i,n]){return`${i}=${r(n)}`}function s(i){let n=Object.entries(i).map(o).join("&");return btoa(n)}e.encodeContextObject=s}),hke=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"}}),gke=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.getErrorMessage=e.getHumanReadableErrorMessage=void 0;var t=dke(),r=hke(),o;(function(u){u[u.EscapeSequence=0]="EscapeSequence",u[u.Text=1]="Text",u[u.Variable=2]="Variable"})(o||(o={}));var s="i",i="t";function n(u,c={}){let d=r.WalletStandardErrorMessages[u];if(d.length===0)return"";let h;function y(w){if(h[i]===o.Variable){let T=d.slice(h[s]+1,w);C.push(T in c?`${c[T]}`:`$${T}`)}else h[i]===o.Text&&C.push(d.slice(h[s],w))}let C=[];return d.split("").forEach((w,T)=>{if(T===0){h={[s]:0,[i]:d[0]==="\\"?o.EscapeSequence:d[0]==="$"?o.Variable:o.Text};return}let A;switch(h[i]){case o.EscapeSequence:A={[s]:T,[i]:o.Text};break;case o.Text:w==="\\"?A={[s]:T,[i]:o.EscapeSequence}:w==="$"&&(A={[s]:T,[i]:o.Variable});break;case o.Variable:w==="\\"?A={[s]:T,[i]:o.EscapeSequence}:w==="$"?A={[s]:T,[i]:o.Variable}:w.match(/\w/)||(A={[s]:T,[i]:o.Text});break}A&&(h!==A&&y(T),h=A)}),y(),C.join("")}e.getHumanReadableErrorMessage=n;function a(u,c={}){if(I.default.env.NODE_ENV!=="production")return n(u,c);{let d=`Wallet Standard error #${u}; Decode this error by running \`npx @wallet-standard/errors decode -- ${u}`;return Object.keys(c).length&&(d+=` '${(0,t.encodeContextObject)(c)}'`),`${d}\``}}e.getErrorMessage=a}),yke=W(e=>{"use strict";m();var t=e&&e.__rest||function(i,n){var a={};for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&n.indexOf(u)<0&&(a[u]=i[u]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,u=Object.getOwnPropertySymbols(i);c<u.length;c++)n.indexOf(u[c])<0&&Object.prototype.propertyIsEnumerable.call(i,u[c])&&(a[u[c]]=i[u[c]]);return a};Object.defineProperty(e,"__esModule",{value:!0}),e.WalletStandardError=e.isWalletStandardError=void 0;var r=gke();function o(i,n){return i instanceof Error&&i.name==="WalletStandardError"?n!==void 0?i.context.__code===n:!0:!1}e.isWalletStandardError=o;var s=class extends Error{constructor(...[i,n]){let a,u;if(n){let{cause:d}=n,h=t(n,["cause"]);d&&(u={cause:d}),Object.keys(h).length>0&&(a=h)}let c=(0,r.getErrorMessage)(i,a);super(c,u),this.context=Object.assign({__code:i},a),this.name="WalletStandardError"}};e.WalletStandardError=s}),mke=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.safeCaptureStackTrace=void 0;function t(...r){"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(...r)}e.safeCaptureStackTrace=t}),bke=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(Vee(),e),r(yke(),e),r(mke(),e)}),vke=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}),wke=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}),xke=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}),Ake=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(vke(),e),r(wke(),e),r(xke(),e)}),Tke=W(e=>{"use strict";m();var t=e&&e.__classPrivateFieldGet||function(a,u,c,d){if(c==="a"&&!d)throw new TypeError("Private accessor was defined without a getter");if(typeof u=="function"?a!==u||!d:!u.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return c==="m"?d:c==="a"?d.call(a):d?d.value:u.get(a)},r=e&&e.__classPrivateFieldSet||function(a,u,c,d,h){if(d==="m")throw new TypeError("Private method is not writable");if(d==="a"&&!h)throw new TypeError("Private accessor was defined without a setter");if(typeof u=="function"?a!==u||!h:!u.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return d==="a"?h.call(a,c):h?h.value=c:u.set(a,c),c},o;Object.defineProperty(e,"__esModule",{value:!0}),e.DEPRECATED_registerWallet=e.registerWallet=void 0;function s(a){let u=({register:c})=>c(a);try{window.dispatchEvent(new i(u))}catch(c){console.error(`wallet-standard:register-wallet event could not be dispatched
`,c)}try{window.addEventListener("wallet-standard:app-ready",({detail:c})=>u(c))}catch(c){console.error(`wallet-standard:app-ready event listener could not be added
`,c)}}e.registerWallet=s;var i=class extends Event{get detail(){return t(this,o,"f")}get type(){return"wallet-standard:register-wallet"}constructor(a){super("wallet-standard:register-wallet",{bubbles:!1,cancelable:!1,composed:!1}),o.set(this,void 0),r(this,o,a,"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")}};o=new WeakMap;function n(a){var u;s(a);try{((u=window.navigator).wallets||(u.wallets=[])).push(({register:c})=>c(a))}catch(c){console.error(`window.navigator.wallets could not be pushed
`,c)}}e.DEPRECATED_registerWallet=n}),Cke=W(e=>{"use strict";m();var t=e&&e.__classPrivateFieldGet||function(T,A,O,v){if(O==="a"&&!v)throw new TypeError("Private accessor was defined without a getter");if(typeof A=="function"?T!==A||!v:!A.has(T))throw new TypeError("Cannot read private member from an object whose class did not declare it");return O==="m"?v:O==="a"?v.call(T):v?v.value:A.get(T)},r=e&&e.__classPrivateFieldSet||function(T,A,O,v,B){if(v==="m")throw new TypeError("Private method is not writable");if(v==="a"&&!B)throw new TypeError("Private accessor was defined without a setter");if(typeof A=="function"?T!==A||!B:!A.has(T))throw new TypeError("Cannot write private member to an object whose class did not declare it");return v==="a"?B.call(T,O):B?B.value=O:A.set(T,O),O},o,s,i,n,a,u;Object.defineProperty(e,"__esModule",{value:!0}),e.guard=e.pick=e.concatBytes=e.bytesEqual=e.arraysEqual=e.ReadonlyWalletAccount=void 0;var c=class I0{get address(){return t(this,o,"f")}get publicKey(){return t(this,s,"f").slice()}get chains(){return t(this,i,"f").slice()}get features(){return t(this,n,"f").slice()}get label(){return t(this,a,"f")}get icon(){return t(this,u,"f")}constructor(A){o.set(this,void 0),s.set(this,void 0),i.set(this,void 0),n.set(this,void 0),a.set(this,void 0),u.set(this,void 0),new.target===I0&&Object.freeze(this),r(this,o,A.address,"f"),r(this,s,A.publicKey.slice(),"f"),r(this,i,A.chains.slice(),"f"),r(this,n,A.features.slice(),"f"),r(this,a,A.label,"f"),r(this,u,A.icon,"f")}};e.ReadonlyWalletAccount=c,o=new WeakMap,s=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakMap,u=new WeakMap;function d(T,A){if(T===A)return!0;let O=T.length;if(O!==A.length)return!1;for(let v=0;v<O;v++)if(T[v]!==A[v])return!1;return!0}e.arraysEqual=d;function h(T,A){return d(T,A)}e.bytesEqual=h;function y(T,...A){let O=A.reduce((B,R)=>B+R.length,T.length),v=new Uint8Array(O);v.set(T,0);for(let B of A)v.set(B,v.length);return v}e.concatBytes=y;function C(T,...A){let O={};for(let v of A)O[v]=T[v];return O}e.pick=C;function w(T){try{T()}catch(A){console.error(A)}}e.guard=w}),Oke=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(Tke(),e),r(Cke(),e)}),h7=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(tke(),e),r(lke(),e),r(bke(),e),r(Ake(),e),r(Oke(),e)}),Bke=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(d,h,y,C){function w(T){return T instanceof y?T:new y(function(A){A(T)})}return new(y||(y=Promise))(function(T,A){function O(R){try{B(C.next(R))}catch(U){A(U)}}function v(R){try{B(C.throw(R))}catch(U){A(U)}}function B(R){R.done?T(R.value):w(R.value).then(O,v)}B((C=C.apply(d,h||[])).next())})},r=e&&e.__classPrivateFieldGet||function(d,h,y,C){if(y==="a"&&!C)throw new TypeError("Private accessor was defined without a getter");if(typeof h=="function"?d!==h||!C:!h.has(d))throw new TypeError("Cannot read private member from an object whose class did not declare it");return y==="m"?C:y==="a"?C.call(d):C?C.value:h.get(d)},o=e&&e.__classPrivateFieldSet||function(d,h,y,C,w){if(C==="m")throw new TypeError("Private method is not writable");if(C==="a"&&!w)throw new TypeError("Private accessor was defined without a setter");if(typeof h=="function"?d!==h||!w:!h.has(d))throw new TypeError("Cannot write private member to an object whose class did not declare it");return C==="a"?w.call(d,y):w?w.value=y:h.set(d,y),y},s,i;Object.defineProperty(e,"__esModule",{value:!0}),e.SolanaStandardProvider=void 0;var n=zi(),a=Ao(),u=h7(),c=class{constructor(d){this.wallet=d,s.set(this,void 0),i.set(this,void 0)}getVersion(){return this.wallet.version}supportChains(d){return d.length===1&&d[0]===n.SOLANA_CHAINS.MAINNET}send(d){return t(this,void 0,void 0,function*(){try{try{(0,a.logDebug)("SolanaStandardProvider send request:",JSON.stringify(d))}catch{}let h=a.chainIdToStandardChainIdMap.get(d.chainId);if(!h)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED);let y=d.method,C;if(d.injectParams&&this.wallet){let w=d.injectParams;switch(y){case"solana_signMessage":let T,A=this.wallet.features["solana:signMessage"],O=w.message,v=new TextEncoder().encode(O);if(A)switch(A.version){case"1.0.0":case"1.1.0":let N={message:v,account:this.wallet.accounts[0]};T=yield A.signMessage(N);break}T&&(C={method:"solana_signMessage",injectResult:T});break;case"solana_signTransaction":if("transactionBuffer"in w){let N=yield this.signTransaction(w.transactionBuffer,h);N&&(C={method:"solana_signTransaction",injectResult:N})}break;case"solana_signAndSendTransaction":let B,R=this.wallet.features["solana:signAndSendTransaction"];if(R&&"transactionBuffer"in w&&R.version==="1.0.0"){let N={transaction:w.transactionBuffer,account:this.wallet.accounts[0],chain:h};B=yield R.signAndSendTransaction(N)}B&&(C={method:"solana_signAndSendTransaction",injectResult:B});break;case"solana_signAllTransactions":let U=[];if("transactionBufferArray"in w&&Array.isArray(w.transactionBufferArray))for(let N of w.transactionBufferArray){let _=yield this.signTransaction(N,h);U.push(_)}U&&(C={method:"solana_signAllTransactions",injectResult:U});break}}if(!C)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);return C}catch(h){throw(0,a.logDebug)("solana request send error:",h),h}})}signTransaction(d,h){return t(this,void 0,void 0,function*(){let y,C=this.wallet.features["solana:signTransaction"];if(C&&C.version==="1.0.0"){let w={transaction:d,account:this.wallet.accounts[0],chain:h};y=yield C.signTransaction(w)}return y})}removeListener(){let d=r(this,s,"f");d&&(o(this,s,null,"f"),d())}addAccountChangedListener(d){if(this.wallet.features["standard:events"]){let h=this.wallet.features["standard:events"];h&&h.version==="1.0.0"&&o(this,s,this.wallet.features[u.StandardEvents].on("change",y=>{if("accounts"in y){let C=this.wallet.accounts[0];r(this,i,"f")&&C!==r(this,i,"f")&&d(C?C.address:void 0)}"features"in y&&d(void 0)}),"f")}}connect(d){return t(this,void 0,void 0,function*(){this.wallet.features["bitkeep:"]&&(yield new Promise(h=>{setTimeout(h,400)})),this.wallet.accounts.length||(yield this.wallet.features[u.StandardConnect].connect(d))})}getAccount(d){return t(this,void 0,void 0,function*(){yield this.connect(d);let h=this.wallet.accounts[0];o(this,i,h,"f");let y=h.address,C={};return{namespace:n.NameSpaceKeySOL,addresses:[`${n.SOLANA_CHAINS.MAINNET}:${y}`],methods:[],extra:C}})}disconnect(){return t(this,void 0,void 0,function*(){if(this.wallet.features["standard:disconnect"])return this.wallet.features["standard:disconnect"].disconnect()})}};e.SolanaStandardProvider=c,s=new WeakMap,i=new WeakMap}),kke=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(Bke(),e)}),Mke=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(KBe(),e),r(QBe(),e),r(kke(),e)}),Rke=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:t.AptosAppleWalletName},e.wallets={[e.WalletNames.BitKeep]:{icon:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAMCAggGCAgGCAgICAgICAcHCAgHCAkIBgYICAYIBggICAcICggICAgJBggICBYICAgICQsJBwkXGAoIDQcICQgBAwQEBgUGCAYGCA0ICQ0JCA4ICA4NDQ4JCAkICAgICggIDQgICAgICggICAgICg4ICAgICAgIDQgICAgICAgICP/AABEIAHgAeAMBEQACEQEDEQH/xAAcAAEBAAIDAQEAAAAAAAAAAAAACAEJAwQHBQL/xAA2EAACAgEDAgMDCQkBAAAAAAABAgADEQQFIQgxEhNBFDJRBiI0QmFjlbHUCRUZIyRDU1WBM//EABwBAQACAwEBAQAAAAAAAAAAAAABBgMHCAIFBP/EAD8RAAIBAgMFBAMNCAMAAAAAAAABAgMRBAVBBhIhMVETImFxB0KRFFJVYpKTorHB0tPh8BYXIzJDU4GhFSQz/9oADAMBAAIRAxEAPwDXPPtlUEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEASCRJIEAQBAEAQBAEAQBIB+XfAJ+AJ478DMklK7SKw2X9n/fdTXbZu1NbuiuUr0TXIhYeLwrd7V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bqXr2OttDpWWzcHX7CujVhw7j/JjkIfylYzTNFRTp03eWr6G6tiNiJ5hKOMxkXGineMdajXTw69PM1+7huD3u91rs9ljF3dzl3ZjksSe5JlCbcnd8X1OqqVOFKChBKMUkoxXJJaI68gyCAIAgCAIAgCAIBh0yCPiCOO/IxBKdmn+uBV+y/tAL6aa6bNppsdEVGsTXNSlhVfD4hT7Lb5YOM+DzHx8TLNSz6pTiodknZc95q/+Nx29ppHH+izC4zEVK/u2cN6Te52cZbt9LurHet13VfnZHd/iHW/6av8AEm/RTL+0VX+zH5T+4fg/dBhfhCp8zH8c+P8AKrr61uopenS6CnRWupUag6k6pqsjHirqaihPGBkhnNig4yjgEHDVz6tUi4qChw/mTu17YpfrkfTy70V5fhK0atbESxMU79k4KCk1yu41ZStfnZJtcFKL4qY9drnudrrHayx2Lu7sWd2JyWZjkkk+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+3kcr3nE3nO121ra5YwXIsxz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a24sw5UqW2bHjCNY+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/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAABHNCSVQICAgIfAhkiAAAAF96VFh0UmF3IHByb2ZpbGUgdHlwZSBBUFAxAAAImeNKT81LLcpMVigoyk/LzEnlUgADYxMuE0sTS6NEAwMDCwMIMDQwMDYEkkZAtjlUKNEABZgamFmaGZsZmgMxiM8FAEi2FMk61EMyAAAgAElEQVR4nOx9d5xUVdL2U3Xu7Z6eABJdUVFBUZKEISkqDBkDZhDTumtAXVcx7Lqru4hZ14TsqoDuruvKSnBNqOQBAwo4JEkGgqigAgrMMDPdfe+p+v643T3dExBwZnzf7/vq97sdbjp16zl1Tp2qOucS/geT3roN9FgLKJRw8QLCjveI5t5lM05qPAIb23VuQrCtRbUNgVtD6ShAD1fgUCI0VqABQBGChgBAAY+AUgXtBXQngO0AbQWwBaQbGPS5qtnUeuXMnShdmMnTwLEGzU5T/KdACaRJHv+nEv3cDFQmxUVAry7A4tsJI6bQ4ti3OOm10bLw6N9Qo0Obh12HjSumo0PmZCU9WaFdFXqMASPbhMBEUFUIFL4qfBWIWggUqkEZRACDYGBgmGFAMMQgAkQV5TYOHwpW2gRgBYE+8FU+8Nhfrb7632//Nn7a5qf1w3PGca/wYcDUEYp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Fpy/mhU1pmFKkVqkLtOwq2aP6JkXM2Z7mUxs5X+AdwUo67y0mv5nzW/W2bobZOaeQQhlFVClUiF3HUK57NR2QmTPsvT4ndJvjh4ducVgONPPacfpx/jXEfuj7/YvWpj+X9Yc4JbGH76A/K8j+lv+zXVNce7pzb5pa7jYWPHpo0hVjszh/sRu5zyRyy62+IGROmBkTsnObdNsaJEaHkXsaU1smyntKQgu2R+SUaWQVIMispUISrDhvn0D0Hhj2CNEvR5o6h/I7g0vzB75eDvj6dnH/5bvSdv4PZdh51tvona4dq1P7kGWDcEt7AXc0//TxwY79PQk+2aSVO8cLQ3PcP72tLXXc2kLFLdpqjtNg+A7zXuiYpU1EZQoOmVhV1QUFDaDJUZVy1F8UBQIBKRIuVyL5ITDS9QlEv+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/hwCbKAn4Hfb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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/c798IKVrCCFaxgBe8ayGIGb8iPXZEg2wU9D7Dz7qfz5tD0t87pIy36LThWoALy4kTp8OP9cu5Z4A2jWzdbK98BPtXvpAPCfiNy+xtvHx7vZZDTS+difttuVfYB7++J2tJgTOGWkVxBy7XSwW4Hda3h9fltDyt6Q3/clhYCj0yUxj/TTd+uNLw+v+0eRb+4KFZLix0jubyUa6UDnTp21PCGwratVrUnP/lfQYxumTj+8qvt+phON7Gq9w+O0tJCm8G0LToKDFw9AC7LhY4rR1uB1+fHdg2Oy/KgmB+7ot31ThrePkAuywLpwLmtwArnDJbO0kPhvHbX3c7jW8MSE1LCMITPEL0mbRHKW5r0NKY5hzCKEMiC8y3IGToL3PKuEadwNcul9lamZYJD5iHWcCHSVQyEY8SMiMdufzNuOsVsoj3LWUVA55wTxTgh4oU8UCkxGSUUnd5LgZ41HFPlfPthrqp8l1XkcMwMHwyu4AH/Ot7DFkyHXGaKhJ0mzw/O2UnB7ZawABYnU8XNlvlsMc+eo6/zw1KVoulN6O5UMgdvyySX125nmBxq6ohYNkcXc0f0EEd5hYSFzdSiVHWae3M7GTY+kVoibPP4jpYQzvs/UiWyEFohKx43rctDZHul37vAMTCqeVxTwzUxjiSoCdlqt3Nf/DDHeI2YuOXYozrFg9lPcoGzikRTI1Y4y5BE5p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Kmi4ni4TQzrTndi/j8y5Z5qvYMIBTEY/Vpv4UprfGbkV2MOlliTcVVcMXw1emn2Rv+GyTHEU3f4KgBFZoZq7DWM3RdbPUgcAsNu2mQUmya+HviNH1Y5R2PKIchl/rrXBzRiHuyF3GxN0o4bxMgVstXhnZw19AHmidEcfwaJqjiBFX8TJXnwxPseukEa6FnoXvPpdUQOCFNQ1MUwReTmnRnNHUZ87ncRUSzws7JqRU45/RDUowb4fiK4yvGV1zPcvlqjz/5AVc+U6eYXeJ6mHRfw2DTPLqZKjZLws6Tl0i4wd+EL+aM+cyzI03/MAm4DXBCcELEDcGNSCRkbLWFqOV8Ay4PxeP5qIQnDqLginDc1vhR+AZrulg+zsXwSPwWMYqT1r1nmiDpOSOK40W4Xogz29xmC/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,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYA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6yJwCKwxk3TgrTJIwEYdmDuEYMIByNVDN2HrZiM44BRbHZg6sB4ZQhnLq503ubx7WOr3A3U4vcLfTC9ztuAYu/B3UStFNgfPbHgJvZzCyEqiU1LoInc9cbOoG1Sp+D9lWBJVSVLWz8Wr76NFjFfD4Dps6yhVFmkmBAGcV+bQaNU65FnQkDs3TwBNZnBWNlLi80rA/dtK53pbuy+incJJEdrroXAOvuVvRefjLReQaOK9HPKtOb/PQ7fQCdzu9wN1OL/C/8F944uGEa+Bc/sm6FnAN/E2hLnJA0G9ddE6BVXgsm53CORhE9msXoVPgqrULWpIawgesrcv7JPBUENk7XQv+Bqq6CqA/Q5ivAAAAAElFTkSuQmCC",downloadUrl:"https://chromewebstore.google.com/detail/backpack/aflkmfhebedbjioipglgcbcmnbpgliof"},[e.WalletNames.Coin98]:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAZiS0dEAP8A/wD/oL2nkwAACxFJREFUaIHlm39wXNV1xz/nvvd2V6tda2XZli1Z8g9QbGMoxJAh7SgV0yGlU8qkoQ0lyZBpJ9BO0h/ATMo0jcmQyXTaTjtpaJsmqWdCJklDcQMNIdMfkGaiVElonAQDxrgGY2RbsmV7pdWP/fV+3Ns/3urHk1bSW2xLxXz/07nnnvs97/445567EpZAYaDvRuB9wC8Am5bS/X+AM8CPgMdzvf0/WExJ6gkLA313AH8JbL0k1C49hoA/yfX2f21+Q8ThwkBfM/AV4PYVInap8W3gg7ne/olpwYzDhYG+LPBd4IZVIHYp8QJwU663fwxAzWn4Zy4/ZwF+DvjG9B8KoDDQdw/wq6vFaAXwS4WBvvsApDDQJ0AeaF1dTpccJaBVAe/h8ncWIA28TwF3rTaTFcSHFPDO1WaxgniHAjauNosVRKsiGpoue7ylnIW3oMP2hXUPQE9g9ClgdI48i6gtIC0gDQ5hfIwZA30MqIbJrwFkG6LaQZIXxPgNOqwxwVmUvR5n00dw2t6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AAAASUVORK5CYII=",downloadUrl:"https://chromewebstore.google.com/detail/coin98-wallet-extension-c/aeachknmefphepccionboohckonoeemg"},[e.WalletNames.Phantom]:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAABWxJREFUaIHtmltsFFUYx39nWkCigtxEmG4JF43WSzSAMTXEUHnQgBhvCRqNQZTOghgNGthZGyHiTqFRHtR2FpCYmICoiBGiEnkyTbzgJZaAKEhIYKdcQzByk+58PjQr2+3Odre7M1tMf097vvPN/3z/nLOzs3MO9NNPP5czqtwF5KIl5oxSSkaAGoHIVYCGUheBv4FjtdPHHLjtrsIs9CnD8cb2GnHd6ShVh0gtMAS4AtCypHcAp4HdwCYR2RiOVp3qaYyyG15rtVcnxV0EPAlcV6TcFqUNmFe/9FpP42Uz3GI5M5VII3BLycUVzxsR/d3sXQETjyWeFlgNDPN5qM2GqT+aGQzMsB1zZoC0AJOCGhPYZJj6nPSA74Ztq70acZuBmX6PlRVFgxHRV1xq+kg8lnhR4E2y32UDQ8Ht9ab+K0ClHwPYK48MIel+Jsh0P/QLRaAZuBt8mGHbcqYh8iVwZam1i+ROw9R3lnSp2ZazFJFv6HtmASJQwiVtx5wNiDxeKj0feAhKsKTtVU4lHbIDuKfoknxHaiuKuXxNLDFUXHYBd5SoonTWgXwIqgO43iOnA+R9UB+hUMCEnIpK29vrGW5pPHKNcpP7gJG91fBGphhm1U+plh07/BKotzKSzoi408LR0C+X8hLLgNdyCH/aK8Nxq32YiLuH4h/2s7HGMPX6zKAdS+wGatJCyw1TX5Yl7xgwykO7reC79LrVTqWIuxN/zAJ84BH/IqO9zSPPKw5QVbDhjnOyA5hY6HX5Iso9kb1Htae3XNc97CFxKIf81QUZtmOJbfh9N3a1MR4dXZap0rzyZFwO9QF5G7YtZwUB/AFQGnM8emZ1acFjHnkP5NLPy3DccmYhEs0nt2iE+XGrvcvPnG05L9D9RcHLtpW4oUtezFkBDM+hfrTHu7Td2B7CdfcDA/MsuTQo1iO0AXXAbI+sf4D3gP10rr66HlT39vxo6brbCdosgPBMHlkDgXABqgdzLmnbcpqAmwoQ7OOofZ5LuqXRmaxc+THIcgLgOc8ZVq58HGQlAfF9VsO25USA8QEX4zdimPquboZtKzEakYZyVOQzX0O232GhARgcdDUB8DlkGLYtZxKwsCzl+IygPoHMGe6c3f8jrWFz7FFIM2xbzmiQJ8pXk6/EUx8uzbDIYnx6T11mjkuFbE41NIC1Kw9UAHPLVpK/rA8vqTqXamgAyeSgGfjybqrsnBeRpvRAakk/W4ZigmBVOFp1Mj2QMvxgGYrxm/aLoZHLMoOabR2uAQYEX4/vzF301CDJDGpKmFGOanxmvWHq27N1aIKa6uPAR0qgcQb4q4D8PYapz/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,iVBORw0KGgoAAAANSUhEUgA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CCouX7HYtfcKz798kT0fXwLg9ReHMH9Od9xxsi20ej2WCeWdmgHibFvOUgfhUwCWorDIR7XPpv/ADtontPkRRNnDOU2bvR2Y0tbT1YGzCwm0SriJAIeE56OR4dO0D7XHjHUQ3hVsH7IgxGJwwpHwbD+OYk37zPwXgBDrRBf90ccN3zxM2wnqr+kTAEDsEJ7cmuV6Q8IRmgZiR3uL1IbYBaE6Ibfe9Mf5/uHH7SJS22GN8Hz0LzdebOxDrdHOpwFZbSpW6+OPIB4Sntzj9f3ZZIKrvLd1B3sBMAkYBKRFMq6doICLQB6IPSDfEp6cwsYG/B9N1rbFqj5FHQAAAABJRU5ErkJggg==",downloadUrl:"https://chromewebstore.google.com/detail/solflare-wallet/bhhhlbepdkbapadjdnnojkbgioiodbic"},[e.WalletNames.Trust]:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAABoNJREFUaIHtml1oHNcVx3937ux6tZJqtxLpFyVJwTVWDMUmpY0TSu3QQnFtmjZpmvah0Le+FAp1HKW0FBq/+LWlT3FLW2L3w7SVS6B5aF0IOMQUSkDSJowX6yUga0aW7d0d7cedOX2YWe1qLY3WO+NIgv3DZb7vOb97ztz5uBeGGmqooYYaasdIpa1gfn7+mWKxeKJQKBy1bfuAUsrKwrG2RKRljFnwff8t3/cvHTp06B9Z1t+vlOM45zzPM41GQz4oNRoN8TxPyuXyNJBpw26qUql0bGlpyTXGfGCgvTLGiOu6K6VS6fgDhXUc53SlUtk20F5VKhVxHOfMg4J9sVarbTfjParVauI4zulMYUul0vGdFNleVSoVKZVKx7LitVzXXcnSwWVX5K7Us6xSXNf1yOCpQ7lcns6ig1r2RK78W+SF50VA5AvyivzEzMib5j2phs3U9RtjxHGcc1vxbNkinufJxMTEQI21sgJvXYWzv4Crb68/dqz5S+omzx27Tkk1+T6f4rvqszxufZpxtWcge8vLy8Hk5KSddE4i8Ozs7Mn9+/dfzufzfRkM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5Sd0TXQNup3QTm4eWz8K1TWXq4hTzPC+53BCAMRV78cTS6YCOS26TY4yL2h0TsfSL2hIieFLE/KqI/Hl17+mci4QAjEJ7nNQcGXlxcnB/ApoiInH0lcpzNoPMiuYKIXRSxxyJ4xqLzz54b1KrI4uKiMzDwwsLCq4ObFrk8kwCtRHKWSE6L5HKd82Yup7EocuPGjd8lMSXew77vv95sDp4hJ0/Bu+/C0c9HvXd3D64AQmgF0GrBF5+CchlOnRzYHM1mE9/3Lw1eA+B5Xuqhw1ZL5I8XO1HsLRdei+79tPI8L93HMoDjOOeyms9x947Ir3/VAT3/qojvZ1K1GGPk+vXr06mBAbW0tORl41Yk3xe5fTvLGkVc112hj8dsP89hcV33uWq1mr7pYo2MwN69mVVHtVrl5s2b36S/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(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(Ov(),e),r(RBe(),e),r(WBe(),e),r(Mke(),e),r(Rke(),e)}),m3=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(i,n,a,u){function c(d){return d instanceof a?d:new a(function(h){h(d)})}return new(a||(a=Promise))(function(d,h){function y(T){try{w(u.next(T))}catch(A){h(A)}}function C(T){try{w(u.throw(T))}catch(A){h(A)}}function w(T){T.done?d(T.value):c(T.value).then(y,C)}w((u=u.apply(i,n||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.WsConnector=void 0;var r=bv(),o=Ks(),s=class{constructor(){this.disconnectListener=[],this.walletName="",this.walletNameKey="",this.enable=!0,this.icon="",this.pendingRequests=new Map,(0,o.getDefaultReporter)().beginReport()}setOpenWalletCalled(i){this.openWalletCalledListener=i}setAccountChangeListener(i){this.accountChangeListener=i}setConnectionManager(i){this.connectionManager=i}addConnectionListener(){var i;(i=this.connectionManager)===null||i===void 0||i.addListener("sdk_response",(n,a)=>{var u=(0,r.safeJsonParse)(a);(0,o.logDebug)(`Engine ==>> addListener ==> success ==> ${u}`),this.handleResponse(n,u)},function(){})}addDisconnectListener(i){this.disconnectListener.push(i)}connectManagerDisconnect(){return t(this,arguments,void 0,function*(i=!1){var n;yield(n=this.connectionManager)===null||n===void 0?void 0:n.disconnect(i)})}openWallet(i,n){var a;(a=this.openWalletCalledListener)===null||a===void 0||a.call(this,this)}bindRequestForPromise(i,n){this.pendingRequests.set(i,n)}send(i,n,a){return t(this,void 0,void 0,function*(){var u,c;try{delete i.injectParams}catch{}(0,o.logDebug)("Engine ==>> send  request==>",JSON.stringify(i));let d=this.getRequestId();try{let h=yield(u=this.connectionManager)===null||u===void 0?void 0:u.send(JSON.stringify(Object.assign(Object.assign({},i),{requestId:d})),a);h&&((c=this.connectionManager)===null||c===void 0||c.events.once(h.toString(),y=>{var C;(0,o.logDebug)(`Engine ==> send => onAck => ${(0,r.safeJsonStringify)(y)}`),y&&y.result&&((C=n.onAck)===null||C===void 0||C.call(n))})),n.resolve&&this.bindRequestForPromise(d,n.resolve)}catch(h){return Promise.reject(h)}})}restoreconnect(i,n){return t(this,void 0,void 0,function*(){var a;yield(a=this.connectionManager)===null||a===void 0?void 0:a.restoreConnect(i.topic),n(i)})}restoreconnectFromTopic(i){return t(this,void 0,void 0,function*(){var n;yield(n=this.connectionManager)===null||n===void 0?void 0:n.restoreConnect(i)})}getRequestId(){let i=Date.now().toString();return(0,o.logDebug)("Engine ==>> getRequestId ==>",i),i}handleResponse(i,n){if((0,o.logDebug)(`Engine ==>> handleResponse_1  ======>response: ${(0,r.safeJsonStringify)(n)}`,i),"requestId"in n){(0,o.logDebug)("Engine ==>> handleResponse_2  ===> in response");let a=n.requestId,u=this.pendingRequests.get(a);u?((0,o.logDebug)("Engine ==>> handleResponse_3  ===> find resolve:",u),u(n),this.pendingRequests.delete(a)):((0,o.logDebug)("Engine ==>> handleResponse_3  ===> not find resolve:"),n.method==="disconnect"&&(this.disconnectListener.forEach(c=>c()),this.disconnectListener=[],this.clearData()))}}getCurrentConnectionReady(){var i;return!!(!((i=this.connectionManager)===null||i===void 0)&&i.getCurrentConnectionReady())}saveSessionContent(i,n){var a;(a=this.connectionManager)===null||a===void 0||a.saveSessionContent(i,n)}getSessionContent(i){var n;return(n=this.connectionManager)===null||n===void 0?void 0:n.getSessionContent(i)}setOnConnectResultListener(i){this.connectResultListener=i}getTag(){return""}toJSON(){return"ws-connector"}clearData(){this.pendingRequests.clear()}};e.WsConnector=s}),Uke=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXAppConnector=void 0;var t=E0(),r=Ao(),o=MS(),s=zi(),i=m3(),n=class extends i.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(a,u){super.openWallet(a);let c=u??s.OpenAppLinkType.UniversalLink;if(a&&a.connectRequest||!(0,r.isOS)("android")){(0,r.logDebug)(`appwallet-connector openwallet before useSHortLink engineConnectInfo.connectRequest JSON ${JSON.stringify(a)}`);let d=a?.connectRequest,{universalLink:h,deepLink:y}=(0,r.getOKXLink)(d,s.ConnectWalletType.OKX_APP);(0,r.openOKXDeeplinkWithFallback)(y,h,c)}else(0,r.openDeeplinkWithFallback)(o.okxAppStackDeepLink,()=>{})}};e.OKXAppConnector=n}),y7=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(n,a,u,c){function d(h){return h instanceof u?h:new u(function(y){y(h)})}return new(u||(u=Promise))(function(h,y){function C(A){try{T(c.next(A))}catch(O){y(O)}}function w(A){try{T(c.throw(A))}catch(O){y(O)}}function T(A){A.done?h(A.value):d(A.value).then(C,w)}T((c=c.apply(n,a||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.InjectConnector=void 0;var r=zi(),o=Ao(),s=E0(),i=class{constructor(){this.disconnectListener=[],this.providerMap=new Map,this.disconnectHandler=null,this.walletName="",this.icon="",this.walletNameKey="",this.enable=!0}setAccountChangeListener(n){(0,o.logDebug)("setAccountChangeListener: inject",n),this.accountChangeListener=n}setConnectionManager(n){this.connectionManager=n}getInjectProvider(n){if(n){for(let[a,u]of this.providerMap.entries())if(n.includes(a))return u}}send(n,a){return t(this,void 0,void 0,function*(){var u;try{(0,o.logDebug)("InjectEngine send  > request:",(0,o.safeJsonStringify)(n));let c=n;if(c.method==="disconnect"){yield this.disconnect(),this.disconnectListener.forEach(h=>h()),this.disconnectListener=[],(u=a.onAck)===null||u===void 0||u.call(a);return}yield this.checkWalletMatch();let d=this.getInjectProvider((0,o.getNamespaceKeyByChain)(c.chainId));if(d){d.send(c).then(h=>{var y;(0,o.logDebug)("InjectEngine ==>> send > result:",h),(y=a.resolve)===null||y===void 0||y.call(a,h)}).catch(h=>{var y;let C=r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,w="";h&&(C=h.code,w=h.message),C===4001&&(C=r.OKX_CONNECT_ERROR_CODES.USER_REJECTS_ERROR);let T={requestId:Date.now().toString(),method:n.method,error:{code:C,message:w}};(0,o.logDebug)("InjectEngine ==>> send > errorResponse:",JSON.stringify(T)),(y=a.resolve)===null||y===void 0||y.call(a,T)});return}else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED)}catch(c){return(0,o.logDebug)("InjectEngine ==>> send  ===> error:",c),Promise.reject(c)}})}checkWalletMatch(){return t(this,void 0,void 0,function*(){return new Promise((n,a)=>{var u;let c=(u=this.connectionManager)===null||u===void 0?void 0:u.getSessionContent("connectSession");c||a(new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED)),this.restoreconnect(c,d=>{d?n():a(new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED))})})})}clearData(){this.connectResultListener=void 0}addDisconnectListener(n){this.disconnectListener.push(n)}setOnConnectResultListener(n){this.connectResultListener=n}connectManagerDisconnect(){return t(this,arguments,void 0,function*(n=!1){})}getCurrentConnectionReady(n){return!!n}getTag(){return s.OKX_INJECT_WALLET}toJSON(){return"inject-connector"}getSupportNameSpaces(){return Array.from(this.providerMap.keys())}};e.InjectConnector=i}),Wke=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.TgwalletConnector=void 0;var t=m3(),r=E0(),o=zi(),s=Ao(),i=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(n,a){var u;super.openWallet(n);var c=(0,s.getOKXLink)(n?.connectRequest,o.ConnectWalletType.OKX_MINI,(u=n?.tmaReturnUrl)!==null&&u!==void 0?u:"back");(0,s.openOKXTMAWalletlinkWithFallback)(c.universalLink)}};e.TgwalletConnector=i}),Kke=W((e,t)=>{"use strict";m();function r(o){if(o.length>=255)throw new TypeError("Alphabet too long");for(var s=new Uint8Array(256),i=0;i<s.length;i++)s[i]=255;for(var n=0;n<o.length;n++){var a=o.charAt(n),u=a.charCodeAt(0);if(s[u]!==255)throw new TypeError(a+" is ambiguous");s[u]=n}var c=o.length,d=o.charAt(0),h=Math.log(c)/Math.log(256),y=Math.log(256)/Math.log(c);function C(A){if(A instanceof Uint8Array||(ArrayBuffer.isView(A)?A=new Uint8Array(A.buffer,A.byteOffset,A.byteLength):Array.isArray(A)&&(A=Uint8Array.from(A))),!(A instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(A.length===0)return"";for(var O=0,v=0,B=0,R=A.length;B!==R&&A[B]===0;)B++,O++;for(var U=(R-B)*y+1>>>0,N=new Uint8Array(U);B!==R;){for(var _=A[B],L=0,H=U-1;(_!==0||L<v)&&H!==-1;H--,L++)_+=256*N[H]>>>0,N[H]=_%c>>>0,_=_/c>>>0;if(_!==0)throw new Error("Non-zero carry");v=L,B++}for(var F=U-v;F!==U&&N[F]===0;)F++;for(var G=d.repeat(O);F<U;++F)G+=o.charAt(N[F]);return G}function w(A){if(typeof A!="string")throw new TypeError("Expected String");if(A.length===0)return new Uint8Array;for(var O=0,v=0,B=0;A[O]===d;)v++,O++;for(var R=(A.length-O)*h+1>>>0,U=new Uint8Array(R);A[O];){var N=A.charCodeAt(O);if(N>255)return;var _=s[N];if(_===255)return;for(var L=0,H=R-1;(_!==0||L<B)&&H!==-1;H--,L++)_+=c*U[H]>>>0,U[H]=_%256>>>0,_=_/256>>>0;if(_!==0)throw new Error("Non-zero carry");B=L,O++}for(var F=R-B;F!==R&&U[F]===0;)F++;for(var G=new Uint8Array(v+(R-F)),l=v;F!==R;)G[l++]=U[F++];return G}function T(A){var O=w(A);if(O)return O;throw new Error("Non-base"+c+" character")}return{encode:C,decodeUnsafe:w,decode:T}}t.exports=r}),qke=W((e,t)=>{m();var r=Kke(),o="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";t.exports=r(o)}),jke=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(c,d,h,y){function C(w){return w instanceof h?w:new h(function(T){T(w)})}return new(h||(h=Promise))(function(w,T){function A(B){try{v(y.next(B))}catch(R){T(R)}}function O(B){try{v(y.throw(B))}catch(R){T(R)}}function v(B){B.done?w(B.value):C(B.value).then(A,O)}v((y=y.apply(c,d||[])).next())})},r=e&&e.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(e,"__esModule",{value:!0}),e.SolProvider=void 0;var o=zi(),s=Ao(),i=r(qke()),n=rg(),a=Ov(),u=class{constructor(){this.accountChangedSolanaPublicKeyHandler=null}send(c){return t(this,void 0,void 0,function*(){var d;try{yield this.restoreConnect(),(0,s.logDebug)("SolProvider send request:",JSON.stringify(c));let C=c.method,w;if(c.injectParams){switch(C){case"solana_signMessage":if(c.injectParams&&typeof c.injectParams=="object"&&"message"in c.injectParams){var h=(d=c.injectParams)===null||d===void 0?void 0:d.message;let T=new TextEncoder().encode(h),A=yield window.okxwallet.solana.signMessage(T,"utf8");return w={method:c.method,result:i.default.encode(A.signature)},(0,s.logDebug)("SolProvider send result:",JSON.stringify(A)),w}else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`param is error method: '${C}'`);break;case"solana_signTransaction":if(c.injectParams&&"transaction"in c.injectParams){let T=yield window.okxwallet.solana.signTransaction(c.injectParams.transaction);return(0,s.logDebug)("SolProvider send bufferResult:",JSON.stringify(T)),w={method:c.method,injectResult:T},(0,s.logDebug)("SolProvider send result:",(0,s.safeJsonStringify)(w)),w}break;case"solana_signAllTransactions":if(c.injectParams&&"transactions"in c.injectParams){let T=yield window.okxwallet.solana.signAllTransactions(c.injectParams.transactions);return(0,s.logDebug)("SolProvider send result:",(0,s.safeJsonStringify)(T)),w={method:c.method,injectResult:T},w}break;case"solana_signAndSendTransaction":if(c.injectParams&&"transaction"in c.injectParams){var y=yield window.okxwallet.solana.signAndSendTransaction(c.injectParams.transaction);return(0,s.logDebug)("SolProvider send result:",(0,s.safeJsonStringify)(y)),w={method:c.method,injectResult:y},w}break;default:throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,`method: '${C}'`)}throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,`method: '${C}'`)}else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`param is error method: '${C}'`)}catch(C){throw(0,s.logDebug)("SolProvider send error:",C),C}})}disconnect(){}restoreConnect(){return(0,n.isDevice)("mobile")?this.connect():Promise.resolve()}parseConnectResponse(c,d,h,y,C,w){return t(this,void 0,void 0,function*(){let T=[];y.forEach(B=>{B.namespace===o.NameSpaceKeySOL&&T.push(...B.chains)});let A=[],O={},v={};if(T.forEach(B=>{let R=C.address.find(U=>U.chainId==="501"&&U.coinType===501||U.namespaceChainId===B);R&&(A.push(B+":"+R.address),v&&"publicKey"in v?O[B]=v:O[B]={publicKey:R.publicKey})}),A&&A.length>0){let B={namespace:o.NameSpaceKeySOL,addresses:A,methods:[...a.SOLANAMethods],extra:O};return(0,s.logDebug)("parseConnectResponse nameSpaceResponse :",JSON.stringify(B)),B}})}connect(){return t(this,void 0,void 0,function*(){return window.okxwallet.solana.connect()})}singleConnect(){return this.connect()}addAccountChangedListener(c){console.log("window.okxwallet configEventWithKey:","sol"),this.accountChangedSolanaPublicKeyHandler=d=>{console.log("window.okxwallet configEventWithKey_solana:",Date.now(),"sol",d),d&&c()},window.okxwallet.solana.on("accountChanged",this.accountChangedSolanaPublicKeyHandler)}removeListener(){this.accountChangedSolanaPublicKeyHandler&&window.okxwallet.solana.removeListener("accountChanged",this.accountChangedSolanaPublicKeyHandler)}};e.SolProvider=u}),Vke=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(d,h,y,C){function w(T){return T instanceof y?T:new y(function(A){A(T)})}return new(y||(y=Promise))(function(T,A){function O(R){try{B(C.next(R))}catch(U){A(U)}}function v(R){try{B(C.throw(R))}catch(U){A(U)}}function B(R){R.done?T(R.value):w(R.value).then(O,v)}B((C=C.apply(d,h||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.AptosProvider=void 0;var r=zi(),o=Ao(),s=Ov(),i=rg(),n=QU(),a=Object.freeze(["637","70000060","70000066"]),u=new Map;u.set("aptos:637","Mainnet"),u.set("aptos:70000060","Movement Testnet"),u.set("aptos:70000066","Movement Mainnet");var c=class{send(d){return t(this,void 0,void 0,function*(){try{(0,o.logDebug)("AptosProvider send request:",(0,o.safeJsonStringify)(d)),yield this.restoreConnect();let h=yield window.okxwallet.aptos.network(),y=this.searchChainIdToInjectChainName(d.chainId);if((0,o.logDebug)("AptosProvider send network and searchNetwork:",h,"-----",y),!(h&&y&&h.toLowerCase()===y.toLowerCase()))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Please switch your wallet link to '${y}'`);let C=d.method,w;switch(C){case"aptos_signMessage":if(d.injectParams){let T=yield window.okxwallet.aptos.signMessage(d.injectParams);return w={method:d.method,result:T.signature,injectResult:T},(0,o.logDebug)("AptosProvider send result:",(0,o.safeJsonStringify)(w)),w}else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`param is error method: '${C}'`);break;case"aptos_signTransaction":{(0,o.logDebug)("AptosProvider Method>>>> :",C);let T=yield window.okxwallet.aptos.signTransaction(d.params);return w={method:d.method,result:T},(0,o.logDebug)("AptosProvider send result:",(0,o.safeJsonStringify)(w)),w}break;case"aptos_signAndSubmitTransaction":{(0,o.logDebug)("AptosProvider Method>>>> :",C);let T=yield window.okxwallet.aptos.signAndSubmitTransaction(d.params);return w={method:d.method,result:T.hash},(0,o.logDebug)("AptosProvider send result:",(0,o.safeJsonStringify)(w)),w}break;default:throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,` method: '${C}'`)}}catch(h){throw(0,o.logDebug)("AptosProvider send error:",h),h}})}searchChainIdToInjectChainName(d){let h=d;return u.forEach((y,C)=>{d.includes(C)&&(h=y)}),h}disconnect(){}restoreConnect(){return(0,i.isDevice)("mobile")?this.connect():Promise.resolve()}parseConnectResponse(d,h,y,C,w,T){return t(this,void 0,void 0,function*(){let A=[];C.forEach(R=>{R.namespace===r.NameSpaceKeyAptos&&A.push(...R.chains)});let O=[],v={};(0,o.logDebug)("AptosProvider parseConnectResponse connectChain",JSON.stringify(A));let B;if(!(0,i.isDevice)("mobile")&&A&&A.length>0&&(B=(yield window.okxwallet.aptos.connect()).publicKey),A.forEach(R=>{let U=w.address.find(N=>a.includes(N.chainId)&&N.coinType===637||N.namespaceChainId===R);U&&(O.push(R+":"+U.address),v[R]={publicKey:U.publicKey?U.publicKey:B})}),(0,o.logDebug)("AptosProvider parseConnectResponse addresses",JSON.stringify(O)),O&&O.length>0)return{namespace:r.NameSpaceKeyAptos,addresses:O,methods:[...s.AptosMethods],extra:v}})}connect(){return t(this,void 0,void 0,function*(){return window.okxwallet.aptos.connect()})}singleConnect(){return this.connect()}addAccountChangedListener(d){window.okxwallet.aptos.onAccountChange(h=>{console.log("window.okxwallet configEventWithKey_aptos:",Date.now(),n.key,JSON.stringify(h)),h&&d()})}removeListener(){}};e.AptosProvider=c}),Jke=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(a,u,c,d){function h(y){return y instanceof c?y:new c(function(C){C(y)})}return new(c||(c=Promise))(function(y,C){function w(O){try{A(d.next(O))}catch(v){C(v)}}function T(O){try{A(d.throw(O))}catch(v){C(v)}}function A(O){O.done?y(O.value):h(O.value).then(w,T)}A((d=d.apply(a,u||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.TONProvider=void 0;var r=zi(),o=Ao(),s=rg(),i=Ov(),n=class{constructor(){this.signalChainConnectResult=void 0,this.accountChangedTONHandler=null}send(a){return t(this,void 0,void 0,function*(){try{(0,o.logDebug)("TONProvider send request:",(0,o.safeJsonStringify)(a));let u=null;if(a.method==="ton_sendTransaction")a.params&&(u={method:"sendTransaction",params:[JSON.stringify(a.params)],id:Date.now().toString()},(0,o.logDebug)("TONProvider tonParams first:",JSON.stringify(u)));else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);if(u){let c=yield window.okxTonWallet.tonconnect.send(u);if((0,o.logDebug)("TONProvider send request result:",(0,o.safeJsonStringify)(c)),c.error)throw new r.OKXConnectError(c.error.code,c.error.message);return{result:c.result,method:a.method}}else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)}catch(u){throw(0,o.logDebug)("TONProvider encountered an error:",u),u}})}restoreConnect(){return Promise.resolve()}parseConnectResponse(a,u,c,d,h,y){return t(this,void 0,void 0,function*(){try{let C=[];d.forEach(A=>{A.namespace===r.NameSpaceKeyTON&&C.push(...A.chains)});let w=[],T={};if(C.forEach(A=>{let O=(0,o.getChainId)(A),v=h.address.find(B=>B.chainId==="607"&&B.coinType===607||B.namespaceChainId===A);v&&(w.push(A+":"+v.address),T[A]={publicKey:v.publicKey})}),(0,o.logDebug)("tonprovider parseConnectResponse needPop and addresses: ",a,JSON.stringify(w)),w&&w.length>0){let A=d.find(v=>v.namespace===r.NameSpaceKeyTON);(0,o.logDebug)("tonprovider parseConnectResponse ton: ",JSON.stringify(A));let O;if(A&&A.params&&y&&y.manifestUrl){this.dappInfo=y;let v=[A.params.ton_addr],B={manifestUrl:y.manifestUrl,items:v};(a||u)&&A.params.ton_proof&&v.push(A.params.ton_proof),(0,o.logDebug)("parseConnectResponse ton connect params: ",JSON.stringify(B)),(0,s.isDevice)("mobile")?O=yield window.okxTonWallet.tonconnect.connect(2,B):a||u?O=yield window.okxTonWallet.tonconnect.connect(2,B):O=yield window.okxTonWallet.tonconnect.restoreConnection()}else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"manifestUrl is nil");if(c&&this.signalChainConnectResult&&(O=this.signalChainConnectResult,this.signalChainConnectResult=void 0),(0,o.logDebug)("parseConnectResponse ton connect result: ",JSON.stringify(O)),O&&A){if(O.event==="connect_error")throw new r.OKXConnectError(O.payload.code,O.payload.message);{let v=O.payload.items.find(R=>R.name==="ton_addr"),B=O.payload.items.find(R=>R.name==="ton_proof");return(0,o.logDebug)("tonprovider connect isSignalChain: ",c),{namespace:r.NameSpaceKeyTON,addresses:w,methods:[...i.TONMethods],extra:T,data:{ton_addr:v,ton_proof:B,manifestUrl:y.manifestUrl}}}}}return}catch(C){throw(0,o.logDebug)("tonprovider parseConnectResponse error: ",JSON.stringify(C)),C}})}connect(a,u){return t(this,void 0,void 0,function*(){if(a&&u&&u.manifestUrl&&a.params){this.dappInfo=u;let c=[a.params.ton_addr],d={manifestUrl:u.manifestUrl,items:c};a.params.ton_proof&&c.push(a.params.ton_proof),(0,o.logDebug)("tonprovider connect params: ",JSON.stringify(d));try{let h=yield window.okxTonWallet.tonconnect.connect(2,d);return(0,o.logDebug)("tonprovider connect tonResult: ",JSON.stringify(h)),this.signalChainConnectResult=h,h}catch(h){throw(0,o.logDebug)("tonprovider connect error: ",JSON.stringify(h)),new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"tonconnect error")}}else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"manifestUrl or params is nil")})}singleConnect(a,u){return this.connect(a,u)}addAccountChangedListener(a){console.log("window.okxwallet configEventWithKey:","ton"),this.accountChangedTONHandler=()=>{console.log("window.okxwallet configEventWithKey_TON:",Date.now(),"ton"),a()},window.okxTonWallet.tonconnect.on("accountChanged",this.accountChangedTONHandler)}removeListener(){this.accountChangedTONHandler&&window.okxTonWallet.tonconnect.off("accountChanged",this.accountChangedTONHandler)}};e.TONProvider=n}),Xke=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(a,u,c,d){function h(y){return y instanceof c?y:new c(function(C){C(y)})}return new(c||(c=Promise))(function(y,C){function w(O){try{A(d.next(O))}catch(v){C(v)}}function T(O){try{A(d.throw(O))}catch(v){C(v)}}function A(O){O.done?y(O.value):h(O.value).then(w,T)}A((d=d.apply(a,u||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.SuiProvider=void 0;var r=zi(),o=Ao(),s=rg(),i=Ov(),n=class{constructor(a=window.okxwallet.sui){this.accountChangedHandler=null,this.wallet=a}getSuiPublicKey(){return t(this,void 0,void 0,function*(){return(yield this.connect()).accounts[0].publicKey})}parseConnectResponse(a,u,c,d,h,y){return t(this,void 0,void 0,function*(){try{let C=[];d.forEach(O=>{O.namespace===r.NameSpaceKeySui&&C.push(...O.chains)});let w=[],T={};if(C.length==0)return;let A=yield this.getSuiPublicKey();return C.forEach(O=>{var v;let B=(0,o.getChainId)(O),R=h.address.find(U=>U.coinType===784||U.namespaceChainId===O);R&&(w.push(O+":"+R.address),T[O]={publicKey:(v=R.publicKey)!==null&&v!==void 0?v:A})}),w&&w.length>0?{namespace:r.NameSpaceKeySui,addresses:w,methods:[...i.SuiMethods],extra:T}:void 0}catch(C){throw C}})}restoreConnect(){return(0,s.isDevice)("mobile")?this.connect():Promise.resolve()}getSuiWallet(){return this.wallet}send(a){return t(this,void 0,void 0,function*(){try{yield this.restoreConnect(),(0,o.logDebug)("suiProvider send request:",JSON.stringify(a));let u=a.method,c;if(a.injectParams&&this.getSuiWallet()){let d=a.injectParams;switch(u){case"sui_signTransactionBlock":let h;if(this.getSuiWallet().features["sui:signTransaction"])h=yield this.getSuiWallet().features["sui:signTransaction"].signTransaction(d);else if(this.getSuiWallet().features["sui:signTransactionBlock"])h=yield this.getSuiWallet().features["sui:signTransactionBlock"].signTransactionBlock(d);else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);c={method:"sui_signTransactionBlock",result:h?.signature};break;case"sui_signAndExecuteTransactionBlock":let y;if(this.getSuiWallet().features["sui:signAndExecuteTransaction"])y=yield this.getSuiWallet().features["sui:signAndExecuteTransaction"].signAndExecuteTransaction(d);else if(this.getSuiWallet().features["sui:signAndExecuteTransactionBlock"])y=yield this.getSuiWallet().features["sui:signAndExecuteTransactionBlock"].signAndExecuteTransactionBlock(d);else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);c={method:"sui_signAndExecuteTransactionBlock",result:y.digest};break;case"sui_signMessage":c={method:"sui_signMessage",result:(yield this.getSuiWallet().features["sui:signMessage"].signMessage(d)).signature};break;case"sui_signPersonalMessage":c={method:"sui_signPersonalMessage",result:(yield this.getSuiWallet().features["sui:signPersonalMessage"].signPersonalMessage(d)).signature};break}}return c}catch(u){throw(0,o.logDebug)("suiProvider send error:",u),u}})}connect(){return t(this,void 0,void 0,function*(){var a;return(a=this.getSuiWallet())===null||a===void 0?void 0:a.features["standard:connect"].connect()})}singleConnect(){return this.connect()}addStandardEventListener(a){var u,c;!((u=this.getSuiWallet())===null||u===void 0)&&u.features["standard:events"]?((0,o.logDebug)("sui-provider standard:events change"),(c=this.getSuiWallet())===null||c===void 0||c.features["standard:events"].on("change",d=>{a(d)})):(0,o.logDebug)("sui-provider standard:events null")}addAccountChangedListener(a){var u;console.log("configEventWithKey:","sui"),this.getSuiWallet().on&&(this.accountChangedHandler=c=>{console.log("configEventWithKey_sui:",Date.now(),"sui",c),c&&a()},(u=this.getSuiWallet())===null||u===void 0||u.on("accountChanged",this.accountChangedHandler))}removeListener(){var a;this.accountChangedHandler&&((a=this.getSuiWallet())===null||a===void 0||a.removeListener("accountChanged",this.accountChangedHandler))}};e.SuiProvider=n}),Yke=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(a,u,c,d){function h(y){return y instanceof c?y:new c(function(C){C(y)})}return new(c||(c=Promise))(function(y,C){function w(O){try{A(d.next(O))}catch(v){C(v)}}function T(O){try{A(d.throw(O))}catch(v){C(v)}}function A(O){O.done?y(O.value):h(O.value).then(w,T)}A((d=d.apply(a,u||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.BtcProvider=void 0;var r=zi(),o=Ao(),s=Ov(),i=rg(),n=class{constructor(){this.accountChangedBtcHandler=null}connect(){return window.okxwallet.unisat.connect()}switchChain(a){return t(this,void 0,void 0,function*(){let u=window.okxwallet.unisat;switch(a){case r.BTC_CHAINS.MAINNET:yield u.switchChain("BITCOIN_MAINNET");break;case r.BTC_CHAINS.FRACTAL:yield u.switchChain("FRACTAL_BITCOIN_MAINNET");break}})}parseConnectResponse(a,u,c,d,h){return t(this,void 0,void 0,function*(){try{let y=[];d.forEach(v=>{v.namespace===r.NameSpaceKeyBtc&&y.push(...v.chains)});let C=[],w={};if(y.length==0)return;let T=(v,B)=>v.find(R=>{let U=R.name==="bitcoin"&&B===r.BTC_CHAINS.MAINNET||R.name==="fractalbitcoin"&&B===r.BTC_CHAINS.FRACTAL;return R.coinType===0&&U||R.namespaceChainId===B}),A=v=>t(this,void 0,void 0,function*(){let B=T(h.address,v);if(!B)return;C.push(v+":"+B.address);let R=yield this.connect();w[v]={publicKey:R.publicKey,compressedPublicKey:R.compressedPublicKey}}),O=y.map(A);return yield Promise.all(O),C&&C.length>0?{namespace:r.NameSpaceKeyBtc,addresses:C,methods:[...s.BtcMethods],extra:w}:void 0}catch(y){throw y}})}restoreConnect(){return t(this,void 0,void 0,function*(){return(0,i.isDevice)("mobile")?this.connect():Promise.resolve()})}send(a){return t(this,void 0,void 0,function*(){try{(0,o.logDebug)("btcProvider send request:",JSON.stringify(a));let u=a.method,c=a.chainId;yield this.restoreConnect(),yield this.switchChain(c);let d;if(a.params)switch(u){case"btc_signMessage":{let{signStr:h,type:y}=a.params||{},C=yield window.okxwallet.unisat.signMessage(h,y);return{method:a.method,result:C}}case"btc_send":{let{from:h,to:y,value:C,satBytes:w}=a.params||{},T=yield window.okxwallet.unisat.send({from:h,to:y,value:C,satBytes:w});return{method:a.method,result:T}}case"btc_signPsbts":{let{psbtHexs:h,options:y}=a.params||{},C;if(Array.isArray(h)&&h.length===1){let w;Array.isArray(y)?w=yield window.okxwallet.unisat.signPsbt(h[0],y.length>0&&typeof y[0]=="object"?y[0]:void 0):w=yield window.okxwallet.unisat.signPsbt(h[0]),C=[w]}else C=yield window.okxwallet.unisat.signPsbts(h,y);return{method:a.method,result:(0,o.safeJsonStringify)(C)}}case"btc_signAndPushPsbt":{let{psbtHex:h,options:y}=a.params||{},C=yield window.okxwallet.unisat.signPsbt(h,y),w=yield window.okxwallet.unisat.pushPsbt(C);return{method:a.method,result:(0,o.safeJsonStringify)({signedPsbt:C,txHash:w})}}case"btc_sendInscription":{let{address:h,inscriptionId:y,options:C}=a.injectParams||{},w=yield window.okxwallet.unisat.sendInscription(h,y,C);return{method:a.method,result:w}}case"btc_inscribeTransfer":if(this.hasFunction("inscribeTransfer")){let{ticker:h,amount:y}=a.params||{},C=yield window.okxwallet.unisat.inscribeTransfer(h,y);return{method:a.method,result:C}}case"btc_sendRunes":if(this.hasFunction("sendRunes")){let{address:h,runeid:y,amount:C,options:w}=a.injectParams||{},T=yield window.okxwallet.unisat.sendRunes(h,y,C,w);return{method:a.method,result:T}}default:throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,`method: '${u}' not support`)}else throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,`param is error method: '${u}'`)}catch(u){throw(0,o.logDebug)("BtcProvider send error:",u),u}})}hasFunction(a){return!!(window.okxwallet&&window.okxwallet.unisat&&typeof window.okxwallet.unisat[a]=="function")}singleConnect(a){return t(this,void 0,void 0,function*(){return a.chains.length==1?this.connect():!1})}addAccountChangedListener(a){this.accountChangedBtcHandler=u=>{console.log("window.okxwallet btc:",Date.now(),"btc",u),u&&u.length>0&&a()},window.okxwallet.unisat.on("accountsChanged",this.accountChangedBtcHandler)}removeListener(){window.okxwallet.unisat.removeListener("accountsChanged",this.accountChangedBtcHandler)}};e.BtcProvider=n}),xte=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(A,O,v,B){function R(U){return U instanceof v?U:new v(function(N){N(U)})}return new(v||(v=Promise))(function(U,N){function _(F){try{H(B.next(F))}catch(G){N(G)}}function L(F){try{H(B.throw(F))}catch(G){N(G)}}function H(F){F.done?U(F.value):R(F.value).then(_,L)}H((B=B.apply(A,O||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.OkxwalletInjectConnector=void 0;var r=y7(),o=zi(),s=ite(),i=jke(),n=Vke(),a=Jke(),u=Xke(),c=Yke(),d=Ao(),h=zU(),y=rg(),C=Cee(),w=E0(),T=class extends r.InjectConnector{getType(){return w.CONNECTOR_TYPE.INJECT.OKX_INJECT_WALLET}constructor(){super(),this.walletName="OKX Wallet",this.walletNameKey="walletModal.mobileConnectionModal.connectInjected",this.providerMap.set(o.NameSpaceKeyEip155,new s.Eip155Provider),this.providerMap.set(o.NameSpaceKeySOL,new i.SolProvider),this.providerMap.set(o.NameSpaceKeyAptos,new n.AptosProvider),this.providerMap.set(o.NameSpaceKeyTON,new a.TONProvider),this.providerMap.set(o.NameSpaceKeySui,new u.SuiProvider),this.providerMap.set(o.NameSpaceKeyBtc,new c.BtcProvider)}openWallet(A,O){return t(this,void 0,void 0,function*(){var v,B,R;if((0,d.logDebug)("InjectEngine connect begin:",JSON.stringify(A)),!A)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR);this.dappInfo=A.connectRequest.dAppInfo;var U=A.connectRequest;try{if(window&&window.okxwallet){if(U.requests){let H=U.requests.find(k=>k.name==="requestAccounts"),F=yield window.okxwallet.getVersion(),G={method:"connect",requestId:U.requestId,payload:{wallet:{platform:(v=navigator.platform)!==null&&v!==void 0?v:"/",appName:h.OKXInjectWalletName,appVersion:F??"1.0.0",maxProtocolVersion:1},responses:[]}},l={name:"requestAccounts",accounts:[]};G.payload.responses.push(l),yield this.disconnect();let p=(B=H.requiredNamespaces)!==null&&B!==void 0?B:[],E=(R=H.optionalNamespaces)!==null&&R!==void 0?R:[],g=!0,b=!1;if(p.length+E.length===1&&!(0,y.isDevice)("mobile")){let k=p.length===1?p[0]:E[0];(yield this.getInjectProvider(k.namespace)?.singleConnect(k,this.dappInfo))&&(b=!0,g=!1)}var N=yield this.getAccountByRequestWallets(g,!1,b,p,E);if(N){if(l.accounts.push(...N),l.accounts.length===0)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"connect connectAccounts is null")}else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"connect requestWallets is null");this.connectResultListener&&(this.disconnectHandler&&window.okxwallet.removeListener("disconnect",this.disconnectHandler),this.disconnectHandler=()=>{console.log("window.okxwallet disconnect:"),this.disconnectListener.forEach(k=>k()),this.disconnectListener=[]},window.okxwallet.on("disconnect",this.disconnectHandler),this.connectResultListener(G,this))}}else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR)}catch(H){var _=o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,L="";H instanceof o.OKXConnectError&&(_=H.code,L=H.message),this.connectResultListener&&this.connectResultListener({requestId:"-1",method:"connect_error",payload:{code:_}},this)}})}checkAccountChanged(){return t(this,void 0,void 0,function*(){var A;try{let O=(A=this.connectionManager)===null||A===void 0?void 0:A.getSessionContent("connectSession");if(!O)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);(0,d.logDebug)("inject-connector checkAccountChanged --sessionInfo:",JSON.stringify(O));let v=this.getRequireNameSpaceFromSession(O);(0,d.logDebug)("inject-connector checkAccountChanged --requiredNamespaces:",JSON.stringify(v));let B=yield this.getAccountByRequestWallets(!1,!0,!1,v,[]);if((0,d.logDebug)("inject-connector checkAccountChanged --accounts:",JSON.stringify(B)),B){let R={};(0,C.buildAccountNameSpaces)(B,R),this.compareAndModifyNamespaces(O.namespaces,R)||((0,d.logDebug)("inject-connector checkAccountChanged --result sessionLocal:",JSON.stringify(O)),this.accountChangeListener?((0,d.logDebug)("inject-connector checkAccountChanged -accountChangeListener:",this.accountChangeListener),this.accountChangeListener(O)):((0,d.logDebug)("inject-connector checkAccountChanged disconnect:"),yield this.disconnect()))}else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"connect requestWallets is null")}catch(O){throw(0,d.logDebug)("inject-connector restoreconnect catch error",JSON.stringify(O)),O}})}compareAndModifyNamespaces(A,O){let v=!0;for(let B in A)if(O[B]){let R=A[B],U=O[B];(0,d.logDebug)("inject-connector checkAccountChanged ns1:",JSON.stringify(R)),(0,d.logDebug)("inject-connector checkAccountChanged ns2:",JSON.stringify(U)),JSON.stringify([...R.accounts].sort())===JSON.stringify([...U.accounts].sort())||(v=!1,R.accounts=[...U.accounts],R.extra=Object.assign({},U.extra),R.payload=Object.assign({},U.payload)),(0,d.logDebug)("inject-connector checkAccountChanged new ns1:",JSON.stringify(R))}return(0,d.logDebug)(`inject-connector checkAccountChanged compareAndModifyNamespaces ===> ${v}`),v}restoreconnect(A,O){var v;if(!window.okxwallet){O(null);return}this.dappInfo=(v=A.sessionConfig)===null||v===void 0?void 0:v.dappInfo,(0,d.logDebug)("inject-connector restoreconnect --sessionInfo:",JSON.stringify(A));var B=this.getRequireNameSpaceFromSession(A);(0,d.logDebug)("inject-connector restoreconnect --requiredNamespaces:",JSON.stringify(B)),this.getAccountByRequestWallets(!1,!1,!1,B,[]).then(R=>{(0,d.logDebug)("inject-connector restoreconnect --accounts:",JSON.stringify(R));let U=!0;for(let L in A.namespaces){var N=R.find(F=>F.namespace===L),_=A.namespaces[L].accounts;if(!N)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,"resotreconnect error: accountItem error");let H=_;L===o.NameSpaceKeyAptos&&H&&H.length>0&&(H=_.map(F=>(0,d.replaceChainNameToChainId)(F))),N.addresses.length===H.length&&N.addresses.slice().sort().every((F,G)=>{if(L===o.NameSpaceKeyAptos){let l=H.slice().sort()[G];return(0,d.logDebug)("check aptos address -value and aptosAdd--",F,l),l===F}else return F===H.slice().sort()[G]})||(U=!1)}if(U)O(A);else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,"resotreconnect error: address not as same as session")}).catch(R=>{(0,d.logDebug)("inject-connector restoreconnect catch error",JSON.stringify(R)),O(null)})}getRequireNameSpaceFromSession(A){var O,v,B=[];for(let R in A.namespaces){let U=A.namespaces[R],N={namespace:R,chains:U.chains};if(R===o.NameSpaceKeyAptos){let _=[];U.chains.forEach(L=>{let H=(0,d.replaceChainNameToChainId)(L);_.push(H)}),N={namespace:R,chains:_}}else if(R===o.NameSpaceKeyTON){let _,L;!((O=U.payload)===null||O===void 0)&&O.ton_proof&&(_=(v=U.payload)===null||v===void 0?void 0:v.ton_proof,_.proof.payload&&(L={name:"ton_proof",payload:_.proof.payload})),N={namespace:R,chains:U.chains,params:{ton_addr:{name:"ton_addr"},ton_proof:L}}}B.push(N)}return B}getAccountByRequestWallets(A,O,v,B,R){return t(this,void 0,void 0,function*(){try{var U=[],N=[];if((0,y.isDevice)("mobile")){var _=yield window.okxwallet.connectWallet(A,{requiredNamespaces:B,optionalNamespaces:R});U.push(_)}else U=yield window.okxwallet.requestWallets(A);var L=[...B??[],...R??[]];let H=U[0];(0,d.logDebug)(" InjectEngine connect connectAccounts:",JSON.stringify(H));let F;if(L&&H&&H.address)for(let[l,p]of this.providerMap.entries()){let E=yield p.parseConnectResponse(A,O,v,L,H,this.dappInfo);E&&(F=l,N.push(E))}let G=B.every(l=>{let p=N.find(E=>E.namespace===l.namespace);return p?l.chains.every(E=>!!p.addresses.find(g=>g.startsWith(E+":"))):!1});if((0,d.logDebug)("InjectEngine connect requiredNamespaces:",JSON.stringify(B)),(0,d.logDebug)("InjectEngine connect accountResult:",JSON.stringify(N)),!G)throw yield this.disconnect(),new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED);return(0,y.isDevice)("mobile")||(this.configEventWithKey(F),yield window.okxwallet.requestWallets(A)),N}catch(H){throw H&&typeof H=="object"&&"code"in H&&H.code===4001?new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.USER_REJECTS_ERROR):new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR)}})}configEventWithKey(A){var O,v;for(let B in this.providerMap)(O=this.providerMap.get(B))===null||O===void 0||O.removeListener();(v=this.getInjectProvider(A))===null||v===void 0||v.addAccountChangedListener(()=>{this.checkAccountChanged().catch(B=>{console.log("window.okxwallet configEventWithKey error: ",B)})})}disconnect(){return t(this,void 0,void 0,function*(){(0,d.logDebug)("InjectEngine ==>> disconnect  okxwallet.disconnect()"),window.okxwallet&&(yield window.okxwallet.disconnect(),(0,d.logDebug)("InjectEngine ==>> disconnect end okxwallet.disconnect()"))})}};e.OkxwalletInjectConnector=T}),Qke=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(u,c,d,h){function y(C){return C instanceof d?C:new d(function(w){w(C)})}return new(d||(d=Promise))(function(C,w){function T(v){try{O(h.next(v))}catch(B){w(B)}}function A(v){try{O(h.throw(v))}catch(B){w(B)}}function O(v){v.done?C(v.value):y(v.value).then(T,A)}O((h=h.apply(u,c||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.OkxwalletInjectTonsdkConnector=void 0;var r=zi(),o=Ao(),s=rg(),i=xte(),n=E0(),a=class extends i.OkxwalletInjectConnector{getType(){return n.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 u,c,d;(u=this.connectionManager)===null||u===void 0||u.tonsdkConnectStorage.synchronizedCache();let h=(c=this.connectionManager)===null||c===void 0?void 0:c.tonsdkConnectStorage.getItem("ton_connect_info_adapter_universal");if(!h||!h?.content)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR);let y=h?.content,C=JSON.parse(y),w=C.connectEvent.payload.items.find(A=>"name"in A?A.name==="ton_addr":!1);this.dappInfo=C.dappInfo;let T;if(w&&"address"in w&&(T=w.address),!T)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);if((0,o.logDebug)(`inject-connector localTonaddress : ${T}`),(0,s.isDevice)("mobile")){let A,O;A={namespace:r.NameSpaceKeyTON,chains:[r.TON_CHAINS.MAINNET],params:{ton_addr:{name:"ton_addr"}}};let v=yield this.getAccountByRequestWallets(!1,!1,!1,[A],[]);if(v&&v.length==1){let B=(d=v[0].data)===null||d===void 0?void 0:d.ton_addr,R=B?.address;if(T===R)return}}else{let A=yield window.okxTonWallet.tonconnect.restoreConnection();if(A.event==="connect"&&A.payload.items.find(O=>O.name==="ton_addr").address==T)return}throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED)})}};e.OkxwalletInjectTonsdkConnector=a}),Zke=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(a,u,c,d){function h(y){return y instanceof c?y:new c(function(C){C(y)})}return new(c||(c=Promise))(function(y,C){function w(O){try{A(d.next(O))}catch(v){C(v)}}function T(O){try{A(d.throw(O))}catch(v){C(v)}}function A(O){O.done?y(O.value):h(O.value).then(w,T)}A((d=d.apply(a,u||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.ThirdpartInjectConnector=void 0;var r=y7(),o=zi(),s=E0(),i=Ao(),n=class extends r.InjectConnector{getType(){return this.walletName===o.AptosGoogleWalletName?s.CONNECTOR_TYPE.KEYLESS.GOOGLE_WALLET:this.walletName===o.AptosAppleWalletName?s.CONNECTOR_TYPE.KEYLESS.APPLE_WALLET:s.CONNECTOR_TYPE.INJECT.STANDARD_INJECT_WALLET}constructor(a){super(),this.walletName=a.walletName,a.wallets.forEach((u,c)=>{this.providerMap.set(c,u)}),this.icon=a.icon}registerWallet(a,u){this.providerMap.set(a,u)}getTag(){var a;return s.STANDARD_INJECT_WALLET+((a=this.walletName)!==null&&a!==void 0?a:"")}getWalletVersion(){return t(this,void 0,void 0,function*(){let a=this.providerMap.values().next().value;if(!a)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR);return a.getVersion()})}openWallet(a,u){return t(this,void 0,void 0,function*(){var c,d;if((0,i.logDebug)("InjectEngine connect begin:",JSON.stringify(a)),!a)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR);this.dappInfo=a.connectRequest.dAppInfo;var h=a.connectRequest;try{if(h.requests){let w=h.requests.find(v=>v.name==="requestAccounts"),T=(c=w.requiredNamespaces)!==null&&c!==void 0?c:[],A=(d=w.optionalNamespaces)!==null&&d!==void 0?d:[],O;if(T.length+A.length===1){let v=T.length===1?T[0]:A[0],B=this.providerMap.get(v.namespace);if(this.addListener(v.namespace),B)O=yield this.getResponseByConnect(B);else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"openWallet: provider not found")}this.connectResultListener&&O&&this.connectResultListener(O,this)}}catch(w){var y=o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,C="";w instanceof o.OKXConnectError&&(y=w.code,C=w.message),this.connectResultListener&&this.connectResultListener({requestId:"-1",method:"connect_error",payload:{code:y}},this)}})}getResponseByConnect(a){return t(this,void 0,void 0,function*(){var u,c;let d={method:"connect",requestId:Date.now().toString(),payload:{wallet:{platform:(u=navigator.platform)!==null&&u!==void 0?u:"/",appName:s.STANDARD_INJECT_WALLET+this.walletName,appVersion:(c=this.getWalletVersion())!==null&&c!==void 0?c:"1.0.0",maxProtocolVersion:1},responses:[]}},h={name:"requestAccounts",accounts:[]};return d.payload.responses.push(h),h.accounts.push(yield this.getAccount(a)),d})}getAccount(a){return t(this,void 0,void 0,function*(){return a.getAccount()})}disconnect(){return t(this,void 0,void 0,function*(){yield Promise.all([...this.providerMap.values()].map(a=>a.disconnect()))})}onDisconnect(){this.disconnectListener.forEach(a=>a()),this.disconnectListener=[]}restoreconnect(a,u){let c=Object.keys(a.namespaces);if(c.length!==1){u(null);return}this.addListener(c[0]);let d=this.getInjectProvider(c[0]);if(!d)return u(null);d.getAccount({silent:!0}).then(h=>{var y;let C=(y=h?.addresses)!==null&&y!==void 0?y:[""];a.namespaces[c[0]].accounts[0].includes(C[0])?u(a):u(null)}).catch(h=>{u(null)})}checkAccountChanged(a,u){return t(this,void 0,void 0,function*(){var c,d;try{let h=(c=this.connectionManager)===null||c===void 0?void 0:c.getSessionContent("connectSession");if(!h||u&&h.namespaces[a].accounts.some(C=>C.includes(u)))return;let y=this.getInjectProvider(a);if(y){let C=yield this.getResponseByConnect(y);if(C&&h){let w=C.payload.responses[0].accounts[0];h.namespaces[a].accounts=w.addresses,h.namespaces[a].extra=w.extra,h.namespaces[a].rpcMap=void 0,h.namespaces[a].methods=w.methods,(d=this.accountChangeListener)===null||d===void 0||d.call(this,h)}}}catch{yield this.disconnect()}})}addListener(a){var u,c;for(let d in this.providerMap)(u=this.providerMap.get(d))===null||u===void 0||u.removeListener();(c=this.getInjectProvider(a))===null||c===void 0||c.addAccountChangedListener(d=>{d?this.checkAccountChanged(a,d).catch(h=>{}):this.onDisconnect()})}supportNamespaceAndChains(a,u){let c=this.providerMap.get(a);return c?c.supportChains(u):!1}};e.ThirdpartInjectConnector=n}),tMe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXWalletAppConnector=void 0;var t=E0(),r=Ao(),o=MS(),s=zi(),i=m3(),n=class extends i.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(a,u){super.openWallet(a);let c=u??s.OpenAppLinkType.UniversalLink;if(a&&a.connectRequest||!(0,r.isOS)("android")){(0,r.logDebug)(`appwallet-connector openwallet before useSHortLink engineConnectInfo.connectRequest JSON ${JSON.stringify(a)}`);let d=a?.connectRequest,{universalLink:h,deepLink:y}=(0,r.getOKXLink)(d,s.ConnectWalletType.OKX_WALLET);(0,r.openOKXDeeplinkWithFallback)(y,h,c)}else(0,r.openDeeplinkWithFallback)(o.okxWalletStackDeepLink,()=>{})}};e.OKXWalletAppConnector=n}),iMe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXAppCommonConnector=void 0;var t=E0(),r=Ao(),o=MS(),s=zi(),i=m3(),n=class extends i.WsConnector{getType(){return t.CONNECTOR_TYPE.WS.OKX_APP_COMMON}constructor(){super(),this.walletName=""}getTag(){return t.OKX_APP_COMMON_WALLET}openWallet(a,u){super.openWallet(a);let c=u??s.OpenAppLinkType.UniversalLink;if(a&&a.connectRequest||!(0,r.isOS)("android")){(0,r.logDebug)(`okxAppCommonConnector openwallet before useSHortLink engineConnectInfo.connectRequest JSON ${JSON.stringify(a)}`);let d=a?.connectRequest,{universalLink:h,deepLink:y}=(0,r.getOKXLink)(d,s.ConnectWalletType.OKX_APP_COMMON);(0,r.openOKXDeeplinkWithFallback)(y,h,c)}else(0,r.openDeeplinkWithFallback)(o.okxCommonStackDeepLink,()=>{})}};e.OKXAppCommonConnector=n}),oMe=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(y,C,w,T){T===void 0&&(T=w);var A=Object.getOwnPropertyDescriptor(C,w);(!A||("get"in A?!C.__esModule:A.writable||A.configurable))&&(A={enumerable:!0,get:function(){return C[w]}}),Object.defineProperty(y,T,A)}:function(y,C,w,T){T===void 0&&(T=w),y[T]=C[w]}),r=e&&e.__exportStar||function(y,C){for(var w in y)w!=="default"&&!Object.prototype.hasOwnProperty.call(C,w)&&t(C,y,w)};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 o=Uke();Object.defineProperty(e,"OKXAppConnector",{enumerable:!0,get:function(){return o.OKXAppConnector}}),r(E0(),e);var s=y7();Object.defineProperty(e,"InjectConnector",{enumerable:!0,get:function(){return s.InjectConnector}});var i=Wke();Object.defineProperty(e,"TgwalletConnector",{enumerable:!0,get:function(){return i.TgwalletConnector}});var n=m3();Object.defineProperty(e,"WsConnector",{enumerable:!0,get:function(){return n.WsConnector}});var a=xte();Object.defineProperty(e,"OkxwalletInjectConnector",{enumerable:!0,get:function(){return a.OkxwalletInjectConnector}});var u=Qke();Object.defineProperty(e,"OkxwalletInjectTonsdkConnector",{enumerable:!0,get:function(){return u.OkxwalletInjectTonsdkConnector}});var c=Zke();Object.defineProperty(e,"ThirdpartInjectConnector",{enumerable:!0,get:function(){return c.ThirdpartInjectConnector}});var d=tMe();Object.defineProperty(e,"OKXWalletAppConnector",{enumerable:!0,get:function(){return d.OKXWalletAppConnector}});var h=iMe();Object.defineProperty(e,"OKXAppCommonConnector",{enumerable:!0,get:function(){return h.OKXAppCommonConnector}})}),ho=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(kBe(),e),r(zi(),e),r(Ao(),e),r(ite(),e),r(oMe(),e)}),aMe=W((e,t)=>{"use strict";m();function r(o){if(o.length>=255)throw new TypeError("Alphabet too long");for(var s=new Uint8Array(256),i=0;i<s.length;i++)s[i]=255;for(var n=0;n<o.length;n++){var a=o.charAt(n),u=a.charCodeAt(0);if(s[u]!==255)throw new TypeError(a+" is ambiguous");s[u]=n}var c=o.length,d=o.charAt(0),h=Math.log(c)/Math.log(256),y=Math.log(256)/Math.log(c);function C(A){if(A instanceof Uint8Array||(ArrayBuffer.isView(A)?A=new Uint8Array(A.buffer,A.byteOffset,A.byteLength):Array.isArray(A)&&(A=Uint8Array.from(A))),!(A instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(A.length===0)return"";for(var O=0,v=0,B=0,R=A.length;B!==R&&A[B]===0;)B++,O++;for(var U=(R-B)*y+1>>>0,N=new Uint8Array(U);B!==R;){for(var _=A[B],L=0,H=U-1;(_!==0||L<v)&&H!==-1;H--,L++)_+=256*N[H]>>>0,N[H]=_%c>>>0,_=_/c>>>0;if(_!==0)throw new Error("Non-zero carry");v=L,B++}for(var F=U-v;F!==U&&N[F]===0;)F++;for(var G=d.repeat(O);F<U;++F)G+=o.charAt(N[F]);return G}function w(A){if(typeof A!="string")throw new TypeError("Expected String");if(A.length===0)return new Uint8Array;for(var O=0,v=0,B=0;A[O]===d;)v++,O++;for(var R=(A.length-O)*h+1>>>0,U=new Uint8Array(R);A[O];){var N=A.charCodeAt(O);if(N>255)return;var _=s[N];if(_===255)return;for(var L=0,H=R-1;(_!==0||L<B)&&H!==-1;H--,L++)_+=c*U[H]>>>0,U[H]=_%256>>>0,_=_/256>>>0;if(_!==0)throw new Error("Non-zero carry");B=L,O++}for(var F=R-B;F!==R&&U[F]===0;)F++;for(var G=new Uint8Array(v+(R-F)),l=v;F!==R;)G[l++]=U[F++];return G}function T(A){var O=w(A);if(O)return O;throw new Error("Non-base"+c+" character")}return{encode:C,decodeUnsafe:w,decode:T}}t.exports=r}),uMe=W((e,t)=>{m();var r=aMe(),o="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";t.exports=r(o)}),dMe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.getRpcUrl=r,e.getChainId=o,e.fromAccountToAddress=s,e.convertChainIdToNumber=i,e.parseChainId=a,e.mergeArrays=u,e.syncAddressAvailable=c,e.syncAddressHostAvailable=d;var t=ho();function r(h,y,C){var w;let T=a(h);return((w=y.rpcMap)===null||w===void 0?void 0:w[T.reference])||""}function o(h){return h.includes(":")?h.split(":")[1]:h}function s(h){if(!h)return"";try{let y=h.split(":").slice(2),C=y.length>0?y.join(":"):"";return(0,t.logDebug)("fromAccountToAddress address and account:",C,h),C}catch{return(0,t.logError)("fromAccountToAddress error:",h),""}}function i(h){return typeof h=="number"?h:h.includes("0x")?parseInt(h,16):(h=h.includes(":")?h.split(":")[1]:h,isNaN(Number(h))?h:Number(h))}var n=":";function a(h){let[y,C]=h.split(n);return{namespace:y,reference:C}}function u(h=[],y=[]){return[...new Set([...h,...y])]}function c(h){return!h||h.appName!=="OKX Wallet"||(0,t.versionCompare)("6.97.0",h.appVersion)>0?!1:d()}function d(){try{return!!window.okxGlobal}catch{return!1}}}),pMe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.setGlobal=e.getGlobal=void 0;var t={},r=s=>t[s];e.getGlobal=r;var o=(s,i)=>{t[s]=i};e.setGlobal=o}),ph=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(dMe(),e),r(pMe(),e)}),Ite=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(sN(),e),r(ph(),e)}),Bte=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(T,A,O,v){function B(R){return R instanceof O?R:new O(function(U){U(R)})}return new(O||(O=Promise))(function(R,U){function N(H){try{L(v.next(H))}catch(F){U(F)}}function _(H){try{L(v.throw(H))}catch(F){U(F)}}function L(H){H.done?R(H.value):B(H.value).then(N,_)}L((v=v.apply(T,A||[])).next())})},r=e&&e.__importDefault||function(T){return T&&T.__esModule?T:{default:T}};Object.defineProperty(e,"__esModule",{value:!0}),e.connectSupportMethods=void 0,e.creatNotSupportMethodItemReplay=u,e.isMobileDiscover=c,e.connectMethodsAdaptOldVersion=d,e.connectMethodsResponseUpdate=h,e.connectMethodsToConnectWalletMethods=y,e.syncResoonseToRequire=w;var o=ho(),s=r(uMe()),i=Ite();function n(T){return typeof T=="object"&&T!==null&&Array.isArray(T)}function a(T){return typeof T=="object"&&T!==null&&!Array.isArray(T)}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"]);function u(T){let A=new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);var O={method:T.method,chainId:T.chainId,error:{code:A.code,message:A.message}};return O}function c(){return!!window.okxwallet&&window.okxwallet.mobileDiscoverWallet}function d(T,A){return t(this,void 0,void 0,function*(){var O,v,B,R,U;try{(0,o.logDebug)("connectMethodsAdaptOldVersion start params :",JSON.stringify(T));let _={};if(T.method==="solana_signMessage"){let L=(O=A.namespaces[o.NameSpaceKeySOL])===null||O===void 0?void 0:O.accounts.filter(function(F){return F.startsWith(T.chainId)})[0],H=(0,i.fromAccountToAddress)(L);if(T.params&&H&&"message"in T.params){let F=T.params.message;if(((v=A.wallet)===null||v===void 0?void 0:v.appName)=="OKX Wallet"){let G=new TextEncoder().encode(F);F=s.default.encode(G)}return T.params={message:F,pubkey:H},T.injectParams=T.params,_={publicKey:H},(0,o.logDebug)("solana_signMessage account and address:",JSON.stringify(L),H),(0,o.logDebug)("solana_signMessage callBackParams:",JSON.stringify(_)),_}else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)}else if(T.method==="sui_signMessage"||T.method==="sui_signPersonalMessage")if("message"in T.params&&T.params.message){let L=JSON.parse(JSON.stringify(T.params.message)),H=Object.values(L),F=new Uint8Array(H),G=new TextDecoder("utf8"),l=btoa(G.decode(F));return T.params={message:atob(l)},T.injectParams={message:F},console.log("sui_signMessag suiMessagee suiMessageb64:>>>>",JSON.stringify(T.params),l),T.method==="sui_signMessage"?_={messageBytes:l,signature:""}:T.method==="sui_signPersonalMessage"&&(_={bytes:l,signature:""}),(0,o.logDebug)("sui_signMessage/sui_signPersonalMessage callBackParams:",JSON.stringify(_)),_}else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);else if(T.method==="btc_signMessage"){let L=((B=A.namespaces[o.NameSpaceKeyBtc])===null||B===void 0?void 0:B.accounts.filter(function(F){return F.startsWith(T.chainId)}))[0],H=(0,i.fromAccountToAddress)(L);if((0,o.logDebug)("btc_signMessage account and address:",JSON.stringify(L),H),H){if("message"in T.params&&T.params.message&&typeof T.params.message=="string")T.params={from:H,signStr:T.params.message};else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);return T.params.from=H,(0,o.logDebug)("btc_signMessage callBackParams:",JSON.stringify(_)),_}else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)}else if(T.method==="aptos_signMessage"){let L=T.params,H=(R=A.namespaces[o.NameSpaceKeyAptos])===null||R===void 0?void 0:R.accounts.filter(function(G){return G.startsWith(T.chainId)})[0],F=(0,i.fromAccountToAddress)(H);if(L&&F){let G="APTOS",l="",p="";var N=G;let E=window.location.protocol+"//"+window.location.hostname;"address"in L&&L.address&&(N+=`
address: `+F),"application"in L&&L.application&&(N+=`
application: `+E);let g=1;"chainId"in L&&L.chainId&&(L.chainId=="aptos:mainnet"?g=1:L.chainId=="movement:testnet"&&(g=2),N+=`
chainId: `+g),"message"in L&&(N+=`
message: `+L.message,l=L.message),"nonce"in L&&(N+=`
nonce: `+L.nonce,p=L.nonce);let b=new TextEncoder().encode(N),k=Array.from(b).map(x=>x.toString(16).padStart(2,"0")).join("");return T.params={message:k},T.injectParams=L,(0,o.logDebug)("aptos_signMessage requestParams:",JSON.stringify(T)),_={address:F,application:E,chainId:g,fullMessage:N,message:l,nonce:p,prefix:G,signature:""},(0,o.logDebug)("aptos_signMessage callBackParams:",JSON.stringify(_)),_}else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)}else if(T.method==="cosmos_signArbitrary"){let L=(U=A?.namespaces[o.NameSpaceKeyCosmos])===null||U===void 0?void 0:U.accounts.filter(function(l){return l.startsWith(T.chainId)})[0],H=(0,i.fromAccountToAddress)(L),F=T.params.message,G=btoa(F);if((0,o.logDebug)("cosmos_signArbitrary account and address:",JSON.stringify(L),H),(0,o.logDebug)("cosmos_signArbitrary cosmosBase64Encoded:",G),F&&H){let l={chain_id:"",account_number:"0",sequence:"0",fee:{gas:"0",amount:[]},msgs:[{type:"sign/MsgSignData",value:{signer:H,data:G}}],memo:""};return T.params={signer:H,chain_id:T.chainId.split(":")[1],data:l},(0,o.logDebug)("cosmos_signArbitrary callBackParams:",JSON.stringify(_)),_}else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)}(0,o.logDebug)("sol_handleSignatureData end params:",JSON.stringify(T))}catch(_){throw _}})}function h(T,A){return t(this,void 0,void 0,function*(){var O;try{if(T.signResponse){(0,o.logDebug)("connectMethodsResponseUpdate signResponse:",JSON.stringify(T.signResponse)),(0,o.logDebug)("connectMethodsResponseUpdate session.namespaces:",JSON.stringify(T.namespaces));for(let v of T.signResponse)if((0,o.logDebug)("connectMethodsResponseUpdate methodItem:",JSON.stringify(v)),"result"in v)if(v.method==="solana_signMessage"){let B=v.result;(0,o.logDebug)("solana_signMessage methodItem.chainId:",v.chainId);let R=(O=T.namespaces[o.NameSpaceKeySOL])===null||O===void 0?void 0:O.accounts.filter(function(U){return(0,o.logDebug)("solana_signMessage account:",U),U.startsWith(v.chainId)})[0];(0,o.logDebug)("solana_signMessage result account:",B,R),B&&R&&(v.result={signature:s.default.decode(B),publicKey:(0,i.fromAccountToAddress)(R)})}else if(v.method==="sui_signMessage"||v.method==="sui_signPersonalMessage"){let B=A.filter(function(R){return R.method===v.method})[0];if(B&&B.params&&"message"in B.params){let R=B.params.message,U=btoa(R);console.log("sui_signMessag suiMessagee suiMessageb64:>>>>",R,U),v.method==="sui_signMessage"?v.result={messageBytes:U,signature:v.result}:v.method==="sui_signPersonalMessage"&&(v.result={bytes:U,signature:v.result})}}else if(v.method==="aptos_signMessage"){if(v.chainId=(0,o.replaceChainIdToChainName)(v.chainId),v.result=JSON.parse(v.result),console.log("aptos_signMessage result methodItem.result before:>>>>",JSON.stringify(v.result)),v.result&&"signature"in v.result){let B=v.result.signature;B&&B.startsWith("0x")&&(B=B.slice(2,B.length),v.result.signature=B)}console.log("aptos_signMessage result methodItem.result after:>>>>",JSON.stringify(v.result))}else if(v.method==="cosmos_signArbitrary")v.result=JSON.parse(v.result);else if(v.method=="starknet_signMessage"){let B=v.result;typeof B=="string"&&(B=JSON.parse(B)),v.result=[B.signedDataR,B.signedDataS]}else v.method=="sync_all_addresses"&&(v.result=w(v.result))}}catch(v){throw(0,o.logDebug)("connectMethodsResponseUpdate signResponse Error:",JSON.stringify(v)),v}})}function y(T,A){return t(this,void 0,void 0,function*(){try{(0,o.logDebug)("connectMethodsToConnectWalletMethods requestMethods:",JSON.stringify(T));let R=[];if(T&&T.length>1)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"connectAndSign/openModalAndSign signRequest only support one data");if(!A&&T&&T.length>0)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Connect request params error , RequestMethods cannot be added when the NameSpace is empty");for(let U of T)if(U.method==="aptos_signMessage"&&(U.chainId=(0,o.replaceChainNameToChainId)(U.chainId)),U.method==="wallet_addEthereumChain"){var O=A?.some(N=>N.namespace.includes("eip155"));if(!O)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Connect request params error, When using '${U.method}', the EVM chain needs to be included in the NameSpace`)}else if(U.method==="sync_all_addresses")if((0,i.syncAddressHostAvailable)())U.chainId="";else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);else if(!A?.some(N=>N.chains.some(_=>_.includes(`${U.chainId}`))))throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Connect request params error, When using '${U.method}', NameSpace must contain '${U.chainId}'`);for(let U of T){if(!e.connectSupportMethods.includes(U.method))throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect requestMethods not support method, method: '${U.method}'`);if(U.method==="wallet_addEthereumChain"){if(Array.isArray(U.params)){let N=U.params;if(N&&N.length===1){let _=N[0];a(_)&&(U.params=_)}else throw N&&N.length>1?new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params only support one data, method: '${U.method}'`):new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is nil, method: '${U.method}'`)}}else if(U.method==="personal_sign"){if(n(U.params)){if(U.params&&U.params.length!==1)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params error,  method: '${U.method}' `);let N=U.params[0];if(N&&typeof N=="string")U.params={message:N};else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${U.method}' `)}}else if(U.method==="sui_signMessage"||U.method==="sui_signPersonalMessage")if(a(U.params)&&"message"in U.params)if(U.params.message){(0,o.logDebug)("sui_signMessage item.params.message :",U.params.message);let N=JSON.parse(JSON.stringify(U.params.message)),_=Object.values(N),L=new Uint8Array(_),H=new TextDecoder("utf8"),F=btoa(H.decode(L));U.params.message=atob(F)}else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${U.method}' `);else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${U.method}' `);else if(U.method==="solana_signMessage")if(a(U.params)&&"message"in U.params)if(U.params.message&&typeof U.params.message=="string"){let N=new TextEncoder().encode(U.params.message);U.params.bs58Message=s.default.encode(N)}else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${U.method}' `);else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${U.method}' `);else if(U.method==="aptos_signMessage")if(a(U.params))if(U.chainId){var v=U.params,B=window.location.protocol+"//"+window.location.hostname;let N=1;U.chainId==="aptos:637"||U.chainId==="aptos:70000060"&&(N=2),U.params={data:v,applicationUrl:B,prefix:"APTOS",aptosChainId:N}}else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params chainId is error,  method: '${U.method}' `);else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${U.method}' `);else if(U.method==="cosmos_signArbitrary")if(a(U.params))if(U.params.message&&typeof U.params.message=="string"){let N=btoa(U.params.message),_=U.chainId.split(":")[1];if(_)U.params={chain_id:_,data:{chain_id:"",account_number:"0",sequence:"0",fee:{gas:"0",amount:[]},msgs:[{type:"sign/MsgSignData",value:{signer:"",data:N}}],memo:""}};else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params chainId is error,  method: '${U.method}' `)}else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params message is error,  method: '${U.method}' `);else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${U.method}' `);else if(U.method=="tron_signMessage")if(a(U.params))if("message"in U.params&&U.params.message&&typeof U.params.message=="string")U.params.message=C(U.params.message);else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${U.method}' `);else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${U.method}' `);else if(U.method=="btc_signMessage")if(a(U.params))if("message"in U.params&&U.params.message&&typeof U.params.message=="string")U.params={signStr:U.params.message};else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${U.method}' `);else throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${U.method}' `);(0,o.logDebug)("connectMethodsToConnectWalletMethods item:",JSON.stringify(U)),R.push(U)}return R}catch(R){throw R}})}function C(T){let A="";for(let O=0;O<T.length;O++)A+=T.charCodeAt(O).toString(16).padStart(2,"0");return A}function w(T){let A=JSON.parse(T);return{type:A.type,isEvm:A.isEvm,walletName:A.walletName,deriveName:A.deriveName,addresses:A.addresses.map(O=>({coinId:O.ci,address:O.a&&O.a!=="null"?O.a:A.evmAddress}))}}}),bMe=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}})}),Mte=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(bMe(),e)}),vMe=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"}),wMe=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(o,s,i,n){n===void 0&&(n=i);var a=Object.getOwnPropertyDescriptor(s,i);(!a||("get"in a?!s.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,n,a)}:function(o,s,i,n){n===void 0&&(n=i),o[n]=s[i]}),r=e&&e.__exportStar||function(o,s){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i)&&t(s,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(vMe(),e),r(wMe(),e)}),pg=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(a,u,c,d){function h(y){return y instanceof c?y:new c(function(C){C(y)})}return new(c||(c=Promise))(function(y,C){function w(O){try{A(d.next(O))}catch(v){C(v)}}function T(O){try{A(d.throw(O))}catch(v){C(v)}}function A(O){O.done?y(O.value):h(O.value).then(w,T)}A((d=d.apply(a,u||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.JsonRpcProvider=void 0;var r=Qf(),o=sN(),s=ho(),i=ho(),n=class extends o.IJSONRpcProvider{constructor(a){super(a),this.events=new r.EventEmitter,this.connected=!1,this.connecting=!1,this.hasRegisteredEventListeners=!1,this.connection=this.setConnection(a),this.connection.connected&&this.registerEventListeners()}connect(){return t(this,arguments,void 0,function*(a=this.connection){yield this.open(a)})}disconnect(){return t(this,void 0,void 0,function*(){yield this.close()})}on(a,u){this.events.on(a,u)}once(a,u){this.events.once(a,u)}off(a,u){this.events.off(a,u)}removeListener(a,u){this.events.removeListener(a,u)}request(a,u){return t(this,void 0,void 0,function*(){return this.requestStrict((0,s.formatJsonRpcRequest)(a.method,a.params||[],(0,s.getBigIntRpcId)().toString()),u)})}requestStrict(a,u){return t(this,void 0,void 0,function*(){return new Promise((c,d)=>t(this,void 0,void 0,function*(){if(!this.connection.connected)try{yield this.open()}catch(h){d(h)}this.events.on(`${a.id}`,h=>{(0,s.isJsonRpcError)(h)?d(h.error):c(h.result)});try{(0,i.logDebug)("[RPC] >>> send request",a,u),yield this.connection.send(a,u)}catch(h){d(h)}}))})}setConnection(a=this.connection){return a}onPayload(a){this.events.emit("payload",a),(0,s.isJsonRpcResponse)(a)?this.events.emit(`${a.id}`,a):this.events.emit("message",{type:a.method,data:a.params})}onClose(a){a&&a.code===3e3&&this.events.emit("error",new Error(`WebSocket connection closed abnormally with code: ${a.code} ${a.reason?`(${a.reason})`:""}`)),this.events.emit("disconnect")}open(){return t(this,arguments,void 0,function*(a=this.connection){this.connection===a&&this.connection.connected||(this.connection.connected&&this.close(),typeof a=="string"&&(yield this.connection.open(a),a=this.connection),this.connection=this.setConnection(a),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",a=>this.onPayload(a)),this.connection.on("close",a=>this.onClose(a)),this.connection.on("error",a=>this.events.emit("error",a)),this.connection.on("register_error",a=>this.onClose()),this.hasRegisteredEventListeners=!0)}};e.JsonRpcProvider=n}),EMe=W((e,t)=>{m();var r=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,o=(function(){function i(){this.fetch=!1,this.DOMException=r.DOMException}return i.prototype=r,new i})();(function(i){var n=(function(a){var u=typeof i<"u"&&i||typeof self<"u"&&self||typeof global<"u"&&global||{},c={searchParams:"URLSearchParams"in u,iterable:"Symbol"in u&&"iterator"in Symbol,blob:"FileReader"in u&&"Blob"in u&&(function(){try{return new Blob,!0}catch{return!1}})(),formData:"FormData"in u,arrayBuffer:"ArrayBuffer"in u};function d(b){return b&&DataView.prototype.isPrototypeOf(b)}if(c.arrayBuffer)var h=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],y=ArrayBuffer.isView||function(b){return b&&h.indexOf(Object.prototype.toString.call(b))>-1};function C(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(b)||b==="")throw new TypeError('Invalid character in header field name: "'+b+'"');return b.toLowerCase()}function w(b){return typeof b!="string"&&(b=String(b)),b}function T(b){var k={next:function(){var x=b.shift();return{done:x===void 0,value:x}}};return c.iterable&&(k[Symbol.iterator]=function(){return k}),k}function A(b){this.map={},b instanceof A?b.forEach(function(k,x){this.append(x,k)},this):Array.isArray(b)?b.forEach(function(k){if(k.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+k.length);this.append(k[0],k[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(k){this.append(k,b[k])},this)}A.prototype.append=function(b,k){b=C(b),k=w(k);var x=this.map[b];this.map[b]=x?x+", "+k:k},A.prototype.delete=function(b){delete this.map[C(b)]},A.prototype.get=function(b){return b=C(b),this.has(b)?this.map[b]:null},A.prototype.has=function(b){return this.map.hasOwnProperty(C(b))},A.prototype.set=function(b,k){this.map[C(b)]=w(k)},A.prototype.forEach=function(b,k){for(var x in this.map)this.map.hasOwnProperty(x)&&b.call(k,this.map[x],x,this)},A.prototype.keys=function(){var b=[];return this.forEach(function(k,x){b.push(x)}),T(b)},A.prototype.values=function(){var b=[];return this.forEach(function(k){b.push(k)}),T(b)},A.prototype.entries=function(){var b=[];return this.forEach(function(k,x){b.push([x,k])}),T(b)},c.iterable&&(A.prototype[Symbol.iterator]=A.prototype.entries);function O(b){if(!b._noBody){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}}function v(b){return new Promise(function(k,x){b.onload=function(){k(b.result)},b.onerror=function(){x(b.error)}})}function B(b){var k=new FileReader,x=v(k);return k.readAsArrayBuffer(b),x}function R(b){var k=new FileReader,x=v(k),S=/charset=([A-Za-z0-9_-]+)/.exec(b.type),f=S?S[1]:"utf-8";return k.readAsText(b,f),x}function U(b){for(var k=new Uint8Array(b),x=new Array(k.length),S=0;S<k.length;S++)x[S]=String.fromCharCode(k[S]);return x.join("")}function N(b){if(b.slice)return b.slice(0);var k=new Uint8Array(b.byteLength);return k.set(new Uint8Array(b)),k.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(b){this.bodyUsed=this.bodyUsed,this._bodyInit=b,b?typeof b=="string"?this._bodyText=b:c.blob&&Blob.prototype.isPrototypeOf(b)?this._bodyBlob=b:c.formData&&FormData.prototype.isPrototypeOf(b)?this._bodyFormData=b:c.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)?this._bodyText=b.toString():c.arrayBuffer&&c.blob&&d(b)?(this._bodyArrayBuffer=N(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||y(b))?this._bodyArrayBuffer=N(b):this._bodyText=b=Object.prototype.toString.call(b):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof b=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):c.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},c.blob&&(this.blob=function(){var b=O(this);if(b)return b;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){var b=O(this);return b||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(c.blob)return this.blob().then(B);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var b=O(this);if(b)return b;if(this._bodyBlob)return R(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(U(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},c.formData&&(this.formData=function(){return this.text().then(G)}),this.json=function(){return this.text().then(JSON.parse)},this}var L=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function H(b){var k=b.toUpperCase();return L.indexOf(k)>-1?k:b}function F(b,k){if(!(this instanceof F))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');k=k||{};var x=k.body;if(b instanceof F){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,k.headers||(this.headers=new A(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!x&&b._bodyInit!=null&&(x=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=k.credentials||this.credentials||"same-origin",(k.headers||!this.headers)&&(this.headers=new A(k.headers)),this.method=H(k.method||this.method||"GET"),this.mode=k.mode||this.mode||null,this.signal=k.signal||this.signal||(function(){if("AbortController"in u){var M=new AbortController;return M.signal}})(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&x)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(x),(this.method==="GET"||this.method==="HEAD")&&(k.cache==="no-store"||k.cache==="no-cache")){var S=/([?&])_=[^&]*/;if(S.test(this.url))this.url=this.url.replace(S,"$1_="+new Date().getTime());else{var f=/\?/;this.url+=(f.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}F.prototype.clone=function(){return new F(this,{body:this._bodyInit})};function G(b){var k=new FormData;return b.trim().split("&").forEach(function(x){if(x){var S=x.split("="),f=S.shift().replace(/\+/g," "),M=S.join("=").replace(/\+/g," ");k.append(decodeURIComponent(f),decodeURIComponent(M))}}),k}function l(b){var k=new A,x=b.replace(/\r?\n[\t ]+/g," ");return x.split("\r").map(function(S){return S.indexOf(`
`)===0?S.substr(1,S.length):S}).forEach(function(S){var f=S.split(":"),M=f.shift().trim();if(M){var V=f.join(":").trim();try{k.append(M,V)}catch(D){console.warn("Response "+D.message)}}}),k}_.call(F.prototype);function p(b,k){if(!(this instanceof p))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(k||(k={}),this.type="default",this.status=k.status===void 0?200:k.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=k.statusText===void 0?"":""+k.statusText,this.headers=new A(k.headers),this.url=k.url||"",this._initBody(b)}_.call(p.prototype),p.prototype.clone=function(){return new p(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new A(this.headers),url:this.url})},p.error=function(){var b=new p(null,{status:200,statusText:""});return b.ok=!1,b.status=0,b.type="error",b};var E=[301,302,303,307,308];p.redirect=function(b,k){if(E.indexOf(k)===-1)throw new RangeError("Invalid status code");return new p(null,{status:k,headers:{location:b}})},a.DOMException=u.DOMException;try{new a.DOMException}catch{a.DOMException=function(b,k){this.message=b,this.name=k;var x=Error(b);this.stack=x.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function g(b,k){return new Promise(function(x,S){var f=new F(b,k);if(f.signal&&f.signal.aborted)return S(new a.DOMException("Aborted","AbortError"));var M=new XMLHttpRequest;function V(){M.abort()}M.onload=function(){var Y={statusText:M.statusText,headers:l(M.getAllResponseHeaders()||"")};f.url.indexOf("file://")===0&&(M.status<200||M.status>599)?Y.status=200:Y.status=M.status,Y.url="responseURL"in M?M.responseURL:Y.headers.get("X-Request-URL");var oe="response"in M?M.response:M.responseText;setTimeout(function(){x(new p(oe,Y))},0)},M.onerror=function(){setTimeout(function(){S(new TypeError("Network request failed"))},0)},M.ontimeout=function(){setTimeout(function(){S(new TypeError("Network request timed out"))},0)},M.onabort=function(){setTimeout(function(){S(new a.DOMException("Aborted","AbortError"))},0)};function D(Y){try{return Y===""&&u.location.href?u.location.href:Y}catch{return Y}}if(M.open(f.method,D(f.url),!0),f.credentials==="include"?M.withCredentials=!0:f.credentials==="omit"&&(M.withCredentials=!1),"responseType"in M&&(c.blob?M.responseType="blob":c.arrayBuffer&&(M.responseType="arraybuffer")),k&&typeof k.headers=="object"&&!(k.headers instanceof A||u.Headers&&k.headers instanceof u.Headers)){var j=[];Object.getOwnPropertyNames(k.headers).forEach(function(Y){j.push(C(Y)),M.setRequestHeader(Y,w(k.headers[Y]))}),f.headers.forEach(function(Y,oe){j.indexOf(oe)===-1&&M.setRequestHeader(oe,Y)})}else f.headers.forEach(function(Y,oe){M.setRequestHeader(oe,Y)});f.signal&&(f.signal.addEventListener("abort",V),M.onreadystatechange=function(){M.readyState===4&&f.signal.removeEventListener("abort",V)}),M.send(typeof f._bodyInit>"u"?null:f._bodyInit)})}return g.polyfill=!0,u.fetch||(u.fetch=g,u.Headers=A,u.Request=F,u.Response=p),a.Headers=A,a.Request=F,a.Response=p,a.fetch=g,Object.defineProperty(a,"__esModule",{value:!0}),a})({})})(o),o.fetch.ponyfill=!0,delete o.fetch.polyfill;var s=r.fetch?r:o;e=s.fetch,e.default=s.fetch,e.fetch=s.fetch,e.Headers=s.Headers,e.Request=s.Request,e.Response=s.Response,t.exports=e}),gg=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(h,y,C,w){function T(A){return A instanceof C?A:new C(function(O){O(A)})}return new(C||(C=Promise))(function(A,O){function v(U){try{R(w.next(U))}catch(N){O(N)}}function B(U){try{R(w.throw(U))}catch(N){O(N)}}function R(U){U.done?A(U.value):T(U.value).then(v,B)}R((w=w.apply(h,y||[])).next())})},r=e&&e.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.JsonRpcConnection=void 0;var o=Qf(),s=r(EMe()),i=ho(),n=ho(),a={Accept:"application/json","Content-Type":"application/json"},u="POST",c={headers:a,method:u},d=class{constructor(h,y=!1){if(this.url=h,this.disableProviderPing=y,this.events=new o.EventEmitter,this.isAvailable=!1,this.registering=!1,!(0,n.isHttpUrl)(h))throw new Error(`Provided URL is not compatible with HTTP connection: ${h}`);this.url=h,this.disableProviderPing=y}get connected(){return this.isAvailable}get connecting(){return this.registering}on(h,y){this.events.on(h,y)}once(h,y){this.events.once(h,y)}off(h,y){this.events.off(h,y)}removeListener(h,y){this.events.removeListener(h,y)}open(){return t(this,arguments,void 0,function*(h=this.url){yield this.register(h)})}close(){return t(this,void 0,void 0,function*(){if(!this.isAvailable)throw new Error("Connection already closed");this.onClose()})}send(h){return t(this,void 0,void 0,function*(){this.isAvailable||(yield this.register());try{let y=(0,i.safeJsonStringify)(h),C=yield(yield(0,s.default)(this.url,Object.assign(Object.assign({},c),{body:y}))).json();this.onPayload({data:C})}catch(y){this.onError(h.id,y)}})}register(){return t(this,arguments,void 0,function*(h=this.url){if(!(0,n.isHttpUrl)(h))throw new Error(`Provided URL is not compatible with HTTP connection: ${h}`);if(this.registering)return new Promise((y,C)=>{this.events.once("register_error",w=>{C(w)}),this.events.once("open",()=>{if(typeof this.isAvailable>"u")return C(new Error("HTTP connection is missing or invalid"));y()})});this.url=h,this.registering=!0;try{if(!this.disableProviderPing){let y=(0,i.safeJsonStringify)({id:1,jsonrpc:"2.0",method:"test",params:[]});yield(0,s.default)(h,Object.assign(Object.assign({},c),{body:y}))}this.onOpen()}catch(y){let C=this.parseError(y);throw this.events.emit("register_error",C),this.onClose(),C}})}onOpen(){this.isAvailable=!0,this.registering=!1,this.events.emit("open")}onClose(){this.isAvailable=!1,this.registering=!1,this.events.emit("close")}onPayload(h){if(typeof h.data>"u")return;let y=typeof h.data=="string"?(0,i.safeJsonParse)(h.data):h.data;this.events.emit("payload",y)}onError(h,y){let C=this.parseError(y),w=C.message||C.toString(),T=(0,n.formatJsonRpcError)(h,w);this.events.emit("payload",T)}parseError(h,y=this.url){return(0,n.parseConnectionError)(h,y,"HTTP")}};e.JsonRpcConnection=d}),IMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(u,c,d,h){function y(C){return C instanceof d?C:new d(function(w){w(C)})}return new(d||(d=Promise))(function(C,w){function T(v){try{O(h.next(v))}catch(B){w(B)}}function A(v){try{O(h.throw(v))}catch(B){w(B)}}function O(v){v.done?C(v.value):y(v.value).then(T,A)}O((h=h.apply(u,c||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.Eip155Provider=void 0;var r=ph(),o=gh(),s=ho(),i=pg(),n=gg(),a=class{constructor(u,c,d){this.name="eip155",this.namespace=u.namespace,this.events=d,this.client=c,this.chainId=parseInt(this.getDefaultChain()),this.httpProviders=this.createHttpProviders(),(0,s.logDebug)("eip155 constructor --opts.namespace-->",u.namespace)}isRecord(u){return typeof u=="object"&&u!==null&&!Array.isArray(u)}isArray(u){return typeof u=="object"&&u!==null&&Array.isArray(u)}updateRequestParams(u){let c=u.params&&typeof u.params=="object"&&!Array.isArray(u.params);if(u.method==="wallet_switchEthereumChain"){let d=u.chainId.split(":")[1],h=parseInt(d,10);if(isNaN(h))throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Invalid decimal number,  chainId: '${d}' `);if(!u.params)u.params={chainId:"0x"+h.toString(16)};else if(c){let y=u.params;"chainId"in y||(y.chainId="0x"+h.toString(16),u.params=y)}else throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Request params error ,  method: '${u.method}' `)}else if(u.method==="personal_sign"||u.method==="eth_signTypedData_v4"||u.method==="eth_sendTransaction"||u.method==="wallet_watchAsset"){if(!u.params)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Request params is nil, method: '${u.method}'`);if(this.isRecord(u.params)){let d=u.params;if((0,s.logDebug)("eip155 updateRequestParams params>",JSON.stringify(d)),"chainId"in d){let h=u.chainId.split(":")[1],y=parseInt(h,10),C=String(d.chainId),w;if(C.startsWith(this.name)&&u.chainId===C)w=y;else if(C.startsWith("0x"))w=parseInt(C,16);else if(!isNaN(Number(C)))w=parseInt(C,10);else throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Invalid params.chainId format, method: '${u.method}'`);if(y!==w)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Request params.chainId not equal chain,  method: '${u.method}' `)}}else throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Invalid request params type, method: '${u.method}'`)}}adaptArray(u){if(u.method==="wallet_switchEthereumChain"||u.method==="wallet_addEthereumChain"||u.method==="wallet_watchAsset"||u.method==="eth_sendTransaction"||u.method==="kaia_signTransaction"||u.method==="klay_signTransaction"){if(this.isArray(u.params)){let c=u.params;if(c)if(c.length===1){let d=u.params[0];this.isRecord(d)&&(u.params=d)}else throw c.length>1?new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params only Support one data,  method: '${u.method}' `):new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params is nil,  method: '${u.method}' `)}}else if(u.method==="eth_signTypedData_v4"){if(this.isArray(u.params)){let c=u.params;if(c&&c.length>2)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params only Support one data,  method: '${u.method}' `);if(c&&c.length===0)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params is nil,  method: '${u.method}' `);let d={};if(c&&c.length===2){let h=u.params[0];if(h&&typeof h=="string"){let y=!1;if(this.namespace.accounts.forEach(C=>{(0,r.fromAccountToAddress)(C).toLowerCase()===h.toLowerCase()&&(y=!0)}),(0,s.logDebug)("eip155 adaptArray eth_signTypedData_v4 >>>isEqual: ",y),!y)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params address error, not equal,  method: '${u.method}' `);if(this.isRecord(u.params[1]))d=u.params[1];else throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params message data error,  method: '${u.method}' `)}else throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params address error , not string,  method: '${u.method}' `)}else if(c&&c.length===1)if(this.isRecord(u.params[0]))d=u.params[0];else throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params message data error,  method: '${u.method}' `);try{let h=JSON.stringify(d);u.params={typedDataJson:h}}catch{throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params call JSON.stringify() failed,  method: '${u.method}' `)}}}else if(u.method==="personal_sign"&&this.isArray(u.params)){if(u.params&&u.params.length>2)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params error,  method: '${u.method}' `);if(u.params&&u.params.length===0)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params is nil,  method: '${u.method}' `);let c=u.params[0],d=u.params[1];if(d&&typeof d=="string"){let h=!1;if(this.namespace.accounts.forEach(y=>{(0,r.fromAccountToAddress)(y).toLowerCase()===d.toLowerCase()&&(h=!0)}),(0,s.logDebug)("eip155 adaptArray personal_sign >>>isEqual: ",h),!h)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params address error,  method: '${u.method}' `)}if(c&&typeof c=="string")u.params={message:c};else throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params is error,  method: '${u.method}' `)}}showRequestModal(u){switch(u.method){case"eth_requestAccounts":case"eth_accounts":case"eth_chainId":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(u),this.updateRequestParams(u);let{parsedChainId:c,hexChainId:d}=this.getHexChainIdFromRequest(u);return!this.isChainApproved(c)}default:return!1}return!1}configAddressAdaptInjectWallet(u){this.namespace.accounts.forEach(c=>{c.includes(u.chainId)&&(u.address=(0,r.fromAccountToAddress)(c))})}request(u){return t(this,void 0,void 0,function*(){if(u.method==="eth_signLegacy"||u.method==="eth_sign")throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,`${u.method} method not supported`);switch(u.injectParams=u.params,this.adaptArray(u),this.client.needCheckRequestMethod()&&u.method==="klay_signTransaction"&&(u.method="kaia_signTransaction"),(0,s.logDebug)("eip155 request --args--string>",JSON.stringify(u)),this.updateRequestParams(u),(0,s.logDebug)("eip155 request --params--string>",JSON.stringify(u)),this.configAddressAdaptInjectWallet(u),u.method){case"eth_requestAccounts":return this.getAccounts();case"eth_accounts":return this.getAccounts();case"eth_chainId":return parseInt(this.getDefaultChain());case"wallet_switchEthereumChain":return yield this.handleSwitchChain(u);case"wallet_addEthereumChain":return this.addEthereumChain(u);default:break}if(!this.client.needCheckRequestMethod()||this.namespace.methods.includes(u.method)){if(this.client.needCheckRequestMethod()&&(u.method==="eth_sendTransaction"||u.method==="kaia_signTransaction"))try{if(u.params&&typeof u.params=="object"&&!Array.isArray(u.params)){let c=u.params;typeof c.input=="string"&&c.input.trim()!==""?!c.data||typeof c.data=="string"&&c.data.trim()===""?(c.data=c.input,(0,s.logDebug)("eip155 sendTransaction:  replace data with input")):(0,s.logDebug)("eip155 sendTransaction:  data not empty"):(0,s.logDebug)("eip155 sendTransaction:  input empty")}}catch{(0,s.logDebug)("eip155 sendTransaction:  replace error")}try{let c=yield this.client.request(u);if((0,s.logDebug)("eip155 request --response----string>",JSON.stringify(c)),this.isRecord(c)&&"result"in c){let d=c.result;return d&&typeof d=="string"&&(d==="true"||d==="false")?((0,s.logDebug)("eip155 request --wallet_watchAsset>>>>",d==="true"),d==="true"):c.result}return c}catch(c){throw(0,s.logDebug)(`eip155 request --response --error--string> e instanceof OKXConnectError ${c instanceof s.OKXConnectError}`,JSON.stringify(c)),c}}else return(0,s.logDebug)("[RPC] request begin"),yield this.getHttpProvider().request(u)})}addEthereumChain(u){return t(this,void 0,void 0,function*(){let c=yield this.client.request(u);try{if("result"in c){let d=c,h=c.result;if(h){let y=h.split(":")[0],C=h.split(":")[1],w=y+":"+C,T=this.namespace;if(this.namespace.accounts.push(h),this.namespace.chains.push(w),this.isRecord(u.params)&&"rpcUrls"in u.params){let A=u.params.rpcUrls,O=A?A[0]:void 0;O&&(this.namespace.rpcMap?this.namespace.rpcMap[C]=O:this.namespace.rpcMap={[C]:O},this.setHttpProvider(C,O))}this.events.emit(o.PROVIDER_EVENTS.UPDATE_NAMESPACES,{eip155:this.namespace})}}else new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`the method ${u.method} request error`)}catch{throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`the method ${u.method} request  error`)}return null})}updateNamespace(u){this.namespace=Object.assign(this.namespace,u)}setDefaultChain(u,c){if(this.chainId=parseInt(u),!this.httpProviders[u]){let d=c||(0,r.getRpcUrl)(`${this.name}:${u}`,this.namespace);d?this.setHttpProvider(u,d):(0,s.logDebug)(`No RPC url provided for chainId: ${u}`)}this.events.emit(o.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${u}`)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId.toString();if(this.namespace.defaultChain)return this.namespace.defaultChain;let u=this.namespace.chains[0];if(!u)throw new Error("ChainId not found");return u.split(":")[1]}getAccounts(){let u=this.namespace.accounts;return(0,s.logDebug)("eip155 getAccounts ",u,this.chainId),u?[...new Set(u.filter(c=>c.split(":")[1]===this.chainId.toString()).map(c=>(0,r.fromAccountToAddress)(c)))]:[]}getHexChainIdFromRequest(u){let c=u.params,d="0x0";c&&"chainId"in c&&(d=c.chainId),d=d.startsWith("0x")?d:`0x${d}`,(0,s.logDebug)("handleSwitchChain -->args ",u),(0,s.logDebug)("handleSwitchChain -->hexChainId ",d);let h=parseInt(d,16);return(0,s.logDebug)("handleSwitchChain -->parsedChainId ",h),{parsedChainId:h,hexChainId:d}}handleSwitchChain(u){return t(this,void 0,void 0,function*(){let{parsedChainId:c,hexChainId:d}=this.getHexChainIdFromRequest(u);if(this.isChainApproved(c))this.setDefaultChain(`${c}`);else throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED,`the method ${u.method} request  error`)})}isChainApproved(u){return this.namespace.chains.includes(`${this.name}:${u}`)}createHttpProvider(u,c){let d=c;if(!d)(0,s.logDebug)(`No RPC url provided for chainId: ${u}`);else return new i.JsonRpcProvider(new n.JsonRpcConnection(d,(0,r.getGlobal)("disableProviderPing")))}createHttpProviders(){let u={};return this.namespace.chains.forEach(c=>{let d=(0,r.getChainId)(c),h=(0,r.getRpcUrl)(c,this.namespace);(0,s.logDebug)("get parsed chain and rpc:",d,h);let y=this.createHttpProvider(d,h);y&&(u[d]=y)}),(0,s.logDebug)("get http providermap:",u),u}setHttpProvider(u,c){let d=this.createHttpProvider(u,c);d&&(this.httpProviders[u]=d)}getHttpProvider(){let u=`${this.chainId}`,c=this.httpProviders[u];if((0,s.logDebug)("[RPC] get http provider:",u,c),typeof c>"u")throw new Error(`JSON-RPC provider for ${u} not found`);return c}};e.Eip155Provider=a,e.default=a}),OMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(u,c,d,h){function y(C){return C instanceof d?C:new d(function(w){w(C)})}return new(d||(d=Promise))(function(C,w){function T(v){try{O(h.next(v))}catch(B){w(B)}}function A(v){try{O(h.throw(v))}catch(B){w(B)}}function O(v){v.done?C(v.value):y(v.value).then(T,A)}O((h=h.apply(u,c||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.SuiProvider=void 0;var r=gh(),o=ho(),s=ph(),i=gg(),n=pg(),a=class{constructor(u,c,d){this.name=o.NameSpaceKeySui,this.namespace=u.namespace,this.events=d,this.client=c,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(u){this.namespace=Object.assign(this.namespace,u)}request(u){return t(this,void 0,void 0,function*(){if((0,o.logDebug)("sui request --args--string>",JSON.stringify(u)),(0,o.logDebug)("sui provider namespace: ",this.namespace),u.injectParams){if("chain"in u&&o.SUI_CHAINS.MAINNET!=u.chain)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED);if(u.injectParams.chain=o.SUI_CHAINS.MAINNET,"account"in u&&u.account.address!=this.getAccounts[0])throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR);u.injectParams.account={address:this.getAccounts()[0]}}return!this.client.needCheckRequestMethod()||this.namespace.methods.includes(u.method)?this.client.request(u):this.getHttpProvider().request(u)})}requestAccounts(){return this.getAccounts()}setDefaultChain(u,c){this.httpProviders[u]||this.setHttpProvider(u,c),this.chainId=u,this.events.emit(r.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${u}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let u=this.namespace.chains[0];if(!u)throw new Error("ChainId not found");return u.split(":")[1]}getAccounts(){let u=this.namespace.accounts;return u?[...new Set(u.filter(c=>c.split(":")[1]===this.chainId.toString()).map(c=>c.split(":")[2]))]:[]}createHttpProviders(){let u={};return this.namespace.chains.forEach(c=>{let d=(0,s.getChainId)(c),h=(0,s.getRpcUrl)(c,this.namespace),y=this.createHttpProvider(d,h);y&&(u[d]=y)}),u}getHttpProvider(){let u=`${this.chainId}`,c=this.httpProviders[u];if((0,o.logDebug)("[RPC] get http provider:",u,c),typeof c>"u")throw new Error(`JSON-RPC provider for ${u} not found`);return c}setHttpProvider(u,c){let d=this.createHttpProvider(u,c);d&&((0,o.logDebug)("setHttpProvider",u,c),this.httpProviders[u]=d)}createHttpProvider(u,c){let d=c;if(!d)(0,o.logDebug)(`No RPC url provided for chainId: ${u}`);else return new n.JsonRpcProvider(new i.JsonRpcConnection(d,(0,s.getGlobal)("disableProviderPing")))}getPubkey(u){return this.getWalletAddress(u)}getWalletAddress(u){return u||(u=this.namespace.defaultChain,u?.startsWith("sui")||(u=`sui:${u}`)),this.namespace.accounts.filter(function(c){return c.split(":").length>2&&c.startsWith(u)}).map(function(c){return c.split(":")[2]})[0]}showRequestModal(u){switch(u.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=r,e.nameSpaceToConnectWalletNameSpace=o,e.fillParamsToSession=s,e.isCaipNamespace=n,e.parseNamespaceKey=a;var t=ho();function r(u){let c=[];return u.forEach(d=>{let[h,y]=d.split(":");c.push(`${h}:${y}`)}),c}function o(u){var c=[];return u&&Object.keys(u).forEach(d=>{(d===t.NameSpaceKeyEip155||d===t.NameSpaceKeySOL||d===t.NameSpaceKeySui||d===t.NameSpaceKeyAptos||d==t.NameSpaceKeyBtc||d===t.NameSpaceKeyTON||d===t.NameSpaceKeyCosmos||d===t.NameSpaceKeyTron||d===t.NameSpaceKeyStarknet)&&u[d].chains&&c.push({namespace:d,chains:u[d].chains,params:u[d].params})}),c}function s(u,c,d,h){let y=(w,T)=>{Object.assign(w,T)},C=(w,T)=>{for(let A in T)T.hasOwnProperty(A)&&T[A].rpcMap&&(T[A].rpcMap&&(w[A].rpcMap||(w[A].rpcMap={}),y(w[A].rpcMap,T[A].rpcMap)),T[A].defaultChain&&w[A].defaultChain===void 0&&w[A].chains.some(O=>O.split(":")[1]===T[A].defaultChain)&&(w[A].defaultChain=T[A].defaultChain))};c&&C(u.namespaces,c),d&&C(u.namespaces,d);for(let w in u.namespaces){let T=u.namespaces[w];(!T?.accounts||T.accounts.length===0)&&delete u.namespaces[w]}u.namespaces[t.NameSpaceKeyBtc]&&u.wallet.appName===t.OKXWalletName&&i(u.namespaces[t.NameSpaceKeyBtc]),h.connectWalletType==null&&u.sessionConfig.connectWalletType!=null&&(h.connectWalletType=u.sessionConfig.connectWalletType),u.sessionConfig=h}function i(u){try{if(u&&u.extra){var c=u.extra;Object.keys(c).forEach(d=>{let h=c[d];Number(h.addressType)===6?h.publicKey=h.compressedPublicKey.slice(2):h.publicKey=h.compressedPublicKey})}}catch{(0,t.logDebug)("namespaces fixMobileBtcSession error")}}function n(u){return u.includes(":")}function a(u){return n(u)?u.split(":")[0]:u}}),BMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(a,u,c,d){function h(y){return y instanceof c?y:new c(function(C){C(y)})}return new(c||(c=Promise))(function(y,C){function w(O){try{A(d.next(O))}catch(v){C(v)}}function T(O){try{A(d.throw(O))}catch(v){C(v)}}function A(O){O.done?y(O.value):h(O.value).then(w,T)}A((d=d.apply(a,u||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.SignClient=void 0;var r=ho(),o=Lte(),s=Bte(),i=gh(),n=class extends r.ISignClient{constructor(a,u,c){super(a),this.connect=d=>t(this,void 0,void 0,function*(){return new Promise((h,y)=>t(this,void 0,void 0,function*(){try{var C=[];(0,r.logDebug)("client connect params >>>",JSON.stringify(d));var w={name:"requestAccounts",requiredNamespaces:(0,o.nameSpaceToConnectWalletNameSpace)(d.namespaces),optionalNamespaces:(0,o.nameSpaceToConnectWalletNameSpace)(d.optionalNamespaces)};this.engine.setSessionConnectingListener(()=>{(0,r.logDebug)("sessionConnectingListener >>>"),this.events.emit(i.PROVIDER_EVENTS.SESSION_CONNECTING)}),d.signRequest&&(w.connectRequestMethods=yield(0,s.connectMethodsToConnectWalletMethods)(d.signRequest,w.requiredNamespaces)),C.push(w),(0,r.logDebug)("client connect connectRequest >>>",JSON.stringify(C)),this.engine.universalConnect(C,Object.assign({dappInfo:this.metadata},d.sessionConfig),T=>{if(T&&T.connectRequest){(0,r.logDebug)("universalConect info.connectRequest :",T.connectRequest);let A=(0,r.getOKXLink)(T.connectRequest,this.sessionConfig.connectWalletType).universalLink;(0,r.logDebug)("universalConect url:",A),this.events.emit("display_uri",A),this.events.emit("short_display_uri",A),(0,r.logDebug)(`universalConect EngineConnectInfo  ${JSON.stringify(T)}`),this.events.emit("okx_engine_connect_params",T)}}).then(T=>t(this,void 0,void 0,function*(){(0,o.fillParamsToSession)(T,d.namespaces,d.optionalNamespaces,this.sessionConfig),(0,r.logDebug)(`signClient: connect: session ${JSON.stringify(T)}`),d.signRequest&&(yield(0,s.connectMethodsResponseUpdate)(T,d.signRequest)),h(T)})).catch(T=>{(0,r.logDebug)(`signClient: connect: catch ${JSON.stringify(T)}`),this.events.emit("connect_error",T),y(T)})}catch(T){(0,r.logDebug)(`signClient: connect:  ${JSON.stringify(T)}`),y(T)}}))}),this.restoreconnect=d=>t(this,void 0,void 0,function*(){return new Promise((h,y)=>{this.engine.restoreconnect(d,C=>{C?h(C):y()})})}),this.reject=d=>t(this,void 0,void 0,function*(){}),this.request=d=>t(this,void 0,void 0,function*(){return new Promise((h,y)=>t(this,void 0,void 0,function*(){var C,w;(0,r.logDebug)("clint request --params>>>> >",(C=this.sessionConfig)===null||C===void 0?void 0:C.openUniversalUrl,(0,r.safeJsonStringify)(d));try{!((w=this.sessionConfig)===null||w===void 0)&&w.openUniversalUrl&&(0,r.isIos)()&&this.openOKXWallet(),yield this.engine.send(d,{resolve:T=>{if(delete T.requestId,(0,r.logDebug)("clint request --response >",(0,r.safeJsonStringify)(T)),"error"in T&&T.error){let A=T.error;y(new r.OKXConnectError(T.error.code,T.method+":"+A.message))}else h(T)},onAck:()=>{var T;!(0,r.isIos)()&&!((T=this.sessionConfig)===null||T===void 0)&&T.openUniversalUrl&&this.openOKXWallet()}})}catch(T){(0,r.logDebug)("clint request --error:",T),y(T)}}))}),this.disconnect=()=>t(this,void 0,void 0,function*(){return new Promise((d,h)=>{this.engine.send({method:"disconnect"},{onAck:()=>{d()}},864e5).catch(y=>{console.log(`disconnect : ${JSON.stringify(y)}`),h(y)})})}),this.engine=new r.Engine(a.name),this.events=u,this.metadata=a,this.openAppLineType=c??r.OpenAppLinkType.UniversalLink}setAccountChangeListener(a){this.engine.setAccountChangeListener(a)}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((a,u)=>{this.engine.send({method:"sync_all_addresses"},{resolve:c=>{if(delete c.requestId,(0,r.logDebug)("clint syncAllAddress --response >",JSON.stringify(c)),"error"in c&&c.error){let d=c.error;u(new r.OKXConnectError(c.error.code,c.method+":"+d.message))}else{let d=c.result;a((0,s.syncResoonseToRequire)(d))}}}).catch(c=>{console.log(`disconnect : ${JSON.stringify(c)}`),u(c)})})})}registerConnector(a){this.engine.registerConnector(a)}openWallet(a,u){this.engine.openWallet(a,u,this.openAppLineType)}setConnectConnector(a){this.engine.setConnectConnector(a?.wallet,a?.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=n}),kMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(u,c,d,h){function y(C){return C instanceof d?C:new d(function(w){w(C)})}return new(d||(d=Promise))(function(C,w){function T(v){try{O(h.next(v))}catch(B){w(B)}}function A(v){try{O(h.throw(v))}catch(B){w(B)}}function O(v){v.done?C(v.value):y(v.value).then(T,A)}O((h=h.apply(u,c||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.SolanaProvider=void 0;var r=gh(),o=ho(),s=ph(),i=gg(),n=pg(),a=class{constructor(u,c,d,h){this.name="solana",this.namespace=u.namespace,this.events=h,this.client=d,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders(),this.name=c}updateNamespace(u){this.namespace=Object.assign(this.namespace,u)}requestAccounts(){return this.getAccounts()}request(u){return t(this,void 0,void 0,function*(){if((0,o.logDebug)("solana request --args--string>",JSON.stringify(u)),(0,o.logDebug)("solana provider namespace: ",this.namespace),!this.client.needCheckRequestMethod()||this.namespace.methods.includes(u.method))return this.client.request(u);throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,"Please upgrade OKX APP")})}setDefaultChain(u,c){this.httpProviders[u]||this.setHttpProvider(u,c),this.chainId=u,this.events.emit(r.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${u}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let u=this.namespace.chains[0];if(!u)throw new Error("ChainId not found");return u.split(":")[1]}getAccounts(){let u=this.namespace.accounts;return u?[...new Set(u.filter(c=>c.split(":")[1]===this.chainId.toString()).map(c=>c.split(":")[2]))]:[]}createHttpProviders(){let u={};return this.namespace.chains.forEach(c=>{let d=(0,s.getChainId)(c),h=(0,s.getRpcUrl)(c,this.namespace),y=this.createHttpProvider(d,h);y&&(u[d]=y)}),u}getHttpProvider(){let u=`${this.chainId}`,c=this.httpProviders[u];if(typeof c>"u")throw new Error(`JSON-RPC provider for ${u} not found`);return c}setHttpProvider(u,c){let d=this.createHttpProvider(u,c);d&&(this.httpProviders[u]=d)}createHttpProvider(u,c){let d=c;if(d)return new n.JsonRpcProvider(new i.JsonRpcConnection(d,(0,s.getGlobal)("disableProviderPing")))}getPubkey(u){return this.getWalletAddress(u)}getWalletAddress(u){return u||(u=this.namespace.defaultChain,u?.startsWith("solana")||(u=`solana:${u}`)),this.namespace.accounts.filter(function(c){return c.split(":").length>2&&c.startsWith(u)}).map(function(c){return c.split(":")[2]})[0]}showRequestModal(u){return!0}};e.SolanaProvider=a,e.default=a}),MMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(u,c,d,h){function y(C){return C instanceof d?C:new d(function(w){w(C)})}return new(d||(d=Promise))(function(C,w){function T(v){try{O(h.next(v))}catch(B){w(B)}}function A(v){try{O(h.throw(v))}catch(B){w(B)}}function O(v){v.done?C(v.value):y(v.value).then(T,A)}O((h=h.apply(u,c||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0});var r=gh(),o=ho(),s=ph(),i=gg(),n=pg(),a=class{constructor(u,c,d,h){this.name=o.NameSpaceKeyBtc,this.namespace=u.namespace,this.events=h,this.client=d,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders(),this.name=c}updateNamespace(u){this.namespace=Object.assign(this.namespace,u)}requestAccounts(){return this.getAccounts()}request(u){return t(this,void 0,void 0,function*(){return(0,o.logDebug)("btc request --args--string>",JSON.stringify(u)),(0,o.logDebug)("btc provider namespace: ",JSON.stringify(this.namespace)),!this.client.needCheckRequestMethod()||this.namespace.methods.includes(u.method)?this.client.request(u):this.getHttpProvider().request(u)})}setDefaultChain(u,c){this.httpProviders[u]||this.setHttpProvider(u,c),this.chainId=u,this.events.emit(r.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${u}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let u=this.namespace.chains[0];if(!u)throw new Error("ChainId not found");return u.split(":")[1]}getAccounts(){let u=this.namespace.accounts;return u?[...new Set(u.filter(c=>c.split(":")[1]===this.chainId.toString()).map(c=>c.split(":")[2]))]:[]}createHttpProviders(){let u={};return this.namespace.chains.forEach(c=>{let d=(0,s.getChainId)(c),h=(0,s.getRpcUrl)(c,this.namespace),y=this.createHttpProvider(d,h);y&&(u[d]=y)}),u}getHttpProvider(){let u=`${this.chainId}`,c=this.httpProviders[u];if(typeof c>"u")throw new Error(`JSON-RPC provider for ${u} not found`);return c}setHttpProvider(u,c){let d=this.createHttpProvider(u,c);d&&(this.httpProviders[u]=d)}createHttpProvider(u,c){let d=c;if(!d)(0,o.logDebug)(`No RPC url provided for chainId: ${u}`);else return new n.JsonRpcProvider(new i.JsonRpcConnection(d,(0,s.getGlobal)("disableProviderPing")))}showRequestModal(u){return!0}};e.default=a}),_Me=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(u,c,d,h){function y(C){return C instanceof d?C:new d(function(w){w(C)})}return new(d||(d=Promise))(function(C,w){function T(v){try{O(h.next(v))}catch(B){w(B)}}function A(v){try{O(h.throw(v))}catch(B){w(B)}}function O(v){v.done?C(v.value):y(v.value).then(T,A)}O((h=h.apply(u,c||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0});var r=gh(),o=ho(),s=ph(),i=gg(),n=pg(),a=class{constructor(u,c,d,h){this.name="aptos",this.namespace=u.namespace,this.events=h,this.client=d,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders(),this.name=c}updateNamespace(u){this.namespace=Object.assign(this.namespace,u)}requestAccounts(){return this.getAccounts()}request(u){return t(this,void 0,void 0,function*(){if((0,o.logDebug)("aptos request --args--string>",(0,o.safeJsonStringify)(u)),(0,o.logDebug)("aptos provider namespace: ",this.namespace),!this.client.needCheckRequestMethod()||this.namespace.methods.includes(u.method))return this.client.request(u);throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,"Please upgrade OKX APP")})}setDefaultChain(u,c){this.httpProviders[u]||this.setHttpProvider(u,c),this.chainId=u,this.events.emit(r.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${u}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let u=this.namespace.chains[0];if(!u)throw new Error("ChainId not found");return u.split(":")[1]}getAccounts(){let u=this.namespace.accounts;return u?[...new Set(u.filter(c=>c.split(":")[1]===this.chainId.toString()).map(c=>c.split(":")[2]))]:[]}createHttpProviders(){let u={};return this.namespace.chains.forEach(c=>{let d=(0,s.getChainId)(c),h=(0,s.getRpcUrl)(c,this.namespace),y=this.createHttpProvider(d,h);y&&(u[d]=y)}),u}getHttpProvider(){let u=`${this.chainId}`,c=this.httpProviders[u];if(typeof c>"u")throw new Error(`JSON-RPC provider for ${u} not found`);return c}setHttpProvider(u,c){let d=this.createHttpProvider(u,c);d&&(this.httpProviders[u]=d)}createHttpProvider(u,c){let d=c;if(d)return new n.JsonRpcProvider(new i.JsonRpcConnection(d,(0,s.getGlobal)("disableProviderPing")))}showRequestModal(u){return!0}};e.default=a}),RMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(c,d,h,y){function C(w){return w instanceof h?w:new h(function(T){T(w)})}return new(h||(h=Promise))(function(w,T){function A(B){try{v(y.next(B))}catch(R){T(R)}}function O(B){try{v(y.throw(B))}catch(R){T(R)}}function v(B){B.done?w(B.value):C(B.value).then(A,O)}v((y=y.apply(c,d||[])).next())})},r=e&&e.__rest||function(c,d){var h={};for(var y in c)Object.prototype.hasOwnProperty.call(c,y)&&d.indexOf(y)<0&&(h[y]=c[y]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,y=Object.getOwnPropertySymbols(c);C<y.length;C++)d.indexOf(y[C])<0&&Object.prototype.propertyIsEnumerable.call(c,y[C])&&(h[y[C]]=c[y[C]]);return h};Object.defineProperty(e,"__esModule",{value:!0});var o=gh(),s=ho(),i=ph(),n=gg(),a=pg(),u=class{constructor(c,d,h){this.name=s.NameSpaceKeyTON,this.namespace=c.namespace,this.events=h,this.client=d,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(c){this.namespace=Object.assign(this.namespace,c)}isRecord(c){return typeof c=="object"&&c!==null&&!Array.isArray(c)}request(c){return t(this,void 0,void 0,function*(){var d,h,y,C;if((0,s.logDebug)("TONProvider request --args--string>",JSON.stringify(c)),(0,s.logDebug)("TONProvider request provider namespace: ",this.namespace),!this.client.needCheckRequestMethod()||this.namespace.methods.includes(c.method)){if(!c.params)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"ton request params is nil");if(this.isRecord(c.params)){let w=c.params,{validUntil:T}=w,A=r(w,["validUntil"]),O=(h=(d=this.namespace.payload)===null||d===void 0?void 0:d.ton_addr)===null||h===void 0?void 0:h.address;"from"in A&&(O=A.from||((C=(y=this.namespace.payload)===null||y===void 0?void 0:y.ton_addr)===null||C===void 0?void 0:C.address)),c.params.from=O,c.params.network=this.getDefaultChain(),c.params.valid_until=T;let v=yield this.client.request(c);if(this.isRecord(v)&&"result"in v){let B={boc:v.result.toString()};return(0,s.logDebug)("TONProvider request provider response: ",JSON.stringify(v)),(0,s.logDebug)("TONProvider request provider result: ",JSON.stringify(B)),B}throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"ton_send request response is nil")}else throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"ton request params type add nil")}return this.getHttpProvider().request(c)})}requestAccounts(){return this.getAccounts()}setDefaultChain(c,d){this.httpProviders[c]||this.setHttpProvider(c,d),this.chainId=c,this.events.emit(o.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${c}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let c=this.namespace.chains[0];if(!c)throw new Error("ChainId not found");return c.split(":")[1]}getAccounts(){var c,d;let h=this.namespace.accounts;if((0,s.logDebug)("ton getAccounts accounts :",h),(0,s.logDebug)("ton getAccounts .namespace :",JSON.stringify(this.namespace)),!h)return[];let y=(d=(c=this.namespace.payload)===null||c===void 0?void 0:c.ton_addr)===null||d===void 0?void 0:d.address;return(0,s.logDebug)("ton getAccounts address :",y),y?[y]:[]}createHttpProviders(){let c={};return this.namespace.chains.forEach(d=>{let h=(0,i.getChainId)(d),y=(0,i.getRpcUrl)(d,this.namespace),C=this.createHttpProvider(h,y);C&&(c[h]=C)}),c}getHttpProvider(){let c=`${this.chainId}`,d=this.httpProviders[c];if((0,s.logDebug)("[RPC] get http provider:",c,d),typeof d>"u")throw new Error(`JSON-RPC provider for ${c} not found`);return d}setHttpProvider(c,d){let h=this.createHttpProvider(c,d);h&&((0,s.logDebug)("setHttpProvider",c,d),this.httpProviders[c]=h)}createHttpProvider(c,d){let h=d;if(!h)(0,s.logDebug)(`No RPC url provided for chainId: ${c}`);else return new a.JsonRpcProvider(new n.JsonRpcConnection(h,(0,i.getGlobal)("disableProviderPing")))}showRequestModal(c){return c.method==="ton_sendTransaction"}};e.default=u}),NMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(u,c,d,h){function y(C){return C instanceof d?C:new d(function(w){w(C)})}return new(d||(d=Promise))(function(C,w){function T(v){try{O(h.next(v))}catch(B){w(B)}}function A(v){try{O(h.throw(v))}catch(B){w(B)}}function O(v){v.done?C(v.value):y(v.value).then(T,A)}O((h=h.apply(u,c||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0});var r=gh(),o=ho(),s=ph(),i=gg(),n=pg(),a=class{constructor(u,c,d){this.name=o.NameSpaceKeyCosmos,this.namespace=u.namespace,this.events=d,this.client=c,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(u){this.namespace=Object.assign(this.namespace,u)}requestAccounts(){return this.getAccounts()}request(u){return t(this,void 0,void 0,function*(){if((0,o.logDebug)("cosmos request --args--string>",JSON.stringify(u)),(0,o.logDebug)("cosmos provider namespace: ",JSON.stringify(this.namespace)),!this.client.needCheckRequestMethod()||this.namespace.methods.includes(u.method))return this.client.request(u);throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,"Please upgrade OKX APP")})}setDefaultChain(u,c){this.httpProviders[u]||this.setHttpProvider(u,c),this.chainId=u,this.events.emit(r.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${u}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let u=this.namespace.chains[0];if(!u)throw new Error("ChainId not found");return u.split(":")[1]}getAccounts(){let u=this.namespace.accounts;return u?[...new Set(u.filter(c=>c.split(":")[1]===this.chainId.toString()).map(c=>c.split(":")[2]))]:[]}createHttpProviders(){let u={};return this.namespace.chains.forEach(c=>{let d=(0,s.getChainId)(c),h=(0,s.getRpcUrl)(c,this.namespace),y=this.createHttpProvider(d,h);y&&(u[d]=y)}),u}getHttpProvider(){let u=`${this.chainId}`,c=this.httpProviders[u];if(typeof c>"u")throw new Error(`JSON-RPC provider for ${u} not found`);return c}setHttpProvider(u,c){let d=this.createHttpProvider(u,c);d&&(this.httpProviders[u]=d)}createHttpProvider(u,c){let d=c;if(d)return new n.JsonRpcProvider(new i.JsonRpcConnection(d,(0,s.getGlobal)("disableProviderPing")))}showRequestModal(u){return!0}};e.default=a}),DMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(u,c,d,h){function y(C){return C instanceof d?C:new d(function(w){w(C)})}return new(d||(d=Promise))(function(C,w){function T(v){try{O(h.next(v))}catch(B){w(B)}}function A(v){try{O(h.throw(v))}catch(B){w(B)}}function O(v){v.done?C(v.value):y(v.value).then(T,A)}O((h=h.apply(u,c||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0});var r=gh(),o=ho(),s=ph(),i=gg(),n=pg(),a=class{constructor(u,c,d){this.name=o.NameSpaceKeyTron,this.namespace=u.namespace,this.events=d,this.client=c,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(u){this.namespace=Object.assign(this.namespace,u)}requestAccounts(){return this.getAccounts()}request(u){return t(this,void 0,void 0,function*(){if((0,o.logDebug)("tron request --args--string>",JSON.stringify(u)),(0,o.logDebug)("tron provider namespace: ",JSON.stringify(this.namespace)),!this.client.needCheckRequestMethod()||this.namespace.methods.includes(u.method))return this.client.request(u);throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,"Please upgrade OKX APP")})}setDefaultChain(u,c){this.httpProviders[u]||this.setHttpProvider(u,c),this.chainId=u,this.events.emit(r.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${u}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let u=this.namespace.chains[0];if(!u)throw new Error("ChainId not found");return u.split(":")[1]}getAccounts(){let u=this.namespace.accounts;return u?[...new Set(u.filter(c=>c.split(":")[1]===this.chainId.toString()).map(c=>c.split(":")[2]))]:[]}createHttpProviders(){let u={};return this.namespace.chains.forEach(c=>{let d=(0,s.getChainId)(c),h=(0,s.getRpcUrl)(c,this.namespace),y=this.createHttpProvider(d,h);y&&(u[d]=y)}),u}getHttpProvider(){let u=`${this.chainId}`,c=this.httpProviders[u];if(typeof c>"u")throw new Error(`JSON-RPC provider for ${u} not found`);return c}setHttpProvider(u,c){let d=this.createHttpProvider(u,c);d&&(this.httpProviders[u]=d)}createHttpProvider(u,c){let d=c;if(d)return new n.JsonRpcProvider(new i.JsonRpcConnection(d,(0,s.getGlobal)("disableProviderPing")))}showRequestModal(u){return!0}};e.default=a}),UMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(u,c,d,h){function y(C){return C instanceof d?C:new d(function(w){w(C)})}return new(d||(d=Promise))(function(C,w){function T(v){try{O(h.next(v))}catch(B){w(B)}}function A(v){try{O(h.throw(v))}catch(B){w(B)}}function O(v){v.done?C(v.value):y(v.value).then(T,A)}O((h=h.apply(u,c||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0});var r=gh(),o=ho(),s=ph(),i=gg(),n=pg(),a=class{constructor(u,c,d,h){this.name="starknet",this.namespace=u.namespace,this.events=h,this.client=d,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders(),this.name=c}updateNamespace(u){this.namespace=Object.assign(this.namespace,u)}requestAccounts(){return this.getAccounts()}request(u){return t(this,void 0,void 0,function*(){if((0,o.logDebug)("starknet request --args--string>",JSON.stringify(u)),(0,o.logDebug)("starknet provider namespace: ",this.namespace),!this.client.needCheckRequestMethod()||this.namespace.methods.includes(u.method))return this.client.request(u);throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,"Wallet doesn't support"+u.method)})}setDefaultChain(u,c){this.httpProviders[u]||this.setHttpProvider(u,c),this.chainId=u,this.events.emit(r.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${u}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let u=this.namespace.chains[0];if(!u)throw new Error("ChainId not found");return u.split(":")[1]}getAccounts(){let u=this.namespace.accounts;return u?[...new Set(u.filter(c=>c.split(":")[1]===this.chainId.toString()).map(c=>c.split(":")[2]))]:[]}createHttpProviders(){let u={};return this.namespace.chains.forEach(c=>{let d=(0,s.getChainId)(c),h=(0,s.getRpcUrl)(c,this.namespace),y=this.createHttpProvider(d,h);y&&(u[d]=y)}),u}getHttpProvider(){let u=`${this.chainId}`,c=this.httpProviders[u];if(typeof c>"u")throw new Error(`JSON-RPC provider for ${u} not found`);return c}setHttpProvider(u,c){let d=this.createHttpProvider(u,c);d&&(this.httpProviders[u]=d)}createHttpProvider(u,c){let d=c;if(d)return new n.JsonRpcProvider(new i.JsonRpcConnection(d,(0,s.getGlobal)("disableProviderPing")))}showRequestModal(u){return!0}};e.default=a}),KMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(U,N,_,L){function H(F){return F instanceof _?F:new _(function(G){G(F)})}return new(_||(_=Promise))(function(F,G){function l(g){try{E(L.next(g))}catch(b){G(b)}}function p(g){try{E(L.throw(g))}catch(b){G(b)}}function E(g){g.done?F(g.value):H(g.value).then(l,p)}E((L=L.apply(U,N||[])).next())})},r=e&&e.__importDefault||function(U){return U&&U.__esModule?U:{default:U}};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXUniversalProvider=void 0;var o=IMe(),s=OMe(),i=gh(),n=r(Qf()),a=BMe(),u=ho(),c=Lte(),d=r(kMe()),h=r(MMe()),y=r(_Me()),C=r(RMe()),w=r(NMe()),T=r(DMe()),A=ph(),O=Mte(),v=Ite(),B=r(UMe()),R=class dh{static init(N){return t(this,void 0,void 0,function*(){(0,u.logDebug)("OKXUniversalProvider init() called"),(0,u.checkMetaData)(N.dappMetaData),(0,A.setGlobal)("disableProviderPing",!0);let _;return(0,u.getDefaultReporter)().configVersionAndSide("universalprovider","dapp",N.dappMetaData.name),window&&window.okxConnectUniversalinwindow&&window.okxConnectUniversalinwindow instanceof dh?((0,u.logDebug)("OKXUniversalConnect init() old called"),_=window.okxConnectUniversalinwindow):((0,u.logDebug)("OKXUniversalConnect init() new called"),_=new dh(N),window&&(window.okxConnectUniversalinwindow=_),yield _.initialize()),_})}constructor(N){this.rpcProviders={},this.events=new n.default,(!N.connector||N.connector.length==0)&&((0,O.isMobileDiscover)()?N.connector=[new u.OkxwalletInjectConnector]:N.connector=[new u.OKXAppConnector,new u.OKXWalletAppConnector,new u.OKXAppCommonConnector]),this.providerOpts=N,this.specialDAppLineType(this.providerOpts),(0,u.logDebug)("constructor this.providerOpts>>",JSON.stringify(this.providerOpts));let _=u.OpenAppLinkType.UniversalLink;switch(N.openAppLinkType){case"universallink":_=u.OpenAppLinkType.UniversalLink;break;case"deeplink":_=u.OpenAppLinkType.DeepLink;break;default:_=u.OpenAppLinkType.UniversalLink;break}this.providerOpts.openAppLinkType=_,(0,u.logDebug)("OKXUniversalProvider constructor() linkType:",_)}specialDAppLineType(N){let _=window.location.host;_&&(_.includes("dappportal.io")||_.includes("connect.oker.vip"))&&!N.openAppLinkType&&((0,u.logDebug)("specialDAppLineType --> host:",_),N.openAppLinkType=u.OpenAppLinkType.DeepLink)}getOpenAppLinkType(){var N;return(N=this.providerOpts.openAppLinkType)!==null&&N!==void 0?N:u.OpenAppLinkType.UniversalLink}request(N,_){return t(this,void 0,void 0,function*(){if((0,u.logDebug)("OKXUniversalProvider request() called"),(0,u.reportLog)("OKXUniversalProvider request() called"),!this.connected())throw new u.OKXConnectError(u.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR);(0,u.logDebug)("OKXUniversalProvider request()  connected ");let{namespace:L,requestParam:H}=this.buildRequestParamFromRequest(N,_);return yield this.getProvider(L).request(H)})}buildRequestParamFromRequest(N,_){var L;(0,u.logDebug)("UniversalProvider request args >>>>>>>: ",_,(0,u.safeJsonStringify)(N));let[H,F]=this.validateChain(_);if(!this.session)throw new u.OKXConnectError(u.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Please call connect() before request()");let G=Object.keys(this.session.namespaces);if(!_&&G&&G.length>1)throw new u.OKXConnectError(u.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,"Multiple chains have been linked, the request method requires chain");let l=(0,u.replaceChainNameToChainId)(`${H}:${F}`);l!=null&&(H=l.split(":")[0],F=l.split(":")[1]);let p=Object.assign(Object.assign({},N),{chainId:`${H}:${F}`,redirect:(L=N.redirect)!==null&&L!==void 0?L:this.sessionConfig.redirect});return{namespace:H,requestParam:p}}enable(){return t(this,void 0,void 0,function*(){if(!this.client)throw new u.OKXConnectError(u.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Sign Client not initialized");if(!this.session)if(this.connectOpts)yield this.connect(this.connectOpts);else throw new u.OKXConnectError(u.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Sign Client not initialized");return yield this.requestAccounts()})}disconnect(){return t(this,void 0,void 0,function*(){return(0,u.logDebug)("OKXUniversalProvider disconnect() called"),(0,u.reportLog)("provider disconnect called"),new Promise(N=>t(this,void 0,void 0,function*(){let _=!1,L=()=>t(this,void 0,void 0,function*(){_||(_=!0,yield this.disconnectAndEmit(),yield this.cleanup(),N(),(0,u.logDebug)("UniversalProvider disconnect Disconnected"),(0,u.reportLog)("provider disconnect disconnected"))});try{yield this.client.disconnect(),yield L()}catch{yield L()}}))})}disconnectAndEmit(){var N,_,L;this.client.engine.connectManagerDisconnect(),!((N=this.session)===null||N===void 0)&&N.topic&&(this.events.emit("disconnect",{topic:(_=this.session)===null||_===void 0?void 0:_.topic}),this.events.emit("session_delete",{topic:(L=this.session)===null||L===void 0?void 0:L.topic}))}replaceNamespace(N,_){var L,H;let F=(L=N.namespaces)===null||L===void 0?void 0:L[_];if(F!=null){let l=this.replaceNamespaceInner(F);N.namespaces!=null&&_ in N.namespaces&&l!=null&&(N.namespaces[_]=l)}let G=(H=N.optionalNamespaces)===null||H===void 0?void 0:H[_];if(G!=null){let l=this.replaceNamespaceInner(G);N.optionalNamespaces!=null&&_ in N.optionalNamespaces&&l!=null&&(N.optionalNamespaces[_]=l)}return N}replaceNamespaceInner(N){var _;return N!=null&&(N.chains=(_=N.chains)===null||_===void 0?void 0:_.map(L=>(0,u.replaceChainNameToChainId)(L)),N.defaultChain!=null&&(N.defaultChain=(0,u.replaceChainNameToChainId)(N.defaultChain))),N}replaceSessionAptos(N,_){var L;let H=(L=N?.namespaces)===null||L===void 0?void 0:L[_];if(H!=null&&H.chains!=null){H.chains=H.chains.map(G=>(0,u.replaceChainIdToChainName)(G)),H.accounts=H.accounts.map(G=>(0,u.replaceChainIdToChainName)(G));let F={};Object.keys(H.extra||{}).forEach((G,l)=>{let p=(0,u.replaceChainIdToChainName)(G);F[(0,u.replaceChainIdToChainName)(G)]=Object.values(N?.namespaces[_].extra||{})[l]}),H.extra=F}(0,u.logDebug)("replaceSessionAptos",N)}connected(){(0,u.logDebug)("OKXUniversalProvider connected() called"),(0,u.reportLog)("provider connected called");let N=()=>{try{this.cleanup(),this.client.engine.connectManagerDisconnect()}catch(_){(0,u.logDebug)("Error during disconnect:",_)}};try{return this.session?this.client.engine.getCurrentConnectionReady(Object.keys(this.session.namespaces))?!0:(N(),!1):!1}catch{return N(),!1}}connectAndSign(N,_){return t(this,void 0,void 0,function*(){(0,u.logDebug)("OKXUniversalProvider connectAndSign() called");let L=Object.assign(Object.assign({},N),_);return(0,u.logDebug)("OKXUniversalProvider connectAndSign() opts:",JSON.stringify(N)),(0,u.logDebug)("OKXUniversalProvider connectAndSign() signRequest:",JSON.stringify(_)),yield this.connect(L)})}connect(N){return t(this,void 0,void 0,function*(){if((0,u.logDebug)("OKXUniversalProvider connect() called"),(0,u.reportLog)("provider connect called"),N.sessionConfig==null&&(N.sessionConfig={}),!this.client)throw new u.OKXConnectError(u.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Sign Client not initialized");if(this.connected())return this.session;N=this.replaceNamespace(N,"aptos"),N=this.replaceNamespace(N,"solana"),N.sessionConfig.useMini&&(N.sessionConfig.useMini=void 0),N.sessionConfig.connectWalletType==null&&(N.sessionConfig.connectWalletType=u.ConnectWalletType.OKX_APP_COMMON),N.sessionConfig.connectWalletType==u.ConnectWalletType.OKX_MINI&&(N.sessionConfig.connectWalletType=u.ConnectWalletType.OKX_APP_COMMON),(0,u.logDebug)("OKXUniversalProvider connect >>>>",JSON.stringify(N)),N.sessionConfig.openUniversalUrl===void 0&&(N.sessionConfig.openUniversalUrl=(0,u.isMobileUserAgent)()),N.sessionConfig.openAppLinkType=this.providerOpts.openAppLinkType,this.setNamespaces(N);try{(0,u.logDebug)(`UniversalProvider connect opts.stringify ====> ${JSON.stringify(N)}`);let _=yield this.client.connect(N);if((0,u.logDebug)(`UniversalProvider connect success ====> ${JSON.stringify(_)}`),_){if(this.replaceSessionAptos(_,"aptos"),this.replaceSessionAptos(_,"solana"),this.session=_,this.client.session=_,this.setConnectConnector(),(0,u.logDebug)("OKXUniversalProvider connect success opts>>>>",JSON.stringify(N)),this.onConnect(),N.signRequest&&N.signRequest.length>0){let L=N.signRequest[0],H=[];typeof window<"u"&&window&&window.okxConnectUniversalUIinwindow?((0,u.logDebug)("OKXUniversalProvider connect success, us UI SDK>>>>"),this.session.signResponse&&this.session.signResponse.length>0&&(H=this.session.signResponse)):((0,u.logDebug)("OKXUniversalProvider connect success, us Universal SDK>>>>"),this.session.signResponse&&this.session.signResponse.length>0?H=this.session.signResponse:H.push((0,O.creatNotSupportMethodItemReplay)(L))),(0,u.logDebug)(`UniversalProvider connect success connectRequestReply ====> ${JSON.stringify(H)}`),setTimeout(()=>{this.events.emit("connect_signResponse",H)},100)}return _}return}catch(_){throw(0,u.logDebug)("UniversalProvider connect error ====> ",JSON.stringify(_)),_}})}syncAllAddresses(){return t(this,void 0,void 0,function*(){if((0,v.syncAddressAvailable)(this.session.wallet))return this.client.syncAllAddress();throw new u.OKXConnectError(u.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)})}setConnectConnector(){this.client.setConnectConnector(this.session)}on(N,_){this.events.on(N,_)}once(N,_){this.events.once(N,_)}removeListener(N,_){this.events.removeListener(N,_)}off(N,_){this.events.off(N,_)}setDefaultChain(N,_){(0,u.logDebug)("OKXUniversalProvider setDefaultChain() called");try{if(!this.connected())return;let[L,H]=this.validateChain(N);this.getProvider(L).setDefaultChain(H,_)}catch(L){if(!/Please call connect/.test(L.message))throw L}}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 N=yield this.getFromStore("connectSession");if((0,u.logDebug)(N),N){(0,u.logDebug)("checkStorage error start");try{let _=N;if(this.session=_,this.client.session=this.session,this.setConnectConnector(),yield this.client.restoreconnect(_),!this.connected())throw new u.OKXConnectError(u.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR);this.sessionConfig=_.sessionConfig,this.client.sessionConfig=this.sessionConfig,(0,u.logDebug)("[evm u-provider] do reconnection",this.session),this.createProviders(),this.registerEventListeners(),setTimeout(()=>{this.events.emit("reconnect",{session:this.session})},100)}catch(_){yield this.cleanup(!1),(0,u.logDebug)(`checkStorage error ${JSON.stringify(_)}`)}}})}initialize(){return t(this,void 0,void 0,function*(){(0,u.logDebug)("OKXUniversalProvider initialize() called"),(0,u.reportLog)("provider initialize called");let N=Object.assign({url:window.location.hostname,origin:window.location.origin},this.providerOpts.dappMetaData);this.client=new a.SignClient(N,this.events,this.providerOpts.openAppLinkType),this.registerConnector(this.providerOpts.connector),yield this.tryToReconnect()})}createProviders(){if(!this.client)throw new u.OKXConnectError(u.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Sign Client not initialized");if(!this.connected())throw new u.OKXConnectError(u.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Session not initialized. Please call connect() before enable()");let N=[...new Set(Object.keys(this.session.namespaces).filter(_=>{var L,H;return((H=(L=this.session.namespaces[_])===null||L===void 0?void 0:L.accounts)===null||H===void 0?void 0:H.length)>0}).map(_=>(0,c.parseNamespaceKey)(_)))];this.rpcProviders={},N.forEach(_=>{if(!this.session)return;let L=this.session.namespaces[_];switch((0,u.logDebug)("init eip155 >> ",L),_){case"eip155":let H={namespace:L};this.rpcProviders[_]=new o.Eip155Provider(H,this.client,this.events);break;case"solana":let F={namespace:L},G=new d.default(F,"solana",this.client,this.events);this.rpcProviders[_]=G;let l=new d.default(F,"sonic",this.client,this.events);this.rpcProviders.sonic=l;let p=new d.default(F,"svm",this.client,this.events);this.rpcProviders.svm=p;let E=new d.default(F,"soon",this.client,this.events);this.rpcProviders.soon=E;let g=new d.default(F,"eclipse",this.client,this.events);this.rpcProviders.eclipse=g;break;case"ton":let b={namespace:L},k=new C.default(b,this.client,this.events);this.rpcProviders[_]=k;break;case"sui":let x={namespace:L},S=new s.SuiProvider(x,this.client,this.events);S.name="sui",this.rpcProviders[_]=S;break;case"btc":let f={namespace:L},M=new h.default(f,"btc",this.client,this.events);this.rpcProviders.btc=M;let V=new h.default(f,"fractal",this.client,this.events);this.rpcProviders.fractal=V;break;case"aptos":let D=new y.default({namespace:L},"aptos",this.client,this.events);this.rpcProviders[_]=D;let j=new y.default({namespace:L},"movement",this.client,this.events);this.rpcProviders.movement=j;break;case"cosmos":let Y=new w.default({namespace:L},this.client,this.events);this.rpcProviders[_]=Y;break;case"tron":let oe=new T.default({namespace:L},this.client,this.events);this.rpcProviders[_]=oe;break;case"starknet":let de=new B.default({namespace:L},"starknet",this.client,this.events);this.rpcProviders[_]=de;break}})}registerEventListeners(){if(typeof this.client>"u")throw new u.OKXConnectError(u.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Sign Client is not initialized");this.client.engine.addDisconnectListener(()=>{this.disconnectAndEmit(),this.cleanup()}),this.on(i.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,N=>{this.onChainChanged(N)}),this.on(i.PROVIDER_EVENTS.UPDATE_NAMESPACES,N=>{if(N){let _=Object.keys(N)[0];this.session&&(this.session.namespaces[_]=N[_],this.session&&(this.persist("connectSession",this.session),this.events.emit("session_update",this.session)),(0,u.logDebug)("PROVIDER_EVENTS.UPDATE_NAMESPACES this.session... ->>>",JSON.stringify(this.session)))}})}getProvider(N){return(0,u.logDebug)("current get providers",this.rpcProviders),(0,u.logDebug)("query namespace: ",N),this.rpcProviders[N]}setNamespaces(N){this.connectOpts=N;let{namespaces:_,sessionConfig:L}=N,H={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:H},L),(0,u.logDebug)("setNamespaces sessionConfig>>>",this.sessionConfig),this.client.sessionConfig=this.sessionConfig,this.persist("sessionConfig",L)}validateChain(N){var _;let[L,H]=N?.split(":")||["",""];if(!this.session||!this.session.namespaces||!Object.keys(this.session.namespaces).length)return(0,u.logDebug)("get name & chain",L,H),[L,H];if(L){if(!this.isChainNamespaceInSession(L))throw new u.OKXConnectError(u.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Namespace '${L}' is not configured. Please call connect() first with namespace config.`);if(H&&N){(0,u.logDebug)("this.session.namespaces -->> ",L,JSON.stringify(this.session.namespaces));let l=(_=this.session.namespaces[L])===null||_===void 0?void 0:_.chains;if((0,u.logDebug)("get chainsArr & chain",JSON.stringify(l),N),l&&!l.includes(N))throw new u.OKXConnectError(u.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Namespace not include the chain '${N}'`)}}if(L&&H)return(0,u.logDebug)("get name & chain",L,H),[L,H];let F=(0,c.parseNamespaceKey)(Object.keys(this.session.namespaces)[0]),G=this.rpcProviders[F].getDefaultChain();return(0,u.logDebug)("get default chain:",G),[F,G]}isChainNamespaceInSession(N){var _,L;if(Object.keys(((_=this.session)===null||_===void 0?void 0:_.namespaces)||{}).map(F=>(0,c.parseNamespaceKey)(F)).includes(N))return!0;let H=!1;return Object.values(((L=this.session)===null||L===void 0?void 0:L.namespaces)||{}).forEach(F=>{F.chains.forEach(G=>{G.split(":")[0]==N&&(H=!0)})}),H}requestAccountsWithNamespace(N){return this.getProvider(N).requestAccounts()}requestDefaultChainWithNamespace(N){return this.getProvider(N).getDefaultChain()}requestAccounts(){return t(this,void 0,void 0,function*(){let[N]=this.validateChain();return yield this.getProvider(N).requestAccounts()})}onChainChanged(N){var _;if(!(!((_=this.session)===null||_===void 0)&&_.namespaces))return;let[L,H]=this.validateChain(N);H&&(this.session.namespaces[L]&&(this.session.namespaces[L].defaultChain=H,this.persist("connectSession",this.session)),this.events.emit("chainChanged",H))}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*(N=!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),N&&this.persist("connectSession",void 0)})}persist(N,_){return(0,u.logDebug)("[evm u-provider] persisit data",N,_),this.client.engine.saveSessionContent(N,_)}getFromStore(N){return t(this,void 0,void 0,function*(){return this.client.engine.getSessionContent(N)})}showRequestModal(N,_){try{let{namespace:L,requestParam:H}=this.buildRequestParamFromRequest(N,_);return this.getProvider(L).showRequestModal(H)}catch{return!1}}openWallet(N,_){this.client.openWallet(N,_)}registerConnector(N){this.client.registerConnector(N),this.client.setAccountChangeListener(_=>{(0,u.logDebug)("accountChangeListener session\uFF1A",this.events.listenerCount("accountChanged"),JSON.stringify(_));try{_&&this.events.listenerCount("accountChanged")&&(this.replaceSessionAptos(_,"aptos"),this.replaceSessionAptos(_,"solana"),this.session=_,this.client.session=_,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(L){(0,u.logDebug)("setAccountChangeListener error:",JSON.stringify(L))}})}getEngine(){return this.client.engine}};e.OKXUniversalProvider=R,e.default=R}),qMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(i,n,a,u){function c(d){return d instanceof a?d:new a(function(h){h(d)})}return new(a||(a=Promise))(function(d,h){function y(T){try{w(u.next(T))}catch(A){h(A)}}function C(T){try{w(u.throw(T))}catch(A){h(A)}}function w(T){T.done?d(T.value):c(T.value).then(y,C)}w((u=u.apply(i,n||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXBtcProvider=void 0;var r=yg(),o=ho(),s=class{constructor(i){this.caip=["btc:mainnet","fractal:mainnet"],this.provider=i}getAddressForChainId(i){var n,a;if(this.checkChainId(i)==null)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");let u=(a=(n=this.provider.session)===null||n===void 0?void 0:n.namespaces.btc)===null||a===void 0?void 0:a.accounts.filter(function(c){return c.startsWith(i)});if(u==null||u.length<0)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"no connected account");return u[0].split(":")[2]}getAccount(i){var n,a,u;if(this.checkChainId(i)==null)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");let c=(u=(a=(n=this.provider.session)===null||n===void 0?void 0:n.namespaces.btc)===null||a===void 0?void 0:a.extra)===null||u===void 0?void 0:u[i],d="";return c!=null&&(d=c.compressedPublicKey),{address:this.getAddressForChainId(i),publicKey:d}}signMessage(i,n,a){return t(this,void 0,void 0,function*(){if(this.checkChainId(i)==null)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");if(n==="undefined")throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"the method signMessage parmas error");let u={signStr:n,from:this.getAddressForChainId(i)};a&&(u.type=a);try{let c=yield this.provider.request({method:"btc_signMessage",params:u},i);return"result"in c?c.result:c.error}catch(c){throw c instanceof r.OKXConnectError?c:new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"the method signTransaction request error")}})}sendBitcoin(i,n,a,u){return t(this,void 0,void 0,function*(){if(this.checkChainId(i)==null)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");let c={from:this.getAddressForChainId(i),to:n,value:(a/1e8).toString()};u?.feeRate&&(c.satBytes=u.feeRate.toString());let d=yield this.send(i,c);return d!==void 0&&"txhash"in d?d.txhash:d})}send(i,n){return t(this,void 0,void 0,function*(){if(this.checkChainId(i)==null)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(i);try{let a=yield this.provider.request({method:"btc_send",params:n},i);return"result"in a?{txhash:a.result}:a.error}catch(a){throw a instanceof r.OKXConnectError?a:new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`the method send request error: ${a}`)}})}signPsbt(i,n,a){return t(this,void 0,void 0,function*(){return new Promise((u,c)=>{this.signPsbts(i,[n],[a]).then(d=>{let h=JSON.parse(d);u(h[0])}).catch(d=>{c(d)})})})}signPsbts(i,n,a){return t(this,void 0,void 0,function*(){if(this.checkChainId(i)==null)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");if(n===void 0)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"the method signPsbts params error");let u={psbtHexs:n,options:a};u.from=this.getAddressForChainId(i);try{let c=yield this.provider.request({method:"btc_signPsbts",params:u},i);if("result"in c)return c.result}catch(c){throw c instanceof r.OKXConnectError?c:new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`the method send request error: ${c}`)}})}signAndPushPsbt(i,n,a){return t(this,void 0,void 0,function*(){if(this.checkChainId(i)==null)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");if(n===void 0)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"the method signPsbts params error");let u={psbtHex:n,options:a};u.from=this.getAddressForChainId(i);try{let c=yield this.provider.request({method:"btc_signAndPushPsbt",params:u},i);return"result"in c?JSON.parse(c.result):c.error}catch(c){throw c instanceof r.OKXConnectError?c:new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`the method send request error: ${c}`)}})}sendInscription(i,n,a,u){return t(this,void 0,void 0,function*(){let c={address:n,inscriptionId:a,options:u};if(this.checkChainId(i)==null)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");if(n==="undefined")throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"the method sendInscription params error");var d=0;u&&"feeRate"in u&&(d=u.feeRate);let h="",y=this.getAddressForChainId(i);var C=7;if(a!=="undefined"){let T="-Atomicals",A="-Ordinals";a?.toLowerCase().endsWith(T.toLowerCase())?(C=8,a=this.removeSuffix(a,T)):a?.toLowerCase().endsWith(A.toLowerCase())&&(a=this.removeSuffix(a,A))}let w={scenario:5,feeRate:d,txType:"20",to:n,batchBean:[{coinAmount:"1",nftId:a,protocolId:C,coinId:h,inscriptionId:"",from:y}],extension:c};try{let T=yield this.provider.request({method:"btc_sendInscription",params:w,injectParams:{address:n,inscriptionId:a,options:u}},i);return"result"in T?T.result:T.error}catch(T){throw T instanceof r.OKXConnectError?T:new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"the method signTransaction request error")}})}sendRunes(i,n,a,u,c){return t(this,void 0,void 0,function*(){try{if(!i||!n||!a||!u)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"The parameter is empty. Please check");let d=this.checkChainId(i),h;if(d!=null&&(d.startsWith("btc")?h=13:d.startsWith("fractal")&&(h=16)),d==null||h==null)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");let y={fromAddress:this.getAddressForChainId(i),protocolId:h,address:n,runeid:a,amount:u,options:c};return(0,o.logDebug)("OKXBtcProvider sendRunes -->",JSON.stringify(y)),(yield this.provider.request({method:"btc_sendRunes",params:y,injectParams:{address:n,runeid:a,amount:u,options:c}},i)).result}catch(d){throw d}})}inscribeTransfer(i,n,a){return t(this,void 0,void 0,function*(){try{if(!i||!n||!a)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"The parameter is empty. Please check");let u=this.checkChainId(i),c;if(u!=null&&(u.startsWith("btc")?c=1:u.startsWith("fractal")&&(c=14)),u==null||c==null)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");let d={fromAddress:this.getAddressForChainId(i),protocolId:c,ticker:n,amount:a};(0,o.logDebug)("OKXBtcProvider inscribeTransfer -->",JSON.stringify(d));let h=yield this.provider.request({method:"btc_inscribeTransfer",params:d},i)}catch(u){throw u}})}removeSuffix(i,n){return i.endsWith(n)?i.slice(0,i.length-n.length):i}checkParameters(i,...n){var a=[];return n.forEach(u=>{`${u}`in i||a.push(u)}),a.length>0?(console.log("not find key: ",a.join(",")),!1):!0}checkChainId(i){if(this.caip.includes(i)){let[n,a]=i.split(":");return n}}};e.OKXBtcProvider=s,e.default=s}),jMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(s,i,n,a){function u(c){return c instanceof n?c:new n(function(d){d(c)})}return new(n||(n=Promise))(function(c,d){function h(w){try{C(a.next(w))}catch(T){d(T)}}function y(w){try{C(a.throw(w))}catch(T){d(T)}}function C(w){w.done?c(w.value):u(w.value).then(h,y)}C((a=a.apply(s,i||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXCosmosProvider=void 0;var r=ho(),o=class{constructor(s){this.provider=s}getAccount(s){var i,n,a,u,c,d;(0,r.logDebug)("OKXCosmosProvider getAccount chainId:",s),(0,r.logDebug)("OKXCosmosProvider getAccount namespaces:",JSON.stringify((i=this.provider.session)===null||i===void 0?void 0:i.namespaces));let h=(a=(n=this.provider.session)===null||n===void 0?void 0:n.namespaces[r.NameSpaceKeyCosmos])===null||a===void 0?void 0:a.accounts.filter(function(A){return A.startsWith(s)})[0];if((0,r.logDebug)("OKXCosmosProvider getAccount account:",JSON.stringify(h)),!h)return;let y=h.split(":"),C=h.split(":")[2];(0,r.logDebug)("OKXCosmosProvider getAccount address:",C);let w=(d=(c=(u=this.provider.session)===null||u===void 0?void 0:u.namespaces[r.NameSpaceKeyCosmos])===null||c===void 0?void 0:c.extra)===null||d===void 0?void 0:d[`${y[0]}:${y[1]}`],T="";if(w!=null&&(T=w.publicKey,console.log("aptos_publicKey",T)),!!C)return{algo:"secp256k1",address:C,bech32Address:C,pubKey:this.hexToUint8Array(T)}}signArbitrary(s,i,n){return t(this,void 0,void 0,function*(){let a=window.btoa(n),u={chain_id:"",account_number:"0",sequence:"0",fee:{gas:"0",amount:[]},msgs:[{type:"sign/MsgSignData",value:{signer:i,data:a}}],memo:""},c={chainId:s,method:"cosmos_signArbitrary",params:{signer:i,chain_id:s.split(":")[1],data:u}};try{let d=yield this.provider.request(c,s);return"result"in d?typeof d.result=="string"?JSON.parse(d.result):d.result:d.error}catch(d){return d}})}signAmino(s,i,n,a){return t(this,void 0,void 0,function*(){if(n.msgs[0].type=="sign/MsgSignData"){let u={chainId:s,method:"cosmos_signArbitrary",params:{signer:i,chain_id:s.split(":")[1],data:n}};try{let c=yield this.provider.request(u,s);return"result"in c?c.result:c.error}catch(c){return c}}else{let u={chainId:s,method:"cosmos_signAmino",params:{signer:i,chainId:s.split(":")[1],sign_doc:n,signOptions:a}};try{let c=yield this.provider.request(u,s);if("result"in c){let d=JSON.parse(c.result);return console.log("signdoc",n,d.signDoc),n.fee=d.signDoc.fee,{signed:n,signature:d.signature}}else return c.error}catch(c){return c}}})}signDirect(s,i,n,a){return t(this,void 0,void 0,function*(){let u={bodyBytes:this.bufferToHex(n.bodyBytes),authInfoBytes:this.bufferToHex(n.authInfoBytes),chainId:n.chainId,accountNumber:n.accountNumber?n.accountNumber.toString():null,signOptions:a||null},c={chainId:s,method:"cosmos_signDirect",params:{signer:i,chainId:s.split(":")[1],sign_doc:u}};try{let d=yield this.provider.request(c,s);if("result"in d){let h=JSON.parse(d.result);return console.log("signdirect result",h),n.authInfoBytes=this.messageToBuffer(h.signDoc.authInfoBytes),{signed:n,signature:h.signature}}}catch(d){return d}})}messageToBuffer(s){var i=Uint8Array.from([]);try{typeof s=="string"?i=this.hexToUint8Array(s.replace("0x","")):i=Uint8Array.from(s)}catch(n){console.log(`messageToBuffer error: ${n}`)}return i}bufferToHex(s){return"0x"+[...new Uint8Array(s)].map(i=>i.toString(16).padStart(2,"0")).join("")}hexToUint8Array(s){if(s.length%2!==0)throw"Invalid hexString";for(var i=new Uint8Array(s.length/2),n=0;n<s.length;n+=2){var a=parseInt(s.substr(n,2),16);if(isNaN(a))throw"Invalid hexString";i[n/2]=a}return i}};e.OKXCosmosProvider=o}),VMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(i,n,a,u){function c(d){return d instanceof a?d:new a(function(h){h(d)})}return new(a||(a=Promise))(function(d,h){function y(T){try{w(u.next(T))}catch(A){h(A)}}function C(T){try{w(u.throw(T))}catch(A){h(A)}}function w(T){T.done?d(T.value):c(T.value).then(y,C)}w((u=u.apply(i,n||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXTonProvider=void 0;var r=yg(),o=ho(),s=class{constructor(i){this.statusChangeSubscriptions=[],this.statusChangeErrorSubscriptions=[],this.provider=i,this.provider.on("connect",()=>{let n=this.wallet();(0,o.logDebug)("OKXTONProvider event connect:",JSON.stringify(n)),this.statusChangeSubscriptions.forEach(a=>a(n))}),this.provider.on("reconnect",()=>{let n=this.wallet();(0,o.logDebug)("OKXTONProvider event reconnect:",JSON.stringify(n)),this.statusChangeSubscriptions.forEach(a=>a(n))}),this.provider.on("disconnect",()=>{(0,o.logDebug)("OKXTONProvider event disconnect:"),this.statusChangeSubscriptions.forEach(n=>n(null))}),this.provider.on("connect_error",n=>{(0,o.logDebug)("OKXTONProvider event connect_error:",JSON.stringify(n)),this.statusChangeErrorSubscriptions.forEach(a=>a(n))})}connected(){return this.provider.connected()?!!this.provider.session.namespaces.ton:!1}account(){try{if(!this.provider.session)return null;let i=this.provider.session.namespaces.ton;if(!i||!i.payload||!i.payload.ton_addr)return null;let n=i.payload.ton_addr;return{address:n.address,chain:n.network,walletStateInit:n.walletStateInit,publicKey:n.publicKey}}catch(i){return(0,o.logDebug)("OKXTONProvider account  error:",JSON.stringify(i)),null}}wallet(){if(this.connected())try{let i=this.provider.session.wallet,n={device:{platform:i.platform,appName:i.appName,appVersion:i.appVersion,maxProtocolVersion:i.maxProtocolVersion,features:["ton_sendTransaction"]},provider:"http",account:this.account()},a=this.provider.session.namespaces.ton;return a&&a.payload&&a.payload.ton_proof&&(n.connectItems={tonProof:a.payload.ton_proof}),(0,o.logDebug)("OKXTONProvider wallet :",JSON.stringify(n)),n}catch(i){return(0,o.logDebug)("OKXTONProvider wallet  error:",JSON.stringify(i)),null}return null}onStatusChange(i,n){return this.statusChangeSubscriptions.push(i),n&&this.statusChangeErrorSubscriptions.push(n),()=>{this.statusChangeSubscriptions=this.statusChangeSubscriptions.filter(a=>a!==i),n&&(this.statusChangeErrorSubscriptions=this.statusChangeErrorSubscriptions.filter(a=>a!==n))}}sendTransaction(i){return t(this,void 0,void 0,function*(){if(i.network&&i.network!==o.TONCHAIN.MAINNET)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"OKXTONProvider sendTransaction network error");if(i.network||(i.network=o.TONCHAIN.MAINNET),this.provider.session&&!i.from){let u=this.provider.requestAccountsWithNamespace("ton");i.from=u[0]}let n={method:"ton_sendTransaction",params:i},a="ton:"+o.TONCHAIN.MAINNET;return(0,o.logDebug)("OKXTONProvider sendTransaction transaction----:",a,JSON.stringify(n)),this.provider.request(n,a)})}};e.OKXTonProvider=s,e.default=s}),JMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(s,i,n,a){function u(c){return c instanceof n?c:new n(function(d){d(c)})}return new(n||(n=Promise))(function(c,d){function h(w){try{C(a.next(w))}catch(T){d(T)}}function y(w){try{C(a.throw(w))}catch(T){d(T)}}function C(w){w.done?c(w.value):u(w.value).then(h,y)}C((a=a.apply(s,i||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXTronProvider=void 0;var r=ho(),o=class{constructor(s){this.TRON_CHAIN_ID="tron:mainnet",this.provider=s}getChain(s){if(s==null&&(s=this.TRON_CHAIN_ID),s!=this.TRON_CHAIN_ID)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED,"The chainId:"+s+"is wrong for OKXTronProvider");return s}getAccount(s){var i,n,a,u,c;s=this.getChain(s);let d=(n=(i=this.provider.session)===null||i===void 0?void 0:i.namespaces[r.NameSpaceKeyTron])===null||n===void 0?void 0:n.accounts.filter(function(T){return T.startsWith(s)})[0];if(!d)return;let h=d.split(":"),y=d.split(":")[2],C=(c=(u=(a=this.provider.session)===null||a===void 0?void 0:a.namespaces[r.NameSpaceKeyTron])===null||u===void 0?void 0:u.extra)===null||c===void 0?void 0:c[`${h[0]}:${h[1]}`],w="";if(C!=null&&(w=C.publicKey),!!y)return{address:y}}stringToHex(s){let i="";for(let n=0;n<s.length;n++)i+=s.charCodeAt(n).toString(16).padStart(2,"0");return i}signMessage(s,i){return t(this,void 0,void 0,function*(){i=this.getChain(i);let n={chainId:i,method:"tron_signMessage",params:{message:this.stringToHex(s)}};try{let a=yield this.provider.request(n,i);return"result"in a?a.result:a.error}catch(a){return a}})}signMessageV2(s,i){return t(this,void 0,void 0,function*(){i=this.getChain(i);let n={chainId:i,method:"tron_signMessageV2",params:{message:s}};try{let a=yield this.provider.request(n,i);return"result"in a?a.result:a.error}catch(a){return a}})}signTransaction(s,i){return t(this,void 0,void 0,function*(){i=this.getChain(i);let n={method:"tron_signTransaction",params:s};try{let a=yield this.provider.request(n,i);if("result"in a){let u;typeof a.result=="string"?u=JSON.parse(a.result):u=a.result;let c={};c.visible=u.visible,c.txID=u.txID;let d={};return d.contract=u.raw_data.contract,d.expiration=u.raw_data.expiration,d.ref_block_bytes=u.raw_data.ref_block_bytes,d.fee_limit=u.raw_data.fee_limit,d.ref_block_hash=u.raw_data.ref_block_hash,d.timestamp=u.raw_data.timestamp,c.raw_data=d,c.raw_data_hex=u.raw_data_hex,c.signature=u.signature,c}}catch(a){return a}})}signAndSendTransaction(s,i){return t(this,void 0,void 0,function*(){i=this.getChain(i);let n={method:"tron_signAndSendTransaction",params:s};try{let a=yield this.provider.request(n,i);if("result"in a)return a.result}catch(a){return a}})}};e.OKXTronProvider=o}),XMe=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(s,i,n,a){function u(c){return c instanceof n?c:new n(function(d){d(c)})}return new(n||(n=Promise))(function(c,d){function h(w){try{C(a.next(w))}catch(T){d(T)}}function y(w){try{C(a.throw(w))}catch(T){d(T)}}function C(w){w.done?c(w.value):u(w.value).then(h,y)}C((a=a.apply(s,i||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXStarknetProvider=void 0;var r=ho(),o=class{constructor(s){this.STARKNET_CHAIN_ID="starknet:mainnet",this.provider=s}getChain(s){if(s==null&&(s=this.STARKNET_CHAIN_ID),s!=this.STARKNET_CHAIN_ID)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED,"The chainId:"+s+"is wrong for OKXStarknetProvider");return s}getAccount(s){var i,n,a,u,c;let d=(n=(i=this.provider.session)===null||i===void 0?void 0:i.namespaces[r.NameSpaceKeyStarknet])===null||n===void 0?void 0:n.accounts.filter(function(T){return T.startsWith(s)})[0];if(!d)return;let h=d.split(":"),y=d.split(":")[2],C=(c=(u=(a=this.provider.session)===null||a===void 0?void 0:a.namespaces[r.NameSpaceKeyStarknet])===null||u===void 0?void 0:u.extra)===null||c===void 0?void 0:c[`${h[0]}:${h[1]}`],w="";if(C!=null&&(w=C.publicKey),!!y)return{address:y,pubKey:w}}signMessage(s,i,n){return t(this,void 0,void 0,function*(){n=this.getChain(n),s.length==0&&(s=this.getAccount(n).address);let a={chainId:n,method:"starknet_signMessage",params:{accountAddress:s,typedData:i}};try{let u=yield this.provider.request(a,n);if("result"in u){let c=u.result;return typeof c=="string"&&(c=JSON.parse(c)),[c.signedDataR,c.signedDataS]}else return u.error}catch(u){return u}})}sendTransaction(s,i,n){return t(this,void 0,void 0,function*(){n=this.getChain(n);let a={method:"starknet_sendTransaction",params:{data:JSON.stringify({accountAddress:s,executionRequest:i}),from:s}};try{let u=yield this.provider.request(a,n);return"result"in u?{transaction_hash:u.result}:u.error}catch(u){return u}})}signMessageDeclareContractPayload(s,i){return t(this,void 0,void 0,function*(){i=this.getChain(i);try{let n={method:"starknet_signMessage",params:s},a=yield this.provider.request(n,i);return"result"in a?{transaction_hash:a.result.txHash,class_hash:a.result.classHash}:a.error}catch(n){return n}})}sendMessageExecuteTransactionDetail(s,i,n,a,u){return t(this,void 0,void 0,function*(){u=this.getChain(u);let c={calls:Array.isArray(i)?i:[i],abis:n,transactionsDetail:{nonce:a?.nonce,maxFee:a?.nonce,version:a?.version}};return this.sendTransaction(s,c,u)})}};e.OKXStarknetProvider=o}),yg=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(c,d,h,y){y===void 0&&(y=h);var C=Object.getOwnPropertyDescriptor(d,h);(!C||("get"in C?!d.__esModule:C.writable||C.configurable))&&(C={enumerable:!0,get:function(){return d[h]}}),Object.defineProperty(c,y,C)}:function(c,d,h,y){y===void 0&&(y=h),c[y]=d[h]}),r=e&&e.__exportStar||function(c,d){for(var h in c)h!=="default"&&!Object.prototype.hasOwnProperty.call(d,h)&&t(d,c,h)};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXStarknetProvider=e.OKXTronProvider=e.OKXTonProvider=e.OKXCosmosProvider=e.OKXBtcProvider=e.OKXUniversalProvider=void 0,r(sN(),e),r(Mte(),e);var o=KMe();Object.defineProperty(e,"OKXUniversalProvider",{enumerable:!0,get:function(){return o.OKXUniversalProvider}});var s=qMe();Object.defineProperty(e,"OKXBtcProvider",{enumerable:!0,get:function(){return s.OKXBtcProvider}});var i=jMe();Object.defineProperty(e,"OKXCosmosProvider",{enumerable:!0,get:function(){return i.OKXCosmosProvider}});var n=VMe();Object.defineProperty(e,"OKXTonProvider",{enumerable:!0,get:function(){return n.OKXTonProvider}});var a=JMe();Object.defineProperty(e,"OKXTronProvider",{enumerable:!0,get:function(){return a.OKXTronProvider}});var u=XMe();Object.defineProperty(e,"OKXStarknetProvider",{enumerable:!0,get:function(){return u.OKXStarknetProvider}}),r(ho(),e)}),$Me=W((e,t)=>{m(),(function(r,o){typeof e=="object"&&typeof t<"u"?t.exports=o():typeof define=="function"&&define.amd?define(o):(function(){var s=r.Base64,i=o();i.noConflict=function(){return r.Base64=s,i},r.Meteor&&(Base64=i),r.Base64=i})()})(typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:e,function(){"use strict";var r="3.7.7",o=r,s=typeof P.Buffer=="function",i=typeof TextDecoder=="function"?new TextDecoder:void 0,n=typeof TextEncoder=="function"?new TextEncoder:void 0,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u=Array.prototype.slice.call(a),c=(function(Y){var oe={};return Y.forEach(function(de,ue){return oe[de]=ue}),oe})(u),d=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,h=String.fromCharCode.bind(String),y=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):function(Y){return new Uint8Array(Array.prototype.slice.call(Y,0))},C=function(Y){return Y.replace(/=/g,"").replace(/[+\/]/g,function(oe){return oe=="+"?"-":"_"})},w=function(Y){return Y.replace(/[^A-Za-z0-9\+\/]/g,"")},T=function(Y){for(var oe,de,ue,ae,q="",ne=Y.length%3,me=0;me<Y.length;){if((de=Y.charCodeAt(me++))>255||(ue=Y.charCodeAt(me++))>255||(ae=Y.charCodeAt(me++))>255)throw new TypeError("invalid character found");oe=de<<16|ue<<8|ae,q+=u[oe>>18&63]+u[oe>>12&63]+u[oe>>6&63]+u[oe&63]}return ne?q.slice(0,ne-3)+"===".substring(ne):q},A=typeof btoa=="function"?function(Y){return btoa(Y)}:s?function(Y){return P.Buffer.from(Y,"binary").toString("base64")}:T,O=s?function(Y){return P.Buffer.from(Y).toString("base64")}:function(Y){for(var oe=4096,de=[],ue=0,ae=Y.length;ue<ae;ue+=oe)de.push(h.apply(null,Y.subarray(ue,ue+oe)));return A(de.join(""))},v=function(Y,oe){return oe===void 0&&(oe=!1),oe?C(O(Y)):O(Y)},B=function(Y){if(Y.length<2){var oe=Y.charCodeAt(0);return oe<128?Y:oe<2048?h(192|oe>>>6)+h(128|oe&63):h(224|oe>>>12&15)+h(128|oe>>>6&63)+h(128|oe&63)}else{var oe=65536+(Y.charCodeAt(0)-55296)*1024+(Y.charCodeAt(1)-56320);return h(240|oe>>>18&7)+h(128|oe>>>12&63)+h(128|oe>>>6&63)+h(128|oe&63)}},R=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,U=function(Y){return Y.replace(R,B)},N=s?function(Y){return P.Buffer.from(Y,"utf8").toString("base64")}:n?function(Y){return O(n.encode(Y))}:function(Y){return A(U(Y))},_=function(Y,oe){return oe===void 0&&(oe=!1),oe?C(N(Y)):N(Y)},L=function(Y){return _(Y,!0)},H=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,F=function(Y){switch(Y.length){case 4:var oe=(7&Y.charCodeAt(0))<<18|(63&Y.charCodeAt(1))<<12|(63&Y.charCodeAt(2))<<6|63&Y.charCodeAt(3),de=oe-65536;return h((de>>>10)+55296)+h((de&1023)+56320);case 3:return h((15&Y.charCodeAt(0))<<12|(63&Y.charCodeAt(1))<<6|63&Y.charCodeAt(2));default:return h((31&Y.charCodeAt(0))<<6|63&Y.charCodeAt(1))}},G=function(Y){return Y.replace(H,F)},l=function(Y){if(Y=Y.replace(/\s+/g,""),!d.test(Y))throw new TypeError("malformed base64.");Y+="==".slice(2-(Y.length&3));for(var oe,de="",ue,ae,q=0;q<Y.length;)oe=c[Y.charAt(q++)]<<18|c[Y.charAt(q++)]<<12|(ue=c[Y.charAt(q++)])<<6|(ae=c[Y.charAt(q++)]),de+=ue===64?h(oe>>16&255):ae===64?h(oe>>16&255,oe>>8&255):h(oe>>16&255,oe>>8&255,oe&255);return de},p=typeof atob=="function"?function(Y){return atob(w(Y))}:s?function(Y){return P.Buffer.from(Y,"base64").toString("binary")}:l,E=s?function(Y){return y(P.Buffer.from(Y,"base64"))}:function(Y){return y(p(Y).split("").map(function(oe){return oe.charCodeAt(0)}))},g=function(Y){return E(k(Y))},b=s?function(Y){return P.Buffer.from(Y,"base64").toString("utf8")}:i?function(Y){return i.decode(E(Y))}:function(Y){return G(p(Y))},k=function(Y){return w(Y.replace(/[-_]/g,function(oe){return oe=="-"?"+":"/"}))},x=function(Y){return b(k(Y))},S=function(Y){if(typeof Y!="string")return!1;var oe=Y.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(oe)||!/[^\s0-9a-zA-Z\-_]/.test(oe)},f=function(Y){return{value:Y,enumerable:!1,writable:!0,configurable:!0}},M=function(){var Y=function(oe,de){return Object.defineProperty(String.prototype,oe,f(de))};Y("fromBase64",function(){return x(this)}),Y("toBase64",function(oe){return _(this,oe)}),Y("toBase64URI",function(){return _(this,!0)}),Y("toBase64URL",function(){return _(this,!0)}),Y("toUint8Array",function(){return g(this)})},V=function(){var Y=function(oe,de){return Object.defineProperty(Uint8Array.prototype,oe,f(de))};Y("toBase64",function(oe){return v(this,oe)}),Y("toBase64URI",function(){return v(this,!0)}),Y("toBase64URL",function(){return v(this,!0)})},D=function(){M(),V()},j={version:r,VERSION:o,atob:p,atobPolyfill:l,btoa:A,btoaPolyfill:T,fromBase64:x,toBase64:_,encode:_,encodeURI:L,encodeURL:L,utob:U,btou:G,decode:x,isValid:S,fromUint8Array:v,toUint8Array:g,extendString:M,extendUint8Array:V,extendBuiltins:D};return j.Base64={},Object.keys(j).forEach(function(Y){return j.Base64[Y]=j[Y]}),j})}),t_e=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=(w,T,A,O)=>{for(var v=O>1?void 0:O?r(T,A):T,B=w.length-1,R;B>=0;B--)(R=w[B])&&(v=(O?R(T,A,v):R(v))||v);return O&&v&&t(T,A,v),v},s=$Me();async function i(w){return new Promise(T=>{setTimeout(T,w)})}var n=()=>Math.floor(Date.now()/1e3);function a(w){let T=new Date(w*1e3);return T.setMinutes(0),T.setSeconds(0),T.setMilliseconds(0),Math.floor(T.getTime()/1e3)}function u(w){let T=w.replace(/-/g,"+").replace(/_/g,"/"),A=T+"==".substring(0,(3-T.length%3)%3);return s.decode.call(void 0,A)}var c=(w,T)=>w*10**T,d=e.g=(w,T)=>w/10**T,h=w=>{let T="";for(let A=2;A<w.length;A+=2)T+=String.fromCharCode(parseInt(w.substring(A,A+2),16));return T},y=e.h=w=>{let{account_address:T,module_name:A,struct_name:O}=w,v=h(A),B=h(O);return`${T}::${v}::${B}`},C=e.i=w=>typeof w=="object"&&!Array.isArray(w)&&w!==null&&"account_address"in w&&"module_name"in w&&"struct_name"in w&&typeof w.account_address=="string"&&typeof w.module_name=="string"&&typeof w.struct_name=="string";e.a=o,e.b=i,e.c=n,e.d=a,e.e=u,e.f=c,e.g=d,e.h=y,e.i=C}),r_e=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.crypto=void 0,e.crypto=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0}),gm=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.anumber=t,e.abytes=o,e.ahash=s,e.aexists=i,e.aoutput=n;function t(a){if(!Number.isSafeInteger(a)||a<0)throw new Error("positive integer expected, got "+a)}function r(a){return a instanceof Uint8Array||ArrayBuffer.isView(a)&&a.constructor.name==="Uint8Array"}function o(a,...u){if(!r(a))throw new Error("Uint8Array expected");if(u.length>0&&!u.includes(a.length))throw new Error("Uint8Array expected of length "+u+", got length="+a.length)}function s(a){if(typeof a!="function"||typeof a.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");t(a.outputLen),t(a.blockLen)}function i(a,u=!0){if(a.destroyed)throw new Error("Hash instance has been destroyed");if(u&&a.finished)throw new Error("Hash#digest() has already been called")}function n(a,u){o(a);let c=u.outputLen;if(a.length<c)throw new Error("digestInto() expects output buffer of length at least "+c)}}),Au=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.Hash=e.nextTick=e.byteSwapIfBE=e.isLE=void 0,e.isBytes=o,e.u8=s,e.u32=i,e.createView=n,e.rotr=a,e.rotl=u,e.byteSwap=c,e.byteSwap32=d,e.bytesToHex=y,e.hexToBytes=T,e.asyncLoop=O,e.utf8ToBytes=v,e.toBytes=B,e.concatBytes=R,e.checkOpts=N,e.wrapConstructor=_,e.wrapConstructorWithOpts=L,e.wrapXOFConstructorWithOpts=H,e.randomBytes=F;var t=r_e(),r=gm();function o(G){return G instanceof Uint8Array||ArrayBuffer.isView(G)&&G.constructor.name==="Uint8Array"}function s(G){return new Uint8Array(G.buffer,G.byteOffset,G.byteLength)}function i(G){return new Uint32Array(G.buffer,G.byteOffset,Math.floor(G.byteLength/4))}function n(G){return new DataView(G.buffer,G.byteOffset,G.byteLength)}function a(G,l){return G<<32-l|G>>>l}function u(G,l){return G<<l|G>>>32-l>>>0}e.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function c(G){return G<<24&4278190080|G<<8&16711680|G>>>8&65280|G>>>24&255}e.byteSwapIfBE=e.isLE?G=>G:G=>c(G);function d(G){for(let l=0;l<G.length;l++)G[l]=c(G[l])}var h=Array.from({length:256},(G,l)=>l.toString(16).padStart(2,"0"));function y(G){(0,r.abytes)(G);let l="";for(let p=0;p<G.length;p++)l+=h[G[p]];return l}var C={_0:48,_9:57,A:65,F:70,a:97,f:102};function w(G){if(G>=C._0&&G<=C._9)return G-C._0;if(G>=C.A&&G<=C.F)return G-(C.A-10);if(G>=C.a&&G<=C.f)return G-(C.a-10)}function T(G){if(typeof G!="string")throw new Error("hex string expected, got "+typeof G);let l=G.length,p=l/2;if(l%2)throw new Error("hex string expected, got unpadded hex of length "+l);let E=new Uint8Array(p);for(let g=0,b=0;g<p;g++,b+=2){let k=w(G.charCodeAt(b)),x=w(G.charCodeAt(b+1));if(k===void 0||x===void 0){let S=G[b]+G[b+1];throw new Error('hex string expected, got non-hex character "'+S+'" at index '+b)}E[g]=k*16+x}return E}var A=async()=>{};e.nextTick=A;async function O(G,l,p){let E=Date.now();for(let g=0;g<G;g++){p(g);let b=Date.now()-E;b>=0&&b<l||(await(0,e.nextTick)(),E+=b)}}function v(G){if(typeof G!="string")throw new Error("utf8ToBytes expected string, got "+typeof G);return new Uint8Array(new TextEncoder().encode(G))}function B(G){return typeof G=="string"&&(G=v(G)),(0,r.abytes)(G),G}function R(...G){let l=0;for(let E=0;E<G.length;E++){let g=G[E];(0,r.abytes)(g),l+=g.length}let p=new Uint8Array(l);for(let E=0,g=0;E<G.length;E++){let b=G[E];p.set(b,g),g+=b.length}return p}var U=class{clone(){return this._cloneInto()}};e.Hash=U;function N(G,l){if(l!==void 0&&{}.toString.call(l)!=="[object Object]")throw new Error("Options should be object or undefined");return Object.assign(G,l)}function _(G){let l=E=>G().update(B(E)).digest(),p=G();return l.outputLen=p.outputLen,l.blockLen=p.blockLen,l.create=()=>G(),l}function L(G){let l=(E,g)=>G(g).update(B(E)).digest(),p=G({});return l.outputLen=p.outputLen,l.blockLen=p.blockLen,l.create=E=>G(E),l}function H(G){let l=(E,g)=>G(g).update(B(E)).digest(),p=G({});return l.outputLen=p.outputLen,l.blockLen=p.blockLen,l.create=E=>G(E),l}function F(G=32){if(t.crypto&&typeof t.crypto.getRandomValues=="function")return t.crypto.getRandomValues(new Uint8Array(G));if(t.crypto&&typeof t.crypto.randomBytes=="function")return t.crypto.randomBytes(G);throw new Error("crypto.getRandomValues must be defined")}}),j7=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.HashMD=void 0,e.setBigUint64=o,e.Chi=s,e.Maj=i;var t=gm(),r=Au();function o(a,u,c,d){if(typeof a.setBigUint64=="function")return a.setBigUint64(u,c,d);let h=BigInt(32),y=BigInt(4294967295),C=Number(c>>h&y),w=Number(c&y),T=d?4:0,A=d?0:4;a.setUint32(u+T,C,d),a.setUint32(u+A,w,d)}function s(a,u,c){return a&u^~a&c}function i(a,u,c){return a&u^a&c^u&c}var n=class extends r.Hash{constructor(a,u,c,d){super(),this.blockLen=a,this.outputLen=u,this.padOffset=c,this.isLE=d,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(a),this.view=(0,r.createView)(this.buffer)}update(a){(0,t.aexists)(this);let{view:u,buffer:c,blockLen:d}=this;a=(0,r.toBytes)(a);let h=a.length;for(let y=0;y<h;){let C=Math.min(d-this.pos,h-y);if(C===d){let w=(0,r.createView)(a);for(;d<=h-y;y+=d)this.process(w,y);continue}c.set(a.subarray(y,y+C),this.pos),this.pos+=C,y+=C,this.pos===d&&(this.process(u,0),this.pos=0)}return this.length+=a.length,this.roundClean(),this}digestInto(a){(0,t.aexists)(this),(0,t.aoutput)(a,this),this.finished=!0;let{buffer:u,view:c,blockLen:d,isLE:h}=this,{pos:y}=this;u[y++]=128,this.buffer.subarray(y).fill(0),this.padOffset>d-y&&(this.process(c,0),y=0);for(let O=y;O<d;O++)u[O]=0;o(c,d-8,BigInt(this.length*8),h),this.process(c,0);let C=(0,r.createView)(a),w=this.outputLen;if(w%4)throw new Error("_sha2: outputLen should be aligned to 32bit");let T=w/4,A=this.get();if(T>A.length)throw new Error("_sha2: outputLen bigger than state");for(let O=0;O<T;O++)C.setUint32(4*O,A[O],h)}digest(){let{buffer:a,outputLen:u}=this;this.digestInto(a);let c=a.slice(0,u);return this.destroy(),c}_cloneInto(a){a||(a=new this.constructor),a.set(...this.get());let{blockLen:u,buffer:c,length:d,finished:h,destroyed:y,pos:C}=this;return a.length=d,a.pos=C,a.finished=h,a.destroyed=y,d%u&&a.buffer.set(c),a}};e.HashMD=n}),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=o,e.split=s,e.add=v;var t=BigInt(2**32-1),r=BigInt(32);function o(F,G=!1){return G?{h:Number(F&t),l:Number(F>>r&t)}:{h:Number(F>>r&t)|0,l:Number(F&t)|0}}function s(F,G=!1){let l=new Uint32Array(F.length),p=new Uint32Array(F.length);for(let E=0;E<F.length;E++){let{h:g,l:b}=o(F[E],G);[l[E],p[E]]=[g,b]}return[l,p]}var i=(F,G)=>BigInt(F>>>0)<<r|BigInt(G>>>0);e.toBig=i;var n=(F,G,l)=>F>>>l;e.shrSH=n;var a=(F,G,l)=>F<<32-l|G>>>l;e.shrSL=a;var u=(F,G,l)=>F>>>l|G<<32-l;e.rotrSH=u;var c=(F,G,l)=>F<<32-l|G>>>l;e.rotrSL=c;var d=(F,G,l)=>F<<64-l|G>>>l-32;e.rotrBH=d;var h=(F,G,l)=>F>>>l-32|G<<64-l;e.rotrBL=h;var y=(F,G)=>G;e.rotr32H=y;var C=(F,G)=>F;e.rotr32L=C;var w=(F,G,l)=>F<<l|G>>>32-l;e.rotlSH=w;var T=(F,G,l)=>G<<l|F>>>32-l;e.rotlSL=T;var A=(F,G,l)=>G<<l-32|F>>>64-l;e.rotlBH=A;var O=(F,G,l)=>F<<l-32|G>>>64-l;e.rotlBL=O;function v(F,G,l,p){let E=(G>>>0)+(p>>>0);return{h:F+l+(E/2**32|0)|0,l:E|0}}var B=(F,G,l)=>(F>>>0)+(G>>>0)+(l>>>0);e.add3L=B;var R=(F,G,l,p)=>G+l+p+(F/2**32|0)|0;e.add3H=R;var U=(F,G,l,p)=>(F>>>0)+(G>>>0)+(l>>>0)+(p>>>0);e.add4L=U;var N=(F,G,l,p,E)=>G+l+p+E+(F/2**32|0)|0;e.add4H=N;var _=(F,G,l,p,E)=>(F>>>0)+(G>>>0)+(l>>>0)+(p>>>0)+(E>>>0);e.add5L=_;var L=(F,G,l,p,E,g)=>G+l+p+E+g+(F/2**32|0)|0;e.add5H=L;var H={fromBig:o,split:s,toBig:i,shrSH:n,shrSL:a,rotrSH:u,rotrSL:c,rotrBH:d,rotrBL:h,rotr32H:y,rotr32L:C,rotlSH:w,rotlSL:T,rotlBH:A,rotlBL:O,add:v,add3L:B,add3H:R,add4L:U,add4H:N,add5H:L,add5L:_};e.default=H}),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(),o=Au(),[s,i]=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(y=>BigInt(y))),n=new Uint32Array(80),a=new Uint32Array(80),u=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:y,Al:C,Bh:w,Bl:T,Ch:A,Cl:O,Dh:v,Dl:B,Eh:R,El:U,Fh:N,Fl:_,Gh:L,Gl:H,Hh:F,Hl:G}=this;return[y,C,w,T,A,O,v,B,R,U,N,_,L,H,F,G]}set(y,C,w,T,A,O,v,B,R,U,N,_,L,H,F,G){this.Ah=y|0,this.Al=C|0,this.Bh=w|0,this.Bl=T|0,this.Ch=A|0,this.Cl=O|0,this.Dh=v|0,this.Dl=B|0,this.Eh=R|0,this.El=U|0,this.Fh=N|0,this.Fl=_|0,this.Gh=L|0,this.Gl=H|0,this.Hh=F|0,this.Hl=G|0}process(y,C){for(let E=0;E<16;E++,C+=4)n[E]=y.getUint32(C),a[E]=y.getUint32(C+=4);for(let E=16;E<80;E++){let g=n[E-15]|0,b=a[E-15]|0,k=r.default.rotrSH(g,b,1)^r.default.rotrSH(g,b,8)^r.default.shrSH(g,b,7),x=r.default.rotrSL(g,b,1)^r.default.rotrSL(g,b,8)^r.default.shrSL(g,b,7),S=n[E-2]|0,f=a[E-2]|0,M=r.default.rotrSH(S,f,19)^r.default.rotrBH(S,f,61)^r.default.shrSH(S,f,6),V=r.default.rotrSL(S,f,19)^r.default.rotrBL(S,f,61)^r.default.shrSL(S,f,6),D=r.default.add4L(x,V,a[E-7],a[E-16]),j=r.default.add4H(D,k,M,n[E-7],n[E-16]);n[E]=j|0,a[E]=D|0}let{Ah:w,Al:T,Bh:A,Bl:O,Ch:v,Cl:B,Dh:R,Dl:U,Eh:N,El:_,Fh:L,Fl:H,Gh:F,Gl:G,Hh:l,Hl:p}=this;for(let E=0;E<80;E++){let g=r.default.rotrSH(N,_,14)^r.default.rotrSH(N,_,18)^r.default.rotrBH(N,_,41),b=r.default.rotrSL(N,_,14)^r.default.rotrSL(N,_,18)^r.default.rotrBL(N,_,41),k=N&L^~N&F,x=_&H^~_&G,S=r.default.add5L(p,b,x,i[E],a[E]),f=r.default.add5H(S,l,g,k,s[E],n[E]),M=S|0,V=r.default.rotrSH(w,T,28)^r.default.rotrBH(w,T,34)^r.default.rotrBH(w,T,39),D=r.default.rotrSL(w,T,28)^r.default.rotrBL(w,T,34)^r.default.rotrBL(w,T,39),j=w&A^w&v^A&v,Y=T&O^T&B^O&B;l=F|0,p=G|0,F=L|0,G=H|0,L=N|0,H=_|0,{h:N,l:_}=r.default.add(R|0,U|0,f|0,M|0),R=v|0,U=B|0,v=A|0,B=O|0,A=w|0,O=T|0;let oe=r.default.add3L(M,D,Y);w=r.default.add3H(oe,f,V,j),T=oe|0}({h:w,l:T}=r.default.add(this.Ah|0,this.Al|0,w|0,T|0)),{h:A,l:O}=r.default.add(this.Bh|0,this.Bl|0,A|0,O|0),{h:v,l:B}=r.default.add(this.Ch|0,this.Cl|0,v|0,B|0),{h:R,l:U}=r.default.add(this.Dh|0,this.Dl|0,R|0,U|0),{h:N,l:_}=r.default.add(this.Eh|0,this.El|0,N|0,_|0),{h:L,l:H}=r.default.add(this.Fh|0,this.Fl|0,L|0,H|0),{h:F,l:G}=r.default.add(this.Gh|0,this.Gl|0,F|0,G|0),{h:l,l:p}=r.default.add(this.Hh|0,this.Hl|0,l|0,p|0),this.set(w,T,A,O,v,B,R,U,N,_,L,H,F,G,l,p)}roundClean(){n.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=u;var c=class extends u{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=c;var d=class extends u{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=d;var h=class extends u{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=h,e.sha512=(0,o.wrapConstructor)(()=>new u),e.sha512_224=(0,o.wrapConstructor)(()=>new c),e.sha512_256=(0,o.wrapConstructor)(()=>new d),e.sha384=(0,o.wrapConstructor)(()=>new h)}),B0=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.notImplemented=e.bitMask=void 0,e.isBytes=s,e.abytes=i,e.abool=n,e.bytesToHex=u,e.numberToHexUnpadded=c,e.hexToNumber=d,e.hexToBytes=C,e.bytesToNumberBE=w,e.bytesToNumberLE=T,e.numberToBytesBE=A,e.numberToBytesLE=O,e.numberToVarBytesBE=v,e.ensureBytes=B,e.concatBytes=R,e.equalBytes=U,e.utf8ToBytes=N,e.inRange=L,e.aInRange=H,e.bitLen=F,e.bitGet=G,e.bitSet=l,e.createHmacDrbg=b,e.validateObject=x,e.memoized=f;var t=BigInt(0),r=BigInt(1),o=BigInt(2);function s(M){return M instanceof Uint8Array||ArrayBuffer.isView(M)&&M.constructor.name==="Uint8Array"}function i(M){if(!s(M))throw new Error("Uint8Array expected")}function n(M,V){if(typeof V!="boolean")throw new Error(M+" boolean expected, got "+V)}var a=Array.from({length:256},(M,V)=>V.toString(16).padStart(2,"0"));function u(M){i(M);let V="";for(let D=0;D<M.length;D++)V+=a[M[D]];return V}function c(M){let V=M.toString(16);return V.length&1?"0"+V:V}function d(M){if(typeof M!="string")throw new Error("hex string expected, got "+typeof M);return M===""?t:BigInt("0x"+M)}var h={_0:48,_9:57,A:65,F:70,a:97,f:102};function y(M){if(M>=h._0&&M<=h._9)return M-h._0;if(M>=h.A&&M<=h.F)return M-(h.A-10);if(M>=h.a&&M<=h.f)return M-(h.a-10)}function C(M){if(typeof M!="string")throw new Error("hex string expected, got "+typeof M);let V=M.length,D=V/2;if(V%2)throw new Error("hex string expected, got unpadded hex of length "+V);let j=new Uint8Array(D);for(let Y=0,oe=0;Y<D;Y++,oe+=2){let de=y(M.charCodeAt(oe)),ue=y(M.charCodeAt(oe+1));if(de===void 0||ue===void 0){let ae=M[oe]+M[oe+1];throw new Error('hex string expected, got non-hex character "'+ae+'" at index '+oe)}j[Y]=de*16+ue}return j}function w(M){return d(u(M))}function T(M){return i(M),d(u(Uint8Array.from(M).reverse()))}function A(M,V){return C(M.toString(16).padStart(V*2,"0"))}function O(M,V){return A(M,V).reverse()}function v(M){return C(c(M))}function B(M,V,D){let j;if(typeof V=="string")try{j=C(V)}catch(oe){throw new Error(M+" must be hex string or Uint8Array, cause: "+oe)}else if(s(V))j=Uint8Array.from(V);else throw new Error(M+" must be hex string or Uint8Array");let Y=j.length;if(typeof D=="number"&&Y!==D)throw new Error(M+" of length "+D+" expected, got "+Y);return j}function R(...M){let V=0;for(let j=0;j<M.length;j++){let Y=M[j];i(Y),V+=Y.length}let D=new Uint8Array(V);for(let j=0,Y=0;j<M.length;j++){let oe=M[j];D.set(oe,Y),Y+=oe.length}return D}function U(M,V){if(M.length!==V.length)return!1;let D=0;for(let j=0;j<M.length;j++)D|=M[j]^V[j];return D===0}function N(M){if(typeof M!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(M))}var _=M=>typeof M=="bigint"&&t<=M;function L(M,V,D){return _(M)&&_(V)&&_(D)&&V<=M&&M<D}function H(M,V,D,j){if(!L(V,D,j))throw new Error("expected valid "+M+": "+D+" <= n < "+j+", got "+V)}function F(M){let V;for(V=0;M>t;M>>=r,V+=1);return V}function G(M,V){return M>>BigInt(V)&r}function l(M,V,D){return M|(D?r:t)<<BigInt(V)}var p=M=>(o<<BigInt(M-1))-r;e.bitMask=p;var E=M=>new Uint8Array(M),g=M=>Uint8Array.from(M);function b(M,V,D){if(typeof M!="number"||M<2)throw new Error("hashLen must be a number");if(typeof V!="number"||V<2)throw new Error("qByteLen must be a number");if(typeof D!="function")throw new Error("hmacFn must be a function");let j=E(M),Y=E(M),oe=0,de=()=>{j.fill(1),Y.fill(0),oe=0},ue=(...ne)=>D(Y,j,...ne),ae=(ne=E())=>{Y=ue(g([0]),ne),j=ue(),ne.length!==0&&(Y=ue(g([1]),ne),j=ue())},q=()=>{if(oe++>=1e3)throw new Error("drbg: tried 1000 values");let ne=0,me=[];for(;ne<V;){j=ue();let ve=j.slice();me.push(ve),ne+=j.length}return R(...me)};return(ne,me)=>{de(),ae(ne);let ve;for(;!(ve=me(q()));)ae();return de(),ve}}var k={bigint:M=>typeof M=="bigint",function:M=>typeof M=="function",boolean:M=>typeof M=="boolean",string:M=>typeof M=="string",stringOrUint8Array:M=>typeof M=="string"||s(M),isSafeInteger:M=>Number.isSafeInteger(M),array:M=>Array.isArray(M),field:(M,V)=>V.Fp.isValid(M),hash:M=>typeof M=="function"&&Number.isSafeInteger(M.outputLen)};function x(M,V,D={}){let j=(Y,oe,de)=>{let ue=k[oe];if(typeof ue!="function")throw new Error("invalid validator function");let ae=M[Y];if(!(de&&ae===void 0)&&!ue(ae,M))throw new Error("param "+String(Y)+" is invalid. Expected "+oe+", got "+ae)};for(let[Y,oe]of Object.entries(V))j(Y,oe,!1);for(let[Y,oe]of Object.entries(D))j(Y,oe,!0);return M}var S=()=>{throw new Error("not implemented")};e.notImplemented=S;function f(M){let V=new WeakMap;return(D,...j)=>{let Y=V.get(D);if(Y!==void 0)return Y;let oe=M(D,...j);return V.set(D,oe),oe}}}),bm=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.isNegativeLE=void 0,e.mod=h,e.pow=y,e.pow2=C,e.invert=w,e.tonelliShanks=T,e.FpSqrt=A,e.validateField=B,e.FpPow=R,e.FpInvertBatch=U,e.FpDiv=N,e.FpLegendre=_,e.FpIsSquare=L,e.nLength=H,e.Field=F,e.FpSqrtOdd=G,e.FpSqrtEven=l,e.hashToPrivateScalar=p,e.getFieldBytesLength=E,e.getMinHashLength=g,e.mapHashToField=b;var t=B0(),r=BigInt(0),o=BigInt(1),s=BigInt(2),i=BigInt(3),n=BigInt(4),a=BigInt(5),u=BigInt(8),c=BigInt(9),d=BigInt(16);function h(k,x){let S=k%x;return S>=r?S:x+S}function y(k,x,S){if(x<r)throw new Error("invalid exponent, negatives unsupported");if(S<=r)throw new Error("invalid modulus");if(S===o)return r;let f=o;for(;x>r;)x&o&&(f=f*k%S),k=k*k%S,x>>=o;return f}function C(k,x,S){let f=k;for(;x-- >r;)f*=f,f%=S;return f}function w(k,x){if(k===r)throw new Error("invert: expected non-zero number");if(x<=r)throw new Error("invert: expected positive modulus, got "+x);let S=h(k,x),f=x,M=r,V=o,D=o,j=r;for(;S!==r;){let Y=f/S,oe=f%S,de=M-D*Y,ue=V-j*Y;f=S,S=oe,M=D,V=j,D=de,j=ue}if(f!==o)throw new Error("invert: does not exist");return h(M,x)}function T(k){let x=(k-o)/s,S,f,M;for(S=k-o,f=0;S%s===r;S/=s,f++);for(M=s;M<k&&y(M,x,k)!==k-o;M++)if(M>1e3)throw new Error("Cannot find square root: likely non-prime P");if(f===1){let D=(k+o)/n;return function(j,Y){let oe=j.pow(Y,D);if(!j.eql(j.sqr(oe),Y))throw new Error("Cannot find square root");return oe}}let V=(S+o)/s;return function(D,j){if(D.pow(j,x)===D.neg(D.ONE))throw new Error("Cannot find square root");let Y=f,oe=D.pow(D.mul(D.ONE,M),S),de=D.pow(j,V),ue=D.pow(j,S);for(;!D.eql(ue,D.ONE);){if(D.eql(ue,D.ZERO))return D.ZERO;let ae=1;for(let ne=D.sqr(ue);ae<Y&&!D.eql(ne,D.ONE);ae++)ne=D.sqr(ne);let q=D.pow(oe,o<<BigInt(Y-ae-1));oe=D.sqr(q),de=D.mul(de,q),ue=D.mul(ue,oe),Y=ae}return de}}function A(k){if(k%n===i){let x=(k+o)/n;return function(S,f){let M=S.pow(f,x);if(!S.eql(S.sqr(M),f))throw new Error("Cannot find square root");return M}}if(k%u===a){let x=(k-a)/u;return function(S,f){let M=S.mul(f,s),V=S.pow(M,x),D=S.mul(f,V),j=S.mul(S.mul(D,s),V),Y=S.mul(D,S.sub(j,S.ONE));if(!S.eql(S.sqr(Y),f))throw new Error("Cannot find square root");return Y}}return k%d,T(k)}var O=(k,x)=>(h(k,x)&o)===o;e.isNegativeLE=O;var v=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function B(k){let x={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},S=v.reduce((f,M)=>(f[M]="function",f),x);return(0,t.validateObject)(k,S)}function R(k,x,S){if(S<r)throw new Error("invalid exponent, negatives unsupported");if(S===r)return k.ONE;if(S===o)return x;let f=k.ONE,M=x;for(;S>r;)S&o&&(f=k.mul(f,M)),M=k.sqr(M),S>>=o;return f}function U(k,x){let S=new Array(x.length),f=x.reduce((V,D,j)=>k.is0(D)?V:(S[j]=V,k.mul(V,D)),k.ONE),M=k.inv(f);return x.reduceRight((V,D,j)=>k.is0(D)?V:(S[j]=k.mul(V,S[j]),k.mul(V,D)),M),S}function N(k,x,S){return k.mul(x,typeof S=="bigint"?w(S,k.ORDER):k.inv(S))}function _(k){let x=(k-o)/s;return(S,f)=>S.pow(f,x)}function L(k){let x=_(k.ORDER);return S=>{let f=x(k,S);return k.eql(f,k.ZERO)||k.eql(f,k.ONE)}}function H(k,x){let S=x!==void 0?x:k.toString(2).length,f=Math.ceil(S/8);return{nBitLength:S,nByteLength:f}}function F(k,x,S=!1,f={}){if(k<=r)throw new Error("invalid field: expected ORDER > 0, got "+k);let{nBitLength:M,nByteLength:V}=H(k,x);if(V>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let D,j=Object.freeze({ORDER:k,isLE:S,BITS:M,BYTES:V,MASK:(0,t.bitMask)(M),ZERO:r,ONE:o,create:Y=>h(Y,k),isValid:Y=>{if(typeof Y!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof Y);return r<=Y&&Y<k},is0:Y=>Y===r,isOdd:Y=>(Y&o)===o,neg:Y=>h(-Y,k),eql:(Y,oe)=>Y===oe,sqr:Y=>h(Y*Y,k),add:(Y,oe)=>h(Y+oe,k),sub:(Y,oe)=>h(Y-oe,k),mul:(Y,oe)=>h(Y*oe,k),pow:(Y,oe)=>R(j,Y,oe),div:(Y,oe)=>h(Y*w(oe,k),k),sqrN:Y=>Y*Y,addN:(Y,oe)=>Y+oe,subN:(Y,oe)=>Y-oe,mulN:(Y,oe)=>Y*oe,inv:Y=>w(Y,k),sqrt:f.sqrt||(Y=>(D||(D=A(k)),D(j,Y))),invertBatch:Y=>U(j,Y),cmov:(Y,oe,de)=>de?oe:Y,toBytes:Y=>S?(0,t.numberToBytesLE)(Y,V):(0,t.numberToBytesBE)(Y,V),fromBytes:Y=>{if(Y.length!==V)throw new Error("Field.fromBytes: expected "+V+" bytes, got "+Y.length);return S?(0,t.bytesToNumberLE)(Y):(0,t.bytesToNumberBE)(Y)}});return Object.freeze(j)}function G(k,x){if(!k.isOdd)throw new Error("Field doesn't have isOdd");let S=k.sqrt(x);return k.isOdd(S)?S:k.neg(S)}function l(k,x){if(!k.isOdd)throw new Error("Field doesn't have isOdd");let S=k.sqrt(x);return k.isOdd(S)?k.neg(S):S}function p(k,x,S=!1){k=(0,t.ensureBytes)("privateHash",k);let f=k.length,M=H(x).nByteLength+8;if(M<24||f<M||f>1024)throw new Error("hashToPrivateScalar: expected "+M+"-1024 bytes of input, got "+f);let V=S?(0,t.bytesToNumberLE)(k):(0,t.bytesToNumberBE)(k);return h(V,x-o)+o}function E(k){if(typeof k!="bigint")throw new Error("field order must be bigint");let x=k.toString(2).length;return Math.ceil(x/8)}function g(k){let x=E(k);return x+Math.ceil(x/2)}function b(k,x,S=!1){let f=k.length,M=E(x),V=g(x);if(f<16||f<V||f>1024)throw new Error("expected "+V+"-1024 bytes of input, got "+f);let D=S?(0,t.bytesToNumberLE)(k):(0,t.bytesToNumberBE)(k),j=h(D,x-o)+o;return S?(0,t.numberToBytesLE)(j,M):(0,t.numberToBytesBE)(j,M)}}),oL=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.wNAF=C,e.pippenger=w,e.precomputeMSMUnsafe=T,e.validateBasic=A;var t=bm(),r=B0(),o=BigInt(0),s=BigInt(1);function i(O,v){let B=v.negate();return O?B:v}function n(O,v){if(!Number.isSafeInteger(O)||O<=0||O>v)throw new Error("invalid window size, expected [1.."+v+"], got W="+O)}function a(O,v){n(O,v);let B=Math.ceil(v/O)+1,R=2**(O-1);return{windows:B,windowSize:R}}function u(O,v){if(!Array.isArray(O))throw new Error("array expected");O.forEach((B,R)=>{if(!(B instanceof v))throw new Error("invalid point at index "+R)})}function c(O,v){if(!Array.isArray(O))throw new Error("array of scalars expected");O.forEach((B,R)=>{if(!v.isValid(B))throw new Error("invalid scalar at index "+R)})}var d=new WeakMap,h=new WeakMap;function y(O){return h.get(O)||1}function C(O,v){return{constTimeNegate:i,hasPrecomputes(B){return y(B)!==1},unsafeLadder(B,R,U=O.ZERO){let N=B;for(;R>o;)R&s&&(U=U.add(N)),N=N.double(),R>>=s;return U},precomputeWindow(B,R){let{windows:U,windowSize:N}=a(R,v),_=[],L=B,H=L;for(let F=0;F<U;F++){H=L,_.push(H);for(let G=1;G<N;G++)H=H.add(L),_.push(H);L=H.double()}return _},wNAF(B,R,U){let{windows:N,windowSize:_}=a(B,v),L=O.ZERO,H=O.BASE,F=BigInt(2**B-1),G=2**B,l=BigInt(B);for(let p=0;p<N;p++){let E=p*_,g=Number(U&F);U>>=l,g>_&&(g-=G,U+=s);let b=E,k=E+Math.abs(g)-1,x=p%2!==0,S=g<0;g===0?H=H.add(i(x,R[b])):L=L.add(i(S,R[k]))}return{p:L,f:H}},wNAFUnsafe(B,R,U,N=O.ZERO){let{windows:_,windowSize:L}=a(B,v),H=BigInt(2**B-1),F=2**B,G=BigInt(B);for(let l=0;l<_;l++){let p=l*L;if(U===o)break;let E=Number(U&H);if(U>>=G,E>L&&(E-=F,U+=s),E===0)continue;let g=R[p+Math.abs(E)-1];E<0&&(g=g.negate()),N=N.add(g)}return N},getPrecomputes(B,R,U){let N=d.get(R);return N||(N=this.precomputeWindow(R,B),B!==1&&d.set(R,U(N))),N},wNAFCached(B,R,U){let N=y(B);return this.wNAF(N,this.getPrecomputes(N,B,U),R)},wNAFCachedUnsafe(B,R,U,N){let _=y(B);return _===1?this.unsafeLadder(B,R,N):this.wNAFUnsafe(_,this.getPrecomputes(_,B,U),R,N)},setWindowSize(B,R){n(R,v),h.set(B,R),d.delete(B)}}}function w(O,v,B,R){if(u(B,O),c(R,v),B.length!==R.length)throw new Error("arrays of points and scalars must have equal length");let U=O.ZERO,N=(0,r.bitLen)(BigInt(B.length)),_=N>12?N-3:N>4?N-2:N?2:1,L=(1<<_)-1,H=new Array(L+1).fill(U),F=Math.floor((v.BITS-1)/_)*_,G=U;for(let l=F;l>=0;l-=_){H.fill(U);for(let E=0;E<R.length;E++){let g=R[E],b=Number(g>>BigInt(l)&BigInt(L));H[b]=H[b].add(B[E])}let p=U;for(let E=H.length-1,g=U;E>0;E--)g=g.add(H[E]),p=p.add(g);if(G=G.add(p),l!==0)for(let E=0;E<_;E++)G=G.double()}return G}function T(O,v,B,R){n(R,v.BITS),u(B,O);let U=O.ZERO,N=2**R-1,_=Math.ceil(v.BITS/R),L=BigInt((1<<R)-1),H=B.map(F=>{let G=[];for(let l=0,p=F;l<N;l++)G.push(p),p=p.add(F);return G});return F=>{if(c(F,v),F.length>B.length)throw new Error("array of scalars must be smaller than array of points");let G=U;for(let l=0;l<_;l++){if(G!==U)for(let E=0;E<R;E++)G=G.double();let p=BigInt(_*R-(l+1)*R);for(let E=0;E<F.length;E++){let g=F[E],b=Number(g>>p&L);b&&(G=G.add(H[E][b-1]))}}return G}}function A(O){return(0,t.validateField)(O.Fp),(0,r.validateObject)(O,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...(0,t.nLength)(O.n,O.nBitLength),...O,p:O.Fp.ORDER})}}),Y_e=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.twistedEdwards=h;var t=oL(),r=bm(),o=B0(),s=B0(),i=BigInt(0),n=BigInt(1),a=BigInt(2),u=BigInt(8),c={zip215:!0};function d(y){let C=(0,t.validateBasic)(y);return o.validateObject(y,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...C})}function h(y){let C=d(y),{Fp:w,n:T,prehash:A,hash:O,randomBytes:v,nByteLength:B,h:R}=C,U=a<<BigInt(B*8)-n,N=w.create,_=(0,r.Field)(C.n,C.nBitLength),L=C.uvRatio||((de,ue)=>{try{return{isValid:!0,value:w.sqrt(de*w.inv(ue))}}catch{return{isValid:!1,value:i}}}),H=C.adjustScalarBytes||(de=>de),F=C.domain||((de,ue,ae)=>{if((0,s.abool)("phflag",ae),ue.length||ae)throw new Error("Contexts/pre-hash are not supported");return de});function G(de,ue){o.aInRange("coordinate "+de,ue,i,U)}function l(de){if(!(de instanceof g))throw new Error("ExtendedPoint expected")}let p=(0,s.memoized)((de,ue)=>{let{ex:ae,ey:q,ez:ne}=de,me=de.is0();ue==null&&(ue=me?u:w.inv(ne));let ve=N(ae*ue),ge=N(q*ue),ce=N(ne*ue);if(me)return{x:i,y:n};if(ce!==n)throw new Error("invZ was invalid");return{x:ve,y:ge}}),E=(0,s.memoized)(de=>{let{a:ue,d:ae}=C;if(de.is0())throw new Error("bad point: ZERO");let{ex:q,ey:ne,ez:me,et:ve}=de,ge=N(q*q),ce=N(ne*ne),ee=N(me*me),fe=N(ee*ee),ie=N(ge*ue),re=N(ee*N(ie+ce)),Oe=N(fe+N(ae*N(ge*ce)));if(re!==Oe)throw new Error("bad point: equation left != right (1)");let Pe=N(q*ne),Ne=N(me*ve);if(Pe!==Ne)throw new Error("bad point: equation left != right (2)");return!0});class g{constructor(ue,ae,q,ne){this.ex=ue,this.ey=ae,this.ez=q,this.et=ne,G("x",ue),G("y",ae),G("z",q),G("t",ne),Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(ue){if(ue instanceof g)throw new Error("extended point not allowed");let{x:ae,y:q}=ue||{};return G("x",ae),G("y",q),new g(ae,q,n,N(ae*q))}static normalizeZ(ue){let ae=w.invertBatch(ue.map(q=>q.ez));return ue.map((q,ne)=>q.toAffine(ae[ne])).map(g.fromAffine)}static msm(ue,ae){return(0,t.pippenger)(g,_,ue,ae)}_setWindowSize(ue){x.setWindowSize(this,ue)}assertValidity(){E(this)}equals(ue){l(ue);let{ex:ae,ey:q,ez:ne}=this,{ex:me,ey:ve,ez:ge}=ue,ce=N(ae*ge),ee=N(me*ne),fe=N(q*ge),ie=N(ve*ne);return ce===ee&&fe===ie}is0(){return this.equals(g.ZERO)}negate(){return new g(N(-this.ex),this.ey,this.ez,N(-this.et))}double(){let{a:ue}=C,{ex:ae,ey:q,ez:ne}=this,me=N(ae*ae),ve=N(q*q),ge=N(a*N(ne*ne)),ce=N(ue*me),ee=ae+q,fe=N(N(ee*ee)-me-ve),ie=ce+ve,re=ie-ge,Oe=ce-ve,Pe=N(fe*re),Ne=N(ie*Oe),Xe=N(fe*Oe),Je=N(re*ie);return new g(Pe,Ne,Je,Xe)}add(ue){l(ue);let{a:ae,d:q}=C,{ex:ne,ey:me,ez:ve,et:ge}=this,{ex:ce,ey:ee,ez:fe,et:ie}=ue;if(ae===BigInt(-1)){let et=N((me-ne)*(ee+ce)),Gt=N((me+ne)*(ee-ce)),It=N(Gt-et);if(It===i)return this.double();let Rt=N(ve*a*ie),_r=N(ge*a*fe),jt=_r+Rt,Fe=Gt+et,Pr=_r-Rt,$t=N(jt*It),Qt=N(Fe*Pr),At=N(jt*Pr),ur=N(It*Fe);return new g($t,Qt,ur,At)}let re=N(ne*ce),Oe=N(me*ee),Pe=N(ge*q*ie),Ne=N(ve*fe),Xe=N((ne+me)*(ce+ee)-re-Oe),Je=Ne-Pe,ft=Ne+Pe,Kt=N(Oe-ae*re),wt=N(Xe*Je),Ie=N(ft*Kt),it=N(Xe*Kt),Ye=N(Je*ft);return new g(wt,Ie,Ye,it)}subtract(ue){return this.add(ue.negate())}wNAF(ue){return x.wNAFCached(this,ue,g.normalizeZ)}multiply(ue){let ae=ue;o.aInRange("scalar",ae,n,T);let{p:q,f:ne}=this.wNAF(ae);return g.normalizeZ([q,ne])[0]}multiplyUnsafe(ue,ae=g.ZERO){let q=ue;return o.aInRange("scalar",q,i,T),q===i?k:this.is0()||q===n?this:x.wNAFCachedUnsafe(this,q,g.normalizeZ,ae)}isSmallOrder(){return this.multiplyUnsafe(R).is0()}isTorsionFree(){return x.unsafeLadder(this,T).is0()}toAffine(ue){return p(this,ue)}clearCofactor(){let{h:ue}=C;return ue===n?this:this.multiplyUnsafe(ue)}static fromHex(ue,ae=!1){let{d:q,a:ne}=C,me=w.BYTES;ue=(0,s.ensureBytes)("pointHex",ue,me),(0,s.abool)("zip215",ae);let ve=ue.slice(),ge=ue[me-1];ve[me-1]=ge&-129;let ce=o.bytesToNumberLE(ve),ee=ae?U:w.ORDER;o.aInRange("pointHex.y",ce,i,ee);let fe=N(ce*ce),ie=N(fe-n),re=N(q*fe-ne),{isValid:Oe,value:Pe}=L(ie,re);if(!Oe)throw new Error("Point.fromHex: invalid y coordinate");let Ne=(Pe&n)===n,Xe=(ge&128)!==0;if(!ae&&Pe===i&&Xe)throw new Error("Point.fromHex: x=0 and x_0=1");return Xe!==Ne&&(Pe=N(-Pe)),g.fromAffine({x:Pe,y:ce})}static fromPrivateKey(ue){return M(ue).point}toRawBytes(){let{x:ue,y:ae}=this.toAffine(),q=o.numberToBytesLE(ae,w.BYTES);return q[q.length-1]|=ue&n?128:0,q}toHex(){return o.bytesToHex(this.toRawBytes())}}g.BASE=new g(C.Gx,C.Gy,n,N(C.Gx*C.Gy)),g.ZERO=new g(i,n,n,i);let{BASE:b,ZERO:k}=g,x=(0,t.wNAF)(g,B*8);function S(de){return(0,r.mod)(de,T)}function f(de){return S(o.bytesToNumberLE(de))}function M(de){let ue=w.BYTES;de=(0,s.ensureBytes)("private key",de,ue);let ae=(0,s.ensureBytes)("hashed private key",O(de),2*ue),q=H(ae.slice(0,ue)),ne=ae.slice(ue,2*ue),me=f(q),ve=b.multiply(me),ge=ve.toRawBytes();return{head:q,prefix:ne,scalar:me,point:ve,pointBytes:ge}}function V(de){return M(de).pointBytes}function D(de=new Uint8Array,...ue){let ae=o.concatBytes(...ue);return f(O(F(ae,(0,s.ensureBytes)("context",de),!!A)))}function j(de,ue,ae={}){de=(0,s.ensureBytes)("message",de),A&&(de=A(de));let{prefix:q,scalar:ne,pointBytes:me}=M(ue),ve=D(ae.context,q,de),ge=b.multiply(ve).toRawBytes(),ce=D(ae.context,ge,me,de),ee=S(ve+ce*ne);o.aInRange("signature.s",ee,i,T);let fe=o.concatBytes(ge,o.numberToBytesLE(ee,w.BYTES));return(0,s.ensureBytes)("result",fe,w.BYTES*2)}let Y=c;function oe(de,ue,ae,q=Y){let{context:ne,zip215:me}=q,ve=w.BYTES;de=(0,s.ensureBytes)("signature",de,2*ve),ue=(0,s.ensureBytes)("message",ue),ae=(0,s.ensureBytes)("publicKey",ae,ve),me!==void 0&&(0,s.abool)("zip215",me),A&&(ue=A(ue));let ge=o.bytesToNumberLE(de.slice(ve,2*ve)),ce,ee,fe;try{ce=g.fromHex(ae,me),ee=g.fromHex(de.slice(0,ve),me),fe=b.multiplyUnsafe(ge)}catch{return!1}if(!me&&ce.isSmallOrder())return!1;let ie=D(ne,ee.toRawBytes(),ce.toRawBytes(),ue);return ee.add(ce.multiplyUnsafe(ie)).subtract(fe).clearCofactor().equals(g.ZERO)}return b._setWindowSize(8),{CURVE:C,getPublicKey:V,sign:j,verify:oe,ExtendedPoint:g,utils:{getExtendedPublicKey:M,randomPrivateKey:()=>v(w.BYTES),precompute(de=8,ue=g.BASE){return ue._setWindowSize(de),ue.multiply(BigInt(3)),ue}}}}}),Rre=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.expand_message_xmd=a,e.expand_message_xof=u,e.hash_to_field=c,e.isogenyMap=d,e.createHasher=h;var t=bm(),r=B0(),o=r.bytesToNumberBE;function s(y,C){if(n(y),n(C),y<0||y>=1<<8*C)throw new Error("invalid I2OSP input: "+y);let w=Array.from({length:C}).fill(0);for(let T=C-1;T>=0;T--)w[T]=y&255,y>>>=8;return new Uint8Array(w)}function i(y,C){let w=new Uint8Array(y.length);for(let T=0;T<y.length;T++)w[T]=y[T]^C[T];return w}function n(y){if(!Number.isSafeInteger(y))throw new Error("number expected")}function a(y,C,w,T){(0,r.abytes)(y),(0,r.abytes)(C),n(w),C.length>255&&(C=T((0,r.concatBytes)((0,r.utf8ToBytes)("H2C-OVERSIZE-DST-"),C)));let{outputLen:A,blockLen:O}=T,v=Math.ceil(w/A);if(w>65535||v>255)throw new Error("expand_message_xmd: invalid lenInBytes");let B=(0,r.concatBytes)(C,s(C.length,1)),R=s(0,O),U=s(w,2),N=new Array(v),_=T((0,r.concatBytes)(R,y,U,s(0,1),B));N[0]=T((0,r.concatBytes)(_,s(1,1),B));for(let L=1;L<=v;L++){let H=[i(_,N[L-1]),s(L+1,1),B];N[L]=T((0,r.concatBytes)(...H))}return(0,r.concatBytes)(...N).slice(0,w)}function u(y,C,w,T,A){if((0,r.abytes)(y),(0,r.abytes)(C),n(w),C.length>255){let O=Math.ceil(2*T/8);C=A.create({dkLen:O}).update((0,r.utf8ToBytes)("H2C-OVERSIZE-DST-")).update(C).digest()}if(w>65535||C.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return A.create({dkLen:w}).update(y).update(s(w,2)).update(C).update(s(C.length,1)).digest()}function c(y,C,w){(0,r.validateObject)(w,{DST:"stringOrUint8Array",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});let{p:T,k:A,m:O,hash:v,expand:B,DST:R}=w;(0,r.abytes)(y),n(C);let U=typeof R=="string"?(0,r.utf8ToBytes)(R):R,N=T.toString(2).length,_=Math.ceil((N+A)/8),L=C*O*_,H;if(B==="xmd")H=a(y,U,L,v);else if(B==="xof")H=u(y,U,L,A,v);else if(B==="_internal_pass")H=y;else throw new Error('expand must be "xmd" or "xof"');let F=new Array(C);for(let G=0;G<C;G++){let l=new Array(O);for(let p=0;p<O;p++){let E=_*(p+G*O),g=H.subarray(E,E+_);l[p]=(0,t.mod)(o(g),T)}F[G]=l}return F}function d(y,C){let w=C.map(T=>Array.from(T).reverse());return(T,A)=>{let[O,v,B,R]=w.map(U=>U.reduce((N,_)=>y.add(y.mul(N,T),_)));return T=y.div(O,v),A=y.mul(A,y.div(B,R)),{x:T,y:A}}}function h(y,C,w){if(typeof C!="function")throw new Error("mapToCurve() must be defined");return{hashToCurve(T,A){let O=c(T,2,{...w,DST:w.DST,...A}),v=y.fromAffine(C(O[0])),B=y.fromAffine(C(O[1])),R=v.add(B).clearCofactor();return R.assertValidity(),R},encodeToCurve(T,A){let O=c(T,1,{...w,DST:w.encodeDST,...A}),v=y.fromAffine(C(O[0])).clearCofactor();return v.assertValidity(),v},mapToCurve(T){if(!Array.isArray(T))throw new Error("mapToCurve: expected array of bigints");for(let O of T)if(typeof O!="bigint")throw new Error("mapToCurve: expected array of bigints");let A=y.fromAffine(C(T)).clearCofactor();return A.assertValidity(),A}}}}),eRe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.montgomery=n;var t=bm(),r=B0(),o=BigInt(0),s=BigInt(1);function i(a){return(0,r.validateObject)(a,{a:"bigint"},{montgomeryBits:"isSafeInteger",nByteLength:"isSafeInteger",adjustScalarBytes:"function",domain:"function",powPminus2:"function",Gu:"bigint"}),Object.freeze({...a})}function n(a){let u=i(a),{P:c}=u,d=H=>(0,t.mod)(H,c),h=u.montgomeryBits,y=Math.ceil(h/8),C=u.nByteLength,w=u.adjustScalarBytes||(H=>H),T=u.powPminus2||(H=>(0,t.pow)(H,c-BigInt(2),c));function A(H,F,G){let l=d(H*(F-G));return F=d(F-l),G=d(G+l),[F,G]}let O=(u.a-BigInt(2))/BigInt(4);function v(H,F){(0,r.aInRange)("u",H,o,c),(0,r.aInRange)("scalar",F,o,c);let G=F,l=H,p=s,E=o,g=H,b=s,k=o,x;for(let f=BigInt(h-1);f>=o;f--){let M=G>>f&s;k^=M,x=A(k,p,g),p=x[0],g=x[1],x=A(k,E,b),E=x[0],b=x[1],k=M;let V=p+E,D=d(V*V),j=p-E,Y=d(j*j),oe=D-Y,de=g+b,ue=g-b,ae=d(ue*V),q=d(de*j),ne=ae+q,me=ae-q;g=d(ne*ne),b=d(l*d(me*me)),p=d(D*Y),E=d(oe*(D+d(O*oe)))}x=A(k,p,g),p=x[0],g=x[1],x=A(k,E,b),E=x[0],b=x[1];let S=T(E);return d(p*S)}function B(H){return(0,r.numberToBytesLE)(d(H),y)}function R(H){let F=(0,r.ensureBytes)("u coordinate",H,y);return C===32&&(F[31]&=127),(0,r.bytesToNumberLE)(F)}function U(H){let F=(0,r.ensureBytes)("scalar",H),G=F.length;if(G!==y&&G!==C){let l=""+y+" or "+C;throw new Error("invalid scalar, expected "+l+" bytes, got "+G)}return(0,r.bytesToNumberLE)(w(F))}function N(H,F){let G=R(F),l=U(H),p=v(G,l);if(p===o)throw new Error("invalid private or public key received");return B(p)}let _=B(u.Gu);function L(H){return N(H,_)}return{scalarMult:N,scalarMultBase:L,getSharedSecret:(H,F)=>N(H,F),getPublicKey:H=>L(H),utils:{randomPrivateKey:()=>u.randomBytes(u.nByteLength)},GuBytes:_}}}),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=_,e.edwardsToMontgomeryPriv=L;var t=FO(),r=Au(),o=oL(),s=Y_e(),i=Rre(),n=bm(),a=eRe(),u=B0(),c=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),d=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"),h=BigInt(0),y=BigInt(1),C=BigInt(2),w=BigInt(3),T=BigInt(5),A=BigInt(8);function O(ue){let ae=BigInt(10),q=BigInt(20),ne=BigInt(40),me=BigInt(80),ve=c,ge=ue*ue%ve*ue%ve,ce=(0,n.pow2)(ge,C,ve)*ge%ve,ee=(0,n.pow2)(ce,y,ve)*ue%ve,fe=(0,n.pow2)(ee,T,ve)*ee%ve,ie=(0,n.pow2)(fe,ae,ve)*fe%ve,re=(0,n.pow2)(ie,q,ve)*ie%ve,Oe=(0,n.pow2)(re,ne,ve)*re%ve,Pe=(0,n.pow2)(Oe,me,ve)*Oe%ve,Ne=(0,n.pow2)(Pe,me,ve)*Oe%ve,Xe=(0,n.pow2)(Ne,ae,ve)*fe%ve;return{pow_p_5_8:(0,n.pow2)(Xe,C,ve)*ue%ve,b2:ge}}function v(ue){return ue[0]&=248,ue[31]&=127,ue[31]|=64,ue}function B(ue,ae){let q=c,ne=(0,n.mod)(ae*ae*ae,q),me=(0,n.mod)(ne*ne*ae,q),ve=O(ue*me).pow_p_5_8,ge=(0,n.mod)(ue*ne*ve,q),ce=(0,n.mod)(ae*ge*ge,q),ee=ge,fe=(0,n.mod)(ge*d,q),ie=ce===ue,re=ce===(0,n.mod)(-ue,q),Oe=ce===(0,n.mod)(-ue*d,q);return ie&&(ge=ee),(re||Oe)&&(ge=fe),(0,n.isNegativeLE)(ge,q)&&(ge=(0,n.mod)(-ge,q)),{isValid:ie||re,value:ge}}e.ED25519_TORSION_SUBGROUP=["0100000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a","0000000000000000000000000000000000000000000000000000000000000080","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05","ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc85","0000000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa"];var R=(0,n.Field)(c,void 0,!0),U={a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:R,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:A,Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:t.sha512,randomBytes:r.randomBytes,adjustScalarBytes:v,uvRatio:B};e.ed25519=(0,s.twistedEdwards)(U);function N(ue,ae,q){if(ae.length>255)throw new Error("Context is too big");return(0,r.concatBytes)((0,r.utf8ToBytes)("SigEd25519 no Ed25519 collisions"),new Uint8Array([q?1:0,ae.length]),ae,ue)}e.ed25519ctx=(0,s.twistedEdwards)({...U,domain:N}),e.ed25519ph=(0,s.twistedEdwards)(Object.assign({},U,{domain:N,prehash:t.sha512})),e.x25519=(0,a.montgomery)({P:c,a:BigInt(486662),montgomeryBits:255,nByteLength:32,Gu:BigInt(9),powPminus2:ue=>{let ae=c,{pow_p_5_8:q,b2:ne}=O(ue);return(0,n.mod)((0,n.pow2)(q,w,ae)*ne,ae)},adjustScalarBytes:v,randomBytes:r.randomBytes});function _(ue){let{y:ae}=e.ed25519.ExtendedPoint.fromHex(ue),q=BigInt(1);return R.toBytes(R.create((q+ae)*R.inv(q-ae)))}e.edwardsToMontgomery=_;function L(ue){let ae=U.hash(ue.subarray(0,32));return U.adjustScalarBytes(ae).subarray(0,32)}var H=(R.ORDER+w)/A,F=R.pow(C,H),G=R.sqrt(R.neg(R.ONE));function l(ue){let ae=(R.ORDER-T)/A,q=BigInt(486662),ne=R.sqr(ue);ne=R.mul(ne,C);let me=R.add(ne,R.ONE),ve=R.neg(q),ge=R.sqr(me),ce=R.mul(ge,me),ee=R.mul(ne,q);ee=R.mul(ee,ve),ee=R.add(ee,ge),ee=R.mul(ee,ve);let fe=R.sqr(ce);ge=R.sqr(fe),fe=R.mul(fe,ce),fe=R.mul(fe,ee),ge=R.mul(ge,fe);let ie=R.pow(ge,ae);ie=R.mul(ie,fe);let re=R.mul(ie,G);ge=R.sqr(ie),ge=R.mul(ge,ce);let Oe=R.eql(ge,ee),Pe=R.cmov(re,ie,Oe),Ne=R.mul(ve,ne),Xe=R.mul(ie,ue);Xe=R.mul(Xe,F);let Je=R.mul(Xe,G),ft=R.mul(ee,ne);ge=R.sqr(Xe),ge=R.mul(ge,ce);let Kt=R.eql(ge,ft),wt=R.cmov(Je,Xe,Kt);ge=R.sqr(Pe),ge=R.mul(ge,ce);let Ie=R.eql(ge,ee),it=R.cmov(Ne,ve,Ie),Ye=R.cmov(wt,Pe,Ie),et=R.isOdd(Ye);return Ye=R.cmov(Ye,R.neg(Ye),Ie!==et),{xMn:it,xMd:me,yMn:Ye,yMd:y}}var p=(0,n.FpSqrtEven)(R,R.neg(BigInt(486664)));function E(ue){let{xMn:ae,xMd:q,yMn:ne,yMd:me}=l(ue),ve=R.mul(ae,me);ve=R.mul(ve,p);let ge=R.mul(q,ne),ce=R.sub(ae,q),ee=R.add(ae,q),fe=R.mul(ge,ee),ie=R.eql(fe,R.ZERO);ve=R.cmov(ve,R.ZERO,ie),ge=R.cmov(ge,R.ONE,ie),ce=R.cmov(ce,R.ONE,ie),ee=R.cmov(ee,R.ONE,ie);let re=R.invertBatch([ge,ee]);return{x:R.mul(ve,re[0]),y:R.mul(ce,re[1])}}var g=(0,i.createHasher)(e.ed25519.ExtendedPoint,ue=>E(ue[0]),{DST:"edwards25519_XMD:SHA-512_ELL2_RO_",encodeDST:"edwards25519_XMD:SHA-512_ELL2_NU_",p:R.ORDER,m:1,k:128,expand:"xmd",hash:t.sha512});e.hashToCurve=g.hashToCurve,e.encodeToCurve=g.encodeToCurve;function b(ue){if(!(ue instanceof oe))throw new Error("RistrettoPoint expected")}var k=d,x=BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235"),S=BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"),f=BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"),M=BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"),V=ue=>B(y,ue),D=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),j=ue=>e.ed25519.CURVE.Fp.create((0,u.bytesToNumberLE)(ue)&D);function Y(ue){let{d:ae}=e.ed25519.CURVE,q=e.ed25519.CURVE.Fp.ORDER,ne=e.ed25519.CURVE.Fp.create,me=ne(k*ue*ue),ve=ne((me+y)*f),ge=BigInt(-1),ce=ne((ge-ae*me)*ne(me+ae)),{isValid:ee,value:fe}=B(ve,ce),ie=ne(fe*ue);(0,n.isNegativeLE)(ie,q)||(ie=ne(-ie)),ee||(fe=ie),ee||(ge=me);let re=ne(ge*(me-y)*M-ce),Oe=fe*fe,Pe=ne((fe+fe)*ce),Ne=ne(re*x),Xe=ne(y-Oe),Je=ne(y+Oe);return new e.ed25519.ExtendedPoint(ne(Pe*Je),ne(Xe*Ne),ne(Ne*Je),ne(Pe*Xe))}var oe=class oa{constructor(ae){this.ep=ae}static fromAffine(ae){return new oa(e.ed25519.ExtendedPoint.fromAffine(ae))}static hashToCurve(ae){ae=(0,u.ensureBytes)("ristrettoHash",ae,64);let q=j(ae.slice(0,32)),ne=Y(q),me=j(ae.slice(32,64)),ve=Y(me);return new oa(ne.add(ve))}static fromHex(ae){ae=(0,u.ensureBytes)("ristrettoHex",ae,32);let{a:q,d:ne}=e.ed25519.CURVE,me=e.ed25519.CURVE.Fp.ORDER,ve=e.ed25519.CURVE.Fp.create,ge="RistrettoPoint.fromHex: the hex is not valid encoding of RistrettoPoint",ce=j(ae);if(!(0,u.equalBytes)((0,u.numberToBytesLE)(ce,32),ae)||(0,n.isNegativeLE)(ce,me))throw new Error(ge);let ee=ve(ce*ce),fe=ve(y+q*ee),ie=ve(y-q*ee),re=ve(fe*fe),Oe=ve(ie*ie),Pe=ve(q*ne*re-Oe),{isValid:Ne,value:Xe}=V(ve(Pe*Oe)),Je=ve(Xe*ie),ft=ve(Xe*Je*Pe),Kt=ve((ce+ce)*Je);(0,n.isNegativeLE)(Kt,me)&&(Kt=ve(-Kt));let wt=ve(fe*ft),Ie=ve(Kt*wt);if(!Ne||(0,n.isNegativeLE)(Ie,me)||wt===h)throw new Error(ge);return new oa(new e.ed25519.ExtendedPoint(Kt,wt,y,Ie))}static msm(ae,q){let ne=(0,n.Field)(e.ed25519.CURVE.n,e.ed25519.CURVE.nBitLength);return(0,o.pippenger)(oa,ne,ae,q)}toRawBytes(){let{ex:ae,ey:q,ez:ne,et:me}=this.ep,ve=e.ed25519.CURVE.Fp.ORDER,ge=e.ed25519.CURVE.Fp.create,ce=ge(ge(ne+q)*ge(ne-q)),ee=ge(ae*q),fe=ge(ee*ee),{value:ie}=V(ge(ce*fe)),re=ge(ie*ce),Oe=ge(ie*ee),Pe=ge(re*Oe*me),Ne;if((0,n.isNegativeLE)(me*Pe,ve)){let Je=ge(q*k),ft=ge(ae*k);ae=Je,q=ft,Ne=ge(re*S)}else Ne=Oe;(0,n.isNegativeLE)(ae*Pe,ve)&&(q=ge(-q));let Xe=ge((ne-q)*Ne);return(0,n.isNegativeLE)(Xe,ve)&&(Xe=ge(-Xe)),(0,u.numberToBytesLE)(Xe,32)}toHex(){return(0,u.bytesToHex)(this.toRawBytes())}toString(){return this.toHex()}equals(ae){b(ae);let{ex:q,ey:ne}=this.ep,{ex:me,ey:ve}=ae.ep,ge=e.ed25519.CURVE.Fp.create,ce=ge(q*ve)===ge(ne*me),ee=ge(ne*ve)===ge(q*me);return ce||ee}add(ae){return b(ae),new oa(this.ep.add(ae.ep))}subtract(ae){return b(ae),new oa(this.ep.subtract(ae.ep))}multiply(ae){return new oa(this.ep.multiply(ae))}multiplyUnsafe(ae){return new oa(this.ep.multiplyUnsafe(ae))}double(){return new oa(this.ep.double())}negate(){return new oa(this.ep.negate())}};e.RistrettoPoint=(oe.BASE||(oe.BASE=new oe(e.ed25519.ExtendedPoint.BASE)),oe.ZERO||(oe.ZERO=new oe(e.ed25519.ExtendedPoint.ZERO)),oe);var de=(ue,ae)=>{let q=ae.DST,ne=typeof q=="string"?(0,r.utf8ToBytes)(q):q,me=(0,i.expand_message_xmd)(ue,ne,64,t.sha512);return oe.hashToCurve(me)};e.hashToRistretto255=de,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=O;var t=gm(),r=V7(),o=Au(),s=[],i=[],n=[],a=BigInt(0),u=BigInt(1),c=BigInt(2),d=BigInt(7),h=BigInt(256),y=BigInt(113);for(let U=0,N=u,_=1,L=0;U<24;U++){[_,L]=[L,(2*_+3*L)%5],s.push(2*(5*L+_)),i.push((U+1)*(U+2)/2%64);let H=a;for(let F=0;F<7;F++)N=(N<<u^(N>>d)*y)%h,N&c&&(H^=u<<(u<<BigInt(F))-u);n.push(H)}var[C,w]=(0,r.split)(n,!0),T=(U,N,_)=>_>32?(0,r.rotlBH)(U,N,_):(0,r.rotlSH)(U,N,_),A=(U,N,_)=>_>32?(0,r.rotlBL)(U,N,_):(0,r.rotlSL)(U,N,_);function O(U,N=24){let _=new Uint32Array(10);for(let L=24-N;L<24;L++){for(let G=0;G<10;G++)_[G]=U[G]^U[G+10]^U[G+20]^U[G+30]^U[G+40];for(let G=0;G<10;G+=2){let l=(G+8)%10,p=(G+2)%10,E=_[p],g=_[p+1],b=T(E,g,1)^_[l],k=A(E,g,1)^_[l+1];for(let x=0;x<50;x+=10)U[G+x]^=b,U[G+x+1]^=k}let H=U[2],F=U[3];for(let G=0;G<24;G++){let l=i[G],p=T(H,F,l),E=A(H,F,l),g=s[G];H=U[g],F=U[g+1],U[g]=p,U[g+1]=E}for(let G=0;G<50;G+=10){for(let l=0;l<10;l++)_[l]=U[G+l];for(let l=0;l<10;l++)U[G+l]^=~_[(l+2)%10]&_[(l+4)%10]}U[0]^=C[L],U[1]^=w[L]}_.fill(0)}var v=class O0 extends o.Hash{constructor(N,_,L,H=!1,F=24){if(super(),this.blockLen=N,this.suffix=_,this.outputLen=L,this.enableXOF=H,this.rounds=F,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,t.anumber)(L),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,o.u32)(this.state)}keccak(){o.isLE||(0,o.byteSwap32)(this.state32),O(this.state32,this.rounds),o.isLE||(0,o.byteSwap32)(this.state32),this.posOut=0,this.pos=0}update(N){(0,t.aexists)(this);let{blockLen:_,state:L}=this;N=(0,o.toBytes)(N);let H=N.length;for(let F=0;F<H;){let G=Math.min(_-this.pos,H-F);for(let l=0;l<G;l++)L[this.pos++]^=N[F++];this.pos===_&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:N,suffix:_,pos:L,blockLen:H}=this;N[L]^=_,_&128&&L===H-1&&this.keccak(),N[H-1]^=128,this.keccak()}writeInto(N){(0,t.aexists)(this,!1),(0,t.abytes)(N),this.finish();let _=this.state,{blockLen:L}=this;for(let H=0,F=N.length;H<F;){this.posOut>=L&&this.keccak();let G=Math.min(L-this.posOut,F-H);N.set(_.subarray(this.posOut,this.posOut+G),H),this.posOut+=G,H+=G}return N}xofInto(N){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(N)}xof(N){return(0,t.anumber)(N),this.xofInto(new Uint8Array(N))}digestInto(N){if((0,t.aoutput)(N,this),this.finished)throw new Error("digest() was already called");return this.writeInto(N),this.destroy(),N}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(N){let{blockLen:_,suffix:L,outputLen:H,rounds:F,enableXOF:G}=this;return N||(N=new O0(_,L,H,G,F)),N.state32.set(this.state32),N.pos=this.pos,N.posOut=this.posOut,N.finished=this.finished,N.rounds=F,N.suffix=L,N.outputLen=H,N.enableXOF=G,N.destroyed=this.destroyed,N}};e.Keccak=v;var B=(U,N,_)=>(0,o.wrapConstructor)(()=>new v(N,U,_));e.sha3_224=B(6,144,224/8),e.sha3_256=B(6,136,256/8),e.sha3_384=B(6,104,384/8),e.sha3_512=B(6,72,512/8),e.keccak_224=B(1,144,224/8),e.keccak_256=B(1,136,256/8),e.keccak_384=B(1,104,384/8),e.keccak_512=B(1,72,512/8);var R=(U,N,_)=>(0,o.wrapXOFConstructorWithOpts)((L={})=>new v(N,U,L.dkLen===void 0?_:L.dkLen,!0));e.shake128=R(31,168,128/8),e.shake256=R(31,136,256/8)}),JO=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.hmac=e.HMAC=void 0;var t=gm(),r=Au(),o=class extends r.Hash{constructor(i,n){super(),this.finished=!1,this.destroyed=!1,(0,t.ahash)(i);let a=(0,r.toBytes)(n);if(this.iHash=i.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let u=this.blockLen,c=new Uint8Array(u);c.set(a.length>u?i.create().update(a).digest():a);for(let d=0;d<c.length;d++)c[d]^=54;this.iHash.update(c),this.oHash=i.create();for(let d=0;d<c.length;d++)c[d]^=106;this.oHash.update(c),c.fill(0)}update(i){return(0,t.aexists)(this),this.iHash.update(i),this}digestInto(i){(0,t.aexists)(this),(0,t.abytes)(i,this.outputLen),this.finished=!0,this.iHash.digestInto(i),this.oHash.update(i),this.oHash.digestInto(i),this.destroy()}digest(){let i=new Uint8Array(this.oHash.outputLen);return this.digestInto(i),i}_cloneInto(i){i||(i=Object.create(Object.getPrototypeOf(this),{}));let{oHash:n,iHash:a,finished:u,destroyed:c,blockLen:d,outputLen:h}=this;return i=i,i.finished=u,i.destroyed=c,i.blockLen=d,i.outputLen=h,i.oHash=n._cloneInto(i.oHash),i.iHash=a._cloneInto(i.iHash),i}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}};e.HMAC=o;var s=(i,n,a)=>new o(i,n).update(a).digest();e.hmac=s,e.hmac.create=(i,n)=>new o(i,n)}),ARe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.pbkdf2=n,e.pbkdf2Async=a;var t=gm(),r=JO(),o=Au();function s(u,c,d,h){(0,t.ahash)(u);let y=(0,o.checkOpts)({dkLen:32,asyncTick:10},h),{c:C,dkLen:w,asyncTick:T}=y;if((0,t.anumber)(C),(0,t.anumber)(w),(0,t.anumber)(T),C<1)throw new Error("PBKDF2: iterations (c) should be >= 1");let A=(0,o.toBytes)(c),O=(0,o.toBytes)(d),v=new Uint8Array(w),B=r.hmac.create(u,A),R=B._cloneInto().update(O);return{c:C,dkLen:w,asyncTick:T,DK:v,PRF:B,PRFSalt:R}}function i(u,c,d,h,y){return u.destroy(),c.destroy(),h&&h.destroy(),y.fill(0),d}function n(u,c,d,h){let{c:y,dkLen:C,DK:w,PRF:T,PRFSalt:A}=s(u,c,d,h),O,v=new Uint8Array(4),B=(0,o.createView)(v),R=new Uint8Array(T.outputLen);for(let U=1,N=0;N<C;U++,N+=T.outputLen){let _=w.subarray(N,N+T.outputLen);B.setInt32(0,U,!1),(O=A._cloneInto(O)).update(v).digestInto(R),_.set(R.subarray(0,_.length));for(let L=1;L<y;L++){T._cloneInto(O).update(R).digestInto(R);for(let H=0;H<_.length;H++)_[H]^=R[H]}}return i(T,A,w,O,R)}async function a(u,c,d,h){let{c:y,dkLen:C,asyncTick:w,DK:T,PRF:A,PRFSalt:O}=s(u,c,d,h),v,B=new Uint8Array(4),R=(0,o.createView)(B),U=new Uint8Array(A.outputLen);for(let N=1,_=0;_<C;N++,_+=A.outputLen){let L=T.subarray(_,_+A.outputLen);R.setInt32(0,N,!1),(v=O._cloneInto(v)).update(B).digestInto(U),L.set(U.subarray(0,L.length)),await(0,o.asyncLoop)(y-1,w,()=>{A._cloneInto(v).update(U).digestInto(U);for(let H=0;H<L.length;H++)L[H]^=U[H]})}return i(A,O,T,v,U)}}),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(),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]),i=new Uint32Array(64),n=class extends t.HashMD{constructor(){super(64,32,8,!1),this.A=s[0]|0,this.B=s[1]|0,this.C=s[2]|0,this.D=s[3]|0,this.E=s[4]|0,this.F=s[5]|0,this.G=s[6]|0,this.H=s[7]|0}get(){let{A:u,B:c,C:d,D:h,E:y,F:C,G:w,H:T}=this;return[u,c,d,h,y,C,w,T]}set(u,c,d,h,y,C,w,T){this.A=u|0,this.B=c|0,this.C=d|0,this.D=h|0,this.E=y|0,this.F=C|0,this.G=w|0,this.H=T|0}process(u,c){for(let v=0;v<16;v++,c+=4)i[v]=u.getUint32(c,!1);for(let v=16;v<64;v++){let B=i[v-15],R=i[v-2],U=(0,r.rotr)(B,7)^(0,r.rotr)(B,18)^B>>>3,N=(0,r.rotr)(R,17)^(0,r.rotr)(R,19)^R>>>10;i[v]=N+i[v-7]+U+i[v-16]|0}let{A:d,B:h,C:y,D:C,E:w,F:T,G:A,H:O}=this;for(let v=0;v<64;v++){let B=(0,r.rotr)(w,6)^(0,r.rotr)(w,11)^(0,r.rotr)(w,25),R=O+B+(0,t.Chi)(w,T,A)+o[v]+i[v]|0,U=((0,r.rotr)(d,2)^(0,r.rotr)(d,13)^(0,r.rotr)(d,22))+(0,t.Maj)(d,h,y)|0;O=A,A=T,T=w,w=C+R|0,C=y,y=h,h=d,d=R+U|0}d=d+this.A|0,h=h+this.B|0,y=y+this.C|0,C=C+this.D|0,w=w+this.E|0,T=T+this.F|0,A=A+this.G|0,O=O+this.H|0,this.set(d,h,y,C,w,T,A,O)}roundClean(){i.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}};e.SHA256=n;var a=class extends n{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 n),e.sha224=(0,r.wrapConstructor)(()=>new a)}),Zre=W(e=>{"use strict";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;function t(S){return S instanceof Uint8Array||ArrayBuffer.isView(S)&&S.constructor.name==="Uint8Array"}function r(S,f){return Array.isArray(f)?f.length===0?!0:S?f.every(M=>typeof M=="string"):f.every(M=>Number.isSafeInteger(M)):!1}function o(S){if(typeof S!="function")throw new Error("function expected");return!0}function s(S,f){if(typeof f!="string")throw new Error(`${S}: string expected`);return!0}function i(S){if(!Number.isSafeInteger(S))throw new Error(`invalid integer: ${S}`)}e.assertNumber=i;function n(S){if(!Array.isArray(S))throw new Error("array expected")}function a(S,f){if(!r(!0,f))throw new Error(`${S}: array of strings expected`)}function u(S,f){if(!r(!1,f))throw new Error(`${S}: array of numbers expected`)}function c(...S){let f=j=>j,M=(j,Y)=>oe=>j(Y(oe)),V=S.map(j=>j.encode).reduceRight(M,f),D=S.map(j=>j.decode).reduce(M,f);return{encode:V,decode:D}}function d(S){let f=typeof S=="string"?S.split(""):S,M=f.length;a("alphabet",f);let V=new Map(f.map((D,j)=>[D,j]));return{encode:D=>(n(D),D.map(j=>{if(!Number.isSafeInteger(j)||j<0||j>=M)throw new Error(`alphabet.encode: digit index outside alphabet "${j}". Allowed: ${S}`);return f[j]})),decode:D=>(n(D),D.map(j=>{s("alphabet.decode",j);let Y=V.get(j);if(Y===void 0)throw new Error(`Unknown letter: "${j}". Allowed: ${S}`);return Y}))}}function h(S=""){return s("join",S),{encode:f=>(a("join.decode",f),f.join(S)),decode:f=>(s("join.decode",f),f.split(S))}}function y(S,f="="){return i(S),s("padding",f),{encode(M){for(a("padding.encode",M);M.length*S%8;)M.push(f);return M},decode(M){a("padding.decode",M);let V=M.length;if(V*S%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;V>0&&M[V-1]===f;V--)if((V-1)*S%8===0)throw new Error("padding: invalid, string has too much padding");return M.slice(0,V)}}}function C(S){return o(S),{encode:f=>f,decode:f=>S(f)}}function w(S,f,M){if(f<2)throw new Error(`convertRadix: invalid from=${f}, base cannot be less than 2`);if(M<2)throw new Error(`convertRadix: invalid to=${M}, base cannot be less than 2`);if(n(S),!S.length)return[];let V=0,D=[],j=Array.from(S,oe=>{if(i(oe),oe<0||oe>=f)throw new Error(`invalid integer: ${oe}`);return oe}),Y=j.length;for(;;){let oe=0,de=!0;for(let ue=V;ue<Y;ue++){let ae=j[ue],q=f*oe,ne=q+ae;if(!Number.isSafeInteger(ne)||q/f!==oe||ne-ae!==q)throw new Error("convertRadix: carry overflow");let me=ne/M;oe=ne%M;let ve=Math.floor(me);if(j[ue]=ve,!Number.isSafeInteger(ve)||ve*M+oe!==ne)throw new Error("convertRadix: carry overflow");if(de)ve?de=!1:V=ue;else continue}if(D.push(oe),de)break}for(let oe=0;oe<S.length-1&&S[oe]===0;oe++)D.push(0);return D.reverse()}var T=(S,f)=>f===0?S:T(f,S%f),A=(S,f)=>S+(f-T(S,f)),O=(()=>{let S=[];for(let f=0;f<40;f++)S.push(2**f);return S})();function v(S,f,M,V){if(n(S),f<=0||f>32)throw new Error(`convertRadix2: wrong from=${f}`);if(M<=0||M>32)throw new Error(`convertRadix2: wrong to=${M}`);if(A(f,M)>32)throw new Error(`convertRadix2: carry overflow from=${f} to=${M} carryBits=${A(f,M)}`);let D=0,j=0,Y=O[f],oe=O[M]-1,de=[];for(let ue of S){if(i(ue),ue>=Y)throw new Error(`convertRadix2: invalid data word=${ue} from=${f}`);if(D=D<<f|ue,j+f>32)throw new Error(`convertRadix2: carry overflow pos=${j} from=${f}`);for(j+=f;j>=M;j-=M)de.push((D>>j-M&oe)>>>0);let ae=O[j];if(ae===void 0)throw new Error("invalid carry");D&=ae-1}if(D=D<<M-j&oe,!V&&j>=f)throw new Error("Excess padding");if(!V&&D>0)throw new Error(`Non-zero padding: ${D}`);return V&&j>0&&de.push(D>>>0),de}function B(S){i(S);let f=2**8;return{encode:M=>{if(!t(M))throw new Error("radix.encode input should be Uint8Array");return w(Array.from(M),f,S)},decode:M=>(u("radix.decode",M),Uint8Array.from(w(M,S,f)))}}function R(S,f=!1){if(i(S),S<=0||S>32)throw new Error("radix2: bits should be in (0..32]");if(A(8,S)>32||A(S,8)>32)throw new Error("radix2: carry overflow");return{encode:M=>{if(!t(M))throw new Error("radix2.encode input should be Uint8Array");return v(Array.from(M),8,S,!f)},decode:M=>(u("radix2.decode",M),Uint8Array.from(v(M,S,8,f)))}}function U(S){return o(S),function(...f){try{return S.apply(null,f)}catch{}}}function N(S,f){return i(S),o(f),{encode(M){if(!t(M))throw new Error("checksum.encode: input should be Uint8Array");let V=f(M).slice(0,S),D=new Uint8Array(M.length+S);return D.set(M),D.set(V,M.length),D},decode(M){if(!t(M))throw new Error("checksum.decode: input should be Uint8Array");let V=M.slice(0,-S),D=M.slice(-S),j=f(V).slice(0,S);for(let Y=0;Y<S;Y++)if(j[Y]!==D[Y])throw new Error("Invalid checksum");return V}}}e.utils={alphabet:d,chain:c,checksum:N,convertRadix:w,convertRadix2:v,radix:B,radix2:R,join:h,padding:y},e.base16=c(R(4),d("0123456789ABCDEF"),h("")),e.base32=c(R(5),d("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),y(5),h("")),e.base32nopad=c(R(5),d("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),h("")),e.base32hex=c(R(5),d("0123456789ABCDEFGHIJKLMNOPQRSTUV"),y(5),h("")),e.base32hexnopad=c(R(5),d("0123456789ABCDEFGHIJKLMNOPQRSTUV"),h("")),e.base32crockford=c(R(5),d("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),h(""),C(S=>S.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),e.base64=c(R(6),d("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),y(6),h("")),e.base64nopad=c(R(6),d("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),h("")),e.base64url=c(R(6),d("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),y(6),h("")),e.base64urlnopad=c(R(6),d("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),h(""));var _=S=>c(B(58),d(S),h(""));e.base58=_("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),e.base58flickr=_("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),e.base58xrp=_("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");var L=[0,2,3,5,6,7,9,10,11];e.base58xmr={encode(S){let f="";for(let M=0;M<S.length;M+=8){let V=S.subarray(M,M+8);f+=e.base58.encode(V).padStart(L[V.length],"1")}return f},decode(S){let f=[];for(let M=0;M<S.length;M+=11){let V=S.slice(M,M+11),D=L.indexOf(V.length),j=e.base58.decode(V);for(let Y=0;Y<j.length-D;Y++)if(j[Y]!==0)throw new Error("base58xmr: wrong padding");f=f.concat(Array.from(j.slice(j.length-D)))}return Uint8Array.from(f)}};var H=S=>c(N(4,f=>S(S(f))),e.base58);e.createBase58check=H,e.base58check=e.createBase58check;var F=c(d("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),h("")),G=[996825010,642813549,513874426,1027748829,705979059];function l(S){let f=S>>25,M=(S&33554431)<<5;for(let V=0;V<G.length;V++)(f>>V&1)===1&&(M^=G[V]);return M}function p(S,f,M=1){let V=S.length,D=1;for(let j=0;j<V;j++){let Y=S.charCodeAt(j);if(Y<33||Y>126)throw new Error(`Invalid prefix (${S})`);D=l(D)^Y>>5}D=l(D);for(let j=0;j<V;j++)D=l(D)^S.charCodeAt(j)&31;for(let j of f)D=l(D)^j;for(let j=0;j<6;j++)D=l(D);return D^=M,F.encode(v([D%O[30]],30,5,!1))}function E(S){let f=S==="bech32"?1:734539939,M=R(5),V=M.decode,D=M.encode,j=U(V);function Y(q,ne,me=90){s("bech32.encode prefix",q),t(ne)&&(ne=Array.from(ne)),u("bech32.encode",ne);let ve=q.length;if(ve===0)throw new TypeError(`Invalid prefix length ${ve}`);let ge=ve+7+ne.length;if(me!==!1&&ge>me)throw new TypeError(`Length ${ge} exceeds limit ${me}`);let ce=q.toLowerCase(),ee=p(ce,ne,f);return`${ce}1${F.encode(ne)}${ee}`}function oe(q,ne=90){s("bech32.decode input",q);let me=q.length;if(me<8||ne!==!1&&me>ne)throw new TypeError(`invalid string length: ${me} (${q}). Expected (8..${ne})`);let ve=q.toLowerCase();if(q!==ve&&q!==q.toUpperCase())throw new Error("String must be lowercase or uppercase");let ge=ve.lastIndexOf("1");if(ge===0||ge===-1)throw new Error('Letter "1" must be present between prefix and data only');let ce=ve.slice(0,ge),ee=ve.slice(ge+1);if(ee.length<6)throw new Error("Data must be at least 6 characters long");let fe=F.decode(ee).slice(0,-6),ie=p(ce,fe,f);if(!ee.endsWith(ie))throw new Error(`Invalid checksum in ${q}: expected "${ie}"`);return{prefix:ce,words:fe}}let de=U(oe);function ue(q){let{prefix:ne,words:me}=oe(q,!1);return{prefix:ne,words:me,bytes:V(me)}}function ae(q,ne){return Y(q,D(ne))}return{encode:Y,decode:oe,encodeFromBytes:ae,decodeToBytes:ue,decodeUnsafe:de,fromWords:V,fromWordsUnsafe:j,toWords:D}}e.bech32=E("bech32"),e.bech32m=E("bech32m"),e.utf8={encode:S=>new TextDecoder().decode(S),decode:S=>new TextEncoder().encode(S)},e.hex=c(R(4),d("0123456789abcdef"),h(""),C(S=>{if(typeof S!="string"||S.length%2!==0)throw new TypeError(`hex.decode: expected string, got ${typeof S} with length ${S.length}`);return S.toLowerCase()}));var g={utf8:e.utf8,hex:e.hex,base16:e.base16,base32:e.base32,base64:e.base64,base64url:e.base64url,base58:e.base58,base58xmr:e.base58xmr},b="Invalid encoding type. Available types: utf8, hex, base16, base32, base64, base64url, base58, base58xmr",k=(S,f)=>{if(typeof S!="string"||!g.hasOwnProperty(S))throw new TypeError(b);if(!t(f))throw new TypeError("bytesToString() expects Uint8Array");return g[S].encode(f)};e.bytesToString=k,e.str=e.bytesToString;var x=(S,f)=>{if(!g.hasOwnProperty(S))throw new TypeError(b);if(typeof f!="string")throw new TypeError("stringToBytes() expects string");return g[S].decode(f)};e.stringToBytes=x,e.bytes=e.stringToBytes}),HRe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.generateMnemonic=h,e.mnemonicToEntropy=w,e.entropyToMnemonic=T,e.validateMnemonic=A,e.mnemonicToSeed=v,e.mnemonicToSeedSync=B;var t=gm(),r=ARe(),o=YO(),s=FO(),i=Au(),n=Zre(),a=R=>R[0]==="\u3042\u3044\u3053\u304F\u3057\u3093";function u(R){if(typeof R!="string")throw new TypeError("invalid mnemonic type: "+typeof R);return R.normalize("NFKD")}function c(R){let U=u(R),N=U.split(" ");if(![12,15,18,21,24].includes(N.length))throw new Error("Invalid mnemonic");return{nfkd:U,words:N}}function d(R){(0,t.abytes)(R,16,20,24,28,32)}function h(R,U=128){if((0,t.anumber)(U),U%32!==0||U>256)throw new TypeError("Invalid entropy");return T((0,i.randomBytes)(U/8),R)}var y=R=>{let U=8-R.length/4;return new Uint8Array([(0,o.sha256)(R)[0]>>U<<U])};function C(R){if(!Array.isArray(R)||R.length!==2048||typeof R[0]!="string")throw new Error("Wordlist: expected array of 2048 strings");return R.forEach(U=>{if(typeof U!="string")throw new Error("wordlist: non-string element: "+U)}),n.utils.chain(n.utils.checksum(1,y),n.utils.radix2(11,!0),n.utils.alphabet(R))}function w(R,U){let{words:N}=c(R),_=C(U).decode(N);return d(_),_}function T(R,U){return d(R),C(U).encode(R).join(a(U)?"\u3000":" ")}function A(R,U){try{w(R,U)}catch{return!1}return!0}var O=R=>u("mnemonic"+R);function v(R,U=""){return(0,r.pbkdf2Async)(s.sha512,c(R).nfkd,O(U),{c:2048,dkLen:64})}function B(R,U=""){return(0,r.pbkdf2)(s.sha512,c(R).nfkd,O(U),{c:2048,dkLen:64})}}),ene=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.DER=e.DERErr=void 0,e.weierstrassPoints=T,e.weierstrass=O,e.SWUFpSqrtRatio=v,e.mapToCurveSimpleSWU=B;var t=oL(),r=bm(),o=B0(),s=B0();function i(R){R.lowS!==void 0&&(0,s.abool)("lowS",R.lowS),R.prehash!==void 0&&(0,s.abool)("prehash",R.prehash)}function n(R){let U=(0,t.validateBasic)(R);o.validateObject(U,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});let{endo:N,Fp:_,a:L}=U;if(N){if(!_.eql(L,_.ZERO))throw new Error("invalid endomorphism, can only be defined for Koblitz curves that have a=0");if(typeof N!="object"||typeof N.beta!="bigint"||typeof N.splitScalar!="function")throw new Error("invalid endomorphism, expected beta: bigint and splitScalar: function")}return Object.freeze({...U})}var{bytesToNumberBE:a,hexToBytes:u}=o,c=class extends Error{constructor(R=""){super(R)}};e.DERErr=c,e.DER={Err:c,_tlv:{encode:(R,U)=>{let{Err:N}=e.DER;if(R<0||R>256)throw new N("tlv.encode: wrong tag");if(U.length&1)throw new N("tlv.encode: unpadded data");let _=U.length/2,L=o.numberToHexUnpadded(_);if(L.length/2&128)throw new N("tlv.encode: long form length too big");let H=_>127?o.numberToHexUnpadded(L.length/2|128):"";return o.numberToHexUnpadded(R)+H+L+U},decode(R,U){let{Err:N}=e.DER,_=0;if(R<0||R>256)throw new N("tlv.encode: wrong tag");if(U.length<2||U[_++]!==R)throw new N("tlv.decode: wrong tlv");let L=U[_++],H=!!(L&128),F=0;if(!H)F=L;else{let l=L&127;if(!l)throw new N("tlv.decode(long): indefinite length not supported");if(l>4)throw new N("tlv.decode(long): byte length is too big");let p=U.subarray(_,_+l);if(p.length!==l)throw new N("tlv.decode: length bytes not complete");if(p[0]===0)throw new N("tlv.decode(long): zero leftmost byte");for(let E of p)F=F<<8|E;if(_+=l,F<128)throw new N("tlv.decode(long): not minimal encoding")}let G=U.subarray(_,_+F);if(G.length!==F)throw new N("tlv.decode: wrong value length");return{v:G,l:U.subarray(_+F)}}},_int:{encode(R){let{Err:U}=e.DER;if(R<d)throw new U("integer: negative integers are not allowed");let N=o.numberToHexUnpadded(R);if(Number.parseInt(N[0],16)&8&&(N="00"+N),N.length&1)throw new U("unexpected DER parsing assertion: unpadded hex");return N},decode(R){let{Err:U}=e.DER;if(R[0]&128)throw new U("invalid signature integer: negative");if(R[0]===0&&!(R[1]&128))throw new U("invalid signature integer: unnecessary leading zero");return a(R)}},toSig(R){let{Err:U,_int:N,_tlv:_}=e.DER,L=typeof R=="string"?u(R):R;o.abytes(L);let{v:H,l:F}=_.decode(48,L);if(F.length)throw new U("invalid signature: left bytes after parsing");let{v:G,l}=_.decode(2,H),{v:p,l:E}=_.decode(2,l);if(E.length)throw new U("invalid signature: left bytes after parsing");return{r:N.decode(G),s:N.decode(p)}},hexFromSig(R){let{_tlv:U,_int:N}=e.DER,_=U.encode(2,N.encode(R.r)),L=U.encode(2,N.encode(R.s)),H=_+L;return U.encode(48,H)}};var d=BigInt(0),h=BigInt(1),y=BigInt(2),C=BigInt(3),w=BigInt(4);function T(R){let U=n(R),{Fp:N}=U,_=(0,r.Field)(U.n,U.nBitLength),L=U.toBytes||((S,f,M)=>{let V=f.toAffine();return o.concatBytes(Uint8Array.from([4]),N.toBytes(V.x),N.toBytes(V.y))}),H=U.fromBytes||(S=>{let f=S.subarray(1),M=N.fromBytes(f.subarray(0,N.BYTES)),V=N.fromBytes(f.subarray(N.BYTES,2*N.BYTES));return{x:M,y:V}});function F(S){let{a:f,b:M}=U,V=N.sqr(S),D=N.mul(V,S);return N.add(N.add(D,N.mul(S,f)),M)}if(!N.eql(N.sqr(U.Gy),F(U.Gx)))throw new Error("bad generator point: equation left != right");function G(S){return o.inRange(S,h,U.n)}function l(S){let{allowedPrivateKeyLengths:f,nByteLength:M,wrapPrivateKey:V,n:D}=U;if(f&&typeof S!="bigint"){if(o.isBytes(S)&&(S=o.bytesToHex(S)),typeof S!="string"||!f.includes(S.length))throw new Error("invalid private key");S=S.padStart(M*2,"0")}let j;try{j=typeof S=="bigint"?S:o.bytesToNumberBE((0,s.ensureBytes)("private key",S,M))}catch{throw new Error("invalid private key, expected hex or "+M+" bytes, got "+typeof S)}return V&&(j=(0,r.mod)(j,D)),o.aInRange("private key",j,h,D),j}function p(S){if(!(S instanceof b))throw new Error("ProjectivePoint expected")}let E=(0,s.memoized)((S,f)=>{let{px:M,py:V,pz:D}=S;if(N.eql(D,N.ONE))return{x:M,y:V};let j=S.is0();f==null&&(f=j?N.ONE:N.inv(D));let Y=N.mul(M,f),oe=N.mul(V,f),de=N.mul(D,f);if(j)return{x:N.ZERO,y:N.ZERO};if(!N.eql(de,N.ONE))throw new Error("invZ was invalid");return{x:Y,y:oe}}),g=(0,s.memoized)(S=>{if(S.is0()){if(U.allowInfinityPoint&&!N.is0(S.py))return;throw new Error("bad point: ZERO")}let{x:f,y:M}=S.toAffine();if(!N.isValid(f)||!N.isValid(M))throw new Error("bad point: x or y not FE");let V=N.sqr(M),D=F(f);if(!N.eql(V,D))throw new Error("bad point: equation left != right");if(!S.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class b{constructor(f,M,V){if(this.px=f,this.py=M,this.pz=V,f==null||!N.isValid(f))throw new Error("x required");if(M==null||!N.isValid(M))throw new Error("y required");if(V==null||!N.isValid(V))throw new Error("z required");Object.freeze(this)}static fromAffine(f){let{x:M,y:V}=f||{};if(!f||!N.isValid(M)||!N.isValid(V))throw new Error("invalid affine point");if(f instanceof b)throw new Error("projective point not allowed");let D=j=>N.eql(j,N.ZERO);return D(M)&&D(V)?b.ZERO:new b(M,V,N.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(f){let M=N.invertBatch(f.map(V=>V.pz));return f.map((V,D)=>V.toAffine(M[D])).map(b.fromAffine)}static fromHex(f){let M=b.fromAffine(H((0,s.ensureBytes)("pointHex",f)));return M.assertValidity(),M}static fromPrivateKey(f){return b.BASE.multiply(l(f))}static msm(f,M){return(0,t.pippenger)(b,_,f,M)}_setWindowSize(f){x.setWindowSize(this,f)}assertValidity(){g(this)}hasEvenY(){let{y:f}=this.toAffine();if(N.isOdd)return!N.isOdd(f);throw new Error("Field doesn't support isOdd")}equals(f){p(f);let{px:M,py:V,pz:D}=this,{px:j,py:Y,pz:oe}=f,de=N.eql(N.mul(M,oe),N.mul(j,D)),ue=N.eql(N.mul(V,oe),N.mul(Y,D));return de&&ue}negate(){return new b(this.px,N.neg(this.py),this.pz)}double(){let{a:f,b:M}=U,V=N.mul(M,C),{px:D,py:j,pz:Y}=this,oe=N.ZERO,de=N.ZERO,ue=N.ZERO,ae=N.mul(D,D),q=N.mul(j,j),ne=N.mul(Y,Y),me=N.mul(D,j);return me=N.add(me,me),ue=N.mul(D,Y),ue=N.add(ue,ue),oe=N.mul(f,ue),de=N.mul(V,ne),de=N.add(oe,de),oe=N.sub(q,de),de=N.add(q,de),de=N.mul(oe,de),oe=N.mul(me,oe),ue=N.mul(V,ue),ne=N.mul(f,ne),me=N.sub(ae,ne),me=N.mul(f,me),me=N.add(me,ue),ue=N.add(ae,ae),ae=N.add(ue,ae),ae=N.add(ae,ne),ae=N.mul(ae,me),de=N.add(de,ae),ne=N.mul(j,Y),ne=N.add(ne,ne),ae=N.mul(ne,me),oe=N.sub(oe,ae),ue=N.mul(ne,q),ue=N.add(ue,ue),ue=N.add(ue,ue),new b(oe,de,ue)}add(f){p(f);let{px:M,py:V,pz:D}=this,{px:j,py:Y,pz:oe}=f,de=N.ZERO,ue=N.ZERO,ae=N.ZERO,q=U.a,ne=N.mul(U.b,C),me=N.mul(M,j),ve=N.mul(V,Y),ge=N.mul(D,oe),ce=N.add(M,V),ee=N.add(j,Y);ce=N.mul(ce,ee),ee=N.add(me,ve),ce=N.sub(ce,ee),ee=N.add(M,D);let fe=N.add(j,oe);return ee=N.mul(ee,fe),fe=N.add(me,ge),ee=N.sub(ee,fe),fe=N.add(V,D),de=N.add(Y,oe),fe=N.mul(fe,de),de=N.add(ve,ge),fe=N.sub(fe,de),ae=N.mul(q,ee),de=N.mul(ne,ge),ae=N.add(de,ae),de=N.sub(ve,ae),ae=N.add(ve,ae),ue=N.mul(de,ae),ve=N.add(me,me),ve=N.add(ve,me),ge=N.mul(q,ge),ee=N.mul(ne,ee),ve=N.add(ve,ge),ge=N.sub(me,ge),ge=N.mul(q,ge),ee=N.add(ee,ge),me=N.mul(ve,ee),ue=N.add(ue,me),me=N.mul(fe,ee),de=N.mul(ce,de),de=N.sub(de,me),me=N.mul(ce,ve),ae=N.mul(fe,ae),ae=N.add(ae,me),new b(de,ue,ae)}subtract(f){return this.add(f.negate())}is0(){return this.equals(b.ZERO)}wNAF(f){return x.wNAFCached(this,f,b.normalizeZ)}multiplyUnsafe(f){let{endo:M,n:V}=U;o.aInRange("scalar",f,d,V);let D=b.ZERO;if(f===d)return D;if(this.is0()||f===h)return this;if(!M||x.hasPrecomputes(this))return x.wNAFCachedUnsafe(this,f,b.normalizeZ);let{k1neg:j,k1:Y,k2neg:oe,k2:de}=M.splitScalar(f),ue=D,ae=D,q=this;for(;Y>d||de>d;)Y&h&&(ue=ue.add(q)),de&h&&(ae=ae.add(q)),q=q.double(),Y>>=h,de>>=h;return j&&(ue=ue.negate()),oe&&(ae=ae.negate()),ae=new b(N.mul(ae.px,M.beta),ae.py,ae.pz),ue.add(ae)}multiply(f){let{endo:M,n:V}=U;o.aInRange("scalar",f,h,V);let D,j;if(M){let{k1neg:Y,k1:oe,k2neg:de,k2:ue}=M.splitScalar(f),{p:ae,f:q}=this.wNAF(oe),{p:ne,f:me}=this.wNAF(ue);ae=x.constTimeNegate(Y,ae),ne=x.constTimeNegate(de,ne),ne=new b(N.mul(ne.px,M.beta),ne.py,ne.pz),D=ae.add(ne),j=q.add(me)}else{let{p:Y,f:oe}=this.wNAF(f);D=Y,j=oe}return b.normalizeZ([D,j])[0]}multiplyAndAddUnsafe(f,M,V){let D=b.BASE,j=(oe,de)=>de===d||de===h||!oe.equals(D)?oe.multiplyUnsafe(de):oe.multiply(de),Y=j(this,M).add(j(f,V));return Y.is0()?void 0:Y}toAffine(f){return E(this,f)}isTorsionFree(){let{h:f,isTorsionFree:M}=U;if(f===h)return!0;if(M)return M(b,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:f,clearCofactor:M}=U;return f===h?this:M?M(b,this):this.multiplyUnsafe(U.h)}toRawBytes(f=!0){return(0,s.abool)("isCompressed",f),this.assertValidity(),L(b,this,f)}toHex(f=!0){return(0,s.abool)("isCompressed",f),o.bytesToHex(this.toRawBytes(f))}}b.BASE=new b(U.Gx,U.Gy,N.ONE),b.ZERO=new b(N.ZERO,N.ONE,N.ZERO);let k=U.nBitLength,x=(0,t.wNAF)(b,U.endo?Math.ceil(k/2):k);return{CURVE:U,ProjectivePoint:b,normPrivateKeyToScalar:l,weierstrassEquation:F,isWithinCurveOrder:G}}function A(R){let U=(0,t.validateBasic)(R);return o.validateObject(U,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...U})}function O(R){let U=A(R),{Fp:N,n:_}=U,L=N.BYTES+1,H=2*N.BYTES+1;function F(ge){return(0,r.mod)(ge,_)}function G(ge){return(0,r.invert)(ge,_)}let{ProjectivePoint:l,normPrivateKeyToScalar:p,weierstrassEquation:E,isWithinCurveOrder:g}=T({...U,toBytes(ge,ce,ee){let fe=ce.toAffine(),ie=N.toBytes(fe.x),re=o.concatBytes;return(0,s.abool)("isCompressed",ee),ee?re(Uint8Array.from([ce.hasEvenY()?2:3]),ie):re(Uint8Array.from([4]),ie,N.toBytes(fe.y))},fromBytes(ge){let ce=ge.length,ee=ge[0],fe=ge.subarray(1);if(ce===L&&(ee===2||ee===3)){let ie=o.bytesToNumberBE(fe);if(!o.inRange(ie,h,N.ORDER))throw new Error("Point is not on curve");let re=E(ie),Oe;try{Oe=N.sqrt(re)}catch(Ne){let Xe=Ne instanceof Error?": "+Ne.message:"";throw new Error("Point is not on curve"+Xe)}let Pe=(Oe&h)===h;return(ee&1)===1!==Pe&&(Oe=N.neg(Oe)),{x:ie,y:Oe}}else if(ce===H&&ee===4){let ie=N.fromBytes(fe.subarray(0,N.BYTES)),re=N.fromBytes(fe.subarray(N.BYTES,2*N.BYTES));return{x:ie,y:re}}else{let ie=L,re=H;throw new Error("invalid Point, expected length of "+ie+", or uncompressed "+re+", got "+ce)}}}),b=ge=>o.bytesToHex(o.numberToBytesBE(ge,U.nByteLength));function k(ge){let ce=_>>h;return ge>ce}function x(ge){return k(ge)?F(-ge):ge}let S=(ge,ce,ee)=>o.bytesToNumberBE(ge.slice(ce,ee));class f{constructor(ce,ee,fe){this.r=ce,this.s=ee,this.recovery=fe,this.assertValidity()}static fromCompact(ce){let ee=U.nByteLength;return ce=(0,s.ensureBytes)("compactSignature",ce,ee*2),new f(S(ce,0,ee),S(ce,ee,2*ee))}static fromDER(ce){let{r:ee,s:fe}=e.DER.toSig((0,s.ensureBytes)("DER",ce));return new f(ee,fe)}assertValidity(){o.aInRange("r",this.r,h,_),o.aInRange("s",this.s,h,_)}addRecoveryBit(ce){return new f(this.r,this.s,ce)}recoverPublicKey(ce){let{r:ee,s:fe,recovery:ie}=this,re=oe((0,s.ensureBytes)("msgHash",ce));if(ie==null||![0,1,2,3].includes(ie))throw new Error("recovery id invalid");let Oe=ie===2||ie===3?ee+U.n:ee;if(Oe>=N.ORDER)throw new Error("recovery id 2 or 3 invalid");let Pe=ie&1?"03":"02",Ne=l.fromHex(Pe+b(Oe)),Xe=G(Oe),Je=F(-re*Xe),ft=F(fe*Xe),Kt=l.BASE.multiplyAndAddUnsafe(Ne,Je,ft);if(!Kt)throw new Error("point at infinify");return Kt.assertValidity(),Kt}hasHighS(){return k(this.s)}normalizeS(){return this.hasHighS()?new f(this.r,F(-this.s),this.recovery):this}toDERRawBytes(){return o.hexToBytes(this.toDERHex())}toDERHex(){return e.DER.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return o.hexToBytes(this.toCompactHex())}toCompactHex(){return b(this.r)+b(this.s)}}let M={isValidPrivateKey(ge){try{return p(ge),!0}catch{return!1}},normPrivateKeyToScalar:p,randomPrivateKey:()=>{let ge=(0,r.getMinHashLength)(U.n);return(0,r.mapHashToField)(U.randomBytes(ge),U.n)},precompute(ge=8,ce=l.BASE){return ce._setWindowSize(ge),ce.multiply(BigInt(3)),ce}};function V(ge,ce=!0){return l.fromPrivateKey(ge).toRawBytes(ce)}function D(ge){let ce=o.isBytes(ge),ee=typeof ge=="string",fe=(ce||ee)&&ge.length;return ce?fe===L||fe===H:ee?fe===2*L||fe===2*H:ge instanceof l}function j(ge,ce,ee=!0){if(D(ge))throw new Error("first arg must be private key");if(!D(ce))throw new Error("second arg must be public key");return l.fromHex(ce).multiply(p(ge)).toRawBytes(ee)}let Y=U.bits2int||function(ge){if(ge.length>8192)throw new Error("input is too large");let ce=o.bytesToNumberBE(ge),ee=ge.length*8-U.nBitLength;return ee>0?ce>>BigInt(ee):ce},oe=U.bits2int_modN||function(ge){return F(Y(ge))},de=o.bitMask(U.nBitLength);function ue(ge){return o.aInRange("num < 2^"+U.nBitLength,ge,d,de),o.numberToBytesBE(ge,U.nByteLength)}function ae(ge,ce,ee=q){if(["recovered","canonical"].some(Ie=>Ie in ee))throw new Error("sign() legacy options not supported");let{hash:fe,randomBytes:ie}=U,{lowS:re,prehash:Oe,extraEntropy:Pe}=ee;re==null&&(re=!0),ge=(0,s.ensureBytes)("msgHash",ge),i(ee),Oe&&(ge=(0,s.ensureBytes)("prehashed msgHash",fe(ge)));let Ne=oe(ge),Xe=p(ce),Je=[ue(Xe),ue(Ne)];if(Pe!=null&&Pe!==!1){let Ie=Pe===!0?ie(N.BYTES):Pe;Je.push((0,s.ensureBytes)("extraEntropy",Ie))}let ft=o.concatBytes(...Je),Kt=Ne;function wt(Ie){let it=Y(Ie);if(!g(it))return;let Ye=G(it),et=l.BASE.multiply(it).toAffine(),Gt=F(et.x);if(Gt===d)return;let It=F(Ye*F(Kt+Gt*Xe));if(It===d)return;let Rt=(et.x===Gt?0:2)|Number(et.y&h),_r=It;return re&&k(It)&&(_r=x(It),Rt^=1),new f(Gt,_r,Rt)}return{seed:ft,k2sig:wt}}let q={lowS:U.lowS,prehash:!1},ne={lowS:U.lowS,prehash:!1};function me(ge,ce,ee=q){let{seed:fe,k2sig:ie}=ae(ge,ce,ee),re=U;return o.createHmacDrbg(re.hash.outputLen,re.nByteLength,re.hmac)(fe,ie)}l.BASE._setWindowSize(8);function ve(ge,ce,ee,fe=ne){let ie=ge;ce=(0,s.ensureBytes)("msgHash",ce),ee=(0,s.ensureBytes)("publicKey",ee);let{lowS:re,prehash:Oe,format:Pe}=fe;if(i(fe),"strict"in fe)throw new Error("options.strict was renamed to lowS");if(Pe!==void 0&&Pe!=="compact"&&Pe!=="der")throw new Error("format must be compact or der");let Ne=typeof ie=="string"||o.isBytes(ie),Xe=!Ne&&!Pe&&typeof ie=="object"&&ie!==null&&typeof ie.r=="bigint"&&typeof ie.s=="bigint";if(!Ne&&!Xe)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let Je,ft;try{if(Xe&&(Je=new f(ie.r,ie.s)),Ne){try{Pe!=="compact"&&(Je=f.fromDER(ie))}catch(It){if(!(It instanceof e.DER.Err))throw It}!Je&&Pe!=="der"&&(Je=f.fromCompact(ie))}ft=l.fromHex(ee)}catch{return!1}if(!Je||re&&Je.hasHighS())return!1;Oe&&(ce=U.hash(ce));let{r:Kt,s:wt}=Je,Ie=oe(ce),it=G(wt),Ye=F(Ie*it),et=F(Kt*it),Gt=l.BASE.multiplyAndAddUnsafe(ft,Ye,et)?.toAffine();return Gt?F(Gt.x)===Kt:!1}return{CURVE:U,getPublicKey:V,getSharedSecret:j,sign:me,verify:ve,ProjectivePoint:l,Signature:f,utils:M}}function v(R,U){let N=R.ORDER,_=d;for(let x=N-h;x%y===d;x/=y)_+=h;let L=_,H=y<<L-h-h,F=H*y,G=(N-h)/F,l=(G-h)/y,p=F-h,E=H,g=R.pow(U,G),b=R.pow(U,(G+h)/y),k=(x,S)=>{let f=g,M=R.pow(S,p),V=R.sqr(M);V=R.mul(V,S);let D=R.mul(x,V);D=R.pow(D,l),D=R.mul(D,M),M=R.mul(D,S),V=R.mul(D,x);let j=R.mul(V,M);D=R.pow(j,E);let Y=R.eql(D,R.ONE);M=R.mul(V,b),D=R.mul(j,f),V=R.cmov(M,V,Y),j=R.cmov(D,j,Y);for(let oe=L;oe>h;oe--){let de=oe-y;de=y<<de-h;let ue=R.pow(j,de),ae=R.eql(ue,R.ONE);M=R.mul(V,f),f=R.mul(f,f),ue=R.mul(j,f),V=R.cmov(M,V,ae),j=R.cmov(ue,j,ae)}return{isValid:Y,value:V}};if(R.ORDER%w===C){let x=(R.ORDER-C)/w,S=R.sqrt(R.neg(U));k=(f,M)=>{let V=R.sqr(M),D=R.mul(f,M);V=R.mul(V,D);let j=R.pow(V,x);j=R.mul(j,D);let Y=R.mul(j,S),oe=R.mul(R.sqr(j),M),de=R.eql(oe,f),ue=R.cmov(Y,j,de);return{isValid:de,value:ue}}}return k}function B(R,U){if((0,r.validateField)(R),!R.isValid(U.A)||!R.isValid(U.B)||!R.isValid(U.Z))throw new Error("mapToCurveSimpleSWU: invalid opts");let N=v(R,U.Z);if(!R.isOdd)throw new Error("Fp.isOdd is not implemented!");return _=>{let L,H,F,G,l,p,E,g;L=R.sqr(_),L=R.mul(L,U.Z),H=R.sqr(L),H=R.add(H,L),F=R.add(H,R.ONE),F=R.mul(F,U.B),G=R.cmov(U.Z,R.neg(H),!R.eql(H,R.ZERO)),G=R.mul(G,U.A),H=R.sqr(F),p=R.sqr(G),l=R.mul(p,U.A),H=R.add(H,l),H=R.mul(H,F),p=R.mul(p,G),l=R.mul(p,U.B),H=R.add(H,l),E=R.mul(L,F);let{isValid:b,value:k}=N(H,p);g=R.mul(L,_),g=R.mul(g,k),E=R.cmov(E,F,b),g=R.cmov(g,k,b);let x=R.isOdd(_)===R.isOdd(g);return g=R.cmov(R.neg(g),g,x),E=R.div(E,G),{x:E,y:g}}}}),YRe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.getHash=s,e.createCurve=i;var t=JO(),r=Au(),o=ene();function s(n){return{hash:n,hmac:(a,...u)=>(0,t.hmac)(n,a,(0,r.concatBytes)(...u)),randomBytes:r.randomBytes}}function i(n,a){let u=c=>(0,o.weierstrass)({...n,...s(c)});return{...u(a),create:u}}}),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(),o=YRe(),s=Rre(),i=bm(),n=B0(),a=ene(),u=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),c=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),d=BigInt(1),h=BigInt(2),y=(x,S)=>(x+S/h)/S;function C(x){let S=u,f=BigInt(3),M=BigInt(6),V=BigInt(11),D=BigInt(22),j=BigInt(23),Y=BigInt(44),oe=BigInt(88),de=x*x*x%S,ue=de*de*x%S,ae=(0,i.pow2)(ue,f,S)*ue%S,q=(0,i.pow2)(ae,f,S)*ue%S,ne=(0,i.pow2)(q,h,S)*de%S,me=(0,i.pow2)(ne,V,S)*ne%S,ve=(0,i.pow2)(me,D,S)*me%S,ge=(0,i.pow2)(ve,Y,S)*ve%S,ce=(0,i.pow2)(ge,oe,S)*ge%S,ee=(0,i.pow2)(ce,Y,S)*ve%S,fe=(0,i.pow2)(ee,f,S)*ue%S,ie=(0,i.pow2)(fe,j,S)*me%S,re=(0,i.pow2)(ie,M,S)*de%S,Oe=(0,i.pow2)(re,h,S);if(!w.eql(w.sqr(Oe),x))throw new Error("Cannot find square root");return Oe}var w=(0,i.Field)(u,void 0,void 0,{sqrt:C});e.secp256k1=(0,o.createCurve)({a:BigInt(0),b:BigInt(7),Fp:w,n:c,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:x=>{let S=c,f=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),M=-d*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),V=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),D=f,j=BigInt("0x100000000000000000000000000000000"),Y=y(D*x,S),oe=y(-M*x,S),de=(0,i.mod)(x-Y*f-oe*V,S),ue=(0,i.mod)(-Y*M-oe*D,S),ae=de>j,q=ue>j;if(ae&&(de=S-de),q&&(ue=S-ue),de>j||ue>j)throw new Error("splitScalar: Endomorphism failed, k="+x);return{k1neg:ae,k1:de,k2neg:q,k2:ue}}}},t.sha256);var T=BigInt(0),A={};function O(x,...S){let f=A[x];if(f===void 0){let M=(0,t.sha256)(Uint8Array.from(x,V=>V.charCodeAt(0)));f=(0,n.concatBytes)(M,M),A[x]=f}return(0,t.sha256)((0,n.concatBytes)(f,...S))}var v=x=>x.toRawBytes(!0).slice(1),B=x=>(0,n.numberToBytesBE)(x,32),R=x=>(0,i.mod)(x,u),U=x=>(0,i.mod)(x,c),N=e.secp256k1.ProjectivePoint,_=(x,S,f)=>N.BASE.multiplyAndAddUnsafe(x,S,f);function L(x){let S=e.secp256k1.utils.normPrivateKeyToScalar(x),f=N.fromPrivateKey(S);return{scalar:f.hasEvenY()?S:U(-S),bytes:v(f)}}function H(x){(0,n.aInRange)("x",x,d,u);let S=R(x*x),f=R(S*x+BigInt(7)),M=C(f);M%h!==T&&(M=R(-M));let V=new N(x,M,d);return V.assertValidity(),V}var F=n.bytesToNumberBE;function G(...x){return U(F(O("BIP0340/challenge",...x)))}function l(x){return L(x).bytes}function p(x,S,f=(0,r.randomBytes)(32)){let M=(0,n.ensureBytes)("message",x),{bytes:V,scalar:D}=L(S),j=(0,n.ensureBytes)("auxRand",f,32),Y=B(D^F(O("BIP0340/aux",j))),oe=O("BIP0340/nonce",Y,V,M),de=U(F(oe));if(de===T)throw new Error("sign failed: k is zero");let{bytes:ue,scalar:ae}=L(de),q=G(ue,V,M),ne=new Uint8Array(64);if(ne.set(ue,0),ne.set(B(U(ae+q*D)),32),!E(ne,M,V))throw new Error("sign: Invalid signature produced");return ne}function E(x,S,f){let M=(0,n.ensureBytes)("signature",x,64),V=(0,n.ensureBytes)("message",S),D=(0,n.ensureBytes)("publicKey",f,32);try{let j=H(F(D)),Y=F(M.subarray(0,32));if(!(0,n.inRange)(Y,d,u))return!1;let oe=F(M.subarray(32,64));if(!(0,n.inRange)(oe,d,c))return!1;let de=G(B(Y),v(j),V),ue=_(j,oe,U(-de));return!(!ue||!ue.hasEvenY()||ue.toAffine().x!==Y)}catch{return!1}}e.schnorr={getPublicKey:l,sign:p,verify:E,utils:{randomPrivateKey:e.secp256k1.utils.randomPrivateKey,lift_x:H,pointToBytes:v,numberToBytesBE:n.numberToBytesBE,bytesToNumberBE:n.bytesToNumberBE,taggedHash:O,mod:i.mod}};var g=(0,s.isogenyMap)(w,[["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7","0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581","0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262","0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"],["0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b","0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14","0x0000000000000000000000000000000000000000000000000000000000000001"],["0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c","0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3","0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931","0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"],["0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b","0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573","0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f","0x0000000000000000000000000000000000000000000000000000000000000001"]].map(x=>x.map(S=>BigInt(S)))),b=(0,a.mapToCurveSimpleSWU)(w,{A:BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"),B:BigInt("1771"),Z:w.create(BigInt("-11"))}),k=(0,s.createHasher)(e.secp256k1.ProjectivePoint,x=>{let{x:S,y:f}=b(w.create(x[0]));return g(S,f)},{DST:"secp256k1_XMD:SHA-256_SSWU_RO_",encodeDST:"secp256k1_XMD:SHA-256_SSWU_NU_",p:w.ORDER,m:1,k:128,expand:"xmd",hash:t.sha256});e.hashToCurve=k.hashToCurve,e.encodeToCurve=k.encodeToCurve}),uNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.ripemd160=e.RIPEMD160=void 0;var t=j7(),r=Au(),o=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),s=new Uint8Array(new Array(16).fill(0).map((A,O)=>O)),i=s.map(A=>(9*A+5)%16),n=[s],a=[i];for(let A=0;A<4;A++)for(let O of[n,a])O.push(O[A].map(v=>o[v]));var u=[[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(A=>new Uint8Array(A)),c=n.map((A,O)=>A.map(v=>u[O][v])),d=a.map((A,O)=>A.map(v=>u[O][v])),h=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),y=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]);function C(A,O,v,B){return A===0?O^v^B:A===1?O&v|~O&B:A===2?(O|~v)^B:A===3?O&B|v&~B:O^(v|~B)}var w=new Uint32Array(16),T=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:A,h1:O,h2:v,h3:B,h4:R}=this;return[A,O,v,B,R]}set(A,O,v,B,R){this.h0=A|0,this.h1=O|0,this.h2=v|0,this.h3=B|0,this.h4=R|0}process(A,O){for(let l=0;l<16;l++,O+=4)w[l]=A.getUint32(O,!0);let v=this.h0|0,B=v,R=this.h1|0,U=R,N=this.h2|0,_=N,L=this.h3|0,H=L,F=this.h4|0,G=F;for(let l=0;l<5;l++){let p=4-l,E=h[l],g=y[l],b=n[l],k=a[l],x=c[l],S=d[l];for(let f=0;f<16;f++){let M=(0,r.rotl)(v+C(l,R,N,L)+w[b[f]]+E,x[f])+F|0;v=F,F=L,L=(0,r.rotl)(N,10)|0,N=R,R=M}for(let f=0;f<16;f++){let M=(0,r.rotl)(B+C(p,U,_,H)+w[k[f]]+g,S[f])+G|0;B=G,G=H,H=(0,r.rotl)(_,10)|0,_=U,U=M}}this.set(this.h1+N+H|0,this.h2+L+G|0,this.h3+F+B|0,this.h4+v+U|0,this.h0+R+_|0)}roundClean(){w.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}};e.RIPEMD160=T,e.ripemd160=(0,r.wrapConstructor)(()=>new T)}),pNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.HDKey=e.HARDENED_OFFSET=void 0;var t=JO(),r=uNe(),o=YO(),s=FO(),i=gm(),n=Au(),a=IL(),u=bm(),c=Zre(),d=a.secp256k1.ProjectivePoint,h=(0,c.createBase58check)(o.sha256);function y(R){(0,i.abytes)(R);let U=R.length===0?"0":(0,n.bytesToHex)(R);return BigInt("0x"+U)}function C(R){if(typeof R!="bigint")throw new Error("bigint expected");return(0,n.hexToBytes)(R.toString(16).padStart(64,"0"))}var w=(0,n.utf8ToBytes)("Bitcoin seed"),T={private:76066276,public:76067358};e.HARDENED_OFFSET=2147483648;var A=R=>(0,r.ripemd160)((0,o.sha256)(R)),O=R=>(0,n.createView)(R).getUint32(0,!1),v=R=>{if(!Number.isSafeInteger(R)||R<0||R>2**32-1)throw new Error("invalid number, should be from 0 to 2**32-1, got "+R);let U=new Uint8Array(4);return(0,n.createView)(U).setUint32(0,R,!1),U},B=class oc{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return O(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 U=this.privateKey;if(!U)throw new Error("No private key");return h.encode(this.serialize(this.versions.private,(0,n.concatBytes)(new Uint8Array([0]),U)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return h.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(U,N=T){if((0,i.abytes)(U),8*U.length<128||8*U.length>512)throw new Error("HDKey: seed length must be between 128 and 512 bits; 256 bits is advised, got "+U.length);let _=(0,t.hmac)(s.sha512,w,U);return new oc({versions:N,chainCode:_.slice(32),privateKey:_.slice(0,32)})}static fromExtendedKey(U,N=T){let _=h.decode(U),L=(0,n.createView)(_),H=L.getUint32(0,!1),F={versions:N,depth:_[4],parentFingerprint:L.getUint32(5,!1),index:L.getUint32(9,!1),chainCode:_.slice(13,45)},G=_.slice(45),l=G[0]===0;if(H!==N[l?"private":"public"])throw new Error("Version mismatch");return l?new oc({...F,privateKey:G.slice(1)}):new oc({...F,publicKey:G})}static fromJSON(U){return oc.fromExtendedKey(U.xpriv)}constructor(U){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!U||typeof U!="object")throw new Error("HDKey.constructor must not be called directly");if(this.versions=U.versions||T,this.depth=U.depth||0,this.chainCode=U.chainCode||null,this.index=U.index||0,this.parentFingerprint=U.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(U.publicKey&&U.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(U.privateKey){if(!a.secp256k1.utils.isValidPrivateKey(U.privateKey))throw new Error("Invalid private key");this.privKey=typeof U.privateKey=="bigint"?U.privateKey:y(U.privateKey),this.privKeyBytes=C(this.privKey),this.pubKey=a.secp256k1.getPublicKey(U.privateKey,!0)}else if(U.publicKey)this.pubKey=d.fromHex(U.publicKey).toRawBytes(!0);else throw new Error("HDKey: no public or private key provided");this.pubHash=A(this.pubKey)}derive(U){if(!/^[mM]'?/.test(U))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(U))return this;let N=U.replace(/^[mM]'?\//,"").split("/"),_=this;for(let L of N){let H=/^(\d+)('?)$/.exec(L),F=H&&H[1];if(!H||H.length!==3||typeof F!="string")throw new Error("invalid child index: "+L);let G=+F;if(!Number.isSafeInteger(G)||G>=e.HARDENED_OFFSET)throw new Error("Invalid index");H[2]==="'"&&(G+=e.HARDENED_OFFSET),_=_.deriveChild(G)}return _}deriveChild(U){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let N=v(U);if(U>=e.HARDENED_OFFSET){let G=this.privateKey;if(!G)throw new Error("Could not derive hardened child key");N=(0,n.concatBytes)(new Uint8Array([0]),G,N)}else N=(0,n.concatBytes)(this.pubKey,N);let _=(0,t.hmac)(s.sha512,this.chainCode,N),L=y(_.slice(0,32)),H=_.slice(32);if(!a.secp256k1.utils.isValidPrivateKey(L))throw new Error("Tweak bigger than curve order");let F={versions:this.versions,chainCode:H,depth:this.depth+1,parentFingerprint:this.fingerprint,index:U};try{if(this.privateKey){let G=(0,u.mod)(this.privKey+L,a.secp256k1.CURVE.n);if(!a.secp256k1.utils.isValidPrivateKey(G))throw new Error("The tweak was out of range or the resulted private key is invalid");F.privateKey=G}else{let G=d.fromHex(this.pubKey).add(d.fromPrivateKey(L));if(G.equals(d.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");F.publicKey=G.toRawBytes(!0)}return new oc(F)}catch{return this.deriveChild(U+1)}}sign(U){if(!this.privateKey)throw new Error("No privateKey set!");return(0,i.abytes)(U,32),a.secp256k1.sign(U,this.privKey).toCompactRawBytes()}verify(U,N){if((0,i.abytes)(U,32),(0,i.abytes)(N,64),!this.publicKey)throw new Error("No publicKey set!");let _;try{_=a.secp256k1.Signature.fromCompact(N)}catch{return!1}return a.secp256k1.verify(_,U,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(U,N){if(!this.chainCode)throw new Error("No chainCode set");return(0,i.abytes)(N,33),(0,n.concatBytes)(v(U),new Uint8Array([this.depth]),v(this.parentFingerprint),v(this.index),this.chainCode,N)}};e.HDKey=B}),gNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.jwtDecode=e.InvalidTokenError=void 0;var t=class extends Error{};e.InvalidTokenError=t,t.prototype.name="InvalidTokenError";function r(i){return decodeURIComponent(atob(i).replace(/(.)/g,(n,a)=>{let u=a.charCodeAt(0).toString(16).toUpperCase();return u.length<2&&(u="0"+u),"%"+u}))}function o(i){let n=i.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return r(n)}catch{return atob(n)}}function s(i,n){if(typeof i!="string")throw new t("Invalid token specified: must be a string");n||(n={});let a=n.header===!0?0:1,u=i.split(".")[a];if(typeof u!="string")throw new t(`Invalid token specified: missing part #${a+1}`);let c;try{c=o(u)}catch(d){throw new t(`Invalid token specified: invalid base64 for part #${a+1} (${d.message})`)}try{return JSON.parse(c)}catch(d){throw new t(`Invalid token specified: invalid json for part #${a+1} (${d.message})`)}}e.jwtDecode=s}),_c=W((e,t)=>{"use strict";m();var r=BigInt("21888242871839275222246405745257275088548364400416034343698204186575808495617"),o=8,s=[56,57,56,60,60,63,64,63,60,66,60,65,70,60,64,68],i=u=>{let c=u*u;return u*c*c%r};function n(u,c){let d=[];for(let h=0;h<u.length;h++){let y=0n;for(let C=0;C<u.length;C++)y=y+c[h][C]*u[C];d.push(y%r)}return d}function a(u,c){let d=u.map(O=>BigInt(O));if(d.length<=0)throw new Error("poseidon-lite: Not enough inputs");if(d.length>s.length)throw new Error("poseidon-lite: Too many inputs");let h=d.length+1,y=o,C=s[h-2],{C:w,M:T}=c;if(T.length!==h)throw new Error(`poseidon-lite: Incorrect M length, expected ${h} got ${T.length}`);let A=[0n,...d];for(let O=0;O<y+C;O++){for(let v=0;v<A.length;v++)A[v]=A[v]+w[O*h+v],(O<y/2||O>=y/2+C||v===0)&&(A[v]=i(A[v]));A=n(A,T)}return A[0]}t.exports=a}),Rc=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){if(Array.isArray(r))return r.map(t);if(typeof r=="object"){let s={};for(let[i,n]of Object.entries(r))s[i]=t(n);return s}let o=[...Uint8Array.from(atob(r),s=>s.charCodeAt(0))].map(s=>s.toString(16).padStart(2,"0")).join("");return BigInt(`0x${o}`)}}),wNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={C:["CcRunsaOm9T+H6q6KUy6OKcaoXdTTN0bbH3A29Cr16c=","DANWUwiW7sQql+2TfzE1z8UUKzrkBbg0PB2D/6YEy4E=","Hiih2TVpitEULlEYK7VM9KAOpaq9Ymi9MX6pd8wVSjA=","J68tgxqdJ0gICWXbMOKY5A5XV8PgCNuWTPnisSuRJR8=","Hm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jDFuYBThqR1M9rbg3nPtpiT4OA3xyHX1wp97/i9kY=","Fmfz/i7b6FAkir5CtUMJO2yJ8fdz7yhTQWkfOYIu9b0=","E798XQ0sQ3akiwoDVXzfkVuBcYQJ5cEzQkxpV2UA/jc=","B2IKbfsLbOwwFq3z01M8JAJLlTR4VreXGbwLp0OmLCw=","FXTH7wxDVF82qMoIvb3YsHXSlZ4vMitzFnXePhmCtNA=","Jp5LW3oushr9VnlwpxfO7FvUGEVxwlT9wG4Dp/+DePA="],M:[["Bm9vhdb2ioXsEDRTUaI6Oq8H84r4yVKnvOynC9KvetU=","K51LQRDJrpl3guFQmx0P2yCnwCu9i+pzBUYrn4Elseg="],["DMV827CFB9Yr9npEk8wmL7bAnVVwE//x9XP0MSIfj/k=","EnTmSaMu01WjGm7WlyThra3oV+hutcOhIbzRR5QyA8g="]]};e.default=t}),xNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon1=n;var t=s(_c()),r=s(Rc()),o=s(wNe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),ANe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={C:["DumlkrqalRjQWYbWVvQMIRTEmTwRuymTjSHUcwTNjm4=","APFEUjXyFIxZhlhxafwbzYh7CNTQCGjfVpb/9AlW6GQ=","CN/zSH6KyZ4fKaBY0PqAuTDHKHMLerNs6HnziQ7Pc/U=","Lye+aQ/a7kbDzij3UysTyFbDU0LIS9puIJZjEPrcAdA=","KyrhrPaLe40kFr6/PU9iNLdj/gS4BD7ki4MnvryhbPI=","AxnQYgcr737MperAb5fU1VlSwXWrawPq5ktEx9vxHPo=","KIE9yuuuqoKKN234evSmO8i3vyetScYpjvezh78oUm0=","JydnOyzLyQPxgb844cHUDSAzhlIAw1K8FQkord35y3g=","I07EXKJ3J8LnSr0rKhSUzW771D40BYfWuPueMeZcxjI=","FbUlNAMa4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Ov2qGkTsOV8BOARykCGSKR0OofXetvwycNRI=","ACSBVhQv0Dc6R5+R/yOelg9Zn/fpS+abfyopAwXhGY0=","Fx1WILh7+xMoz4wCqz8MmjlxlqpqVCwjUOtRKisrzak=","FwpPVVNvfclwCHx8ENb612DJUhct1U3ZnRBF5Ow0qAg=","KaujP3mf5mwu8xNK6gQzbsw344wc0hG6SC7KF+Lb+uE=","HpvBeaT911j90bsZRQiNR+cNEUoD9qDotbplA2nmSXM=","HdJpeZtmD61Y9/SJLfsLWv6q2GmpxLRPnJ4cQ72vjwk=","Is28i3ARetFAEYHQLhVFnnzNQm/oacfJXR3Syw8krzg=","DvBC5FR3HFM6n1elXFA/zv0xUPUu2Up81bqTucfazv0=","EWCeBq1sj+Lyh/MDYDfohRMY6LCKA1mgOzBP/KYugoQ=","EWbZ5VRhbbqedT7qQnwXt/7NWMB23+QnCLCPW3g6qa8=","LeUpiUMahZWTQTAmNUQT2xd/v0zSrAtW+FWoiDV+5GY=","MAbrT/x6hYGabaSS86isHfUa7lsXuOiddL8Bz19x6a0=","KvQfu2G6ioD9z2//nj9vQimT/o8KRjn5YjRMgiUUUIY=","EZ5oTeR2FV/lprQajryF24cYqyeInoXngbIUus5IJ8M=","GDW3huLokl4Yi+pZrjY1N7USSMI4KPBHz/eEuXs/2AA=","KCAaNMWU36NNeUmWxkM6INFSusKnkFySbEDihasy7rY=","CD79eifRdRCU6A/vr3iwAIZMgutXEYdySnYfiMIsxOc=","C2+Io1dxmVJhWOYc7qJ76BHBbfd3TdhRngeVZPYf0Ts=","Dsho5tFeUdlkT2bh1kcalFiVEcoA0p4QFDkObuQlT1s=","KvM+P4ZncScawMmz7S4RQuzT50uTnNQNANk3q4TJhZE=","C1ICEfkEtefQm12WHGrOdzRWjFR91oWLNkzl5HlR8Xg=","Cy1yLQkZoarY21jxAGKpLqDFasQnDoIsyiKGIBiKHUA=","H3kNTX+M8JTZgM6zfCRT6Ve1SpmRyji74AYdHtblYtQ=","AXHrld+/fR6u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HIMpY9wbiddDyMe5ZAKbIxFoex/iM=","EBBx8AMjebaXMVh2aQ8FPRSNThCfX7BlyKrMVaD4m/o="],["FDAh7GhqPzMNX55lRjgGXObNeeKMWzdTMmJE7mWhsac=","F2zAKWla0CWCpw7/CKb9mdBX4S5Y59e2sWzfq8juKRE=","GaP8ClZwK/QXun/uOAJZP6ZERwMHBD93cyec1x0l1eA="]]};e.default=t}),ENe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon2=n;var t=s(_c()),r=s(Rc()),o=s(ANe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),TNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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=","KL90Wcmy9MbY59BqTuOk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C3xnC23rfITUFOfOeQSfDsCYw8fFB2i74pIUpTo=","IurRAOjkgmdN7NqxcGbFomuxUVNV1UYaPcBsyFMnzqk=","JbPlbmVbQs2q4mJu0lVNSFg/GuNWJtBN5QhOC20qbxY=","HjJ1KtqINu9YN6bN6P8T27WZwzY0nkxYS0/cCgz2+dA=","L6KoccFaOHzFD2j288NFWyPACZXwUHj2cqmGQHTUEuU=","L1abippEJMknjh23MR6In1TMvxBmG6t/zRjnx6fYNQU=","BEy0VREKj91TGt5TAjTFGKffk/czL/0hRBZTdLJGtD0=","IngI3pOQbV1CAkYVfy5CsZH+jJCt/hGBeN3HI6UxkCU=","AvzKKTTgRrxiOt6thzV5hl0DeBrgkK1KhXnS56aAA1U=","DvkV8KwSC4dqvMzrNEodNrrT88Wrkajdy+wuBg2L76w=","F5cTD0t6Phd363V7xvKH9qsPuF9r5jsJ87Fu8rFAXTg=","CnYiXcBBcK4zBshaurWeYIx/SXwgFW1NNsZoVV3sxuU=","H/+57BmS1muh53p7kyCa9vj6dtSKy2ZHlhdLUyajGlw=","JXIcT8FaPyhTtXwzj6U42F+Pu6bGucYJBhGIm3l7nF8=","DIF/1C1fekEhXj0HuhlyFq20w3kHBdqV62O5gr/K91o=","E6vj9SOZFdOffhPCwklwtt+M+GzgCiIAK8FYZuUrWpY=","IQb+6lRiJOoS7385mHpGyFwbw9wpvb16ks1grLTTkc4=","IcqFlGinRraqp5R0o32rSfHKWijHSLxxV+GzNFuw+Vk=","BczWJVwebwxc8fDfk0GUxikR0U0DIWYqjxpImZ40GFs=","Dw40pktwpibkZNhGZ0xMiBbE+yZ/5E/m6ihnjLCUkKQ=","BVhTGk4lRwxhV3lMo20Olkfb/P41DWSDj1saii3g1L8=","CdPcqRc+0vrO6hJRV2g9GJJMra0/ZVpgty9YZJYfFFU=","AyjL1U6MCRNJP4Zu0D0hi/I/ktaKrsSGF9THIuW9QzU=","K/ByFuKv8KIjpIexpwlOB+eee8yXmMZI7jNH3VMp00s=","Ha80Wl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X03zX7FFKDdXcrY=","GLQtf/3S6k+vI1kC8FeidAyszNAnIzAB7RD5ZTjwkW8=","CJyxsDIjj15JFHiOPjx+rU/DaAILPtOCId6rEFHDdwI=","JCrNPrOi9yuvfHB23RZa34n5M5x7lxkh2ecIY0Ud2NE=","F0+7EEpO4wK/R/K9gvzolurJoGgoPzJkdK+GBFckXDs=","FzQOcdlvRm1h8wWM4JLGfSiR+yuzGGE/eAwnX+ERbGs=","Ho5ArIU7fULwDy44OYLQJPCYufj9RVlTov04DE339rI=","BSmJjcBkmQfh1NXihLjRB1GYxVytZuipv0D5KTji6WE=","IWJ1TbC6oDC/feW7eXNk3OjHeqAX7h179l8hxNTl348=","EsdVNpjEv2886yUK4AxYwqn5KR773kyEIb70R0F1LsY=","KSZD47ogJq/8uMUnkxO9UaczyTNT6dnHnLcjE2UmUI4=","AMzxPgy2+dgdUpUb6pkL1bbAfF2Y5m/3HbbnTVuH0Vg=","GF0eIOI7CRfdZUEozy86qrZyOHPLMPwisPhsFatkW0s=","FMYcg21V0990K98Rxg76GGd4494PAkwPE/5T+Nh2Th8=","DzVoQbP1Vvzl2+RoBFdpHCkZ4q9TAIGE0D7hGV1yRJ4=","G4/Z/zlxTgdd8ST4h79As4MUM3T9IIC6DAprbo+ls+g=","DoaowgCcFAyj+HOSTiqqFPw8iuBOnfCz6RA0GHlvYCQ=","LmxeiY9VR3cOVGKtky/N0jc/xDggyisWsIYUIeeRVcg=","BdeX8as2RyN8FPnR3wMryf+f4aDs03eXLOX9WgwBRgQ=","KaMRBGOlqudsPRUodZgdDB2vLc1lUZ71yokphR2owAg=","KXTae8B0MiJzw6S5HAU1TNxxZAqLvR+GS3MvgWOIMxQ=","HtD7BmmbokmyowYhwF6xLKKcuRqggsi/zOnFIoibR9w=","HHk+8NzFESNlT/JtjYY/7q4p6MVy7KkS2AyK425A/ps=","HmqsHG090xV5ViV9PSNO8YyR6CWJp4Fp+7Sodwl33C8=","GiCtp1diNO7mJz3W+piyXtA3dICApH2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/m1hc3/gi0f7B/5znkweYdAzdJCIPbT9U=","ElB81Va3u8xy7m2vxhZYRCHhr4ctjA6JACro07oGU7Y=","E9Q3CDVTAGvO8xLl5vUqXZfrNmF+82/k130+l/cctds=","Fj7HMlH4VENociJIfdqaZUZ9kLIvCzhmRoYHfGpEhtU="],M:[["I20TOT74XMSKNR3Xht16HeXjmUIpYSf9h5RyI65RCK0=","J3aGSU92RLvEqbGU4Qck65Z/HcWHGOWePO3IIbKnrhk=","Aj22h4Tj8MwLhWGIJqmzUFEpwWR5lzsKhKRSnmawnGI=","HTWdJF8obBLVDWY7rnM/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="]]};e.default=t}),SNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon3=n;var t=s(_c()),r=s(Rc()),o=s(TNe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),CNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={C:["DrVE/uKBXdp/U+KcysmO19iJu069R8OGTzwr2BptqJE=","BVTXNjFbhmLwL9un3XN/vKGXrrEupkcTunM/KEdRKMs=","L4O53yWbK2i810gFYwfDd1SQffDA+wA19Qh8WNXowtQ=","LKcOLo1/OaEkR6yDBSRRtGHxX4tBp17zGRUgj1q6loM=","HLX5MZvmpF6RsE1yIicclJlBlvEu0ixdTscZy4Ps/qk=","LrT5nGn5Zuv4pCGS3n/2FiHHu0e5N1DCueoI0YRGwSI=","Ikoo5aNThafFGYFp5AXZ6g/H2ouT7hO21ffQmeKZUg4=","D3QRtGXmAO7Yr91q/KScMDbzPsvZoPl4I3lrmTu9gvc=","D50NWq0slVWivnFQOS2NmBmyCK4zcPmaBib5/12Q5OM=","HpqW3IKSu1lvUqWVONMpIpcyslJZz3RLahLTBwLW+6A=","CHgFFMzZA4CIfVeMRVVeWTz+Uuq0uUXGws1NUo+z/jw=","JySY/O1obHrIFJ+j9z74ws7WRxfjVW1aWfEZ1inMtfw=","Ae+PndfJOqxLfLgJML0G60W9NQr/WF8Q49Dvingu998=","BFufWbZZXmFNwI8iK0abE46IbmS/PECql+oK51STTTA=","CsHpHFfZ2pGf1vWdKkD/jqPkHiTiR6OHrfJYQpXWHGY=","AooWIalAVLDH+aQhNTzYnQ/WcGGu6Zl50S5o8E5i0TQ=","JrQYAsBx6kyWMmR+0FkjblDBnD+zyW0J0CquKg3Nnbw=","L7XdqAcrtyy6rC9j5GghXgXJ3gZ1jbapSvNDhK7bRis=","IhLToPX8yvJE/zVH/YIySa2KuLoqGNOD3QXFbuiU2FA=","GwQa1bLwaEJY5N+u6gm+VqMnb9sZ9EwBXNDH7tRl4uM=","CgF3a7IvS2uOzP8z52/e0xRPt+OsFOhGqR5kr7FQDv8=","K3tWdKrsw8vzTT8nUGbVSaTzOujBXPgn95NkQIEKzkM=","KdKZuAzUSJ5M91d57VS0jGCwQiV7ePwATBuA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g=","DmXNmehLBS9niVMGOMsK2CGsyFtkACZNzpKe18haRUQ=","LiCIdbx6wSJICPcscWzQXuMOPSA4D/amVZddoSc2kgs=","KYnzrkd8L9N2oLD/PX36wa4uO4lK/Sn2SmDRqoWSutU=","ETYc5UTpQTeSItEB5vrAzpGBBqRjKQo+OnTDzqcYlFk=","Ho0BS4bLWn2lOeEMFz9qddEiqCK4+zZsNMi9BaIGFDg=","Fz9lreyN7uJ7qBKtKVWOI6DCMkFn72yRIS7iwo7phzM=","AcNtqvnwHxuv7ovQx3msPl2l33rUVJnQmRvWlTEO3dk=","E1OssIwFrbSqmrHEhbuF//J30aPy/ImUSm9XQfOB5WI=","Llq9JTcgfK0YYOceoRiO5ACdM960+TrrIPHIejsGTTQ=","GR1cXtrvQtPQLu27erhWJRPetOs0kToTQhcmuo9pRVw=","Edf40fJpJkKComP+ptdZnYKgTHTBJ96d7nk53S3NCJ4=","BCGP3jZoKe2Q95rV5nmXlzRFy0zWvG+VG60IUobKyXE=","AHB3L3z1JFMEg5fKX0eiAgJ7c7SJMBwyJ7cccw121t0=","A4o4m6712afIZbBlaHodm2doGpjNBRY0wdwE2+PSuGE=","CaXu+rizaoDNpEaytLWczQ850AlmpQvq8ZhgeJAVpuU=","AbWIhIuLR8i5acFFEJtLWD2eyZ7frLdInRYhLHWEzYw=","C4RuSjkOVg9uGvbfwzQUGVReWr+jI9gX/tkeMNQpVKY=","I6ZnnH2a22YNQ6At25AAQOsVE7w5T8T5hcq/6FznL+M=","LgN0ppkZfjQ+XKo18TUen0w0Avt8hezM9y8x1v4IklQ=","B1LNiZ5S3E1/egivTN4/9kuMwLEXa7nsN9QZE6eie0g=","Bo+IExJymdrDSaK21XOXpQJ1FCtmS4AsmeKHPdeuVac=","K6cKECNV1UlndXQWdDSz+YaHLQSilbW4s3QzDy2iArU=","LEZ6+IdIq/ajNNHfA7VSEwn5CZuCXdKJuGCecKC1CCg=","BcXyC+8b2CcBAJorRIrogeOlLC0aMZVyltKeV2Po9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KTgZl8jgQdPPs9x1I7ypBvAL0=","FPeudwv36V9/cGwNirTtA/oLiA0oxp0DG0WSyYYQF18=","Gu9QoM7nUbWfkmr0DoA10Z3sydQo6+TndcXMnc4c5Yk=","BBk1YHFy9o66ZcpgBo3+OwhsKi1X0JYClRIUtX5zz1o=","JoY+ndJCVdFXO9CDlZuFbAST++/oPIGYN6FR079FLLg=","IDbvtvmDCWXrPXoGi9CHyfWt8lG6YgUsZSc45j/4s68=","DHEql1t03J12a2OaAplpyjC+T3WnU/hUsA+k8bT07ps=","CAFNqzzRZn4nr8mb+sHmgHr9/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="]]};e.default=t}),INe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon4=n;var t=s(_c()),r=s(Rc()),o=s(CNe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),ONe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={C:["FEhhRZjgD5jnrn3qRfvYO9loZT74OQzeLoa3Bq1AxlE=","CreykTiOXJ5DwNwfWR+4Ps22UCLhtwr0O4p7QMHf98M=","K3y7IXiW9SyajAiOZUryHoTN51SjzvWxXE1UZmEtat8=","K8aw3b4dcBtlcEKL3Byhvw2ln/O7u5X8K8ccDG5nplw=","EjpVoxmAOE89ILLOy8RO1gw4wR99IOknHvq5qQXu/Tw=","A3UBzIydyBkwmnafTfCY5YiwGFi8jrfieeKIO+n7jFM=","HCEW5H4DqGuxFpWwpfbatrmkYLHrlRqwHCWeyj/UfVE=","LBghNIkDLoWpyMuOmmWDm/rtE+V7wPrknb2uv1T1b5M=","Luj+09TSxxoEKer9jl2xcY8p4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=","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+gRSkG7gJ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L4=","AW+5M3cIymOM39qRvQ2uprlyJO97IGJnKt3RvRi7iQA=","LDkvvn0/3kL8pPlHi7Q5MxJYJVNW8YSvb3bxGQVBF9c=","GHoqO/eaafo+UInvnx/Vb9tHxV7s53qiKKo94bSGvLE=","AnGoY6KAoyZB/6M1ELLt0njJhjA1lTLz5Qaydf1dIM4=","FVdFnJx0yUqgDlr2mh4xEvtpU3zol+wMcYlY2WUW8qs=","Ko4myo1kfZpjiFFuqdz/iQg9U55YFowqUMba4w8QnyE=","Ict1IZTPQ/O1GULrAEDrqd4rz7HCo/rpeSS3EPJoMs0=","LCba+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=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vtgtUWh8+nOSaaukSsCQIY=","JsyrwQ6wQyfLXMPd4quzbwlwhsl+c4wTPJ9XB350iwk=","GxauDXxUQIy3X9kx8kZ1HysMPcINeegqJTG3bCK01d8=","EdC7RhvYryhE9J8PhAyU75UYslETRHQtH1Q4/j1BWuQ=","IzAxhHtHa+rQEY09szjokTPsQg1nPlBK1kclnfZVVx4=","H4TpeJW+5DjrPJLcmxhGya0pwWQ4ewautu0YQe2MTco=","J39/m1QvDCu19FvtBU8JYkU2AQw8+UUtInMZMyf4AdY=","HvyckGnlBouqwT0uZkVkG30n6A/CMHcWFTXERoLuV6k=","DW7Ed3YeLvusTxSzvz1SV6meZMPyX+EE+vmIsg/l/0Q=","Dg59fFUBmZt9Fhc7WbfK4fIDvvIa6/ACUYgUOcz5MBM=","IXvvL08SxtzJHCBYojORy3feU8puRNzcbqPTb+oybqY=","BXgMiK3wFTG1D4F+P+RER9KbNaqKOJxx6M8SJqzvaLo=","GHM4h6ays7TJDY5JkBluI0ReR9fqWTnr+4mj7j1ntL0=","ILrOY6z8rgscnyvuJLjp2oW6WX03sJBXIMTxXbIxsHo=","Fm6llTdaZ4asUn7p7O1z7Wv1UIdqvK86yStCyAiwDY8=","MEJiqe/0BArPQ+Mi1vUmdq4vhT7C56gNsAxIjPkXx04=","ImuscFAWbl9tt4zQsS028wW26MmgVRFK13Ceb1ckW2s=","JrL1OcVzgp9qypG6qVRQW8XD604d8dY4WCcX+98jiMw=","BqD79M1S6Tul5MbEr2XbAu6WKX+K0gDy8c/yUudptVE=","LLnCQRLTU0Gs6siDYPtSiSTli27KwyG5+ynmqjNo/yM=","IOiKTWB1Jt0H/gijVSpEZpEp64f8wLE6rI/or9kwFSE=","FURkmivXPjunLzlt+R3WVAHdj69R3jJfuu251TatlPw=","GYAHdFeZVxLETafhdxMljj+Os1S/2A7Z6vPsuvaWAQU=","JdHSL/E+dwXTwIX5f8Tk9pFLgv+qXSCR7GTaxCN2Xvc=","L+yZDvVW7+EDWkZP9VgedA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2xkyEdHrCX8+NiBUC5fA7/4dWG4WhFrHzmso=","L/ehdP/Owphi4E9dvcc+vzZhVwAzV2KQwMH2zYztJ64=","GeckoddCyrEDRV8AQO33RaJpanEITJPjInFUUN1Nb1s=","A+7TiStvDmxdoQWcXzeTmFg1qig1AKgSmQSpTIfxYb8=","COK4Jzv6MMGshQMG2R5Gip6NBQkq7ky8gMaHJIRjujA=","B63Mp22DN3KIOaG2rDs+1Cr7h9cq+Y9S9Bby7FiyjOw=","Fx7zeJa64rECCgpYOb1ReEzhG7QjfVSMFxFp0y+hm0A=","IP/fy4b00AUGTtvClpGMMy0y++/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=","BZ54HWWJbr4OS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r0LDLuVyIOrMEqlJZixppMG7JgaaI0=","IRYQ4q1KN3Qm+t9waLDBpsKZoWTBwaYD6u2USHDQubk=","FaZ9mBBBsfbwnz+evv2GTnedOvCBV3hqwHdQXlDsefw=","BJMn+nnSjBKiyCQGlH938Gd1sCh0aLMTaHdwHb58lZg=","IwlA3MUjJlj/nClpej/UFtFw6MmY8aqF3qDELXn5Uao=","GxIcBJzRFZ4okAfgydqZlcxLq0wm+4iOw5cqii5laWQ="]]};e.default=t}),PNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon5=n;var t=s(_c()),r=s(Rc()),o=s(ONe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),BNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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=","Kmfzum0VlJkyrFYiz54rSTgBvxalAzakUYJYvMaGfJU=","JXJyWmfGBxjfZWk0qnj764DI85WutqIM2DPEsU/vQSo=","A7t/bKQ1RbEfGXISZbQWFmV5y3UzMLGHm3loXR3wv6c=","JBKBXoY/jzvCi/y7lX+qXzkzALJRM+kiG46zFW7VwSs=","Db9k1Y3yEuQweHGWbeCXpdsJqT5bwwXOvc0GMPQzr0U=","J0wGwBFY4Ef/SnkeJbe7PbGQUp349Qtjhic/gQ8Vxqs=","I89AaT9Sq/DtPYQve8hdGiER0Kvs/Bis0P45ke5f0z0=","HaqpJlKPM2j05M+SQWa4vT/42u+8+QDm3MTuY8QJlpg=","EBA3idyUca1xhle+u2eB45vZL9IO4aMtDePqKBegFVU=","AAm8JQZQgObG6ZMuNL/eeNEIXxnp/8iWWkZgpNm21gc=","ExLHJ8tUibsXTh3LgliO36sxopmbN32r7ORm6dzWr+4=","IClKRix9DCWutTdGGOXncxZoKuPXJoJPFfAPfLmnAJ8=","JeDGvom7sEvYORyQzzVYjw6dc/2wYln0egVROteiPpE=","AISguH4LM2yakRBp+J2HWji+MT78Qg0ouewofyiBD9M=","KKA+4p9hKqsmj3YkHVTUd6HZf1gHui4YEvTTUNfG99o=","C2eUGCtyOhLgs192vVWn0QbuakA1UnxNMppvMwaNfto=","AVuaaYRlQo/GhredtJWchJW5K4USL2ppMpQINvrOqG0=","G/5SKJ+BH1w2GfFIZhOK6a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usAH+ykjd1LKinobUUfANF26jW04C+4Q=","KR+Vbe9ZuHgCgADO8D17VNzC/h3Vp13BgNbVvtiYzTA=","LxMCiU/momtbwD+6ppxNlQEjlNeN5JRUnHBXt++WW8w=","BifW1tlNChmhfbRcB5b3243hPSeKKyTJmsXZLQoaHOI=","LuKXZiuv68sB345ivV9Q8DAlUVsQRl1Z86KU8L+7L8U=","EYAplF33c/Uv71Qp2nZrkC7q59lnBi/dh5xgob+rp1s=","MGBC0mL2JounietDI8IWknl1L/7GuFNsxotTvU3w6Fg=","BHKhOsfanr4RMuBfnvYJE1yCoOvZJ43vKzT4znCa7ko=","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/tsy7oAEVXUbhZ9H60cE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yuCjXuLzpNKWTSQaDO60ez98TIe7OwUshwXZA=","H0RQFKDyZggqUCVxUmCcwhkGIVT018EyiHRpVLl5mPg=","LTWRfLHQymEe43z9kHjJJPyEvRpL/X2zzjngWzj2mLE=","BaiaTrQDh7hRLy85i2Um7+dnFpUcUA/I2ryDV3UzXO0=","BOJqo/AmARdPRs7RVZQynk9OW9XX1T1d9shjOpTdAd4=","IE1YfWFSbB4Efh3GttQDueuHMPLi37e8c1DZObrFuQ8=","IcjKIT0vRERq6Qpr2uWEO3wstT7WmfNmdeqCgKKkIOU=","EwO9kh8y+kxOc68hRXxGttaeLmosOWcWIXeHtG6CLr8=","BhOCPFtqvu8UOHRlMX5xO0Ws55wORDPXxNNSCX5cg5k=","DyfFMF7pePT3deIT47oSqQH1EUTOHqibtQRpMPXsVdE=","LK0RxpPGpidTGVCjB+B7MOqKSVEV9aU4iCd5ISDHvbA=","FrslaIPETPNzZmGORsbbTj2pep1K59XFhZWd4ycvgrE=","Ka/lC9ePcsx2NpWXZBAyS/1nFXpczbeuRbAAMuHVelE=","CTKZAuWeUkOnJq5co1QIogcUhgmrNpgTlyWu/imusWc=","BLGADmAMkOxHdrxq8XZMy9wQv1XDMU9CrNBTGtU0IP0=","KY0BELuQ5MNeKTx6fazt737pNCpZG0Mw4nJ2qhO2etE=","Ak6m5oyxqmtAfgImSaoy0bfqSjUOUQwH7uQ5KTleT4I=","Iq46GoHEVQ9foBFuE10t8r2faDWg8NA/Tdk04TIKPY0=","Hw9e7p6auyovSuBNb+CTEf4BFcHhmcKOInBeaBRC7Tc=","AjyGYGYW8xevAiRk81C0vugML8oyBkvL+D6M012sBsc=","KonE5bB0++Z9BMsD7+GMS/kEvsR1mzPa1rLIbr/SudU=","BLD0jE8uBb2kuc+AYHX5wnXfLPYLX9EUcOqnOUqCcn4=","Dt3losATJ60EKmhvRDQXvY8QfJnrfAKQDJMae9jLNJ4=","LKysycnYsABNiTIID5N4tgZ1qL2FOq0dxQZy8TchLME=","CBbzNQh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gLFv25n3m/D9rZcqDfOq3lfzG8=","DB6/QO6qw9Shkt1Q7iXABn9m7/YinQRdWoAQZ2Oczyw=","GjlzHrMv21HdeTdU92EDtcq4aUeq0S1JDUlRky/yByc=","K6rT1BsYrhDEY68WYuyyjGmIUk7d7TaUNnKg6Fe5YPg=","LneNoVGLak+tLoM+QUZvsv6C9PjfG1whjN07fkmvZ+E=","FW3HF5MNZJAWd0ORHpv01GNK4Em1OtqygWmGRfixbcY=","EX8u8XEmkqudvcUdtJaLRfXgEE+eUoEyk0nZCLI+Ixw=","CygbXZ3SyhqS4tg7UIe2oI1qsIMw9HUSqgR7L4i6aMw=","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+IWoJJQtoeLjbVg=","KE13VmtC85E9QeuwUouJlCbggFqtuZV6U0sCKwgaqXc=","CwROWYSIfNozf1jHylCngSbetWJPZEUWI5QnlI19Brw=","BIaXIXnuNJZ5W97RwvyWdMDD9xtYFQycUlBjpvKzQNg=","JbdWgxbEsv75tyVDtgM7MXp7/kBmI+R8to5ceSlua+4=","DOyedMNEGYcDzv8opNESdfbFwVc4qlpUoZJpJh7GqKg=","K8w0qZNFF0yXpl6JeBlEhqmVfJ1zbwyjm5gTCAHRoRQ=","LdsuvArJj2SYwPK+LXPoanhpQKHoxVjY2+2Nb0SwJVE=","JkK0ogjlA+NIBxjU0gU1H0PaGD7ShO16OF73zcqAvqg=","I/q9sJtIG8dkECroXM8eb/ccd2L4utBKLeP3oCXLUIc=","CuTtDqatt0udMn+80B2/N/X2xGdIDIql9JUSTPcLgj4=","CQNOGmRtZnS+8EGvp3TjY0+vitzHxxvC7W4DsLRJIBY=","KBfqILRxpL8Tjex52E+fbAAV4MoUe2UGg99LM3K1XvI=","Lft/gUJcLe9r+k6DPlHpEimDl954/Sqhf20d0vE3nKk=","E3tb23RlI8BR1oC+CNqmsNVMn/cJnyv1zolMJKjvHzc=","A5AOx63I4or3BGgz260/oQJOOCrr4CvLU1JD3cohqoU=","KyhbbCOyXFLyB5hjx1nmoQwz348ZFVHq1T6lCFEctVU=","EkIGe+IgLRssMrecRk4tbJd+b9EtizUoHoTDdYZGE9g=","HoaQ9bCocpuVNu8pIKvn5vPu6AUjexWNmX22OxdSXu8=","BH9RE+Eoe1VyyC7bNp+w9xepHyYe+dgXZKWyea2cE7o=","LYgA8hzWd01aaqWK4s0yWTWT0XO2hxIqTWHER0OQIQU=","J0uhUh1bxcWAZH8Q0aTEyt7vCIaF0ZdpebrYE3VvhLA=","F4lbfBDWpHUxDTSgc3767d3Kjx7unY1W5/5JNMi1ZEE=","Bu7RGun3DfXO0JsabbJYl4z1vsrS9m0Vdhv2Hn3BNEA=","MDa1IcYxzl01meN/al2vkohCzvy80sa/hOLbXe10jwk=","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=","DKoXEcZukwG28l4hoxaD2Av1j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Q3OCNor53CXAeyBWMF/wCb9CE1UE=","Jlqr/Hi3DKmFwykIDWMpoSVg92sBzD1DGnKDAiGTq/g=","E1Ro3763Dowu2v+shlimwisq0VIKwIGcEnry6l86h6g=","IWpB4kMp3tplqKggAchM6ChsYXWER/8b+p2Sk7ZxH90=","KIftSXl71mUr7Yu5muNFrXDRonzbIblGC7b9DU/kguY=","A+K/gmkMgEu27jx52r0YkupTqYEeJCShn65Ea4rknK0=","Dm3OG75unkZcvhTcxhVhGGdBRnbdiozplGZJscToERY="],M:[["Kr2eFre0gomqGc3+xyb6P6FcwWJRAq5RG8pF850zfp0=","G0vFiF0c/I62kYdTANtaDHNirjgYmKyvi2PK0E7LNsY=","CKcvu1Xd4+k8WBhXGkJKVJU2lQKe7bz5Hq6wEnUcf4M=","D5U1mh9oRdSSGJL4PlALuxs9N2PY/HYkAK8Dmwq7g/U=","FvAXUc6YUyiv3jTYFhne+0Pmx7Xa31LQ+CRy+853cNk=","HDkWJjKEV/yvpinz5tM+JVXo2IXjwHzsyK8fTVZZZBc=","AJcPZxubo14+PGQtHguAMgI+1brJHCwQVvA5ZaQsUpc="],["H+n+tcf3x6Qmv/AyzWoxWCeLbGssxXqHEhP8r9ZCeYk=","DMfquxVKp5VerEehn2Q3orjewP6eVoYVD/boixp7S8Q=","A5Pv2WOZqgcm75r3m+i2xxXkKZBsoNFQdrWpkP6nWs4=","CHEjODW3UuoDDPik9DdxKW7rM/aX0bCCXbR9OayeWVU=","GgJ5jwR6Ubquo0/Psmymr+lqX60dLbQnBJe25lBIkcs=","BVZl123zzQ/LcTwjTqedBqMdbj5MO8xlfbpMZk1aDaA=","Ju6WkaY47cfJGIfjAvxV6Od1goakSEWtiP1947sQUsE="],["AM2y255PnXMtIXxeMRSCEWXUnlotQVVrzVPQxNQzIkw=","AS87spyXJ5MYISP1xJMG4Wo6eHxLzZx5ihMbcIVtHL4=","C7qQBkBMXt6CtSdnfa9ETtQ/0eDb3FUo3SzR8XrXNIE=","F+TnO/cB+I0hms8cpjkMweF8n4SxcTggg3ygcL6Eotw=","I0uKB371K1OjQ7jaWyDMNYrWB2DdYCdtSFAV9z1T0gc=","LcP9dzlLe1rBy9G0bm3tW4NdchekxQpIeumjWn/UXZ0=","FmhHdkD6sUxyscFv8BkuSM+ILxIna9Evl/gsbuLmHkg="],["CWZCFspWXBpE/CuYNH6os2kEs4d/IVncyZmJWt601ws=","ER/Y384r07e6DPqT4g+2hav3bXcwWFe43zCRTkhJ7O8=","GfU8ClkrPqk0l6UR5W9mdTWYJlsatndNpI7sBOTZNCY=","GbaDw507AC/DUjt77lpgFIsdvfGN0cMY5qVB6M9moXQ=","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="]]};e.default=t}),kNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon6=n;var t=s(_c()),r=s(Rc()),o=s(BNe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),MNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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=","GNysrGExivZEqw8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M6pBzWTWiK1r/RuovgDopQhqpUNY=","DnLDPtYFVHGtrWHQJ8WsG/dURPxOFJiLQiaPB4fimHU=","HHWASk7xyByDaE1ojEQpqxp+UX38YCyaJEPFnzLulhQ=","CIA/adg+DDOX4J3UeoDPn05CNDcAjKutLlARBFbIxg0=","LRIU7Re/gRYqXdQ6P9zxlfv0dCYETLIttThHjpQrB+Y=","DIWyS3mrV1BEIhNfscsMXh46XwoGEDwkhu5qPu+scog=","Lin1F90bMLeRv6sDznR/lQIC8OuCZ+8/cczsQOkdleY=","EygclKZw/lqwl3OvQmBnQFA1Ce/XTB7Zk7xq+vPWQXQ=","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=","BQihlcDKWD7BAVbyBcobtvaRcxi47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uISKj1xps816e2OhsebUySY=","Cc4QdRwre5C84NYuj8sp/TyKDShuk0EfxmWIpwoUpP4=","ID7FeUF+vV8FbhNGqMW+NM2mbJkB+7C8J7jXc95/Zl8=","IpeYEQC/0L28SVVyquXtVnbs8raT4zkTuPz/5l9X9M8=","AOP/82u1VKAX+U6IEwlXqXXTQ9FcB3KmfOiLsXNts+U=","IiFPncMcF2Z4SEYmCXHQUa7ukiJrbxPixGeGie4TBLo=","HuzKrKI6FEYwnKTD2bfQeWLb+LzYs7NyGPQZkoEmMyc=","G9Us8Ku9MuiI1AKqwKNYMJvIPrdCVu+hftwautGWv2M=","Js2M4qznkRTi7pb8HKOAHQEjRcaHUACXRXNe38TinXE=","HdkhAT5lGeKbmqD1LMjAL/86169qGH7w6QY1AIQG3QI=","EDWOHLisEuVJiKZL7k8elJIfAwppJqANVyNig+oMCsI=","HKEWixZ6pSmL/5bYI1a3OH69HXBDHDCxwMDfgfwECMM=","CNGrJpLSkarvLlCYXIaUhQYVeKLfw3mXIiyB7zAfqUI=","LVl4DdCgCoaVFsagswDtBvb8OeD56tYFB8skwUREiZw=","GbMPBjVWkK+neWk/f5nEpHD4q4q9aYmZPUiamxcYDLI=","G5PJNn1Wsge7Gi8XG1YgjGqhJ5viVywaWeZTRdhzdo0=","L4tF4eB5RIregYvLeFsMi8ru8ATZVhQjR6CEZ+GWGAk=","I5r2kbfW7fJ2H4je6uxmUWnemTmc74GdzDe0YJtstOA=","EmC9KZ2emTIVYQkFWbP5Cv7To282xNOXBy3ik9NM+LM="],M:[["GqTUcKvqojVweRKdEUurEXCUT5KfwXghathH1EMPPyc=","Dh9OTSbp2l+O496vSLSTYQvmHX09sdl1T+yjCHmtxkQ=","DCmMFDVqWn8ibFpUnlkYSQA4Wq/Y6kHZdGcplk73XzQ=","GeBwmC0+5nXhYiyiDROyN15Si2dnBoguuPGv4cUEXqE=","AzPikjmS6J3uVwplASXtp1ogpy5p4QhjoZ0Xt77qkpU=","GUSqxyv2+83sBDYS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Ii7fPia/dLL1A5gxiSAdTujm1vrTQdf/UHSN1zl0nfY=","LUMItII7Rl22U9NoGBgSCdI80S+ET3L3VI1J5VBVpgE=","Lo5n/IX5tNAOnhGXs1vt9Vr9cwCkw3CYfIPBXPc8rjw=","IvG8TsE4tZYSjOXuW4GElkzCYjGOF60h1FxVJHf1PmE="],["D8nMlSIvknFc90dgECJeFMw48xQHHlDg87yexnSoqsw=","L1oqDNDLJIlslIeKgQbVfoLGjc8eIJFnpFrpz4Vw/tI=","LNGbXFW6sYCeUsyfwaA4wIk12hnPxWPnBI1r0ZcKDI4=","JP8phngf5ArmHo9coO8XxaXqe928En1DFUfB9qj1zt0=","Eqh9DFQZ9EhBmEDl5aktJ2rOAJY9mH8qEAiRPZiicRQ=","CvPO/yyGWpAblAbV2bL8WIM9ZC9Gxkk8oDDvWVBh7Gw=","J/QthoQvTYqMOv8vR//B4Xnwl6rszlW7oLD9/VsZCqc=","K2s7w0DUEZ5Xgx5KIYcBPxIWqztjmUXdkqmElDJB8dA="]]};e.default=t}),_Ne=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon7=n;var t=s(_c()),r=s(Rc()),o=s(MNe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),RNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={C:["IIjOlTRXe/OL57xFfydW1VjWbgwHucwAGlgL1CzaDnc=","G4bmOQjEsSr0POxoEDVslNIcnjfXPf/5dCpY4Ow1a+E=","CcoCK6EULRcPdVIS4u3J0KSs4z4Wgl9UDV1Q1aAhoWk=","J35p1HoTOAQkH2rr6USb5uIshJxtitjJOOr2E7wa7NQ=","F7V+oDdU4krg70Jaoq2TGqybpUV6GM7FlFRaI122smk=","EcdAmDOV4PSgJuLHyTkjY3XJB3dV6xo3p31aH9dKusY=","HNhVKQEN1+L7fqQDUVurVydVakecWbgi78WoHrN7x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wryk=","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=","FmKLb4P8NrvB1gApppyEPSdIT1lKfjuo1HzfpUipGl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p/1RD0l7mQIkxhub/bARd/JHtu9HJQ=","HhfkWD1o8OHnI01BkV8vo8e3wEzCr6q9fzu+Bxzxyiw=","LQUJjvKCjXHodYg39clz7Je3VHvfoUM6VScWjun51cA=","CSIMpX4t31obLylxYn0adLfBuDet5ko36OHw1DYFGn4=","Iu5cbTapgLekKPivyZnrCYaK3FK0/M/baLP1+6UY4D8=","G3AVS252z5vPRBEgPbHBnHe8DKi++QeuiktKrCcIQsE=","GirZqDSk1BvA1brDt+lFMQD1jIYF/REu9reiW6p9+4g=","B1qgb0Oic0M8+O4ZboV35foohEWVsfKzb2Rz/9o4OA0=","Bw+ITV0Ak/91+wnOk0yHMwCPmU76T1VlIPEe6Lzt+Co=","B9WpMBIJ3g+lbZ3uRfhICxLTOnO+AvB497nfb5Il3fk=","AQDdSigzsSf9gA0orwQlSgGIUyGM5WWo9hWZWg8kZuo=","Fkx54pBiAuc7z7gQXFwQgpOXvLAInOA7r8Xw5ifg2DY=","Kd7Jv6KhLy+hvJFY3B09HrrR2En61Y00Fj10GSP4/aw=","J9WQyV093c3UPjxA91ed3mRfM8ewzgPVXgeXgJYlf4g=","DDLnG+AvqDAtiry4qyxqPcTpYudZVUAcHmpmFX37llw=","DOzVkepPPP4MfT7fUvT5PWCjEmQzv5ueR3ENKYwx6dM=","BwYnoEIf3oRCFvXyR4mz9U1E8aBhhKqB91qiJzNfJk4=","EW9SMqvKusioufGjrIa/qX/ihYEews/XM/Egb0SdHeY=","Ko7K7PE1WFDQP6Lxp5BM86K6fTuuMKrXo1z7Sm19vsE=","JS7oot+6qyZcBgYAs/bhnyTkkd3TcZUhH5WRjT05uRE=","I+1ec6QiPfha/pSP3vK24NPBIKox4vG0yJBU1SGCWOg=","Dd71ENLHujLkMx3bqTqmiLufuGFzYlA3uGukxioGAP4=","IznNXLdprPLa+1BzvZiL4Vplv4rQbDioLTjTF/D+vo0=","JvtKEByXwGrMmZFQSD1EqnYrWFxCK/jcs3r7/fB2q0k=","B31YdNuiHSYMs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","CJtmg7H4Sdu6sPEJLKBIgPi4lNf4u8uVyt5Oc26iiZg=","LC3Y5mEKBJV4SqCLuWYfviXJCDlrXD8r1REJUX+igWI=","K5YntXnsQBkwaIbh/0ADrrOjMkm+XMa1bcNgexfkJHc=","F49wqZUBpuBb9Mp5stbaRwSfjJiJNmllGTRN3ZMRdPU=","Ik/6D50NV+sMfXGOmc87a6AbUjVI6gyiOj8VbAQIOr4=","APLuHivh7OLNiu8dv8gmmX0wTYjN7lVe9np5l1nDntQ=","JXV3QKsUypN0WnYADiQyjrGj0h08vtGTDdG6LL994jY=","D6a5Y7xlvZMFELPKbhrmLBtGde33nueafygOrmSW8W8=","DMt5Td+HC7kqnLpfhZ+zzD9OsfERfRTByu83vs7Q4y0=","Ej/G0wbxf81aQwnU/m4MwcoA/CPqlEenxraMf2ulAAU=","IhYhcKH4ResKoe57rqSGISoJgUqVV7y5/HLPkPCimWE=","E+OFpc0vval43HdA6SfOjUIsnuhhxDA2JXJCSE5Jfjo=","E769gMICJyQBfY4+uEwmmBDOz0f59X4je7S+aUEKeAM=","E+0pFQJWanAztMRgckUVahWKb8hPS6bwJGwd4FfY/xw=","L/oGkoU2r5HHrDt3FPIE4mxUEUJ0IXkhcJWm5U90Mkc=","Km32VekmxKoCl0mqp8mkChD9VaNoYkwUi15SjUMTGD4=","J9hTHsYSGj7KdNtSQyP8EA21AqWAuKTPhlHxv2ubAjg=","HqEEpE2C++G8HM/UYmzqDAZpNCKzhGs6K0qhKjsOdH0=","HWmjhScgqIdYA02VTepgLlmJEUpGZyUbDaWRVBKsX/Q=","G44jJxD2wc7v+cEIbUnNjS5kf2km2pE8teEDN9fz1+U=","LUDT+Ob546pgFMaWMNv98xafiAZ1dP/JIQ99pZnE+z0=","JOHC9gsc02EBdwzvxDNKjALwDMaW32T3bfVKb7bwUIs=","JAjy62selYzK2/+ByaRJE6wMnLXLy0tAVAF6uz24wE0=","DjxuzSgbouFqo32s0qvDjrB8E1Pa2W6H0U5eoz/47N4=","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+hxO2WvSpJntdYgg+e4cmBDoeA=","GGWGQ/y2NkRSDA+gLc4jKTWkzo17czqbF6hm5Qs+yKk=","L8lM2lI4/HhYcbypeWCyme0N8F9sayijg0hl/Ul0vCE=","GlSpGondfgzodTAwPBLvdiRPz0LDjbNVE9ZcbVmUq28=","FWENjWS6ApUvQXDq9Conz7LRPwTUZzU3tyUQxcTD2iI=","E1l7Rwdlf0N+5CCHz4tYkEKyd0Z9igQ2z2bqRKZmEhI=","LbuV5RFOdAAovF7fWLLp/H44cdPxatDDhF1elhqHg38=","LLOj584WytlZbquS13L2uK+0PLZJKyw2PsceEfhsUvk=","KG6LlGi9LTktrV2Q72XSjewn3nFHzlC47f/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=","C3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ef2oYolXkN2/ePrMd+lHXk=","CTz/EhUK7LNGXEyZ8ES+hdzB66IdQpEywiYN09EupEE=","BZEW2oiggSZ92IggT8b7eQRsMpfMtl+eD+DVC020TsY=","LJSElzc1FOfZhG3qnd9XVTN922YQQ9bGKM7Lj1UXO9g=","LCcpgSvp7UMudXCRMxGcsKFOG26jHBJ5t8Pkld6vEI4=","IoDW1HGPnwa1UamIQI8FFQcORV7WM3fpEL4If7eb0ZE=","Gxu6ElUFrpZ1vOx8mvV5xcyDUzydVVvjmK+gnL+V1qc=","FwEyV3FtPLrijhwnLLaqooRBNgSf+8oFyiAVIwMsZNQ="],["HaUkz/YLZIVtwfXd4P9i2nsYLaJpCPa6blkK3r+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=","HYZJaZXxQmTnoFTMgiSQA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Lm8GCqitw+FPxoiWNVok85alI2cZF7Lybs=","J5BkOmYDjM5KZIiEfY0tou6oSWH4E0sb42lH+ANSfmc=","FZ4l4AMmp28lwRQ6W+b1P6UczzaNmXTMbZPM6OuB03w=","JIa4hDcNSaAD/QQegA8KiYq2G16UeZdGHuMoQkHzuqo=","ER78E2qd/g68/66JQ+Z5zA+/Yv0M4DtAn+zZMqgoGxA="],["DAmbxoJDU3ID+XJU8I37fvwJ3o+W1y87Pgqt7UXhi0o=","A16ezEZMtDHMksM1boqYVH6EPtEyTB6XEXn9Gtn9UaA=","AvNekh2uh/EoTAyK5zfb3Ek2y7sDoDpZGFUv5WUnCo0=","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="]]};e.default=t}),NNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon8=n;var t=s(_c()),r=s(Rc()),o=s(RNe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),DNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={C:["DhliwjL9Cmu1StiWKoK5g4z+8Z0pClX8SdbevQYc0vY=","AeH0XP8+dBaKzNCpRTb8pjFxKJU+tH2NLXm4R7NVz1E=","E2fuw7IMt0lTYY/ZJhBHdV73+Krl/+lvyPfZoC43vRo=","L/atQFM6+irLeMm5FlDXzL0nSwn3jBAEefOk1ylW1wY=","FSyMPZ5D2QrYCUgxp0r4FR/c2gsY172DdP/aaNGl/HE=","JBcH2yb5bfUCNk0mcSx/Rl0KxVl6MJVZsHVAY1GiCXc=","FaTkcooZfa5jA9DN0rbR5BFKn604pTC8pv0Gyh/8H1Y=","DL/WPzY5eMOH1lbpPxHjNph6aHSMj1TzhYh+ZLEHVZg=","H7WUR0uDNPmupv5eMj+w4Kwn0olZIaxk6T5STk/9JcQ=","BaxVNh2pMcG0xWCqjbq8hiS6IlhxvOIkrdta+QFnaus=","E1+DMUJSWF9+ARaSzZrP8232vphQKfIm3iVoA+pwTXg=","CmjyYsnhTYqe4Ra/kM19ZePfVhuzkU4xTj9D8Wf1wEo=","CoNgqDfUyXuUZjPDUymLd9aJG2znjoKjvTn7flEZPRA=","E2ohvROxGFfg92cOEtIykMIxi9rIMBVMw3MwzK2aP+Y=","KmCYm4CS+OHBywI47IW71ri2WTJ6A+jhk8FaVNu3PAQ=","G164HxQ78ybaD065XU9FyBQs6mQNM6yvyN6rFV83NF8=","CJA89raEgmc3o0isqkUuG6n5NF3pEfI0CrcyTQvLR+A=","A7i3F7oQA1oSrk3ED0IQsPBSmug3dm4aJpUiEFY12Bg=","BiPufBnqvRMRU5iJPoJu7iEdrqc/gPpToi+M5VkGAnw=","C8iyQ2mrdmR/4OonjIZtTUW8P5PosG52kB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cBWU=","FZDd4p4RQkoOf31LPg/H5BLQkkY8+VRbfGImCrLUNLk=","Gf1guqJIa/3//8j2cqtky6QLOU8oGDZsdtBbd+keKzY=","Jlgo7fsDkdhggixBGbOc7uwCGRZT+VxzksAXJURO6Ek=","Ajvamjwui7GyJ7Em6ldPl+x3k82AxiykTPiy5BUTK7E=","G3cMgEv7kYsZduM1eriEZosNKqQU4Aft4ABxRxSqCdM=","HYTqq6ZSHrhmtgB0kGnmZD2qgPfeEOwnNR8TaaNynRM=","BzoKobpMHh6YLvAFORg+9kj8RBvoirHcUxWgy7QBybM=","JawJmqhcniruZ4nyWSJYzfXKjHtXOeJn8SA09wV5f4E=","HB8NwirVTanyYyG3k+AUrBuFMAHRVutZDm7FIuaFDDE=","EDdJzK6Q5DSh2WExn5bHROBOwPd8jGUFvCGhGU2mwUs=","CTxHydrV6mHIVmYg5PQ2w2rQDQRrJS0iZNBtmjd+nGg=","EtSKItRDcRsFu6c/58v14HNN9+00WH+F2FClFYwKJ04=","DRSH7nv8pG/rztuD6dxzwz08CZvzwad5M0g0+J99ozQ=","Lrqx5UT2rUUl61WSFS7LRvjg9wzFTnOfWuTEiUXlNKg=","FyYBELwPothZplpRm2ecqxV6ZIXlBiyvo9noUjVD1GA=","FLYLsbgTUzZVt00ZSPr9lMc+HgutK/Pny76ZfEDCLLA=","FEypsYEEtbtanSHXO9lX83MllTmhY8eBlyEM0WyIZkE=","C2mFQMCrInNLrVjkhRX/hFIAUSFfXOSRXYBEQDKjukk=","H0WP35KkwDvOK/ad091OJr/BZjwYd5m7NZWNNhPiW9o=","JsDD+fKr0ZOSMw7pPiVUq7J+03dIHiolUnmNyVKgrNc=","AP6CW93hq6+0gOmF1vqPTHrpxnNfm+CmkkKT0roRRcA=","JN7tOYhUauZSCmwgx2WevSpfS4KBgqMPUZVnSZex9zQ=","C7vNVVwYSq4IkVgsYdZRlRMroUqib65bykz6DvcckLg=","D5942F3t43hDevvsP2ukDI4/Z0y6pR8vxTVVd5zpq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iJtkq3EkskeZeO0+4=","BVVkt4Maz9j0bflu+BliKkRiv+goGwXpVVdZgWfunzA=","CMKemiLsfwJEknOjUTaUm3PeZoNOPwFfRokEOqs0EBU=","ISplSSxuKZJIQWDl4vb+j+x1gSVmE7BbjNQjfqWW3aM=","IOYpu1tsHvB++i/B+PY7EqqSv7QuOOSDNds63yZ0Fvw=","BAhv1sISixGlqlj6Kosl7V5Xxbaj32U0g5qBcpnOdxM=","BlJFz1kUjvPPkj0oZubx9h6lTmoOZQtquMm/lNzx6aM=","C2wbG63ADmDcfihr8bdhmOYaBjz9wmMPdWUGSvF5+lQ=","Ajo4Kd785E3igZ2+3c2b0XzBzCTV79lDRTUtFTyJgJc=","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/AQmzScKz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t9N4BE=","IVJhIcBeCaCr0spu/ltC6/fpEVOCIhyqrmKKM0kXsDU=","APakQ7Dn67C/d3URUS9mxeW74ETJZl2WEJAY2XKchPQ=","EAknUelPtrXkm+oVigFL2ZB4VCRYrxS6TL2SWLis0jY=","ApOJkD0NPCmhc930UqZrSr0278ZCywtX2PEIGdXA9fQ=","K20g5sx8qRb1QmaHJBedjQ/wdBw9UfdFReITkRIXc3Y=","KQC0J3+zoP+DtMWPrHmohh4wXV6zE/LPV9uwWTkDZVg=","EK/cAGbdqbZL3UO4bQ7WK5s5OAB8xQ9WmSUCQM0u4ak=","MB7RVm9SIOF/vUCDpXv0LBLBWmZHroED7conL71fjxE=","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/QmenF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Cvx6jRABxx3rzyczygxxoZ4eo=","Fe6z4FQbzwENoMR62xL231QLl01DnJPhnqTQL5l11EY="]]};e.default=t}),UNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon9=n;var t=s(_c()),r=s(Rc()),o=s(DNe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),LNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={C:["B1KvPG/cyvOGgnZoXwppuXSeFwaoKRe2TsLvhH+ARVk=","BpUD1BfiX0Vox4WLqDNDAcD6GcGzSLx+GKTBrOHRVBg=","JcGxIfM/TPezCOxGMPJ7YD0iqoHKNZXoAcX6fZdwoJY=","I9a1UUW9sygnwUVq9Ne+TC0hPoJcHS8Mn/mbInN1H24=","GzV7zj7z8rdq/CtYBIBa2xTPa/N/4jV8eap9azKsrso=","KOxawIgcHmQmukmUCYlKbzwnb+Vonyw1yQJ+gJRId9k=","LJhiUkrIoHtH0hHJxQTIsL05jQKKz2kOS47UAF3Qbu0=","H25vCsSut6UjQ/MEGAeLQGRM1D4pDaC67pKJHEwGWsg=","A9s1F+Iz+KdtIbL7I8hfp8rMV3dp7eoJquOUB7mvL90=","D8Mz3KQYPatHnFli6wXuS3morG4Mzp6bCiFCJHv9CHc=","Hu0oGXioOVwEKJuGGXZzsPK2XhoTUmRSfiUKXN+ZrKQ=","JWi99lEQNDQ/tdXQIeBS0wgJVP7jV9yjb6XXjzO1vj8=","Ha+t43TmMlHeypcFkdpKKFpj0Rz+ZGYfrdmgAd/4IzA=","CvJceBq/VvpM1oM1gOl8emDqqX8dwytiLold86aRWzk=","E1AUUct9Pgzzy1d0H76N1ZdXyTZ/zEj6Ed6xNUJ8XBw=","GXBF/NzxW82yR9j79shcgPLQZfkjEIVZoXMNccc+Vs4=","GjkNcoE3X6wkm5hV+MZ6J16P+KCoIdGzBcTNsTE8hmE=","F/Bwb34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=","FBjt2I5k092tA/M8oJNhckRLsHEtZGqLzmey5FHuDYE=","BcXc8r1eBOplZU+0c8TUaS6ZWKWZmr1+XN1wbLfggrE=","EURkMR/foR7sFm0gKu78YB5NFpWeyTap6PGy+X/TXd8=","IbcTsP2yOPOwU/bVlsrwciOyqdH8ynWDIaHZF1wyfvU=","Fe9nyuWDilC8Zxpep46HtIvJjjzXv3bV+gMwk93JdYE=","C/iJF8t8Vw9os5Qp2P7g/P5YMwamymkzjDSQJv5mv+k=","GIHwEppkt/hhCF9rNmnc71flaNY0l5gngHcLS8O0N/k=","IFXrcypy03ytqD8E73QXhTaNZI0Jy1AUJXVDChEOic4=","GbhIwzs4drsWiEbROJfN5rC54rKZVDlbOZRqT18m0AM=","AeGXlyMpZM1fJq6KLgS9ez3BvaJbVB89SgWbSPyVLaY=","AouN146HEuFySGpLJ4rI4WaxmWVSx0vS+kv7y6ORNFc=","H7HP9zGW0TTDA1naFaUwsaV0GqDgV4ip1PsgMq/w1YY=","I70zAfWb1lUiX4XEKpRmvNfGSqk2N+4nrv7N8ogyYDk=","Dira6yrH1pROKH3HyDMBUxPT8r6rol6kwdxvDj+8jjQ=","L10IVI73PWXChTF4y8vIpwxIADwNE4bbcogmDSmlLQo=","L1XA6W3nSmH8l03w2oWxGsVEtchUSuWa12y8A4ieebQ=","GIhfc5qcPf7tOc63yO73f9Y1rVLjKU0+EmqSpkxaRUM=","EmfKzpzsPBqW+9pfIN8wnfiPnt9WhKBb/KyxEWeYMII=","KkXASERI2jGyU7Yy85w9T2xq+OPjmd3Tk7ggzexm+QI=","ImAnnDMlg6NgEZc6p2JtToHWOClnhoqWQ6duU6KyUxY=","KOyCRGrouyF4P1TNTa8H4nm8Dq0E16MTdp9mLI50oOs=","FuE1cN7/s76+EYlYsthkcFeMsRKWm8bu86EyG+/aybA=","IojoO+t5RZgHy3dAjJu9vdB35iAnmYb04vCz5frKq9U=","LbWwbxECtyzkmUYITXXyEJrZcHhagynejiJaQQ4kM4k=","L845o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jbs9A=","HEnXZmOjWDh3YtII3IVADnrPG2X7sT7bNG3x8qEKzjc=","L0ByXR61GK5FYu4lygiz5W2sqlEb34LQmfvu5RELaC0=","JlG785IV1tZjKmUqzm/1EYVVrP99TIvn7j4gb0TufAA=","IZjzsKP70L+rB1eNQNf6A+UHYbqPHysBhhPWWwkfPq8=","GNTEaZ99AfoA7a3EPI4fENkqT325bC2ROb3W+xH+pAg=","BZ7bxVNJHsa5QjPVO1MopdJLbkn0VxkLz9BipYIpV8w=","EpphYUtOnkIeZmfaqbhf4UvqqCKzlU5VEohWS9KxRVI=","Liv+TXsyNN9rYmiL3LLIdnWX6j97d5L7RDd+ceHsnxY=","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=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gQoIHZCETzZ+PdCnu5zBGNxQI=","JLTvtQKFdYiP61uLWdQONJj//OofNQgmNZv/t/1PMdI=","KxHt7zUFqdrWAAYH/8vdAniMe1gCM5vpzXTSuldiARc=","ICJ5cGCWzUL5BiOcQMZxPovYnv2fY3QSmd/1N0Xe6N4=","IH7Z9/9XuxfSePgzthz2ePUsjjIcxrzjrwgEp8FZIF4=","BQQcCI1OY3QxsqSbqjdyqbBEPzFh/kZRWujTrAsOVR0=","ABt8e8FWgiWa0IgdzLzgpkoCWcWeo8XgEvmVNPwCN0o=","HsGXEWI+vEnvTYVzJaqd1++1+jzXrVDz9EzMqZEoyE4=","Bssb51F5wZ+ImSDqkxht/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=","CrxcXISJeAKDwTnDb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bMQX1AqYeq92LGryAPASuI=","JdLMmI5HznD6mc8YEFAA0wRnF9g5r1R+3D3pMZaawAY=","HRCDYAAjzM3H2u6+sZeDqsxulCJtAMfKRNr9dVYUqA4=","GUOp74Eav+ZX//klBPKokU8J391bl5kRBHvuS2mABM8=","AfltsTkqOuXL/uTBhj8L3f2VplKZPI8XzhiGnCYbxsc=","EtSBTrsxUzHU+6nfwu+QnNd7HnEmyeYlijyYIdZj13g=","J6KtabnrVpe4W0MeuoXbsZhD88dRgSGqSVFaZe5VLjA=","Bm9/KYHsxMRBXaYuq9MjBCSr/tNWcSH2VugZGnjF3fA=","FuKY9gsmXwb47JIn5U6LvPK0gjkh3rRPBjySQw/EChI=","HBCrOcsEzgK6ctmWBJrWiJYfYPjZgh0XFsWmov4KlzQ=","LNfIp43Zmu3BjI1HRStNWy6cWyEo6zc7ggyovuyXCnM=","IzkayfKcGpntb72bv75ytIhWm/miB63b1OMKOouXMR8=","MEHFWZpR7aM6Y5jrMSMlGXl7AHJnAqmKMZx8y6n+0vI=","BOZJCNefNe13+oGW8HqUjISFErU02b9PMO8JPHl0A64=","GSUekH16kDv6e+2H6wS9kh3BkGLk7Dq8noK3+k4lvm8=","GzloHCwSXK6NOMxe9vrCUvT4I3T9W5BZYU7ME08rKdU=","IXpU3Wjc1T4zbOpJ2Jkl/RKP7mW9yhMWWdMkrmNmlrA=","LAVL9vkXdgIN4/uXBbop4N8X1+Gv5h4R7ajK94dirzw=","H4hhHWwCh85TVD2H7YGCukdfbiI5ie2jXRq3RidfpOk=","IE1amCnVcOIDveSRuGKpaXnXHkgOv/uxPEyzr1Zjcc8=","DqyVxoivqnc6zkhWJSeIFwurppphgQcdHRpODdMgtLU=","IkWgln13esUWAIJWPVgVtE7Q/55DBcZcUD4P/rrl3S8=","G3MpBUZq2SGrJDDL33cqgW0c7U3qaBjcPO38Z//l/74=","CMrxpM2CbRnhwn+XDK0FstSZMbrjabgsMAEQQYefKJQ=","J9gTRCPNmHskn0vtx3c/t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SdaNqSUNWt7PCIRCgnJI1n+Yn9FLXJzU1Mc=","AGYpLmTmosZGc67TZctQ971OHTtScPay6ZglkMP4QA4=","CpSi18QJPGOII7CVcz83F21+dHuiRkW1FawqJB/92oE=","CiJhKNodm9WzKfVfUsdWgt7zNpqxM1nct9IS7vyoYik=","G12oOWY2FYbogQ/tAyQ1yqgKm0dtshKQR07Rl3/O8i8=","L6dd7tKB23NPq6W3Dq9Xli+T4u6h09zuNMgasen8wO4=","EoyzFQsVy8T6qxS/fWdu82grUsq/yNNBnf2YEJ0Z7MA=","BScAsZ721C6jkuBEoJTL/DCO6h9y8qNCix5yG/wyxq0=","ItHmTU7hXmDEWdhR7580lek39akJkDgsl4Z8RbeUAHE=","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="],["HCAH66TRYphGu2lASsyEVl3l0kYg91z82fEf7us/N0g=","IRhlt/nBx5GjPXA60ygPaXVjJDSa/IkSoZuD3izQagw=","EuS1QI9IZBlRc56iflIQZyQLgqpRpC3i1NwegiWQgYc=","AhhcekrYyyHxkAk5bxNKLD/WFNMF5HXd0Z8m9tSz+c4=","CcSy9hrfJFJmFozJGOlvf438Nb0997I/xkHvAbzHHM4=","KB7KFLvDkgkZ4AEVBFHD5E/xjh3RFxQS/15mPXSgc8E=","BTPopFS4zW341I+psKnLKVKTPhprHUI8vFTQUzpyWZs=","KEzPcIWVR/y5w8e2TPCtYuUXJuyBtY6wHBofjsep63A=","BPpWIKLAV9xVKln97+UKkBBoGQ/cPfh2GZHKtQoBpEk=","LSZAp07emvbJiI5faKhPrJKxMzfa2PxhUvqzS1VBmQg=","Eho3ZCaf01zfHmIcPcYxj0e4YjgLoANXhJ2IQAWUY+4="],["IvSdckQHfkH0CcCzU6/RaW46oV/9tKC9uIP/56Gochc=","JVQuB8HBOXm7FPjU7pPat6PcdQgGzzfywC/1O0u55m0=","AIS4ixzkWYtwHPlqM3mgKjFX1Bk8io8RV0WfajTsMvs=","L22jhUUJEc0nLhNgHnzmbCuR2AkwdJL37leK401vX7Q=","GAK5flS/Ool4Yyy+EOQpcFsDaAMl0m6hkMDx68c2LqM=","AFTMgcfR1ZWB680msWzL3L8ZaNd/h6IIHRMFT1ERj3w=","GWgbQkLRHiiqclMM8zp9FXGfGoiP/2JeBGUsd+4rLeM=","Gr/ksc9dsp1AeOUom7FDSYq7vcmvVnIEcKJqPforqFU=","HSJ5Zz9sq/ChxLjuv46ceDYWgLLlnX7Bk0iBn1s9WhQ=","DyRtL7tOEhfwljH7yHcIJ8NnUeatjW+xaBDjOVFDrYA=","L4DKFRsHe1B2coHqXUwfdFf42kRN2hbYFJu2wQYe0Ko="],["GVFSOkJwxUQD3+Mhj9PUzO+kMRTxsZ+ywoIaQ3Rxi50=","ErWgnh6V4NAfvNI0+tRz2O4rqXb6IoJ/+m3QPIslpk8=","LBhOkE17/TaNRJW54wJ/mva5MTyPGT+SmsniTRDXo28=","FvxI5V1k2DAQrVczd+okIjl/w6fmyIr4CKVm3gIj8MA=","LbGsTCscI6AAJ/3PD2Y6+JbYdBW7A1sUnSitPamMb8w=","FwwFpfilXVyf3F6COLNnvjWJF6GaKLTEfkbz5z1CoIU=","Hrf25VICFcFeJ0NVsZu/cau/BKpCbNB9pTbLP5Cfblc=","FBEadL0kcwyDNpnrQbOPHU7Rb88P7MFlW3byQ31KDJo=","LUa0jlCQwMVqOQ3jc/TJogCNsxH+MQY89P7VRikRNYU=","FfMOvfuLjuZEJBA5omtAjceo3nfyzG/tdUtwPqkt3lM=","HulQxFoML0pLZGiKeTXtK2PU/ltBSvoFwaKEZ0QJ8WU="]]};e.default=t}),FNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon10=n;var t=s(_c()),r=s(Rc()),o=s(LNe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),WNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={C:["FRLfATW2aSWJ8HEUCmB0nPd1xkKzANovtK1cbiOtTl8=","KxCa4DftMDYc9lRLL0zljzVliYltaohJSC7T+bZuEZg=","Alhb7OBu/1U9SF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AUeeSwjqZ/5UTmgA=","JNFusfye45Ni3GYzjqDSdRR/inq0tizrJtw+KxbDu74=","FTnU9heNoQIARjWQxu+xynMFu7qTXlp97JQOI226L3E=","Cehd3LAr/gcJAh3JufTvuiynoEB1p4wb/Snd28e+dSg=","Af5/d7osAYKCBzq00iKVk1H3zBbKx+HGeUYR7tBqOBM=","HTIgz3zroZeJnnkv0rUWWAeoN4LfVUOMyPzuaudWWfk=","E2S7Rv58ebyRVqE6jIa3fTQlOR9+0SSgNblBM0BFF9g=","C3DuoPqVlxxStMkf2c9v+13pfmPjZAKPDAsZBLB1sG4=","Kpq5a03jP4zP3M2OhlEOjMcx/mc+sonRWjdOsNBV0hc=","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//4Sawnd8M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rmp4=","JcuQNDRf00XHmCQGmluaBbd7lPvcJOtXgtVWItta/SA=","FbplsyNlvvovfLDFIQ65AapAlonJx0v90lONeAJaYyw=","MBoC1F+ro8Fh+CUKLn4oDVYJD0zsAjRIrhGZ/LxYqog=","LpXG8qZ6E29RJDReOkPvIu3PqAar1zHJGkwwA/og81U=","Ch3B2pDxd606vMs1E+G7dEDY5pXyzwgPu4PmHtKF6HE=","Jv6xBTOouZDczp7ALoe3zTB1N1DRFWpSIHuCzmOpLFE=","GQ6vkUIy+WzdHeS73hN6K4qnuoF9bUsdzl3T8DqEHUs=","HUQcP8R/53oYg+BpZsiYDlhGh46XBx7g6Z5WDv/1iyM=","JwKKgZaVUI5wiC3VagIukS44bbRtvg2AZOEciudKISI=","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=","LmorAjrHZudIW9g8uroBahMMAKcxE0v2ZpLNXXRgY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=","ADKiiNJwGFvBZ7vCG/Q71pVXjPxNrE9ZrSat/wO0HfM=","ASp6Iptt4ynPQNYd4VEY1gULmyNdYHRWXJOTjPm15WQ=","BYtjZF45Y769tutjkQbE4WwP3vK+gmPiO4YD/iAEJBo=","GaWvDCsAsdoHudS1Nbu73fBS/dCQM1QWg/xU+nzs380=","CiUS//lOvQBXHQVnBNXNSj2LAkw26y8poD0KamnUcvo=","F3df5y0XhavhG3Y3m9s1QciN/Wu+yjfSweas8ooA5aU=","FEd3NRMgsTaXkX27ocJSMV/4X8ueXBD2QsQfkGyMLLQ=","DM6HCI02nqJc8gMV23MjmzHfiXkVtws4AJ0IMRHt77Y=","HINgQxj3jBh6gMeLji72a0iIKgkTgFg/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=","Hi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vnhEF9s=","CH9gKRWc93zyKMnPE30l+k2EKghP6kL82y0KFtxMs6k=","LJG0NuIiA/XN87HCGIYmAHMSt+gP/CxwJk/wZWDz9S0=","CLl5PPI/tbDuvSZH0rx9TMkB1wdHFbRFsU+2SlXkO84=","IUFD+EIRdK1w00Me/p1AvtNhggYz4nuRzwUFqJULO+0=","HVuIVgUXF2ckqFMl9ieevZEwov+ijNALByhv46mCIU0=","FMlXfAY9TfqryO7XwyuZoYcCjYZuK5kZdObmOw+Dj6Q=","BGJzN1v0Nb7d5ZDLK6yI7+6Jra6MbiewH3eSSTB0uzQ=","H9ifBjImmQOHsBfr6YX1XU9rHlulor/W8ic9LWu2qBs=","BQIIHzsSUFVa71h8tbSzB9cwwbzRUa3sqlMwL8Lue/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/DjWsC2xGPHFPsrxfKIlwYIqz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f8cM3Fsi6/GvpqLbbE6JYiSGCI/hQ3no=","EUWd38D1krJkJpcGUBwEznvZmFR5eSU+zcvMqj9UAHw=","Dys3FGoKBKxT57Ywhx2yUqHdhDMajTnqApYfk4te+ho=","Ie/K5ll5Bna12RFLgdYEkOtVHWsh9l82Lwggjq++TT0=","HhtWxvduPMJihLBKQrWgLFudubhCJyEAJF2758h2GE0=","EIe+TQxHvPIKgV9gzoA9X7khbx0LR0p4HIXo7RR47KY=","IMeiwQHjQnD8GLTwXSsvWloSmKJZLb8/m2mOSnkdkxE=","LUiG8gC5nFf08JwMNi/TU1rpBqEc8BHiYfr0hzSjsH4=","LebaFVG18dF43k3YidA67uRkAk/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=","ExB6XqKjQGrNt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Pg0UNI8X9ZOpe1gA+1lA3N9/iSe+/8tBfbMKFtK278=","BzAChwO2OID6R6oLlIoqlWWQ+dLeAiKYwDUGNlht17A=","Ku45pRZpwUdjCU+4xC1kkGSYX/HhddiCj04CUukIEQ0=","I2pI/sf0hx4qD8YwW07TUWm5QvnoApc03JpfRQsKQLw=","JpF9dNtxZYAOuwuwWv2M3Hm0cMHVSl6x3trYdKSness=","IXJ5ydmtVov94ZlSJ26KdXAhmFssbBln3NjDpBmKOKo=","H4SiZgL4OXCjiv36M150DiS4+5dN2diwMZx89tNJHhI=","FCn8mlOmk38VFWIoMybZ+ZVKKtgkKF5WO2fSg45dwmU=","JTJk5bRyWZOAf3mdawZtOFAjLs0Q27wB6aDVL4G7t6M=","Hxk94FDh5vxVk544yGkD6gMlK0iRINCnTuKqIDtYfyM=","Cxeen881mEAM6YgnhCH3pettWtw2kX+lFklTc5a9+Zo=","DdPP0udKxkQ/EInEwIhKiQgBxgjBpTtQPrphU4GfkBY=","EeT0PnPBjfUGaD2JpRG0k/r7xP7hTDSoND6wPRwZeM4=","B+lhP1z2VRqX7NzCTYgQ43jJtUK7WdeUYaTCVJNXHuw=","CPJQqrryt7tYoJxs2VjhPAuGyAbDPmD0zfBnic0CQcM=","EHanhV87fR7NW9x8CGA5HFeuHq01COqZTDFTDinFokI=","G1dga/1xq447LqnNMqeFadAOioNrii+U4WUUkAWiIEs=","FqD+yOK9dVWWOW8dHPt5IQeWuFvTve2CvMK45tSmHF8=","L6k5t4/TWJFguwmzWu3d60PBDdQMKsZHFZjErRNoiaw=","L+xKp1Vj97jONprC0jlIan4uWTxMv3R0/CDlFUIn2R4=","DhFY5jybffMtfD8yqX6OQVND9Uxil34o9r4wFBjYw94=","DhGJPDLmO0KnS+2B3XHmNIqby1W/WDUzVYC+Hqqy/uQ=","D8BwG5Q1swW2EMf+DGZ7M957vTMMqUDXHVzNtzMkUtA=","D+5KpwqXWApzldZ6N/VTMLkIRw+4A/0ATUNK5mR2X8Q=","FGd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JZ7v/8CyEnFJyoQBIE=","Aig/fTG8dejsPI8dtM04PATALa/kKmzIMgXAwWU6qFU=","F/ryTSOyQLw6QwZtIY24odiShxRkHnK0G3T+v/A31Ow=","CgOp/HqlCNoyYULmLH1IGPWT38UOFLi4NKuJNDGipiA=","Bxza0JDdBs6kUETyWmrbUpcVlPPhYfYvQSngtyp6lAc=","EfF2WJuCRPVVYAlqGEI+xDRR1umd4WWil3Xx4Fa647Q=","JZ9QwToXb4UT2ndE/DGv7K4OmkECprv4kxeL7ialPQg=","JoBwwX9m6CoSGfFE6XrBqfb5JtjWBrvmbCvHwFHqU4o=","L+sepkgNbKqtCiWjtmDQFjtwGTG39zdR1ehqSPCu9Ww=","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=","DNcm0IWaVcgGMFbYNWrSm0ELH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btGQX7UZr5gCFlQUveC5GhX2BIp5k5r2gI=","I86OQCk5zM82F2pb2DGDoNVKJO5sq+T8f4FN+/Jvheo=","Dbgqu806G1b3/I0RbLVMVP4mJDcCvT1X5x984NRwpA8=","LnA+qa+ZFhrPmUnaevsY1GLYW2cWVtYcLN7jpyOQIT8=","FlEsFQwdL7cjXv0tTw+tX914+NDN5TpmvJAgbILEtZc=","ApiqXVpEVlt172jfkC15HQHZinXoIu9VOxdhxY1v3zI=","ID/SB4qyqPiLdgZUMUXuNNrqsq78oxvASkdgZWl8q/g="],["AY6CIvaQfaV0Xuuc1KnmLyi4txCqhf5yn56nOj7wCZ0=","EHdX6wwHmfeBMI2D0uBX74EG9rZWtF52NhgeETos3zI=","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=","D9O9t5ytkTQ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=","GiM8fOv7DG63Lf0HqitTfM8pHoQJOq42zGgAL/uDY5s=","BfbWL1RRjwOeeapya/FaWYNYPspAYkBUAKzKWMqdIjU=","Kwnek8bjFIz3/1cxyOFE3rtmyoluy+QInS0iy9sJd34=","Ajns2SUXglF095Y0XbKWViIjdg+xuBwJG3SmpKgpaKQ=","KUXLheNFMuOiL8V2cDeXiTzikNAVZDCo3OYcnfiai9U=","ANO+alsSvPG8cFwgww8yC4iBxsLsAOhXaFwFmSYqPPA=","Eee8SjnScwGWtsM0+ZdQ3lu15PvKXWoZ63/hSr6EXb0=","DHyduVKGX7lHD4qhQCU2yzuCJ22eKICCrH+DsQvLbRc="]]};e.default=t}),zNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon11=n;var t=s(_c()),r=s(Rc()),o=s(WNe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),KNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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/tjkqP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aNmRooNFe+zCPV85lhRM=","Fp2gk+els5vwiCdwctT9WNgCFbacomLMLRKl6zDAC44=","LzA0qyCvD9g6xgsCNmloZvglC/LXZbENbaLj7x4teHs=","DjG0+mJ90OXy2srxBYZad3gVQ2IPPrKP99wQJlZYMHM=","KpAHEm9n4WMdKVEvQzpqC8uMlaNr4WS+X6hr6f64pZQ=","CAr0AhW2B4voT7R6zXm1nszv6KkramAz53LCIYO9wNc=","DeiiNNIIhh67Bas4EuXE/dOeetqQR8km77iOHL8uu1I=","IqryTA8eP5QWBqUnN23f+RzGsK3AYu/mQfluMAWvNlk=","H09bdwnPWEvwcEhh6UI0zYkJhR47ISxkoLMFH/qi62Y=","EpbUZCfrLjiBal6BcTNWXU9t7U63K10KtVm9V2Z6ovE=","A/qGdnwfote060W0olWxKYxV0EXGlif12K3rloOhKb4=","CAIoBavgK611MG0iZHjknSX6z7yv9kk2Q1LUqI2Sjzg=","HVizOiqWOLoYDNNgKTCKLovn7Sc0QdXSgEVrLTuNigo=","H4yuc1nIAPMHpiW2b/IVTGxDZOhcqOAZEaY0qkrWV6c=","A5ymby/X+AwXFxpO2Mgq48O/BGLRRRqfWlh0iVhxe/I=","B09+E+dPK3sxajg5lW9L8lQerySXZTttsakzXabIgtw=","H2PPEUjA76ZW1a+FDNAqDYea14hs/K/h7FX+a/StXLA=","HZv268BGS5y0dYNJSie0V2PXpiKW7MoX776pc1anPiM=","B2SSh0YDsCGJLlwqA8cGl5vlV/1O4uBAeS2hbii8isY=","BwEjOMXGJuJn921Cg4iUC5AOAIXHhRZtJ7fsiWCCUjg=","CcKQWeIBPQzizOCyTjlGdlqV8EBSbDySJNKAGhvU/4E=","Hy3gNQmBqzdMm6fqGmnYGyh8LJ+tkJUgWrIVgroOpkE=","DFK6uG4lmjvYwGEZcCiHO4AbTFbqgDb/laZ/Q087dCU=","LyYuBheGcMT/hh9nDHtR755ikhOmQiAy38smdgQmo+U=","KvaqIzVAARRFNDXpcBDb5weGppGl2XLqIRrxL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+c9uLuiKjmzzbhw=","CusVvdM9CceA6xq2hI3LwaGKXGofJQzuh89QbUbDbjY=","A35m4L97fH97ALtcBnIVViIgBEyUv3iMQLSAb+hqCOs=","JwXSl9tKtpOmXUzHPtgM6sOm4Q1XEjcBpSdpCVZHuwA=","DfghsaOH54+OI4jK4ClOiNDC3/gRQlqUCmDgKFpxs8M=","KVn/ypRkJ2akbNg0DbCOya2pFdI1QGiK0fJeNKmuOv4=","Doa4ZVMGu94BdIF1tW5myjZBD3WOG8Akc+QlXYgSCkM=","CPlNwSB24b05AHBeiAJFphSe04+Huv/aCm9LFCZLX88=","KWjkdi6p5u5QE9lrq7JQ2V8wD9gNhtIswJXelRRZBQY=","FVbCZloOdMwFb9RUqFo/vstXojqHncHMlbmNm8SXAY4=","DOhqSMBdQpvkgLnLzCIPOinG7IZb7RCgeDXG/mvuNOE=","Iea16aWlxXFW37jPWoeF0hF1mcJHr2/rV3u0TnUkU04=","BETGVZ8VpdbzeBvDkuiOisWC5IfWDeEs28NXyWI+SsQ=","F82wg9shccdiEZj1G30YkRergOSqq4F2VjQuGws9wfQ=","DE/NMvu7z7J75BqUkuxVQllpyRQvNlNRx9I0eP1os/Q=","A3pHoY3qb8dl5s5s571Z49EQOracv5IG0cL/TsA4lXY=","LBS6sXp4ugAVN+N6YwNXq+Buy9vSr3QkzhIl1KRBS1o=","EL2M+6zVBf/Veiv6p1etPkX2PvN+Z91UHvB+lXmE5/k=","DyoLamZIa1X9gnOkU+9iL0wdTj2XXDTVOMvYRAo86cg=","KXtOtIQ03FNC5MmiYsIAMxSAoCEJFjhjgFu3D8epJhQ=","Is08xVK4MQlUtiti1PepGGTmts959V8kTThIBJRqd7Q=","Bc9Jbq3I6gzLNlAvRDyZs0e/cCPy1/vOUS4cWARfuyo=","HgrosILTcmGQpoePS4iJ4LYpfSfePxg6qanyyyq7kNQ=","Kygv/vieHDqQw1m8fIATO59jQhXDDB24KglQEnk8fBs=","E7rn6DjGOKQamWGrgVIPQIyZIQc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lLhFk1XgkQwHcD1LAnc+3sSSZrXaKTJGvN/H+mZ8=","JKFg3Ts/GQcfIxEYQmUV5/df0/1NmEedhV6IzEDyoUY=","JWLasBly3NIwdBf4NWywluWlKzmJjXcAyQgv5mGrWqc=","DHH8hUTYv+HrV+uLGTRIJfKADncoh0wNSu7gnTf8gBg=","HDjO5wnqV6VDPvBdTz2P6F0nWVq1871bHoGKdrF+3Is=","FgIhOBbGDMIA6LKu5QnaTeiVLKb3dfaVGqF2psx40Qo=","CaBGxnuYAlVNMVgh2hw9EzgxGsqikYIiZFVoWzpqGgQ=","CirHOjtA8ujZO4iOFa2WlaB9VvAtFy+v3DJume2UR18=","Jkl/HLPtg/YcMnlfVGDiMgoLBWEX/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=","DL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5eKGyrDJb7UEac=","DQ8qhvsNSN6ogEnSvLZnAwop1yHkwXdtQteDu8/SKvE=","BGCviPbRGvtdGR5IhxL9ecuWEWhESRtCd6wLXvGbRDI=","C8F4PDasyt1Puj1jTp9yxekCX3eEvT77jccgluLFYDI=","Du+4ePbrFYnXpofpSBPZ2EI/pQ2zTejV66rBMC5vRdY=","AaxAMZZQHwBU+o1LVmz/23+B9ClTjbm0CKPcILksEdU=","HVvd59ZKY7rMJYW4oUCC2NNfO6jB6FffH3KcUuan5dw=","B5nfr/Ln1jBBSn3bD97qED4bw86vPMzgd8hzOGnlK3U=","D+D4Fu/XSn66XI3V56iUOImWJJLxQ1Phr8eO+sUO2W4=","ByVhxnrS/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=","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SAmF5pP9Tq65JjfHPonjE=","B18xka+9IdUUl6JsUkZl3nQxVxIfCTwSDZPhgFgur4w=","C9O+khMSH3ecKysKAkvoK1GOG7wTSmX0QMRHap6vWF0=","DJvOlfLVln07WPk9fgPJMXCRfqU7X4sn3HCh+qtHTN0=","HjsE3uauZjVyLjVGVfYDLRpcoubXr6DHewvhkvTwxvI=","DB/DO5MZXyqsA/5u7z5BEHhMfEgyLjDuUcvXj2zp2Ts=","KrYEJn2uEklFUOHvJzcI3RHBdmZ3D/DMfAd8k1vyr4o=","HGmYX/eFWVGaAFLqBeYI41ys5i237Mu87FWvPbkVZGg=","FjNPzUISVjmM3u4IqTRaUn3stxoB60NST4092w2yTUg=","B++N12ZRUvhdAJOc+6vP434rHvineoRWiu/gHx6bXqk=","DcxCbciL3sjChI8tiKIAVxuKASzQhw/G6guYFJT1gng="],M:[["DQZN7oJJKNOfKovn0vpYMiPDOZV4TSKIOa3eJVlZJZI=","Ky/18nUxtvPWqF114+CPOi8NrDaApsJtVey/gDyoBWk=","C2WISc5iC77v8jO30SJYAV6p+HpTkPVhSYHrbky0pfo=","EYEy+8HNg/lRZ8tEc9VMa9LEF+J4Ll7+oW5y1HtItw8=","C1lEdo1hwbNWKldJ9PBsTdCFu1Yrg41+LvFKIf31JMA=","KwTW/7r3FEAS2SxcYhKAPAtbzA17GVC4idH6bz5WRFo=","Kb4qQoNK4y3jMg+w7ka0wQKj0a5ExdzhUv3qtUUMnEQ=","GUb+neCpQ9WnFurAhWHNkfkDH+yC2pq3KIPHshixHrc=","GvPKYkClWrpV345Jg1uS+hfjmtVwHvcPgUQQn4lL8dA=","CB9YqRpODRAOA2n92BoZADU0L9BnfuG/UhXkf45YwsM=","IqhSr5BoCoypaItx7SfBV9ArQGvWx/2BIdfHeTrSMF0=","Cye6gqD/uYNomBc2rpJ6IngomFwAw+XfjBJ2sQAQiaE=","BLRlJiB+3HCg0jyEOLxJo2VjVVLe4kBmGize75ZvIPY="],["LYxwA1cxrZ77qS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11W2eD1htnnvu4f9lW45TbnENOI1I=","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=","I6bhQyhOjyOMS2Mq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Ok6PDjIk="],["Iny0O5gYkk8qJYiWSgrX3fo99iKEtLOxAZmlAe2XBiI=","FsfFxhYe2jLGW7NHZVrKqAvMmL/AI/SrEvWyqJnzfj0=","J+N8aKAVMPCSzTfEom3s4nN4aNwsNRlDXh8suI8Htiw=","Gd0cbUUpgkitSZUx8zzgAlBUWNdheOyiYpjjmmL7lQE=","IV9VY0ZOLfao2qjDRHakZeTun6CtAfxDmbZJsuB9Fnk=","APNtFm6ZE5ub/BrDJwo9mMSvqBv5dDYHb1c4PaUENqU=","Ht18ferySeD9P1doqpLp2tZBGLSRvM4SNAxG8hCwfO0=","COF0Gpf2NI7W1o9Le8bsiy2/A/QmdpzHec7uS6G+sD8=","L0qoZB6kE1Ax9Nl6ei9nmoy8pWK6aqVOrn0y/30E29I=","IaCkPIjOJu/7+LmtZoBWtbA2LlAJ89gAM9tHMij7f8g=","Axs2nQEfIZ5Kj7Id+TUoeNk/+ANbzag0w9zEHDwt+F0=","AgpyCDV5BZy2WZUtPyoB7ZDSEAInW16hHyCcdjuqhFc=","GfEXcQSbW+gbQ8qB42EfQQikudwwzRIkQfdDGcOtzek="]]};e.default=t}),HNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon12=n;var t=s(_c()),r=s(Rc()),o=s(KNe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),qNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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=","IcrVIcGr7EZL6Zp38MD3kqWq76EEu3wD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MejY9Zdi4MvhW89uCj7h2g6JlUalA=","C3R5KtTlYk+Uza9SKNj3t2QedZol704w6ALjB2rQkAc=","BAeVCyRTyXRYC5ujFK69SdiQUqHY6ypgb620BS8tnd0=","KbjR7IiPJ921L442bLB6OCmoIb/VcpbfZntJaZ4klZM=","JdDCCpAGu6vU9RYPqeq8ZIx+QVUqB2K101DMFR1sQCA=","LzVAreLlfybONqzbu0GYzwoX/PBMbJJrwyg6EaZh31E=","FGlf+NogkE4H/vVFqxBP3w3Lr1tpo7g0hQSKAFflgxI=","FsfyhTGn3GdOjyQONddbCMZnOZWka6dGvHGPQpEv9po=","LiwmFva8AgG+kIlByDw43Xz3nEeAX/k71kDrxVLEygo=","BjvKLYkQChECG+w58RWQ7AhIggbgFiVwYcz7xhM1cGA=","D4xQq6OZMQ8wwgHXvmmQp7UGHVLh3sXftZ9p7JPXr58=","ELZDVCGi7bRNgEWlEzKwUPE34ms31CmNzDMhMiW/FFI=","DaIaCOX3OiMblOINxRPyaBuxWtEvM7rj1fcaTA7Ml/w=","I4+tH2lg1hmUfVCdl+/ds+LvPjDxiiZkLigoZKfdtCY=","DrjBfu0uMwMpQBtbpZZrus4RXMyJNCOybyJPuirxF58=","GX8SAKKef881N7GHVU3Ont0iXLvYAxEgxX/amiotbNc=","AH5Z75onMiD7ZwnsjRuDEGmzIWnKqY5/Mq/6cytVuCc=","CHmPQSzirsqlenN4KVVuXAW+qCLOgfhW+cwJXGumV0c=","LEP4rcwrOeJiwlLDMJ5f+9btc2vA7R5FlzqvUvfgBj8=","CMHQF7zx7dU+Td3AEPm5l596DQ3D/tNNu9iw78SdGWw=","Ie0vF5e1GDonGSV/8+sdO/qJbmEZkp396A+jQZdiciI=","KGiGtgZ9YnlHiR5ls2+NS3yBxccWrZX/ROkRsDQesMQ=","HArjiliwzT5d+WyOX65fmxm3rF3Lg57cQhOl+pbJX2A=","BUPyhrglTtw/UyO/bKRwq1Dq/0anXgluqaIVUIqk98w=","Jbza+01bbddz17PPy6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U2hh2HR0KQTLw1ambzAzpDMG5nwzebPDl7jXOXlxM=","JUnHv61FyxkxCCjMvTtbgDJYk/P1N79pALN9lswQJis=","F4U+aivpK3UhSWBek4xZ7VuYpRteKY2/Cj9C54XsYRw=","IvuRh+gm+8NAVhVbZCQdGVoCHBmbzpYUDEWgZrdV7QQ=","DgHbsC0E3tmSFRHuC0HUIqR98az6hczoQ0GzoaQVFz4=","E+5674c/iistdhLNLOuIaU2dra03kX6NMjy/f/hdvxM=","BnKEBaHZbn6RIQR8bp5PqRllzVabilXJisqox5kFhuA=","G41MHZDxORmd+NoE9tCYs46PCP8IFcfFDscPDyIda4Y=","G/UPl6KQ9T3Zk4e8nD/9/i+Hi7D/ex5HMdw4+IBtRps=","BwhWTMbDmd4OO5bcwG74d/g5Ipqq6hUmUnuKu36KHHI=","Bhz0wiYK/iRyCT4rGNW3pj4COg3SMy/BHLnHeSU2nhQ=","DBAS3S9BaKTubI21x7UcjziTTp7INdD9ErrBr9I7/6k=","AQ0seycvax0CFgvXip+/VW/KbNIce8huI6vXSXeGrSA=","GafexoFEDalbGGZ2C7ikihe0kfcaYb1Iy37NnwzyosM=","L+o32vfHiFWHgqLUY2vIsSoCHWgGVeFtRBlOiKKEbh0=","CTGBMCtE37wGT+t+9HnReIxbnG528AJHvMH08o2HNk4=","DVYvfcyLGle0fnMWwoMkcER9RrGgXRX7h9NVDVLjELQ=","Ax12gCW2UTnepXyCNCWfqv4ooaSt1fTeCf71sMU6gAo=","DIwlLsEEbyiOxjuiPcrGi5FHlSge4t/OXDEor8Z5k5E=","JJkjrj2tJkcPBxxW2T6opMRdnsvDNcGDVeDIlhqPN7U=","GP7dr8mWEezgA64G1+08p9aafM1a3ON3ue3a5d8gpno=","AdZK/f3pm+hNN/rrN0CrSETV2xeYNG4+Ig6FQk5OAxg=","D7jebKQz5YbHteHLCjgHaea87PeK5NnhwJh5/Z4oJHs=","DVsXyURwUsiYovS7Ie2CfrnTbqw05Ju74YML2pNfA4s=","Dyt9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7A9CWm76S+/TbSbY2oqSHZBg7Z5s=","FS+MR+hjQ9l4AyTDewhEaBsabFt23HqjpX6VftwKr94=","CZ5jOl9V/LgONJTCDmxgf/Ec35L0Ws1hNAEe+W4j1OA=","GPiMfdXcUH9jJkYQ1mi42jsccENYM2cYvGjqItX3McM=","KeObQsMsZC7zYQBFEhjaezPXy+e8WIJWGjpMLzC5DC8=","DavmeBJR3wIwpwDvv98lsHdrW1XigWvpthTDQz6ibFs=","CaH7SMdXXLIV6YGvr2+k4PBZSfr69+w/Hrwaay4NYf0=","CVStDQtrnGY7GTa0MBGUqcvmd/mjjtC1RBIjNLxQnxI=","INNAvaJxvuKfCT8qXi8ldYD313Ov4/1gBvtdnJRh0zc=","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=","Dt9E2inuQYbD663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5T7SmV4TDyksf2dJBZI5qpYv0Xa21hIubVa60ndE=","LM1boETgmQLlQLxYr5mIYRlbjRuWvelvBZziFYuPTSc=","DiQaHojBZ2ss0rSP9UpHPTtejJXaOcJOhDdedPdkDrk=","DWT1W4SgpSSddFLLvNJle8LO3omTgBae82rPc8b7Qqo=","J2z5gbPISFp/boqFoMN7/pSF6v/UZ5aCnNFw3x0l9d4=","Elq3BaDzWmyecON8+Cy/0bdKR85N2MY2Ug71J8/UmW0=","Lt8ryxgrbBZdd5RqIZpUKvyTg+mXYnGxnlhc26O0wDQ=","AwRFk+URXIv0tCvMc3TtofM2sdAM8w0Mbg2LigLnCxc=","LJKI0HuGR0y/JNsnt0Qh3UE7kIcM/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=","LpCIcnem5ujZY3mXm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hR2xc=","LYLj1iJY2xoDXmCuz5DPw1wqaKvM7oRtbzDce+ExNsc=","Fxe/isYUarFO0y3Ho0D4vAFlve7lUiLU/A0bm46HMT8=","L+qMonUbFlAF/FeZy5ySjT9XGf03esPVq5iM/n/NC5Y=","ExIgICYWOFM84dsYGOru7To+VGGSXfr00a0lPQDA7ZY=","COY7lpFvyIqrMxQPbtR3QkyvG3kqzX6kPDKEgIizW2E=","H6rQM294pRjiIJ1+hYI75T6tUG37DrSRBmQSH02219c=","CeY/LH+hj9tvocJjrV9ssMOedXQalL+fMsWYQ0c2kXI=","DVgSvNOxMFHypYEWCMswlo3k+cNt18T204/Kqa694fs=","HO9IsdYSJriYgUgVnoJvlC6TlyzjYFH1XQ3AGfnr0QY=","IT0/SoAXhNQ5CbVHnNFZy9Youviwdc2yy+9VbcEgYeE=","E3eISlFUTaeKILyifAM9ZmwFF59vDDtXoUSk18FU/oo=","LCAoIGxqWOprP7i9cyk10hBDn2z+toO3+gtfLZBB+Gw=","KRwpyCZRTSgH/mVrwurbCl8mRBGxOBsNhe4hXkgGpP0=","LH8mfTkGnkkCWXyeM0i4SpUPkdx+7pGoBheF3gwjFyM=","G9//9HWXM4frjNvcua3HuhyfYwAKMz1rWnfFudDvzm0=","EIUE3mwyPXvWxqVLPHssvmfi+GOkg6/PjOxNZoSeKCI=","FDgwdYcC2ih5GRB7eW8+LEIIU3cEs1XvbX1K87FlGcY=","IMug9ETFS31EbpVGA0dgu8sh6U9k1rTJqrQTVto5/jQ=","DQXxEB2omMqANCNMV8G42QqEBoz0JC06TcPsanG1apE=","DVjJnnOW82eRuSHva2Wwb4fDkbZud0v0DaQq95No544=","Lw01uRj7rlIhJnTSwIasNf/vKJ07/Xg+dhg48RmGYhQ=","LPSGgnC6PCiPTeKemF0BF++PIDIjW1A5y/rPr5W59u8=","AUze1VZJJZuSrBKL1uGxvbcRUmRMTYGMHZo6DjpG6yo=","Dxb0lmMzQdFwnhRN4phG9/saQOQbs5CfQeeRt0l5X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3xB429hYOUwG29Hke5iM8lc=","H8qUMoEDXtcdiY0WHrwkb5zwQTXDJVy4fK/G4R4OcVw=","IRJ9Vvbf69QPAm11iku4WR0+HUjBLih1PMcUMaHbHs0=","Bqad/euegHlqY7SmmCZgk+G6dTTrt+Kw86tYdR0Mv2A=","LApXpctJZFnlR9Q2bjSp+JrauCH0GLmmxwqhxhUSzmY=","JhhY9zf80IIBUZZoY6EQNDtgZZJrEzhwkSxZXQ+oA+g=","B0li1U8moCkJ+ZvDfJPvcAQ+fMUedzpehz04YMV/6eI=","KX6yC//7s8Pc3PtW8LDiIe8o/PT68FKlKEwEv3dqCHM=","G4xxGwphCan7quA0wN9lDDLdgM/FmBgW26Wi07qIQkY=","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=","HCIWccp48A9Y1dVDnA0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pOgYHk2tFCj4DO2Q=","A0oUlJFOdpgYXViGRYK/6C/At95q1j+TFxir+CONKAU=","HDGd87JoC9jHFmlrXSz1A+DupbEdXd6OlSF/SqtqvQ8=","EsKclf3r8BRjEhog6zOgZCXpFKqexhv2ZbwByiJY4cc=","G83/tBCwCe/aZ/QF+jP9Eo+nz/NzCzhg3ymyvVYeGsA=","LoqbgMzStDh/DsJMqg3a+3sP7hys40LOsY6RIj7qduA=","IxSetlW4ZAt/52scDTtIbCdJ5keo0g8ptfkrL8ZNeqU=","KmUGleN7/qisyZiRQzX/N23NKXWDJiOE4n+4BaIiP4U=","KQouZPTh8XvznV1FGaFSgB/8LSA11Iu6DrGo+COOhpo=","F5eGAZ02kX6Lr6aClHHFgdUyvxC+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=","LJPBRU0MyG60HfEiTZhpcA7eeDZH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hAxifD2jzXE=","Ee5TvrHo7k7BBon0/kDr2TzRyf4G2BLpalgzaENewrY=","AdQtLdnSNyUwww9NYSJzLRzvjeqeLr+zsmeenw3NBMk=","CGHkSLkv/nOOGK5noUOHbVWljBYvdNjlVnFNH35ih5I=","GTeTv+XHuQxtYUdeic8NQURxKPKA2MbF3Uvh/JBy7ys=","ASawXuEkyFqiscEnPCHDzv597TmzBcXgOaNfkCTMElY=","BWncwibC4hWuaXuMYAEBHLrnzlNfRagD3GD96dpQyDo=","D+YXLdWv6P8OfjP2SZkW/Uxf8vq5aWN64y2OTP0/79Q=","B0/yxfAIBg6J0wllWRJgZ5zT8PWu0zFirJrJnaELq1M=","CG5lRE1TZtghM9jK0KYcIAZrib4chw3Kv+RTZI0rawY=","C5vL1St7iZplGgLDJuBkrGqXvnRXu86JbkZdc+k6+5o=","AmngNcQpxL2u3Dk9KoeXihwvjKCyWwhepEzlh47FBrs=","CeG3ckWDsOFqebp2cGNvh+oTShniDcPscMAce5RmTa0=","JkylZRrnuE9D2IQc+ylry18Z+loGosTSGEtUw9Y3CTY=","JOStjC84//37UDpN1QV1xaEkJqU0Y1njpWVK8BiPCqI=","Ct/KzvarJi+PydL2FMD+SjJzyCqeczXl4OCADYHoeHU=","GHrduXxKZDcUWGbPJw30pXunBZcP4eBhmg8BaTMGXSw=","BxBwLfhB1O9eDK2rcZep7xnXUkgIu6Vt+EWi6PFBvKo=","LgZkqrx0tcVNnQR79UcORevHhAJhWSc/HS9eR1nABlE=","Jxy3qukUKtcYQqdwzGXfGdfRAtkjVFTXxgCnNaH6Tac=","L/R1+dUiQcImG59SDSMi9SJo0omgKOl0dC1An9i7OwY=","LTuyz4Uw5pi3ce3mZXigFJ5WGzZtUCpuecI7M8UAwqQ=","BcgLWha2pZ4eNjA6Wbp4LNcUB/gyc/N8GepUqWHgytk=","Fwd8ymnu0o8h7q8PAEhpLNMQ5rqHtlt1lN5ZAqgp168=","Ltvk2ChpYtkc8akxdfklsXTPU9hVko8vE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ybSrCbNdEHxtp0W7uDXp7SBs=","G40gnWayway6ukNeMEriBmLTNtEDML6zNVz4AfGUcz8=","EXOM7TkzxLJ94TkR23HM1Yt7MTRO2RU9vd3bkfvbzqs=","HpfOATr6punJk+nP3JquyRsGeHgZgwmFpy6ffG5Rarc=","Bmq4vq2ue+vSajOtvWuzktaCXaN6Z56K+a6LxIE8MWg=","IbN75SGDXDK2c6Mdca7RvH8+qW/h1MI/FGI6CoUaPNg=","HobsCGgFvHcSt1EN72USSbodSRB2JB2Z0AxpKIDzmnU=","B10aps0rjRgcng9CJ1yYhK5voJGG/iJ+XEZz5W46zSg=","FCqDIGdHIA/bAnc+dm9QTGWvgrIAwOf9lC+SviPVhr4=","DuRoPI2lNra1B3Okabu94uQXoc+b4iFSCvHnVZaNf/Y=","Fo53Hp+PhgxJNn75GaANTxKLqwHBPX3XLOjTa8bR2DU=","DCpDkGcSFEnB7z26a+H/hParf6xLvVStdTnmGCbKGXE="],["JMxnUYlAh7gxWYtbx/nbPLtIzilNkgjhqkNstfougOE=","AzzM7wWwvPe3eqVWCg+UnJC+XMLFcSL5iF0koRfGP5g=","Do78hc/r3ilc5YneYK7A20PIH0vn2kTrJvpLcffLfuk=","Cp1+5+6RZ3r/08pPxnRiW+iX33n4LsQ46A8eAAyLH3A=","CRdbH6+s3A5itflebKZ8P/yWom43z8c0eVuS8eRhJNQ=","MBawdMgUIl4tXBCRqDA+7kvkdrFFitVMFrThaR9rRyQ=","DAmYYVReATpofN1Jo6KWqNLC6ZaRwlNdpxLTUdXmPBA=","C3Gga7dbChC/0oo3iL9UqKFEsyh9+cWRomQ8QQD+OI8=","FJN4ecTHEnZEx2W2Ni+LmM/TL4Vy16rZzDKb7VtQemk=","KPngBY688VkbwAfLAqw6zeCFFCfbIMc1jb75+pxXwro=","DfZTUk//kt3o7ByaUcG+wwvzak8B6bO2LrE/j/33uL8=","At/PsoCj03LbwVY56s5FwLrFYsROKS8UKbyRZXj7C/0=","CzRYkLM8I9FnOWxY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j/LDZunPsq4WMBxZkhmqQlvFNU=","FzmF/hfzsPuF3mEEwCtGw9ee7p3Ci1Z/AqsaHA3exXY=","IKmmKEz8Q4F5XjsGg36VloFf1bbxYr3gL5fbaHyEef0=","IXqkALK2Jbw2QypUXlMxJPmcHLmOuF33RzGehdUwRwo=","FI3JM19iH/+cjS+nKpz1tv66vh9c53aJwaKeOTGF+6M=","Ds+sqtDBR+Czx+BJdx5tQHKwLuTRccDlMiQhTRet41E=","E2WpBMf2chAC284XB3qJqSu4A4vSevUzM/RHxM8DWoA=","H7pxO5h0IxHfs/o1b/g+7yNM6L8rDUpS3nr00lGfLxI=","CrkT9l4c6znti4O9XX/ZAOeFEe2rz+YjFN0Q1WeFjY4=","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+KbkNE8QVAZ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TQ=","GjJ/8sRvWWn8rLRjUG4QLWglAjgfw/mZuf+9RSC6RpU=","LAy75GQikXFSyhkGRivLWhPvU2MiqHFSN9oJuMWUysU=","JfQQNSHjbVXkGBYu+Ov+xtRWlVIO9HuFSLo4tSon+/U=","AHlA6wS2HsU0HBcC8DmT+u0Wfbb6LOqSKQzYIbFf5MI=","KuHsnglXfILJe0sJFCrOUaqtHffcNSzU5YE9jO6cmNs=","HJf8d1+WL+Bae2Y0a5PDJgyPapCn9cYyI6M4bhmFLq0=","J3N/zXbdKWwogXZG0wsRaMTQDh92TEVlyqMnbe/RXH4=","FrYbJC1B4ZdYQzCaAaNqFDl9fI5760r72SM7RTqszbo=","DHW6YPjg9q+hJudXA7g9mQgRYUe4sttF7yTzFWuPGFU="],["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="]]};e.default=t}),jNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon13=n;var t=s(_c()),r=s(Rc()),o=s(qNe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),GNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={C:["FI2eRUIGaxJdptaf8/tnbr0n5qOKH/QoG9Y5yXr2/9U=","C2CiiAUyQpX8r1G7iNlpI3LL9O7xy6i4XLwFk0ZpGog=","LTj4Eq0desecMv3VelbtuGGIXyD6S8bQ2ULC9B6OSn0=","JXOKzRFjWAAzNn/Y8e4ZnX6zw3iR4GvCDmtHagNXWIs=","JH9pZ/ykJomujiC1p6GY1jCGVJt4wWIKUfXTaCTM9D0=","LiKBMHemaLK3Ukm41RWj3Nk1AgBmlCRbsIf/BzJwi5M=","FSPqib5hvkfhw2sOAkBowoxI2nS/cGmrLXc4nIPUdPQ=","FGaVzhOCMOCHtT7xv4FgHyWR3TRKfLUJ8TiTk2ng0cM=","EtBdlXH6S0FxiG2cLNRMfX/FpBJRlefSjDxHy1y1t8U=","JCchFHCE1GE1Q3iJdxEfP95siTJqVW41vM0qLnPKxos=","D9khuoOVpd3oM+bbpBczhQB7ONGvXjhBo0XJpIDJ0pI=","Dwu9x6OeUUaSny4cqftKY1UM6o8SEJwdguYBl11YH10=","AA1lAIWIsu4aTe4DE7bUOWlS2QE4Xy4a/moKDe92XcI=","CupWe+MeHELOM/WJ2QM2OkgvIcHD2P5Q+m3wGKLcfCU=","AvozR1ewPexr4d91jr4DUzF7NTFuz8cpNNBp8YI0a70=","ABcyJ4Kzcz43nIkJrn2pRlXEbdK2sGG5JT14eh6qm48=","FWgW9I4++Yj/4EzHesTImvj++EgmBOf5O3XB+xFk1g4=","LI/5d6JzUrXX2ewQP8jwxye4SnePQa33d8OOAYAK/aw=","LMIly17kuitwU/mK97O0iFaQFuz29JQ9ZLqEMJLFkik=","DTTXqLj0mr+kjHOxDyk6yhngl0O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Z+dng2FgPVWBEnyqLap0PIj7FLEEgQx4=","JN5S8VayII2BvxCceQ9Am6qUGreXivhvvA+JGl6QT3U=","Bb3HIFomvxJwBlZCXrrEjRFQ4C/ptKywekFgnXFo8E0=","An+BBlQtmaH5A1gq11cHbhivzlYzZ7Y9XQlz2AmTo9g=","B8ryvDeF23rWgbtsBd3yRSXBnRUZqYG0QEWl94y6UrY=","AjC4RGYQZsI0SDx/32MkSZIkU/+47zeXV1Ca3dgc13M=","HFE6f/i9+UDvDQHnb9TsGQhhcOiMZClPc37yC2YZgqw=","Dg6Xl5roZLVfJzcebG5hmre4h849hh/t2ErhEb6kDgw=","Bi1GrcWRNHhM2vDE37bJ1zWPMV8JSHZcj8vJfsPzjrI=","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=","Jp8tnOCY7u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KQ493OPKhJuqKRQo=","Jl6N0fphlGGVLM0dOpbyqpSQbZ3wc2XCjdPpOiRPbuo=","FDoFj+OYeq8cob8sN2tJeTEO9Uwpo+ZowSTlr0N5AsI=","GG7I8cO6cK2DTBHOp5YnUNdse+hpHmeb0ZWmXf5pjsA=","KBjrAxmYxVTJVwhCGARY0UkxbxTin+FiYAUHseUJUq8=","CM+bF90sq8It5oBysPO73kvqxctYtXUhnHD5P+HsXeU=","CimKnwRKFZC/tKaDUCfJSBpAbHZe1chBh4pcFLHE9O0=","L0BQ5LOxUBfGwZ1Bd5DiL6bSkmnTO1TYAcSvmM9mLOk=","Hx5QNfcsujoCJqBEf80oxrshHaX96SKUWMj305dKBqk=","JXY/vJQhNdqF+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=","Jvz2yoEe3yZ72ADgsA9rSeYOWhPKlE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9fUQE=","BYKD2agsv9jwFnU3OqY9knnpu0Y8IlrniVqMUaeUvxU=","J5e+SMmcGaFB5XzuMreEX1U5I7CEdHlsvg6555sF+OE=","K1SJYRbMRd+qRyBNUVYHXR3smM/KdEevTpNFfsHZ7G8=","Gy+tLte67j+z0hl9ap7cow7OQpJfE0geD3gBchGfsT0=","BrVOP914XgmfeRyU+r/GLDz3WWPCGnWmDmXaiW6jfcg=","LzyJYzZaQFiovnqR5uRR3LHXkzqoSEpapzWWg8z6h+g=","L9mSnciVkw6wmGYe0NFS8oaL/qE+iZLQimklO56a/H0=","JdHr6OnsD8bRgrkG10dJjLn6VaKY+Pn2ybTMLrMmrck=","C25lNrowILviWfRascOLL102hluErIJBcg0ozfvDQSI=","I7i02yLo/5k+Etm4F1fR5+3Gw53U3kfvbKyhR+n61xM=","HCMr9hy3096Ldh/akwTCRCCwWf0B1Cx0aTGSrXdjTWk=","BtAYSiH0WT2vho2VYORke1KDiSUm9qf5xe4mY8Zm1Wc=","HZbsrcNPDvn1qcEGUdb/4/r6bWxxB9ipLt5AbCKd75M=","JdaVT2uOWExl1woNn8W1dbX+NOfKZtgnOSjtS4/RkwM=","ARVg0FgXtxFq68Cw482mUOaMD1KPYlk68TWH1oO/Pjc=","Cke8VWob32Oa7g6v5s9+e5AWebGxSkfb/6Gxmv34d6w=","KHr0k9L5Hv2eEvO8fHxODgTf6J+p5oJC/EGNrucze+o=","EUmAMk7vhfkMOHeug6SABau6sMPA999GsyRNhAGbpas=","Ly8HTJvCdtn6FyqB6VS2Fsr6yhEJDaTDMPN1nGjqwqU=","E9GaWXKK/dpFg6nhgMy5sJX1tXKehmhRmCcRkDrc/hM=","Jg8Dilv5R5CyLyeW531l1LUxQKsYxhevfaWbseutj0Y=","AnCUSFS3cRFb6drjuuYAeDjoExH/d+M0dVw3wvirzLE=","KfupCA4iAaTQnxeZGdj44psit6/xGjw6G6i/02iAcy4=","BzXVUZ5/nPr6npQ/9U+QS63TwHgSpxFVV502GAOw0wA=","Ej2IunjV1jOtT0547CgG1kKtjSSqm6jW6kOT04xaeU4=","Lyw2iabOfRw2qkKQbdi2lL51Kk1WQ8yGNVAamH5jjao=","Cp83yQFFayow6NVtZa+vfL6Qs6abRxEvapCe4ciWwLw=","BpbRpSzZZcYbgzPP758UfafL2u1xvl/MCk7tOs/70D0=","LfZCBtnLfnY9lMcuhdom5hR8oCI29nCju5fQcFzb8f8=","D5JO7sCQsSOuZ4pHqj1Muy+8M9LqEK/8y9Vb1YAhzHA=","E3aOnWuoVMVXEk5+zy57mmo7weJXUcXbULaBuD9eTms=","BSV/EhNTjRGK6EuJ4q3efkAD4EKDb9oyplqmPJanAqc=","Lt24VMTeBYFIJxV+nXYA4FPGhjRlN3dlkskanFHvrv0=","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+2eYKYBNZzTavNetOndLv7moM3vEU=","JB1tUL5J+3lvzNNiqvRbNQvP10Vz0UTHPnq0LjBHAR4=","EUcnqBzZEHM1L3+APPYhgg3nec18bCuauHy1s4JzfUQ=","DYGE7u6v87L8oaTNqznklR46VzJ93uUWN9xtJEZIQvk=","KWmY8WJwCazHkTrwVrw0KANF7GqcJ8c4BO4UL+CyuZ0=","FFsnPBHFdsdXiksCKB2bFRU3dYhLtueIQFxIecDtwtI=","CXPm9Rqc9Pvsp0FlVi16ZW249kLEEFooQbG5NImx5zo=","EugbAB4ekF+dzqUStR/2PVVIjVfNJf863UAlzzqfZ/k=","Jy54gKF59XcdvnCufX1RyiiRQSDqHcOrhClWXNany8w=","FVtNOnix1wX2zmJL9GXYIyX+9wFnzXeEr4cocrNIoCU=","CSA+YMMdr2AHqe8gyy407KnRydk+mQIeCjg1mL/nc5I=","Ea1ID6cts7wWlcm9Zy0uCaVOcqyejKn0X/ihxz8PdfI=","Bf5O4wDEiwzv0DuHBxVCZM1RPAyIO0Y5RN/tMEDFXc0=","GCoinRBCnbn/ClJYcp5wb+koLGt8pgRz6iNMoToxv+Y=","HvTStmih4c5ETSE/GtTSPebMu/bPWpPTFoflPpZ/ndQ=","HPLTvyQOAWkcxvu/I79I0h65uInGKUzBjR+3nJuaU+k=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BRbE1ygp6Q/Nes8t3zVEkMMMlzkShHd7do=","CQDCbahVfgdguXHjWvWGbHzElKwvvyDYYhMESexB+bo=","MDpFUIl+23lcamO2DqM8xe74L9BEm2ohGat01V5JwkE=","FyLlqENIK1mwea7LmVxD1rgnXhQT7AilXyGLgA+zB1s=","IKiqGgwvtM0QqC1wLCwwEE8A3lrZkQOnJN61Lp2AHWE=","L5gNft2rAsBrb7IDmOenrPYTKvGmBdDK4BgilJUvUjY=","GBSJhwZJSR+EkSx13/3VXNDcALCHJOof5DFH4Zltj7I=","HdC5VK0uZazFykZhU5GueLbdJTlXap3kQXVVNW+XlL0=","GU95zqYk8rylHTaHBlIaYtxHOUcgmqXFAIODfBbuxqU=","KunCROSwvOQrG1UFOk/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+sRENdblmjQ2KSNoHbn3NLt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rtcjx2ifxOGBo5Y+xQ=","LompDMSt4+IVDK2GK2y8StQLj+Z3mo5h78SCf15DqlU=","JwOBUhfVf7YmM9pk5HdyKbu2Y/zKdijqNRAaWm75kck=","LR1XC+CCDo2Q9u7Iu6doIekO8gnXBWBNbkODLch2ApU=","AtkFO4hjumzUas/6CJHAcgvZt4+hZivA+EKh4F3mJAA=","F/Syb/MRsbTVTnT/pFrSg1ZbZ370Di5OGaY11jjY00Q=","LmgCDKgpYwha782SUHOmQnBQ4EkG55MMEz8YidEjAm4=","JXTDDaEMJ05ljeqC89WvtY2hqDTNJbf/pcWWZTALHrk=","FcNholWFImqGZVEB4PDzE2x7d3UhrCQJ5W5mbKRJdj0=","C1ThyL/ilKCDKDldxs06NTEIIhFhzXD73xGMOVTKuck=","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=","L0AuYK7Zxf6FufrOEsKncEg6zoETL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Di+11GrGgS8c=","DldiUOFWDHfKtnKvFOv4VkAkaNLpsKwD888pcJ4T2TE=","IlHydv3nfJmNQrXa0FqiX+mKkIIAtEC8t7q+y7d+f/E=","Ao3M93xGfHgYGS1Hh+OEi7BXxJvgmfYCkaLx5I3hg0w=","Gy2+kjb1on7VyeO3DgmUMtMk84DzkVjhGQaflZIRM70=","CGmSC49QJsxDz/GL45D3TDVYbNK2lDsp73sXvu0neDI=","FvT8sYM2Gb7mZyBqLJHL2RBVsQeDBZsL5S4bZW1nYAw=","KlDNbmlC/KdKzRNARcKIOIOHI/32UdoCvzs9d0E5CCQ=","La5M6CmnAYLb3EGo7aiWURELLJnGBWWuM23yvSr7220=","Lb/ZRH1CFPmqy59dKSTVRdBzECMMFGmvoDsoO4x+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=","KzE3s6dk1fNgQjLMF90uirltRqffnmhBm058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n2GkTZgMQLN32PN8ouXU=","C9wHix7dnLH9LCoBqXvffUWGSEOfrB8oUJtBotyed0A=","JWWhemvFboewtjZkMZuKR79mLB9J4uySUb5P3zPZD08=","FbCFtetnj4zt8hv7MOLWSuHL3XRyRJ7STmA0EBxliGg=","IryWy+f4y8qBspun34SN1lmQNf9RW21IVVCELho1ocI="],["BZQ+NhijLPBQAYpOI3X00Ce4wUrIKg3lfLuQxRIqZLQ=","HJtcLAf8z9ncazq/4FZ1/Jl+t7jL2Ni0y35nFhWw7M4=","KQp65zL0dU4MuRkjySSJcZMmB74ugpFj8RYS/4qVWxA=","FDTs4gnUkSgMWuBdfibPktmbtyiaXBysCaOM5TtuA98=","Io5zmbDgWAKFK91dXgmWbwPEw6/1PGg+svaeD8whwLs=","JPD6FU/MbWRZ1sVvcR8l441X6QvnuARsngAYFe20FAQ=","GIAL2heomDL+pU8mdB2Gxrb7nhWwLnvQZVM8tWYdKpU=","FrEfJFAqpMw7DCVioYokq4+YZDGyRANNP8KVVUArX0o=","AgqdV1/qiRMCsQZDmrA6ipUdiy7ytWKZGUbrJUHx+60=","D5wF9gmtFN6+r/EHuVrM1g5iZiJZkFEFq/r6no4I6uo=","CV8dtDyCfm8LnNT+kp57jHjJP9AuyeDxCZL+t1O0ygc=","JrwA2c0lEkRCgy2Xq9kIZtP6ekAb84vZX6etUmVI/qI=","Fz6AWWdWzZruBL1t2dwV5Ljrv+/jdx2YGb1NREcm950=","EqZD9KMnrNJFRRTdRpVR42qw4/JOzDsop23B84IU/jg=","EeGwr39fyfBJh3FUrhc6GnLHvDuhkuQ4qdD6gf36SQA="],["BgN1UYD2bpghXWHlNGsRbMAM/QWCdNfZabOvleeLszU=","AkOTC6Ad/TlF8qoC1YiSK0fBvvL/gCOoSbTKZqG/6Ys=","HrUg/qxi5FRfT+fNtnXjZHS4sf0Z4V18c6Kx37sj/tc=","JV373zBVNBOh+PURPWDphYODjRPhHB7gKyWjh+oAzM8=","GEURMlgbmt+ZbGyuFbkt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mFVP1k24xHnynSPx8W2vPLiTDZRW5MU=","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=","GmOlidFxCqcFE2y1IML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4tE5Y9mi0WDL9q0pJNycx7yQVw39Atd7VWUrvPMo=","DX2Cc94je6LU1egFHFvV4xLSmLZyb/vTr35zKvkd/yc=","IuvgoxXge+SwkoiF9SRJsBGzln5RnkOMQkzAQow1cm8=","Au088CFPRE1DZlXgOviu4rTZaWHuoG6BM71ujT44I08=","DLb6Cl4RuRkqUZBJOdRaBa+AVb3qPzefqsKdEwmDDoU=","A5WYoUQ8AJZ4YCuN00dPJ22l1iQlCD7GKKFzfozKPnw=","GvVuZXUSP5nF16t7g3cPD9YPufQDjClCZEBp48JDeT0=","Do2cBwfcW/gKLwjDQ8acxlne+GYwrzFBoAOss9PpDAg=","H23Y6F01l7ttN7R6HwYxIgFMiIJQs4z46C4+VHHvhKk=","DMj5C6to5t6EhF2hiZv8UkQL3duUCyCDAa6UqVd3y3I=","DA3PKxNVLsVclxZr40fKL5OwfioQFkCW01P6KAx5aCE=","AB8SYRepSd/5APpdERoM4mYb2dVERXfEkamVHPtYGS0=","E49n+9nLke9SBtSMq7JprEK9NSzzceQzEbzK2JrMUJ4=","EUkrpAZDXzViOQb/Rd8Rw577Wf/wn1AfuJPXF+NPnWE="]]};e.default=t}),VNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon14=n;var t=s(_c()),r=s(Rc()),o=s(GNe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),JNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={C:["EeJ9p7fvlklIozKXTQfM7qd4vDOu280J3iIvoirQsQE=","H2A4G4O0So/mWg9BQvqq/F+/VfeRM8V0DFPwNqMGW2U=","D8HhrIrTUk69v6RdzFFXZUgjTQKSrf4c1wpwahttrdg=","CkB5jq06EreLzY8QuxXLDEJrvSKCqB3NwHAITOeLjXY=","LcCdM1cFEVWYfqlVlENrbL85OwE19R4vZ16l9GL0qcU=","EEuSQdU0JkUy7aGB3h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pxNrXsExKiVUgnxthq5M=","BX3gcJTcowcjamqMyz8XIHeFSQV663p9r4pGO6GMhf8=","D7B5ZQ1e4/eGA8YOi1RTE75ef31sGmED/XnxAKyMoQE=","GNl27Z1E+3Q3MguR0ylcjjNue0AmWRSbLKuusnL7Br0=","Ht+77xgBQsR8TH860eLMgb0CCr/MtDLuMnyqIuk/9F8=","JRD72gwbglYpCirTtFGcgV8Dl7uMhVBa9nKut9ofklo=","FHg86b1Jhg82TQ5G3vpmbTYTjcQGJVuSAJBPwGDPBCQ=","EA4AR3NpwMZ3j+ZTaXRIFjMb/jd9sz5m9jrOMeO1aFc=","GuqTtRcmqNcEOd37fi+HdL3plrcvnLAMw9fy7i4MRcM=","CxTA32siItl3ITFhQBIpdjpVG4iWlN/TDoDffm92y0k=","CmQ7pyUxoZKx75yCdLqOq3P7GmTDlRtnJynGDuysNU0=","DDahLIOkRaaXmxOha4ehK8xjXO2MhCHvmoyyg585awI=","Jct5Ks8UcIDTo8Lof3KcXr7BxDiY4iL9DlCpUYl9XTk=","HhBk9lRINVSG2/osLINXn+9kMd6sNQRvsne1iFsJv5k=","JkQO5PxMR303mYDBg0o7LzsmHX7XuRPilQZ27SD4eFQ=","MArPPpqQG5xoG0Om6ntILL/ESV3VElJH1Mmyq4Q6r8A=","DSeDPaitzCFdmlMGlsUmk7AE3hUsZHGUXKehcBw4Scs=","HE6PYCS7eWMz+FNGKileDMFqYJhXLvWNFZpSjPiGquY=","DbOOEHEhjvDuXXeseA3Oqt8c953J8k0vPJ1YQSsaWTk=","D4pCPQQK7w7d1u/EafTdnd1/5ZGkruOuOQbaenf4vCI=","CdpXDVXi9kyU47LnouJV8FndNi95amkUKWZ1b62FkME=","DXzVwmXPtbAaWeREjGfHrdvCwJsl8HiyPFINeK9ABX4=","LJxHvEwzKqwVrGi9tGSuGTp0XBNRx9EjCyYfpAuV32k=","GrE188gfw5WnuU4LkRU1kQHsdedq36FFKXWTk6F4nIo=","MFIdQIL1i486ErfI5B0f2W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Yi/dxf1SvOusEnCxzON4p/Ajk+8=","LpUt/MkkwIECzKfpVl7t/s54llCDuFOsH0Eox/PXhpE=","IZC3f5YzkQZtbSbz10Yg7DXlATdrUpnNP36cI7Vcyl8=","Bb6RnFLS8dwNCw0WH3unGVUQIIquu13OsIFfKpEWhlI=","C05LPKiqg0Yiy//7dubzD535l9y/k98ip77Mj/mgZy8=","FiBSKojDtTHEXVHlNj+U+TM1guX27hw8t2QI0RYUT9Q=","D0QuomiD+OGIcV9YQaaQyys45HnYrXB06JPvGePHOQo=","GoVb++gKeIatgd3w577dgMHg5NG7AxMOAwNdU7WbpxA=","Bqk4aGEiM+PWCY3guBJmSQNswUsc48exkUmhfKogtm0=","BnFCSWLpI9qSZhLpwGYWZcSmfFJCZ8Rag97lKBMNTEQ=","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+DooMgexwJTvBYCLdq8znBwxQnniqG7b0nhfG0=","EXsJs0c4OXxhY+9kfWCWnW95fP4fS0pVtZSQqm/1WKs=","FXN+WlsxNA9K7FeKc9huTaYcvU0aVLtfufrDZ4p2L+c=","GWsGclE/J59dsgDRJkwDwexfC+AAJVo9JW7cPrcT8RU=","C73OA4unkjAM2xjmidLgZ4oJXmnhCjpWu28rGMB29pg=","COT7XhROLYZ8VcyyzALGZgYL4OvD9vqpi0CXSlPc2sY=","JUzFOuiu3IMjtUakBRb5rSeirBr++drovafVai1rqmg=","GixA8ZhN0jON5ygQIK14Tf2TbKN2qL80kcphywAocgQ=","CwKhT17V++MPmLa77puiXzeUmUKAxjO33AOjqb9TIQA=","FSKLRNuZFeVq7z/Q6WXyvQWBZj3Nx35baphpSAdEFg4=","JO+PojIx80yYseGcDistJTLqEEjwpFw+xgXMp0F2Yxc=","Jc0FqSZ+IeLQtX8i/AfKMyc4pulP3i7HL3Zre91FZqw=","DO6mttht3o1jE/fW5Rme0jpmNphMi64BE62tmKz3EnI=","ImPAcBtJMG3x139vGhRybStu9GW95LlQSS6kAvkBRlc=","L7ZW9N8ChBJI+YpGMDaTN+RD0YFuFqPB8ITDjwBe4Q4=","Dm+e/rQY+gtAFnV+EuZBR2C81FmOZB2JS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JiXLG+Cf9jxeA0B5jRC3dMBDIdIjQOXujSzErqPckks=","F1IjtWu8dKRv65kaT8VfAvrRrJuvx1x2yj2zpp3c/yI=","Is1uF70UJrE+dCITYG8VWNVhm64l/sab4N9sMeprmXA=","AzMHkX8vBYrmKVYR42A2qr25Gg+586S60+av3yg7GDY=","DHTifVNqYnSoq5HfevudTr+UTGgVfEE1qBmTYyukEUs=","EbIhKgjLh3zLO0pWOc54Je90h1+yE/B2E2nKXYepqAk=","LIyNQggOLpYV1MjcDyDDwwBdzrFpfZYj687rY4um7vg=","DWESTQbNdbqgjUY7mjo6HNH6O/bKUIOZER4gbcGfe+U=","GKjM6eeqbfPV6zVAawzUa4fksI+P3JkekftZJKBzQMA=","AUUyJsdXQrhA+3HxUePlNGZIuaB/wQqsMUhdfA8HGoA=","DrBfUgZ5NdC1UXrduXrZE09muSHID75oVI4MCM+45g0=","F4g6D6+jfQP749pkD9zfAv6oIrz2EtfoLgIX0420Ago=","B1Fsuz9n27wFC9LsIbGLudDqmXF3BZWoXEhjYzsOGcc=","H4bvlHFEOyalnaZ+HCoiPkV7rur/KunwCQxVDDC/4tM=","C4TsY1XL+0OraXCdT+2QZoXwJhPZtIYS84zeM8aenwM=","GsAWtA0w0mcjxb206dL8caG574BlzQjM72bKmM54lzA=","ELL6id5FRWBhdqAEVozqbDOBvpYS6DgVRnzEv661hfE=","AL9WdKXqHOb9TLdc5/JnEOUQY5s0NU5Tyi5mMbQE1eg=","L+FDmZO9M3g7ohxewfKNq5cUej6GZIZt0EZo4EwBN7g=","L0A759OMpzNnaKOpx/ZWaShTYo9DeKdKUt9Ilv3MQDQ=","DhwXG6oLo+gl0kLR1wRUuDPD4j/onn4iPUjezYgX25Q=","Fy/IYcgioEWdJ+B4P8YDQJ+DWRP3O3HVH/MaYvbk+4c=","G7niRUozw8CMvjHddbM9nWZCzZsKl4wCUfW5HwgjUjw=","KSk/hCLU+W49xpT02ZhGzNbNW0p4ZiYl78cgNDCNTDo=","KbN48kRq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xjqdg=","E05FZ7KQ7ZTEexY/owSsjRTwD54mN19imahGdw9KrCE=","DmwQCKbWzzBKHdnmGUo2DB6aptdlouUyihvitSNRZPs=","L428D4bNMwij1ZipND1jijwvVulzbpHw931Qi/04KKI=","Hu2pqcbYoDw82e/RvqfkaEDWxw1/qC4IW65nNH5dp9E=","Hivco1idIrwJMVYig3/riVVyBah3FM2AEfsm26GuD8Q=","H+uVkRIXW6byq9nWBR86/zKpxNpFn8XzuqFmt+ASBKU=","G2pL8vsyAxuYN2VLH7qKygS2RyqR0F+WMgu1vdOt1m8=","C8IHYmDbeX8E7y+mDGz10BTYl9MgK+AJ/F2Opg3BjLw=","A5pf8yTKqdzWW4xEvdHUI7bALkBQrYrpMa3m27InPMU=","HlDB96W9ipZhTqJn4MIgOctHCGcGOLFuTE5rS6CI/zU=","JDFRQNseA9NKnokNhfs3hoYa32SCEhQb5vAx7dUbjAo=","ASy281oY2UhccqBzxPkDfdZk2Y0BHokr+gbfi+ortd0=","FJpSjnMDEZzgZt6dpBd4A9d04/Gyxtq+nt/7OVFIFhU=","AJkHOP/sxvjcDmtSab0d3nTG9q/Ud3mhGdjJY9W2XTM=","FbMZ5PUayJMe3mVC/5g8su078wdy5oG63ky9ZGWfx0E=","FVM0P5Wx/yJqbYUyrz5InTBaCOjVxTJ4fTUaXDC0JvA=","Ek1AwVTURU0Q4lT843OYboosobQ90iG1Wo+40ZxaIxQ=","CGMmcvpCNqykP03+oFCMttOJXb/vWMX4D2XqD0jBegM=","GO1CAuCB7+txBwIa7LcG9290ZuXjYQH9kmdMaQvaNqk=","IrYtY+Tap8ZnTcl/Q9fsY/qc/gR+rWAeujb9N12EAJE=","H3a6GIRIwtxQz+KrZcqmRihmxeMbynLRLNfcG+fsFtU=","JZtJaPnkwyiFkLtSGyvvXzuxswpyis1FYn66RdcyYN0=","GhryQYsezU660kxaVK3M0AkHKit+26wEoIA4cPzfIdE=","E8SI77V22YsvWMJloNdtRQx0wBBdIlprERgIz88T6Pc=","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u+KU6MhKcsfD++c=","ELuKdTGrBdIocogPloNNI6MZN2I98/0pU4havd0SIrc=","IiKVDIoczBwhIqNT0UgnRNQuYSVN1lO9Ja5p0rp5sDE=","LD0+tyBTfS3ee/uO9iZdJsnW2Rjjfy6XAw+9awRFfbQ=","BTmmluFRmBaTFClt5W3IdDEuGeWzUY711Qpyz5ijCJU=","JeKl/h8VWi7ur1DQFmT5b31ncrEIrFxMv6XvWh/NWtE=","L10+h99pBKvUVO/KnMMPFUFkIgyeP+8n4YEuCHC5D8U=","De4g5HMcDnVC5OVD6L5sLt5x1uqoIVluT8nmjoncMA4=","BhRCwTudH7M5YVzYr8C8nhG+dBy/y9KzqSGUA06dLlQ=","I6VhheEtYjCg66981KAc0YQQ09LKmR95r1cW/iKZMSM=","AzRLe5rbFaO3w9ZP4e7DU0IgLuPEo22y1J6B5RdCNbw=","KEt1HtYdSEuitZQKGh7h7FNtOSsRPQbbSZWwirZh5nU=","FwGtJqQt539NWKTIGR+dRzAwnF9LzQxtw6Cqs5Y0CCA=","J8rdpRmoNwEI16pukQL2sp6PojhswCllk/L2NEn/PUs=","JibWHLEQuwOzJxLVnw47Gy9bkFnrmUgHsmfkrSYe1pY=","HPMzCJfFTyXxX16LjaV77Qhl8/qEHsSEQanwRXkVE44=","AbW8zp1pnlWkkNPYboySyDpyVqf+uf2K9shNaOFI9k4=","KhdRBdFbo/7PW8snRrPIH8jKRo0dSqmZ+7qo2BEgJu8=","IKI4IpXsoKYciIzvgRFa4GN9fseS0w7Kag8pinf5sms=","BRVJu5rbzibkshiynKeeIhy2kcmrWyeGI574EmutLlE=","CBylNJ5k1gvKCAv8U0yLMLGL6kMJzwL0THEYX+aI4Hk=","KFpADWGly9bKe6p8PJrKVQOxf9cC4AQgvOczI4LAuC0=","BOG/jJVbw8hwgmLj/xSL6iaK22YqwkWUeeavLnNECyE=","C74ZrE9cZ+nuwyyea33XvIBZyR9QGy8mqSswvCaLC0s=","JySsWOHqTfGeZkS457dmXZJI00/7v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ddc337z+QKf8ykc=","INBX4w4lY9fbxdJkEibG9gALy1Sefc25t9+Bn/0QvNs=","FvBXTnwTtBxezsw2+VkHGcMfKUNac2wzrZrBr7kodYM=","G5Yp1WeLGOyl+cUkStvCh78bGolGjlSdF2WDXbX9zn4=","J9gPFWSI/ZA9B9LGRGDdZE1H21lz0Mc22RTj+mD9ux4=","IRl7s/2LZthzUBnN15Ec/Oq6Y7SdzQeRDkjJk/552VA=","KPX0lyjallMqZqLTd+spnekcwdeHAdRKClpcxn3ev54=","Flu84NYtaEESQnb1PLKIg6xefswS0SUU4v6y4Zt5E/U=","FJN4B6LZ1y0iNGmcXzsS8bcuKCshb66RDbVvaMraS/c=","BxQvxJAfDiFOxMdPFoXDWwSFUWt7gn116huAHnjwRF0=","JxTWp3rArHZsTaLPRoxZ/Me+OckxKbnZJ8Kr1oQ7ulM=","HTEQN52Xxcpw2nsEiovIWVh6+Xe1+7g+rw+VGx2yzGk=","Ei+bSABgw15rGwuwISKRsK2+JxnGYOqxB6vV5jLiuW4=","AoFfdvPuypS48sQpgs8YLJN69e+8gCYhxK2Qh2A+W1s=","IorO9ndGa7zoFgvVnJOMXTQAwkoQ0aPPFFUZzhOXkEs=","L28IAMc+C1jE4xY5wdmOV6odezjyQZjdq0072tixsdI=","EtywC5bpcp4+RA7qtW0jtJWSyNMGgm7hjvyPf7EfzT0=","FMk0/duek8G1Of88cmkjF9DDZf16cn8rDUDgRC7mzYI=","H1tI+7EM6g71mtmxJIPte+XGAVE7DMzhzaOoDEWoDGI=","B2iriqXNBA5e5d5SYRENIru9MMC12co9KwdasLDejzg=","K4T+AsME8k+twe3AaR9b/7BQH3voo4HQmaZ6m3qHA0c=","GCfRGRsV3PUaIAvZaPXKnNH5bD/Xnt1kVAbKDK0YJRw=","AWlQoGuStUhe91nQpDlFxIIxsP/eWyKB74fsoBgL+t0=","IRKX2k1wz31D88zXCojBUiTPBD9vrqaKdNb+KCqDFgc=","ChgSF9ExX8P+z16AGBS0Bgp0L4G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GKiU4DXOMbPTlhBxWINqxlBAigJRTfs9Tc=","DZ2BD8faWTHHpJB5dre3f7aM5/qGBDWRDKNGqqiyrKY=","FecwiEHoLLRK0AukrvmkJBAE+K30loGQMjdaEP7NyKU=","Lhf3GK6feJfnK0gfDHeahMQb+s7bE+CVMKfRb+NV92U=","En5//G/4uhlMlCLtVPYbY+WMeuZykoDRtuHogdTQL6M=","DHMJmevawVC21ef6adR/CQhj+rENGUmRGgAVbTKFk/I=","ERQYJUudFu+NZJxaL8QTasV2IZHvYfHvRtNe8Zn5Kic=","ANDjIy976KlWmbm9EVCP5JXgJtqrue/JNe58S3VLyEY=","JRMOl37E9r60rk2/ZPGW9I1g+Av4DI1fIoEYODeQySc=","DL0iynAwAHIWPsG2GslaRelZ9qaEPR96j+9rWykNtMo=","DE5ccbRuJmO8iTkutXdcd2nAgFUdIijYED5UVUi1gSw=","B2O1VzHRBSIL277T4PPY3JIbSrotW/LVmVMXo51Do9E=","LleLnDUnUCws8kj50l5ySyUrH+pdMLloQLFCsGas8UU=","LXJivYnnP2T3hQ5Wq5NFN/Ysr69RFhS8iGmHXjOmk4E=","Iz5e85dmHHNDP6xJC3KjdfMcb2d03WkzADOHPFmo24U=","IEeIHVQrv5dLnp6SAUU8grV0RzDueNL8Imv3Pcckv7g=","E5LgnY49aUN3j1AjrFd+1YVzZA36jPsiYd7lbwIMrgI=","ETzlZB6MCEAe2/jkClj38ZhIbJQ9mItXEmXaO4AJiyk=","Bv40ruljMsDbqnVnBPCsym/UiLehpCS8UHWa1m3z7PY=","IQ7tqQ3waI837n9NsBL6cFHar9PU5iqKdarXPKDEWAg=","KPVTEcpSbjnibjjiBlhh887B5ijeRvQ1ZEHI7NtxYXg=","D7OoCktSiolVFC5kIZSsSmT1s0XIbgzPcCUAFgUtlTI=","H2eKV6dXdbuzypX13sB2G7casUffEH+nX0Oq+TCuo6U=","Bz7lGpiupOnOXd75lhtZl3DlgN7lyykWG/gcCqdLpsM=","EjbBqSWazsUKBPGTU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YAx6D3kLUergFvc4D4+rLLuil3YjK9dVlc=","EWC/mfD07Ae47y0Vvlo6jRz6GS5Aa7717Y3V+3XbQbk=","IlTNMv1Ah7cTh9rDVUz8neABlPdHL6Qd5nTYygHL8Iw=","GRl1HDeKglBv4wlYo2vW517Gc78l1pPZgDNgLnPWR+U=","J5FrPkoMiZIjgayUzfiLOk6CpTn89ciZpRIKY8tPdo4=","Jo0/+eGNycNzYWpqWhuByT7CCNwENBRVcxDHSbd5hcg=","IShtUdNQR297Oirj7ARsE9XJERc95BrB3J5Zu7pmnyw=","IPv41oQ7rIRLbLYyT3BUNEEl21TVYAoG/JtyDyIplB0=","Gi+1dEOjo9cDCquBslbIuahNpyQDagA9Q168rMx3T0Q=","IbE7mky46XErvOMvF49ZB0o1qM8HcQYcoHZLaxkPoTk=","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/5nQrlSqbLE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Gm/fh0EqU39mAQdtYfQ1CU6haUbvv6SJPpc=","GHquJh7z7iGzcCNRigcWdcbQC96CvX9UQUSKu2Mqdks=","DaKO3n9j91WWolaLLdelhFduWygvKEeVsaeqIWY4IrE=","IEO/5S0pZOSjstpeMBB3Fsx2T5sci6Rj8hWrH38DSYs=","J7SKY2o5tRqTiuo+tVIJFVn7++ceCW1RjEDZCN0lcO4=","F/51o9EbS50qz3hW1t6ju6xireDFATR7FoZPPHPrt/k=","IybD3KeqtrGFJlT7E//0KhUsqWMhJCFsx8xvbTdSKlk=","CAxEKQkif0qdqS4zI3+agssMb30MQVW96lxlF7BG654=","KxwA6gCJP5+RMxvJBzl9uGXDfTvGxLObgc2TFpb9eDc=","CS8Dx+mOYcKoWUP/r5wE27AUX8IFXk1b6Qu2i5AQl0Y=","Kg93uzYk/EgmyaKma+TsddvCFkKhb8xBgtLWXA/Y1/8=","EIO3QtNTMqi3m4Dn3ASnL36GaS5Sm2oexWhzNLYH2nw=","BT6V+UVbxkmdRHts7dC2qtnLztl8zxAGDzye9R4o520=","BZBNrjRw1AzhJ0myfWRuYg6FGeKxfPoBbK64nZ407m4=","LlY7ncWj1NWpP0drRm43EBnHf9bupQYSak95J08va5s=","FFYAg9mA0XLdQMlCbP9BRnrOpB1/SP8RrF/MCHui1bg="],["ATPFkT8l/16qhg0DGPaktDSf0i8tU1MOXHhbcJiKOog=","FpU4CU1PdSUpRx4/3cnvmUz61PltzH1jbw/VCbjrnDE=","GZg12pX26yLFkevlFMfyg/Z0/Poet4ff7leBpk8IJDk=","Db2GYlEd1wAJkbOdoSn50DtWWgzS8hjW6ru0miXxBeU=","DdDBGPFa4H5dtVB336RuCBCZVNmeGNcs0sr2E5IOOQs=","B8khv0XjVISKYLDl8pK7A8JGlJi5weTTIvSv0YZ0CMk=","H2lNGsuqsOpbwCahhk1Wi+VVuJwPSbYTTpuJWuFB2oY=","FgTeai2xIr3V2DlUChAF7UAkJbrDuF46ciJNM3QCvew=","JZcM4xt7E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0ShB6gcsj+6ZvK8NBUnKPX1ymhAZkmn7+R8lHPyE=","AYrjkIbuu5jR/F8F+g+H3csUmwr+ONG7uFplaXiV5j8=","EBVE0TFFTyC1SbJKZeyE8bMiH9m0NGHdxtFWgzs0xSo=","Am8vWNY8pu9Zu5UgbOPtMSSIXsIXYrux2x1qd3HsZlA=","Jbl0/FEp2CrkxiRuNfgC4DRA6tCZlYZTE8jKkcggwtE=","LUCb94vW9qTspzl9BlAj8LtnMiB5JdPOS+759iHaK6I=","F/cyzBNUsftHbnBWjS3LC2aD0wsCQV39OFUEc2qobeY=","BA2w3v5rpHl7dKQxJc802GorM+eiLicQsPt6VWiJOqw=","KeiQNJQkFKH/aDPW4idC1BBuD1830fKrgOVETlpSycc=","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=","Ayti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Mx7BwIKImFKgIo=","HU+bpP2M5O8ZO5+HD0SVYHlTjWO840T5AWrF7WOpml4=","DVPWHIpSFODEcVJ0rWel1qLPufw8HnkdQd4iyLqEaKQ=","Es+HJTkT1F0ofpdfK09bkJ0WqH2JyIkFf2Zva6YTibA=","KwiM0woQiZurwyW7oyqjQ9Mp+ah4JGnE0l8PI3/2B/0=","GZcv/d54mOyL5Pso5LGe+qQ8fuIMiOKQluvocuHBlHU=","H6aURwP+ABKhbuYEJSn/AryAQxPvjG2LD5EKdeb0dzk=","GCN69zO8REGKyE5iP0g6a+KLjyHQM/vwmdZFuiDx/CY=","E9kDWg3HmLBNzvDwjt0kFST9yg6VupysBdIHvTF+Gc8="],["AaeipKCNh+dfcgMCvq18ohyPfC7S3rrO2bixstpGHLw=","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+F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WvLytdR6m3Dm1aYD+6qo9lECEj79c=","KyAuHSYmxnk9aKrPnDqP/7J831oLg/+PNQT5qyakPRU=","AwSKJl0O60DlpTFjOsIruCX3XO6QNuZqBhvj1NJIyGI=","JTLddIf8rg3Dp6xQuA7DMMb7bUz4hfETWYi/bfwBCm8=","Es7o49HKwcqEUXqz3vSHxGCuwFg0j/IgyAG3iXmvnmE=","IcDRh03sr5BhMYPqgnuRwbKVGDn3HzKcucmwdT/67+4=","AX6e0ZHFZB12iw5V7A1KhfblQZ0y9WaNOX1bbLgFOH8=","DGyewxyeO+B0SRn8VVx3wMElknvRbeKAdxKzXKJt0EU=","IIKe89+cGD+JZeScjzFcKZWmRGp2BTVD63UBRfGndAA="],["JBTUrvx7SFffaBMo5opYLSOy3P/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=","FKK9Wlb4cAnbmBVG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","F73zOAcohLUizjxQ70cRCRudr0ikM3S9wKgww35dzcg=","LZN55psXggi4SWuKCgqQ1XiyHwkMUwQr5HZ+PBDTtA4=","AUBX0C5evPM8Fm4Y/pBN76njQqGeiNQjNjd/HF5n7DA=","F4GN0CVLKR0Nj08aRYxqIdiEEVNmGBK76YaxQDzycN8=","HJXCkXNTxTtM2391Cg/obOEPjVvbAYAy0/eTeX18CjU=","AklbPBv+xgdBgIFJMz/EPwTXnexWWCwpKCn/37PBo8Q=","Kt7IVJ3/3nI4sr2m53MpkKkRcAyNNSiLqjnmcBWVMjE=","F4B0MDuQ2JheN2WEuLjft/lS+PTPhNgV+Quqo7ZExMY=","H1/AYAKLoH0R/JR39Pr/55qBBA6poExWgmdkSJXmc38="],["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="]]};e.default=t}),XNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon15=n;var t=s(_c()),r=s(Rc()),o=s(JNe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),YNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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=","MBG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VXc959TmtOPBYg=","ISZngWrfs+quI39LxQA4NyR/8WbPjLof3UMkTzSqVA8=","HviT9jcVg2jpqWt4k7E2k9GgjaxPRSMQiwqZzWDWJ+c=","Al0U0dnQOarCrNTS3aP3OoCIRq7XFZgXKJ24/wGlEsI=","CdGHCdXNHmajClrypAICoG4sS2RW++KMVQn8+PUBAJc=","EOSeRRWrI/EbqZsKjrK5wMAP/THil8wOv/S3ChkISgM=","Eg2PPeU00550poZqCVqjA4zVqKbaLIw68RxqV4ePvSc=","EIahxnDAs4pGFeK1ydpFJDWyjLYYp1XLjk1sxKGF4Ng=","FD2k8eVsKZU5DebVwgOoGg+FNK5v4bVIvAbtZu63G4I=","A/Z/DGgudBhvqKQxha0QWJhteCkDfJvE79EzA98lZbk=","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=","A7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XgdhTM/jzzn9AgjpfK1JxlowrzWQsk3xAW5qetmzk=","AoPzAsmJdaQYojLTJj2A3XQwARPYUd5te17zx/kplFA=","K5mZP4EnLABVPHGCfp4ksycFSecDUVpnBDk7OJSn03g=","A8zmPO8LzuS51cdToZDCSRJ6YotO/11Vfy7AW10DPJ0=","K/TOE0Ch5xf9jfUl1GQ5N16zZCIoranbrKWATmmYUHo=","GulFPcuIkM5XiyIdhGYSozlqskrIBX7Uggnv2/MRZc0=","J2TT43yCx2OCwsR/SpPdjnP9x8rb7Gi9OwO03XXAmHE=","FQ+UGaO21G2v4FKULhXtSW5bFiZIt93Tz1W/HlL3Y28=","CHbcJCyNKqGD0YTLvENA1amjpHTqhKmQRpmdlceIS88=","Ia6GrQtprmnkub4M6uAWZ4lanZOBocDebThk0ijo7FU=","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+quA85tDjyFZVfD9x/JgwlbQ08=","EZEZ1O0W641HZsY40MNKzBWaK44k44kow7qHWJDqGYU=","C/2+S0N3IFN39pw81ek+zSqcs7SuLBVB2OdLZOllp80=","DUEXTNa1xMDTSy9NhB8/naTxAOIM9hQIZO/m7uVMCKE=","IcWRW4bSIRBn0Z/poxgjQEO4C1MxJ0mJi1N3g8vk4cc=","EDikqc+iDKui0j7wZOdBl5LoOjHwyr3k7qsuSZcv144=","AXzAB5+YYxdxR4WMidPX8xra6/vkyeB07KvSC30iQ6Q=","KU/35eNvdpDWD602uATjVlnoIRfs1E3u63nli7jIdNg=","HwP12BDfpi7dMlIavR0oPCQWoo/KokTTZ4ju6xlakEE=","ACET4nFeqJPQDRAbsw5uFwIVfRD6/+hQlUJ9ydnK7sU=","LpLCm3okOimdkueBlfMKmWo/U01XkaMqC+KLt+iWDH4=","ALswCsdFZESfhyZ039nhehhUMvH0YzF8351JnIfPhZU=","JQ6DXM2g5Gbb1ZpUHh0DxPvtY3rGtxXILDKvWI4bsCA=","Brd2xQJKtjdMhPVSjKeTBDnaAS1BL5Np7jbbM/xDWCY=","Id+LMYpEzF+dVLvvyXqRt4eRK91c3KlfR+ucyJq80eI=","Hk4er10XKdVSM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eqtou3uio2+mRfkPxyINT4LoOE4jGwnOmTk4o0ng1bU=","Dajf/Hvzyj0q3L02IDWuySlrx06mfR6Uovb332oNkhk=","FJbLPsfNpR2F93bYYTsEMOl018OnpqhD5m+iUx2idXg=","LoGVfS9zqrRKWQMK/8lFsmFy/OCbTUNRrlPs2sgt2Z4=","L76Na6UCcpa5jwJ3sn4ofkxZ6bH4RiTgCX2zkPplwJA=","KATUXJbS2EIsjB3a2MERXZKuwrFpMM1wB5vUTPQf2Y0=","K3uotkocsv5ndFvlI/9GpMjAQICS+qIzPEXRg0ghFBU=","D1BrHbsbXt8rLZO/vCl8EX3yEtYSfLKcbuYKL1e54hU=","LptSx/BQsueb03fUe9wdgkb63z23mYJjZMS37iEzIH4=","CBUfrychALRZ6jG3LDq8KqDM1xrdouwBlolcmy+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=","I31En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6I/w=","BKzNu2ylAy+nOWwlb92PUr90EtEfMYwvgpOqHJgyuEk=","Leio1JYMEO6d/oqwGP6jyHVTmS9ZvLrjbNQq9LRVvFs=","IVrh9X4kIbszwrTC6FQITOoLErz2GlOWMFep6q+hmn8=","GoHfPHkbsIdolIrmP9u6G9Qu/LAJ/7B6rYgLMbuKpoo=","FBmDRxyXwN69zU8PCFFFNkkA+6hCnh5Vg6TlYd2tW8k=","AXbLembFhuwfSAzu7fMyzWzVUI1LVaGjKGKJoXiGTB0=","A6J6E3jmARh7gd/dduP/gZDRcNHM1/fPMzy2H15qavs=","F+HYkZtq2njJ0YI6/oJHFP0JSEBjEbIaK5TToNHAip0=","Fh1kI99k4asenbYEgJ06xf7HZ21X1C7zE40/DSIRb6I=","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=","CgOyeLJa4ufTGzEIKg0MxXyOekMvJM6f28zZNHXz0TU=","EA2hIOwq53KSHHwEuD7Y7naC0gd89HdACGyYDgTjj2s=","I0IiOyBaKwJ52eXwzn8Pm813KDmjTFLFfQdQvh5ROF8=","Lff0OXv8QtysWEgPVzFod/mqIbqQj3AVPfoZt+UvNu4=","I2IlhMhqirWfuvJWlIHZZNHhX4BzuvqMbpL8LAsYf7Y=","Br+AjM5lH1gaGrJSYdZrdPYEtwSAr2BUzEX4HaMpCsQ=","D1PJcnAs3uD5/KCnBQXLqvbJYFkJ3eA8/kwzczH9/XI=","KYixp5+NIml8DVG1N6mzCPl5eSscpHzECLi9i6b2eQ4=","DEG+AQxBiWCS90CTeR2QyFwEBPkoYfdLoXdt5toPPoM=","L4jBkqgioqCy8SyzSeFeorPzscg+or9UYauwEPgL8+8=","A6RDpLBwnr1AiRxZPtUoy56fZe7MQK8fIxV0t8lzgYk=","KPghHsGaTcGR91c3Ht+3iGlu/CsLWS1l2Al/OOcj8TE=","CruqfvI6XZhxDkKmab+kIwWt/B+OSeBbs6vclsjKc+w=","HwT7VKCe4t8oa2xeCJVguPph4GK8kPtymNUhNJEhGrA=","BnnBu7/X9NDywsGNgpSNBg81Y/KKGmMsmfLGSkYegmc=","K0TXDr6Web92gbLhoySeKbXYABCTZ6ekj//1PpaaE9Q=","I/P54AkTjwmYtT+EEJMwekGsOANI72YuNI3ignykmeM=","JIEacM66Un6mx/r1di9YE1kchlFw0oeaCLytSWsjIBw=","AapTWBH7sT/jFfQRzuA+IKSjxI7G2vp1/tDhI1LDS7s=","CuPfPk5ZyZmxZgb/OJAsdhY04rSdY+pxaSmmHotXMGs=","DsGsyquKduQ8SYTzgNL9Sh+Lu/SaFriJRn90JMsGlF4=","GxbvxXKcgVZZvLG+z9HhlIZW/63/B5eNE4tUNJ+Xt28=","EfsVFK4bA425dQgV2rXX7pKc+4BnSsxUG9BnmxH/B10=","A+igi88J7sHcLq2XhKkZgQzsZJk+tAzUk5nC6jHvJ/0=","Iy3AYXtgNcmPZv/EqJRdH4eN9eMljptUIXjWuhtoTkI=","ErLF1RoULX+KBUAiji/zzsd46R5P9wHe6iNexxQgR/I=","CdbyIorNudSgZXesn4928shY/1MblX+JuCKo0o33Dws=","JuYQGP5LPvbZZpVMdMY+HhWHeE4nbsGYIytl49HzttE=","C+6WNbmsUQCZucgt1iIgXGfxNhlyJlk5wMGX98SKDoA=","Lvx0VngrkCY/V4U+soB+Z6iM8V8sx1a39KlXC8w443k=","KD+y6NaxjsP0EV0EMXU+tvrP6Z8JnsZ5q9hWkX3CL44=","KIm4cO6YaI+u6IY6VISvy2eHSzOp8MF5S0apJj4YGrQ=","Bde9vz3w8B+6+cH72H8NjcNUh15FFnhHaupLDuDAFrw=","GyMSSjZ4Adk7j7/SIusn0UmuLumMa53DC7Kc47UB96c=","E/Vzuq7TKqY+8u5RydJamWzJzbMzv73SuV4qOjI7n00=","AP2GxjEq5TjFgMb75n4HU5ZDln8HXIHPxQTUoLUdTVI=","EdB+GQdI0V0ARHtMZTsFWIdnfR0MuJmkpwkOoHqgs5M=","G4++s8cVB3sKCU1241cC/+vEdA/syj+u6WCNRgwc3q8=","ApdCPiEYB4RSe9kL5j0CH76MS9uLIEOY7h3m89QfzDk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WQQuXOlaeJkU5cKAC09O/hczbFsqIWQQAY0=","GVC5jCK488yFXBZ8fZu9/U6jeqyYsSsfsBclfD5/KT8=","E7dxDZIYwLFp7koSdnFSdM6aZGhzDS3ncxNJrRrp33w=","HvgNkIBe0oL6T14ShD7Uq8jyL1tZ8E7hM0kgmou1ge4=","E6vEgtQe8ituPQ25J2t1WZBEQ4r4lAtcjVjn3+gMRMU=","Jn1hZw5T3QNOeVuyDCCRIWOlgkhwnVq6ipXA369QsCw=","JEQc0c2BReQrRx+C5Pf5wo1FrCxV5OYNPmbXTotWORo=","A1X+iD91waQ1PBwNrO7y06camnTGIFMZnkMbj6gcuNI=","BVG1P8kq5jwrLsvfQM6TeiCV/OBkdILmSg/fUVz0Lqg=","KLaqpK7iVgcdmYi/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=","GI1R995w4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jrzJFmWg9m3G2HQk9Y9y72X5ElXMz0ml/3QYMHktYU=","BaB4aKfJX1CgFYef583x62wxfk1InUUVII3fQKMjKeo=","LFtKZbxVrF++695Tzl+miIL67SqSp7P1cygyxy9/LDA=","Fz+JXkcsTrFqKv87jgQX+zK4PrHjIzRxx2oFUFBdBgc=","IGywOMwyhSbQw9xa8ZQ32DIZdRxe6PYbDp4vWIE2a+M=","AkDFeJcWFmbyjQALiNM1OSHZZ0IPQBzoa77kK+KHpPg=","Gq78Lpkl/NRTmW/agEBj/asnazfF9R39/vklW07BDMA="],["Ew/FRHf9lTN3/COrvXpBvmdkiSqHh8dZwUQP4BM8hS0=","Bl4TTLjYREfW6h4XkyvUo0Hr7yVoMTwkWU+vnX7KIRA=","DnbEA5K9X0WLwYe+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=","D4aS1kpbaalWxOIAa/7DREd/318MmquGZgmEK511Jp0=","K9/n60+oA7wdwAUqRthQ7j4JHrqKfxJXloL29v1QRNQ=","E72swTe7z1HYvJ0oGTHW5xEi3G6T5//ouDXjOTd1w9Q=","B9eM4MHIc5GgagbIPTANUlJLKfGDiE4wDg6t2s0F8Gg=","CYTBMrKaBfK1BsoHwG/pplhPNruHUG0tMWpPNTysXx8=","GwD6qFE2sb/EluDqmmKEyuUlqpZhL/7rUUgIlVaTh54=","GeHkZTZwTOzqw+q5kb2AbjR75AoLeVbc1wNzUv28Q0c=","GcJUC7sc1OCPEFQ3BjyUXP7yiundULl+C3lfjcWuNOI="],["HewLr6PoGQYh5eCV73UeoDyDbbuARbKnP405fPuBUZI=","J8cjMvWaABNbqpS94pSRHRNdHZX1PFLrizuVWUN0kG0=","FuZGYRRNgWiFsy8/eAlwNHd4gmjVfBSx2TmiaynLfvM=","IBjbOGo+Tlfq2o2RQIsVUGHfBQFA+yL5pPNPtOLQJCg=","EiY7fj895giZosIv7pGZcs153Ciah/MfG0S68kOdyHw=","EOQg7cttp2Fwsk13fOnTFhLtsVk+ptMOjP2s+2l0+ZE=","DryzWPlfhLcZxjHUBFzvA6xvwjj2g0Uizr0C5HQRu28=","DEji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LsymxcN8=","HdawlctoRZ3Pa9rdQ0qoH4ClWgjmeCxlOpOv2KZfMmc="],["FMCdFVxdQoGYwjS1U9ozjyJ8vBKw5C8rnOcVY+4UlcA=","EX/VKHcPsX9xjimi2Rpj7Hw57x3TA58JQ/cX0YBCU9U=","Eg50FtdDCOJAR/aCjGiuKLwoiyFuiiXosOvPc4SA45A=","BpleUQ/XZpN0w50nkD80KsW/ihRkgH8wi+9hC3bLaT4=","HYFLPBdlbCMn+UzAJHJ4C4hriDlPGly+NNxPRP8TT84=","A7kNo0sZjLyhfjSqyYsWmHXs9zrrXG/x8Ayf5TWqmQI=","J/p3oGWHkeZ1V4HDZ2g/nJMzpBNk94cO3/GTWjR0hdg=","BtbuUxuj/c7QXiTPkQPQli3SJ/HeaSwBmUg+kqskulk=","HlB5Ib58dhJIef/OW2LdDpYlnpjMZMJyCNYrQL/j5II=","BoGtrqec9FfbVwGTHw7i8V7LsVntUM90ahW4XG+KU3A=","HmGWFHUIvy7chyxOiXqWd3ixGfaftDGn9kbSAY6rQBA=","Bo76NbxiASSrfYiZAXG65BAq0h3937OH3w3gyKOhiek=","GwEiJKTwUN+EESLRfF6k7e18jsIDR0OkMqLO6JOXbyk=","II2BQVG83N38+DWpWMJZpkd7/kszknEO352AeHolxdA=","KPkB/KqGCw3EGSre+OpK5Vr2zkMsheDOTQc+UUqyQlI=","G9Y5h5cxgjyHH5zUcU48xWpusZiEtzZk7tJLEZKRGaA=","HT7oXwePvuzaJHPvwr7dG6fsb0eV+q6uOw3kjTCAxiU="]]};e.default=t}),QNe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon16=n;var t=s(_c()),r=s(Rc()),o=s(YNe());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,r.default)(o.default);function n(a){return(0,t.default)(a,i)}}),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 d.poseidon10}}),Object.defineProperty(e,"poseidon11",{enumerable:!0,get:function(){return h.poseidon11}}),Object.defineProperty(e,"poseidon12",{enumerable:!0,get:function(){return y.poseidon12}}),Object.defineProperty(e,"poseidon13",{enumerable:!0,get:function(){return C.poseidon13}}),Object.defineProperty(e,"poseidon14",{enumerable:!0,get:function(){return w.poseidon14}}),Object.defineProperty(e,"poseidon15",{enumerable:!0,get:function(){return T.poseidon15}}),Object.defineProperty(e,"poseidon16",{enumerable:!0,get:function(){return A.poseidon16}}),Object.defineProperty(e,"poseidon2",{enumerable:!0,get:function(){return r.poseidon2}}),Object.defineProperty(e,"poseidon3",{enumerable:!0,get:function(){return o.poseidon3}}),Object.defineProperty(e,"poseidon4",{enumerable:!0,get:function(){return s.poseidon4}}),Object.defineProperty(e,"poseidon5",{enumerable:!0,get:function(){return i.poseidon5}}),Object.defineProperty(e,"poseidon6",{enumerable:!0,get:function(){return n.poseidon6}}),Object.defineProperty(e,"poseidon7",{enumerable:!0,get:function(){return a.poseidon7}}),Object.defineProperty(e,"poseidon8",{enumerable:!0,get:function(){return u.poseidon8}}),Object.defineProperty(e,"poseidon9",{enumerable:!0,get:function(){return c.poseidon9}});var t=xNe(),r=ENe(),o=SNe(),s=INe(),i=PNe(),n=kNe(),a=_Ne(),u=NNe(),c=UNe(),d=FNe(),h=zNe(),y=HNe(),C=jNe(),w=VNe(),T=XNe(),A=QNe()}),iF=W((e,t)=>{"use strict";m();function r(De,lt){return function(){return De.apply(lt,arguments)}}var{toString:o}=Object.prototype,{getPrototypeOf:s}=Object,i=(De=>lt=>{let xt=o.call(lt);return De[xt]||(De[xt]=xt.slice(8,-1).toLowerCase())})(Object.create(null)),n=De=>(De=De.toLowerCase(),lt=>i(lt)===De),a=De=>lt=>typeof lt===De,{isArray:u}=Array,c=a("undefined");function d(De){return De!==null&&!c(De)&&De.constructor!==null&&!c(De.constructor)&&w(De.constructor.isBuffer)&&De.constructor.isBuffer(De)}var h=n("ArrayBuffer");function y(De){let lt;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?lt=ArrayBuffer.isView(De):lt=De&&De.buffer&&h(De.buffer),lt}var C=a("string"),w=a("function"),T=a("number"),A=De=>De!==null&&typeof De=="object",O=De=>De===!0||De===!1,v=De=>{if(i(De)!=="object")return!1;let lt=s(De);return(lt===null||lt===Object.prototype||Object.getPrototypeOf(lt)===null)&&!(Symbol.toStringTag in De)&&!(Symbol.iterator in De)},B=n("Date"),R=n("File"),U=n("Blob"),N=n("FileList"),_=De=>A(De)&&w(De.pipe),L=De=>{let lt;return De&&(typeof FormData=="function"&&De instanceof FormData||w(De.append)&&((lt=i(De))==="formdata"||lt==="object"&&w(De.toString)&&De.toString()==="[object FormData]"))},H=n("URLSearchParams"),[F,G,l,p]=["ReadableStream","Request","Response","Headers"].map(n),E=De=>De.trim?De.trim():De.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function g(De,lt,{allOwnKeys:xt=!1}={}){if(De===null||typeof De>"u")return;let Mt,ar;if(typeof De!="object"&&(De=[De]),u(De))for(Mt=0,ar=De.length;Mt<ar;Mt++)lt.call(null,De[Mt],Mt,De);else{let mr=xt?Object.getOwnPropertyNames(De):Object.keys(De),br=mr.length,$r;for(Mt=0;Mt<br;Mt++)$r=mr[Mt],lt.call(null,De[$r],$r,De)}}function b(De,lt){lt=lt.toLowerCase();let xt=Object.keys(De),Mt=xt.length,ar;for(;Mt-- >0;)if(ar=xt[Mt],lt===ar.toLowerCase())return ar;return null}var k=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,x=De=>!c(De)&&De!==k;function S(){let{caseless:De}=x(this)&&this||{},lt={},xt=(Mt,ar)=>{let mr=De&&b(lt,ar)||ar;v(lt[mr])&&v(Mt)?lt[mr]=S(lt[mr],Mt):v(Mt)?lt[mr]=S({},Mt):u(Mt)?lt[mr]=Mt.slice():lt[mr]=Mt};for(let Mt=0,ar=arguments.length;Mt<ar;Mt++)arguments[Mt]&&g(arguments[Mt],xt);return lt}var f=(De,lt,xt,{allOwnKeys:Mt}={})=>(g(lt,(ar,mr)=>{xt&&w(ar)?De[mr]=r(ar,xt):De[mr]=ar},{allOwnKeys:Mt}),De),M=De=>(De.charCodeAt(0)===65279&&(De=De.slice(1)),De),V=(De,lt,xt,Mt)=>{De.prototype=Object.create(lt.prototype,Mt),De.prototype.constructor=De,Object.defineProperty(De,"super",{value:lt.prototype}),xt&&Object.assign(De.prototype,xt)},D=(De,lt,xt,Mt)=>{let ar,mr,br,$r={};if(lt=lt||{},De==null)return lt;do{for(ar=Object.getOwnPropertyNames(De),mr=ar.length;mr-- >0;)br=ar[mr],(!Mt||Mt(br,De,lt))&&!$r[br]&&(lt[br]=De[br],$r[br]=!0);De=xt!==!1&&s(De)}while(De&&(!xt||xt(De,lt))&&De!==Object.prototype);return lt},j=(De,lt,xt)=>{De=String(De),(xt===void 0||xt>De.length)&&(xt=De.length),xt-=lt.length;let Mt=De.indexOf(lt,xt);return Mt!==-1&&Mt===xt},Y=De=>{if(!De)return null;if(u(De))return De;let lt=De.length;if(!T(lt))return null;let xt=new Array(lt);for(;lt-- >0;)xt[lt]=De[lt];return xt},oe=(De=>lt=>De&&lt instanceof De)(typeof Uint8Array<"u"&&s(Uint8Array)),de=(De,lt)=>{let xt=(De&&De[Symbol.iterator]).call(De),Mt;for(;(Mt=xt.next())&&!Mt.done;){let ar=Mt.value;lt.call(De,ar[0],ar[1])}},ue=(De,lt)=>{let xt,Mt=[];for(;(xt=De.exec(lt))!==null;)Mt.push(xt);return Mt},ae=n("HTMLFormElement"),q=De=>De.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(lt,xt,Mt){return xt.toUpperCase()+Mt}),ne=(({hasOwnProperty:De})=>(lt,xt)=>De.call(lt,xt))(Object.prototype),me=n("RegExp"),ve=(De,lt)=>{let xt=Object.getOwnPropertyDescriptors(De),Mt={};g(xt,(ar,mr)=>{let br;(br=lt(ar,mr,De))!==!1&&(Mt[mr]=br||ar)}),Object.defineProperties(De,Mt)},ge=De=>{ve(De,(lt,xt)=>{if(w(De)&&["arguments","caller","callee"].indexOf(xt)!==-1)return!1;let Mt=De[xt];if(w(Mt)){if(lt.enumerable=!1,"writable"in lt){lt.writable=!1;return}lt.set||(lt.set=()=>{throw Error("Can not rewrite read-only method '"+xt+"'")})}})},ce=(De,lt)=>{let xt={},Mt=ar=>{ar.forEach(mr=>{xt[mr]=!0})};return u(De)?Mt(De):Mt(String(De).split(lt)),xt},ee=()=>{},fe=(De,lt)=>De!=null&&Number.isFinite(De=+De)?De:lt,ie="abcdefghijklmnopqrstuvwxyz",re="0123456789",Oe={DIGIT:re,ALPHA:ie,ALPHA_DIGIT:ie+ie.toUpperCase()+re},Pe=(De=16,lt=Oe.ALPHA_DIGIT)=>{let xt="",{length:Mt}=lt;for(;De--;)xt+=lt[Math.random()*Mt|0];return xt};function Ne(De){return!!(De&&w(De.append)&&De[Symbol.toStringTag]==="FormData"&&De[Symbol.iterator])}var Xe=De=>{let lt=new Array(10),xt=(Mt,ar)=>{if(A(Mt)){if(lt.indexOf(Mt)>=0)return;if(!("toJSON"in Mt)){lt[ar]=Mt;let mr=u(Mt)?[]:{};return g(Mt,(br,$r)=>{let on=xt(br,ar+1);!c(on)&&(mr[$r]=on)}),lt[ar]=void 0,mr}}return Mt};return xt(De,0)},Je=n("AsyncFunction"),ft=De=>De&&(A(De)||w(De))&&w(De.then)&&w(De.catch),Kt=((De,lt)=>De?setImmediate:lt?((xt,Mt)=>(k.addEventListener("message",({source:ar,data:mr})=>{ar===k&&mr===xt&&Mt.length&&Mt.shift()()},!1),ar=>{Mt.push(ar),k.postMessage(xt,"*")}))(`axios@${Math.random()}`,[]):xt=>setTimeout(xt))(typeof setImmediate=="function",w(k.postMessage)),wt=typeof queueMicrotask<"u"?queueMicrotask.bind(k):typeof I.default<"u"&&I.default.nextTick||Kt,Ie={isArray:u,isArrayBuffer:h,isBuffer:d,isFormData:L,isArrayBufferView:y,isString:C,isNumber:T,isBoolean:O,isObject:A,isPlainObject:v,isReadableStream:F,isRequest:G,isResponse:l,isHeaders:p,isUndefined:c,isDate:B,isFile:R,isBlob:U,isRegExp:me,isFunction:w,isStream:_,isURLSearchParams:H,isTypedArray:oe,isFileList:N,forEach:g,merge:S,extend:f,trim:E,stripBOM:M,inherits:V,toFlatObject:D,kindOf:i,kindOfTest:n,endsWith:j,toArray:Y,forEachEntry:de,matchAll:ue,isHTMLForm:ae,hasOwnProperty:ne,hasOwnProp:ne,reduceDescriptors:ve,freezeMethods:ge,toObjectSet:ce,toCamelCase:q,noop:ee,toFiniteNumber:fe,findKey:b,global:k,isContextDefined:x,ALPHABET:Oe,generateString:Pe,isSpecCompliantForm:Ne,toJSONObject:Xe,isAsyncFn:Je,isThenable:ft,setImmediate:Kt,asap:wt};function it(De,lt,xt,Mt,ar){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=De,this.name="AxiosError",lt&&(this.code=lt),xt&&(this.config=xt),Mt&&(this.request=Mt),ar&&(this.response=ar)}Ie.inherits(it,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:Ie.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var Ye=it.prototype,et={};["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(De=>{et[De]={value:De}}),Object.defineProperties(it,et),Object.defineProperty(Ye,"isAxiosError",{value:!0}),it.from=(De,lt,xt,Mt,ar,mr)=>{let br=Object.create(Ye);return Ie.toFlatObject(De,br,function($r){return $r!==Error.prototype},$r=>$r!=="isAxiosError"),it.call(br,De.message,lt,xt,Mt,ar),br.cause=De,br.name=De.name,mr&&Object.assign(br,mr),br};var Gt=null;function It(De){return Ie.isPlainObject(De)||Ie.isArray(De)}function Rt(De){return Ie.endsWith(De,"[]")?De.slice(0,-2):De}function _r(De,lt,xt){return De?De.concat(lt).map(function(Mt,ar){return Mt=Rt(Mt),!xt&&ar?"["+Mt+"]":Mt}).join(xt?".":""):lt}function jt(De){return Ie.isArray(De)&&!De.some(It)}var Fe=Ie.toFlatObject(Ie,{},null,function(De){return/^is[A-Z]/.test(De)});function Pr(De,lt,xt){if(!Ie.isObject(De))throw new TypeError("target must be an object");lt=lt||new FormData,xt=Ie.toFlatObject(xt,{metaTokens:!0,dots:!1,indexes:!1},!1,function(cn,Dn){return!Ie.isUndefined(Dn[cn])});let Mt=xt.metaTokens,ar=xt.visitor||Jr,mr=xt.dots,br=xt.indexes,$r=(xt.Blob||typeof Blob<"u"&&Blob)&&Ie.isSpecCompliantForm(lt);if(!Ie.isFunction(ar))throw new TypeError("visitor must be a function");function on(cn){if(cn===null)return"";if(Ie.isDate(cn))return cn.toISOString();if(!$r&&Ie.isBlob(cn))throw new it("Blob is not supported. Use a Buffer instead.");return Ie.isArrayBuffer(cn)||Ie.isTypedArray(cn)?$r&&typeof Blob=="function"?new Blob([cn]):P.Buffer.from(cn):cn}function Jr(cn,Dn,dn){let wi=cn;if(cn&&!dn&&typeof cn=="object"){if(Ie.endsWith(Dn,"{}"))Dn=Mt?Dn:Dn.slice(0,-2),cn=JSON.stringify(cn);else if(Ie.isArray(cn)&&jt(cn)||(Ie.isFileList(cn)||Ie.endsWith(Dn,"[]"))&&(wi=Ie.toArray(cn)))return Dn=Rt(Dn),wi.forEach(function(Di,pi){!(Ie.isUndefined(Di)||Di===null)&&lt.append(br===!0?_r([Dn],pi,mr):br===null?Dn:Dn+"[]",on(Di))}),!1}return It(cn)?!0:(lt.append(_r(dn,Dn,mr),on(cn)),!1)}let Xr=[],On=Object.assign(Fe,{defaultVisitor:Jr,convertValue:on,isVisitable:It});function ci(cn,Dn){if(!Ie.isUndefined(cn)){if(Xr.indexOf(cn)!==-1)throw Error("Circular reference detected in "+Dn.join("."));Xr.push(cn),Ie.forEach(cn,function(dn,wi){(!(Ie.isUndefined(dn)||dn===null)&&ar.call(lt,dn,Ie.isString(wi)?wi.trim():wi,Dn,On))===!0&&ci(dn,Dn?Dn.concat(wi):[wi])}),Xr.pop()}}if(!Ie.isObject(De))throw new TypeError("data must be an object");return ci(De),lt}function $t(De){let lt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(De).replace(/[!'()~]|%20|%00/g,function(xt){return lt[xt]})}function Qt(De,lt){this._pairs=[],De&&Pr(De,this,lt)}var At=Qt.prototype;At.append=function(De,lt){this._pairs.push([De,lt])},At.toString=function(De){let lt=De?function(xt){return De.call(this,xt,$t)}:$t;return this._pairs.map(function(xt){return lt(xt[0])+"="+lt(xt[1])},"").join("&")};function ur(De){return encodeURIComponent(De).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function tr(De,lt,xt){if(!lt)return De;let Mt=xt&&xt.encode||ur,ar=xt&&xt.serialize,mr;if(ar?mr=ar(lt,xt):mr=Ie.isURLSearchParams(lt)?lt.toString():new Qt(lt,xt).toString(Mt),mr){let br=De.indexOf("#");br!==-1&&(De=De.slice(0,br)),De+=(De.indexOf("?")===-1?"?":"&")+mr}return De}var Vt=class{constructor(){this.handlers=[]}use(De,lt,xt){return this.handlers.push({fulfilled:De,rejected:lt,synchronous:xt?xt.synchronous:!1,runWhen:xt?xt.runWhen:null}),this.handlers.length-1}eject(De){this.handlers[De]&&(this.handlers[De]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(De){Ie.forEach(this.handlers,function(lt){lt!==null&&De(lt)})}},bt=Vt,kt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},er=typeof URLSearchParams<"u"?URLSearchParams:Qt,Et=typeof FormData<"u"?FormData:null,qt=typeof Blob<"u"?Blob:null,Hr={isBrowser:!0,classes:{URLSearchParams:er,FormData:Et,Blob:qt},protocols:["http","https","file","blob","url","data"]},_t=typeof window<"u"&&typeof document<"u",Wt=(De=>_t&&["ReactNative","NativeScript","NS"].indexOf(De)<0)(typeof navigator<"u"&&navigator.product),qr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ce=_t&&window.location.href||"http://localhost",_e=Object.freeze({__proto__:null,hasBrowserEnv:_t,hasStandardBrowserWebWorkerEnv:qr,hasStandardBrowserEnv:Wt,origin:Ce}),Ze={..._e,...Hr};function he(De,lt){return Pr(De,new Ze.classes.URLSearchParams,Object.assign({visitor:function(xt,Mt,ar,mr){return Ze.isNode&&Ie.isBuffer(xt)?(this.append(Mt,xt.toString("base64")),!1):mr.defaultVisitor.apply(this,arguments)}},lt))}function Ke(De){return Ie.matchAll(/\w+|\[(\w*)]/g,De).map(lt=>lt[0]==="[]"?"":lt[1]||lt[0])}function Ht(De){let lt={},xt=Object.keys(De),Mt,ar=xt.length,mr;for(Mt=0;Mt<ar;Mt++)mr=xt[Mt],lt[mr]=De[mr];return lt}function yt(De){function lt(xt,Mt,ar,mr){let br=xt[mr++];if(br==="__proto__")return!0;let $r=Number.isFinite(+br),on=mr>=xt.length;return br=!br&&Ie.isArray(ar)?ar.length:br,on?(Ie.hasOwnProp(ar,br)?ar[br]=[ar[br],Mt]:ar[br]=Mt,!$r):((!ar[br]||!Ie.isObject(ar[br]))&&(ar[br]=[]),lt(xt,Mt,ar[br],mr)&&Ie.isArray(ar[br])&&(ar[br]=Ht(ar[br])),!$r)}if(Ie.isFormData(De)&&Ie.isFunction(De.entries)){let xt={};return Ie.forEachEntry(De,(Mt,ar)=>{lt(Ke(Mt),ar,xt,0)}),xt}return null}function Ot(De,lt,xt){if(Ie.isString(De))try{return(lt||JSON.parse)(De),Ie.trim(De)}catch(Mt){if(Mt.name!=="SyntaxError")throw Mt}return(xt||JSON.stringify)(De)}var hr={transitional:kt,adapter:["xhr","http","fetch"],transformRequest:[function(De,lt){let xt=lt.getContentType()||"",Mt=xt.indexOf("application/json")>-1,ar=Ie.isObject(De);if(ar&&Ie.isHTMLForm(De)&&(De=new FormData(De)),Ie.isFormData(De))return Mt?JSON.stringify(yt(De)):De;if(Ie.isArrayBuffer(De)||Ie.isBuffer(De)||Ie.isStream(De)||Ie.isFile(De)||Ie.isBlob(De)||Ie.isReadableStream(De))return De;if(Ie.isArrayBufferView(De))return De.buffer;if(Ie.isURLSearchParams(De))return lt.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),De.toString();let mr;if(ar){if(xt.indexOf("application/x-www-form-urlencoded")>-1)return he(De,this.formSerializer).toString();if((mr=Ie.isFileList(De))||xt.indexOf("multipart/form-data")>-1){let br=this.env&&this.env.FormData;return Pr(mr?{"files[]":De}:De,br&&new br,this.formSerializer)}}return ar||Mt?(lt.setContentType("application/json",!1),Ot(De)):De}],transformResponse:[function(De){let lt=this.transitional||hr.transitional,xt=lt&&lt.forcedJSONParsing,Mt=this.responseType==="json";if(Ie.isResponse(De)||Ie.isReadableStream(De))return De;if(De&&Ie.isString(De)&&(xt&&!this.responseType||Mt)){let ar=!(lt&&lt.silentJSONParsing)&&Mt;try{return JSON.parse(De)}catch(mr){if(ar)throw mr.name==="SyntaxError"?it.from(mr,it.ERR_BAD_RESPONSE,this,null,this.response):mr}}return De}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ze.classes.FormData,Blob:Ze.classes.Blob},validateStatus:function(De){return De>=200&&De<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ie.forEach(["delete","get","head","post","put","patch"],De=>{hr.headers[De]={}});var Br=hr,Er=Ie.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"]),Qe=De=>{let lt={},xt,Mt,ar;return De&&De.split(`
`).forEach(function(mr){ar=mr.indexOf(":"),xt=mr.substring(0,ar).trim().toLowerCase(),Mt=mr.substring(ar+1).trim(),!(!xt||lt[xt]&&Er[xt])&&(xt==="set-cookie"?lt[xt]?lt[xt].push(Mt):lt[xt]=[Mt]:lt[xt]=lt[xt]?lt[xt]+", "+Mt:Mt)}),lt},mt=Symbol("internals");function Ue(De){return De&&String(De).trim().toLowerCase()}function Ge(De){return De===!1||De==null?De:Ie.isArray(De)?De.map(Ge):String(De)}function Me(De){let lt=Object.create(null),xt=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,Mt;for(;Mt=xt.exec(De);)lt[Mt[1]]=Mt[2];return lt}var ze=De=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(De.trim());function Le(De,lt,xt,Mt,ar){if(Ie.isFunction(Mt))return Mt.call(this,lt,xt);if(ar&&(lt=xt),!!Ie.isString(lt)){if(Ie.isString(Mt))return lt.indexOf(Mt)!==-1;if(Ie.isRegExp(Mt))return Mt.test(lt)}}function rt(De){return De.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(lt,xt,Mt)=>xt.toUpperCase()+Mt)}function ht(De,lt){let xt=Ie.toCamelCase(" "+lt);["get","set","has"].forEach(Mt=>{Object.defineProperty(De,Mt+xt,{value:function(ar,mr,br){return this[Mt].call(this,lt,ar,mr,br)},configurable:!0})})}var ut=class{constructor(De){De&&this.set(De)}set(De,lt,xt){let Mt=this;function ar(br,$r,on){let Jr=Ue($r);if(!Jr)throw new Error("header name must be a non-empty string");let Xr=Ie.findKey(Mt,Jr);(!Xr||Mt[Xr]===void 0||on===!0||on===void 0&&Mt[Xr]!==!1)&&(Mt[Xr||$r]=Ge(br))}let mr=(br,$r)=>Ie.forEach(br,(on,Jr)=>ar(on,Jr,$r));if(Ie.isPlainObject(De)||De instanceof this.constructor)mr(De,lt);else if(Ie.isString(De)&&(De=De.trim())&&!ze(De))mr(Qe(De),lt);else if(Ie.isHeaders(De))for(let[br,$r]of De.entries())ar($r,br,xt);else De!=null&&ar(lt,De,xt);return this}get(De,lt){if(De=Ue(De),De){let xt=Ie.findKey(this,De);if(xt){let Mt=this[xt];if(!lt)return Mt;if(lt===!0)return Me(Mt);if(Ie.isFunction(lt))return lt.call(this,Mt,xt);if(Ie.isRegExp(lt))return lt.exec(Mt);throw new TypeError("parser must be boolean|regexp|function")}}}has(De,lt){if(De=Ue(De),De){let xt=Ie.findKey(this,De);return!!(xt&&this[xt]!==void 0&&(!lt||Le(this,this[xt],xt,lt)))}return!1}delete(De,lt){let xt=this,Mt=!1;function ar(mr){if(mr=Ue(mr),mr){let br=Ie.findKey(xt,mr);br&&(!lt||Le(xt,xt[br],br,lt))&&(delete xt[br],Mt=!0)}}return Ie.isArray(De)?De.forEach(ar):ar(De),Mt}clear(De){let lt=Object.keys(this),xt=lt.length,Mt=!1;for(;xt--;){let ar=lt[xt];(!De||Le(this,this[ar],ar,De,!0))&&(delete this[ar],Mt=!0)}return Mt}normalize(De){let lt=this,xt={};return Ie.forEach(this,(Mt,ar)=>{let mr=Ie.findKey(xt,ar);if(mr){lt[mr]=Ge(Mt),delete lt[ar];return}let br=De?rt(ar):String(ar).trim();br!==ar&&delete lt[ar],lt[br]=Ge(Mt),xt[br]=!0}),this}concat(...De){return this.constructor.concat(this,...De)}toJSON(De){let lt=Object.create(null);return Ie.forEach(this,(xt,Mt)=>{xt!=null&&xt!==!1&&(lt[Mt]=De&&Ie.isArray(xt)?xt.join(", "):xt)}),lt}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([De,lt])=>De+": "+lt).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(De){return De instanceof this?De:new this(De)}static concat(De,...lt){let xt=new this(De);return lt.forEach(Mt=>xt.set(Mt)),xt}static accessor(De){let lt=(this[mt]=this[mt]={accessors:{}}).accessors,xt=this.prototype;function Mt(ar){let mr=Ue(ar);lt[mr]||(ht(xt,ar),lt[mr]=!0)}return Ie.isArray(De)?De.forEach(Mt):Mt(De),this}};ut.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ie.reduceDescriptors(ut.prototype,({value:De},lt)=>{let xt=lt[0].toUpperCase()+lt.slice(1);return{get:()=>De,set(Mt){this[xt]=Mt}}}),Ie.freezeMethods(ut);var Dt=ut;function He(De,lt){let xt=this||Br,Mt=lt||xt,ar=Dt.from(Mt.headers),mr=Mt.data;return Ie.forEach(De,function(br){mr=br.call(xt,mr,ar.normalize(),lt?lt.status:void 0)}),ar.normalize(),mr}function nt(De){return!!(De&&De.__CANCEL__)}function at(De,lt,xt){it.call(this,De??"canceled",it.ERR_CANCELED,lt,xt),this.name="CanceledError"}Ie.inherits(at,it,{__CANCEL__:!0});function Tt(De,lt,xt){let Mt=xt.config.validateStatus;!xt.status||!Mt||Mt(xt.status)?De(xt):lt(new it("Request failed with status code "+xt.status,[it.ERR_BAD_REQUEST,it.ERR_BAD_RESPONSE][Math.floor(xt.status/100)-4],xt.config,xt.request,xt))}function pt(De){let lt=/^([-+\w]{1,25})(:?\/\/|:)/.exec(De);return lt&&lt[1]||""}function Bt(De,lt){De=De||10;let xt=new Array(De),Mt=new Array(De),ar=0,mr=0,br;return lt=lt!==void 0?lt:1e3,function($r){let on=Date.now(),Jr=Mt[mr];br||(br=on),xt[ar]=$r,Mt[ar]=on;let Xr=mr,On=0;for(;Xr!==ar;)On+=xt[Xr++],Xr=Xr%De;if(ar=(ar+1)%De,ar===mr&&(mr=(mr+1)%De),on-br<lt)return;let ci=Jr&&on-Jr;return ci?Math.round(On*1e3/ci):void 0}}function Zt(De,lt){let xt=0,Mt=1e3/lt,ar,mr,br=($r,on=Date.now())=>{xt=on,ar=null,mr&&(clearTimeout(mr),mr=null),De.apply(null,$r)};return[(...$r)=>{let on=Date.now(),Jr=on-xt;Jr>=Mt?br($r,on):(ar=$r,mr||(mr=setTimeout(()=>{mr=null,br(ar)},Mt-Jr)))},()=>ar&&br(ar)]}var K=(De,lt,xt=3)=>{let Mt=0,ar=Bt(50,250);return Zt(mr=>{let br=mr.loaded,$r=mr.lengthComputable?mr.total:void 0,on=br-Mt,Jr=ar(on),Xr=br<=$r;Mt=br;let On={loaded:br,total:$r,progress:$r?br/$r:void 0,bytes:on,rate:Jr||void 0,estimated:Jr&&$r&&Xr?($r-br)/Jr:void 0,event:mr,lengthComputable:$r!=null,[lt?"download":"upload"]:!0};De(On)},xt)},X=(De,lt)=>{let xt=De!=null;return[Mt=>lt[0]({lengthComputable:xt,total:De,loaded:Mt}),lt[1]]},Z=De=>(...lt)=>Ie.asap(()=>De(...lt)),be=Ze.hasStandardBrowserEnv?(function(){let De=/(msie|trident)/i.test(navigator.userAgent),lt=document.createElement("a"),xt;function Mt(ar){let mr=ar;return De&&(lt.setAttribute("href",mr),mr=lt.href),lt.setAttribute("href",mr),{href:lt.href,protocol:lt.protocol?lt.protocol.replace(/:$/,""):"",host:lt.host,search:lt.search?lt.search.replace(/^\?/,""):"",hash:lt.hash?lt.hash.replace(/^#/,""):"",hostname:lt.hostname,port:lt.port,pathname:lt.pathname.charAt(0)==="/"?lt.pathname:"/"+lt.pathname}}return xt=Mt(window.location.href),function(ar){let mr=Ie.isString(ar)?Mt(ar):ar;return mr.protocol===xt.protocol&&mr.host===xt.host}})():(function(){return function(){return!0}})(),Be=Ze.hasStandardBrowserEnv?{write(De,lt,xt,Mt,ar,mr){let br=[De+"="+encodeURIComponent(lt)];Ie.isNumber(xt)&&br.push("expires="+new Date(xt).toGMTString()),Ie.isString(Mt)&&br.push("path="+Mt),Ie.isString(ar)&&br.push("domain="+ar),mr===!0&&br.push("secure"),document.cookie=br.join("; ")},read(De){let lt=document.cookie.match(new RegExp("(^|;\\s*)("+De+")=([^;]*)"));return lt?decodeURIComponent(lt[3]):null},remove(De){this.write(De,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function dt(De){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(De)}function gt(De,lt){return lt?De.replace(/\/?\/$/,"")+"/"+lt.replace(/^\/+/,""):De}function Ve(De,lt){return De&&!dt(lt)?gt(De,lt):lt}var Yt=De=>De instanceof Dt?{...De}:De;function yr(De,lt){lt=lt||{};let xt={};function Mt(Jr,Xr,On){return Ie.isPlainObject(Jr)&&Ie.isPlainObject(Xr)?Ie.merge.call({caseless:On},Jr,Xr):Ie.isPlainObject(Xr)?Ie.merge({},Xr):Ie.isArray(Xr)?Xr.slice():Xr}function ar(Jr,Xr,On){if(Ie.isUndefined(Xr)){if(!Ie.isUndefined(Jr))return Mt(void 0,Jr,On)}else return Mt(Jr,Xr,On)}function mr(Jr,Xr){if(!Ie.isUndefined(Xr))return Mt(void 0,Xr)}function br(Jr,Xr){if(Ie.isUndefined(Xr)){if(!Ie.isUndefined(Jr))return Mt(void 0,Jr)}else return Mt(void 0,Xr)}function $r(Jr,Xr,On){if(On in lt)return Mt(Jr,Xr);if(On in De)return Mt(void 0,Jr)}let on={url:mr,method:mr,data:mr,baseURL:br,transformRequest:br,transformResponse:br,paramsSerializer:br,timeout:br,timeoutMessage:br,withCredentials:br,withXSRFToken:br,adapter:br,responseType:br,xsrfCookieName:br,xsrfHeaderName:br,onUploadProgress:br,onDownloadProgress:br,decompress:br,maxContentLength:br,maxBodyLength:br,beforeRedirect:br,transport:br,httpAgent:br,httpsAgent:br,cancelToken:br,socketPath:br,responseEncoding:br,validateStatus:$r,headers:(Jr,Xr)=>ar(Yt(Jr),Yt(Xr),!0)};return Ie.forEach(Object.keys(Object.assign({},De,lt)),function(Jr){let Xr=on[Jr]||ar,On=Xr(De[Jr],lt[Jr],Jr);Ie.isUndefined(On)&&Xr!==$r||(xt[Jr]=On)}),xt}var Cr=De=>{let lt=yr({},De),{data:xt,withXSRFToken:Mt,xsrfHeaderName:ar,xsrfCookieName:mr,headers:br,auth:$r}=lt;lt.headers=br=Dt.from(br),lt.url=tr(Ve(lt.baseURL,lt.url),De.params,De.paramsSerializer),$r&&br.set("Authorization","Basic "+btoa(($r.username||"")+":"+($r.password?unescape(encodeURIComponent($r.password)):"")));let on;if(Ie.isFormData(xt)){if(Ze.hasStandardBrowserEnv||Ze.hasStandardBrowserWebWorkerEnv)br.setContentType(void 0);else if((on=br.getContentType())!==!1){let[Jr,...Xr]=on?on.split(";").map(On=>On.trim()).filter(Boolean):[];br.setContentType([Jr||"multipart/form-data",...Xr].join("; "))}}if(Ze.hasStandardBrowserEnv&&(Mt&&Ie.isFunction(Mt)&&(Mt=Mt(lt)),Mt||Mt!==!1&&be(lt.url))){let Jr=ar&&mr&&Be.read(mr);Jr&&br.set(ar,Jr)}return lt},dr=typeof XMLHttpRequest<"u",wr=dr&&function(De){return new Promise(function(lt,xt){let Mt=Cr(De),ar=Mt.data,mr=Dt.from(Mt.headers).normalize(),{responseType:br,onUploadProgress:$r,onDownloadProgress:on}=Mt,Jr,Xr,On,ci,cn;function Dn(){ci&&ci(),cn&&cn(),Mt.cancelToken&&Mt.cancelToken.unsubscribe(Jr),Mt.signal&&Mt.signal.removeEventListener("abort",Jr)}let dn=new XMLHttpRequest;dn.open(Mt.method.toUpperCase(),Mt.url,!0),dn.timeout=Mt.timeout;function wi(){if(!dn)return;let pi=Dt.from("getAllResponseHeaders"in dn&&dn.getAllResponseHeaders()),Qn={data:!br||br==="text"||br==="json"?dn.responseText:dn.response,status:dn.status,statusText:dn.statusText,headers:pi,config:De,request:dn};Tt(function(lo){lt(lo),Dn()},function(lo){xt(lo),Dn()},Qn),dn=null}"onloadend"in dn?dn.onloadend=wi:dn.onreadystatechange=function(){!dn||dn.readyState!==4||dn.status===0&&!(dn.responseURL&&dn.responseURL.indexOf("file:")===0)||setTimeout(wi)},dn.onabort=function(){dn&&(xt(new it("Request aborted",it.ECONNABORTED,De,dn)),dn=null)},dn.onerror=function(){xt(new it("Network Error",it.ERR_NETWORK,De,dn)),dn=null},dn.ontimeout=function(){let pi=Mt.timeout?"timeout of "+Mt.timeout+"ms exceeded":"timeout exceeded",Qn=Mt.transitional||kt;Mt.timeoutErrorMessage&&(pi=Mt.timeoutErrorMessage),xt(new it(pi,Qn.clarifyTimeoutError?it.ETIMEDOUT:it.ECONNABORTED,De,dn)),dn=null},ar===void 0&&mr.setContentType(null),"setRequestHeader"in dn&&Ie.forEach(mr.toJSON(),function(pi,Qn){dn.setRequestHeader(Qn,pi)}),Ie.isUndefined(Mt.withCredentials)||(dn.withCredentials=!!Mt.withCredentials),br&&br!=="json"&&(dn.responseType=Mt.responseType),on&&([On,cn]=K(on,!0),dn.addEventListener("progress",On)),$r&&dn.upload&&([Xr,ci]=K($r),dn.upload.addEventListener("progress",Xr),dn.upload.addEventListener("loadend",ci)),(Mt.cancelToken||Mt.signal)&&(Jr=pi=>{dn&&(xt(!pi||pi.type?new at(null,De,dn):pi),dn.abort(),dn=null)},Mt.cancelToken&&Mt.cancelToken.subscribe(Jr),Mt.signal&&(Mt.signal.aborted?Jr():Mt.signal.addEventListener("abort",Jr)));let Di=pt(Mt.url);if(Di&&Ze.protocols.indexOf(Di)===-1){xt(new it("Unsupported protocol "+Di+":",it.ERR_BAD_REQUEST,De));return}dn.send(ar||null)})},jr=(De,lt)=>{let xt=new AbortController,Mt,ar=function(on){if(!Mt){Mt=!0,br();let Jr=on instanceof Error?on:this.reason;xt.abort(Jr instanceof it?Jr:new at(Jr instanceof Error?Jr.message:Jr))}},mr=lt&&setTimeout(()=>{ar(new it(`timeout ${lt} of ms exceeded`,it.ETIMEDOUT))},lt),br=()=>{De&&(mr&&clearTimeout(mr),mr=null,De.forEach(on=>{on&&(on.removeEventListener?on.removeEventListener("abort",ar):on.unsubscribe(ar))}),De=null)};De.forEach(on=>on&&on.addEventListener&&on.addEventListener("abort",ar));let{signal:$r}=xt;return $r.unsubscribe=br,[$r,()=>{mr&&clearTimeout(mr),mr=null}]},sn=jr,ln=function*(De,lt){let xt=De.byteLength;if(!lt||xt<lt){yield De;return}let Mt=0,ar;for(;Mt<xt;)ar=Mt+lt,yield De.slice(Mt,ar),Mt=ar},gn=async function*(De,lt,xt){for await(let Mt of De)yield*ln(ArrayBuffer.isView(Mt)?Mt:await xt(String(Mt)),lt)},An=(De,lt,xt,Mt,ar)=>{let mr=gn(De,lt,ar),br=0,$r,on=Jr=>{$r||($r=!0,Mt&&Mt(Jr))};return new ReadableStream({async pull(Jr){try{let{done:Xr,value:On}=await mr.next();if(Xr){on(),Jr.close();return}let ci=On.byteLength;if(xt){let cn=br+=ci;xt(cn)}Jr.enqueue(new Uint8Array(On))}catch(Xr){throw on(Xr),Xr}},cancel(Jr){return on(Jr),mr.return()}},{highWaterMark:2})},mn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Cn=mn&&typeof ReadableStream=="function",Gn=mn&&(typeof TextEncoder=="function"?(De=>lt=>De.encode(lt))(new TextEncoder):async De=>new Uint8Array(await new Response(De).arrayBuffer())),qn=(De,...lt)=>{try{return!!De(...lt)}catch{return!1}},Hn=Cn&&qn(()=>{let De=!1,lt=new Request(Ze.origin,{body:new ReadableStream,method:"POST",get duplex(){return De=!0,"half"}}).headers.has("Content-Type");return De&&!lt}),uo=64*1024,Ri=Cn&&qn(()=>Ie.isReadableStream(new Response("").body)),Co={stream:Ri&&(De=>De.body)};mn&&(De=>{["text","arrayBuffer","blob","formData","stream"].forEach(lt=>{!Co[lt]&&(Co[lt]=Ie.isFunction(De[lt])?xt=>xt[lt]():(xt,Mt)=>{throw new it(`Response type '${lt}' is not supported`,it.ERR_NOT_SUPPORT,Mt)})})})(new Response);var is=async De=>{if(De==null)return 0;if(Ie.isBlob(De))return De.size;if(Ie.isSpecCompliantForm(De))return(await new Request(De).arrayBuffer()).byteLength;if(Ie.isArrayBufferView(De)||Ie.isArrayBuffer(De))return De.byteLength;if(Ie.isURLSearchParams(De)&&(De=De+""),Ie.isString(De))return(await Gn(De)).byteLength},ks=async(De,lt)=>Ie.toFiniteNumber(De.getContentLength())??is(lt),Hi=mn&&(async De=>{let{url:lt,method:xt,data:Mt,signal:ar,cancelToken:mr,timeout:br,onDownloadProgress:$r,onUploadProgress:on,responseType:Jr,headers:Xr,withCredentials:On="same-origin",fetchOptions:ci}=Cr(De);Jr=Jr?(Jr+"").toLowerCase():"text";let[cn,Dn]=ar||mr||br?sn([ar,mr],br):[],dn,wi,Di=()=>{!dn&&setTimeout(()=>{cn&&cn.unsubscribe()}),dn=!0},pi;try{if(on&&Hn&&xt!=="get"&&xt!=="head"&&(pi=await ks(Xr,Mt))!==0){let no=new Request(lt,{method:"POST",body:Mt,duplex:"half"}),fo;if(Ie.isFormData(Mt)&&(fo=no.headers.get("content-type"))&&Xr.setContentType(fo),no.body){let[oo,Ii]=X(pi,K(Z(on)));Mt=An(no.body,uo,oo,Ii,Gn)}}Ie.isString(On)||(On=On?"include":"omit"),wi=new Request(lt,{...ci,signal:cn,method:xt.toUpperCase(),headers:Xr.normalize().toJSON(),body:Mt,duplex:"half",credentials:On});let Qn=await fetch(wi),lo=Ri&&(Jr==="stream"||Jr==="response");if(Ri&&($r||lo)){let no={};["status","statusText","headers"].forEach(Ki=>{no[Ki]=Qn[Ki]});let fo=Ie.toFiniteNumber(Qn.headers.get("content-length")),[oo,Ii]=$r&&X(fo,K(Z($r),!0))||[];Qn=new Response(An(Qn.body,uo,oo,()=>{Ii&&Ii(),lo&&Di()},Gn),no)}Jr=Jr||"text";let ms=await Co[Ie.findKey(Co,Jr)||"text"](Qn,De);return!lo&&Di(),Dn&&Dn(),await new Promise((no,fo)=>{Tt(no,fo,{data:ms,headers:Dt.from(Qn.headers),status:Qn.status,statusText:Qn.statusText,config:De,request:wi})})}catch(Qn){throw Di(),Qn&&Qn.name==="TypeError"&&/fetch/i.test(Qn.message)?Object.assign(new it("Network Error",it.ERR_NETWORK,De,wi),{cause:Qn.cause||Qn}):it.from(Qn,Qn&&Qn.code,De,wi)}}),Ro={http:Gt,xhr:wr,fetch:Hi};Ie.forEach(Ro,(De,lt)=>{if(De){try{Object.defineProperty(De,"name",{value:lt})}catch{}Object.defineProperty(De,"adapterName",{value:lt})}});var co=De=>`- ${De}`,Ps=De=>Ie.isFunction(De)||De===null||De===!1,Uo={getAdapter:De=>{De=Ie.isArray(De)?De:[De];let{length:lt}=De,xt,Mt,ar={};for(let mr=0;mr<lt;mr++){xt=De[mr];let br;if(Mt=xt,!Ps(xt)&&(Mt=Ro[(br=String(xt)).toLowerCase()],Mt===void 0))throw new it(`Unknown adapter '${br}'`);if(Mt)break;ar[br||"#"+mr]=Mt}if(!Mt){let mr=Object.entries(ar).map(([$r,on])=>`adapter ${$r} `+(on===!1?"is not supported by the environment":"is not available in the build")),br=lt?mr.length>1?`since :
`+mr.map(co).join(`
`):" "+co(mr[0]):"as no adapter specified";throw new it("There is no suitable adapter to dispatch the request "+br,"ERR_NOT_SUPPORT")}return Mt},adapters:Ro};function So(De){if(De.cancelToken&&De.cancelToken.throwIfRequested(),De.signal&&De.signal.aborted)throw new at(null,De)}function ss(De){return So(De),De.headers=Dt.from(De.headers),De.data=He.call(De,De.transformRequest),["post","put","patch"].indexOf(De.method)!==-1&&De.headers.setContentType("application/x-www-form-urlencoded",!1),Uo.getAdapter(De.adapter||Br.adapter)(De).then(function(lt){return So(De),lt.data=He.call(De,De.transformResponse,lt),lt.headers=Dt.from(lt.headers),lt},function(lt){return nt(lt)||(So(De),lt&&lt.response&&(lt.response.data=He.call(De,De.transformResponse,lt.response),lt.response.headers=Dt.from(lt.response.headers))),Promise.reject(lt)})}var Do="1.7.4",Gi={};["object","boolean","number","function","string","symbol"].forEach((De,lt)=>{Gi[De]=function(xt){return typeof xt===De||"a"+(lt<1?"n ":" ")+De}});var Io={};Gi.transitional=function(De,lt,xt){function Mt(ar,mr){return"[Axios v"+Do+"] Transitional option '"+ar+"'"+mr+(xt?". "+xt:"")}return(ar,mr,br)=>{if(De===!1)throw new it(Mt(mr," has been removed"+(lt?" in "+lt:"")),it.ERR_DEPRECATED);return lt&&!Io[mr]&&(Io[mr]=!0,console.warn(Mt(mr," has been deprecated since v"+lt+" and will be removed in the near future"))),De?De(ar,mr,br):!0}};function ds(De,lt,xt){if(typeof De!="object")throw new it("options must be an object",it.ERR_BAD_OPTION_VALUE);let Mt=Object.keys(De),ar=Mt.length;for(;ar-- >0;){let mr=Mt[ar],br=lt[mr];if(br){let $r=De[mr],on=$r===void 0||br($r,mr,De);if(on!==!0)throw new it("option "+mr+" must be "+on,it.ERR_BAD_OPTION_VALUE);continue}if(xt!==!0)throw new it("Unknown option "+mr,it.ERR_BAD_OPTION)}}var mo={assertOptions:ds,validators:Gi},Mi=mo.validators,bi=class{constructor(De){this.defaults=De,this.interceptors={request:new bt,response:new bt}}async request(De,lt){try{return await this._request(De,lt)}catch(xt){if(xt instanceof Error){let Mt;Error.captureStackTrace?Error.captureStackTrace(Mt={}):Mt=new Error;let ar=Mt.stack?Mt.stack.replace(/^.+\n/,""):"";try{xt.stack?ar&&!String(xt.stack).endsWith(ar.replace(/^.+\n.+\n/,""))&&(xt.stack+=`
`+ar):xt.stack=ar}catch{}}throw xt}}_request(De,lt){typeof De=="string"?(lt=lt||{},lt.url=De):lt=De||{},lt=yr(this.defaults,lt);let{transitional:xt,paramsSerializer:Mt,headers:ar}=lt;xt!==void 0&&mo.assertOptions(xt,{silentJSONParsing:Mi.transitional(Mi.boolean),forcedJSONParsing:Mi.transitional(Mi.boolean),clarifyTimeoutError:Mi.transitional(Mi.boolean)},!1),Mt!=null&&(Ie.isFunction(Mt)?lt.paramsSerializer={serialize:Mt}:mo.assertOptions(Mt,{encode:Mi.function,serialize:Mi.function},!0)),lt.method=(lt.method||this.defaults.method||"get").toLowerCase();let mr=ar&&Ie.merge(ar.common,ar[lt.method]);ar&&Ie.forEach(["delete","get","head","post","put","patch","common"],cn=>{delete ar[cn]}),lt.headers=Dt.concat(mr,ar);let br=[],$r=!0;this.interceptors.request.forEach(function(cn){typeof cn.runWhen=="function"&&cn.runWhen(lt)===!1||($r=$r&&cn.synchronous,br.unshift(cn.fulfilled,cn.rejected))});let on=[];this.interceptors.response.forEach(function(cn){on.push(cn.fulfilled,cn.rejected)});let Jr,Xr=0,On;if(!$r){let cn=[ss.bind(this),void 0];for(cn.unshift.apply(cn,br),cn.push.apply(cn,on),On=cn.length,Jr=Promise.resolve(lt);Xr<On;)Jr=Jr.then(cn[Xr++],cn[Xr++]);return Jr}On=br.length;let ci=lt;for(Xr=0;Xr<On;){let cn=br[Xr++],Dn=br[Xr++];try{ci=cn(ci)}catch(dn){Dn.call(this,dn);break}}try{Jr=ss.call(this,ci)}catch(cn){return Promise.reject(cn)}for(Xr=0,On=on.length;Xr<On;)Jr=Jr.then(on[Xr++],on[Xr++]);return Jr}getUri(De){De=yr(this.defaults,De);let lt=Ve(De.baseURL,De.url);return tr(lt,De.params,De.paramsSerializer)}};Ie.forEach(["delete","get","head","options"],function(De){bi.prototype[De]=function(lt,xt){return this.request(yr(xt||{},{method:De,url:lt,data:(xt||{}).data}))}}),Ie.forEach(["post","put","patch"],function(De){function lt(xt){return function(Mt,ar,mr){return this.request(yr(mr||{},{method:De,headers:xt?{"Content-Type":"multipart/form-data"}:{},url:Mt,data:ar}))}}bi.prototype[De]=lt(),bi.prototype[De+"Form"]=lt(!0)});var wo=bi,vo=class k0{constructor(lt){if(typeof lt!="function")throw new TypeError("executor must be a function.");let xt;this.promise=new Promise(function(ar){xt=ar});let Mt=this;this.promise.then(ar=>{if(!Mt._listeners)return;let mr=Mt._listeners.length;for(;mr-- >0;)Mt._listeners[mr](ar);Mt._listeners=null}),this.promise.then=ar=>{let mr,br=new Promise($r=>{Mt.subscribe($r),mr=$r}).then(ar);return br.cancel=function(){Mt.unsubscribe(mr)},br},lt(function(ar,mr,br){Mt.reason||(Mt.reason=new at(ar,mr,br),xt(Mt.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(lt){if(this.reason){lt(this.reason);return}this._listeners?this._listeners.push(lt):this._listeners=[lt]}unsubscribe(lt){if(!this._listeners)return;let xt=this._listeners.indexOf(lt);xt!==-1&&this._listeners.splice(xt,1)}static source(){let lt;return{token:new k0(function(xt){lt=xt}),cancel:lt}}},Vi=vo;function Eo(De){return function(lt){return De.apply(null,lt)}}function Oo(De){return Ie.isObject(De)&&De.isAxiosError===!0}var ro={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(ro).forEach(([De,lt])=>{ro[lt]=De});var js=ro;function ps(De){let lt=new wo(De),xt=r(wo.prototype.request,lt);return Ie.extend(xt,wo.prototype,lt,{allOwnKeys:!0}),Ie.extend(xt,lt,null,{allOwnKeys:!0}),xt.create=function(Mt){return ps(yr(De,Mt))},xt}var Vn=ps(Br);Vn.Axios=wo,Vn.CanceledError=at,Vn.CancelToken=Vi,Vn.isCancel=nt,Vn.VERSION=Do,Vn.toFormData=Pr,Vn.AxiosError=it,Vn.Cancel=Vn.CanceledError,Vn.all=function(De){return Promise.all(De)},Vn.spread=Eo,Vn.isAxiosError=Oo,Vn.mergeConfig=yr,Vn.AxiosHeaders=Dt,Vn.formToJSON=De=>yt(Ie.isHTMLForm(De)?new FormData(De):De),Vn.getAdapter=Uo.getAdapter,Vn.HttpStatusCode=js,Vn.default=Vn,t.exports=Vn}),fie=W((e,t)=>{"use strict";m();var r=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,n=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,u=(T,A)=>{for(var O in A)o(T,O,{get:A[O],enumerable:!0})},c=(T,A,O,v)=>{if(A&&typeof A=="object"||typeof A=="function")for(let B of i(A))!a.call(T,B)&&B!==O&&o(T,B,{get:()=>A[B],enumerable:!(v=s(A,B))||v.enumerable});return T},d=(T,A,O)=>(O=T!=null?r(n(T)):{},c(A||!T||!T.__esModule?o(O,"default",{value:T,enumerable:!0}):O,T)),h=T=>c(o({},"__esModule",{value:!0}),T),y={};u(y,{default:()=>w}),t.exports=h(y);var C=d(iF());async function w(T){var A;let{params:O,method:v,url:B,headers:R,body:U,overrides:N}=T,_={headers:R,method:v,url:B,params:O,data:U,withCredentials:(A=N?.WITH_CREDENTIALS)!=null?A:!0};try{let L=await(0,C.default)(_);return{status:L.status,statusText:L.statusText,data:L.data,headers:L.headers,config:L.config}}catch(L){let H=L;if(H.response)return H.response;throw L}}}),Nr=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});function t(J){if(J&&J.__esModule)return J;var z={};if(J!=null)for(var te in J)Object.prototype.hasOwnProperty.call(J,te)&&(z[te]=J[te]);return z.default=J,z}function r(J){return J&&J.__esModule?J:{default:J}}function o(J,z){return J??z()}function s(J){let z,te=J[0],Ae=1;for(;Ae<J.length;){let xe=J[Ae],tt=J[Ae+1];if(Ae+=2,(xe==="optionalAccess"||xe==="optionalCall")&&te==null)return;xe==="access"||xe==="optionalAccess"?(z=te,te=tt(te)):(xe==="call"||xe==="optionalCall")&&(te=tt((...vt)=>te.call(z,...vt)),z=void 0)}return te}function i(J){return s(J)??!0}var n=t_e(),a=255,u=65535,c=4294967295,d=18446744073709551615n,h=340282366920938463463374607431768211455n,y=115792089237316195423570985008687907853269984665640564039457584007913129639935n,C=class{constructor(J){this.buffer=new ArrayBuffer(J.length),new Uint8Array(this.buffer).set(J,0),this.offset=0}read(J){if(this.offset+J>this.buffer.byteLength)throw new Error("Reached to the end of buffer");let z=this.buffer.slice(this.offset,this.offset+J);return this.offset+=J,z}remaining(){return this.buffer.byteLength-this.offset}deserializeStr(){let J=this.deserializeBytes();return new TextDecoder().decode(J)}deserializeOptionStr(){return this.deserializeBool()?this.deserializeStr():void 0}deserializeOption(J){return this.deserializeBool()?this.deserialize(J):void 0}deserializeBytes(){let J=this.deserializeUleb128AsU32();return new Uint8Array(this.read(J))}deserializeFixedBytes(J){return new Uint8Array(this.read(J))}deserializeBool(){let J=new Uint8Array(this.read(1))[0];if(J!==1&&J!==0)throw new Error("Invalid boolean value");return J===1}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 J=this.deserializeU32(),z=this.deserializeU32();return BigInt(BigInt(z)<<BigInt(32)|BigInt(J))}deserializeU128(){let J=this.deserializeU64(),z=this.deserializeU64();return BigInt(z<<BigInt(64)|J)}deserializeU256(){let J=this.deserializeU128(),z=this.deserializeU128();return BigInt(z<<BigInt(128)|J)}deserializeUleb128AsU32(){let J=BigInt(0),z=0;for(;J<c;){let te=this.deserializeU8();if(J|=BigInt(te&127)<<BigInt(z),!(te&128))break;z+=7}if(J>c)throw new Error("Overflow while parsing uleb128-encoded uint32 value");return Number(J)}deserialize(J){return J.deserialize(this)}deserializeVector(J){let z=this.deserializeUleb128AsU32(),te=new Array;for(let Ae=0;Ae<z;Ae+=1)te.push(this.deserialize(J));return te}},w=Au(),T=class extends Error{constructor(J,z){super(J),this.invalidReason=z}},A=(J=>(J.TOO_SHORT="too_short",J.INVALID_LENGTH="invalid_length",J.INVALID_HEX_CHARS="invalid_hex_chars",J))(A||{}),O=e.Hex=class sl{constructor(z){this.data=z}toUint8Array(){return this.data}toStringWithoutPrefix(){return w.bytesToHex.call(void 0,this.data)}toString(){return`0x${this.toStringWithoutPrefix()}`}static fromHexString(z){let te=z;if(te.startsWith("0x")&&(te=te.slice(2)),te.length===0)throw new T("Hex string is too short, must be at least 1 char long, excluding the optional leading 0x.","too_short");if(te.length%2!==0)throw new T("Hex string must be an even number of hex characters.","invalid_length");try{return new sl(w.hexToBytes.call(void 0,te))}catch(Ae){throw new T(`Hex string contains invalid hex characters: ${s([Ae,"optionalAccess",xe=>xe.message])}`,"invalid_hex_chars")}}static fromHexInput(z){return z instanceof Uint8Array?new sl(z):sl.fromHexString(z)}static isValid(z){try{return sl.fromHexString(z),{valid:!0}}catch(te){return{valid:!1,invalidReason:s([te,"optionalAccess",Ae=>Ae.invalidReason]),invalidReasonMessage:s([te,"optionalAccess",Ae=>Ae.message])}}}equals(z){return this.data.length!==z.data.length?!1:this.data.every((te,Ae)=>te===z.data[Ae])}},v=class{bcsToBytes(){let J=new B;return this.serialize(J),J.toUint8Array()}bcsToHex(){let J=this.bcsToBytes();return O.fromHexInput(J)}toStringWithoutPrefix(){return this.bcsToHex().toStringWithoutPrefix()}toString(){return`0x${this.toStringWithoutPrefix()}`}},B=e.Serializer=class{constructor(J=64){if(J<=0)throw new Error("Length needs to be greater than 0");this.buffer=new ArrayBuffer(J),this.offset=0}ensureBufferWillHandleSize(J){for(;this.buffer.byteLength<this.offset+J;){let z=new ArrayBuffer(this.buffer.byteLength*2);new Uint8Array(z).set(new Uint8Array(this.buffer)),this.buffer=z}}appendToBuffer(J){this.ensureBufferWillHandleSize(J.length),new Uint8Array(this.buffer,this.offset).set(J),this.offset+=J.length}serializeWithFunction(J,z,te){this.ensureBufferWillHandleSize(z);let Ae=new DataView(this.buffer,this.offset);J.apply(Ae,[0,te,!0]),this.offset+=z}serializeStr(J){let z=new TextEncoder;this.serializeBytes(z.encode(J))}serializeBytes(J){this.serializeU32AsUleb128(J.length),this.appendToBuffer(J)}serializeFixedBytes(J){this.appendToBuffer(J)}serializeBool(J){R(J);let z=J?1:0;this.appendToBuffer(new Uint8Array([z]))}serializeU8(J){this.appendToBuffer(new Uint8Array([J]))}serializeU16(J){this.serializeWithFunction(DataView.prototype.setUint16,2,J)}serializeU32(J){this.serializeWithFunction(DataView.prototype.setUint32,4,J)}serializeU64(J){let z=BigInt(J)&BigInt(c),te=BigInt(J)>>BigInt(32);this.serializeU32(Number(z)),this.serializeU32(Number(te))}serializeU128(J){let z=BigInt(J)&d,te=BigInt(J)>>BigInt(64);this.serializeU64(z),this.serializeU64(te)}serializeU256(J){let z=BigInt(J)&h,te=BigInt(J)>>BigInt(128);this.serializeU128(z),this.serializeU128(te)}serializeU32AsUleb128(J){let z=J,te=[];for(;z>>>7;)te.push(z&127|128),z>>>=7;te.push(z),this.appendToBuffer(new Uint8Array(te))}toUint8Array(){return new Uint8Array(this.buffer).slice(0,this.offset)}serialize(J){J.serialize(this)}serializeVector(J){this.serializeU32AsUleb128(J.length),J.forEach(z=>{z.serialize(this)})}serializeOption(J){let z=J!==void 0;this.serializeBool(z),z&&J.serialize(this)}serializeOptionStr(J){J===void 0?this.serializeU32AsUleb128(0):(this.serializeU32AsUleb128(1),this.serializeStr(J))}};n.a.call(void 0,[_(0,a)],B.prototype,"serializeU8",1),n.a.call(void 0,[_(0,u)],B.prototype,"serializeU16",1),n.a.call(void 0,[_(0,c)],B.prototype,"serializeU32",1),n.a.call(void 0,[_(BigInt(0),d)],B.prototype,"serializeU64",1),n.a.call(void 0,[_(BigInt(0),h)],B.prototype,"serializeU128",1),n.a.call(void 0,[_(BigInt(0),y)],B.prototype,"serializeU256",1),n.a.call(void 0,[_(0,c)],B.prototype,"serializeU32AsUleb128",1);function R(J){if(typeof J!="boolean")throw new Error(`${J} is not a boolean value`)}var U=(J,z,te)=>`${J} is out of range: [${z}, ${te}]`;function N(J,z,te){let Ae=BigInt(J);if(Ae>BigInt(te)||Ae<BigInt(z))throw new Error(U(J,z,te))}function _(J,z){return(te,Ae,xe)=>{let tt=xe.value;return xe.value=function(vt){return N(vt,J,z),tt.apply(this,[vt])},xe}}var L=class P0 extends v{constructor(z){super(),this.value=O.fromHexInput(z).toUint8Array()}serialize(z){z.serializeFixedBytes(this.value)}serializeForEntryFunction(z){z.serialize(this)}serializeForScriptFunction(z){z.serialize(this)}static deserialize(z,te){let Ae=z.deserializeFixedBytes(te);return new P0(Ae)}},H=class M0 extends v{constructor(z){super(),this.value=new L(z)}serialize(z){z.serialize(this.value)}serializeForEntryFunction(z){z.serializeU32AsUleb128(this.value.value.length),z.serialize(this)}static deserialize(z,te){let Ae=L.deserialize(z,te);return new M0(Ae.value)}},F=(J=>(J.JSON="application/json",J.BCS="application/x-bcs",J.BCS_SIGNED_TRANSACTION="application/x.aptos.signed_transaction+bcs",J.BCS_VIEW_FUNCTION="application/x.aptos.view_function+bcs",J))(F||{}),G=e.TypeTagVariants=(J=>(J[J.Bool=0]="Bool",J[J.U8=1]="U8",J[J.U64=2]="U64",J[J.U128=3]="U128",J[J.Address=4]="Address",J[J.Signer=5]="Signer",J[J.Vector=6]="Vector",J[J.Struct=7]="Struct",J[J.U16=8]="U16",J[J.U32=9]="U32",J[J.U256=10]="U256",J[J.Reference=254]="Reference",J[J.Generic=255]="Generic",J))(G||{}),l=e.ScriptTransactionArgumentVariants=(J=>(J[J.U8=0]="U8",J[J.U64=1]="U64",J[J.U128=2]="U128",J[J.Address=3]="Address",J[J.U8Vector=4]="U8Vector",J[J.Bool=5]="Bool",J[J.U16=6]="U16",J[J.U32=7]="U32",J[J.U256=8]="U256",J[J.Serialized=9]="Serialized",J))(l||{}),p=e.TransactionPayloadVariants=(J=>(J[J.Script=0]="Script",J[J.EntryFunction=2]="EntryFunction",J[J.Multisig=3]="Multisig",J))(p||{}),E=e.TransactionVariants=(J=>(J[J.MultiAgentTransaction=0]="MultiAgentTransaction",J[J.FeePayerTransaction=1]="FeePayerTransaction",J))(E||{}),g=e.TransactionAuthenticatorVariant=(J=>(J[J.Ed25519=0]="Ed25519",J[J.MultiEd25519=1]="MultiEd25519",J[J.MultiAgent=2]="MultiAgent",J[J.FeePayer=3]="FeePayer",J[J.SingleSender=4]="SingleSender",J))(g||{}),b=e.AccountAuthenticatorVariant=(J=>(J[J.Ed25519=0]="Ed25519",J[J.MultiEd25519=1]="MultiEd25519",J[J.SingleKey=2]="SingleKey",J[J.MultiKey=3]="MultiKey",J))(b||{}),k=e.AnyPublicKeyVariant=(J=>(J[J.Ed25519=0]="Ed25519",J[J.Secp256k1=1]="Secp256k1",J[J.Keyless=3]="Keyless",J[J.FederatedKeyless=4]="FederatedKeyless",J))(k||{}),x=e.AnySignatureVariant=(J=>(J[J.Ed25519=0]="Ed25519",J[J.Secp256k1=1]="Secp256k1",J[J.Keyless=3]="Keyless",J))(x||{}),S=e.EphemeralPublicKeyVariant=(J=>(J[J.Ed25519=0]="Ed25519",J))(S||{}),f=e.EphemeralSignatureVariant=(J=>(J[J.Ed25519=0]="Ed25519",J))(f||{}),M=e.EphemeralCertificateVariant=(J=>(J[J.ZkProof=0]="ZkProof",J))(M||{}),V=e.ZkpVariant=(J=>(J[J.Groth16=0]="Groth16",J))(V||{}),D=e.TransactionResponseType=(J=>(J.Pending="pending_transaction",J.User="user_transaction",J.Genesis="genesis_transaction",J.BlockMetadata="block_metadata_transaction",J.StateCheckpoint="state_checkpoint_transaction",J.Validator="validator_transaction",J.BlockEpilogue="block_epilogue_transaction",J))(D||{});function j(J){return J.type==="pending_transaction"}function Y(J){return J.type==="user_transaction"}function oe(J){return J.type==="genesis_transaction"}function de(J){return J.type==="block_metadata_transaction"}function ue(J){return J.type==="state_checkpoint_transaction"}function ae(J){return J.type==="validator_transaction"}function q(J){return J.type==="block_epilogue_transaction"}function ne(J){return"signature"in J&&J.signature==="ed25519_signature"}function me(J){return"signature"in J&&J.signature==="secp256k1_ecdsa_signature"}function ve(J){return J.type==="multi_agent_signature"}function ge(J){return J.type==="fee_payer_signature"}function ce(J){return J.type==="multi_ed25519_signature"}var ee=(J=>(J.PRIVATE="private",J.PUBLIC="public",J.FRIEND="friend",J))(ee||{}),fe=e.MoveAbility=(J=>(J.STORE="store",J.DROP="drop",J.KEY="key",J.COPY="copy",J))(fe||{}),ie=e.RoleType=(J=>(J.VALIDATOR="validator",J.FULL_NODE="full_node",J))(ie||{}),re=e.SigningScheme=(J=>(J[J.Ed25519=0]="Ed25519",J[J.MultiEd25519=1]="MultiEd25519",J[J.SingleKey=2]="SingleKey",J[J.MultiKey=3]="MultiKey",J))(re||{}),Oe=e.SigningSchemeInput=(J=>(J[J.Ed25519=0]="Ed25519",J[J.Secp256k1Ecdsa=2]="Secp256k1Ecdsa",J))(Oe||{}),Pe=e.DeriveScheme=(J=>(J[J.DeriveAuid=251]="DeriveAuid",J[J.DeriveObjectAddressFromObject=252]="DeriveObjectAddressFromObject",J[J.DeriveObjectAddressFromGuid=253]="DeriveObjectAddressFromGuid",J[J.DeriveObjectAddressFromSeed=254]="DeriveObjectAddressFromSeed",J[J.DeriveResourceAccountAddress=255]="DeriveResourceAccountAddress",J))(Pe||{}),Ne=class x0 extends v{constructor(z){super(),R(z),this.value=z}serialize(z){z.serializeBool(this.value)}serializeForEntryFunction(z){let te=this.bcsToBytes();z.serializeBytes(te)}serializeForScriptFunction(z){z.serializeU32AsUleb128(5),z.serialize(this)}deserialize(z){return new Ie(z.deserializeU256())}static deserialize(z){return new x0(z.deserializeBool())}},Xe=e.U8=class N0 extends v{constructor(z){super(),N(z,0,a),this.value=z}serialize(z){z.serializeU8(this.value)}serializeForEntryFunction(z){let te=this.bcsToBytes();z.serializeBytes(te)}serializeForScriptFunction(z){z.serializeU32AsUleb128(0),z.serialize(this)}static deserialize(z){return new N0(z.deserializeU8())}},Je=e.U16=class R0 extends v{constructor(z){super(),N(z,0,u),this.value=z}serialize(z){z.serializeU16(this.value)}serializeForEntryFunction(z){let te=this.bcsToBytes();z.serializeBytes(te)}serializeForScriptFunction(z){z.serializeU32AsUleb128(6),z.serialize(this)}static deserialize(z){return new R0(z.deserializeU16())}},ft=e.U32=class U0 extends v{constructor(z){super(),N(z,0,c),this.value=z}serialize(z){z.serializeU32(this.value)}serializeForEntryFunction(z){let te=this.bcsToBytes();z.serializeBytes(te)}serializeForScriptFunction(z){z.serializeU32AsUleb128(7),z.serialize(this)}static deserialize(z){return new U0(z.deserializeU32())}},Kt=e.U64=class D0 extends v{constructor(z){super(),N(z,BigInt(0),d),this.value=BigInt(z)}serialize(z){z.serializeU64(this.value)}serializeForEntryFunction(z){let te=this.bcsToBytes();z.serializeBytes(te)}serializeForScriptFunction(z){z.serializeU32AsUleb128(1),z.serialize(this)}static deserialize(z){return new D0(z.deserializeU64())}},wt=e.U128=class _0 extends v{constructor(z){super(),N(z,BigInt(0),h),this.value=BigInt(z)}serialize(z){z.serializeU128(this.value)}serializeForEntryFunction(z){let te=this.bcsToBytes();z.serializeBytes(te)}serializeForScriptFunction(z){z.serializeU32AsUleb128(2),z.serialize(this)}static deserialize(z){return new _0(z.deserializeU128())}},Ie=e.U256=class W0 extends v{constructor(z){super(),N(z,BigInt(0),y),this.value=BigInt(z)}serialize(z){z.serializeU256(this.value)}serializeForEntryFunction(z){let te=this.bcsToBytes();z.serializeBytes(te)}serializeForScriptFunction(z){z.serializeU32AsUleb128(8),z.serialize(this)}static deserialize(z){return new W0(z.deserializeU256())}},it=class Aa extends v{constructor(z){super(),this.values=z}serializeForEntryFunction(z){let te=this.bcsToBytes();z.serializeBytes(te)}serializeForScriptFunction(z){if(this.values[0]!==void 0&&!(this.values[0]instanceof Xe)){new Ye(this.bcsToBytes()).serializeForScriptFunction(z);return}z.serializeU32AsUleb128(4),z.serialize(this)}static U8(z){let te;if(Array.isArray(z)&&z.length===0)te=[];else if(Array.isArray(z)&&typeof z[0]=="number")te=z;else if(typeof z=="string"){let Ae=O.fromHexInput(z);te=Array.from(Ae.toUint8Array())}else if(z instanceof Uint8Array)te=Array.from(z);else throw new Error("Invalid input type, must be an number[], Uint8Array, or hex string");return new Aa(te.map(Ae=>new Xe(Ae)))}static U16(z){return new Aa(z.map(te=>new Je(te)))}static U32(z){return new Aa(z.map(te=>new ft(te)))}static U64(z){return new Aa(z.map(te=>new Kt(te)))}static U128(z){return new Aa(z.map(te=>new wt(te)))}static U256(z){return new Aa(z.map(te=>new Ie(te)))}static Bool(z){return new Aa(z.map(te=>new Ne(te)))}static MoveString(z){return new Aa(z.map(te=>new et(te)))}serialize(z){z.serializeVector(this.values)}static deserialize(z,te){let Ae=z.deserializeUleb128AsU32(),xe=new Array;for(let tt=0;tt<Ae;tt+=1)xe.push(te.deserialize(z));return new Aa(xe)}},Ye=e.Serialized=class L0 extends v{constructor(z){super(),this.value=O.fromHexInput(z).toUint8Array()}serialize(z){z.serializeBytes(this.value)}serializeForEntryFunction(z){this.serialize(z)}serializeForScriptFunction(z){z.serializeU32AsUleb128(9),this.serialize(z)}static deserialize(z){return new L0(z.deserializeBytes())}toMoveVector(z){let te=new C(this.bcsToBytes());te.deserializeUleb128AsU32();let Ae=te.deserializeVector(z);return new it(Ae)}},et=e.MoveString=class F0 extends v{constructor(z){super(),this.value=z}serialize(z){z.serializeStr(this.value)}serializeForEntryFunction(z){let te=this.bcsToBytes();z.serializeBytes(te)}serializeForScriptFunction(z){let te=new TextEncoder().encode(this.value);it.U8(te).serializeForScriptFunction(z)}static deserialize(z){return new F0(z.deserializeStr())}},Gt=e.MoveOption=class Ta extends v{constructor(z){super(),typeof z<"u"&&z!==null?this.vec=new it([z]):this.vec=new it([]),[this.value]=this.vec.values}serializeForEntryFunction(z){let te=this.bcsToBytes();z.serializeBytes(te)}unwrap(){if(this.isSome())return this.vec.values[0];throw new Error("Called unwrap on a MoveOption with no value")}isSome(){return this.vec.values.length===1}serialize(z){this.vec.serialize(z)}static U8(z){return new Ta(z!=null?new Xe(z):void 0)}static U16(z){return new Ta(z!=null?new Je(z):void 0)}static U32(z){return new Ta(z!=null?new ft(z):void 0)}static U64(z){return new Ta(z!=null?new Kt(z):void 0)}static U128(z){return new Ta(z!=null?new wt(z):void 0)}static U256(z){return new Ta(z!=null?new Ie(z):void 0)}static Bool(z){return new Ta(z!=null?new Ne(z):void 0)}static MoveString(z){return new Ta(z!=null?new et(z):void 0)}static deserialize(z,te){let Ae=it.deserialize(z,te);return new Ta(Ae.values[0])}},It=qre(),Rt=K3(),_r=(J=>(J.INCORRECT_NUMBER_OF_BYTES="incorrect_number_of_bytes",J.INVALID_HEX_CHARS="invalid_hex_chars",J.TOO_SHORT="too_short",J.TOO_LONG="too_long",J.LEADING_ZERO_X_REQUIRED="leading_zero_x_required",J.LONG_FORM_REQUIRED_UNLESS_SPECIAL="long_form_required_unless_special",J.INVALID_PADDING_ZEROES="INVALID_PADDING_ZEROES",J))(_r||{}),jt=class Cs extends v{constructor(z){if(super(),z.length!==Cs.LENGTH)throw new T("AccountAddress data should be exactly 32 bytes long","incorrect_number_of_bytes");this.data=z}isSpecial(){return this.data.slice(0,this.data.length-1).every(z=>z===0)&&this.data[this.data.length-1]<16}toString(){return`0x${this.toStringWithoutPrefix()}`}toStringWithoutPrefix(){let z=w.bytesToHex.call(void 0,this.data);return this.isSpecial()&&(z=z[z.length-1]),z}toStringLong(){return`0x${this.toStringLongWithoutPrefix()}`}toStringLongWithoutPrefix(){return w.bytesToHex.call(void 0,this.data)}toUint8Array(){return this.data}serialize(z){z.serializeFixedBytes(this.data)}serializeForEntryFunction(z){let te=this.bcsToBytes();z.serializeBytes(te)}serializeForScriptFunction(z){z.serializeU32AsUleb128(3),z.serialize(this)}static deserialize(z){let te=z.deserializeFixedBytes(Cs.LENGTH);return new Cs(te)}static fromStringStrict(z){if(!z.startsWith("0x"))throw new T("Hex string must start with a leading 0x.","leading_zero_x_required");let te=Cs.fromString(z);if(z.length!==Cs.LONG_STRING_LENGTH+2)if(te.isSpecial()){if(z.length!==3)throw new T(`The given hex string ${z} is a special address not in LONG form, it must be 0x0 to 0xf without padding zeroes.`,"INVALID_PADDING_ZEROES")}else throw new T(`The given hex string ${z} is not a special address, it must be represented as 0x + 64 chars.`,"long_form_required_unless_special");return te}static fromString(z){let te=z;if(z.startsWith("0x")&&(te=z.slice(2)),te.length===0)throw new T("Hex string is too short, must be 1 to 64 chars long, excluding the leading 0x.","too_short");if(te.length>64)throw new T("Hex string is too long, must be 1 to 64 chars long, excluding the leading 0x.","too_long");let Ae;try{Ae=w.hexToBytes.call(void 0,te.padStart(64,"0"))}catch(xe){throw new T(`Hex characters are invalid: ${s([xe,"optionalAccess",tt=>tt.message])}`,"invalid_hex_chars")}return new Cs(Ae)}static from(z){return typeof z=="string"?Cs.fromString(z):z instanceof Uint8Array?new Cs(z):z}static fromStrict(z){return typeof z=="string"?Cs.fromStringStrict(z):z instanceof Uint8Array?new Cs(z):z}static isValid(z){try{return z.strict?Cs.fromStrict(z.input):Cs.from(z.input),{valid:!0}}catch(te){return{valid:!1,invalidReason:s([te,"optionalAccess",Ae=>Ae.invalidReason]),invalidReasonMessage:s([te,"optionalAccess",Ae=>Ae.message])}}}equals(z){return this.data.length!==z.data.length?!1:this.data.every((te,Ae)=>te===z.data[Ae])}};jt.LENGTH=32,jt.LONG_STRING_LENGTH=64,jt.ZERO=jt.from("0x0"),jt.ONE=jt.from("0x1"),jt.TWO=jt.from("0x2"),jt.THREE=jt.from("0x3"),jt.FOUR=jt.from("0x4"),jt.A=jt.from("0xA");var Fe=jt,Pr=class sc extends v{constructor(z){super();let{data:te}=z,Ae=O.fromHexInput(te);if(Ae.toUint8Array().length!==sc.LENGTH)throw new Error(`Authentication Key length should be ${sc.LENGTH}`);this.data=Ae}serialize(z){z.serializeFixedBytes(this.data.toUint8Array())}static deserialize(z){let te=z.deserializeFixedBytes(sc.LENGTH);return new sc({data:te})}toUint8Array(){return this.data.toUint8Array()}static fromSchemeAndBytes(z){let{scheme:te,input:Ae}=z,xe=O.fromHexInput(Ae).toUint8Array(),tt=new Uint8Array([...xe,te]),vt=Rt.sha3_256.create();vt.update(tt);let ir=vt.digest();return new sc({data:ir})}static fromPublicKeyAndScheme(z){let{publicKey:te}=z;return te.authKey()}static fromPublicKey(z){let{publicKey:te}=z;return te.authKey()}derivedAddress(){return new Fe(this.data.toUint8Array())}};Pr.LENGTH=32;var $t=Pr,Qt=JO(),At=FO(),ur=HRe(),tr=t(ur),Vt=/^m\/44'\/637'\/[0-9]+'\/[0-9]+'\/[0-9]+'?$/,bt=e.APTOS_BIP44_REGEX=/^m\/44'\/637'\/[0-9]+'\/[0-9]+\/[0-9]+$/,kt=e.KeyType=(J=>(J.ED25519="ed25519 seed",J))(kt||{}),er=e.HARDENED_OFFSET=2147483648;function Et(J){return bt.test(J)}function qt(J){return Vt.test(J)}var Hr=(J,z)=>{let te=Qt.hmac.create(At.sha512,J).update(z).digest();return{key:te.slice(0,32),chainCode:te.slice(32)}},_t=e.CKDPriv=({key:J,chainCode:z},te)=>{let Ae=new ArrayBuffer(4);new DataView(Ae).setUint32(0,te);let xe=new Uint8Array(Ae),tt=new Uint8Array([0]),vt=new Uint8Array([...tt,...J,...xe]);return Hr(z,vt)},Wt=J=>J.replace(/'/g,""),qr=e.splitPath=J=>J.split("/").slice(1).map(Wt),Ce=e.mnemonicToSeed=J=>{let z=J.trim().split(/\s+/).map(te=>te.toLowerCase()).join(" ");return tr.mnemonicToSeedSync(z)},_e=class extends v{toUint8Array(){return this.bcsToBytes()}toString(){let J=this.toUint8Array();return O.fromHexInput(J).toString()}},Ze=e.AccountPublicKey=class extends _e{},he=class extends v{toUint8Array(){return this.bcsToBytes()}toString(){let J=this.toUint8Array();return O.fromHexInput(J).toString()}},Ke=J=>typeof J=="string"?O.isValid(J).valid?J:new TextEncoder().encode(J):J,Ht=[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 yt(J){let z=J.toUint8Array().slice(32);for(let te=Ht.length-1;te>=0;te-=1){if(z[te]<Ht[te])return!0;if(z[te]>Ht[te])return!1}return!1}var Ot=class ac extends Ze{constructor(z){super();let te=O.fromHexInput(z);if(te.toUint8Array().length!==ac.LENGTH)throw new Error(`PublicKey length should be ${ac.LENGTH}`);this.key=te}verifySignature(z){let{message:te,signature:Ae}=z;if(!yt(Ae))return!1;let xe=Ke(te),tt=O.fromHexInput(xe).toUint8Array(),vt=Ae.toUint8Array(),ir=this.key.toUint8Array();return It.ed25519.verify(vt,tt,ir)}authKey(){return $t.fromSchemeAndBytes({scheme:0,input:this.toUint8Array()})}toUint8Array(){return this.key.toUint8Array()}serialize(z){z.serializeBytes(this.key.toUint8Array())}static deserialize(z){let te=z.deserializeBytes();return new ac(te)}static isPublicKey(z){return z instanceof ac}static isInstance(z){return"key"in z&&s([z,"access",te=>te.key,"optionalAccess",te=>te.data,"optionalAccess",te=>te.length])===ac.LENGTH}};Ot.LENGTH=32;var hr=Ot,Br=class $a extends v{constructor(z){super();let te=O.fromHexInput(z);if(te.toUint8Array().length!==$a.LENGTH)throw new Error(`PrivateKey length should be ${$a.LENGTH}`);this.signingKey=te}static generate(){let z=It.ed25519.utils.randomPrivateKey();return new $a(z)}static fromDerivationPath(z,te){if(!qt(z))throw new Error(`Invalid derivation path ${z}`);return $a.fromDerivationPathInner(z,Ce(te))}static fromDerivationPathInner(z,te,Ae=er){let{key:xe,chainCode:tt}=Hr($a.SLIP_0010_SEED,te),vt=qr(z).map(zr=>parseInt(zr,10)),{key:ir}=vt.reduce((zr,Gr)=>_t(zr,Gr+Ae),{key:xe,chainCode:tt});return new $a(ir)}publicKey(){let z=It.ed25519.getPublicKey(this.signingKey.toUint8Array());return new hr(z)}sign(z){let te=Ke(z),Ae=O.fromHexInput(te).toUint8Array(),xe=It.ed25519.sign(Ae,this.signingKey.toUint8Array());return new mt(xe)}toUint8Array(){return this.signingKey.toUint8Array()}toString(){return this.signingKey.toString()}serialize(z){z.serializeBytes(this.toUint8Array())}static deserialize(z){let te=z.deserializeBytes();return new $a(te)}static isPrivateKey(z){return z instanceof $a}};Br.LENGTH=32,Br.SLIP_0010_SEED="ed25519 seed";var Er=Br,Qe=class Jl extends he{constructor(z){super();let te=O.fromHexInput(z);if(te.toUint8Array().length!==Jl.LENGTH)throw new Error(`Signature length should be ${Jl.LENGTH}`);this.data=te}toUint8Array(){return this.data.toUint8Array()}serialize(z){z.serializeBytes(this.data.toUint8Array())}static deserialize(z){let te=z.deserializeBytes();return new Jl(te)}};Qe.LENGTH=64;var mt=Qe,Ue=class vu extends Ze{constructor(z){super();let{publicKeys:te,threshold:Ae}=z;if(te.length>vu.MAX_KEYS||te.length<vu.MIN_KEYS)throw new Error(`Must have between ${vu.MIN_KEYS} and ${vu.MAX_KEYS} public keys, inclusive`);if(Ae<vu.MIN_THRESHOLD||Ae>te.length)throw new Error(`Threshold must be between ${vu.MIN_THRESHOLD} and ${te.length}, inclusive`);this.publicKeys=te,this.threshold=Ae}verifySignature(z){let{message:te,signature:Ae}=z;if(!(Ae instanceof ze))return!1;let xe=[];for(let tt=0;tt<4;tt+=1)for(let vt=0;vt<8;vt+=1)if(Ae.bitmap[tt]&1<<7-vt){let ir=tt*8+vt;xe.push(ir)}if(xe.length!==Ae.signatures.length)throw new Error("Bitmap and signatures length mismatch");if(xe.length<this.threshold)throw new Error("Not enough signatures");for(let tt=0;tt<xe.length;tt+=1)if(!this.publicKeys[xe[tt]].verifySignature({message:te,signature:Ae.signatures[tt]}))return!1;return!0}authKey(){return $t.fromSchemeAndBytes({scheme:1,input:this.toUint8Array()})}toUint8Array(){let z=new Uint8Array(this.publicKeys.length*hr.LENGTH+1);return this.publicKeys.forEach((te,Ae)=>{z.set(te.toUint8Array(),Ae*hr.LENGTH)}),z[this.publicKeys.length*hr.LENGTH]=this.threshold,z}serialize(z){z.serializeBytes(this.toUint8Array())}static deserialize(z){let te=z.deserializeBytes(),Ae=te[te.length-1],xe=[];for(let tt=0;tt<te.length-1;tt+=hr.LENGTH){let vt=tt;xe.push(new hr(te.subarray(vt,vt+hr.LENGTH)))}return new vu({publicKeys:xe,threshold:Ae})}};Ue.MAX_KEYS=32,Ue.MIN_KEYS=2,Ue.MIN_THRESHOLD=1;var Ge=Ue,Me=class Ca extends he{constructor(z){super();let{signatures:te,bitmap:Ae}=z;if(te.length>Ca.MAX_SIGNATURES_SUPPORTED)throw new Error(`The number of signatures cannot be greater than ${Ca.MAX_SIGNATURES_SUPPORTED}`);if(this.signatures=te,!(Ae instanceof Uint8Array))this.bitmap=Ca.createBitmap({bits:Ae});else{if(Ae.length!==Ca.BITMAP_LEN)throw new Error(`"bitmap" length should be ${Ca.BITMAP_LEN}`);this.bitmap=Ae}}toUint8Array(){let z=new Uint8Array(this.signatures.length*mt.LENGTH+Ca.BITMAP_LEN);return this.signatures.forEach((te,Ae)=>{z.set(te.toUint8Array(),Ae*mt.LENGTH)}),z.set(this.bitmap,this.signatures.length*mt.LENGTH),z}serialize(z){z.serializeBytes(this.toUint8Array())}static deserialize(z){let te=z.deserializeBytes(),Ae=te.subarray(te.length-4),xe=[];for(let tt=0;tt<te.length-Ae.length;tt+=mt.LENGTH){let vt=tt;xe.push(new mt(te.subarray(vt,vt+mt.LENGTH)))}return new Ca({signatures:xe,bitmap:Ae})}static createBitmap(z){let{bits:te}=z,Ae=128,xe=new Uint8Array([0,0,0,0]),tt=new Set;return te.forEach((vt,ir)=>{if(vt>=Ca.MAX_SIGNATURES_SUPPORTED)throw new Error(`Cannot have a signature larger than ${Ca.MAX_SIGNATURES_SUPPORTED-1}.`);if(tt.has(vt))throw new Error("Duplicate bits detected.");if(ir>0&&vt<=te[ir-1])throw new Error("The bits need to be sorted in ascending order.");tt.add(vt);let zr=Math.floor(vt/8),Gr=xe[zr];Gr|=Ae>>vt%8,xe[zr]=Gr}),xe}};Me.MAX_SIGNATURES_SUPPORTED=32,Me.BITMAP_LEN=4;var ze=Me,Le=IL(),rt=pNe(),ht=class uc extends _e{constructor(z){super();let te=O.fromHexInput(z);if(te.toUint8Array().length!==uc.LENGTH)throw new Error(`PublicKey length should be ${uc.LENGTH}`);this.key=te}verifySignature(z){let{message:te,signature:Ae}=z,xe=Ke(te),tt=O.fromHexInput(xe).toUint8Array(),vt=Rt.sha3_256.call(void 0,tt),ir=Ae.toUint8Array();return Le.secp256k1.verify(ir,vt,this.key.toUint8Array(),{lowS:!0})}toUint8Array(){return this.key.toUint8Array()}serialize(z){z.serializeBytes(this.key.toUint8Array())}deserialize(z){let te=z.deserializeBytes();return new at(te)}static deserialize(z){let te=z.deserializeBytes();return new uc(te)}static isPublicKey(z){return z instanceof uc}static isInstance(z){return"key"in z&&s([z,"access",te=>te.key,"optionalAccess",te=>te.data,"optionalAccess",te=>te.length])===uc.LENGTH}};ht.LENGTH=65;var ut=ht,Dt=class Eu extends v{constructor(z){super();let te=O.fromHexInput(z);if(te.toUint8Array().length!==Eu.LENGTH)throw new Error(`PrivateKey length should be ${Eu.LENGTH}`);this.key=te}static generate(){let z=Le.secp256k1.utils.randomPrivateKey();return new Eu(z)}static fromDerivationPath(z,te){if(!Et(z))throw new Error(`Invalid derivation path ${z}`);return Eu.fromDerivationPathInner(z,Ce(te))}static fromDerivationPathInner(z,te){let{privateKey:Ae}=rt.HDKey.fromMasterSeed(te).derive(z);if(Ae===null)throw new Error("Invalid key");return new Eu(Ae)}sign(z){let te=Ke(z),Ae=O.fromHexInput(te),xe=Rt.sha3_256.call(void 0,Ae.toUint8Array()),tt=Le.secp256k1.sign(xe,this.key.toUint8Array(),{lowS:!0});return new at(tt.toCompactRawBytes())}publicKey(){let z=Le.secp256k1.getPublicKey(this.key.toUint8Array(),!1);return new ut(z)}toUint8Array(){return this.key.toUint8Array()}toString(){return this.key.toString()}serialize(z){z.serializeBytes(this.toUint8Array())}static deserialize(z){let te=z.deserializeBytes();return new Eu(te)}static isPrivateKey(z){return z instanceof Eu}};Dt.LENGTH=32;var He=Dt,nt=class Yl extends he{constructor(z){super();let te=O.fromHexInput(z);if(te.toUint8Array().length!==Yl.LENGTH)throw new Error(`Signature length should be ${Yl.LENGTH}, received ${te.toUint8Array().length}`);this.data=te}toUint8Array(){return this.data.toUint8Array()}serialize(z){z.serializeBytes(this.data.toUint8Array())}static deserialize(z){let te=z.deserializeBytes();return new Yl(te)}};nt.LENGTH=64;var at=nt,Tt=gNe(),pt=class hh extends _e{constructor(z){super();let te=z.constructor.name;if(te===hr.name)this.publicKey=z,this.variant=0;else throw new Error(`Unsupported key for EphemeralPublicKey - ${te}`)}verifySignature(z){let{message:te,signature:Ae}=z;return this.publicKey.verifySignature({message:te,signature:Ae.signature})}serialize(z){if(this.publicKey instanceof hr)z.serializeU32AsUleb128(0),this.publicKey.serialize(z);else throw new Error("Unknown public key type")}static deserialize(z){let te=z.deserializeUleb128AsU32();if(te===0)return new hh(hr.deserialize(z));throw new Error(`Unknown variant index for EphemeralPublicKey: ${te}`)}static isPublicKey(z){return z instanceof hh}},Bt=e.EphemeralSignature=class fh extends he{constructor(z){super();let te=z.constructor.name;if(te===mt.name)this.signature=z;else throw new Error(`Unsupported signature for EphemeralSignature - ${te}`)}static fromHex(z){let te=O.fromHexInput(z),Ae=new C(te.toUint8Array());return fh.deserialize(Ae)}serialize(z){if(this.signature instanceof mt)z.serializeU32AsUleb128(0),this.signature.serialize(z);else throw new Error("Unknown signature type")}static deserialize(z){let te=z.deserializeUleb128AsU32();if(te===0)return new fh(mt.deserialize(z));throw new Error(`Unknown variant index for EphemeralSignature: ${te}`)}},Zt=jne(),K=[Zt.poseidon1,Zt.poseidon2,Zt.poseidon3,Zt.poseidon4,Zt.poseidon5,Zt.poseidon6,Zt.poseidon7,Zt.poseidon8,Zt.poseidon9,Zt.poseidon10,Zt.poseidon11,Zt.poseidon12,Zt.poseidon13,Zt.poseidon14,Zt.poseidon15,Zt.poseidon16],X=31,Z=16,be=(Z-1)*X;function Be(J,z){let te=new TextEncoder().encode(J);return dt(te,z)}function dt(J,z){if(J.length>z)throw new Error(`Inputted bytes of length ${J} is longer than ${z}`);let te=Ve(J,z);return jr(te)}function gt(J,z){if(J.length>z)throw new Error(`Input bytes of length ${J} is longer than ${z}`);let te=wr(J,z);return Yt(te)}function Ve(J,z){if(J.length>z)throw new Error(`Input bytes of length ${J} is longer than ${z}`);return gt(J,z).concat([BigInt(J.length)])}function Yt(J){if(J.length>be)throw new Error(`Can't pack more than ${be}.  Was given ${J.length} bytes`);return yr(J,X).map(z=>Cr(z))}function yr(J,z){let te=[];for(let Ae=0;Ae<J.length;Ae+=z)te.push(J.subarray(Ae,Ae+z));return te}function Cr(J){let z=BigInt(0);for(let te=J.length-1;te>=0;te-=1)z=z<<BigInt(8)|BigInt(J[te]);return z}function dr(J,z){let te=BigInt(J),Ae=new Uint8Array(z);for(let xe=0;xe<z;xe+=1)Ae[xe]=Number(te&BigInt(255)),te>>=BigInt(8);return Ae}function wr(J,z){if(z<J.length)throw new Error("Padded size must be greater than or equal to the input array size.");let te=new Uint8Array(z);te.set(J);for(let Ae=J.length;Ae<z;Ae+=1)te[Ae]=0;return te}function jr(J){if(J.length>K.length)throw new Error(`Unable to hash input of length ${J.length}.  Max input length is ${K.length}`);return K[J.length-1](J)}var sn=class extends v{},ln=(J=>(J.FULLNODE="Fullnode",J.INDEXER="Indexer",J.FAUCET="Faucet",J.PEPPER="Pepper",J.PROVER="Prover",J))(ln||{}),gn=e.DEFAULT_MAX_GAS_AMOUNT=2e5,An=e.DEFAULT_TXN_EXP_SEC_FROM_NOW=20,mn=e.DEFAULT_TXN_TIMEOUT_SEC=20,Cn=e.APTOS_COIN="0x1::aptos_coin::AptosCoin",Gn=e.APTOS_FA="0x000000000000000000000000000000000000000000000000000000000000000a",qn=e.RAW_TRANSACTION_SALT="APTOS::RawTransaction",Hn=e.RAW_TRANSACTION_WITH_DATA_SALT="APTOS::RawTransactionWithData",uo=e.ProcessorType=(J=>(J.ACCOUNT_TRANSACTION_PROCESSOR="account_transactions_processor",J.DEFAULT="default_processor",J.EVENTS_PROCESSOR="events_processor",J.FUNGIBLE_ASSET_PROCESSOR="fungible_asset_processor",J.STAKE_PROCESSOR="stake_processor",J.TOKEN_V2_PROCESSOR="token_v2_processor",J.USER_TRANSACTION_PROCESSOR="user_transaction_processor",J.OBJECT_PROCESSOR="objects_processor",J))(uo||{}),Ri=class extends Error{constructor({apiType:J,aptosRequest:z,aptosResponse:te}){super(Co({apiType:J,aptosRequest:z,aptosResponse:te})),this.name="AptosApiError",this.url=te.url,this.status=te.status,this.statusText=te.statusText,this.data=te.data,this.request=z}};function Co({apiType:J,aptosRequest:z,aptosResponse:te}){let Ae=s([te,"access",vt=>vt.headers,"optionalAccess",vt=>vt.traceparent,"optionalAccess",vt=>vt.split,"call",vt=>vt("-"),"access",vt=>vt[1]]),xe=Ae?`(trace_id:${Ae}) `:"",tt=`Request to [${J}]: ${z.method} ${o(te.url,()=>z.url)} ${xe}failed with`;return J==="Indexer"&&s([te,"access",vt=>vt.data,"optionalAccess",vt=>vt.errors,"optionalAccess",vt=>vt[0],"optionalAccess",vt=>vt.message])!=null?`${tt}: ${te.data.errors[0].message}`:s([te,"access",vt=>vt.data,"optionalAccess",vt=>vt.message])!=null&&s([te,"access",vt=>vt.data,"optionalAccess",vt=>vt.error_code])!=null?`${tt}: ${JSON.stringify(te.data)}`:`${tt} status: ${te.statusText}(code:${te.status}) and response body: ${ks(te.data)}`}var is=400;function ks(J){let z=JSON.stringify(J);return z.length<=is?z:`truncated(original_size:${z.length}): ${z.slice(0,is/2)}...${z.slice(-is/2)}`}var Hi="1.30.0",Ro={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"},co=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"},Ps=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"},Uo=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"},So=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"},ss=e.Network=(J=>(J.MAINNET="mainnet",J.TESTNET="testnet",J.DEVNET="devnet",J.LOCAL="local",J.CUSTOM="custom",J))(ss||{}),Do=e.NetworkToChainId={mainnet:1,testnet:2,local:4},Gi=e.NetworkToNetworkName={mainnet:"mainnet",testnet:"testnet",devnet:"devnet",local:"local",custom:"custom"};function Io(J,z){let te=z.bcsToBytes(),Ae=new C(te);return J.deserialize(Ae)}async function ds(J,z){let{url:te,method:Ae,body:xe,contentType:tt,params:vt,overrides:ir,originMethod:zr}=J,Gr={...s([ir,"optionalAccess",bn=>bn.HEADERS]),"x-aptos-client":`aptos-typescript-sdk/${Hi}`,"content-type":o(tt,()=>"application/json"),"x-aptos-typescript-sdk-origin-method":zr};return s([ir,"optionalAccess",bn=>bn.AUTH_TOKEN])&&(Gr.Authorization=`Bearer ${s([ir,"optionalAccess",bn=>bn.AUTH_TOKEN])}`),s([ir,"optionalAccess",bn=>bn.API_KEY])&&(Gr.Authorization=`Bearer ${s([ir,"optionalAccess",bn=>bn.API_KEY])}`),z.provider({url:te,method:Ae,body:xe,params:vt,headers:Gr,overrides:ir})}async function mo(J,z,te){let{url:Ae,path:xe}=J,tt=xe?`${Ae}/${xe}`:Ae,vt=await ds({...J,url:tt},z.client),ir={status:vt.status,statusText:o(vt.statusText,()=>"No status text provided"),data:vt.data,headers:vt.headers,config:vt.config,request:vt.request,url:tt};if(ir.status===401)throw new Ri({apiType:te,aptosRequest:J,aptosResponse:ir});if(te==="Indexer"){let zr=ir.data;if(zr.errors)throw new Ri({apiType:te,aptosRequest:J,aptosResponse:ir});ir.data=zr.data}else if((te==="Pepper"||te==="Prover")&&ir.status>=400)throw new Ri({apiType:te,aptosRequest:J,aptosResponse:ir});if(ir.status>=200&&ir.status<300)return ir;throw new Ri({apiType:te,aptosRequest:J,aptosResponse:ir})}async function Mi(J){let{aptosConfig:z,overrides:te,params:Ae,contentType:xe,acceptType:tt,path:vt,originMethod:ir,type:zr}=J,Gr=z.getRequestUrl(zr);return mo({url:Gr,method:"GET",originMethod:ir,path:vt,contentType:xe,acceptType:tt,params:Ae,overrides:{...z.clientConfig,...te}},z,J.type)}async function bi(J){let{aptosConfig:z}=J;return Mi({...J,type:"Fullnode",overrides:{...z.clientConfig,...z.fullnodeConfig,...J.overrides,HEADERS:{...s([z,"access",te=>te.clientConfig,"optionalAccess",te=>te.HEADERS]),...s([z,"access",te=>te.fullnodeConfig,"optionalAccess",te=>te.HEADERS])}}})}async function wo(J){return Mi({...J,type:"Pepper"})}async function vo(J){let z=[],te,Ae=J.params;do{let xe=await Mi({type:"Fullnode",aptosConfig:J.aptosConfig,originMethod:J.originMethod,path:J.path,params:Ae,overrides:J.overrides});te=xe.headers["x-aptos-cursor"],delete xe.headers,z.push(...xe.data),Ae.start=te}while(te!=null);return z}async function Vi(J){let{type:z,originMethod:te,path:Ae,body:xe,acceptType:tt,contentType:vt,params:ir,aptosConfig:zr,overrides:Gr}=J,bn=zr.getRequestUrl(z);return mo({url:bn,method:"POST",originMethod:te,path:Ae,body:xe,contentType:vt,acceptType:tt,params:ir,overrides:Gr},zr,J.type)}async function Eo(J){let{aptosConfig:z}=J;return Vi({...J,type:"Fullnode",overrides:{...z.clientConfig,...z.fullnodeConfig,...J.overrides,HEADERS:{...s([z,"access",te=>te.clientConfig,"optionalAccess",te=>te.HEADERS]),...s([z,"access",te=>te.fullnodeConfig,"optionalAccess",te=>te.HEADERS])}}})}async function Oo(J){let{aptosConfig:z}=J;return Vi({...J,type:"Indexer",overrides:{...z.clientConfig,...z.indexerConfig,...J.overrides,HEADERS:{...s([z,"access",te=>te.clientConfig,"optionalAccess",te=>te.HEADERS]),...s([z,"access",te=>te.indexerConfig,"optionalAccess",te=>te.HEADERS])}}})}async function ro(J){let{aptosConfig:z}=J,te={...z,clientConfig:{...z.clientConfig}};return i([te,"optionalAccess",Ae=>Ae.clientConfig,"optionalAccess",Ae=>delete Ae.API_KEY]),Vi({...J,type:"Faucet",overrides:{...te.clientConfig,...te.faucetConfig,...J.overrides,HEADERS:{...s([te,"access",Ae=>Ae.clientConfig,"optionalAccess",Ae=>Ae.HEADERS]),...s([te,"access",Ae=>Ae.faucetConfig,"optionalAccess",Ae=>Ae.HEADERS])}}})}async function js(J){return Vi({...J,type:"Pepper"})}async function ps(J){return Vi({...J,type:"Prover"})}var Vn=new Map;function De(J,z,te){return async(...Ae)=>{if(Vn.has(z)){let{value:tt,timestamp:vt}=Vn.get(z);if(te===void 0||Date.now()-vt<=te)return tt}let xe=await J(...Ae);return Vn.set(z,{value:xe,timestamp:Date.now()}),xe}}var lt=1e7,xt=e.MAX_AUD_VAL_BYTES=120,Mt=e.MAX_UID_KEY_BYTES=30,ar=e.MAX_UID_VAL_BYTES=330,mr=e.MAX_ISS_VAL_BYTES=120,br=e.MAX_EXTRA_FIELD_BYTES=350,$r=e.MAX_JWT_HEADER_B64_BYTES=300,on=e.MAX_COMMITED_EPK_BYTES=93,Jr=class Tu extends Ze{constructor(z,te){super();let Ae=O.fromHexInput(te).toUint8Array();if(Ae.length!==Tu.ID_COMMITMENT_LENGTH)throw new Error(`Id Commitment length in bytes should be ${Tu.ID_COMMITMENT_LENGTH}`);this.iss=z,this.idCommitment=Ae}authKey(){let z=new B;return z.serializeU32AsUleb128(3),z.serializeFixedBytes(this.bcsToBytes()),$t.fromSchemeAndBytes({scheme:2,input:z.toUint8Array()})}verifySignature(z){throw new Error("Not yet implemented")}serialize(z){z.serializeStr(this.iss),z.serializeBytes(this.idCommitment)}static deserialize(z){let te=z.deserializeStr(),Ae=z.deserializeBytes();return new Tu(te,Ae)}static load(z){let te=z.deserializeStr(),Ae=z.deserializeBytes();return new Tu(te,Ae)}static isPublicKey(z){return z instanceof Tu}static create(z){return On(z),new Tu(z.iss,On(z))}static fromJwtAndPepper(z){let{jwt:te,pepper:Ae,uidKey:xe="sub"}=z,tt=Tt.jwtDecode.call(void 0,te);if(typeof tt.iss!="string")throw new Error("iss was not found");if(typeof tt.aud!="string")throw new Error("aud was not found or an array of values");let vt=tt[xe];return Tu.create({iss:tt.iss,uidKey:xe,uidVal:vt,aud:tt.aud,pepper:Ae})}static isInstance(z){return"iss"in z&&typeof z.iss=="string"&&"idCommitment"in z&&z.idCommitment instanceof Uint8Array}};Jr.ID_COMMITMENT_LENGTH=32;var Xr=Jr;function On(J){let{uidKey:z,uidVal:te,aud:Ae,pepper:xe}=J,tt=[Cr(O.fromHexInput(xe).toUint8Array()),Be(Ae,xt),Be(te,ar),Be(z,Mt)];return dr(jr(tt),Xr.ID_COMMITMENT_LENGTH)}var ci=class Xl extends he{constructor(z){super();let{jwtHeader:te,ephemeralCertificate:Ae,expiryDateSecs:xe,ephemeralPublicKey:tt,ephemeralSignature:vt}=z;this.jwtHeader=te,this.ephemeralCertificate=Ae,this.expiryDateSecs=xe,this.ephemeralPublicKey=tt,this.ephemeralSignature=vt}serialize(z){this.ephemeralCertificate.serialize(z),z.serializeStr(this.jwtHeader),z.serializeU64(this.expiryDateSecs),this.ephemeralPublicKey.serialize(z),this.ephemeralSignature.serialize(z)}static deserialize(z){let te=cn.deserialize(z),Ae=z.deserializeStr(),xe=z.deserializeU64(),tt=pt.deserialize(z),vt=Bt.deserialize(z);return new Xl({jwtHeader:Ae,expiryDateSecs:Number(xe),ephemeralCertificate:te,ephemeralPublicKey:tt,ephemeralSignature:vt})}static getSimulationSignature(){return new Xl({jwtHeader:"{}",ephemeralCertificate:new cn(new pi({proof:new Di(new wi({a:new Uint8Array(32),b:new Uint8Array(64),c:new Uint8Array(32)}),0),expHorizonSecs:0}),0),expiryDateSecs:0,ephemeralPublicKey:new pt(new hr(new Uint8Array(32))),ephemeralSignature:new Bt(new mt(new Uint8Array(64)))})}static isSignature(z){return z instanceof Xl}},cn=e.EphemeralCertificate=class z0 extends he{constructor(z,te){super(),this.signature=z,this.variant=te}toUint8Array(){return this.signature.toUint8Array()}serialize(z){z.serializeU32AsUleb128(this.variant),this.signature.serialize(z)}static deserialize(z){let te=z.deserializeUleb128AsU32();if(te===0)return new z0(pi.deserialize(z),te);throw new Error(`Unknown variant index for EphemeralCertificate: ${te}`)}},Dn=class j0 extends v{constructor(z){if(super(),this.data=O.fromHexInput(z).toUint8Array(),this.data.length!==32)throw new Error("Input needs to be 32 bytes")}serialize(z){z.serializeFixedBytes(this.data)}static deserialize(z){let te=z.deserializeFixedBytes(32);return new j0(te)}},dn=class H0 extends v{constructor(z){if(super(),this.data=O.fromHexInput(z).toUint8Array(),this.data.length!==64)throw new Error("Input needs to be 64 bytes")}serialize(z){z.serializeFixedBytes(this.data)}static deserialize(z){let te=z.deserializeFixedBytes(64);return new H0(te)}},wi=e.Groth16Zkp=class G0 extends sn{constructor(z){super();let{a:te,b:Ae,c:xe}=z;this.a=new Dn(te),this.b=new dn(Ae),this.c=new Dn(xe)}serialize(z){this.a.serialize(z),this.b.serialize(z),this.c.serialize(z)}static deserialize(z){let te=Dn.deserialize(z).bcsToBytes(),Ae=dn.deserialize(z).bcsToBytes(),xe=Dn.deserialize(z).bcsToBytes();return new G0({a:te,b:Ae,c:xe})}},Di=e.ZkProof=class V0 extends v{constructor(z,te){super(),this.proof=z,this.variant=te}serialize(z){z.serializeU32AsUleb128(this.variant),this.proof.serialize(z)}static deserialize(z){let te=z.deserializeUleb128AsU32();if(te===0)return new V0(wi.deserialize(z),te);throw new Error(`Unknown variant index for ZkProof: ${te}`)}},pi=e.ZeroKnowledgeSig=class yh extends he{constructor(z){super();let{proof:te,expHorizonSecs:Ae,trainingWheelsSignature:xe,extraField:tt,overrideAudVal:vt}=z;this.proof=te,this.expHorizonSecs=Ae,this.trainingWheelsSignature=xe,this.extraField=tt,this.overrideAudVal=vt}static fromBytes(z){return yh.deserialize(new C(z))}serialize(z){this.proof.serialize(z),z.serializeU64(this.expHorizonSecs),z.serializeOptionStr(this.extraField),z.serializeOptionStr(this.overrideAudVal),z.serializeOption(this.trainingWheelsSignature)}static deserialize(z){let te=Di.deserialize(z),Ae=Number(z.deserializeU64()),xe=z.deserializeOptionStr(),tt=z.deserializeOptionStr(),vt=z.deserializeOption(Bt);return new yh({proof:te,expHorizonSecs:Ae,trainingWheelsSignature:vt,extraField:xe,overrideAudVal:tt})}},Qn=e.KeylessConfiguration=class q0{constructor(z,te){this.verficationKey=z,this.maxExpHorizonSecs=te}static create(z,te){return new q0(new lo({alphaG1:z.alpha_g1,betaG2:z.beta_g2,deltaG2:z.delta_g2,gammaAbcG1:z.gamma_abc_g1,gammaG2:z.gamma_g2}),te)}},lo=class eg{constructor(z){let{alphaG1:te,betaG2:Ae,deltaG2:xe,gammaAbcG1:tt,gammaG2:vt}=z;this.alphaG1=new Dn(te),this.betaG2=new dn(Ae),this.deltaG2=new dn(xe),this.gammaAbcG1=[new Dn(tt[0]),new Dn(tt[1])],this.gammaG2=new dn(vt)}static fromGroth16VerificationKeyResponse(z){return new eg({alphaG1:z.alpha_g1,betaG2:z.beta_g2,deltaG2:z.delta_g2,gammaAbcG1:z.gamma_abc_g1,gammaG2:z.gamma_g2})}};async function ms(J){let{aptosConfig:z}=J;return De(async()=>{let te=await no(J),Ae=await fo(J);return Qn.create(Ae,Number(te.max_exp_horizon_secs))},`keyless-configuration-${z.network}`,1e3*60*5)()}async function no(J){let{aptosConfig:z,options:te}=J,Ae="0x1::keyless_account::Configuration",{data:xe}=await bi({aptosConfig:z,originMethod:"getKeylessConfigurationResource",path:`accounts/${Fe.from("0x1").toString()}/resource/${Ae}`,params:{ledger_version:s([te,"optionalAccess",tt=>tt.ledgerVersion])}});return xe.data}async function fo(J){let{aptosConfig:z,options:te}=J,Ae="0x1::keyless_account::Groth16VerificationKey",{data:xe}=await bi({aptosConfig:z,originMethod:"getGroth16VerificationKeyResource",path:`accounts/${Fe.from("0x1").toString()}/resource/${Ae}`,params:{ledger_version:s([te,"optionalAccess",tt=>tt.ledgerVersion])}});return xe.data}var oo=class al extends Ze{constructor(z,te){super(),this.jwkAddress=Fe.from(z),this.keylessPublicKey=te}authKey(){let z=new B;return z.serializeU32AsUleb128(4),z.serializeFixedBytes(this.bcsToBytes()),$t.fromSchemeAndBytes({scheme:2,input:z.toUint8Array()})}verifySignature(z){throw new Error("Not yet implemented")}serialize(z){this.jwkAddress.serialize(z),this.keylessPublicKey.serialize(z)}static deserialize(z){let te=Fe.deserialize(z),Ae=Xr.deserialize(z);return new al(te,Ae)}static isPublicKey(z){return z instanceof al}static create(z){return new al(z.jwkAddress,Xr.create(z))}static fromJwtAndPepper(z){return new al(z.jwkAddress,Xr.fromJwtAndPepper(z))}static isInstance(z){return"jwkAddress"in z&&z.jwkAddress instanceof Fe&&"keylessPublicKey"in z&&z.keylessPublicKey instanceof Xr}},Ii=class bh extends Ze{constructor(z){if(super(),this.publicKey=z,z instanceof hr)this.variant=0;else if(z instanceof ut)this.variant=1;else if(z instanceof Xr)this.variant=3;else if(z instanceof oo)this.variant=4;else throw new Error("Unsupported public key type")}verifySignature(z){let{message:te,signature:Ae}=z;return Ki.isInstance(Ae)?this.publicKey.verifySignature({message:te,signature:Ae.signature}):!1}authKey(){return $t.fromSchemeAndBytes({scheme:2,input:this.toUint8Array()})}toUint8Array(){return this.bcsToBytes()}serialize(z){z.serializeU32AsUleb128(this.variant),this.publicKey.serialize(z)}static deserialize(z){let te=z.deserializeUleb128AsU32(),Ae;switch(te){case 0:Ae=hr.deserialize(z);break;case 1:Ae=ut.deserialize(z);break;case 3:Ae=Xr.deserialize(z);break;case 4:Ae=oo.deserialize(z);break;default:throw new Error(`Unknown variant index for AnyPublicKey: ${te}`)}return new bh(Ae)}static isPublicKey(z){return z instanceof bh}isEd25519(){return this.publicKey instanceof hr}isSecp256k1PublicKey(){return this.publicKey instanceof ut}static isInstance(z){return"publicKey"in z&&"variant"in z}},Ki=e.AnySignature=class tg extends he{constructor(z){if(super(),this.signature=z,z instanceof mt)this.variant=0;else if(z instanceof at)this.variant=1;else if(z instanceof ci)this.variant=3;else throw new Error("Unsupported signature type")}toUint8Array(){return console.warn("[Aptos SDK] Calls to AnySignature.toUint8Array() will soon return the underlying signature bytes. Use AnySignature.bcsToBytes() instead."),this.bcsToBytes()}serialize(z){z.serializeU32AsUleb128(this.variant),this.signature.serialize(z)}static deserialize(z){let te=z.deserializeUleb128AsU32(),Ae;switch(te){case 0:Ae=mt.deserialize(z);break;case 1:Ae=at.deserialize(z);break;case 3:Ae=ci.deserialize(z);break;default:throw new Error(`Unknown variant index for AnySignature: ${te}`)}return new tg(Ae)}static isInstance(z){return"signature"in z&&typeof z.signature=="object"&&z.signature!==null&&"toUint8Array"in z.signature}};function du(J){let z=J;return z-=z>>1&1431655765,z=(z&858993459)+(z>>2&858993459),(z+(z>>4)&252645135)*16843009>>24}var ko=class ng extends Ze{constructor(z){super();let{publicKeys:te,signaturesRequired:Ae}=z;if(Ae<1)throw new Error("The number of required signatures needs to be greater than 0");if(te.length<Ae)throw new Error(`Provided ${te.length} public keys is smaller than the ${Ae} required signatures`);this.publicKeys=te.map(xe=>xe instanceof Ii?xe:new Ii(xe)),this.signaturesRequired=Ae}verifySignature(z){throw new Error("not implemented")}authKey(){return $t.fromSchemeAndBytes({scheme:3,input:this.toUint8Array()})}serialize(z){z.serializeVector(this.publicKeys),z.serializeU8(this.signaturesRequired)}static deserialize(z){let te=z.deserializeVector(Ii),Ae=z.deserializeU8();return new ng({publicKeys:te,signaturesRequired:Ae})}createBitmap(z){let{bits:te}=z,Ae=128,xe=new Uint8Array([0,0,0,0]),tt=new Set;return te.forEach((vt,ir)=>{if(ir+1>this.publicKeys.length)throw new Error(`Signature index ${ir+1} is out of public keys range, ${this.publicKeys.length}.`);if(tt.has(vt))throw new Error(`Duplicate bit ${vt} detected.`);tt.add(vt);let zr=Math.floor(vt/8),Gr=xe[zr];Gr|=Ae>>vt%8,xe[zr]=Gr}),xe}getIndex(z){let te=z instanceof Ii?z:new Ii(z),Ae=this.publicKeys.findIndex(xe=>xe.toString()===te.toString());if(Ae!==-1)return Ae;throw new Error("Public key not found in MultiKey")}static isInstance(z){return"publicKeys"in z&&"signaturesRequired"in z}},_o=class ou extends he{constructor(z){super();let{signatures:te,bitmap:Ae}=z;if(te.length>ou.MAX_SIGNATURES_SUPPORTED)throw new Error(`The number of signatures cannot be greater than ${ou.MAX_SIGNATURES_SUPPORTED}`);if(this.signatures=te.map(tt=>tt instanceof Ki?tt:new Ki(tt)),!(Ae instanceof Uint8Array))this.bitmap=ou.createBitmap({bits:Ae});else{if(Ae.length!==ou.BITMAP_LEN)throw new Error(`"bitmap" length should be ${ou.BITMAP_LEN}`);this.bitmap=Ae}let xe=this.bitmap.reduce((tt,vt)=>tt+du(vt),0);if(xe!==this.signatures.length)throw new Error(`Expecting ${xe} signatures from the bitmap, but got ${this.signatures.length}`)}static createBitmap(z){let{bits:te}=z,Ae=128,xe=new Uint8Array([0,0,0,0]),tt=new Set;return te.forEach(vt=>{if(vt>=ou.MAX_SIGNATURES_SUPPORTED)throw new Error(`Cannot have a signature larger than ${ou.MAX_SIGNATURES_SUPPORTED-1}.`);if(tt.has(vt))throw new Error("Duplicate bits detected.");tt.add(vt);let ir=Math.floor(vt/8),zr=xe[ir];zr|=Ae>>vt%8,xe[ir]=zr}),xe}serialize(z){z.serializeVector(this.signatures),z.serializeBytes(this.bitmap)}static deserialize(z){let te=z.deserializeVector(Ki),Ae=z.deserializeBytes();return new ou({signatures:te,bitmap:Ae})}};_o.BITMAP_LEN=4,_o.MAX_SIGNATURES_SUPPORTED=_o.BITMAP_LEN*8;var qi=_o,Oi=class extends v{static deserialize(J){let z=J.deserializeUleb128AsU32();switch(z){case 0:return Ji.load(J);case 1:return Wo.load(J);case 2:return Bi.load(J);case 3:return Yi.load(J);default:throw new Error(`Unknown variant index for AccountAuthenticator: ${z}`)}}isEd25519(){return this instanceof Ji}isMultiEd25519(){return this instanceof Wo}isSingleKey(){return this instanceof Bi}isMultiKey(){return this instanceof Yi}},Ji=e.AccountAuthenticatorEd25519=class ig extends Oi{constructor(z,te){super(),this.public_key=z,this.signature=te}serialize(z){z.serializeU32AsUleb128(0),this.public_key.serialize(z),this.signature.serialize(z)}static load(z){let te=hr.deserialize(z),Ae=mt.deserialize(z);return new ig(te,Ae)}},Wo=e.AccountAuthenticatorMultiEd25519=class og extends Oi{constructor(z,te){super(),this.public_key=z,this.signature=te}serialize(z){z.serializeU32AsUleb128(1),this.public_key.serialize(z),this.signature.serialize(z)}static load(z){let te=Ge.deserialize(z),Ae=ze.deserialize(z);return new og(te,Ae)}},Bi=e.AccountAuthenticatorSingleKey=class sg extends Oi{constructor(z,te){super(),this.public_key=z,this.signature=te}serialize(z){z.serializeU32AsUleb128(2),this.public_key.serialize(z),this.signature.serialize(z)}static load(z){let te=Ii.deserialize(z),Ae=Ki.deserialize(z);return new sg(te,Ae)}},Yi=e.AccountAuthenticatorMultiKey=class ag extends Oi{constructor(z,te){super(),this.public_keys=z,this.signatures=te}serialize(z){z.serializeU32AsUleb128(3),this.public_keys.serialize(z),this.signatures.serialize(z)}static load(z){let te=ko.deserialize(z),Ae=qi.deserialize(z);return new ag(te,Ae)}},Hs=class ug extends v{constructor(z){super(),this.chainId=z}serialize(z){z.serializeU8(this.chainId)}static deserialize(z){let te=z.deserializeU8();return new ug(te)}},ki=class cg extends v{constructor(z){super(),this.identifier=z}serialize(z){z.serializeStr(this.identifier)}static deserialize(z){let te=z.deserializeStr();return new cg(te)}},Gs=(J,z)=>{let te=J.bcsToBytes(),Ae=typeof z=="string"?P.Buffer.from(z,"utf8"):z,xe=new Uint8Array([...te,...Ae,254]);return new Fe(Rt.sha3_256.call(void 0,xe))},hu=e.createResourceAddress=(J,z)=>{let te=J.bcsToBytes(),Ae=typeof z=="string"?P.Buffer.from(z,"utf8"):z,xe=new Uint8Array([...te,...Ae,255]);return new Fe(Rt.sha3_256.call(void 0,xe))},Pa=e.createTokenAddress=(J,z,te)=>{let Ae=`${z}::${te}`;return Gs(J,Ae)},eo=class wh extends v{constructor(z,te){super(),this.address=z,this.name=te}static fromStr(z){let te=z.split("::");if(te.length!==2)throw new Error("Invalid module id.");return new wh(Fe.fromString(te[0]),new ki(te[1]))}serialize(z){this.address.serialize(z),this.name.serialize(z)}static deserialize(z){let te=Fe.deserialize(z),Ae=ki.deserialize(z);return new wh(te,Ae)}},vi=class lg extends v{deserialize(z){let te=Fe.deserialize(z),Ae=ki.deserialize(z),xe=ki.deserialize(z),tt=z.deserializeVector(lg);return new po(te,Ae,xe,tt)}static deserialize(z){let te=z.deserializeUleb128AsU32();switch(te){case 0:return xi.load(z);case 1:return ao.load(z);case 2:return _n.load(z);case 3:return Fo.load(z);case 4:return gi.load(z);case 5:return li.load(z);case 6:return Ei.load(z);case 7:return Sn.load(z);case 8:return jn.load(z);case 9:return Xn.load(z);case 10:return zo.load(z);case 255:return di.load(z);default:throw new Error(`Unknown variant index for TypeTag: ${te}`)}}isBool(){return this instanceof xi}isAddress(){return this instanceof gi}isGeneric(){return this instanceof di}isSigner(){return this instanceof li}isVector(){return this instanceof Ei}isStruct(){return this instanceof Sn}isU8(){return this instanceof ao}isU16(){return this instanceof jn}isU32(){return this instanceof Xn}isU64(){return this instanceof _n}isU128(){return this instanceof Fo}isU256(){return this instanceof zo}isPrimitive(){return this instanceof li||this instanceof gi||this instanceof xi||this instanceof ao||this instanceof jn||this instanceof Xn||this instanceof _n||this instanceof Fo||this instanceof zo}},xi=e.TypeTagBool=class dg extends vi{toString(){return"bool"}serialize(z){z.serializeU32AsUleb128(0)}static load(z){return new dg}},ao=e.TypeTagU8=class hg extends vi{toString(){return"u8"}serialize(z){z.serializeU32AsUleb128(1)}static load(z){return new hg}},jn=e.TypeTagU16=class fg extends vi{toString(){return"u16"}serialize(z){z.serializeU32AsUleb128(8)}static load(z){return new fg}},Xn=e.TypeTagU32=class mg extends vi{toString(){return"u32"}serialize(z){z.serializeU32AsUleb128(9)}static load(z){return new mg}},_n=e.TypeTagU64=class bg extends vi{toString(){return"u64"}serialize(z){z.serializeU32AsUleb128(2)}static load(z){return new bg}},Fo=e.TypeTagU128=class wg extends vi{toString(){return"u128"}serialize(z){z.serializeU32AsUleb128(3)}static load(z){return new wg}},zo=e.TypeTagU256=class vg extends vi{toString(){return"u256"}serialize(z){z.serializeU32AsUleb128(10)}static load(z){return new vg}},gi=e.TypeTagAddress=class Ag extends vi{toString(){return"address"}serialize(z){z.serializeU32AsUleb128(4)}static load(z){return new Ag}},li=e.TypeTagSigner=class Eg extends vi{toString(){return"signer"}serialize(z){z.serializeU32AsUleb128(5)}static load(z){return new Eg}},Ms=e.TypeTagReference=class Tg extends vi{constructor(z){super(),this.value=z}toString(){return`&${this.value.toString()}`}serialize(z){z.serializeU32AsUleb128(254)}static load(z){let te=vi.deserialize(z);return new Tg(te)}},di=e.TypeTagGeneric=class Cg extends vi{constructor(z){if(super(),this.value=z,z<0)throw new Error("Generic type parameter index cannot be negative")}toString(){return`T${this.value}`}serialize(z){z.serializeU32AsUleb128(255),z.serializeU32(this.value)}static load(z){let te=z.deserializeU32();return new Cg(te)}},Ei=e.TypeTagVector=class vh extends vi{constructor(z){super(),this.value=z}toString(){return`vector<${this.value.toString()}>`}static u8(){return new vh(new ao)}serialize(z){z.serializeU32AsUleb128(6),this.value.serialize(z)}static load(z){let te=vi.deserialize(z);return new vh(te)}},Sn=e.TypeTagStruct=class Sg extends vi{constructor(z){super(),this.value=z}toString(){let z="";return this.value.typeArgs.length>0&&(z=`<${this.value.typeArgs.map(te=>te.toString()).join(", ")}>`),`${this.value.address.toString()}::${this.value.moduleName.identifier}::${this.value.name.identifier}${z}`}serialize(z){z.serializeU32AsUleb128(7),this.value.serialize(z)}static load(z){let te=po.deserialize(z);return new Sg(te)}isTypeTag(z,te,Ae){return this.value.moduleName.identifier===te&&this.value.name.identifier===Ae&&this.value.address.equals(z)}isString(){return this.isTypeTag(Fe.ONE,"string","String")}isOption(){return this.isTypeTag(Fe.ONE,"option","Option")}isObject(){return this.isTypeTag(Fe.ONE,"object","Object")}},po=e.StructTag=class Ig extends v{constructor(z,te,Ae,xe){super(),this.address=z,this.moduleName=te,this.name=Ae,this.typeArgs=xe}serialize(z){z.serialize(this.address),z.serialize(this.moduleName),z.serialize(this.name),z.serializeVector(this.typeArgs)}static deserialize(z){let te=Fe.deserialize(z),Ae=ki.deserialize(z),xe=ki.deserialize(z),tt=z.deserializeVector(vi);return new Ig(te,Ae,xe,tt)}};function bs(){return new po(Fe.ONE,new ki("aptos_coin"),new ki("AptosCoin"),[])}function Rn(){return new po(Fe.ONE,new ki("string"),new ki("String"),[])}function Vs(J){return new po(Fe.ONE,new ki("option"),new ki("Option"),[J])}function Pi(J){return new po(Fe.ONE,new ki("object"),new ki("Object"),[J])}function ma(J){let z=J.deserializeUleb128AsU32();switch(z){case 0:return Xe.deserialize(J);case 1:return Kt.deserialize(J);case 2:return wt.deserialize(J);case 3:return Fe.deserialize(J);case 4:return it.deserialize(J,Xe);case 5:return Ne.deserialize(J);case 6:return Je.deserialize(J);case 7:return ft.deserialize(J);case 8:return Ie.deserialize(J);case 9:return Ye.deserialize(J);default:throw new Error(`Unknown variant index for ScriptTransactionArgument: ${z}`)}}var Xi=class extends v{static deserialize(J){let z=J.deserializeUleb128AsU32();switch(z){case 0:return ws.load(J);case 2:return Bs.load(J);case 3:return qs.load(J);default:throw new Error(`Unknown variant index for TransactionPayload: ${z}`)}}},ws=e.TransactionPayloadScript=class Og extends Xi{constructor(z){super(),this.script=z}serialize(z){z.serializeU32AsUleb128(0),this.script.serialize(z)}static load(z){let te=vs.deserialize(z);return new Og(te)}},Bs=e.TransactionPayloadEntryFunction=class kg extends Xi{constructor(z){super(),this.entryFunction=z}serialize(z){z.serializeU32AsUleb128(2),this.entryFunction.serialize(z)}static load(z){let te=xs.deserialize(z);return new kg(te)}},qs=e.TransactionPayloadMultiSig=class Pg extends Xi{constructor(z){super(),this.multiSig=z}serialize(z){z.serializeU32AsUleb128(3),this.multiSig.serialize(z)}static load(z){let te=Bo.deserialize(z);return new Pg(te)}},xs=e.EntryFunction=class Ah{constructor(z,te,Ae,xe){this.module_name=z,this.function_name=te,this.type_args=Ae,this.args=xe}static build(z,te,Ae,xe){return new Ah(eo.fromStr(z),new ki(te),Ae,xe)}serialize(z){this.module_name.serialize(z),this.function_name.serialize(z),z.serializeVector(this.type_args),z.serializeU32AsUleb128(this.args.length),this.args.forEach(te=>{te.serializeForEntryFunction(z)})}static deserialize(z){let te=eo.deserialize(z),Ae=ki.deserialize(z),xe=z.deserializeVector(vi),tt=z.deserializeUleb128AsU32(),vt=new Array;for(let ir=0;ir<tt;ir+=1){let zr=z.deserializeUleb128AsU32(),Gr=H.deserialize(z,zr);vt.push(Gr)}return new Ah(te,Ae,xe,vt)}},vs=e.Script=class Mg{constructor(z,te,Ae){this.bytecode=z,this.type_args=te,this.args=Ae}serialize(z){z.serializeBytes(this.bytecode),z.serializeVector(this.type_args),z.serializeU32AsUleb128(this.args.length),this.args.forEach(te=>{te.serializeForScriptFunction(z)})}static deserialize(z){let te=z.deserializeBytes(),Ae=z.deserializeVector(vi),xe=z.deserializeUleb128AsU32(),tt=new Array;for(let vt=0;vt<xe;vt+=1){let ir=ma(z);tt.push(ir)}return new Mg(te,Ae,tt)}},Bo=e.MultiSig=class Bg{constructor(z,te){this.multisig_address=z,this.transaction_payload=te}serialize(z){this.multisig_address.serialize(z),this.transaction_payload===void 0?z.serializeBool(!1):(z.serializeBool(!0),this.transaction_payload.serialize(z))}static deserialize(z){let te=Fe.deserialize(z),Ae=z.deserializeBool(),xe;return Ae&&(xe=Ba.deserialize(z)),new Bg(te,xe)}},Ba=e.MultiSigTransactionPayload=class xg extends v{constructor(z){super(),this.transaction_payload=z}serialize(z){z.serializeU32AsUleb128(0),this.transaction_payload.serialize(z)}static deserialize(z){return z.deserializeUleb128AsU32(),new xg(xs.deserialize(z))}},xo=class zg extends v{constructor(z,te,Ae,xe,tt,vt,ir){super(),this.sender=z,this.sequence_number=te,this.payload=Ae,this.max_gas_amount=xe,this.gas_unit_price=tt,this.expiration_timestamp_secs=vt,this.chain_id=ir}serialize(z){this.sender.serialize(z),z.serializeU64(this.sequence_number),this.payload.serialize(z),z.serializeU64(this.max_gas_amount),z.serializeU64(this.gas_unit_price),z.serializeU64(this.expiration_timestamp_secs),this.chain_id.serialize(z)}static deserialize(z){let te=Fe.deserialize(z),Ae=z.deserializeU64(),xe=Xi.deserialize(z),tt=z.deserializeU64(),vt=z.deserializeU64(),ir=z.deserializeU64(),zr=Hs.deserialize(z);return new zg(te,Ae,xe,tt,vt,ir,zr)}},Js=e.RawTransactionWithData=class extends v{static deserialize(J){let z=J.deserializeUleb128AsU32();switch(z){case 0:return Us.load(J);case 1:return Xs.load(J);default:throw new Error(`Unknown variant index for RawTransactionWithData: ${z}`)}}},Us=e.MultiAgentRawTransaction=class jg extends Js{constructor(z,te){super(),this.raw_txn=z,this.secondary_signer_addresses=te}serialize(z){z.serializeU32AsUleb128(0),this.raw_txn.serialize(z),z.serializeVector(this.secondary_signer_addresses)}static load(z){let te=xo.deserialize(z),Ae=z.deserializeVector(Fe);return new jg(te,Ae)}},Xs=e.FeePayerRawTransaction=class Kg extends Js{constructor(z,te,Ae){super(),this.raw_txn=z,this.secondary_signer_addresses=te,this.fee_payer_address=Ae}serialize(z){z.serializeU32AsUleb128(1),this.raw_txn.serialize(z),z.serializeVector(this.secondary_signer_addresses),this.fee_payer_address.serialize(z)}static load(z){let te=xo.deserialize(z),Ae=z.deserializeVector(Fe),xe=Fe.deserialize(z);return new Kg(te,Ae,xe)}},Qs=class extends v{constructor(J){super(),this.accountAddress=Fe.ONE,this.moduleName=new et("account"),this.structName=new et("RotationProofChallenge"),this.sequenceNumber=new Kt(J.sequenceNumber),this.originator=J.originator,this.currentAuthKey=J.currentAuthKey,this.newPublicKey=it.U8(J.newPublicKey.toUint8Array())}serialize(J){J.serialize(this.accountAddress),J.serialize(this.moduleName),J.serialize(this.structName),J.serialize(this.sequenceNumber),J.serialize(this.originator),J.serialize(this.currentAuthKey),J.serialize(this.newPublicKey)}},Ni=class extends v{static deserialize(J){let z=J.deserializeUleb128AsU32();switch(z){case 0:return Ws.load(J);case 1:return xa.load(J);case 2:return Vo.load(J);case 3:return Re.load(J);case 4:return Se.load(J);default:throw new Error(`Unknown variant index for TransactionAuthenticator: ${z}`)}}},Ws=e.TransactionAuthenticatorEd25519=class ey extends Ni{constructor(z,te){super(),this.public_key=z,this.signature=te}serialize(z){z.serializeU32AsUleb128(0),this.public_key.serialize(z),this.signature.serialize(z)}static load(z){let te=hr.deserialize(z),Ae=mt.deserialize(z);return new ey(te,Ae)}},xa=e.TransactionAuthenticatorMultiEd25519=class ty extends Ni{constructor(z,te){super(),this.public_key=z,this.signature=te}serialize(z){z.serializeU32AsUleb128(1),this.public_key.serialize(z),this.signature.serialize(z)}static load(z){let te=Ge.deserialize(z),Ae=ze.deserialize(z);return new ty(te,Ae)}},Vo=e.TransactionAuthenticatorMultiAgent=class ry extends Ni{constructor(z,te,Ae){super(),this.sender=z,this.secondary_signer_addresses=te,this.secondary_signers=Ae}serialize(z){z.serializeU32AsUleb128(2),this.sender.serialize(z),z.serializeVector(this.secondary_signer_addresses),z.serializeVector(this.secondary_signers)}static load(z){let te=Oi.deserialize(z),Ae=z.deserializeVector(Fe),xe=z.deserializeVector(Oi);return new ry(te,Ae,xe)}},Re=e.TransactionAuthenticatorFeePayer=class ny extends Ni{constructor(z,te,Ae,xe){super(),this.sender=z,this.secondary_signer_addresses=te,this.secondary_signers=Ae,this.fee_payer=xe}serialize(z){z.serializeU32AsUleb128(3),this.sender.serialize(z),z.serializeVector(this.secondary_signer_addresses),z.serializeVector(this.secondary_signers),this.fee_payer.address.serialize(z),this.fee_payer.authenticator.serialize(z)}static load(z){let te=Oi.deserialize(z),Ae=z.deserializeVector(Fe),xe=z.deserializeVector(Oi),tt=Fe.deserialize(z),vt=Oi.deserialize(z),ir={address:tt,authenticator:vt};return new ny(te,Ae,xe,ir)}},Se=e.TransactionAuthenticatorSingleSender=class iy extends Ni{constructor(z){super(),this.sender=z}serialize(z){z.serializeU32AsUleb128(4),this.sender.serialize(z)}static load(z){let te=Oi.deserialize(z);return new iy(te)}},pe=class oy extends v{constructor(z,te){super(),this.raw_txn=z,this.authenticator=te}serialize(z){this.raw_txn.serialize(z),this.authenticator.serialize(z)}static deserialize(z){let te=xo.deserialize(z),Ae=Ni.deserialize(z);return new oy(te,Ae)}},We=class sy extends v{constructor(z,te){super(),this.rawTransaction=z,this.feePayerAddress=te}serialize(z){this.rawTransaction.serialize(z),this.feePayerAddress===void 0?z.serializeBool(!1):(z.serializeBool(!0),this.feePayerAddress.serialize(z))}static deserialize(z){let te=xo.deserialize(z),Ae=z.deserializeBool(),xe;return Ae&&(xe=Fe.deserialize(z)),new sy(te,xe)}},Ft=class ay extends v{constructor(z,te,Ae){super(),this.rawTransaction=z,this.feePayerAddress=Ae,this.secondarySignerAddresses=te}serialize(z){this.rawTransaction.serialize(z),z.serializeVector(this.secondarySignerAddresses),this.feePayerAddress===void 0?z.serializeBool(!1):(z.serializeBool(!0),this.feePayerAddress.serialize(z))}static deserialize(z){let te=xo.deserialize(z),Ae=z.deserializeVector(Fe),xe=z.deserializeBool(),tt;return xe&&(tt=Fe.deserialize(z)),new ay(te,Ae,tt)}};function nr(J){return J.feePayerAddress?new Xs(J.rawTransaction,o(J.secondarySignerAddresses,()=>[]),J.feePayerAddress):J.secondarySignerAddresses?new Us(J.rawTransaction,J.secondarySignerAddresses):J.rawTransaction}function sr(J,z){let te=Rt.sha3_256.create();if(!z.startsWith("APTOS::"))throw new Error(`Domain separator needs to start with 'APTOS::'.  Provided - ${z}`);te.update(z);let Ae=te.digest(),xe=J,tt=new Uint8Array(Ae.length+xe.length);return tt.set(Ae),tt.set(xe,Ae.length),tt}function pr(J){return sr(J.bcsToBytes(),`APTOS::${J.constructor.name}`)}function Xt(J){let z=nr(J);return J.feePayerAddress||J.secondarySignerAddresses?sr(z.bcsToBytes(),Hn):sr(z.bcsToBytes(),qn)}var Mr=class Eh{constructor(z){this.signingScheme=0;let{privateKey:te,address:Ae}=z;this.privateKey=te,this.publicKey=te.publicKey(),this.accountAddress=Ae?Fe.from(Ae):this.publicKey.authKey().derivedAddress()}static generate(){let z=Er.generate();return new Eh({privateKey:z})}static fromDerivationPath(z){let{path:te,mnemonic:Ae}=z,xe=Er.fromDerivationPath(te,Ae);return new Eh({privateKey:xe})}verifySignature(z){return this.publicKey.verifySignature(z)}signWithAuthenticator(z){return new Ji(this.publicKey,this.privateKey.sign(z))}signTransactionWithAuthenticator(z){return new Ji(this.publicKey,this.signTransaction(z))}sign(z){return this.privateKey.sign(z)}signTransaction(z){return this.sign(Xt(z))}},Lr=class Th{constructor(z){this.signingScheme=2;let{privateKey:te,address:Ae}=z;this.privateKey=te,this.publicKey=new Ii(te.publicKey()),this.accountAddress=Ae?Fe.from(Ae):this.publicKey.authKey().derivedAddress()}static generate(z={}){let{scheme:te=0}=z,Ae;switch(te){case 0:Ae=Er.generate();break;case 2:Ae=He.generate();break;default:throw new Error(`Unsupported signature scheme ${te}`)}return new Th({privateKey:Ae})}static fromDerivationPath(z){let{scheme:te=0,path:Ae,mnemonic:xe}=z,tt;switch(te){case 0:tt=Er.fromDerivationPath(Ae,xe);break;case 2:tt=He.fromDerivationPath(Ae,xe);break;default:throw new Error(`Unsupported signature scheme ${te}`)}return new Th({privateKey:tt})}verifySignature(z){return this.publicKey.verifySignature(z)}signWithAuthenticator(z){return new Bi(this.publicKey,this.sign(z))}signTransactionWithAuthenticator(z){return new Bi(this.publicKey,this.signTransaction(z))}sign(z){return new Ki(this.privateKey.sign(z))}signTransaction(z){return this.sign(Xt(z))}},Tn=class{static generate(J={}){let{scheme:z=0,legacy:te=!0}=J;return z===0&&te?Mr.generate():Lr.generate({scheme:z})}static fromPrivateKey(J){let{privateKey:z,address:te,legacy:Ae=!0}=J;return z instanceof Er&&Ae?new Mr({privateKey:z,address:te}):new Lr({privateKey:z,address:te})}static fromPrivateKeyAndAddress(J){return this.fromPrivateKey(J)}static fromDerivationPath(J){let{scheme:z=0,mnemonic:te,path:Ae,legacy:xe=!0}=J;return z===0&&xe?Mr.fromDerivationPath({mnemonic:te,path:Ae}):Lr.fromDerivationPath({scheme:z,mnemonic:te,path:Ae})}static authKey(J){let{publicKey:z}=J;return z.authKey()}verifySignature(J){return this.publicKey.verifySignature(J)}},Un=1209600,Fu=class Ql extends v{constructor(z){super();let{privateKey:te,expiryDateSecs:Ae,blinder:xe}=z;this.privateKey=te,this.publicKey=new pt(te.publicKey()),this.expiryDateSecs=Ae||n.d.call(void 0,n.c.call(void 0)+Un),this.blinder=xe!==void 0?O.fromHexInput(xe).toUint8Array():rc();let tt=Ve(this.publicKey.bcsToBytes(),93);tt.push(BigInt(this.expiryDateSecs)),tt.push(Cr(this.blinder));let vt=jr(tt);this.nonce=vt.toString()}getPublicKey(){return this.publicKey}isExpired(){return Math.floor(Date.now()/1e3)>this.expiryDateSecs}serialize(z){z.serializeU32AsUleb128(this.publicKey.variant),z.serializeBytes(this.privateKey.toUint8Array()),z.serializeU64(this.expiryDateSecs),z.serializeFixedBytes(this.blinder)}static deserialize(z){let te=z.deserializeUleb128AsU32(),Ae;if(te===0)Ae=Er.deserialize(z);else throw new Error(`Unknown variant index for EphemeralPublicKey: ${te}`);let xe=z.deserializeU64(),tt=z.deserializeFixedBytes(31);return new Ql({privateKey:Ae,expiryDateSecs:Number(xe),blinder:tt})}static fromBytes(z){return Ql.deserialize(new C(z))}static generate(z){let te;switch(s([z,"optionalAccess",Ae=>Ae.scheme])){default:te=Er.generate()}return new Ql({privateKey:te,expiryDateSecs:s([z,"optionalAccess",Ae=>Ae.expiryDateSecs])})}sign(z){if(this.isExpired())throw new Error("EphemeralKeyPair has expired");return new Bt(this.privateKey.sign(z))}};Fu.BLINDER_LENGTH=31;var Wa=Fu;function rc(){return w.randomBytes.call(void 0,Wa.BLINDER_LENGTH)}var nc=Qf(),fu=r(nc),pu=class Ch extends v{constructor(z){super();let{address:te,ephemeralKeyPair:Ae,publicKey:xe,uidKey:tt,uidVal:vt,aud:ir,pepper:zr,proof:Gr,proofFetchCallback:bn,jwt:mi}=z;if(this.ephemeralKeyPair=Ae,this.publicKey=xe,this.accountAddress=te?Fe.from(te):this.publicKey.authKey().derivedAddress(),this.uidKey=tt,this.uidVal=vt,this.aud=ir,this.jwt=mi,this.emitter=new fu.default,this.proofOrPromise=Gr,Gr instanceof pi)this.proof=Gr;else{if(bn===void 0)throw new Error("Must provide callback for async proof fetch");this.emitter.on("proofFetchFinish",async Kn=>{await bn(Kn),this.emitter.removeAllListeners()}),this.init(Gr)}this.signingScheme=2;let $n=O.fromHexInput(zr).toUint8Array();if($n.length!==Ch.PEPPER_LENGTH)throw new Error(`Pepper length in bytes should be ${Ch.PEPPER_LENGTH}`);this.pepper=$n}async init(z){try{this.proof=await z,this.emitter.emit("proofFetchFinish",{status:"Success"})}catch(te){te instanceof Error?this.emitter.emit("proofFetchFinish",{status:"Failed",error:te.toString()}):this.emitter.emit("proofFetchFinish",{status:"Failed",error:"Unknown"})}}serialize(z){if(z.serializeStr(this.jwt),z.serializeStr(this.uidKey),z.serializeFixedBytes(this.pepper),this.ephemeralKeyPair.serialize(z),this.proof===void 0)throw new Error("Cannot serialize - proof undefined");this.proof.serialize(z)}isExpired(){return this.ephemeralKeyPair.isExpired()}signWithAuthenticator(z){let te=new Ki(this.sign(z)),Ae=new Ii(this.publicKey);return new Bi(Ae,te)}signTransactionWithAuthenticator(z){let te=new Ki(this.signTransaction(z)),Ae=new Ii(this.publicKey);return new Bi(Ae,te)}async waitForProofFetch(){this.proofOrPromise instanceof Promise&&await this.proofOrPromise}sign(z){let{expiryDateSecs:te}=this.ephemeralKeyPair;if(this.isExpired())throw new Error("EphemeralKeyPair is expired");if(this.proof===void 0)throw new Error("Proof not found - make sure to call `await account.waitForProofFetch()` before signing.");let Ae=this.ephemeralKeyPair.getPublicKey(),xe=this.ephemeralKeyPair.sign(z);return new ci({jwtHeader:n.e.call(void 0,this.jwt.split(".")[0]),ephemeralCertificate:new cn(this.proof,0),expiryDateSecs:te,ephemeralPublicKey:Ae,ephemeralSignature:xe})}signTransaction(z){if(this.proof===void 0)throw new Error("Proof not found - make sure to call `await account.waitForProofFetch()` before signing.");let te=nr(z),Ae=new gu(te,this.proof.proof).hash();return this.sign(Ae)}verifySignature(z){let{message:te,signature:Ae}=z;return!(this.isExpired()||!this.ephemeralKeyPair.getPublicKey().verifySignature({message:te,signature:Ae.ephemeralSignature}))}};pu.PEPPER_LENGTH=31;var Ls=pu,gu=e.TransactionAndProof=class extends v{constructor(J,z){super(),this.domainSeparator="APTOS::TransactionAndProof",this.transaction=J,this.proof=z}serialize(J){J.serializeFixedBytes(this.transaction.bcsToBytes()),J.serializeOption(this.proof)}hash(){return sr(this.bcsToBytes(),this.domainSeparator)}},za=class Zl extends Ls{constructor(z){let te=Xr.create(z);super({publicKey:te,...z}),this.publicKey=te}serialize(z){if(z.serializeStr(this.jwt),z.serializeStr(this.uidKey),z.serializeFixedBytes(this.pepper),this.ephemeralKeyPair.serialize(z),this.proof===void 0)throw new Error("Cannot serialize - proof undefined");this.proof.serialize(z)}static deserialize(z){let te=z.deserializeStr(),Ae=z.deserializeStr(),xe=z.deserializeFixedBytes(31),tt=Wa.deserialize(z),vt=pi.deserialize(z);return Zl.create({proof:vt,pepper:xe,uidKey:Ae,jwt:te,ephemeralKeyPair:tt})}static fromBytes(z){return Zl.deserialize(new C(z))}static create(z){let{address:te,proof:Ae,jwt:xe,ephemeralKeyPair:tt,pepper:vt,uidKey:ir="sub",proofFetchCallback:zr}=z,Gr=Tt.jwtDecode.call(void 0,xe);if(typeof Gr.iss!="string")throw new Error("iss was not found");if(typeof Gr.aud!="string")throw new Error("aud was not found or an array of values");let bn=Gr[ir];return new Zl({address:te,proof:Ae,ephemeralKeyPair:tt,iss:Gr.iss,uidKey:ir,uidVal:bn,aud:Gr.aud,pepper:vt,jwt:xe,proofFetchCallback:zr})}},ju=class ed extends Ls{constructor(z){let te=oo.create(z);super({publicKey:te,...z}),this.publicKey=te}serialize(z){if(this.proof===void 0)throw new Error("Cannot serialize - proof undefined");z.serializeStr(this.jwt),z.serializeStr(this.uidKey),z.serializeFixedBytes(this.pepper),this.publicKey.jwkAddress.serialize(z),this.ephemeralKeyPair.serialize(z),this.proof.serialize(z)}static deserialize(z){let te=z.deserializeStr(),Ae=z.deserializeStr(),xe=z.deserializeFixedBytes(31),tt=Fe.deserialize(z),vt=Wa.deserialize(z),ir=pi.deserialize(z);return ed.create({proof:ir,pepper:xe,jwkAddress:tt,uidKey:Ae,jwt:te,ephemeralKeyPair:vt})}static fromBytes(z){return ed.deserialize(new C(z))}static create(z){let{address:te,proof:Ae,jwt:xe,ephemeralKeyPair:tt,pepper:vt,jwkAddress:ir,uidKey:zr="sub",proofFetchCallback:Gr}=z,bn=Tt.jwtDecode.call(void 0,xe);if(typeof bn.iss!="string")throw new Error("iss was not found");if(typeof bn.aud!="string")throw new Error("aud was not found or an array of values");let mi=bn[zr];return new ed({address:te,proof:Ae,ephemeralKeyPair:tt,iss:bn.iss,uidKey:zr,uidVal:mi,aud:bn.aud,pepper:vt,jwkAddress:Fe.from(ir),jwt:xe,proofFetchCallback:Gr})}},Ka=class Sh{constructor(z){let{multiKey:te,signers:Ae,address:xe}=z;this.publicKey=te,this.signingScheme=3,this.accountAddress=xe?Fe.from(xe):this.publicKey.authKey().derivedAddress();let tt=[];for(let ir of Ae)tt.push(this.publicKey.getIndex(ir.publicKey));let vt=Ae.map((ir,zr)=>[ir,tt[zr]]);vt.sort((ir,zr)=>ir[1]-zr[1]),this.signers=vt.map(ir=>ir[0]),this.signerIndicies=vt.map(ir=>ir[1]),this.signaturesBitmap=this.publicKey.createBitmap({bits:tt})}static fromPublicKeysAndSigners(z){let{publicKeys:te,signaturesRequired:Ae,signers:xe}=z,tt=new ko({publicKeys:te,signaturesRequired:Ae});return new Sh({multiKey:tt,signers:xe})}static isMultiKeySigner(z){return z instanceof Sh}signWithAuthenticator(z){return new Yi(this.publicKey,this.sign(z))}signTransactionWithAuthenticator(z){return new Yi(this.publicKey,this.signTransaction(z))}async waitForProofFetch(){let z=this.signers.filter(te=>te instanceof Ls).map(async te=>te.waitForProofFetch());await Promise.all(z)}sign(z){let te=[];for(let Ae of this.signers)te.push(Ae.sign(z));return new qi({signatures:te,bitmap:this.signaturesBitmap})}signTransaction(z){let te=[];for(let Ae of this.signers)te.push(Ae.signTransaction(z));return new qi({signatures:te,bitmap:this.signaturesBitmap})}verifySignature(z){let{message:te,signature:Ae}=z;if(!this.signerIndicies.every((xe,tt)=>tt===0||xe>=this.signerIndicies[tt-1]))return!1;for(let xe=0;xe<Ae.signatures.length;xe+=1){let tt=Ae.signatures[xe];if(!this.publicKey.publicKeys[this.signerIndicies[xe]].verifySignature({message:te,signature:tt}))return!1}return!0}},le=`
    fragment TokenActivitiesFields on token_activities_v2 {
  after_value
  before_value
  entry_function_id_str
  event_account_address
  event_index
  from_address
  is_fungible_v2
  property_version_v1
  to_address
  token_amount
  token_data_id
  token_standard
  transaction_timestamp
  transaction_version
  type
}
    `,se=`
    fragment AnsTokenFragment on current_aptos_names {
  domain
  expiration_timestamp
  registered_address
  subdomain
  token_standard
  is_primary
  owner_address
  subdomain_expiration_policy
  domain_expiration_timestamp
}
    `,we=`
    fragment CurrentTokenOwnershipFields on current_token_ownerships_v2 {
  token_standard
  token_properties_mutated_v1
  token_data_id
  table_type_v1
  storage_id
  property_version_v1
  owner_address
  last_transaction_version
  last_transaction_timestamp
  is_soulbound_v2
  is_fungible_v2
  amount
  current_token_data {
    collection_id
    description
    is_fungible_v2
    largest_property_version_v1
    last_transaction_timestamp
    last_transaction_version
    maximum
    supply
    token_data_id
    token_name
    token_properties
    token_standard
    token_uri
    decimals
    current_collection {
      collection_id
      collection_name
      creator_address
      current_supply
      description
      last_transaction_timestamp
      last_transaction_version
      max_supply
      mutable_description
      mutable_uri
      table_handle_v1
      token_standard
      total_minted_v2
      uri
    }
  }
}
    `,ke=`
    query getAccountCoinsCount($address: String) {
  current_fungible_asset_balances_aggregate(
    where: {owner_address: {_eq: $address}}
  ) {
    aggregate {
      count
    }
  }
}
    `,qe=`
    query getAccountCoinsData($where_condition: current_fungible_asset_balances_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_fungible_asset_balances_order_by!]) {
  current_fungible_asset_balances(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    amount
    asset_type
    is_frozen
    is_primary
    last_transaction_timestamp
    last_transaction_version
    owner_address
    storage_id
    token_standard
    metadata {
      token_standard
      symbol
      supply_aggregator_table_key_v1
      supply_aggregator_table_handle_v1
      project_uri
      name
      last_transaction_version
      last_transaction_timestamp
      icon_uri
      decimals
      creator_address
      asset_type
    }
  }
}
    `,ot=`
    query getAccountCollectionsWithOwnedTokens($where_condition: current_collection_ownership_v2_view_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_collection_ownership_v2_view_order_by!]) {
  current_collection_ownership_v2_view(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    current_collection {
      collection_id
      collection_name
      creator_address
      current_supply
      description
      last_transaction_timestamp
      last_transaction_version
      mutable_description
      max_supply
      mutable_uri
      table_handle_v1
      token_standard
      total_minted_v2
      uri
    }
    collection_id
    collection_name
    collection_uri
    creator_address
    distinct_tokens
    last_transaction_version
    owner_address
    single_token_uri
  }
}
    `,St=`
    query getAccountOwnedTokens($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {
  current_token_ownerships_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    ...CurrentTokenOwnershipFields
  }
}
    ${we}`,lr=`
    query getAccountOwnedTokensByTokenData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {
  current_token_ownerships_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    ...CurrentTokenOwnershipFields
  }
}
    ${we}`,Or=`
    query getAccountOwnedTokensFromCollection($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {
  current_token_ownerships_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    ...CurrentTokenOwnershipFields
  }
}
    ${we}`,tn=`
    query getAccountTokensCount($where_condition: current_token_ownerships_v2_bool_exp, $offset: Int, $limit: Int) {
  current_token_ownerships_v2_aggregate(
    where: $where_condition
    offset: $offset
    limit: $limit
  ) {
    aggregate {
      count
    }
  }
}
    `,pn=`
    query getAccountTransactionsCount($address: String) {
  account_transactions_aggregate(where: {account_address: {_eq: $address}}) {
    aggregate {
      count
    }
  }
}
    `,Qr=`
    query getChainTopUserTransactions($limit: Int) {
  user_transactions(limit: $limit, order_by: {version: desc}) {
    version
  }
}
    `,rn=`
    query getCollectionData($where_condition: current_collections_v2_bool_exp!) {
  current_collections_v2(where: $where_condition) {
    uri
    total_minted_v2
    token_standard
    table_handle_v1
    mutable_uri
    mutable_description
    max_supply
    collection_id
    collection_name
    creator_address
    current_supply
    description
    last_transaction_timestamp
    last_transaction_version
    cdn_asset_uris {
      cdn_image_uri
      asset_uri
      animation_optimizer_retry_count
      cdn_animation_uri
      cdn_json_uri
      image_optimizer_retry_count
      json_parser_retry_count
      raw_animation_uri
      raw_image_uri
    }
  }
}
    `,Zr=`
    query getCurrentFungibleAssetBalances($where_condition: current_fungible_asset_balances_bool_exp, $offset: Int, $limit: Int) {
  current_fungible_asset_balances(
    where: $where_condition
    offset: $offset
    limit: $limit
  ) {
    amount
    asset_type
    is_frozen
    is_primary
    last_transaction_timestamp
    last_transaction_version
    owner_address
    storage_id
    token_standard
  }
}
    `,yn=`
    query getDelegatedStakingActivities($delegatorAddress: String, $poolAddress: String) {
  delegated_staking_activities(
    where: {delegator_address: {_eq: $delegatorAddress}, pool_address: {_eq: $poolAddress}}
  ) {
    amount
    delegator_address
    event_index
    event_type
    pool_address
    transaction_version
  }
}
    `,en=`
    query getEvents($where_condition: events_bool_exp, $offset: Int, $limit: Int, $order_by: [events_order_by!]) {
  events(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    account_address
    creation_number
    data
    event_index
    sequence_number
    transaction_block_height
    transaction_version
    type
    indexed_type
  }
}
    `,Ln=`
    query getFungibleAssetActivities($where_condition: fungible_asset_activities_bool_exp, $offset: Int, $limit: Int) {
  fungible_asset_activities(
    where: $where_condition
    offset: $offset
    limit: $limit
  ) {
    amount
    asset_type
    block_height
    entry_function_id_str
    event_index
    gas_fee_payer_address
    is_frozen
    is_gas_fee
    is_transaction_success
    owner_address
    storage_id
    storage_refund_amount
    token_standard
    transaction_timestamp
    transaction_version
    type
  }
}
    `,Nn=`
    query getFungibleAssetMetadata($where_condition: fungible_asset_metadata_bool_exp, $offset: Int, $limit: Int) {
  fungible_asset_metadata(where: $where_condition, offset: $offset, limit: $limit) {
    icon_uri
    project_uri
    supply_aggregator_table_handle_v1
    supply_aggregator_table_key_v1
    creator_address
    asset_type
    decimals
    last_transaction_timestamp
    last_transaction_version
    name
    symbol
    token_standard
    supply_v2
    maximum_v2
  }
}
    `,Wi=`
    query getNames($offset: Int, $limit: Int, $where_condition: current_aptos_names_bool_exp, $order_by: [current_aptos_names_order_by!]) {
  current_aptos_names(
    limit: $limit
    where: $where_condition
    order_by: $order_by
    offset: $offset
  ) {
    ...AnsTokenFragment
  }
}
    ${se}`,ia=`
    query getNumberOfDelegators($where_condition: num_active_delegator_per_pool_bool_exp, $order_by: [num_active_delegator_per_pool_order_by!]) {
  num_active_delegator_per_pool(where: $where_condition, order_by: $order_by) {
    num_active_delegator
    pool_address
  }
}
    `,ba=`
    query getObjectData($where_condition: current_objects_bool_exp, $offset: Int, $limit: Int, $order_by: [current_objects_order_by!]) {
  current_objects(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    allow_ungated_transfer
    state_key_hash
    owner_address
    object_address
    last_transaction_version
    last_guid_creation_num
    is_deleted
  }
}
    `,Uc=`
    query getProcessorStatus($where_condition: processor_status_bool_exp) {
  processor_status(where: $where_condition) {
    last_success_version
    processor
    last_updated
  }
}
    `,pl=`
    query getTableItemsData($where_condition: table_items_bool_exp!, $offset: Int, $limit: Int, $order_by: [table_items_order_by!]) {
  table_items(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    decoded_key
    decoded_value
    key
    table_handle
    transaction_version
    write_set_change_index
  }
}
    `,gl=`
    query getTableItemsMetadata($where_condition: table_metadatas_bool_exp!, $offset: Int, $limit: Int, $order_by: [table_metadatas_order_by!]) {
  table_metadatas(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    handle
    key_type
    value_type
  }
}
    `,yl=`
    query getTokenActivity($where_condition: token_activities_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [token_activities_v2_order_by!]) {
  token_activities_v2(
    where: $where_condition
    order_by: $order_by
    offset: $offset
    limit: $limit
  ) {
    ...TokenActivitiesFields
  }
}
    ${le}`,Dc=`
    query getCurrentTokenOwnership($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {
  current_token_ownerships_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    ...CurrentTokenOwnershipFields
  }
}
    ${we}`,ml=`
    query getTokenData($where_condition: current_token_datas_v2_bool_exp, $offset: Int, $limit: Int, $order_by: [current_token_datas_v2_order_by!]) {
  current_token_datas_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    collection_id
    description
    is_fungible_v2
    largest_property_version_v1
    last_transaction_timestamp
    last_transaction_version
    maximum
    supply
    token_data_id
    token_name
    token_properties
    token_standard
    token_uri
    decimals
    current_collection {
      collection_id
      collection_name
      creator_address
      current_supply
      description
      last_transaction_timestamp
      last_transaction_version
      max_supply
      mutable_description
      mutable_uri
      table_handle_v1
      token_standard
      total_minted_v2
      uri
    }
  }
}
    `;async function Wc(J){let{aptosConfig:z}=J,{data:te}=await bi({aptosConfig:z,originMethod:"getLedgerInfo",path:""});return te}async function bl(J){let{aptosConfig:z,limit:te}=J;return(await Jn({aptosConfig:z,query:{query:Qr,variables:{limit:te}},originMethod:"getChainTopUserTransactions"})).user_transactions}async function Jn(J){let{aptosConfig:z,query:te,originMethod:Ae}=J,{data:xe}=await Oo({aptosConfig:z,originMethod:o(Ae,()=>"queryIndexer"),path:"",body:te,overrides:{WITH_CREDENTIALS:!1}});return xe}async function vl(J){let{aptosConfig:z}=J;return(await Jn({aptosConfig:z,query:{query:Uc},originMethod:"getProcessorStatuses"})).processor_status}async function Lc(J){let z=await vl({aptosConfig:J.aptosConfig});return BigInt(z[0].last_success_version)}async function Fc(J){let{aptosConfig:z,processorType:te}=J;return(await Jn({aptosConfig:z,query:{query:Uc,variables:{where_condition:{processor:{_eq:te}}}},originMethod:"getProcessorStatus"})).processor_status[0]}async function jc(J){let{aptosConfig:z,handle:te,data:Ae,options:xe}=J;return(await Eo({aptosConfig:z,originMethod:"getTableItem",path:`tables/${te}/item`,params:{ledger_version:s([xe,"optionalAccess",tt=>tt.ledgerVersion])},body:Ae})).data}async function Cl(J){let{aptosConfig:z,options:te}=J,Ae={query:pl,variables:{where_condition:s([te,"optionalAccess",xe=>xe.where]),offset:s([te,"optionalAccess",xe=>xe.offset]),limit:s([te,"optionalAccess",xe=>xe.limit]),order_by:s([te,"optionalAccess",xe=>xe.orderBy])}};return(await Jn({aptosConfig:z,query:Ae,originMethod:"getTableItemsData"})).table_items}async function Ol(J){let{aptosConfig:z,options:te}=J,Ae={query:gl,variables:{where_condition:s([te,"optionalAccess",xe=>xe.where]),offset:s([te,"optionalAccess",xe=>xe.offset]),limit:s([te,"optionalAccess",xe=>xe.limit]),order_by:s([te,"optionalAccess",xe=>xe.orderBy])}};return(await Jn({aptosConfig:z,query:Ae,originMethod:"getTableItemsMetadata"})).table_metadatas}async function Xa(J){let{aptosConfig:z,accountAddress:te}=J,{data:Ae}=await bi({aptosConfig:z,originMethod:"getInfo",path:`accounts/${Fe.from(te).toString()}`});return Ae}async function Pl(J){let{aptosConfig:z,accountAddress:te,options:Ae}=J;return vo({aptosConfig:z,originMethod:"getModules",path:`accounts/${Fe.from(te).toString()}/modules`,params:{ledger_version:s([Ae,"optionalAccess",xe=>xe.ledgerVersion]),start:s([Ae,"optionalAccess",xe=>xe.offset]),limit:o(s([Ae,"optionalAccess",xe=>xe.limit]),()=>1e3)}})}async function Vc(J){return s([J,"access",z=>z.options,"optionalAccess",z=>z.ledgerVersion])!==void 0?Jc(J):De(async()=>Jc(J),`module-${J.accountAddress}-${J.moduleName}`,1e3*60*5)()}async function Jc(J){let{aptosConfig:z,accountAddress:te,moduleName:Ae,options:xe}=J,{data:tt}=await bi({aptosConfig:z,originMethod:"getModule",path:`accounts/${Fe.from(te).toString()}/module/${Ae}`,params:{ledger_version:s([xe,"optionalAccess",vt=>vt.ledgerVersion])}});return tt}async function Bl(J){let{aptosConfig:z,accountAddress:te,options:Ae}=J;return vo({aptosConfig:z,originMethod:"getTransactions",path:`accounts/${Fe.from(te).toString()}/transactions`,params:{start:s([Ae,"optionalAccess",xe=>xe.offset]),limit:s([Ae,"optionalAccess",xe=>xe.limit])}})}async function Nl(J){let{aptosConfig:z,accountAddress:te,options:Ae}=J;return vo({aptosConfig:z,originMethod:"getResources",path:`accounts/${Fe.from(te).toString()}/resources`,params:{ledger_version:s([Ae,"optionalAccess",xe=>xe.ledgerVersion]),start:s([Ae,"optionalAccess",xe=>xe.offset]),limit:o(s([Ae,"optionalAccess",xe=>xe.limit]),()=>999)}})}async function Yc(J){let{aptosConfig:z,accountAddress:te,resourceType:Ae,options:xe}=J,{data:tt}=await bi({aptosConfig:z,originMethod:"getResource",path:`accounts/${Fe.from(te).toString()}/resource/${Ae}`,params:{ledger_version:s([xe,"optionalAccess",vt=>vt.ledgerVersion])}});return tt.data}async function qu(J){let{aptosConfig:z,authenticationKey:te,options:Ae}=J,xe=await Yc({aptosConfig:z,accountAddress:"0x1",resourceType:"0x1::account::OriginatingAddress",options:Ae}),{address_map:{handle:tt}}=xe,vt=Fe.from(te);try{let ir=await jc({aptosConfig:z,handle:tt,data:{key:vt.toString(),key_type:"address",value_type:"address"},options:Ae});return Fe.from(ir)}catch(ir){if(ir instanceof Ri&&ir.data.error_code==="table_item_not_found")return vt;throw ir}}async function Q(J){let{aptosConfig:z,accountAddress:te}=J,Ae={owner_address:{_eq:Fe.from(te).toStringLong()},amount:{_gt:0}},xe=await Jn({aptosConfig:z,query:{query:tn,variables:{where_condition:Ae}},originMethod:"getAccountTokensCount"});return xe.current_token_ownerships_v2_aggregate.aggregate?xe.current_token_ownerships_v2_aggregate.aggregate.count:0}async function $(J){let{aptosConfig:z,accountAddress:te,options:Ae}=J,xe={owner_address:{_eq:Fe.from(te).toStringLong()},amount:{_gt:0}};s([Ae,"optionalAccess",vt=>vt.tokenStandard])&&(xe.token_standard={_eq:s([Ae,"optionalAccess",vt=>vt.tokenStandard])});let tt={query:St,variables:{where_condition:xe,offset:s([Ae,"optionalAccess",vt=>vt.offset]),limit:s([Ae,"optionalAccess",vt=>vt.limit]),order_by:s([Ae,"optionalAccess",vt=>vt.orderBy])}};return(await Jn({aptosConfig:z,query:tt,originMethod:"getAccountOwnedTokens"})).current_token_ownerships_v2}async function Ee(J){let{aptosConfig:z,accountAddress:te,collectionAddress:Ae,options:xe}=J,tt=Fe.from(te).toStringLong(),vt=Fe.from(Ae).toStringLong(),ir={owner_address:{_eq:tt},current_token_data:{collection_id:{_eq:vt}},amount:{_gt:0}};s([xe,"optionalAccess",Gr=>Gr.tokenStandard])&&(ir.token_standard={_eq:s([xe,"optionalAccess",Gr=>Gr.tokenStandard])});let zr={query:Or,variables:{where_condition:ir,offset:s([xe,"optionalAccess",Gr=>Gr.offset]),limit:s([xe,"optionalAccess",Gr=>Gr.limit]),order_by:s([xe,"optionalAccess",Gr=>Gr.orderBy])}};return(await Jn({aptosConfig:z,query:zr,originMethod:"getAccountOwnedTokensFromCollectionAddress"})).current_token_ownerships_v2}async function je(J){let{aptosConfig:z,accountAddress:te,options:Ae}=J,xe={owner_address:{_eq:Fe.from(te).toStringLong()}};s([Ae,"optionalAccess",vt=>vt.tokenStandard])&&(xe.current_collection={token_standard:{_eq:s([Ae,"optionalAccess",vt=>vt.tokenStandard])}});let tt={query:ot,variables:{where_condition:xe,offset:s([Ae,"optionalAccess",vt=>vt.offset]),limit:s([Ae,"optionalAccess",vt=>vt.limit]),order_by:s([Ae,"optionalAccess",vt=>vt.orderBy])}};return(await Jn({aptosConfig:z,query:tt,originMethod:"getAccountCollectionsWithOwnedTokens"})).current_collection_ownership_v2_view}async function ct(J){let{aptosConfig:z,accountAddress:te}=J,Ae=Fe.from(te).toStringLong(),xe=await Jn({aptosConfig:z,query:{query:pn,variables:{address:Ae}},originMethod:"getAccountTransactionsCount"});return xe.account_transactions_aggregate.aggregate?xe.account_transactions_aggregate.aggregate.count:0}async function Pt(J){let{aptosConfig:z,accountAddress:te,options:Ae}=J,xe=Fe.from(te).toStringLong(),tt={...s([Ae,"optionalAccess",ir=>ir.where]),owner_address:{_eq:xe}},vt={query:qe,variables:{where_condition:tt,offset:s([Ae,"optionalAccess",ir=>ir.offset]),limit:s([Ae,"optionalAccess",ir=>ir.limit]),order_by:s([Ae,"optionalAccess",ir=>ir.orderBy])}};return(await Jn({aptosConfig:z,query:vt,originMethod:"getAccountCoinsData"})).current_fungible_asset_balances}async function rr(J){let{aptosConfig:z,accountAddress:te}=J,Ae=Fe.from(te).toStringLong(),xe=await Jn({aptosConfig:z,query:{query:ke,variables:{address:Ae}},originMethod:"getAccountCoinsCount"});if(!xe.current_fungible_asset_balances_aggregate.aggregate)throw Error("Failed to get the count of account coins");return xe.current_fungible_asset_balances_aggregate.aggregate.count}async function Ir(J){let{aptosConfig:z,accountAddress:te,options:Ae}=J,xe={owner_address:{_eq:Fe.from(te).toStringLong()}},tt={query:ba,variables:{where_condition:xe,offset:s([Ae,"optionalAccess",vt=>vt.offset]),limit:s([Ae,"optionalAccess",vt=>vt.limit]),order_by:s([Ae,"optionalAccess",vt=>vt.orderBy])}};return(await Jn({aptosConfig:z,query:tt,originMethod:"getAccountOwnedObjects"})).current_objects}async function Kr(J){let{aptosConfig:z,privateKey:te}=J,Ae=new Ii(te.publicKey());if(te instanceof He){let xe=$t.fromPublicKey({publicKey:Ae}).derivedAddress();return Tn.fromPrivateKey({privateKey:te,address:xe})}if(te instanceof Er){let xe=$t.fromPublicKey({publicKey:Ae});if(await Yr({authKey:xe,aptosConfig:z})){let vt=xe.derivedAddress();return Tn.fromPrivateKey({privateKey:te,address:vt,legacy:!1})}let tt=$t.fromPublicKey({publicKey:Ae.publicKey});if(await Yr({authKey:tt,aptosConfig:z})){let vt=tt.derivedAddress();return Tn.fromPrivateKey({privateKey:te,address:vt,legacy:!0})}}throw new Error(`Can't derive account from private key ${te}`)}async function Yr(J){let{aptosConfig:z,authKey:te}=J,Ae=await qu({aptosConfig:z,authenticationKey:te.derivedAddress()});try{return await Xa({aptosConfig:z,accountAddress:Ae}),!0}catch(xe){if(xe.status===404)return!1;throw new Error(`Error while looking for an account info ${Ae.toString()}`)}}async function In(J){let{aptosConfig:z,options:te}=J;return vo({aptosConfig:z,originMethod:"getTransactions",path:"transactions",params:{start:s([te,"optionalAccess",Ae=>Ae.offset]),limit:s([te,"optionalAccess",Ae=>Ae.limit])}})}async function ei(J){let{aptosConfig:z}=J;return De(async()=>{let{data:te}=await bi({aptosConfig:z,originMethod:"getGasPriceEstimation",path:"estimate_gas_price"});return te},`gas-price-${z.network}`,1e3*60*5)()}async function yi(J){let{aptosConfig:z,ledgerVersion:te}=J,{data:Ae}=await bi({aptosConfig:z,originMethod:"getTransactionByVersion",path:`transactions/by_version/${te}`});return Ae}async function Zi(J){let{aptosConfig:z,transactionHash:te}=J,{data:Ae}=await bi({aptosConfig:z,path:`transactions/by_hash/${te}`,originMethod:"getTransactionByHash"});return Ae}async function Jo(J){let{aptosConfig:z,transactionHash:te}=J;try{return(await Zi({aptosConfig:z,transactionHash:te})).type==="pending_transaction"}catch(Ae){if(s([Ae,"optionalAccess",xe=>xe.status])===404)return!0;throw Ae}}async function to(J){let{aptosConfig:z,transactionHash:te}=J,{data:Ae}=await bi({aptosConfig:z,path:`transactions/wait_by_hash/${te}`,originMethod:"longWaitForTransaction"});return Ae}async function Yo(J){let{aptosConfig:z,transactionHash:te,options:Ae}=J,xe=o(s([Ae,"optionalAccess",Kn=>Kn.timeoutSecs]),()=>20),tt=o(s([Ae,"optionalAccess",Kn=>Kn.checkSuccess]),()=>!0),vt=!0,ir=0,zr,Gr,bn=200,mi=1.5;function $n(Kn){if(!(Kn instanceof Ri)||(Gr=Kn,Kn.status!==404&&Kn.status>=400&&Kn.status<500))throw Kn}try{zr=await Zi({aptosConfig:z,transactionHash:te}),vt=zr.type==="pending_transaction"}catch(Kn){$n(Kn)}if(vt){let Kn=Date.now();try{zr=await to({aptosConfig:z,transactionHash:te}),vt=zr.type==="pending_transaction"}catch(wa){$n(wa)}ir=(Date.now()-Kn)/1e3}for(;vt&&!(ir>=xe);){try{if(zr=await Zi({aptosConfig:z,transactionHash:te}),vt=zr.type==="pending_transaction",!vt)break}catch(Kn){$n(Kn)}await n.b.call(void 0,bn),ir+=bn/1e3,bn*=mi}if(zr===void 0)throw Gr||new Rl(`Fetching transaction ${te} failed and timed out after ${xe} seconds`,zr);if(zr.type==="pending_transaction")throw new Rl(`Transaction ${te} timed out in pending state after ${xe} seconds`,zr);if(!tt)return zr;if(!zr.success)throw new E2(`Transaction ${te} failed with an error: ${zr.vm_status}`,zr);return zr}async function Ju(J){let{aptosConfig:z,processorType:te}=J,Ae=BigInt(J.minimumLedgerVersion),xe=3e3,tt=new Date().getTime(),vt=BigInt(-1);for(;vt<Ae;){if(new Date().getTime()-tt>xe)throw new Error("waitForLastSuccessIndexerVersionSync timeout");if(te===void 0?vt=await Lc({aptosConfig:z}):vt=(await Fc({aptosConfig:z,processorType:te})).last_success_version,vt>=Ae)break;await n.b.call(void 0,200)}}var Rl=class extends Error{constructor(J,z){super(J),this.lastSubmittedTransaction=z}},E2=class extends Error{constructor(J,z){super(J),this.transaction=z}};async function T2(J){let{aptosConfig:z,ledgerVersion:te,options:Ae}=J,{data:xe}=await bi({aptosConfig:z,originMethod:"getBlockByVersion",path:`blocks/by_version/${te}`,params:{with_transactions:s([Ae,"optionalAccess",tt=>tt.withTransactions])}});return dp({block:xe,...J})}async function C2(J){let{aptosConfig:z,blockHeight:te,options:Ae}=J,{data:xe}=await bi({aptosConfig:z,originMethod:"getBlockByHeight",path:`blocks/by_height/${te}`,params:{with_transactions:s([Ae,"optionalAccess",tt=>tt.withTransactions])}});return dp({block:xe,...J})}async function dp(J){let{aptosConfig:z,block:te,options:Ae}=J;if(s([Ae,"optionalAccess",xe=>xe.withTransactions])){te.transactions=o(te.transactions,()=>[]);let xe=te.transactions[te.transactions.length-1],tt=BigInt(te.first_version),vt=BigInt(te.last_version),ir=s([xe,"optionalAccess",$n=>$n.version]),zr;if(ir===void 0?zr=tt-1n:zr=BigInt(ir),zr===vt)return te;let Gr=[],bn=100n;for(let $n=zr+1n;$n<vt;$n+=BigInt(100))Gr.push(In({aptosConfig:z,options:{offset:$n,limit:Math.min(Number(bn),Number(vt-$n+1n))}}));let mi=await Promise.all(Gr);for(let $n of mi)te.transactions.push(...$n)}return te}async function ri(J){J.minimumLedgerVersion!==void 0&&await Ju({aptosConfig:J.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:J.processorType})}function hp(J){return typeof J=="boolean"}function yu(J){return typeof J=="string"}function fp(J){return typeof J=="number"}function Dl(J){if(fp(J))return J;if(yu(J)&&J!=="")return Number.parseInt(J,10)}function _l(J){return typeof J=="number"||typeof J=="bigint"||typeof J=="string"}function pp(J){return J==null}function gp(J){return Cd(J)||Id(J)||Pd(J)||_d(J)||Wd(J)||Ld(J)||Fd(J)||zl(J)||Sd(J)||Op(J)||J instanceof it||J instanceof Gt}function Cd(J){return J instanceof Ne}function zl(J){return J instanceof Fe}function Sd(J){return J instanceof et}function Op(J){return J instanceof L}function Id(J){return J instanceof Xe}function Pd(J){return J instanceof Je}function _d(J){return J instanceof ft}function Wd(J){return J instanceof Kt}function Ld(J){return J instanceof wt}function Fd(J){return J instanceof Ie}function kp(J){return"bytecode"in J}function ji(J,z){throw new Error(`Type mismatch for argument ${z}, expected '${J}'`)}function Pp(J){let z=J.params.findIndex(te=>te!=="signer"&&te!=="&signer");return z<0?J.params.length:z}function Xc(J){let z=J.split("::");if(z.length!==3)throw new Error(`Invalid function ${J}`);let te=z[0],Ae=z[1],xe=z[2];return{moduleAddress:te,moduleName:Ae,functionName:xe}}function Mp(J){return!!J.match(/^[_a-zA-Z0-9]+$/)}function Np(J){return!!J.match(/\s/)}function S2(J){return!!J.match(/^T[0-9]+$/)}function I2(J){return!!J.match(/^&.+$/)}function O2(J){switch(J){case"signer":case"address":case"bool":case"u8":case"u16":case"u32":case"u64":case"u128":case"u256":return!0;default:return!1}}function k2(J,z){let te=z;for(;te<J.length;te+=1){let Ae=J[te];if(!Np(Ae))break}return te}var Rp=(J=>(J.InvalidTypeTag="unknown type",J.UnexpectedGenericType="unexpected generic type",J.UnexpectedTypeArgumentClose="unexpected '>'",J.UnexpectedWhitespaceCharacter="unexpected whitespace character",J.UnexpectedComma="unexpected ','",J.TypeArgumentCountMismatch="type argument count doesn't match expected amount",J.MissingTypeArgumentClose="no matching '>' for '<'",J.MissingTypeArgument="no type argument before ','",J.UnexpectedPrimitiveTypeArguments="primitive types not expected to have type arguments",J.UnexpectedVectorTypeArgumentCount="vector type expected to have exactly one type argument",J.UnexpectedStructFormat="unexpected struct format, must be of the form 0xaddress::module_name::struct_name",J.InvalidModuleNameCharacter="module name must only contain alphanumeric or '_' characters",J.InvalidStructNameCharacter="struct name must only contain alphanumeric or '_' characters",J.InvalidAddress="struct address must be valid",J))(Rp||{}),yo=e.TypeTagParserError=class extends Error{constructor(J,z){super(`Failed to parse typeTag '${J}', ${z}`)}};function ec(J,z){let te=o(s([z,"optionalAccess",Gr=>Gr.allowGenerics]),()=>!1),Ae=[],xe=[],tt=[],vt=0,ir="",zr=1;for(;vt<J.length;){let Gr=J[vt];if(Gr==="<")Ae.push({savedExpectedTypes:zr,savedStr:ir,savedTypes:tt}),ir="",tt=[],zr=1;else if(Gr===">"){if(ir!==""){let wa=el(ir,xe,te);tt.push(wa)}let bn=Ae.pop();if(bn===void 0)throw new yo(J,"unexpected '>'");if(zr!==tt.length)throw new yo(J,"type argument count doesn't match expected amount");let{savedStr:mi,savedTypes:$n,savedExpectedTypes:Kn}=bn;xe=tt,tt=$n,ir=mi,zr=Kn}else if(Gr===","){if(Ae.length===0)throw new yo(J,"unexpected ','");if(ir.length===0)throw new yo(J,"no type argument before ','");let bn=el(ir,xe,te);xe=[],tt.push(bn),ir="",zr+=1}else if(Np(Gr)){let bn=!1;if(ir.length!==0){let $n=el(ir,xe,te);xe=[],tt.push($n),ir="",bn=!0}vt=k2(J,vt);let mi=J[vt];if(vt<J.length&&bn&&mi!==","&&mi!==">")throw new yo(J,"unexpected whitespace character");continue}else ir+=Gr;vt+=1}if(Ae.length>0)throw new yo(J,"no matching '>' for '<'");switch(tt.length){case 0:return el(ir,xe,te);case 1:if(ir==="")return tt[0];throw new yo(J,"unexpected ','");default:throw new yo(J,"unexpected whitespace character")}}function el(J,z,te){let Ae=J.trim(),xe=Ae.toLowerCase();if(O2(xe)&&z.length>0)throw new yo(J,"primitive types not expected to have type arguments");switch(Ae.toLowerCase()){case"signer":return new li;case"bool":return new xi;case"address":return new gi;case"u8":return new ao;case"u16":return new jn;case"u32":return new Xn;case"u64":return new _n;case"u128":return new Fo;case"u256":return new zo;case"vector":if(z.length!==1)throw new yo(J,"vector type expected to have exactly one type argument");return new Ei(z[0]);default:if(I2(Ae)){let ir=Ae.substring(1);return new Ms(el(ir,z,te))}if(S2(Ae)){if(te)return new di(Number(Ae.split("T")[1]));throw new yo(J,"unexpected generic type")}if(!Ae.match(/:/))throw new yo(J,"unknown type");let tt=Ae.split("::");if(tt.length!==3)throw new yo(J,"unexpected struct format, must be of the form 0xaddress::module_name::struct_name");let vt;try{vt=Fe.fromString(tt[0])}catch{throw new yo(J,"struct address must be valid")}if(!Mp(tt[1]))throw new yo(J,"module name must only contain alphanumeric or '_' characters");if(!Mp(tt[2]))throw new yo(J,"struct name must only contain alphanumeric or '_' characters");return new Sn(new po(vt,new ki(tt[1]),new ki(tt[2]),z))}}var P2=new TextEncoder;function Kl(J){return o(s([J,"optionalAccess",z=>z.map,"call",z=>z(te=>yu(te)?ec(te):te)]),()=>[])}async function zd(J,z,te,Ae){let xe=await Vc({aptosConfig:Ae,accountAddress:J,moduleName:z});if(xe.abi)return xe.abi.exposed_functions.find(tt=>tt.name===te)}async function Up(J,z,te,Ae){let xe=await zd(J,z,te,Ae);if(!xe)throw new Error(`Could not find entry function ABI for '${J}::${z}::${te}'`);if(!xe.is_entry)throw new Error(`'${J}::${z}::${te}' is not an entry function`);let tt=Pp(xe),vt=[];for(let ir=tt;ir<xe.params.length;ir+=1)vt.push(ec(xe.params[ir],{allowGenerics:!0}));return{signers:tt,typeParameters:xe.generic_type_params,parameters:vt}}async function Dp(J,z,te,Ae){let xe=await zd(J,z,te,Ae);if(!xe)throw new Error(`Could not find view function ABI for '${J}::${z}::${te}'`);if(!xe.is_view)throw new Error(`'${J}::${z}::${te}' is not an view function`);let tt=[];for(let ir=0;ir<xe.params.length;ir+=1)tt.push(ec(xe.params[ir],{allowGenerics:!0}));let vt=[];for(let ir=0;ir<xe.return.length;ir+=1)vt.push(ec(xe.return[ir],{allowGenerics:!0}));return{typeParameters:xe.generic_type_params,parameters:tt,returnTypes:vt}}function jd(J,z,te,Ae,xe){if(Ae>=z.parameters.length)throw new Error(`Too many arguments for '${J}', expected ${z.parameters.length}`);let tt=z.parameters[Ae];return ic(te,tt,Ae,xe)}function ic(J,z,te,Ae){return gp(J)?(Kd(z,J,te),J):M2(J,z,te,Ae)}function M2(J,z,te,Ae){if(z.isBool()){if(hp(J))return new Ne(J);if(yu(J)){if(J==="true")return new Ne(!0);if(J==="false")return new Ne(!1)}ji("boolean",te)}if(z.isAddress()){if(yu(J))return Fe.fromString(J);ji("string | AccountAddress",te)}if(z.isU8()){let xe=Dl(J);if(xe!==void 0)return new Xe(xe);ji("number | string",te)}if(z.isU16()){let xe=Dl(J);if(xe!==void 0)return new Je(xe);ji("number | string",te)}if(z.isU32()){let xe=Dl(J);if(xe!==void 0)return new ft(xe);ji("number | string",te)}if(z.isU64()){if(_l(J))return new Kt(BigInt(J));ji("bigint | number | string",te)}if(z.isU128()){if(_l(J))return new wt(BigInt(J));ji("bigint | number | string",te)}if(z.isU256()){if(_l(J))return new Ie(BigInt(J));ji("bigint | number | string",te)}if(z.isGeneric()){let xe=z.value;if(xe<0||xe>=Ae.length)throw new Error(`Generic argument ${z.toString()} is invalid for argument ${te}`);return ic(J,Ae[xe],te,Ae)}if(z.isVector()){if(z.value.isU8()){if(yu(J))return it.U8(P2.encode(J));if(J instanceof Uint8Array)return it.U8(J);if(J instanceof ArrayBuffer)return it.U8(new Uint8Array(J))}if(Array.isArray(J))return new it(J.map(xe=>ic(xe,z.value,te,Ae)));throw new Error(`Type mismatch for argument ${te}, type '${z.toString()}'`)}if(z.isStruct()){if(z.isString()){if(yu(J))return new et(J);ji("string",te)}if(z.isObject()){if(yu(J))return Fe.fromString(J);ji("string | AccountAddress",te)}if(z.isOption()){if(pp(J)){let xe=z.value.typeArgs[0];return xe instanceof xi?new Gt(null):xe instanceof gi?new Gt(null):xe instanceof ao?new Gt(null):xe instanceof jn?new Gt(null):xe instanceof Xn?new Gt(null):xe instanceof _n?new Gt(null):xe instanceof Fo?new Gt(null):xe instanceof zo?new Gt(null):new Gt(null)}return new Gt(ic(J,z.value.typeArgs[0],te,Ae))}throw new Error(`Unsupported struct input type for argument ${te}, type '${z.toString()}'`)}throw new Error(`Type mismatch for argument ${te}, type '${z.toString()}'`)}function Kd(J,z,te){if(J.isBool()){if(Cd(z))return;ji("Bool",te)}if(J.isAddress()){if(zl(z))return;ji("AccountAddress",te)}if(J.isU8()){if(Id(z))return;ji("U8",te)}if(J.isU16()){if(Pd(z))return;ji("U16",te)}if(J.isU32()){if(_d(z))return;ji("U32",te)}if(J.isU64()){if(Wd(z))return;ji("U64",te)}if(J.isU128()){if(Ld(z))return;ji("U128",te)}if(J.isU256()){if(Fd(z))return;ji("U256",te)}if(J.isVector()){if(z instanceof it){z.values.length>0&&Kd(J.value,z.values[0],te);return}ji("MoveVector",te)}if(J instanceof Sn){if(J.isString()){if(Sd(z))return;ji("MoveString",te)}if(J.isObject()){if(zl(z))return;ji("AccountAddress",te)}if(J.isOption()){if(z instanceof Gt){z.value!==void 0&&Kd(J.value.typeArgs[0],z.value,te);return}ji("MoveOption",te)}}throw new Error(`Type mismatch for argument ${te}, expected '${J.toString()}'`)}async function Hl(J){if(kp(J))return B2(J);let{moduleAddress:z,moduleName:te,functionName:Ae}=Xc(J.function),xe=await Kp({key:"entry-function",moduleAddress:z,moduleName:te,functionName:Ae,aptosConfig:J.aptosConfig,abi:J.abi,fetch:Up});return _p({...J,abi:xe})}function _p(J){let z=J.abi,{moduleAddress:te,moduleName:Ae,functionName:xe}=Xc(J.function),tt=Kl(J.typeArguments);if(tt.length!==z.typeParameters.length)throw new Error(`Type argument count mismatch, expected ${z.typeParameters.length}, received ${tt.length}`);let vt=J.functionArguments.map((zr,Gr)=>jd(J.function,z,zr,Gr,tt));if(vt.length!==z.parameters.length)throw new Error(`Too few arguments for '${te}::${Ae}::${xe}', expected ${z.parameters.length} but got ${vt.length}`);let ir=xs.build(`${te}::${Ae}`,xe,tt,vt);if("multisigAddress"in J){let zr=Fe.from(J.multisigAddress);return new qs(new Bo(zr,new Ba(ir)))}return new Bs(ir)}async function Wp(J){let{moduleAddress:z,moduleName:te,functionName:Ae}=Xc(J.function),xe=await Kp({key:"view-function",moduleAddress:z,moduleName:te,functionName:Ae,aptosConfig:J.aptosConfig,abi:J.abi,fetch:Dp});return Lp({abi:xe,...J})}function Lp(J){let z=J.abi,{moduleAddress:te,moduleName:Ae,functionName:xe}=Xc(J.function),tt=Kl(J.typeArguments);if(tt.length!==z.typeParameters.length)throw new Error(`Type argument count mismatch, expected ${z.typeParameters.length}, received ${tt.length}`);let vt=o(s([J,"optionalAccess",ir=>ir.functionArguments,"optionalAccess",ir=>ir.map,"call",ir=>ir((zr,Gr)=>jd(J.function,z,zr,Gr,tt))]),()=>[]);if(vt.length!==z.parameters.length)throw new Error(`Too few arguments for '${te}::${Ae}::${xe}', expected ${z.parameters.length} but got ${vt.length}`);return xs.build(`${te}::${Ae}`,xe,tt,vt)}function B2(J){return new ws(new vs(O.fromHexInput(J.bytecode).toUint8Array(),Kl(J.typeArguments),J.functionArguments))}async function Fp(J){let{aptosConfig:z,sender:te,payload:Ae,options:xe,feePayerAddress:tt}=J,vt=async()=>Do[z.network]?{chainId:Do[z.network]}:{chainId:(await Wc({aptosConfig:z})).chain_id},ir=async()=>s([xe,"optionalAccess",Ts=>Ts.gasUnitPrice])?{gasEstimate:xe.gasUnitPrice}:{gasEstimate:(await ei({aptosConfig:z})).gas_estimate},zr=async()=>{let Ts=async()=>s([xe,"optionalAccess",ch=>ch.accountSequenceNumber])!==void 0?xe.accountSequenceNumber:(await Xa({aptosConfig:z,accountAddress:te})).sequence_number;if(tt&&Fe.from(tt).equals(Fe.ZERO))try{return await Ts()}catch{return 0}else return Ts()},[{chainId:Gr},{gasEstimate:bn},mi]=await Promise.all([vt(),ir(),zr()]),{maxGasAmount:$n,gasUnitPrice:Kn,expireTimestamp:wa}={maxGasAmount:s([xe,"optionalAccess",Ts=>Ts.maxGasAmount])?BigInt(xe.maxGasAmount):BigInt(2e5),gasUnitPrice:o(s([xe,"optionalAccess",Ts=>Ts.gasUnitPrice]),()=>BigInt(bn)),expireTimestamp:o(s([xe,"optionalAccess",Ts=>Ts.expireTimestamp]),()=>BigInt(Math.floor(Date.now()/1e3)+20))};return new xo(Fe.from(te),BigInt(mi),Ae,BigInt($n),BigInt(Kn),BigInt(wa),new Hs(Gr))}async function Vd(J){let{aptosConfig:z,sender:te,payload:Ae,options:xe,feePayerAddress:tt}=J,vt=await Fp({aptosConfig:z,sender:te,payload:Ae,options:xe,feePayerAddress:tt});if("secondarySignerAddresses"in J){let ir=o(s([J,"access",zr=>zr.secondarySignerAddresses,"optionalAccess",zr=>zr.map,"call",zr=>zr(Gr=>Fe.from(Gr))]),()=>[]);return new Ft(vt,ir,J.feePayerAddress?Fe.from(J.feePayerAddress):void 0)}return new We(vt,J.feePayerAddress?Fe.from(J.feePayerAddress):void 0)}function jp(J){let{signerPublicKey:z,transaction:te,secondarySignersPublicKeys:Ae,feePayerPublicKey:xe}=J,tt=tl(z);if(te.feePayerAddress){let ir=new Xs(te.rawTransaction,o(te.secondarySignerAddresses,()=>[]),te.feePayerAddress),zr=[];if(Ae&&(zr=Ae.map(mi=>tl(mi))),!xe)throw new Error("Must provide a feePayerPublicKey argument to generate a signed fee payer transaction for simulation");let Gr=tl(xe),bn=new Re(tt,o(te.secondarySignerAddresses,()=>[]),zr,{address:te.feePayerAddress,authenticator:Gr});return new pe(ir.raw_txn,bn).bcsToBytes()}if(te.secondarySignerAddresses){let ir=new Us(te.rawTransaction,te.secondarySignerAddresses),zr=[];if(!Ae)throw new Error("Must provide a secondarySignersPublicKeys argument to generate a signed multi agent transaction for simulation");zr=Ae.map(bn=>tl(bn));let Gr=new Vo(tt,te.secondarySignerAddresses,zr);return new pe(ir.raw_txn,Gr).bcsToBytes()}let vt;if(tt instanceof Ji)vt=new Ws(tt.public_key,tt.signature);else if(tt instanceof Bi||tt instanceof Yi)vt=new Se(tt);else throw new Error("Invalid public key");return new pe(te.rawTransaction,vt).bcsToBytes()}function tl(J){let z=Xr.isInstance(J)||oo.isInstance(J)||ut.isInstance(J)?new Ii(J):J,te=new mt(new Uint8Array(64));if(hr.isInstance(z))return new Ji(z,te);if(Ii.isInstance(z))return Xr.isInstance(z.publicKey)?new Bi(z,new Ki(ci.getSimulationSignature())):new Bi(z,new Ki(te));if(ko.isInstance(z))return new Yi(z,new qi({signatures:z.publicKeys.map(()=>new Ki(te)),bitmap:z.createBitmap({bits:Array(z.publicKeys.length).fill(0).map((Ae,xe)=>xe)})}));throw new Error("Unsupported PublicKey used for simulations")}function Jd(J){let{transaction:z,feePayerAuthenticator:te,additionalSignersAuthenticators:Ae}=J,xe=Io(Oi,J.senderAuthenticator),tt;if(z.feePayerAddress){if(!te)throw new Error("Must provide a feePayerAuthenticator argument to generate a signed fee payer transaction");tt=new Re(xe,o(z.secondarySignerAddresses,()=>[]),o(Ae,()=>[]),{address:z.feePayerAddress,authenticator:te})}else if(z.secondarySignerAddresses){if(!Ae)throw new Error("Must provide a additionalSignersAuthenticators argument to generate a signed multi agent transaction");tt=new Vo(xe,z.secondarySignerAddresses,Ae)}else xe instanceof Ji?tt=new Ws(xe.public_key,xe.signature):tt=new Se(xe);return new pe(z.rawTransaction,tt).bcsToBytes()}function Yd(J){let z=Rt.sha3_256.create();for(let te of J)z.update(te);return z.digest()}var x2=Yd(["APTOS::Transaction"]);function N2(J){let z=Jd(J);return new O(Yd([x2,new Uint8Array([0]),z])).toString()}async function Kp({key:J,moduleAddress:z,moduleName:te,functionName:Ae,aptosConfig:xe,abi:tt,fetch:vt}){return tt!==void 0?tt:De(async()=>vt(z,te,Ae,xe),`${J}-${xe.network}-${z}-${te}-${Ae}`,1e3*60*5)()}async function Qa(J){let{aptosConfig:z,payload:te,options:Ae}=J,xe=await Wp({...te,aptosConfig:z}),tt=new B;xe.serialize(tt);let vt=tt.toUint8Array(),{data:ir}=await Eo({aptosConfig:z,path:"view",originMethod:"view",contentType:"application/x.aptos.view_function+bcs",params:{ledger_version:s([Ae,"optionalAccess",zr=>zr.ledgerVersion])},body:vt});return ir}async function R2(J){let{aptosConfig:z,payload:te,options:Ae}=J,{data:xe}=await Eo({aptosConfig:z,originMethod:"viewJson",path:"view",params:{ledger_version:s([Ae,"optionalAccess",tt=>tt.ledgerVersion])},body:{function:te.function,type_arguments:o(te.typeArguments,()=>[]),arguments:o(te.functionArguments,()=>[])}});return xe}var Hp=class{constructor(J){this.config=J}async getAccountInfo(J){return Xa({aptosConfig:this.config,...J})}async getAccountModules(J){return Pl({aptosConfig:this.config,...J})}async getAccountModule(J){return Vc({aptosConfig:this.config,...J})}async getAccountTransactions(J){return Bl({aptosConfig:this.config,...J})}async getAccountResources(J){return Nl({aptosConfig:this.config,...J})}async getAccountResource(J){return Yc({aptosConfig:this.config,...J})}async lookupOriginalAccountAddress(J){return qu({aptosConfig:this.config,...J})}async getAccountTokensCount(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"account_transactions_processor"}),Q({aptosConfig:this.config,...J})}async getAccountOwnedTokens(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"token_v2_processor"}),$({aptosConfig:this.config,...J})}async getAccountOwnedTokensFromCollectionAddress(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"token_v2_processor"}),Ee({aptosConfig:this.config,...J})}async getAccountCollectionsWithOwnedTokens(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"token_v2_processor"}),je({aptosConfig:this.config,...J})}async getAccountTransactionsCount(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"account_transactions_processor"}),ct({aptosConfig:this.config,...J})}async getAccountCoinsData(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"fungible_asset_processor"}),Pt({aptosConfig:this.config,...J})}async getAccountCoinsCount(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"fungible_asset_processor"}),rr({aptosConfig:this.config,...J})}async getAccountAPTAmount(J){return this.getAccountCoinAmount({coinType:Cn,faMetadataAddress:Gn,...J})}async getAccountCoinAmount(J){let{accountAddress:z,coinType:te,faMetadataAddress:Ae}=J,xe=te;te===void 0&&Ae!==void 0&&(xe=await De(async()=>{try{let ir=(await Qa({aptosConfig:this.config,payload:{function:"0x1::coin::paired_coin",functionArguments:[Ae]}})).at(0);if(ir.vec.length>0&&n.i.call(void 0,ir.vec[0]))return n.h.call(void 0,ir.vec[0])}catch{}},`coin-mapping-${Ae.toString()}`,1e3*60*5)());let tt;if(te!==void 0&&Ae!==void 0)tt=Fe.from(Ae).toStringLong();else if(te!==void 0&&Ae===void 0)te===Cn?tt=Fe.A.toStringLong():tt=Gs(Fe.A,te).toStringLong();else if(te===void 0&&Ae!==void 0){let ir=Fe.from(Ae);tt=ir.toStringLong(),ir===Fe.A&&(xe=Cn)}else throw new Error("Either coinType, faMetadataAddress, or both must be provided");if(xe!==void 0){let[ir]=await Qa({aptosConfig:this.config,payload:{function:"0x1::coin::balance",typeArguments:[xe],functionArguments:[z]}});return parseInt(ir,10)}let[vt]=await Qa({aptosConfig:this.config,payload:{function:"0x1::primary_fungible_store::balance",typeArguments:["0x1::object::ObjectCore"],functionArguments:[z,tt]}});return parseInt(vt,10)}async getAccountOwnedObjects(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"default_processor"}),Ir({aptosConfig:this.config,...J})}async deriveAccountFromPrivateKey(J){return Kr({aptosConfig:this.config,...J})}},_2=fie(),L2=r(_2),Gp=class{constructor(J){this.network=o(s([J,"optionalAccess",z=>z.network]),()=>"devnet"),this.fullnode=s([J,"optionalAccess",z=>z.fullnode]),this.faucet=s([J,"optionalAccess",z=>z.faucet]),this.pepper=s([J,"optionalAccess",z=>z.pepper]),this.prover=s([J,"optionalAccess",z=>z.prover]),this.indexer=s([J,"optionalAccess",z=>z.indexer]),this.client=o(s([J,"optionalAccess",z=>z.client]),()=>({provider:L2.default})),this.clientConfig=o(s([J,"optionalAccess",z=>z.clientConfig]),()=>({})),this.fullnodeConfig=o(s([J,"optionalAccess",z=>z.fullnodeConfig]),()=>({})),this.indexerConfig=o(s([J,"optionalAccess",z=>z.indexerConfig]),()=>({})),this.faucetConfig=o(s([J,"optionalAccess",z=>z.faucetConfig]),()=>({}))}getRequestUrl(J){switch(J){case"Fullnode":if(this.fullnode!==void 0)return this.fullnode;if(this.network==="custom")throw new Error("Please provide a custom full node url");return co[this.network];case"Faucet":if(this.faucet!==void 0)return this.faucet;if(this.network==="custom")throw new Error("Please provide a custom faucet url");return Ps[this.network];case"Indexer":if(this.indexer!==void 0)return this.indexer;if(this.network==="custom")throw new Error("Please provide a custom indexer url");return Ro[this.network];case"Pepper":if(this.pepper!==void 0)return this.pepper;if(this.network==="custom")throw new Error("Please provide a custom pepper service url");return Uo[this.network];case"Prover":if(this.prover!==void 0)return this.prover;if(this.network==="custom")throw new Error("Please provide a custom prover service url");return So[this.network];default:throw Error(`apiType ${J} is not supported`)}}isPepperServiceRequest(J){return Uo[this.network]===J}isProverServiceRequest(J){return So[this.network]===J}};async function Ti(J){let z=await lw(J);return hw(J,z)}async function lw(J){let{aptosConfig:z,data:te}=J,Ae,xe;return"bytecode"in te?xe=await Hl(te):"multisigAddress"in te?(Ae={aptosConfig:z,multisigAddress:te.multisigAddress,function:te.function,functionArguments:te.functionArguments,typeArguments:te.typeArguments,abi:te.abi},xe=await Hl(Ae)):(Ae={aptosConfig:z,function:te.function,functionArguments:te.functionArguments,typeArguments:te.typeArguments,abi:te.abi},xe=await Hl(Ae)),xe}async function hw(J,z){let{aptosConfig:te,sender:Ae,options:xe}=J,tt;if(fw(J)&&(tt=Fe.ZERO.toString()),Cw(J)){let{secondarySignerAddresses:vt}=J;return Vd({aptosConfig:te,sender:Ae,payload:z,options:xe,secondarySignerAddresses:vt,feePayerAddress:tt})}return Vd({aptosConfig:te,sender:Ae,payload:z,options:xe,feePayerAddress:tt})}function fw(J){return J.withFeePayer===!0}function Cw(J){return"secondarySignerAddresses"in J}function Iw(J){let{transaction:z}=J;return Xt(z)}function Xd(J){let{signer:z,transaction:te}=J;return z.signTransactionWithAuthenticator(te)}function Qd(J){let{signer:z,transaction:te}=J;if(!te.feePayerAddress)throw new Error(`Transaction ${te} is not a Fee Payer transaction`);return te.feePayerAddress=z.accountAddress,Xd({signer:z,transaction:te})}async function Vp(J){let{aptosConfig:z,transaction:te,signerPublicKey:Ae,secondarySignersPublicKeys:xe,feePayerPublicKey:tt,options:vt}=J,ir=jp({transaction:te,signerPublicKey:Ae,secondarySignersPublicKeys:xe,feePayerPublicKey:tt,options:vt}),{data:zr}=await Eo({aptosConfig:z,body:ir,path:"transactions/simulate",params:{estimate_gas_unit_price:o(s([J,"access",Gr=>Gr.options,"optionalAccess",Gr=>Gr.estimateGasUnitPrice]),()=>!1),estimate_max_gas_amount:o(s([J,"access",Gr=>Gr.options,"optionalAccess",Gr=>Gr.estimateMaxGasAmount]),()=>!1),estimate_prioritized_gas_unit_price:o(s([J,"access",Gr=>Gr.options,"optionalAccess",Gr=>Gr.estimatePrioritizedGasUnitPrice]),()=>!1)},originMethod:"simulateTransaction",contentType:"application/x.aptos.signed_transaction+bcs"});return zr}async function Gl(J){let{aptosConfig:z}=J,te=Jd({...J}),{data:Ae}=await Eo({aptosConfig:z,body:te,path:"transactions",originMethod:"submitTransaction",contentType:"application/x.aptos.signed_transaction+bcs"});return Ae}async function Zd(J){let{aptosConfig:z,signer:te,feePayer:Ae,transaction:xe}=J;(te instanceof Ls||te instanceof Ka)&&await te.waitForProofFetch(),(Ae instanceof Ls||Ae instanceof Ka)&&await Ae.waitForProofFetch();let tt=J.feePayerAuthenticator||Ae&&Qd({signer:Ae,transaction:xe}),vt=Xd({signer:te,transaction:xe});return Gl({aptosConfig:z,transaction:xe,senderAuthenticator:vt,feePayerAuthenticator:tt})}async function kw(J){let{aptosConfig:z,senderAuthenticator:te,feePayer:Ae,transaction:xe}=J;(Ae instanceof Ls||Ae instanceof Ka)&&await Ae.waitForProofFetch();let tt=Qd({signer:Ae,transaction:xe});return Gl({aptosConfig:z,transaction:xe,senderAuthenticator:te,feePayerAuthenticator:tt})}var Mw={typeParameters:[],parameters:[Ei.u8(),new Ei(Ei.u8())]};async function Nw(J){let{aptosConfig:z,account:te,metadataBytes:Ae,moduleBytecode:xe,options:tt}=J,vt=xe.map(ir=>it.U8(ir));return Ti({aptosConfig:z,sender:Fe.from(te),data:{function:"0x1::code::publish_package_txn",functionArguments:[it.U8(Ae),new it(vt)],abi:Mw},options:tt})}var Rw={typeParameters:[],parameters:[new ao,Ei.u8(),new ao,Ei.u8(),Ei.u8(),Ei.u8()]};async function Uw(J){let{aptosConfig:z,fromAccount:te,toNewPrivateKey:Ae}=J,xe=await Xa({aptosConfig:z,accountAddress:te.accountAddress}),tt=Tn.fromPrivateKey({privateKey:Ae,legacy:!0}),vt=new Qs({sequenceNumber:BigInt(xe.sequence_number),originator:te.accountAddress,currentAuthKey:Fe.from(xe.authentication_key),newPublicKey:tt.publicKey}).bcsToBytes(),ir=te.sign(vt),zr=tt.sign(vt),Gr=await Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x1::account::rotate_authentication_key",functionArguments:[new Xe(te.signingScheme),it.U8(te.publicKey.toUint8Array()),new Xe(tt.signingScheme),it.U8(tt.publicKey.toUint8Array()),it.U8(ir.toUint8Array()),it.U8(zr.toUint8Array())],abi:Rw}});return Zd({aptosConfig:z,signer:te,transaction:Gr})}var Dw={typeParameters:[{constraints:[]}],parameters:[new gi,new _n]};async function Ww(J){let{aptosConfig:z,sender:te,recipient:Ae,amount:xe,coinType:tt,options:vt}=J;return Ti({aptosConfig:z,sender:te,data:{function:"0x1::aptos_account::transfer_coins",typeArguments:[o(tt,()=>Cn)],functionArguments:[Ae,xe],abi:Dw},options:vt})}var qp=class{constructor(J){this.config=J}async transferCoinTransaction(J){return Ww({aptosConfig:this.config,...J})}},mu={BOOLEAN:"bool",U8:"u8",U16:"u16",U32:"u32",U64:"u64",U128:"u128",U256:"u256",ADDRESS:"address",STRING:"0x1::string::String",ARRAY:"vector<u8>"},zs="0x4::token::Token";async function Lw(J){let{aptosConfig:z,digitalAssetAddress:te}=J,Ae={token_data_id:{_eq:Fe.from(te).toStringLong()}};return(await Jn({aptosConfig:z,query:{query:ml,variables:{where_condition:Ae}},originMethod:"getDigitalAssetData"})).current_token_datas_v2[0]}async function Fw(J){let{aptosConfig:z,digitalAssetAddress:te}=J,Ae={token_data_id:{_eq:Fe.from(te).toStringLong()},amount:{_gt:0}};return(await Jn({aptosConfig:z,query:{query:Dc,variables:{where_condition:Ae}},originMethod:"getCurrentDigitalAssetOwnership"})).current_token_ownerships_v2[0]}async function zw(J){let{aptosConfig:z,ownerAddress:te,options:Ae}=J,xe={owner_address:{_eq:Fe.from(te).toStringLong()},amount:{_gt:0}},tt={query:Dc,variables:{where_condition:xe,offset:s([Ae,"optionalAccess",vt=>vt.offset]),limit:s([Ae,"optionalAccess",vt=>vt.limit]),order_by:s([Ae,"optionalAccess",vt=>vt.orderBy])}};return(await Jn({aptosConfig:z,query:tt,originMethod:"getOwnedDigitalAssets"})).current_token_ownerships_v2}async function Kw(J){let{aptosConfig:z,digitalAssetAddress:te,options:Ae}=J,xe={token_data_id:{_eq:Fe.from(te).toStringLong()}},tt={query:yl,variables:{where_condition:xe,offset:s([Ae,"optionalAccess",vt=>vt.offset]),limit:s([Ae,"optionalAccess",vt=>vt.limit]),order_by:s([Ae,"optionalAccess",vt=>vt.orderBy])}};return(await Jn({aptosConfig:z,query:tt,originMethod:"getDigitalAssetActivity"})).token_activities_v2}var Hw={typeParameters:[],parameters:[new Sn(Rn()),new _n,new Sn(Rn()),new Sn(Rn()),new xi,new xi,new xi,new xi,new xi,new xi,new xi,new xi,new xi,new _n,new _n]};async function Gw(J){let{aptosConfig:z,options:te,creator:Ae}=J;return Ti({aptosConfig:z,sender:Ae.accountAddress,data:{function:"0x4::aptos_token::create_collection",functionArguments:[new et(J.description),new Kt(o(J.maxSupply,()=>d)),new et(J.name),new et(J.uri),new Ne(o(J.mutableDescription,()=>!0)),new Ne(o(J.mutableRoyalty,()=>!0)),new Ne(o(J.mutableURI,()=>!0)),new Ne(o(J.mutableTokenDescription,()=>!0)),new Ne(o(J.mutableTokenName,()=>!0)),new Ne(o(J.mutableTokenProperties,()=>!0)),new Ne(o(J.mutableTokenURI,()=>!0)),new Ne(o(J.tokensBurnableByCreator,()=>!0)),new Ne(o(J.tokensFreezableByCreator,()=>!0)),new Kt(o(J.royaltyNumerator,()=>0)),new Kt(o(J.royaltyDenominator,()=>1))],abi:Hw},options:te})}async function rl(J){let{aptosConfig:z,options:te}=J,Ae=s([te,"optionalAccess",tt=>tt.where]);s([te,"optionalAccess",tt=>tt.tokenStandard])&&(Ae.token_standard={_eq:o(s([te,"optionalAccess",tt=>tt.tokenStandard]),()=>"v2")});let xe={query:rn,variables:{where_condition:Ae,offset:s([te,"optionalAccess",tt=>tt.offset]),limit:s([te,"optionalAccess",tt=>tt.limit])}};return(await Jn({aptosConfig:z,query:xe,originMethod:"getCollectionData"})).current_collections_v2[0]}async function qw(J){let{aptosConfig:z,creatorAddress:te,collectionName:Ae,options:xe}=J,tt=Fe.from(te),vt={collection_name:{_eq:Ae},creator_address:{_eq:tt.toStringLong()}};return s([xe,"optionalAccess",ir=>ir.tokenStandard])&&(vt.token_standard={_eq:o(s([xe,"optionalAccess",ir=>ir.tokenStandard]),()=>"v2")}),rl({aptosConfig:z,options:{...xe,where:vt}})}async function ev(J){let{aptosConfig:z,creatorAddress:te,options:Ae}=J,xe={creator_address:{_eq:Fe.from(te).toStringLong()}};return s([Ae,"optionalAccess",tt=>tt.tokenStandard])&&(xe.token_standard={_eq:o(s([Ae,"optionalAccess",tt=>tt.tokenStandard]),()=>"v2")}),rl({aptosConfig:z,options:{...Ae,where:xe}})}async function tv(J){let{aptosConfig:z,collectionId:te,options:Ae}=J,xe={collection_id:{_eq:Fe.from(te).toStringLong()}};return s([Ae,"optionalAccess",tt=>tt.tokenStandard])&&(xe.token_standard={_eq:o(s([Ae,"optionalAccess",tt=>tt.tokenStandard]),()=>"v2")}),rl({aptosConfig:z,options:{...Ae,where:xe}})}async function rv(J){let{creatorAddress:z,collectionName:te,options:Ae,aptosConfig:xe}=J,tt=Fe.from(z),vt={collection_name:{_eq:te},creator_address:{_eq:tt.toStringLong()}};return s([Ae,"optionalAccess",ir=>ir.tokenStandard])&&(vt.token_standard={_eq:o(s([Ae,"optionalAccess",ir=>ir.tokenStandard]),()=>"v2")}),(await rl({aptosConfig:xe,options:{where:vt}})).collection_id}var nv={typeParameters:[],parameters:[new Sn(Rn()),new Sn(Rn()),new Sn(Rn()),new Sn(Rn()),new Ei(new Sn(Rn())),new Ei(new Sn(Rn())),new Ei(Ei.u8())]};async function iv(J){let{aptosConfig:z,options:te,creator:Ae,collection:xe,description:tt,name:vt,uri:ir,propertyKeys:zr,propertyTypes:Gr,propertyValues:bn}=J,mi=s([Gr,"optionalAccess",$n=>$n.map,"call",$n=>$n(Kn=>mu[Kn])]);return Ti({aptosConfig:z,sender:Ae.accountAddress,data:{function:"0x4::aptos_token::mint",functionArguments:[new et(xe),new et(tt),new et(vt),new et(ir),it.MoveString(o(zr,()=>[])),it.MoveString(o(mi,()=>[])),Jp(o(bn,()=>[]),o(mi,()=>[]))],abi:nv},options:te})}var ov={typeParameters:[{constraints:["key"]}],parameters:[new Sn(Pi(new di(0))),new gi]};async function sv(J){let{aptosConfig:z,sender:te,digitalAssetAddress:Ae,recipient:xe,digitalAssetType:tt,options:vt}=J;return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x1::object::transfer",typeArguments:[o(tt,()=>zs)],functionArguments:[Fe.from(Ae),Fe.from(xe)],abi:ov},options:vt})}var av={typeParameters:[],parameters:[new Sn(Rn()),new Sn(Rn()),new Sn(Rn()),new Sn(Rn()),new Ei(new Sn(Rn())),new Ei(new Sn(Rn())),new Ei(Ei.u8()),new gi]};async function uv(J){let{aptosConfig:z,account:te,collection:Ae,description:xe,name:tt,uri:vt,recipient:ir,propertyKeys:zr,propertyTypes:Gr,propertyValues:bn,options:mi}=J;if(s([zr,"optionalAccess",Kn=>Kn.length])!==s([bn,"optionalAccess",Kn=>Kn.length]))throw new Error("Property keys and property values counts do not match");if(s([Gr,"optionalAccess",Kn=>Kn.length])!==s([bn,"optionalAccess",Kn=>Kn.length]))throw new Error("Property types and property values counts do not match");let $n=s([Gr,"optionalAccess",Kn=>Kn.map,"call",Kn=>Kn(wa=>mu[wa])]);return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x4::aptos_token::mint_soul_bound",functionArguments:[Ae,xe,tt,vt,it.MoveString(o(zr,()=>[])),it.MoveString(o($n,()=>[])),Jp(o(bn,()=>[]),o($n,()=>[])),ir],abi:av},options:mi})}var cv={typeParameters:[{constraints:["key"]}],parameters:[new Sn(Pi(new di(0)))]};async function lv(J){let{aptosConfig:z,creator:te,digitalAssetAddress:Ae,digitalAssetType:xe,options:tt}=J;return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x4::aptos_token::burn",typeArguments:[o(xe,()=>zs)],functionArguments:[Fe.from(Ae)],abi:cv},options:tt})}var hv={typeParameters:[{constraints:["key"]}],parameters:[new Sn(Pi(new di(0)))]};async function pv(J){let{aptosConfig:z,creator:te,digitalAssetAddress:Ae,digitalAssetType:xe,options:tt}=J;return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x4::aptos_token::freeze_transfer",typeArguments:[o(xe,()=>zs)],functionArguments:[Ae],abi:hv},options:tt})}var gv={typeParameters:[{constraints:["key"]}],parameters:[new Sn(Pi(new di(0)))]};async function yv(J){let{aptosConfig:z,creator:te,digitalAssetAddress:Ae,digitalAssetType:xe,options:tt}=J;return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x4::aptos_token::unfreeze_transfer",typeArguments:[o(xe,()=>zs)],functionArguments:[Ae],abi:gv},options:tt})}var mv={typeParameters:[{constraints:["key"]}],parameters:[new Sn(Pi(new di(0))),new Sn(Rn())]};async function wv(J){let{aptosConfig:z,creator:te,description:Ae,digitalAssetAddress:xe,digitalAssetType:tt,options:vt}=J;return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x4::aptos_token::set_description",typeArguments:[o(tt,()=>zs)],functionArguments:[Fe.from(xe),new et(Ae)],abi:mv},options:vt})}var vv={typeParameters:[{constraints:["key"]}],parameters:[new Sn(Pi(new di(0))),new Sn(Rn())]};async function Ev(J){let{aptosConfig:z,creator:te,name:Ae,digitalAssetAddress:xe,digitalAssetType:tt,options:vt}=J;return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x4::aptos_token::set_name",typeArguments:[o(tt,()=>zs)],functionArguments:[Fe.from(xe),new et(Ae)],abi:vv},options:vt})}var Tv={typeParameters:[{constraints:["key"]}],parameters:[new Sn(Pi(new di(0))),new Sn(Rn())]};async function Cv(J){let{aptosConfig:z,creator:te,uri:Ae,digitalAssetAddress:xe,digitalAssetType:tt,options:vt}=J;return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x4::aptos_token::set_uri",typeArguments:[o(tt,()=>zs)],functionArguments:[Fe.from(xe),new et(Ae)],abi:Tv},options:vt})}var Sv={typeParameters:[{constraints:["key"]}],parameters:[new Sn(Pi(new di(0))),new Sn(Rn()),new Sn(Rn()),Ei.u8()]};async function Iv(J){let{aptosConfig:z,creator:te,propertyKey:Ae,propertyType:xe,propertyValue:tt,digitalAssetAddress:vt,digitalAssetType:ir,options:zr}=J;return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x4::aptos_token::add_property",typeArguments:[o(ir,()=>zs)],functionArguments:[Fe.from(vt),new et(Ae),new et(mu[xe]),it.U8($d(tt,mu[xe]))],abi:Sv},options:zr})}var kv={typeParameters:[{constraints:["key"]}],parameters:[new Sn(Pi(new di(0))),new Sn(Rn())]};async function Pv(J){let{aptosConfig:z,creator:te,propertyKey:Ae,digitalAssetAddress:xe,digitalAssetType:tt,options:vt}=J;return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x4::aptos_token::remove_property",typeArguments:[o(tt,()=>zs)],functionArguments:[Fe.from(xe),new et(Ae)],abi:kv},options:vt})}var Mv={typeParameters:[{constraints:["key"]}],parameters:[new Sn(Pi(new di(0))),new Sn(Rn()),new Sn(Rn()),Ei.u8()]};async function Bv(J){let{aptosConfig:z,creator:te,propertyKey:Ae,propertyType:xe,propertyValue:tt,digitalAssetAddress:vt,digitalAssetType:ir,options:zr}=J;return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x4::aptos_token::update_property",typeArguments:[o(ir,()=>zs)],functionArguments:[Fe.from(vt),new et(Ae),new et(mu[xe]),$d(tt,mu[xe])],abi:Mv},options:zr})}var Nv={typeParameters:[{constraints:["key"]},{constraints:[]}],parameters:[new Sn(Pi(new di(0))),new Sn(Rn()),new di(1)]};async function Rv(J){let{aptosConfig:z,creator:te,propertyKey:Ae,propertyType:xe,propertyValue:tt,digitalAssetAddress:vt,digitalAssetType:ir,options:zr}=J;return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x4::aptos_token::add_typed_property",typeArguments:[o(ir,()=>zs),mu[xe]],functionArguments:[Fe.from(vt),new et(Ae),tt],abi:Nv},options:zr})}var Uv={typeParameters:[{constraints:["key"]},{constraints:[]}],parameters:[new Sn(Pi(new di(0))),new Sn(Rn()),new di(1)]};async function Dv(J){let{aptosConfig:z,creator:te,propertyKey:Ae,propertyType:xe,propertyValue:tt,digitalAssetAddress:vt,digitalAssetType:ir,options:zr}=J;return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x4::aptos_token::update_typed_property",typeArguments:[o(ir,()=>zs),mu[xe]],functionArguments:[Fe.from(vt),new et(Ae),tt],abi:Uv},options:zr})}function Jp(J,z){let te=new Array;return z.forEach((Ae,xe)=>{te.push($d(J[xe],Ae))}),te}function $d(J,z){let te=ec(z);return ic(J,te,0,[]).bcsToBytes()}var Yp=class{constructor(J){this.config=J}async getCollectionData(J){await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"token_v2_processor"});let{creatorAddress:z,collectionName:te,options:Ae}=J,xe=Fe.from(z),tt={collection_name:{_eq:te},creator_address:{_eq:xe.toStringLong()}};return s([Ae,"optionalAccess",vt=>vt.tokenStandard])&&(tt.token_standard={_eq:o(s([Ae,"optionalAccess",vt=>vt.tokenStandard]),()=>"v2")}),rl({aptosConfig:this.config,options:{where:tt}})}async getCollectionDataByCreatorAddressAndCollectionName(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"token_v2_processor"}),qw({aptosConfig:this.config,...J})}async getCollectionDataByCreatorAddress(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"token_v2_processor"}),ev({aptosConfig:this.config,...J})}async getCollectionDataByCollectionId(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"token_v2_processor"}),tv({aptosConfig:this.config,...J})}async getCollectionId(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"token_v2_processor"}),rv({aptosConfig:this.config,...J})}async getDigitalAssetData(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"token_v2_processor"}),Lw({aptosConfig:this.config,...J})}async getCurrentDigitalAssetOwnership(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"token_v2_processor"}),Fw({aptosConfig:this.config,...J})}async getOwnedDigitalAssets(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"token_v2_processor"}),zw({aptosConfig:this.config,...J})}async getDigitalAssetActivity(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"token_v2_processor"}),Kw({aptosConfig:this.config,...J})}async createCollectionTransaction(J){return Gw({aptosConfig:this.config,...J})}async mintDigitalAssetTransaction(J){return iv({aptosConfig:this.config,...J})}async transferDigitalAssetTransaction(J){return sv({aptosConfig:this.config,...J})}async mintSoulBoundTransaction(J){return uv({aptosConfig:this.config,...J})}async burnDigitalAssetTransaction(J){return lv({aptosConfig:this.config,...J})}async freezeDigitalAssetTransaferTransaction(J){return pv({aptosConfig:this.config,...J})}async unfreezeDigitalAssetTransaferTransaction(J){return yv({aptosConfig:this.config,...J})}async setDigitalAssetDescriptionTransaction(J){return wv({aptosConfig:this.config,...J})}async setDigitalAssetNameTransaction(J){return Ev({aptosConfig:this.config,...J})}async setDigitalAssetURITransaction(J){return Cv({aptosConfig:this.config,...J})}async addDigitalAssetPropertyTransaction(J){return Iv({aptosConfig:this.config,...J})}async removeDigitalAssetPropertyTransaction(J){return Pv({aptosConfig:this.config,...J})}async updateDigitalAssetPropertyTransaction(J){return Bv({aptosConfig:this.config,...J})}async addDigitalAssetTypedPropertyTransaction(J){return Rv({aptosConfig:this.config,...J})}async updateDigitalAssetTypedPropertyTransaction(J){return Dv({aptosConfig:this.config,...J})}},Xp=300,_v=J=>{if(J&&J.length>Xp)throw new Error(`Event type length exceeds the maximum length of ${Xp}`)};async function Wv(J){let{aptosConfig:z,eventType:te,options:Ae}=J,xe={_or:[{account_address:{_eq:te.split("::")[0]}},{account_address:{_eq:"0x0000000000000000000000000000000000000000000000000000000000000000"},sequence_number:{_eq:0},creation_number:{_eq:0}}],indexed_type:{_eq:te}};return Vl({aptosConfig:z,options:{...Ae,where:xe}})}async function Lv(J){let{accountAddress:z,aptosConfig:te,creationNumber:Ae,options:xe}=J,tt={account_address:{_eq:Fe.from(z).toStringLong()},creation_number:{_eq:Ae}};return Vl({aptosConfig:te,options:{...xe,where:tt}})}async function Fv(J){let{accountAddress:z,aptosConfig:te,eventType:Ae,options:xe}=J,tt={account_address:{_eq:Fe.from(z).toStringLong()},indexed_type:{_eq:Ae}};return Vl({aptosConfig:te,options:{...xe,where:tt}})}async function Vl(J){let{aptosConfig:z,options:te}=J;_v(s([te,"optionalAccess",xe=>xe.where,"optionalAccess",xe=>xe.indexed_type,"optionalAccess",xe=>xe._eq]));let Ae={query:en,variables:{where_condition:s([te,"optionalAccess",xe=>xe.where]),offset:s([te,"optionalAccess",xe=>xe.offset]),limit:s([te,"optionalAccess",xe=>xe.limit]),order_by:s([te,"optionalAccess",xe=>xe.orderBy])}};return(await Jn({aptosConfig:z,query:Ae,originMethod:"getEvents"})).events}var $p=class{constructor(J){this.config=J}async getModuleEventsByEventType(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"events_processor"}),Wv({aptosConfig:this.config,...J})}async getAccountEventsByCreationNumber(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"events_processor"}),Lv({aptosConfig:this.config,...J})}async getAccountEventsByEventType(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"events_processor"}),Fv({aptosConfig:this.config,...J})}async getEvents(J){return await ri({config:this.config,minimumLedgerVersion:s([J,"optionalAccess",z=>z.minimumLedgerVersion]),processorType:"events_processor"}),Vl({aptosConfig:this.config,...J})}};async function zv(J){let{aptosConfig:z,accountAddress:te,amount:Ae,options:xe}=J,tt=s([xe,"optionalAccess",Gr=>Gr.timeoutSecs])||20,{data:vt}=await ro({aptosConfig:z,path:"fund",body:{address:Fe.from(te).toString(),amount:Ae},originMethod:"fundAccount"}),ir=vt.txn_hashes[0],zr=await Yo({aptosConfig:z,transactionHash:ir,options:{timeoutSecs:tt,checkSuccess:s([xe,"optionalAccess",Gr=>Gr.checkSuccess])}});if(zr.type==="user_transaction")return zr;throw new Error(`Unexpected transaction received for fund account: ${zr.type}`)}var n0=class{constructor(J){this.config=J}async fundAccount(J){let z=await zv({aptosConfig:this.config,...J});return(s([J,"access",te=>te.options,"optionalAccess",te=>te.waitForIndexer])===void 0||s([J,"access",te=>te.options,"optionalAccess",te=>te.waitForIndexer]))&&await Ju({aptosConfig:this.config,minimumLedgerVersion:BigInt(z.version),processorType:"fungible_asset_processor"}),z}};async function eh(J){let{aptosConfig:z,options:te}=J,Ae={query:Nn,variables:{where_condition:s([te,"optionalAccess",xe=>xe.where]),limit:s([te,"optionalAccess",xe=>xe.limit]),offset:s([te,"optionalAccess",xe=>xe.offset])}};return(await Jn({aptosConfig:z,query:Ae,originMethod:"getFungibleAssetMetadata"})).fungible_asset_metadata}async function Kv(J){let{aptosConfig:z,options:te}=J,Ae={query:Ln,variables:{where_condition:s([te,"optionalAccess",xe=>xe.where]),limit:s([te,"optionalAccess",xe=>xe.limit]),offset:s([te,"optionalAccess",xe=>xe.offset])}};return(await Jn({aptosConfig:z,query:Ae,originMethod:"getFungibleAssetActivities"})).fungible_asset_activities}async function Hv(J){let{aptosConfig:z,options:te}=J,Ae={query:Zr,variables:{where_condition:s([te,"optionalAccess",xe=>xe.where]),limit:s([te,"optionalAccess",xe=>xe.limit]),offset:s([te,"optionalAccess",xe=>xe.offset])}};return(await Jn({aptosConfig:z,query:Ae,originMethod:"getCurrentFungibleAssetBalances"})).current_fungible_asset_balances}var Gv={typeParameters:[{constraints:[]}],parameters:[ec("0x1::object::Object"),new gi,new _n]};async function Vv(J){let{aptosConfig:z,sender:te,fungibleAssetMetadataAddress:Ae,recipient:xe,amount:tt,options:vt}=J;return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x1::primary_fungible_store::transfer",typeArguments:["0x1::fungible_asset::Metadata"],functionArguments:[Ae,xe,tt],abi:Gv},options:vt})}var i0=class{constructor(J){this.config=J}async getFungibleAssetMetadata(J){return await ri({config:this.config,minimumLedgerVersion:s([J,"optionalAccess",z=>z.minimumLedgerVersion]),processorType:"fungible_asset_processor"}),eh({aptosConfig:this.config,...J})}async getFungibleAssetMetadataByAssetType(J){return await ri({config:this.config,minimumLedgerVersion:s([J,"optionalAccess",z=>z.minimumLedgerVersion]),processorType:"fungible_asset_processor"}),(await eh({aptosConfig:this.config,options:{where:{asset_type:{_eq:J.assetType}}}}))[0]}async getFungibleAssetMetadataByCreatorAddress(J){return await ri({config:this.config,minimumLedgerVersion:s([J,"optionalAccess",z=>z.minimumLedgerVersion]),processorType:"fungible_asset_processor"}),await eh({aptosConfig:this.config,options:{where:{creator_address:{_eq:Fe.from(J.creatorAddress).toStringLong()}}}})}async getFungibleAssetActivities(J){return await ri({config:this.config,minimumLedgerVersion:s([J,"optionalAccess",z=>z.minimumLedgerVersion]),processorType:"fungible_asset_processor"}),Kv({aptosConfig:this.config,...J})}async getCurrentFungibleAssetBalances(J){return await ri({config:this.config,minimumLedgerVersion:s([J,"optionalAccess",z=>z.minimumLedgerVersion]),processorType:"fungible_asset_processor"}),Hv({aptosConfig:this.config,...J})}async transferFungibleAsset(J){return Vv({aptosConfig:this.config,...J})}},o0=class{constructor(J){this.config=J}async getLedgerInfo(){return Wc({aptosConfig:this.config})}async getChainId(){return(await this.getLedgerInfo()).chain_id}async getBlockByVersion(J){return T2({aptosConfig:this.config,...J})}async getBlockByHeight(J){return C2({aptosConfig:this.config,...J})}async view(J){return Qa({aptosConfig:this.config,...J})}async viewJson(J){return R2({aptosConfig:this.config,...J})}async getChainTopUserTransactions(J){return bl({aptosConfig:this.config,...J})}async queryIndexer(J){return Jn({aptosConfig:this.config,...J})}async getIndexerLastSuccessVersion(){return Lc({aptosConfig:this.config})}async getProcessorStatus(J){return Fc({aptosConfig:this.config,processorType:J})}},s0=["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 a0(J){return!(!J||J.length<3||J.length>63||!/^[a-z\d][a-z\d-]{1,61}[a-z\d]$/.test(J))}function bu(J){let[z,te,...Ae]=J.replace(/\.apt$/,"").split(".");if(Ae.length>0)throw new Error(`${J} is invalid. A name can only have two parts, a domain and a subdomain separated by a "."`);if(!a0(z))throw new Error(`${z} is not valid. ${s0}`);if(te&&!a0(te))throw new Error(`${te} is not valid. ${s0}`);return{domainName:te||z,subdomainName:te?z:void 0}}function u0(J){if(!J)return!1;let z=new Date(J.domain_expiration_timestamp).getTime()<Date.now(),te=new Date(J.expiration_timestamp).getTime()<Date.now();return J.subdomain&&z?!1:J.subdomain&&J.subdomain_expiration_policy===1?!0:!te}var qv="0x585fc9f0f0c54183b039ffc770ca282ebd87307916c215a3e692f2f8e4305e82",Jv={testnet:"0x5f8fd2347449685cf41d4db97926ec3a096eaf381332be4f1318ad4d16a8497c",mainnet:"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c",local:qv,custom:null,devnet:null};function Za(J){let z=Jv[J.network];if(!z)throw new Error(`The ANS contract is not deployed to ${J.network}`);return z}var ql=J=>{if(J&&typeof J=="object"&&"vec"in J&&Array.isArray(J.vec))return J.vec[0]};async function Yv(J){let{aptosConfig:z,name:te}=J,Ae=Za(z),{domainName:xe,subdomainName:tt}=bu(te),vt=await Qa({aptosConfig:z,payload:{function:`${Ae}::router::get_owner_addr`,functionArguments:[xe,tt]}}),ir=ql(vt[0]);return ir?Fe.from(ir):void 0}async function Xv(J){let{aptosConfig:z,expiration:te,name:Ae,sender:xe,targetAddress:tt,toAddress:vt,options:ir,transferable:zr}=J,Gr=Za(z),{domainName:bn,subdomainName:mi}=bu(Ae),$n=te.policy==="subdomain:independent"||te.policy==="subdomain:follow-domain";if(mi&&!$n)throw new Error("Subdomains must have an expiration policy of either 'subdomain:independent' or 'subdomain:follow-domain'");if($n&&!mi)throw new Error(`Policy is set to ${te.policy} but no subdomain was provided`);if(te.policy==="domain"){let Ts=o(te.years,()=>1);if(Ts!==1)throw new Error("For now, names can only be registered for 1 year at a time");let ch=Ts*31536e3;return await Ti({aptosConfig:z,sender:xe.accountAddress.toString(),data:{function:`${Gr}::router::register_domain`,functionArguments:[bn,ch,tt,vt]},options:ir})}if(!mi)throw new Error(`${te.policy} requires a subdomain to be provided.`);let Kn=await l0({aptosConfig:z,name:bn});if(!Kn)throw new Error("The domain does not exist");let wa=te.policy==="subdomain:independent"?te.expirationDate:Kn;if(wa>Kn)throw new Error("The subdomain expiration time cannot be greater than the domain expiration time");return await Ti({aptosConfig:z,sender:xe.accountAddress.toString(),data:{function:`${Gr}::router::register_subdomain`,functionArguments:[bn,mi,Math.round(wa/1e3),te.policy==="subdomain:follow-domain"?1:0,!!zr,tt,vt]},options:ir})}async function l0(J){let{aptosConfig:z,name:te}=J,Ae=Za(z),{domainName:xe,subdomainName:tt}=bu(te);try{let vt=await Qa({aptosConfig:z,payload:{function:`${Ae}::router::get_expiration`,functionArguments:[xe,tt]}});return Number(vt[0])*1e3}catch{return}}async function Qv(J){let{aptosConfig:z,address:te}=J,Ae=Za(z),xe=await Qa({aptosConfig:z,payload:{function:`${Ae}::router::get_primary_name`,functionArguments:[Fe.from(te).toString()]}}),tt=ql(xe[1]),vt=ql(xe[0]);if(tt)return[vt,tt].filter(Boolean).join(".")}async function Zv(J){let{aptosConfig:z,sender:te,name:Ae,options:xe}=J,tt=Za(z);if(!Ae)return await Ti({aptosConfig:z,sender:te.accountAddress.toString(),data:{function:`${tt}::router::clear_primary_name`,functionArguments:[]},options:xe});let{domainName:vt,subdomainName:ir}=bu(Ae);return await Ti({aptosConfig:z,sender:te.accountAddress.toString(),data:{function:`${tt}::router::set_primary_name`,functionArguments:[vt,ir]},options:xe})}async function $v(J){let{aptosConfig:z,name:te}=J,Ae=Za(z),{domainName:xe,subdomainName:tt}=bu(te),vt=await Qa({aptosConfig:z,payload:{function:`${Ae}::router::get_target_addr`,functionArguments:[xe,tt]}}),ir=ql(vt[0]);return ir?Fe.from(ir):void 0}async function e3(J){let{aptosConfig:z,sender:te,name:Ae,address:xe,options:tt}=J,vt=Za(z),{domainName:ir,subdomainName:zr}=bu(Ae);return await Ti({aptosConfig:z,sender:te.accountAddress.toString(),data:{function:`${vt}::router::set_target_addr`,functionArguments:[ir,zr,xe]},options:tt})}async function t3(J){let{aptosConfig:z,name:te}=J,{domainName:Ae,subdomainName:xe=""}=bu(te),tt=(await Jn({aptosConfig:z,query:{query:Wi,variables:{where_condition:{domain:{_eq:Ae},subdomain:{_eq:xe}},limit:1}},originMethod:"getName"})).current_aptos_names[0];return tt&&(tt=ol(tt)),u0(tt)?tt:void 0}async function r3(J){let{aptosConfig:z,options:te,accountAddress:Ae}=J,xe=await th({aptosConfig:z});return(await Jn({aptosConfig:z,originMethod:"getAccountNames",query:{query:Wi,variables:{limit:s([te,"optionalAccess",tt=>tt.limit]),offset:s([te,"optionalAccess",tt=>tt.offset]),order_by:s([te,"optionalAccess",tt=>tt.orderBy]),where_condition:{...o(s([J,"access",tt=>tt.options,"optionalAccess",tt=>tt.where]),()=>({})),owner_address:{_eq:Ae.toString()},expiration_timestamp:{_gte:xe}}}}})).current_aptos_names.map(ol)}async function n3(J){let{aptosConfig:z,options:te,accountAddress:Ae}=J,xe=await th({aptosConfig:z});return(await Jn({aptosConfig:z,originMethod:"getAccountDomains",query:{query:Wi,variables:{limit:s([te,"optionalAccess",tt=>tt.limit]),offset:s([te,"optionalAccess",tt=>tt.offset]),order_by:s([te,"optionalAccess",tt=>tt.orderBy]),where_condition:{...o(s([J,"access",tt=>tt.options,"optionalAccess",tt=>tt.where]),()=>({})),owner_address:{_eq:Ae.toString()},expiration_timestamp:{_gte:xe},subdomain:{_eq:""}}}}})).current_aptos_names.map(ol)}async function i3(J){let{aptosConfig:z,options:te,accountAddress:Ae}=J,xe=await th({aptosConfig:z});return(await Jn({aptosConfig:z,originMethod:"getAccountSubdomains",query:{query:Wi,variables:{limit:s([te,"optionalAccess",tt=>tt.limit]),offset:s([te,"optionalAccess",tt=>tt.offset]),order_by:s([te,"optionalAccess",tt=>tt.orderBy]),where_condition:{...o(s([J,"access",tt=>tt.options,"optionalAccess",tt=>tt.where]),()=>({})),owner_address:{_eq:Ae.toString()},expiration_timestamp:{_gte:xe},subdomain:{_neq:""}}}}})).current_aptos_names.map(ol)}async function o3(J){let{aptosConfig:z,options:te,domain:Ae}=J;return(await Jn({aptosConfig:z,originMethod:"getDomainSubdomains",query:{query:Wi,variables:{limit:s([te,"optionalAccess",xe=>xe.limit]),offset:s([te,"optionalAccess",xe=>xe.offset]),order_by:s([te,"optionalAccess",xe=>xe.orderBy]),where_condition:{...o(s([J,"access",xe=>xe.options,"optionalAccess",xe=>xe.where]),()=>({})),domain:{_eq:Ae},subdomain:{_neq:""}}}}})).current_aptos_names.map(ol).filter(u0)}async function th(J){let{aptosConfig:z}=J,te=Za(z),[Ae]=await Qa({aptosConfig:z,payload:{function:`${te}::config::reregistration_grace_sec`,functionArguments:[]}}),xe=Ae/60/60/24,tt=()=>new Date;return new Date(tt().setDate(tt().getDate()-xe)).toISOString()}async function s3(J){let{aptosConfig:z,sender:te,name:Ae,years:xe=1,options:tt}=J,vt=Za(z),ir=xe*31536e3,{domainName:zr,subdomainName:Gr}=bu(Ae);if(Gr)throw new Error("Subdomains cannot be renewed");if(xe!==1)throw new Error("Currently, only 1 year renewals are supported");return await Ti({aptosConfig:z,sender:te.accountAddress.toString(),data:{function:`${vt}::router::renew_domain`,functionArguments:[zr,ir]},options:tt})}function ol(J){return{...J,expiration_timestamp:new Date(J.expiration_timestamp).getTime()}}var d0=class{constructor(J){this.config=J}async getOwnerAddress(J){return Yv({aptosConfig:this.config,...J})}async getExpiration(J){return l0({aptosConfig:this.config,...J})}async getTargetAddress(J){return $v({aptosConfig:this.config,...J})}async setTargetAddress(J){return e3({aptosConfig:this.config,...J})}async getPrimaryName(J){return Qv({aptosConfig:this.config,...J})}async setPrimaryName(J){return Zv({aptosConfig:this.config,...J})}async registerName(J){return Xv({aptosConfig:this.config,...J})}async renewDomain(J){return s3({aptosConfig:this.config,...J})}async getName(J){return t3({aptosConfig:this.config,...J})}async getAccountNames(J){return r3({aptosConfig:this.config,...J})}async getAccountDomains(J){return n3({aptosConfig:this.config,...J})}async getAccountSubdomains(J){return i3({aptosConfig:this.config,...J})}async getDomainSubdomains(J){return o3({aptosConfig:this.config,...J})}};async function a3(J){let{aptosConfig:z,poolAddress:te}=J,Ae=Fe.from(te).toStringLong(),xe=await Jn({aptosConfig:z,query:{query:ia,variables:{where_condition:{pool_address:{_eq:Ae}}}}});return xe.num_active_delegator_per_pool[0]?xe.num_active_delegator_per_pool[0].num_active_delegator:0}async function u3(J){let{aptosConfig:z,options:te}=J,Ae={query:ia,variables:{order_by:s([te,"optionalAccess",xe=>xe.orderBy])}};return(await Jn({aptosConfig:z,query:Ae})).num_active_delegator_per_pool}async function c3(J){let{aptosConfig:z,delegatorAddress:te,poolAddress:Ae}=J,xe={query:yn,variables:{delegatorAddress:Fe.from(te).toStringLong(),poolAddress:Fe.from(Ae).toStringLong()}};return(await Jn({aptosConfig:z,query:xe})).delegated_staking_activities}var h0=class{constructor(J){this.config=J}async getNumberOfDelegators(J){return await ri({config:this.config,minimumLedgerVersion:s([J,"optionalAccess",z=>z.minimumLedgerVersion]),processorType:"stake_processor"}),a3({aptosConfig:this.config,...J})}async getNumberOfDelegatorsForAllPools(J){return await ri({config:this.config,minimumLedgerVersion:s([J,"optionalAccess",z=>z.minimumLedgerVersion]),processorType:"stake_processor"}),u3({aptosConfig:this.config,...J})}async getDelegatedStakingActivities(J){return await ri({config:this.config,minimumLedgerVersion:s([J,"optionalAccess",z=>z.minimumLedgerVersion]),processorType:"stake_processor"}),c3({aptosConfig:this.config,...J})}},l3=class{constructor(J){this.config=J}async simple(J){return Ti({aptosConfig:this.config,...J})}async multiAgent(J){return Ti({aptosConfig:this.config,...J})}};function f0(J,z,te){let Ae=te.value;return te.value=async function(...xe){let[tt]=xe;if(tt.transaction.feePayerAddress&&!tt.feePayerAuthenticator)throw new Error("You are submitting a Fee Payer transaction but missing the feePayerAuthenticator");return Ae.apply(this,xe)},te}function p0(J,z,te){let Ae=te.value;return te.value=async function(...xe){let[tt]=xe;if(tt.transaction.feePayerAddress&&!tt.feePayerPublicKey)throw new Error("You are simulating a Fee Payer transaction but missing the feePayerPublicKey");return Ae.apply(this,xe)},te}var rh=class{constructor(J){this.config=J}async simple(J){return Vp({aptosConfig:this.config,...J})}async multiAgent(J){return Vp({aptosConfig:this.config,...J})}};n.a.call(void 0,[p0],rh.prototype,"simple",1),n.a.call(void 0,[p0],rh.prototype,"multiAgent",1);var nh=class{constructor(J){this.config=J}async simple(J){return Gl({aptosConfig:this.config,...J})}async multiAgent(J){return Gl({aptosConfig:this.config,...J})}};n.a.call(void 0,[f0],nh.prototype,"simple",1),n.a.call(void 0,[f0],nh.prototype,"multiAgent",1);var g0=class{constructor(J,z,te,Ae,xe){this.lastUncommintedNumber=null,this.currentNumber=null,this.lock=!1,this.aptosConfig=J,this.account=z,this.maxWaitTime=te,this.maximumInFlight=Ae,this.sleepTime=xe}async nextSequenceNumber(){for(;this.lock;)await n.b.call(void 0,this.sleepTime);this.lock=!0;let J=BigInt(0);try{if((this.lastUncommintedNumber===null||this.currentNumber===null)&&await this.initialize(),this.currentNumber-this.lastUncommintedNumber>=this.maximumInFlight){await this.update();let z=n.c.call(void 0);for(;this.currentNumber-this.lastUncommintedNumber>=this.maximumInFlight;)await n.b.call(void 0,this.sleepTime),n.c.call(void 0)-z>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()}J=this.currentNumber,this.currentNumber+=BigInt(1)}catch(z){console.error("error in getting next sequence number for this account",z)}finally{this.lock=!1}return J}async initialize(){let{sequence_number:J}=await Xa({aptosConfig:this.aptosConfig,accountAddress:this.account.accountAddress});this.currentNumber=BigInt(J),this.lastUncommintedNumber=BigInt(J)}async update(){let{sequence_number:J}=await Xa({aptosConfig:this.aptosConfig,accountAddress:this.account.accountAddress});return this.lastUncommintedNumber=BigInt(J),this.lastUncommintedNumber}async synchronize(){if(this.lastUncommintedNumber!==this.currentNumber){for(;this.lock;)await n.b.call(void 0,this.sleepTime);this.lock=!0;try{await this.update();let J=n.c.call(void 0);for(;this.lastUncommintedNumber!==this.currentNumber;)n.c.call(void 0)-J>this.maxWaitTime?(console.warn(`Waited over 30 seconds for a transaction to commit, re-syncing ${this.account.accountAddress.toString()}`),await this.initialize()):(await n.b.call(void 0,this.sleepTime),await this.update())}catch(J){console.error("error in synchronizing this account sequence number with the one on chain",J)}finally{this.lock=!1}}}},ih=class{constructor(){this.queue=[],this.pendingDequeue=[],this.cancelled=!1}enqueue(J){if(this.cancelled=!1,this.pendingDequeue.length>0){s([this,"access",z=>z.pendingDequeue,"access",z=>z.shift,"call",z=>z(),"optionalAccess",z=>z.resolve,"call",z=>z(J)]);return}this.queue.push(J)}async dequeue(){return this.queue.length>0?Promise.resolve(this.queue.shift()):new Promise((J,z)=>{this.pendingDequeue.push({resolve:J,reject:z})})}isEmpty(){return this.queue.length===0}cancel(){this.cancelled=!0,this.pendingDequeue.forEach(async({reject:J})=>{J(new sh("Task cancelled"))}),this.pendingDequeue=[],this.queue.length=0}isCancelled(){return this.cancelled}pendingDequeueLength(){return this.pendingDequeue.length}},sh=class extends Error{},ah="fulfilled",y0=e.TransactionWorkerEventsEnum=(J=>(J.TransactionSent="transactionSent",J.TransactionSendFailed="transactionSendFailed",J.TransactionExecuted="transactionExecuted",J.TransactionExecutionFailed="transactionExecutionFailed",J.ExecutionFinish="executionFinish",J))(y0||{}),b0=e.TransactionWorker=class extends fu.default{constructor(J,z,te=30,Ae=100,xe=10){super(),this.taskQueue=new ih,this.transactionsQueue=new ih,this.outstandingTransactions=new ih,this.sentTransactions=[],this.executedTransactions=[],this.aptosConfig=J,this.account=z,this.started=!1,this.accountSequnceNumber=new g0(J,z,te,Ae,xe)}async submitNextTransaction(){try{for(;;){let J=await this.accountSequnceNumber.nextSequenceNumber();if(J===null)return;let z=await this.generateNextTransaction(this.account,J);if(!z)return;let te=Zd({aptosConfig:this.aptosConfig,transaction:z,signer:this.account});await this.outstandingTransactions.enqueue([te,J])}}catch(J){if(J instanceof sh)return;throw new Error(`Submit transaction failed for ${this.account.accountAddress.toString()} with error ${J}`)}}async processTransactions(){try{for(;;){let J=[],z=[],[te,Ae]=await this.outstandingTransactions.dequeue();for(J.push(te),z.push(Ae);!this.outstandingTransactions.isEmpty();)[te,Ae]=await this.outstandingTransactions.dequeue(),J.push(te),z.push(Ae);let xe=await Promise.allSettled(J);for(let tt=0;tt<xe.length&&tt<z.length;tt+=1){let vt=xe[tt];Ae=z[tt],vt.status===ah?(this.sentTransactions.push([vt.value.hash,Ae,null]),this.emit("transactionSent",{message:`transaction hash ${vt.value.hash} has been committed to chain`,transactionHash:vt.value.hash}),await this.checkTransaction(vt,Ae)):(this.sentTransactions.push([vt.status,Ae,vt.reason]),this.emit("transactionSendFailed",{message:`failed to commit transaction ${this.sentTransactions.length} with error ${vt.reason}`,error:vt.reason}))}this.emit("executionFinish",{message:`execute ${xe.length} transactions finished`})}}catch(J){if(J instanceof sh)return;throw new Error(`Process execution failed for ${this.account.accountAddress.toString()} with error ${J}`)}}async checkTransaction(J,z){try{let te=[];te.push(Yo({aptosConfig:this.aptosConfig,transactionHash:J.value.hash}));let Ae=await Promise.allSettled(te);for(let xe=0;xe<Ae.length;xe+=1){let tt=Ae[xe];tt.status===ah?(this.executedTransactions.push([tt.value.hash,z,null]),this.emit("transactionExecuted",{message:`transaction hash ${tt.value.hash} has been executed on chain`,transactionHash:J.value.hash})):(this.executedTransactions.push([tt.status,z,tt.reason]),this.emit("transactionExecutionFailed",{message:`failed to execute transaction ${this.executedTransactions.length} with error ${tt.reason}`,error:tt.reason}))}}catch(te){throw new Error(`Check transaction failed for ${this.account.accountAddress.toString()} with error ${te}`)}}async push(J,z){this.transactionsQueue.enqueue([J,z])}async generateNextTransaction(J,z){if(this.transactionsQueue.isEmpty())return;let[te,Ae]=await this.transactionsQueue.dequeue();return Ti({aptosConfig:this.aptosConfig,sender:J.accountAddress,data:te,options:{...Ae,accountSequenceNumber:z}})}async run(){try{for(;!this.taskQueue.isCancelled();)await(await this.taskQueue.dequeue())()}catch(J){throw new Error(`Unable to start transaction batching: ${J}`)}}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()}},d3=class extends fu.default{constructor(J){super(),this.config=J}start(J){let{sender:z}=J;this.account=z,this.transactionWorker=new b0(this.config,z),this.transactionWorker.start(),this.registerToEvents()}push(J){let{data:z,options:te}=J;for(let Ae of z)this.transactionWorker.push(Ae,te)}registerToEvents(){this.transactionWorker.on("transactionSent",async J=>{this.emit("transactionSent",J)}),this.transactionWorker.on("transactionSendFailed",async J=>{this.emit("transactionSendFailed",J)}),this.transactionWorker.on("transactionExecuted",async J=>{this.emit("transactionExecuted",J)}),this.transactionWorker.on("transactionExecutionFailed",async J=>{this.emit("transactionExecutionFailed",J)}),this.transactionWorker.on("executionFinish",async J=>{this.emit("executionFinish",J)})}forSingleAccount(J){try{let{sender:z,data:te,options:Ae}=J;this.start({sender:z}),this.push({data:te,options:Ae})}catch(z){throw new Error(`failed to submit transactions with error: ${z}`)}}},w0=class{constructor(J){this.config=J,this.build=new l3(this.config),this.simulate=new rh(this.config),this.submit=new nh(this.config),this.batch=new d3(this.config)}async getTransactions(J){return In({aptosConfig:this.config,...J})}async getTransactionByVersion(J){return yi({aptosConfig:this.config,...J})}async getTransactionByHash(J){return Zi({aptosConfig:this.config,...J})}async isPendingTransaction(J){return Jo({aptosConfig:this.config,...J})}async waitForTransaction(J){return Yo({aptosConfig:this.config,...J})}async getGasPriceEstimation(){return ei({aptosConfig:this.config})}getSigningMessage(J){return Iw(J)}async publishPackageTransaction(J){return Nw({aptosConfig:this.config,...J})}async rotateAuthKey(J){return Uw({aptosConfig:this.config,...J})}sign(J){return Xd({...J})}signAsFeePayer(J){return Qd({...J})}async batchTransactionsForSingleAccount(J){try{let{sender:z,data:te,options:Ae}=J;this.batch.forSingleAccount({sender:z,data:te,options:Ae})}catch(z){throw new Error(`failed to submit transactions with error: ${z}`)}}async signAndSubmitTransaction(J){return Zd({aptosConfig:this.config,...J})}async signAndSubmitAsFeePayer(J){return kw({aptosConfig:this.config,...J})}},v0=class{constructor(J){this.config=J}async getTableItem(J){return jc({aptosConfig:this.config,...J})}async getTableItemsData(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"default_processor"}),Cl({aptosConfig:this.config,...J})}async getTableItemsMetadata(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"default_processor"}),Ol({aptosConfig:this.config,...J})}};async function uh(J){let{aptosConfig:z,jwt:te,ephemeralKeyPair:Ae,uidKey:xe="sub",derivationPath:tt}=J,vt={jwt_b64:te,epk:Ae.getPublicKey().bcsToHex().toStringWithoutPrefix(),exp_date_secs:Ae.expiryDateSecs,epk_blinder:O.fromHexInput(Ae.blinder).toStringWithoutPrefix(),uid_key:xe,derivation_path:tt},{data:ir}=await js({aptosConfig:z,path:"fetch",body:vt,originMethod:"getPepper",overrides:{WITH_CREDENTIALS:!1}});return O.fromHexInput(ir.pepper).toUint8Array()}async function A0(J){let{aptosConfig:z,jwt:te,ephemeralKeyPair:Ae,pepper:xe=await uh(J),uidKey:tt="sub"}=J;if(O.fromHexInput(xe).toUint8Array().length!==za.PEPPER_LENGTH)throw new Error(`Pepper needs to be ${za.PEPPER_LENGTH} bytes`);let{maxExpHorizonSecs:vt}=await ms({aptosConfig:z}),ir=Tt.jwtDecode.call(void 0,te);if(typeof ir.iat!="number")throw new Error("iat was not found");if(vt<Ae.expiryDateSecs-ir.iat)throw Error(`The EphemeralKeyPair is too long lived.  It's lifespan must be less than ${vt}`);let zr={jwt_b64:te,epk:Ae.getPublicKey().bcsToHex().toStringWithoutPrefix(),epk_blinder:O.fromHexInput(Ae.blinder).toStringWithoutPrefix(),exp_date_secs:Ae.expiryDateSecs,exp_horizon_secs:vt,pepper:O.fromHexInput(xe).toStringWithoutPrefix(),uid_key:tt},{data:Gr}=await ps({aptosConfig:z,path:"prove",body:zr,originMethod:"getProof",overrides:{WITH_CREDENTIALS:!1}}),bn=Gr.proof,mi=new wi({a:bn.a,b:bn.b,c:bn.c});return new pi({proof:new Di(mi,0),trainingWheelsSignature:Bt.fromHex(Gr.training_wheels_signature),expHorizonSecs:vt})}async function h3(J){let{aptosConfig:z,jwt:te,jwkAddress:Ae,uidKey:xe,proofFetchCallback:tt,pepper:vt=await uh(J)}=J,ir=A0({...J,pepper:vt}),zr=tt?ir:await ir;if(Ae!==void 0){let mi=oo.fromJwtAndPepper({jwt:te,pepper:vt,jwkAddress:Ae,uidKey:xe}),$n=await qu({aptosConfig:z,authenticationKey:mi.authKey().derivedAddress()});return ju.create({...J,address:$n,proof:zr,pepper:vt,proofFetchCallback:tt,jwkAddress:Ae})}let Gr=Xr.fromJwtAndPepper({jwt:te,pepper:vt,uidKey:xe}),bn=await qu({aptosConfig:z,authenticationKey:Gr.authKey().derivedAddress()});return za.create({...J,address:bn,proof:zr,pepper:vt,proofFetchCallback:tt})}async function f3(J){let{aptosConfig:z,sender:te,iss:Ae}=J,xe=o(J.jwksUrl,()=>Ae.endsWith("/")?`${Ae}.well-known/jwks.json`:`${Ae}/.well-known/jwks.json`),tt=await fetch(xe);if(!tt.ok)throw new Error(`Failed to fetch JWKS: ${tt.status} ${tt.statusText}`);let vt=await tt.json();return Ti({aptosConfig:z,sender:te.accountAddress,data:{function:"0x1::jwks::update_federated_jwk_set",functionArguments:[Ae,it.MoveString(vt.keys.map(ir=>ir.kid)),it.MoveString(vt.keys.map(ir=>ir.alg)),it.MoveString(vt.keys.map(ir=>ir.e)),it.MoveString(vt.keys.map(ir=>ir.n))]}})}var T0=class{constructor(J){this.config=J}async getPepper(J){return uh({aptosConfig:this.config,...J})}async getProof(J){return A0({aptosConfig:this.config,...J})}async deriveKeylessAccount(J){return h3({aptosConfig:this.config,...J})}async updateFederatedKeylessJwkSetTransaction(J){return f3({aptosConfig:this.config,...J})}};async function p3(J){let{aptosConfig:z,options:te}=J,Ae={query:ba,variables:{where_condition:s([te,"optionalAccess",xe=>xe.where]),offset:s([te,"optionalAccess",xe=>xe.offset]),limit:s([te,"optionalAccess",xe=>xe.limit]),order_by:s([te,"optionalAccess",xe=>xe.orderBy])}};return(await Jn({aptosConfig:z,query:Ae,originMethod:"getObjectData"})).current_objects}async function g3(J){let{aptosConfig:z,objectAddress:te,options:Ae}=J,xe={object_address:{_eq:Fe.from(te).toStringLong()}};return(await p3({aptosConfig:z,options:{...Ae,where:xe}}))[0]}var C0=class{constructor(J){this.config=J}async getObjectDataByObjectAddress(J){return await ri({config:this.config,minimumLedgerVersion:J.minimumLedgerVersion,processorType:"objects_processor"}),g3({aptosConfig:this.config,...J})}},Xo=class{constructor(J){this.config=new Gp(J),this.account=new Hp(this.config),this.ans=new d0(this.config),this.coin=new qp(this.config),this.digitalAsset=new Yp(this.config),this.event=new $p(this.config),this.faucet=new n0(this.config),this.fungibleAsset=new i0(this.config),this.general=new o0(this.config),this.staking=new h0(this.config),this.transaction=new w0(this.config),this.table=new v0(this.config),this.keyless=new T0(this.config),this.object=new C0(this.config)}};function Es(J,z,te){Object.getOwnPropertyNames(z.prototype).forEach(Ae=>{let xe=Object.getOwnPropertyDescriptor(z.prototype,Ae);xe&&(xe.value=function(...tt){return this[te][Ae](...tt)},Object.defineProperty(J.prototype,Ae,xe))})}Es(Xo,Hp,"account"),Es(Xo,d0,"ans"),Es(Xo,qp,"coin"),Es(Xo,Yp,"digitalAsset"),Es(Xo,$p,"event"),Es(Xo,n0,"faucet"),Es(Xo,i0,"fungibleAsset"),Es(Xo,o0,"general"),Es(Xo,h0,"staking"),Es(Xo,w0,"transaction"),Es(Xo,v0,"table"),Es(Xo,T0,"keyless"),Es(Xo,C0,"object"),e.APTOS_BIP44_REGEX=bt,e.APTOS_COIN=Cn,e.APTOS_FA=Gn,e.APTOS_HARDENED_REGEX=Vt,e.AbstractKeylessAccount=Ls,e.Account=Tn,e.AccountAddress=Fe,e.AccountAuthenticator=Oi,e.AccountAuthenticatorEd25519=Ji,e.AccountAuthenticatorMultiEd25519=Wo,e.AccountAuthenticatorMultiKey=Yi,e.AccountAuthenticatorSingleKey=Bi,e.AccountAuthenticatorVariant=b,e.AccountPublicKey=Ze,e.AccountSequenceNumber=g0,e.AddressInvalidReason=_r,e.AnyPublicKey=Ii,e.AnyPublicKeyVariant=k,e.AnySignature=Ki,e.AnySignatureVariant=x,e.Aptos=Xo,e.AptosApiError=Ri,e.AptosApiType=ln,e.AptosConfig=Gp,e.AuthenticationKey=$t,e.Bool=Ne,e.CKDPriv=_t,e.ChainId=Hs,e.DEFAULT_MAX_GAS_AMOUNT=gn,e.DEFAULT_TXN_EXP_SEC_FROM_NOW=An,e.DEFAULT_TXN_TIMEOUT_SEC=mn,e.DeriveScheme=Pe,e.Deserializer=C,e.EPK_HORIZON_SECS=lt,e.Ed25519Account=Mr,e.Ed25519PrivateKey=Er,e.Ed25519PublicKey=hr,e.Ed25519Signature=mt,e.EntryFunction=xs,e.EntryFunctionBytes=H,e.EphemeralCertificate=cn,e.EphemeralCertificateVariant=M,e.EphemeralKeyPair=Wa,e.EphemeralPublicKey=pt,e.EphemeralPublicKeyVariant=S,e.EphemeralSignature=Bt,e.EphemeralSignatureVariant=f,e.FederatedKeylessAccount=ju,e.FederatedKeylessPublicKey=oo,e.FeePayerRawTransaction=Xs,e.FixedBytes=L,e.Groth16Zkp=wi,e.HARDENED_OFFSET=er,e.Hex=O,e.HexInvalidReason=A,e.Identifier=ki,e.KeyType=kt,e.KeylessAccount=za,e.KeylessConfiguration=Qn,e.KeylessPublicKey=Xr,e.KeylessSignature=ci,e.MAX_AUD_VAL_BYTES=xt,e.MAX_COMMITED_EPK_BYTES=on,e.MAX_EXTRA_FIELD_BYTES=br,e.MAX_ISS_VAL_BYTES=mr,e.MAX_JWT_HEADER_B64_BYTES=$r,e.MAX_UID_KEY_BYTES=Mt,e.MAX_UID_VAL_BYTES=ar,e.MimeType=F,e.ModuleId=eo,e.MoveAbility=fe,e.MoveFunctionVisibility=ee,e.MoveOption=Gt,e.MoveString=et,e.MoveVector=it,e.MultiAgentRawTransaction=Us,e.MultiAgentTransaction=Ft,e.MultiEd25519PublicKey=Ge,e.MultiEd25519Signature=ze,e.MultiKey=ko,e.MultiKeyAccount=Ka,e.MultiKeySignature=qi,e.MultiSig=Bo,e.MultiSigTransactionPayload=Ba,e.Network=ss,e.NetworkToChainId=Do,e.NetworkToFaucetAPI=Ps,e.NetworkToIndexerAPI=Ro,e.NetworkToNetworkName=Gi,e.NetworkToNodeAPI=co,e.NetworkToPepperAPI=Uo,e.NetworkToProverAPI=So,e.ParsingError=T,e.ProcessorType=uo,e.PublicKey=_e,e.RAW_TRANSACTION_SALT=qn,e.RAW_TRANSACTION_WITH_DATA_SALT=Hn,e.RawTransaction=xo,e.RawTransactionWithData=Js,e.RoleType=ie,e.RotationProofChallenge=Qs,e.Script=vs,e.ScriptTransactionArgumentVariants=l,e.Secp256k1PrivateKey=He,e.Secp256k1PublicKey=ut,e.Secp256k1Signature=at,e.Serializable=v,e.Serialized=Ye,e.Serializer=B,e.Signature=he,e.SignedTransaction=pe,e.SigningScheme=re,e.SigningSchemeInput=Oe,e.SimpleTransaction=We,e.SingleKeyAccount=Lr,e.StructTag=po,e.TransactionAndProof=gu,e.TransactionAuthenticator=Ni,e.TransactionAuthenticatorEd25519=Ws,e.TransactionAuthenticatorFeePayer=Re,e.TransactionAuthenticatorMultiAgent=Vo,e.TransactionAuthenticatorMultiEd25519=xa,e.TransactionAuthenticatorSingleSender=Se,e.TransactionAuthenticatorVariant=g,e.TransactionPayload=Xi,e.TransactionPayloadEntryFunction=Bs,e.TransactionPayloadMultiSig=qs,e.TransactionPayloadScript=ws,e.TransactionPayloadVariants=p,e.TransactionResponseType=D,e.TransactionVariants=E,e.TransactionWorker=b0,e.TransactionWorkerEventsEnum=y0,e.TypeTag=vi,e.TypeTagAddress=gi,e.TypeTagBool=xi,e.TypeTagGeneric=di,e.TypeTagParserError=yo,e.TypeTagParserErrorType=Rp,e.TypeTagReference=Ms,e.TypeTagSigner=li,e.TypeTagStruct=Sn,e.TypeTagU128=Fo,e.TypeTagU16=jn,e.TypeTagU256=zo,e.TypeTagU32=Xn,e.TypeTagU64=_n,e.TypeTagU8=ao,e.TypeTagVariants=G,e.TypeTagVector=Ei,e.U128=wt,e.U16=Je,e.U256=Ie,e.U32=ft,e.U64=Kt,e.U8=Xe,e.ZeroKnowledgeSig=pi,e.ZkProof=Di,e.ZkpVariant=V,e.aptosCoinStructTag=bs,e.aptosRequest=mo,e.base64UrlDecode=n.e,e.bigIntToBytesLE=dr,e.buildTransaction=Vd,e.bytesToBigIntLE=Cr,e.checkOrConvertArgument=ic,e.convertAmountFromHumanReadableToOnChain=n.f,e.convertAmountFromOnChainToHumanReadable=n.g,e.convertArgument=jd,e.convertNumber=Dl,e.createObjectAddress=Gs,e.createResourceAddress=hu,e.createTokenAddress=Pa,e.deriveKey=Hr,e.deriveTransactionType=nr,e.deserializeFromScriptArgument=ma,e.ensureBoolean=R,e.fetchEntryFunctionAbi=Up,e.fetchFunctionAbi=zd,e.fetchViewFunctionAbi=Dp,e.findFirstNonSignerArg=Pp,e.floorToWholeHour=n.d,e.generateRawTransaction=Fp,e.generateSignedTransaction=Jd,e.generateSignedTransactionForSimulation=jp,e.generateSigningMessage=sr,e.generateSigningMessageForSerializable=pr,e.generateSigningMessageForTransaction=Xt,e.generateTransactionPayload=Hl,e.generateTransactionPayloadWithABI=_p,e.generateUserTransactionHash=N2,e.generateViewFunctionPayload=Wp,e.generateViewFunctionPayloadWithABI=Lp,e.get=Mi,e.getAptosFullNode=bi,e.getAptosPepperService=wo,e.getAuthenticatorForSimulation=tl,e.getFunctionParts=Xc,e.getKeylessConfig=ms,e.hashStrToField=Be,e.hashValues=Yd,e.isBcsAddress=zl,e.isBcsBool=Cd,e.isBcsFixedBytes=Op,e.isBcsString=Sd,e.isBcsU128=Ld,e.isBcsU16=Pd,e.isBcsU256=Fd,e.isBcsU32=_d,e.isBcsU64=Wd,e.isBcsU8=Id,e.isBlockEpilogueTransactionResponse=q,e.isBlockMetadataTransactionResponse=de,e.isBool=hp,e.isCanonicalEd25519Signature=yt,e.isEd25519Signature=ne,e.isEmptyOption=pp,e.isEncodedEntryFunctionArgument=gp,e.isEncodedStruct=n.i,e.isFeePayerSignature=ge,e.isGenesisTransactionResponse=oe,e.isLargeNumber=_l,e.isMultiAgentSignature=ve,e.isMultiEd25519Signature=ce,e.isNumber=fp,e.isPendingTransactionResponse=j,e.isScriptDataInput=kp,e.isSecp256k1Signature=me,e.isStateCheckpointTransactionResponse=ue,e.isString=yu,e.isUserTransactionResponse=Y,e.isValidBIP44Path=Et,e.isValidHardenedPath=qt,e.isValidatorTransactionResponse=ae,e.mnemonicToSeed=Ce,e.normalizeBundle=Io,e.nowInSeconds=n.c,e.objectStructTag=Pi,e.optionStructTag=Vs,e.outOfRangeErrorMessage=U,e.padAndPackBytesWithLen=Ve,e.paginateWithCursor=vo,e.parseEncodedStruct=n.h,e.parseTypeTag=ec,e.poseidonHash=jr,e.post=Vi,e.postAptosFaucet=ro,e.postAptosFullNode=Eo,e.postAptosIndexer=Oo,e.postAptosPepperService=js,e.postAptosProvingService=ps,e.promiseFulfilledStatus=ah,e.request=ds,e.sleep=n.b,e.splitPath=qr,e.standardizeTypeTags=Kl,e.stringStructTag=Rn,e.throwTypeMismatch=ji,e.validateNumberInRange=N}),y1=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});function t(g){Object.keys(g).filter(b=>b!=="default"&&b!=="__esModule").forEach(b=>{e.hasOwnProperty(b)||Object.defineProperty(e,b,{enumerable:!0,configurable:!0,get:()=>g[b]})})}function r(g,b){return g??b()}function o(g){let b,k=g[0],x=1;for(;x<g.length;){let S=g[x],f=g[x+1];if(x+=2,(S==="optionalAccess"||S==="optionalCall")&&k==null)return;S==="access"||S==="optionalAccess"?(b=k,k=f(k)):(S==="call"||S==="optionalCall")&&(k=f((...M)=>k.call(b,...M)),b=void 0)}return k}var s=h7();t(s);var i=Nr(),n=class uy extends i.Serializable{constructor({address:b,publicKey:k,ansName:x}){super(),this.address=i.AccountAddress.from(b),this.publicKey=k,this.ansName=x}serialize(b){if(this.address.serialize(b),this.publicKey instanceof i.Ed25519PublicKey)b.serializeU32AsUleb128(i.SigningScheme.Ed25519);else if(this.publicKey instanceof i.MultiEd25519PublicKey)b.serializeU32AsUleb128(i.SigningScheme.MultiEd25519);else if(this.publicKey instanceof i.AnyPublicKey)b.serializeU32AsUleb128(i.SigningScheme.SingleKey);else if(this.publicKey instanceof i.MultiKey)b.serializeU32AsUleb128(i.SigningScheme.MultiKey);else throw new Error("Unsupported public key");this.publicKey.serialize(b),b.serializeStr(r(this.ansName,()=>""))}static deserialize(b){let k=i.AccountAddress.deserialize(b),x=b.deserializeUleb128AsU32(),S;switch(x){case i.SigningScheme.Ed25519:S=i.Ed25519PublicKey.deserialize(b);break;case i.SigningScheme.MultiEd25519:S=i.MultiEd25519PublicKey.deserialize(b);break;case i.SigningScheme.SingleKey:S=i.AnyPublicKey.deserialize(b);break;case i.SigningScheme.MultiKey:S=i.MultiKey.deserialize(b);break;default:throw new Error(`Unknown variant index for WrappedPublicKey: ${x}`)}let f=b.deserializeStr()||void 0;return new uy({address:k,publicKey:S,ansName:f})}},a="aptos:devnet",u=e.APTOS_TESTNET_CHAIN="aptos:testnet",c=e.APTOS_LOCALNET_CHAIN="aptos:localnet",d=e.APTOS_MAINNET_CHAIN="aptos:mainnet",h=e.APTOS_CHAINS=[a,u,c,d],y=["aptos:account","aptos:connect","aptos:disconnect","aptos:network","aptos:onAccountChange","aptos:onNetworkChange","aptos:signMessage","aptos:signTransaction"];function C(g,b=[]){return[...y,...b].every(k=>k in g.features)}function w(){let{get:g,on:b}=s.getWallets.call(void 0),k=g(),x=[];return k.map(S=>{C(S)&&x.push(S)}),{aptosWallets:x,on:b}}var T=(g=>(g[g.Unauthorized=4100]="Unauthorized",g[g.Unsupported=4200]="Unsupported",g[g.InternalError=-30001]="InternalError",g))(T||{}),A=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."}}),O=e.AptosWalletError=class cy extends Error{constructor(b,k){super(r(r(k,()=>o([A,"access",x=>x[b],"optionalAccess",x=>x.message])),()=>"Unknown error occurred")),this.code=b,this.status=r(o([A,"access",x=>x[b],"optionalAccess",x=>x.status]),()=>"Unknown error"),this.name="AptosWalletError",Object.setPrototypeOf(this,cy.prototype)}},v="aptos:signAndSubmitTransaction",B="aptos:signMessage",R="aptos:account",U="aptos:connect",N="aptos:network",_="aptos:onAccountChange",L="aptos:onNetworkChange",H="aptos:changeNetwork",F="aptos:disconnect",G="aptos:signTransaction",l="aptos:openInMobileApp",p="aptos:signIn",E=(g=>(g.APPROVED="Approved",g.REJECTED="Rejected",g))(E||{});e.APTOS_CHAINS=h,e.APTOS_DEVNET_CHAIN=a,e.APTOS_LOCALNET_CHAIN=c,e.APTOS_MAINNET_CHAIN=d,e.APTOS_TESTNET_CHAIN=u,e.AccountInfo=n,e.AptosChangeNetworkNamespace=H,e.AptosConnectNamespace=U,e.AptosDisconnectNamespace=F,e.AptosGetAccountNamespace=R,e.AptosGetNetworkNamespace=N,e.AptosOnAccountChangeNamespace=_,e.AptosOnNetworkChangeNamespace=L,e.AptosOpenInMobileAppNamespace=l,e.AptosSignAndSubmitTransactionNamespace=v,e.AptosSignInNamespace=p,e.AptosSignMessageNamespace=B,e.AptosSignTransactionNamespace=G,e.AptosWalletError=O,e.AptosWalletErrorCode=T,e.AptosWalletErrors=A,e.UserResponseStatus=E,e.getAptosWallets=w,e.isWalletWithRequiredFeatureSet=C}),MLe=W((e,t)=>{m(),(function(r,o){"use strict";typeof t<"u"&&t.exports?t.exports=o(oh()):r.ed2curve=o(r.nacl)})(e,function(r){"use strict";if(!r)throw new Error("tweetnacl not loaded");var o=function(G){var l,p=new Float64Array(16);if(G)for(l=0;l<G.length;l++)p[l]=G[l];return p},s=o(),i=o([1]),n=o([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),a=o([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function u(G){var l,p;for(p=0;p<16;p++)G[p]+=65536,l=Math.floor(G[p]/65536),G[(p+1)*(p<15?1:0)]+=l-1+37*(l-1)*(p===15?1:0),G[p]-=l*65536}function c(G,l,p){for(var E,g=~(p-1),b=0;b<16;b++)E=g&(G[b]^l[b]),G[b]^=E,l[b]^=E}function d(G,l){var p;for(p=0;p<16;p++)G[p]=l[2*p]+(l[2*p+1]<<8);G[15]&=32767}function h(G,l,p){var E;for(E=0;E<16;E++)G[E]=l[E]+p[E]|0}function y(G,l,p){var E;for(E=0;E<16;E++)G[E]=l[E]-p[E]|0}function C(G,l,p){var E,g,b=new Float64Array(31);for(E=0;E<31;E++)b[E]=0;for(E=0;E<16;E++)for(g=0;g<16;g++)b[E+g]+=l[E]*p[g];for(E=0;E<15;E++)b[E]+=38*b[E+16];for(E=0;E<16;E++)G[E]=b[E];u(G),u(G)}function w(G,l){C(G,l,l)}function T(G,l){var p=o(),E;for(E=0;E<16;E++)p[E]=l[E];for(E=253;E>=0;E--)w(p,p),E!==2&&E!==4&&C(p,p,l);for(E=0;E<16;E++)G[E]=p[E]}function A(G,l){var p,E,g,b=o(),k=o();for(p=0;p<16;p++)k[p]=l[p];for(u(k),u(k),u(k),E=0;E<2;E++){for(b[0]=k[0]-65517,p=1;p<15;p++)b[p]=k[p]-65535-(b[p-1]>>16&1),b[p-1]&=65535;b[15]=k[15]-32767-(b[14]>>16&1),g=b[15]>>16&1,b[14]&=65535,c(k,b,1-g)}for(p=0;p<16;p++)G[2*p]=k[p]&255,G[2*p+1]=k[p]>>8}function O(G){var l=new Uint8Array(32);return A(l,G),l[0]&1}function v(G,l,p,E,g){var b,k=0;for(b=0;b<g;b++)k|=G[l+b]^p[E+b];return(1&k-1>>>8)-1}function B(G,l,p,E){return v(G,l,p,E,32)}function R(G,l){var p=new Uint8Array(32),E=new Uint8Array(32);return A(p,G),A(E,l),B(p,0,E,0)}function U(G,l){var p=o(),E;for(E=0;E<16;E++)p[E]=l[E];for(E=250;E>=0;E--)w(p,p),E!==1&&C(p,p,l);for(E=0;E<16;E++)G[E]=p[E]}function N(G,l){var p;for(p=0;p<16;p++)G[p]=l[p]|0}function _(G,l){var p=o(),E=o(),g=o(),b=o(),k=o(),x=o(),S=o();return N(G[2],i),d(G[1],l),w(g,G[1]),C(b,g,n),y(g,g,G[2]),h(b,G[2],b),w(k,b),w(x,k),C(S,x,k),C(p,S,g),C(p,p,b),U(p,p),C(p,p,g),C(p,p,b),C(p,p,b),C(G[0],p,b),w(E,G[0]),C(E,E,b),R(E,g)&&C(G[0],G[0],a),w(E,G[0]),C(E,E,b),R(E,g)?-1:(O(G[0])===l[31]>>7&&y(G[0],s,G[0]),C(G[3],G[0],G[1]),0)}function L(G){var l=new Uint8Array(32),p=[o(),o(),o(),o()],E=o(),g=o();if(_(p,G))return null;var b=p[1];return h(E,i,b),y(g,i,b),T(g,g),C(E,E,g),A(l,E),l}function H(G){var l=new Uint8Array(64),p=new Uint8Array(32),E;for(r.lowlevel.crypto_hash(l,G,32),l[0]&=248,l[31]&=127,l[31]|=64,E=0;E<32;E++)p[E]=l[E];for(E=0;E<64;E++)l[E]=0;return p}function F(G){var l=L(G.publicKey);return l?{publicKey:l,secretKey:H(G.secretKey)}:null}return{convertPublicKey:L,convertSecretKey:H,convertKeyPair:F}})}),qLe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});function t(g){Object.keys(g).filter(b=>b!=="default"&&b!=="__esModule").forEach(b=>{e.hasOwnProperty(b)||Object.defineProperty(e,b,{enumerable:!0,configurable:!0,get:()=>g[b]})})}function r(g,b){return g??b()}function o(g){let b,k=g[0],x=1;for(;x<g.length;){let S=g[x],f=g[x+1];if(x+=2,(S==="optionalAccess"||S==="optionalCall")&&k==null)return;S==="access"||S==="optionalAccess"?(b=k,k=f(k)):(S==="call"||S==="optionalCall")&&(k=f((...M)=>k.call(b,...M)),b=void 0)}return k}var s=h7();t(s);var i=Nr(),n=class ly extends i.Serializable{constructor({address:b,publicKey:k,ansName:x}){super(),this.address=i.AccountAddress.from(b),this.publicKey=k,this.ansName=x}serialize(b){if(this.address.serialize(b),this.publicKey instanceof i.Ed25519PublicKey)b.serializeU32AsUleb128(i.SigningScheme.Ed25519);else if(this.publicKey instanceof i.MultiEd25519PublicKey)b.serializeU32AsUleb128(i.SigningScheme.MultiEd25519);else if(this.publicKey instanceof i.AnyPublicKey)b.serializeU32AsUleb128(i.SigningScheme.SingleKey);else if(this.publicKey instanceof i.MultiKey)b.serializeU32AsUleb128(i.SigningScheme.MultiKey);else throw new Error("Unsupported public key");this.publicKey.serialize(b),b.serializeStr(r(this.ansName,()=>""))}static deserialize(b){let k=i.AccountAddress.deserialize(b),x=b.deserializeUleb128AsU32(),S;switch(x){case i.SigningScheme.Ed25519:S=i.Ed25519PublicKey.deserialize(b);break;case i.SigningScheme.MultiEd25519:S=i.MultiEd25519PublicKey.deserialize(b);break;case i.SigningScheme.SingleKey:S=i.AnyPublicKey.deserialize(b);break;case i.SigningScheme.MultiKey:S=i.MultiKey.deserialize(b);break;default:throw new Error(`Unknown variant index for WrappedPublicKey: ${x}`)}let f=b.deserializeStr()||void 0;return new ly({address:k,publicKey:S,ansName:f})}},a="aptos:devnet",u=e.APTOS_TESTNET_CHAIN="aptos:testnet",c=e.APTOS_LOCALNET_CHAIN="aptos:localnet",d=e.APTOS_MAINNET_CHAIN="aptos:mainnet",h=e.APTOS_CHAINS=[a,u,c,d],y=["aptos:account","aptos:connect","aptos:disconnect","aptos:network","aptos:onAccountChange","aptos:onNetworkChange","aptos:signMessage","aptos:signTransaction"];function C(g,b=[]){return[...y,...b].every(k=>k in g.features)}function w(){let{get:g,on:b}=s.getWallets.call(void 0),k=g(),x=[];return k.map(S=>{C(S)&&x.push(S)}),{aptosWallets:x,on:b}}var T=(g=>(g[g.Unauthorized=4100]="Unauthorized",g[g.Unsupported=4200]="Unsupported",g[g.InternalError=-30001]="InternalError",g))(T||{}),A=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."}}),O=e.AptosWalletError=class dy extends Error{constructor(b,k){super(r(r(k,()=>o([A,"access",x=>x[b],"optionalAccess",x=>x.message])),()=>"Unknown error occurred")),this.code=b,this.status=r(o([A,"access",x=>x[b],"optionalAccess",x=>x.status]),()=>"Unknown error"),this.name="AptosWalletError",Object.setPrototypeOf(this,dy.prototype)}},v="aptos:signAndSubmitTransaction",B="aptos:signMessage",R="aptos:account",U="aptos:connect",N="aptos:network",_="aptos:onAccountChange",L="aptos:onNetworkChange",H="aptos:changeNetwork",F="aptos:disconnect",G="aptos:signTransaction",l="aptos:openInMobileApp",p="aptos:signIn",E=(g=>(g.APPROVED="Approved",g.REJECTED="Rejected",g))(E||{});e.APTOS_CHAINS=h,e.APTOS_DEVNET_CHAIN=a,e.APTOS_LOCALNET_CHAIN=c,e.APTOS_MAINNET_CHAIN=d,e.APTOS_TESTNET_CHAIN=u,e.AccountInfo=n,e.AptosChangeNetworkNamespace=H,e.AptosConnectNamespace=U,e.AptosDisconnectNamespace=F,e.AptosGetAccountNamespace=R,e.AptosGetNetworkNamespace=N,e.AptosOnAccountChangeNamespace=_,e.AptosOnNetworkChangeNamespace=L,e.AptosOpenInMobileAppNamespace=l,e.AptosSignAndSubmitTransactionNamespace=v,e.AptosSignInNamespace=p,e.AptosSignMessageNamespace=B,e.AptosSignTransactionNamespace=G,e.AptosWalletError=O,e.AptosWalletErrorCode=T,e.AptosWalletErrors=A,e.UserResponseStatus=E,e.getAptosWallets=w,e.isWalletWithRequiredFeatureSet=C}),wFe=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(Ue,Ge)=>{for(var Me in Ge)r(Ue,Me,{get:Ge[Me],enumerable:!0})},a=(Ue,Ge,Me,ze)=>{if(Ge&&typeof Ge=="object"||typeof Ge=="function")for(let Le of s(Ge))!i.call(Ue,Le)&&Le!==Me&&r(Ue,Le,{get:()=>Ge[Le],enumerable:!(ze=o(Ge,Le))||ze.enumerable});return Ue},u=Ue=>a(r({},"__esModule",{value:!0}),Ue),c={};n(c,{ConnectRequest:()=>ee,ConnectResponse:()=>Xe,DisconnectRequest:()=>Je,DisconnectResponse:()=>ft,EntryFunctionArgumentVariant:()=>x,GetConnectedAccountsRequest:()=>_r,GetConnectedAccountsResponse:()=>jt,IsConnectedRequest:()=>Fe,IsConnectedResponse:()=>Pr,PromptApprovalResponseMessage:()=>Ze,PromptConnectionRequestMessage:()=>Wt,PromptConnectionResponseMessage:()=>Ce,PromptUnauthorizedErrorMessage:()=>Ke,SignAndSubmitTransactionRequest:()=>Qt,SignAndSubmitTransactionResponse:()=>At,SignInRequest:()=>Ie,SignInResponse:()=>Rt,SignMessageRequest:()=>tr,SignMessageResponse:()=>Vt,SignTransactionRequest:()=>kt,SignTransactionResponse:()=>Et,TransactionPayloadInputVariant:()=>Y,base64ToBytes:()=>d,base64urlToBytes:()=>y,bytesToBase64:()=>h,bytesToBase64url:()=>C,chainIdToNetwork:()=>T,decodePopupWalletRequest:()=>Qe,decodeWalletRequestBody:()=>Br,deserializeAccountAuthenticatorInput:()=>U,deserializeAccountInfo:()=>G,deserializeAccountInput:()=>E,deserializeDappInfo:()=>b,deserializeEntryFunctionArgument:()=>f,deserializePublicKey:()=>H,deserializeSignature:()=>D,deserializeTransactionPayloadInput:()=>ne,deserializeWalletRequest:()=>ve,deserializeWalletRequestWithArgs:()=>ce,deserializeWalletResponse:()=>Ne,encodePopupWalletRequest:()=>Er,encodeWalletRequestBody:()=>hr,isSupportedNetwork:()=>A,isTypedMessage:()=>qt,makePopupWalletRequestChallenge:()=>mt,makeUserApproval:()=>fe,makeUserResponseDeserializeFn:()=>re,makeUserResponseSerializeFn:()=>ie,serializeAccountAuthenticatorInput:()=>R,serializeAccountInfo:()=>F,serializeAccountInput:()=>p,serializeDappInfo:()=>g,serializeEntryFunctionArgument:()=>S,serializePublicKey:()=>L,serializeSignature:()=>V,serializeTransactionPayloadInput:()=>q,serializeWalletRequest:()=>me,serializeWalletRequestWithArgs:()=>ge,serializeWalletResponse:()=>Pe,urlDecodeWalletRequest:()=>yt,urlEncodeWalletRequest:()=>Ht}),t.exports=u(c);function d(Ue){let Ge=atob(Ue);return Uint8Array.from(Ge,Me=>Me.charCodeAt(0))}function h(Ue){let Ge=String.fromCharCode(...Ue);return btoa(Ge)}function y(Ue){return d(Ue.replace(/-/g,"+").replace(/_/g,"/"))}function C(Ue){return h(Ue).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}var w=Nr();function T(Ue){switch(Ue){case w.NetworkToChainId.mainnet:return w.Network.MAINNET;case w.NetworkToChainId.testnet:return w.Network.TESTNET;default:return w.Network.DEVNET}}function A(Ue){return[w.Network.MAINNET,w.Network.TESTNET,w.Network.DEVNET].includes(Ue)}var O=Nr(),v=Nr(),B=Nr();function R(Ue,Ge){Ue.serialize(Ge.address),Ue.serialize(Ge.authenticator)}function U(Ue){let Ge=Ue.deserialize(B.AccountAddress),Me=Ue.deserialize(B.AccountAuthenticator);return{address:Ge,authenticator:Me}}var N=Nr(),_=Nr();function L(Ue,Ge){if(Ge instanceof _.Ed25519PublicKey)Ue.serializeU32AsUleb128(_.SigningScheme.Ed25519);else if(Ge instanceof _.MultiEd25519PublicKey)Ue.serializeU32AsUleb128(_.SigningScheme.MultiEd25519);else if(Ge instanceof _.AnyPublicKey)Ue.serializeU32AsUleb128(_.SigningScheme.SingleKey);else if(Ge instanceof _.MultiKey)Ue.serializeU32AsUleb128(_.SigningScheme.MultiKey);else throw new Error("Unexpected public key type");Ue.serialize(Ge)}function H(Ue){let Ge=Ue.deserializeUleb128AsU32();switch(Ge){case _.SigningScheme.Ed25519:return Ue.deserialize(_.Ed25519PublicKey);case _.SigningScheme.MultiEd25519:return Ue.deserialize(_.MultiEd25519PublicKey);case _.SigningScheme.SingleKey:return Ue.deserialize(_.AnyPublicKey);case _.SigningScheme.MultiKey:return Ue.deserialize(_.MultiKey);default:throw new Error(`Unknown signing scheme: ${Ge}`)}}function F(Ue,Ge){Ue.serialize(Ge.address),L(Ue,Ge.publicKey),Ue.serializeStr(Ge.name??"")}function G(Ue){let Ge=Ue.deserialize(N.AccountAddress),Me=H(Ue),ze=Ue.deserializeStr();return{address:Ge,publicKey:Me,...ze.length>0?{name:ze}:void 0}}var l=Nr();function p(Ue,Ge){Ue.serialize(Ge.address),Ue.serializeBool(Ge.publicKey!==void 0),Ge.publicKey&&L(Ue,Ge.publicKey)}function E(Ue){let Ge=Ue.deserialize(l.AccountAddress),Me=Ue.deserializeBool()?H(Ue):void 0;return{address:Ge,publicKey:Me}}function g(Ue,Ge){Ue.serializeStr(Ge.domain),Ue.serializeStr(Ge.name),Ue.serializeBool(Ge.imageURI!==void 0),Ge.imageURI!==void 0&&Ue.serializeStr(Ge.imageURI)}function b(Ue){let Ge=Ue.deserializeStr(),Me=Ue.deserializeStr(),ze=Ue.deserializeBool()?Ue.deserializeStr():void 0;return{domain:Ge,imageURI:ze,name:Me}}var k=Nr(),x=(Ue=>(Ue[Ue.Undefined=0]="Undefined",Ue[Ue.Array=1]="Array",Ue[Ue.String=2]="String",Ue[Ue.Uint8Array=3]="Uint8Array",Ue[Ue.AccountAddress=4]="AccountAddress",Ue[Ue.FixedBytes=5]="FixedBytes",Ue))(x||{});function S(Ue,Ge){if(Ge==null){Ue.serializeU32AsUleb128(0);return}if(Array.isArray(Ge)){Ue.serializeU32AsUleb128(1),Ue.serializeU32AsUleb128(Ge.length);for(let Me of Ge)S(Ue,Me);return}if(typeof Ge=="string"||typeof Ge=="number"||typeof Ge=="boolean"||typeof Ge=="bigint"){Ue.serializeU32AsUleb128(2),Ue.serializeStr(Ge.toString());return}if(Ge instanceof Uint8Array){Ue.serializeU32AsUleb128(3),Ue.serializeBytes(Ge);return}if(Ge instanceof ArrayBuffer){Ue.serializeU32AsUleb128(3),Ue.serializeBytes(new Uint8Array(Ge));return}if("values"in Ge){Ue.serializeU32AsUleb128(1),Ue.serializeU32AsUleb128(Ge.values.length);for(let Me of Ge.values)S(Ue,Me);return}if("data"in Ge){Ue.serializeU32AsUleb128(4),Ue.serialize(Ge);return}if(Ge.value===void 0){Ue.serializeU32AsUleb128(0),Ue.serialize(Ge);return}if(Ge.value instanceof Uint8Array){Ue.serializeU32AsUleb128(5),Ue.serializeBytes(Ge.value);return}Ue.serializeU32AsUleb128(2),Ue.serializeStr(Ge.value.toString())}function f(Ue){switch(Ue.deserializeUleb128AsU32()){case 0:return;case 1:{let Ge=Ue.deserializeUleb128AsU32(),Me=[];for(let ze=0;ze<Ge;ze+=1){let Le=f(Ue);Me.push(Le)}return Me}case 3:return Ue.deserializeBytes();case 4:return Ue.deserialize(k.AccountAddress);case 2:return Ue.deserializeStr();case 5:{let Ge=Ue.deserializeBytes();return new k.FixedBytes(Ge)}default:throw new Error("Unexpected variant")}}var M=Nr();function V(Ue,Ge){if(Ge instanceof M.Ed25519Signature)Ue.serializeU32AsUleb128(M.SigningScheme.Ed25519);else if(Ge instanceof M.MultiEd25519Signature)Ue.serializeU32AsUleb128(M.SigningScheme.MultiEd25519);else if(Ge instanceof M.AnySignature)Ue.serializeU32AsUleb128(M.SigningScheme.SingleKey);else throw new Error("Unexpected signature type");Ue.serialize(Ge)}function D(Ue){let Ge=Ue.deserializeUleb128AsU32();switch(Ge){case M.SigningScheme.Ed25519:return Ue.deserialize(M.Ed25519Signature);case M.SigningScheme.MultiEd25519:return Ue.deserialize(M.MultiEd25519Signature);case M.SigningScheme.SingleKey:return Ue.deserialize(M.AnySignature);default:throw new Error(`Unknown signing scheme: ${Ge}`)}}var j=Nr(),Y=(Ue=>(Ue[Ue.EntryFunction=0]="EntryFunction",Ue[Ue.Script=1]="Script",Ue[Ue.Multisig=2]="Multisig",Ue))(Y||{});function oe(Ue,Ge){Ue.serializeU32AsUleb128(Ge.length);for(let Me of Ge){let ze=typeof Me=="string"?(0,j.parseTypeTag)(Me,{allowGenerics:!0}):Me;Ue.serialize(ze)}}function de(Ue){let Ge=[],Me=Ue.deserializeUleb128AsU32();for(let ze=0;ze<Me;ze+=1){let Le=Ue.deserialize(j.TypeTag);Ge.push(Le)}return Ge}function ue(Ue,Ge){Ue.serializeU32AsUleb128(Ge.length);for(let Me of Ge)S(Ue,Me)}function ae(Ue){let Ge=Ue.deserializeUleb128AsU32(),Me=[];for(let ze=0;ze<Ge;ze+=1){let Le=f(Ue);Me.push(Le)}return Me}function q(Ue,Ge){if("multisigAddress"in Ge){Ue.serializeU32AsUleb128(2),Ue.serializeStr(Ge.function),ue(Ue,Ge.functionArguments),oe(Ue,Ge.typeArguments??[]);let Me=j.AccountAddress.from(Ge.multisigAddress);Ue.serialize(Me)}else if("function"in Ge)Ue.serializeU32AsUleb128(0),Ue.serializeStr(Ge.function),ue(Ue,Ge.functionArguments),oe(Ue,Ge.typeArguments??[]);else{Ue.serializeU32AsUleb128(1);let Me=j.Hex.fromHexInput(Ge.bytecode);Ue.serializeBytes(Me.toUint8Array()),Ue.serializeU32AsUleb128(Ge.functionArguments.length);for(let ze of Ge.functionArguments)ze.serializeForScriptFunction(Ue);oe(Ue,Ge.typeArguments??[])}}function ne(Ue){switch(Ue.deserializeUleb128AsU32()){case 2:{let Ge=Ue.deserializeStr(),Me=ae(Ue),ze=de(Ue),Le=Ue.deserialize(j.AccountAddress);return{function:Ge,functionArguments:Me,multisigAddress:Le,typeArguments:ze}}case 0:{let Ge=Ue.deserializeStr(),Me=ae(Ue),ze=de(Ue);return{function:Ge,functionArguments:Me,typeArguments:ze}}case 1:{let Ge=Ue.deserializeBytes(),Me=Ue.deserializeUleb128AsU32(),ze=[];for(let rt=0;rt<Me;rt+=1){let ht=(0,j.deserializeFromScriptArgument)(Ue);ze.push(ht)}let Le=de(Ue);return{bytecode:Ge,functionArguments:ze,typeArguments:Le}}default:throw new Error("Unexpected variant")}}function me({dappInfo:Ue,name:Ge,version:Me}){let ze=new v.Serializer;return g(ze,Ue),{data:ze.toUint8Array(),name:Ge,version:Me}}function ve({data:Ue,name:Ge,version:Me}){let ze=new v.Deserializer(Ue);return{dappInfo:b(ze),name:Ge,version:Me}}function ge({args:Ue,dappInfo:Ge,name:Me,version:ze},Le){let rt=new v.Serializer;return g(rt,Ge),Le(rt,Ue),{data:rt.toUint8Array(),name:Me,version:ze}}function ce({data:Ue,name:Ge,version:Me},ze){let Le=new v.Deserializer(Ue),rt=b(Le);return{args:ze(Le),dappInfo:rt,name:Ge,version:Me}}var ee;(Ue=>{Ue.name="connect",Ue.supportedVersions=[1,2,3,4],Ue.currentVersion=4;function Ge(ht,ut){if(ht.serializeOptionStr(ut.dappId),ht.serializeOptionStr(ut.dappEd25519PublicKeyB64),ht.serializeOptionStr(ut.preferredWalletName),ht.serializeBool(ut.claimOptions!==void 0),ut.claimOptions&&(ht.serialize(ut.claimOptions.secretKey),ht.serializeStr(ut.claimOptions.network),ht.serializeOptionStr(ut.claimOptions.asset),!A(ut.claimOptions.network)))throw new Error(`Unsupported network '${ut.claimOptions.network}'`)}Ue.serializeArgs=Ge;function Me(ht,ut){if(ut===1)return{};let Dt=ht.deserializeOption("string"),He=ht.deserializeOption("string"),nt=ut>=3?ht.deserializeOption("string"):void 0,at=ut>=4?ht.deserializeBool():!1,Tt;if(at){let pt=ht.deserialize(O.Ed25519PrivateKey),Bt=ht.deserializeStr(),Zt=ht.deserializeOption("string");if(!A(Bt))throw new Error(`Unsupported network '${Bt}'`);Tt={asset:Zt,network:Bt,secretKey:pt}}return{claimOptions:Tt,dappEd25519PublicKeyB64:He,dappId:Dt,preferredWalletName:nt}}Ue.deserializeArgs=Me;function ze(ht,ut={}){return ge({args:ut,dappInfo:ht,name:Ue.name,version:Ue.currentVersion},Ge)}Ue.serialize=ze;function Le(ht){return ce(ht,ut=>Me(ut,ht.version))}Ue.deserialize=Le;function rt(ht){return ht.name===Ue.name&&Ue.supportedVersions.includes(ht.version)}Ue.isSerialized=rt})(ee||(ee={}));function fe(Ue){return{args:Ue,status:"approved"}}function ie(Ue){return(Ge,Me)=>{Ge.serializeBool(Me.status==="approved"),Me.status==="approved"&&Ue(Ge,Me.args)}}function re(Ue){return Ge=>Ge.deserializeBool()?{args:Ue(Ge),status:"approved"}:{status:"dismissed"}}var Oe=Nr();function Pe(Ue,Ge){let Me=new Oe.Serializer;return Ge(Me,Ue),{data:Me.toUint8Array()}}function Ne({data:Ue},Ge){let Me=new Oe.Deserializer(Ue);return{args:Ge(Me)}}var Xe;(Ue=>{Ue.supportedVersions=[1,2],Ue.currentVersion=2;function Ge(He,nt){F(He,nt.account)}function Me(He,nt){F(He,nt.account),He.serializeOptionStr(nt.pairing!==void 0?JSON.stringify(nt.pairing):void 0)}function ze(He){let nt=G(He),at=He.deserializeOption("string"),Tt=at!==void 0?JSON.parse(at):void 0;return{account:nt,pairing:Tt}}let Le=ie(Ge),rt=ie(Me),ht=re(ze);function ut(He,nt=Ue.currentVersion){return Pe(He,nt===1?Le:rt)}Ue.serialize=ut;function Dt(He){return Ne(He,ht)}Ue.deserialize=Dt})(Xe||(Xe={}));var Je;(Ue=>{Ue.name="disconnect",Ue.currentVersion=1;function Ge(Le){return me({dappInfo:Le,name:Ue.name,version:Ue.currentVersion})}Ue.serialize=Ge;function Me(Le){return ve(Le)}Ue.deserialize=Me;function ze(Le){return Le.name===Ue.name&&Le.version===Ue.currentVersion}Ue.isSerialized=ze})(Je||(Je={}));var ft;(Ue=>{function Ge(ze){return Pe(ze,()=>{})}Ue.serialize=Ge;function Me(ze){return Ne(ze,()=>({}))}Ue.deserialize=Me})(ft||(ft={}));function Kt(Ue,Ge){Ue.serializeStr(JSON.stringify(Ge))}function wt(Ue){return JSON.parse(Ue.deserializeStr())}var Ie;(Ue=>{Ue.name="signIn",Ue.supportedVersions=[1,2],Ue.currentVersion=2;function Ge(ht,ut){if(ut.network!==void 0&&!A(ut.network))throw new Error(`Unsupported network '${ut.network}' in SignInRequest.serializeArgs`);Kt(ht,ut),ht.serializeStr(ut.network)}Ue.serializeArgs=Ge;function Me(ht,ut){return{...wt(ht),network:ht.deserializeStr()}}Ue.deserializeArgs=Me;function ze(ht,ut){return ge({args:ut,dappInfo:ht,name:Ue.name,version:Ue.currentVersion},Ge)}Ue.serialize=ze;function Le(ht){return ce(ht,ut=>Me(ut,ht.version))}Ue.deserialize=Le;function rt(ht){return ht.name===Ue.name&&Ue.supportedVersions.includes(ht.version)}Ue.isSerialized=rt})(Ie||(Ie={}));var it=qLe();function Ye(Ue,Ge){F(Ue,Ge.account),Ue.serializeStr(JSON.stringify(Ge.input)),Ue.serializeStr(Ge.plainText),V(Ue,Ge.signature),Ue.serializeBytes(Ge.signingMessage),Ue.serializeStr(Ge.type)}function et(Ue){return{account:new it.AccountInfo(G(Ue)),input:JSON.parse(Ue.deserializeStr()),plainText:Ue.deserializeStr(),signature:D(Ue),signingMessage:Ue.deserializeBytes(),type:Ue.deserializeStr()}}function Gt(Ue,Ge){F(Ue,Ge.account),Ue.serializeStr(JSON.stringify(Ge.input)),V(Ue,Ge.signature),Ue.serializeStr(Ge.type)}function It(Ue){return{account:new it.AccountInfo(G(Ue)),input:JSON.parse(Ue.deserializeStr()),signature:D(Ue),type:Ue.deserializeStr()}}var Rt;(Ue=>{Ue.supportedVersions=[1,2],Ue.currentVersion=2;function Ge(at,Tt){Ye(at,Tt)}function Me(at){return et(at)}function ze(at,Tt){Gt(at,Tt)}function Le(at){return It(at)}let rt=ie(Ge),ht=ie(ze),ut=re(Me),Dt=re(Le);function He(at,Tt=Ue.currentVersion){return Pe(at,Tt===1?rt:ht)}Ue.serialize=He;function nt(at,Tt=Ue.currentVersion){return Ne(at,Tt===1?ut:Dt)}Ue.deserialize=nt})(Rt||(Rt={}));var _r;(Ue=>{Ue.name="getConnectedAccounts",Ue.currentVersion=1;function Ge(Le){return me({dappInfo:Le,name:Ue.name,version:Ue.currentVersion})}Ue.serialize=Ge;function Me(Le){return ve(Le)}Ue.deserialize=Me;function ze(Le){return Le.name===Ue.name&&Le.version===Ue.currentVersion}Ue.isSerialized=ze})(_r||(_r={}));var jt;(Ue=>{function Ge(rt,ht){rt.serializeU32AsUleb128(ht.length);for(let ut of ht)F(rt,ut)}function Me(rt){let ht=rt.deserializeUleb128AsU32(),ut=[];for(let Dt=0;Dt<ht;Dt+=1)ut.push(G(rt));return ut}function ze(rt){return Pe(rt,Ge)}Ue.serialize=ze;function Le(rt){return Ne(rt,Me)}Ue.deserialize=Le})(jt||(jt={}));var Fe;(Ue=>{Ue.name="isConnected",Ue.currentVersion=1;function Ge(Le){return me({dappInfo:Le,name:Ue.name,version:Ue.currentVersion})}Ue.serialize=Ge;function Me(Le){return ve(Le)}Ue.deserialize=Me;function ze(Le){return Le.name===Ue.name&&Le.version===Ue.currentVersion}Ue.isSerialized=ze})(Fe||(Fe={}));var Pr;(Ue=>{function Ge(rt,ht){rt.serializeBool(ht)}function Me(rt){return rt.deserializeBool()}function ze(rt){return Pe(rt,Ge)}Ue.serialize=ze;function Le(rt){return Ne(rt,Me)}Ue.deserialize=Le})(Pr||(Pr={}));var $t=Nr(),Qt;(Ue=>{Ue.name="signAndSubmitTransaction",Ue.supportedVersions=[1,2,3],Ue.currentVersion=3;function Ge(ht,ut){if(ut.network!==void 0&&!A(ut.network))throw new Error(`Unsupported network '${ut.network}'`);ht.serializeBool(ut.signerAddress!==void 0),ut.signerAddress!==void 0&&ht.serialize(ut.signerAddress),ht.serializeOptionStr(ut.network),"bcsToBytes"in ut.payload?(ht.serializeBool(!0),ht.serialize(ut.payload)):(ht.serializeBool(!1),q(ht,ut.payload)),ht.serializeU64(ut.expirationTimestamp??0),ht.serializeU32AsUleb128(ut.gasUnitPrice??0),ht.serializeU32AsUleb128(ut.maxGasAmount??0),ht.serializeU32AsUleb128(ut.feePayer?1:0),ut.feePayer&&R(ht,ut.feePayer)}Ue.serializeArgs=Ge;function Me(ht,ut){let Dt=ut>=3&&ht.deserializeBool()?ht.deserialize($t.AccountAddress):void 0,He=ut===1?ht.deserializeStr():ht.deserializeOption("string");if(He!==void 0&&!A(He))throw new Error(`Unsupported network '${He}'`);let nt=ut===1||ht.deserializeBool()?ht.deserialize($t.TransactionPayload):ne(ht),at=Number(ht.deserializeU64()),Tt=ht.deserializeUleb128AsU32(),pt=ht.deserializeUleb128AsU32(),Bt=ht.deserializeUleb128AsU32()?U(ht):void 0;return{expirationTimestamp:at>0?at:void 0,feePayer:Bt,gasUnitPrice:Tt>0?Tt:void 0,maxGasAmount:pt>0?pt:void 0,network:He,payload:nt,signerAddress:Dt}}Ue.deserializeArgs=Me;function ze(ht,ut){let Dt={args:ut,dappInfo:ht,name:Ue.name,version:Ue.currentVersion};return ge(Dt,Ge)}Ue.serialize=ze;function Le(ht){return ce(ht,ut=>Me(ut,ht.version))}Ue.deserialize=Le;function rt(ht){return ht.name===Ue.name&&Ue.supportedVersions.includes(ht.version)}Ue.isSerialized=rt})(Qt||(Qt={}));var At;(Ue=>{function Ge(ut,Dt){ut.serializeStr(Dt.txnHash)}function Me(ut){return{txnHash:ut.deserializeStr()}}let ze=ie(Ge),Le=re(Me);function rt(ut){return Pe(ut,ze)}Ue.serialize=rt;function ht(ut){return Ne(ut,Le)}Ue.deserialize=ht})(At||(At={}));var ur=Nr(),tr;(Ue=>{Ue.name="signMessage",Ue.supportedVersions=[1,2],Ue.currentVersion=2;function Ge(ht,ut){ht.serializeBool(ut.signerAddress!==void 0),ut.signerAddress!==void 0&&ht.serialize(ut.signerAddress),ht.serializeU8(ut.chainId),ht.serializeBytes(ut.nonce),ht.serializeBytes(ut.message)}function Me(ht,ut){let Dt=ut>=2&&ht.deserializeBool()?ht.deserialize(ur.AccountAddress):void 0,He=ht.deserializeU8(),nt=ht.deserializeBytes(),at=ht.deserializeBytes();return{chainId:He,message:at,nonce:nt,signerAddress:Dt}}function ze(ht,ut){let Dt={args:ut,dappInfo:ht,name:Ue.name,version:Ue.currentVersion};return ge(Dt,Ge)}Ue.serialize=ze;function Le(ht){return ce(ht,ut=>Me(ut,ht.version))}Ue.deserialize=Le;function rt(ht){return ht.name===Ue.name&&ht.version===Ue.currentVersion}Ue.isSerialized=rt})(tr||(tr={}));var Vt;(Ue=>{function Ge(ut,Dt){ut.serializeStr(Dt.fullMessage),V(ut,Dt.signature)}function Me(ut){let Dt=ut.deserializeStr(),He=D(ut);return{fullMessage:Dt,signature:He}}let ze=ie(Ge),Le=re(Me);function rt(ut){return Pe(ut,ze)}Ue.serialize=rt;function ht(ut){return Ne(ut,Le)}Ue.deserialize=ht})(Vt||(Vt={}));var bt=Nr(),kt;(Ue=>{Ue.name="signTransaction",Ue.supportedVersions=[1,2,3,4],Ue.currentVersion=4;function Ge(ut){let{feePayer:Dt,secondarySigners:He,senderPublicKey:nt,signerAddress:at,transaction:Tt}=ut,pt={address:Tt.sender,publicKey:nt},Bt=T(ut.transaction.chain_id.chainId);return{expirationTimestamp:Number(Tt.expiration_timestamp_secs),feePayer:Dt,gasUnitPrice:Number(Tt.gas_unit_price),maxGasAmount:Number(Tt.max_gas_amount),network:Bt,payload:Tt.payload,secondarySigners:He,sender:pt,signerAddress:at}}Ue.normalizeArgs=Ge;function Me(ut,Dt){if(Dt.network!==void 0&&!A(Dt.network))throw new Error(`Unsupported network '${Dt.network}'`);ut.serializeBool(Dt.signerAddress!==void 0),Dt.signerAddress!==void 0&&ut.serialize(Dt.signerAddress),ut.serializeOptionStr(Dt.network),ut.serializeBool(Dt.sender!==void 0),Dt.sender!==void 0&&p(ut,Dt.sender),"bcsToBytes"in Dt.payload?(ut.serializeBool(!0),ut.serialize(Dt.payload)):(ut.serializeBool(!1),q(ut,Dt.payload)),ut.serializeU32AsUleb128(Dt.expirationSecondsFromNow??0),ut.serializeU64(Dt.expirationTimestamp??0),ut.serializeU32AsUleb128(Dt.gasUnitPrice??0),ut.serializeU32AsUleb128(Dt.maxGasAmount??0),ut.serializeBool(Dt.feePayer!==void 0),Dt.feePayer!==void 0&&p(ut,Dt.feePayer);let He=Dt.secondarySigners??[];ut.serializeU32AsUleb128(He.length);for(let nt of He)p(ut,nt)}function ze(ut,Dt){let He=Dt>=3&&ut.deserializeBool()?ut.deserialize(bt.AccountAddress):void 0,nt=Dt===1?ut.deserializeStr():ut.deserializeOption("string");if(nt!==void 0&&!A(nt))throw new Error(`Unsupported network '${nt}'`);let at=ut.deserializeBool()?E(ut):void 0,Tt=Dt<4||ut.deserializeBool()?ut.deserialize(bt.TransactionPayload):ne(ut),pt=ut.deserializeUleb128AsU32(),Bt=Number(ut.deserializeU64()),Zt=ut.deserializeUleb128AsU32(),K=ut.deserializeUleb128AsU32(),X=ut.deserializeBool()?E(ut):void 0,Z=ut.deserializeUleb128AsU32(),be=[];for(let Be=0;Be<Z;Be+=1)be.push(E(ut));return{expirationSecondsFromNow:pt>0?pt:void 0,expirationTimestamp:Bt>0?Bt:void 0,feePayer:X,gasUnitPrice:Zt>0?Zt:void 0,maxGasAmount:K>0?K:void 0,network:nt,payload:Tt,secondarySigners:be,sender:at,signerAddress:He}}function Le(ut,Dt){let He={args:Dt,dappInfo:ut,name:Ue.name,version:Ue.currentVersion};return ge(He,Me)}Ue.serialize=Le;function rt(ut){return ce(ut,Dt=>ze(Dt,ut.version))}Ue.deserialize=rt;function ht(ut){return ut.name===Ue.name&&Ue.supportedVersions.includes(ut.version)}Ue.isSerialized=ht})(kt||(kt={}));var er=Nr(),Et;(Ue=>{function Ge(ut,Dt){ut.serialize(Dt.authenticator),ut.serializeBool(Dt.rawTransaction!==void 0),Dt.rawTransaction!==void 0&&ut.serialize(Dt.rawTransaction)}function Me(ut){let Dt=ut.deserialize(er.AccountAuthenticator),He=ut.deserializeBool()?ut.deserialize(er.RawTransaction):void 0;return{authenticator:Dt,rawTransaction:He}}let ze=ie(Ge),Le=re(Me);function rt(ut){return Pe(ut,ze)}Ue.serialize=rt;function ht(ut){return Ne(ut,Le)}Ue.deserialize=ht})(Et||(Et={}));function qt(Ue,Ge){return Ge?.__messageType===Ue.TYPE}var Hr=Nr(),_t=class hy{constructor(){this.__messageType=hy.TYPE}};_t.TYPE="PromptConnectionRequest";var Wt=_t,qr=class fy{constructor(Ge){this.serializedRequest=Ge,this.__messageType=fy.TYPE}};qr.TYPE="PromptConnectionResponse";var Ce=qr,_e=class py{constructor(Ge){this.serializedValue=Ge,this.__messageType=py.TYPE}};_e.TYPE="PromptApprovalResponse";var Ze=_e,he=class gy{constructor(){this.__messageType=gy.TYPE}};he.TYPE="PromptUnauthorizedError";var Ke=he;function Ht(Ue){let Ge=new Hr.Serializer;return Ge.serializeStr(Ue.name),Ge.serializeBytes(Ue.data),Ge.serializeStr(Ue.version.toString()),h(Ge.toUint8Array())}function yt(Ue){let Ge=new Hr.Deserializer(d(Ue)),Me=Ge.deserializeStr(),ze=Ge.deserializeBytes(),Le;try{Le=Number(Ge.deserializeStr())}catch{Le=1}return{data:ze,name:Me,version:Le}}var Ot=Nr();function hr({data:Ue,...Ge}){let Me=JSON.stringify({data:Ue,...Ge},(Le,rt)=>Le==="data"?h(rt):rt),ze=new TextEncoder().encode(Me);return h(ze)}function Br(Ue){let Ge=d(Ue),Me=new TextDecoder().decode(Ge);return JSON.parse(Me,(ze,Le)=>ze==="data"?d(Le):Le)}function Er(Ue){let Ge=JSON.stringify(Ue,(ze,Le)=>{switch(ze){case"body":return hr(Le);case"clientIdentityKey":return h(Le.toUint8Array());case"signature":return h(Le.toUint8Array());default:return Le}}),Me=new TextEncoder().encode(Ge);return C(Me)}function Qe(Ue){let Ge=y(Ue),Me=new TextDecoder().decode(Ge);return JSON.parse(Me,(ze,Le)=>{switch(ze){case"body":return Br(Le);case"clientIdentityKey":return new Ot.Ed25519PublicKey(d(Le));case"signature":return new Ot.Ed25519Signature(d(Le));default:return Le}})}function mt({accountAddress:Ue,body:Ge,id:Me,timestamp:ze}){let Le=new Ot.Serializer;return Le.serializeStr("SignedPopupWalletRequest"),Le.serializeStr(Me),Le.serializeU64(ze),Le.serializeBool(Ue!==void 0),Ue!==void 0&&Le.serialize(Ot.AccountAddress.from(Ue)),Le.serializeStr(Ge.name),Le.serializeU8(Ge.version),Le.serializeBytes(Ge.data),Le.toUint8Array()}}),B5=W((e,t)=>{"use strict";m();var r=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,n=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,u=(Vt,bt)=>{for(var kt in bt)o(Vt,kt,{get:bt[kt],enumerable:!0})},c=(Vt,bt,kt,er)=>{if(bt&&typeof bt=="object"||typeof bt=="function")for(let Et of i(bt))!a.call(Vt,Et)&&Et!==kt&&o(Vt,Et,{get:()=>bt[Et],enumerable:!(er=s(bt,Et))||er.enumerable});return Vt},d=(Vt,bt,kt)=>(kt=Vt!=null?r(n(Vt)):{},c(bt||!Vt||!Vt.__esModule?o(kt,"default",{value:Vt,enumerable:!0}):kt,Vt)),h=Vt=>c(o({},"__esModule",{value:!0}),Vt),y={};u(y,{AccountConnectionAction:()=>Qt,DecryptionError:()=>B,EncryptionEnvelopeError:()=>O,EnvelopeMessageMismatchError:()=>v,KeyTypes:()=>U,REQUIRED_FIELDS:()=>ie,SIGNATURE_PREFIX:()=>b,aptosAccountToEd25519Keypair:()=>G,aptosAccountToSerializedInfo:()=>tr,concatUint8array:()=>g,constructMetadata:()=>Xe,convertEd25519PublicKeyToX25519PublicKey:()=>k,convertEd25519SecretKeyToX25519SecretKey:()=>x,createEd25519KeyPair:()=>_,createSerializedAccountInfo:()=>ur,createX25519KeyPair:()=>N,dangerouslyEncryptAndSignEnvelopeUnvalidated:()=>Je,decodeBase64:()=>p,decryptEnvelope:()=>Ie,decryptMessage:()=>de,decryptMessageDirect:()=>ue,decryptObject:()=>ae,decryptObjectDirect:()=>q,decryptSerializedEncryptionResult:()=>M,decryptSerializedEncryptionResultDirect:()=>V,deriveAccountTransportEd25519Keypair:()=>At,deserializeEd25519PublicKeyB64:()=>It,deserializeEd25519SignatureB64:()=>jt,deserializeEncryptionResult:()=>f,deserializePublicKeyB64:()=>Gt,deserializeSignatureB64:()=>_r,deserializeTransportEnvelope:()=>Pe,ed25519KeypairFromSecret:()=>l,encodeBase64:()=>E,encryptAndSignEnvelope:()=>Ne,encryptMessage:()=>D,encryptMessageDirect:()=>j,encryptObject:()=>Y,encryptObjectDirect:()=>oe,ensureMetadataFields:()=>Oe,ensurePrivatePublicFieldsDisjoint:()=>re,hashAndVerifySignature:()=>ce,keypairToEd25519:()=>H,keypairToX25519:()=>F,makeEd25519SecretKeySignCallbackNoDomainSeparation:()=>ve,messageHash:()=>ne,publicKeyB64FromEd25519PublicKeyB64:()=>Fe,serializeEncryptionResult:()=>S,serializePublicKeyB64:()=>et,serializeSignatureB64:()=>Rt,signWithEd25519SecretKey:()=>me,toKey:()=>L,verifyEnvelopeSignature:()=>wt,verifySignature:()=>ge}),t.exports=h(y);var C=Nr(),w=K3(),T=d(oh()),A=d(MLe()),O=class extends Error{},v=class wy extends O{constructor(bt,kt){super(bt),this.field=kt,this.name="EnvelopeMessageMismatchError",Object.setPrototypeOf(this,wy.prototype)}},B=class vy extends O{constructor(bt){super(bt),this.name="DecryptionError",Object.setPrototypeOf(this,vy.prototype)}},R=d(oh()),U=(Vt=>(Vt.Ed25519PublicKey="Ed25519PublicKey",Vt.Ed25519SecretKey="Ed25519SecretKey",Vt.X25519PublicKey="X25519PublicKey",Vt.X25519SecretKey="X25519SecretKey",Vt))(U||{});function N(){return F(R.default.box.keyPair())}function _(){return H(R.default.sign.keyPair())}function L(Vt,bt){return{key:Vt,type:bt}}function H(Vt){return{publicKey:L(Vt.publicKey,"Ed25519PublicKey"),secretKey:L(Vt.secretKey,"Ed25519SecretKey")}}function F(Vt){return{publicKey:L(Vt.publicKey,"X25519PublicKey"),secretKey:L(Vt.secretKey,"X25519SecretKey")}}function G(Vt){return l(Vt.signingKey.secretKey)}function l(Vt){return H(R.default.sign.keyPair.fromSeed(Vt.slice(0,32)))}function p(Vt){return globalThis.Buffer?new Uint8Array(P.Buffer.from(Vt,"base64")):Uint8Array.from(atob(Vt),bt=>bt.codePointAt(0))}function E(Vt){return globalThis.Buffer?P.Buffer.from(Vt).toString("base64"):btoa(Array.from(Vt,bt=>String.fromCodePoint(bt)).join(""))}function g(Vt,bt){let kt=new Uint8Array(Vt.length+bt.length);return kt.set(Vt),kt.set(bt,Vt.length),kt}var b="APTOS::IDENTITY_CONNECT";function k(Vt,bt){let kt=A.default.convertPublicKey(Vt.key.slice(0,32));if(!kt)throw new Error(`${bt} is not a valid Ed25519 public key`);return L(kt,"X25519PublicKey")}function x(Vt){let bt=A.default.convertSecretKey(Vt.key.slice(0,32));return L(bt,"X25519SecretKey")}function S(Vt){return{nonceB64:E(Vt.nonce),securedB64:E(Vt.secured)}}function f(Vt){return{nonce:p(Vt.nonceB64),secured:p(Vt.securedB64)}}function M(Vt,bt,kt){let er=f(kt);return ae(Vt,bt,er.secured,er.nonce)}function V(Vt,bt,kt){let er=f(kt);return q(Vt,bt,er.secured,er.nonce)}function D(Vt,bt,kt){let er=k(bt,"receiver public key");return j(Vt,er,kt)}function j(Vt,bt,kt){let er=T.default.randomBytes(T.default.box.nonceLength),Et=new TextEncoder().encode(kt),qt=T.default.box(Et,er,bt.key,Vt.key.slice(0,32));return{nonce:er,secured:qt}}function Y(Vt,bt,kt){let er=k(bt,"receiver public key");return oe(Vt,er,kt)}function oe(Vt,bt,kt){return j(Vt,bt,JSON.stringify(kt))}function de(Vt,bt,kt,er){let Et=x(bt);return ue(Vt,Et,kt,er)}function ue(Vt,bt,kt,er){let Et;try{Et=T.default.box.open(kt,er,Vt.key.slice(0,32),bt.key.slice(0,32))}catch(qt){throw new B(`Could not decrypt message: ${qt.message}`)}if(!Et)throw new B("Could not decrypt message");return new TextDecoder().decode(Et)}function ae(Vt,bt,kt,er){let Et=x(bt);return q(Vt,Et,kt,er)}function q(Vt,bt,kt,er){let Et=ue(Vt,bt,kt,er);return JSON.parse(Et)}function ne(Vt,bt){let kt=new Uint8Array((0,w.sha3_256)(`${b}::${bt}::`));return new Uint8Array((0,w.sha3_256)(g(kt,Vt)))}function me(Vt,bt,kt){return T.default.sign.detached(ne(Vt,kt),bt.key)}function ve(Vt){return async bt=>new C.Ed25519Signature(T.default.sign.detached(bt,Vt.key))}function ge(Vt,bt,kt,er){return kt.verifySignature({message:ne(Vt,er),signature:bt})}function ce(Vt,bt,kt,er){let Et=Vt instanceof Uint8Array?Vt:new TextEncoder().encode(Vt),qt=(0,w.sha3_256)(Et);return ge(qt,bt,kt,er)}var ee=Nr(),fe=K3(),ie=["receiverEd25519PublicKeyB64","senderEd25519PublicKeyB64","senderX25519PublicKeyB64","sequence","timestampMillis"].sort();function re(Vt,bt){let kt=Object.keys(Vt).filter(er=>Object.keys(bt).includes(er));if(kt.length>0){let er=kt[0];throw new v(`Field ${er} appears in both private and public message fields`,er)}}function Oe(Vt){let bt=Object.keys(Vt).sort(),kt=bt.filter(Et=>!ie.includes(Et)),er=ie.filter(Et=>!bt.includes(Et));if(kt.length>0||er.length>0){let Et=kt.length>0?`extra(${kt.join(", ")})`:"",qt=er.length>0?`missing(${er.join(", ")})`:"";throw Et=Et.length>0&&qt.length>0?`${Et}, `:Et,new v(`PublicMessage metadata fields do not conform to spec: ${Et}${qt}`,"_metadata")}}function Pe(Vt){let bt=JSON.parse(Vt.serializedPublicMessage);return{...Vt,publicMessage:bt}}function Ne(Vt,bt,kt,er,Et,qt){let Hr=N(),_t=Xe(bt,kt,er,Hr.publicKey);return Oe(_t),re(qt,Et),Je(Vt,kt,_t,qt,Et,Hr)}function Xe(Vt,bt,kt,er){return{receiverEd25519PublicKeyB64:E(bt.key),senderEd25519PublicKeyB64:E(Vt.key),senderX25519PublicKeyB64:E(er.key),sequence:kt,timestampMillis:Date.now()}}function Je(Vt,bt,kt,er,Et,qt){let Hr=Y(qt.secretKey,bt,er),_t=S(Hr),Wt=p(_t.securedB64),qr=JSON.stringify({...Et,_metadata:kt}),Ce=new TextEncoder().encode(qr),_e=Kt(Ce,Wt,Vt);return{encryptedPrivateMessage:_t,messageSignature:_e,serializedPublicMessage:qr}}function ft(Vt,bt){let kt=(0,fe.sha3_256)(Vt),er=(0,fe.sha3_256)(bt),Et=new Uint8Array(kt.length+er.length);return Et.set(kt),Et.set(er,kt.length),(0,fe.sha3_256)(Et)}function Kt(Vt,bt,kt){let er=ft(Vt,bt),Et=me(er,kt,"SECURED_ENVELOPE");return ee.Hex.fromHexInput(Et).toString()}function wt(Vt,bt,kt,er){let Et=new ee.Ed25519Signature(ee.Hex.fromHexInput(kt).toUint8Array()),qt=new ee.Ed25519PublicKey(er.key),Hr=ft(Vt,bt);if(!ge(Hr,Et,qt,"SECURED_ENVELOPE"))throw new v("Could not verify SecuredEnvelope signature","messageSignature")}function Ie(Vt,bt,kt){let{encryptedPrivateMessage:er,messageSignature:Et,serializedPublicMessage:qt}=kt,Hr=JSON.parse(qt),_t=p(er.securedB64),Wt=new TextEncoder().encode(qt);wt(Wt,_t,Et,Vt);let qr=E(Vt.key),Ce=Hr._metadata.senderEd25519PublicKeyB64;if(qr!==Ce)throw new v("senderEd25519PublicKey in envelope does not match provided receiverEd25519SecretKey","senderPublicKey");let _e=p(Hr._metadata.senderX25519PublicKeyB64),Ze=L(_e,"X25519PublicKey"),he=f(er),Ke=ae(Ze,bt,he.secured,he.nonce);return Oe(Hr._metadata),re(Ke,Hr),{messageSignature:Et,privateMessage:Ke,publicMessage:Hr}}var it=wFe(),Ye=Nr();function et(Vt){let bt=new Ye.Serializer;return(0,it.serializePublicKey)(bt,Vt),(0,it.bytesToBase64)(bt.toUint8Array())}function Gt(Vt){let bt=(0,it.base64ToBytes)(Vt),kt=new Ye.Deserializer(bt);return(0,it.deserializePublicKey)(kt)}function It(Vt){return new Ye.Ed25519PublicKey(p(Vt))}function Rt(Vt){let bt=new Ye.Serializer;return(0,it.serializeSignature)(bt,Vt),(0,it.bytesToBase64)(bt.toUint8Array())}function _r(Vt){let bt=(0,it.base64ToBytes)(Vt),kt=new Ye.Deserializer(bt);return(0,it.deserializeSignature)(kt)}function jt(Vt){let bt=Ye.Hex.fromHexInput(Vt).toUint8Array();return new Ye.Ed25519Signature(bt)}function Fe(Vt){let bt=It(Vt);return et(bt)}var Pr=Nr(),$t=K3(),Qt=(Vt=>(Vt.ADD="add",Vt.REMOVE="remove",Vt))(Qt||{});function At(Vt,bt){let kt=bt instanceof Pr.PublicKey?bt.toUint8Array():bt.key;if(Vt instanceof Function){let Et=ne(kt,"TRANSPORT_KEYPAIR"),qt=Vt(Et);return qt instanceof Promise?qt.then(Hr=>l(Hr.toUint8Array())):l(qt.toUint8Array())}let er=me(kt,Vt,"TRANSPORT_KEYPAIR");return l(er)}function ur(...[Vt,bt,kt,er,Et,qt]){let Hr=bt.authKey(),_t=qt||Hr.derivedAddress().toString(),Wt=et(bt),qr={accountAddress:_t,action:er,intentId:Et,publicKeyB64:Wt,timestampMillis:Date.now(),transportEd25519PublicKeyB64:E(kt.key)},Ce=JSON.stringify(qr),_e=new TextEncoder().encode(Ce),Ze=(0,$t.sha3_256)(_e),he=Vt(ne(Ze,"ACCOUNT_INFO"));return he instanceof Promise?he.then(Ke=>({accountInfoSerialized:Ce,signatureB64:Rt(Ke)})):{accountInfoSerialized:Ce,signatureB64:Rt(he)}}async function tr(Vt,bt){let kt=async Et=>Vt.sign(Et),er=await At(kt,Vt.publicKey);return ur(kt,Vt.publicKey,er.publicKey,"add",bt)}}),Mm=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(Qe,mt)=>{for(var Ue in mt)r(Qe,Ue,{get:mt[Ue],enumerable:!0})},a=(Qe,mt,Ue,Ge)=>{if(mt&&typeof mt=="object"||typeof mt=="function")for(let Me of s(mt))!i.call(Qe,Me)&&Me!==Ue&&r(Qe,Me,{get:()=>mt[Me],enumerable:!(Ge=o(mt,Me))||Ge.enumerable});return Qe},u=Qe=>a(r({},"__esModule",{value:!0}),Qe),c={};n(c,{ConnectRequest:()=>ee,ConnectResponse:()=>Xe,DisconnectRequest:()=>Je,DisconnectResponse:()=>ft,EntryFunctionArgumentVariant:()=>x,GetConnectedAccountsRequest:()=>It,GetConnectedAccountsResponse:()=>Rt,IsConnectedRequest:()=>_r,IsConnectedResponse:()=>jt,PromptApprovalResponseMessage:()=>Ce,PromptConnectionRequestMessage:()=>Hr,PromptConnectionResponseMessage:()=>Wt,PromptUnauthorizedErrorMessage:()=>Ze,SignAndSubmitTransactionRequest:()=>Pr,SignAndSubmitTransactionResponse:()=>$t,SignInRequest:()=>Ie,SignInResponse:()=>Gt,SignMessageRequest:()=>At,SignMessageResponse:()=>ur,SignTransactionRequest:()=>Vt,SignTransactionResponse:()=>kt,TransactionPayloadInputVariant:()=>Y,base64ToBytes:()=>d,base64urlToBytes:()=>y,bytesToBase64:()=>h,bytesToBase64url:()=>C,chainIdToNetwork:()=>T,decodePopupWalletRequest:()=>Br,decodeWalletRequestBody:()=>Ot,deserializeAccountAuthenticatorInput:()=>U,deserializeAccountInfo:()=>G,deserializeAccountInput:()=>E,deserializeDappInfo:()=>b,deserializeEntryFunctionArgument:()=>f,deserializePublicKey:()=>H,deserializeSignature:()=>D,deserializeTransactionPayloadInput:()=>ne,deserializeWalletRequest:()=>ve,deserializeWalletRequestWithArgs:()=>ce,deserializeWalletResponse:()=>Ne,encodePopupWalletRequest:()=>hr,encodeWalletRequestBody:()=>yt,isSupportedNetwork:()=>A,isTypedMessage:()=>er,makePopupWalletRequestChallenge:()=>Er,makeUserApproval:()=>fe,makeUserResponseDeserializeFn:()=>re,makeUserResponseSerializeFn:()=>ie,serializeAccountAuthenticatorInput:()=>R,serializeAccountInfo:()=>F,serializeAccountInput:()=>p,serializeDappInfo:()=>g,serializeEntryFunctionArgument:()=>S,serializePublicKey:()=>L,serializeSignature:()=>V,serializeTransactionPayloadInput:()=>q,serializeWalletRequest:()=>me,serializeWalletRequestWithArgs:()=>ge,serializeWalletResponse:()=>Pe,urlDecodeWalletRequest:()=>Ke,urlEncodeWalletRequest:()=>he}),t.exports=u(c);function d(Qe){let mt=atob(Qe);return Uint8Array.from(mt,Ue=>Ue.charCodeAt(0))}function h(Qe){let mt=String.fromCharCode(...Qe);return btoa(mt)}function y(Qe){return d(Qe.replace(/-/g,"+").replace(/_/g,"/"))}function C(Qe){return h(Qe).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}var w=Nr();function T(Qe){switch(Qe){case w.NetworkToChainId.mainnet:return w.Network.MAINNET;case w.NetworkToChainId.testnet:return w.Network.TESTNET;default:return w.Network.DEVNET}}function A(Qe){return[w.Network.MAINNET,w.Network.TESTNET,w.Network.DEVNET].includes(Qe)}var O=Nr(),v=Nr(),B=Nr();function R(Qe,mt){Qe.serialize(mt.address),Qe.serialize(mt.authenticator)}function U(Qe){let mt=Qe.deserialize(B.AccountAddress),Ue=Qe.deserialize(B.AccountAuthenticator);return{address:mt,authenticator:Ue}}var N=Nr(),_=Nr();function L(Qe,mt){if(mt instanceof _.Ed25519PublicKey)Qe.serializeU32AsUleb128(_.SigningScheme.Ed25519);else if(mt instanceof _.MultiEd25519PublicKey)Qe.serializeU32AsUleb128(_.SigningScheme.MultiEd25519);else if(mt instanceof _.AnyPublicKey)Qe.serializeU32AsUleb128(_.SigningScheme.SingleKey);else if(mt instanceof _.MultiKey)Qe.serializeU32AsUleb128(_.SigningScheme.MultiKey);else throw new Error("Unexpected public key type");Qe.serialize(mt)}function H(Qe){let mt=Qe.deserializeUleb128AsU32();switch(mt){case _.SigningScheme.Ed25519:return Qe.deserialize(_.Ed25519PublicKey);case _.SigningScheme.MultiEd25519:return Qe.deserialize(_.MultiEd25519PublicKey);case _.SigningScheme.SingleKey:return Qe.deserialize(_.AnyPublicKey);case _.SigningScheme.MultiKey:return Qe.deserialize(_.MultiKey);default:throw new Error(`Unknown signing scheme: ${mt}`)}}function F(Qe,mt){Qe.serialize(mt.address),L(Qe,mt.publicKey),Qe.serializeStr(mt.name??"")}function G(Qe){let mt=Qe.deserialize(N.AccountAddress),Ue=H(Qe),Ge=Qe.deserializeStr();return{address:mt,publicKey:Ue,...Ge.length>0?{name:Ge}:void 0}}var l=Nr();function p(Qe,mt){Qe.serialize(mt.address),Qe.serializeBool(mt.publicKey!==void 0),mt.publicKey&&L(Qe,mt.publicKey)}function E(Qe){let mt=Qe.deserialize(l.AccountAddress),Ue=Qe.deserializeBool()?H(Qe):void 0;return{address:mt,publicKey:Ue}}function g(Qe,mt){Qe.serializeStr(mt.domain),Qe.serializeStr(mt.name),Qe.serializeBool(mt.imageURI!==void 0),mt.imageURI!==void 0&&Qe.serializeStr(mt.imageURI)}function b(Qe){let mt=Qe.deserializeStr(),Ue=Qe.deserializeStr(),Ge=Qe.deserializeBool()?Qe.deserializeStr():void 0;return{domain:mt,imageURI:Ge,name:Ue}}var k=Nr(),x=(Qe=>(Qe[Qe.Undefined=0]="Undefined",Qe[Qe.Array=1]="Array",Qe[Qe.String=2]="String",Qe[Qe.Uint8Array=3]="Uint8Array",Qe[Qe.AccountAddress=4]="AccountAddress",Qe[Qe.FixedBytes=5]="FixedBytes",Qe))(x||{});function S(Qe,mt){if(mt==null){Qe.serializeU32AsUleb128(0);return}if(Array.isArray(mt)){Qe.serializeU32AsUleb128(1),Qe.serializeU32AsUleb128(mt.length);for(let Ue of mt)S(Qe,Ue);return}if(typeof mt=="string"||typeof mt=="number"||typeof mt=="boolean"||typeof mt=="bigint"){Qe.serializeU32AsUleb128(2),Qe.serializeStr(mt.toString());return}if(mt instanceof Uint8Array){Qe.serializeU32AsUleb128(3),Qe.serializeBytes(mt);return}if(mt instanceof ArrayBuffer){Qe.serializeU32AsUleb128(3),Qe.serializeBytes(new Uint8Array(mt));return}if("values"in mt){Qe.serializeU32AsUleb128(1),Qe.serializeU32AsUleb128(mt.values.length);for(let Ue of mt.values)S(Qe,Ue);return}if("data"in mt){Qe.serializeU32AsUleb128(4),Qe.serialize(mt);return}if(mt.value===void 0){Qe.serializeU32AsUleb128(0),Qe.serialize(mt);return}if(mt.value instanceof Uint8Array){Qe.serializeU32AsUleb128(5),Qe.serializeBytes(mt.value);return}Qe.serializeU32AsUleb128(2),Qe.serializeStr(mt.value.toString())}function f(Qe){switch(Qe.deserializeUleb128AsU32()){case 0:return;case 1:{let mt=Qe.deserializeUleb128AsU32(),Ue=[];for(let Ge=0;Ge<mt;Ge+=1){let Me=f(Qe);Ue.push(Me)}return Ue}case 3:return Qe.deserializeBytes();case 4:return Qe.deserialize(k.AccountAddress);case 2:return Qe.deserializeStr();case 5:{let mt=Qe.deserializeBytes();return new k.FixedBytes(mt)}default:throw new Error("Unexpected variant")}}var M=Nr();function V(Qe,mt){if(mt instanceof M.Ed25519Signature)Qe.serializeU32AsUleb128(M.SigningScheme.Ed25519);else if(mt instanceof M.MultiEd25519Signature)Qe.serializeU32AsUleb128(M.SigningScheme.MultiEd25519);else if(mt instanceof M.AnySignature)Qe.serializeU32AsUleb128(M.SigningScheme.SingleKey);else throw new Error("Unexpected signature type");Qe.serialize(mt)}function D(Qe){let mt=Qe.deserializeUleb128AsU32();switch(mt){case M.SigningScheme.Ed25519:return Qe.deserialize(M.Ed25519Signature);case M.SigningScheme.MultiEd25519:return Qe.deserialize(M.MultiEd25519Signature);case M.SigningScheme.SingleKey:return Qe.deserialize(M.AnySignature);default:throw new Error(`Unknown signing scheme: ${mt}`)}}var j=Nr(),Y=(Qe=>(Qe[Qe.EntryFunction=0]="EntryFunction",Qe[Qe.Script=1]="Script",Qe[Qe.Multisig=2]="Multisig",Qe))(Y||{});function oe(Qe,mt){Qe.serializeU32AsUleb128(mt.length);for(let Ue of mt){let Ge=typeof Ue=="string"?(0,j.parseTypeTag)(Ue,{allowGenerics:!0}):Ue;Qe.serialize(Ge)}}function de(Qe){let mt=[],Ue=Qe.deserializeUleb128AsU32();for(let Ge=0;Ge<Ue;Ge+=1){let Me=Qe.deserialize(j.TypeTag);mt.push(Me)}return mt}function ue(Qe,mt){Qe.serializeU32AsUleb128(mt.length);for(let Ue of mt)S(Qe,Ue)}function ae(Qe){let mt=Qe.deserializeUleb128AsU32(),Ue=[];for(let Ge=0;Ge<mt;Ge+=1){let Me=f(Qe);Ue.push(Me)}return Ue}function q(Qe,mt){if("multisigAddress"in mt){Qe.serializeU32AsUleb128(2),Qe.serializeStr(mt.function),ue(Qe,mt.functionArguments),oe(Qe,mt.typeArguments??[]);let Ue=j.AccountAddress.from(mt.multisigAddress);Qe.serialize(Ue)}else if("function"in mt)Qe.serializeU32AsUleb128(0),Qe.serializeStr(mt.function),ue(Qe,mt.functionArguments),oe(Qe,mt.typeArguments??[]);else{Qe.serializeU32AsUleb128(1);let Ue=j.Hex.fromHexInput(mt.bytecode);Qe.serializeBytes(Ue.toUint8Array()),Qe.serializeU32AsUleb128(mt.functionArguments.length);for(let Ge of mt.functionArguments)Ge.serializeForScriptFunction(Qe);oe(Qe,mt.typeArguments??[])}}function ne(Qe){switch(Qe.deserializeUleb128AsU32()){case 2:{let mt=Qe.deserializeStr(),Ue=ae(Qe),Ge=de(Qe),Me=Qe.deserialize(j.AccountAddress);return{function:mt,functionArguments:Ue,multisigAddress:Me,typeArguments:Ge}}case 0:{let mt=Qe.deserializeStr(),Ue=ae(Qe),Ge=de(Qe);return{function:mt,functionArguments:Ue,typeArguments:Ge}}case 1:{let mt=Qe.deserializeBytes(),Ue=Qe.deserializeUleb128AsU32(),Ge=[];for(let ze=0;ze<Ue;ze+=1){let Le=(0,j.deserializeFromScriptArgument)(Qe);Ge.push(Le)}let Me=de(Qe);return{bytecode:mt,functionArguments:Ge,typeArguments:Me}}default:throw new Error("Unexpected variant")}}function me({dappInfo:Qe,name:mt,version:Ue}){let Ge=new v.Serializer;return g(Ge,Qe),{data:Ge.toUint8Array(),name:mt,version:Ue}}function ve({data:Qe,name:mt,version:Ue}){let Ge=new v.Deserializer(Qe);return{dappInfo:b(Ge),name:mt,version:Ue}}function ge({args:Qe,dappInfo:mt,name:Ue,version:Ge},Me){let ze=new v.Serializer;return g(ze,mt),Me(ze,Qe),{data:ze.toUint8Array(),name:Ue,version:Ge}}function ce({data:Qe,name:mt,version:Ue},Ge){let Me=new v.Deserializer(Qe),ze=b(Me);return{args:Ge(Me),dappInfo:ze,name:mt,version:Ue}}var ee;(Qe=>{Qe.name="connect",Qe.supportedVersions=[1,2,3,4],Qe.currentVersion=4;function mt(Le,rt){if(Le.serializeOptionStr(rt.dappId),Le.serializeOptionStr(rt.dappEd25519PublicKeyB64),Le.serializeOptionStr(rt.preferredWalletName),Le.serializeBool(rt.claimOptions!==void 0),rt.claimOptions&&(Le.serialize(rt.claimOptions.secretKey),Le.serializeStr(rt.claimOptions.network),Le.serializeOptionStr(rt.claimOptions.asset),!A(rt.claimOptions.network)))throw new Error(`Unsupported network '${rt.claimOptions.network}'`)}Qe.serializeArgs=mt;function Ue(Le,rt){if(rt===1)return{};let ht=Le.deserializeOption("string"),ut=Le.deserializeOption("string"),Dt=rt>=3?Le.deserializeOption("string"):void 0,He=rt>=4?Le.deserializeBool():!1,nt;if(He){let at=Le.deserialize(O.Ed25519PrivateKey),Tt=Le.deserializeStr(),pt=Le.deserializeOption("string");if(!A(Tt))throw new Error(`Unsupported network '${Tt}'`);nt={asset:pt,network:Tt,secretKey:at}}return{claimOptions:nt,dappEd25519PublicKeyB64:ut,dappId:ht,preferredWalletName:Dt}}Qe.deserializeArgs=Ue;function Ge(Le,rt={}){return ge({args:rt,dappInfo:Le,name:Qe.name,version:Qe.currentVersion},mt)}Qe.serialize=Ge;function Me(Le){return ce(Le,rt=>Ue(rt,Le.version))}Qe.deserialize=Me;function ze(Le){return Le.name===Qe.name&&Qe.supportedVersions.includes(Le.version)}Qe.isSerialized=ze})(ee||(ee={}));function fe(Qe){return{args:Qe,status:"approved"}}function ie(Qe){return(mt,Ue)=>{mt.serializeBool(Ue.status==="approved"),Ue.status==="approved"&&Qe(mt,Ue.args)}}function re(Qe){return mt=>mt.deserializeBool()?{args:Qe(mt),status:"approved"}:{status:"dismissed"}}var Oe=Nr();function Pe(Qe,mt){let Ue=new Oe.Serializer;return mt(Ue,Qe),{data:Ue.toUint8Array()}}function Ne({data:Qe},mt){let Ue=new Oe.Deserializer(Qe);return{args:mt(Ue)}}var Xe;(Qe=>{Qe.supportedVersions=[1,2],Qe.currentVersion=2;function mt(ut,Dt){F(ut,Dt.account)}function Ue(ut,Dt){F(ut,Dt.account),ut.serializeOptionStr(Dt.pairing!==void 0?JSON.stringify(Dt.pairing):void 0)}function Ge(ut){let Dt=G(ut),He=ut.deserializeOption("string"),nt=He!==void 0?JSON.parse(He):void 0;return{account:Dt,pairing:nt}}let Me=ie(mt),ze=ie(Ue),Le=re(Ge);function rt(ut,Dt=Qe.currentVersion){return Pe(ut,Dt===1?Me:ze)}Qe.serialize=rt;function ht(ut){return Ne(ut,Le)}Qe.deserialize=ht})(Xe||(Xe={}));var Je;(Qe=>{Qe.name="disconnect",Qe.currentVersion=1;function mt(Me){return me({dappInfo:Me,name:Qe.name,version:Qe.currentVersion})}Qe.serialize=mt;function Ue(Me){return ve(Me)}Qe.deserialize=Ue;function Ge(Me){return Me.name===Qe.name&&Me.version===Qe.currentVersion}Qe.isSerialized=Ge})(Je||(Je={}));var ft;(Qe=>{function mt(Ge){return Pe(Ge,()=>{})}Qe.serialize=mt;function Ue(Ge){return Ne(Ge,()=>({}))}Qe.deserialize=Ue})(ft||(ft={}));function Kt(Qe,mt){Qe.serializeStr(JSON.stringify(mt))}function wt(Qe){return JSON.parse(Qe.deserializeStr())}var Ie;(Qe=>{Qe.name="signIn",Qe.supportedVersions=[1],Qe.currentVersion=1;function mt(Le,rt){if(rt.network!==void 0&&!A(rt.network))throw new Error(`Unsupported network '${rt.network}' in SignInRequest.serializeArgs`);Kt(Le,rt),Le.serializeStr(rt.network)}Qe.serializeArgs=mt;function Ue(Le,rt){return{...wt(Le),network:Le.deserializeStr()}}Qe.deserializeArgs=Ue;function Ge(Le,rt){return ge({args:rt,dappInfo:Le,name:Qe.name,version:Qe.currentVersion},mt)}Qe.serialize=Ge;function Me(Le){return ce(Le,rt=>Ue(rt,Le.version))}Qe.deserialize=Me;function ze(Le){return Le.name===Qe.name&&Qe.supportedVersions.includes(Le.version)}Qe.isSerialized=ze})(Ie||(Ie={}));var it=y1();function Ye(Qe,mt){F(Qe,mt.account),Qe.serializeStr(JSON.stringify(mt.input)),Qe.serializeStr(mt.plainText),V(Qe,mt.signature),Qe.serializeBytes(mt.signingMessage),Qe.serializeStr(mt.type)}function et(Qe){return{account:new it.AccountInfo(G(Qe)),input:JSON.parse(Qe.deserializeStr()),plainText:Qe.deserializeStr(),signature:D(Qe),signingMessage:Qe.deserializeBytes(),type:Qe.deserializeStr()}}var Gt;(Qe=>{Qe.supportedVersions=[1],Qe.currentVersion=1;function mt(rt,ht){Ye(rt,ht)}function Ue(rt){return et(rt)}let Ge=ie(mt),Me=re(Ue);function ze(rt,ht=Qe.currentVersion){return Pe(rt,Ge)}Qe.serialize=ze;function Le(rt){return Ne(rt,Me)}Qe.deserialize=Le})(Gt||(Gt={}));var It;(Qe=>{Qe.name="getConnectedAccounts",Qe.currentVersion=1;function mt(Me){return me({dappInfo:Me,name:Qe.name,version:Qe.currentVersion})}Qe.serialize=mt;function Ue(Me){return ve(Me)}Qe.deserialize=Ue;function Ge(Me){return Me.name===Qe.name&&Me.version===Qe.currentVersion}Qe.isSerialized=Ge})(It||(It={}));var Rt;(Qe=>{function mt(ze,Le){ze.serializeU32AsUleb128(Le.length);for(let rt of Le)F(ze,rt)}function Ue(ze){let Le=ze.deserializeUleb128AsU32(),rt=[];for(let ht=0;ht<Le;ht+=1)rt.push(G(ze));return rt}function Ge(ze){return Pe(ze,mt)}Qe.serialize=Ge;function Me(ze){return Ne(ze,Ue)}Qe.deserialize=Me})(Rt||(Rt={}));var _r;(Qe=>{Qe.name="isConnected",Qe.currentVersion=1;function mt(Me){return me({dappInfo:Me,name:Qe.name,version:Qe.currentVersion})}Qe.serialize=mt;function Ue(Me){return ve(Me)}Qe.deserialize=Ue;function Ge(Me){return Me.name===Qe.name&&Me.version===Qe.currentVersion}Qe.isSerialized=Ge})(_r||(_r={}));var jt;(Qe=>{function mt(ze,Le){ze.serializeBool(Le)}function Ue(ze){return ze.deserializeBool()}function Ge(ze){return Pe(ze,mt)}Qe.serialize=Ge;function Me(ze){return Ne(ze,Ue)}Qe.deserialize=Me})(jt||(jt={}));var Fe=Nr(),Pr;(Qe=>{Qe.name="signAndSubmitTransaction",Qe.supportedVersions=[1,2,3],Qe.currentVersion=3;function mt(Le,rt){if(rt.network!==void 0&&!A(rt.network))throw new Error(`Unsupported network '${rt.network}'`);Le.serializeBool(rt.signerAddress!==void 0),rt.signerAddress!==void 0&&Le.serialize(rt.signerAddress),Le.serializeOptionStr(rt.network),"bcsToBytes"in rt.payload?(Le.serializeBool(!0),Le.serialize(rt.payload)):(Le.serializeBool(!1),q(Le,rt.payload)),Le.serializeU64(rt.expirationTimestamp??0),Le.serializeU32AsUleb128(rt.gasUnitPrice??0),Le.serializeU32AsUleb128(rt.maxGasAmount??0),Le.serializeU32AsUleb128(rt.feePayer?1:0),rt.feePayer&&R(Le,rt.feePayer)}Qe.serializeArgs=mt;function Ue(Le,rt){let ht=rt>=3&&Le.deserializeBool()?Le.deserialize(Fe.AccountAddress):void 0,ut=rt===1?Le.deserializeStr():Le.deserializeOption("string");if(ut!==void 0&&!A(ut))throw new Error(`Unsupported network '${ut}'`);let Dt=rt===1||Le.deserializeBool()?Le.deserialize(Fe.TransactionPayload):ne(Le),He=Number(Le.deserializeU64()),nt=Le.deserializeUleb128AsU32(),at=Le.deserializeUleb128AsU32(),Tt=Le.deserializeUleb128AsU32()?U(Le):void 0;return{expirationTimestamp:He>0?He:void 0,feePayer:Tt,gasUnitPrice:nt>0?nt:void 0,maxGasAmount:at>0?at:void 0,network:ut,payload:Dt,signerAddress:ht}}Qe.deserializeArgs=Ue;function Ge(Le,rt){let ht={args:rt,dappInfo:Le,name:Qe.name,version:Qe.currentVersion};return ge(ht,mt)}Qe.serialize=Ge;function Me(Le){return ce(Le,rt=>Ue(rt,Le.version))}Qe.deserialize=Me;function ze(Le){return Le.name===Qe.name&&Qe.supportedVersions.includes(Le.version)}Qe.isSerialized=ze})(Pr||(Pr={}));var $t;(Qe=>{function mt(rt,ht){rt.serializeStr(ht.txnHash)}function Ue(rt){return{txnHash:rt.deserializeStr()}}let Ge=ie(mt),Me=re(Ue);function ze(rt){return Pe(rt,Ge)}Qe.serialize=ze;function Le(rt){return Ne(rt,Me)}Qe.deserialize=Le})($t||($t={}));var Qt=Nr(),At;(Qe=>{Qe.name="signMessage",Qe.supportedVersions=[1,2],Qe.currentVersion=2;function mt(Le,rt){Le.serializeBool(rt.signerAddress!==void 0),rt.signerAddress!==void 0&&Le.serialize(rt.signerAddress),Le.serializeU8(rt.chainId),Le.serializeBytes(rt.nonce),Le.serializeBytes(rt.message)}function Ue(Le,rt){let ht=rt>=2&&Le.deserializeBool()?Le.deserialize(Qt.AccountAddress):void 0,ut=Le.deserializeU8(),Dt=Le.deserializeBytes(),He=Le.deserializeBytes();return{chainId:ut,message:He,nonce:Dt,signerAddress:ht}}function Ge(Le,rt){let ht={args:rt,dappInfo:Le,name:Qe.name,version:Qe.currentVersion};return ge(ht,mt)}Qe.serialize=Ge;function Me(Le){return ce(Le,rt=>Ue(rt,Le.version))}Qe.deserialize=Me;function ze(Le){return Le.name===Qe.name&&Le.version===Qe.currentVersion}Qe.isSerialized=ze})(At||(At={}));var ur;(Qe=>{function mt(rt,ht){rt.serializeStr(ht.fullMessage),V(rt,ht.signature)}function Ue(rt){let ht=rt.deserializeStr(),ut=D(rt);return{fullMessage:ht,signature:ut}}let Ge=ie(mt),Me=re(Ue);function ze(rt){return Pe(rt,Ge)}Qe.serialize=ze;function Le(rt){return Ne(rt,Me)}Qe.deserialize=Le})(ur||(ur={}));var tr=Nr(),Vt;(Qe=>{Qe.name="signTransaction",Qe.supportedVersions=[1,2,3,4],Qe.currentVersion=4;function mt(rt){let{feePayer:ht,secondarySigners:ut,senderPublicKey:Dt,signerAddress:He,transaction:nt}=rt,at={address:nt.sender,publicKey:Dt},Tt=T(rt.transaction.chain_id.chainId);return{expirationTimestamp:Number(nt.expiration_timestamp_secs),feePayer:ht,gasUnitPrice:Number(nt.gas_unit_price),maxGasAmount:Number(nt.max_gas_amount),network:Tt,payload:nt.payload,secondarySigners:ut,sender:at,signerAddress:He}}Qe.normalizeArgs=mt;function Ue(rt,ht){if(ht.network!==void 0&&!A(ht.network))throw new Error(`Unsupported network '${ht.network}'`);rt.serializeBool(ht.signerAddress!==void 0),ht.signerAddress!==void 0&&rt.serialize(ht.signerAddress),rt.serializeOptionStr(ht.network),rt.serializeBool(ht.sender!==void 0),ht.sender!==void 0&&p(rt,ht.sender),"bcsToBytes"in ht.payload?(rt.serializeBool(!0),rt.serialize(ht.payload)):(rt.serializeBool(!1),q(rt,ht.payload)),rt.serializeU32AsUleb128(ht.expirationSecondsFromNow??0),rt.serializeU64(ht.expirationTimestamp??0),rt.serializeU32AsUleb128(ht.gasUnitPrice??0),rt.serializeU32AsUleb128(ht.maxGasAmount??0),rt.serializeBool(ht.feePayer!==void 0),ht.feePayer!==void 0&&p(rt,ht.feePayer);let ut=ht.secondarySigners??[];rt.serializeU32AsUleb128(ut.length);for(let Dt of ut)p(rt,Dt)}function Ge(rt,ht){let ut=ht>=3&&rt.deserializeBool()?rt.deserialize(tr.AccountAddress):void 0,Dt=ht===1?rt.deserializeStr():rt.deserializeOption("string");if(Dt!==void 0&&!A(Dt))throw new Error(`Unsupported network '${Dt}'`);let He=rt.deserializeBool()?E(rt):void 0,nt=ht<4||rt.deserializeBool()?rt.deserialize(tr.TransactionPayload):ne(rt),at=rt.deserializeUleb128AsU32(),Tt=Number(rt.deserializeU64()),pt=rt.deserializeUleb128AsU32(),Bt=rt.deserializeUleb128AsU32(),Zt=rt.deserializeBool()?E(rt):void 0,K=rt.deserializeUleb128AsU32(),X=[];for(let Z=0;Z<K;Z+=1)X.push(E(rt));return{expirationSecondsFromNow:at>0?at:void 0,expirationTimestamp:Tt>0?Tt:void 0,feePayer:Zt,gasUnitPrice:pt>0?pt:void 0,maxGasAmount:Bt>0?Bt:void 0,network:Dt,payload:nt,secondarySigners:X,sender:He,signerAddress:ut}}function Me(rt,ht){let ut={args:ht,dappInfo:rt,name:Qe.name,version:Qe.currentVersion};return ge(ut,Ue)}Qe.serialize=Me;function ze(rt){return ce(rt,ht=>Ge(ht,rt.version))}Qe.deserialize=ze;function Le(rt){return rt.name===Qe.name&&Qe.supportedVersions.includes(rt.version)}Qe.isSerialized=Le})(Vt||(Vt={}));var bt=Nr(),kt;(Qe=>{function mt(rt,ht){rt.serialize(ht.authenticator),rt.serializeBool(ht.rawTransaction!==void 0),ht.rawTransaction!==void 0&&rt.serialize(ht.rawTransaction)}function Ue(rt){let ht=rt.deserialize(bt.AccountAuthenticator),ut=rt.deserializeBool()?rt.deserialize(bt.RawTransaction):void 0;return{authenticator:ht,rawTransaction:ut}}let Ge=ie(mt),Me=re(Ue);function ze(rt){return Pe(rt,Ge)}Qe.serialize=ze;function Le(rt){return Ne(rt,Me)}Qe.deserialize=Le})(kt||(kt={}));function er(Qe,mt){return mt?.__messageType===Qe.TYPE}var Et=Nr(),qt=class Cy{constructor(){this.__messageType=Cy.TYPE}};qt.TYPE="PromptConnectionRequest";var Hr=qt,_t=class Iy{constructor(mt){this.serializedRequest=mt,this.__messageType=Iy.TYPE}};_t.TYPE="PromptConnectionResponse";var Wt=_t,qr=class ky{constructor(mt){this.serializedValue=mt,this.__messageType=ky.TYPE}};qr.TYPE="PromptApprovalResponse";var Ce=qr,_e=class Py{constructor(){this.__messageType=Py.TYPE}};_e.TYPE="PromptUnauthorizedError";var Ze=_e;function he(Qe){let mt=new Et.Serializer;return mt.serializeStr(Qe.name),mt.serializeBytes(Qe.data),mt.serializeStr(Qe.version.toString()),h(mt.toUint8Array())}function Ke(Qe){let mt=new Et.Deserializer(d(Qe)),Ue=mt.deserializeStr(),Ge=mt.deserializeBytes(),Me;try{Me=Number(mt.deserializeStr())}catch{Me=1}return{data:Ge,name:Ue,version:Me}}var Ht=Nr();function yt({data:Qe,...mt}){let Ue=JSON.stringify({data:Qe,...mt},(Me,ze)=>Me==="data"?h(ze):ze),Ge=new TextEncoder().encode(Ue);return h(Ge)}function Ot(Qe){let mt=d(Qe),Ue=new TextDecoder().decode(mt);return JSON.parse(Ue,(Ge,Me)=>Ge==="data"?d(Me):Me)}function hr(Qe){let mt=JSON.stringify(Qe,(Ge,Me)=>{switch(Ge){case"body":return yt(Me);case"clientIdentityKey":return h(Me.toUint8Array());case"signature":return h(Me.toUint8Array());default:return Me}}),Ue=new TextEncoder().encode(mt);return C(Ue)}function Br(Qe){let mt=y(Qe),Ue=new TextDecoder().decode(mt);return JSON.parse(Ue,(Ge,Me)=>{switch(Ge){case"body":return Ot(Me);case"clientIdentityKey":return new Ht.Ed25519PublicKey(d(Me));case"signature":return new Ht.Ed25519Signature(d(Me));default:return Me}})}function Er({accountAddress:Qe,body:mt,id:Ue,timestamp:Ge}){let Me=new Ht.Serializer;return Me.serializeStr("SignedPopupWalletRequest"),Me.serializeStr(Ue),Me.serializeU64(Ge),Me.serializeBool(Qe!==void 0),Qe!==void 0&&Me.serialize(Ht.AccountAddress.from(Qe)),Me.serializeStr(mt.name),Me.serializeU8(mt.version),Me.serializeBytes(mt.data),Me.toUint8Array()}}),XWe=W(e=>{"use strict";m(),Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});var t=class By extends Error{constructor(at,Tt,pt){super(typeof Tt=="object"?Tt.message:Tt||at,{cause:typeof Tt=="object"?Tt.cause:pt}),this.type=at,Object.setPrototypeOf(this,By.prototype)}};function r(nt){return nt.replace(/[A-Z]/g,at=>`_${at.toLowerCase()}`)}function o(nt){return nt.replace(/_[a-z]/g,at=>at[1].toUpperCase())}var s="ERR_INVALID_VALUE",i="ERR_UNEXPECTED_VALUE",n="ERR_UNEXPECTED_TYPE",a="ERR_PARSE";function u(nt,at){let Tt={};for(let pt in nt){let Bt=nt[pt];if(!Bt)continue;let Zt,K;typeof Bt=="function"?(Zt=pt,K=Bt):[Zt,K]=Bt;try{let X=K(at(Zt));X!==void 0&&(Tt[pt]=X)}catch(X){throw new t(a,`Parser for "${pt}" property failed${Zt===pt?"":`. Source field: "${Zt}"`}`,X)}}return Tt}function c(nt){let at=nt;if(typeof at=="string")try{at=JSON.parse(at)}catch(Tt){throw new t(s,{cause:Tt})}if(typeof at!="object"||!at||Array.isArray(at))throw new t(i);return at}function d(nt,at){return Tt=>{let pt=Bt=>{if(!(Tt&&Bt===void 0))try{return at(Bt)}catch(Zt){throw new t(a,{message:`"${nt}" transformer failed to parse the value`,cause:Zt})}};return Object.assign(pt,{isValid(Bt){try{return pt(Bt),!0}catch{return!1}}})}}function h(nt,at){return d(at||"object",Tt=>{let pt=c(Tt);return u(nt,Bt=>pt[Bt])})}function y(nt){throw new t(n,`Unexpected value received: ${JSON.stringify(nt)}`)}var C=d("boolean",nt=>{if(typeof nt=="boolean")return nt;let at=String(nt);if(at==="1"||at==="true")return!0;if(at==="0"||at==="false")return!1;y(nt)}),w=d("string",nt=>{if(typeof nt=="string"||typeof nt=="number")return nt.toString();y(nt)}),T=d("number",nt=>{if(typeof nt=="number")return nt;if(typeof nt=="string"){let at=Number(nt);if(!Number.isNaN(at))return at}y(nt)}),A=d("date",nt=>nt instanceof Date?nt:new Date(T()(nt)*1e3));function O(nt,at){return d(at||"searchParams",Tt=>{typeof Tt!="string"&&!(Tt instanceof URLSearchParams)&&y(Tt);let pt=typeof Tt=="string"?new URLSearchParams(Tt):Tt;return u(nt,Bt=>{let Zt=pt.get(Bt);return Zt===null?void 0:Zt})})}function v(nt){for(let at in nt)nt[at]=[r(at),nt[at]];return nt}var B=nt=>{let at=T(),Tt=T(!0),pt=w(),Bt=w(!0),Zt=C(!0),K=h(v({addedToAttachmentMenu:Zt,allowsWriteToPm:Zt,firstName:pt,id:at,isBot:Zt,isPremium:Zt,languageCode:Bt,lastName:Bt,photoUrl:Bt,username:Bt}),"User")(!0);return O(v({authDate:A(),canSendAfter:Tt,chat:h(v({id:at,type:pt,title:pt,photoUrl:Bt,username:Bt}),"Chat")(!0),chatInstance:Bt,chatType:Bt,hash:pt,queryId:Bt,receiver:K,startParam:Bt,user:K}),"initData")(nt)};function R(nt){return/^#[\da-f]{6}$/i.test(nt)}function U(nt){return/^#[\da-f]{3}$/i.test(nt)}function N(nt){let at=nt.replace(/\s/g,"").toLowerCase();if(R(at))return at;if(U(at)){let pt="#";for(let Bt=0;Bt<3;Bt+=1)pt+=at[1+Bt].repeat(2);return pt}let Tt=at.match(/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/)||at.match(/^rgba\((\d{1,3}),(\d{1,3}),(\d{1,3}),\d{1,3}\)$/);if(!Tt)throw new Error(`Value "${nt}" does not satisfy any of known RGB formats.`);return Tt.slice(1).reduce((pt,Bt)=>{let Zt=parseInt(Bt,10).toString(16);return pt+(Zt.length===1?"0":"")+Zt},"#")}var _=d("rgb",nt=>N(w()(nt))),L=d("themeParams",nt=>{let at=_(!0);return Object.entries(c(nt)).reduce((Tt,[pt,Bt])=>(Tt[o(pt)]=at(Bt),Tt),{})});function H(nt){return JSON.stringify(Object.fromEntries(Object.entries(nt).map(([at,Tt])=>[r(at),Tt])))}var F=nt=>{let at=w(),Tt=w(!0),pt=C(!0);return O({botInline:["tgWebAppBotInline",pt],initData:["tgWebAppData",B(!0)],initDataRaw:["tgWebAppData",Tt],platform:["tgWebAppPlatform",at],showSettings:["tgWebAppShowSettings",pt],startParam:["tgWebAppStartParam",Tt],themeParams:["tgWebAppThemeParams",L()],version:["tgWebAppVersion",at]},"launchParams")(nt)};function G(nt){let{initDataRaw:at,startParam:Tt,showSettings:pt,botInline:Bt}=nt,Zt=new URLSearchParams;return Zt.set("tgWebAppPlatform",nt.platform),Zt.set("tgWebAppThemeParams",H(nt.themeParams)),Zt.set("tgWebAppVersion",nt.version),at&&Zt.set("tgWebAppData",at),Tt&&Zt.set("tgWebAppStartParam",Tt),typeof pt=="boolean"&&Zt.set("tgWebAppShowSettings",pt?"1":"0"),typeof Bt=="boolean"&&Zt.set("tgWebAppBotInline",Bt?"1":"0"),Zt.toString()}var l=h({eventType:w(),eventData:nt=>nt},"miniAppsMessage"),p=d("fn",nt=>{if(typeof nt=="function")return nt;y(nt)});function E(nt){return!!nt&&typeof nt=="object"&&!Array.isArray(nt)}var g=h({TelegramWebviewProxy:h({postEvent:p()})()});function b(nt){return g().isValid(nt)}function k(){try{return window.self!==window.top}catch{return!0}}var x=Object.defineProperty,S=(nt,at,Tt)=>at in nt?x(nt,at,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):nt[at]=Tt,f=(nt,at,Tt)=>S(nt,typeof at!="symbol"?at+"":at,Tt),M=class xy extends Error{constructor(at,Tt,pt){super(typeof Tt=="object"?Tt.message:Tt||at,{cause:typeof Tt=="object"?Tt.cause:pt}),this.type=at,Object.setPrototypeOf(this,xy.prototype)}};function V(nt,at,Tt){return nt.addEventListener(at,Tt),()=>nt.removeEventListener(at,Tt)}function D(...nt){let at=nt.flat(1);return[at.push.bind(at),()=>{at.forEach(Tt=>{Tt()})}]}function j(nt,at){return nt instanceof M&&nt.type===at}function Y(nt){return at=>j(at,nt)}var oe="ERR_ABORTED",de="ERR_CANCELED",ue="ERR_TIMED_OUT";function ae(nt){return new M(oe,{cause:nt})}var q=Y(ue),ne=Y(oe),me=Y(de);function ve(nt,at){return nt.reject=at.reject,nt}var ge=class td extends Promise{constructor(at,Tt){let pt,Bt;typeof at=="function"?(pt=at,Bt=Tt):Bt=at;let Zt,K;super((X,Z)=>{Bt||(Bt={});let{abortSignal:be}=Bt;if(be&&be.aborted)return Z(ae(be.reason));let[Be,dt]=D(),gt=Cr=>(...dr)=>(dt(),Cr(...dr)),Ve=new AbortController,{signal:Yt}=Ve;K=gt(Cr=>{Ve.abort(Cr),Z(Cr)}),Zt=gt(X),be&&Be(V(be,"abort",()=>{K(ae(be.reason))}));let{timeout:yr}=Bt;if(yr){let Cr=setTimeout(()=>{K(new M(ue,`Timeout reached: ${yr}ms`))},yr);Be(()=>{clearTimeout(Cr)})}pt&&pt(Zt,K,Yt)}),f(this,"reject"),this.reject=K}static withFn(at,Tt){return new td((pt,Bt,Zt)=>{try{let K=at(Zt);return K instanceof Promise?K.then(pt,Bt):pt(K)}catch(K){Bt(K)}},Tt)}static resolve(at){return new td(Tt=>{Tt(at)})}static reject(at){return new td((Tt,pt)=>{pt(at)})}cancel(){this.reject(new M(de))}catch(at){return this.then(void 0,at)}finally(at){return ve(super.finally(at),this)}then(at,Tt){return ve(super.then(at,Tt),this)}};function ce(nt,at){return nt.resolve=at.resolve,nt}var ee=class rd extends ge{constructor(at,Tt){let pt,Bt;typeof at=="function"?(pt=at,Bt=Tt):Bt=at;let Zt;super((K,X,Z)=>{Zt=K,pt&&pt(K,X,Z)},Bt),f(this,"resolve"),this.resolve=Zt}static withFn(at,Tt){return new rd((pt,Bt,Zt)=>ge.withFn(at,{abortSignal:Zt}).then(pt,Bt),Tt)}static resolve(at){return new rd(Tt=>{Tt(at)})}static reject(at){return new rd((Tt,pt)=>{pt(at)})}catch(at){return this.then(void 0,at)}finally(at){return ce(super.finally(at),this)}then(at,Tt){return ce(super.then(at,Tt),this)}};function fe(nt,at){return new ge(Tt=>{setTimeout(Tt,nt)},{abortSignal:at})}function ie(nt){return`tapps/${nt}`}function re(nt,at){sessionStorage.setItem(ie(nt),JSON.stringify(at))}function Oe(nt){let at=sessionStorage.getItem(ie(nt));try{return at?JSON.parse(at):void 0}catch{}}function Pe(nt){return nt.replace(/[A-Z]/g,at=>`-${at.toLowerCase()}`)}function Ne(nt){return nt.replace(/[A-Z]/g,at=>`_${at.toLowerCase()}`)}function Xe(nt){return nt.replace(/_[a-z]/g,at=>at[1].toUpperCase())}function Je(nt,at){at||(at={});let{textColor:Tt,bgColor:pt,shouldLog:Bt=!0}=at;function Zt(K,...X){if(!Bt||typeof Bt=="function"&&!Bt())return;let Z="font-weight:bold;padding:0 5px;border-radius:5px";console[K](`%c${Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",second:"2-digit",fractionalSecondDigits:3,timeZone:"UTC"}).format(new Date)}%c / %c${nt}`,`${Z};background-color: lightblue;color:black`,"",`${Z};${Tt?`color:${Tt};`:""}${pt?`background-color:${pt}`:""}`,...X)}return[function(...K){Zt("log",...K)},function(...K){Zt("error",...K)}]}function ft(nt,at){document.documentElement.style.setProperty(nt,at)}function Kt(nt){document.documentElement.style.removeProperty(nt)}function wt(nt,at){at()}function Ie(nt,at){at||(at={});let Tt=at.equals||Object.is,pt=[],Bt=nt,Zt=be=>{if(!Tt(Bt,be)){let Be=Bt;Bt=be,wt(Z,()=>{[...pt].forEach(([dt,gt])=>{dt(be,Be),gt&&X(dt,!0)})})}};function K(be){let Be=typeof be!="object"?{once:be}:be;return{once:Be.once||!1,signal:Be.signal||!1}}let X=(be,Be)=>{let dt=K(Be),gt=pt.findIndex(([Ve,Yt])=>Ve===be&&Yt.once===dt.once&&Yt.signal===dt.signal);gt>=0&&pt.splice(gt,1)},Z=Object.assign(function(){return Ye(Z),Bt},{destroy(){pt=[]},set:Zt,reset(){Zt(nt)},sub(be,Be){return pt.push([be,K(Be)]),()=>X(be,Be)},unsub:X,unsubAll(){pt=pt.filter(be=>be[1].signal)}});return Z}var it=[];function Ye(nt){it.length&&it[it.length-1].add(nt)}var et=Ie(!1),[Gt,It]=Je("Bridge",{bgColor:"#9147ff",textColor:"white",shouldLog:et}),Rt={clipboard_text_received:h({req_id:w(),data:nt=>nt===null?nt:w(!0)(nt)},"clipboard_text_received"),custom_method_invoked:h({req_id:w(),result:nt=>nt,error:w(!0)},"custom_method_invoked"),popup_closed:d("popup_closed",nt=>nt?h({button_id:at=>at==null?void 0:w()(at)})()(nt):{}),viewport_changed:h({height:T(),width:nt=>nt==null?window.innerWidth:T()(nt),is_state_stable:C(),is_expanded:C()},"viewport_changed")};function _r(nt){let at=window,[,Tt]=D(V(at,"resize",()=>{nt(["viewport_changed",{width:window.innerWidth,height:window.innerHeight,is_state_stable:!0,is_expanded:!0}])}),V(at,"message",pt=>{if(pt.source!==at.parent)return;let Bt;try{Bt=l()(pt.data)}catch{return}let{eventType:Zt,eventData:K}=Bt,X=Rt[Zt];try{let Z=X?X()(K):K;Gt("Event received:",Z?{eventType:Zt,eventData:Z}:{eventType:Zt}),nt([Zt,Z])}catch(Z){It([`An error occurred processing the "${Zt}" event from the Telegram application.`,"Please, file an issue here:","https://github.com/Telegram-Mini-Apps/telegram-apps/issues/new/choose"].join(`
`),Bt,Z)}}));return Tt}var jt=Ie(),Fe=Ie();function Pr(){return Fe()||Fe.set(_r(jt.set)),jt}var $t=Ie({});function Qt(nt){let at=$t()[nt];return at||(at=Ie(void 0,{equals(){return!1}}),Pr().sub(Tt=>{Tt&&Tt[0]===nt&&at.set(Tt[1])}),$t.set({...$t(),[nt]:at})),at}function At(nt,at,Tt){return Qt(nt).sub(at,Tt)}var ur="ERR_METHOD_UNSUPPORTED",tr="ERR_RETRIEVE_LP_FAILED",Vt="ERR_METHOD_PARAMETER_UNSUPPORTED",bt="ERR_UNKNOWN_ENV",kt="ERR_INVOKE_CUSTOM_METHOD_RESPONSE",er=Ie("https://web.telegram.org");function Et(nt,at){Gt("Posting event:",at?{eventType:nt,eventData:at}:{eventType:nt});let Tt=window;if(b(Tt)){Tt.TelegramWebviewProxy.postEvent(nt,JSON.stringify(at));return}let pt=JSON.stringify({eventType:nt,eventData:at});if(k())return Tt.parent.postMessage(pt,er());let{external:Bt}=Tt;if(h({notify:p()})().isValid(Bt)){Bt.notify(pt);return}throw new M(bt)}function qt(nt,at,Tt){Tt||(Tt={});let{capture:pt}=Tt,[Bt,Zt]=D();return new ge(K=>{(Array.isArray(at)?at:[at]).forEach(X=>{Bt(At(X,Z=>{(!pt||(Array.isArray(at)?pt({event:X,payload:Z}):pt(Z)))&&K(Z)}))}),(Tt.postEvent||Et)(nt,Tt.params)},Tt).finally(Zt)}function Hr(nt){return F()(nt)}function _t(nt){return Hr(nt.replace(/^[^?#]*[?#]/,"").replace(/[?#]/g,"&"))}function Wt(){return _t(window.location.href)}function qr(){let nt=performance.getEntriesByType("navigation")[0];if(!nt)throw new Error("Unable to get first navigation entry.");return _t(nt.name)}var Ce="launchParams";function _e(){return Hr(Oe(Ce)||"")}function Ze(nt){re("launchParams",G(nt))}function he(nt){return nt instanceof Error?nt.message+(nt.cause?`
  ${he(nt.cause)}`:""):JSON.stringify(nt)}function Ke(){let nt=[];for(let at of[Wt,qr,_e])try{let Tt=at();return Ze(Tt),Tt}catch(Tt){nt.push(Tt)}throw new M(tr,["Unable to retrieve launch parameters from any known source. Perhaps, you have opened your app outside Telegram?","\u{1F4D6} Refer to docs for more information:","https://docs.telegram-mini-apps.com/packages/telegram-apps-sdk/environment","Collected errors:",...nt.map(at=>`\u2014 ${he(at)}`)].join(`
`))}function Ht(nt){if(nt==="simple")try{return Ke(),!0}catch{return!1}return ge.withFn(async()=>{if(b(window))return!0;try{return await qt("web_app_request_theme","theme_changed",{timeout:100}),!0}catch{return!1}},nt)}function yt(nt,at){window.dispatchEvent(new MessageEvent("message",{data:JSON.stringify({eventType:nt,eventData:at}),source:window.parent}))}function Ot(nt,at){if(typeof at=="string")try{let{eventType:Tt}=l()(at);Tt==="web_app_request_theme"&&yt("theme_changed",{theme_params:JSON.parse(H(nt))}),Tt==="web_app_request_viewport"&&yt("viewport_changed",{width:window.innerWidth,height:window.innerHeight,is_state_stable:!0,is_expanded:!0})}catch{}}function hr(nt){var at;let Tt=typeof nt=="string"?Hr(nt):nt;Ze(Tt);let pt=(at=window.TelegramWebviewProxy)==null?void 0:at.postEvent;window.TelegramWebviewProxy={postEvent(Bt,Zt){Ot(Tt.themeParams,JSON.stringify({eventType:Bt,eventData:Zt})),pt?.(Bt,Zt)}},Gt("Environment was mocked by the mockTelegramEnv function")}function Br(){[["TelegramGameProxy_receiveEvent"],["TelegramGameProxy","receiveEvent"],["Telegram","WebView","receiveEvent"]].forEach(nt=>{let at=window;nt.forEach((Tt,pt,Bt)=>{if(pt===Bt.length-1){at[Tt]=yt;return}Tt in at||(at[Tt]={}),at=at[Tt]})})}function Er(){["TelegramGameProxy_receiveEvent","TelegramGameProxy","Telegram"].forEach(nt=>{delete window[nt]})}function Qe(nt,at,Tt){Qt(nt).unsub(at,Tt)}function mt(nt,at){return Pr().sub(nt,at)}function Ue(nt,at){jt.unsub(nt,at)}function Ge(nt){return({req_id:at})=>at===nt}function Me(nt){return nt.split(".").map(Number)}function ze(nt,at){let Tt=Me(nt),pt=Me(at),Bt=Math.max(Tt.length,pt.length);for(let Zt=0;Zt<Bt;Zt+=1){let K=Tt[Zt]||0,X=pt[Zt]||0;if(K!==X)return K>X?1:-1}return 0}function Le(nt,at){return ze(nt,at)<=0}function rt(nt,at,Tt){if(typeof Tt=="string"){if(nt==="web_app_open_link"){if(at==="try_instant_view")return Le("6.4",Tt);if(at==="try_browser")return Le("7.6",Tt)}if(nt==="web_app_set_header_color"&&at==="color")return Le("6.9",Tt);if(nt==="web_app_close"&&at==="return_back")return Le("7.6",Tt);if(nt==="web_app_setup_main_button"&&at==="has_shine_effect")return Le("7.10",Tt)}switch(nt){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 Le("6.1",at);case"web_app_open_popup":return Le("6.2",at);case"web_app_close_scan_qr_popup":case"web_app_open_scan_qr_popup":case"web_app_read_text_from_clipboard":return Le("6.4",at);case"web_app_switch_inline_query":return Le("6.7",at);case"web_app_invoke_custom_method":case"web_app_request_write_access":case"web_app_request_phone":return Le("6.9",at);case"web_app_setup_settings_button":return Le("6.10",at);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 Le("7.2",at);case"web_app_setup_swipe_behavior":return Le("7.7",at);case"web_app_setup_secondary_button":return Le("7.10",at);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(nt)}}function ht(nt,at){at||(at="strict");let Tt=typeof at=="function"?at:pt=>{let{method:Bt,version:Zt}=pt,K,X;if("param"in pt?(K=`Parameter "${pt.param}" of "${Bt}" method is unsupported in Mini Apps version ${Zt}`,X=Vt):(K=`Method "${Bt}" is unsupported in Mini Apps version ${Zt}`,X=ur),at==="strict")throw new M(X,K);return console.warn(K)};return(pt,Bt)=>rt(pt,nt)?E(Bt)&&pt==="web_app_set_header_color"&&"color"in Bt&&!rt(pt,"color",nt)?Tt({version:nt,method:pt,param:"color"}):Et(pt,Bt):Tt({version:nt,method:pt})}function ut(nt,at,Tt,pt){return qt("web_app_invoke_custom_method","custom_method_invoked",{...pt||{},params:{method:nt,params:at,req_id:Tt},capture:Ge(Tt)}).then(({result:Bt,error:Zt})=>{if(Zt)throw new M(kt,Zt);return Bt})}function Dt(nt){nt.unsubAll(),nt.reset()}function He(){var nt;(nt=Fe())==null||nt(),[...Object.values($t()),$t,jt,Fe,er,et].forEach(Dt)}e.$debug=et,e.$targetOrigin=er,e.CancelablePromise=ge,e.ERR_ABORTED=oe,e.ERR_CANCELED=de,e.ERR_CUSTOM_METHOD_ERR_RESPONSE=kt,e.ERR_METHOD_PARAMETER_UNSUPPORTED=Vt,e.ERR_METHOD_UNSUPPORTED=ur,e.ERR_RETRIEVE_LP_FAILED=tr,e.ERR_TIMED_OUT=ue,e.ERR_UNKNOWN_ENV=bt,e.EnhancedPromise=ee,e.TypedError=M,e.addEventListener=V,e.camelToKebab=Pe,e.camelToSnake=Ne,e.captureSameReq=Ge,e.compareVersions=ze,e.createAbortError=ae,e.createCbCollector=D,e.createLogger=Je,e.createPostEvent=ht,e.createTypedErrorPredicate=Y,e.defineEventHandlers=Br,e.deleteCssVar=Kt,e.emitMiniAppsEvent=yt,e.getStorageValue=Oe,e.hasWebviewProxy=b,e.invokeCustomMethod=ut,e.isAbortError=ne,e.isCanceledError=me,e.isIframe=k,e.isTMA=Ht,e.isTimeoutError=q,e.mockTelegramEnv=hr,e.off=Qe,e.on=At,e.postEvent=Et,e.removeEventHandlers=Er,e.request=qt,e.resetPackageState=He,e.retrieveLaunchParams=Ke,e.setCssVar=ft,e.setStorageValue=re,e.sleep=fe,e.snakeToCamel=Xe,e.subscribe=mt,e.supports=rt,e.unsubscribe=Ue}),fae=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t,r=new Uint8Array(16);function o(){if(!t&&(t=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!t))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return t(r)}}),YWe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=/^(?:[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;e.default=t}),D5=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(YWe());function r(i){return i&&i.__esModule?i:{default:i}}function o(i){return typeof i=="string"&&t.default.test(i)}var s=o;e.default=s}),L5=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.unsafeStringify=s;var t=r(D5());function r(a){return a&&a.__esModule?a:{default:a}}var o=[];for(let a=0;a<256;++a)o.push((a+256).toString(16).slice(1));function s(a,u=0){return o[a[u+0]]+o[a[u+1]]+o[a[u+2]]+o[a[u+3]]+"-"+o[a[u+4]]+o[a[u+5]]+"-"+o[a[u+6]]+o[a[u+7]]+"-"+o[a[u+8]]+o[a[u+9]]+"-"+o[a[u+10]]+o[a[u+11]]+o[a[u+12]]+o[a[u+13]]+o[a[u+14]]+o[a[u+15]]}function i(a,u=0){let c=s(a,u);if(!(0,t.default)(c))throw TypeError("Stringified UUID is invalid");return c}var n=i;e.default=n}),$We=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(fae()),r=L5();function o(d){return d&&d.__esModule?d:{default:d}}var s,i,n=0,a=0;function u(d,h,y){let C=h&&y||0,w=h||new Array(16);d=d||{};let T=d.node||s,A=d.clockseq!==void 0?d.clockseq:i;if(T==null||A==null){let N=d.random||(d.rng||t.default)();T==null&&(T=s=[N[0]|1,N[1],N[2],N[3],N[4],N[5]]),A==null&&(A=i=(N[6]<<8|N[7])&16383)}let O=d.msecs!==void 0?d.msecs:Date.now(),v=d.nsecs!==void 0?d.nsecs:a+1,B=O-n+(v-a)/1e4;if(B<0&&d.clockseq===void 0&&(A=A+1&16383),(B<0||O>n)&&d.nsecs===void 0&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");n=O,a=v,i=A,O+=122192928e5;let R=((O&268435455)*1e4+v)%4294967296;w[C++]=R>>>24&255,w[C++]=R>>>16&255,w[C++]=R>>>8&255,w[C++]=R&255;let U=O/4294967296*1e4&268435455;w[C++]=U>>>8&255,w[C++]=U&255,w[C++]=U>>>24&15|16,w[C++]=U>>>16&255,w[C++]=A>>>8|128,w[C++]=A&255;for(let N=0;N<6;++N)w[C+N]=T[N];return h||(0,r.unsafeStringify)(w)}var c=u;e.default=c}),gae=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(D5());function r(i){return i&&i.__esModule?i:{default:i}}function o(i){if(!(0,t.default)(i))throw TypeError("Invalid UUID");let n,a=new Uint8Array(16);return a[0]=(n=parseInt(i.slice(0,8),16))>>>24,a[1]=n>>>16&255,a[2]=n>>>8&255,a[3]=n&255,a[4]=(n=parseInt(i.slice(9,13),16))>>>8,a[5]=n&255,a[6]=(n=parseInt(i.slice(14,18),16))>>>8,a[7]=n&255,a[8]=(n=parseInt(i.slice(19,23),16))>>>8,a[9]=n&255,a[10]=(n=parseInt(i.slice(24,36),16))/1099511627776&255,a[11]=n/4294967296&255,a[12]=n>>>24&255,a[13]=n>>>16&255,a[14]=n>>>8&255,a[15]=n&255,a}var s=o;e.default=s}),yae=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.URL=e.DNS=void 0,e.default=a;var t=L5(),r=o(gae());function o(u){return u&&u.__esModule?u:{default:u}}function s(u){u=unescape(encodeURIComponent(u));let c=[];for(let d=0;d<u.length;++d)c.push(u.charCodeAt(d));return c}var i="6ba7b810-9dad-11d1-80b4-00c04fd430c8";e.DNS=i;var n="6ba7b811-9dad-11d1-80b4-00c04fd430c8";e.URL=n;function a(u,c,d){function h(y,C,w,T){var A;if(typeof y=="string"&&(y=s(y)),typeof C=="string"&&(C=(0,r.default)(C)),((A=C)===null||A===void 0?void 0:A.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let O=new Uint8Array(16+y.length);if(O.set(C),O.set(y,C.length),O=d(O),O[6]=O[6]&15|c,O[8]=O[8]&63|128,w){T=T||0;for(let v=0;v<16;++v)w[T+v]=O[v];return w}return(0,t.unsafeStringify)(O)}try{h.name=u}catch{}return h.DNS=i,h.URL=n,h}}),nze=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(w){if(typeof w=="string"){let T=unescape(encodeURIComponent(w));w=new Uint8Array(T.length);for(let A=0;A<T.length;++A)w[A]=T.charCodeAt(A)}return r(s(i(w),w.length*8))}function r(w){let T=[],A=w.length*32,O="0123456789abcdef";for(let v=0;v<A;v+=8){let B=w[v>>5]>>>v%32&255,R=parseInt(O.charAt(B>>>4&15)+O.charAt(B&15),16);T.push(R)}return T}function o(w){return(w+64>>>9<<4)+14+1}function s(w,T){w[T>>5]|=128<<T%32,w[o(T)-1]=T;let A=1732584193,O=-271733879,v=-1732584194,B=271733878;for(let R=0;R<w.length;R+=16){let U=A,N=O,_=v,L=B;A=c(A,O,v,B,w[R],7,-680876936),B=c(B,A,O,v,w[R+1],12,-389564586),v=c(v,B,A,O,w[R+2],17,606105819),O=c(O,v,B,A,w[R+3],22,-1044525330),A=c(A,O,v,B,w[R+4],7,-176418897),B=c(B,A,O,v,w[R+5],12,1200080426),v=c(v,B,A,O,w[R+6],17,-1473231341),O=c(O,v,B,A,w[R+7],22,-45705983),A=c(A,O,v,B,w[R+8],7,1770035416),B=c(B,A,O,v,w[R+9],12,-1958414417),v=c(v,B,A,O,w[R+10],17,-42063),O=c(O,v,B,A,w[R+11],22,-1990404162),A=c(A,O,v,B,w[R+12],7,1804603682),B=c(B,A,O,v,w[R+13],12,-40341101),v=c(v,B,A,O,w[R+14],17,-1502002290),O=c(O,v,B,A,w[R+15],22,1236535329),A=d(A,O,v,B,w[R+1],5,-165796510),B=d(B,A,O,v,w[R+6],9,-1069501632),v=d(v,B,A,O,w[R+11],14,643717713),O=d(O,v,B,A,w[R],20,-373897302),A=d(A,O,v,B,w[R+5],5,-701558691),B=d(B,A,O,v,w[R+10],9,38016083),v=d(v,B,A,O,w[R+15],14,-660478335),O=d(O,v,B,A,w[R+4],20,-405537848),A=d(A,O,v,B,w[R+9],5,568446438),B=d(B,A,O,v,w[R+14],9,-1019803690),v=d(v,B,A,O,w[R+3],14,-187363961),O=d(O,v,B,A,w[R+8],20,1163531501),A=d(A,O,v,B,w[R+13],5,-1444681467),B=d(B,A,O,v,w[R+2],9,-51403784),v=d(v,B,A,O,w[R+7],14,1735328473),O=d(O,v,B,A,w[R+12],20,-1926607734),A=h(A,O,v,B,w[R+5],4,-378558),B=h(B,A,O,v,w[R+8],11,-2022574463),v=h(v,B,A,O,w[R+11],16,1839030562),O=h(O,v,B,A,w[R+14],23,-35309556),A=h(A,O,v,B,w[R+1],4,-1530992060),B=h(B,A,O,v,w[R+4],11,1272893353),v=h(v,B,A,O,w[R+7],16,-155497632),O=h(O,v,B,A,w[R+10],23,-1094730640),A=h(A,O,v,B,w[R+13],4,681279174),B=h(B,A,O,v,w[R],11,-358537222),v=h(v,B,A,O,w[R+3],16,-722521979),O=h(O,v,B,A,w[R+6],23,76029189),A=h(A,O,v,B,w[R+9],4,-640364487),B=h(B,A,O,v,w[R+12],11,-421815835),v=h(v,B,A,O,w[R+15],16,530742520),O=h(O,v,B,A,w[R+2],23,-995338651),A=y(A,O,v,B,w[R],6,-198630844),B=y(B,A,O,v,w[R+7],10,1126891415),v=y(v,B,A,O,w[R+14],15,-1416354905),O=y(O,v,B,A,w[R+5],21,-57434055),A=y(A,O,v,B,w[R+12],6,1700485571),B=y(B,A,O,v,w[R+3],10,-1894986606),v=y(v,B,A,O,w[R+10],15,-1051523),O=y(O,v,B,A,w[R+1],21,-2054922799),A=y(A,O,v,B,w[R+8],6,1873313359),B=y(B,A,O,v,w[R+15],10,-30611744),v=y(v,B,A,O,w[R+6],15,-1560198380),O=y(O,v,B,A,w[R+13],21,1309151649),A=y(A,O,v,B,w[R+4],6,-145523070),B=y(B,A,O,v,w[R+11],10,-1120210379),v=y(v,B,A,O,w[R+2],15,718787259),O=y(O,v,B,A,w[R+9],21,-343485551),A=n(A,U),O=n(O,N),v=n(v,_),B=n(B,L)}return[A,O,v,B]}function i(w){if(w.length===0)return[];let T=w.length*8,A=new Uint32Array(o(T));for(let O=0;O<T;O+=8)A[O>>5]|=(w[O/8]&255)<<O%32;return A}function n(w,T){let A=(w&65535)+(T&65535);return(w>>16)+(T>>16)+(A>>16)<<16|A&65535}function a(w,T){return w<<T|w>>>32-T}function u(w,T,A,O,v,B){return n(a(n(n(T,w),n(O,B)),v),A)}function c(w,T,A,O,v,B,R){return u(T&A|~T&O,w,T,v,B,R)}function d(w,T,A,O,v,B,R){return u(T&O|A&~O,w,T,v,B,R)}function h(w,T,A,O,v,B,R){return u(T^A^O,w,T,v,B,R)}function y(w,T,A,O,v,B,R){return u(A^(T|~O),w,T,v,B,R)}var C=t;e.default=C}),oze=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(yae()),r=o(nze());function o(n){return n&&n.__esModule?n:{default:n}}var s=(0,t.default)("v3",48,r.default),i=s;e.default=i}),sze=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),r={randomUUID:t};e.default=r}),uze=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(sze()),r=s(fae()),o=L5();function s(a){return a&&a.__esModule?a:{default:a}}function i(a,u,c){if(t.default.randomUUID&&!u&&!a)return t.default.randomUUID();a=a||{};let d=a.random||(a.rng||r.default)();if(d[6]=d[6]&15|64,d[8]=d[8]&63|128,u){c=c||0;for(let h=0;h<16;++h)u[c+h]=d[h];return u}return(0,o.unsafeStringify)(d)}var n=i;e.default=n}),lze=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(i,n,a,u){switch(i){case 0:return n&a^~n&u;case 1:return n^a^u;case 2:return n&a^n&u^a&u;case 3:return n^a^u}}function r(i,n){return i<<n|i>>>32-n}function o(i){let n=[1518500249,1859775393,2400959708,3395469782],a=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof i=="string"){let h=unescape(encodeURIComponent(i));i=[];for(let y=0;y<h.length;++y)i.push(h.charCodeAt(y))}else Array.isArray(i)||(i=Array.prototype.slice.call(i));i.push(128);let u=i.length/4+2,c=Math.ceil(u/16),d=new Array(c);for(let h=0;h<c;++h){let y=new Uint32Array(16);for(let C=0;C<16;++C)y[C]=i[h*64+C*4]<<24|i[h*64+C*4+1]<<16|i[h*64+C*4+2]<<8|i[h*64+C*4+3];d[h]=y}d[c-1][14]=(i.length-1)*8/Math.pow(2,32),d[c-1][14]=Math.floor(d[c-1][14]),d[c-1][15]=(i.length-1)*8&4294967295;for(let h=0;h<c;++h){let y=new Uint32Array(80);for(let v=0;v<16;++v)y[v]=d[h][v];for(let v=16;v<80;++v)y[v]=r(y[v-3]^y[v-8]^y[v-14]^y[v-16],1);let C=a[0],w=a[1],T=a[2],A=a[3],O=a[4];for(let v=0;v<80;++v){let B=Math.floor(v/20),R=r(C,5)+t(B,w,T,A)+O+n[B]+y[v]>>>0;O=A,A=T,T=r(w,30)>>>0,w=C,C=R}a[0]=a[0]+C>>>0,a[1]=a[1]+w>>>0,a[2]=a[2]+T>>>0,a[3]=a[3]+A>>>0,a[4]=a[4]+O>>>0}return[a[0]>>24&255,a[0]>>16&255,a[0]>>8&255,a[0]&255,a[1]>>24&255,a[1]>>16&255,a[1]>>8&255,a[1]&255,a[2]>>24&255,a[2]>>16&255,a[2]>>8&255,a[2]&255,a[3]>>24&255,a[3]>>16&255,a[3]>>8&255,a[3]&255,a[4]>>24&255,a[4]>>16&255,a[4]>>8&255,a[4]&255]}var s=o;e.default=s}),dze=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(yae()),r=o(lze());function o(n){return n&&n.__esModule?n:{default:n}}var s=(0,t.default)("v5",80,r.default),i=s;e.default=i}),hze=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t="00000000-0000-0000-0000-000000000000";e.default=t}),pze=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(D5());function r(i){return i&&i.__esModule?i:{default:i}}function o(i){if(!(0,t.default)(i))throw TypeError("Invalid UUID");return parseInt(i.slice(14,15),16)}var s=o;e.default=s}),gze=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NIL",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return u.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 o.default}}),Object.defineProperty(e,"v5",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return n.default}});var t=d($We()),r=d(oze()),o=d(uze()),s=d(dze()),i=d(hze()),n=d(pze()),a=d(D5()),u=d(L5()),c=d(gae());function d(h){return h&&h.__esModule?h:{default:h}}}),Eae=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(ne,me)=>{for(var ve in me)r(ne,ve,{get:me[ve],enumerable:!0})},a=(ne,me,ve,ge)=>{if(me&&typeof me=="object"||typeof me=="function")for(let ce of s(me))!i.call(ne,ce)&&ce!==ve&&r(ne,ce,{get:()=>me[ce],enumerable:!(ge=o(me,ce))||ge.enumerable});return ne},u=ne=>a(r({},"__esModule",{value:!0}),ne),c={};n(c,{WebWalletTransport:()=>q}),t.exports=u(c);var d=Mm(),h=Mm(),y={height:695,width:465},C=500,w=h.ConnectResponse.serialize({status:"dismissed"}),T=class extends Error{constructor(){super("Unauthorized")}};function A(ne,me=y){let{height:ve,width:ge}=me,ce={height:ve,left:window.screenLeft+Math.round((window.outerWidth-ge)/2),popup:!0,top:window.screenTop+Math.round((window.outerHeight-ve)/2),width:ge},ee=Object.entries(ce).map(([re,Oe])=>`${re}=${JSON.stringify(Oe)}`).reduce((re,Oe)=>`${re}, ${Oe}`),fe=ne instanceof URL?ne.href:ne,ie=window.open(fe,void 0,ee);if(ie===null)throw new Error("Couldn't open prompt");return ie}async function O(ne,me,ve){return new Promise((ge,ce)=>{let ee={onMessage:fe=>{if(!(fe.source!==me||fe.origin!==ne)){if((0,h.isTypedMessage)(h.PromptUnauthorizedErrorMessage,fe.data)){window.removeEventListener("message",ee.onMessage),clearTimeout(ee.promptPollerId),ce(new T);return}if((0,h.isTypedMessage)(h.PromptConnectionRequestMessage,fe.data)){me.postMessage(new h.PromptConnectionResponseMessage(ve),ne);return}(0,h.isTypedMessage)(h.PromptApprovalResponseMessage,fe.data)&&(window.removeEventListener("message",ee.onMessage),clearTimeout(ee.promptPollerId),ge(fe.data.serializedValue))}},promptPollerId:setInterval(()=>{me.closed&&(window.removeEventListener("message",ee.onMessage),clearTimeout(ee.promptPollerId),ge(w))},C)};window.addEventListener("message",ee.onMessage)})}var v=Mm(),B=Nr(),R="@aptos-connect/dapp-local-state";function U(ne){let me=new B.Serializer;me.serializeU32AsUleb128(ne.connectedAccounts.length);for(let ve of ne.connectedAccounts)(0,v.serializeAccountInfo)(me,ve);return me.toUint8Array()}function N(ne){let me=new B.Deserializer(ne),ve=me.deserializeUleb128AsU32(),ge=[];for(let ce=0;ce<ve;ce+=1)ge.push((0,v.deserializeAccountInfo)(me));return{connectedAccounts:ge}}function _(){let ne=window.localStorage.getItem(R);return ne?N((0,v.base64ToBytes)(ne)):{connectedAccounts:[]}}function L(ne){let me=U(ne),ve=(0,v.bytesToBase64)(me);window.localStorage.setItem(R,ve)}function H(){return _().connectedAccounts}function F(ne){let{connectedAccounts:me,...ve}=_();me.push(ne),L({...ve,connectedAccounts:me})}function G(ne){let{connectedAccounts:me,...ve}=_(),ge=me.findIndex(ce=>ce.address.equals(ne));ge>=0&&me.splice(ge,1),L({...ve,connectedAccounts:me})}var l=Mm(),p=XWe(),E=gze(),g=Mm();async function b(ne,me){let ve=(0,g.bytesToBase64url)(me.clientIdentityKey.toUint8Array());if(!(await fetch(`${ne}/v1/dapp/clients/${ve}/requests/`,{body:JSON.stringify({body:(0,g.encodeWalletRequestBody)(me.body),id:me.id,signature:(0,g.bytesToBase64)(me.signature.toUint8Array()),timestamp:me.timestamp}),headers:{Accept:"application/json","Content-Type":"application/json"},method:"post"})).ok)throw new Error("Failed creating the wallet request")}var k=Nr(),x="@aptos-connect/client-identity-key";function S(){let ne=window.localStorage.getItem(x);if(ne)return new k.Ed25519PrivateKey(ne);let me=k.Ed25519PrivateKey.generate();return window.localStorage.setItem(x,me.toString()),me}var f=Mm(),M=300,V=2e3,D=3e3,j=5*6e4;function Y(ne){let me,ve=()=>{},ge=new Promise(ce=>{me=setTimeout(ce,ne),ve=()=>{clearTimeout(me),ce()}});return ge.cancel=ve,ge}async function oe(ne){let me,ve=!1,ge=D,ce=()=>{ve=!0,ge=V,me?.cancel()},ee=()=>{ge=D};window.addEventListener("focus",ce),window.addEventListener("blur",ee);try{let fe=Date.now();for(;Date.now()-fe<j;){me=Y(ge),await me,ve&&(me=Y(M),await me);let ie=await ne();if(ie.status===200)return ie;ve=!1}throw new Error("Timeout")}finally{window.removeEventListener("focus",ce),window.removeEventListener("blur",ce)}}async function de(ne,me,ve){let ge=(0,f.bytesToBase64url)(me.toUint8Array()),ce=new URL(`${ne}/v1/dapp/clients/${ge}/requests/${ve}/response/`),ee=await(await oe(()=>fetch(ce,{headers:{Accept:"application/json"},method:"get"}))).json();return{data:(0,f.base64ToBytes)(ee.data.body)}}async function ue(ne){let{baseUrl:me,request:ve,tgWebAppUrl:ge="/AptosConnectBot/AptosConnect"}=ne,ce=S(),ee=ce.publicKey(),fe=(0,E.v4)(),ie=Date.now(),re=(0,l.makePopupWalletRequestChallenge)({body:ve,id:fe,timestamp:ie}),Oe=ce.sign(re),Pe={body:ve,clientIdentityKey:ee,id:fe,signature:Oe,timestamp:ie},Ne=(0,l.encodePopupWalletRequest)(Pe);return Ne.length>1024&&(b(me,Pe),Ne=(0,l.encodePopupWalletRequest)({clientIdentityKey:ee,id:fe,signature:Oe,timestamp:ie})),(0,p.postEvent)("web_app_open_tg_link",{path_full:`${ge}?startapp=${Ne}`}),de(me,ee,fe)}function ae(){return window.TelegramWebviewProxy!==void 0}var q=class{constructor(ne,me="google",ve){this.baseUrl=ne,this.provider=me,this.tgWebAppUrl=ve,this.baseUrl=ne}async sendPromptRequest(ne){if(ae())return ue({baseUrl:this.baseUrl,request:ne,tgWebAppUrl:this.tgWebAppUrl});let me=new URL(`${this.baseUrl}/prompt/`);me.searchParams.set("provider",this.provider);let ve=A(me);return O(this.baseUrl,ve,ne)}async sendRequest(ne){switch(ne.name){case d.IsConnectedRequest.name:{let me=H();return d.IsConnectedResponse.serialize(me.length>0)}case d.GetConnectedAccountsRequest.name:{let me=H();return d.GetConnectedAccountsResponse.serialize(me)}case d.ConnectRequest.name:{let me=await this.sendPromptRequest(ne),ve=d.ConnectResponse.deserialize(me);if(ve.args.status==="approved"){let{account:ge,pairing:ce}=ve.args.args;ce===void 0&&F(ge)}return me}case d.SignInRequest.name:{let me=await this.sendPromptRequest(ne),ve=d.SignInResponse.deserialize(me);if(ve.args.status==="approved"){let{account:ge}=ve.args.args;F(ge)}return me}case d.DisconnectRequest.name:{let[me]=H();return me&&G(me.address),d.DisconnectResponse.serialize({})}case d.SignMessageRequest.name:case d.SignTransactionRequest.name:case d.SignAndSubmitTransactionRequest.name:return this.sendPromptRequest(ne);default:throw new Error("Unexpected request")}}}}),GW=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(O,v)=>{for(var B in v)r(O,B,{get:v[B],enumerable:!0})},a=(O,v,B,R)=>{if(v&&typeof v=="object"||typeof v=="function")for(let U of s(v))!i.call(O,U)&&U!==B&&r(O,U,{get:()=>v[U],enumerable:!(R=o(v,U))||R.enumerable});return O},u=O=>a(r({},"__esModule",{value:!0}),O),c={};n(c,{DEFAULT_BACKEND_URL:()=>d,NetworkName:()=>h,PairingStatus:()=>y,SigningRequestStatus:()=>w,SigningRequestTypes:()=>C,WalletOSEnum:()=>T,WalletPlatformEnum:()=>A}),t.exports=u(c);var d="https://identityconnect.com",h=(O=>(O.DEVNET="devnet",O.MAINNET="mainnet",O.TESTNET="testnet",O))(h||{}),y=(O=>(O.Finalized="FINALIZED",O.Pending="PENDING",O))(y||{}),C=(O=>(O.SIGN_AND_SUBMIT_TRANSACTION="SIGN_AND_SUBMIT_TRANSACTION",O.SIGN_MESSAGE="SIGN_MESSAGE",O.SIGN_TRANSACTION="SIGN_TRANSACTION",O))(C||{}),w=(O=>(O.APPROVED="APPROVED",O.CANCELLED="CANCELLED",O.INVALID="INVALID",O.PENDING="PENDING",O.REJECTED="REJECTED",O))(w||{}),T=(O=>(O.Android="android",O.IdentityConnect="ic",O.Linux="linux",O.Macos="osx",O.Windows="win",O.iOS="ios",O))(T||{}),A=(O=>(O.BraveExtension="brave-extension",O.ChromeExtension="chrome-extension",O.FirefoxExtension="firefox-extension",O.IcDappWallet="ic-dapp-wallet",O.KiwiExtension="kiwi-extension",O.NativeApp="native-app",O.OperaExtension="opera-extension",O.SafariExtension="safari-extension",O))(A||{})}),B6=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.output=e.exists=e.hash=e.bytes=e.bool=e.number=void 0;function t(c){if(!Number.isSafeInteger(c)||c<0)throw new Error(`Wrong positive integer: ${c}`)}e.number=t;function r(c){if(typeof c!="boolean")throw new Error(`Expected boolean, not ${c}`)}e.bool=r;function o(c){return c instanceof Uint8Array||c!=null&&typeof c=="object"&&c.constructor.name==="Uint8Array"}function s(c,...d){if(!o(c))throw new Error("Expected Uint8Array");if(d.length>0&&!d.includes(c.length))throw new Error(`Expected Uint8Array of length ${d}, not of length=${c.length}`)}e.bytes=s;function i(c){if(typeof c!="function"||typeof c.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");t(c.outputLen),t(c.blockLen)}e.hash=i;function n(c,d=!0){if(c.destroyed)throw new Error("Hash instance has been destroyed");if(d&&c.finished)throw new Error("Hash#digest() has already been called")}e.exists=n;function a(c,d){s(c);let h=d.outputLen;if(c.length<h)throw new Error(`digestInto() expects output buffer of length at least ${h}`)}e.output=a;var u={number:t,bool:r,bytes:s,hash:i,exists:n,output:a};e.default=u}),Fze=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.crypto=void 0,e.crypto=typeof globalThis=="object"&&"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=Fze(),r=L=>new Uint8Array(L.buffer,L.byteOffset,L.byteLength);e.u8=r;var o=L=>new Uint32Array(L.buffer,L.byteOffset,Math.floor(L.byteLength/4));e.u32=o;function s(L){return L instanceof Uint8Array||L!=null&&typeof L=="object"&&L.constructor.name==="Uint8Array"}var i=L=>new DataView(L.buffer,L.byteOffset,L.byteLength);e.createView=i;var n=(L,H)=>L<<32-H|L>>>H;if(e.rotr=n,e.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,!e.isLE)throw new Error("Non little-endian hardware is not supported");var a=Array.from({length:256},(L,H)=>H.toString(16).padStart(2,"0"));function u(L){if(!s(L))throw new Error("Uint8Array expected");let H="";for(let F=0;F<L.length;F++)H+=a[L[F]];return H}e.bytesToHex=u;var c={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function d(L){if(L>=c._0&&L<=c._9)return L-c._0;if(L>=c._A&&L<=c._F)return L-(c._A-10);if(L>=c._a&&L<=c._f)return L-(c._a-10)}function h(L){if(typeof L!="string")throw new Error("hex string expected, got "+typeof L);let H=L.length,F=H/2;if(H%2)throw new Error("padded hex string expected, got unpadded hex of length "+H);let G=new Uint8Array(F);for(let l=0,p=0;l<F;l++,p+=2){let E=d(L.charCodeAt(p)),g=d(L.charCodeAt(p+1));if(E===void 0||g===void 0){let b=L[p]+L[p+1];throw new Error('hex string expected, got non-hex character "'+b+'" at index '+p)}G[l]=E*16+g}return G}e.hexToBytes=h;var y=async()=>{};e.nextTick=y;async function C(L,H,F){let G=Date.now();for(let l=0;l<L;l++){F(l);let p=Date.now()-G;p>=0&&p<H||(await(0,e.nextTick)(),G+=p)}}e.asyncLoop=C;function w(L){if(typeof L!="string")throw new Error(`utf8ToBytes expected string, got ${typeof L}`);return new Uint8Array(new TextEncoder().encode(L))}e.utf8ToBytes=w;function T(L){if(typeof L=="string"&&(L=w(L)),!s(L))throw new Error(`expected Uint8Array, got ${typeof L}`);return L}e.toBytes=T;function A(...L){let H=0;for(let G=0;G<L.length;G++){let l=L[G];if(!s(l))throw new Error("Uint8Array expected");H+=l.length}let F=new Uint8Array(H);for(let G=0,l=0;G<L.length;G++){let p=L[G];F.set(p,l),l+=p.length}return F}e.concatBytes=A;var O=class{clone(){return this._cloneInto()}};e.Hash=O;var v={}.toString;function B(L,H){if(H!==void 0&&v.call(H)!=="[object Object]")throw new Error("Options should be object or undefined");return Object.assign(L,H)}e.checkOpts=B;function R(L){let H=G=>L().update(T(G)).digest(),F=L();return H.outputLen=F.outputLen,H.blockLen=F.blockLen,H.create=()=>L(),H}e.wrapConstructor=R;function U(L){let H=(G,l)=>L(l).update(T(G)).digest(),F=L({});return H.outputLen=F.outputLen,H.blockLen=F.blockLen,H.create=G=>L(G),H}e.wrapConstructorWithOpts=U;function N(L){let H=(G,l)=>L(l).update(T(G)).digest(),F=L({});return H.outputLen=F.outputLen,H.blockLen=F.blockLen,H.create=G=>L(G),H}e.wrapXOFConstructorWithOpts=N;function _(L=32){if(t.crypto&&typeof t.crypto.getRandomValues=="function")return t.crypto.getRandomValues(new Uint8Array(L));throw new Error("crypto.getRandomValues must be defined")}e.randomBytes=_}),Pae=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.hmac=e.HMAC=void 0;var t=B6(),r=K0(),o=class extends r.Hash{constructor(i,n){super(),this.finished=!1,this.destroyed=!1,(0,t.hash)(i);let a=(0,r.toBytes)(n);if(this.iHash=i.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let u=this.blockLen,c=new Uint8Array(u);c.set(a.length>u?i.create().update(a).digest():a);for(let d=0;d<c.length;d++)c[d]^=54;this.iHash.update(c),this.oHash=i.create();for(let d=0;d<c.length;d++)c[d]^=106;this.oHash.update(c),c.fill(0)}update(i){return(0,t.exists)(this),this.iHash.update(i),this}digestInto(i){(0,t.exists)(this),(0,t.bytes)(i,this.outputLen),this.finished=!0,this.iHash.digestInto(i),this.oHash.update(i),this.oHash.digestInto(i),this.destroy()}digest(){let i=new Uint8Array(this.oHash.outputLen);return this.digestInto(i),i}_cloneInto(i){i||(i=Object.create(Object.getPrototypeOf(this),{}));let{oHash:n,iHash:a,finished:u,destroyed:c,blockLen:d,outputLen:h}=this;return i=i,i.finished=u,i.destroyed=c,i.blockLen=d,i.outputLen=h,i.oHash=n._cloneInto(i.oHash),i.iHash=a._cloneInto(i.iHash),i}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}};e.HMAC=o;var s=(i,n,a)=>new o(i,n).update(a).digest();e.hmac=s,e.hmac.create=(i,n)=>new o(i,n)}),jze=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.pbkdf2Async=e.pbkdf2=void 0;var t=B6(),r=Pae(),o=K0();function s(u,c,d,h){(0,t.hash)(u);let y=(0,o.checkOpts)({dkLen:32,asyncTick:10},h),{c:C,dkLen:w,asyncTick:T}=y;if((0,t.number)(C),(0,t.number)(w),(0,t.number)(T),C<1)throw new Error("PBKDF2: iterations (c) should be >= 1");let A=(0,o.toBytes)(c),O=(0,o.toBytes)(d),v=new Uint8Array(w),B=r.hmac.create(u,A),R=B._cloneInto().update(O);return{c:C,dkLen:w,asyncTick:T,DK:v,PRF:B,PRFSalt:R}}function i(u,c,d,h,y){return u.destroy(),c.destroy(),h&&h.destroy(),y.fill(0),d}function n(u,c,d,h){let{c:y,dkLen:C,DK:w,PRF:T,PRFSalt:A}=s(u,c,d,h),O,v=new Uint8Array(4),B=(0,o.createView)(v),R=new Uint8Array(T.outputLen);for(let U=1,N=0;N<C;U++,N+=T.outputLen){let _=w.subarray(N,N+T.outputLen);B.setInt32(0,U,!1),(O=A._cloneInto(O)).update(v).digestInto(R),_.set(R.subarray(0,_.length));for(let L=1;L<y;L++){T._cloneInto(O).update(R).digestInto(R);for(let H=0;H<_.length;H++)_[H]^=R[H]}}return i(T,A,w,O,R)}e.pbkdf2=n;async function a(u,c,d,h){let{c:y,dkLen:C,asyncTick:w,DK:T,PRF:A,PRFSalt:O}=s(u,c,d,h),v,B=new Uint8Array(4),R=(0,o.createView)(B),U=new Uint8Array(A.outputLen);for(let N=1,_=0;_<C;N++,_+=A.outputLen){let L=T.subarray(_,_+A.outputLen);R.setInt32(0,N,!1),(v=O._cloneInto(v)).update(B).digestInto(U),L.set(U.subarray(0,L.length)),await(0,o.asyncLoop)(y-1,w,()=>{A._cloneInto(v).update(U).digestInto(U);for(let H=0;H<L.length;H++)L[H]^=U[H]})}return i(A,O,T,v,U)}e.pbkdf2Async=a}),Mae=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.SHA2=void 0;var t=B6(),r=K0();function o(i,n,a,u){if(typeof i.setBigUint64=="function")return i.setBigUint64(n,a,u);let c=BigInt(32),d=BigInt(4294967295),h=Number(a>>c&d),y=Number(a&d),C=u?4:0,w=u?0:4;i.setUint32(n+C,h,u),i.setUint32(n+w,y,u)}var s=class extends r.Hash{constructor(i,n,a,u){super(),this.blockLen=i,this.outputLen=n,this.padOffset=a,this.isLE=u,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(i),this.view=(0,r.createView)(this.buffer)}update(i){(0,t.exists)(this);let{view:n,buffer:a,blockLen:u}=this;i=(0,r.toBytes)(i);let c=i.length;for(let d=0;d<c;){let h=Math.min(u-this.pos,c-d);if(h===u){let y=(0,r.createView)(i);for(;u<=c-d;d+=u)this.process(y,d);continue}a.set(i.subarray(d,d+h),this.pos),this.pos+=h,d+=h,this.pos===u&&(this.process(n,0),this.pos=0)}return this.length+=i.length,this.roundClean(),this}digestInto(i){(0,t.exists)(this),(0,t.output)(i,this),this.finished=!0;let{buffer:n,view:a,blockLen:u,isLE:c}=this,{pos:d}=this;n[d++]=128,this.buffer.subarray(d).fill(0),this.padOffset>u-d&&(this.process(a,0),d=0);for(let T=d;T<u;T++)n[T]=0;o(a,u-8,BigInt(this.length*8),c),this.process(a,0);let h=(0,r.createView)(i),y=this.outputLen;if(y%4)throw new Error("_sha2: outputLen should be aligned to 32bit");let C=y/4,w=this.get();if(C>w.length)throw new Error("_sha2: outputLen bigger than state");for(let T=0;T<C;T++)h.setUint32(4*T,w[T],c)}digest(){let{buffer:i,outputLen:n}=this;this.digestInto(i);let a=i.slice(0,n);return this.destroy(),a}_cloneInto(i){i||(i=new this.constructor),i.set(...this.get());let{blockLen:n,buffer:a,length:u,finished:c,destroyed:d,pos:h}=this;return i.length=u,i.pos=h,i.finished=c,i.destroyed=d,u%n&&i.buffer.set(a),i}};e.SHA2=s}),Rae=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.sha224=e.sha256=void 0;var t=Mae(),r=K0(),o=(d,h,y)=>d&h^~d&y,s=(d,h,y)=>d&h^d&y^h&y,i=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]),n=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),a=new Uint32Array(64),u=class extends t.SHA2{constructor(){super(64,32,8,!1),this.A=n[0]|0,this.B=n[1]|0,this.C=n[2]|0,this.D=n[3]|0,this.E=n[4]|0,this.F=n[5]|0,this.G=n[6]|0,this.H=n[7]|0}get(){let{A:d,B:h,C:y,D:C,E:w,F:T,G:A,H:O}=this;return[d,h,y,C,w,T,A,O]}set(d,h,y,C,w,T,A,O){this.A=d|0,this.B=h|0,this.C=y|0,this.D=C|0,this.E=w|0,this.F=T|0,this.G=A|0,this.H=O|0}process(d,h){for(let R=0;R<16;R++,h+=4)a[R]=d.getUint32(h,!1);for(let R=16;R<64;R++){let U=a[R-15],N=a[R-2],_=(0,r.rotr)(U,7)^(0,r.rotr)(U,18)^U>>>3,L=(0,r.rotr)(N,17)^(0,r.rotr)(N,19)^N>>>10;a[R]=L+a[R-7]+_+a[R-16]|0}let{A:y,B:C,C:w,D:T,E:A,F:O,G:v,H:B}=this;for(let R=0;R<64;R++){let U=(0,r.rotr)(A,6)^(0,r.rotr)(A,11)^(0,r.rotr)(A,25),N=B+U+o(A,O,v)+i[R]+a[R]|0,_=((0,r.rotr)(y,2)^(0,r.rotr)(y,13)^(0,r.rotr)(y,22))+s(y,C,w)|0;B=v,v=O,O=A,A=T+N|0,T=w,w=C,C=y,y=N+_|0}y=y+this.A|0,C=C+this.B|0,w=w+this.C|0,T=T+this.D|0,A=A+this.E|0,O=O+this.F|0,v=v+this.G|0,B=B+this.H|0,this.set(y,C,w,T,A,O,v,B)}roundClean(){a.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},c=class extends u{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 u),e.sha224=(0,r.wrapConstructor)(()=>new c)}),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 o(F,G=!1){return G?{h:Number(F&t),l:Number(F>>r&t)}:{h:Number(F>>r&t)|0,l:Number(F&t)|0}}e.fromBig=o;function s(F,G=!1){let l=new Uint32Array(F.length),p=new Uint32Array(F.length);for(let E=0;E<F.length;E++){let{h:g,l:b}=o(F[E],G);[l[E],p[E]]=[g,b]}return[l,p]}e.split=s;var i=(F,G)=>BigInt(F>>>0)<<r|BigInt(G>>>0);e.toBig=i;var n=(F,G,l)=>F>>>l;e.shrSH=n;var a=(F,G,l)=>F<<32-l|G>>>l;e.shrSL=a;var u=(F,G,l)=>F>>>l|G<<32-l;e.rotrSH=u;var c=(F,G,l)=>F<<32-l|G>>>l;e.rotrSL=c;var d=(F,G,l)=>F<<64-l|G>>>l-32;e.rotrBH=d;var h=(F,G,l)=>F>>>l-32|G<<64-l;e.rotrBL=h;var y=(F,G)=>G;e.rotr32H=y;var C=(F,G)=>F;e.rotr32L=C;var w=(F,G,l)=>F<<l|G>>>32-l;e.rotlSH=w;var T=(F,G,l)=>G<<l|F>>>32-l;e.rotlSL=T;var A=(F,G,l)=>G<<l-32|F>>>64-l;e.rotlBH=A;var O=(F,G,l)=>F<<l-32|G>>>64-l;e.rotlBL=O;function v(F,G,l,p){let E=(G>>>0)+(p>>>0);return{h:F+l+(E/2**32|0)|0,l:E|0}}e.add=v;var B=(F,G,l)=>(F>>>0)+(G>>>0)+(l>>>0);e.add3L=B;var R=(F,G,l,p)=>G+l+p+(F/2**32|0)|0;e.add3H=R;var U=(F,G,l,p)=>(F>>>0)+(G>>>0)+(l>>>0)+(p>>>0);e.add4L=U;var N=(F,G,l,p,E)=>G+l+p+E+(F/2**32|0)|0;e.add4H=N;var _=(F,G,l,p,E)=>(F>>>0)+(G>>>0)+(l>>>0)+(p>>>0)+(E>>>0);e.add5L=_;var L=(F,G,l,p,E,g)=>G+l+p+E+g+(F/2**32|0)|0;e.add5H=L;var H={fromBig:o,split:s,toBig:i,shrSH:n,shrSL:a,rotrSH:u,rotrSL:c,rotrBH:d,rotrBL:h,rotr32H:y,rotr32L:C,rotlSH:w,rotlSL:T,rotlBH:A,rotlBL:O,add:v,add3L:B,add3H:R,add4L:U,add4H:N,add5H:L,add5L:_};e.default=H}),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=Mae(),r=Uae(),o=K0(),[s,i]=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(y=>BigInt(y))),n=new Uint32Array(80),a=new Uint32Array(80),u=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:y,Al:C,Bh:w,Bl:T,Ch:A,Cl:O,Dh:v,Dl:B,Eh:R,El:U,Fh:N,Fl:_,Gh:L,Gl:H,Hh:F,Hl:G}=this;return[y,C,w,T,A,O,v,B,R,U,N,_,L,H,F,G]}set(y,C,w,T,A,O,v,B,R,U,N,_,L,H,F,G){this.Ah=y|0,this.Al=C|0,this.Bh=w|0,this.Bl=T|0,this.Ch=A|0,this.Cl=O|0,this.Dh=v|0,this.Dl=B|0,this.Eh=R|0,this.El=U|0,this.Fh=N|0,this.Fl=_|0,this.Gh=L|0,this.Gl=H|0,this.Hh=F|0,this.Hl=G|0}process(y,C){for(let E=0;E<16;E++,C+=4)n[E]=y.getUint32(C),a[E]=y.getUint32(C+=4);for(let E=16;E<80;E++){let g=n[E-15]|0,b=a[E-15]|0,k=r.default.rotrSH(g,b,1)^r.default.rotrSH(g,b,8)^r.default.shrSH(g,b,7),x=r.default.rotrSL(g,b,1)^r.default.rotrSL(g,b,8)^r.default.shrSL(g,b,7),S=n[E-2]|0,f=a[E-2]|0,M=r.default.rotrSH(S,f,19)^r.default.rotrBH(S,f,61)^r.default.shrSH(S,f,6),V=r.default.rotrSL(S,f,19)^r.default.rotrBL(S,f,61)^r.default.shrSL(S,f,6),D=r.default.add4L(x,V,a[E-7],a[E-16]),j=r.default.add4H(D,k,M,n[E-7],n[E-16]);n[E]=j|0,a[E]=D|0}let{Ah:w,Al:T,Bh:A,Bl:O,Ch:v,Cl:B,Dh:R,Dl:U,Eh:N,El:_,Fh:L,Fl:H,Gh:F,Gl:G,Hh:l,Hl:p}=this;for(let E=0;E<80;E++){let g=r.default.rotrSH(N,_,14)^r.default.rotrSH(N,_,18)^r.default.rotrBH(N,_,41),b=r.default.rotrSL(N,_,14)^r.default.rotrSL(N,_,18)^r.default.rotrBL(N,_,41),k=N&L^~N&F,x=_&H^~_&G,S=r.default.add5L(p,b,x,i[E],a[E]),f=r.default.add5H(S,l,g,k,s[E],n[E]),M=S|0,V=r.default.rotrSH(w,T,28)^r.default.rotrBH(w,T,34)^r.default.rotrBH(w,T,39),D=r.default.rotrSL(w,T,28)^r.default.rotrBL(w,T,34)^r.default.rotrBL(w,T,39),j=w&A^w&v^A&v,Y=T&O^T&B^O&B;l=F|0,p=G|0,F=L|0,G=H|0,L=N|0,H=_|0,{h:N,l:_}=r.default.add(R|0,U|0,f|0,M|0),R=v|0,U=B|0,v=A|0,B=O|0,A=w|0,O=T|0;let oe=r.default.add3L(M,D,Y);w=r.default.add3H(oe,f,V,j),T=oe|0}({h:w,l:T}=r.default.add(this.Ah|0,this.Al|0,w|0,T|0)),{h:A,l:O}=r.default.add(this.Bh|0,this.Bl|0,A|0,O|0),{h:v,l:B}=r.default.add(this.Ch|0,this.Cl|0,v|0,B|0),{h:R,l:U}=r.default.add(this.Dh|0,this.Dl|0,R|0,U|0),{h:N,l:_}=r.default.add(this.Eh|0,this.El|0,N|0,_|0),{h:L,l:H}=r.default.add(this.Fh|0,this.Fl|0,L|0,H|0),{h:F,l:G}=r.default.add(this.Gh|0,this.Gl|0,F|0,G|0),{h:l,l:p}=r.default.add(this.Hh|0,this.Hl|0,l|0,p|0),this.set(w,T,A,O,v,B,R,U,N,_,L,H,F,G,l,p)}roundClean(){n.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=u;var c=class extends u{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}},d=class extends u{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}},h=class extends u{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,o.wrapConstructor)(()=>new u),e.sha512_224=(0,o.wrapConstructor)(()=>new c),e.sha512_256=(0,o.wrapConstructor)(()=>new d),e.sha384=(0,o.wrapConstructor)(()=>new h)}),EKe=W(e=>{"use strict";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=t;function t(l){if(!Number.isSafeInteger(l))throw new Error(`Wrong integer: ${l}`)}function r(l){return l instanceof Uint8Array||l!=null&&typeof l=="object"&&l.constructor.name==="Uint8Array"}function o(...l){let p=k=>k,E=(k,x)=>S=>k(x(S)),g=l.map(k=>k.encode).reduceRight(E,p),b=l.map(k=>k.decode).reduce(E,p);return{encode:g,decode:b}}function s(l){return{encode:p=>{if(!Array.isArray(p)||p.length&&typeof p[0]!="number")throw new Error("alphabet.encode input should be an array of numbers");return p.map(E=>{if(E<0||E>=l.length)throw new Error(`Digit index outside alphabet: ${E} (alphabet: ${l.length})`);return l[E]})},decode:p=>{if(!Array.isArray(p)||p.length&&typeof p[0]!="string")throw new Error("alphabet.decode input should be array of strings");return p.map(E=>{if(typeof E!="string")throw new Error(`alphabet.decode: not string element=${E}`);let g=l.indexOf(E);if(g===-1)throw new Error(`Unknown letter: "${E}". Allowed: ${l}`);return g})}}}function i(l=""){if(typeof l!="string")throw new Error("join separator should be string");return{encode:p=>{if(!Array.isArray(p)||p.length&&typeof p[0]!="string")throw new Error("join.encode input should be array of strings");for(let E of p)if(typeof E!="string")throw new Error(`join.encode: non-string input=${E}`);return p.join(l)},decode:p=>{if(typeof p!="string")throw new Error("join.decode input should be string");return p.split(l)}}}function n(l,p="="){if(typeof p!="string")throw new Error("padding chr should be string");return{encode(E){if(!Array.isArray(E)||E.length&&typeof E[0]!="string")throw new Error("padding.encode input should be array of strings");for(let g of E)if(typeof g!="string")throw new Error(`padding.encode: non-string input=${g}`);for(;E.length*l%8;)E.push(p);return E},decode(E){if(!Array.isArray(E)||E.length&&typeof E[0]!="string")throw new Error("padding.encode input should be array of strings");for(let b of E)if(typeof b!="string")throw new Error(`padding.decode: non-string input=${b}`);let g=E.length;if(g*l%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;g>0&&E[g-1]===p;g--)if(!((g-1)*l%8))throw new Error("Invalid padding: string has too much padding");return E.slice(0,g)}}}function a(l){if(typeof l!="function")throw new Error("normalize fn should be function");return{encode:p=>p,decode:p=>l(p)}}function u(l,p,E){if(p<2)throw new Error(`convertRadix: wrong from=${p}, base cannot be less than 2`);if(E<2)throw new Error(`convertRadix: wrong to=${E}, base cannot be less than 2`);if(!Array.isArray(l))throw new Error("convertRadix: data should be array");if(!l.length)return[];let g=0,b=[],k=Array.from(l);for(k.forEach(x=>{if(x<0||x>=p)throw new Error(`Wrong integer: ${x}`)});;){let x=0,S=!0;for(let f=g;f<k.length;f++){let M=k[f],V=p*x+M;if(!Number.isSafeInteger(V)||p*x/p!==x||V-M!==p*x)throw new Error("convertRadix: carry overflow");x=V%E;let D=Math.floor(V/E);if(k[f]=D,!Number.isSafeInteger(D)||D*E+x!==V)throw new Error("convertRadix: carry overflow");if(S)D?S=!1:g=f;else continue}if(b.push(x),S)break}for(let x=0;x<l.length-1&&l[x]===0;x++)b.push(0);return b.reverse()}var c=(l,p)=>p?c(p,l%p):l,d=(l,p)=>l+(p-c(l,p));function h(l,p,E,g){if(!Array.isArray(l))throw new Error("convertRadix2: data should be array");if(p<=0||p>32)throw new Error(`convertRadix2: wrong from=${p}`);if(E<=0||E>32)throw new Error(`convertRadix2: wrong to=${E}`);if(d(p,E)>32)throw new Error(`convertRadix2: carry overflow from=${p} to=${E} carryBits=${d(p,E)}`);let b=0,k=0,x=2**E-1,S=[];for(let f of l){if(f>=2**p)throw new Error(`convertRadix2: invalid data word=${f} from=${p}`);if(b=b<<p|f,k+p>32)throw new Error(`convertRadix2: carry overflow pos=${k} from=${p}`);for(k+=p;k>=E;k-=E)S.push((b>>k-E&x)>>>0);b&=2**k-1}if(b=b<<E-k&x,!g&&k>=p)throw new Error("Excess padding");if(!g&&b)throw new Error(`Non-zero padding: ${b}`);return g&&k>0&&S.push(b>>>0),S}function y(l){return{encode:p=>{if(!r(p))throw new Error("radix.encode input should be Uint8Array");return u(Array.from(p),2**8,l)},decode:p=>{if(!Array.isArray(p)||p.length&&typeof p[0]!="number")throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(u(p,l,2**8))}}}function C(l,p=!1){if(l<=0||l>32)throw new Error("radix2: bits should be in (0..32]");if(d(8,l)>32||d(l,8)>32)throw new Error("radix2: carry overflow");return{encode:E=>{if(!r(E))throw new Error("radix2.encode input should be Uint8Array");return h(Array.from(E),8,l,!p)},decode:E=>{if(!Array.isArray(E)||E.length&&typeof E[0]!="number")throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(h(E,l,8,p))}}}function w(l){if(typeof l!="function")throw new Error("unsafeWrapper fn should be function");return function(...p){try{return l.apply(null,p)}catch{}}}function T(l,p){if(typeof p!="function")throw new Error("checksum fn should be function");return{encode(E){if(!r(E))throw new Error("checksum.encode: input should be Uint8Array");let g=p(E).slice(0,l),b=new Uint8Array(E.length+l);return b.set(E),b.set(g,E.length),b},decode(E){if(!r(E))throw new Error("checksum.decode: input should be Uint8Array");let g=E.slice(0,-l),b=p(g).slice(0,l),k=E.slice(-l);for(let x=0;x<l;x++)if(b[x]!==k[x])throw new Error("Invalid checksum");return g}}}e.utils={alphabet:s,chain:o,checksum:T,convertRadix:u,convertRadix2:h,radix:y,radix2:C,join:i,padding:n},e.base16=o(C(4),s("0123456789ABCDEF"),i("")),e.base32=o(C(5),s("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),n(5),i("")),e.base32nopad=o(C(5),s("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),i("")),e.base32hex=o(C(5),s("0123456789ABCDEFGHIJKLMNOPQRSTUV"),n(5),i("")),e.base32hexnopad=o(C(5),s("0123456789ABCDEFGHIJKLMNOPQRSTUV"),i("")),e.base32crockford=o(C(5),s("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),i(""),a(l=>l.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),e.base64=o(C(6),s("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),n(6),i("")),e.base64nopad=o(C(6),s("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),i("")),e.base64url=o(C(6),s("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),n(6),i("")),e.base64urlnopad=o(C(6),s("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),i(""));var A=l=>o(y(58),s(l),i(""));e.base58=A("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),e.base58flickr=A("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),e.base58xrp=A("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");var O=[0,2,3,5,6,7,9,10,11];e.base58xmr={encode(l){let p="";for(let E=0;E<l.length;E+=8){let g=l.subarray(E,E+8);p+=e.base58.encode(g).padStart(O[g.length],"1")}return p},decode(l){let p=[];for(let E=0;E<l.length;E+=11){let g=l.slice(E,E+11),b=O.indexOf(g.length),k=e.base58.decode(g);for(let x=0;x<k.length-b;x++)if(k[x]!==0)throw new Error("base58xmr: wrong padding");p=p.concat(Array.from(k.slice(k.length-b)))}return Uint8Array.from(p)}};var v=l=>o(T(4,p=>l(l(p))),e.base58);e.createBase58check=v,e.base58check=e.createBase58check;var B=o(s("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),i("")),R=[996825010,642813549,513874426,1027748829,705979059];function U(l){let p=l>>25,E=(l&33554431)<<5;for(let g=0;g<R.length;g++)(p>>g&1)===1&&(E^=R[g]);return E}function N(l,p,E=1){let g=l.length,b=1;for(let k=0;k<g;k++){let x=l.charCodeAt(k);if(x<33||x>126)throw new Error(`Invalid prefix (${l})`);b=U(b)^x>>5}b=U(b);for(let k=0;k<g;k++)b=U(b)^l.charCodeAt(k)&31;for(let k of p)b=U(b)^k;for(let k=0;k<6;k++)b=U(b);return b^=E,B.encode(h([b%2**30],30,5,!1))}function _(l){let p=l==="bech32"?1:734539939,E=C(5),g=E.decode,b=E.encode,k=w(g);function x(D,j,Y=90){if(typeof D!="string")throw new Error(`bech32.encode prefix should be string, not ${typeof D}`);if(j instanceof Uint8Array&&(j=Array.from(j)),!Array.isArray(j)||j.length&&typeof j[0]!="number")throw new Error(`bech32.encode words should be array of numbers, not ${typeof j}`);if(D.length===0)throw new TypeError(`Invalid prefix length ${D.length}`);let oe=D.length+7+j.length;if(Y!==!1&&oe>Y)throw new TypeError(`Length ${oe} exceeds limit ${Y}`);let de=D.toLowerCase(),ue=N(de,j,p);return`${de}1${B.encode(j)}${ue}`}function S(D,j=90){if(typeof D!="string")throw new Error(`bech32.decode input should be string, not ${typeof D}`);if(D.length<8||j!==!1&&D.length>j)throw new TypeError(`Wrong string length: ${D.length} (${D}). Expected (8..${j})`);let Y=D.toLowerCase();if(D!==Y&&D!==D.toUpperCase())throw new Error("String must be lowercase or uppercase");let oe=Y.lastIndexOf("1");if(oe===0||oe===-1)throw new Error('Letter "1" must be present between prefix and data only');let de=Y.slice(0,oe),ue=Y.slice(oe+1);if(ue.length<6)throw new Error("Data must be at least 6 characters long");let ae=B.decode(ue).slice(0,-6),q=N(de,ae,p);if(!ue.endsWith(q))throw new Error(`Invalid checksum in ${D}: expected "${q}"`);return{prefix:de,words:ae}}let f=w(S);function M(D){let{prefix:j,words:Y}=S(D,!1);return{prefix:j,words:Y,bytes:g(Y)}}function V(D,j){return x(D,b(j))}return{encode:x,decode:S,encodeFromBytes:V,decodeToBytes:M,decodeUnsafe:f,fromWords:g,fromWordsUnsafe:k,toWords:b}}e.bech32=_("bech32"),e.bech32m=_("bech32m"),e.utf8={encode:l=>new TextDecoder().decode(l),decode:l=>new TextEncoder().encode(l)},e.hex=o(C(4),s("0123456789abcdef"),i(""),a(l=>{if(typeof l!="string"||l.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof l} with length ${l.length}`);return l.toLowerCase()}));var L={utf8:e.utf8,hex:e.hex,base16:e.base16,base32:e.base32,base64:e.base64,base64url:e.base64url,base58:e.base58,base58xmr:e.base58xmr},H="Invalid encoding type. Available types: utf8, hex, base16, base32, base64, base64url, base58, base58xmr",F=(l,p)=>{if(typeof l!="string"||!L.hasOwnProperty(l))throw new TypeError(H);if(!r(p))throw new TypeError("bytesToString() expects Uint8Array");return L[l].encode(p)};e.bytesToString=F,e.str=e.bytesToString;var G=(l,p)=>{if(!L.hasOwnProperty(l))throw new TypeError(H);if(typeof p!="string")throw new TypeError("stringToBytes() expects string");return L[l].decode(p)};e.stringToBytes=G,e.bytes=e.stringToBytes}),_Ke=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=jze(),o=Rae(),s=zae(),i=K0(),n=EKe(),a=R=>R[0]==="\u3042\u3044\u3053\u304F\u3057\u3093";function u(R){if(typeof R!="string")throw new TypeError(`Invalid mnemonic type: ${typeof R}`);return R.normalize("NFKD")}function c(R){let U=u(R),N=U.split(" ");if(![12,15,18,21,24].includes(N.length))throw new Error("Invalid mnemonic");return{nfkd:U,words:N}}function d(R){t.default.bytes(R,16,20,24,28,32)}function h(R,U=128){if(t.default.number(U),U%32!==0||U>256)throw new TypeError("Invalid entropy");return T((0,i.randomBytes)(U/8),R)}e.generateMnemonic=h;var y=R=>{let U=8-R.length/4;return new Uint8Array([(0,o.sha256)(R)[0]>>U<<U])};function C(R){if(!Array.isArray(R)||R.length!==2048||typeof R[0]!="string")throw new Error("Worlist: expected array of 2048 strings");return R.forEach(U=>{if(typeof U!="string")throw new Error(`Wordlist: non-string element: ${U}`)}),n.utils.chain(n.utils.checksum(1,y),n.utils.radix2(11,!0),n.utils.alphabet(R))}function w(R,U){let{words:N}=c(R),_=C(U).decode(N);return d(_),_}e.mnemonicToEntropy=w;function T(R,U){return d(R),C(U).encode(R).join(a(U)?"\u3000":" ")}e.entropyToMnemonic=T;function A(R,U){try{w(R,U)}catch{return!1}return!0}e.validateMnemonic=A;var O=R=>u(`mnemonic${R}`);function v(R,U=""){return(0,r.pbkdf2Async)(s.sha512,c(R).nfkd,O(U),{c:2048,dkLen:64})}e.mnemonicToSeed=v;function B(R,U=""){return(0,r.pbkdf2)(s.sha512,c(R).nfkd,O(U),{c:2048,dkLen:64})}e.mnemonicToSeedSync=B}),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(),o=K0(),[s,i,n]=[[],[],[]],a=BigInt(0),u=BigInt(1),c=BigInt(2),d=BigInt(7),h=BigInt(256),y=BigInt(113);for(let U=0,N=u,_=1,L=0;U<24;U++){[_,L]=[L,(2*_+3*L)%5],s.push(2*(5*L+_)),i.push((U+1)*(U+2)/2%64);let H=a;for(let F=0;F<7;F++)N=(N<<u^(N>>d)*y)%h,N&c&&(H^=u<<(u<<BigInt(F))-u);n.push(H)}var[C,w]=(0,r.split)(n,!0),T=(U,N,_)=>_>32?(0,r.rotlBH)(U,N,_):(0,r.rotlSH)(U,N,_),A=(U,N,_)=>_>32?(0,r.rotlBL)(U,N,_):(0,r.rotlSL)(U,N,_);function O(U,N=24){let _=new Uint32Array(10);for(let L=24-N;L<24;L++){for(let G=0;G<10;G++)_[G]=U[G]^U[G+10]^U[G+20]^U[G+30]^U[G+40];for(let G=0;G<10;G+=2){let l=(G+8)%10,p=(G+2)%10,E=_[p],g=_[p+1],b=T(E,g,1)^_[l],k=A(E,g,1)^_[l+1];for(let x=0;x<50;x+=10)U[G+x]^=b,U[G+x+1]^=k}let H=U[2],F=U[3];for(let G=0;G<24;G++){let l=i[G],p=T(H,F,l),E=A(H,F,l),g=s[G];H=U[g],F=U[g+1],U[g]=p,U[g+1]=E}for(let G=0;G<50;G+=10){for(let l=0;l<10;l++)_[l]=U[G+l];for(let l=0;l<10;l++)U[G+l]^=~_[(l+2)%10]&_[(l+4)%10]}U[0]^=C[L],U[1]^=w[L]}_.fill(0)}e.keccakP=O;var v=class Ry extends o.Hash{constructor(N,_,L,H=!1,F=24){if(super(),this.blockLen=N,this.suffix=_,this.outputLen=L,this.enableXOF=H,this.rounds=F,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,t.number)(L),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,o.u32)(this.state)}keccak(){O(this.state32,this.rounds),this.posOut=0,this.pos=0}update(N){(0,t.exists)(this);let{blockLen:_,state:L}=this;N=(0,o.toBytes)(N);let H=N.length;for(let F=0;F<H;){let G=Math.min(_-this.pos,H-F);for(let l=0;l<G;l++)L[this.pos++]^=N[F++];this.pos===_&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:N,suffix:_,pos:L,blockLen:H}=this;N[L]^=_,_&128&&L===H-1&&this.keccak(),N[H-1]^=128,this.keccak()}writeInto(N){(0,t.exists)(this,!1),(0,t.bytes)(N),this.finish();let _=this.state,{blockLen:L}=this;for(let H=0,F=N.length;H<F;){this.posOut>=L&&this.keccak();let G=Math.min(L-this.posOut,F-H);N.set(_.subarray(this.posOut,this.posOut+G),H),this.posOut+=G,H+=G}return N}xofInto(N){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(N)}xof(N){return(0,t.number)(N),this.xofInto(new Uint8Array(N))}digestInto(N){if((0,t.output)(N,this),this.finished)throw new Error("digest() was already called");return this.writeInto(N),this.destroy(),N}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(N){let{blockLen:_,suffix:L,outputLen:H,rounds:F,enableXOF:G}=this;return N||(N=new Ry(_,L,H,G,F)),N.state32.set(this.state32),N.pos=this.pos,N.posOut=this.posOut,N.finished=this.finished,N.rounds=F,N.suffix=L,N.outputLen=H,N.enableXOF=G,N.destroyed=this.destroyed,N}};e.Keccak=v;var B=(U,N,_)=>(0,o.wrapConstructor)(()=>new v(N,U,_));e.sha3_224=B(6,144,224/8),e.sha3_256=B(6,136,256/8),e.sha3_384=B(6,104,384/8),e.sha3_512=B(6,72,512/8),e.keccak_224=B(1,144,224/8),e.keccak_256=B(1,136,256/8),e.keccak_384=B(1,104,384/8),e.keccak_512=B(1,72,512/8);var R=(U,N,_)=>(0,o.wrapXOFConstructorWithOpts)((L={})=>new v(N,U,L.dkLen===void 0?_:L.dkLen,!0));e.shake128=R(31,168,128/8),e.shake256=R(31,136,256/8)}),Vje=W((e,t)=>{"use strict";m();var r=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,n=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,u=(Q,$)=>{for(var Ee in $)o(Q,Ee,{get:$[Ee],enumerable:!0})},c=(Q,$,Ee,je)=>{if($&&typeof $=="object"||typeof $=="function")for(let ct of i($))!a.call(Q,ct)&&ct!==Ee&&o(Q,ct,{get:()=>$[ct],enumerable:!(je=s($,ct))||je.enumerable});return Q},d=(Q,$,Ee)=>(Ee=Q!=null?r(n(Q)):{},c($||!Q||!Q.__esModule?o(Ee,"default",{value:Q,enumerable:!0}):Ee,Q)),h=Q=>c(o({},"__esModule",{value:!0}),Q),y=(Q,$,Ee,je)=>{for(var ct=je>1?void 0:je?s($,Ee):$,Pt=Q.length-1,rr;Pt>=0;Pt--)(rr=Q[Pt])&&(ct=(je?rr($,Ee,ct):rr(ct))||ct);return je&&ct&&o($,Ee,ct),ct},C={};u(C,{APTOS_COIN:()=>D,AccountSequenceNumber:()=>Re,Account_Transactions_Select_Column:()=>Tn,Address_Events_Summary_Select_Column:()=>Un,Address_Version_From_Events_Select_Column:()=>Fu,Address_Version_From_Move_Resources_Select_Column:()=>Wa,AnsClient:()=>xa,ApiError:()=>gi,AptosAccount:()=>Vn,AptosApiError:()=>ne,AptosClient:()=>_n,AptosToken:()=>Ba,BCS:()=>ft,Block_Metadata_Transactions_Select_Column:()=>rc,CKDPriv:()=>l,COIN_TRANSFER:()=>Js,CoinClient:()=>Us,Coin_Activities_Select_Column:()=>nc,Coin_Balances_Select_Column:()=>fu,Coin_Infos_Select_Column:()=>pu,Coin_Supply_Select_Column:()=>Ls,Collection_Datas_Select_Column:()=>gu,Current_Ans_Lookup_Select_Column:()=>za,Current_Ans_Lookup_V2_Select_Column:()=>ju,Current_Aptos_Names_Select_Column:()=>Ka,Current_Coin_Balances_Select_Column:()=>le,Current_Collection_Datas_Select_Column:()=>se,Current_Collection_Ownership_V2_View_Select_Column:()=>we,Current_Collections_V2_Select_Column:()=>ke,Current_Delegated_Staking_Pool_Balances_Select_Column:()=>qe,Current_Delegated_Voter_Select_Column:()=>ot,Current_Delegator_Balances_Select_Column:()=>St,Current_Fungible_Asset_Balances_Select_Column:()=>lr,Current_Objects_Select_Column:()=>Or,Current_Staking_Pool_Voter_Select_Column:()=>tn,Current_Table_Items_Select_Column:()=>pn,Current_Token_Datas_Select_Column:()=>Qr,Current_Token_Datas_V2_Select_Column:()=>rn,Current_Token_Ownerships_Select_Column:()=>Zr,Current_Token_Ownerships_V2_Select_Column:()=>yn,Current_Token_Pending_Claims_Select_Column:()=>en,Cursor_Ordering:()=>Ln,Delegated_Staking_Activities_Select_Column:()=>Nn,Delegated_Staking_Pools_Select_Column:()=>Wi,Delegator_Distinct_Pool_Select_Column:()=>ia,Events_Select_Column:()=>ba,FailedTransactionError:()=>zo,FaucetClient:()=>Xs,FungibleAssetClient:()=>vs,Fungible_Asset_Activities_Select_Column:()=>Uc,Fungible_Asset_Metadata_Select_Column:()=>pl,HexString:()=>Xe,IndexerClient:()=>Ms,Indexer_Status_Select_Column:()=>gl,Ledger_Infos_Select_Column:()=>yl,Move_Resources_Select_Column:()=>Dc,Network:()=>Pe,NetworkToIndexerAPI:()=>ie,NetworkToNodeAPI:()=>re,Nft_Marketplace_V2_Current_Nft_Marketplace_Auctions_Select_Column:()=>ml,Nft_Marketplace_V2_Current_Nft_Marketplace_Collection_Offers_Select_Column:()=>Wc,Nft_Marketplace_V2_Current_Nft_Marketplace_Listings_Select_Column:()=>bl,Nft_Marketplace_V2_Current_Nft_Marketplace_Token_Offers_Select_Column:()=>Jn,Nft_Marketplace_V2_Nft_Marketplace_Activities_Select_Column:()=>vl,Nft_Metadata_Crawler_Parsed_Asset_Uris_Select_Column:()=>Lc,NodeAPIToNetwork:()=>Oe,Num_Active_Delegator_Per_Pool_Select_Column:()=>Fc,Order_By:()=>jc,Processor_Status_Select_Column:()=>Cl,PropertyMap:()=>bs,PropertyValue:()=>po,Proposal_Votes_Select_Column:()=>Ol,Provider:()=>di,TRANSFER_COINS:()=>xo,Table_Items_Select_Column:()=>Xa,Table_Metadatas_Select_Column:()=>Pl,TokenClient:()=>xs,TokenTypes:()=>ws,Token_Activities_Select_Column:()=>Vc,Token_Activities_V2_Select_Column:()=>Jc,Token_Datas_Select_Column:()=>Bl,Token_Ownerships_Select_Column:()=>Nl,Tokens_Select_Column:()=>Yc,TransactionBuilder:()=>eo,TransactionBuilderABI:()=>ao,TransactionBuilderEd25519:()=>vi,TransactionBuilderMultiEd25519:()=>xi,TransactionBuilderRemoteABI:()=>jn,TransactionWorker:()=>sr,TransactionWorkerEvents:()=>nr,TxnBuilderTypes:()=>Je,TypeTagParser:()=>Yt,Types:()=>pr,User_Transactions_Select_Column:()=>qu,WaitForTransactionError:()=>Fo,ansContractsMap:()=>Qs,aptosRequest:()=>ge,argToTransactionArgument:()=>Gs,derivePath:()=>g,deserializePropertyMap:()=>ma,deserializeValueBasedOnTypeTag:()=>Xi,ensureBigInt:()=>Oi,ensureBoolean:()=>_o,ensureNumber:()=>qi,get:()=>ce,getAddressFromAccountOrAddress:()=>De,getMasterKeyFromSeed:()=>G,getPropertyType:()=>Rn,getPropertyValueRaw:()=>Vs,getPublicKey:()=>p,getSinglePropertyValueRaw:()=>Pi,isValidPath:()=>E,nameComponentPattern:()=>Ni,namePattern:()=>Ws,post:()=>ee,serializeArg:()=>Ji}),t.exports=h(C);var w=d(oh()),T=d(_Ke()),A=K0(),O=Rae(),v=J5(),B=d(oh()),R=Pae(),U=zae(),N=K0(),_=/^m(\/[0-9]+')+$/,L=Q=>Q.replace("'",""),H="ed25519 seed",F=2147483648,G=Q=>{let $=R.hmac.create(U.sha512,H).update((0,N.hexToBytes)(Q)).digest(),Ee=$.slice(0,32),je=$.slice(32);return{key:Ee,chainCode:je}},l=({key:Q,chainCode:$},Ee)=>{let je=new ArrayBuffer(4);new DataView(je).setUint32(0,Ee);let ct=new Uint8Array(je),Pt=new Uint8Array([0]),rr=new Uint8Array([...Pt,...Q,...ct]),Ir=R.hmac.create(U.sha512,$).update(rr).digest(),Kr=Ir.slice(0,32),Yr=Ir.slice(32);return{key:Kr,chainCode:Yr}},p=(Q,$=!0)=>{let Ee=B.default.sign.keyPair.fromSeed(Q).secretKey.subarray(32),je=new Uint8Array([0]);return $?new Uint8Array([...je,...Ee]):Ee},E=Q=>_.test(Q)?!Q.split("/").slice(1).map(L).some(Number.isNaN):!1,g=(Q,$,Ee=F)=>{if(!E(Q))throw new Error("Invalid derivation path");let{key:je,chainCode:ct}=G($);return Q.split("/").slice(1).map(L).map(Pt=>parseInt(Pt,10)).reduce((Pt,rr)=>l(Pt,rr+Ee),{key:je,chainCode:ct})},b="1.21.0";async function k(Q){return new Promise($=>{setTimeout($,Q)})}var x="/v1";function S(Q){let $=`${Q}`;return $.endsWith("/")&&($=$.substring(0,$.length-1)),$.endsWith(x)||($=`${$}${x}`),$}var f=2e5,M=20,V=20,D="0x1::aptos_coin::AptosCoin",j={"x-aptos-client":`aptos-ts-sdk/${b}`};function Y(Q){let $,Ee,je;return typeof Q=="object"?($=Q.hashFunction,Ee=Q.ttlMs,je=Q.tags):$=Q,(ct,Pt,rr)=>{if(rr.value!=null)rr.value=ae(rr.value,$,Ee,je);else if(rr.get!=null)rr.get=ae(rr.get,$,Ee,je);else throw new Error("Only put a Memoize() decorator on a method or get accessor.")}}function oe(Q,$){return Y({ttlMs:Q,hashFunction:$})}var de=new Map;function ue(Q){let $=new Set;for(let Ee of Q){let je=de.get(Ee);if(je)for(let ct of je)$.has(ct)||(ct.clear(),$.add(ct))}return $.size}function ae(Q,$,Ee=0,je){let ct=Symbol("__memoized_map__");return function(...Pt){let rr,Ir=this;Ir.hasOwnProperty(ct)||Object.defineProperty(Ir,ct,{configurable:!1,enumerable:!1,writable:!1,value:new Map});let Kr=Ir[ct];if(Array.isArray(je))for(let Yr of je)de.has(Yr)?de.get(Yr).push(Kr):de.set(Yr,[Kr]);if($||Pt.length>0||Ee>0){let Yr;$===!0?Yr=Pt.map(yi=>yi.toString()).join("!"):$?Yr=$.apply(Ir,Pt):Yr=Pt[0];let In=`${Yr}__timestamp`,ei=!1;if(Ee>0)if(!Kr.has(In))ei=!0;else{let yi=Kr.get(In);ei=Date.now()-yi>Ee}Kr.has(Yr)&&!ei?rr=Kr.get(Yr):(rr=Q.apply(Ir,Pt),Kr.set(Yr,rr),Ee>0&&Kr.set(In,Date.now()))}else{let Yr=Ir;Kr.has(Yr)?rr=Kr.get(Yr):(rr=Q.apply(Ir,Pt),Kr.set(Yr,rr))}return rr}}var q=d(fie()),ne=class extends Error{constructor(Q,$,Ee){super(Ee),this.name="AptosApiError",this.url=$.url,this.status=$.status,this.statusText=$.statusText,this.data=$.data,this.request=Q}},me={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 ve(Q,$,Ee,je,ct,Pt){let rr={...Pt?.HEADERS,"x-aptos-client":`aptos-ts-sdk/${b}`,"content-type":je??"application/json"};return Pt?.TOKEN&&(rr.Authorization=`Bearer ${Pt?.TOKEN}`),await(0,q.default)({url:Q,method:$,body:Ee,params:ct,headers:rr,overrides:Pt})}async function ge(Q){let{url:$,endpoint:Ee,method:je,body:ct,contentType:Pt,params:rr,overrides:Ir}=Q,Kr=`${$}/${Ee??""}`,Yr=await ve(Kr,je,ct,Pt,rr,Ir),In={status:Yr.status,statusText:Yr.statusText,data:Yr.data,headers:Yr.headers,config:Yr.config,url:Kr};if(In.status>=200&&In.status<300)return In;let ei=me[In.status];throw new ne(Q,In,ei??"Generic Error")}async function ce(Q){return await ge({...Q,method:"GET"})}async function ee(Q){return await ge({...Q,method:"POST"})}async function fe(Q){let $=[],Ee,je=Q.params;for(;;){je.start=Ee;let ct=await ce({url:Q.url,endpoint:Q.endpoint,params:je,originMethod:Q.originMethod,overrides:Q.overrides});if(Ee=ct.headers["x-aptos-cursor"],delete ct.headers,$.push(...ct.data),Ee==null)break}return $}var ie={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"},re={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"},Oe={"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"},Pe=(Q=>(Q.MAINNET="mainnet",Q.TESTNET="testnet",Q.DEVNET="devnet",Q.LOCAL="local",Q))(Pe||{}),Ne=K0(),Xe=class nd{static fromBuffer($){return nd.fromUint8Array($)}static fromUint8Array($){return new nd((0,Ne.bytesToHex)($))}static ensure($){return typeof $=="string"?new nd($):$}constructor($){$.startsWith("0x")?this.hexString=$:this.hexString=`0x${$}`}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,Ne.hexToBytes)(this.noPrefix()))}},Je={};u(Je,{AccountAddress:()=>_t,AccountAuthenticator:()=>Qe,AccountAuthenticatorEd25519:()=>mt,AccountAuthenticatorMultiEd25519:()=>Ue,ArgumentABI:()=>bi,AuthenticationKey:()=>ro,ChainId:()=>ks,ChangeSet:()=>An,Ed25519PublicKey:()=>qr,Ed25519Signature:()=>_e,EntryFunction:()=>wr,EntryFunctionABI:()=>Vi,FeePayerRawTransaction:()=>Hn,Identifier:()=>Ge,Module:()=>ln,ModuleId:()=>gn,MultiAgentRawTransaction:()=>qn,MultiEd25519PublicKey:()=>he,MultiEd25519Signature:()=>Ht,MultiSig:()=>sn,MultiSigTransactionPayload:()=>jr,RawTransaction:()=>Cr,RawTransactionWithData:()=>Gn,RotationProofChallenge:()=>js,Script:()=>dr,ScriptABI:()=>wo,SignedTransaction:()=>Cn,StructTag:()=>Bt,Transaction:()=>ds,TransactionArgument:()=>Hi,TransactionArgumentAddress:()=>Do,TransactionArgumentBool:()=>Io,TransactionArgumentU128:()=>So,TransactionArgumentU16:()=>co,TransactionArgumentU256:()=>ss,TransactionArgumentU32:()=>Ps,TransactionArgumentU64:()=>Uo,TransactionArgumentU8:()=>Ro,TransactionArgumentU8Vector:()=>Gi,TransactionAuthenticator:()=>yt,TransactionAuthenticatorEd25519:()=>Ot,TransactionAuthenticatorFeePayer:()=>Er,TransactionAuthenticatorMultiAgent:()=>Br,TransactionAuthenticatorMultiEd25519:()=>hr,TransactionPayload:()=>uo,TransactionPayloadEntryFunction:()=>Co,TransactionPayloadMultisig:()=>is,TransactionPayloadScript:()=>Ri,TransactionScriptABI:()=>vo,TypeArgumentABI:()=>Mi,TypeTag:()=>Me,TypeTagAddress:()=>nt,TypeTagBool:()=>ze,TypeTagParser:()=>Yt,TypeTagParserError:()=>yr,TypeTagSigner:()=>at,TypeTagStruct:()=>pt,TypeTagU128:()=>Dt,TypeTagU16:()=>rt,TypeTagU256:()=>He,TypeTagU32:()=>ht,TypeTagU64:()=>ut,TypeTagU8:()=>Le,TypeTagVector:()=>Tt,UserTransaction:()=>mo,WriteSet:()=>mn,objectStructTag:()=>X,optionStructTag:()=>K,stringStructTag:()=>Zt});var ft={};u(ft,{Deserializer:()=>Rt,Serializer:()=>Gt,bcsSerializeBool:()=>bt,bcsSerializeBytes:()=>er,bcsSerializeFixedBytes:()=>Et,bcsSerializeStr:()=>kt,bcsSerializeU128:()=>tr,bcsSerializeU16:()=>At,bcsSerializeU256:()=>Vt,bcsSerializeU32:()=>ur,bcsSerializeU8:()=>Qt,bcsSerializeUint64:()=>$t,bcsToBytes:()=>Pr,deserializeVector:()=>Fe,serializeVector:()=>_r,serializeVectorWithFunc:()=>jt});var Kt=2**8-1,wt=2**16-1,Ie=2**32-1,it=BigInt(2**64)-BigInt(1),Ye=BigInt(2**128)-BigInt(1),et=BigInt(2**256)-BigInt(1),Gt=class{constructor(){this.buffer=new ArrayBuffer(64),this.offset=0}ensureBufferWillHandleSize(Q){for(;this.buffer.byteLength<this.offset+Q;){let $=new ArrayBuffer(this.buffer.byteLength*2);new Uint8Array($).set(new Uint8Array(this.buffer)),this.buffer=$}}serialize(Q){this.ensureBufferWillHandleSize(Q.length),new Uint8Array(this.buffer,this.offset).set(Q),this.offset+=Q.length}serializeWithFunction(Q,$,Ee){this.ensureBufferWillHandleSize($);let je=new DataView(this.buffer,this.offset);Q.apply(je,[0,Ee,!0]),this.offset+=$}serializeStr(Q){let $=new TextEncoder;this.serializeBytes($.encode(Q))}serializeBytes(Q){this.serializeU32AsUleb128(Q.length),this.serialize(Q)}serializeFixedBytes(Q){this.serialize(Q)}serializeBool(Q){if(typeof Q!="boolean")throw new Error("Value needs to be a boolean");let $=Q?1:0;this.serialize(new Uint8Array([$]))}serializeU8(Q){this.serialize(new Uint8Array([Q]))}serializeU16(Q){this.serializeWithFunction(DataView.prototype.setUint16,2,Q)}serializeU32(Q){this.serializeWithFunction(DataView.prototype.setUint32,4,Q)}serializeU64(Q){let $=BigInt(Q.toString())&BigInt(Ie),Ee=BigInt(Q.toString())>>BigInt(32);this.serializeU32(Number($)),this.serializeU32(Number(Ee))}serializeU128(Q){let $=BigInt(Q.toString())&it,Ee=BigInt(Q.toString())>>BigInt(64);this.serializeU64($),this.serializeU64(Ee)}serializeU256(Q){let $=BigInt(Q.toString())&Ye,Ee=BigInt(Q.toString())>>BigInt(128);this.serializeU128($),this.serializeU128(Ee)}serializeU32AsUleb128(Q){let $=Q,Ee=[];for(;$>>>7;)Ee.push($&127|128),$>>>=7;Ee.push($),this.serialize(new Uint8Array(Ee))}getBytes(){return new Uint8Array(this.buffer).slice(0,this.offset)}};y([It(0,Kt)],Gt.prototype,"serializeU8",1),y([It(0,wt)],Gt.prototype,"serializeU16",1),y([It(0,Ie)],Gt.prototype,"serializeU32",1),y([It(BigInt(0),it)],Gt.prototype,"serializeU64",1),y([It(BigInt(0),Ye)],Gt.prototype,"serializeU128",1),y([It(BigInt(0),et)],Gt.prototype,"serializeU256",1),y([It(0,Ie)],Gt.prototype,"serializeU32AsUleb128",1);function It(Q,$,Ee){return(je,ct,Pt)=>{let rr=Pt.value;return Pt.value=function(Ir){let Kr=BigInt(Ir.toString());if(Kr>BigInt($.toString())||Kr<BigInt(Q.toString()))throw new Error(Ee||"Value is out of range");rr.apply(this,[Ir])},Pt}}var Rt=class{constructor(Q){this.buffer=new ArrayBuffer(Q.length),new Uint8Array(this.buffer).set(Q,0),this.offset=0}read(Q){if(this.offset+Q>this.buffer.byteLength)throw new Error("Reached to the end of buffer");let $=this.buffer.slice(this.offset,this.offset+Q);return this.offset+=Q,$}deserializeStr(){let Q=this.deserializeBytes();return new TextDecoder().decode(Q)}deserializeBytes(){let Q=this.deserializeUleb128AsU32();return new Uint8Array(this.read(Q))}deserializeFixedBytes(Q){return new Uint8Array(this.read(Q))}deserializeBool(){let Q=new Uint8Array(this.read(1))[0];if(Q!==1&&Q!==0)throw new Error("Invalid boolean value");return Q===1}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 Q=this.deserializeU32(),$=this.deserializeU32();return BigInt(BigInt($)<<BigInt(32)|BigInt(Q))}deserializeU128(){let Q=this.deserializeU64(),$=this.deserializeU64();return BigInt($<<BigInt(64)|Q)}deserializeU256(){let Q=this.deserializeU128(),$=this.deserializeU128();return BigInt($<<BigInt(128)|Q)}deserializeUleb128AsU32(){let Q=BigInt(0),$=0;for(;Q<Ie;){let Ee=this.deserializeU8();if(Q|=BigInt(Ee&127)<<BigInt($),!(Ee&128))break;$+=7}if(Q>Ie)throw new Error("Overflow while parsing uleb128-encoded uint32 value");return Number(Q)}};function _r(Q,$){$.serializeU32AsUleb128(Q.length),Q.forEach(Ee=>{Ee.serialize($)})}function jt(Q,$){let Ee=new Gt;Ee.serializeU32AsUleb128(Q.length);let je=Ee[$];return Q.forEach(ct=>{je.call(Ee,ct)}),Ee.getBytes()}function Fe(Q,$){let Ee=Q.deserializeUleb128AsU32(),je=[];for(let ct=0;ct<Ee;ct+=1)je.push($.deserialize(Q));return je}function Pr(Q){let $=new Gt;return Q.serialize($),$.getBytes()}function $t(Q){let $=new Gt;return $.serializeU64(Q),$.getBytes()}function Qt(Q){let $=new Gt;return $.serializeU8(Q),$.getBytes()}function At(Q){let $=new Gt;return $.serializeU16(Q),$.getBytes()}function ur(Q){let $=new Gt;return $.serializeU32(Q),$.getBytes()}function tr(Q){let $=new Gt;return $.serializeU128(Q),$.getBytes()}function Vt(Q){let $=new Gt;return $.serializeU256(Q),$.getBytes()}function bt(Q){let $=new Gt;return $.serializeBool(Q),$.getBytes()}function kt(Q){let $=new Gt;return $.serializeStr(Q),$.getBytes()}function er(Q){let $=new Gt;return $.serializeBytes(Q),$.getBytes()}function Et(Q){let $=new Gt;return $.serializeFixedBytes(Q),$.getBytes()}var qt=J5(),Hr=class sa{constructor($){if($.length!==sa.LENGTH)throw new Error("Expected address of length 32");this.address=$}static fromHex($){let Ee=Xe.ensure($);Ee.noPrefix().length%2!==0&&(Ee=new Xe(`0${Ee.noPrefix()}`));let je=Ee.toUint8Array();if(je.length>sa.LENGTH)throw new Error("Hex string is too long. Address's length is 32 bytes.");if(je.length===sa.LENGTH)return new sa(je);let ct=new Uint8Array(sa.LENGTH);return ct.set(je,sa.LENGTH-je.length),new sa(ct)}static isValid($){if($==="")return!1;let Ee=Xe.ensure($);return Ee.noPrefix().length%2!==0&&(Ee=new Xe(`0${Ee.noPrefix()}`)),Ee.toUint8Array().length<=sa.LENGTH}toHexString(){return Xe.fromUint8Array(this.address).hex()}serialize($){$.serializeFixedBytes(this.address)}static deserialize($){return new sa($.deserializeFixedBytes(sa.LENGTH))}static standardizeAddress($){let Ee=$.toLowerCase();return`0x${(Ee.startsWith("0x")?Ee.slice(2):Ee).padStart(64,"0")}`}};Hr.LENGTH=32,Hr.CORE_CODE_ADDRESS=Hr.fromHex("0x1");var _t=Hr,Wt=class id{constructor($){if($.length!==id.LENGTH)throw new Error(`Ed25519PublicKey length should be ${id.LENGTH}`);this.value=$}toBytes(){return this.value}serialize($){$.serializeBytes(this.value)}static deserialize($){let Ee=$.deserializeBytes();return new id(Ee)}};Wt.LENGTH=32;var qr=Wt,Ce=class od{constructor($){if(this.value=$,$.length!==od.LENGTH)throw new Error(`Ed25519Signature length should be ${od.LENGTH}`)}serialize($){$.serializeBytes(this.value)}static deserialize($){let Ee=$.deserializeBytes();return new od(Ee)}};Ce.LENGTH=64;var _e=Ce,Ze=32,he=class Uy{constructor($,Ee){if(this.public_keys=$,this.threshold=Ee,Ee>Ze)throw new Error(`"threshold" cannot be larger than ${Ze}`)}toBytes(){let $=new Uint8Array(this.public_keys.length*qr.LENGTH+1);return this.public_keys.forEach((Ee,je)=>{$.set(Ee.value,je*qr.LENGTH)}),$[this.public_keys.length*qr.LENGTH]=this.threshold,$}serialize($){$.serializeBytes(this.toBytes())}static deserialize($){let Ee=$.deserializeBytes(),je=Ee[Ee.length-1],ct=[];for(let Pt=0;Pt<Ee.length-1;Pt+=qr.LENGTH){let rr=Pt;ct.push(new qr(Ee.subarray(rr,rr+qr.LENGTH)))}return new Uy(ct,je)}},Ke=class ul{constructor($,Ee){if(this.signatures=$,this.bitmap=Ee,Ee.length!==ul.BITMAP_LEN)throw new Error(`"bitmap" length should be ${ul.BITMAP_LEN}`)}toBytes(){let $=new Uint8Array(this.signatures.length*_e.LENGTH+ul.BITMAP_LEN);return this.signatures.forEach((Ee,je)=>{$.set(Ee.value,je*_e.LENGTH)}),$.set(this.bitmap,this.signatures.length*_e.LENGTH),$}static createBitmap($){let Ee=new Uint8Array([0,0,0,0]),je=new Set;return $.forEach(ct=>{if(ct>=Ze)throw new Error(`Invalid bit value ${ct}.`);if(je.has(ct))throw new Error("Duplicated bits detected.");je.add(ct);let Pt=Math.floor(ct/8),rr=Ee[Pt];rr|=128>>ct%8,Ee[Pt]=rr}),Ee}serialize($){$.serializeBytes(this.toBytes())}static deserialize($){let Ee=$.deserializeBytes(),je=Ee.subarray(Ee.length-4),ct=[];for(let Pt=0;Pt<Ee.length-je.length;Pt+=_e.LENGTH){let rr=Pt;ct.push(new _e(Ee.subarray(rr,rr+_e.LENGTH)))}return new ul(ct,je)}};Ke.BITMAP_LEN=4;var Ht=Ke,yt=class{static deserialize(Q){let $=Q.deserializeUleb128AsU32();switch($){case 0:return Ot.load(Q);case 1:return hr.load(Q);case 2:return Br.load(Q);case 3:return Er.load(Q);default:throw new Error(`Unknown variant index for TransactionAuthenticator: ${$}`)}}},Ot=class Dy extends yt{constructor($,Ee){super(),this.public_key=$,this.signature=Ee}serialize($){$.serializeU32AsUleb128(0),this.public_key.serialize($),this.signature.serialize($)}static load($){let Ee=qr.deserialize($),je=_e.deserialize($);return new Dy(Ee,je)}},hr=class _y extends yt{constructor($,Ee){super(),this.public_key=$,this.signature=Ee}serialize($){$.serializeU32AsUleb128(1),this.public_key.serialize($),this.signature.serialize($)}static load($){let Ee=he.deserialize($),je=Ht.deserialize($);return new _y(Ee,je)}},Br=class Wy extends yt{constructor($,Ee,je){super(),this.sender=$,this.secondary_signer_addresses=Ee,this.secondary_signers=je}serialize($){$.serializeU32AsUleb128(2),this.sender.serialize($),_r(this.secondary_signer_addresses,$),_r(this.secondary_signers,$)}static load($){let Ee=Qe.deserialize($),je=Fe($,_t),ct=Fe($,Qe);return new Wy(Ee,je,ct)}},Er=class Ly extends yt{constructor($,Ee,je,ct){super(),this.sender=$,this.secondary_signer_addresses=Ee,this.secondary_signers=je,this.fee_payer=ct}serialize($){$.serializeU32AsUleb128(3),this.sender.serialize($),_r(this.secondary_signer_addresses,$),_r(this.secondary_signers,$),this.fee_payer.address.serialize($),this.fee_payer.authenticator.serialize($)}static load($){let Ee=Qe.deserialize($),je=Fe($,_t),ct=Fe($,Qe),Pt=_t.deserialize($),rr=Qe.deserialize($),Ir={address:Pt,authenticator:rr};return new Ly(Ee,je,ct,Ir)}},Qe=class{static deserialize(Q){let $=Q.deserializeUleb128AsU32();switch($){case 0:return mt.load(Q);case 1:return Ue.load(Q);default:throw new Error(`Unknown variant index for AccountAuthenticator: ${$}`)}}},mt=class Fy extends Qe{constructor($,Ee){super(),this.public_key=$,this.signature=Ee}serialize($){$.serializeU32AsUleb128(0),this.public_key.serialize($),this.signature.serialize($)}static load($){let Ee=qr.deserialize($),je=_e.deserialize($);return new Fy(Ee,je)}},Ue=class zy extends Qe{constructor($,Ee){super(),this.public_key=$,this.signature=Ee}serialize($){$.serializeU32AsUleb128(1),this.public_key.serialize($),this.signature.serialize($)}static load($){let Ee=he.deserialize($),je=Ht.deserialize($);return new zy(Ee,je)}},Ge=class jy{constructor($){this.value=$}serialize($){$.serializeStr(this.value)}static deserialize($){let Ee=$.deserializeStr();return new jy(Ee)}},Me=class{static deserialize(Q){let $=Q.deserializeUleb128AsU32();switch($){case 0:return ze.load(Q);case 1:return Le.load(Q);case 2:return ut.load(Q);case 3:return Dt.load(Q);case 4:return nt.load(Q);case 5:return at.load(Q);case 6:return Tt.load(Q);case 7:return pt.load(Q);case 8:return rt.load(Q);case 9:return ht.load(Q);case 10:return He.load(Q);default:throw new Error(`Unknown variant index for TypeTag: ${$}`)}}},ze=class Ky extends Me{serialize($){$.serializeU32AsUleb128(0)}static load($){return new Ky}},Le=class Hy extends Me{serialize($){$.serializeU32AsUleb128(1)}static load($){return new Hy}},rt=class Gy extends Me{serialize($){$.serializeU32AsUleb128(8)}static load($){return new Gy}},ht=class Vy extends Me{serialize($){$.serializeU32AsUleb128(9)}static load($){return new Vy}},ut=class qy extends Me{serialize($){$.serializeU32AsUleb128(2)}static load($){return new qy}},Dt=class Jy extends Me{serialize($){$.serializeU32AsUleb128(3)}static load($){return new Jy}},He=class Yy extends Me{serialize($){$.serializeU32AsUleb128(10)}static load($){return new Yy}},nt=class Xy extends Me{serialize($){$.serializeU32AsUleb128(4)}static load($){return new Xy}},at=class Qy extends Me{serialize($){$.serializeU32AsUleb128(5)}static load($){return new Qy}},Tt=class Zy extends Me{constructor($){super(),this.value=$}serialize($){$.serializeU32AsUleb128(6),this.value.serialize($)}static load($){let Ee=Me.deserialize($);return new Zy(Ee)}},pt=class $y extends Me{constructor($){super(),this.value=$}serialize($){$.serializeU32AsUleb128(7),this.value.serialize($)}static load($){let Ee=Bt.deserialize($);return new $y(Ee)}isStringTypeTag(){return this.value.module_name.value==="string"&&this.value.name.value==="String"&&this.value.address.toHexString()===_t.CORE_CODE_ADDRESS.toHexString()}},Bt=class Ih{constructor($,Ee,je,ct){this.address=$,this.module_name=Ee,this.name=je,this.type_args=ct}static fromString($){let Ee=new Yt($).parseTypeTag();return new Ih(Ee.value.address,Ee.value.module_name,Ee.value.name,Ee.value.type_args)}serialize($){this.address.serialize($),this.module_name.serialize($),this.name.serialize($),_r(this.type_args,$)}static deserialize($){let Ee=_t.deserialize($),je=Ge.deserialize($),ct=Ge.deserialize($),Pt=Fe($,Me);return new Ih(Ee,je,ct,Pt)}},Zt=new Bt(_t.fromHex("0x1"),new Ge("string"),new Ge("String"),[]);function K(Q){return new Bt(_t.fromHex("0x1"),new Ge("option"),new Ge("Option"),[Q])}function X(Q){return new Bt(_t.fromHex("0x1"),new Ge("object"),new Ge("Object"),[Q])}function Z(Q){throw new yr(Q)}function be(Q){return!!Q.match(/\s/)}function Be(Q){return!!Q.match(/[_A-Za-z0-9]/g)}function dt(Q){return!!Q.match(/T\d+/g)}function gt(Q,$){let Ee=Q[$];if(Ee===":"){if(Q.slice($,$+2)==="::")return[["COLON","::"],2];Z("Unrecognized token.")}else{if(Ee==="<")return[["LT","<"],1];if(Ee===">")return[["GT",">"],1];if(Ee===",")return[["COMMA",","],1];if(be(Ee)){let je="";for(let ct=$;ct<Q.length;ct+=1){let Pt=Q[ct];if(be(Pt))je=`${je}${Pt}`;else break}return[["SPACE",je],je.length]}else if(Be(Ee)){let je="";for(let ct=$;ct<Q.length;ct+=1){let Pt=Q[ct];if(Be(Pt))je=`${je}${Pt}`;else break}return dt(je)?[["GENERIC",je],je.length]:[["IDENT",je],je.length]}}throw new Error("Unrecognized token.")}function Ve(Q){let $=0,Ee=[];for(;$<Q.length;){let[je,ct]=gt(Q,$);je[0]!=="SPACE"&&Ee.push(je),$+=ct}return Ee}var Yt=class e1{constructor($,Ee){this.typeTags=[],this.tokens=Ve($),this.typeTags=Ee||[]}consume($){let Ee=this.tokens.shift();(!Ee||Ee[1]!==$)&&Z("Invalid type tag.")}consumeWholeGeneric(){for(this.consume("<");this.tokens[0][1]!==">";)this.tokens[0][1]==="<"?this.consumeWholeGeneric():this.tokens.shift();this.consume(">")}parseCommaList($,Ee){let je=[];for(this.tokens.length<=0&&Z("Invalid type tag.");this.tokens[0][1]!==$&&(je.push(this.parseTypeTag()),!(this.tokens.length>0&&this.tokens[0][1]===$||(this.consume(","),this.tokens.length>0&&this.tokens[0][1]===$&&Ee)));)this.tokens.length<=0&&Z("Invalid type tag.");return je}parseTypeTag(){this.tokens.length===0&&Z("Invalid type tag.");let[$,Ee]=this.tokens.shift();if(Ee==="u8")return new Le;if(Ee==="u16")return new rt;if(Ee==="u32")return new ht;if(Ee==="u64")return new ut;if(Ee==="u128")return new Dt;if(Ee==="u256")return new He;if(Ee==="bool")return new ze;if(Ee==="address")return new nt;if(Ee==="vector"){this.consume("<");let je=this.parseTypeTag();return this.consume(">"),new Tt(je)}if(Ee==="string")return new pt(Zt);if($==="IDENT"&&(Ee.startsWith("0x")||Ee.startsWith("0X"))){let je=_t.fromHex(Ee);this.consume("::");let[ct,Pt]=this.tokens.shift();ct!=="IDENT"&&Z("Invalid type tag."),this.consume("::");let[rr,Ir]=this.tokens.shift();if(rr!=="IDENT"&&Z("Invalid type tag."),_t.CORE_CODE_ADDRESS.toHexString()===je.toHexString()&&Pt==="object"&&Ir==="Object")return this.consumeWholeGeneric(),new nt;let Kr=[];this.tokens.length>0&&this.tokens[0][1]==="<"&&(this.consume("<"),Kr=this.parseCommaList(">",!0),this.consume(">"));let Yr=new Bt(je,new Ge(Pt),new Ge(Ir),Kr);return new pt(Yr)}if($==="GENERIC"){this.typeTags.length===0&&Z("Can't convert generic type since no typeTags were specified.");let je=parseInt(Ee.substring(1),10);return new e1(this.typeTags[je]).parseTypeTag()}throw new Error("Invalid type tag.")}},yr=class extends Error{constructor(Q){super(Q),this.name="TypeTagParserError"}},Cr=class t1{constructor($,Ee,je,ct,Pt,rr,Ir){this.sender=$,this.sequence_number=Ee,this.payload=je,this.max_gas_amount=ct,this.gas_unit_price=Pt,this.expiration_timestamp_secs=rr,this.chain_id=Ir}serialize($){this.sender.serialize($),$.serializeU64(this.sequence_number),this.payload.serialize($),$.serializeU64(this.max_gas_amount),$.serializeU64(this.gas_unit_price),$.serializeU64(this.expiration_timestamp_secs),this.chain_id.serialize($)}static deserialize($){let Ee=_t.deserialize($),je=$.deserializeU64(),ct=uo.deserialize($),Pt=$.deserializeU64(),rr=$.deserializeU64(),Ir=$.deserializeU64(),Kr=ks.deserialize($);return new t1(Ee,je,ct,Pt,rr,Ir,Kr)}},dr=class r1{constructor($,Ee,je){this.code=$,this.ty_args=Ee,this.args=je}serialize($){$.serializeBytes(this.code),_r(this.ty_args,$),_r(this.args,$)}static deserialize($){let Ee=$.deserializeBytes(),je=Fe($,Me),ct=Fe($,Hi);return new r1(Ee,je,ct)}},wr=class sd{constructor($,Ee,je,ct){this.module_name=$,this.function_name=Ee,this.ty_args=je,this.args=ct}static natural($,Ee,je,ct){return new sd(gn.fromStr($),new Ge(Ee),je,ct)}static natual($,Ee,je,ct){return sd.natural($,Ee,je,ct)}serialize($){this.module_name.serialize($),this.function_name.serialize($),_r(this.ty_args,$),$.serializeU32AsUleb128(this.args.length),this.args.forEach(Ee=>{$.serializeBytes(Ee)})}static deserialize($){let Ee=gn.deserialize($),je=Ge.deserialize($),ct=Fe($,Me),Pt=$.deserializeUleb128AsU32(),rr=[];for(let Kr=0;Kr<Pt;Kr+=1)rr.push($.deserializeBytes());let Ir=rr;return new sd(Ee,je,ct,Ir)}},jr=class n1{constructor($){this.transaction_payload=$}serialize($){$.serializeU32AsUleb128(0),this.transaction_payload.serialize($)}static deserialize($){return $.deserializeUleb128AsU32(),new n1(wr.deserialize($))}},sn=class i1{constructor($,Ee){this.multisig_address=$,this.transaction_payload=Ee}serialize($){this.multisig_address.serialize($),this.transaction_payload===void 0?$.serializeBool(!1):($.serializeBool(!0),this.transaction_payload.serialize($))}static deserialize($){let Ee=_t.deserialize($),je=$.deserializeBool(),ct;return je&&(ct=jr.deserialize($)),new i1(Ee,ct)}},ln=class o1{constructor($){this.code=$}serialize($){$.serializeBytes(this.code)}static deserialize($){let Ee=$.deserializeBytes();return new o1(Ee)}},gn=class Mh{constructor($,Ee){this.address=$,this.name=Ee}static fromStr($){let Ee=$.split("::");if(Ee.length!==2)throw new Error("Invalid module id.");return new Mh(_t.fromHex(new Xe(Ee[0])),new Ge(Ee[1]))}serialize($){this.address.serialize($),this.name.serialize($)}static deserialize($){let Ee=_t.deserialize($),je=Ge.deserialize($);return new Mh(Ee,je)}},An=class{serialize(Q){throw new Error("Not implemented.")}static deserialize(Q){throw new Error("Not implemented.")}},mn=class{serialize(Q){throw new Error("Not implmented.")}static deserialize(Q){throw new Error("Not implmented.")}},Cn=class s1{constructor($,Ee){this.raw_txn=$,this.authenticator=Ee}serialize($){this.raw_txn.serialize($),this.authenticator.serialize($)}static deserialize($){let Ee=Cr.deserialize($),je=yt.deserialize($);return new s1(Ee,je)}},Gn=class{static deserialize(Q){let $=Q.deserializeUleb128AsU32();switch($){case 0:return qn.load(Q);case 1:return Hn.load(Q);default:throw new Error(`Unknown variant index for RawTransactionWithData: ${$}`)}}},qn=class a1 extends Gn{constructor($,Ee){super(),this.raw_txn=$,this.secondary_signer_addresses=Ee}serialize($){$.serializeU32AsUleb128(0),this.raw_txn.serialize($),_r(this.secondary_signer_addresses,$)}static load($){let Ee=Cr.deserialize($),je=Fe($,_t);return new a1(Ee,je)}},Hn=class u1 extends Gn{constructor($,Ee,je){super(),this.raw_txn=$,this.secondary_signer_addresses=Ee,this.fee_payer_address=je}serialize($){$.serializeU32AsUleb128(1),this.raw_txn.serialize($),_r(this.secondary_signer_addresses,$),this.fee_payer_address.serialize($)}static load($){let Ee=Cr.deserialize($),je=Fe($,_t),ct=_t.deserialize($);return new u1(Ee,je,ct)}},uo=class{static deserialize(Q){let $=Q.deserializeUleb128AsU32();switch($){case 0:return Ri.load(Q);case 2:return Co.load(Q);case 3:return is.load(Q);default:throw new Error(`Unknown variant index for TransactionPayload: ${$}`)}}},Ri=class c1 extends uo{constructor($){super(),this.value=$}serialize($){$.serializeU32AsUleb128(0),this.value.serialize($)}static load($){let Ee=dr.deserialize($);return new c1(Ee)}},Co=class l1 extends uo{constructor($){super(),this.value=$}serialize($){$.serializeU32AsUleb128(2),this.value.serialize($)}static load($){let Ee=wr.deserialize($);return new l1(Ee)}},is=class d1 extends uo{constructor($){super(),this.value=$}serialize($){$.serializeU32AsUleb128(3),this.value.serialize($)}static load($){let Ee=sn.deserialize($);return new d1(Ee)}},ks=class h1{constructor($){this.value=$}serialize($){$.serializeU8(this.value)}static deserialize($){let Ee=$.deserializeU8();return new h1(Ee)}},Hi=class{static deserialize(Q){let $=Q.deserializeUleb128AsU32();switch($){case 0:return Ro.load(Q);case 1:return Uo.load(Q);case 2:return So.load(Q);case 3:return Do.load(Q);case 4:return Gi.load(Q);case 5:return Io.load(Q);case 6:return co.load(Q);case 7:return Ps.load(Q);case 8:return ss.load(Q);default:throw new Error(`Unknown variant index for TransactionArgument: ${$}`)}}},Ro=class f1 extends Hi{constructor($){super(),this.value=$}serialize($){$.serializeU32AsUleb128(0),$.serializeU8(this.value)}static load($){let Ee=$.deserializeU8();return new f1(Ee)}},co=class p1 extends Hi{constructor($){super(),this.value=$}serialize($){$.serializeU32AsUleb128(6),$.serializeU16(this.value)}static load($){let Ee=$.deserializeU16();return new p1(Ee)}},Ps=class g1 extends Hi{constructor($){super(),this.value=$}serialize($){$.serializeU32AsUleb128(7),$.serializeU32(this.value)}static load($){let Ee=$.deserializeU32();return new g1(Ee)}},Uo=class m1 extends Hi{constructor($){super(),this.value=$}serialize($){$.serializeU32AsUleb128(1),$.serializeU64(this.value)}static load($){let Ee=$.deserializeU64();return new m1(Ee)}},So=class b1 extends Hi{constructor($){super(),this.value=$}serialize($){$.serializeU32AsUleb128(2),$.serializeU128(this.value)}static load($){let Ee=$.deserializeU128();return new b1(Ee)}},ss=class w1 extends Hi{constructor($){super(),this.value=$}serialize($){$.serializeU32AsUleb128(8),$.serializeU256(this.value)}static load($){let Ee=$.deserializeU256();return new w1(Ee)}},Do=class v1 extends Hi{constructor($){super(),this.value=$}serialize($){$.serializeU32AsUleb128(3),this.value.serialize($)}static load($){let Ee=_t.deserialize($);return new v1(Ee)}},Gi=class A1 extends Hi{constructor($){super(),this.value=$}serialize($){$.serializeU32AsUleb128(4),$.serializeBytes(this.value)}static load($){let Ee=$.deserializeBytes();return new A1(Ee)}},Io=class E1 extends Hi{constructor($){super(),this.value=$}serialize($){$.serializeU32AsUleb128(5),$.serializeBool(this.value)}static load($){let Ee=$.deserializeBool();return new E1(Ee)}},ds=class{getHashSalt(){let Q=qt.sha3_256.create();return Q.update("APTOS::Transaction"),Q.digest()}static deserialize(Q){let $=Q.deserializeUleb128AsU32();if($===0)return mo.load(Q);throw new Error(`Unknown variant index for Transaction: ${$}`)}},mo=class T1 extends ds{constructor($){super(),this.value=$}hash(){let $=qt.sha3_256.create();return $.update(this.getHashSalt()),$.update(Pr(this)),$.digest()}serialize($){$.serializeU32AsUleb128(0),this.value.serialize($)}static load($){return new T1(Cn.deserialize($))}},Mi=class C1{constructor($){this.name=$}serialize($){$.serializeStr(this.name)}static deserialize($){let Ee=$.deserializeStr();return new C1(Ee)}},bi=class S1{constructor($,Ee){this.name=$,this.type_tag=Ee}serialize($){$.serializeStr(this.name),this.type_tag.serialize($)}static deserialize($){let Ee=$.deserializeStr(),je=Me.deserialize($);return new S1(Ee,je)}},wo=class{static deserialize(Q){let $=Q.deserializeUleb128AsU32();switch($){case 0:return vo.load(Q);case 1:return Vi.load(Q);default:throw new Error(`Unknown variant index for TransactionPayload: ${$}`)}}},vo=class I1 extends wo{constructor($,Ee,je,ct,Pt){super(),this.name=$,this.doc=Ee,this.code=je,this.ty_args=ct,this.args=Pt}serialize($){$.serializeU32AsUleb128(0),$.serializeStr(this.name),$.serializeStr(this.doc),$.serializeBytes(this.code),_r(this.ty_args,$),_r(this.args,$)}static load($){let Ee=$.deserializeStr(),je=$.deserializeStr(),ct=$.deserializeBytes(),Pt=Fe($,Mi),rr=Fe($,bi);return new I1(Ee,je,ct,Pt,rr)}},Vi=class O1 extends wo{constructor($,Ee,je,ct,Pt){super(),this.name=$,this.module_name=Ee,this.doc=je,this.ty_args=ct,this.args=Pt}serialize($){$.serializeU32AsUleb128(1),$.serializeStr(this.name),this.module_name.serialize($),$.serializeStr(this.doc),_r(this.ty_args,$),_r(this.args,$)}static load($){let Ee=$.deserializeStr(),je=gn.deserialize($),ct=$.deserializeStr(),Pt=Fe($,Mi),rr=Fe($,bi);return new O1(Ee,je,ct,Pt,rr)}},Eo=J5(),Oo=class cc{constructor($){if($.length!==cc.LENGTH)throw new Error("Expected a byte array of length 32");this.bytes=$}static fromMultiEd25519PublicKey($){let Ee=$.toBytes(),je=new Uint8Array(Ee.length+1);je.set(Ee),je.set([cc.MULTI_ED25519_SCHEME],Ee.length);let ct=Eo.sha3_256.create();return ct.update(je),new cc(ct.digest())}static fromEd25519PublicKey($){let Ee=$.value,je=new Uint8Array(Ee.length+1);je.set(Ee),je.set([cc.ED25519_SCHEME],Ee.length);let ct=Eo.sha3_256.create();return ct.update(je),new cc(ct.digest())}derivedAddress(){return Xe.fromUint8Array(this.bytes)}};Oo.LENGTH=32,Oo.MULTI_ED25519_SCHEME=1,Oo.ED25519_SCHEME=0,Oo.DERIVE_RESOURCE_ACCOUNT_SCHEME=255;var ro=Oo,js=class{constructor(Q,$,Ee,je,ct,Pt,rr){this.accountAddress=Q,this.moduleName=$,this.structName=Ee,this.sequenceNumber=je,this.originator=ct,this.currentAuthKey=Pt,this.newPublicKey=rr}serialize(Q){this.accountAddress.serialize(Q),Q.serializeStr(this.moduleName),Q.serializeStr(this.structName),Q.serializeU64(this.sequenceNumber),this.originator.serialize(Q),this.currentAuthKey.serialize(Q),Q.serializeBytes(this.newPublicKey)}},ps=class ad{static fromAptosAccountObject($){return new ad(Xe.ensure($.privateKeyHex).toUint8Array(),$.address)}static isValidPath($){return/^m\/44'\/637'\/[0-9]+'\/[0-9]+'\/[0-9]+'+$/.test($)}static fromDerivePath($,Ee){if(!ad.isValidPath($))throw new Error("Invalid derivation path");let je=Ee.trim().split(/\s+/).map(Pt=>Pt.toLowerCase()).join(" "),{key:ct}=g($,(0,A.bytesToHex)(T.mnemonicToSeedSync(je)));return new ad(ct)}constructor($,Ee){$?this.signingKey=w.default.sign.keyPair.fromSeed($.slice(0,32)):this.signingKey=w.default.sign.keyPair(),this.accountAddress=Xe.ensure(Ee||this.authKey().hex())}address(){return this.accountAddress}authKey(){let $=new qr(this.signingKey.publicKey);return ro.fromEd25519PublicKey($).derivedAddress()}static getResourceAccountAddress($,Ee){let je=Pr(_t.fromHex($)),ct=new Uint8Array([...je,...Ee,ro.DERIVE_RESOURCE_ACCOUNT_SCHEME]),Pt=v.sha3_256.create();return Pt.update(ct),Xe.fromUint8Array(Pt.digest())}static getCollectionID($,Ee){let je=new TextEncoder().encode(`${$}::${Ee}`),ct=O.sha256.create();return ct.update(je),Xe.fromUint8Array(ct.digest())}pubKey(){return Xe.fromUint8Array(this.signingKey.publicKey)}signBuffer($){let Ee=w.default.sign.detached($,this.signingKey.secretKey);return Xe.fromUint8Array(Ee)}signHexString($){let Ee=Xe.ensure($).toUint8Array();return this.signBuffer(Ee)}verifySignature($,Ee){let je=Xe.ensure($).toUint8Array(),ct=Xe.ensure(Ee).toUint8Array();return w.default.sign.detached.verify(je,ct,this.signingKey.publicKey)}toPrivateKeyObject(){return{address:this.address().hex(),publicKeyHex:this.pubKey().hex(),privateKeyHex:Xe.fromUint8Array(this.signingKey.secretKey.slice(0,32)).hex()}}};y([Y()],ps.prototype,"authKey",1);var Vn=ps;function De(Q){return Q instanceof Vn?Q.address():Xe.ensure(Q)}var lt=`
    fragment CurrentTokenOwnershipFields on current_token_ownerships_v2 {
  token_standard
  token_properties_mutated_v1
  token_data_id
  table_type_v1
  storage_id
  property_version_v1
  owner_address
  last_transaction_version
  last_transaction_timestamp
  is_soulbound_v2
  is_fungible_v2
  amount
  current_token_data {
    collection_id
    description
    is_fungible_v2
    largest_property_version_v1
    last_transaction_timestamp
    last_transaction_version
    maximum
    supply
    token_data_id
    token_name
    token_properties
    token_standard
    token_uri
    current_collection {
      collection_id
      collection_name
      creator_address
      current_supply
      description
      last_transaction_timestamp
      last_transaction_version
      max_supply
      mutable_description
      mutable_uri
      table_handle_v1
      token_standard
      total_minted_v2
      uri
    }
  }
}
    `,xt=`
    fragment TokenDataFields on current_token_datas {
  creator_address
  collection_name
  description
  metadata_uri
  name
  token_data_id_hash
  collection_data_id_hash
}
    `,Mt=`
    fragment CollectionDataFields on current_collection_datas {
  metadata_uri
  supply
  description
  collection_name
  collection_data_id_hash
  table_handle
  creator_address
}
    `,ar=`
    fragment TokenActivitiesFields on token_activities_v2 {
  after_value
  before_value
  entry_function_id_str
  event_account_address
  event_index
  from_address
  is_fungible_v2
  property_version_v1
  to_address
  token_amount
  token_data_id
  token_standard
  transaction_timestamp
  transaction_version
  type
}
    `,mr=`
    query getAccountCoinsDataCount($address: String) {
  current_fungible_asset_balances_aggregate(
    where: {owner_address: {_eq: $address}}
  ) {
    aggregate {
      count
    }
  }
}
    `,br=`
    query getAccountCoinsData($where_condition: current_fungible_asset_balances_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_fungible_asset_balances_order_by!]) {
  current_fungible_asset_balances(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    amount
    asset_type
    is_frozen
    is_primary
    last_transaction_timestamp
    last_transaction_version
    owner_address
    storage_id
    token_standard
    metadata {
      token_standard
      symbol
      supply_aggregator_table_key_v1
      supply_aggregator_table_handle_v1
      project_uri
      name
      last_transaction_version
      last_transaction_timestamp
      icon_uri
      decimals
      creator_address
      asset_type
    }
  }
}
    `,$r=`
    query getAccountCurrentTokens($address: String!, $offset: Int, $limit: Int) {
  current_token_ownerships(
    where: {owner_address: {_eq: $address}, amount: {_gt: 0}}
    order_by: [{last_transaction_version: desc}, {creator_address: asc}, {collection_name: asc}, {name: asc}]
    offset: $offset
    limit: $limit
  ) {
    amount
    current_token_data {
      ...TokenDataFields
    }
    current_collection_data {
      ...CollectionDataFields
    }
    last_transaction_version
    property_version
  }
}
    ${xt}
${Mt}`,on=`
    query getAccountTokensCount($where_condition: current_token_ownerships_v2_bool_exp, $offset: Int, $limit: Int) {
  current_token_ownerships_v2_aggregate(
    where: $where_condition
    offset: $offset
    limit: $limit
  ) {
    aggregate {
      count
    }
  }
}
    `,Jr=`
    query getAccountTransactionsCount($address: String) {
  account_transactions_aggregate(where: {account_address: {_eq: $address}}) {
    aggregate {
      count
    }
  }
}
    `,Xr=`
    query getAccountTransactionsData($where_condition: account_transactions_bool_exp!, $offset: Int, $limit: Int, $order_by: [account_transactions_order_by!]) {
  account_transactions(
    where: $where_condition
    order_by: $order_by
    limit: $limit
    offset: $offset
  ) {
    token_activities_v2 {
      ...TokenActivitiesFields
    }
    transaction_version
    account_address
  }
}
    ${ar}`,On=`
    query getCollectionData($where_condition: current_collections_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_collections_v2_order_by!]) {
  current_collections_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    collection_id
    collection_name
    creator_address
    current_supply
    description
    last_transaction_timestamp
    last_transaction_version
    max_supply
    mutable_description
    mutable_uri
    table_handle_v1
    token_standard
    total_minted_v2
    uri
  }
}
    `,ci=`
    query getCollectionsWithOwnedTokens($where_condition: current_collection_ownership_v2_view_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_collection_ownership_v2_view_order_by!]) {
  current_collection_ownership_v2_view(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    current_collection {
      collection_id
      collection_name
      creator_address
      current_supply
      description
      last_transaction_timestamp
      last_transaction_version
      mutable_description
      max_supply
      mutable_uri
      table_handle_v1
      token_standard
      total_minted_v2
      uri
    }
    collection_id
    collection_name
    collection_uri
    creator_address
    distinct_tokens
    last_transaction_version
    owner_address
    single_token_uri
  }
}
    `,cn=`
    query getCurrentObjects($where_condition: current_objects_bool_exp, $offset: Int, $limit: Int, $order_by: [current_objects_order_by!]) {
  current_objects(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    allow_ungated_transfer
    state_key_hash
    owner_address
    object_address
    last_transaction_version
    last_guid_creation_num
    is_deleted
  }
}
    `,Dn=`
    query getDelegatedStakingActivities($delegatorAddress: String, $poolAddress: String) {
  delegated_staking_activities(
    where: {delegator_address: {_eq: $delegatorAddress}, pool_address: {_eq: $poolAddress}}
  ) {
    amount
    delegator_address
    event_index
    event_type
    pool_address
    transaction_version
  }
}
    `,dn=`
    query getIndexerLedgerInfo {
  ledger_infos {
    chain_id
  }
}
    `,wi=`
    query getNumberOfDelegators($poolAddress: String) {
  num_active_delegator_per_pool(
    where: {pool_address: {_eq: $poolAddress}, num_active_delegator: {_gt: "0"}}
    distinct_on: pool_address
  ) {
    num_active_delegator
    pool_address
  }
}
    `,Di=`
    query getOwnedTokens($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {
  current_token_ownerships_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    ...CurrentTokenOwnershipFields
  }
}
    ${lt}`,pi=`
    query getOwnedTokensByTokenData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {
  current_token_ownerships_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    ...CurrentTokenOwnershipFields
  }
}
    ${lt}`,Qn=`
    query getTokenActivities($where_condition: token_activities_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [token_activities_v2_order_by!]) {
  token_activities_v2(
    where: $where_condition
    order_by: $order_by
    offset: $offset
    limit: $limit
  ) {
    ...TokenActivitiesFields
  }
}
    ${ar}`,lo=`
    query getTokenActivitiesCount($token_id: String) {
  token_activities_v2_aggregate(where: {token_data_id: {_eq: $token_id}}) {
    aggregate {
      count
    }
  }
}
    `,ms=`
    query getTokenCurrentOwnerData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {
  current_token_ownerships_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    ...CurrentTokenOwnershipFields
  }
}
    ${lt}`,no=`
    query getTokenData($where_condition: current_token_datas_v2_bool_exp, $offset: Int, $limit: Int, $order_by: [current_token_datas_v2_order_by!]) {
  current_token_datas_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    collection_id
    description
    is_fungible_v2
    largest_property_version_v1
    last_transaction_timestamp
    last_transaction_version
    maximum
    supply
    token_data_id
    token_name
    token_properties
    token_standard
    token_uri
    current_collection {
      collection_id
      collection_name
      creator_address
      current_supply
      description
      last_transaction_timestamp
      last_transaction_version
      max_supply
      mutable_description
      mutable_uri
      table_handle_v1
      token_standard
      total_minted_v2
      uri
    }
  }
}
    `,fo=`
    query getTokenOwnedFromCollection($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {
  current_token_ownerships_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    ...CurrentTokenOwnershipFields
  }
}
    ${lt}`,oo=`
    query getTokenOwnersData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {
  current_token_ownerships_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    ...CurrentTokenOwnershipFields
  }
}
    ${lt}`,Ii=`
    query getTopUserTransactions($limit: Int) {
  user_transactions(limit: $limit, order_by: {version: desc}) {
    version
  }
}
    `,Ki=`
    query getUserTransactions($where_condition: user_transactions_bool_exp!, $offset: Int, $limit: Int, $order_by: [user_transactions_order_by!]) {
  user_transactions(
    order_by: $order_by
    where: $where_condition
    limit: $limit
    offset: $offset
  ) {
    version
  }
}
    `,du=J5();function ko(Q,$,Ee){if(!$?.includes(typeof Q))throw new Error(Ee||`Invalid arg: ${Q} type should be ${$ instanceof Array?$.join(" or "):$}`)}function _o(Q){if(ko(Q,["boolean","string"]),typeof Q=="boolean")return Q;if(Q==="true")return!0;if(Q==="false")return!1;throw new Error("Invalid boolean string.")}function qi(Q){if(ko(Q,["number","string"]),typeof Q=="number")return Q;let $=Number.parseInt(Q,10);if(Number.isNaN($))throw new Error("Invalid number string.");return $}function Oi(Q){return ko(Q,["number","bigint","string"]),BigInt(Q)}function Ji(Q,$,Ee){Wo(Q,$,Ee,0)}function Wo(Q,$,Ee,je){if($ instanceof ze)Ee.serializeBool(_o(Q));else if($ instanceof Le)Ee.serializeU8(qi(Q));else if($ instanceof rt)Ee.serializeU16(qi(Q));else if($ instanceof ht)Ee.serializeU32(qi(Q));else if($ instanceof ut)Ee.serializeU64(Oi(Q));else if($ instanceof Dt)Ee.serializeU128(Oi(Q));else if($ instanceof He)Ee.serializeU256(Oi(Q));else if($ instanceof nt)Bi(Q,Ee);else if($ instanceof Tt)Yi(Q,$,Ee,je);else if($ instanceof pt)Hs(Q,$,Ee,je);else throw new Error("Unsupported arg type.")}function Bi(Q,$){let Ee;if(typeof Q=="string"||Q instanceof Xe)Ee=_t.fromHex(Q);else if(Q instanceof _t)Ee=Q;else throw new Error("Invalid account address.");Ee.serialize($)}function Yi(Q,$,Ee,je){if($.value instanceof Le){if(Q instanceof Uint8Array){Ee.serializeBytes(Q);return}if(Q instanceof Xe){Ee.serializeBytes(Q.toUint8Array());return}if(typeof Q=="string"){Ee.serializeStr(Q);return}}if(!Array.isArray(Q))throw new Error("Invalid vector args.");Ee.serializeU32AsUleb128(Q.length),Q.forEach(ct=>Wo(ct,$.value,Ee,je+1))}function Hs(Q,$,Ee,je){let{address:ct,module_name:Pt,name:rr,type_args:Ir}=$.value,Kr=`${Xe.fromUint8Array(ct.address).toShortString()}::${Pt.value}::${rr.value}`;if(Kr==="0x1::string::String")ko(Q,["string"]),Ee.serializeStr(Q);else if(Kr==="0x1::object::Object")Bi(Q,Ee);else if(Kr==="0x1::option::Option"){if(Ir.length!==1)throw new Error(`Option has the wrong number of type arguments ${Ir.length}`);ki(Q,Ir[0],Ee,je)}else throw new Error("Unsupported struct type in function argument")}function ki(Q,$,Ee,je){Q==null?Ee.serializeU32AsUleb128(0):(Ee.serializeU32AsUleb128(1),Wo(Q,$,Ee,je+1))}function Gs(Q,$){if($ instanceof ze)return new Io(_o(Q));if($ instanceof Le)return new Ro(qi(Q));if($ instanceof rt)return new co(qi(Q));if($ instanceof ht)return new Ps(qi(Q));if($ instanceof ut)return new Uo(Oi(Q));if($ instanceof Dt)return new So(Oi(Q));if($ instanceof He)return new ss(Oi(Q));if($ instanceof nt){let Ee;if(typeof Q=="string"||Q instanceof Xe)Ee=_t.fromHex(Q);else if(Q instanceof _t)Ee=Q;else throw new Error("Invalid account address.");return new Do(Ee)}if($ instanceof Tt&&$.value instanceof Le){if(!(Q instanceof Uint8Array))throw new Error(`${Q} should be an instance of Uint8Array`);return new Gi(Q)}throw new Error("Unknown type for TransactionArgument.")}var hu="APTOS::RawTransaction",Pa="APTOS::RawTransactionWithData",eo=class{constructor(Q,$){this.rawTxnBuilder=$,this.signingFunction=Q}build(Q,$,Ee){if(!this.rawTxnBuilder)throw new Error("this.rawTxnBuilder doesn't exist.");return this.rawTxnBuilder.build(Q,$,Ee)}static getSigningMessage(Q){let $=du.sha3_256.create();if(Q instanceof Cr)$.update(hu);else if(Q instanceof qn)$.update(Pa);else if(Q instanceof Hn)$.update(Pa);else throw new Error("Unknown transaction type.");let Ee=$.digest(),je=Pr(Q),ct=new Uint8Array(Ee.length+je.length);return ct.set(Ee),ct.set(je,Ee.length),ct}},vi=class extends eo{constructor(Q,$,Ee){super(Q,Ee),this.publicKey=$}rawToSigned(Q){let $=eo.getSigningMessage(Q),Ee=this.signingFunction($),je=new Ot(new qr(this.publicKey),Ee);return new Cn(Q,je)}sign(Q){return Pr(this.rawToSigned(Q))}},xi=class extends eo{constructor(Q,$){super(Q),this.publicKey=$}rawToSigned(Q){let $=eo.getSigningMessage(Q),Ee=this.signingFunction($),je=new hr(this.publicKey,Ee);return new Cn(Q,je)}sign(Q){return Pr(this.rawToSigned(Q))}},ao=class xh{constructor($,Ee){this.abiMap=new Map,$.forEach(je=>{let ct=new Rt(je),Pt=wo.deserialize(ct),rr;if(Pt instanceof Vi){let Ir=Pt,{address:Kr,name:Yr}=Ir.module_name;rr=`${Xe.fromUint8Array(Kr.address).toShortString()}::${Yr.value}::${Ir.name}`}else rr=Pt.name;if(this.abiMap.has(rr))throw new Error("Found conflicting ABI interfaces");this.abiMap.set(rr,Pt)}),this.builderConfig={maxGasAmount:BigInt(f),expSecFromNow:M,...Ee}}static toBCSArgs($,Ee){if($.length!==Ee.length)throw new Error("Wrong number of args provided.");return Ee.map((je,ct)=>{let Pt=new Gt;return Ji(je,$[ct].type_tag,Pt),Pt.getBytes()})}static toTransactionArguments($,Ee){if($.length!==Ee.length)throw new Error("Wrong number of args provided.");return Ee.map((je,ct)=>Gs(je,$[ct].type_tag))}setSequenceNumber($){this.builderConfig.sequenceNumber=BigInt($)}buildTransactionPayload($,Ee,je){let ct=Ee.map(Ir=>new Yt(Ir).parseTypeTag()),Pt;if(!this.abiMap.has($))throw new Error(`Cannot find function: ${$}`);let rr=this.abiMap.get($);if(rr instanceof Vi){let Ir=rr,Kr=xh.toBCSArgs(Ir.args,je);Pt=new Co(new wr(Ir.module_name,new Ge(Ir.name),ct,Kr))}else if(rr instanceof vo){let Ir=rr,Kr=xh.toTransactionArguments(Ir.args,je);Pt=new Ri(new dr(Ir.code,ct,Kr))}else throw new Error("Unknown ABI format.");return Pt}build($,Ee,je){let{sender:ct,sequenceNumber:Pt,gasUnitPrice:rr,maxGasAmount:Ir,expSecFromNow:Kr,chainId:Yr}=this.builderConfig;if(!rr)throw new Error("No gasUnitPrice provided.");let In=ct instanceof _t?ct:_t.fromHex(ct),ei=BigInt(Math.floor(Date.now()/1e3)+Number(Kr)),yi=this.buildTransactionPayload($,Ee,je);if(yi)return new Cr(In,BigInt(Pt),yi,BigInt(Ir),BigInt(rr),ei,new ks(Number(Yr)));throw new Error("Invalid ABI.")}},jn=class{constructor(Q,$){this.aptosClient=Q,this.builderConfig=$}async fetchABI(Q){let $=(await this.aptosClient.getAccountModules(Q)).map(je=>je.abi).flatMap(je=>je.exposed_functions.filter(ct=>ct.is_entry).map(ct=>({fullName:`${je.address}::${je.name}::${ct.name}`,...ct}))),Ee=new Map;return $.forEach(je=>{Ee.set(je.fullName,je)}),Ee}async build(Q,$,Ee){if(Q=(to=>to.replace(/^0[xX]0*/g,"0x"))(Q),Q.split("::").length!==3)throw new Error("'func' needs to be a fully qualified function name in format <address>::<module>::<function>, e.g. 0x1::coin::transfer");let[je,ct]=Q.split("::"),Pt=await this.fetchABI(je);if(!Pt.has(Q))throw new Error(`${Q} doesn't exist.`);let rr=Pt.get(Q),Ir=rr.params.filter(to=>to!=="signer"&&to!=="&signer").map((to,Yo)=>new bi(`var${Yo}`,new Yt(to,$).parseTypeTag())),Kr=new Vi(rr.name,gn.fromStr(`${je}::${ct}`),"",rr.generic_type_params.map((to,Yo)=>new Mi(`${Yo}`)),Ir),{sender:Yr,...In}=this.builderConfig,ei=Yr instanceof _t?Xe.fromUint8Array(Yr.address):Yr,[{sequence_number:yi},Zi,{gas_estimate:Jo}]=await Promise.all([In?.sequenceNumber?Promise.resolve({sequence_number:In?.sequenceNumber}):this.aptosClient.getAccount(ei),In?.chainId?Promise.resolve(In?.chainId):this.aptosClient.getChainId(),In?.gasUnitPrice?Promise.resolve({gas_estimate:In?.gasUnitPrice}):this.aptosClient.estimateGasPrice()]);return new ao([Pr(Kr)],{sender:Yr,sequenceNumber:yi,chainId:Zi,gasUnitPrice:BigInt(Jo),...In}).build(Q,$,Ee)}};y([oe(600*1e3)],jn.prototype,"fetchABI",1);var Xn=class lc{constructor($,Ee,je=!1){if(!$)throw new Error("Node URL cannot be empty.");je?this.nodeUrl=$:this.nodeUrl=S($),this.config=Ee==null?{}:{...Ee}}async getAccount($){let{data:Ee}=await ce({url:this.nodeUrl,endpoint:`accounts/${Xe.ensure($).hex()}`,originMethod:"getAccount",overrides:{...this.config}});return Ee}async getAccountTransactions($,Ee){let{data:je}=await ce({url:this.nodeUrl,endpoint:`accounts/${Xe.ensure($).hex()}/transactions`,originMethod:"getAccountTransactions",params:{start:Ee?.start,limit:Ee?.limit},overrides:{...this.config}});return je}async getAccountModules($,Ee){return await fe({url:this.nodeUrl,endpoint:`accounts/${$}/modules`,params:{ledger_version:Ee?.ledgerVersion,limit:1e3},originMethod:"getAccountModules",overrides:{...this.config}})}async getAccountModule($,Ee,je){let{data:ct}=await ce({url:this.nodeUrl,endpoint:`accounts/${Xe.ensure($).hex()}/module/${Ee}`,originMethod:"getAccountModule",params:{ledger_version:je?.ledgerVersion},overrides:{...this.config}});return ct}async getAccountResources($,Ee){return await fe({url:this.nodeUrl,endpoint:`accounts/${$}/resources`,params:{ledger_version:Ee?.ledgerVersion,limit:9999},originMethod:"getAccountResources",overrides:{...this.config}})}async getAccountResource($,Ee,je){let{data:ct}=await ce({url:this.nodeUrl,endpoint:`accounts/${Xe.ensure($).hex()}/resource/${Ee}`,originMethod:"getAccountResource",params:{ledger_version:je?.ledgerVersion},overrides:{...this.config}});return ct}static generateBCSTransaction($,Ee){return new vi(je=>{let ct=$.signBuffer(je);return new Je.Ed25519Signature(ct.toUint8Array())},$.pubKey().toUint8Array()).sign(Ee)}static generateBCSSimulation($,Ee){return new vi(je=>{let ct=new Uint8Array(64);return new Je.Ed25519Signature(ct)},$.pubKey().toUint8Array()).sign(Ee)}async generateTransaction($,Ee,je){let ct={sender:$};if(je?.sequence_number&&(ct.sequenceNumber=je.sequence_number),je?.gas_unit_price&&(ct.gasUnitPrice=je.gas_unit_price),je?.max_gas_amount&&(ct.maxGasAmount=je.max_gas_amount),je?.expiration_timestamp_secs){let Pt=Number.parseInt(je.expiration_timestamp_secs,10);ct.expSecFromNow=Pt-Math.floor(Date.now()/1e3)}return new jn(this,ct).build(Ee.function,Ee.type_arguments,Ee.arguments)}async generateFeePayerTransaction($,Ee,je,ct=[],Pt){let rr=await this.generateTransaction($,Ee,Pt),Ir=ct.map(Kr=>_t.fromHex(Kr));return new Je.FeePayerRawTransaction(rr,Ir,_t.fromHex(je))}async submitFeePayerTransaction($,Ee,je,ct=[]){let Pt=new Je.TransactionAuthenticatorFeePayer(Ee,$.secondary_signer_addresses,ct,{address:$.fee_payer_address,authenticator:je}),rr=Pr(new Je.SignedTransaction($.raw_txn,Pt));return await this.submitSignedBCSTransaction(rr)}async signMultiTransaction($,Ee){let je=new Je.Ed25519Signature($.signBuffer(eo.getSigningMessage(Ee)).toUint8Array()),ct=new Je.AccountAuthenticatorEd25519(new Je.Ed25519PublicKey($.signingKey.publicKey),je);return Promise.resolve(ct)}async signTransaction($,Ee){return Promise.resolve(lc.generateBCSTransaction($,Ee))}async getEventsByCreationNumber($,Ee,je){let{data:ct}=await ce({url:this.nodeUrl,endpoint:`accounts/${Xe.ensure($).hex()}/events/${Ee}`,originMethod:"getEventsByCreationNumber",params:{start:je?.start,limit:je?.limit},overrides:{...this.config}});return ct}async getEventsByEventHandle($,Ee,je,ct){let{data:Pt}=await ce({url:this.nodeUrl,endpoint:`accounts/${Xe.ensure($).hex()}/events/${Ee}/${je}`,originMethod:"getEventsByEventHandle",params:{start:ct?.start,limit:ct?.limit},overrides:{...this.config}});return Pt}async submitTransaction($){return this.submitSignedBCSTransaction($)}async simulateTransaction($,Ee,je){let ct;return $ instanceof Vn?ct=lc.generateBCSSimulation($,Ee):$ instanceof he?ct=new xi(()=>{let{threshold:Pt}=$,rr=[],Ir=[];for(let Yr=0;Yr<Pt;Yr+=1)rr.push(Yr),Ir.push(new Je.Ed25519Signature(new Uint8Array(64)));let Kr=Je.MultiEd25519Signature.createBitmap(rr);return new Je.MultiEd25519Signature(Ir,Kr)},$).sign(Ee):ct=new vi(()=>{let Pt=new Uint8Array(64);return new Je.Ed25519Signature(Pt)},$.toBytes()).sign(Ee),this.submitBCSSimulation(ct,je)}async submitSignedBCSTransaction($){let{data:Ee}=await ee({url:this.nodeUrl,body:$,endpoint:"transactions",originMethod:"submitSignedBCSTransaction",contentType:"application/x.aptos.signed_transaction+bcs",overrides:{...this.config}});return Ee}async submitBCSSimulation($,Ee){var je,ct,Pt;let rr={estimate_gas_unit_price:(je=Ee?.estimateGasUnitPrice)!=null?je:!1,estimate_max_gas_amount:(ct=Ee?.estimateMaxGasAmount)!=null?ct:!1,estimate_prioritized_gas_unit_price:(Pt=Ee?.estimatePrioritizedGasUnitPrice)!=null?Pt:!1},{data:Ir}=await ee({url:this.nodeUrl,body:$,endpoint:"transactions/simulate",params:rr,originMethod:"submitBCSSimulation",contentType:"application/x.aptos.signed_transaction+bcs",overrides:{...this.config}});return Ir}async getTransactions($){var Ee;let{data:je}=await ce({url:this.nodeUrl,endpoint:"transactions",originMethod:"getTransactions",params:{start:(Ee=$?.start)==null?void 0:Ee.toString(),limit:$?.limit},overrides:{...this.config}});return je}async getTransactionByHash($){let{data:Ee}=await ce({url:this.nodeUrl,endpoint:`transactions/by_hash/${$}`,originMethod:"getTransactionByHash",overrides:{...this.config}});return Ee}async getTransactionByVersion($){let{data:Ee}=await ce({url:this.nodeUrl,endpoint:`transactions/by_version/${$}`,originMethod:"getTransactionByVersion",overrides:{...this.config}});return Ee}async transactionPending($){try{return(await this.getTransactionByHash($)).type==="pending_transaction"}catch(Ee){if(Ee?.status===404)return!0;throw Ee}}async waitForTransactionWithResult($,Ee){var je,ct;let Pt=(je=Ee?.timeoutSecs)!=null?je:V,rr=(ct=Ee?.checkSuccess)!=null?ct:!1,Ir=!0,Kr=0,Yr;for(;Ir&&!(Kr>=Pt);){try{if(Yr=await this.getTransactionByHash($),Ir=Yr.type==="pending_transaction",!Ir)break}catch(In){let ei=In instanceof gi,yi=ei&&In.status!==404&&In.status>=400&&In.status<500;if(!ei||yi)throw In}await k(1e3),Kr+=1}if(Yr===void 0)throw new Error(`Waiting for transaction ${$} failed`);if(Ir)throw new Fo(`Waiting for transaction ${$} timed out after ${Pt} seconds`,Yr);if(!rr)return Yr;if(!Yr?.success)throw new zo(`Transaction ${$} failed with an error: ${Yr.vm_status}`,Yr);return Yr}async waitForTransaction($,Ee){await this.waitForTransactionWithResult($,Ee)}async getLedgerInfo(){let{data:$}=await ce({url:this.nodeUrl,originMethod:"getLedgerInfo",overrides:{...this.config}});return $}async getChainId(){return(await this.getLedgerInfo()).chain_id}async getTableItem($,Ee,je){var ct;return(await ee({url:this.nodeUrl,body:Ee,endpoint:`tables/${$}/item`,originMethod:"getTableItem",params:{ledger_version:(ct=je?.ledgerVersion)==null?void 0:ct.toString()},overrides:{...this.config}})).data}async generateRawTransaction($,Ee,je){let[{sequence_number:ct},Pt,{gas_estimate:rr}]=await Promise.all([je?.providedSequenceNumber?Promise.resolve({sequence_number:je.providedSequenceNumber}):this.getAccount($),this.getChainId(),je?.gasUnitPrice?Promise.resolve({gas_estimate:je.gasUnitPrice}):this.estimateGasPrice()]),{maxGasAmount:Ir,gasUnitPrice:Kr,expireTimestamp:Yr}={maxGasAmount:BigInt(f),gasUnitPrice:BigInt(rr),expireTimestamp:BigInt(Math.floor(Date.now()/1e3)+M),...je};return new Je.RawTransaction(Je.AccountAddress.fromHex($),BigInt(ct),Ee,Ir,Kr,Yr,new Je.ChainId(Pt))}async generateSignSubmitTransaction($,Ee,je){let ct=await this.generateRawTransaction($.address(),Ee,je),Pt=lc.generateBCSTransaction($,ct);return(await this.submitSignedBCSTransaction(Pt)).hash}async signAndSubmitTransaction($,Ee){let je=lc.generateBCSTransaction($,Ee);return(await this.submitSignedBCSTransaction(je)).hash}async publishPackage($,Ee,je,ct){let Pt=new Gt;_r(je,Pt);let rr=new Je.TransactionPayloadEntryFunction(Je.EntryFunction.natural("0x1::code","publish_package_txn",[],[er(Ee),Pt.getBytes()]));return this.generateSignSubmitTransaction($,rr,ct)}async createResourceAccountAndPublishPackage($,Ee,je,ct,Pt){let rr=new Gt;_r(ct,rr);let Ir=new Je.TransactionPayloadEntryFunction(Je.EntryFunction.natural("0x1::resource_account","create_resource_account_and_publish_package",[],[er(Ee),er(je),rr.getBytes()]));return this.generateSignSubmitTransaction($,Ir,Pt)}async generateSignSubmitWaitForTransaction($,Ee,je){let ct=await this.generateSignSubmitTransaction($,Ee,je);return this.waitForTransactionWithResult(ct,je)}async estimateGasPrice(){let{data:$}=await ce({url:this.nodeUrl,endpoint:"estimate_gas_price",originMethod:"estimateGasPrice",overrides:{...this.config}});return $}async estimateMaxGasAmount($){let Ee=`0x1::coin::CoinStore<${D}>`,[{gas_estimate:je},ct]=await Promise.all([this.estimateGasPrice(),this.getAccountResources($)]),Pt=ct.find(rr=>rr.type===Ee);return BigInt(Pt.data.coin.value)/BigInt(je)}async rotateAuthKeyEd25519($,Ee,je){let{sequence_number:ct,authentication_key:Pt}=await this.getAccount($.address()),rr=new Vn(Ee),Ir=new Je.RotationProofChallenge(Je.AccountAddress.CORE_CODE_ADDRESS,"account","RotationProofChallenge",BigInt(ct),Je.AccountAddress.fromHex($.address()),new Je.AccountAddress(new Xe(Pt).toUint8Array()),rr.pubKey().toUint8Array()),Kr=Xe.fromUint8Array(Pr(Ir)),Yr=$.signHexString(Kr),In=rr.signHexString(Kr),ei=new Je.TransactionPayloadEntryFunction(Je.EntryFunction.natural("0x1::account","rotate_authentication_key",[],[Qt(0),er($.pubKey().toUint8Array()),Qt(0),er(rr.pubKey().toUint8Array()),er(Yr.toUint8Array()),er(In.toUint8Array())])),yi=await this.generateRawTransaction($.address(),ei,je),Zi=lc.generateBCSTransaction($,yi);return this.submitSignedBCSTransaction(Zi)}async lookupOriginalAddress($){let Ee=await this.getAccountResource("0x1","0x1::account::OriginatingAddress"),{address_map:{handle:je}}=Ee.data,ct=await this.getTableItem(je,{key_type:"address",value_type:"address",key:Xe.ensure($).hex()});return new Xe(ct)}async getBlockByHeight($,Ee){let{data:je}=await ce({url:this.nodeUrl,endpoint:`blocks/by_height/${$}`,originMethod:"getBlockByHeight",params:{with_transactions:Ee},overrides:{...this.config}});return je}async getBlockByVersion($,Ee){let{data:je}=await ce({url:this.nodeUrl,endpoint:`blocks/by_version/${$}`,originMethod:"getBlockByVersion",params:{with_transactions:Ee},overrides:{...this.config}});return je}async view($,Ee){let{data:je}=await ee({url:this.nodeUrl,body:$,endpoint:"view",originMethod:"getTableItem",params:{ledger_version:Ee},overrides:{...this.config}});return je}clearCache($){ue($)}};y([li],Xn.prototype,"getAccount",1),y([li],Xn.prototype,"getAccountTransactions",1),y([li,oe(600*1e3)],Xn.prototype,"getAccountModules",1),y([li],Xn.prototype,"getAccountModule",1),y([li],Xn.prototype,"getAccountResources",1),y([li],Xn.prototype,"getAccountResource",1),y([li],Xn.prototype,"getEventsByCreationNumber",1),y([li],Xn.prototype,"getEventsByEventHandle",1),y([li],Xn.prototype,"submitSignedBCSTransaction",1),y([li],Xn.prototype,"submitBCSSimulation",1),y([li],Xn.prototype,"getTransactions",1),y([li],Xn.prototype,"getTransactionByHash",1),y([li],Xn.prototype,"getTransactionByVersion",1),y([li],Xn.prototype,"getLedgerInfo",1),y([Y()],Xn.prototype,"getChainId",1),y([li],Xn.prototype,"getTableItem",1),y([li,Y({ttlMs:300*1e3,tags:["gas_estimates"]})],Xn.prototype,"estimateGasPrice",1),y([li],Xn.prototype,"estimateMaxGasAmount",1),y([li],Xn.prototype,"getBlockByHeight",1),y([li],Xn.prototype,"getBlockByVersion",1),y([li],Xn.prototype,"view",1);var _n=Xn,Fo=class extends Error{constructor(Q,$){super(Q),this.lastSubmittedTransaction=$}},zo=class extends Error{constructor(Q,$){super(Q),this.transaction=$}},gi=class extends Error{constructor(Q,$,Ee,je){super($),this.status=Q,this.message=$,this.errorCode=Ee,this.vmErrorCode=je}};function li(Q,$,Ee){let je=Ee.value;return Ee.value=async function(...ct){var Pt,rr;try{return await je.apply(this,[...ct])}catch(Ir){throw Ir instanceof ne?new gi(Ir.status,JSON.stringify({message:Ir.message,...Ir.data}),(Pt=Ir.data)==null?void 0:Pt.error_code,(rr=Ir.data)==null?void 0:rr.vm_error_code):Ir}},Ee}var Ms=class $i{constructor($,Ee){this.endpoint=$,this.config=Ee}static validateAddress($){if($.length<66)throw new Error(`${$} is less than 66 chars long.`)}async queryIndexer($){let Ee=await ee({url:this.endpoint,body:$,overrides:{WITH_CREDENTIALS:!1,...this.config}});if(Ee.data.errors)throw new gi(Ee.data.errors[0].extensions.code,JSON.stringify({message:Ee.data.errors[0].message,error_code:Ee.data.errors[0].extensions.code}));return Ee.data.data}async getIndexerLedgerInfo(){let $={query:dn};return this.queryIndexer($)}async getAccountNFTs($,Ee){let je=Xe.ensure($).hex();$i.validateAddress(je);let ct={query:$r,variables:{address:je,offset:Ee?.offset,limit:Ee?.limit}};return this.queryIndexer(ct)}async getTokenActivities($,Ee){var je,ct;let Pt=Xe.ensure($).hex();$i.validateAddress(Pt);let rr={token_data_id:{_eq:Pt}};Ee?.tokenStandard&&(rr.token_standard={_eq:Ee?.tokenStandard});let Ir={query:Qn,variables:{where_condition:rr,offset:(je=Ee?.options)==null?void 0:je.offset,limit:(ct=Ee?.options)==null?void 0:ct.limit,order_by:Ee?.orderBy}};return this.queryIndexer(Ir)}async getTokenActivitiesCount($){let Ee={query:lo,variables:{token_id:$}};return this.queryIndexer(Ee)}async getAccountTokensCount($,Ee){var je,ct;let Pt={owner_address:{_eq:$},amount:{_gt:"0"}};Ee?.tokenStandard&&(Pt.token_standard={_eq:Ee?.tokenStandard});let rr=Xe.ensure($).hex();$i.validateAddress(rr);let Ir={query:on,variables:{where_condition:Pt,offset:(je=Ee?.options)==null?void 0:je.offset,limit:(ct=Ee?.options)==null?void 0:ct.limit}};return this.queryIndexer(Ir)}async getTokenData($,Ee){var je,ct;let Pt=Xe.ensure($).hex();$i.validateAddress(Pt);let rr={token_data_id:{_eq:Pt}};Ee?.tokenStandard&&(rr.token_standard={_eq:Ee?.tokenStandard});let Ir={query:no,variables:{where_condition:rr,offset:(je=Ee?.options)==null?void 0:je.offset,limit:(ct=Ee?.options)==null?void 0:ct.limit,order_by:Ee?.orderBy}};return this.queryIndexer(Ir)}async getTokenOwnersData($,Ee,je){var ct,Pt;let rr=Xe.ensure($).hex();$i.validateAddress(rr);let Ir={token_data_id:{_eq:rr},amount:{_gt:"0"}};Ee&&(Ir.property_version_v1={_eq:Ee}),je?.tokenStandard&&(Ir.token_standard={_eq:je?.tokenStandard});let Kr={query:oo,variables:{where_condition:Ir,offset:(ct=je?.options)==null?void 0:ct.offset,limit:(Pt=je?.options)==null?void 0:Pt.limit,order_by:je?.orderBy}};return this.queryIndexer(Kr)}async getTokenCurrentOwnerData($,Ee,je){var ct,Pt;let rr=Xe.ensure($).hex();$i.validateAddress(rr);let Ir={token_data_id:{_eq:rr},amount:{_gt:"0"}};Ee&&(Ir.property_version_v1={_eq:Ee}),je?.tokenStandard&&(Ir.token_standard={_eq:je?.tokenStandard});let Kr={query:ms,variables:{where_condition:Ir,offset:(ct=je?.options)==null?void 0:ct.offset,limit:(Pt=je?.options)==null?void 0:Pt.limit,order_by:je?.orderBy}};return this.queryIndexer(Kr)}async getOwnedTokens($,Ee){var je,ct;let Pt=Xe.ensure($).hex();$i.validateAddress(Pt);let rr={owner_address:{_eq:Pt},amount:{_gt:0}};Ee?.tokenStandard&&(rr.token_standard={_eq:Ee?.tokenStandard});let Ir={query:Di,variables:{where_condition:rr,offset:(je=Ee?.options)==null?void 0:je.offset,limit:(ct=Ee?.options)==null?void 0:ct.limit,order_by:Ee?.orderBy}};return this.queryIndexer(Ir)}async getOwnedTokensByTokenData($,Ee){var je,ct;let Pt=Xe.ensure($).hex();$i.validateAddress(Pt);let rr={token_data_id:{_eq:Pt},amount:{_gt:0}};Ee?.tokenStandard&&(rr.token_standard={_eq:Ee?.tokenStandard});let Ir={query:pi,variables:{where_condition:rr,offset:(je=Ee?.options)==null?void 0:je.offset,limit:(ct=Ee?.options)==null?void 0:ct.limit,order_by:Ee?.orderBy}};return this.queryIndexer(Ir)}async getTokenOwnedFromCollectionAddress($,Ee,je){var ct,Pt;let rr=Xe.ensure($).hex();$i.validateAddress(rr);let Ir=Xe.ensure(Ee).hex();$i.validateAddress(Ir);let Kr={owner_address:{_eq:rr},current_token_data:{collection_id:{_eq:Ir}},amount:{_gt:0}};je?.tokenStandard&&(Kr.token_standard={_eq:je?.tokenStandard});let Yr={query:fo,variables:{where_condition:Kr,offset:(ct=je?.options)==null?void 0:ct.offset,limit:(Pt=je?.options)==null?void 0:Pt.limit,order_by:je?.orderBy}};return this.queryIndexer(Yr)}async getTokenOwnedFromCollectionNameAndCreatorAddress($,Ee,je,ct){let Pt=await this.getCollectionAddress(je,Ee,ct);return await this.getTokenOwnedFromCollectionAddress($,Pt,ct)}async getCollectionData($,Ee,je){var ct,Pt;let rr=Xe.ensure($).hex();$i.validateAddress(rr);let Ir={collection_name:{_eq:Ee},creator_address:{_eq:rr}};je?.tokenStandard&&(Ir.token_standard={_eq:je?.tokenStandard});let Kr={query:On,variables:{where_condition:Ir,offset:(ct=je?.options)==null?void 0:ct.offset,limit:(Pt=je?.options)==null?void 0:Pt.limit,order_by:je?.orderBy}};return this.queryIndexer(Kr)}async getCollectionAddress($,Ee,je){return(await this.getCollectionData($,Ee,je)).current_collections_v2[0].collection_id}async getCollectionsWithOwnedTokens($,Ee){var je,ct;let Pt=Xe.ensure($).hex();$i.validateAddress(Pt);let rr={owner_address:{_eq:Pt}};Ee?.tokenStandard&&(rr.current_collection={token_standard:{_eq:Ee?.tokenStandard}});let Ir={query:ci,variables:{where_condition:rr,offset:(je=Ee?.options)==null?void 0:je.offset,limit:(ct=Ee?.options)==null?void 0:ct.limit,order_by:Ee?.orderBy}};return this.queryIndexer(Ir)}async getAccountTransactionsCount($){let Ee=Xe.ensure($).hex();$i.validateAddress(Ee);let je={query:Jr,variables:{address:Ee}};return this.queryIndexer(je)}async getAccountTransactionsData($,Ee){var je,ct;let Pt=Xe.ensure($).hex();$i.validateAddress(Pt);let rr={query:Xr,variables:{where_condition:{account_address:{_eq:Pt}},offset:(je=Ee?.options)==null?void 0:je.offset,limit:(ct=Ee?.options)==null?void 0:ct.limit,order_by:Ee?.orderBy}};return this.queryIndexer(rr)}async getTopUserTransactions($){let Ee={query:Ii,variables:{limit:$}};return this.queryIndexer(Ee)}async getUserTransactions($){var Ee,je;let ct={version:{_lte:$?.startVersion}},Pt={query:Ki,variables:{where_condition:ct,offset:(Ee=$?.options)==null?void 0:Ee.offset,limit:(je=$?.options)==null?void 0:je.limit,order_by:$?.orderBy}};return this.queryIndexer(Pt)}async getDelegatedStakingActivities($,Ee){let je=Xe.ensure($).hex(),ct=Xe.ensure(Ee).hex();$i.validateAddress(je),$i.validateAddress(ct);let Pt={query:Dn,variables:{delegatorAddress:je,poolAddress:ct}};return this.queryIndexer(Pt)}async getNumberOfDelegators($){let Ee=Xe.ensure($).hex();$i.validateAddress(Ee);let je={query:wi,variables:{poolAddress:Ee}};return this.queryIndexer(je)}async getAccountCoinsData($,Ee){var je,ct;let Pt=Xe.ensure($).hex();$i.validateAddress(Pt);let rr={query:br,variables:{where_condition:{owner_address:{_eq:Pt}},offset:(je=Ee?.options)==null?void 0:je.offset,limit:(ct=Ee?.options)==null?void 0:ct.limit,order_by:Ee?.orderBy}};return this.queryIndexer(rr)}async getAccountCoinsDataCount($){let Ee=Xe.ensure($).hex();$i.validateAddress(Ee);let je={query:mr,variables:{address:Ee}};return this.queryIndexer(je)}async getAccountOwnedObjects($,Ee){var je,ct;let Pt=Xe.ensure($).hex();$i.validateAddress(Pt);let rr={query:cn,variables:{where_condition:{owner_address:{_eq:Pt}},offset:(je=Ee?.options)==null?void 0:je.offset,limit:(ct=Ee?.options)==null?void 0:ct.limit,order_by:Ee?.orderBy}};return this.queryIndexer(rr)}},di=class{constructor(Q,$,Ee=!1){let je=null,ct=null;if(typeof Q=="object"&&Sn(Q)?(je=Q.fullnodeUrl,ct=Q.indexerUrl,this.network="CUSTOM"):(je=re[Q],ct=ie[Q],this.network=Q),this.network==="CUSTOM"&&!je)throw new Error("fullnode url is not provided");ct&&(this.indexerClient=new Ms(ct,$)),this.aptosClient=new _n(je,$,Ee)}};function Ei(Q,$,Ee){Object.getOwnPropertyNames($.prototype).forEach(je=>{let ct=Object.getOwnPropertyDescriptor($.prototype,je);ct&&(ct.value=function(...Pt){return this[Ee][je](...Pt)},Object.defineProperty(Q.prototype,je,ct))}),Object.getOwnPropertyNames($).forEach(je=>{let ct=Object.getOwnPropertyDescriptor($,je);ct&&(ct.value=function(...Pt){return this[Ee][je](...Pt)},!Q.hasOwnProperty.call(Q,je)&&Object.defineProperty(Q,je,ct))})}Ei(di,_n,"aptosClient"),Ei(di,Ms,"indexerClient");function Sn(Q){return Q.fullnodeUrl!==void 0&&typeof Q.fullnodeUrl=="string"}var po=class{constructor(Q,$){this.type=Q,this.value=$}},bs=class{constructor(){this.data={}}setProperty(Q,$){this.data[Q]=$}};function Rn(Q){let $;return Q==="string"||Q==="String"?$=new pt(Zt):$=new Yt(Q).parseTypeTag(),$}function Vs(Q,$){if(Q.length!==$.length)throw new Error("Length of property values and types not match");let Ee=new Array;return $.forEach((je,ct)=>{try{let Pt=Rn(je),rr=new Gt;Ji(Q[ct],Pt,rr),Ee.push(rr.getBytes())}catch{Ee.push(new TextEncoder().encode(Q[ct]))}}),Ee}function Pi(Q,$){if(!Q||!$)throw new Error("value or type can not be empty");try{let Ee=Rn($),je=new Gt;return Ji(Q,Ee,je),je.getBytes()}catch{return new TextEncoder().encode(Q)}}function ma(Q){let $=Q.map.data,Ee=new bs;return $.forEach(je=>{let{key:ct}=je,Pt=je.value.value,rr=je.value.type,Ir=Rn(rr),Kr=Xi(Ir,Pt),Yr=new po(rr,Kr);Ee.setProperty(ct,Yr)}),Ee}function Xi(Q,$){let Ee=new Rt(new Xe($).toUint8Array()),je="";return Q instanceof Le?je=Ee.deserializeU8().toString():Q instanceof ut?je=Ee.deserializeU64().toString():Q instanceof Dt?je=Ee.deserializeU128().toString():Q instanceof ze?je=Ee.deserializeBool()?"true":"false":Q instanceof nt?je=Xe.fromUint8Array(Ee.deserializeFixedBytes(32)).hex():Q instanceof pt&&Q.isStringTypeTag()?je=Ee.deserializeStr():je=$,je}var ws={};u(ws,{PropertyMap:()=>bs,PropertyValue:()=>po,Token:()=>qs,TokenData:()=>Bs});var Bs=class{constructor(Q,$,Ee,je,ct,Pt,rr,Ir){this.collection=Q,this.description=$,this.name=Ee,this.maximum=je,this.supply=ct,this.uri=Pt,this.default_properties=ma(rr),this.mutability_config=Ir}},qs=class{constructor(Q,$,Ee){this.id=Q,this.amount=$,this.token_properties=ma(Ee)}},xs=class{constructor(Q){this.aptosClient=Q}async createCollection(Q,$,Ee,je,ct=it,Pt){let rr=await new jn(this.aptosClient,{sender:Q.address(),...Pt}).build("0x3::token::create_collection_script",[],[$,Ee,je,ct,[!1,!1,!1]]),Ir=_n.generateBCSTransaction(Q,rr);return(await this.aptosClient.submitSignedBCSTransaction(Ir)).hash}async createToken(Q,$,Ee,je,ct,Pt,rr=it,Ir=Q.address(),Kr=0,Yr=0,In=[],ei=[],yi=[],Zi){let Jo=await new jn(this.aptosClient,{sender:Q.address(),...Zi}).build("0x3::token::create_token_script",[],[$,Ee,je,ct,rr,Pt,Ir,Kr,Yr,[!1,!1,!1,!1,!1],In,Vs(ei,yi),yi]),to=_n.generateBCSTransaction(Q,Jo);return(await this.aptosClient.submitSignedBCSTransaction(to)).hash}async createTokenWithMutabilityConfig(Q,$,Ee,je,ct,Pt,rr=it,Ir=Q.address(),Kr=0,Yr=0,In=[],ei=[],yi=[],Zi=[!1,!1,!1,!1,!1],Jo){let to=await new jn(this.aptosClient,{sender:Q.address(),...Jo}).build("0x3::token::create_token_script",[],[$,Ee,je,ct,rr,Pt,Ir,Kr,Yr,Zi,In,ei,yi]),Yo=_n.generateBCSTransaction(Q,to);return(await this.aptosClient.submitSignedBCSTransaction(Yo)).hash}async offerToken(Q,$,Ee,je,ct,Pt,rr=0,Ir){let Kr=await new jn(this.aptosClient,{sender:Q.address(),...Ir}).build("0x3::token_transfers::offer_script",[],[$,Ee,je,ct,rr,Pt]),Yr=_n.generateBCSTransaction(Q,Kr);return(await this.aptosClient.submitSignedBCSTransaction(Yr)).hash}async claimToken(Q,$,Ee,je,ct,Pt=0,rr){let Ir=await new jn(this.aptosClient,{sender:Q.address(),...rr}).build("0x3::token_transfers::claim_script",[],[$,Ee,je,ct,Pt]),Kr=_n.generateBCSTransaction(Q,Ir);return(await this.aptosClient.submitSignedBCSTransaction(Kr)).hash}async cancelTokenOffer(Q,$,Ee,je,ct,Pt=0,rr){let Ir=await new jn(this.aptosClient,{sender:Q.address(),...rr}).build("0x3::token_transfers::cancel_offer_script",[],[$,Ee,je,ct,Pt]),Kr=_n.generateBCSTransaction(Q,Ir);return(await this.aptosClient.submitSignedBCSTransaction(Kr)).hash}async directTransferToken(Q,$,Ee,je,ct,Pt,rr=0,Ir){let Kr=await new jn(this.aptosClient,{sender:Q.address(),...Ir}).build("0x3::token::direct_transfer_script",[],[Ee,je,ct,rr,Pt]),Yr=new Je.MultiAgentRawTransaction(Kr,[Je.AccountAddress.fromHex($.address())]),In=new Je.Ed25519Signature(Q.signBuffer(eo.getSigningMessage(Yr)).toUint8Array()),ei=new Je.AccountAuthenticatorEd25519(new Je.Ed25519PublicKey(Q.signingKey.publicKey),In),yi=new Je.Ed25519Signature($.signBuffer(eo.getSigningMessage(Yr)).toUint8Array()),Zi=new Je.AccountAuthenticatorEd25519(new Je.Ed25519PublicKey($.signingKey.publicKey),yi),Jo=new Je.TransactionAuthenticatorMultiAgent(ei,[Je.AccountAddress.fromHex($.address())],[Zi]),to=Pr(new Je.SignedTransaction(Kr,Jo));return(await this.aptosClient.submitSignedBCSTransaction(to)).hash}async directTransferTokenWithFeePayer(Q,$,Ee,je,ct,Pt,rr,Ir=0,Kr){let Yr=await new jn(this.aptosClient,{sender:Q.address(),...Kr}).build("0x3::token::direct_transfer_script",[],[Ee,je,ct,Ir,Pt]),In=new Je.FeePayerRawTransaction(Yr,[Je.AccountAddress.fromHex($.address())],Je.AccountAddress.fromHex(rr.address())),ei=new Je.Ed25519Signature(Q.signBuffer(eo.getSigningMessage(In)).toUint8Array()),yi=new Je.AccountAuthenticatorEd25519(new Je.Ed25519PublicKey(Q.signingKey.publicKey),ei),Zi=new Je.Ed25519Signature($.signBuffer(eo.getSigningMessage(In)).toUint8Array()),Jo=new Je.AccountAuthenticatorEd25519(new Je.Ed25519PublicKey($.signingKey.publicKey),Zi),to=new Je.Ed25519Signature(rr.signBuffer(eo.getSigningMessage(In)).toUint8Array()),Yo=new Je.AccountAuthenticatorEd25519(new Je.Ed25519PublicKey(rr.signingKey.publicKey),to),Ju=new Je.TransactionAuthenticatorFeePayer(yi,[Je.AccountAddress.fromHex($.address())],[Jo],{address:Je.AccountAddress.fromHex(rr.address()),authenticator:Yo}),Rl=Pr(new Je.SignedTransaction(Yr,Ju));return(await this.aptosClient.submitSignedBCSTransaction(Rl)).hash}async optInTokenTransfer(Q,$,Ee){let je=await new jn(this.aptosClient,{sender:Q.address(),...Ee}).build("0x3::token::opt_in_direct_transfer",[],[$]),ct=_n.generateBCSTransaction(Q,je);return(await this.aptosClient.submitSignedBCSTransaction(ct)).hash}async transferWithOptIn(Q,$,Ee,je,ct,Pt,rr,Ir){let Kr=await new jn(this.aptosClient,{sender:Q.address(),...Ir}).build("0x3::token::transfer_with_opt_in",[],[$,Ee,je,ct,Pt,rr]),Yr=_n.generateBCSTransaction(Q,Kr);return(await this.aptosClient.submitSignedBCSTransaction(Yr)).hash}async burnByCreator(Q,$,Ee,je,ct,Pt,rr){let Ir=await new jn(this.aptosClient,{sender:Q.address(),...rr}).build("0x3::token::burn_by_creator",[],[$,Ee,je,ct,Pt]),Kr=_n.generateBCSTransaction(Q,Ir);return(await this.aptosClient.submitSignedBCSTransaction(Kr)).hash}async burnByOwner(Q,$,Ee,je,ct,Pt,rr){let Ir=await new jn(this.aptosClient,{sender:Q.address(),...rr}).build("0x3::token::burn",[],[$,Ee,je,ct,Pt]),Kr=_n.generateBCSTransaction(Q,Ir);return(await this.aptosClient.submitSignedBCSTransaction(Kr)).hash}async mutateTokenProperties(Q,$,Ee,je,ct,Pt,rr,Ir,Kr,Yr,In){let ei=await new jn(this.aptosClient,{sender:Q.address(),...In}).build("0x3::token::mutate_token_properties",[],[$,Ee,je,ct,Pt,rr,Ir,Kr,Yr]),yi=_n.generateBCSTransaction(Q,ei);return(await this.aptosClient.submitSignedBCSTransaction(yi)).hash}async getCollectionData(Q,$){let Ee=(await this.aptosClient.getAccountResources(Q)).find(Pt=>Pt.type==="0x3::token::Collections"),{handle:je}=Ee.data.collection_data,ct={key_type:"0x1::string::String",value_type:"0x3::token::CollectionData",key:$};return await this.aptosClient.getTableItem(je,ct)}async getTokenData(Q,$,Ee){let je=Q instanceof Xe?Q.hex():Q,ct=await this.aptosClient.getAccountResource(je,"0x3::token::Collections"),{handle:Pt}=ct.data.token_data,rr={key_type:"0x3::token::TokenDataId",value_type:"0x3::token::TokenData",key:{creator:je,collection:$,name:Ee}},Ir=await this.aptosClient.getTableItem(Pt,rr);return new Bs(Ir.collection,Ir.description,Ir.name,Ir.maximum,Ir.supply,Ir.uri,Ir.default_properties,Ir.mutability_config)}async getToken(Q,$,Ee,je="0"){let ct={creator:Q instanceof Xe?Q.hex():Q,collection:$,name:Ee};return this.getTokenForAccount(Q,{token_data_id:ct,property_version:je})}async getTokenForAccount(Q,$){let Ee=await this.aptosClient.getAccountResource(Q instanceof Xe?Q.hex():Q,"0x3::token::TokenStore"),{handle:je}=Ee.data.tokens,ct={key_type:"0x3::token::TokenId",value_type:"0x3::token::Token",key:$};try{let Pt=await this.aptosClient.getTableItem(je,ct);return new qs(Pt.id,Pt.amount,Pt.token_properties)}catch(Pt){return Pt?.status===404?{id:$,amount:"0",token_properties:new bs}:Pt}}},vs=class{constructor(Q){this.assetType="0x1::fungible_asset::Metadata",this.provider=Q}async transfer(Q,$,Ee,je,ct){let Pt=await this.generateTransfer(Q,$,Ee,je,ct);return await this.provider.signAndSubmitTransaction(Q,Pt)}async getPrimaryBalance(Q,$){let Ee={function:"0x1::primary_fungible_store::balance",type_arguments:[this.assetType],arguments:[Xe.ensure(Q).hex(),Xe.ensure($).hex()]},je=await this.provider.view(Ee);return BigInt(je[0])}async generateTransfer(Q,$,Ee,je,ct){return await new jn(this.provider,{sender:Q.address(),...ct}).build("0x1::primary_fungible_store::transfer",[this.assetType],[Xe.ensure($).hex(),Xe.ensure(Ee).hex(),je])}},Bo={BOOLEAN:"bool",U8:"u8",U16:"u16",U32:"u32",U64:"u64",U128:"u128",U256:"u256",ADDRESS:"address",VECTOR:"vector<u8>",STRING:"string"},Ba=class{constructor(Q){this.tokenType="0x4::token::Token",this.provider=Q}async submitTransaction(Q,$,Ee,je,ct){let Pt=await new jn(this.provider,{sender:Q.address(),...ct}).build(`0x4::aptos_token::${$}`,Ee,je),rr=_n.generateBCSTransaction(Q,Pt);return(await this.provider.submitSignedBCSTransaction(rr)).hash}async createCollection(Q,$,Ee,je,ct=it,Pt,rr){var Ir,Kr,Yr,In,ei,yi,Zi,Jo,to,Yo,Ju;return this.submitTransaction(Q,"create_collection",[],[$,ct,Ee,je,(Ir=Pt?.mutableDescription)!=null?Ir:!0,(Kr=Pt?.mutableRoyalty)!=null?Kr:!0,(Yr=Pt?.mutableURI)!=null?Yr:!0,(In=Pt?.mutableTokenDescription)!=null?In:!0,(ei=Pt?.mutableTokenName)!=null?ei:!0,(yi=Pt?.mutableTokenProperties)!=null?yi:!0,(Zi=Pt?.mutableTokenURI)!=null?Zi:!0,(Jo=Pt?.tokensBurnableByCreator)!=null?Jo:!0,(to=Pt?.tokensFreezableByCreator)!=null?to:!0,(Yo=Pt?.royaltyNumerator)!=null?Yo:0,(Ju=Pt?.royaltyDenominator)!=null?Ju:1],rr)}async mint(Q,$,Ee,je,ct,Pt=[],rr=[],Ir=[],Kr){return this.submitTransaction(Q,"mint",[],[$,Ee,je,ct,Pt,rr,Vs(Ir,rr)],Kr)}async mintSoulBound(Q,$,Ee,je,ct,Pt,rr=[],Ir=[],Kr=[],Yr){return this.submitTransaction(Q,"mint_soul_bound",[],[$,Ee,je,ct,rr,Ir,Vs(Kr,Ir),Pt.address().hex()],Yr)}async burnToken(Q,$,Ee,je){return this.submitTransaction(Q,"burn",[Ee||this.tokenType],[Xe.ensure($).hex()],je)}async freezeTokenTransafer(Q,$,Ee,je){return this.submitTransaction(Q,"freeze_transfer",[Ee||this.tokenType],[Xe.ensure($).hex()],je)}async unfreezeTokenTransafer(Q,$,Ee,je){return this.submitTransaction(Q,"unfreeze_transfer",[Ee||this.tokenType],[Xe.ensure($).hex()],je)}async setTokenDescription(Q,$,Ee,je,ct){return this.submitTransaction(Q,"set_description",[je||this.tokenType],[Xe.ensure($).hex(),Ee],ct)}async setTokenName(Q,$,Ee,je,ct){return this.submitTransaction(Q,"set_name",[je||this.tokenType],[Xe.ensure($).hex(),Ee],ct)}async setTokenURI(Q,$,Ee,je,ct){return this.submitTransaction(Q,"set_uri",[je||this.tokenType],[Xe.ensure($).hex(),Ee],ct)}async addTokenProperty(Q,$,Ee,je,ct,Pt,rr){return this.submitTransaction(Q,"add_property",[Pt||this.tokenType],[Xe.ensure($).hex(),Ee,Bo[je],Pi(ct,Bo[je])],rr)}async removeTokenProperty(Q,$,Ee,je,ct){return this.submitTransaction(Q,"remove_property",[je||this.tokenType],[Xe.ensure($).hex(),Ee],ct)}async updateTokenProperty(Q,$,Ee,je,ct,Pt,rr){return this.submitTransaction(Q,"update_property",[Pt||this.tokenType],[Xe.ensure($).hex(),Ee,Bo[je],Pi(ct,Bo[je])],rr)}async addTypedProperty(Q,$,Ee,je,ct,Pt,rr){return this.submitTransaction(Q,"add_typed_property",[Pt||this.tokenType,Bo[je]],[Xe.ensure($).hex(),Ee,ct],rr)}async updateTypedProperty(Q,$,Ee,je,ct,Pt,rr){return this.submitTransaction(Q,"update_typed_property",[Pt||this.tokenType,Bo[je]],[Xe.ensure($).hex(),Ee,ct],rr)}async transferTokenOwnership(Q,$,Ee,je,ct){let Pt=await new jn(this.provider,{sender:Q.address(),...ct}).build("0x1::object::transfer",[je||this.tokenType],[Xe.ensure($).hex(),Xe.ensure(Ee).hex()]),rr=_n.generateBCSTransaction(Q,Pt);return(await this.provider.submitSignedBCSTransaction(rr)).hash}async transfer(Q,$){let Ee=$;if(Ee==null&&(Ee=(await this.provider.getTokenData(Xe.ensure(Q.tokenAddress).hex())).current_token_datas_v2[0].is_fungible_v2),Ee){let ct=Q;return await new vs(this.provider).transfer(ct.owner,ct.tokenAddress,ct.recipient,ct.amount,ct.extraArgs)}let je=Q;return await this.transferTokenOwnership(je.owner,je.tokenAddress,je.recipient,je.tokenType,je.extraArgs)}async burnObject(Q,$,Ee,je){let ct=await new jn(this.provider,{sender:Q.address(),...je}).build("0x1::object::burn",[Ee||"0x1::object::ObjectCore"],[Xe.ensure($).hex()]),Pt=_n.generateBCSTransaction(Q,ct);return(await this.provider.submitSignedBCSTransaction(Pt)).hash}},xo="0x1::aptos_account::transfer_coins",Js="0x1::coin::transfer",Us=class{constructor(Q){this.aptosClient=Q}async transfer(Q,$,Ee,je){var ct,Pt,rr;let Ir=((ct=je?.coinType)!=null?ct:"").toString().includes("::");if(je?.coinType&&!Ir&&_t.isValid(je.coinType)){console.warn("to transfer a fungible asset, use `FungibleAssetClient()` class for better support");let Zi=new di({fullnodeUrl:this.aptosClient.nodeUrl,indexerUrl:(Pt=ie[Oe[this.aptosClient.nodeUrl]])!=null?Pt:this.aptosClient.nodeUrl});return await new vs(Zi).transfer(Q,je?.coinType,De($),Ee)}let Kr=(rr=je?.coinType)!=null?rr:D,Yr;je?.createReceiverIfMissing===void 0?Yr=xo:Yr=je?.createReceiverIfMissing?xo:Js;let In=De($),ei=await new jn(this.aptosClient,{sender:Q.address(),...je}).build(Yr,[Kr],[In,Ee]),yi=_n.generateBCSTransaction(Q,ei);return(await this.aptosClient.submitSignedBCSTransaction(yi)).hash}async checkBalance(Q,$){var Ee,je,ct;let Pt=((Ee=$?.coinType)!=null?Ee:"").toString().includes("::");if($?.coinType&&!Pt&&_t.isValid($.coinType)){console.warn("to check balance of a fungible asset, use `FungibleAssetClient()` class for better support");let Yr=new di({fullnodeUrl:this.aptosClient.nodeUrl,indexerUrl:(je=ie[Oe[this.aptosClient.nodeUrl]])!=null?je:this.aptosClient.nodeUrl});return await new vs(Yr).getPrimaryBalance(De(Q),$?.coinType)}let rr=`0x1::coin::CoinStore<${(ct=$?.coinType)!=null?ct:D}>`,Ir=De(Q),Kr=await this.aptosClient.getAccountResource(Ir,rr);return BigInt(Kr.data.coin.value)}},Xs=class extends _n{constructor(Q,$,Ee){if(super(Q,Ee),!$)throw new Error("Faucet URL cannot be empty.");this.faucetUrl=$,this.config=Ee}async fundAccount(Q,$,Ee=V){let{data:je}=await ee({url:this.faucetUrl,endpoint:"mint",body:null,params:{address:Xe.ensure(Q).noPrefix(),amount:$},overrides:{...this.config},originMethod:"fundAccount"}),ct=[];for(let Pt=0;Pt<je.length;Pt+=1){let rr=je[Pt];ct.push(this.waitForTransaction(rr,{timeoutSecs:Ee}))}return await Promise.all(ct),je}},Qs={testnet:"0x5f8fd2347449685cf41d4db97926ec3a096eaf381332be4f1318ad4d16a8497c",mainnet:"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c"},Ni=/^[a-z\d][a-z\d-]{1,61}[a-z\d]$/,Ws=new RegExp("^(?:(?<subdomain>[^.]+)\\.(?!apt$))?(?<domain>[^.]+)(?:\\.apt)?$"),xa=class{constructor(Q,$){var Ee;if(this.provider=Q,!Qs[this.provider.network]&&!$)throw new Error("Error: For custom providers, you must pass in a contract address");this.contractAddress=(Ee=Qs[this.provider.network])!=null?Ee:$}async getPrimaryNameByAddress(Q){let $=(await this.provider.getAccountResource(this.contractAddress,`${this.contractAddress}::domains::ReverseLookupRegistryV1`)).data,{handle:Ee}=$.registry,je={key_type:"address",value_type:`${this.contractAddress}::domains::NameRecordKeyV1`,key:Q};try{let ct=await this.provider.getTableItem(Ee,je);return ct.subdomain_name.vec[0]?`${ct.subdomain_name.vec[0]}.${ct.domain_name}`:ct.domain_name}catch(ct){if(ct.status===404)return null;throw new Error(ct)}}async getAddressByName(Q){var $,Ee;let{domain:je,subdomain:ct}=(Ee=($=Q.match(Ws))==null?void 0:$.groups)!=null?Ee:{};if(!je)return null;let Pt=ct?await this.getRegistrationForSubdomainName(je,ct):await this.getRegistrationForDomainName(je);return Pt===null?null:Pt.target}async mintAptosName(Q,$,Ee=1,je){if($.match(Ni)===null)throw new gi(400,`Name ${$} is not valid`);let ct=await this.getRegistrationForDomainName($);if(ct&&Math.ceil(Date.now()/1e3)<ct.expirationTimestampSeconds)throw new gi(400,`Name ${$} is not available`);let Pt=await new jn(this.provider.aptosClient,{sender:Q.address(),...je}).build(`${this.contractAddress}::domains::register_domain`,[],[$,Ee]),rr=_n.generateBCSTransaction(Q,Pt);return(await this.provider.submitSignedBCSTransaction(rr)).hash}async mintAptosSubdomain(Q,$,Ee,je,ct){if(Ee.match(Ni)===null)throw new gi(400,`Domain name ${Ee} is not valid`);if($.match(Ni)===null)throw new gi(400,`Subdomain name ${$} is not valid`);let Pt=await this.getRegistrationForSubdomainName(Ee,$);if(Pt&&Math.ceil(Date.now()/1e3)<Pt.expirationTimestampSeconds)throw new gi(400,`Name ${$}.${Ee} is not available`);let rr=await this.getRegistrationForDomainName(Ee);if(rr===null)throw new gi(400,`Domain name ${Ee} does not exist`);let Ir=Math.ceil(Date.now()/1e3);if(rr.expirationTimestampSeconds<Ir)throw new gi(400,`Domain name ${Ee} expired`);let Kr=je||rr.expirationTimestampSeconds;if(Kr<Ir)throw new gi(400,`Expiration for ${$}.${Ee} is before now`);let Yr=await new jn(this.provider.aptosClient,{sender:Q.address(),...ct}).build(`${this.contractAddress}::domains::register_subdomain`,[],[$,Ee,Kr]),In=_n.generateBCSTransaction(Q,Yr);return(await this.provider.submitSignedBCSTransaction(In)).hash}async setSubdomainAddress(Q,$,Ee,je,ct){let Pt=_t.standardizeAddress(je);if(Ee.match(Ni)===null)throw new gi(400,`Name ${Ee} is not valid`);if($.match(Ni)===null)throw new gi(400,`Name ${$} is not valid`);let rr=await new jn(this.provider.aptosClient,{sender:Q.address(),...ct}).build(`${this.contractAddress}::domains::set_subdomain_address`,[],[$,Ee,Pt]),Ir=_n.generateBCSTransaction(Q,rr);return(await this.provider.submitSignedBCSTransaction(Ir)).hash}async initReverseLookupRegistry(Q,$){let Ee=await new jn(this.provider.aptosClient,{sender:Q.address(),...$}).build(`${this.contractAddress}::domains::init_reverse_lookup_registry_v1`,[],[]),je=_n.generateBCSTransaction(Q,Ee);return(await this.provider.submitSignedBCSTransaction(je)).hash}async getRegistrationForDomainName(Q){if(Q.match(Ni)===null)return null;let $=(await this.provider.getAccountResource(this.contractAddress,`${this.contractAddress}::domains::NameRegistryV1`)).data,{handle:Ee}=$.registry,je={key_type:`${this.contractAddress}::domains::NameRecordKeyV1`,value_type:`${this.contractAddress}::domains::NameRecordV1`,key:{subdomain_name:{vec:[]},domain_name:Q}};try{let ct=await this.provider.getTableItem(Ee,je);return{target:ct.target_address.vec.length===1?ct.target_address.vec[0]:null,expirationTimestampSeconds:ct.expiration_time_sec}}catch(ct){if(ct.status===404)return null;throw new Error(ct)}}async getRegistrationForSubdomainName(Q,$){if(Q.match(Ni)===null||$.match(Ni)===null)return null;let Ee=(await this.provider.getAccountResource(this.contractAddress,`${this.contractAddress}::domains::NameRegistryV1`)).data,{handle:je}=Ee.registry,ct={key_type:`${this.contractAddress}::domains::NameRecordKeyV1`,value_type:`${this.contractAddress}::domains::NameRecordV1`,key:{subdomain_name:{vec:[$]},domain_name:Q}};try{let Pt=await this.provider.getTableItem(je,ct);return{target:Pt.target_address.vec.length===1?Pt.target_address.vec[0]:null,expirationTimestampSeconds:Pt.expiration_time_sec}}catch(Pt){if(Pt.status===404)return null;throw new Error(Pt)}}},Vo=()=>Math.floor(Date.now()/1e3),Re=class{constructor(Q,$,Ee,je,ct){this.lastUncommintedNumber=null,this.currentNumber=null,this.lock=!1,this.provider=Q,this.account=$,this.maxWaitTime=Ee,this.maximumInFlight=je,this.sleepTime=ct}async nextSequenceNumber(){for(;this.lock;)await k(this.sleepTime);this.lock=!0;let Q=BigInt(0);try{if((this.lastUncommintedNumber===null||this.currentNumber===null)&&await this.initialize(),this.currentNumber-this.lastUncommintedNumber>=this.maximumInFlight){await this.update();let $=Vo();for(;this.currentNumber-this.lastUncommintedNumber>=this.maximumInFlight;)await k(this.sleepTime),Vo()-$>this.maxWaitTime?(console.warn(`Waited over 30 seconds for a transaction to commit, resyncing ${this.account.address()}`),await this.initialize()):await this.update()}Q=this.currentNumber,this.currentNumber+=BigInt(1)}catch($){console.error("error in getting next sequence number for this account",$)}finally{this.lock=!1}return Q}async initialize(){let{sequence_number:Q}=await this.provider.getAccount(this.account.address());this.currentNumber=BigInt(Q),this.lastUncommintedNumber=BigInt(Q)}async update(){let{sequence_number:Q}=await this.provider.getAccount(this.account.address());return this.lastUncommintedNumber=BigInt(Q),this.lastUncommintedNumber}async synchronize(){if(this.lastUncommintedNumber!==this.currentNumber){for(;this.lock;)await k(this.sleepTime);this.lock=!0;try{await this.update();let Q=Vo();for(;this.lastUncommintedNumber!==this.currentNumber;)Vo()-Q>this.maxWaitTime?(console.warn(`Waited over 30 seconds for a transaction to commit, resyncing ${this.account.address()}`),await this.initialize()):(await k(this.sleepTime),await this.update())}catch(Q){console.error("error in synchronizing this account sequence number with the one on chain",Q)}finally{this.lock=!1}}}},Se=d(Qf()),pe=class{constructor(){this.queue=[],this.pendingDequeue=[],this.cancelled=!1}enqueue(Q){if(this.cancelled=!1,this.pendingDequeue.length>0){this.pendingDequeue.shift()?.resolve(Q);return}this.queue.push(Q)}async dequeue(){return this.queue.length>0?Promise.resolve(this.queue.shift()):new Promise((Q,$)=>{this.pendingDequeue.push({resolve:Q,reject:$})})}isEmpty(){return this.queue.length===0}cancel(){this.cancelled=!0,this.pendingDequeue.forEach(async({reject:Q})=>{Q(new We("Task cancelled"))}),this.pendingDequeue=[],this.queue.length=0}isCancelled(){return this.cancelled}pendingDequeueLength(){return this.pendingDequeue.length}},We=class extends Error{},Ft="fulfilled",nr=(Q=>(Q.TransactionSent="transactionSent",Q.TransactionSendFailed="transactionsendFailed",Q.TransactionExecuted="transactionExecuted",Q.TransactionExecutionFailed="transactionexecutionFailed",Q))(nr||{}),sr=class extends Se.default{constructor(Q,$,Ee=30,je=100,ct=10){super(),this.taskQueue=new pe,this.transactionsQueue=new pe,this.outstandingTransactions=new pe,this.sentTransactions=[],this.executedTransactions=[],this.provider=Q,this.account=$,this.started=!1,this.accountSequnceNumber=new Re(Q,$,Ee,je,ct)}async submitNextTransaction(){try{for(;;){if(this.transactionsQueue.isEmpty())return;let Q=await this.accountSequnceNumber.nextSequenceNumber();if(Q===null)return;let $=await this.generateNextTransaction(this.account,Q);if(!$)return;let Ee=this.provider.submitSignedBCSTransaction($);await this.outstandingTransactions.enqueue([Ee,Q])}}catch(Q){if(Q instanceof We)return;console.log(Q)}}async processTransactions(){try{for(;;){let Q=[],$=[],[Ee,je]=await this.outstandingTransactions.dequeue();for(Q.push(Ee),$.push(je);!this.outstandingTransactions.isEmpty();)[Ee,je]=await this.outstandingTransactions.dequeue(),Q.push(Ee),$.push(je);let ct=await Promise.allSettled(Q);for(let Pt=0;Pt<ct.length&&Pt<$.length;Pt+=1){let rr=ct[Pt];je=$[Pt],rr.status===Ft?(this.sentTransactions.push([rr.value.hash,je,null]),this.emit("transactionSent",[this.sentTransactions.length,rr.value.hash]),await this.checkTransaction(rr,je)):(this.sentTransactions.push([rr.status,je,rr.reason]),this.emit("transactionsendFailed",[this.sentTransactions.length,rr.reason]))}}}catch(Q){if(Q instanceof We)return;console.log(Q)}}async checkTransaction(Q,$){let Ee=[];Ee.push(this.provider.waitForTransactionWithResult(Q.value.hash,{checkSuccess:!0}));let je=await Promise.allSettled(Ee);for(let ct=0;ct<je.length;ct+=1){let Pt=je[ct];Pt.status===Ft?(this.executedTransactions.push([Pt.value.hash,$,null]),this.emit("transactionExecuted",[this.executedTransactions.length,Pt.value.hash])):(this.executedTransactions.push([Pt.status,$,Pt.reason]),this.emit("transactionexecutionFailed",[this.executedTransactions.length,Pt.reason]))}}async push(Q){await this.transactionsQueue.enqueue(Q)}async generateNextTransaction(Q,$){if(this.transactionsQueue.isEmpty())return;let Ee=await this.transactionsQueue.dequeue(),je=await this.provider.generateRawTransaction(Q.address(),Ee,{providedSequenceNumber:$});return _n.generateBCSTransaction(Q,je)}async run(){try{for(;!this.taskQueue.isCancelled();)await(await this.taskQueue.dequeue())()}catch(Q){throw new Error(Q)}}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()}},pr={};u(pr,{AptosErrorCode:()=>Xt,MoveFunctionVisibility:()=>Mr,RoleType:()=>Lr});var Xt=(Q=>(Q.ACCOUNT_NOT_FOUND="account_not_found",Q.RESOURCE_NOT_FOUND="resource_not_found",Q.MODULE_NOT_FOUND="module_not_found",Q.STRUCT_FIELD_NOT_FOUND="struct_field_not_found",Q.VERSION_NOT_FOUND="version_not_found",Q.TRANSACTION_NOT_FOUND="transaction_not_found",Q.TABLE_ITEM_NOT_FOUND="table_item_not_found",Q.BLOCK_NOT_FOUND="block_not_found",Q.STATE_VALUE_NOT_FOUND="state_value_not_found",Q.VERSION_PRUNED="version_pruned",Q.BLOCK_PRUNED="block_pruned",Q.INVALID_INPUT="invalid_input",Q.INVALID_TRANSACTION_UPDATE="invalid_transaction_update",Q.SEQUENCE_NUMBER_TOO_OLD="sequence_number_too_old",Q.VM_ERROR="vm_error",Q.HEALTH_CHECK_FAILED="health_check_failed",Q.MEMPOOL_IS_FULL="mempool_is_full",Q.INTERNAL_ERROR="internal_error",Q.WEB_FRAMEWORK_ERROR="web_framework_error",Q.BCS_NOT_SUPPORTED="bcs_not_supported",Q.API_DISABLED="api_disabled",Q))(Xt||{}),Mr=(Q=>(Q.PRIVATE="private",Q.PUBLIC="public",Q.FRIEND="friend",Q))(Mr||{}),Lr=(Q=>(Q.VALIDATOR="validator",Q.FULL_NODE="full_node",Q))(Lr||{}),Tn=(Q=>(Q.AccountAddress="account_address",Q.TransactionVersion="transaction_version",Q))(Tn||{}),Un=(Q=>(Q.AccountAddress="account_address",Q.MinBlockHeight="min_block_height",Q.NumDistinctVersions="num_distinct_versions",Q))(Un||{}),Fu=(Q=>(Q.AccountAddress="account_address",Q.TransactionVersion="transaction_version",Q))(Fu||{}),Wa=(Q=>(Q.Address="address",Q.TransactionVersion="transaction_version",Q))(Wa||{}),rc=(Q=>(Q.BlockHeight="block_height",Q.Epoch="epoch",Q.FailedProposerIndices="failed_proposer_indices",Q.Id="id",Q.PreviousBlockVotesBitvec="previous_block_votes_bitvec",Q.Proposer="proposer",Q.Round="round",Q.Timestamp="timestamp",Q.Version="version",Q))(rc||{}),nc=(Q=>(Q.ActivityType="activity_type",Q.Amount="amount",Q.BlockHeight="block_height",Q.CoinType="coin_type",Q.EntryFunctionIdStr="entry_function_id_str",Q.EventAccountAddress="event_account_address",Q.EventCreationNumber="event_creation_number",Q.EventIndex="event_index",Q.EventSequenceNumber="event_sequence_number",Q.IsGasFee="is_gas_fee",Q.IsTransactionSuccess="is_transaction_success",Q.OwnerAddress="owner_address",Q.StorageRefundAmount="storage_refund_amount",Q.TransactionTimestamp="transaction_timestamp",Q.TransactionVersion="transaction_version",Q))(nc||{}),fu=(Q=>(Q.Amount="amount",Q.CoinType="coin_type",Q.CoinTypeHash="coin_type_hash",Q.OwnerAddress="owner_address",Q.TransactionTimestamp="transaction_timestamp",Q.TransactionVersion="transaction_version",Q))(fu||{}),pu=(Q=>(Q.CoinType="coin_type",Q.CoinTypeHash="coin_type_hash",Q.CreatorAddress="creator_address",Q.Decimals="decimals",Q.Name="name",Q.SupplyAggregatorTableHandle="supply_aggregator_table_handle",Q.SupplyAggregatorTableKey="supply_aggregator_table_key",Q.Symbol="symbol",Q.TransactionCreatedTimestamp="transaction_created_timestamp",Q.TransactionVersionCreated="transaction_version_created",Q))(pu||{}),Ls=(Q=>(Q.CoinType="coin_type",Q.CoinTypeHash="coin_type_hash",Q.Supply="supply",Q.TransactionEpoch="transaction_epoch",Q.TransactionTimestamp="transaction_timestamp",Q.TransactionVersion="transaction_version",Q))(Ls||{}),gu=(Q=>(Q.CollectionDataIdHash="collection_data_id_hash",Q.CollectionName="collection_name",Q.CreatorAddress="creator_address",Q.Description="description",Q.DescriptionMutable="description_mutable",Q.Maximum="maximum",Q.MaximumMutable="maximum_mutable",Q.MetadataUri="metadata_uri",Q.Supply="supply",Q.TableHandle="table_handle",Q.TransactionTimestamp="transaction_timestamp",Q.TransactionVersion="transaction_version",Q.UriMutable="uri_mutable",Q))(gu||{}),za=(Q=>(Q.Domain="domain",Q.ExpirationTimestamp="expiration_timestamp",Q.IsDeleted="is_deleted",Q.LastTransactionVersion="last_transaction_version",Q.RegisteredAddress="registered_address",Q.Subdomain="subdomain",Q.TokenName="token_name",Q))(za||{}),ju=(Q=>(Q.Domain="domain",Q.ExpirationTimestamp="expiration_timestamp",Q.IsDeleted="is_deleted",Q.LastTransactionVersion="last_transaction_version",Q.RegisteredAddress="registered_address",Q.Subdomain="subdomain",Q.TokenName="token_name",Q.TokenStandard="token_standard",Q))(ju||{}),Ka=(Q=>(Q.Domain="domain",Q.DomainWithSuffix="domain_with_suffix",Q.ExpirationTimestamp="expiration_timestamp",Q.IsActive="is_active",Q.IsPrimary="is_primary",Q.LastTransactionVersion="last_transaction_version",Q.OwnerAddress="owner_address",Q.RegisteredAddress="registered_address",Q.Subdomain="subdomain",Q.TokenName="token_name",Q.TokenStandard="token_standard",Q))(Ka||{}),le=(Q=>(Q.Amount="amount",Q.CoinType="coin_type",Q.CoinTypeHash="coin_type_hash",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.OwnerAddress="owner_address",Q))(le||{}),se=(Q=>(Q.CollectionDataIdHash="collection_data_id_hash",Q.CollectionName="collection_name",Q.CreatorAddress="creator_address",Q.Description="description",Q.DescriptionMutable="description_mutable",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.Maximum="maximum",Q.MaximumMutable="maximum_mutable",Q.MetadataUri="metadata_uri",Q.Supply="supply",Q.TableHandle="table_handle",Q.UriMutable="uri_mutable",Q))(se||{}),we=(Q=>(Q.CollectionId="collection_id",Q.CollectionName="collection_name",Q.CollectionUri="collection_uri",Q.CreatorAddress="creator_address",Q.DistinctTokens="distinct_tokens",Q.LastTransactionVersion="last_transaction_version",Q.OwnerAddress="owner_address",Q.SingleTokenUri="single_token_uri",Q))(we||{}),ke=(Q=>(Q.CollectionId="collection_id",Q.CollectionName="collection_name",Q.CreatorAddress="creator_address",Q.CurrentSupply="current_supply",Q.Description="description",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.MaxSupply="max_supply",Q.MutableDescription="mutable_description",Q.MutableUri="mutable_uri",Q.TableHandleV1="table_handle_v1",Q.TokenStandard="token_standard",Q.TotalMintedV2="total_minted_v2",Q.Uri="uri",Q))(ke||{}),qe=(Q=>(Q.ActiveTableHandle="active_table_handle",Q.InactiveTableHandle="inactive_table_handle",Q.LastTransactionVersion="last_transaction_version",Q.OperatorCommissionPercentage="operator_commission_percentage",Q.StakingPoolAddress="staking_pool_address",Q.TotalCoins="total_coins",Q.TotalShares="total_shares",Q))(qe||{}),ot=(Q=>(Q.DelegationPoolAddress="delegation_pool_address",Q.DelegatorAddress="delegator_address",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.PendingVoter="pending_voter",Q.TableHandle="table_handle",Q.Voter="voter",Q))(ot||{}),St=(Q=>(Q.DelegatorAddress="delegator_address",Q.LastTransactionVersion="last_transaction_version",Q.ParentTableHandle="parent_table_handle",Q.PoolAddress="pool_address",Q.PoolType="pool_type",Q.Shares="shares",Q.TableHandle="table_handle",Q))(St||{}),lr=(Q=>(Q.Amount="amount",Q.AssetType="asset_type",Q.IsFrozen="is_frozen",Q.IsPrimary="is_primary",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.OwnerAddress="owner_address",Q.StorageId="storage_id",Q.TokenStandard="token_standard",Q))(lr||{}),Or=(Q=>(Q.AllowUngatedTransfer="allow_ungated_transfer",Q.IsDeleted="is_deleted",Q.LastGuidCreationNum="last_guid_creation_num",Q.LastTransactionVersion="last_transaction_version",Q.ObjectAddress="object_address",Q.OwnerAddress="owner_address",Q.StateKeyHash="state_key_hash",Q))(Or||{}),tn=(Q=>(Q.LastTransactionVersion="last_transaction_version",Q.OperatorAddress="operator_address",Q.StakingPoolAddress="staking_pool_address",Q.VoterAddress="voter_address",Q))(tn||{}),pn=(Q=>(Q.DecodedKey="decoded_key",Q.DecodedValue="decoded_value",Q.IsDeleted="is_deleted",Q.Key="key",Q.KeyHash="key_hash",Q.LastTransactionVersion="last_transaction_version",Q.TableHandle="table_handle",Q))(pn||{}),Qr=(Q=>(Q.CollectionDataIdHash="collection_data_id_hash",Q.CollectionName="collection_name",Q.CreatorAddress="creator_address",Q.DefaultProperties="default_properties",Q.Description="description",Q.DescriptionMutable="description_mutable",Q.LargestPropertyVersion="largest_property_version",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.Maximum="maximum",Q.MaximumMutable="maximum_mutable",Q.MetadataUri="metadata_uri",Q.Name="name",Q.PayeeAddress="payee_address",Q.PropertiesMutable="properties_mutable",Q.RoyaltyMutable="royalty_mutable",Q.RoyaltyPointsDenominator="royalty_points_denominator",Q.RoyaltyPointsNumerator="royalty_points_numerator",Q.Supply="supply",Q.TokenDataIdHash="token_data_id_hash",Q.UriMutable="uri_mutable",Q))(Qr||{}),rn=(Q=>(Q.CollectionId="collection_id",Q.Description="description",Q.IsFungibleV2="is_fungible_v2",Q.LargestPropertyVersionV1="largest_property_version_v1",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.Maximum="maximum",Q.Supply="supply",Q.TokenDataId="token_data_id",Q.TokenName="token_name",Q.TokenProperties="token_properties",Q.TokenStandard="token_standard",Q.TokenUri="token_uri",Q))(rn||{}),Zr=(Q=>(Q.Amount="amount",Q.CollectionDataIdHash="collection_data_id_hash",Q.CollectionName="collection_name",Q.CreatorAddress="creator_address",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.Name="name",Q.OwnerAddress="owner_address",Q.PropertyVersion="property_version",Q.TableType="table_type",Q.TokenDataIdHash="token_data_id_hash",Q.TokenProperties="token_properties",Q))(Zr||{}),yn=(Q=>(Q.Amount="amount",Q.IsFungibleV2="is_fungible_v2",Q.IsSoulboundV2="is_soulbound_v2",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.OwnerAddress="owner_address",Q.PropertyVersionV1="property_version_v1",Q.StorageId="storage_id",Q.TableTypeV1="table_type_v1",Q.TokenDataId="token_data_id",Q.TokenPropertiesMutatedV1="token_properties_mutated_v1",Q.TokenStandard="token_standard",Q))(yn||{}),en=(Q=>(Q.Amount="amount",Q.CollectionDataIdHash="collection_data_id_hash",Q.CollectionId="collection_id",Q.CollectionName="collection_name",Q.CreatorAddress="creator_address",Q.FromAddress="from_address",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.Name="name",Q.PropertyVersion="property_version",Q.TableHandle="table_handle",Q.ToAddress="to_address",Q.TokenDataId="token_data_id",Q.TokenDataIdHash="token_data_id_hash",Q))(en||{}),Ln=(Q=>(Q.Asc="ASC",Q.Desc="DESC",Q))(Ln||{}),Nn=(Q=>(Q.Amount="amount",Q.DelegatorAddress="delegator_address",Q.EventIndex="event_index",Q.EventType="event_type",Q.PoolAddress="pool_address",Q.TransactionVersion="transaction_version",Q))(Nn||{}),Wi=(Q=>(Q.FirstTransactionVersion="first_transaction_version",Q.StakingPoolAddress="staking_pool_address",Q))(Wi||{}),ia=(Q=>(Q.DelegatorAddress="delegator_address",Q.PoolAddress="pool_address",Q))(ia||{}),ba=(Q=>(Q.AccountAddress="account_address",Q.CreationNumber="creation_number",Q.Data="data",Q.EventIndex="event_index",Q.IndexedType="indexed_type",Q.SequenceNumber="sequence_number",Q.TransactionBlockHeight="transaction_block_height",Q.TransactionVersion="transaction_version",Q.Type="type",Q))(ba||{}),Uc=(Q=>(Q.Amount="amount",Q.AssetType="asset_type",Q.BlockHeight="block_height",Q.EntryFunctionIdStr="entry_function_id_str",Q.EventIndex="event_index",Q.GasFeePayerAddress="gas_fee_payer_address",Q.IsFrozen="is_frozen",Q.IsGasFee="is_gas_fee",Q.IsTransactionSuccess="is_transaction_success",Q.OwnerAddress="owner_address",Q.StorageId="storage_id",Q.StorageRefundAmount="storage_refund_amount",Q.TokenStandard="token_standard",Q.TransactionTimestamp="transaction_timestamp",Q.TransactionVersion="transaction_version",Q.Type="type",Q))(Uc||{}),pl=(Q=>(Q.AssetType="asset_type",Q.CreatorAddress="creator_address",Q.Decimals="decimals",Q.IconUri="icon_uri",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.Name="name",Q.ProjectUri="project_uri",Q.SupplyAggregatorTableHandleV1="supply_aggregator_table_handle_v1",Q.SupplyAggregatorTableKeyV1="supply_aggregator_table_key_v1",Q.Symbol="symbol",Q.TokenStandard="token_standard",Q))(pl||{}),gl=(Q=>(Q.Db="db",Q.IsIndexerUp="is_indexer_up",Q))(gl||{}),yl=(Q=>(Q.ChainId="chain_id",Q))(yl||{}),Dc=(Q=>(Q.Address="address",Q.TransactionVersion="transaction_version",Q))(Dc||{}),ml=(Q=>(Q.BuyItNowPrice="buy_it_now_price",Q.CoinType="coin_type",Q.CollectionId="collection_id",Q.ContractAddress="contract_address",Q.CurrentBidPrice="current_bid_price",Q.CurrentBidder="current_bidder",Q.EntryFunctionIdStr="entry_function_id_str",Q.ExpirationTime="expiration_time",Q.FeeScheduleId="fee_schedule_id",Q.IsDeleted="is_deleted",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.ListingId="listing_id",Q.Marketplace="marketplace",Q.Seller="seller",Q.StartingBidPrice="starting_bid_price",Q.TokenAmount="token_amount",Q.TokenDataId="token_data_id",Q.TokenStandard="token_standard",Q))(ml||{}),Wc=(Q=>(Q.Buyer="buyer",Q.CoinType="coin_type",Q.CollectionId="collection_id",Q.CollectionOfferId="collection_offer_id",Q.ContractAddress="contract_address",Q.EntryFunctionIdStr="entry_function_id_str",Q.ExpirationTime="expiration_time",Q.FeeScheduleId="fee_schedule_id",Q.IsDeleted="is_deleted",Q.ItemPrice="item_price",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.Marketplace="marketplace",Q.RemainingTokenAmount="remaining_token_amount",Q.TokenStandard="token_standard",Q))(Wc||{}),bl=(Q=>(Q.CoinType="coin_type",Q.CollectionId="collection_id",Q.ContractAddress="contract_address",Q.EntryFunctionIdStr="entry_function_id_str",Q.FeeScheduleId="fee_schedule_id",Q.IsDeleted="is_deleted",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.ListingId="listing_id",Q.Marketplace="marketplace",Q.Price="price",Q.Seller="seller",Q.TokenAmount="token_amount",Q.TokenDataId="token_data_id",Q.TokenStandard="token_standard",Q))(bl||{}),Jn=(Q=>(Q.Buyer="buyer",Q.CoinType="coin_type",Q.CollectionId="collection_id",Q.ContractAddress="contract_address",Q.EntryFunctionIdStr="entry_function_id_str",Q.ExpirationTime="expiration_time",Q.FeeScheduleId="fee_schedule_id",Q.IsDeleted="is_deleted",Q.LastTransactionTimestamp="last_transaction_timestamp",Q.LastTransactionVersion="last_transaction_version",Q.Marketplace="marketplace",Q.OfferId="offer_id",Q.Price="price",Q.TokenAmount="token_amount",Q.TokenDataId="token_data_id",Q.TokenStandard="token_standard",Q))(Jn||{}),vl=(Q=>(Q.Buyer="buyer",Q.CoinType="coin_type",Q.CollectionId="collection_id",Q.CollectionName="collection_name",Q.ContractAddress="contract_address",Q.CreatorAddress="creator_address",Q.EntryFunctionIdStr="entry_function_id_str",Q.EventIndex="event_index",Q.EventType="event_type",Q.FeeScheduleId="fee_schedule_id",Q.Marketplace="marketplace",Q.OfferOrListingId="offer_or_listing_id",Q.Price="price",Q.PropertyVersion="property_version",Q.Seller="seller",Q.TokenAmount="token_amount",Q.TokenDataId="token_data_id",Q.TokenName="token_name",Q.TokenStandard="token_standard",Q.TransactionTimestamp="transaction_timestamp",Q.TransactionVersion="transaction_version",Q))(vl||{}),Lc=(Q=>(Q.AnimationOptimizerRetryCount="animation_optimizer_retry_count",Q.AssetUri="asset_uri",Q.CdnAnimationUri="cdn_animation_uri",Q.CdnImageUri="cdn_image_uri",Q.CdnJsonUri="cdn_json_uri",Q.ImageOptimizerRetryCount="image_optimizer_retry_count",Q.JsonParserRetryCount="json_parser_retry_count",Q.RawAnimationUri="raw_animation_uri",Q.RawImageUri="raw_image_uri",Q))(Lc||{}),Fc=(Q=>(Q.NumActiveDelegator="num_active_delegator",Q.PoolAddress="pool_address",Q))(Fc||{}),jc=(Q=>(Q.Asc="asc",Q.AscNullsFirst="asc_nulls_first",Q.AscNullsLast="asc_nulls_last",Q.Desc="desc",Q.DescNullsFirst="desc_nulls_first",Q.DescNullsLast="desc_nulls_last",Q))(jc||{}),Cl=(Q=>(Q.LastSuccessVersion="last_success_version",Q.LastUpdated="last_updated",Q.Processor="processor",Q))(Cl||{}),Ol=(Q=>(Q.NumVotes="num_votes",Q.ProposalId="proposal_id",Q.ShouldPass="should_pass",Q.StakingPoolAddress="staking_pool_address",Q.TransactionTimestamp="transaction_timestamp",Q.TransactionVersion="transaction_version",Q.VoterAddress="voter_address",Q))(Ol||{}),Xa=(Q=>(Q.DecodedKey="decoded_key",Q.DecodedValue="decoded_value",Q.Key="key",Q.TableHandle="table_handle",Q.TransactionVersion="transaction_version",Q.WriteSetChangeIndex="write_set_change_index",Q))(Xa||{}),Pl=(Q=>(Q.Handle="handle",Q.KeyType="key_type",Q.ValueType="value_type",Q))(Pl||{}),Vc=(Q=>(Q.CoinAmount="coin_amount",Q.CoinType="coin_type",Q.CollectionDataIdHash="collection_data_id_hash",Q.CollectionName="collection_name",Q.CreatorAddress="creator_address",Q.EventAccountAddress="event_account_address",Q.EventCreationNumber="event_creation_number",Q.EventIndex="event_index",Q.EventSequenceNumber="event_sequence_number",Q.FromAddress="from_address",Q.Name="name",Q.PropertyVersion="property_version",Q.ToAddress="to_address",Q.TokenAmount="token_amount",Q.TokenDataIdHash="token_data_id_hash",Q.TransactionTimestamp="transaction_timestamp",Q.TransactionVersion="transaction_version",Q.TransferType="transfer_type",Q))(Vc||{}),Jc=(Q=>(Q.AfterValue="after_value",Q.BeforeValue="before_value",Q.EntryFunctionIdStr="entry_function_id_str",Q.EventAccountAddress="event_account_address",Q.EventIndex="event_index",Q.FromAddress="from_address",Q.IsFungibleV2="is_fungible_v2",Q.PropertyVersionV1="property_version_v1",Q.ToAddress="to_address",Q.TokenAmount="token_amount",Q.TokenDataId="token_data_id",Q.TokenStandard="token_standard",Q.TransactionTimestamp="transaction_timestamp",Q.TransactionVersion="transaction_version",Q.Type="type",Q))(Jc||{}),Bl=(Q=>(Q.CollectionDataIdHash="collection_data_id_hash",Q.CollectionName="collection_name",Q.CreatorAddress="creator_address",Q.DefaultProperties="default_properties",Q.Description="description",Q.DescriptionMutable="description_mutable",Q.LargestPropertyVersion="largest_property_version",Q.Maximum="maximum",Q.MaximumMutable="maximum_mutable",Q.MetadataUri="metadata_uri",Q.Name="name",Q.PayeeAddress="payee_address",Q.PropertiesMutable="properties_mutable",Q.RoyaltyMutable="royalty_mutable",Q.RoyaltyPointsDenominator="royalty_points_denominator",Q.RoyaltyPointsNumerator="royalty_points_numerator",Q.Supply="supply",Q.TokenDataIdHash="token_data_id_hash",Q.TransactionTimestamp="transaction_timestamp",Q.TransactionVersion="transaction_version",Q.UriMutable="uri_mutable",Q))(Bl||{}),Nl=(Q=>(Q.Amount="amount",Q.CollectionDataIdHash="collection_data_id_hash",Q.CollectionName="collection_name",Q.CreatorAddress="creator_address",Q.Name="name",Q.OwnerAddress="owner_address",Q.PropertyVersion="property_version",Q.TableHandle="table_handle",Q.TableType="table_type",Q.TokenDataIdHash="token_data_id_hash",Q.TransactionTimestamp="transaction_timestamp",Q.TransactionVersion="transaction_version",Q))(Nl||{}),Yc=(Q=>(Q.CollectionDataIdHash="collection_data_id_hash",Q.CollectionName="collection_name",Q.CreatorAddress="creator_address",Q.Name="name",Q.PropertyVersion="property_version",Q.TokenDataIdHash="token_data_id_hash",Q.TokenProperties="token_properties",Q.TransactionTimestamp="transaction_timestamp",Q.TransactionVersion="transaction_version",Q))(Yc||{}),qu=(Q=>(Q.BlockHeight="block_height",Q.EntryFunctionIdStr="entry_function_id_str",Q.Epoch="epoch",Q.ExpirationTimestampSecs="expiration_timestamp_secs",Q.GasUnitPrice="gas_unit_price",Q.MaxGasAmount="max_gas_amount",Q.ParentSignatureType="parent_signature_type",Q.Sender="sender",Q.SequenceNumber="sequence_number",Q.Timestamp="timestamp",Q.Version="version",Q))(qu||{})}),sGe=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(j,Y)=>{for(var oe in Y)r(j,oe,{get:Y[oe],enumerable:!0})},a=(j,Y,oe,de)=>{if(Y&&typeof Y=="object"||typeof Y=="function")for(let ue of s(Y))!i.call(j,ue)&&ue!==oe&&r(j,ue,{get:()=>Y[ue],enumerable:!(de=o(Y,ue))||de.enumerable});return j},u=j=>a(r({},"__esModule",{value:!0}),j),c={};n(c,{bcsDeserialize:()=>A,bcsSerialize:()=>T,deserializeJsonTransactionPayload:()=>H,deserializeRawTransaction:()=>l,deserializeSignAndSubmitTransactionRequestArgs:()=>g,deserializeSignTransactionRequestArgs:()=>x,deserializeSignTransactionResponseArgs:()=>M,isBcsSerializable:()=>w,makeFullMessage:()=>D,serializeJsonTransactionPayload:()=>L,serializeRawTransaction:()=>G,serializeSignAndSubmitTransactionRequestArgs:()=>E,serializeSignTransactionRequestArgs:()=>k,serializeSignTransactionResponseArgs:()=>f}),t.exports=u(c);var d=Nr(),h=Vje();function y(j){return j?.serialize!==void 0}function C(j){return j?.serialize!==void 0&&j?.bcsToBytes!==void 0&&j?.bcsToHex!==void 0}function w(j){return y(j)||C(j)}function T(j){if(C(j))return j.bcsToHex().toString();let Y=h.BCS.bcsToBytes(j);return d.Hex.fromHexInput(Y).toString()}function A(j,Y){let oe=d.Hex.fromHexString(Y).toUint8Array(),de=new d.Deserializer(oe);return j.deserialize(de)}var O=Nr(),v=class k1 extends Error{constructor(Y){super(Y),this.name="UnexpectedValueError",Object.setPrototypeOf(this,k1.prototype)}};function B(j){return j?.type==="Uint8Array"&&typeof j?.value=="string"}function R(j){return j instanceof Uint8Array?{type:"Uint8Array",value:O.Hex.fromHexInput(j).toString()}:Array.isArray(j)?j.map(R):j}function U(j){return B(j)?O.Hex.fromHexInput(j.value).toUint8Array():Array.isArray(j)?j.map(U):j}function N(j){let Y=j.arguments.map(R);return{...j,arguments:Y,type:"entry_function_payload"}}function _(j){let Y=j.arguments.map(U);return{...j,arguments:Y,type:"entry_function_payload"}}function L(j){if(j.type==="entry_function_payload"||j.type===void 0)return N(j);if(j.type==="multisig_payload"){let Y=j.transaction_payload!==void 0?N(j.transaction_payload):void 0;return{...j,transaction_payload:Y}}throw new v}function H(j){if(j.type==="entry_function_payload"||j.type===void 0)return _(j);if(j.type==="multisig_payload"){let Y=j.transaction_payload!==void 0?_(j.transaction_payload):void 0;return{...j,transaction_payload:Y}}throw new v}var F=Nr();function G(j){let Y=T(j);if("fee_payer_address"in j)return{type:"fee_payer_raw_txn",value:Y};if("secondary_signer_addresses"in j)return{type:"multi_agent_raw_txn",value:Y};if("chain_id"in j)return{type:"raw_txn",value:Y};throw new v("Invalid raw transaction type")}function l(j){switch(j.type){case"raw_txn":return A(F.RawTransaction,j.value);case"fee_payer_raw_txn":return A(F.RawTransactionWithData,j.value);case"multi_agent_raw_txn":return A(F.RawTransactionWithData,j.value);default:throw new v("Invalid raw transaction type")}}var p=Nr();function E(j){if("payload"in j){let Y=w(j.payload)?T(j.payload):L(j.payload);return{options:j.options,payload:Y}}if("feePayerAuthenticator"in j)return{feePayerAuthenticator:T(j.feePayerAuthenticator),rawTxn:G(j.rawTxn)};if("rawTxn"in j)return{rawTxn:G(j.rawTxn)};throw new v}function g(j){if("payload"in j){let Y=typeof j.payload=="string"?A(p.TransactionPayload,j.payload):H(j.payload);return{options:j.options,payload:Y}}if("feePayerAuthenticator"in j){let Y=l(j.rawTxn);return{feePayerAuthenticator:A(p.AccountAuthenticator,j.feePayerAuthenticator),rawTxn:Y}}if("rawTxn"in j)return{rawTxn:l(j.rawTxn)};throw new v}var b=Nr();function k(j){if("payload"in j){let Y=w(j.payload)?T(j.payload):L(j.payload);return{options:j.options,payload:Y}}if("rawTxn"in j)return{rawTxn:G(j.rawTxn)};throw new v}function x(j){if("payload"in j){let Y=typeof j.payload=="string"?A(b.TransactionPayload,j.payload):H(j.payload);return{options:j.options,payload:Y}}if("rawTxn"in j)return{rawTxn:l(j.rawTxn)};throw new v}var S=Nr();function f(j){let Y=T(j.accountAuthenticator);if("rawTxn"in j){let oe=T(j.rawTxn);return{accountAuthenticator:Y,rawTxn:oe}}return{accountAuthenticator:Y}}function M(j){let Y=A(S.AccountAuthenticator,j.accountAuthenticator);if("rawTxn"in j){let oe=A(S.RawTransaction,j.rawTxn);return{accountAuthenticator:Y,rawTxn:oe}}return{accountAuthenticator:Y}}var V="APTOS";function D(j,Y){let oe=V;return Y.address&&(oe+=`
address: ${j.address}`),Y.application&&(oe+=`
application: ${j.application}`),Y.chainId&&(oe+=`
chainId: ${j.chainId}`),oe+=`
message: ${j.message}`,oe+=`
nonce: ${j.nonce}`,{fullMessage:oe,prefix:V}}}),AGe=W((e,t)=>{"use strict";m();var r=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,n=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,u=(re,Oe)=>{for(var Pe in Oe)o(re,Pe,{get:Oe[Pe],enumerable:!0})},c=(re,Oe,Pe,Ne)=>{if(Oe&&typeof Oe=="object"||typeof Oe=="function")for(let Xe of i(Oe))!a.call(re,Xe)&&Xe!==Pe&&o(re,Xe,{get:()=>Oe[Xe],enumerable:!(Ne=s(Oe,Xe))||Ne.enumerable});return re},d=(re,Oe,Pe)=>(Pe=re!=null?r(n(re)):{},c(Oe||!re||!re.__esModule?o(Pe,"default",{value:re,enumerable:!0}):Pe,re)),h=re=>c(o({},"__esModule",{value:!0}),re),y={};u(y,{ACDappClient:()=>de,ACKeylessClient:()=>ie,DAPP_PAIRINGS_WINDOW_STORAGE_KEY:()=>g,ICDappClient:()=>ge,windowStateAccessors:()=>b}),t.exports=h(y);var C=Mm(),w=Eae(),T=Nr(),A=GW(),O=B5(),v="https://aptosconnect.app",B=Nr();function R(re){if(re==null)return re;if(Array.isArray(re))return re.map(Oe=>R(Oe));if(typeof re=="string"||typeof re=="number"||typeof re=="boolean"||re instanceof Uint8Array)return re;if(typeof re=="bigint")return re.toString();if(re instanceof ArrayBuffer)return new Uint8Array(re);if("values"in re)return re.values.map(Oe=>R(Oe));if("data"in re)return B.AccountAddress.from(re.data).toString();if(re.value!==void 0){if(typeof re.value=="string"||typeof re.value=="number"||typeof re.value=="boolean"||re.value instanceof Uint8Array)return re.value;if(typeof re.value=="bigint")return re.value.toString();throw new Error("Unexpected argument")}}function U(re,Oe){if("bcsToBytes"in re)return re;if("bytecode"in re)return(0,B.generateTransactionPayload)(re);if(Oe)return re.abi!==void 0?(0,B.generateTransactionPayloadWithABI)({...re,abi:re.abi}):(0,B.generateTransactionPayload)({aptosConfig:Oe,...re});let Pe={arguments:re.functionArguments.map(R),function:re.function,type:"entry_function_payload",type_arguments:(re.typeArguments??[]).map(Ne=>Ne.toString())};return"multisigAddress"in re?{multisig_address:B.AccountAddress.from(re.multisigAddress).toString(),transaction_payload:Pe,type:"multisig_payload"}:Pe}var N=Nr(),_=GW(),L=B5(),H=sGe(),F=d(iF()),G=class P1 extends Error{constructor(Oe){super(Oe),this.name="SignatureRequestError",Object.setPrototypeOf(this,P1.prototype)}},l=class M1 extends Error{constructor(Oe){let Pe=`Missing the following fields: ${Oe.join(", ")}`;super(Pe),this.name="UnexpectedSignatureResponseError",Object.setPrototypeOf(this,M1.prototype)}},p=class B1 extends Error{constructor(){super(),this.name="PairingExpiredError",Object.setPrototypeOf(this,B1.prototype)}},E=class x1 extends Error{constructor(){super("Dapp ID is invalid or not associated with a registered Dapp."),this.name="UnregisteredDappError",Object.setPrototypeOf(this,x1.prototype)}},g="icDappPairings",b={async get(re){return(await this.getAll())[re]},async getAll(){let re=window.localStorage.getItem(g);return re?JSON.parse(re):{}},async update(re,Oe){let Pe=await this.getAll();Oe===void 0?delete Pe[re]:Pe[re]=Oe;let Ne=JSON.stringify(Pe);window.localStorage.setItem(g,Ne)}},k=["address","application","chainId","fullMessage","message","nonce","prefix","signature"];function x(re){let Oe=new Set(Object.keys(re)),Pe=k.filter(Ne=>!Oe.has(Ne));if(Pe.length>0)throw new l(Pe)}var S=["hash"];function f(re){let Oe=new Set(Object.keys(re)),Pe=S.filter(Ne=>!Oe.has(Ne));if(Pe.length>0)throw new l(Pe)}var M="0.2.0",V=2500,D=/^Sequence number mismatch, expected (?:\S+ to be )?(\d+)/;async function j(re){return new Promise(Oe=>{setTimeout(Oe,re)})}async function Y(re,Oe,Pe=1){for(let Ne=0;Ne<Pe;Ne+=1)try{return await re()}catch(Xe){Oe(Xe)}return re()}var oe=class{constructor({accessors:re=b,axiosConfig:Oe,defaultNetworkName:Pe=_.NetworkName.MAINNET}={}){this.onDisconnectListeners=new Set,this.accessors=re,this.defaultNetworkName=Pe,this.axiosInstance=F.default.create({baseURL:v,...Oe});let Ne=typeof window<"u";this.initPromise=Ne?this.syncFirstPairing():void 0}async getPairing(re){return(await this.axiosInstance.get(`v1/pairing/${re}/`)).data.data.pairing}async syncFirstPairing(){let re=await this.accessors.getAll(),Oe=Object.values(re)[0];if(Oe!==void 0)try{let{dappSpecificWallet:Pe,maxDappSequenceNumber:Ne}=await this.getPairing(Oe.pairingId);await this.accessors.update(Oe.accountAddress,{...Oe,currSequenceNumber:Ne,dappWalletId:Pe?.id})}catch{await this.accessors.update(Oe.accountAddress,void 0)}}async createSigningRequest(re,Oe,Pe,Ne){let Xe=(0,L.decodeBase64)(re.dappEd25519SecretKeyB64),Je=(0,L.decodeBase64)(re.dappEd25519PublicKeyB64),ft=(0,L.decodeBase64)(re.accountTransportEd25519PublicKeyB64),Kt=re.currSequenceNumber+1;return Y(async()=>{let wt=await(0,L.encryptAndSignEnvelope)((0,L.toKey)(Xe,L.KeyTypes.Ed25519SecretKey),(0,L.toKey)(Je,L.KeyTypes.Ed25519PublicKey),(0,L.toKey)(ft,L.KeyTypes.Ed25519PublicKey),Kt,{apiVersion:M,networkName:Pe,requestType:Oe},Ne),Ie=await this.axiosInstance.post(`v1/pairing/${re.pairingId}/signing-request/`,wt);return await this.accessors.update(re.accountAddress,{...re,currSequenceNumber:Kt}),Ie.data.data.signingRequest},wt=>{if((0,F.isAxiosError)(wt)){let Ie=wt.response?.data?.message?.match(D)?.[1];if(Ie!==void 0){Kt=Number(Ie);return}}throw wt})}async getSigningRequest(re){return(await this.axiosInstance.get(`v1/signing-request/${re}/`,{validateStatus:Oe=>Oe===200||Oe===404})).data?.data?.signingRequest}async deletePairing(re,Oe,Pe){let Ne=await(0,L.encryptAndSignEnvelope)(Oe,Pe,Pe,0,{},{});await this.axiosInstance.post(`v1/pairing/${re}/delete/`,Ne,{validateStatus:Xe=>Xe===204||Xe===404})}async cancelSigningRequest(re,Oe){let Pe=re.currSequenceNumber,Ne=(0,L.decodeBase64)(re.dappEd25519SecretKeyB64),Xe=(0,L.decodeBase64)(re.dappEd25519PublicKeyB64),Je=(0,L.decodeBase64)(re.accountTransportEd25519PublicKeyB64),ft=await(0,L.encryptAndSignEnvelope)((0,L.toKey)(Ne,L.KeyTypes.Ed25519SecretKey),(0,L.toKey)(Xe,L.KeyTypes.Ed25519PublicKey),(0,L.toKey)(Je,L.KeyTypes.Ed25519PublicKey),Pe+1,{},{}),Kt=await this.axiosInstance.patch(`v1/signing-request/${Oe}/cancel/`,ft);return await this.accessors.update(re.accountAddress,{...re,currSequenceNumber:Pe+1}),Kt.data.data.signingRequest}async signRequest(re,Oe,Pe,{cancelToken:Ne,networkName:Xe}={}){await this.initPromise;let Je=await this.accessors.get(re);if(Je===void 0)throw new Error("The requested account is not paired");let ft;try{for(ft=await this.createSigningRequest(Je,Oe,Xe||this.defaultNetworkName,Pe);ft.status==="PENDING";){if(await j(V),Ne?.cancelled){ft.status=_.SigningRequestStatus.CANCELLED;break}ft=await this.getSigningRequest(ft.id)??ft}}catch(Kt){if((0,F.isAxiosError)(Kt)&&Kt.code==="404"){await this.accessors.update(re,void 0);for(let wt of this.onDisconnectListeners)wt(re);throw new p}throw Kt}if(ft.status!=="APPROVED")throw new G(ft.status);return(0,L.decryptEnvelope)((0,L.toKey)((0,L.decodeBase64)(Je.accountTransportEd25519PublicKeyB64),L.KeyTypes.Ed25519PublicKey),(0,L.toKey)((0,L.decodeBase64)(Je.dappEd25519SecretKeyB64),L.KeyTypes.Ed25519SecretKey),ft.responseEnvelope).privateMessage}async addPairing({publicKey:re,secretKey:Oe},Pe){await this.accessors.update(Pe.account.accountAddress,{accountAddress:Pe.account.accountAddress,accountAlias:Pe.account.userSubmittedAlias??void 0,accountPublicKeyB64:Pe.account.publicKeyB64,accountTransportEd25519PublicKeyB64:Pe.account.transportEd25519PublicKeyB64,currSequenceNumber:Pe.maxDappSequenceNumber,dappEd25519PublicKeyB64:(0,L.encodeBase64)(re.key),dappEd25519SecretKeyB64:(0,L.encodeBase64)(Oe.key),dappWalletId:Pe.dappSpecificWalletId,pairingId:Pe.id})}async disconnect(re){let Oe=await this.accessors.get(re);if(Oe===void 0)throw new Error("The specified account is not paired");let Pe=(0,L.decodeBase64)(Oe.dappEd25519SecretKeyB64),Ne=(0,L.decodeBase64)(Oe.dappEd25519PublicKeyB64);await this.deletePairing(Oe.pairingId,(0,L.toKey)(Pe,L.KeyTypes.Ed25519SecretKey),(0,L.toKey)(Ne,L.KeyTypes.Ed25519PublicKey)),await this.accessors.update(re,void 0);for(let Xe of this.onDisconnectListeners)Xe(re)}async signMessage(re,Oe,Pe){let Ne=await this.signRequest(re,_.SigningRequestTypes.SIGN_MESSAGE,Oe,Pe);return x(Ne),Ne}async signTransaction(re,Oe,Pe){let Ne=(0,H.serializeSignTransactionRequestArgs)(Oe),Xe=await this.signRequest(re,_.SigningRequestTypes.SIGN_TRANSACTION,Ne,Pe);return(0,H.deserializeSignTransactionResponseArgs)(Xe)}async signAndSubmitTransaction(re,Oe,Pe){let Ne=(0,H.serializeSignAndSubmitTransactionRequestArgs)(Oe);try{let Xe=await this.signRequest(re,_.SigningRequestTypes.SIGN_AND_SUBMIT_TRANSACTION,Ne,Pe);return f(Xe),Xe}catch(Xe){throw Xe instanceof F.AxiosError&&Xe.response?.data?.message?new Error(Xe.response?.data?.message):Xe}}async getConnectedAccounts(){await this.initPromise;let re=await this.accessors.getAll();return Object.values(re).map(({accountAddress:Oe,accountEd25519PublicKeyB64:Pe,accountPublicKeyB64:Ne})=>({address:N.AccountAddress.from(Oe),publicKey:Ne!==void 0?(0,L.deserializePublicKeyB64)(Ne):(0,L.deserializeEd25519PublicKeyB64)(Pe)}))}onDisconnect(re){return this.onDisconnectListeners.add(re),()=>this.onDisconnectListeners.delete(re)}},de=class{constructor({backendBaseURL:re,dappId:Oe,dappImageURI:Pe,dappName:Ne,defaultNetworkName:Xe=A.NetworkName.MAINNET,frontendBaseURL:Je=v,provider:ft="google",tgWebAppURL:Kt}={}){this.defaultNetworkName=Xe,this.dappInfo={domain:window.location.origin,imageURI:Pe,name:Ne??document.title},this.transport=new w.WebWalletTransport(Je,ft,Kt),this.dappId=Oe,this.pairingClient=new oe({axiosConfig:{baseURL:re??Je},defaultNetworkName:Xe})}async getKeylessAccounts(){let re=C.GetConnectedAccountsRequest.serialize(this.dappInfo),Oe=await this.transport.sendRequest(re);return C.GetConnectedAccountsResponse.deserialize(Oe).args}async getIcAccounts(){return this.pairingClient.getConnectedAccounts()??[]}async isIcAccount(re){return(await this.getIcAccounts()).find(Oe=>Oe.address.equals(T.AccountAddress.from(re)))!==void 0}async getConnectedAccounts(){let re=await this.getKeylessAccounts(),Oe=await this.getIcAccounts();return[...re,...Oe]}async disconnect(re){if(await this.isIcAccount(re)){let Oe=T.AccountAddress.from(re).toString();await this.pairingClient.disconnect(Oe)}else{let Oe=C.DisconnectRequest.serialize(this.dappInfo);await this.transport.sendRequest(Oe)}}async connect({claimOptions:re,preferredWalletName:Oe}={}){let Pe=(0,O.createEd25519KeyPair)(),Ne=typeof window<"u"?window.AC_PREFERRED_WALLET_NAME:void 0,Xe={claimOptions:re,dappEd25519PublicKeyB64:(0,O.encodeBase64)(Pe.publicKey.key),dappId:this.dappId,preferredWalletName:Oe??Ne},Je=C.ConnectRequest.serialize(this.dappInfo,Xe),ft=await this.transport.sendRequest(Je),Kt=C.ConnectResponse.deserialize(ft);if(Kt.args.status==="approved"){let{account:wt,pairing:Ie}=Kt.args.args;return Ie&&await this.pairingClient.addPairing(Pe,Ie),(0,C.makeUserApproval)({account:wt})}return Kt.args}async signIn(re){let Oe=C.SignInRequest.serialize(this.dappInfo,re),Pe=await this.transport.sendRequest(Oe);return C.SignInResponse.deserialize(Pe).args}async signMessage(re){let{signerAddress:Oe}=re;if(await this.isIcAccount(Oe)){let{chainId:Xe}=re,Je=(0,C.chainIdToNetwork)(Xe),ft,Kt;try{ft=new TextDecoder().decode(re.message),Kt=new TextDecoder().decode(re.nonce)}catch{throw new Error("Only UTF-8 encoded text is supported when using IC")}let{fullMessage:wt,signature:Ie}=await this.pairingClient.signMessage(Oe.toString(),{address:!0,application:!0,chainId:!0,message:ft,nonce:Kt},{networkName:Je}),it=T.Hex.fromHexInput(Ie).toUint8Array(),Ye=it.length===T.Ed25519Signature.LENGTH?new T.Ed25519Signature(it):T.AnySignature.deserialize(new T.Deserializer(it));return(0,C.makeUserApproval)({fullMessage:wt,signature:Ye})}let Pe=C.SignMessageRequest.serialize(this.dappInfo,re),Ne=await this.transport.sendRequest(Pe);return C.SignMessageResponse.deserialize(Ne).args}async signTransaction(re){let Oe="transaction"in re?C.SignTransactionRequest.normalizeArgs(re):re,{signerAddress:Pe}=re;if(await this.isIcAccount(Pe)){let{expirationSecondsFromNow:Je,expirationTimestamp:ft,feePayer:Kt,gasUnitPrice:wt,maxGasAmount:Ie,network:it,payload:Ye,secondarySigners:et,sender:Gt,sequenceNumber:It}=Oe;if(Kt!==void 0)throw new Error("Sponsored transaction not currently supported");if(et&&et.length>0)throw new Error("Multi-agent transactions not currently supported");if(!("bcsToBytes"in Ye))throw new Error("Payload input format is only supported with Keyless accounts.");let Rt=await this.pairingClient.signTransaction(Pe.toString(),{options:{expirationSecondsFromNow:Je,expirationTimestamp:ft,gasUnitPrice:wt,maxGasAmount:Ie,sender:Gt?.address.toString(),sequenceNumber:It!==void 0?Number(It):void 0},payload:Ye},{networkName:it});return(0,C.makeUserApproval)({authenticator:Rt.accountAuthenticator,rawTransaction:Rt.rawTxn})}let Ne=C.SignTransactionRequest.serialize(this.dappInfo,Oe),Xe=await this.transport.sendRequest(Ne);return C.SignTransactionResponse.deserialize(Xe).args}async signAndSubmitTransaction(re){let{signerAddress:Oe}=re;if(await this.isIcAccount(Oe)){let{expirationTimestamp:Xe,feePayer:Je,gasUnitPrice:ft,maxGasAmount:Kt,network:wt}=re,Ie=new T.AptosConfig({network:wt}),it;if(Je!==void 0){let et=await U(re.payload,Ie),Gt=await(0,T.generateRawTransaction)({aptosConfig:Ie,feePayerAddress:Je.address,options:{gasUnitPrice:ft,maxGasAmount:Kt},payload:et,sender:Oe});it={feePayerAuthenticator:Je.authenticator,rawTxn:new T.FeePayerRawTransaction(Gt,[],Je.address)}}else{let et=U(re.payload);it={options:{expirationTimestamp:Xe,gasUnitPrice:ft,maxGasAmount:Kt},payload:et}}let{hash:Ye}=await this.pairingClient.signAndSubmitTransaction(Oe.toString(),it,{networkName:wt});return(0,C.makeUserApproval)({txnHash:Ye})}let Pe=C.SignAndSubmitTransactionRequest.serialize(this.dappInfo,re),Ne=await this.transport.sendRequest(Pe);return C.SignAndSubmitTransactionResponse.deserialize(Ne).args}},ue=B5(),ae=iF(),q={height:695,width:465},ne=500;function me(re,Oe=q){let{height:Pe,width:Ne}=Oe,Xe={height:Pe,left:window.screenLeft+Math.round((window.outerWidth-Ne)/2),popup:!0,top:window.screenTop+Math.round((window.outerHeight-Pe)/2),width:Ne},Je=Object.entries(Xe).map(([wt,Ie])=>`${wt}=${JSON.stringify(Ie)}`).reduce((wt,Ie)=>`${wt}, ${Ie}`),ft=re instanceof URL?re.href:re,Kt=window.open(ft,void 0,Je);if(Kt===null)throw new Error("Couldn't open prompt");return Kt}async function ve(re){return new Promise(Oe=>{let Pe={onMessage:Ne=>{Ne.source===re&&(window.removeEventListener("message",Pe.onMessage),clearTimeout(Pe.promptPollerId),Oe({args:Ne.data,status:"approved"}))},promptPollerId:setInterval(()=>{re.closed&&(window.removeEventListener("message",Pe.onMessage),clearTimeout(Pe.promptPollerId),Oe({status:"dismissed"}))},ne)};window.addEventListener("message",Pe.onMessage)})}var ge=class extends oe{constructor(re,{frontendBaseURL:Oe=v,...Pe}={}){super(Pe),this.dappId=re,this.frontendBaseURL=Oe}async createPairingRequest(re){try{return(await this.axiosInstance.post("v1/pairing/",{dappEd25519PublicKeyB64:re,dappId:this.dappId})).data.data.pairing}catch(Oe){throw(0,ae.isAxiosError)(Oe)&&Oe.response?.data?.message==="Dapp not found"?new E:Oe}}async connect(){let{publicKey:re,secretKey:Oe}=(0,ue.createEd25519KeyPair)(),Pe=(0,ue.encodeBase64)(re.key),Ne=new URL(`${this.frontendBaseURL}/pairing`),Xe=await me(Ne.href),Je;try{Je=(await this.createPairingRequest(Pe)).id}catch(wt){throw Xe.close(),wt}Ne.searchParams.set("pairingId",Je),Xe.location.href=Ne.href;let ft=await ve(Xe);if(ft.status==="dismissed"){this.deletePairing(Je,Oe,re);return}let Kt=ft.args;return await this.addPairing({publicKey:re,secretKey:Oe},Kt),Kt.account.accountAddress}async offboard(re){let Oe=await this.accessors.get(re);if(Oe===void 0)throw new Error("This account is not paired");let Pe=Oe.dappWalletId;if(Pe===void 0)throw new Error("This account cannot be offboarded");let Ne=new URL(`${this.frontendBaseURL}/offboarding?walletId=${Pe}`),Xe=me(Ne),Je=await ve(Xe);return Je.status==="approved"&&Je.args.offboarded?(this.disconnect(re),!0):!1}},ce=Mm(),ee=Eae(),fe=GW(),ie=class{constructor({dappImageURI:re,dappName:Oe,defaultNetworkName:Pe=fe.NetworkName.MAINNET,frontendBaseURL:Ne=v,provider:Xe="google"}={}){this.defaultNetworkName=Pe,this.dappInfo={domain:window.location.origin,imageURI:re,name:Oe??document.title},this.transport=new ee.WebWalletTransport(Ne,Xe)}async isConnected(){let re=ce.IsConnectedRequest.serialize(this.dappInfo),Oe=await this.transport.sendRequest(re);return ce.IsConnectedResponse.deserialize(Oe).args}async getConnectedAccounts(){let re=ce.GetConnectedAccountsRequest.serialize(this.dappInfo),Oe=await this.transport.sendRequest(re);return ce.GetConnectedAccountsResponse.deserialize(Oe).args}async disconnect(){let re=ce.DisconnectRequest.serialize(this.dappInfo);await this.transport.sendRequest(re)}async connect(){let re=ce.ConnectRequest.serialize(this.dappInfo),Oe=await this.transport.sendRequest(re);return ce.ConnectResponse.deserialize(Oe).args}async signMessage(re){let Oe=ce.SignMessageRequest.serialize(this.dappInfo,re),Pe=await this.transport.sendRequest(Oe);return ce.SignMessageResponse.deserialize(Pe).args}async signTransaction(re){let Oe="transaction"in re?ce.SignTransactionRequest.normalizeArgs(re):re,Pe=ce.SignTransactionRequest.serialize(this.dappInfo,Oe),Ne=await this.transport.sendRequest(Pe);return ce.SignTransactionResponse.deserialize(Ne).args}async signAndSubmitTransaction(re){let Oe=ce.SignAndSubmitTransactionRequest.serialize(this.dappInfo,re),Pe=await this.transport.sendRequest(Oe);return ce.SignAndSubmitTransactionResponse.deserialize(Pe).args}}}),DGe=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(M,V)=>{for(var D in V)r(M,D,{get:V[D],enumerable:!0})},a=(M,V,D,j)=>{if(V&&typeof V=="object"||typeof V=="function")for(let Y of s(V))!i.call(M,Y)&&Y!==D&&r(M,Y,{get:()=>V[Y],enumerable:!(j=o(V,Y))||j.enumerable});return M},u=M=>a(r({},"__esModule",{value:!0}),M),c=(M,V,D)=>{if(!V.has(M))throw TypeError("Cannot "+D)},d=(M,V,D)=>(c(M,V,"read from private field"),D?D.call(M):V.get(M)),h=(M,V,D)=>{if(V.has(M))throw TypeError("Cannot add the same private member more than once");V instanceof WeakSet?V.add(M):V.set(M,D)},y=(M,V,D,j)=>(c(M,V,"write to private field"),j?j.call(M,D):V.set(M,D),D),C={};n(C,{AptosConnectAccount:()=>L,AptosConnectAppleWallet:()=>S,AptosConnectGoogleWallet:()=>k,AptosConnectWallet:()=>g,registerAptosConnect:()=>f}),t.exports=u(C);var w=y1(),T=y1(),A=Nr(),O=y1(),v=B5(),B=AGe(),R=Nr(),U=y1(),N,_,L=class{constructor({address:M,ansName:V,publicKey:D}){this.chains=U.APTOS_CHAINS,this.features=[],h(this,N,void 0),h(this,_,void 0),y(this,_,D),y(this,N,M),this.label=V}get address(){return d(this,N).toString()}get publicKey(){return d(this,_).toUint8Array()}get signingScheme(){if(d(this,_)instanceof R.Ed25519PublicKey)return R.SigningScheme.Ed25519;if(d(this,_)instanceof R.MultiEd25519PublicKey)return R.SigningScheme.MultiEd25519;if(d(this,_)instanceof R.AnyPublicKey)return R.SigningScheme.SingleKey;if(d(this,_)instanceof R.MultiKey)return R.SigningScheme.MultiKey;throw new Error("Unsupported public key type")}};N=new WeakMap,_=new WeakMap;var H=Nr(),F=y1();function G({address:M,name:V,publicKey:D}){return new F.AccountInfo({address:M,ansName:V,publicKey:D})}function l(M,V){return M.status==="dismissed"?{status:F.UserResponseStatus.REJECTED}:{args:V(M.args),status:F.UserResponseStatus.APPROVED}}function p(M){switch(M){case H.Network.MAINNET:return H.NetworkToChainId.mainnet;case H.Network.TESTNET:return H.NetworkToChainId.testnet;default:return H.NetworkToChainId.devnet}}var E=class Qo{constructor({claimSecretKey:V,network:D=A.Network.MAINNET,preferredWalletName:j,...Y}){if(this.version="1.0.0",this.chains=O.APTOS_CHAINS,this.client=new B.ACDappClient(Y),!A.NetworkToNodeAPI[D])throw new Error("Network not supported");let oe=new A.AptosConfig({network:D});this.aptosClient=new A.Aptos(oe),this.preferredWalletName=j,this.claimOptions=V?{network:D,secretKey:new A.Ed25519PrivateKey(V)}:void 0}static get connectedAccount(){let V=localStorage.getItem(Qo.connectedAccountStorageKey);if(V)try{let{address:D,publicKey:j}=JSON.parse(V);return new O.AccountInfo({address:A.AccountAddress.from(D),publicKey:(0,v.deserializePublicKeyB64)(j)})}catch{console.warn("Inconsistent state, resetting it"),this.connectedAccount=void 0;return}}static set connectedAccount(V){if(V!==void 0){let D={address:V.address.toString(),publicKey:(0,v.serializePublicKeyB64)(V.publicKey)};localStorage.setItem(Qo.connectedAccountStorageKey,JSON.stringify(D))}else localStorage.removeItem(Qo.connectedAccountStorageKey)}get accounts(){let{connectedAccount:V}=Qo;return V?[new L(V)]:[]}async connect(){let{connectedAccount:V}=Qo;if(V!==void 0)return{args:V,status:O.UserResponseStatus.APPROVED};let D=await this.client.connect({claimOptions:this.claimOptions,preferredWalletName:this.preferredWalletName});if(D.status==="dismissed")return{status:O.UserResponseStatus.REJECTED};let j=G(D.args.account);return Qo.connectedAccount=j,{args:j,status:O.UserResponseStatus.APPROVED}}async disconnect(){let{connectedAccount:V}=Qo;V&&(await this.client.disconnect(V.address),Qo.connectedAccount=void 0)}async signIn(V){let D=await this.client.signIn({network:this.aptosClient.config.network,...V});if(D.status==="dismissed")return{status:O.UserResponseStatus.REJECTED};let j=D.args;return Qo.connectedAccount=j.account,{args:j,status:O.UserResponseStatus.APPROVED}}async getAccount(){let{connectedAccount:V}=Qo;if(!V)throw new O.AptosWalletError(O.AptosWalletErrorCode.Unauthorized);return G(V)}async getNetwork(){let{network:V}=this.aptosClient.config,D=await this.aptosClient.getChainId(),j=A.NetworkToNodeAPI[V];return{chainId:D,name:V,url:j}}async signMessage(V){let{connectedAccount:D}=Qo;if(!D)throw new O.AptosWalletError(O.AptosWalletErrorCode.Unauthorized);let j=p(this.aptosClient.config.network),{message:Y,nonce:oe}=V,de=new TextEncoder,ue=de.encode(Y),ae=de.encode(oe),q=await this.client.signMessage({chainId:j,message:ue,nonce:ae,signerAddress:D.address});if(q.status==="dismissed")return{status:O.UserResponseStatus.REJECTED};let{fullMessage:ne,signature:me}=q.args,ve={address:D.address.toString(),application:this.client.dappInfo.domain,chainId:j,message:Y,nonce:oe,prefix:"APTOS"};return{args:{fullMessage:ne,signature:me,...ve},status:O.UserResponseStatus.APPROVED}}async signTransaction(V,D){let{connectedAccount:j}=Qo;if(!j)throw new O.AptosWalletError(O.AptosWalletErrorCode.Unauthorized);if("bcsToBytes"in V){let de=V,ue=de.feePayerAddress?{address:de.feePayerAddress}:void 0,ae=de.secondarySignerAddresses?.map(ne=>({address:ne})),q=await this.client.signTransaction({feePayer:ue,secondarySigners:ae,signerAddress:j.address,transaction:de.rawTransaction});return l(q,ne=>ne.authenticator)}let Y=V,oe=await this.client.signTransaction({...Y,signerAddress:j.address});return l(oe,de=>{let{authenticator:ue,rawTransaction:ae}=de;if(!ae)throw new Error("Expected raw transaction in response args");let q=Y.secondarySigners??[],ne;return q.length>0?ne=new A.MultiAgentTransaction(ae,q.map(me=>me.address),Y.feePayer?.address):ne=new A.SimpleTransaction(ae,Y.feePayer?.address),{authenticator:ue,rawTransaction:ne}})}async signAndSubmitTransaction(V){let{gasUnitPrice:D,maxGasAmount:j,payload:Y}=V,{connectedAccount:oe}=Qo;if(!oe)throw new O.AptosWalletError(O.AptosWalletErrorCode.Unauthorized);let de=await this.client.signAndSubmitTransaction({gasUnitPrice:D,maxGasAmount:j,network:this.aptosClient.config.network,payload:Y,signerAddress:oe.address});return de.status==="dismissed"?{status:O.UserResponseStatus.REJECTED}:{args:{hash:de.args.txnHash},status:O.UserResponseStatus.APPROVED}}async onAccountChange(V){}async onNetworkChange(V){}};E.connectedAccountStorageKey="@aptos-connect/connectedAccount";var g=E,b={apple:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxzdHlsZT4KICAgICAgICBwYXRoIHsKICAgICAgICAgICAgZmlsbDogYmxhY2s7CiAgICAgICAgfQoKICAgICAgICBAbWVkaWEgKHByZWZlcnMtY29sb3Itc2NoZW1lOiBkYXJrKSB7CiAgICAgICAgICAgIHBhdGggewogICAgICAgICAgICAgICAgZmlsbDogd2hpdGU7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICA8L3N0eWxlPgogICAgPHBhdGgKICAgICAgICBkPSJNMjAuMzkzMiA4LjE4MjQyQzIwL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AxMi40OTk1IDIzLjk5OThaIiBmaWxsPSIjMzRBODUzIj48L3BhdGg+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02LjA2NTIzIDE0LjY4NTFDNS44MzUyMyAxMy45OTUxIDUuNzA0NTUgMTMuMjU4MSA1LjcwNDU1IDEyLjUwMDFDNS43MDQ1NSAxMS43NDIyIDUuODM1MjMgMTEuMDA1MSA2LjA2NTIzIDEwLjMxNTFWNy4zMzU1N0gyLjIyMzE4QzEuNDQ0MzIgOC44ODgwNyAxIDEwLjY0NDQgMSAxMi41MDAxQzEgMTQuMzU1OCAxLjQ0NDMyIDE2LjExMjIgMi4yMjMxOCAxNy42NjQ3TDYuMDY1MjMgMTQuNjg1MVoiIGZpbGw9IiNGQkJDMDUiPjwvcGF0aD48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyLjQ5OTUgNS41NzM4NkMxNC4xODc5IDUuNTczODYgMTUuNzAzOCA2LjE1NDA5IDE2Ljg5NTYgNy4yOTM2NEwyMC4xOTQgMy45OTUyM0MxOC4yMDI0IDIuMTM5NTUgMTUuNTk5MiAxIDEyLjQ5OTUgMUM4LjAwNDAyIDEgNC4xMTQ5MyAzLjU3NzA1IDIuMjIyNjYgNy4zMzU0NUw2LjA2NDcgMTAuMzE1QzYuOTY5MDIgNy41OTY4MiA5LjUwNDI1IDUuNTczODYgMTIuNDk5NSA1LjU3Mzg2WiIgZmlsbD0iI0VBNDMzNSI+PC9wYXRoPjwvc3ZnPg==",name:"Continue with Google",url:"https://aptosconnect.app"}},k=class extends g{constructor(M){super({...M,provider:"google"}),this.name=b.google.name,this.icon=b.google.icon,this.url=b.google.url}get features(){return{[T.AptosConnectNamespace]:{connect:this.connect.bind(this),version:"1.0.0"},[T.AptosDisconnectNamespace]:{disconnect:this.disconnect.bind(this),version:"1.0.0"},[T.AptosGetAccountNamespace]:{account:this.getAccount.bind(this),version:"1.0.0"},[T.AptosGetNetworkNamespace]:{network:this.getNetwork.bind(this),version:"1.0.0"},[T.AptosOnAccountChangeNamespace]:{onAccountChange:this.onAccountChange.bind(this),version:"1.0.0"},[T.AptosOnNetworkChangeNamespace]:{onNetworkChange:this.onNetworkChange.bind(this),version:"1.0.0"},[T.AptosSignAndSubmitTransactionNamespace]:{signAndSubmitTransaction:this.signAndSubmitTransaction.bind(this),version:"1.1.0"},[T.AptosSignInNamespace]:{signIn:this.signIn.bind(this),version:"0.1.0"},[T.AptosSignMessageNamespace]:{signMessage:this.signMessage.bind(this),version:"1.0.0"},[T.AptosSignTransactionNamespace]:{signTransaction:this.signTransaction.bind(this),version:"1.1"}}}},x=y1(),S=class extends g{constructor(M){super({...M,provider:"apple"}),this.name=b.apple.name,this.icon=b.apple.icon,this.url=b.apple.url}get features(){return{[x.AptosConnectNamespace]:{connect:this.connect.bind(this),version:"1.0.0"},[x.AptosDisconnectNamespace]:{disconnect:this.disconnect.bind(this),version:"1.0.0"},[x.AptosGetAccountNamespace]:{account:this.getAccount.bind(this),version:"1.0.0"},[x.AptosGetNetworkNamespace]:{network:this.getNetwork.bind(this),version:"1.0.0"},[x.AptosOnAccountChangeNamespace]:{onAccountChange:this.onAccountChange.bind(this),version:"1.0.0"},[x.AptosOnNetworkChangeNamespace]:{onNetworkChange:this.onNetworkChange.bind(this),version:"1.0.0"},[x.AptosSignAndSubmitTransactionNamespace]:{signAndSubmitTransaction:this.signAndSubmitTransaction.bind(this),version:"1.1.0"},[x.AptosSignInNamespace]:{signIn:this.signIn.bind(this),version:"0.1.0"},[x.AptosSignMessageNamespace]:{signMessage:this.signMessage.bind(this),version:"1.0.0"},[x.AptosSignTransactionNamespace]:{signTransaction:this.signTransaction.bind(this),version:"1.1"}}}};function f(M={}){let V=new k(M),D=new S(M);(0,w.registerWallet)(V),(0,w.registerWallet)(D)}}),Gce=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.isSimpleTransaction=o,e.isTransactionPayload=s,e.isInputTransaction=i,e.convertTransactionPayloadToInputGenerateData=n,e.supportTransactionAppVersion=a,e.getTransactionIsComplete=u,e.deserializeAccountAuthenticatorFromHexString=c;var t=Nr(),r=ho();function o(d){return"rawTransaction"in d}function s(d){return"type"in d&&typeof d.type=="string"}function i(d){return typeof d=="object"&&d!==null&&"data"in d&&typeof d.data=="object"&&("function"in d.data||"code"in d.data||"modules"in d.data)}function n(d){if(d.function)return{function:d.function,typeArguments:d.type_arguments||[],functionArguments:d.arguments||[]};if(d.code)return{bytecode:d.code.bytecode,typeArguments:d.type_arguments||[],functionArguments:d.arguments||[]}}function a(d){return d.wallet.appName===r.OKXWalletName&&(0,r.versionCompare)(d.wallet.appVersion,"6.124.0")>=0}function u(d){let{feePayerAddress:h,secondarySignerAddresses:y}=d||{};return!!(h||y)}function c(d){let h=t.Hex.fromHexString(d).toUint8Array(),y=new t.Deserializer(h);return t.AccountAuthenticator.deserialize(y)}}),Xce=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.AptosUtils=void 0;var t=Nr(),r=DGe(),o=Gce(),s=class{static getTransaction(i){if("rawTransaction"in i){let n=i.rawTransaction.payload;if("entryFunction"in n){let a=n.entryFunction,u=a.type_args.map(h=>h.toString()),c=[];this.getTypeArguments(a.args,c);let d={type:"entry_function_payload",function:`${a.module_name.address.data?a.module_name.address.toString():a.module_name.address}::${a.module_name.name.identifier?a.module_name.name.identifier:a.module_name.name}::${a.function_name.identifier?a.function_name.identifier:a.function_name}`,type_arguments:u,arguments:c};return this.getArguments(d)}if("script"in n){let a=n.script;return{type:"script_payload",code:{bytecode:a.bytecode},type_arguments:a.type_args.map(u=>u.toString()),arguments:a.args}}}return i}static getTypeArguments(i,n){for(let a=0;a<i.length;a++){let u=i[a];if("values"in u&&u.values!=null&&u.values instanceof Array){let c=new Array;n.push(c),this.getTypeArguments(u.values,c)}else this.dealArrayElements(u,n)}}static dealArrayElements(i,n){if("value"in i&&i.value!=null)n.push(i.value.toString());else return"data"in i&&i.data!=null&&i.data instanceof Uint8Array,n.push(i.toString())}static getArguments(i){if("arguments"in i){let n=i.arguments;if(Array.isArray(n)){let a=new Array;n.forEach(u=>{if(u instanceof Uint8Array){let c=new Array;u.forEach(d=>{c.push(d)}),a.push(c)}else a.push(u)}),i={...i,arguments:a}}}return i}static transactionToV11Transaction(i){return"payload"in i?i:(0,o.isTransactionPayload)(i)?{payload:(0,o.convertTransactionPayloadToInputGenerateData)(i)}:(0,o.isInputTransaction)(i)?{payload:i.data}:i}static async payloadToRawTransaction(i,n){let a=new t.AptosConfig({network:t.Network.MAINNET}),u=new t.Aptos(a);if((0,o.isTransactionPayload)(n)){let c=(0,o.convertTransactionPayloadToInputGenerateData)(n);return await u.transaction.build.simple({sender:i,data:c})}else if((0,o.isInputTransaction)(n))return await u.transaction.build.simple({sender:i,data:n.data,options:n.options})}static setupRegisterAptosConnectListener(){typeof window>"u"||window.addEventListener("okxConnect:aptos:registerConnect",async()=>{(0,r.registerAptosConnect)()})}};e.AptosUtils=s}),FGe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXAptosProvider=void 0;var t=Go(),r=Xce(),o=ho(),s=Gce(),i=class{constructor(n){this.chainsSet=new Set,this.provider=n,this.getConnectedNamespace()}get defaultNetwork(){return this.provider.requestDefaultChainWithNamespace(o.NameSpaceKeyAptos)}get currentChainId(){return`aptos:${this.defaultNetwork}`}getRealChainId(n){if(n==null){if(this.chainsSet.size==1)return this.currentChainId;throw new Error("connected to multiple aptos chains,chainId can not be null")}else return n}getConnectedNamespace(){this.provider.session?.namespaces?.aptos?.chains.forEach(n=>{this.chainsSet.add(n)})}getAccount(n){n=this.getRealChainId(n);let a=this.provider.session?.namespaces.aptos?.accounts[0];if(n!=null&&(a=this.provider.session?.namespaces.aptos?.accounts.filter(function(y){return y.startsWith(n)})[0]),(0,o.logDebug)("getAccount",a),!a)return;let u=a.split(":"),c=a.split(":")[2];console.log("aptos_publicKey",this.provider.session?.namespaces.aptos?.extra);let d=this.provider.session?.namespaces.aptos?.extra?.[`${u[0]}:${u[1]}`],h="";if(d!=null&&(h=d.publicKey,h!=null&&h.startsWith("0x")&&(h=h.substring(2))),!!c)return{address:c,publicKey:h}}async signMessage(n,a){let u=this.getRealChainId(a);try{let d="APTOS",h=this.getAccount(u)?.address,y="",C="";var c=d;let w=window.location.protocol+"//"+window.location.hostname;if("address"in n&&n.address&&(c+=`
address: `+h),"application"in n&&n.application&&(c+=`
application: `+w),"chainId"in n&&n.chainId){let B=1;u=="aptos:mainnet"?B=1:u=="movement:testnet"&&(B=2),c+=`
chainId: `+B}"message"in n&&(c+=`
message: `+n.message,y=n.message),"nonce"in n&&(c+=`
nonce: `+n.nonce,C=n.nonce),console.log("signMessage",c);let T=t.Buffer.from(c),A=this.bufferToHex(T),O={chainId:u,method:"aptos_signMessage",params:{message:A},injectParams:n},v=await this.provider.request(O,u);if("injectResult"in v){let B=v.injectResult;return new Promise((R,U)=>{R(B)})}else if("result"in v){let B=v.result,R=B;return B.startsWith("0x")&&(R=B.slice(2,B.length)),new Promise((U,N)=>{U({address:h,application:w,chainId:u,fullMessage:c,message:y,nonce:C,prefix:d,signature:R})})}else return new Promise((B,R)=>{"error"in v&&B(v.error)})}catch(d){return(0,o.logDebug)("signMessage error ",d),Promise.reject(d)}}async signTransaction(n,a){let u=r.AptosUtils.getTransaction(n);console.log("signTransaction",u);let c=this.getRealChainId(a);if(this.getRealChainId(a)=="aptos:mainnet"&&"rawTransaction"in n&&(0,s.supportTransactionAppVersion)(this.provider.session)){let d=n.secondarySignerAddresses===void 0;u={payload:n.toString(),dataType:"raw_transaction",isSimpleTransaction:d}}try{let d=await this.provider.request({method:"aptos_signTransaction",params:u,injectParams:n},c);if("injectResult"in d){let h=d.injectResult;return Promise.resolve(h)}else if("result"in d&&typeof d.result=="string"){let{accAuthenticator:h}=JSON.parse(d.result),y=(0,s.deserializeAccountAuthenticatorFromHexString)(h);return(0,o.logDebug)("accountAuthenticator",JSON.stringify(y)),Promise.resolve(y)}else return Promise.resolve(d)}catch(d){return(0,o.logDebug)("getSignedTransaction",d),Promise.reject(d)}}async signAndSubmitTransaction(n,a){let u=r.AptosUtils.getTransaction(n),c,d,h=this.getRealChainId(a);if(h=="aptos:mainnet"){if("rawTransaction"in n)c=n,d=r.AptosUtils.transactionToV11Transaction(u);else{let C=this.getAccount(h)?.address;c=await r.AptosUtils.payloadToRawTransaction(C,n),d=r.AptosUtils.transactionToV11Transaction(n)}if(c&&(0,s.supportTransactionAppVersion)(this.provider.session)){let C=c.secondarySignerAddresses===void 0;u={payload:c.toString(),dataType:"raw_transaction",isSimpleTransaction:C}}}console.log("signAndSubmitTransaction",u);let y=this.getRealChainId(a);try{let C=await this.provider.request({method:"aptos_signAndSubmitTransaction",params:u,injectParams:{standardV1Transaction:c,standardV11Transaction:d}},y);if("result"in C){let w=C.result;return new Promise((T,A)=>{T(w)})}else return new Promise((w,T)=>{T(C)})}catch(C){return(0,o.logDebug)("getSignedTransaction",C),new Promise((w,T)=>{w(C)})}}bufferToHex(n){return"0x"+t.Buffer.from(n).toString("hex")}};e.OKXAptosProvider=i,e.default=i}),WGe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXAptosProvider=void 0;var t=Xce(),r=FGe();Object.defineProperty(e,"OKXAptosProvider",{enumerable:!0,get:function(){return r.OKXAptosProvider}}),t.AptosUtils.setupRegisterAptosConnectListener()}),x$e=W((e,t)=>{"use strict";m();var r=vn().Buffer;function o(s){if(s.length>=255)throw new TypeError("Alphabet too long");for(var i=new Uint8Array(256),n=0;n<i.length;n++)i[n]=255;for(var a=0;a<s.length;a++){var u=s.charAt(a),c=u.charCodeAt(0);if(i[c]!==255)throw new TypeError(u+" is ambiguous");i[c]=a}var d=s.length,h=s.charAt(0),y=Math.log(d)/Math.log(256),C=Math.log(256)/Math.log(d);function w(O){if((Array.isArray(O)||O instanceof Uint8Array)&&(O=r.from(O)),!r.isBuffer(O))throw new TypeError("Expected Buffer");if(O.length===0)return"";for(var v=0,B=0,R=0,U=O.length;R!==U&&O[R]===0;)R++,v++;for(var N=(U-R)*C+1>>>0,_=new Uint8Array(N);R!==U;){for(var L=O[R],H=0,F=N-1;(L!==0||H<B)&&F!==-1;F--,H++)L+=256*_[F]>>>0,_[F]=L%d>>>0,L=L/d>>>0;if(L!==0)throw new Error("Non-zero carry");B=H,R++}for(var G=N-B;G!==N&&_[G]===0;)G++;for(var l=h.repeat(v);G<N;++G)l+=s.charAt(_[G]);return l}function T(O){if(typeof O!="string")throw new TypeError("Expected String");if(O.length===0)return r.alloc(0);for(var v=0,B=0,R=0;O[v]===h;)B++,v++;for(var U=(O.length-v)*y+1>>>0,N=new Uint8Array(U);v<O.length;){var _=i[O.charCodeAt(v)];if(_===255)return;for(var L=0,H=U-1;(_!==0||L<R)&&H!==-1;H--,L++)_+=d*N[H]>>>0,N[H]=_%256>>>0,_=_/256>>>0;if(_!==0)throw new Error("Non-zero carry");R=L,v++}for(var F=U-R;F!==U&&N[F]===0;)F++;var G=r.allocUnsafe(B+(U-F));G.fill(0,0,B);for(var l=B;F!==U;)G[l++]=N[F++];return G}function A(O){var v=T(O);if(v)return v;throw new Error("Non-base"+d+" character")}return{encode:w,decodeUnsafe:T,decode:A}}t.exports=o}),E$e=W((e,t)=>{m();var r=x$e(),o="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";t.exports=r(o)}),S$e=W((e,t)=>{"use strict";m();var r=vn().Buffer;function o(s){if(s.length>=255)throw new TypeError("Alphabet too long");for(var i=new Uint8Array(256),n=0;n<i.length;n++)i[n]=255;for(var a=0;a<s.length;a++){var u=s.charAt(a),c=u.charCodeAt(0);if(i[c]!==255)throw new TypeError(u+" is ambiguous");i[c]=a}var d=s.length,h=s.charAt(0),y=Math.log(d)/Math.log(256),C=Math.log(256)/Math.log(d);function w(O){if((Array.isArray(O)||O instanceof Uint8Array)&&(O=r.from(O)),!r.isBuffer(O))throw new TypeError("Expected Buffer");if(O.length===0)return"";for(var v=0,B=0,R=0,U=O.length;R!==U&&O[R]===0;)R++,v++;for(var N=(U-R)*C+1>>>0,_=new Uint8Array(N);R!==U;){for(var L=O[R],H=0,F=N-1;(L!==0||H<B)&&F!==-1;F--,H++)L+=256*_[F]>>>0,_[F]=L%d>>>0,L=L/d>>>0;if(L!==0)throw new Error("Non-zero carry");B=H,R++}for(var G=N-B;G!==N&&_[G]===0;)G++;for(var l=h.repeat(v);G<N;++G)l+=s.charAt(_[G]);return l}function T(O){if(typeof O!="string")throw new TypeError("Expected String");if(O.length===0)return r.alloc(0);for(var v=0,B=0,R=0;O[v]===h;)B++,v++;for(var U=(O.length-v)*y+1>>>0,N=new Uint8Array(U);v<O.length;){var _=i[O.charCodeAt(v)];if(_===255)return;for(var L=0,H=U-1;(_!==0||L<R)&&H!==-1;H--,L++)_+=d*N[H]>>>0,N[H]=_%256>>>0,_=_/256>>>0;if(_!==0)throw new Error("Non-zero carry");R=L,v++}for(var F=U-R;F!==U&&N[F]===0;)F++;var G=r.allocUnsafe(B+(U-F));G.fill(0,0,B);for(var l=B;F!==U;)G[l++]=N[F++];return G}function A(O){var v=T(O);if(v)return v;throw new Error("Non-base"+d+" character")}return{encode:w,decodeUnsafe:T,decode:A}}t.exports=o}),I$e=W((e,t)=>{m();var r=S$e(),o="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";t.exports=r(o)}),O$e=W(e=>{"use strict";m();function t(w,T,A){return T<=w&&w<=A}function r(w){if(w===void 0)return{};if(w===Object(w))return w;throw TypeError("Could not convert argument to dictionary")}function o(w){for(var T=String(w),A=T.length,O=0,v=[];O<A;){var B=T.charCodeAt(O);if(B<55296||B>57343)v.push(B);else if(56320<=B&&B<=57343)v.push(65533);else if(55296<=B&&B<=56319)if(O===A-1)v.push(65533);else{var R=w.charCodeAt(O+1);if(56320<=R&&R<=57343){var U=B&1023,N=R&1023;v.push(65536+(U<<10)+N),O+=1}else v.push(65533)}O+=1}return v}function s(w){for(var T="",A=0;A<w.length;++A){var O=w[A];O<=65535?T+=String.fromCharCode(O):(O-=65536,T+=String.fromCharCode((O>>10)+55296,(O&1023)+56320))}return T}var i=-1;function n(w){this.tokens=[].slice.call(w)}n.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():i},prepend:function(w){if(Array.isArray(w))for(var T=w;T.length;)this.tokens.unshift(T.pop());else this.tokens.unshift(w)},push:function(w){if(Array.isArray(w))for(var T=w;T.length;)this.tokens.push(T.shift());else this.tokens.push(w)}};var a=-1;function u(w,T){if(w)throw TypeError("Decoder error");return T||65533}var c="utf-8";function d(w,T){if(!(this instanceof d))return new d(w,T);if(w=w!==void 0?String(w).toLowerCase():c,w!==c)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})}d.prototype={decode:function(w,T){var A;typeof w=="object"&&w instanceof ArrayBuffer?A=new Uint8Array(w):typeof w=="object"&&"buffer"in w&&w.buffer instanceof ArrayBuffer?A=new Uint8Array(w.buffer,w.byteOffset,w.byteLength):A=new Uint8Array(0),T=r(T),this._streaming||(this._decoder=new y({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!T.stream;for(var O=new n(A),v=[],B;!O.endOfStream()&&(B=this._decoder.handler(O,O.read()),B!==a);)B!==null&&(Array.isArray(B)?v.push.apply(v,B):v.push(B));if(!this._streaming){do{if(B=this._decoder.handler(O,O.read()),B===a)break;B!==null&&(Array.isArray(B)?v.push.apply(v,B):v.push(B))}while(!O.endOfStream());this._decoder=null}return v.length&&["utf-8"].indexOf(this.encoding)!==-1&&!this._ignoreBOM&&!this._BOMseen&&(v[0]===65279?(this._BOMseen=!0,v.shift()):this._BOMseen=!0),s(v)}};function h(w,T){if(!(this instanceof h))return new h(w,T);if(w=w!==void 0?String(w).toLowerCase():c,w!==c)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"})}h.prototype={encode:function(w,T){w=w?String(w):"",T=r(T),this._streaming||(this._encoder=new C(this._options)),this._streaming=!!T.stream;for(var A=[],O=new n(o(w)),v;!O.endOfStream()&&(v=this._encoder.handler(O,O.read()),v!==a);)Array.isArray(v)?A.push.apply(A,v):A.push(v);if(!this._streaming){for(;v=this._encoder.handler(O,O.read()),v!==a;)Array.isArray(v)?A.push.apply(A,v):A.push(v);this._encoder=null}return new Uint8Array(A)}};function y(w){var T=w.fatal,A=0,O=0,v=0,B=128,R=191;this.handler=function(U,N){if(N===i&&v!==0)return v=0,u(T);if(N===i)return a;if(v===0){if(t(N,0,127))return N;if(t(N,194,223))v=1,A=N-192;else if(t(N,224,239))N===224&&(B=160),N===237&&(R=159),v=2,A=N-224;else if(t(N,240,244))N===240&&(B=144),N===244&&(R=143),v=3,A=N-240;else return u(T);return A=A<<6*v,null}if(!t(N,B,R))return A=v=O=0,B=128,R=191,U.prepend(N),u(T);if(B=128,R=191,O+=1,A+=N-128<<6*(v-O),O!==v)return null;var _=A;return A=v=O=0,_}}function C(w){var T=w.fatal;this.handler=function(A,O){if(O===i)return a;if(t(O,0,127))return O;var v,B;t(O,128,2047)?(v=1,B=192):t(O,2048,65535)?(v=2,B=224):t(O,65536,1114111)&&(v=3,B=240);for(var R=[(O>>6*v)+B];v>0;){var U=O>>6*(v-1);R.push(128|U&63),v-=1}return R}}e.TextEncoder=h,e.TextDecoder=d}),_$e=W(e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(F,G,l,p){p===void 0&&(p=l),Object.defineProperty(F,p,{enumerable:!0,get:function(){return G[l]}})}:function(F,G,l,p){p===void 0&&(p=l),F[p]=G[l]}),r=e&&e.__setModuleDefault||(Object.create?function(F,G){Object.defineProperty(F,"default",{enumerable:!0,value:G})}:function(F,G){F.default=G}),o=e&&e.__decorate||function(F,G,l,p){var E=arguments.length,g=E<3?G:p===null?p=Object.getOwnPropertyDescriptor(G,l):p,b;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(F,G,l,p);else for(var k=F.length-1;k>=0;k--)(b=F[k])&&(g=(E<3?b(g):E>3?b(G,l,g):b(G,l))||g);return E>3&&g&&Object.defineProperty(G,l,g),g},s=e&&e.__importStar||function(F){if(F&&F.__esModule)return F;var G={};if(F!=null)for(var l in F)l!=="default"&&Object.hasOwnProperty.call(F,l)&&t(G,F,l);return r(G,F),G},i=e&&e.__importDefault||function(F){return F&&F.__esModule?F:{default:F}};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 n=i(sS()),a=i(I$e()),u=s(O$e()),c=typeof TextDecoder!="function"?u.TextDecoder:TextDecoder,d=new c("utf-8",{fatal:!0});function h(F){return typeof F=="string"&&(F=P.Buffer.from(F,"utf8")),a.default.encode(P.Buffer.from(F))}e.baseEncode=h;function y(F){return P.Buffer.from(a.default.decode(F))}e.baseDecode=y;var C=1024,w=class extends Error{constructor(F){super(F),this.fieldPath=[],this.originalMessage=F}addToFieldPath(F){this.fieldPath.splice(0,0,F),this.message=this.originalMessage+": "+this.fieldPath.join(".")}};e.BorshError=w;var T=class{constructor(){this.buf=P.Buffer.alloc(C),this.length=0}maybeResize(){this.buf.length<16+this.length&&(this.buf=P.Buffer.concat([this.buf,P.Buffer.alloc(C)]))}writeU8(F){this.maybeResize(),this.buf.writeUInt8(F,this.length),this.length+=1}writeU16(F){this.maybeResize(),this.buf.writeUInt16LE(F,this.length),this.length+=2}writeU32(F){this.maybeResize(),this.buf.writeUInt32LE(F,this.length),this.length+=4}writeU64(F){this.maybeResize(),this.writeBuffer(P.Buffer.from(new n.default(F).toArray("le",8)))}writeU128(F){this.maybeResize(),this.writeBuffer(P.Buffer.from(new n.default(F).toArray("le",16)))}writeU256(F){this.maybeResize(),this.writeBuffer(P.Buffer.from(new n.default(F).toArray("le",32)))}writeU512(F){this.maybeResize(),this.writeBuffer(P.Buffer.from(new n.default(F).toArray("le",64)))}writeBuffer(F){this.buf=P.Buffer.concat([P.Buffer.from(this.buf.subarray(0,this.length)),F,P.Buffer.alloc(C)]),this.length+=F.length}writeString(F){this.maybeResize();let G=P.Buffer.from(F,"utf8");this.writeU32(G.length),this.writeBuffer(G)}writeFixedArray(F){this.writeBuffer(P.Buffer.from(F))}writeArray(F,G){this.maybeResize(),this.writeU32(F.length);for(let l of F)this.maybeResize(),G(l)}toArray(){return this.buf.subarray(0,this.length)}};e.BinaryWriter=T;function A(F,G,l){let p=l.value;l.value=function(...E){try{return p.apply(this,E)}catch(g){if(g instanceof RangeError){let b=g.code;if(["ERR_BUFFER_OUT_OF_BOUNDS","ERR_OUT_OF_RANGE"].indexOf(b)>=0)throw new w("Reached the end of buffer when deserializing")}throw g}}}var O=class{constructor(F){this.buf=F,this.offset=0}readU8(){let F=this.buf.readUInt8(this.offset);return this.offset+=1,F}readU16(){let F=this.buf.readUInt16LE(this.offset);return this.offset+=2,F}readU32(){let F=this.buf.readUInt32LE(this.offset);return this.offset+=4,F}readU64(){let F=this.readBuffer(8);return new n.default(F,"le")}readU128(){let F=this.readBuffer(16);return new n.default(F,"le")}readU256(){let F=this.readBuffer(32);return new n.default(F,"le")}readU512(){let F=this.readBuffer(64);return new n.default(F,"le")}readBuffer(F){if(this.offset+F>this.buf.length)throw new w(`Expected buffer length ${F} isn't within bounds`);let G=this.buf.slice(this.offset,this.offset+F);return this.offset+=F,G}readString(){let F=this.readU32(),G=this.readBuffer(F);try{return d.decode(G)}catch(l){throw new w(`Error decoding UTF-8 string: ${l}`)}}readFixedArray(F){return new Uint8Array(this.readBuffer(F))}readArray(F){let G=this.readU32(),l=Array();for(let p=0;p<G;++p)l.push(F());return l}};o([A],O.prototype,"readU8",null),o([A],O.prototype,"readU16",null),o([A],O.prototype,"readU32",null),o([A],O.prototype,"readU64",null),o([A],O.prototype,"readU128",null),o([A],O.prototype,"readU256",null),o([A],O.prototype,"readU512",null),o([A],O.prototype,"readString",null),o([A],O.prototype,"readFixedArray",null),o([A],O.prototype,"readArray",null),e.BinaryReader=O;function v(F){return F.charAt(0).toUpperCase()+F.slice(1)}function B(F,G,l,p,E){try{if(typeof p=="string")E[`write${v(p)}`](l);else if(p instanceof Array)if(typeof p[0]=="number"){if(l.length!==p[0])throw new w(`Expecting byte array of length ${p[0]}, but got ${l.length} bytes`);E.writeFixedArray(l)}else if(p.length===2&&typeof p[1]=="number"){if(l.length!==p[1])throw new w(`Expecting byte array of length ${p[1]}, but got ${l.length} bytes`);for(let g=0;g<p[1];g++)B(F,null,l[g],p[0],E)}else E.writeArray(l,g=>{B(F,G,g,p[0],E)});else if(p.kind!==void 0)switch(p.kind){case"option":{l==null?E.writeU8(0):(E.writeU8(1),B(F,G,l,p.type,E));break}case"map":{E.writeU32(l.size),l.forEach((g,b)=>{B(F,G,b,p.key,E),B(F,G,g,p.value,E)});break}default:throw new w(`FieldType ${p} unrecognized`)}else R(F,l,E)}catch(g){throw g instanceof w&&g.addToFieldPath(G),g}}function R(F,G,l){if(typeof G.borshSerialize=="function"){G.borshSerialize(l);return}let p=F.get(G.constructor);if(!p)throw new w(`Class ${G.constructor.name} is missing in schema`);if(p.kind==="struct")p.fields.map(([E,g])=>{B(F,E,G[E],g,l)});else if(p.kind==="enum"){let E=G[p.field];for(let g=0;g<p.values.length;++g){let[b,k]=p.values[g];if(b===E){l.writeU8(g),B(F,b,G[b],k,l);break}}}else throw new w(`Unexpected schema kind: ${p.kind} for ${G.constructor.name}`)}function U(F,G,l=T){let p=new l;return R(F,G,p),p.toArray()}e.serialize=U;function N(F,G,l,p){try{if(typeof l=="string")return p[`read${v(l)}`]();if(l instanceof Array){if(typeof l[0]=="number")return p.readFixedArray(l[0]);if(typeof l[1]=="number"){let E=[];for(let g=0;g<l[1];g++)E.push(N(F,null,l[0],p));return E}else return p.readArray(()=>N(F,G,l[0],p))}if(l.kind==="option")return p.readU8()?N(F,G,l.type,p):void 0;if(l.kind==="map"){let E=new Map,g=p.readU32();for(let b=0;b<g;b++){let k=N(F,G,l.key,p),x=N(F,G,l.value,p);E.set(k,x)}return E}return _(F,l,p)}catch(E){throw E instanceof w&&E.addToFieldPath(G),E}}function _(F,G,l){if(typeof G.borshDeserialize=="function")return G.borshDeserialize(l);let p=F.get(G);if(!p)throw new w(`Class ${G.name} is missing in schema`);if(p.kind==="struct"){let E={};for(let[g,b]of F.get(G).fields)E[g]=N(F,g,b,l);return new G(E)}if(p.kind==="enum"){let E=l.readU8();if(E>=p.values.length)throw new w(`Enum index: ${E} is out of range`);let[g,b]=p.values[E],k=N(F,g,b,l);return new G({[g]:k})}throw new w(`Unexpected schema kind: ${p.kind} for ${G.constructor.name}`)}function L(F,G,l,p=O){let E=new p(l),g=_(F,G,E);if(E.offset<l.length)throw new w(`Unexpected ${l.length-E.offset} bytes after deserialized data`);return g}e.deserialize=L;function H(F,G,l,p=O){let E=new p(l);return _(F,G,E)}e.deserializeUnchecked=H}),R$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(D){if(!(D instanceof Uint8Array))throw new TypeError("b must be a Uint8Array")}e.checkUint8Array=r;function o(D){return r(D),t.Buffer.from(D.buffer,D.byteOffset,D.length)}e.uint8ArrayToBuffer=o;var s=class{constructor(D,j){if(!Number.isInteger(D))throw new TypeError("span must be an integer");this.span=D,this.property=j}makeDestinationObject(){return{}}getSpan(D,j){if(0>this.span)throw new RangeError("indeterminate span");return this.span}replicate(D){let j=Object.create(this.constructor.prototype);return Object.assign(j,this),j.property=D,j}fromArray(D){}};e.Layout=s;function i(D,j){return j.property?D+"["+j.property+"]":D}e.nameWithProperty=i;function n(D,j){if(typeof D!="function")throw new TypeError("Class must be constructor");if(Object.prototype.hasOwnProperty.call(D,"layout_"))throw new Error("Class is already bound to a layout");if(!(j&&j instanceof s))throw new TypeError("layout must be a Layout");if(Object.prototype.hasOwnProperty.call(j,"boundConstructor_"))throw new Error("layout is already bound to a constructor");D.layout_=j,j.boundConstructor_=D,j.makeDestinationObject=()=>new D,Object.defineProperty(D.prototype,"encode",{value(Y,oe){return j.encode(this,Y,oe)},writable:!0}),Object.defineProperty(D,"decode",{value(Y,oe){return j.decode(Y,oe)},writable:!0})}e.bindConstructorLayout=n;var a=class extends s{isCount(){throw new Error("ExternalLayout is abstract")}};e.ExternalLayout=a;var u=class extends a{constructor(D=1,j){if(!Number.isInteger(D)||0>=D)throw new TypeError("elementSpan must be a (positive) integer");super(-1,j),this.elementSpan=D}isCount(){return!0}decode(D,j=0){r(D);let Y=D.length-j;return Math.floor(Y/this.elementSpan)}encode(D,j,Y){return 0}};e.GreedyCount=u;var c=class extends a{constructor(D,j=0,Y){if(!(D instanceof s))throw new TypeError("layout must be a Layout");if(!Number.isInteger(j))throw new TypeError("offset must be integer or undefined");super(D.span,Y||D.property),this.layout=D,this.offset=j}isCount(){return this.layout instanceof d||this.layout instanceof h}decode(D,j=0){return this.layout.decode(D,j+this.offset)}encode(D,j,Y=0){return this.layout.encode(D,j,Y+this.offset)}};e.OffsetLayout=c;var d=class extends s{constructor(D,j){if(super(D,j),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(D,j=0){return o(D).readUIntLE(j,this.span)}encode(D,j,Y=0){return o(j).writeUIntLE(D,Y,this.span),this.span}};e.UInt=d;var h=class extends s{constructor(D,j){if(super(D,j),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(D,j=0){return o(D).readUIntBE(j,this.span)}encode(D,j,Y=0){return o(j).writeUIntBE(D,Y,this.span),this.span}};e.UIntBE=h;var y=class extends s{constructor(D,j){if(super(D,j),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(D,j=0){return o(D).readIntLE(j,this.span)}encode(D,j,Y=0){return o(j).writeIntLE(D,Y,this.span),this.span}};e.Int=y;var C=class extends s{constructor(D,j){if(super(D,j),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(D,j=0){return o(D).readIntBE(j,this.span)}encode(D,j,Y=0){return o(j).writeIntBE(D,Y,this.span),this.span}};e.IntBE=C;var w=Math.pow(2,32);function T(D){let j=Math.floor(D/w),Y=D-j*w;return{hi32:j,lo32:Y}}function A(D,j){return D*w+j}var O=class extends s{constructor(D){super(8,D)}decode(D,j=0){let Y=o(D),oe=Y.readUInt32LE(j),de=Y.readUInt32LE(j+4);return A(de,oe)}encode(D,j,Y=0){let oe=T(D),de=o(j);return de.writeUInt32LE(oe.lo32,Y),de.writeUInt32LE(oe.hi32,Y+4),8}};e.NearUInt64=O;var v=class extends s{constructor(D){super(8,D)}decode(D,j=0){let Y=o(D),oe=Y.readUInt32BE(j),de=Y.readUInt32BE(j+4);return A(oe,de)}encode(D,j,Y=0){let oe=T(D),de=o(j);return de.writeUInt32BE(oe.hi32,Y),de.writeUInt32BE(oe.lo32,Y+4),8}};e.NearUInt64BE=v;var B=class extends s{constructor(D){super(8,D)}decode(D,j=0){let Y=o(D),oe=Y.readUInt32LE(j),de=Y.readInt32LE(j+4);return A(de,oe)}encode(D,j,Y=0){let oe=T(D),de=o(j);return de.writeUInt32LE(oe.lo32,Y),de.writeInt32LE(oe.hi32,Y+4),8}};e.NearInt64=B;var R=class extends s{constructor(D){super(8,D)}decode(D,j=0){let Y=o(D),oe=Y.readInt32BE(j),de=Y.readUInt32BE(j+4);return A(oe,de)}encode(D,j,Y=0){let oe=T(D),de=o(j);return de.writeInt32BE(oe.hi32,Y),de.writeUInt32BE(oe.lo32,Y+4),8}};e.NearInt64BE=R;var U=class extends s{constructor(D){super(4,D)}decode(D,j=0){return o(D).readFloatLE(j)}encode(D,j,Y=0){return o(j).writeFloatLE(D,Y),4}};e.Float=U;var N=class extends s{constructor(D){super(4,D)}decode(D,j=0){return o(D).readFloatBE(j)}encode(D,j,Y=0){return o(j).writeFloatBE(D,Y),4}};e.FloatBE=N;var _=class extends s{constructor(D){super(8,D)}decode(D,j=0){return o(D).readDoubleLE(j)}encode(D,j,Y=0){return o(j).writeDoubleLE(D,Y),8}};e.Double=_;var L=class extends s{constructor(D){super(8,D)}decode(D,j=0){return o(D).readDoubleBE(j)}encode(D,j,Y=0){return o(j).writeDoubleBE(D,Y),8}};e.DoubleBE=L;var H=class extends s{constructor(D,j,Y){if(!(D instanceof s))throw new TypeError("elementLayout must be a Layout");if(!(j instanceof a&&j.isCount()||Number.isInteger(j)&&0<=j))throw new TypeError("count must be non-negative integer or an unsigned integer ExternalLayout");let oe=-1;!(j instanceof a)&&0<D.span&&(oe=j*D.span),super(oe,Y),this.elementLayout=D,this.count=j}getSpan(D,j=0){if(0<=this.span)return this.span;let Y=0,oe=this.count;if(oe instanceof a&&(oe=oe.decode(D,j)),0<this.elementLayout.span)Y=oe*this.elementLayout.span;else{let de=0;for(;de<oe;)Y+=this.elementLayout.getSpan(D,j+Y),++de}return Y}decode(D,j=0){let Y=[],oe=0,de=this.count;for(de instanceof a&&(de=de.decode(D,j));oe<de;)Y.push(this.elementLayout.decode(D,j)),j+=this.elementLayout.getSpan(D,j),oe+=1;return Y}encode(D,j,Y=0){let oe=this.elementLayout,de=D.reduce((ue,ae)=>ue+oe.encode(ae,j,Y+ue),0);return this.count instanceof a&&this.count.encode(D.length,j,Y),de}};e.Sequence=H;var F=class extends s{constructor(D,j,Y){if(!(Array.isArray(D)&&D.reduce((de,ue)=>de&&ue instanceof s,!0)))throw new TypeError("fields must be array of Layout instances");typeof j=="boolean"&&Y===void 0&&(Y=j,j=void 0);for(let de of D)if(0>de.span&&de.property===void 0)throw new Error("fields cannot contain unnamed variable-length layout");let oe=-1;try{oe=D.reduce((de,ue)=>de+ue.getSpan(),0)}catch{}super(oe,j),this.fields=D,this.decodePrefixes=!!Y}getSpan(D,j=0){if(0<=this.span)return this.span;let Y=0;try{Y=this.fields.reduce((oe,de)=>{let ue=de.getSpan(D,j);return j+=ue,oe+ue},0)}catch{throw new RangeError("indeterminate span")}return Y}decode(D,j=0){r(D);let Y=this.makeDestinationObject();for(let oe of this.fields)if(oe.property!==void 0&&(Y[oe.property]=oe.decode(D,j)),j+=oe.getSpan(D,j),this.decodePrefixes&&D.length===j)break;return Y}encode(D,j,Y=0){let oe=Y,de=0,ue=0;for(let ae of this.fields){let q=ae.span;if(ue=0<q?q:0,ae.property!==void 0){let ne=D[ae.property];ne!==void 0&&(ue=ae.encode(ne,j,Y),0>q&&(q=ae.getSpan(j,Y)))}de=Y,Y+=q}return de+ue-oe}fromArray(D){let j=this.makeDestinationObject();for(let Y of this.fields)Y.property!==void 0&&0<D.length&&(j[Y.property]=D.shift());return j}layoutFor(D){if(typeof D!="string")throw new TypeError("property must be string");for(let j of this.fields)if(j.property===D)return j}offsetOf(D){if(typeof D!="string")throw new TypeError("property must be string");let j=0;for(let Y of this.fields){if(Y.property===D)return j;0>Y.span?j=-1:0<=j&&(j+=Y.span)}}};e.Structure=F;var G=class{constructor(D){this.property=D}decode(D,j){throw new Error("UnionDiscriminator is abstract")}encode(D,j,Y){throw new Error("UnionDiscriminator is abstract")}};e.UnionDiscriminator=G;var l=class extends G{constructor(D,j){if(!(D instanceof a&&D.isCount()))throw new TypeError("layout must be an unsigned integer ExternalLayout");super(j||D.property||"variant"),this.layout=D}decode(D,j){return this.layout.decode(D,j)}encode(D,j,Y){return this.layout.encode(D,j,Y)}};e.UnionLayoutDiscriminator=l;var p=class extends s{constructor(D,j,Y){let oe;if(D instanceof d||D instanceof h)oe=new l(new c(D));else if(D instanceof a&&D.isCount())oe=new l(D);else if(D instanceof G)oe=D;else throw new TypeError("discr must be a UnionDiscriminator or an unsigned integer layout");if(j===void 0&&(j=null),!(j===null||j instanceof s))throw new TypeError("defaultLayout must be null or a Layout");if(j!==null){if(0>j.span)throw new Error("defaultLayout must have constant span");j.property===void 0&&(j=j.replicate("content"))}let de=-1;j&&(de=j.span,0<=de&&(D instanceof d||D instanceof h)&&(de+=oe.layout.span)),super(de,Y),this.discriminator=oe,this.usesPrefixDiscriminator=D instanceof d||D instanceof h,this.defaultLayout=j,this.registry={};let ue=this.defaultGetSourceVariant.bind(this);this.getSourceVariant=function(ae){return ue(ae)},this.configGetSourceVariant=function(ae){ue=ae.bind(this)}}getSpan(D,j=0){if(0<=this.span)return this.span;let Y=this.getVariant(D,j);if(!Y)throw new Error("unable to determine span for unrecognized variant");return Y.getSpan(D,j)}defaultGetSourceVariant(D){if(Object.prototype.hasOwnProperty.call(D,this.discriminator.property)){if(this.defaultLayout&&this.defaultLayout.property&&Object.prototype.hasOwnProperty.call(D,this.defaultLayout.property))return;let j=this.registry[D[this.discriminator.property]];if(j&&(!j.layout||j.property&&Object.prototype.hasOwnProperty.call(D,j.property)))return j}else for(let j in this.registry){let Y=this.registry[j];if(Y.property&&Object.prototype.hasOwnProperty.call(D,Y.property))return Y}throw new Error("unable to infer src variant")}decode(D,j=0){let Y,oe=this.discriminator,de=oe.decode(D,j),ue=this.registry[de];if(ue===void 0){let ae=this.defaultLayout,q=0;this.usesPrefixDiscriminator&&(q=oe.layout.span),Y=this.makeDestinationObject(),Y[oe.property]=de,Y[ae.property]=ae.decode(D,j+q)}else Y=ue.decode(D,j);return Y}encode(D,j,Y=0){let oe=this.getSourceVariant(D);if(oe===void 0){let de=this.discriminator,ue=this.defaultLayout,ae=0;return this.usesPrefixDiscriminator&&(ae=de.layout.span),de.encode(D[de.property],j,Y),ae+ue.encode(D[ue.property],j,Y+ae)}return oe.encode(D,j,Y)}addVariant(D,j,Y){let oe=new E(this,D,j,Y);return this.registry[D]=oe,oe}getVariant(D,j=0){let Y;return D instanceof Uint8Array?Y=this.discriminator.decode(D,j):Y=D,this.registry[Y]}};e.Union=p;var E=class extends s{constructor(D,j,Y,oe){if(!(D instanceof p))throw new TypeError("union must be a Union");if(!Number.isInteger(j)||0>j)throw new TypeError("variant must be a (non-negative) integer");if(typeof Y=="string"&&oe===void 0&&(oe=Y,Y=null),Y){if(!(Y instanceof s))throw new TypeError("layout must be a Layout");if(D.defaultLayout!==null&&0<=Y.span&&Y.span>D.defaultLayout.span)throw new Error("variant span exceeds span of containing union");if(typeof oe!="string")throw new TypeError("variant must have a String property")}let de=D.span;0>D.span&&(de=Y?Y.span:0,0<=de&&D.usesPrefixDiscriminator&&(de+=D.discriminator.layout.span)),super(de,oe),this.union=D,this.variant=j,this.layout=Y||null}getSpan(D,j=0){if(0<=this.span)return this.span;let Y=0;this.union.usesPrefixDiscriminator&&(Y=this.union.discriminator.layout.span);let oe=0;return this.layout&&(oe=this.layout.getSpan(D,j+Y)),Y+oe}decode(D,j=0){let Y=this.makeDestinationObject();if(this!==this.union.getVariant(D,j))throw new Error("variant mismatch");let oe=0;return this.union.usesPrefixDiscriminator&&(oe=this.union.discriminator.layout.span),this.layout?Y[this.property]=this.layout.decode(D,j+oe):this.property?Y[this.property]=!0:this.union.usesPrefixDiscriminator&&(Y[this.union.discriminator.property]=this.variant),Y}encode(D,j,Y=0){let oe=0;if(this.union.usesPrefixDiscriminator&&(oe=this.union.discriminator.layout.span),this.layout&&!Object.prototype.hasOwnProperty.call(D,this.property))throw new TypeError("variant lacks property "+this.property);this.union.discriminator.encode(this.variant,j,Y);let de=oe;if(this.layout&&(this.layout.encode(D[this.property],j,Y+oe),de+=this.layout.getSpan(j,Y+oe),0<=this.union.span&&de>this.union.span))throw new Error("encoded variant overruns containing union");return de}fromArray(D){if(this.layout)return this.layout.fromArray(D)}};e.VariantLayout=E;function g(D){return 0>D&&(D+=4294967296),D}var b=class extends s{constructor(D,j,Y){if(!(D instanceof d||D instanceof h))throw new TypeError("word must be a UInt or UIntBE layout");if(typeof j=="string"&&Y===void 0&&(Y=j,j=!1),4<D.span)throw new RangeError("word cannot exceed 32 bits");super(D.span,Y),this.word=D,this.msb=!!j,this.fields=[];let oe=0;this._packedSetValue=function(de){return oe=g(de),this},this._packedGetValue=function(){return oe}}decode(D,j=0){let Y=this.makeDestinationObject(),oe=this.word.decode(D,j);this._packedSetValue(oe);for(let de of this.fields)de.property!==void 0&&(Y[de.property]=de.decode(D));return Y}encode(D,j,Y=0){let oe=this.word.decode(j,Y);this._packedSetValue(oe);for(let de of this.fields)if(de.property!==void 0){let ue=D[de.property];ue!==void 0&&de.encode(ue)}return this.word.encode(this._packedGetValue(),j,Y)}addField(D,j){let Y=new k(this,D,j);return this.fields.push(Y),Y}addBoolean(D){let j=new x(this,D);return this.fields.push(j),j}fieldFor(D){if(typeof D!="string")throw new TypeError("property must be string");for(let j of this.fields)if(j.property===D)return j}};e.BitStructure=b;var k=class{constructor(D,j,Y){if(!(D instanceof b))throw new TypeError("container must be a BitStructure");if(!Number.isInteger(j)||0>=j)throw new TypeError("bits must be positive integer");let oe=8*D.span,de=D.fields.reduce((ue,ae)=>ue+ae.bits,0);if(j+de>oe)throw new Error("bits too long for span remainder ("+(oe-de)+" of "+oe+" remain)");this.container=D,this.bits=j,this.valueMask=(1<<j)-1,j===32&&(this.valueMask=4294967295),this.start=de,this.container.msb&&(this.start=oe-de-j),this.wordMask=g(this.valueMask<<this.start),this.property=Y}decode(D,j){let Y=this.container._packedGetValue();return g(Y&this.wordMask)>>>this.start}encode(D){if(typeof D!="number"||!Number.isInteger(D)||D!==g(D&this.valueMask))throw new TypeError(i("BitField.encode",this)+" value must be integer not exceeding "+this.valueMask);let j=this.container._packedGetValue(),Y=g(D<<this.start);this.container._packedSetValue(g(j&~this.wordMask)|Y)}};e.BitField=k;var x=class extends k{constructor(D,j){super(D,1,j)}decode(D,j){return!!super.decode(D,j)}encode(D){typeof D=="boolean"&&(D=+D),super.encode(D)}};e.Boolean=x;var S=class extends s{constructor(D,j){if(!(D instanceof a&&D.isCount()||Number.isInteger(D)&&0<=D))throw new TypeError("length must be positive integer or an unsigned integer ExternalLayout");let Y=-1;D instanceof a||(Y=D),super(Y,j),this.length=D}getSpan(D,j){let Y=this.span;return 0>Y&&(Y=this.length.decode(D,j)),Y}decode(D,j=0){let Y=this.span;return 0>Y&&(Y=this.length.decode(D,j)),o(D).slice(j,j+Y)}encode(D,j,Y){let oe=this.length;if(this.length instanceof a&&(oe=D.length),!(D instanceof Uint8Array&&oe===D.length))throw new TypeError(i("Blob.encode",this)+" requires (length "+oe+") Uint8Array as src");if(Y+oe>j.length)throw new RangeError("encoding overruns Uint8Array");let de=o(D);return o(j).write(de.toString("hex"),Y,oe,"hex"),this.length instanceof a&&this.length.encode(oe,j,Y),oe}};e.Blob=S;var f=class extends s{constructor(D){super(-1,D)}getSpan(D,j=0){r(D);let Y=j;for(;Y<D.length&&D[Y]!==0;)Y+=1;return 1+Y-j}decode(D,j=0){let Y=this.getSpan(D,j);return o(D).slice(j,j+Y-1).toString("utf-8")}encode(D,j,Y=0){typeof D!="string"&&(D=String(D));let oe=t.Buffer.from(D,"utf8"),de=oe.length;if(Y+de>j.length)throw new RangeError("encoding overruns Buffer");let ue=o(j);return oe.copy(ue,Y),ue[Y+de]=0,de+1}};e.CString=f;var M=class extends s{constructor(D,j){if(typeof D=="string"&&j===void 0&&(j=D,D=void 0),D===void 0)D=-1;else if(!Number.isInteger(D))throw new TypeError("maxSpan must be an integer");super(-1,j),this.maxSpan=D}getSpan(D,j=0){return r(D),D.length-j}decode(D,j=0){let Y=this.getSpan(D,j);if(0<=this.maxSpan&&this.maxSpan<Y)throw new RangeError("text length exceeds maxSpan");return o(D).slice(j,j+Y).toString("utf-8")}encode(D,j,Y=0){typeof D!="string"&&(D=String(D));let oe=t.Buffer.from(D,"utf8"),de=oe.length;if(0<=this.maxSpan&&this.maxSpan<de)throw new RangeError("text length exceeds maxSpan");if(Y+de>j.length)throw new RangeError("encoding overruns Buffer");return oe.copy(o(j),Y),de}};e.UTF8=M;var V=class extends s{constructor(D,j){super(0,j),this.value=D}decode(D,j){return this.value}encode(D,j,Y){return 0}};e.Constant=V,e.greedy=(D,j)=>new u(D,j),e.offset=(D,j,Y)=>new c(D,j,Y),e.u8=D=>new d(1,D),e.u16=D=>new d(2,D),e.u24=D=>new d(3,D),e.u32=D=>new d(4,D),e.u40=D=>new d(5,D),e.u48=D=>new d(6,D),e.nu64=D=>new O(D),e.u16be=D=>new h(2,D),e.u24be=D=>new h(3,D),e.u32be=D=>new h(4,D),e.u40be=D=>new h(5,D),e.u48be=D=>new h(6,D),e.nu64be=D=>new v(D),e.s8=D=>new y(1,D),e.s16=D=>new y(2,D),e.s24=D=>new y(3,D),e.s32=D=>new y(4,D),e.s40=D=>new y(5,D),e.s48=D=>new y(6,D),e.ns64=D=>new B(D),e.s16be=D=>new C(2,D),e.s24be=D=>new C(3,D),e.s32be=D=>new C(4,D),e.s40be=D=>new C(5,D),e.s48be=D=>new C(6,D),e.ns64be=D=>new R(D),e.f32=D=>new U(D),e.f32be=D=>new N(D),e.f64=D=>new _(D),e.f64be=D=>new L(D),e.struct=(D,j,Y)=>new F(D,j,Y),e.bits=(D,j,Y)=>new b(D,j,Y),e.seq=(D,j,Y)=>new H(D,j,Y),e.union=(D,j,Y)=>new p(D,j,Y),e.unionLayoutDiscriminator=(D,j)=>new l(D,j),e.blob=(D,j)=>new S(D,j),e.cstr=D=>new f(D),e.utf8=(D,j)=>new M(D,j),e.constant=(D,j)=>new V(D,j)}),N$e=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});var t;function r(n){{let a=P.Buffer.from(n);a.reverse();let u=a.toString("hex");return u.length===0?BigInt(0):BigInt(`0x${u}`)}return t.toBigInt(n,!1)}e.toBigIntLE=r;function o(n){{let a=n.toString("hex");return a.length===0?BigInt(0):BigInt(`0x${a}`)}return t.toBigInt(n,!0)}e.toBigIntBE=o;function s(n,a){{let u=n.toString(16),c=P.Buffer.from(u.padStart(a*2,"0").slice(0,a*2),"hex");return c.reverse(),c}return t.fromBigInt(n,P.Buffer.allocUnsafe(a),!1)}e.toBufferLE=s;function i(n,a){{let u=n.toString(16);return P.Buffer.from(u.padStart(a*2,"0").slice(0,a*2),"hex")}return t.fromBigInt(n,P.Buffer.allocUnsafe(a),!0)}e.toBufferBE=i}),U$e=W((e,t)=>{m(),(function(r,o){typeof e=="object"&&typeof t<"u"?o(e):typeof define=="function"&&define.amd?define(["exports"],o):(r=typeof globalThis<"u"?globalThis:r||self,o(r.Superstruct={}))})(e,function(r){"use strict";class o extends TypeError{constructor(it,Ye){let et,{message:Gt,explanation:It,...Rt}=it,{path:_r}=it,jt=_r.length===0?Gt:`At path: ${_r.join(".")} -- ${Gt}`;super(It??jt),It!=null&&(this.cause=jt),Object.assign(this,Rt),this.name=this.constructor.name,this.failures=()=>et??(et=[it,...Ye()])}}function s(Ie){return i(Ie)&&typeof Ie[Symbol.iterator]=="function"}function i(Ie){return typeof Ie=="object"&&Ie!=null}function n(Ie){return i(Ie)&&!Array.isArray(Ie)}function a(Ie){if(Object.prototype.toString.call(Ie)!=="[object Object]")return!1;let it=Object.getPrototypeOf(Ie);return it===null||it===Object.prototype}function u(Ie){return typeof Ie=="symbol"?Ie.toString():typeof Ie=="string"?JSON.stringify(Ie):`${Ie}`}function c(Ie){let{done:it,value:Ye}=Ie.next();return it?void 0:Ye}function d(Ie,it,Ye,et){if(Ie===!0)return;Ie===!1?Ie={}:typeof Ie=="string"&&(Ie={message:Ie});let{path:Gt,branch:It}=it,{type:Rt}=Ye,{refinement:_r,message:jt=`Expected a value of type \`${Rt}\`${_r?` with refinement \`${_r}\``:""}, but received: \`${u(et)}\``}=Ie;return{value:et,type:Rt,refinement:_r,key:Gt[Gt.length-1],path:Gt,branch:It,...Ie,message:jt}}function*h(Ie,it,Ye,et){s(Ie)||(Ie=[Ie]);for(let Gt of Ie){let It=d(Gt,it,Ye,et);It&&(yield It)}}function*y(Ie,it,Ye={}){let{path:et=[],branch:Gt=[Ie],coerce:It=!1,mask:Rt=!1}=Ye,_r={path:et,branch:Gt,mask:Rt};It&&(Ie=it.coercer(Ie,_r));let jt="valid";for(let Fe of it.validator(Ie,_r))Fe.explanation=Ye.message,jt="not_valid",yield[Fe,void 0];for(let[Fe,Pr,$t]of it.entries(Ie,_r)){let Qt=y(Pr,$t,{path:Fe===void 0?et:[...et,Fe],branch:Fe===void 0?Gt:[...Gt,Pr],coerce:It,mask:Rt,message:Ye.message});for(let At of Qt)At[0]?(jt=At[0].refinement!=null?"not_refined":"not_valid",yield[At[0],void 0]):It&&(Pr=At[1],Fe===void 0?Ie=Pr:Ie instanceof Map?Ie.set(Fe,Pr):Ie instanceof Set?Ie.add(Pr):i(Ie)&&(Pr!==void 0||Fe in Ie)&&(Ie[Fe]=Pr))}if(jt!=="not_valid")for(let Fe of it.refiner(Ie,_r))Fe.explanation=Ye.message,jt="not_refined",yield[Fe,void 0];jt==="valid"&&(yield[void 0,Ie])}class C{constructor(it){let{type:Ye,schema:et,validator:Gt,refiner:It,coercer:Rt=jt=>jt,entries:_r=function*(){}}=it;this.type=Ye,this.schema=et,this.entries=_r,this.coercer=Rt,Gt?this.validator=(jt,Fe)=>{let Pr=Gt(jt,Fe);return h(Pr,Fe,this,jt)}:this.validator=()=>[],It?this.refiner=(jt,Fe)=>{let Pr=It(jt,Fe);return h(Pr,Fe,this,jt)}:this.refiner=()=>[]}assert(it,Ye){return w(it,this,Ye)}create(it,Ye){return T(it,this,Ye)}is(it){return O(it,this)}mask(it,Ye){return A(it,this,Ye)}validate(it,Ye={}){return v(it,this,Ye)}}function w(Ie,it,Ye){let et=v(Ie,it,{message:Ye});if(et[0])throw et[0]}function T(Ie,it,Ye){let et=v(Ie,it,{coerce:!0,message:Ye});if(et[0])throw et[0];return et[1]}function A(Ie,it,Ye){let et=v(Ie,it,{coerce:!0,mask:!0,message:Ye});if(et[0])throw et[0];return et[1]}function O(Ie,it){return!v(Ie,it)[0]}function v(Ie,it,Ye={}){let et=y(Ie,it,Ye),Gt=c(et);return Gt[0]?[new o(Gt[0],function*(){for(let It of et)It[0]&&(yield It[0])}),void 0]:[void 0,Gt[1]]}function B(...Ie){let it=Ie[0].type==="type",Ye=Ie.map(Gt=>Gt.schema),et=Object.assign({},...Ye);return it?ge(et):de(et)}function R(Ie,it){return new C({type:Ie,schema:null,validator:it})}function U(Ie,it){return new C({...Ie,refiner:(Ye,et)=>Ye===void 0||Ie.refiner(Ye,et),validator(Ye,et){return Ye===void 0?!0:(it(Ye,et),Ie.validator(Ye,et))}})}function N(Ie){return new C({type:"dynamic",schema:null,*entries(it,Ye){yield*Ie(it,Ye).entries(it,Ye)},validator(it,Ye){return Ie(it,Ye).validator(it,Ye)},coercer(it,Ye){return Ie(it,Ye).coercer(it,Ye)},refiner(it,Ye){return Ie(it,Ye).refiner(it,Ye)}})}function _(Ie){let it;return new C({type:"lazy",schema:null,*entries(Ye,et){it??(it=Ie()),yield*it.entries(Ye,et)},validator(Ye,et){return it??(it=Ie()),it.validator(Ye,et)},coercer(Ye,et){return it??(it=Ie()),it.coercer(Ye,et)},refiner(Ye,et){return it??(it=Ie()),it.refiner(Ye,et)}})}function L(Ie,it){let{schema:Ye}=Ie,et={...Ye};for(let Gt of it)delete et[Gt];return Ie.type==="type"?ge(et):de(et)}function H(Ie){let it=Ie instanceof C,Ye=it?{...Ie.schema}:{...Ie};for(let et in Ye)Ye[et]=ue(Ye[et]);return it&&Ie.type==="type"?ge(Ye):de(Ye)}function F(Ie,it){let{schema:Ye}=Ie,et={};for(let Gt of it)et[Gt]=Ye[Gt];return Ie.type==="type"?ge(et):de(et)}function G(Ie,it){return console.warn("superstruct@0.11 - The `struct` helper has been renamed to `define`."),R(Ie,it)}function l(){return R("any",()=>!0)}function p(Ie){return new C({type:"array",schema:Ie,*entries(it){if(Ie&&Array.isArray(it))for(let[Ye,et]of it.entries())yield[Ye,et,Ie]},coercer(it){return Array.isArray(it)?it.slice():it},validator(it){return Array.isArray(it)||`Expected an array value, but received: ${u(it)}`}})}function E(){return R("bigint",Ie=>typeof Ie=="bigint")}function g(){return R("boolean",Ie=>typeof Ie=="boolean")}function b(){return R("date",Ie=>Ie instanceof Date&&!isNaN(Ie.getTime())||`Expected a valid \`Date\` object, but received: ${u(Ie)}`)}function k(Ie){let it={},Ye=Ie.map(et=>u(et)).join();for(let et of Ie)it[et]=et;return new C({type:"enums",schema:it,validator(et){return Ie.includes(et)||`Expected one of \`${Ye}\`, but received: ${u(et)}`}})}function x(){return R("func",Ie=>typeof Ie=="function"||`Expected a function, but received: ${u(Ie)}`)}function S(Ie){return R("instance",it=>it instanceof Ie||`Expected a \`${Ie.name}\` instance, but received: ${u(it)}`)}function f(){return R("integer",Ie=>typeof Ie=="number"&&!isNaN(Ie)&&Number.isInteger(Ie)||`Expected an integer, but received: ${u(Ie)}`)}function M(Ie){return new C({type:"intersection",schema:null,*entries(it,Ye){for(let et of Ie)yield*et.entries(it,Ye)},*validator(it,Ye){for(let et of Ie)yield*et.validator(it,Ye)},*refiner(it,Ye){for(let et of Ie)yield*et.refiner(it,Ye)}})}function V(Ie){let it=u(Ie),Ye=typeof Ie;return new C({type:"literal",schema:Ye==="string"||Ye==="number"||Ye==="boolean"?Ie:null,validator(et){return et===Ie||`Expected the literal \`${it}\`, but received: ${u(et)}`}})}function D(Ie,it){return new C({type:"map",schema:null,*entries(Ye){if(Ie&&it&&Ye instanceof Map)for(let[et,Gt]of Ye.entries())yield[et,et,Ie],yield[et,Gt,it]},coercer(Ye){return Ye instanceof Map?new Map(Ye):Ye},validator(Ye){return Ye instanceof Map||`Expected a \`Map\` object, but received: ${u(Ye)}`}})}function j(){return R("never",()=>!1)}function Y(Ie){return new C({...Ie,validator:(it,Ye)=>it===null||Ie.validator(it,Ye),refiner:(it,Ye)=>it===null||Ie.refiner(it,Ye)})}function oe(){return R("number",Ie=>typeof Ie=="number"&&!isNaN(Ie)||`Expected a number, but received: ${u(Ie)}`)}function de(Ie){let it=Ie?Object.keys(Ie):[],Ye=j();return new C({type:"object",schema:Ie||null,*entries(et){if(Ie&&i(et)){let Gt=new Set(Object.keys(et));for(let It of it)Gt.delete(It),yield[It,et[It],Ie[It]];for(let It of Gt)yield[It,et[It],Ye]}},validator(et){return n(et)||`Expected an object, but received: ${u(et)}`},coercer(et,Gt){if(!n(et))return et;let It={...et};if(Gt.mask&&Ie)for(let Rt in It)Ie[Rt]===void 0&&delete It[Rt];return It}})}function ue(Ie){return new C({...Ie,validator:(it,Ye)=>it===void 0||Ie.validator(it,Ye),refiner:(it,Ye)=>it===void 0||Ie.refiner(it,Ye)})}function ae(Ie,it){return new C({type:"record",schema:null,*entries(Ye){if(i(Ye))for(let et in Ye){let Gt=Ye[et];yield[et,et,Ie],yield[et,Gt,it]}},validator(Ye){return n(Ye)||`Expected an object, but received: ${u(Ye)}`},coercer(Ye){return n(Ye)?{...Ye}:Ye}})}function q(){return R("regexp",Ie=>Ie instanceof RegExp)}function ne(Ie){return new C({type:"set",schema:null,*entries(it){if(Ie&&it instanceof Set)for(let Ye of it)yield[Ye,Ye,Ie]},coercer(it){return it instanceof Set?new Set(it):it},validator(it){return it instanceof Set||`Expected a \`Set\` object, but received: ${u(it)}`}})}function me(){return R("string",Ie=>typeof Ie=="string"||`Expected a string, but received: ${u(Ie)}`)}function ve(Ie){let it=j();return new C({type:"tuple",schema:null,*entries(Ye){if(Array.isArray(Ye)){let et=Math.max(Ie.length,Ye.length);for(let Gt=0;Gt<et;Gt++)yield[Gt,Ye[Gt],Ie[Gt]||it]}},validator(Ye){return Array.isArray(Ye)||`Expected an array, but received: ${u(Ye)}`},coercer(Ye){return Array.isArray(Ye)?Ye.slice():Ye}})}function ge(Ie){let it=Object.keys(Ie);return new C({type:"type",schema:Ie,*entries(Ye){if(i(Ye))for(let et of it)yield[et,Ye[et],Ie[et]]},validator(Ye){return n(Ye)||`Expected an object, but received: ${u(Ye)}`},coercer(Ye){return n(Ye)?{...Ye}:Ye}})}function ce(Ie){let it=Ie.map(Ye=>Ye.type).join(" | ");return new C({type:"union",schema:null,coercer(Ye,et){for(let Gt of Ie){let[It,Rt]=Gt.validate(Ye,{coerce:!0,mask:et.mask});if(!It)return Rt}return Ye},validator(Ye,et){let Gt=[];for(let It of Ie){let[...Rt]=y(Ye,It,et),[_r]=Rt;if(_r[0])for(let[jt]of Rt)jt&&Gt.push(jt);else return[]}return[`Expected the value to satisfy a union of \`${it}\`, but received: ${u(Ye)}`,...Gt]}})}function ee(){return R("unknown",()=>!0)}function fe(Ie,it,Ye){return new C({...Ie,coercer:(et,Gt)=>O(et,it)?Ie.coercer(Ye(et,Gt),Gt):Ie.coercer(et,Gt)})}function ie(Ie,it,Ye={}){return fe(Ie,ee(),et=>{let Gt=typeof it=="function"?it():it;if(et===void 0)return Gt;if(!Ye.strict&&a(et)&&a(Gt)){let It={...et},Rt=!1;for(let _r in Gt)It[_r]===void 0&&(It[_r]=Gt[_r],Rt=!0);if(Rt)return It}return et})}function re(Ie){return fe(Ie,me(),it=>it.trim())}function Oe(Ie){return wt(Ie,"empty",it=>{let Ye=Pe(it);return Ye===0||`Expected an empty ${Ie.type} but received one with a size of \`${Ye}\``})}function Pe(Ie){return Ie instanceof Map||Ie instanceof Set?Ie.size:Ie.length}function Ne(Ie,it,Ye={}){let{exclusive:et}=Ye;return wt(Ie,"max",Gt=>et?Gt<it:Gt<=it||`Expected a ${Ie.type} less than ${et?"":"or equal to "}${it} but received \`${Gt}\``)}function Xe(Ie,it,Ye={}){let{exclusive:et}=Ye;return wt(Ie,"min",Gt=>et?Gt>it:Gt>=it||`Expected a ${Ie.type} greater than ${et?"":"or equal to "}${it} but received \`${Gt}\``)}function Je(Ie){return wt(Ie,"nonempty",it=>Pe(it)>0||`Expected a nonempty ${Ie.type} but received an empty one`)}function ft(Ie,it){return wt(Ie,"pattern",Ye=>it.test(Ye)||`Expected a ${Ie.type} matching \`/${it.source}/\` but received "${Ye}"`)}function Kt(Ie,it,Ye=it){let et=`Expected a ${Ie.type}`,Gt=it===Ye?`of \`${it}\``:`between \`${it}\` and \`${Ye}\``;return wt(Ie,"size",It=>{if(typeof It=="number"||It instanceof Date)return it<=It&&It<=Ye||`${et} ${Gt} but received \`${It}\``;if(It instanceof Map||It instanceof Set){let{size:Rt}=It;return it<=Rt&&Rt<=Ye||`${et} with a size ${Gt} but received one with a size of \`${Rt}\``}else{let{length:Rt}=It;return it<=Rt&&Rt<=Ye||`${et} with a length ${Gt} but received one with a length of \`${Rt}\``}})}function wt(Ie,it,Ye){return new C({...Ie,*refiner(et,Gt){yield*Ie.refiner(et,Gt);let It=Ye(et,Gt),Rt=h(It,Gt,Ie,et);for(let _r of Rt)yield{..._r,refinement:it}}})}r.Struct=C,r.StructError=o,r.any=l,r.array=p,r.assert=w,r.assign=B,r.bigint=E,r.boolean=g,r.coerce=fe,r.create=T,r.date=b,r.defaulted=ie,r.define=R,r.deprecated=U,r.dynamic=N,r.empty=Oe,r.enums=k,r.func=x,r.instance=S,r.integer=f,r.intersection=M,r.is=O,r.lazy=_,r.literal=V,r.map=D,r.mask=A,r.max=Ne,r.min=Xe,r.never=j,r.nonempty=Je,r.nullable=Y,r.number=oe,r.object=de,r.omit=L,r.optional=ue,r.partial=H,r.pattern=ft,r.pick=F,r.record=ae,r.refine=wt,r.regexp=q,r.set=ne,r.size=Kt,r.string=me,r.struct=G,r.trimmed=re,r.tuple=ve,r.type=ge,r.union=ce,r.unknown=ee,r.validate=v})});function mB(){if(!Aq&&(Aq=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!Aq))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Aq(unr)}var Aq,unr,Jde=En(()=>{m(),unr=new Uint8Array(16)}),L$e,F$e=En(()=>{m(),L$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 lnr(e){return typeof e=="string"&&L$e.test(e)}var Ow,bB=En(()=>{m(),F$e(),Ow=lnr});function fnr(e){var t=arguments.length>1&&arguments[1]!==void 0?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=fnr});function dnr(e,t,r){var o=t&&r||0,s=t||new Array(16);e=e||{};var i=e.node||W$e,n=e.clockseq!==void 0?e.clockseq:Xde;if(i==null||n==null){var a=e.random||(e.rng||mB)();i==null&&(i=W$e=[a[0]|1,a[1],a[2],a[3],a[4],a[5]]),n==null&&(n=Xde=(a[6]<<8|a[7])&16383)}var u=e.msecs!==void 0?e.msecs:Date.now(),c=e.nsecs!==void 0?e.nsecs:Qde+1,d=u-Yde+(c-Qde)/1e4;if(d<0&&e.clockseq===void 0&&(n=n+1&16383),(d<0||u>Yde)&&e.nsecs===void 0&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Yde=u,Qde=c,Xde=n,u+=122192928e5;var h=((u&268435455)*1e4+c)%4294967296;s[o++]=h>>>24&255,s[o++]=h>>>16&255,s[o++]=h>>>8&255,s[o++]=h&255;var y=u/4294967296*1e4&268435455;s[o++]=y>>>8&255,s[o++]=y&255,s[o++]=y>>>24&15|16,s[o++]=y>>>16&255,s[o++]=n>>>8|128,s[o++]=n&255;for(var C=0;C<6;++C)s[o+C]=i[C];return t||Pw(s)}var W$e,Xde,Yde,Qde,z$e,K$e=En(()=>{m(),Jde(),vB(),Yde=0,Qde=0,z$e=dnr});function hnr(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]=t&255,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=t&255,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=t&255,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=t&255,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]=t&255,r}var Tq,Zde=En(()=>{m(),bB(),Tq=hnr});function pnr(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 o(s,i,n,a){if(typeof s=="string"&&(s=pnr(s)),typeof i=="string"&&(i=Tq(i)),i.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var u=new Uint8Array(16+s.length);if(u.set(i),u.set(s,i.length),u=r(u),u[6]=u[6]&15|t,u[8]=u[8]&63|128,n){a=a||0;for(var c=0;c<16;++c)n[a+c]=u[c];return n}return Pw(u)}try{o.name=e}catch{}return o.DNS=gnr,o.URL=ynr,o}var gnr,ynr,$de=En(()=>{m(),vB(),Zde(),gnr="6ba7b810-9dad-11d1-80b4-00c04fd430c8",ynr="6ba7b811-9dad-11d1-80b4-00c04fd430c8"});function mnr(e){if(typeof e=="string"){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return bnr(vnr(wnr(e),e.length*8))}function bnr(e){for(var t=[],r=e.length*32,o="0123456789abcdef",s=0;s<r;s+=8){var i=e[s>>5]>>>s%32&255,n=parseInt(o.charAt(i>>>4&15)+o.charAt(i&15),16);t.push(n)}return t}function H$e(e){return(e+64>>>9<<4)+14+1}function vnr(e,t){e[t>>5]|=128<<t%32,e[H$e(t)-1]=t;for(var r=1732584193,o=-271733879,s=-1732584194,i=271733878,n=0;n<e.length;n+=16){var a=r,u=o,c=s,d=i;r=Wu(r,o,s,i,e[n],7,-680876936),i=Wu(i,r,o,s,e[n+1],12,-389564586),s=Wu(s,i,r,o,e[n+2],17,606105819),o=Wu(o,s,i,r,e[n+3],22,-1044525330),r=Wu(r,o,s,i,e[n+4],7,-176418897),i=Wu(i,r,o,s,e[n+5],12,1200080426),s=Wu(s,i,r,o,e[n+6],17,-1473231341),o=Wu(o,s,i,r,e[n+7],22,-45705983),r=Wu(r,o,s,i,e[n+8],7,1770035416),i=Wu(i,r,o,s,e[n+9],12,-1958414417),s=Wu(s,i,r,o,e[n+10],17,-42063),o=Wu(o,s,i,r,e[n+11],22,-1990404162),r=Wu(r,o,s,i,e[n+12],7,1804603682),i=Wu(i,r,o,s,e[n+13],12,-40341101),s=Wu(s,i,r,o,e[n+14],17,-1502002290),o=Wu(o,s,i,r,e[n+15],22,1236535329),r=zu(r,o,s,i,e[n+1],5,-165796510),i=zu(i,r,o,s,e[n+6],9,-1069501632),s=zu(s,i,r,o,e[n+11],14,643717713),o=zu(o,s,i,r,e[n],20,-373897302),r=zu(r,o,s,i,e[n+5],5,-701558691),i=zu(i,r,o,s,e[n+10],9,38016083),s=zu(s,i,r,o,e[n+15],14,-660478335),o=zu(o,s,i,r,e[n+4],20,-405537848),r=zu(r,o,s,i,e[n+9],5,568446438),i=zu(i,r,o,s,e[n+14],9,-1019803690),s=zu(s,i,r,o,e[n+3],14,-187363961),o=zu(o,s,i,r,e[n+8],20,1163531501),r=zu(r,o,s,i,e[n+13],5,-1444681467),i=zu(i,r,o,s,e[n+2],9,-51403784),s=zu(s,i,r,o,e[n+7],14,1735328473),o=zu(o,s,i,r,e[n+12],20,-1926607734),r=Ku(r,o,s,i,e[n+5],4,-378558),i=Ku(i,r,o,s,e[n+8],11,-2022574463),s=Ku(s,i,r,o,e[n+11],16,1839030562),o=Ku(o,s,i,r,e[n+14],23,-35309556),r=Ku(r,o,s,i,e[n+1],4,-1530992060),i=Ku(i,r,o,s,e[n+4],11,1272893353),s=Ku(s,i,r,o,e[n+7],16,-155497632),o=Ku(o,s,i,r,e[n+10],23,-1094730640),r=Ku(r,o,s,i,e[n+13],4,681279174),i=Ku(i,r,o,s,e[n],11,-358537222),s=Ku(s,i,r,o,e[n+3],16,-722521979),o=Ku(o,s,i,r,e[n+6],23,76029189),r=Ku(r,o,s,i,e[n+9],4,-640364487),i=Ku(i,r,o,s,e[n+12],11,-421815835),s=Ku(s,i,r,o,e[n+15],16,530742520),o=Ku(o,s,i,r,e[n+2],23,-995338651),r=Hu(r,o,s,i,e[n],6,-198630844),i=Hu(i,r,o,s,e[n+7],10,1126891415),s=Hu(s,i,r,o,e[n+14],15,-1416354905),o=Hu(o,s,i,r,e[n+5],21,-57434055),r=Hu(r,o,s,i,e[n+12],6,1700485571),i=Hu(i,r,o,s,e[n+3],10,-1894986606),s=Hu(s,i,r,o,e[n+10],15,-1051523),o=Hu(o,s,i,r,e[n+1],21,-2054922799),r=Hu(r,o,s,i,e[n+8],6,1873313359),i=Hu(i,r,o,s,e[n+15],10,-30611744),s=Hu(s,i,r,o,e[n+6],15,-1560198380),o=Hu(o,s,i,r,e[n+13],21,1309151649),r=Hu(r,o,s,i,e[n+4],6,-145523070),i=Hu(i,r,o,s,e[n+11],10,-1120210379),s=Hu(s,i,r,o,e[n+2],15,718787259),o=Hu(o,s,i,r,e[n+9],21,-343485551),r=Bw(r,a),o=Bw(o,u),s=Bw(s,c),i=Bw(i,d)}return[r,o,s,i]}function wnr(e){if(e.length===0)return[];for(var t=e.length*8,r=new Uint32Array(H$e(t)),o=0;o<t;o+=8)r[o>>5]|=(e[o/8]&255)<<o%32;return r}function Bw(e,t){var r=(e&65535)+(t&65535),o=(e>>16)+(t>>16)+(r>>16);return o<<16|r&65535}function xnr(e,t){return e<<t|e>>>32-t}function Cq(e,t,r,o,s,i){return Bw(xnr(Bw(Bw(t,e),Bw(o,i)),s),r)}function Wu(e,t,r,o,s,i,n){return Cq(t&r|~t&o,e,t,s,i,n)}function zu(e,t,r,o,s,i,n){return Cq(t&o|r&~o,e,t,s,i,n)}function Ku(e,t,r,o,s,i,n){return Cq(t^r^o,e,t,s,i,n)}function Hu(e,t,r,o,s,i,n){return Cq(r^(t|~o),e,t,s,i,n)}var q$e,j$e=En(()=>{m(),q$e=mnr}),Anr,G$e,V$e=En(()=>{m(),$de(),j$e(),Anr=Sq("v3",48,q$e),G$e=Anr});function Enr(e,t,r){e=e||{};var o=e.random||(e.rng||mB)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t){r=r||0;for(var s=0;s<16;++s)t[r+s]=o[s];return t}return Pw(o)}var J$e,X$e=En(()=>{m(),Jde(),vB(),J$e=Enr});function Tnr(e,t,r,o){switch(e){case 0:return t&r^~t&o;case 1:return t^r^o;case 2:return t&r^t&o^r&o;case 3:return t^r^o}}function ehe(e,t){return e<<t|e>>>32-t}function Snr(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof e=="string"){var o=unescape(encodeURIComponent(e));e=[];for(var s=0;s<o.length;++s)e.push(o.charCodeAt(s))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var i=e.length/4+2,n=Math.ceil(i/16),a=new Array(n),u=0;u<n;++u){for(var c=new Uint32Array(16),d=0;d<16;++d)c[d]=e[u*64+d*4]<<24|e[u*64+d*4+1]<<16|e[u*64+d*4+2]<<8|e[u*64+d*4+3];a[u]=c}a[n-1][14]=(e.length-1)*8/Math.pow(2,32),a[n-1][14]=Math.floor(a[n-1][14]),a[n-1][15]=(e.length-1)*8&4294967295;for(var h=0;h<n;++h){for(var y=new Uint32Array(80),C=0;C<16;++C)y[C]=a[h][C];for(var w=16;w<80;++w)y[w]=ehe(y[w-3]^y[w-8]^y[w-14]^y[w-16],1);for(var T=r[0],A=r[1],O=r[2],v=r[3],B=r[4],R=0;R<80;++R){var U=Math.floor(R/20),N=ehe(T,5)+Tnr(U,A,O,v)+B+t[U]+y[R]>>>0;B=v,v=O,O=ehe(A,30)>>>0,A=T,T=N}r[0]=r[0]+T>>>0,r[1]=r[1]+A>>>0,r[2]=r[2]+O>>>0,r[3]=r[3]+v>>>0,r[4]=r[4]+B>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}var Y$e,Q$e=En(()=>{m(),Y$e=Snr}),Cnr,Z$e,$$e=En(()=>{m(),$de(),Q$e(),Cnr=Sq("v5",80,Y$e),Z$e=Cnr}),eet,tet=En(()=>{m(),eet="00000000-0000-0000-0000-000000000000"});function Inr(e){if(!Ow(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var ret,net=En(()=>{m(),bB(),ret=Inr}),the={};Vr(the,{NIL:()=>eet,parse:()=>Tq,stringify:()=>Pw,v1:()=>z$e,v3:()=>G$e,v4:()=>J$e,v5:()=>Z$e,validate:()=>Ow,version:()=>ret});var rhe=En(()=>{m(),K$e(),V$e(),X$e(),$$e(),tet(),net(),bB(),vB(),Zde()}),oet=W((e,t)=>{"use strict";m();var r=(rhe(),tN(the)).v4,o=function(s,i,n,a){if(typeof s!="string")throw new TypeError(s+" must be a string");a=a||{};let u=typeof a.version=="number"?a.version:2;if(u!==1&&u!==2)throw new TypeError(u+" must be 1 or 2");let c={method:s};if(u===2&&(c.jsonrpc="2.0"),i){if(typeof i!="object"&&!Array.isArray(i))throw new TypeError(i+" must be an object, array or omitted");c.params=i}if(typeof n>"u"){let d=typeof a.generator=="function"?a.generator:function(){return r()};c.id=d(c,a)}else u===2&&n===null?a.notificationIdNull&&(c.id=null):c.id=n;return c};t.exports=o}),aet=W((e,t)=>{"use strict";m();var r=(rhe(),tN(the)).v4,o=oet(),s=function(i,n){if(!(this instanceof s))return new s(i,n);n||(n={}),this.options={reviver:typeof n.reviver<"u"?n.reviver:null,replacer:typeof n.replacer<"u"?n.replacer:null,generator:typeof n.generator<"u"?n.generator:function(){return r()},version:typeof n.version<"u"?n.version:2,notificationIdNull:typeof n.notificationIdNull=="boolean"?n.notificationIdNull:!1},this.callServer=i};t.exports=s,s.prototype.request=function(i,n,a,u){let c=this,d=null,h=Array.isArray(i)&&typeof n=="function";if(this.options.version===1&&h)throw new TypeError("JSON-RPC 1.0 does not support batching");if(h||!h&&i&&typeof i=="object"&&typeof n=="function")u=n,d=i;else{typeof a=="function"&&(u=a,a=void 0);let C=typeof u=="function";try{d=o(i,n,a,{generator:this.options.generator,version:this.options.version,notificationIdNull:this.options.notificationIdNull})}catch(w){if(C)return u(w);throw w}if(!C)return d}let y;try{y=JSON.stringify(d,this.options.replacer)}catch(C){return u(C)}return this.callServer(y,function(C,w){c._parseResponse(C,w,u)}),d},s.prototype._parseResponse=function(i,n,a){if(i){a(i);return}if(!n)return a();let u;try{u=JSON.parse(n,this.options.reviver)}catch(c){return a(c)}if(a.length===3)if(Array.isArray(u)){let c=function(h){return typeof h.error<"u"},d=function(h){return!c(h)};return a(null,u.filter(c),u.filter(d))}else return a(null,u.error,u.result);a(null,u)}}),het=W(e=>{"use strict";m();var t=Go(),r=Qf(),o=class extends r.EventEmitter{socket;constructor(u,c,d){super(),this.socket=new window.WebSocket(u,d),this.socket.onopen=()=>this.emit("open"),this.socket.onmessage=h=>this.emit("message",h.data),this.socket.onerror=h=>this.emit("error",h),this.socket.onclose=h=>{this.emit("close",h.code,h.reason)}}send(u,c,d){let h=d||c;try{this.socket.send(u),h()}catch(y){h(y)}}close(u,c){this.socket.close(u,c)}addEventListener(u,c,d){this.socket.addEventListener(u,c,d)}};function s(u,c){return new o(u,c)}var i=class{encode(u){return JSON.stringify(u)}decode(u){return JSON.parse(u)}},n=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(u,c="ws://localhost:8080",{autoconnect:d=!0,reconnect:h=!0,reconnect_interval:y=1e3,max_reconnects:C=5,...w}={},T,A){super(),this.webSocketFactory=u,this.queue={},this.rpc_id=0,this.address=c,this.autoconnect=d,this.ready=!1,this.reconnect=h,this.reconnect_timer_id=void 0,this.reconnect_interval=y,this.max_reconnects=C,this.rest_options=w,this.current_reconnects=0,this.generate_request_id=T||(()=>typeof this.rpc_id=="number"?++this.rpc_id:Number(this.rpc_id)+1),A?this.dataPack=A:this.dataPack=new i,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(u,c,d,h){return!h&&typeof d=="object"&&(h=d,d=null),new Promise((y,C)=>{if(!this.ready)return C(new Error("socket not ready"));let w=this.generate_request_id(u,c),T={jsonrpc:"2.0",method:u,params:c||void 0,id:w};this.socket.send(this.dataPack.encode(T),h,A=>{if(A)return C(A);this.queue[w]={promise:[y,C]},d&&(this.queue[w].timeout=setTimeout(()=>{delete this.queue[w],C(new Error("reply timeout"))},d))})})}async login(u){let c=await this.call("rpc.login",u);if(!c)throw new Error("authentication failed");return c}async listMethods(){return await this.call("__listMethods")}notify(u,c){return new Promise((d,h)=>{if(!this.ready)return h(new Error("socket not ready"));let y={jsonrpc:"2.0",method:u,params:c};this.socket.send(this.dataPack.encode(y),C=>{if(C)return h(C);d()})})}async subscribe(u){typeof u=="string"&&(u=[u]);let c=await this.call("rpc.on",u);if(typeof u=="string"&&c[u]!=="ok")throw new Error("Failed subscribing to an event '"+u+"' with: "+c[u]);return c}async unsubscribe(u){typeof u=="string"&&(u=[u]);let c=await this.call("rpc.off",u);if(typeof u=="string"&&c[u]!=="ok")throw new Error("Failed unsubscribing from an event with: "+c);return c}close(u,c){this.socket.close(u||1e3,c)}setAutoReconnect(u){this.reconnect=u}setReconnectInterval(u){this.reconnect_interval=u}setMaxReconnects(u){this.max_reconnects=u}_connect(u,c){clearTimeout(this.reconnect_timer_id),this.socket=this.webSocketFactory(u,c),this.socket.addEventListener("open",()=>{this.ready=!0,this.emit("open"),this.current_reconnects=0}),this.socket.addEventListener("message",({data:d})=>{d instanceof ArrayBuffer&&(d=t.Buffer.from(d).toString());try{d=this.dataPack.decode(d)}catch{return}if(d.notification&&this.listeners(d.notification).length){if(!Object.keys(d.params).length)return this.emit(d.notification);let h=[d.notification];if(d.params.constructor===Object)h.push(d.params);else for(let y=0;y<d.params.length;y++)h.push(d.params[y]);return Promise.resolve().then(()=>{this.emit.apply(this,h)})}if(!this.queue[d.id])return d.method?Promise.resolve().then(()=>{this.emit(d.method,d?.params)}):void 0;"error"in d=="result"in d&&this.queue[d.id].promise[1](new Error('Server response malformed. Response must include either "result" or "error", but not both.')),this.queue[d.id].timeout&&clearTimeout(this.queue[d.id].timeout),d.error?this.queue[d.id].promise[1](d.error):this.queue[d.id].promise[0](d.result),delete this.queue[d.id]}),this.socket.addEventListener("error",d=>this.emit("error",d)),this.socket.addEventListener("close",({code:d,reason:h})=>{this.ready&&setTimeout(()=>this.emit("close",d,h),0),this.ready=!1,this.socket=void 0,d!==1e3&&(this.current_reconnects++,this.reconnect&&(this.max_reconnects>this.current_reconnects||this.max_reconnects===0)&&(this.reconnect_timer_id=setTimeout(()=>this._connect(u,c),this.reconnect_interval)))})}},a=class extends n{constructor(u="ws://localhost:8080",{autoconnect:c=!0,reconnect:d=!0,reconnect_interval:h=1e3,max_reconnects:y=5}={},C){super(s,u,{autoconnect:c,reconnect:d,reconnect_interval:h,max_reconnects:y},C)}};e.Client=a,e.CommonClient=n,e.DefaultDataPack=i,e.WebSocket=s}),ott=W(e=>{"use strict";m();var t=Go(),r=qre(),o=sS(),s=E$e(),i=YO(),n=_$e(),a=R$e(),u=N$e(),c=U$e(),d=aet(),h=het(),y=K3(),C=IL();function w(le){return le&&typeof le=="object"&&"default"in le?le:{default:le}}function T(le){if(le&&typeof le=="object"&&"default"in le)return le;var se=Object.create(null);return le&&Object.keys(le).forEach(function(we){if(we!=="default"){var ke=Object.getOwnPropertyDescriptor(le,we);Object.defineProperty(se,we,ke.get?ke:{enumerable:!0,get:function(){return le[we]}})}}),se.default=le,Object.freeze(se)}var A=w(o),O=w(s),v=T(a),B=w(d),R=r.ed25519.utils.randomPrivateKey,U=()=>{let le=r.ed25519.utils.randomPrivateKey(),se=N(le),we=new Uint8Array(64);return we.set(le),we.set(se,32),{publicKey:se,secretKey:we}},N=r.ed25519.getPublicKey;function _(le){try{return r.ed25519.ExtendedPoint.fromHex(le),!0}catch{return!1}}var L=(le,se)=>r.ed25519.sign(le,se.slice(0,32)),H=r.ed25519.verify,F=le=>t.Buffer.isBuffer(le)?le:le instanceof Uint8Array?t.Buffer.from(le.buffer,le.byteOffset,le.byteLength):t.Buffer.from(le),G=class{constructor(le){Object.assign(this,le)}encode(){return t.Buffer.from(n.serialize(p,this))}static decode(le){return n.deserialize(p,this,le)}static decodeUnchecked(le){return n.deserializeUnchecked(p,this,le)}},l=class extends G{constructor(le){if(super(le),this.enum="",Object.keys(le).length!==1)throw new Error("Enum can only take single value");Object.keys(le).map(se=>{this.enum=se})}},p=new Map,E,g=32,b=32;function k(le){return le._bn!==void 0}var x=1,S=class dc extends G{constructor(se){if(super({}),this._bn=void 0,k(se))this._bn=se._bn;else{if(typeof se=="string"){let we=O.default.decode(se);if(we.length!=b)throw new Error("Invalid public key input");this._bn=new A.default(we)}else this._bn=new A.default(se);if(this._bn.byteLength()>b)throw new Error("Invalid public key input")}}static unique(){let se=new dc(x);return x+=1,new dc(se.toBuffer())}equals(se){return this._bn.eq(se._bn)}toBase58(){return O.default.encode(this.toBytes())}toJSON(){return this.toBase58()}toBytes(){let se=this.toBuffer();return new Uint8Array(se.buffer,se.byteOffset,se.byteLength)}toBuffer(){let se=this._bn.toArrayLike(t.Buffer);if(se.length===b)return se;let we=t.Buffer.alloc(32);return se.copy(we,32-se.length),we}get[Symbol.toStringTag](){return`PublicKey(${this.toString()})`}toString(){return this.toBase58()}static async createWithSeed(se,we,ke){let qe=t.Buffer.concat([se.toBuffer(),t.Buffer.from(we),ke.toBuffer()]),ot=i.sha256(qe);return new dc(ot)}static createProgramAddressSync(se,we){let ke=t.Buffer.alloc(0);se.forEach(function(ot){if(ot.length>g)throw new TypeError("Max seed length exceeded");ke=t.Buffer.concat([ke,F(ot)])}),ke=t.Buffer.concat([ke,we.toBuffer(),t.Buffer.from("ProgramDerivedAddress")]);let qe=i.sha256(ke);if(_(qe))throw new Error("Invalid seeds, address must fall off the curve");return new dc(qe)}static async createProgramAddress(se,we){return this.createProgramAddressSync(se,we)}static findProgramAddressSync(se,we){let ke=255,qe;for(;ke!=0;){try{let ot=se.concat(t.Buffer.from([ke]));qe=this.createProgramAddressSync(ot,we)}catch(ot){if(ot instanceof TypeError)throw ot;ke--;continue}return[qe,ke]}throw new Error("Unable to find a viable program address nonce")}static async findProgramAddress(se,we){return this.findProgramAddressSync(se,we)}static isOnCurve(se){let we=new dc(se);return _(we.toBytes())}};E=S,S.default=new E("11111111111111111111111111111111"),p.set(S,{kind:"struct",fields:[["_bn","u256"]]});var f=class{constructor(le){if(this._publicKey=void 0,this._secretKey=void 0,le){let se=F(le);if(le.length!==64)throw new Error("bad secret key size");this._publicKey=se.slice(32,64),this._secretKey=se.slice(0,32)}else this._secretKey=F(R()),this._publicKey=F(N(this._secretKey))}get publicKey(){return new S(this._publicKey)}get secretKey(){return t.Buffer.concat([this._secretKey,this._publicKey],64)}},M=new S("BPFLoader1111111111111111111111111111111111"),V=1232,D=127,j=64,Y=class extends Error{constructor(le){super(`Signature ${le} has expired: block height exceeded.`),this.signature=void 0,this.signature=le}};Object.defineProperty(Y.prototype,"name",{value:"TransactionExpiredBlockheightExceededError"});var oe=class extends Error{constructor(le,se){super(`Transaction was not confirmed in ${se.toFixed(2)} seconds. It is unknown if it succeeded or failed. Check signature ${le} using the Solana Explorer or CLI tools.`),this.signature=void 0,this.signature=le}};Object.defineProperty(oe.prototype,"name",{value:"TransactionExpiredTimeoutError"});var de=class extends Error{constructor(le){super(`Signature ${le} has expired: the nonce is no longer valid.`),this.signature=void 0,this.signature=le}};Object.defineProperty(de.prototype,"name",{value:"TransactionExpiredNonceInvalidError"});var ue=class{constructor(le,se){this.staticAccountKeys=void 0,this.accountKeysFromLookups=void 0,this.staticAccountKeys=le,this.accountKeysFromLookups=se}keySegments(){let le=[this.staticAccountKeys];return this.accountKeysFromLookups&&(le.push(this.accountKeysFromLookups.writable),le.push(this.accountKeysFromLookups.readonly)),le}get(le){for(let se of this.keySegments()){if(le<se.length)return se[le];le-=se.length}}get length(){return this.keySegments().flat().length}compileInstructions(le){if(this.length>256)throw new Error("Account index overflow encountered during compilation");let se=new Map;this.keySegments().flat().forEach((ke,qe)=>{se.set(ke.toBase58(),qe)});let we=ke=>{let qe=se.get(ke.toBase58());if(qe===void 0)throw new Error("Encountered an unknown instruction account key during compilation");return qe};return le.map(ke=>({programIdIndex:we(ke.programId),accountKeyIndexes:ke.keys.map(qe=>we(qe.pubkey)),data:ke.data}))}},ae=(le="publicKey")=>v.blob(32,le),q=(le="signature")=>v.blob(64,le),ne=(le="string")=>{let se=v.struct([v.u32("length"),v.u32("lengthPadding"),v.blob(v.offset(v.u32(),-8),"chars")],le),we=se.decode.bind(se),ke=se.encode.bind(se),qe=se;return qe.decode=(ot,St)=>we(ot,St).chars.toString(),qe.encode=(ot,St,lr)=>{let Or={chars:t.Buffer.from(ot,"utf8")};return ke(Or,St,lr)},qe.alloc=ot=>v.u32().span+v.u32().span+t.Buffer.from(ot,"utf8").length,qe},me=(le="authorized")=>v.struct([ae("staker"),ae("withdrawer")],le),ve=(le="lockup")=>v.struct([v.ns64("unixTimestamp"),v.ns64("epoch"),ae("custodian")],le),ge=(le="voteInit")=>v.struct([ae("nodePubkey"),ae("authorizedVoter"),ae("authorizedWithdrawer"),v.u8("commission")],le),ce=(le="voteAuthorizeWithSeedArgs")=>v.struct([v.u32("voteAuthorizationType"),ae("currentAuthorityDerivedKeyOwnerPubkey"),ne("currentAuthorityDerivedKeySeed"),ae("newAuthorized")],le);function ee(le,se){let we=qe=>{if(qe.span>=0)return qe.span;if(typeof qe.alloc=="function")return qe.alloc(se[qe.property]);if("count"in qe&&"elementLayout"in qe){let ot=se[qe.property];if(Array.isArray(ot))return ot.length*we(qe.elementLayout)}else if("fields"in qe)return ee({layout:qe},se[qe.property]);return 0},ke=0;return le.layout.fields.forEach(qe=>{ke+=we(qe)}),ke}function fe(le){let se=0,we=0;for(;;){let ke=le.shift();if(se|=(ke&127)<<we*7,we+=1,!(ke&128))break}return se}function ie(le,se){let we=se;for(;;){let ke=we&127;if(we>>=7,we==0){le.push(ke);break}else ke|=128,le.push(ke)}}function re(le,se){if(!le)throw new Error(se||"Assertion failed")}var Oe=class N1{constructor(se,we){this.payer=void 0,this.keyMetaMap=void 0,this.payer=se,this.keyMetaMap=we}static compile(se,we){let ke=new Map,qe=St=>{let lr=St.toBase58(),Or=ke.get(lr);return Or===void 0&&(Or={isSigner:!1,isWritable:!1,isInvoked:!1},ke.set(lr,Or)),Or},ot=qe(we);ot.isSigner=!0,ot.isWritable=!0;for(let St of se){qe(St.programId).isInvoked=!0;for(let lr of St.keys){let Or=qe(lr.pubkey);Or.isSigner||=lr.isSigner,Or.isWritable||=lr.isWritable}}return new N1(we,ke)}getMessageComponents(){let se=[...this.keyMetaMap.entries()];re(se.length<=256,"Max static account keys length exceeded");let we=se.filter(([,Or])=>Or.isSigner&&Or.isWritable),ke=se.filter(([,Or])=>Or.isSigner&&!Or.isWritable),qe=se.filter(([,Or])=>!Or.isSigner&&Or.isWritable),ot=se.filter(([,Or])=>!Or.isSigner&&!Or.isWritable),St={numRequiredSignatures:we.length+ke.length,numReadonlySignedAccounts:ke.length,numReadonlyUnsignedAccounts:ot.length};{re(we.length>0,"Expected at least one writable signer key");let[Or]=we[0];re(Or===this.payer.toBase58(),"Expected first writable signer key to be the fee payer")}let lr=[...we.map(([Or])=>new S(Or)),...ke.map(([Or])=>new S(Or)),...qe.map(([Or])=>new S(Or)),...ot.map(([Or])=>new S(Or))];return[St,lr]}extractTableLookup(se){let[we,ke]=this.drainKeysFoundInLookupTable(se.state.addresses,St=>!St.isSigner&&!St.isInvoked&&St.isWritable),[qe,ot]=this.drainKeysFoundInLookupTable(se.state.addresses,St=>!St.isSigner&&!St.isInvoked&&!St.isWritable);if(!(we.length===0&&qe.length===0))return[{accountKey:se.key,writableIndexes:we,readonlyIndexes:qe},{writable:ke,readonly:ot}]}drainKeysFoundInLookupTable(se,we){let ke=new Array,qe=new Array;for(let[ot,St]of this.keyMetaMap.entries())if(we(St)){let lr=new S(ot),Or=se.findIndex(tn=>tn.equals(lr));Or>=0&&(re(Or<256,"Max lookup table index exceeded"),ke.push(Or),qe.push(lr),this.keyMetaMap.delete(ot))}return[ke,qe]}},Pe="Reached end of buffer unexpectedly";function Ne(le){if(le.length===0)throw new Error(Pe);return le.shift()}function Xe(le,...se){let[we]=se;if(se.length===2?we+(se[1]??0)>le.length:we>=le.length)throw new Error(Pe);return le.splice(...se)}var Je=class Rh{constructor(se){this.header=void 0,this.accountKeys=void 0,this.recentBlockhash=void 0,this.instructions=void 0,this.indexToProgramIds=new Map,this.header=se.header,this.accountKeys=se.accountKeys.map(we=>new S(we)),this.recentBlockhash=se.recentBlockhash,this.instructions=se.instructions,this.instructions.forEach(we=>this.indexToProgramIds.set(we.programIdIndex,this.accountKeys[we.programIdIndex]))}get version(){return"legacy"}get staticAccountKeys(){return this.accountKeys}get compiledInstructions(){return this.instructions.map(se=>({programIdIndex:se.programIdIndex,accountKeyIndexes:se.accounts,data:O.default.decode(se.data)}))}get addressTableLookups(){return[]}getAccountKeys(){return new ue(this.staticAccountKeys)}static compile(se){let we=Oe.compile(se.instructions,se.payerKey),[ke,qe]=we.getMessageComponents(),ot=new ue(qe).compileInstructions(se.instructions).map(St=>({programIdIndex:St.programIdIndex,accounts:St.accountKeyIndexes,data:O.default.encode(St.data)}));return new Rh({header:ke,accountKeys:qe,recentBlockhash:se.recentBlockhash,instructions:ot})}isAccountSigner(se){return se<this.header.numRequiredSignatures}isAccountWritable(se){let we=this.header.numRequiredSignatures;if(se>=this.header.numRequiredSignatures){let ke=se-we,qe=this.accountKeys.length-we-this.header.numReadonlyUnsignedAccounts;return ke<qe}else{let ke=we-this.header.numReadonlySignedAccounts;return se<ke}}isProgramId(se){return this.indexToProgramIds.has(se)}programIds(){return[...this.indexToProgramIds.values()]}nonProgramIds(){return this.accountKeys.filter((se,we)=>!this.isProgramId(we))}serialize(){let se=this.accountKeys.length,we=[];ie(we,se);let ke=this.instructions.map(Qr=>{let{accounts:rn,programIdIndex:Zr}=Qr,yn=Array.from(O.default.decode(Qr.data)),en=[];ie(en,rn.length);let Ln=[];return ie(Ln,yn.length),{programIdIndex:Zr,keyIndicesCount:t.Buffer.from(en),keyIndices:rn,dataLength:t.Buffer.from(Ln),data:yn}}),qe=[];ie(qe,ke.length);let ot=t.Buffer.alloc(V);t.Buffer.from(qe).copy(ot);let St=qe.length;ke.forEach(Qr=>{let rn=v.struct([v.u8("programIdIndex"),v.blob(Qr.keyIndicesCount.length,"keyIndicesCount"),v.seq(v.u8("keyIndex"),Qr.keyIndices.length,"keyIndices"),v.blob(Qr.dataLength.length,"dataLength"),v.seq(v.u8("userdatum"),Qr.data.length,"data")]).encode(Qr,ot,St);St+=rn}),ot=ot.slice(0,St);let lr=v.struct([v.blob(1,"numRequiredSignatures"),v.blob(1,"numReadonlySignedAccounts"),v.blob(1,"numReadonlyUnsignedAccounts"),v.blob(we.length,"keyCount"),v.seq(ae("key"),se,"keys"),ae("recentBlockhash")]),Or={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(we),keys:this.accountKeys.map(Qr=>F(Qr.toBytes())),recentBlockhash:O.default.decode(this.recentBlockhash)},tn=t.Buffer.alloc(2048),pn=lr.encode(Or,tn);return ot.copy(tn,pn),tn.slice(0,pn+ot.length)}static from(se){let we=[...se],ke=Ne(we);if(ke!==(ke&D))throw new Error("Versioned messages must be deserialized with VersionedMessage.deserialize()");let qe=Ne(we),ot=Ne(we),St=fe(we),lr=[];for(let rn=0;rn<St;rn++){let Zr=Xe(we,0,b);lr.push(new S(t.Buffer.from(Zr)))}let Or=Xe(we,0,b),tn=fe(we),pn=[];for(let rn=0;rn<tn;rn++){let Zr=Ne(we),yn=fe(we),en=Xe(we,0,yn),Ln=fe(we),Nn=Xe(we,0,Ln),Wi=O.default.encode(t.Buffer.from(Nn));pn.push({programIdIndex:Zr,accounts:en,data:Wi})}let Qr={header:{numRequiredSignatures:ke,numReadonlySignedAccounts:qe,numReadonlyUnsignedAccounts:ot},recentBlockhash:O.default.encode(t.Buffer.from(Or)),accountKeys:lr,instructions:pn};return new Rh(Qr)}},ft=class Dh{constructor(se){this.header=void 0,this.staticAccountKeys=void 0,this.recentBlockhash=void 0,this.compiledInstructions=void 0,this.addressTableLookups=void 0,this.header=se.header,this.staticAccountKeys=se.staticAccountKeys,this.recentBlockhash=se.recentBlockhash,this.compiledInstructions=se.compiledInstructions,this.addressTableLookups=se.addressTableLookups}get version(){return 0}get numAccountKeysFromLookups(){let se=0;for(let we of this.addressTableLookups)se+=we.readonlyIndexes.length+we.writableIndexes.length;return se}getAccountKeys(se){let we;if(se&&"accountKeysFromLookups"in se&&se.accountKeysFromLookups){if(this.numAccountKeysFromLookups!=se.accountKeysFromLookups.writable.length+se.accountKeysFromLookups.readonly.length)throw new Error("Failed to get account keys because of a mismatch in the number of account keys from lookups");we=se.accountKeysFromLookups}else if(se&&"addressLookupTableAccounts"in se&&se.addressLookupTableAccounts)we=this.resolveAddressTableLookups(se.addressLookupTableAccounts);else if(this.addressTableLookups.length>0)throw new Error("Failed to get account keys because address table lookups were not resolved");return new ue(this.staticAccountKeys,we)}isAccountSigner(se){return se<this.header.numRequiredSignatures}isAccountWritable(se){let we=this.header.numRequiredSignatures,ke=this.staticAccountKeys.length;if(se>=ke){let qe=se-ke,ot=this.addressTableLookups.reduce((St,lr)=>St+lr.writableIndexes.length,0);return qe<ot}else if(se>=this.header.numRequiredSignatures){let qe=se-we,ot=ke-we-this.header.numReadonlyUnsignedAccounts;return qe<ot}else{let qe=we-this.header.numReadonlySignedAccounts;return se<qe}}resolveAddressTableLookups(se){let we={writable:[],readonly:[]};for(let ke of this.addressTableLookups){let qe=se.find(ot=>ot.key.equals(ke.accountKey));if(!qe)throw new Error(`Failed to find address lookup table account for table key ${ke.accountKey.toBase58()}`);for(let ot of ke.writableIndexes)if(ot<qe.state.addresses.length)we.writable.push(qe.state.addresses[ot]);else throw new Error(`Failed to find address for index ${ot} in address lookup table ${ke.accountKey.toBase58()}`);for(let ot of ke.readonlyIndexes)if(ot<qe.state.addresses.length)we.readonly.push(qe.state.addresses[ot]);else throw new Error(`Failed to find address for index ${ot} in address lookup table ${ke.accountKey.toBase58()}`)}return we}static compile(se){let we=Oe.compile(se.instructions,se.payerKey),ke=new Array,qe={writable:new Array,readonly:new Array},ot=se.addressLookupTableAccounts||[];for(let tn of ot){let pn=we.extractTableLookup(tn);if(pn!==void 0){let[Qr,{writable:rn,readonly:Zr}]=pn;ke.push(Qr),qe.writable.push(...rn),qe.readonly.push(...Zr)}}let[St,lr]=we.getMessageComponents(),Or=new ue(lr,qe).compileInstructions(se.instructions);return new Dh({header:St,staticAccountKeys:lr,recentBlockhash:se.recentBlockhash,compiledInstructions:Or,addressTableLookups:ke})}serialize(){let se=Array();ie(se,this.staticAccountKeys.length);let we=this.serializeInstructions(),ke=Array();ie(ke,this.compiledInstructions.length);let qe=this.serializeAddressTableLookups(),ot=Array();ie(ot,this.addressTableLookups.length);let St=v.struct([v.u8("prefix"),v.struct([v.u8("numRequiredSignatures"),v.u8("numReadonlySignedAccounts"),v.u8("numReadonlyUnsignedAccounts")],"header"),v.blob(se.length,"staticAccountKeysLength"),v.seq(ae(),this.staticAccountKeys.length,"staticAccountKeys"),ae("recentBlockhash"),v.blob(ke.length,"instructionsLength"),v.blob(we.length,"serializedInstructions"),v.blob(ot.length,"addressTableLookupsLength"),v.blob(qe.length,"serializedAddressTableLookups")]),lr=new Uint8Array(V),Or=St.encode({prefix:128,header:this.header,staticAccountKeysLength:new Uint8Array(se),staticAccountKeys:this.staticAccountKeys.map(tn=>tn.toBytes()),recentBlockhash:O.default.decode(this.recentBlockhash),instructionsLength:new Uint8Array(ke),serializedInstructions:we,addressTableLookupsLength:new Uint8Array(ot),serializedAddressTableLookups:qe},lr);return lr.slice(0,Or)}serializeInstructions(){let se=0,we=new Uint8Array(V);for(let ke of this.compiledInstructions){let qe=Array();ie(qe,ke.accountKeyIndexes.length);let ot=Array();ie(ot,ke.data.length);let St=v.struct([v.u8("programIdIndex"),v.blob(qe.length,"encodedAccountKeyIndexesLength"),v.seq(v.u8(),ke.accountKeyIndexes.length,"accountKeyIndexes"),v.blob(ot.length,"encodedDataLength"),v.blob(ke.data.length,"data")]);se+=St.encode({programIdIndex:ke.programIdIndex,encodedAccountKeyIndexesLength:new Uint8Array(qe),accountKeyIndexes:ke.accountKeyIndexes,encodedDataLength:new Uint8Array(ot),data:ke.data},we,se)}return we.slice(0,se)}serializeAddressTableLookups(){let se=0,we=new Uint8Array(V);for(let ke of this.addressTableLookups){let qe=Array();ie(qe,ke.writableIndexes.length);let ot=Array();ie(ot,ke.readonlyIndexes.length);let St=v.struct([ae("accountKey"),v.blob(qe.length,"encodedWritableIndexesLength"),v.seq(v.u8(),ke.writableIndexes.length,"writableIndexes"),v.blob(ot.length,"encodedReadonlyIndexesLength"),v.seq(v.u8(),ke.readonlyIndexes.length,"readonlyIndexes")]);se+=St.encode({accountKey:ke.accountKey.toBytes(),encodedWritableIndexesLength:new Uint8Array(qe),writableIndexes:ke.writableIndexes,encodedReadonlyIndexesLength:new Uint8Array(ot),readonlyIndexes:ke.readonlyIndexes},we,se)}return we.slice(0,se)}static deserialize(se){let we=[...se],ke=Ne(we),qe=ke&D;re(ke!==qe,"Expected versioned message but received legacy message");let ot=qe;re(ot===0,`Expected versioned message with version 0 but found version ${ot}`);let St={numRequiredSignatures:Ne(we),numReadonlySignedAccounts:Ne(we),numReadonlyUnsignedAccounts:Ne(we)},lr=[],Or=fe(we);for(let yn=0;yn<Or;yn++)lr.push(new S(Xe(we,0,b)));let tn=O.default.encode(Xe(we,0,b)),pn=fe(we),Qr=[];for(let yn=0;yn<pn;yn++){let en=Ne(we),Ln=fe(we),Nn=Xe(we,0,Ln),Wi=fe(we),ia=new Uint8Array(Xe(we,0,Wi));Qr.push({programIdIndex:en,accountKeyIndexes:Nn,data:ia})}let rn=fe(we),Zr=[];for(let yn=0;yn<rn;yn++){let en=new S(Xe(we,0,b)),Ln=fe(we),Nn=Xe(we,0,Ln),Wi=fe(we),ia=Xe(we,0,Wi);Zr.push({accountKey:en,writableIndexes:Nn,readonlyIndexes:ia})}return new Dh({header:St,staticAccountKeys:lr,recentBlockhash:tn,compiledInstructions:Qr,addressTableLookups:Zr})}},Kt={deserializeMessageVersion(le){let se=le[0],we=se&D;return we===se?"legacy":we},deserialize:le=>{let se=Kt.deserializeMessageVersion(le);if(se==="legacy")return Je.from(le);if(se===0)return ft.deserialize(le);throw new Error(`Transaction message version ${se} deserialization is not supported`)}},wt=(function(le){return le[le.BLOCKHEIGHT_EXCEEDED=0]="BLOCKHEIGHT_EXCEEDED",le[le.PROCESSED=1]="PROCESSED",le[le.TIMED_OUT=2]="TIMED_OUT",le[le.NONCE_INVALID=3]="NONCE_INVALID",le})({}),Ie=t.Buffer.alloc(j).fill(0),it=class{constructor(le){this.keys=void 0,this.programId=void 0,this.data=t.Buffer.alloc(0),this.programId=le.programId,this.keys=le.keys,le.data&&(this.data=le.data)}toJSON(){return{keys:this.keys.map(({pubkey:le,isSigner:se,isWritable:we})=>({pubkey:le.toJSON(),isSigner:se,isWritable:we})),programId:this.programId.toJSON(),data:[...this.data]}}},Ye=class _h{get signature(){return this.signatures.length>0?this.signatures[0].signature:null}constructor(se){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,!!se)if(se.feePayer&&(this.feePayer=se.feePayer),se.signatures&&(this.signatures=se.signatures),Object.prototype.hasOwnProperty.call(se,"nonceInfo")){let{minContextSlot:we,nonceInfo:ke}=se;this.minNonceContextSlot=we,this.nonceInfo=ke}else if(Object.prototype.hasOwnProperty.call(se,"lastValidBlockHeight")){let{blockhash:we,lastValidBlockHeight:ke}=se;this.recentBlockhash=we,this.lastValidBlockHeight=ke}else{let{recentBlockhash:we,nonceInfo:ke}=se;ke&&(this.nonceInfo=ke),this.recentBlockhash=we}}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(se=>se.toJSON()),signers:this.signatures.map(({publicKey:se})=>se.toJSON())}}add(...se){if(se.length===0)throw new Error("No instructions");return se.forEach(we=>{"instructions"in we?this.instructions=this.instructions.concat(we.instructions):"data"in we&&"programId"in we&&"keys"in we?this.instructions.push(we):this.instructions.push(new it(we))}),this}compileMessage(){if(this._message&&JSON.stringify(this.toJSON())===JSON.stringify(this._json))return this._message;let se,we;if(this.nonceInfo?(se=this.nonceInfo.nonce,this.instructions[0]!=this.nonceInfo.nonceInstruction?we=[this.nonceInfo.nonceInstruction,...this.instructions]:we=this.instructions):(se=this.recentBlockhash,we=this.instructions),!se)throw new Error("Transaction recentBlockhash required");we.length<1&&console.warn("No instructions provided");let ke;if(this.feePayer)ke=this.feePayer;else if(this.signatures.length>0&&this.signatures[0].publicKey)ke=this.signatures[0].publicKey;else throw new Error("Transaction fee payer required");for(let en=0;en<we.length;en++)if(we[en].programId===void 0)throw new Error(`Transaction instruction index ${en} has undefined program id`);let qe=[],ot=[];we.forEach(en=>{en.keys.forEach(Nn=>{ot.push({...Nn})});let Ln=en.programId.toString();qe.includes(Ln)||qe.push(Ln)}),qe.forEach(en=>{ot.push({pubkey:new S(en),isSigner:!1,isWritable:!1})});let St=[];ot.forEach(en=>{let Ln=en.pubkey.toString(),Nn=St.findIndex(Wi=>Wi.pubkey.toString()===Ln);Nn>-1?(St[Nn].isWritable=St[Nn].isWritable||en.isWritable,St[Nn].isSigner=St[Nn].isSigner||en.isSigner):St.push(en)}),St.sort(function(en,Ln){if(en.isSigner!==Ln.isSigner)return en.isSigner?-1:1;if(en.isWritable!==Ln.isWritable)return en.isWritable?-1:1;let Nn={localeMatcher:"best fit",usage:"sort",sensitivity:"variant",ignorePunctuation:!1,numeric:!1,caseFirst:"lower"};return en.pubkey.toBase58().localeCompare(Ln.pubkey.toBase58(),"en",Nn)});let lr=St.findIndex(en=>en.pubkey.equals(ke));if(lr>-1){let[en]=St.splice(lr,1);en.isSigner=!0,en.isWritable=!0,St.unshift(en)}else St.unshift({pubkey:ke,isSigner:!0,isWritable:!0});for(let en of this.signatures){let Ln=St.findIndex(Nn=>Nn.pubkey.equals(en.publicKey));if(Ln>-1)St[Ln].isSigner||(St[Ln].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."));else throw new Error(`unknown signer: ${en.publicKey.toString()}`)}let Or=0,tn=0,pn=0,Qr=[],rn=[];St.forEach(({pubkey:en,isSigner:Ln,isWritable:Nn})=>{Ln?(Qr.push(en.toString()),Or+=1,Nn||(tn+=1)):(rn.push(en.toString()),Nn||(pn+=1))});let Zr=Qr.concat(rn),yn=we.map(en=>{let{data:Ln,programId:Nn}=en;return{programIdIndex:Zr.indexOf(Nn.toString()),accounts:en.keys.map(Wi=>Zr.indexOf(Wi.pubkey.toString())),data:O.default.encode(Ln)}});return yn.forEach(en=>{re(en.programIdIndex>=0),en.accounts.forEach(Ln=>re(Ln>=0))}),new Je({header:{numRequiredSignatures:Or,numReadonlySignedAccounts:tn,numReadonlyUnsignedAccounts:pn},accountKeys:Zr,recentBlockhash:se,instructions:yn})}_compile(){let se=this.compileMessage(),we=se.accountKeys.slice(0,se.header.numRequiredSignatures);return this.signatures.length===we.length&&this.signatures.every((ke,qe)=>we[qe].equals(ke.publicKey))||(this.signatures=we.map(ke=>({signature:null,publicKey:ke}))),se}serializeMessage(){return this._compile().serialize()}async getEstimatedFee(se){return(await se.getFeeForMessage(this.compileMessage())).value}setSigners(...se){if(se.length===0)throw new Error("No signers");let we=new Set;this.signatures=se.filter(ke=>{let qe=ke.toString();return we.has(qe)?!1:(we.add(qe),!0)}).map(ke=>({signature:null,publicKey:ke}))}sign(...se){if(se.length===0)throw new Error("No signers");let we=new Set,ke=[];for(let ot of se){let St=ot.publicKey.toString();we.has(St)||(we.add(St),ke.push(ot))}this.signatures=ke.map(ot=>({signature:null,publicKey:ot.publicKey}));let qe=this._compile();this._partialSign(qe,...ke)}partialSign(...se){if(se.length===0)throw new Error("No signers");let we=new Set,ke=[];for(let ot of se){let St=ot.publicKey.toString();we.has(St)||(we.add(St),ke.push(ot))}let qe=this._compile();this._partialSign(qe,...ke)}_partialSign(se,...we){let ke=se.serialize();we.forEach(qe=>{let ot=L(ke,qe.secretKey);this._addSignature(qe.publicKey,F(ot))})}addSignature(se,we){this._compile(),this._addSignature(se,we)}_addSignature(se,we){re(we.length===64);let ke=this.signatures.findIndex(qe=>se.equals(qe.publicKey));if(ke<0)throw new Error(`unknown signer: ${se.toString()}`);this.signatures[ke].signature=t.Buffer.from(we)}verifySignatures(se=!0){return!this._getMessageSignednessErrors(this.serializeMessage(),se)}_getMessageSignednessErrors(se,we){let ke={};for(let{signature:qe,publicKey:ot}of this.signatures)qe===null?we&&(ke.missing||=[]).push(ot):H(qe,se,ot.toBytes())||(ke.invalid||=[]).push(ot);return ke.invalid||ke.missing?ke:void 0}serialize(se){let{requireAllSignatures:we,verifySignatures:ke}=Object.assign({requireAllSignatures:!0,verifySignatures:!0},se),qe=this.serializeMessage();if(ke){let ot=this._getMessageSignednessErrors(qe,we);if(ot){let St="Signature verification failed.";throw ot.invalid&&(St+=`
Invalid signature for public key${ot.invalid.length===1?"":"(s)"} [\`${ot.invalid.map(lr=>lr.toBase58()).join("`, `")}\`].`),ot.missing&&(St+=`
Missing signature for public key${ot.missing.length===1?"":"(s)"} [\`${ot.missing.map(lr=>lr.toBase58()).join("`, `")}\`].`),new Error(St)}}return this._serialize(qe)}_serialize(se){let{signatures:we}=this,ke=[];ie(ke,we.length);let qe=ke.length+we.length*64+se.length,ot=t.Buffer.alloc(qe);return re(we.length<256),t.Buffer.from(ke).copy(ot,0),we.forEach(({signature:St},lr)=>{St!==null&&(re(St.length===64,"signature has invalid length"),t.Buffer.from(St).copy(ot,ke.length+lr*64))}),se.copy(ot,ke.length+we.length*64),re(ot.length<=V,`Transaction too large: ${ot.length} > ${V}`),ot}get keys(){return re(this.instructions.length===1),this.instructions[0].keys.map(se=>se.pubkey)}get programId(){return re(this.instructions.length===1),this.instructions[0].programId}get data(){return re(this.instructions.length===1),this.instructions[0].data}static from(se){let we=[...se],ke=fe(we),qe=[];for(let ot=0;ot<ke;ot++){let St=Xe(we,0,j);qe.push(O.default.encode(t.Buffer.from(St)))}return _h.populate(Je.from(we),qe)}static populate(se,we=[]){let ke=new _h;return ke.recentBlockhash=se.recentBlockhash,se.header.numRequiredSignatures>0&&(ke.feePayer=se.accountKeys[0]),we.forEach((qe,ot)=>{let St={signature:qe==O.default.encode(Ie)?null:O.default.decode(qe),publicKey:se.accountKeys[ot]};ke.signatures.push(St)}),se.instructions.forEach(qe=>{let ot=qe.accounts.map(St=>{let lr=se.accountKeys[St];return{pubkey:lr,isSigner:ke.signatures.some(Or=>Or.publicKey.toString()===lr.toString())||se.isAccountSigner(St),isWritable:se.isAccountWritable(St)}});ke.instructions.push(new it({keys:ot,programId:se.accountKeys[qe.programIdIndex],data:O.default.decode(qe.data)}))}),ke._message=se,ke._json=ke.toJSON(),ke}},et=class R1{constructor(se){this.payerKey=void 0,this.instructions=void 0,this.recentBlockhash=void 0,this.payerKey=se.payerKey,this.instructions=se.instructions,this.recentBlockhash=se.recentBlockhash}static decompile(se,we){let{header:ke,compiledInstructions:qe,recentBlockhash:ot}=se,{numRequiredSignatures:St,numReadonlySignedAccounts:lr,numReadonlyUnsignedAccounts:Or}=ke,tn=St-lr;re(tn>0,"Message header is invalid");let pn=se.staticAccountKeys.length-St-Or;re(pn>=0,"Message header is invalid");let Qr=se.getAccountKeys(we),rn=Qr.get(0);if(rn===void 0)throw new Error("Failed to decompile message because no account keys were found");let Zr=[];for(let yn of qe){let en=[];for(let Nn of yn.accountKeyIndexes){let Wi=Qr.get(Nn);if(Wi===void 0)throw new Error(`Failed to find key for account key index ${Nn}`);let ia=Nn<St,ba;ia?ba=Nn<tn:Nn<Qr.staticAccountKeys.length?ba=Nn-St<pn:ba=Nn-Qr.staticAccountKeys.length<Qr.accountKeysFromLookups.writable.length,en.push({pubkey:Wi,isSigner:Nn<ke.numRequiredSignatures,isWritable:ba})}let Ln=Qr.get(yn.programIdIndex);if(Ln===void 0)throw new Error(`Failed to find program id for program id index ${yn.programIdIndex}`);Zr.push(new it({programId:Ln,data:F(yn.data),keys:en}))}return new R1({payerKey:rn,instructions:Zr,recentBlockhash:ot})}compileToLegacyMessage(){return Je.compile({payerKey:this.payerKey,recentBlockhash:this.recentBlockhash,instructions:this.instructions})}compileToV0Message(se){return ft.compile({payerKey:this.payerKey,recentBlockhash:this.recentBlockhash,instructions:this.instructions,addressLookupTableAccounts:se})}},Gt=class U1{get version(){return this.message.version}constructor(se,we){if(this.signatures=void 0,this.message=void 0,we!==void 0)re(we.length===se.header.numRequiredSignatures,"Expected signatures length to be equal to the number of required signatures"),this.signatures=we;else{let ke=[];for(let qe=0;qe<se.header.numRequiredSignatures;qe++)ke.push(new Uint8Array(j));this.signatures=ke}this.message=se}serialize(){let se=this.message.serialize(),we=Array();ie(we,this.signatures.length);let ke=v.struct([v.blob(we.length,"encodedSignaturesLength"),v.seq(q(),this.signatures.length,"signatures"),v.blob(se.length,"serializedMessage")]),qe=new Uint8Array(2048),ot=ke.encode({encodedSignaturesLength:new Uint8Array(we),signatures:this.signatures,serializedMessage:se},qe);return qe.slice(0,ot)}static deserialize(se){let we=[...se],ke=[],qe=fe(we);for(let St=0;St<qe;St++)ke.push(new Uint8Array(Xe(we,0,j)));let ot=Kt.deserialize(new Uint8Array(we));return new U1(ot,ke)}sign(se){let we=this.message.serialize(),ke=this.message.staticAccountKeys.slice(0,this.message.header.numRequiredSignatures);for(let qe of se){let ot=ke.findIndex(St=>St.equals(qe.publicKey));re(ot>=0,`Cannot sign with non signer key ${qe.publicKey.toBase58()}`),this.signatures[ot]=L(we,qe.secretKey)}}addSignature(se,we){re(we.byteLength===64,"Signature must be 64 bytes long");let ke=this.message.staticAccountKeys.slice(0,this.message.header.numRequiredSignatures).findIndex(qe=>qe.equals(se));re(ke>=0,`Can not add signature; \`${se.toBase58()}\` is not required to sign this transaction`),this.signatures[ke]=we}},It=160,Rt=64,_r=It/Rt,jt=1e3/_r,Fe=new S("SysvarC1ock11111111111111111111111111111111"),Pr=new S("SysvarEpochSchedu1e111111111111111111111111"),$t=new S("Sysvar1nstructions1111111111111111111111111"),Qt=new S("SysvarRecentB1ockHashes11111111111111111111"),At=new S("SysvarRent111111111111111111111111111111111"),ur=new S("SysvarRewards111111111111111111111111111111"),tr=new S("SysvarS1otHashes111111111111111111111111111"),Vt=new S("SysvarS1otHistory11111111111111111111111111"),bt=new S("SysvarStakeHistory1111111111111111111111111"),kt=class extends Error{constructor({action:le,signature:se,transactionMessage:we,logs:ke}){let qe=ke?`Logs: 
${JSON.stringify(ke.slice(-10),null,2)}. `:"",ot="\nCatch the `SendTransactionError` and call `getLogs()` on it for full details.",St;switch(le){case"send":St=`Transaction ${se} resulted in an error. 
${we}. `+qe+ot;break;case"simulate":St=`Simulation failed. 
Message: ${we}. 
`+qe+ot;break;default:St=`Unknown action '${(lr=>lr)(le)}'`}super(St),this.signature=void 0,this.transactionMessage=void 0,this.transactionLogs=void 0,this.signature=se,this.transactionMessage=we,this.transactionLogs=ke||void 0}get transactionError(){return{message:this.transactionMessage,logs:Array.isArray(this.transactionLogs)?this.transactionLogs:void 0}}get logs(){let le=this.transactionLogs;if(!(le!=null&&typeof le=="object"&&"then"in le))return le}async getLogs(le){return Array.isArray(this.transactionLogs)||(this.transactionLogs=new Promise((se,we)=>{le.getTransaction(this.signature).then(ke=>{if(ke&&ke.meta&&ke.meta.logMessages){let qe=ke.meta.logMessages;this.transactionLogs=qe,se(qe)}else we(new Error("Log messages not found"))}).catch(we)})),await this.transactionLogs}},er={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},Et=class extends Error{constructor({code:le,message:se,data:we},ke){super(ke!=null?`${ke}: ${se}`:se),this.code=void 0,this.data=void 0,this.code=le,this.data=we,this.name="SolanaJSONRPCError"}};async function qt(le,se,we,ke){let qe=ke&&{skipPreflight:ke.skipPreflight,preflightCommitment:ke.preflightCommitment||ke.commitment,maxRetries:ke.maxRetries,minContextSlot:ke.minContextSlot},ot=await le.sendTransaction(se,we,qe),St;if(se.recentBlockhash!=null&&se.lastValidBlockHeight!=null)St=(await le.confirmTransaction({abortSignal:ke?.abortSignal,signature:ot,blockhash:se.recentBlockhash,lastValidBlockHeight:se.lastValidBlockHeight},ke&&ke.commitment)).value;else if(se.minNonceContextSlot!=null&&se.nonceInfo!=null){let{nonceInstruction:lr}=se.nonceInfo,Or=lr.keys[0].pubkey;St=(await le.confirmTransaction({abortSignal:ke?.abortSignal,minContextSlot:se.minNonceContextSlot,nonceAccountPubkey:Or,nonceValue:se.nonceInfo.nonce,signature:ot},ke&&ke.commitment)).value}else ke?.abortSignal!=null&&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."),St=(await le.confirmTransaction(ot,ke&&ke.commitment)).value;if(St.err)throw ot!=null?new kt({action:"send",signature:ot,transactionMessage:`Status: (${JSON.stringify(St)})`}):new Error(`Transaction ${ot} failed (${JSON.stringify(St)})`);return ot}function Hr(le){return new Promise(se=>setTimeout(se,le))}function _t(le,se){let we=le.layout.span>=0?le.layout.span:ee(le,se),ke=t.Buffer.alloc(we),qe=Object.assign({instruction:le.index},se);return le.layout.encode(qe,ke),ke}function Wt(le,se){let we;try{we=le.layout.decode(se)}catch(ke){throw new Error("invalid instruction; "+ke)}if(we.instruction!==le.index)throw new Error(`invalid instruction; instruction index mismatch ${we.instruction} != ${le.index}`);return we}var qr=v.nu64("lamportsPerSignature"),Ce=v.struct([v.u32("version"),v.u32("state"),ae("authorizedPubkey"),ae("nonce"),v.struct([qr],"feeCalculator")]),_e=Ce.span,Ze=class D1{constructor(se){this.authorizedPubkey=void 0,this.nonce=void 0,this.feeCalculator=void 0,this.authorizedPubkey=se.authorizedPubkey,this.nonce=se.nonce,this.feeCalculator=se.feeCalculator}static fromAccountData(se){let we=Ce.decode(F(se),0);return new D1({authorizedPubkey:new S(we.authorizedPubkey),nonce:new S(we.nonce).toString(),feeCalculator:we.feeCalculator})}},he=le=>{let se=le.decode.bind(le),we=le.encode.bind(le);return{decode:se,encode:we}},Ke=le=>se=>{let we=a.blob(le,se),{encode:ke,decode:qe}=he(we),ot=we;return ot.decode=(St,lr)=>{let Or=qe(St,lr);return u.toBigIntLE(t.Buffer.from(Or))},ot.encode=(St,lr,Or)=>{let tn=u.toBufferLE(St,le);return ke(tn,lr,Or)},ot},Ht=Ke(8),yt=class{constructor(){}static decodeInstructionType(le){this.checkProgramId(le.programId);let se=v.u32("instruction").decode(le.data),we;for(let[ke,qe]of Object.entries(Ot))if(qe.index==se){we=ke;break}if(!we)throw new Error("Instruction type incorrect; not a SystemInstruction");return we}static decodeCreateAccount(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,2);let{lamports:se,space:we,programId:ke}=Wt(Ot.Create,le.data);return{fromPubkey:le.keys[0].pubkey,newAccountPubkey:le.keys[1].pubkey,lamports:se,space:we,programId:new S(ke)}}static decodeTransfer(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,2);let{lamports:se}=Wt(Ot.Transfer,le.data);return{fromPubkey:le.keys[0].pubkey,toPubkey:le.keys[1].pubkey,lamports:se}}static decodeTransferWithSeed(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,3);let{lamports:se,seed:we,programId:ke}=Wt(Ot.TransferWithSeed,le.data);return{fromPubkey:le.keys[0].pubkey,basePubkey:le.keys[1].pubkey,toPubkey:le.keys[2].pubkey,lamports:se,seed:we,programId:new S(ke)}}static decodeAllocate(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,1);let{space:se}=Wt(Ot.Allocate,le.data);return{accountPubkey:le.keys[0].pubkey,space:se}}static decodeAllocateWithSeed(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,1);let{base:se,seed:we,space:ke,programId:qe}=Wt(Ot.AllocateWithSeed,le.data);return{accountPubkey:le.keys[0].pubkey,basePubkey:new S(se),seed:we,space:ke,programId:new S(qe)}}static decodeAssign(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,1);let{programId:se}=Wt(Ot.Assign,le.data);return{accountPubkey:le.keys[0].pubkey,programId:new S(se)}}static decodeAssignWithSeed(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,1);let{base:se,seed:we,programId:ke}=Wt(Ot.AssignWithSeed,le.data);return{accountPubkey:le.keys[0].pubkey,basePubkey:new S(se),seed:we,programId:new S(ke)}}static decodeCreateWithSeed(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,2);let{base:se,seed:we,lamports:ke,space:qe,programId:ot}=Wt(Ot.CreateWithSeed,le.data);return{fromPubkey:le.keys[0].pubkey,newAccountPubkey:le.keys[1].pubkey,basePubkey:new S(se),seed:we,lamports:ke,space:qe,programId:new S(ot)}}static decodeNonceInitialize(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,3);let{authorized:se}=Wt(Ot.InitializeNonceAccount,le.data);return{noncePubkey:le.keys[0].pubkey,authorizedPubkey:new S(se)}}static decodeNonceAdvance(le){return this.checkProgramId(le.programId),this.checkKeyLength(le.keys,3),Wt(Ot.AdvanceNonceAccount,le.data),{noncePubkey:le.keys[0].pubkey,authorizedPubkey:le.keys[2].pubkey}}static decodeNonceWithdraw(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,5);let{lamports:se}=Wt(Ot.WithdrawNonceAccount,le.data);return{noncePubkey:le.keys[0].pubkey,toPubkey:le.keys[1].pubkey,authorizedPubkey:le.keys[4].pubkey,lamports:se}}static decodeNonceAuthorize(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,2);let{authorized:se}=Wt(Ot.AuthorizeNonceAccount,le.data);return{noncePubkey:le.keys[0].pubkey,authorizedPubkey:le.keys[1].pubkey,newAuthorizedPubkey:new S(se)}}static checkProgramId(le){if(!le.equals(hr.programId))throw new Error("invalid instruction; programId is not SystemProgram")}static checkKeyLength(le,se){if(le.length<se)throw new Error(`invalid instruction; found ${le.length} keys, expected at least ${se}`)}},Ot=Object.freeze({Create:{index:0,layout:v.struct([v.u32("instruction"),v.ns64("lamports"),v.ns64("space"),ae("programId")])},Assign:{index:1,layout:v.struct([v.u32("instruction"),ae("programId")])},Transfer:{index:2,layout:v.struct([v.u32("instruction"),Ht("lamports")])},CreateWithSeed:{index:3,layout:v.struct([v.u32("instruction"),ae("base"),ne("seed"),v.ns64("lamports"),v.ns64("space"),ae("programId")])},AdvanceNonceAccount:{index:4,layout:v.struct([v.u32("instruction")])},WithdrawNonceAccount:{index:5,layout:v.struct([v.u32("instruction"),v.ns64("lamports")])},InitializeNonceAccount:{index:6,layout:v.struct([v.u32("instruction"),ae("authorized")])},AuthorizeNonceAccount:{index:7,layout:v.struct([v.u32("instruction"),ae("authorized")])},Allocate:{index:8,layout:v.struct([v.u32("instruction"),v.ns64("space")])},AllocateWithSeed:{index:9,layout:v.struct([v.u32("instruction"),ae("base"),ne("seed"),v.ns64("space"),ae("programId")])},AssignWithSeed:{index:10,layout:v.struct([v.u32("instruction"),ae("base"),ne("seed"),ae("programId")])},TransferWithSeed:{index:11,layout:v.struct([v.u32("instruction"),Ht("lamports"),ne("seed"),ae("programId")])},UpgradeNonceAccount:{index:12,layout:v.struct([v.u32("instruction")])}}),hr=class Zh{constructor(){}static createAccount(se){let we=Ot.Create,ke=_t(we,{lamports:se.lamports,space:se.space,programId:F(se.programId.toBuffer())});return new it({keys:[{pubkey:se.fromPubkey,isSigner:!0,isWritable:!0},{pubkey:se.newAccountPubkey,isSigner:!0,isWritable:!0}],programId:this.programId,data:ke})}static transfer(se){let we,ke;if("basePubkey"in se){let qe=Ot.TransferWithSeed;we=_t(qe,{lamports:BigInt(se.lamports),seed:se.seed,programId:F(se.programId.toBuffer())}),ke=[{pubkey:se.fromPubkey,isSigner:!1,isWritable:!0},{pubkey:se.basePubkey,isSigner:!0,isWritable:!1},{pubkey:se.toPubkey,isSigner:!1,isWritable:!0}]}else{let qe=Ot.Transfer;we=_t(qe,{lamports:BigInt(se.lamports)}),ke=[{pubkey:se.fromPubkey,isSigner:!0,isWritable:!0},{pubkey:se.toPubkey,isSigner:!1,isWritable:!0}]}return new it({keys:ke,programId:this.programId,data:we})}static assign(se){let we,ke;if("basePubkey"in se){let qe=Ot.AssignWithSeed;we=_t(qe,{base:F(se.basePubkey.toBuffer()),seed:se.seed,programId:F(se.programId.toBuffer())}),ke=[{pubkey:se.accountPubkey,isSigner:!1,isWritable:!0},{pubkey:se.basePubkey,isSigner:!0,isWritable:!1}]}else{let qe=Ot.Assign;we=_t(qe,{programId:F(se.programId.toBuffer())}),ke=[{pubkey:se.accountPubkey,isSigner:!0,isWritable:!0}]}return new it({keys:ke,programId:this.programId,data:we})}static createAccountWithSeed(se){let we=Ot.CreateWithSeed,ke=_t(we,{base:F(se.basePubkey.toBuffer()),seed:se.seed,lamports:se.lamports,space:se.space,programId:F(se.programId.toBuffer())}),qe=[{pubkey:se.fromPubkey,isSigner:!0,isWritable:!0},{pubkey:se.newAccountPubkey,isSigner:!1,isWritable:!0}];return se.basePubkey.equals(se.fromPubkey)||qe.push({pubkey:se.basePubkey,isSigner:!0,isWritable:!1}),new it({keys:qe,programId:this.programId,data:ke})}static createNonceAccount(se){let we=new Ye;"basePubkey"in se&&"seed"in se?we.add(Zh.createAccountWithSeed({fromPubkey:se.fromPubkey,newAccountPubkey:se.noncePubkey,basePubkey:se.basePubkey,seed:se.seed,lamports:se.lamports,space:_e,programId:this.programId})):we.add(Zh.createAccount({fromPubkey:se.fromPubkey,newAccountPubkey:se.noncePubkey,lamports:se.lamports,space:_e,programId:this.programId}));let ke={noncePubkey:se.noncePubkey,authorizedPubkey:se.authorizedPubkey};return we.add(this.nonceInitialize(ke)),we}static nonceInitialize(se){let we=Ot.InitializeNonceAccount,ke=_t(we,{authorized:F(se.authorizedPubkey.toBuffer())}),qe={keys:[{pubkey:se.noncePubkey,isSigner:!1,isWritable:!0},{pubkey:Qt,isSigner:!1,isWritable:!1},{pubkey:At,isSigner:!1,isWritable:!1}],programId:this.programId,data:ke};return new it(qe)}static nonceAdvance(se){let we=Ot.AdvanceNonceAccount,ke=_t(we),qe={keys:[{pubkey:se.noncePubkey,isSigner:!1,isWritable:!0},{pubkey:Qt,isSigner:!1,isWritable:!1},{pubkey:se.authorizedPubkey,isSigner:!0,isWritable:!1}],programId:this.programId,data:ke};return new it(qe)}static nonceWithdraw(se){let we=Ot.WithdrawNonceAccount,ke=_t(we,{lamports:se.lamports});return new it({keys:[{pubkey:se.noncePubkey,isSigner:!1,isWritable:!0},{pubkey:se.toPubkey,isSigner:!1,isWritable:!0},{pubkey:Qt,isSigner:!1,isWritable:!1},{pubkey:At,isSigner:!1,isWritable:!1},{pubkey:se.authorizedPubkey,isSigner:!0,isWritable:!1}],programId:this.programId,data:ke})}static nonceAuthorize(se){let we=Ot.AuthorizeNonceAccount,ke=_t(we,{authorized:F(se.newAuthorizedPubkey.toBuffer())});return new it({keys:[{pubkey:se.noncePubkey,isSigner:!1,isWritable:!0},{pubkey:se.authorizedPubkey,isSigner:!0,isWritable:!1}],programId:this.programId,data:ke})}static allocate(se){let we,ke;if("basePubkey"in se){let qe=Ot.AllocateWithSeed;we=_t(qe,{base:F(se.basePubkey.toBuffer()),seed:se.seed,space:se.space,programId:F(se.programId.toBuffer())}),ke=[{pubkey:se.accountPubkey,isSigner:!1,isWritable:!0},{pubkey:se.basePubkey,isSigner:!0,isWritable:!1}]}else{let qe=Ot.Allocate;we=_t(qe,{space:se.space}),ke=[{pubkey:se.accountPubkey,isSigner:!0,isWritable:!0}]}return new it({keys:ke,programId:this.programId,data:we})}};hr.programId=new S("11111111111111111111111111111111");var Br=V-300,Er=class ef{constructor(){}static getMinNumSignatures(se){return 2*(Math.ceil(se/ef.chunkSize)+1+1)}static async load(se,we,ke,qe,ot){{let Qr=await se.getMinimumBalanceForRentExemption(ot.length),rn=await se.getAccountInfo(ke.publicKey,"confirmed"),Zr=null;if(rn!==null){if(rn.executable)return console.error("Program load failed, account is already executable"),!1;rn.data.length!==ot.length&&(Zr=Zr||new Ye,Zr.add(hr.allocate({accountPubkey:ke.publicKey,space:ot.length}))),rn.owner.equals(qe)||(Zr=Zr||new Ye,Zr.add(hr.assign({accountPubkey:ke.publicKey,programId:qe}))),rn.lamports<Qr&&(Zr=Zr||new Ye,Zr.add(hr.transfer({fromPubkey:we.publicKey,toPubkey:ke.publicKey,lamports:Qr-rn.lamports})))}else Zr=new Ye().add(hr.createAccount({fromPubkey:we.publicKey,newAccountPubkey:ke.publicKey,lamports:Qr>0?Qr:1,space:ot.length,programId:qe}));Zr!==null&&await qt(se,Zr,[we,ke],{commitment:"confirmed"})}let St=v.struct([v.u32("instruction"),v.u32("offset"),v.u32("bytesLength"),v.u32("bytesLengthPadding"),v.seq(v.u8("byte"),v.offset(v.u32(),-8),"bytes")]),lr=ef.chunkSize,Or=0,tn=ot,pn=[];for(;tn.length>0;){let Qr=tn.slice(0,lr),rn=t.Buffer.alloc(lr+16);St.encode({instruction:0,offset:Or,bytes:Qr,bytesLength:0,bytesLengthPadding:0},rn);let Zr=new Ye().add({keys:[{pubkey:ke.publicKey,isSigner:!0,isWritable:!0}],programId:qe,data:rn});pn.push(qt(se,Zr,[we,ke],{commitment:"confirmed"})),se._rpcEndpoint.includes("solana.com")&&await Hr(1e3/4),Or+=lr,tn=tn.slice(lr)}await Promise.all(pn);{let Qr=v.struct([v.u32("instruction")]),rn=t.Buffer.alloc(Qr.span);Qr.encode({instruction:1},rn);let Zr=new Ye().add({keys:[{pubkey:ke.publicKey,isSigner:!0,isWritable:!0},{pubkey:At,isSigner:!1,isWritable:!1}],programId:qe,data:rn}),yn="processed",en=await se.sendTransaction(Zr,[we,ke],{preflightCommitment:yn}),{context:Ln,value:Nn}=await se.confirmTransaction({signature:en,lastValidBlockHeight:Zr.lastValidBlockHeight,blockhash:Zr.recentBlockhash},yn);if(Nn.err)throw new Error(`Transaction ${en} failed (${JSON.stringify(Nn)})`);for(;;){try{if(await se.getSlot({commitment:yn})>Ln.slot)break}catch{}await new Promise(Wi=>setTimeout(Wi,Math.round(jt/2)))}}return!0}};Er.chunkSize=Br;var Qe=new S("BPFLoader2111111111111111111111111111111111"),mt=class{static getMinNumSignatures(le){return Er.getMinNumSignatures(le)}static load(le,se,we,ke,qe){return Er.load(le,se,we,qe,ke)}};function Ue(le){return le&&le.__esModule&&Object.prototype.hasOwnProperty.call(le,"default")?le.default:le}var Ge,Me;function ze(){if(Me)return Ge;Me=1;var le=Object.prototype.toString,se=Object.keys||function(ke){var qe=[];for(var ot in ke)qe.push(ot);return qe};function we(ke,qe){var ot,St,lr,Or,tn,pn,Qr;if(ke===!0)return"true";if(ke===!1)return"false";switch(typeof ke){case"object":if(ke===null)return null;if(ke.toJSON&&typeof ke.toJSON=="function")return we(ke.toJSON(),qe);if(Qr=le.call(ke),Qr==="[object Array]"){for(lr="[",St=ke.length-1,ot=0;ot<St;ot++)lr+=we(ke[ot],!0)+",";return St>-1&&(lr+=we(ke[ot],!0)),lr+"]"}else if(Qr==="[object Object]"){for(Or=se(ke).sort(),St=Or.length,lr="",ot=0;ot<St;)tn=Or[ot],pn=we(ke[tn],!1),pn!==void 0&&(lr&&(lr+=","),lr+=JSON.stringify(tn)+":"+pn),ot++;return"{"+lr+"}"}else return JSON.stringify(ke);case"function":case"undefined":return qe?null:void 0;case"string":return JSON.stringify(ke);default:return isFinite(ke)?ke:null}}return Ge=function(ke){var qe=we(ke,!1);if(qe!==void 0)return""+qe},Ge}var Le=ze(),rt=Ue(Le),ht=32;function ut(le){let se=0;for(;le>1;)le/=2,se++;return se}function Dt(le){return le===0?1:(le--,le|=le>>1,le|=le>>2,le|=le>>4,le|=le>>8,le|=le>>16,le|=le>>32,le+1)}var He=class{constructor(le,se,we,ke,qe){this.slotsPerEpoch=void 0,this.leaderScheduleSlotOffset=void 0,this.warmup=void 0,this.firstNormalEpoch=void 0,this.firstNormalSlot=void 0,this.slotsPerEpoch=le,this.leaderScheduleSlotOffset=se,this.warmup=we,this.firstNormalEpoch=ke,this.firstNormalSlot=qe}getEpoch(le){return this.getEpochAndSlotIndex(le)[0]}getEpochAndSlotIndex(le){if(le<this.firstNormalSlot){let se=ut(Dt(le+ht+1))-ut(ht)-1,we=this.getSlotsInEpoch(se),ke=le-(we-ht);return[se,ke]}else{let se=le-this.firstNormalSlot,we=Math.floor(se/this.slotsPerEpoch),ke=this.firstNormalEpoch+we,qe=se%this.slotsPerEpoch;return[ke,qe]}}getFirstSlotInEpoch(le){return le<=this.firstNormalEpoch?(Math.pow(2,le)-1)*ht:(le-this.firstNormalEpoch)*this.slotsPerEpoch+this.firstNormalSlot}getLastSlotInEpoch(le){return this.getFirstSlotInEpoch(le)+this.getSlotsInEpoch(le)-1}getSlotsInEpoch(le){return le<this.firstNormalEpoch?Math.pow(2,le+ut(ht)):this.slotsPerEpoch}},nt=globalThis.fetch,at=class extends h.CommonClient{constructor(le,se,we){let ke=qe=>{let ot=h.WebSocket(qe,{autoconnect:!0,max_reconnects:5,reconnect:!0,reconnect_interval:1e3,...se});return"socket"in ot?this.underlyingSocket=ot.socket:this.underlyingSocket=ot,ot};super(ke,le,se,we),this.underlyingSocket=void 0}call(...le){let se=this.underlyingSocket?.readyState;return se===1?super.call(...le):Promise.reject(new Error("Tried to call a JSON-RPC method `"+le[0]+"` but the socket was not `CONNECTING` or `OPEN` (`readyState` was "+se+")"))}notify(...le){let se=this.underlyingSocket?.readyState;return se===1?super.notify(...le):Promise.reject(new Error("Tried to send a JSON-RPC notification `"+le[0]+"` but the socket was not `CONNECTING` or `OPEN` (`readyState` was "+se+")"))}};function Tt(le,se){let we;try{we=le.layout.decode(se)}catch(ke){throw new Error("invalid instruction; "+ke)}if(we.typeIndex!==le.index)throw new Error(`invalid account data; account type mismatch ${we.typeIndex} != ${le.index}`);return we}var pt=56,Bt=class{constructor(le){this.key=void 0,this.state=void 0,this.key=le.key,this.state=le.state}isActive(){let le=BigInt("0xffffffffffffffff");return this.state.deactivationSlot===le}static deserialize(le){let se=Tt(Zt,le),we=le.length-pt;re(we>=0,"lookup table is invalid"),re(we%32===0,"lookup table is invalid");let ke=we/32,{addresses:qe}=v.struct([v.seq(ae(),ke,"addresses")]).decode(le.slice(pt));return{deactivationSlot:se.deactivationSlot,lastExtendedSlot:se.lastExtendedSlot,lastExtendedSlotStartIndex:se.lastExtendedStartIndex,authority:se.authority.length!==0?new S(se.authority[0]):void 0,addresses:qe.map(ot=>new S(ot))}}},Zt={index:1,layout:v.struct([v.u32("typeIndex"),Ht("deactivationSlot"),v.nu64("lastExtendedSlot"),v.u8("lastExtendedStartIndex"),v.u8(),v.seq(ae(),v.offset(v.u8(),-1),"authority")])},K=/^[^:]+:\/\/([^:[]+|\[[^\]]+\])(:\d+)?(.*)/i;function X(le){let se=le.match(K);if(se==null)throw TypeError(`Failed to validate endpoint URL \`${le}\``);let[we,ke,qe,ot]=se,St=le.startsWith("https:")?"wss:":"ws:",lr=qe==null?null:parseInt(qe.slice(1),10),Or=lr==null?"":`:${lr+1}`;return`${St}//${ke}${Or}${ot}`}var Z=c.coerce(c.instance(S),c.string(),le=>new S(le)),be=c.tuple([c.string(),c.literal("base64")]),Be=c.coerce(c.instance(t.Buffer),be,le=>t.Buffer.from(le[0],"base64")),dt=30*1e3;function gt(le){if(/^https?:/.test(le)===!1)throw new TypeError("Endpoint URL must start with `http:` or `https:`.");return le}function Ve(le){let se,we;if(typeof le=="string")se=le;else if(le){let{commitment:ke,...qe}=le;se=ke,we=qe}return{commitment:se,config:we}}function Yt(le){return le.map(se=>"memcmp"in se?{...se,memcmp:{...se.memcmp,encoding:se.memcmp.encoding??"base58"}}:se)}function yr(le){return c.union([c.type({jsonrpc:c.literal("2.0"),id:c.string(),result:le}),c.type({jsonrpc:c.literal("2.0"),id:c.string(),error:c.type({code:c.unknown(),message:c.string(),data:c.optional(c.any())})})])}var Cr=yr(c.unknown());function dr(le){return c.coerce(yr(le),Cr,se=>"error"in se?se:{...se,result:c.create(se.result,le)})}function wr(le){return dr(c.type({context:c.type({slot:c.number()}),value:le}))}function jr(le){return c.type({context:c.type({slot:c.number()}),value:le})}function sn(le,se){return le===0?new ft({header:se.header,staticAccountKeys:se.accountKeys.map(we=>new S(we)),recentBlockhash:se.recentBlockhash,compiledInstructions:se.instructions.map(we=>({programIdIndex:we.programIdIndex,accountKeyIndexes:we.accounts,data:O.default.decode(we.data)})),addressTableLookups:se.addressTableLookups}):new Je(se)}var ln=c.type({foundation:c.number(),foundationTerm:c.number(),initial:c.number(),taper:c.number(),terminal:c.number()}),gn=dr(c.array(c.nullable(c.type({epoch:c.number(),effectiveSlot:c.number(),amount:c.number(),postBalance:c.number(),commission:c.optional(c.nullable(c.number()))})))),An=c.array(c.type({slot:c.number(),prioritizationFee:c.number()})),mn=c.type({total:c.number(),validator:c.number(),foundation:c.number(),epoch:c.number()}),Cn=c.type({epoch:c.number(),slotIndex:c.number(),slotsInEpoch:c.number(),absoluteSlot:c.number(),blockHeight:c.optional(c.number()),transactionCount:c.optional(c.number())}),Gn=c.type({slotsPerEpoch:c.number(),leaderScheduleSlotOffset:c.number(),warmup:c.boolean(),firstNormalEpoch:c.number(),firstNormalSlot:c.number()}),qn=c.record(c.string(),c.array(c.number())),Hn=c.nullable(c.union([c.type({}),c.string()])),uo=c.type({err:Hn}),Ri=c.literal("receivedSignature"),Co=c.type({"solana-core":c.string(),"feature-set":c.optional(c.number())}),is=c.type({program:c.string(),programId:Z,parsed:c.unknown()}),ks=c.type({programId:Z,accounts:c.array(Z),data:c.string()}),Hi=wr(c.type({err:c.nullable(c.union([c.type({}),c.string()])),logs:c.nullable(c.array(c.string())),accounts:c.optional(c.nullable(c.array(c.nullable(c.type({executable:c.boolean(),owner:c.string(),lamports:c.number(),data:c.array(c.string()),rentEpoch:c.optional(c.number())}))))),unitsConsumed:c.optional(c.number()),returnData:c.optional(c.nullable(c.type({programId:c.string(),data:c.tuple([c.string(),c.literal("base64")])}))),innerInstructions:c.optional(c.nullable(c.array(c.type({index:c.number(),instructions:c.array(c.union([is,ks]))}))))})),Ro=wr(c.type({byIdentity:c.record(c.string(),c.array(c.number())),range:c.type({firstSlot:c.number(),lastSlot:c.number()})}));function co(le,se,we,ke,qe,ot){let St=we||nt,lr;ot!=null&&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.");let Or;return ke&&(Or=async(tn,pn)=>{let Qr=await new Promise((rn,Zr)=>{try{ke(tn,pn,(yn,en)=>rn([yn,en]))}catch(yn){Zr(yn)}});return await St(...Qr)}),new B.default(async(tn,pn)=>{let Qr={method:"POST",body:tn,agent:lr,headers:Object.assign({"Content-Type":"application/json"},se||{},Sn)};try{let rn=5,Zr,yn=500;for(;Or?Zr=await Or(le,Qr):Zr=await St(le,Qr),!(Zr.status!==429||qe===!0||(rn-=1,rn===0));)console.error(`Server responded with ${Zr.status} ${Zr.statusText}.  Retrying after ${yn}ms delay...`),await Hr(yn),yn*=2;let en=await Zr.text();Zr.ok?pn(null,en):pn(new Error(`${Zr.status} ${Zr.statusText}: ${en}`))}catch(rn){rn instanceof Error&&pn(rn)}},{})}function Ps(le){return(se,we)=>new Promise((ke,qe)=>{le.request(se,we,(ot,St)=>{if(ot){qe(ot);return}ke(St)})})}function Uo(le){return se=>new Promise((we,ke)=>{se.length===0&&we([]);let qe=se.map(ot=>le.request(ot.methodName,ot.args));le.request(qe,(ot,St)=>{if(ot){ke(ot);return}we(St)})})}var So=dr(ln),ss=dr(mn),Do=dr(An),Gi=dr(Cn),Io=dr(Gn),ds=dr(qn),mo=dr(c.number()),Mi=wr(c.type({total:c.number(),circulating:c.number(),nonCirculating:c.number(),nonCirculatingAccounts:c.array(Z)})),bi=c.type({amount:c.string(),uiAmount:c.nullable(c.number()),decimals:c.number(),uiAmountString:c.optional(c.string())}),wo=wr(c.array(c.type({address:Z,amount:c.string(),uiAmount:c.nullable(c.number()),decimals:c.number(),uiAmountString:c.optional(c.string())}))),vo=wr(c.array(c.type({pubkey:Z,account:c.type({executable:c.boolean(),owner:Z,lamports:c.number(),data:Be,rentEpoch:c.number()})}))),Vi=c.type({program:c.string(),parsed:c.unknown(),space:c.number()}),Eo=wr(c.array(c.type({pubkey:Z,account:c.type({executable:c.boolean(),owner:Z,lamports:c.number(),data:Vi,rentEpoch:c.number()})}))),Oo=wr(c.array(c.type({lamports:c.number(),address:Z}))),ro=c.type({executable:c.boolean(),owner:Z,lamports:c.number(),data:Be,rentEpoch:c.number()}),js=c.type({pubkey:Z,account:ro}),ps=c.coerce(c.union([c.instance(t.Buffer),Vi]),c.union([be,Vi]),le=>Array.isArray(le)?c.create(le,Be):le),Vn=c.type({executable:c.boolean(),owner:Z,lamports:c.number(),data:ps,rentEpoch:c.number()}),De=c.type({pubkey:Z,account:Vn}),lt=c.type({state:c.union([c.literal("active"),c.literal("inactive"),c.literal("activating"),c.literal("deactivating")]),active:c.number(),inactive:c.number()}),xt=dr(c.array(c.type({signature:c.string(),slot:c.number(),err:Hn,memo:c.nullable(c.string()),blockTime:c.optional(c.nullable(c.number()))}))),Mt=dr(c.array(c.type({signature:c.string(),slot:c.number(),err:Hn,memo:c.nullable(c.string()),blockTime:c.optional(c.nullable(c.number()))}))),ar=c.type({subscription:c.number(),result:jr(ro)}),mr=c.type({pubkey:Z,account:ro}),br=c.type({subscription:c.number(),result:jr(mr)}),$r=c.type({parent:c.number(),slot:c.number(),root:c.number()}),on=c.type({subscription:c.number(),result:$r}),Jr=c.union([c.type({type:c.union([c.literal("firstShredReceived"),c.literal("completed"),c.literal("optimisticConfirmation"),c.literal("root")]),slot:c.number(),timestamp:c.number()}),c.type({type:c.literal("createdBank"),parent:c.number(),slot:c.number(),timestamp:c.number()}),c.type({type:c.literal("frozen"),slot:c.number(),timestamp:c.number(),stats:c.type({numTransactionEntries:c.number(),numSuccessfulTransactions:c.number(),numFailedTransactions:c.number(),maxTransactionsPerEntry:c.number()})}),c.type({type:c.literal("dead"),slot:c.number(),timestamp:c.number(),err:c.string()})]),Xr=c.type({subscription:c.number(),result:Jr}),On=c.type({subscription:c.number(),result:jr(c.union([uo,Ri]))}),ci=c.type({subscription:c.number(),result:c.number()}),cn=c.type({pubkey:c.string(),gossip:c.nullable(c.string()),tpu:c.nullable(c.string()),rpc:c.nullable(c.string()),version:c.nullable(c.string())}),Dn=c.type({votePubkey:c.string(),nodePubkey:c.string(),activatedStake:c.number(),epochVoteAccount:c.boolean(),epochCredits:c.array(c.tuple([c.number(),c.number(),c.number()])),commission:c.number(),lastVote:c.number(),rootSlot:c.nullable(c.number())}),dn=dr(c.type({current:c.array(Dn),delinquent:c.array(Dn)})),wi=c.union([c.literal("processed"),c.literal("confirmed"),c.literal("finalized")]),Di=c.type({slot:c.number(),confirmations:c.nullable(c.number()),err:Hn,confirmationStatus:c.optional(wi)}),pi=wr(c.array(c.nullable(Di))),Qn=dr(c.number()),lo=c.type({accountKey:Z,writableIndexes:c.array(c.number()),readonlyIndexes:c.array(c.number())}),ms=c.type({signatures:c.array(c.string()),message:c.type({accountKeys:c.array(c.string()),header:c.type({numRequiredSignatures:c.number(),numReadonlySignedAccounts:c.number(),numReadonlyUnsignedAccounts:c.number()}),instructions:c.array(c.type({accounts:c.array(c.number()),data:c.string(),programIdIndex:c.number()})),recentBlockhash:c.string(),addressTableLookups:c.optional(c.array(lo))})}),no=c.type({pubkey:Z,signer:c.boolean(),writable:c.boolean(),source:c.optional(c.union([c.literal("transaction"),c.literal("lookupTable")]))}),fo=c.type({accountKeys:c.array(no),signatures:c.array(c.string())}),oo=c.type({parsed:c.unknown(),program:c.string(),programId:Z}),Ii=c.type({accounts:c.array(Z),data:c.string(),programId:Z}),Ki=c.union([Ii,oo]),du=c.union([c.type({parsed:c.unknown(),program:c.string(),programId:c.string()}),c.type({accounts:c.array(c.string()),data:c.string(),programId:c.string()})]),ko=c.coerce(Ki,du,le=>"accounts"in le?c.create(le,Ii):c.create(le,oo)),_o=c.type({signatures:c.array(c.string()),message:c.type({accountKeys:c.array(no),instructions:c.array(ko),recentBlockhash:c.string(),addressTableLookups:c.optional(c.nullable(c.array(lo)))})}),qi=c.type({accountIndex:c.number(),mint:c.string(),owner:c.optional(c.string()),programId:c.optional(c.string()),uiTokenAmount:bi}),Oi=c.type({writable:c.array(Z),readonly:c.array(Z)}),Ji=c.type({err:Hn,fee:c.number(),innerInstructions:c.optional(c.nullable(c.array(c.type({index:c.number(),instructions:c.array(c.type({accounts:c.array(c.number()),data:c.string(),programIdIndex:c.number()}))})))),preBalances:c.array(c.number()),postBalances:c.array(c.number()),logMessages:c.optional(c.nullable(c.array(c.string()))),preTokenBalances:c.optional(c.nullable(c.array(qi))),postTokenBalances:c.optional(c.nullable(c.array(qi))),loadedAddresses:c.optional(Oi),computeUnitsConsumed:c.optional(c.number())}),Wo=c.type({err:Hn,fee:c.number(),innerInstructions:c.optional(c.nullable(c.array(c.type({index:c.number(),instructions:c.array(ko)})))),preBalances:c.array(c.number()),postBalances:c.array(c.number()),logMessages:c.optional(c.nullable(c.array(c.string()))),preTokenBalances:c.optional(c.nullable(c.array(qi))),postTokenBalances:c.optional(c.nullable(c.array(qi))),loadedAddresses:c.optional(Oi),computeUnitsConsumed:c.optional(c.number())}),Bi=c.union([c.literal(0),c.literal("legacy")]),Yi=c.type({pubkey:c.string(),lamports:c.number(),postBalance:c.nullable(c.number()),rewardType:c.nullable(c.string()),commission:c.optional(c.nullable(c.number()))}),Hs=dr(c.nullable(c.type({blockhash:c.string(),previousBlockhash:c.string(),parentSlot:c.number(),transactions:c.array(c.type({transaction:ms,meta:c.nullable(Ji),version:c.optional(Bi)})),rewards:c.optional(c.array(Yi)),blockTime:c.nullable(c.number()),blockHeight:c.nullable(c.number())}))),ki=dr(c.nullable(c.type({blockhash:c.string(),previousBlockhash:c.string(),parentSlot:c.number(),rewards:c.optional(c.array(Yi)),blockTime:c.nullable(c.number()),blockHeight:c.nullable(c.number())}))),Gs=dr(c.nullable(c.type({blockhash:c.string(),previousBlockhash:c.string(),parentSlot:c.number(),transactions:c.array(c.type({transaction:fo,meta:c.nullable(Ji),version:c.optional(Bi)})),rewards:c.optional(c.array(Yi)),blockTime:c.nullable(c.number()),blockHeight:c.nullable(c.number())}))),hu=dr(c.nullable(c.type({blockhash:c.string(),previousBlockhash:c.string(),parentSlot:c.number(),transactions:c.array(c.type({transaction:_o,meta:c.nullable(Wo),version:c.optional(Bi)})),rewards:c.optional(c.array(Yi)),blockTime:c.nullable(c.number()),blockHeight:c.nullable(c.number())}))),Pa=dr(c.nullable(c.type({blockhash:c.string(),previousBlockhash:c.string(),parentSlot:c.number(),transactions:c.array(c.type({transaction:fo,meta:c.nullable(Wo),version:c.optional(Bi)})),rewards:c.optional(c.array(Yi)),blockTime:c.nullable(c.number()),blockHeight:c.nullable(c.number())}))),eo=dr(c.nullable(c.type({blockhash:c.string(),previousBlockhash:c.string(),parentSlot:c.number(),rewards:c.optional(c.array(Yi)),blockTime:c.nullable(c.number()),blockHeight:c.nullable(c.number())}))),vi=dr(c.nullable(c.type({blockhash:c.string(),previousBlockhash:c.string(),parentSlot:c.number(),transactions:c.array(c.type({transaction:ms,meta:c.nullable(Ji)})),rewards:c.optional(c.array(Yi)),blockTime:c.nullable(c.number())}))),xi=dr(c.nullable(c.type({blockhash:c.string(),previousBlockhash:c.string(),parentSlot:c.number(),signatures:c.array(c.string()),blockTime:c.nullable(c.number())}))),ao=dr(c.nullable(c.type({slot:c.number(),meta:c.nullable(Ji),blockTime:c.optional(c.nullable(c.number())),transaction:ms,version:c.optional(Bi)}))),jn=dr(c.nullable(c.type({slot:c.number(),transaction:_o,meta:c.nullable(Wo),blockTime:c.optional(c.nullable(c.number())),version:c.optional(Bi)}))),Xn=wr(c.type({blockhash:c.string(),lastValidBlockHeight:c.number()})),_n=wr(c.boolean()),Fo=c.type({slot:c.number(),numTransactions:c.number(),numSlots:c.number(),samplePeriodSecs:c.number()}),zo=dr(c.array(Fo)),gi=wr(c.nullable(c.type({feeCalculator:c.type({lamportsPerSignature:c.number()})}))),li=dr(c.string()),Ms=dr(c.string()),di=c.type({err:Hn,logs:c.array(c.string()),signature:c.string()}),Ei=c.type({result:jr(di),subscription:c.number()}),Sn={"solana-client":"js/1.0.0-maintenance"},po=class{constructor(le,se){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 Or={};return async tn=>{let{commitment:pn,config:Qr}=Ve(tn),rn=this._buildArgs([],pn,void 0,Qr),Zr=rt(rn);return Or[Zr]=Or[Zr]??(async()=>{try{let yn=await this._rpcRequest("getBlockHeight",rn),en=c.create(yn,dr(c.number()));if("error"in en)throw new Et(en.error,"failed to get block height information");return en.result}finally{delete Or[Zr]}})(),await Or[Zr]}})();let we,ke,qe,ot,St,lr;se&&typeof se=="string"?this._commitment=se:se&&(this._commitment=se.commitment,this._confirmTransactionInitialTimeout=se.confirmTransactionInitialTimeout,we=se.wsEndpoint,ke=se.httpHeaders,qe=se.fetch,ot=se.fetchMiddleware,St=se.disableRetryOnRateLimit,lr=se.httpAgent),this._rpcEndpoint=gt(le),this._rpcWsEndpoint=we||X(le),this._rpcClient=co(le,ke,qe,ot,St,lr),this._rpcRequest=Ps(this._rpcClient),this._rpcBatchRequest=Uo(this._rpcClient),this._rpcWebSocket=new at(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(le,se){let{commitment:we,config:ke}=Ve(se),qe=this._buildArgs([le.toBase58()],we,void 0,ke),ot=await this._rpcRequest("getBalance",qe),St=c.create(ot,wr(c.number()));if("error"in St)throw new Et(St.error,`failed to get balance for ${le.toBase58()}`);return St.result}async getBalance(le,se){return await this.getBalanceAndContext(le,se).then(we=>we.value).catch(we=>{throw new Error("failed to get balance of account "+le.toBase58()+": "+we)})}async getBlockTime(le){let se=await this._rpcRequest("getBlockTime",[le]),we=c.create(se,dr(c.nullable(c.number())));if("error"in we)throw new Et(we.error,`failed to get block time for slot ${le}`);return we.result}async getMinimumLedgerSlot(){let le=await this._rpcRequest("minimumLedgerSlot",[]),se=c.create(le,dr(c.number()));if("error"in se)throw new Et(se.error,"failed to get minimum ledger slot");return se.result}async getFirstAvailableBlock(){let le=await this._rpcRequest("getFirstAvailableBlock",[]),se=c.create(le,mo);if("error"in se)throw new Et(se.error,"failed to get first available block");return se.result}async getSupply(le){let se={};typeof le=="string"?se={commitment:le}:le?se={...le,commitment:le&&le.commitment||this.commitment}:se={commitment:this.commitment};let we=await this._rpcRequest("getSupply",[se]),ke=c.create(we,Mi);if("error"in ke)throw new Et(ke.error,"failed to get supply");return ke.result}async getTokenSupply(le,se){let we=this._buildArgs([le.toBase58()],se),ke=await this._rpcRequest("getTokenSupply",we),qe=c.create(ke,wr(bi));if("error"in qe)throw new Et(qe.error,"failed to get token supply");return qe.result}async getTokenAccountBalance(le,se){let we=this._buildArgs([le.toBase58()],se),ke=await this._rpcRequest("getTokenAccountBalance",we),qe=c.create(ke,wr(bi));if("error"in qe)throw new Et(qe.error,"failed to get token account balance");return qe.result}async getTokenAccountsByOwner(le,se,we){let{commitment:ke,config:qe}=Ve(we),ot=[le.toBase58()];"mint"in se?ot.push({mint:se.mint.toBase58()}):ot.push({programId:se.programId.toBase58()});let St=this._buildArgs(ot,ke,"base64",qe),lr=await this._rpcRequest("getTokenAccountsByOwner",St),Or=c.create(lr,vo);if("error"in Or)throw new Et(Or.error,`failed to get token accounts owned by account ${le.toBase58()}`);return Or.result}async getParsedTokenAccountsByOwner(le,se,we){let ke=[le.toBase58()];"mint"in se?ke.push({mint:se.mint.toBase58()}):ke.push({programId:se.programId.toBase58()});let qe=this._buildArgs(ke,we,"jsonParsed"),ot=await this._rpcRequest("getTokenAccountsByOwner",qe),St=c.create(ot,Eo);if("error"in St)throw new Et(St.error,`failed to get token accounts owned by account ${le.toBase58()}`);return St.result}async getLargestAccounts(le){let se={...le,commitment:le&&le.commitment||this.commitment},we=se.filter||se.commitment?[se]:[],ke=await this._rpcRequest("getLargestAccounts",we),qe=c.create(ke,Oo);if("error"in qe)throw new Et(qe.error,"failed to get largest accounts");return qe.result}async getTokenLargestAccounts(le,se){let we=this._buildArgs([le.toBase58()],se),ke=await this._rpcRequest("getTokenLargestAccounts",we),qe=c.create(ke,wo);if("error"in qe)throw new Et(qe.error,"failed to get token largest accounts");return qe.result}async getAccountInfoAndContext(le,se){let{commitment:we,config:ke}=Ve(se),qe=this._buildArgs([le.toBase58()],we,"base64",ke),ot=await this._rpcRequest("getAccountInfo",qe),St=c.create(ot,wr(c.nullable(ro)));if("error"in St)throw new Et(St.error,`failed to get info about account ${le.toBase58()}`);return St.result}async getParsedAccountInfo(le,se){let{commitment:we,config:ke}=Ve(se),qe=this._buildArgs([le.toBase58()],we,"jsonParsed",ke),ot=await this._rpcRequest("getAccountInfo",qe),St=c.create(ot,wr(c.nullable(Vn)));if("error"in St)throw new Et(St.error,`failed to get info about account ${le.toBase58()}`);return St.result}async getAccountInfo(le,se){try{return(await this.getAccountInfoAndContext(le,se)).value}catch(we){throw new Error("failed to get info about account "+le.toBase58()+": "+we)}}async getMultipleParsedAccounts(le,se){let{commitment:we,config:ke}=Ve(se),qe=le.map(Or=>Or.toBase58()),ot=this._buildArgs([qe],we,"jsonParsed",ke),St=await this._rpcRequest("getMultipleAccounts",ot),lr=c.create(St,wr(c.array(c.nullable(Vn))));if("error"in lr)throw new Et(lr.error,`failed to get info for accounts ${qe}`);return lr.result}async getMultipleAccountsInfoAndContext(le,se){let{commitment:we,config:ke}=Ve(se),qe=le.map(Or=>Or.toBase58()),ot=this._buildArgs([qe],we,"base64",ke),St=await this._rpcRequest("getMultipleAccounts",ot),lr=c.create(St,wr(c.array(c.nullable(ro))));if("error"in lr)throw new Et(lr.error,`failed to get info for accounts ${qe}`);return lr.result}async getMultipleAccountsInfo(le,se){return(await this.getMultipleAccountsInfoAndContext(le,se)).value}async getStakeActivation(le,se,we){let{commitment:ke,config:qe}=Ve(se),ot=this._buildArgs([le.toBase58()],ke,void 0,{...qe,epoch:we??qe?.epoch}),St=await this._rpcRequest("getStakeActivation",ot),lr=c.create(St,dr(lt));if("error"in lr)throw new Et(lr.error,`failed to get Stake Activation ${le.toBase58()}`);return lr.result}async getProgramAccounts(le,se){let{commitment:we,config:ke}=Ve(se),{encoding:qe,...ot}=ke||{},St=this._buildArgs([le.toBase58()],we,qe||"base64",{...ot,...ot.filters?{filters:Yt(ot.filters)}:null}),lr=await this._rpcRequest("getProgramAccounts",St),Or=c.array(js),tn=ot.withContext===!0?c.create(lr,wr(Or)):c.create(lr,dr(Or));if("error"in tn)throw new Et(tn.error,`failed to get accounts owned by program ${le.toBase58()}`);return tn.result}async getParsedProgramAccounts(le,se){let{commitment:we,config:ke}=Ve(se),qe=this._buildArgs([le.toBase58()],we,"jsonParsed",ke),ot=await this._rpcRequest("getProgramAccounts",qe),St=c.create(ot,dr(c.array(De)));if("error"in St)throw new Et(St.error,`failed to get accounts owned by program ${le.toBase58()}`);return St.result}async confirmTransaction(le,se){let we;if(typeof le=="string")we=le;else{let qe=le;if(qe.abortSignal?.aborted)return Promise.reject(qe.abortSignal.reason);we=qe.signature}let ke;try{ke=O.default.decode(we)}catch{throw new Error("signature must be base58 encoded: "+we)}return re(ke.length===64,"signature has invalid length"),typeof le=="string"?await this.confirmTransactionUsingLegacyTimeoutStrategy({commitment:se||this.commitment,signature:we}):"lastValidBlockHeight"in le?await this.confirmTransactionUsingBlockHeightExceedanceStrategy({commitment:se||this.commitment,strategy:le}):await this.confirmTransactionUsingDurableNonceStrategy({commitment:se||this.commitment,strategy:le})}getCancellationPromise(le){return new Promise((se,we)=>{le!=null&&(le.aborted?we(le.reason):le.addEventListener("abort",()=>{we(le.reason)}))})}getTransactionConfirmationPromise({commitment:le,signature:se}){let we,ke,qe=!1,ot=new Promise((St,lr)=>{try{we=this.onSignature(se,(tn,pn)=>{we=void 0;let Qr={context:pn,value:tn};St({__type:wt.PROCESSED,response:Qr})},le);let Or=new Promise(tn=>{we==null?tn():ke=this._onSubscriptionStateChange(we,pn=>{pn==="subscribed"&&tn()})});(async()=>{if(await Or,qe)return;let tn=await this.getSignatureStatus(se);if(qe||tn==null)return;let{context:pn,value:Qr}=tn;if(Qr!=null)if(Qr?.err)lr(Qr.err);else{switch(le){case"confirmed":case"single":case"singleGossip":{if(Qr.confirmationStatus==="processed")return;break}case"finalized":case"max":case"root":{if(Qr.confirmationStatus==="processed"||Qr.confirmationStatus==="confirmed")return;break}case"processed":case"recent":}qe=!0,St({__type:wt.PROCESSED,response:{context:pn,value:Qr}})}})()}catch(Or){lr(Or)}});return{abortConfirmation:()=>{ke&&(ke(),ke=void 0),we!=null&&(this.removeSignatureListener(we),we=void 0)},confirmationPromise:ot}}async confirmTransactionUsingBlockHeightExceedanceStrategy({commitment:le,strategy:{abortSignal:se,lastValidBlockHeight:we,signature:ke}}){let qe=!1,ot=new Promise(pn=>{let Qr=async()=>{try{return await this.getBlockHeight(le)}catch{return-1}};(async()=>{let rn=await Qr();if(!qe){for(;rn<=we;)if(await Hr(1e3),qe||(rn=await Qr(),qe))return;pn({__type:wt.BLOCKHEIGHT_EXCEEDED})}})()}),{abortConfirmation:St,confirmationPromise:lr}=this.getTransactionConfirmationPromise({commitment:le,signature:ke}),Or=this.getCancellationPromise(se),tn;try{let pn=await Promise.race([Or,lr,ot]);if(pn.__type===wt.PROCESSED)tn=pn.response;else throw new Y(ke)}finally{qe=!0,St()}return tn}async confirmTransactionUsingDurableNonceStrategy({commitment:le,strategy:{abortSignal:se,minContextSlot:we,nonceAccountPubkey:ke,nonceValue:qe,signature:ot}}){let St=!1,lr=new Promise(rn=>{let Zr=qe,yn=null,en=async()=>{try{let{context:Ln,value:Nn}=await this.getNonceAndContext(ke,{commitment:le,minContextSlot:we});return yn=Ln.slot,Nn?.nonce}catch{return Zr}};(async()=>{if(Zr=await en(),!St)for(;;){if(qe!==Zr){rn({__type:wt.NONCE_INVALID,slotInWhichNonceDidAdvance:yn});return}if(await Hr(2e3),St||(Zr=await en(),St))return}})()}),{abortConfirmation:Or,confirmationPromise:tn}=this.getTransactionConfirmationPromise({commitment:le,signature:ot}),pn=this.getCancellationPromise(se),Qr;try{let rn=await Promise.race([pn,tn,lr]);if(rn.__type===wt.PROCESSED)Qr=rn.response;else{let Zr;for(;;){let yn=await this.getSignatureStatus(ot);if(yn==null)break;if(yn.context.slot<(rn.slotInWhichNonceDidAdvance??we)){await Hr(400);continue}Zr=yn;break}if(Zr?.value){let yn=le||"finalized",{confirmationStatus:en}=Zr.value;switch(yn){case"processed":case"recent":if(en!=="processed"&&en!=="confirmed"&&en!=="finalized")throw new de(ot);break;case"confirmed":case"single":case"singleGossip":if(en!=="confirmed"&&en!=="finalized")throw new de(ot);break;case"finalized":case"max":case"root":if(en!=="finalized")throw new de(ot);break;default:}Qr={context:Zr.context,value:{err:Zr.value.err}}}else throw new de(ot)}}finally{St=!0,Or()}return Qr}async confirmTransactionUsingLegacyTimeoutStrategy({commitment:le,signature:se}){let we,ke=new Promise(lr=>{let Or=this._confirmTransactionInitialTimeout||6e4;switch(le){case"processed":case"recent":case"single":case"confirmed":case"singleGossip":{Or=this._confirmTransactionInitialTimeout||3e4;break}}we=setTimeout(()=>lr({__type:wt.TIMED_OUT,timeoutMs:Or}),Or)}),{abortConfirmation:qe,confirmationPromise:ot}=this.getTransactionConfirmationPromise({commitment:le,signature:se}),St;try{let lr=await Promise.race([ot,ke]);if(lr.__type===wt.PROCESSED)St=lr.response;else throw new oe(se,lr.timeoutMs/1e3)}finally{clearTimeout(we),qe()}return St}async getClusterNodes(){let le=await this._rpcRequest("getClusterNodes",[]),se=c.create(le,dr(c.array(cn)));if("error"in se)throw new Et(se.error,"failed to get cluster nodes");return se.result}async getVoteAccounts(le){let se=this._buildArgs([],le),we=await this._rpcRequest("getVoteAccounts",se),ke=c.create(we,dn);if("error"in ke)throw new Et(ke.error,"failed to get vote accounts");return ke.result}async getSlot(le){let{commitment:se,config:we}=Ve(le),ke=this._buildArgs([],se,void 0,we),qe=await this._rpcRequest("getSlot",ke),ot=c.create(qe,dr(c.number()));if("error"in ot)throw new Et(ot.error,"failed to get slot");return ot.result}async getSlotLeader(le){let{commitment:se,config:we}=Ve(le),ke=this._buildArgs([],se,void 0,we),qe=await this._rpcRequest("getSlotLeader",ke),ot=c.create(qe,dr(c.string()));if("error"in ot)throw new Et(ot.error,"failed to get slot leader");return ot.result}async getSlotLeaders(le,se){let we=[le,se],ke=await this._rpcRequest("getSlotLeaders",we),qe=c.create(ke,dr(c.array(Z)));if("error"in qe)throw new Et(qe.error,"failed to get slot leaders");return qe.result}async getSignatureStatus(le,se){let{context:we,value:ke}=await this.getSignatureStatuses([le],se);re(ke.length===1);let qe=ke[0];return{context:we,value:qe}}async getSignatureStatuses(le,se){let we=[le];se&&we.push(se);let ke=await this._rpcRequest("getSignatureStatuses",we),qe=c.create(ke,pi);if("error"in qe)throw new Et(qe.error,"failed to get signature status");return qe.result}async getTransactionCount(le){let{commitment:se,config:we}=Ve(le),ke=this._buildArgs([],se,void 0,we),qe=await this._rpcRequest("getTransactionCount",ke),ot=c.create(qe,dr(c.number()));if("error"in ot)throw new Et(ot.error,"failed to get transaction count");return ot.result}async getTotalSupply(le){return(await this.getSupply({commitment:le,excludeNonCirculatingAccountsList:!0})).value.total}async getInflationGovernor(le){let se=this._buildArgs([],le),we=await this._rpcRequest("getInflationGovernor",se),ke=c.create(we,So);if("error"in ke)throw new Et(ke.error,"failed to get inflation");return ke.result}async getInflationReward(le,se,we){let{commitment:ke,config:qe}=Ve(we),ot=this._buildArgs([le.map(Or=>Or.toBase58())],ke,void 0,{...qe,epoch:se??qe?.epoch}),St=await this._rpcRequest("getInflationReward",ot),lr=c.create(St,gn);if("error"in lr)throw new Et(lr.error,"failed to get inflation reward");return lr.result}async getInflationRate(){let le=await this._rpcRequest("getInflationRate",[]),se=c.create(le,ss);if("error"in se)throw new Et(se.error,"failed to get inflation rate");return se.result}async getEpochInfo(le){let{commitment:se,config:we}=Ve(le),ke=this._buildArgs([],se,void 0,we),qe=await this._rpcRequest("getEpochInfo",ke),ot=c.create(qe,Gi);if("error"in ot)throw new Et(ot.error,"failed to get epoch info");return ot.result}async getEpochSchedule(){let le=await this._rpcRequest("getEpochSchedule",[]),se=c.create(le,Io);if("error"in se)throw new Et(se.error,"failed to get epoch schedule");let we=se.result;return new He(we.slotsPerEpoch,we.leaderScheduleSlotOffset,we.warmup,we.firstNormalEpoch,we.firstNormalSlot)}async getLeaderSchedule(){let le=await this._rpcRequest("getLeaderSchedule",[]),se=c.create(le,ds);if("error"in se)throw new Et(se.error,"failed to get leader schedule");return se.result}async getMinimumBalanceForRentExemption(le,se){let we=this._buildArgs([le],se),ke=await this._rpcRequest("getMinimumBalanceForRentExemption",we),qe=c.create(ke,Qn);return"error"in qe?(console.warn("Unable to fetch minimum balance for rent exemption"),0):qe.result}async getRecentBlockhashAndContext(le){let{context:se,value:{blockhash:we}}=await this.getLatestBlockhashAndContext(le);return{context:se,value:{blockhash:we,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(){return{}}}}}}async getRecentPerformanceSamples(le){let se=await this._rpcRequest("getRecentPerformanceSamples",le?[le]:[]),we=c.create(se,zo);if("error"in we)throw new Et(we.error,"failed to get recent performance samples");return we.result}async getFeeCalculatorForBlockhash(le,se){let we=this._buildArgs([le],se),ke=await this._rpcRequest("getFeeCalculatorForBlockhash",we),qe=c.create(ke,gi);if("error"in qe)throw new Et(qe.error,"failed to get fee calculator");let{context:ot,value:St}=qe.result;return{context:ot,value:St!==null?St.feeCalculator:null}}async getFeeForMessage(le,se){let we=F(le.serialize()).toString("base64"),ke=this._buildArgs([we],se),qe=await this._rpcRequest("getFeeForMessage",ke),ot=c.create(qe,wr(c.nullable(c.number())));if("error"in ot)throw new Et(ot.error,"failed to get fee for message");if(ot.result===null)throw new Error("invalid blockhash");return ot.result}async getRecentPrioritizationFees(le){let se=le?.lockedWritableAccounts?.map(ot=>ot.toBase58()),we=se?.length?[se]:[],ke=await this._rpcRequest("getRecentPrioritizationFees",we),qe=c.create(ke,Do);if("error"in qe)throw new Et(qe.error,"failed to get recent prioritization fees");return qe.result}async getRecentBlockhash(le){try{return(await this.getRecentBlockhashAndContext(le)).value}catch(se){throw new Error("failed to get recent blockhash: "+se)}}async getLatestBlockhash(le){try{return(await this.getLatestBlockhashAndContext(le)).value}catch(se){throw new Error("failed to get recent blockhash: "+se)}}async getLatestBlockhashAndContext(le){let{commitment:se,config:we}=Ve(le),ke=this._buildArgs([],se,void 0,we),qe=await this._rpcRequest("getLatestBlockhash",ke),ot=c.create(qe,Xn);if("error"in ot)throw new Et(ot.error,"failed to get latest blockhash");return ot.result}async isBlockhashValid(le,se){let{commitment:we,config:ke}=Ve(se),qe=this._buildArgs([le],we,void 0,ke),ot=await this._rpcRequest("isBlockhashValid",qe),St=c.create(ot,_n);if("error"in St)throw new Et(St.error,"failed to determine if the blockhash `"+le+"`is valid");return St.result}async getVersion(){let le=await this._rpcRequest("getVersion",[]),se=c.create(le,dr(Co));if("error"in se)throw new Et(se.error,"failed to get version");return se.result}async getGenesisHash(){let le=await this._rpcRequest("getGenesisHash",[]),se=c.create(le,dr(c.string()));if("error"in se)throw new Et(se.error,"failed to get genesis hash");return se.result}async getBlock(le,se){let{commitment:we,config:ke}=Ve(se),qe=this._buildArgsAtLeastConfirmed([le],we,void 0,ke),ot=await this._rpcRequest("getBlock",qe);try{switch(ke?.transactionDetails){case"accounts":{let St=c.create(ot,Gs);if("error"in St)throw St.error;return St.result}case"none":{let St=c.create(ot,ki);if("error"in St)throw St.error;return St.result}default:{let St=c.create(ot,Hs);if("error"in St)throw St.error;let{result:lr}=St;return lr?{...lr,transactions:lr.transactions.map(({transaction:Or,meta:tn,version:pn})=>({meta:tn,transaction:{...Or,message:sn(pn,Or.message)},version:pn}))}:null}}}catch(St){throw new Et(St,"failed to get confirmed block")}}async getParsedBlock(le,se){let{commitment:we,config:ke}=Ve(se),qe=this._buildArgsAtLeastConfirmed([le],we,"jsonParsed",ke),ot=await this._rpcRequest("getBlock",qe);try{switch(ke?.transactionDetails){case"accounts":{let St=c.create(ot,Pa);if("error"in St)throw St.error;return St.result}case"none":{let St=c.create(ot,eo);if("error"in St)throw St.error;return St.result}default:{let St=c.create(ot,hu);if("error"in St)throw St.error;return St.result}}}catch(St){throw new Et(St,"failed to get block")}}async getBlockProduction(le){let se,we;if(typeof le=="string")we=le;else if(le){let{commitment:St,...lr}=le;we=St,se=lr}let ke=this._buildArgs([],we,"base64",se),qe=await this._rpcRequest("getBlockProduction",ke),ot=c.create(qe,Ro);if("error"in ot)throw new Et(ot.error,"failed to get block production information");return ot.result}async getTransaction(le,se){let{commitment:we,config:ke}=Ve(se),qe=this._buildArgsAtLeastConfirmed([le],we,void 0,ke),ot=await this._rpcRequest("getTransaction",qe),St=c.create(ot,ao);if("error"in St)throw new Et(St.error,"failed to get transaction");let lr=St.result;return lr&&{...lr,transaction:{...lr.transaction,message:sn(lr.version,lr.transaction.message)}}}async getParsedTransaction(le,se){let{commitment:we,config:ke}=Ve(se),qe=this._buildArgsAtLeastConfirmed([le],we,"jsonParsed",ke),ot=await this._rpcRequest("getTransaction",qe),St=c.create(ot,jn);if("error"in St)throw new Et(St.error,"failed to get transaction");return St.result}async getParsedTransactions(le,se){let{commitment:we,config:ke}=Ve(se),qe=le.map(ot=>({methodName:"getTransaction",args:this._buildArgsAtLeastConfirmed([ot],we,"jsonParsed",ke)}));return(await this._rpcBatchRequest(qe)).map(ot=>{let St=c.create(ot,jn);if("error"in St)throw new Et(St.error,"failed to get transactions");return St.result})}async getTransactions(le,se){let{commitment:we,config:ke}=Ve(se),qe=le.map(ot=>({methodName:"getTransaction",args:this._buildArgsAtLeastConfirmed([ot],we,void 0,ke)}));return(await this._rpcBatchRequest(qe)).map(ot=>{let St=c.create(ot,ao);if("error"in St)throw new Et(St.error,"failed to get transactions");let lr=St.result;return lr&&{...lr,transaction:{...lr.transaction,message:sn(lr.version,lr.transaction.message)}}})}async getConfirmedBlock(le,se){let we=this._buildArgsAtLeastConfirmed([le],se),ke=await this._rpcRequest("getBlock",we),qe=c.create(ke,vi);if("error"in qe)throw new Et(qe.error,"failed to get confirmed block");let ot=qe.result;if(!ot)throw new Error("Confirmed block "+le+" not found");let St={...ot,transactions:ot.transactions.map(({transaction:lr,meta:Or})=>{let tn=new Je(lr.message);return{meta:Or,transaction:{...lr,message:tn}}})};return{...St,transactions:St.transactions.map(({transaction:lr,meta:Or})=>({meta:Or,transaction:Ye.populate(lr.message,lr.signatures)}))}}async getBlocks(le,se,we){let ke=this._buildArgsAtLeastConfirmed(se!==void 0?[le,se]:[le],we),qe=await this._rpcRequest("getBlocks",ke),ot=c.create(qe,dr(c.array(c.number())));if("error"in ot)throw new Et(ot.error,"failed to get blocks");return ot.result}async getBlockSignatures(le,se){let we=this._buildArgsAtLeastConfirmed([le],se,void 0,{transactionDetails:"signatures",rewards:!1}),ke=await this._rpcRequest("getBlock",we),qe=c.create(ke,xi);if("error"in qe)throw new Et(qe.error,"failed to get block");let ot=qe.result;if(!ot)throw new Error("Block "+le+" not found");return ot}async getConfirmedBlockSignatures(le,se){let we=this._buildArgsAtLeastConfirmed([le],se,void 0,{transactionDetails:"signatures",rewards:!1}),ke=await this._rpcRequest("getBlock",we),qe=c.create(ke,xi);if("error"in qe)throw new Et(qe.error,"failed to get confirmed block");let ot=qe.result;if(!ot)throw new Error("Confirmed block "+le+" not found");return ot}async getConfirmedTransaction(le,se){let we=this._buildArgsAtLeastConfirmed([le],se),ke=await this._rpcRequest("getTransaction",we),qe=c.create(ke,ao);if("error"in qe)throw new Et(qe.error,"failed to get transaction");let ot=qe.result;if(!ot)return ot;let St=new Je(ot.transaction.message),lr=ot.transaction.signatures;return{...ot,transaction:Ye.populate(St,lr)}}async getParsedConfirmedTransaction(le,se){let we=this._buildArgsAtLeastConfirmed([le],se,"jsonParsed"),ke=await this._rpcRequest("getTransaction",we),qe=c.create(ke,jn);if("error"in qe)throw new Et(qe.error,"failed to get confirmed transaction");return qe.result}async getParsedConfirmedTransactions(le,se){let we=le.map(ke=>({methodName:"getTransaction",args:this._buildArgsAtLeastConfirmed([ke],se,"jsonParsed")}));return(await this._rpcBatchRequest(we)).map(ke=>{let qe=c.create(ke,jn);if("error"in qe)throw new Et(qe.error,"failed to get confirmed transactions");return qe.result})}async getConfirmedSignaturesForAddress(le,se,we){let ke={},qe=await this.getFirstAvailableBlock();for(;!("until"in ke)&&(se--,!(se<=0||se<qe));)try{let St=await this.getConfirmedBlockSignatures(se,"finalized");St.signatures.length>0&&(ke.until=St.signatures[St.signatures.length-1].toString())}catch(St){if(St instanceof Error&&St.message.includes("skipped"))continue;throw St}let ot=await this.getSlot("finalized");for(;!("before"in ke)&&(we++,!(we>ot));)try{let St=await this.getConfirmedBlockSignatures(we);St.signatures.length>0&&(ke.before=St.signatures[St.signatures.length-1].toString())}catch(St){if(St instanceof Error&&St.message.includes("skipped"))continue;throw St}return(await this.getConfirmedSignaturesForAddress2(le,ke)).map(St=>St.signature)}async getConfirmedSignaturesForAddress2(le,se,we){let ke=this._buildArgsAtLeastConfirmed([le.toBase58()],we,void 0,se),qe=await this._rpcRequest("getConfirmedSignaturesForAddress2",ke),ot=c.create(qe,xt);if("error"in ot)throw new Et(ot.error,"failed to get confirmed signatures for address");return ot.result}async getSignaturesForAddress(le,se,we){let ke=this._buildArgsAtLeastConfirmed([le.toBase58()],we,void 0,se),qe=await this._rpcRequest("getSignaturesForAddress",ke),ot=c.create(qe,Mt);if("error"in ot)throw new Et(ot.error,"failed to get signatures for address");return ot.result}async getAddressLookupTable(le,se){let{context:we,value:ke}=await this.getAccountInfoAndContext(le,se),qe=null;return ke!==null&&(qe=new Bt({key:le,state:Bt.deserialize(ke.data)})),{context:we,value:qe}}async getNonceAndContext(le,se){let{context:we,value:ke}=await this.getAccountInfoAndContext(le,se),qe=null;return ke!==null&&(qe=Ze.fromAccountData(ke.data)),{context:we,value:qe}}async getNonce(le,se){return await this.getNonceAndContext(le,se).then(we=>we.value).catch(we=>{throw new Error("failed to get nonce for account "+le.toBase58()+": "+we)})}async requestAirdrop(le,se){let we=await this._rpcRequest("requestAirdrop",[le.toBase58(),se]),ke=c.create(we,li);if("error"in ke)throw new Et(ke.error,`airdrop to ${le.toBase58()} failed`);return ke.result}async _blockhashWithExpiryBlockHeight(le){if(!le){for(;this._pollingBlockhash;)await Hr(100);let se=Date.now()-this._blockhashInfo.lastFetch>=dt;if(this._blockhashInfo.latestBlockhash!==null&&!se)return this._blockhashInfo.latestBlockhash}return await this._pollNewBlockhash()}async _pollNewBlockhash(){this._pollingBlockhash=!0;try{let le=Date.now(),se=this._blockhashInfo.latestBlockhash,we=se?se.blockhash:null;for(let ke=0;ke<50;ke++){let qe=await this.getLatestBlockhash("finalized");if(we!==qe.blockhash)return this._blockhashInfo={latestBlockhash:qe,lastFetch:Date.now(),transactionSignatures:[],simulatedSignatures:[]},qe;await Hr(jt/2)}throw new Error(`Unable to obtain a new blockhash after ${Date.now()-le}ms`)}finally{this._pollingBlockhash=!1}}async getStakeMinimumDelegation(le){let{commitment:se,config:we}=Ve(le),ke=this._buildArgs([],se,"base64",we),qe=await this._rpcRequest("getStakeMinimumDelegation",ke),ot=c.create(qe,wr(c.number()));if("error"in ot)throw new Et(ot.error,"failed to get stake minimum delegation");return ot.result}async simulateTransaction(le,se,we){if("message"in le){let rn=le.serialize(),Zr=t.Buffer.from(rn).toString("base64");if(Array.isArray(se)||we!==void 0)throw new Error("Invalid arguments");let yn=se||{};yn.encoding="base64","commitment"in yn||(yn.commitment=this.commitment),se&&typeof se=="object"&&"innerInstructions"in se&&(yn.innerInstructions=se.innerInstructions);let en=[Zr,yn],Ln=await this._rpcRequest("simulateTransaction",en),Nn=c.create(Ln,Hi);if("error"in Nn)throw new Error("failed to simulate transaction: "+Nn.error.message);return Nn.result}let ke;if(le instanceof Ye){let rn=le;ke=new Ye,ke.feePayer=rn.feePayer,ke.instructions=le.instructions,ke.nonceInfo=rn.nonceInfo,ke.signatures=rn.signatures}else ke=Ye.populate(le),ke._message=ke._json=void 0;if(se!==void 0&&!Array.isArray(se))throw new Error("Invalid arguments");let qe=se;if(ke.nonceInfo&&qe)ke.sign(...qe);else{let rn=this._disableBlockhashCaching;for(;;){let Zr=await this._blockhashWithExpiryBlockHeight(rn);if(ke.lastValidBlockHeight=Zr.lastValidBlockHeight,ke.recentBlockhash=Zr.blockhash,!qe)break;if(ke.sign(...qe),!ke.signature)throw new Error("!signature");let yn=ke.signature.toString("base64");if(!this._blockhashInfo.simulatedSignatures.includes(yn)&&!this._blockhashInfo.transactionSignatures.includes(yn)){this._blockhashInfo.simulatedSignatures.push(yn);break}else rn=!0}}let ot=ke._compile(),St=ot.serialize(),lr=ke._serialize(St).toString("base64"),Or={encoding:"base64",commitment:this.commitment};if(we){let rn=(Array.isArray(we)?we:ot.nonProgramIds()).map(Zr=>Zr.toBase58());Or.accounts={encoding:"base64",addresses:rn}}qe&&(Or.sigVerify=!0),se&&typeof se=="object"&&"innerInstructions"in se&&(Or.innerInstructions=se.innerInstructions);let tn=[lr,Or],pn=await this._rpcRequest("simulateTransaction",tn),Qr=c.create(pn,Hi);if("error"in Qr){let rn;if("data"in Qr.error&&(rn=Qr.error.data.logs,rn&&Array.isArray(rn))){let Zr=`
    `,yn=Zr+rn.join(Zr);console.error(Qr.error.message,yn)}throw new kt({action:"simulate",signature:"",transactionMessage:Qr.error.message,logs:rn})}return Qr.result}async sendTransaction(le,se,we){if("version"in le){if(se&&Array.isArray(se))throw new Error("Invalid arguments");let ot=le.serialize();return await this.sendRawTransaction(ot,se)}if(se===void 0||!Array.isArray(se))throw new Error("Invalid arguments");let ke=se;if(le.nonceInfo)le.sign(...ke);else{let ot=this._disableBlockhashCaching;for(;;){let St=await this._blockhashWithExpiryBlockHeight(ot);if(le.lastValidBlockHeight=St.lastValidBlockHeight,le.recentBlockhash=St.blockhash,le.sign(...ke),!le.signature)throw new Error("!signature");let lr=le.signature.toString("base64");if(this._blockhashInfo.transactionSignatures.includes(lr))ot=!0;else{this._blockhashInfo.transactionSignatures.push(lr);break}}}let qe=le.serialize();return await this.sendRawTransaction(qe,we)}async sendRawTransaction(le,se){let we=F(le).toString("base64");return await this.sendEncodedTransaction(we,se)}async sendEncodedTransaction(le,se){let we={encoding:"base64"},ke=se&&se.skipPreflight,qe=ke===!0?"processed":se&&se.preflightCommitment||this.commitment;se&&se.maxRetries!=null&&(we.maxRetries=se.maxRetries),se&&se.minContextSlot!=null&&(we.minContextSlot=se.minContextSlot),ke&&(we.skipPreflight=ke),qe&&(we.preflightCommitment=qe);let ot=[le,we],St=await this._rpcRequest("sendTransaction",ot),lr=c.create(St,Ms);if("error"in lr){let Or;throw"data"in lr.error&&(Or=lr.error.data.logs),new kt({action:ke?"send":"simulate",signature:"",transactionMessage:lr.error.message,logs:Or})}return lr.result}_wsOnOpen(){this._rpcWebSocketConnected=!0,this._rpcWebSocketHeartbeat=setInterval(()=>{(async()=>{try{await this._rpcWebSocket.notify("ping")}catch{}})()},5e3),this._updateSubscriptions()}_wsOnError(le){this._rpcWebSocketConnected=!1,console.error("ws error:",le.message)}_wsOnClose(le){if(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),le===1e3){this._updateSubscriptions();return}this._subscriptionCallbacksByServerSubscriptionId={},Object.entries(this._subscriptionsByHash).forEach(([se,we])=>{this._setSubscription(se,{...we,state:"pending"})})}_setSubscription(le,se){let we=this._subscriptionsByHash[le]?.state;if(this._subscriptionsByHash[le]=se,we!==se.state){let ke=this._subscriptionStateChangeCallbacksByHash[le];ke&&ke.forEach(qe=>{try{qe(se.state)}catch{}})}}_onSubscriptionStateChange(le,se){let we=this._subscriptionHashByClientSubscriptionId[le];if(we==null)return()=>{};let ke=this._subscriptionStateChangeCallbacksByHash[we]||=new Set;return ke.add(se),()=>{ke.delete(se),ke.size===0&&delete this._subscriptionStateChangeCallbacksByHash[we]}}async _updateSubscriptions(){if(Object.keys(this._subscriptionsByHash).length===0){this._rpcWebSocketConnected&&(this._rpcWebSocketConnected=!1,this._rpcWebSocketIdleTimeout=setTimeout(()=>{this._rpcWebSocketIdleTimeout=null;try{this._rpcWebSocket.close()}catch(we){we instanceof Error&&console.log(`Error when closing socket connection: ${we.message}`)}},500));return}if(this._rpcWebSocketIdleTimeout!==null&&(clearTimeout(this._rpcWebSocketIdleTimeout),this._rpcWebSocketIdleTimeout=null,this._rpcWebSocketConnected=!0),!this._rpcWebSocketConnected){this._rpcWebSocket.connect();return}let le=this._rpcWebSocketGeneration,se=()=>le===this._rpcWebSocketGeneration;await Promise.all(Object.keys(this._subscriptionsByHash).map(async we=>{let ke=this._subscriptionsByHash[we];if(ke!==void 0)switch(ke.state){case"pending":case"unsubscribed":if(ke.callbacks.size===0){delete this._subscriptionsByHash[we],ke.state==="unsubscribed"&&delete this._subscriptionCallbacksByServerSubscriptionId[ke.serverSubscriptionId],await this._updateSubscriptions();return}await(async()=>{let{args:qe,method:ot}=ke;try{this._setSubscription(we,{...ke,state:"subscribing"});let St=await this._rpcWebSocket.call(ot,qe);this._setSubscription(we,{...ke,serverSubscriptionId:St,state:"subscribed"}),this._subscriptionCallbacksByServerSubscriptionId[St]=ke.callbacks,await this._updateSubscriptions()}catch(St){if(console.error(`Received ${St instanceof Error?"":"JSON-RPC "}error calling \`${ot}\``,{args:qe,error:St}),!se())return;this._setSubscription(we,{...ke,state:"pending"}),await this._updateSubscriptions()}})();break;case"subscribed":ke.callbacks.size===0&&await(async()=>{let{serverSubscriptionId:qe,unsubscribeMethod:ot}=ke;if(this._subscriptionsAutoDisposedByRpc.has(qe))this._subscriptionsAutoDisposedByRpc.delete(qe);else{this._setSubscription(we,{...ke,state:"unsubscribing"}),this._setSubscription(we,{...ke,state:"unsubscribing"});try{await this._rpcWebSocket.call(ot,[qe])}catch(St){if(St instanceof Error&&console.error(`${ot} error:`,St.message),!se())return;this._setSubscription(we,{...ke,state:"subscribed"}),await this._updateSubscriptions();return}}this._setSubscription(we,{...ke,state:"unsubscribed"}),await this._updateSubscriptions()})();break}}))}_handleServerNotification(le,se){let we=this._subscriptionCallbacksByServerSubscriptionId[le];we!==void 0&&we.forEach(ke=>{try{ke(...se)}catch(qe){console.error(qe)}})}_wsOnAccountNotification(le){let{result:se,subscription:we}=c.create(le,ar);this._handleServerNotification(we,[se.value,se.context])}_makeSubscription(le,se){let we=this._nextClientSubscriptionId++,ke=rt([le.method,se]),qe=this._subscriptionsByHash[ke];return qe===void 0?this._subscriptionsByHash[ke]={...le,args:se,callbacks:new Set([le.callback]),state:"pending"}:qe.callbacks.add(le.callback),this._subscriptionHashByClientSubscriptionId[we]=ke,this._subscriptionDisposeFunctionsByClientSubscriptionId[we]=async()=>{delete this._subscriptionDisposeFunctionsByClientSubscriptionId[we],delete this._subscriptionHashByClientSubscriptionId[we];let ot=this._subscriptionsByHash[ke];re(ot!==void 0,`Could not find a \`Subscription\` when tearing down client subscription #${we}`),ot.callbacks.delete(le.callback),await this._updateSubscriptions()},this._updateSubscriptions(),we}onAccountChange(le,se,we){let{commitment:ke,config:qe}=Ve(we),ot=this._buildArgs([le.toBase58()],ke||this._commitment||"finalized","base64",qe);return this._makeSubscription({callback:se,method:"accountSubscribe",unsubscribeMethod:"accountUnsubscribe"},ot)}async removeAccountChangeListener(le){await this._unsubscribeClientSubscription(le,"account change")}_wsOnProgramAccountNotification(le){let{result:se,subscription:we}=c.create(le,br);this._handleServerNotification(we,[{accountId:se.value.pubkey,accountInfo:se.value.account},se.context])}onProgramAccountChange(le,se,we,ke){let{commitment:qe,config:ot}=Ve(we),St=this._buildArgs([le.toBase58()],qe||this._commitment||"finalized","base64",ot||(ke?{filters:Yt(ke)}:void 0));return this._makeSubscription({callback:se,method:"programSubscribe",unsubscribeMethod:"programUnsubscribe"},St)}async removeProgramAccountChangeListener(le){await this._unsubscribeClientSubscription(le,"program account change")}onLogs(le,se,we){let ke=this._buildArgs([typeof le=="object"?{mentions:[le.toString()]}:le],we||this._commitment||"finalized");return this._makeSubscription({callback:se,method:"logsSubscribe",unsubscribeMethod:"logsUnsubscribe"},ke)}async removeOnLogsListener(le){await this._unsubscribeClientSubscription(le,"logs")}_wsOnLogsNotification(le){let{result:se,subscription:we}=c.create(le,Ei);this._handleServerNotification(we,[se.value,se.context])}_wsOnSlotNotification(le){let{result:se,subscription:we}=c.create(le,on);this._handleServerNotification(we,[se])}onSlotChange(le){return this._makeSubscription({callback:le,method:"slotSubscribe",unsubscribeMethod:"slotUnsubscribe"},[])}async removeSlotChangeListener(le){await this._unsubscribeClientSubscription(le,"slot change")}_wsOnSlotUpdatesNotification(le){let{result:se,subscription:we}=c.create(le,Xr);this._handleServerNotification(we,[se])}onSlotUpdate(le){return this._makeSubscription({callback:le,method:"slotsUpdatesSubscribe",unsubscribeMethod:"slotsUpdatesUnsubscribe"},[])}async removeSlotUpdateListener(le){await this._unsubscribeClientSubscription(le,"slot update")}async _unsubscribeClientSubscription(le,se){let we=this._subscriptionDisposeFunctionsByClientSubscriptionId[le];we?await we():console.warn(`Ignored unsubscribe request because an active subscription with id \`${le}\` for '${se}' events could not be found.`)}_buildArgs(le,se,we,ke){let qe=se||this._commitment;if(qe||we||ke){let ot={};we&&(ot.encoding=we),qe&&(ot.commitment=qe),ke&&(ot=Object.assign(ot,ke)),le.push(ot)}return le}_buildArgsAtLeastConfirmed(le,se,we,ke){let qe=se||this._commitment;if(qe&&!["confirmed","finalized"].includes(qe))throw new Error("Using Connection with default commitment: `"+this._commitment+"`, but method requires at least `confirmed`");return this._buildArgs(le,se,we,ke)}_wsOnSignatureNotification(le){let{result:se,subscription:we}=c.create(le,On);se.value!=="receivedSignature"&&this._subscriptionsAutoDisposedByRpc.add(we),this._handleServerNotification(we,se.value==="receivedSignature"?[{type:"received"},se.context]:[{type:"status",result:se.value},se.context])}onSignature(le,se,we){let ke=this._buildArgs([le],we||this._commitment||"finalized"),qe=this._makeSubscription({callback:(ot,St)=>{if(ot.type==="status"){se(ot.result,St);try{this.removeSignatureListener(qe)}catch{}}},method:"signatureSubscribe",unsubscribeMethod:"signatureUnsubscribe"},ke);return qe}onSignatureWithOptions(le,se,we){let{commitment:ke,...qe}={...we,commitment:we&&we.commitment||this._commitment||"finalized"},ot=this._buildArgs([le],ke,void 0,qe),St=this._makeSubscription({callback:(lr,Or)=>{se(lr,Or);try{this.removeSignatureListener(St)}catch{}},method:"signatureSubscribe",unsubscribeMethod:"signatureUnsubscribe"},ot);return St}async removeSignatureListener(le){await this._unsubscribeClientSubscription(le,"signature result")}_wsOnRootNotification(le){let{result:se,subscription:we}=c.create(le,ci);this._handleServerNotification(we,[se])}onRootChange(le){return this._makeSubscription({callback:le,method:"rootSubscribe",unsubscribeMethod:"rootUnsubscribe"},[])}async removeRootChangeListener(le){await this._unsubscribeClientSubscription(le,"root change")}},bs=class ud{constructor(se){this._keypair=void 0,this._keypair=se??U()}static generate(){return new ud(U())}static fromSecretKey(se,we){if(se.byteLength!==64)throw new Error("bad secret key size");let ke=se.slice(32,64);if(!we||!we.skipValidation){let qe=se.slice(0,32),ot=N(qe);for(let St=0;St<32;St++)if(ke[St]!==ot[St])throw new Error("provided secretKey is invalid")}return new ud({publicKey:ke,secretKey:se})}static fromSeed(se){let we=N(se),ke=new Uint8Array(64);return ke.set(se),ke.set(we,32),new ud({publicKey:we,secretKey:ke})}get publicKey(){return new S(this._keypair.publicKey)}get secretKey(){return new Uint8Array(this._keypair.secretKey)}},Rn=Object.freeze({CreateLookupTable:{index:0,layout:v.struct([v.u32("instruction"),Ht("recentSlot"),v.u8("bumpSeed")])},FreezeLookupTable:{index:1,layout:v.struct([v.u32("instruction")])},ExtendLookupTable:{index:2,layout:v.struct([v.u32("instruction"),Ht(),v.seq(ae(),v.offset(v.u32(),-8),"addresses")])},DeactivateLookupTable:{index:3,layout:v.struct([v.u32("instruction")])},CloseLookupTable:{index:4,layout:v.struct([v.u32("instruction")])}}),Vs=class{constructor(){}static decodeInstructionType(le){this.checkProgramId(le.programId);let se=v.u32("instruction").decode(le.data),we;for(let[ke,qe]of Object.entries(Rn))if(qe.index==se){we=ke;break}if(!we)throw new Error("Invalid Instruction. Should be a LookupTable Instruction");return we}static decodeCreateLookupTable(le){this.checkProgramId(le.programId),this.checkKeysLength(le.keys,4);let{recentSlot:se}=Wt(Rn.CreateLookupTable,le.data);return{authority:le.keys[1].pubkey,payer:le.keys[2].pubkey,recentSlot:Number(se)}}static decodeExtendLookupTable(le){if(this.checkProgramId(le.programId),le.keys.length<2)throw new Error(`invalid instruction; found ${le.keys.length} keys, expected at least 2`);let{addresses:se}=Wt(Rn.ExtendLookupTable,le.data);return{lookupTable:le.keys[0].pubkey,authority:le.keys[1].pubkey,payer:le.keys.length>2?le.keys[2].pubkey:void 0,addresses:se.map(we=>new S(we))}}static decodeCloseLookupTable(le){return this.checkProgramId(le.programId),this.checkKeysLength(le.keys,3),{lookupTable:le.keys[0].pubkey,authority:le.keys[1].pubkey,recipient:le.keys[2].pubkey}}static decodeFreezeLookupTable(le){return this.checkProgramId(le.programId),this.checkKeysLength(le.keys,2),{lookupTable:le.keys[0].pubkey,authority:le.keys[1].pubkey}}static decodeDeactivateLookupTable(le){return this.checkProgramId(le.programId),this.checkKeysLength(le.keys,2),{lookupTable:le.keys[0].pubkey,authority:le.keys[1].pubkey}}static checkProgramId(le){if(!le.equals(Pi.programId))throw new Error("invalid instruction; programId is not AddressLookupTable Program")}static checkKeysLength(le,se){if(le.length<se)throw new Error(`invalid instruction; found ${le.length} keys, expected at least ${se}`)}},Pi=class{constructor(){}static createLookupTable(le){let[se,we]=S.findProgramAddressSync([le.authority.toBuffer(),u.toBufferLE(BigInt(le.recentSlot),8)],this.programId),ke=Rn.CreateLookupTable,qe=_t(ke,{recentSlot:BigInt(le.recentSlot),bumpSeed:we}),ot=[{pubkey:se,isSigner:!1,isWritable:!0},{pubkey:le.authority,isSigner:!0,isWritable:!1},{pubkey:le.payer,isSigner:!0,isWritable:!0},{pubkey:hr.programId,isSigner:!1,isWritable:!1}];return[new it({programId:this.programId,keys:ot,data:qe}),se]}static freezeLookupTable(le){let se=Rn.FreezeLookupTable,we=_t(se),ke=[{pubkey:le.lookupTable,isSigner:!1,isWritable:!0},{pubkey:le.authority,isSigner:!0,isWritable:!1}];return new it({programId:this.programId,keys:ke,data:we})}static extendLookupTable(le){let se=Rn.ExtendLookupTable,we=_t(se,{addresses:le.addresses.map(qe=>qe.toBytes())}),ke=[{pubkey:le.lookupTable,isSigner:!1,isWritable:!0},{pubkey:le.authority,isSigner:!0,isWritable:!1}];return le.payer&&ke.push({pubkey:le.payer,isSigner:!0,isWritable:!0},{pubkey:hr.programId,isSigner:!1,isWritable:!1}),new it({programId:this.programId,keys:ke,data:we})}static deactivateLookupTable(le){let se=Rn.DeactivateLookupTable,we=_t(se),ke=[{pubkey:le.lookupTable,isSigner:!1,isWritable:!0},{pubkey:le.authority,isSigner:!0,isWritable:!1}];return new it({programId:this.programId,keys:ke,data:we})}static closeLookupTable(le){let se=Rn.CloseLookupTable,we=_t(se),ke=[{pubkey:le.lookupTable,isSigner:!1,isWritable:!0},{pubkey:le.authority,isSigner:!0,isWritable:!1},{pubkey:le.recipient,isSigner:!1,isWritable:!0}];return new it({programId:this.programId,keys:ke,data:we})}};Pi.programId=new S("AddressLookupTab1e1111111111111111111111111");var ma=class{constructor(){}static decodeInstructionType(le){this.checkProgramId(le.programId);let se=v.u8("instruction").decode(le.data),we;for(let[ke,qe]of Object.entries(Xi))if(qe.index==se){we=ke;break}if(!we)throw new Error("Instruction type incorrect; not a ComputeBudgetInstruction");return we}static decodeRequestUnits(le){this.checkProgramId(le.programId);let{units:se,additionalFee:we}=Wt(Xi.RequestUnits,le.data);return{units:se,additionalFee:we}}static decodeRequestHeapFrame(le){this.checkProgramId(le.programId);let{bytes:se}=Wt(Xi.RequestHeapFrame,le.data);return{bytes:se}}static decodeSetComputeUnitLimit(le){this.checkProgramId(le.programId);let{units:se}=Wt(Xi.SetComputeUnitLimit,le.data);return{units:se}}static decodeSetComputeUnitPrice(le){this.checkProgramId(le.programId);let{microLamports:se}=Wt(Xi.SetComputeUnitPrice,le.data);return{microLamports:se}}static checkProgramId(le){if(!le.equals(ws.programId))throw new Error("invalid instruction; programId is not ComputeBudgetProgram")}},Xi=Object.freeze({RequestUnits:{index:0,layout:v.struct([v.u8("instruction"),v.u32("units"),v.u32("additionalFee")])},RequestHeapFrame:{index:1,layout:v.struct([v.u8("instruction"),v.u32("bytes")])},SetComputeUnitLimit:{index:2,layout:v.struct([v.u8("instruction"),v.u32("units")])},SetComputeUnitPrice:{index:3,layout:v.struct([v.u8("instruction"),Ht("microLamports")])}}),ws=class{constructor(){}static requestUnits(le){let se=Xi.RequestUnits,we=_t(se,le);return new it({keys:[],programId:this.programId,data:we})}static requestHeapFrame(le){let se=Xi.RequestHeapFrame,we=_t(se,le);return new it({keys:[],programId:this.programId,data:we})}static setComputeUnitLimit(le){let se=Xi.SetComputeUnitLimit,we=_t(se,le);return new it({keys:[],programId:this.programId,data:we})}static setComputeUnitPrice(le){let se=Xi.SetComputeUnitPrice,we=_t(se,{microLamports:BigInt(le.microLamports)});return new it({keys:[],programId:this.programId,data:we})}};ws.programId=new S("ComputeBudget111111111111111111111111111111");var Bs=64,qs=32,xs=64,vs=v.struct([v.u8("numSignatures"),v.u8("padding"),v.u16("signatureOffset"),v.u16("signatureInstructionIndex"),v.u16("publicKeyOffset"),v.u16("publicKeyInstructionIndex"),v.u16("messageDataOffset"),v.u16("messageDataSize"),v.u16("messageInstructionIndex")]),Bo=class _1{constructor(){}static createInstructionWithPublicKey(se){let{publicKey:we,message:ke,signature:qe,instructionIndex:ot}=se;re(we.length===qs,`Public Key must be ${qs} bytes but received ${we.length} bytes`),re(qe.length===xs,`Signature must be ${xs} bytes but received ${qe.length} bytes`);let St=vs.span,lr=St+we.length,Or=lr+qe.length,tn=1,pn=t.Buffer.alloc(Or+ke.length),Qr=ot??65535;return vs.encode({numSignatures:tn,padding:0,signatureOffset:lr,signatureInstructionIndex:Qr,publicKeyOffset:St,publicKeyInstructionIndex:Qr,messageDataOffset:Or,messageDataSize:ke.length,messageInstructionIndex:Qr},pn),pn.fill(we,St),pn.fill(qe,lr),pn.fill(ke,Or),new it({keys:[],programId:_1.programId,data:pn})}static createInstructionWithPrivateKey(se){let{privateKey:we,message:ke,instructionIndex:qe}=se;re(we.length===Bs,`Private key must be ${Bs} bytes but received ${we.length} bytes`);try{let ot=bs.fromSecretKey(we),St=ot.publicKey.toBytes(),lr=L(ke,ot.secretKey);return this.createInstructionWithPublicKey({publicKey:St,message:ke,signature:lr,instructionIndex:qe})}catch(ot){throw new Error(`Error creating instruction; ${ot}`)}}};Bo.programId=new S("Ed25519SigVerify111111111111111111111111111");var Ba=(le,se)=>{let we=C.secp256k1.sign(le,se);return[we.toCompactRawBytes(),we.recovery]};C.secp256k1.utils.isValidPrivateKey;var xo=C.secp256k1.getPublicKey,Js=32,Us=20,Xs=64,Qs=11,Ni=v.struct([v.u8("numSignatures"),v.u16("signatureOffset"),v.u8("signatureInstructionIndex"),v.u16("ethAddressOffset"),v.u8("ethAddressInstructionIndex"),v.u16("messageDataOffset"),v.u16("messageDataSize"),v.u8("messageInstructionIndex"),v.blob(20,"ethAddress"),v.blob(64,"signature"),v.u8("recoveryId")]),Ws=class cd{constructor(){}static publicKeyToEthAddress(se){re(se.length===Xs,`Public key must be ${Xs} bytes but received ${se.length} bytes`);try{return t.Buffer.from(y.keccak_256(F(se))).slice(-Us)}catch(we){throw new Error(`Error constructing Ethereum address: ${we}`)}}static createInstructionWithPublicKey(se){let{publicKey:we,message:ke,signature:qe,recoveryId:ot,instructionIndex:St}=se;return cd.createInstructionWithEthAddress({ethAddress:cd.publicKeyToEthAddress(we),message:ke,signature:qe,recoveryId:ot,instructionIndex:St})}static createInstructionWithEthAddress(se){let{ethAddress:we,message:ke,signature:qe,recoveryId:ot,instructionIndex:St=0}=se,lr;typeof we=="string"?we.startsWith("0x")?lr=t.Buffer.from(we.substr(2),"hex"):lr=t.Buffer.from(we,"hex"):lr=we,re(lr.length===Us,`Address must be ${Us} bytes but received ${lr.length} bytes`);let Or=1+Qs,tn=Or,pn=Or+lr.length,Qr=pn+qe.length+1,rn=1,Zr=t.Buffer.alloc(Ni.span+ke.length);return Ni.encode({numSignatures:rn,signatureOffset:pn,signatureInstructionIndex:St,ethAddressOffset:tn,ethAddressInstructionIndex:St,messageDataOffset:Qr,messageDataSize:ke.length,messageInstructionIndex:St,signature:F(qe),ethAddress:F(lr),recoveryId:ot},Zr),Zr.fill(F(ke),Ni.span),new it({keys:[],programId:cd.programId,data:Zr})}static createInstructionWithPrivateKey(se){let{privateKey:we,message:ke,instructionIndex:qe}=se;re(we.length===Js,`Private key must be ${Js} bytes but received ${we.length} bytes`);try{let ot=F(we),St=xo(ot,!1).slice(1),lr=t.Buffer.from(y.keccak_256(F(ke))),[Or,tn]=Ba(lr,ot);return this.createInstructionWithPublicKey({publicKey:St,message:ke,signature:Or,recoveryId:tn,instructionIndex:qe})}catch(ot){throw new Error(`Error creating instruction; ${ot}`)}}};Ws.programId=new S("KeccakSecp256k11111111111111111111111111111");var xa,Vo=new S("StakeConfig11111111111111111111111111111111"),Re=class{constructor(le,se){this.staker=void 0,this.withdrawer=void 0,this.staker=le,this.withdrawer=se}},Se=class{constructor(le,se,we){this.unixTimestamp=void 0,this.epoch=void 0,this.custodian=void 0,this.unixTimestamp=le,this.epoch=se,this.custodian=we}};xa=Se,Se.default=new xa(0,0,S.default);var pe=class{constructor(){}static decodeInstructionType(le){this.checkProgramId(le.programId);let se=v.u32("instruction").decode(le.data),we;for(let[ke,qe]of Object.entries(We))if(qe.index==se){we=ke;break}if(!we)throw new Error("Instruction type incorrect; not a StakeInstruction");return we}static decodeInitialize(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,2);let{authorized:se,lockup:we}=Wt(We.Initialize,le.data);return{stakePubkey:le.keys[0].pubkey,authorized:new Re(new S(se.staker),new S(se.withdrawer)),lockup:new Se(we.unixTimestamp,we.epoch,new S(we.custodian))}}static decodeDelegate(le){return this.checkProgramId(le.programId),this.checkKeyLength(le.keys,6),Wt(We.Delegate,le.data),{stakePubkey:le.keys[0].pubkey,votePubkey:le.keys[1].pubkey,authorizedPubkey:le.keys[5].pubkey}}static decodeAuthorize(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,3);let{newAuthorized:se,stakeAuthorizationType:we}=Wt(We.Authorize,le.data),ke={stakePubkey:le.keys[0].pubkey,authorizedPubkey:le.keys[2].pubkey,newAuthorizedPubkey:new S(se),stakeAuthorizationType:{index:we}};return le.keys.length>3&&(ke.custodianPubkey=le.keys[3].pubkey),ke}static decodeAuthorizeWithSeed(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,2);let{newAuthorized:se,stakeAuthorizationType:we,authoritySeed:ke,authorityOwner:qe}=Wt(We.AuthorizeWithSeed,le.data),ot={stakePubkey:le.keys[0].pubkey,authorityBase:le.keys[1].pubkey,authoritySeed:ke,authorityOwner:new S(qe),newAuthorizedPubkey:new S(se),stakeAuthorizationType:{index:we}};return le.keys.length>3&&(ot.custodianPubkey=le.keys[3].pubkey),ot}static decodeSplit(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,3);let{lamports:se}=Wt(We.Split,le.data);return{stakePubkey:le.keys[0].pubkey,splitStakePubkey:le.keys[1].pubkey,authorizedPubkey:le.keys[2].pubkey,lamports:se}}static decodeMerge(le){return this.checkProgramId(le.programId),this.checkKeyLength(le.keys,3),Wt(We.Merge,le.data),{stakePubkey:le.keys[0].pubkey,sourceStakePubKey:le.keys[1].pubkey,authorizedPubkey:le.keys[4].pubkey}}static decodeWithdraw(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,5);let{lamports:se}=Wt(We.Withdraw,le.data),we={stakePubkey:le.keys[0].pubkey,toPubkey:le.keys[1].pubkey,authorizedPubkey:le.keys[4].pubkey,lamports:se};return le.keys.length>5&&(we.custodianPubkey=le.keys[5].pubkey),we}static decodeDeactivate(le){return this.checkProgramId(le.programId),this.checkKeyLength(le.keys,3),Wt(We.Deactivate,le.data),{stakePubkey:le.keys[0].pubkey,authorizedPubkey:le.keys[2].pubkey}}static checkProgramId(le){if(!le.equals(nr.programId))throw new Error("invalid instruction; programId is not StakeProgram")}static checkKeyLength(le,se){if(le.length<se)throw new Error(`invalid instruction; found ${le.length} keys, expected at least ${se}`)}},We=Object.freeze({Initialize:{index:0,layout:v.struct([v.u32("instruction"),me(),ve()])},Authorize:{index:1,layout:v.struct([v.u32("instruction"),ae("newAuthorized"),v.u32("stakeAuthorizationType")])},Delegate:{index:2,layout:v.struct([v.u32("instruction")])},Split:{index:3,layout:v.struct([v.u32("instruction"),v.ns64("lamports")])},Withdraw:{index:4,layout:v.struct([v.u32("instruction"),v.ns64("lamports")])},Deactivate:{index:5,layout:v.struct([v.u32("instruction")])},Merge:{index:7,layout:v.struct([v.u32("instruction")])},AuthorizeWithSeed:{index:8,layout:v.struct([v.u32("instruction"),ae("newAuthorized"),v.u32("stakeAuthorizationType"),ne("authoritySeed"),ae("authorityOwner")])}}),Ft=Object.freeze({Staker:{index:0},Withdrawer:{index:1}}),nr=class{constructor(){}static initialize(le){let{stakePubkey:se,authorized:we,lockup:ke}=le,qe=ke||Se.default,ot=We.Initialize,St=_t(ot,{authorized:{staker:F(we.staker.toBuffer()),withdrawer:F(we.withdrawer.toBuffer())},lockup:{unixTimestamp:qe.unixTimestamp,epoch:qe.epoch,custodian:F(qe.custodian.toBuffer())}}),lr={keys:[{pubkey:se,isSigner:!1,isWritable:!0},{pubkey:At,isSigner:!1,isWritable:!1}],programId:this.programId,data:St};return new it(lr)}static createAccountWithSeed(le){let se=new Ye;se.add(hr.createAccountWithSeed({fromPubkey:le.fromPubkey,newAccountPubkey:le.stakePubkey,basePubkey:le.basePubkey,seed:le.seed,lamports:le.lamports,space:this.space,programId:this.programId}));let{stakePubkey:we,authorized:ke,lockup:qe}=le;return se.add(this.initialize({stakePubkey:we,authorized:ke,lockup:qe}))}static createAccount(le){let se=new Ye;se.add(hr.createAccount({fromPubkey:le.fromPubkey,newAccountPubkey:le.stakePubkey,lamports:le.lamports,space:this.space,programId:this.programId}));let{stakePubkey:we,authorized:ke,lockup:qe}=le;return se.add(this.initialize({stakePubkey:we,authorized:ke,lockup:qe}))}static delegate(le){let{stakePubkey:se,authorizedPubkey:we,votePubkey:ke}=le,qe=We.Delegate,ot=_t(qe);return new Ye().add({keys:[{pubkey:se,isSigner:!1,isWritable:!0},{pubkey:ke,isSigner:!1,isWritable:!1},{pubkey:Fe,isSigner:!1,isWritable:!1},{pubkey:bt,isSigner:!1,isWritable:!1},{pubkey:Vo,isSigner:!1,isWritable:!1},{pubkey:we,isSigner:!0,isWritable:!1}],programId:this.programId,data:ot})}static authorize(le){let{stakePubkey:se,authorizedPubkey:we,newAuthorizedPubkey:ke,stakeAuthorizationType:qe,custodianPubkey:ot}=le,St=We.Authorize,lr=_t(St,{newAuthorized:F(ke.toBuffer()),stakeAuthorizationType:qe.index}),Or=[{pubkey:se,isSigner:!1,isWritable:!0},{pubkey:Fe,isSigner:!1,isWritable:!0},{pubkey:we,isSigner:!0,isWritable:!1}];return ot&&Or.push({pubkey:ot,isSigner:!0,isWritable:!1}),new Ye().add({keys:Or,programId:this.programId,data:lr})}static authorizeWithSeed(le){let{stakePubkey:se,authorityBase:we,authoritySeed:ke,authorityOwner:qe,newAuthorizedPubkey:ot,stakeAuthorizationType:St,custodianPubkey:lr}=le,Or=We.AuthorizeWithSeed,tn=_t(Or,{newAuthorized:F(ot.toBuffer()),stakeAuthorizationType:St.index,authoritySeed:ke,authorityOwner:F(qe.toBuffer())}),pn=[{pubkey:se,isSigner:!1,isWritable:!0},{pubkey:we,isSigner:!0,isWritable:!1},{pubkey:Fe,isSigner:!1,isWritable:!1}];return lr&&pn.push({pubkey:lr,isSigner:!0,isWritable:!1}),new Ye().add({keys:pn,programId:this.programId,data:tn})}static splitInstruction(le){let{stakePubkey:se,authorizedPubkey:we,splitStakePubkey:ke,lamports:qe}=le,ot=We.Split,St=_t(ot,{lamports:qe});return new it({keys:[{pubkey:se,isSigner:!1,isWritable:!0},{pubkey:ke,isSigner:!1,isWritable:!0},{pubkey:we,isSigner:!0,isWritable:!1}],programId:this.programId,data:St})}static split(le,se){let we=new Ye;return we.add(hr.createAccount({fromPubkey:le.authorizedPubkey,newAccountPubkey:le.splitStakePubkey,lamports:se,space:this.space,programId:this.programId})),we.add(this.splitInstruction(le))}static splitWithSeed(le,se){let{stakePubkey:we,authorizedPubkey:ke,splitStakePubkey:qe,basePubkey:ot,seed:St,lamports:lr}=le,Or=new Ye;return Or.add(hr.allocate({accountPubkey:qe,basePubkey:ot,seed:St,space:this.space,programId:this.programId})),se&&se>0&&Or.add(hr.transfer({fromPubkey:le.authorizedPubkey,toPubkey:qe,lamports:se})),Or.add(this.splitInstruction({stakePubkey:we,authorizedPubkey:ke,splitStakePubkey:qe,lamports:lr}))}static merge(le){let{stakePubkey:se,sourceStakePubKey:we,authorizedPubkey:ke}=le,qe=We.Merge,ot=_t(qe);return new Ye().add({keys:[{pubkey:se,isSigner:!1,isWritable:!0},{pubkey:we,isSigner:!1,isWritable:!0},{pubkey:Fe,isSigner:!1,isWritable:!1},{pubkey:bt,isSigner:!1,isWritable:!1},{pubkey:ke,isSigner:!0,isWritable:!1}],programId:this.programId,data:ot})}static withdraw(le){let{stakePubkey:se,authorizedPubkey:we,toPubkey:ke,lamports:qe,custodianPubkey:ot}=le,St=We.Withdraw,lr=_t(St,{lamports:qe}),Or=[{pubkey:se,isSigner:!1,isWritable:!0},{pubkey:ke,isSigner:!1,isWritable:!0},{pubkey:Fe,isSigner:!1,isWritable:!1},{pubkey:bt,isSigner:!1,isWritable:!1},{pubkey:we,isSigner:!0,isWritable:!1}];return ot&&Or.push({pubkey:ot,isSigner:!0,isWritable:!1}),new Ye().add({keys:Or,programId:this.programId,data:lr})}static deactivate(le){let{stakePubkey:se,authorizedPubkey:we}=le,ke=We.Deactivate,qe=_t(ke);return new Ye().add({keys:[{pubkey:se,isSigner:!1,isWritable:!0},{pubkey:Fe,isSigner:!1,isWritable:!1},{pubkey:we,isSigner:!0,isWritable:!1}],programId:this.programId,data:qe})}};nr.programId=new S("Stake11111111111111111111111111111111111111"),nr.space=200;var sr=class{constructor(le,se,we,ke){this.nodePubkey=void 0,this.authorizedVoter=void 0,this.authorizedWithdrawer=void 0,this.commission=void 0,this.nodePubkey=le,this.authorizedVoter=se,this.authorizedWithdrawer=we,this.commission=ke}},pr=class{constructor(){}static decodeInstructionType(le){this.checkProgramId(le.programId);let se=v.u32("instruction").decode(le.data),we;for(let[ke,qe]of Object.entries(Xt))if(qe.index==se){we=ke;break}if(!we)throw new Error("Instruction type incorrect; not a VoteInstruction");return we}static decodeInitializeAccount(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,4);let{voteInit:se}=Wt(Xt.InitializeAccount,le.data);return{votePubkey:le.keys[0].pubkey,nodePubkey:le.keys[3].pubkey,voteInit:new sr(new S(se.nodePubkey),new S(se.authorizedVoter),new S(se.authorizedWithdrawer),se.commission)}}static decodeAuthorize(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,3);let{newAuthorized:se,voteAuthorizationType:we}=Wt(Xt.Authorize,le.data);return{votePubkey:le.keys[0].pubkey,authorizedPubkey:le.keys[2].pubkey,newAuthorizedPubkey:new S(se),voteAuthorizationType:{index:we}}}static decodeAuthorizeWithSeed(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,3);let{voteAuthorizeWithSeedArgs:{currentAuthorityDerivedKeyOwnerPubkey:se,currentAuthorityDerivedKeySeed:we,newAuthorized:ke,voteAuthorizationType:qe}}=Wt(Xt.AuthorizeWithSeed,le.data);return{currentAuthorityDerivedKeyBasePubkey:le.keys[2].pubkey,currentAuthorityDerivedKeyOwnerPubkey:new S(se),currentAuthorityDerivedKeySeed:we,newAuthorizedPubkey:new S(ke),voteAuthorizationType:{index:qe},votePubkey:le.keys[0].pubkey}}static decodeWithdraw(le){this.checkProgramId(le.programId),this.checkKeyLength(le.keys,3);let{lamports:se}=Wt(Xt.Withdraw,le.data);return{votePubkey:le.keys[0].pubkey,authorizedWithdrawerPubkey:le.keys[2].pubkey,lamports:se,toPubkey:le.keys[1].pubkey}}static checkProgramId(le){if(!le.equals(Lr.programId))throw new Error("invalid instruction; programId is not VoteProgram")}static checkKeyLength(le,se){if(le.length<se)throw new Error(`invalid instruction; found ${le.length} keys, expected at least ${se}`)}},Xt=Object.freeze({InitializeAccount:{index:0,layout:v.struct([v.u32("instruction"),ge()])},Authorize:{index:1,layout:v.struct([v.u32("instruction"),ae("newAuthorized"),v.u32("voteAuthorizationType")])},Withdraw:{index:3,layout:v.struct([v.u32("instruction"),v.ns64("lamports")])},UpdateValidatorIdentity:{index:4,layout:v.struct([v.u32("instruction")])},AuthorizeWithSeed:{index:10,layout:v.struct([v.u32("instruction"),ce()])}}),Mr=Object.freeze({Voter:{index:0},Withdrawer:{index:1}}),Lr=class W1{constructor(){}static initializeAccount(se){let{votePubkey:we,nodePubkey:ke,voteInit:qe}=se,ot=Xt.InitializeAccount,St=_t(ot,{voteInit:{nodePubkey:F(qe.nodePubkey.toBuffer()),authorizedVoter:F(qe.authorizedVoter.toBuffer()),authorizedWithdrawer:F(qe.authorizedWithdrawer.toBuffer()),commission:qe.commission}}),lr={keys:[{pubkey:we,isSigner:!1,isWritable:!0},{pubkey:At,isSigner:!1,isWritable:!1},{pubkey:Fe,isSigner:!1,isWritable:!1},{pubkey:ke,isSigner:!0,isWritable:!1}],programId:this.programId,data:St};return new it(lr)}static createAccount(se){let we=new Ye;return we.add(hr.createAccount({fromPubkey:se.fromPubkey,newAccountPubkey:se.votePubkey,lamports:se.lamports,space:this.space,programId:this.programId})),we.add(this.initializeAccount({votePubkey:se.votePubkey,nodePubkey:se.voteInit.nodePubkey,voteInit:se.voteInit}))}static authorize(se){let{votePubkey:we,authorizedPubkey:ke,newAuthorizedPubkey:qe,voteAuthorizationType:ot}=se,St=Xt.Authorize,lr=_t(St,{newAuthorized:F(qe.toBuffer()),voteAuthorizationType:ot.index}),Or=[{pubkey:we,isSigner:!1,isWritable:!0},{pubkey:Fe,isSigner:!1,isWritable:!1},{pubkey:ke,isSigner:!0,isWritable:!1}];return new Ye().add({keys:Or,programId:this.programId,data:lr})}static authorizeWithSeed(se){let{currentAuthorityDerivedKeyBasePubkey:we,currentAuthorityDerivedKeyOwnerPubkey:ke,currentAuthorityDerivedKeySeed:qe,newAuthorizedPubkey:ot,voteAuthorizationType:St,votePubkey:lr}=se,Or=Xt.AuthorizeWithSeed,tn=_t(Or,{voteAuthorizeWithSeedArgs:{currentAuthorityDerivedKeyOwnerPubkey:F(ke.toBuffer()),currentAuthorityDerivedKeySeed:qe,newAuthorized:F(ot.toBuffer()),voteAuthorizationType:St.index}}),pn=[{pubkey:lr,isSigner:!1,isWritable:!0},{pubkey:Fe,isSigner:!1,isWritable:!1},{pubkey:we,isSigner:!0,isWritable:!1}];return new Ye().add({keys:pn,programId:this.programId,data:tn})}static withdraw(se){let{votePubkey:we,authorizedWithdrawerPubkey:ke,lamports:qe,toPubkey:ot}=se,St=Xt.Withdraw,lr=_t(St,{lamports:qe}),Or=[{pubkey:we,isSigner:!1,isWritable:!0},{pubkey:ot,isSigner:!1,isWritable:!0},{pubkey:ke,isSigner:!0,isWritable:!1}];return new Ye().add({keys:Or,programId:this.programId,data:lr})}static safeWithdraw(se,we,ke){if(se.lamports>we-ke)throw new Error("Withdraw will leave vote account with insufficient funds.");return W1.withdraw(se)}static updateValidatorIdentity(se){let{votePubkey:we,authorizedWithdrawerPubkey:ke,nodePubkey:qe}=se,ot=Xt.UpdateValidatorIdentity,St=_t(ot),lr=[{pubkey:we,isSigner:!1,isWritable:!0},{pubkey:qe,isSigner:!0,isWritable:!1},{pubkey:ke,isSigner:!0,isWritable:!1}];return new Ye().add({keys:lr,programId:this.programId,data:St})}};Lr.programId=new S("Vote111111111111111111111111111111111111111"),Lr.space=3762;var Tn=new S("Va1idator1nfo111111111111111111111111111111"),Un=c.type({name:c.string(),website:c.optional(c.string()),details:c.optional(c.string()),iconUrl:c.optional(c.string()),keybaseUsername:c.optional(c.string())}),Fu=class L1{constructor(se,we){this.key=void 0,this.info=void 0,this.key=se,this.info=we}static fromConfigData(se){let we=[...se];if(fe(we)!==2)return null;let ke=[];for(let qe=0;qe<2;qe++){let ot=new S(Xe(we,0,b)),St=Ne(we)===1;ke.push({publicKey:ot,isSigner:St})}if(ke[0].publicKey.equals(Tn)&&ke[1].isSigner){let qe=ne().decode(t.Buffer.from(we)),ot=JSON.parse(qe);return c.assert(ot,Un),new L1(ke[1].publicKey,ot)}return null}},Wa=new S("Vote111111111111111111111111111111111111111"),rc=v.struct([ae("nodePubkey"),ae("authorizedWithdrawer"),v.u8("commission"),v.nu64(),v.seq(v.struct([v.nu64("slot"),v.u32("confirmationCount")]),v.offset(v.u32(),-8),"votes"),v.u8("rootSlotValid"),v.nu64("rootSlot"),v.nu64(),v.seq(v.struct([v.nu64("epoch"),ae("authorizedVoter")]),v.offset(v.u32(),-8),"authorizedVoters"),v.struct([v.seq(v.struct([ae("authorizedPubkey"),v.nu64("epochOfLastAuthorizedSwitch"),v.nu64("targetEpoch")]),32,"buf"),v.nu64("idx"),v.u8("isEmpty")],"priorVoters"),v.nu64(),v.seq(v.struct([v.nu64("epoch"),v.nu64("credits"),v.nu64("prevCredits")]),v.offset(v.u32(),-8),"epochCredits"),v.struct([v.nu64("slot"),v.nu64("timestamp")],"lastTimestamp")]),nc=class F1{constructor(se){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=se.nodePubkey,this.authorizedWithdrawer=se.authorizedWithdrawer,this.commission=se.commission,this.rootSlot=se.rootSlot,this.votes=se.votes,this.authorizedVoters=se.authorizedVoters,this.priorVoters=se.priorVoters,this.epochCredits=se.epochCredits,this.lastTimestamp=se.lastTimestamp}static fromAccountData(se){let we=rc.decode(F(se),4),ke=we.rootSlot;return we.rootSlotValid||(ke=null),new F1({nodePubkey:new S(we.nodePubkey),authorizedWithdrawer:new S(we.authorizedWithdrawer),commission:we.commission,votes:we.votes,rootSlot:ke,authorizedVoters:we.authorizedVoters.map(fu),priorVoters:Ls(we.priorVoters),epochCredits:we.epochCredits,lastTimestamp:we.lastTimestamp})}};function fu({authorizedVoter:le,epoch:se}){return{epoch:se,authorizedVoter:new S(le)}}function pu({authorizedPubkey:le,epochOfLastAuthorizedSwitch:se,targetEpoch:we}){return{authorizedPubkey:new S(le),epochOfLastAuthorizedSwitch:se,targetEpoch:we}}function Ls({buf:le,idx:se,isEmpty:we}){return we?[]:[...le.slice(se+1).map(pu),...le.slice(0,se).map(pu)]}var gu={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/"}};function za(le,se){let we=se===!1?"http":"https";if(!le)return gu[we].devnet;let ke=gu[we][le];if(!ke)throw new Error(`Unknown ${we} cluster: ${le}`);return ke}async function ju(le,se,we,ke){let qe,ot;we&&Object.prototype.hasOwnProperty.call(we,"lastValidBlockHeight")||we&&Object.prototype.hasOwnProperty.call(we,"nonceValue")?(qe=we,ot=ke):ot=we;let St=ot&&{skipPreflight:ot.skipPreflight,preflightCommitment:ot.preflightCommitment||ot.commitment,minContextSlot:ot.minContextSlot},lr=await le.sendRawTransaction(se,St),Or=ot&&ot.commitment,tn=(await(qe?le.confirmTransaction(qe,Or):le.confirmTransaction(lr,Or))).value;if(tn.err)throw lr!=null?new kt({action:St?.skipPreflight?"send":"simulate",signature:lr,transactionMessage:`Status: (${JSON.stringify(tn)})`}):new Error(`Raw transaction ${lr} failed (${JSON.stringify(tn)})`);return lr}var Ka=1e9;e.Account=f,e.AddressLookupTableAccount=Bt,e.AddressLookupTableInstruction=Vs,e.AddressLookupTableProgram=Pi,e.Authorized=Re,e.BLOCKHASH_CACHE_TIMEOUT_MS=dt,e.BPF_LOADER_DEPRECATED_PROGRAM_ID=M,e.BPF_LOADER_PROGRAM_ID=Qe,e.BpfLoader=mt,e.COMPUTE_BUDGET_INSTRUCTION_LAYOUTS=Xi,e.ComputeBudgetInstruction=ma,e.ComputeBudgetProgram=ws,e.Connection=po,e.Ed25519Program=Bo,e.Enum=l,e.EpochSchedule=He,e.FeeCalculatorLayout=qr,e.Keypair=bs,e.LAMPORTS_PER_SOL=Ka,e.LOOKUP_TABLE_INSTRUCTION_LAYOUTS=Rn,e.Loader=Er,e.Lockup=Se,e.MAX_SEED_LENGTH=g,e.Message=Je,e.MessageAccountKeys=ue,e.MessageV0=ft,e.NONCE_ACCOUNT_LENGTH=_e,e.NonceAccount=Ze,e.PACKET_DATA_SIZE=V,e.PUBLIC_KEY_LENGTH=b,e.PublicKey=S,e.SIGNATURE_LENGTH_IN_BYTES=j,e.SOLANA_SCHEMA=p,e.STAKE_CONFIG_ID=Vo,e.STAKE_INSTRUCTION_LAYOUTS=We,e.SYSTEM_INSTRUCTION_LAYOUTS=Ot,e.SYSVAR_CLOCK_PUBKEY=Fe,e.SYSVAR_EPOCH_SCHEDULE_PUBKEY=Pr,e.SYSVAR_INSTRUCTIONS_PUBKEY=$t,e.SYSVAR_RECENT_BLOCKHASHES_PUBKEY=Qt,e.SYSVAR_RENT_PUBKEY=At,e.SYSVAR_REWARDS_PUBKEY=ur,e.SYSVAR_SLOT_HASHES_PUBKEY=tr,e.SYSVAR_SLOT_HISTORY_PUBKEY=Vt,e.SYSVAR_STAKE_HISTORY_PUBKEY=bt,e.Secp256k1Program=Ws,e.SendTransactionError=kt,e.SolanaJSONRPCError=Et,e.SolanaJSONRPCErrorCode=er,e.StakeAuthorizationLayout=Ft,e.StakeInstruction=pe,e.StakeProgram=nr,e.Struct=G,e.SystemInstruction=yt,e.SystemProgram=hr,e.Transaction=Ye,e.TransactionExpiredBlockheightExceededError=Y,e.TransactionExpiredNonceInvalidError=de,e.TransactionExpiredTimeoutError=oe,e.TransactionInstruction=it,e.TransactionMessage=et,e.TransactionStatus=wt,e.VALIDATOR_INFO_KEY=Tn,e.VERSION_PREFIX_MASK=D,e.VOTE_PROGRAM_ID=Wa,e.ValidatorInfo=Fu,e.VersionedMessage=Kt,e.VersionedTransaction=Gt,e.VoteAccount=nc,e.VoteAuthorizationLayout=Mr,e.VoteInit=sr,e.VoteInstruction=pr,e.VoteProgram=Lr,e.clusterApiUrl=za,e.sendAndConfirmRawTransaction=ju,e.sendAndConfirmTransaction=qt}),att=W((e,t)=>{"use strict";m();function r(o){if(o.length>=255)throw new TypeError("Alphabet too long");for(var s=new Uint8Array(256),i=0;i<s.length;i++)s[i]=255;for(var n=0;n<o.length;n++){var a=o.charAt(n),u=a.charCodeAt(0);if(s[u]!==255)throw new TypeError(a+" is ambiguous");s[u]=n}var c=o.length,d=o.charAt(0),h=Math.log(c)/Math.log(256),y=Math.log(256)/Math.log(c);function C(A){if(A instanceof Uint8Array||(ArrayBuffer.isView(A)?A=new Uint8Array(A.buffer,A.byteOffset,A.byteLength):Array.isArray(A)&&(A=Uint8Array.from(A))),!(A instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(A.length===0)return"";for(var O=0,v=0,B=0,R=A.length;B!==R&&A[B]===0;)B++,O++;for(var U=(R-B)*y+1>>>0,N=new Uint8Array(U);B!==R;){for(var _=A[B],L=0,H=U-1;(_!==0||L<v)&&H!==-1;H--,L++)_+=256*N[H]>>>0,N[H]=_%c>>>0,_=_/c>>>0;if(_!==0)throw new Error("Non-zero carry");v=L,B++}for(var F=U-v;F!==U&&N[F]===0;)F++;for(var G=d.repeat(O);F<U;++F)G+=o.charAt(N[F]);return G}function w(A){if(typeof A!="string")throw new TypeError("Expected String");if(A.length===0)return new Uint8Array;for(var O=0,v=0,B=0;A[O]===d;)v++,O++;for(var R=(A.length-O)*h+1>>>0,U=new Uint8Array(R);A[O];){var N=s[A.charCodeAt(O)];if(N===255)return;for(var _=0,L=R-1;(N!==0||_<B)&&L!==-1;L--,_++)N+=c*U[L]>>>0,U[L]=N%256>>>0,N=N/256>>>0;if(N!==0)throw new Error("Non-zero carry");B=_,O++}for(var H=R-B;H!==R&&U[H]===0;)H++;for(var F=new Uint8Array(v+(R-H)),G=v;H!==R;)F[G++]=U[H++];return F}function T(A){var O=w(A);if(O)return O;throw new Error("Non-base"+c+" character")}return{encode:C,decodeUnsafe:w,decode:T}}t.exports=r}),utt=W((e,t)=>{m();var r=att(),o="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";t.exports=r(o)}),ltt=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.isVersionedTransaction=t;function t(r){return"version"in r}}),ftt=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(u,c,d,h){function y(C){return C instanceof d?C:new d(function(w){w(C)})}return new(d||(d=Promise))(function(C,w){function T(v){try{O(h.next(v))}catch(B){w(B)}}function A(v){try{O(h.throw(v))}catch(B){w(B)}}function O(v){v.done?C(v.value):y(v.value).then(T,A)}O((h=h.apply(u,c||[])).next())})},r=e&&e.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXSolanaProvider=void 0;var o=ott(),s=r(utt()),i=ho(),n=ltt(),a=class{getRealChainId(u){if(u==null)if(this.chainsSet.size==1){let c="",d=this.defaultChainMap;if(this.chainsSet.forEach(function(h){d.has(h)&&(c=d.get(h))}),c=="")throw new Error("unsupported chainId");return c}else throw new Error("connected to multiple solana chains,chainId can not be null");else{if(u.startsWith("svm")||this.caip.includes(u))return u;throw new Error("wrong chainId")}}getConnectedNamespace(){var u,c,d;(d=(c=(u=this.provider.session)===null||u===void 0?void 0:u.namespaces)===null||c===void 0?void 0:c.solana)===null||d===void 0||d.chains.forEach(h=>{this.chainsSet.add(h.split(":")[0])})}constructor(u){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=u,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(u,c){return t(this,void 0,void 0,function*(){var d,h,y,C;if(typeof u!="string")try{u=new TextDecoder().decode(u)}catch{}let w=u,T=null;try{let A=s.default.decode(u);try{T=o.Transaction.from(A)}catch{T=o.VersionedTransaction.deserialize(A)}}catch{}if(T!=null)return new Promise((A,O)=>{O("Please sign with normal message")});((h=(d=this.provider.session)===null||d===void 0?void 0:d.wallet)===null||h===void 0?void 0:h.appName)=="OKX Wallet"?w=s.default.encode(new TextEncoder().encode(u)):w=u,c=this.getRealChainId(c);try{let A={chainId:c,method:"solana_signMessage",params:{message:w,pubkey:(y=this.getAccount(c))===null||y===void 0?void 0:y.address},injectParams:{message:u,pubkey:(C=this.getAccount(c))===null||C===void 0?void 0:C.address}},O=yield this.provider.request(A,c);if((0,i.logDebug)("signMessage111",O),"injectResult"in O)return Promise.resolve(O.injectResult);if("result"in O){let v=O.result;return new Promise((B,R)=>{var U;B({signature:s.default.decode(v),publicKey:(U=this.getAccount(c))===null||U===void 0?void 0:U.address})})}else return(0,i.logDebug)("signMessage111",O),new Promise((v,B)=>{v(O.error)})}catch(A){return console.error("\u65B9\u6CD5\u6570\u636E\u56DE\u8C03\u5931\u8D25 --Error--",A),new Promise((O,v)=>{O(A)})}})}getAccount(u){var c,d,h,y;let C=(d=(c=this.provider.session)===null||c===void 0?void 0:c.namespaces.solana)===null||d===void 0?void 0:d.accounts[0];if(u!=null&&(C=(y=(h=this.provider.session)===null||h===void 0?void 0:h.namespaces.solana)===null||y===void 0?void 0:y.accounts.filter(function(T){return T.startsWith(u)})[0]),(0,i.logDebug)("getAccount",C),!C)return;let w=C.split(":")[2];if(w)return{address:w,publicKey:new o.PublicKey(w)}}signTransaction(u,c){var d;(0,i.logDebug)("OKXSolanaProvider",typeof u),c=this.getRealChainId(c);let h=(0,n.isVersionedTransaction)(u)?u.serialize():new Uint8Array(u.serialize({requireAllSignatures:!1,verifySignatures:!1})),y={data:s.default.encode(h),from:(d=this.getAccount(c))===null||d===void 0?void 0:d.address};return this.getSignedTransaction("solana_signTransaction",y,c,u,h)}signAllTransactions(u,c){return t(this,void 0,void 0,function*(){c=this.getRealChainId(c);try{let h=[];var d=u.map(C=>{var w,T;return C instanceof o.VersionedTransaction?T=C.serialize():T=C.serialize({requireAllSignatures:!1,verifySignatures:!1}),h.push(T),{data:s.default.encode(T),from:(w=this.getAccount(c))===null||w===void 0?void 0:w.address}});let y=yield this.provider.request({method:"solana_signAllTransactions",params:{transactions:d},injectParams:{transactions:u,transactionBufferArray:h}},c);if("injectResult"in y)try{return y.injectResult.map((C,w)=>{let T=C[0].signedTransaction,A=u[w];return(0,n.isVersionedTransaction)(A)?o.VersionedTransaction.deserialize(T):o.Transaction.from(T)})}catch{return y.injectResult}else if("result"in y){let C=y.result,w=JSON.parse(C).map(T=>{let A=s.default.decode(T);try{let O=o.Transaction.from(A);return(0,i.logDebug)("verifySignatures",O.verifySignatures()),O}catch{return o.VersionedTransaction.deserialize(A)}});return new Promise((T,A)=>{T(w)})}else return new Promise((C,w)=>{C(y)})}catch(h){return(0,i.logDebug)("getSignedTransaction",h),new Promise((y,C)=>{y(h)})}})}signAndSendTransaction(u,c){return t(this,void 0,void 0,function*(){var d;c=this.getRealChainId(c);try{let h=(0,n.isVersionedTransaction)(u)?u.serialize():new Uint8Array(u.serialize({requireAllSignatures:!1,verifySignatures:!1})),y={data:s.default.encode(h),from:(d=this.getAccount(c))===null||d===void 0?void 0:d.address},C=yield this.provider.request({method:"solana_signAndSendTransaction",params:y,injectParams:{transaction:u,transactionBuffer:h}},c);if("injectResult"in C)try{let[w]=C.injectResult;return{signature:s.default.encode(w.signature)}}catch{return C.injectResult}else return"result"in C?{signature:C.result}:C}catch(h){return(0,i.logDebug)("getSignedTransaction",h),new Promise((y,C)=>{y(h)})}})}getSignedTransaction(u,c,d,h,y){return t(this,void 0,void 0,function*(){try{let C=yield this.provider.request({method:u,params:c,injectParams:{transaction:h,transactionBuffer:y}},d);if("injectResult"in C)try{let w=C.injectResult[0].signedTransaction;return(0,n.isVersionedTransaction)(h)?o.VersionedTransaction.deserialize(w):o.Transaction.from(w)}catch{return C.injectResult}else if("result"in C){let w=C.result,T=s.default.decode(w),A;try{A=o.Transaction.from(T)}catch{A=o.VersionedTransaction.deserialize(T)}return A instanceof o.VersionedTransaction||(0,i.logDebug)("verifySignatures",A.verifySignatures()),new Promise((O,v)=>{O(A)})}else return new Promise((w,T)=>{T(C)})}catch(C){throw(0,i.logDebug)("signAndSendTransaction error",C),C}})}};e.OKXSolanaProvider=a,e.default=a}),dtt=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXSolanaProvider=void 0;var t=ftt();Object.defineProperty(e,"OKXSolanaProvider",{enumerable:!0,get:function(){return t.OKXSolanaProvider}})}),MB=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.bech32m=e.bech32=void 0;var t="qpzry9x8gf2tvdw0s3jn54khce6mua7l",r={};for(let d=0;d<t.length;d++){let h=t.charAt(d);r[h]=d}function o(d){let h=d>>25;return(d&33554431)<<5^-(h>>0&1)&996825010^-(h>>1&1)&642813549^-(h>>2&1)&513874426^-(h>>3&1)&1027748829^-(h>>4&1)&705979059}function s(d){let h=1;for(let y=0;y<d.length;++y){let C=d.charCodeAt(y);if(C<33||C>126)return"Invalid prefix ("+d+")";h=o(h)^C>>5}h=o(h);for(let y=0;y<d.length;++y){let C=d.charCodeAt(y);h=o(h)^C&31}return h}function i(d,h,y,C){let w=0,T=0,A=(1<<y)-1,O=[];for(let v=0;v<d.length;++v)for(w=w<<h|d[v],T+=h;T>=y;)T-=y,O.push(w>>T&A);if(C)T>0&&O.push(w<<y-T&A);else{if(T>=h)return"Excess padding";if(w<<y-T&A)return"Non-zero padding"}return O}function n(d){return i(d,8,5,!0)}function a(d){let h=i(d,5,8,!1);if(Array.isArray(h))return h}function u(d){let h=i(d,5,8,!1);if(Array.isArray(h))return h;throw new Error(h)}function c(d){let h;d==="bech32"?h=1:h=734539939;function y(A,O,v){if(v=v||90,A.length+7+O.length>v)throw new TypeError("Exceeds length limit");A=A.toLowerCase();let B=s(A);if(typeof B=="string")throw new Error(B);let R=A+"1";for(let U=0;U<O.length;++U){let N=O[U];if(N>>5)throw new Error("Non 5-bit word");B=o(B)^N,R+=t.charAt(N)}for(let U=0;U<6;++U)B=o(B);B^=h;for(let U=0;U<6;++U){let N=B>>(5-U)*5&31;R+=t.charAt(N)}return R}function C(A,O){if(O=O||90,A.length<8)return A+" too short";if(A.length>O)return"Exceeds length limit";let v=A.toLowerCase(),B=A.toUpperCase();if(A!==v&&A!==B)return"Mixed-case string "+A;A=v;let R=A.lastIndexOf("1");if(R===-1)return"No separator character for "+A;if(R===0)return"Missing prefix for "+A;let U=A.slice(0,R),N=A.slice(R+1);if(N.length<6)return"Data too short";let _=s(U);if(typeof _=="string")return _;let L=[];for(let H=0;H<N.length;++H){let F=N.charAt(H),G=r[F];if(G===void 0)return"Unknown character "+F;_=o(_)^G,!(H+6>=N.length)&&L.push(G)}return _!==h?"Invalid checksum for "+A:{prefix:U,words:L}}function w(A,O){let v=C(A,O);if(typeof v=="object")return v}function T(A,O){let v=C(A,O);if(typeof v=="object")return v;throw new Error(v)}return{decodeUnsafe:w,decode:T,encode:y,toWords:n,fromWordsUnsafe:a,fromWords:u}}e.bech32=c("bech32"),e.bech32m=c("bech32m")}),Jtt=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});function t(r){if(r.length>=255)throw new TypeError("Alphabet too long");let o=new Uint8Array(256);for(let h=0;h<o.length;h++)o[h]=255;for(let h=0;h<r.length;h++){let y=r.charAt(h),C=y.charCodeAt(0);if(o[C]!==255)throw new TypeError(y+" is ambiguous");o[C]=h}let s=r.length,i=r.charAt(0),n=Math.log(s)/Math.log(256),a=Math.log(256)/Math.log(s);function u(h){if(h instanceof Uint8Array||(ArrayBuffer.isView(h)?h=new Uint8Array(h.buffer,h.byteOffset,h.byteLength):Array.isArray(h)&&(h=Uint8Array.from(h))),!(h instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(h.length===0)return"";let y=0,C=0,w=0,T=h.length;for(;w!==T&&h[w]===0;)w++,y++;let A=(T-w)*a+1>>>0,O=new Uint8Array(A);for(;w!==T;){let R=h[w],U=0;for(let N=A-1;(R!==0||U<C)&&N!==-1;N--,U++)R+=256*O[N]>>>0,O[N]=R%s>>>0,R=R/s>>>0;if(R!==0)throw new Error("Non-zero carry");C=U,w++}let v=A-C;for(;v!==A&&O[v]===0;)v++;let B=i.repeat(y);for(;v<A;++v)B+=r.charAt(O[v]);return B}function c(h){if(typeof h!="string")throw new TypeError("Expected String");if(h.length===0)return new Uint8Array;let y=0,C=0,w=0;for(;h[y]===i;)C++,y++;let T=(h.length-y)*n+1>>>0,A=new Uint8Array(T);for(;h[y];){let R=o[h.charCodeAt(y)];if(R===255)return;let U=0;for(let N=T-1;(R!==0||U<w)&&N!==-1;N--,U++)R+=s*A[N]>>>0,A[N]=R%256>>>0,R=R/256>>>0;if(R!==0)throw new Error("Non-zero carry");w=U,y++}let O=T-w;for(;O!==T&&A[O]===0;)O++;let v=new Uint8Array(C+(T-O)),B=C;for(;O!==T;)v[B++]=A[O++];return v}function d(h){let y=c(h);if(y)return y;throw new Error("Non-base"+s+" character")}return{encode:u,decodeUnsafe:c,decode:d}}e.default=t}),Xtt=W(e=>{"use strict";m();var t=e&&e.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(Jtt()),o="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";e.default=(0,r.default)(o)}),dj=W((e,t)=>{"use strict";m();var r=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,n=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,u=(v,B)=>{for(var R in B)o(v,R,{get:B[R],enumerable:!0})},c=(v,B,R,U)=>{if(B&&typeof B=="object"||typeof B=="function")for(let N of i(B))!a.call(v,N)&&N!==R&&o(v,N,{get:()=>B[N],enumerable:!(U=s(B,N))||U.enumerable});return v},d=(v,B,R)=>(R=v!=null?r(n(v)):{},c(B||!v||!v.__esModule?o(R,"default",{value:v,enumerable:!0}):R,v)),h=v=>c(o({},"__esModule",{value:!0}),v),y={};u(y,{fromB58:()=>O,fromBase58:()=>T,toB58:()=>A,toBase58:()=>w}),t.exports=h(y);var C=d(Xtt()),w=v=>C.default.encode(v),T=v=>C.default.decode(v),A=w,O=T}),hj=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(T,A)=>{for(var O in A)r(T,O,{get:A[O],enumerable:!0})},a=(T,A,O,v)=>{if(A&&typeof A=="object"||typeof A=="function")for(let B of s(A))!i.call(T,B)&&B!==O&&r(T,B,{get:()=>A[B],enumerable:!(v=o(A,B))||v.enumerable});return T},u=T=>a(r({},"__esModule",{value:!0}),T),c={};n(c,{fromB64:()=>w,fromBase64:()=>d,toB64:()=>C,toBase64:()=>y}),t.exports=u(c);function d(T){return Uint8Array.from(atob(T),A=>A.charCodeAt(0))}var h=8192;function y(T){if(T.length<h)return btoa(String.fromCharCode(...T));let A="";for(var O=0;O<T.length;O+=h){let v=T.slice(O,O+h);A+=String.fromCharCode(...v)}return btoa(A)}var C=y,w=d}),pj=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(w,T)=>{for(var A in T)r(w,A,{get:T[A],enumerable:!0})},a=(w,T,A,O)=>{if(T&&typeof T=="object"||typeof T=="function")for(let v of s(T))!i.call(w,v)&&v!==A&&r(w,v,{get:()=>T[v],enumerable:!(O=o(T,v))||O.enumerable});return w},u=w=>a(r({},"__esModule",{value:!0}),w),c={};n(c,{fromHEX:()=>C,fromHex:()=>d,toHEX:()=>y,toHex:()=>h}),t.exports=u(c);function d(w){let T=w.startsWith("0x")?w.slice(2):w,A=(T.length%2===0?T:`0${T}}`).match(/.{2}/g)?.map(O=>parseInt(O,16))??[];return Uint8Array.from(A)}function h(w){return w.reduce((T,A)=>T+A.toString(16).padStart(2,"0"),"")}var y=h,C=d}),LB=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(y,C)=>{for(var w in C)r(y,w,{get:C[w],enumerable:!0})},a=(y,C,w,T)=>{if(C&&typeof C=="object"||typeof C=="function")for(let A of s(C))!i.call(y,A)&&A!==w&&r(y,A,{get:()=>C[A],enumerable:!(T=o(C,A))||T.enumerable});return y},u=y=>a(r({},"__esModule",{value:!0}),y),c={};n(c,{ulebDecode:()=>h,ulebEncode:()=>d}),t.exports=u(c);function d(y){let C=[],w=0;if(y===0)return[0];for(;y>0;)C[w]=y&127,(y>>=7)&&(C[w]|=128),w+=1;return C}function h(y){let C=0,w=0,T=0;for(;;){let A=y[T];if(T+=1,C|=(A&127)<<w,!(A&128))break;w+=7}return{value:C,length:T}}}),u0e=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(y,C)=>{for(var w in C)r(y,w,{get:C[w],enumerable:!0})},a=(y,C,w,T)=>{if(C&&typeof C=="object"||typeof C=="function")for(let A of s(C))!i.call(y,A)&&A!==w&&r(y,A,{get:()=>C[A],enumerable:!(T=o(C,A))||T.enumerable});return y},u=y=>a(r({},"__esModule",{value:!0}),y),c={};n(c,{BcsReader:()=>h}),t.exports=u(c);var d=LB(),h=class{constructor(y){this.bytePosition=0,this.dataView=new DataView(y.buffer)}shift(y){return this.bytePosition+=y,this}read8(){let y=this.dataView.getUint8(this.bytePosition);return this.shift(1),y}read16(){let y=this.dataView.getUint16(this.bytePosition,!0);return this.shift(2),y}read32(){let y=this.dataView.getUint32(this.bytePosition,!0);return this.shift(4),y}read64(){let y=this.read32(),C=this.read32().toString(16)+y.toString(16).padStart(8,"0");return BigInt("0x"+C).toString(10)}read128(){let y=BigInt(this.read64()),C=BigInt(this.read64()).toString(16)+y.toString(16).padStart(16,"0");return BigInt("0x"+C).toString(10)}read256(){let y=BigInt(this.read128()),C=BigInt(this.read128()).toString(16)+y.toString(16).padStart(32,"0");return BigInt("0x"+C).toString(10)}readBytes(y){let C=this.bytePosition+this.dataView.byteOffset,w=new Uint8Array(this.dataView.buffer,C,y);return this.shift(y),w}readULEB(){let y=this.bytePosition+this.dataView.byteOffset,C=new Uint8Array(this.dataView.buffer,y),{value:w,length:T}=(0,d.ulebDecode)(C);return this.shift(T),w}readVec(y){let C=this.readULEB(),w=[];for(let T=0;T<C;T++)w.push(y(this,T,C));return w}}}),f0e=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(A,O)=>{for(var v in O)r(A,v,{get:O[v],enumerable:!0})},a=(A,O,v,B)=>{if(O&&typeof O=="object"||typeof O=="function")for(let R of s(O))!i.call(A,R)&&R!==v&&r(A,R,{get:()=>O[R],enumerable:!(B=o(O,R))||B.enumerable});return A},u=A=>a(r({},"__esModule",{value:!0}),A),c={};n(c,{decodeStr:()=>w,encodeStr:()=>C,splitGenericParameters:()=>T}),t.exports=u(c);var d=dj(),h=hj(),y=pj();function C(A,O){switch(O){case"base58":return(0,d.toBase58)(A);case"base64":return(0,h.toBase64)(A);case"hex":return(0,y.toHex)(A);default:throw new Error("Unsupported encoding, supported values are: base64, hex")}}function w(A,O){switch(O){case"base58":return(0,d.fromBase58)(A);case"base64":return(0,h.fromBase64)(A);case"hex":return(0,y.fromHex)(A);default:throw new Error("Unsupported encoding, supported values are: base64, hex")}}function T(A,O=["<",">"]){let[v,B]=O,R=[],U="",N=0;for(let _=0;_<A.length;_++){let L=A[_];if(L===v&&N++,L===B&&N--,N===0&&L===","){R.push(U.trim()),U="";continue}U+=L}return R.push(U.trim()),R}}),g0e=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(w,T)=>{for(var A in T)r(w,A,{get:T[A],enumerable:!0})},a=(w,T,A,O)=>{if(T&&typeof T=="object"||typeof T=="function")for(let v of s(T))!i.call(w,v)&&v!==A&&r(w,v,{get:()=>T[v],enumerable:!(O=o(T,v))||O.enumerable});return w},u=w=>a(r({},"__esModule",{value:!0}),w),c={};n(c,{BcsWriter:()=>y}),t.exports=u(c);var d=LB(),h=f0e(),y=class{constructor({initialSize:w=1024,maxSize:T=1/0,allocateSize:A=1024}={}){this.bytePosition=0,this.size=w,this.maxSize=T,this.allocateSize=A,this.dataView=new DataView(new ArrayBuffer(w))}ensureSizeOrGrow(w){let T=this.bytePosition+w;if(T>this.size){let A=Math.min(this.maxSize,this.size+this.allocateSize);if(T>A)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=A;let O=new ArrayBuffer(this.size);new Uint8Array(O).set(new Uint8Array(this.dataView.buffer)),this.dataView=new DataView(O)}}shift(w){return this.bytePosition+=w,this}write8(w){return this.ensureSizeOrGrow(1),this.dataView.setUint8(this.bytePosition,Number(w)),this.shift(1)}write16(w){return this.ensureSizeOrGrow(2),this.dataView.setUint16(this.bytePosition,Number(w),!0),this.shift(2)}write32(w){return this.ensureSizeOrGrow(4),this.dataView.setUint32(this.bytePosition,Number(w),!0),this.shift(4)}write64(w){return C(BigInt(w),8).forEach(T=>this.write8(T)),this}write128(w){return C(BigInt(w),16).forEach(T=>this.write8(T)),this}write256(w){return C(BigInt(w),32).forEach(T=>this.write8(T)),this}writeULEB(w){return(0,d.ulebEncode)(w).forEach(T=>this.write8(T)),this}writeVec(w,T){return this.writeULEB(w.length),Array.from(w).forEach((A,O)=>T(this,A,O,w.length)),this}*[Symbol.iterator](){for(let w=0;w<this.bytePosition;w++)yield this.dataView.getUint8(w);return this.toBytes()}toBytes(){return new Uint8Array(this.dataView.buffer.slice(0,this.bytePosition))}toString(w){return(0,h.encodeStr)(this.toBytes(),w)}};function C(w,T){let A=new Uint8Array(T),O=0;for(;w>0;)A[O]=Number(w%BigInt(256)),w=w/BigInt(256),O+=1;return A}}),b0e=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=f=>{throw TypeError(f)},a=(f,M)=>{for(var V in M)r(f,V,{get:M[V],enumerable:!0})},u=(f,M,V,D)=>{if(M&&typeof M=="object"||typeof M=="function")for(let j of s(M))!i.call(f,j)&&j!==V&&r(f,j,{get:()=>M[j],enumerable:!(D=o(M,j))||D.enumerable});return f},c=f=>u(r({},"__esModule",{value:!0}),f),d=(f,M,V)=>M.has(f)||n("Cannot "+V),h=(f,M,V)=>(d(f,M,"read from private field"),V?V.call(f):M.get(f)),y=(f,M,V)=>M.has(f)?n("Cannot add the same private member more than once"):M instanceof WeakSet?M.add(f):M.set(f,V),C=(f,M,V,D)=>(d(f,M,"write to private field"),D?D.call(f,V):M.set(f,V),V),w={};a(w,{BcsType:()=>F,SerializedBcs:()=>p,bigUIntBcsType:()=>b,dynamicSizeBcsType:()=>k,fixedSizeBcsType:()=>E,isSerializedBcs:()=>l,lazyBcsType:()=>S,stringLikeBcsType:()=>x,uIntBcsType:()=>g}),t.exports=c(w);var T=dj(),A=hj(),O=pj(),v=u0e(),B=LB(),R=g0e(),U,N,_,L,H=class V1{constructor(M){y(this,U),y(this,N),this.name=M.name,this.read=M.read,this.serializedSize=M.serializedSize??(()=>null),C(this,U,M.write),C(this,N,M.serialize??((V,D)=>{let j=new R.BcsWriter({initialSize:this.serializedSize(V)??void 0,...D});return h(this,U).call(this,V,j),j.toBytes()})),this.validate=M.validate??(()=>{})}write(M,V){this.validate(M),h(this,U).call(this,M,V)}serialize(M,V){return this.validate(M),new p(this,h(this,N).call(this,M,V))}parse(M){let V=new v.BcsReader(M);return this.read(V)}fromHex(M){return this.parse((0,O.fromHex)(M))}fromBase58(M){return this.parse((0,T.fromBase58)(M))}fromBase64(M){return this.parse((0,A.fromBase64)(M))}transform({name:M,input:V,output:D,validate:j}){return new V1({name:M??this.name,read:Y=>D(this.read(Y)),write:(Y,oe)=>h(this,U).call(this,V(Y),oe),serializedSize:Y=>this.serializedSize(V(Y)),serialize:(Y,oe)=>h(this,N).call(this,V(Y),oe),validate:Y=>{j?.(Y),this.validate(V(Y))}})}};U=new WeakMap,N=new WeakMap;var F=H,G=Symbol.for("@mysten/serialized-bcs");function l(f){return!!f&&typeof f=="object"&&f[G]===!0}var p=class{constructor(f,M){y(this,_),y(this,L),C(this,_,f),C(this,L,M)}get[G](){return!0}toBytes(){return h(this,L)}toHex(){return(0,O.toHex)(h(this,L))}toBase64(){return(0,A.toBase64)(h(this,L))}toBase58(){return(0,T.toBase58)(h(this,L))}parse(){return h(this,_).parse(h(this,L))}};_=new WeakMap,L=new WeakMap;function E({size:f,...M}){return new F({...M,serializedSize:()=>f})}function g({readMethod:f,writeMethod:M,...V}){return E({...V,read:D=>D[f](),write:(D,j)=>j[M](D),validate:D=>{if(D<0||D>V.maxValue)throw new TypeError(`Invalid ${V.name} value: ${D}. Expected value in range 0-${V.maxValue}`);V.validate?.(D)}})}function b({readMethod:f,writeMethod:M,...V}){return E({...V,read:D=>D[f](),write:(D,j)=>j[M](BigInt(D)),validate:D=>{let j=BigInt(D);if(j<0||j>V.maxValue)throw new TypeError(`Invalid ${V.name} value: ${j}. Expected value in range 0-${V.maxValue}`);V.validate?.(j)}})}function k({serialize:f,...M}){let V=new F({...M,serialize:f,write:(D,j)=>{for(let Y of V.serialize(D).toBytes())j.write8(Y)}});return V}function x({toBytes:f,fromBytes:M,...V}){return new F({...V,read:D=>{let j=D.readULEB(),Y=D.readBytes(j);return M(Y)},write:(D,j)=>{let Y=f(D);j.writeULEB(Y.length);for(let oe=0;oe<Y.length;oe++)j.write8(Y[oe])},serialize:D=>{let j=f(D),Y=(0,B.ulebEncode)(j.length),oe=new Uint8Array(Y.length+j.length);return oe.set(Y,0),oe.set(j,Y.length),oe},validate:D=>{if(typeof D!="string")throw new TypeError(`Invalid ${V.name} value: ${D}. Expected string`);V.validate?.(D)}})}function S(f){let M=null;function V(){return M||(M=f()),M}return new F({name:"lazy",read:D=>V().read(D),serializedSize:D=>V().serializedSize(D),write:(D,j)=>V().write(D,j),serialize:(D,j)=>V().serialize(D,j).toBytes()})}}),Mrt=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(C,w)=>{for(var T in w)r(C,T,{get:w[T],enumerable:!0})},a=(C,w,T,A)=>{if(w&&typeof w=="object"||typeof w=="function")for(let O of s(w))!i.call(C,O)&&O!==T&&r(C,O,{get:()=>w[O],enumerable:!(A=o(w,O))||A.enumerable});return C},u=C=>a(r({},"__esModule",{value:!0}),C),c={};n(c,{bcs:()=>y}),t.exports=u(c);var d=b0e(),h=LB(),y={u8(C){return(0,d.uIntBcsType)({name:"u8",readMethod:"read8",writeMethod:"write8",size:1,maxValue:2**8-1,...C})},u16(C){return(0,d.uIntBcsType)({name:"u16",readMethod:"read16",writeMethod:"write16",size:2,maxValue:2**16-1,...C})},u32(C){return(0,d.uIntBcsType)({name:"u32",readMethod:"read32",writeMethod:"write32",size:4,maxValue:2**32-1,...C})},u64(C){return(0,d.bigUIntBcsType)({name:"u64",readMethod:"read64",writeMethod:"write64",size:8,maxValue:2n**64n-1n,...C})},u128(C){return(0,d.bigUIntBcsType)({name:"u128",readMethod:"read128",writeMethod:"write128",size:16,maxValue:2n**128n-1n,...C})},u256(C){return(0,d.bigUIntBcsType)({name:"u256",readMethod:"read256",writeMethod:"write256",size:32,maxValue:2n**256n-1n,...C})},bool(C){return(0,d.fixedSizeBcsType)({name:"bool",size:1,read:w=>w.read8()===1,write:(w,T)=>T.write8(w?1:0),...C,validate:w=>{if(C?.validate?.(w),typeof w!="boolean")throw new TypeError(`Expected boolean, found ${typeof w}`)}})},uleb128(C){return(0,d.dynamicSizeBcsType)({name:"uleb128",read:w=>w.readULEB(),serialize:w=>Uint8Array.from((0,h.ulebEncode)(w)),...C})},bytes(C,w){return(0,d.fixedSizeBcsType)({name:`bytes[${C}]`,size:C,read:T=>T.readBytes(C),write:(T,A)=>{for(let O=0;O<C;O++)A.write8(T[O]??0)},...w,validate:T=>{if(w?.validate?.(T),!T||typeof T!="object"||!("length"in T))throw new TypeError(`Expected array, found ${typeof T}`);if(T.length!==C)throw new TypeError(`Expected array of length ${C}, found ${T.length}`)}})},string(C){return(0,d.stringLikeBcsType)({name:"string",toBytes:w=>new TextEncoder().encode(w),fromBytes:w=>new TextDecoder().decode(w),...C})},fixedArray(C,w,T){return new d.BcsType({name:`${w.name}[${C}]`,read:A=>{let O=new Array(C);for(let v=0;v<C;v++)O[v]=w.read(A);return O},write:(A,O)=>{for(let v of A)w.write(v,O)},...T,validate:A=>{if(T?.validate?.(A),!A||typeof A!="object"||!("length"in A))throw new TypeError(`Expected array, found ${typeof A}`);if(A.length!==C)throw new TypeError(`Expected array of length ${C}, found ${A.length}`)}})},option(C){return y.enum(`Option<${C.name}>`,{None:null,Some:C}).transform({input:w=>w==null?{None:!0}:{Some:w},output:w=>w.$kind==="Some"?w.Some:null})},vector(C,w){return new d.BcsType({name:`vector<${C.name}>`,read:T=>{let A=T.readULEB(),O=new Array(A);for(let v=0;v<A;v++)O[v]=C.read(T);return O},write:(T,A)=>{A.writeULEB(T.length);for(let O of T)C.write(O,A)},...w,validate:T=>{if(w?.validate?.(T),!T||typeof T!="object"||!("length"in T))throw new TypeError(`Expected array, found ${typeof T}`)}})},tuple(C,w){return new d.BcsType({name:`(${C.map(T=>T.name).join(", ")})`,serializedSize:T=>{let A=0;for(let O=0;O<C.length;O++){let v=C[O].serializedSize(T[O]);if(v==null)return null;A+=v}return A},read:T=>{let A=[];for(let O of C)A.push(O.read(T));return A},write:(T,A)=>{for(let O=0;O<C.length;O++)C[O].write(T[O],A)},...w,validate:T=>{if(w?.validate?.(T),!Array.isArray(T))throw new TypeError(`Expected array, found ${typeof T}`);if(T.length!==C.length)throw new TypeError(`Expected array of length ${C.length}, found ${T.length}`)}})},struct(C,w,T){let A=Object.entries(w);return new d.BcsType({name:C,serializedSize:O=>{let v=0;for(let[B,R]of A){let U=R.serializedSize(O[B]);if(U==null)return null;v+=U}return v},read:O=>{let v={};for(let[B,R]of A)v[B]=R.read(O);return v},write:(O,v)=>{for(let[B,R]of A)R.write(O[B],v)},...T,validate:O=>{if(T?.validate?.(O),typeof O!="object"||O==null)throw new TypeError(`Expected object, found ${typeof O}`)}})},enum(C,w,T){let A=Object.entries(w);return new d.BcsType({name:C,read:O=>{let v=O.readULEB(),B=A[v];if(!B)throw new TypeError(`Unknown value ${v} for enum ${C}`);let[R,U]=B;return{[R]:U?.read(O)??!0,$kind:R}},write:(O,v)=>{let[B,R]=Object.entries(O).filter(([U])=>Object.hasOwn(w,U))[0];for(let U=0;U<A.length;U++){let[N,_]=A[U];if(N===B){v.writeULEB(U),_?.write(R,v);return}}},...T,validate:O=>{if(T?.validate?.(O),typeof O!="object"||O==null)throw new TypeError(`Expected object, found ${typeof O}`);let v=Object.keys(O).filter(R=>O[R]!==void 0&&Object.hasOwn(w,R));if(v.length!==1)throw new TypeError(`Expected object with one key, but found ${v.length} for type ${C}}`);let[B]=v;if(!Object.hasOwn(w,B))throw new TypeError(`Invalid enum variant ${B}`)}})},map(C,w){return y.vector(y.tuple([C,w])).transform({name:`Map<${C.name}, ${w.name}>`,input:T=>[...T.entries()],output:T=>{let A=new Map;for(let[O,v]of T)A.set(O,v);return A}})},lazy(C){return(0,d.lazyBcsType)(C)}}}),wc=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(v,B)=>{for(var R in B)r(v,R,{get:B[R],enumerable:!0})},a=(v,B,R,U)=>{if(B&&typeof B=="object"||typeof B=="function")for(let N of s(B))!i.call(v,N)&&N!==R&&r(v,N,{get:()=>B[N],enumerable:!(U=o(B,N))||U.enumerable});return v},u=v=>a(r({},"__esModule",{value:!0}),v),c={};n(c,{BcsReader:()=>T.BcsReader,BcsType:()=>y.BcsType,BcsWriter:()=>O.BcsWriter,SerializedBcs:()=>y.SerializedBcs,bcs:()=>C.bcs,decodeStr:()=>A.decodeStr,encodeStr:()=>A.encodeStr,fromB58:()=>d.fromB58,fromB64:()=>h.fromB64,fromBase58:()=>d.fromBase58,fromBase64:()=>h.fromBase64,fromHEX:()=>w.fromHEX,fromHex:()=>w.fromHex,isSerializedBcs:()=>y.isSerializedBcs,splitGenericParameters:()=>A.splitGenericParameters,toB58:()=>d.toB58,toB64:()=>h.toB64,toBase58:()=>d.toBase58,toBase64:()=>h.toBase64,toHEX:()=>w.toHEX,toHex:()=>w.toHex}),t.exports=u(c);var d=dj(),h=hj(),y=b0e(),C=Mrt(),w=pj(),T=u0e(),A=f0e(),O=g0e()}),Il=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(_,L)=>{for(var H in L)r(_,H,{get:L[H],enumerable:!0})},a=(_,L,H,F)=>{if(L&&typeof L=="object"||typeof L=="function")for(let G of s(L))!i.call(_,G)&&G!==H&&r(_,G,{get:()=>L[G],enumerable:!(F=o(L,G))||F.enumerable});return _},u=_=>a(r({},"__esModule",{value:!0}),_),c={};n(c,{SUI_ADDRESS_LENGTH:()=>C,isValidSuiAddress:()=>w,isValidSuiObjectId:()=>T,isValidTransactionDigest:()=>y,normalizeStructTag:()=>v,normalizeSuiAddress:()=>B,normalizeSuiObjectId:()=>R,parseStructTag:()=>O}),t.exports=u(c);var d=wc(),h=32;function y(_){try{return(0,d.fromBase58)(_).length===h}catch{return!1}}var C=32;function w(_){return U(_)&&N(_)===C}function T(_){return w(_)}function A(_){return _.includes("::")?O(_):_}function O(_){let[L,H]=_.split("::"),F=_.slice(L.length+H.length+4),G=F.includes("<")?F.slice(0,F.indexOf("<")):F,l=F.includes("<")?(0,d.splitGenericParameters)(F.slice(F.indexOf("<")+1,F.lastIndexOf(">"))).map(p=>A(p.trim())):[];return{address:B(L),module:H,name:G,typeParams:l}}function v(_){let{address:L,module:H,name:F,typeParams:G}=typeof _=="string"?O(_):_,l=G?.length>0?`<${G.map(p=>typeof p=="string"?p:v(p)).join(",")}>`:"";return`${L}::${H}::${F}${l}`}function B(_,L=!1){let H=_.toLowerCase();return!L&&H.startsWith("0x")&&(H=H.slice(2)),`0x${H.padStart(C*2,"0")}`}function R(_,L=!1){return B(_,L)}function U(_){return/^(0x|0X)?[a-fA-F0-9]+$/.test(_)&&_.length%2===0}function N(_){return/^(0x|0X)/.test(_)?(_.length-2)/2:_.length/2}}),P0e=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(T,A)=>{for(var O in A)r(T,O,{get:A[O],enumerable:!0})},a=(T,A,O,v)=>{if(A&&typeof A=="object"||typeof A=="function")for(let B of s(A))!i.call(T,B)&&B!==O&&r(T,B,{get:()=>A[B],enumerable:!(v=o(A,B))||v.enumerable});return T},u=T=>a(r({},"__esModule",{value:!0}),T),c={};n(c,{TypeTagSerializer:()=>w}),t.exports=u(c);var d=wc(),h=Il(),y=/^vector<(.+)>$/,C=/^([^:]+)::([^:]+)::([^<]+)(<(.+)>)?/,w=class hc{static parseFromStr(A,O=!1){if(A==="address")return{address:null};if(A==="bool")return{bool:null};if(A==="u8")return{u8:null};if(A==="u16")return{u16:null};if(A==="u32")return{u32:null};if(A==="u64")return{u64:null};if(A==="u128")return{u128:null};if(A==="u256")return{u256:null};if(A==="signer")return{signer:null};let v=A.match(y);if(v)return{vector:hc.parseFromStr(v[1],O)};let B=A.match(C);if(B)return{struct:{address:O?(0,h.normalizeSuiAddress)(B[1]):B[1],module:B[2],name:B[3],typeParams:B[5]===void 0?[]:hc.parseStructTypeArgs(B[5],O)}};throw new Error(`Encountered unexpected token when parsing type args for ${A}`)}static parseStructTypeArgs(A,O=!1){return(0,d.splitGenericParameters)(A).map(v=>hc.parseFromStr(v,O))}static tagToString(A){if("bool"in A)return"bool";if("u8"in A)return"u8";if("u16"in A)return"u16";if("u32"in A)return"u32";if("u64"in A)return"u64";if("u128"in A)return"u128";if("u256"in A)return"u256";if("address"in A)return"address";if("signer"in A)return"signer";if("vector"in A)return`vector<${hc.tagToString(A.vector)}>`;if("struct"in A){let O=A.struct,v=O.typeParams.map(hc.tagToString).join(", ");return`${O.address}::${O.module}::${O.name}${v?`<${v}>`:""}`}throw new Error("Invalid TypeTag")}}}),_0e=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(q,ne)=>{for(var me in ne)r(q,me,{get:ne[me],enumerable:!0})},a=(q,ne,me,ve)=>{if(ne&&typeof ne=="object"||typeof ne=="function")for(let ge of s(ne))!i.call(q,ge)&&ge!==me&&r(q,ge,{get:()=>ne[ge],enumerable:!(ve=o(ne,ge))||ve.enumerable});return q},u=q=>a(r({},"__esModule",{value:!0}),q),c={};n(c,{Address:()=>T,AppId:()=>S,Argument:()=>_,CallArg:()=>R,Command:()=>H,CompressedSignature:()=>V,GasData:()=>E,Intent:()=>f,IntentMessage:()=>M,IntentScope:()=>k,IntentVersion:()=>x,MultiSig:()=>oe,MultiSigPkMap:()=>j,MultiSigPublicKey:()=>Y,ObjectArg:()=>B,ObjectDigest:()=>A,ProgrammableMoveCall:()=>L,ProgrammableTransaction:()=>F,PublicKey:()=>D,SenderSignedData:()=>ae,SenderSignedTransaction:()=>ue,SharedObjectRef:()=>v,StructTag:()=>p,SuiObjectRef:()=>O,TransactionData:()=>b,TransactionDataV1:()=>g,TransactionExpiration:()=>l,TransactionKind:()=>G,TypeTag:()=>N,base64String:()=>de}),t.exports=u(c);var d=wc(),h=Il(),y=P0e();function C(q){return d.bcs.u64({name:"unsafe_u64",...q}).transform({input:ne=>ne,output:ne=>Number(ne)})}function w(q){return d.bcs.enum("Option",{None:null,Some:q})}var T=d.bcs.bytes(h.SUI_ADDRESS_LENGTH).transform({validate:q=>{let ne=typeof q=="string"?q:(0,d.toHex)(q);if(!ne||!(0,h.isValidSuiAddress)((0,h.normalizeSuiAddress)(ne)))throw new Error(`Invalid Sui address ${ne}`)},input:q=>typeof q=="string"?(0,d.fromHex)((0,h.normalizeSuiAddress)(q)):q,output:q=>(0,h.normalizeSuiAddress)((0,d.toHex)(q))}),A=d.bcs.vector(d.bcs.u8()).transform({name:"ObjectDigest",input:q=>(0,d.fromBase58)(q),output:q=>(0,d.toBase58)(new Uint8Array(q)),validate:q=>{if((0,d.fromBase58)(q).length!==32)throw new Error("ObjectDigest must be 32 bytes")}}),O=d.bcs.struct("SuiObjectRef",{objectId:T,version:d.bcs.u64(),digest:A}),v=d.bcs.struct("SharedObjectRef",{objectId:T,initialSharedVersion:d.bcs.u64(),mutable:d.bcs.bool()}),B=d.bcs.enum("ObjectArg",{ImmOrOwnedObject:O,SharedObject:v,Receiving:O}),R=d.bcs.enum("CallArg",{Pure:d.bcs.struct("Pure",{bytes:d.bcs.vector(d.bcs.u8()).transform({input:q=>typeof q=="string"?(0,d.fromBase64)(q):q,output:q=>(0,d.toBase64)(new Uint8Array(q))})}),Object:B}),U=d.bcs.enum("TypeTag",{bool:null,u8:null,u64:null,u128:null,address:null,signer:null,vector:d.bcs.lazy(()=>U),struct:d.bcs.lazy(()=>p),u16:null,u32:null,u256:null}),N=U.transform({input:q=>typeof q=="string"?y.TypeTagSerializer.parseFromStr(q,!0):q,output:q=>y.TypeTagSerializer.tagToString(q)}),_=d.bcs.enum("Argument",{GasCoin:null,Input:d.bcs.u16(),Result:d.bcs.u16(),NestedResult:d.bcs.tuple([d.bcs.u16(),d.bcs.u16()])}),L=d.bcs.struct("ProgrammableMoveCall",{package:T,module:d.bcs.string(),function:d.bcs.string(),typeArguments:d.bcs.vector(N),arguments:d.bcs.vector(_)}),H=d.bcs.enum("Command",{MoveCall:L,TransferObjects:d.bcs.struct("TransferObjects",{objects:d.bcs.vector(_),address:_}),SplitCoins:d.bcs.struct("SplitCoins",{coin:_,amounts:d.bcs.vector(_)}),MergeCoins:d.bcs.struct("MergeCoins",{destination:_,sources:d.bcs.vector(_)}),Publish:d.bcs.struct("Publish",{modules:d.bcs.vector(d.bcs.vector(d.bcs.u8()).transform({input:q=>typeof q=="string"?(0,d.fromBase64)(q):q,output:q=>(0,d.toBase64)(new Uint8Array(q))})),dependencies:d.bcs.vector(T)}),MakeMoveVec:d.bcs.struct("MakeMoveVec",{type:w(N).transform({input:q=>q===null?{None:!0}:{Some:q},output:q=>q.Some??null}),elements:d.bcs.vector(_)}),Upgrade:d.bcs.struct("Upgrade",{modules:d.bcs.vector(d.bcs.vector(d.bcs.u8()).transform({input:q=>typeof q=="string"?(0,d.fromBase64)(q):q,output:q=>(0,d.toBase64)(new Uint8Array(q))})),dependencies:d.bcs.vector(T),package:T,ticket:_})}),F=d.bcs.struct("ProgrammableTransaction",{inputs:d.bcs.vector(R),commands:d.bcs.vector(H)}),G=d.bcs.enum("TransactionKind",{ProgrammableTransaction:F,ChangeEpoch:null,Genesis:null,ConsensusCommitPrologue:null}),l=d.bcs.enum("TransactionExpiration",{None:null,Epoch:C()}),p=d.bcs.struct("StructTag",{address:T,module:d.bcs.string(),name:d.bcs.string(),typeParams:d.bcs.vector(U)}),E=d.bcs.struct("GasData",{payment:d.bcs.vector(O),owner:T,price:d.bcs.u64(),budget:d.bcs.u64()}),g=d.bcs.struct("TransactionDataV1",{kind:G,sender:T,gasData:E,expiration:l}),b=d.bcs.enum("TransactionData",{V1:g}),k=d.bcs.enum("IntentScope",{TransactionData:null,TransactionEffects:null,CheckpointSummary:null,PersonalMessage:null}),x=d.bcs.enum("IntentVersion",{V0:null}),S=d.bcs.enum("AppId",{Sui:null}),f=d.bcs.struct("Intent",{scope:k,version:x,appId:S});function M(q){return d.bcs.struct(`IntentMessage<${q.name}>`,{intent:f,value:q})}var V=d.bcs.enum("CompressedSignature",{ED25519:d.bcs.fixedArray(64,d.bcs.u8()),Secp256k1:d.bcs.fixedArray(64,d.bcs.u8()),Secp256r1:d.bcs.fixedArray(64,d.bcs.u8()),ZkLogin:d.bcs.vector(d.bcs.u8())}),D=d.bcs.enum("PublicKey",{ED25519:d.bcs.fixedArray(32,d.bcs.u8()),Secp256k1:d.bcs.fixedArray(33,d.bcs.u8()),Secp256r1:d.bcs.fixedArray(33,d.bcs.u8()),ZkLogin:d.bcs.vector(d.bcs.u8())}),j=d.bcs.struct("MultiSigPkMap",{pubKey:D,weight:d.bcs.u8()}),Y=d.bcs.struct("MultiSigPublicKey",{pk_map:d.bcs.vector(j),threshold:d.bcs.u16()}),oe=d.bcs.struct("MultiSig",{sigs:d.bcs.vector(V),bitmap:d.bcs.u16(),multisig_pk:Y}),de=d.bcs.vector(d.bcs.u8()).transform({input:q=>typeof q=="string"?(0,d.fromBase64)(q):q,output:q=>(0,d.toBase64)(new Uint8Array(q))}),ue=d.bcs.struct("SenderSignedTransaction",{intentMessage:M(b),txSignatures:d.bcs.vector(de)}),ae=d.bcs.vector(ue,{name:"SenderSignedData"})}),wnt=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(E,g)=>{for(var b in g)r(E,b,{get:g[b],enumerable:!0})},a=(E,g,b,k)=>{if(g&&typeof g=="object"||typeof g=="function")for(let x of s(g))!i.call(E,x)&&x!==b&&r(E,x,{get:()=>g[x],enumerable:!(k=o(g,x))||k.enumerable});return E},u=E=>a(r({},"__esModule",{value:!0}),E),c={};n(c,{TransactionEffects:()=>p}),t.exports=u(c);var d=wc(),h=_0e(),y=d.bcs.enum("PackageUpgradeError",{UnableToFetchPackage:d.bcs.struct("UnableToFetchPackage",{packageId:h.Address}),NotAPackage:d.bcs.struct("NotAPackage",{objectId:h.Address}),IncompatibleUpgrade:null,DigestDoesNotMatch:d.bcs.struct("DigestDoesNotMatch",{digest:d.bcs.vector(d.bcs.u8())}),UnknownUpgradePolicy:d.bcs.struct("UnknownUpgradePolicy",{policy:d.bcs.u8()}),PackageIDDoesNotMatch:d.bcs.struct("PackageIDDoesNotMatch",{packageId:h.Address,ticketId:h.Address})}),C=d.bcs.struct("ModuleId",{address:h.Address,name:d.bcs.string()}),w=d.bcs.struct("MoveLocation",{module:C,function:d.bcs.u16(),instruction:d.bcs.u16(),functionName:d.bcs.option(d.bcs.string())}),T=d.bcs.enum("CommandArgumentError",{TypeMismatch:null,InvalidBCSBytes:null,InvalidUsageOfPureArg:null,InvalidArgumentToPrivateEntryFunction:null,IndexOutOfBounds:d.bcs.struct("IndexOutOfBounds",{idx:d.bcs.u16()}),SecondaryIndexOutOfBounds:d.bcs.struct("SecondaryIndexOutOfBounds",{resultIdx:d.bcs.u16(),secondaryIdx:d.bcs.u16()}),InvalidResultArity:d.bcs.struct("InvalidResultArity",{resultIdx:d.bcs.u16()}),InvalidGasCoinUsage:null,InvalidValueUsage:null,InvalidObjectByValue:null,InvalidObjectByMutRef:null,SharedObjectOperationNotAllowed:null}),A=d.bcs.enum("TypeArgumentError",{TypeNotFound:null,ConstraintNotSatisfied:null}),O=d.bcs.enum("ExecutionFailureStatus",{InsufficientGas:null,InvalidGasObject:null,InvariantViolation:null,FeatureNotYetSupported:null,MoveObjectTooBig:d.bcs.struct("MoveObjectTooBig",{objectSize:d.bcs.u64(),maxObjectSize:d.bcs.u64()}),MovePackageTooBig:d.bcs.struct("MovePackageTooBig",{objectSize:d.bcs.u64(),maxObjectSize:d.bcs.u64()}),CircularObjectOwnership:d.bcs.struct("CircularObjectOwnership",{object:h.Address}),InsufficientCoinBalance:null,CoinBalanceOverflow:null,PublishErrorNonZeroAddress:null,SuiMoveVerificationError:null,MovePrimitiveRuntimeError:d.bcs.option(w),MoveAbort:d.bcs.tuple([w,d.bcs.u64()]),VMVerificationOrDeserializationError:null,VMInvariantViolation:null,FunctionNotFound:null,ArityMismatch:null,TypeArityMismatch:null,NonEntryFunctionInvoked:null,CommandArgumentError:d.bcs.struct("CommandArgumentError",{argIdx:d.bcs.u16(),kind:T}),TypeArgumentError:d.bcs.struct("TypeArgumentError",{argumentIdx:d.bcs.u16(),kind:A}),UnusedValueWithoutDrop:d.bcs.struct("UnusedValueWithoutDrop",{resultIdx:d.bcs.u16(),secondaryIdx:d.bcs.u16()}),InvalidPublicFunctionReturnType:d.bcs.struct("InvalidPublicFunctionReturnType",{idx:d.bcs.u16()}),InvalidTransferObject:null,EffectsTooLarge:d.bcs.struct("EffectsTooLarge",{currentSize:d.bcs.u64(),maxSize:d.bcs.u64()}),PublishUpgradeMissingDependency:null,PublishUpgradeDependencyDowngrade:null,PackageUpgradeError:d.bcs.struct("PackageUpgradeError",{upgradeError:y}),WrittenObjectsTooLarge:d.bcs.struct("WrittenObjectsTooLarge",{currentSize:d.bcs.u64(),maxSize:d.bcs.u64()}),CertificateDenied:null,SuiMoveVerificationTimedout:null,SharedObjectOperationNotAllowed:null,InputObjectDeleted:null}),v=d.bcs.enum("ExecutionStatus",{Success:null,Failed:d.bcs.struct("ExecutionFailed",{error:O,command:d.bcs.option(d.bcs.u64())})}),B=d.bcs.struct("GasCostSummary",{computationCost:d.bcs.u64(),storageCost:d.bcs.u64(),storageRebate:d.bcs.u64(),nonRefundableStorageFee:d.bcs.u64()}),R=d.bcs.enum("Owner",{AddressOwner:h.Address,ObjectOwner:h.Address,Shared:d.bcs.struct("Shared",{initialSharedVersion:d.bcs.u64()}),Immutable:null}),U=d.bcs.struct("TransactionEffectsV1",{status:v,executedEpoch:d.bcs.u64(),gasUsed:B,modifiedAtVersions:d.bcs.vector(d.bcs.tuple([h.Address,d.bcs.u64()])),sharedObjects:d.bcs.vector(h.SuiObjectRef),transactionDigest:h.ObjectDigest,created:d.bcs.vector(d.bcs.tuple([h.SuiObjectRef,R])),mutated:d.bcs.vector(d.bcs.tuple([h.SuiObjectRef,R])),unwrapped:d.bcs.vector(d.bcs.tuple([h.SuiObjectRef,R])),deleted:d.bcs.vector(h.SuiObjectRef),unwrappedThenDeleted:d.bcs.vector(h.SuiObjectRef),wrapped:d.bcs.vector(h.SuiObjectRef),gasObject:d.bcs.tuple([h.SuiObjectRef,R]),eventsDigest:d.bcs.option(h.ObjectDigest),dependencies:d.bcs.vector(h.ObjectDigest)}),N=d.bcs.tuple([d.bcs.u64(),h.ObjectDigest]),_=d.bcs.enum("ObjectIn",{NotExist:null,Exist:d.bcs.tuple([N,R])}),L=d.bcs.enum("ObjectOut",{NotExist:null,ObjectWrite:d.bcs.tuple([h.ObjectDigest,R]),PackageWrite:N}),H=d.bcs.enum("IDOperation",{None:null,Created:null,Deleted:null}),F=d.bcs.struct("EffectsObjectChange",{inputState:_,outputState:L,idOperation:H}),G=d.bcs.enum("UnchangedSharedKind",{ReadOnlyRoot:N,MutateDeleted:d.bcs.u64(),ReadDeleted:d.bcs.u64(),Cancelled:d.bcs.u64(),PerEpochConfig:null}),l=d.bcs.struct("TransactionEffectsV2",{status:v,executedEpoch:d.bcs.u64(),gasUsed:B,transactionDigest:h.ObjectDigest,gasObjectIndex:d.bcs.option(d.bcs.u32()),eventsDigest:d.bcs.option(h.ObjectDigest),dependencies:d.bcs.vector(h.ObjectDigest),lamportVersion:d.bcs.u64(),changedObjects:d.bcs.vector(d.bcs.tuple([h.Address,F])),unchangedSharedObjects:d.bcs.vector(d.bcs.tuple([h.Address,G])),auxDataDigest:d.bcs.option(h.ObjectDigest)}),p=d.bcs.enum("TransactionEffects",{V1:U,V2:l})}),lp=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(A,O)=>{for(var v in O)r(A,v,{get:O[v],enumerable:!0})},a=(A,O,v,B)=>{if(O&&typeof O=="object"||typeof O=="function")for(let R of s(O))!i.call(A,R)&&R!==v&&r(A,R,{get:()=>O[R],enumerable:!(B=o(O,R))||B.enumerable});return A},u=A=>a(r({},"__esModule",{value:!0}),A),c={};n(c,{BcsType:()=>w.BcsType,TypeTagSerializer:()=>C.TypeTagSerializer,bcs:()=>T}),t.exports=u(c);var d=wc(),h=_0e(),y=wnt(),C=P0e(),w=wc(),T={...d.bcs,U8:d.bcs.u8(),U16:d.bcs.u16(),U32:d.bcs.u32(),U64:d.bcs.u64(),U128:d.bcs.u128(),U256:d.bcs.u256(),ULEB128:d.bcs.uleb128(),Bool:d.bcs.bool(),String:d.bcs.string(),Address:h.Address,AppId:h.AppId,Argument:h.Argument,CallArg:h.CallArg,CompressedSignature:h.CompressedSignature,GasData:h.GasData,Intent:h.Intent,IntentMessage:h.IntentMessage,IntentScope:h.IntentScope,IntentVersion:h.IntentVersion,MultiSig:h.MultiSig,MultiSigPkMap:h.MultiSigPkMap,MultiSigPublicKey:h.MultiSigPublicKey,ObjectArg:h.ObjectArg,ObjectDigest:h.ObjectDigest,ProgrammableMoveCall:h.ProgrammableMoveCall,ProgrammableTransaction:h.ProgrammableTransaction,PublicKey:h.PublicKey,SenderSignedData:h.SenderSignedData,SenderSignedTransaction:h.SenderSignedTransaction,SharedObjectRef:h.SharedObjectRef,StructTag:h.StructTag,SuiObjectRef:h.SuiObjectRef,Command:h.Command,TransactionData:h.TransactionData,TransactionDataV1:h.TransactionDataV1,TransactionExpiration:h.TransactionExpiration,TransactionKind:h.TransactionKind,TypeTag:h.TypeTag,TransactionEffects:y.TransactionEffects}}),Cnt=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(C,w)=>{for(var T in w)r(C,T,{get:w[T],enumerable:!0})},a=(C,w,T,A)=>{if(w&&typeof w=="object"||typeof w=="function")for(let O of s(w))!i.call(C,O)&&O!==T&&r(C,O,{get:()=>w[O],enumerable:!(A=o(w,O))||A.enumerable});return C},u=C=>a(r({},"__esModule",{value:!0}),C),c={};n(c,{formatAddress:()=>h,formatDigest:()=>y}),t.exports=u(c);var d="\u2026";function h(C){if(C.length<=6)return C;let w=C.startsWith("0x")?2:0;return`0x${C.slice(w,w+4)}${d}${C.slice(-4)}`}function y(C){return`${C.slice(0,10)}${d}`}}),Tj=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(T,A)=>{for(var O in A)r(T,O,{get:A[O],enumerable:!0})},a=(T,A,O,v)=>{if(A&&typeof A=="object"||typeof A=="function")for(let B of s(A))!i.call(T,B)&&B!==O&&r(T,B,{get:()=>A[B],enumerable:!(v=o(A,B))||v.enumerable});return T},u=T=>a(r({},"__esModule",{value:!0}),T),c={};n(c,{isValidSuiNSName:()=>C,normalizeSuiNSName:()=>w}),t.exports=u(c);var d=/^(?!.*(^(?!@)|[-.@])($|[-.@]))(?:[a-z0-9-]{0,63}(?:\.[a-z0-9-]{0,63})*)?@[a-z0-9-]{0,63}$/i,h=/^(?!.*(^|[-.])($|[-.]))(?:[a-z0-9-]{0,63}\.)+sui$/i,y=235;function C(T){return T.length>y?!1:T.includes("@")?d.test(T):h.test(T)}function w(T,A="at"){let O=T.toLowerCase(),v;if(O.includes("@")){if(!d.test(O))throw new Error(`Invalid SuiNS name ${T}`);let[B,R]=O.split("@");v=[...B?B.split("."):[],R]}else{if(!h.test(O))throw new Error(`Invalid SuiNS name ${T}`);v=O.split(".").slice(0,-1)}return A==="dot"?`${v.join(".")}.sui`:`${v.slice(0,-1).join(".")}@${v[v.length-1]}`}}),Nnt=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(R,U)=>{for(var N in U)r(R,N,{get:U[N],enumerable:!0})},a=(R,U,N,_)=>{if(U&&typeof U=="object"||typeof U=="function")for(let L of s(U))!i.call(R,L)&&L!==N&&r(R,L,{get:()=>U[L],enumerable:!(_=o(U,L))||_.enumerable});return R},u=R=>a(r({},"__esModule",{value:!0}),R),c={};n(c,{MIST_PER_SUI:()=>y,MOVE_STDLIB_ADDRESS:()=>C,SUI_CLOCK_OBJECT_ID:()=>A,SUI_DECIMALS:()=>h,SUI_FRAMEWORK_ADDRESS:()=>w,SUI_SYSTEM_ADDRESS:()=>T,SUI_SYSTEM_MODULE_NAME:()=>O,SUI_SYSTEM_STATE_OBJECT_ID:()=>B,SUI_TYPE_ARG:()=>v}),t.exports=u(c);var d=Il(),h=9,y=BigInt(1e9),C="0x1",w="0x2",T="0x3",A=(0,d.normalizeSuiObjectId)("0x6"),O="sui_system",v=`${w}::sui::SUI`,B=(0,d.normalizeSuiObjectId)("0x5")}),z0e=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(O,v)=>{for(var B in v)r(O,B,{get:v[B],enumerable:!0})},a=(O,v,B,R)=>{if(v&&typeof v=="object"||typeof v=="function")for(let U of s(v))!i.call(O,U)&&U!==B&&r(O,U,{get:()=>v[U],enumerable:!(R=o(v,U))||R.enumerable});return O},u=O=>a(r({},"__esModule",{value:!0}),O),c={};n(c,{isValidNamedPackage:()=>T,isValidNamedType:()=>A}),t.exports=u(c);var d=Tj(),h=/^([a-z0-9]+(?:-[a-z0-9]+)*)$/,y=/^\d+$/,C=64,w="/",T=O=>{let v=O.split(w);if(v.length<2||v.length>3)return!1;let[B,R,U]=v;return U!==void 0&&!y.test(U)||!(0,d.isValidSuiNSName)(B)?!1:h.test(R)&&R.length<C},A=O=>{let v=O.split(/::|<|>|,/);for(let B of v)if(B.includes(w)&&!T(B))return!1;return!0}}),Wnt=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 o=class extends r.Hash{constructor(s,i,n={},a,u,c){if(super(),this.blockLen=s,this.outputLen=i,this.length=0,this.pos=0,this.finished=!1,this.destroyed=!1,(0,t.anumber)(s),(0,t.anumber)(i),(0,t.anumber)(a),i<0||i>a)throw new Error("outputLen bigger than keyLen");if(n.key!==void 0&&(n.key.length<1||n.key.length>a))throw new Error("key length must be undefined or 1.."+a);if(n.salt!==void 0&&n.salt.length!==u)throw new Error("salt must be undefined or "+u);if(n.personalization!==void 0&&n.personalization.length!==c)throw new Error("personalization must be undefined or "+c);this.buffer=new Uint8Array(s),this.buffer32=(0,r.u32)(this.buffer)}update(s){(0,t.aexists)(this);let{blockLen:i,buffer:n,buffer32:a}=this;s=(0,r.toBytes)(s);let u=s.length,c=s.byteOffset,d=s.buffer;for(let h=0;h<u;){this.pos===i&&(r.isLE||(0,r.byteSwap32)(a),this.compress(a,0,!1),r.isLE||(0,r.byteSwap32)(a),this.pos=0);let y=Math.min(i-this.pos,u-h),C=c+h;if(y===i&&!(C%4)&&h+y<u){let w=new Uint32Array(d,C,Math.floor((u-h)/4));r.isLE||(0,r.byteSwap32)(w);for(let T=0;h+i<u;T+=a.length,h+=i)this.length+=i,this.compress(w,T,!1);r.isLE||(0,r.byteSwap32)(w);continue}n.set(s.subarray(h,h+y),this.pos),this.pos+=y,this.length+=y,h+=y}return this}digestInto(s){(0,t.aexists)(this),(0,t.aoutput)(s,this);let{pos:i,buffer32:n}=this;this.finished=!0,this.buffer.subarray(i).fill(0),r.isLE||(0,r.byteSwap32)(n),this.compress(n,0,!0),r.isLE||(0,r.byteSwap32)(n);let a=(0,r.u32)(s);this.get().forEach((u,c)=>a[c]=(0,r.byteSwapIfBE)(u))}digest(){let{buffer:s,outputLen:i}=this;this.digestInto(s);let n=s.slice(0,i);return this.destroy(),n}_cloneInto(s){let{buffer:i,length:n,finished:a,destroyed:u,outputLen:c,pos:d}=this;return s||(s=new this.constructor({dkLen:c})),s.set(...this.get()),s.length=n,s.finished=a,s.destroyed=u,s.outputLen=c,s.buffer.set(i),s.pos=d,s}};e.BLAKE=o}),H0e=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.blake2b=e.BLAKE2b=void 0;var t=Wnt(),r=V7(),o=Au(),s=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),i=new Uint32Array(32);function n(c,d,h,y,C,w){let T=C[w],A=C[w+1],O=i[2*c],v=i[2*c+1],B=i[2*d],R=i[2*d+1],U=i[2*h],N=i[2*h+1],_=i[2*y],L=i[2*y+1],H=r.default.add3L(O,B,T);v=r.default.add3H(H,v,R,A),O=H|0,{Dh:L,Dl:_}={Dh:L^v,Dl:_^O},{Dh:L,Dl:_}={Dh:r.default.rotr32H(L,_),Dl:r.default.rotr32L(L,_)},{h:N,l:U}=r.default.add(N,U,L,_),{Bh:R,Bl:B}={Bh:R^N,Bl:B^U},{Bh:R,Bl:B}={Bh:r.default.rotrSH(R,B,24),Bl:r.default.rotrSL(R,B,24)},i[2*c]=O,i[2*c+1]=v,i[2*d]=B,i[2*d+1]=R,i[2*h]=U,i[2*h+1]=N,i[2*y]=_,i[2*y+1]=L}function a(c,d,h,y,C,w){let T=C[w],A=C[w+1],O=i[2*c],v=i[2*c+1],B=i[2*d],R=i[2*d+1],U=i[2*h],N=i[2*h+1],_=i[2*y],L=i[2*y+1],H=r.default.add3L(O,B,T);v=r.default.add3H(H,v,R,A),O=H|0,{Dh:L,Dl:_}={Dh:L^v,Dl:_^O},{Dh:L,Dl:_}={Dh:r.default.rotrSH(L,_,16),Dl:r.default.rotrSL(L,_,16)},{h:N,l:U}=r.default.add(N,U,L,_),{Bh:R,Bl:B}={Bh:R^N,Bl:B^U},{Bh:R,Bl:B}={Bh:r.default.rotrBH(R,B,63),Bl:r.default.rotrBL(R,B,63)},i[2*c]=O,i[2*c+1]=v,i[2*d]=B,i[2*d+1]=R,i[2*h]=U,i[2*h+1]=N,i[2*y]=_,i[2*y+1]=L}var u=class extends t.BLAKE{constructor(c={}){super(128,c.dkLen===void 0?64:c.dkLen,c,64,16,16),this.v0l=s[0]|0,this.v0h=s[1]|0,this.v1l=s[2]|0,this.v1h=s[3]|0,this.v2l=s[4]|0,this.v2h=s[5]|0,this.v3l=s[6]|0,this.v3h=s[7]|0,this.v4l=s[8]|0,this.v4h=s[9]|0,this.v5l=s[10]|0,this.v5h=s[11]|0,this.v6l=s[12]|0,this.v6h=s[13]|0,this.v7l=s[14]|0,this.v7h=s[15]|0;let d=c.key?c.key.length:0;if(this.v0l^=this.outputLen|d<<8|65536|1<<24,c.salt){let h=(0,o.u32)((0,o.toBytes)(c.salt));this.v4l^=(0,o.byteSwapIfBE)(h[0]),this.v4h^=(0,o.byteSwapIfBE)(h[1]),this.v5l^=(0,o.byteSwapIfBE)(h[2]),this.v5h^=(0,o.byteSwapIfBE)(h[3])}if(c.personalization){let h=(0,o.u32)((0,o.toBytes)(c.personalization));this.v6l^=(0,o.byteSwapIfBE)(h[0]),this.v6h^=(0,o.byteSwapIfBE)(h[1]),this.v7l^=(0,o.byteSwapIfBE)(h[2]),this.v7h^=(0,o.byteSwapIfBE)(h[3])}if(c.key){let h=new Uint8Array(this.blockLen);h.set((0,o.toBytes)(c.key)),this.update(h)}}get(){let{v0l:c,v0h:d,v1l:h,v1h:y,v2l:C,v2h:w,v3l:T,v3h:A,v4l:O,v4h:v,v5l:B,v5h:R,v6l:U,v6h:N,v7l:_,v7h:L}=this;return[c,d,h,y,C,w,T,A,O,v,B,R,U,N,_,L]}set(c,d,h,y,C,w,T,A,O,v,B,R,U,N,_,L){this.v0l=c|0,this.v0h=d|0,this.v1l=h|0,this.v1h=y|0,this.v2l=C|0,this.v2h=w|0,this.v3l=T|0,this.v3h=A|0,this.v4l=O|0,this.v4h=v|0,this.v5l=B|0,this.v5h=R|0,this.v6l=U|0,this.v6h=N|0,this.v7l=_|0,this.v7h=L|0}compress(c,d,h){this.get().forEach((A,O)=>i[O]=A),i.set(s,16);let{h:y,l:C}=r.default.fromBig(BigInt(this.length));i[24]=s[8]^C,i[25]=s[9]^y,h&&(i[28]=~i[28],i[29]=~i[29]);let w=0,T=t.SIGMA;for(let A=0;A<12;A++)n(0,4,8,12,c,d+2*T[w++]),a(0,4,8,12,c,d+2*T[w++]),n(1,5,9,13,c,d+2*T[w++]),a(1,5,9,13,c,d+2*T[w++]),n(2,6,10,14,c,d+2*T[w++]),a(2,6,10,14,c,d+2*T[w++]),n(3,7,11,15,c,d+2*T[w++]),a(3,7,11,15,c,d+2*T[w++]),n(0,5,10,15,c,d+2*T[w++]),a(0,5,10,15,c,d+2*T[w++]),n(1,6,11,12,c,d+2*T[w++]),a(1,6,11,12,c,d+2*T[w++]),n(2,7,8,13,c,d+2*T[w++]),a(2,7,8,13,c,d+2*T[w++]),n(3,4,9,14,c,d+2*T[w++]),a(3,4,9,14,c,d+2*T[w++]);this.v0l^=i[0]^i[16],this.v0h^=i[1]^i[17],this.v1l^=i[2]^i[18],this.v1h^=i[3]^i[19],this.v2l^=i[4]^i[20],this.v2h^=i[5]^i[21],this.v3l^=i[6]^i[22],this.v3h^=i[7]^i[23],this.v4l^=i[8]^i[24],this.v4h^=i[9]^i[25],this.v5l^=i[10]^i[26],this.v5h^=i[11]^i[27],this.v6l^=i[12]^i[28],this.v6h^=i[13]^i[29],this.v7l^=i[14]^i[30],this.v7h^=i[15]^i[31],i.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=u,e.blake2b=(0,o.wrapConstructorWithOpts)(c=>new u(c))}),qnt=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(w,T)=>{for(var A in T)r(w,A,{get:T[A],enumerable:!0})},a=(w,T,A,O)=>{if(T&&typeof T=="object"||typeof T=="function")for(let v of s(T))!i.call(w,v)&&v!==A&&r(w,v,{get:()=>T[v],enumerable:!(O=o(T,v))||O.enumerable});return w},u=w=>a(r({},"__esModule",{value:!0}),w),c={};n(c,{deriveDynamicFieldID:()=>C}),t.exports=u(c);var d=wc(),h=H0e(),y=lp();function C(w,T,A){let O=y.bcs.Address.serialize(w).toBytes(),v=y.bcs.TypeTag.serialize(T).toBytes(),B=y.bcs.u64().serialize(A.length).toBytes(),R=h.blake2b.create({dkLen:32});return R.update(new Uint8Array([240])),R.update(O),R.update(B),R.update(A),R.update(v),`0x${(0,d.toHex)(R.digest().slice(0,32))}`}}),Cj=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(O,v)=>{for(var B in v)r(O,B,{get:v[B],enumerable:!0})},a=(O,v,B,R)=>{if(v&&typeof v=="object"||typeof v=="function")for(let U of s(v))!i.call(O,U)&&U!==B&&r(O,U,{get:()=>v[U],enumerable:!(R=o(v,U))||R.enumerable});return O},u=O=>a(r({},"__esModule",{value:!0}),O),c={};n(c,{MIST_PER_SUI:()=>w.MIST_PER_SUI,MOVE_STDLIB_ADDRESS:()=>w.MOVE_STDLIB_ADDRESS,SUI_ADDRESS_LENGTH:()=>h.SUI_ADDRESS_LENGTH,SUI_CLOCK_OBJECT_ID:()=>w.SUI_CLOCK_OBJECT_ID,SUI_DECIMALS:()=>w.SUI_DECIMALS,SUI_FRAMEWORK_ADDRESS:()=>w.SUI_FRAMEWORK_ADDRESS,SUI_SYSTEM_ADDRESS:()=>w.SUI_SYSTEM_ADDRESS,SUI_SYSTEM_MODULE_NAME:()=>w.SUI_SYSTEM_MODULE_NAME,SUI_SYSTEM_STATE_OBJECT_ID:()=>w.SUI_SYSTEM_STATE_OBJECT_ID,SUI_TYPE_ARG:()=>w.SUI_TYPE_ARG,deriveDynamicFieldID:()=>A.deriveDynamicFieldID,formatAddress:()=>d.formatAddress,formatDigest:()=>d.formatDigest,fromB64:()=>y.fromB64,fromBase58:()=>y.fromBase58,fromBase64:()=>y.fromBase64,fromHEX:()=>y.fromHEX,fromHex:()=>y.fromHex,isValidNamedPackage:()=>T.isValidNamedPackage,isValidNamedType:()=>T.isValidNamedType,isValidSuiAddress:()=>h.isValidSuiAddress,isValidSuiNSName:()=>C.isValidSuiNSName,isValidSuiObjectId:()=>h.isValidSuiObjectId,isValidTransactionDigest:()=>h.isValidTransactionDigest,normalizeStructTag:()=>h.normalizeStructTag,normalizeSuiAddress:()=>h.normalizeSuiAddress,normalizeSuiNSName:()=>C.normalizeSuiNSName,normalizeSuiObjectId:()=>h.normalizeSuiObjectId,parseStructTag:()=>h.parseStructTag,toB64:()=>y.toB64,toBase58:()=>y.toBase58,toBase64:()=>y.toBase64,toHEX:()=>y.toHEX,toHex:()=>y.toHex}),t.exports=u(c);var d=Cnt(),h=Il(),y=wc(),C=Tj(),w=Nnt(),T=z0e(),A=qnt()}),X0e=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(F,G)=>{for(var l in G)r(F,l,{get:G[l],enumerable:!0})},a=(F,G,l,p)=>{if(G&&typeof G=="object"||typeof G=="function")for(let E of s(G))!i.call(F,E)&&E!==l&&r(F,E,{get:()=>G[E],enumerable:!(p=o(G,E))||p.enumerable});return F},u=F=>a(r({},"__esModule",{value:!0}),F),c={};n(c,{getPureBcsSchema:()=>N,isTxContext:()=>U,normalizedTypeToMoveTypeSignature:()=>_,pureBcsSchemaFromOpenMoveTypeSignatureBody:()=>H}),t.exports=u(c);var d=lp(),h=Cj(),y=Il(),C="object",w="ID",T="ascii",A="String",O="string",v="String",B="option",R="Option";function U(F){let G=typeof F.body=="object"&&"datatype"in F.body?F.body.datatype:null;return!!G&&(0,y.normalizeSuiAddress)(G.package)===(0,y.normalizeSuiAddress)("0x2")&&G.module==="tx_context"&&G.type==="TxContext"}function N(F){if(typeof F=="string")switch(F){case"address":return d.bcs.Address;case"bool":return d.bcs.Bool;case"u8":return d.bcs.U8;case"u16":return d.bcs.U16;case"u32":return d.bcs.U32;case"u64":return d.bcs.U64;case"u128":return d.bcs.U128;case"u256":return d.bcs.U256;default:throw new Error(`Unknown type signature ${F}`)}if("vector"in F){if(F.vector==="u8")return d.bcs.vector(d.bcs.U8).transform({input:l=>typeof l=="string"?new TextEncoder().encode(l):l,output:l=>l});let G=N(F.vector);return G?d.bcs.vector(G):null}if("datatype"in F){let G=(0,y.normalizeSuiAddress)(F.datatype.package);if(G===(0,y.normalizeSuiAddress)(h.MOVE_STDLIB_ADDRESS)){if(F.datatype.module===T&&F.datatype.type===A||F.datatype.module===O&&F.datatype.type===v)return d.bcs.String;if(F.datatype.module===B&&F.datatype.type===R){let l=N(F.datatype.typeParameters[0]);return l?d.bcs.vector(l):null}}if(G===(0,y.normalizeSuiAddress)(h.SUI_FRAMEWORK_ADDRESS)&&F.datatype.module===C&&F.datatype.type===w)return d.bcs.Address}return null}function _(F){return typeof F=="object"&&"Reference"in F?{ref:"&",body:L(F.Reference)}:typeof F=="object"&&"MutableReference"in F?{ref:"&mut",body:L(F.MutableReference)}:{ref:null,body:L(F)}}function L(F){if(typeof F=="string")switch(F){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 ${F}`)}if("Vector"in F)return{vector:L(F.Vector)};if("Struct"in F)return{datatype:{package:F.Struct.address,module:F.Struct.module,type:F.Struct.name,typeParameters:F.Struct.typeArguments.map(L)}};if("TypeParameter"in F)return{typeParameter:F.TypeParameter};throw new Error(`Unexpected type ${JSON.stringify(F)}`)}function H(F){if(typeof F=="string")switch(F){case"address":return d.bcs.Address;case"bool":return d.bcs.Bool;case"u8":return d.bcs.U8;case"u16":return d.bcs.U16;case"u32":return d.bcs.U32;case"u64":return d.bcs.U64;case"u128":return d.bcs.U128;case"u256":return d.bcs.U256;default:throw new Error(`Unknown type signature ${F}`)}if("vector"in F)return d.bcs.vector(H(F.vector));throw new Error(`Expected pure typeSignature, but got ${JSON.stringify(F)}`)}}),qB=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(w,T)=>{for(var A in T)r(w,A,{get:T[A],enumerable:!0})},a=(w,T,A,O)=>{if(T&&typeof T=="object"||typeof T=="function")for(let v of s(T))!i.call(w,v)&&v!==A&&r(w,v,{get:()=>T[v],enumerable:!(O=o(T,v))||O.enumerable});return w},u=w=>a(r({},"__esModule",{value:!0}),w),c={};n(c,{Inputs:()=>C}),t.exports=u(c);var d=wc(),h=Il();function y(w){return{$kind:"Pure",Pure:{bytes:w instanceof Uint8Array?(0,d.toBase64)(w):w.toBase64()}}}var C={Pure:y,ObjectRef({objectId:w,digest:T,version:A}){return{$kind:"Object",Object:{$kind:"ImmOrOwnedObject",ImmOrOwnedObject:{digest:T,version:A,objectId:(0,h.normalizeSuiAddress)(w)}}}},SharedObjectRef({objectId:w,mutable:T,initialSharedVersion:A}){return{$kind:"Object",Object:{$kind:"SharedObject",SharedObject:{mutable:T,initialSharedVersion:A,objectId:(0,h.normalizeSuiAddress)(w)}}}},ReceivingRef({objectId:w,digest:T,version:A}){return{$kind:"Object",Object:{$kind:"Receiving",Receiving:{digest:T,version:A,objectId:(0,h.normalizeSuiAddress)(w)}}}}}}),gb=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(Re,Se)=>{for(var pe in Se)r(Re,pe,{get:Se[pe],enumerable:!0})},a=(Re,Se,pe,We)=>{if(Se&&typeof Se=="object"||typeof Se=="function")for(let Ft of s(Se))!i.call(Re,Ft)&&Ft!==pe&&r(Re,Ft,{get:()=>Se[Ft],enumerable:!(We=o(Se,Ft))||We.enumerable});return Re},u=Re=>a(r({},"__esModule",{value:!0}),Re),c={};n(c,{BIC_REGEX:()=>h,CUID2_REGEX:()=>y,DECIMAL_REGEX:()=>C,EMAIL_REGEX:()=>w,EMOJI_REGEX:()=>T,HEXADECIMAL_REGEX:()=>A,HEX_COLOR_REGEX:()=>O,IMEI_REGEX:()=>v,IPV4_REGEX:()=>B,IPV6_REGEX:()=>R,IP_REGEX:()=>U,ISO_DATE_REGEX:()=>N,ISO_DATE_TIME_REGEX:()=>_,ISO_TIMESTAMP_REGEX:()=>F,ISO_TIME_REGEX:()=>L,ISO_TIME_SECOND_REGEX:()=>H,ISO_WEEK_REGEX:()=>G,MAC48_REGEX:()=>l,MAC64_REGEX:()=>p,MAC_REGEX:()=>E,OCTAL_REGEX:()=>g,ULID_REGEX:()=>b,UUID_REGEX:()=>k,ValiError:()=>Je,_addIssue:()=>ce,_isLuhnAlgo:()=>fe,_isValidObjectKey:()=>ie,_stringify:()=>ge,any:()=>wo,array:()=>vo,arrayAsync:()=>Vi,awaitAsync:()=>d,bic:()=>ft,bigint:()=>Eo,blob:()=>Oo,boolean:()=>ro,brand:()=>Kt,bytes:()=>wt,check:()=>Ie,checkAsync:()=>it,checkItems:()=>Ye,config:()=>Ro,creditCard:()=>Rt,cuid2:()=>_r,custom:()=>js,customAsync:()=>ps,date:()=>Vn,decimal:()=>jt,deleteGlobalConfig:()=>M,deleteGlobalMessage:()=>Y,deleteSchemaMessage:()=>ae,deleteSpecificMessage:()=>ve,email:()=>Fe,emoji:()=>Pr,empty:()=>$t,endsWith:()=>Qt,entriesFromList:()=>re,enum:()=>De,enum_:()=>De,everyItem:()=>At,excludes:()=>ur,fallback:()=>Ps,fallbackAsync:()=>Uo,file:()=>lt,filterItems:()=>tr,findItem:()=>Vt,finite:()=>bt,flatten:()=>So,forward:()=>ss,forwardAsync:()=>Do,function:()=>xt,function_:()=>xt,getDefault:()=>Gi,getDefaults:()=>Io,getDefaultsAsync:()=>ds,getDotPath:()=>Oe,getFallback:()=>co,getFallbacks:()=>mo,getFallbacksAsync:()=>Mi,getGlobalConfig:()=>f,getGlobalMessage:()=>j,getSchemaMessage:()=>ue,getSpecificMessage:()=>me,hash:()=>er,hexColor:()=>qt,hexadecimal:()=>Et,imei:()=>Hr,includes:()=>_t,instance:()=>Mt,integer:()=>Wt,intersect:()=>mr,intersectAsync:()=>br,ip:()=>qr,ipv4:()=>Ce,ipv6:()=>_e,is:()=>bi,isOfKind:()=>Pe,isOfType:()=>Ne,isValiError:()=>Xe,isoDate:()=>Ze,isoDateTime:()=>he,isoTime:()=>Ke,isoTimeSecond:()=>Ht,isoTimestamp:()=>yt,isoWeek:()=>Ot,keyof:()=>ma,lazy:()=>$r,lazyAsync:()=>on,length:()=>hr,literal:()=>Jr,looseObject:()=>Xr,looseObjectAsync:()=>On,looseTuple:()=>ci,looseTupleAsync:()=>cn,mac:()=>Br,mac48:()=>Er,mac64:()=>Qe,map:()=>Dn,mapAsync:()=>dn,mapItems:()=>mt,maxBytes:()=>Ue,maxLength:()=>Ge,maxSize:()=>Me,maxValue:()=>ze,mimeType:()=>Le,minBytes:()=>rt,minLength:()=>ht,minSize:()=>ut,minValue:()=>Dt,multipleOf:()=>He,nan:()=>wi,never:()=>Di,nonEmpty:()=>nt,nonNullable:()=>pi,nonNullableAsync:()=>Qn,nonNullish:()=>lo,nonNullishAsync:()=>ms,nonOptional:()=>no,nonOptionalAsync:()=>fo,normalize:()=>at,notBytes:()=>Tt,notLength:()=>pt,notSize:()=>Bt,notValue:()=>Zt,null:()=>oo,null_:()=>oo,nullable:()=>Ii,nullableAsync:()=>Ki,nullish:()=>du,nullishAsync:()=>ko,number:()=>_o,object:()=>qi,objectAsync:()=>Oi,objectWithRest:()=>Ji,objectWithRestAsync:()=>Wo,octal:()=>K,omit:()=>Xi,optional:()=>Bi,optionalAsync:()=>Yi,parse:()=>ws,parseAsync:()=>Bs,parser:()=>qs,parserAsync:()=>xs,partial:()=>vs,partialAsync:()=>Bo,partialCheck:()=>Z,partialCheckAsync:()=>be,pick:()=>Ba,picklist:()=>Hs,pipe:()=>xo,pipeAsync:()=>Js,promise:()=>ki,rawCheck:()=>Be,rawCheckAsync:()=>dt,rawTransform:()=>gt,rawTransformAsync:()=>Ve,readonly:()=>Yt,record:()=>Gs,recordAsync:()=>hu,reduceItems:()=>yr,regex:()=>Cr,required:()=>Us,requiredAsync:()=>Xs,safeInteger:()=>dr,safeParse:()=>Qs,safeParseAsync:()=>Ni,safeParser:()=>Ws,safeParserAsync:()=>xa,set:()=>Pa,setAsync:()=>eo,setGlobalConfig:()=>S,setGlobalMessage:()=>D,setSchemaMessage:()=>de,setSpecificMessage:()=>ne,size:()=>wr,someItem:()=>jr,sortItems:()=>sn,startsWith:()=>ln,strictObject:()=>vi,strictObjectAsync:()=>xi,strictTuple:()=>ao,strictTupleAsync:()=>jn,string:()=>Xn,symbol:()=>_n,toLowerCase:()=>gn,toMaxValue:()=>An,toMinValue:()=>mn,toUpperCase:()=>Cn,transform:()=>Gn,transformAsync:()=>qn,trim:()=>Hn,trimEnd:()=>uo,trimStart:()=>Ri,tuple:()=>Fo,tupleAsync:()=>zo,tupleWithRest:()=>gi,tupleWithRestAsync:()=>li,ulid:()=>Co,undefined:()=>Ms,undefined_:()=>Ms,union:()=>Ei,unionAsync:()=>Sn,unknown:()=>po,unwrap:()=>Vo,url:()=>is,uuid:()=>ks,value:()=>Hi,variant:()=>Rn,variantAsync:()=>Vs,void:()=>Pi,void_:()=>Pi}),t.exports=u(c);function d(){return{kind:"transformation",type:"await",reference:d,async:!0,async _run(Re){return Re.value=await Re.value,Re}}}var h=/^[A-Z]{6}(?!00)[A-Z\d]{2}(?:[A-Z\d]{3})?$/u,y=/^[a-z][\da-z]*$/u,C=/^\d+$/u,w=/^[\w+-]+(?:\.[\w+-]+)*@[\da-z]+(?:[.-][\da-z]+)*\.[a-z]{2,}$/iu,T=/^[\p{Extended_Pictographic}\p{Emoji_Component}]+$/u,A=/^(?:0h|0x)?[\da-f]+$/iu,O=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/iu,v=/^\d{15}$|^\d{2}-\d{6}-\d{6}-\d$/u,B=/^(?:(?:[1-9]|1\d|2[0-4])?\d|25[0-5])(?:\.(?:(?:[1-9]|1\d|2[0-4])?\d|25[0-5])){3}$/u,R=/^(?:(?:[\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?\d)?\d)\.){3}(?:25[0-5]|(?:2[0-4]|1?\d)?\d))$/iu,U=/^(?:(?:[1-9]|1\d|2[0-4])?\d|25[0-5])(?:\.(?:(?:[1-9]|1\d|2[0-4])?\d|25[0-5])){3}$|^(?:(?:[\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}|(?:[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\da-f]{2}$|^(?:[\da-f]{4}\.){3}[\da-f]{4}$|^(?:[\da-f]{4}:){3}[\da-f]{4}$/iu,g=/^(?:0o)?[0-7]+$/iu,b=/^[\da-hjkmnp-tv-z]{26}$/iu,k=/^[\da-f]{8}(?:-[\da-f]{4}){3}-[\da-f]{12}$/iu,x;function S(Re){x={...x,...Re}}function f(Re){return{lang:Re?.lang??x?.lang,message:Re?.message,abortEarly:Re?.abortEarly??x?.abortEarly,abortPipeEarly:Re?.abortPipeEarly??x?.abortPipeEarly}}function M(){x=void 0}var V;function D(Re,Se){V||(V=new Map),V.set(Se,Re)}function j(Re){return V?.get(Re)}function Y(Re){V?.delete(Re)}var oe;function de(Re,Se){oe||(oe=new Map),oe.set(Se,Re)}function ue(Re){return oe?.get(Re)}function ae(Re){oe?.delete(Re)}var q;function ne(Re,Se,pe){q||(q=new Map),q.get(Re)||q.set(Re,new Map),q.get(Re).set(pe,Se)}function me(Re,Se){return q?.get(Re)?.get(Se)}function ve(Re,Se){q?.get(Re)?.delete(Se)}function ge(Re){let Se=typeof Re;return Se==="string"?`"${Re}"`:Se==="number"||Se==="bigint"||Se==="boolean"?`${Re}`:Se==="object"||Se==="function"?(Re&&Object.getPrototypeOf(Re)?.constructor?.name)??"null":Se}function ce(Re,Se,pe,We,Ft){let nr=Ft&&"input"in Ft?Ft.input:pe.value,sr=Ft?.expected??Re.expects??null,pr=Ft?.received??ge(nr),Xt={kind:Re.kind,type:Re.type,input:nr,expected:sr,received:pr,message:`Invalid ${Se}: ${sr?`Expected ${sr} but r`:"R"}eceived ${pr}`,requirement:Re.requirement,path:Ft?.path,issues:Ft?.issues,lang:We.lang,abortEarly:We.abortEarly,abortPipeEarly:We.abortPipeEarly},Mr=Re.kind==="schema",Lr=Ft?.message??Re.message??me(Re.reference,Xt.lang)??(Mr?ue(Xt.lang):null)??We.message??j(Xt.lang);Lr&&(Xt.message=typeof Lr=="function"?Lr(Xt):Lr),Mr&&(pe.typed=!1),pe.issues?pe.issues.push(Xt):pe.issues=[Xt]}var ee=/\D/gu;function fe(Re){let Se=Re.replace(ee,""),pe=Se.length,We=1,Ft=0;for(;pe;){let nr=+Se[--pe];We^=1,Ft+=We?[0,2,4,6,8,1,3,5,7,9][nr]:nr}return Ft%10===0}function ie(Re,Se){return Object.hasOwn(Re,Se)&&Se!=="__proto__"&&Se!=="prototype"&&Se!=="constructor"}function re(Re,Se){let pe={};for(let We of Re)pe[We]=Se;return pe}function Oe(Re){if(Re.path){let Se="";for(let pe of Re.path)if(typeof pe.key=="string"||typeof pe.key=="number")Se?Se+=`.${pe.key}`:Se+=pe.key;else return null;return Se}return null}function Pe(Re,Se){return Se.kind===Re}function Ne(Re,Se){return Se.type===Re}function Xe(Re){return Re instanceof Je}var Je=class extends Error{issues;constructor(Re){super(Re[0].message),this.name="ValiError",this.issues=Re}};function ft(Re){return{kind:"validation",type:"bic",reference:ft,async:!1,expects:null,requirement:h,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"BIC",Se,pe),Se}}}function Kt(Re){return{kind:"transformation",type:"brand",reference:Kt,async:!1,name:Re,_run(Se){return Se}}}function wt(Re,Se){return{kind:"validation",type:"bytes",reference:wt,async:!1,expects:`${Re}`,requirement:Re,message:Se,_run(pe,We){if(pe.typed){let Ft=new TextEncoder().encode(pe.value).length;Ft!==this.requirement&&ce(this,"bytes",pe,We,{received:`${Ft}`})}return pe}}}function Ie(Re,Se){return{kind:"validation",type:"check",reference:Ie,async:!1,expects:null,requirement:Re,message:Se,_run(pe,We){return pe.typed&&!this.requirement(pe.value)&&ce(this,"input",pe,We),pe}}}function it(Re,Se){return{kind:"validation",type:"check",reference:it,async:!0,expects:null,requirement:Re,message:Se,async _run(pe,We){return pe.typed&&!await this.requirement(pe.value)&&ce(this,"input",pe,We),pe}}}function Ye(Re,Se){return{kind:"validation",type:"check_items",reference:Ye,async:!1,expects:null,requirement:Re,message:Se,_run(pe,We){if(pe.typed)for(let Ft=0;Ft<pe.value.length;Ft++){let nr=pe.value[Ft];this.requirement(nr,Ft,pe.value)||ce(this,"item",pe,We,{input:nr,path:[{type:"array",origin:"value",input:pe.value,key:Ft,value:nr}]})}return pe}}}var et=/^(?:\d{14,19}|\d{4}(?: \d{3,6}){2,4}|\d{4}(?:-\d{3,6}){2,4})$/u,Gt=/[- ]/gu,It=[/^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 Rt(Re){return{kind:"validation",type:"credit_card",reference:Rt,async:!1,expects:null,requirement(Se){let pe;return et.test(Se)&&(pe=Se.replace(Gt,""))&&It.some(We=>We.test(pe))&&fe(pe)},message:Re,_run(Se,pe){return Se.typed&&!this.requirement(Se.value)&&ce(this,"credit card",Se,pe),Se}}}function _r(Re){return{kind:"validation",type:"cuid2",reference:_r,async:!1,expects:null,requirement:y,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"Cuid2",Se,pe),Se}}}function jt(Re){return{kind:"validation",type:"decimal",reference:jt,async:!1,expects:null,requirement:C,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"decimal",Se,pe),Se}}}function Fe(Re){return{kind:"validation",type:"email",reference:Fe,expects:null,async:!1,requirement:w,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"email",Se,pe),Se}}}function Pr(Re){return{kind:"validation",type:"emoji",reference:Pr,async:!1,expects:null,requirement:T,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"emoji",Se,pe),Se}}}function $t(Re){return{kind:"validation",type:"empty",reference:$t,async:!1,expects:"0",message:Re,_run(Se,pe){return Se.typed&&Se.value.length>0&&ce(this,"length",Se,pe,{received:`${Se.value.length}`}),Se}}}function Qt(Re,Se){return{kind:"validation",type:"ends_with",reference:Qt,async:!1,expects:`"${Re}"`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&!pe.value.endsWith(this.requirement)&&ce(this,"end",pe,We,{received:`"${pe.value.slice(-this.requirement.length)}"`}),pe}}}function At(Re,Se){return{kind:"validation",type:"every_item",reference:At,async:!1,expects:null,requirement:Re,message:Se,_run(pe,We){return pe.typed&&!pe.value.every(this.requirement)&&ce(this,"item",pe,We),pe}}}function ur(Re,Se){let pe=ge(Re);return{kind:"validation",type:"excludes",reference:ur,async:!1,expects:`!${pe}`,requirement:Re,message:Se,_run(We,Ft){return We.typed&&We.value.includes(this.requirement)&&ce(this,"content",We,Ft,{received:pe}),We}}}function tr(Re){return{kind:"transformation",type:"filter_items",reference:tr,async:!1,operation:Re,_run(Se){return Se.value=Se.value.filter(this.operation),Se}}}function Vt(Re){return{kind:"transformation",type:"find_item",reference:Vt,async:!1,operation:Re,_run(Se){return Se.value=Se.value.find(this.operation),Se}}}function bt(Re){return{kind:"validation",type:"finite",reference:bt,async:!1,expects:null,requirement:Number.isFinite,message:Re,_run(Se,pe){return Se.typed&&!this.requirement(Se.value)&&ce(this,"finite",Se,pe),Se}}}var kt={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 er(Re,Se){return{kind:"validation",type:"hash",reference:er,expects:null,async:!1,requirement:RegExp(Re.map(pe=>`^[a-f0-9]{${kt[pe]}}$`).join("|"),"iu"),message:Se,_run(pe,We){return pe.typed&&!this.requirement.test(pe.value)&&ce(this,"hash",pe,We),pe}}}function Et(Re){return{kind:"validation",type:"hexadecimal",reference:Et,async:!1,expects:null,requirement:A,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"hexadecimal",Se,pe),Se}}}function qt(Re){return{kind:"validation",type:"hex_color",reference:qt,async:!1,expects:null,requirement:O,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"hex color",Se,pe),Se}}}function Hr(Re){return{kind:"validation",type:"imei",reference:Hr,async:!1,expects:null,requirement(Se){return v.test(Se)&&fe(Se)},message:Re,_run(Se,pe){return Se.typed&&!this.requirement(Se.value)&&ce(this,"IMEI",Se,pe),Se}}}function _t(Re,Se){let pe=ge(Re);return{kind:"validation",type:"includes",reference:_t,async:!1,expects:pe,requirement:Re,message:Se,_run(We,Ft){return We.typed&&!We.value.includes(this.requirement)&&ce(this,"content",We,Ft,{received:`!${pe}`}),We}}}function Wt(Re){return{kind:"validation",type:"integer",reference:Wt,async:!1,expects:null,requirement:Number.isInteger,message:Re,_run(Se,pe){return Se.typed&&!this.requirement(Se.value)&&ce(this,"integer",Se,pe),Se}}}function qr(Re){return{kind:"validation",type:"ip",reference:qr,async:!1,expects:null,requirement:U,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"IP",Se,pe),Se}}}function Ce(Re){return{kind:"validation",type:"ipv4",reference:Ce,async:!1,expects:null,requirement:B,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"IPv4",Se,pe),Se}}}function _e(Re){return{kind:"validation",type:"ipv6",reference:_e,async:!1,expects:null,requirement:R,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"IPv6",Se,pe),Se}}}function Ze(Re){return{kind:"validation",type:"iso_date",reference:Ze,async:!1,expects:null,requirement:N,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"date",Se,pe),Se}}}function he(Re){return{kind:"validation",type:"iso_date_time",reference:he,async:!1,expects:null,requirement:_,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"date-time",Se,pe),Se}}}function Ke(Re){return{kind:"validation",type:"iso_time",reference:Ke,async:!1,expects:null,requirement:L,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"time",Se,pe),Se}}}function Ht(Re){return{kind:"validation",type:"iso_time_second",reference:Ht,async:!1,expects:null,requirement:H,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"time-second",Se,pe),Se}}}function yt(Re){return{kind:"validation",type:"iso_timestamp",reference:yt,async:!1,expects:null,requirement:F,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"timestamp",Se,pe),Se}}}function Ot(Re){return{kind:"validation",type:"iso_week",reference:Ot,async:!1,expects:null,requirement:G,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"week",Se,pe),Se}}}function hr(Re,Se){return{kind:"validation",type:"length",reference:hr,async:!1,expects:`${Re}`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&pe.value.length!==this.requirement&&ce(this,"length",pe,We,{received:`${pe.value.length}`}),pe}}}function Br(Re){return{kind:"validation",type:"mac",reference:Br,async:!1,expects:null,requirement:E,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"MAC",Se,pe),Se}}}function Er(Re){return{kind:"validation",type:"mac48",reference:Er,async:!1,expects:null,requirement:l,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"48-bit MAC",Se,pe),Se}}}function Qe(Re){return{kind:"validation",type:"mac64",reference:Qe,async:!1,expects:null,requirement:p,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"64-bit MAC",Se,pe),Se}}}function mt(Re){return{kind:"transformation",type:"map_items",reference:mt,async:!1,operation:Re,_run(Se){return Se.value=Se.value.map(this.operation),Se}}}function Ue(Re,Se){return{kind:"validation",type:"max_bytes",reference:Ue,async:!1,expects:`<=${Re}`,requirement:Re,message:Se,_run(pe,We){if(pe.typed){let Ft=new TextEncoder().encode(pe.value).length;Ft>this.requirement&&ce(this,"bytes",pe,We,{received:`${Ft}`})}return pe}}}function Ge(Re,Se){return{kind:"validation",type:"max_length",reference:Ge,async:!1,expects:`<=${Re}`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&pe.value.length>this.requirement&&ce(this,"length",pe,We,{received:`${pe.value.length}`}),pe}}}function Me(Re,Se){return{kind:"validation",type:"max_size",reference:Me,async:!1,expects:`<=${Re}`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&pe.value.size>this.requirement&&ce(this,"size",pe,We,{received:`${pe.value.size}`}),pe}}}function ze(Re,Se){return{kind:"validation",type:"max_value",reference:ze,async:!1,expects:`<=${Re instanceof Date?Re.toJSON():ge(Re)}`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&pe.value>this.requirement&&ce(this,"value",pe,We,{received:pe.value instanceof Date?pe.value.toJSON():ge(pe.value)}),pe}}}function Le(Re,Se){return{kind:"validation",type:"mime_type",reference:Le,async:!1,expects:Re.map(pe=>`"${pe}"`).join(" | ")||"never",requirement:Re,message:Se,_run(pe,We){return pe.typed&&!this.requirement.includes(pe.value.type)&&ce(this,"MIME type",pe,We,{received:`"${pe.value.type}"`}),pe}}}function rt(Re,Se){return{kind:"validation",type:"min_bytes",reference:rt,async:!1,expects:`>=${Re}`,requirement:Re,message:Se,_run(pe,We){if(pe.typed){let Ft=new TextEncoder().encode(pe.value).length;Ft<this.requirement&&ce(this,"bytes",pe,We,{received:`${Ft}`})}return pe}}}function ht(Re,Se){return{kind:"validation",type:"min_length",reference:ht,async:!1,expects:`>=${Re}`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&pe.value.length<this.requirement&&ce(this,"length",pe,We,{received:`${pe.value.length}`}),pe}}}function ut(Re,Se){return{kind:"validation",type:"min_size",reference:ut,async:!1,expects:`>=${Re}`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&pe.value.size<this.requirement&&ce(this,"size",pe,We,{received:`${pe.value.size}`}),pe}}}function Dt(Re,Se){return{kind:"validation",type:"min_value",reference:Dt,async:!1,expects:`>=${Re instanceof Date?Re.toJSON():ge(Re)}`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&pe.value<this.requirement&&ce(this,"value",pe,We,{received:pe.value instanceof Date?pe.value.toJSON():ge(pe.value)}),pe}}}function He(Re,Se){return{kind:"validation",type:"multiple_of",reference:He,async:!1,expects:`%${Re}`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&pe.value%this.requirement!==0&&ce(this,"multiple",pe,We),pe}}}function nt(Re){return{kind:"validation",type:"non_empty",reference:nt,async:!1,expects:"!0",message:Re,_run(Se,pe){return Se.typed&&Se.value.length===0&&ce(this,"length",Se,pe,{received:"0"}),Se}}}function at(Re){return{kind:"transformation",type:"normalize",reference:at,async:!1,form:Re,_run(Se){return Se.value=Se.value.normalize(this.form),Se}}}function Tt(Re,Se){return{kind:"validation",type:"not_bytes",reference:Tt,async:!1,expects:`!${Re}`,requirement:Re,message:Se,_run(pe,We){if(pe.typed){let Ft=new TextEncoder().encode(pe.value).length;Ft===this.requirement&&ce(this,"bytes",pe,We,{received:`${Ft}`})}return pe}}}function pt(Re,Se){return{kind:"validation",type:"not_length",reference:pt,async:!1,expects:`!${Re}`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&pe.value.length===this.requirement&&ce(this,"length",pe,We,{received:`${pe.value.length}`}),pe}}}function Bt(Re,Se){return{kind:"validation",type:"not_size",reference:Bt,async:!1,expects:`!${Re}`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&pe.value.size===this.requirement&&ce(this,"size",pe,We,{received:`${pe.value.size}`}),pe}}}function Zt(Re,Se){return{kind:"validation",type:"not_value",reference:Zt,async:!1,expects:Re instanceof Date?`!${Re.toJSON()}`:`!${ge(Re)}`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&this.requirement<=pe.value&&this.requirement>=pe.value&&ce(this,"value",pe,We,{received:pe.value instanceof Date?pe.value.toJSON():ge(pe.value)}),pe}}}function K(Re){return{kind:"validation",type:"octal",reference:K,async:!1,expects:null,requirement:g,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"octal",Se,pe),Se}}}function X(Re,Se){if(Re.issues)for(let pe of Se)for(let We of Re.issues){let Ft=!1,nr=Math.min(pe.length,We.path?.length??0);for(let sr=0;sr<nr;sr++)if(pe[sr]!==We.path[sr].key){Ft=!0;break}if(!Ft)return!1}return!0}function Z(Re,Se,pe){return{kind:"validation",type:"partial_check",reference:Z,async:!1,expects:null,requirement:Se,message:pe,_run(We,Ft){return X(We,Re)&&!this.requirement(We.value)&&ce(this,"input",We,Ft),We}}}function be(Re,Se,pe){return{kind:"validation",type:"partial_check",reference:be,async:!0,expects:null,requirement:Se,message:pe,async _run(We,Ft){return X(We,Re)&&!await this.requirement(We.value)&&ce(this,"input",We,Ft),We}}}function Be(Re){return{kind:"validation",type:"raw_check",reference:Be,async:!1,expects:null,_run(Se,pe){return Re({dataset:Se,config:pe,addIssue:We=>ce(this,We?.label??"input",Se,pe,We)}),Se}}}function dt(Re){return{kind:"validation",type:"raw_check",reference:dt,async:!0,expects:null,async _run(Se,pe){return await Re({dataset:Se,config:pe,addIssue:We=>ce(this,We?.label??"input",Se,pe,We)}),Se}}}function gt(Re){return{kind:"transformation",type:"raw_transform",reference:gt,async:!1,_run(Se,pe){let We=Re({dataset:Se,config:pe,addIssue:Ft=>ce(this,Ft?.label??"input",Se,pe,Ft),NEVER:null});return Se.issues?Se.typed=!1:Se.value=We,Se}}}function Ve(Re){return{kind:"transformation",type:"raw_transform",reference:Ve,async:!0,async _run(Se,pe){let We=await Re({dataset:Se,config:pe,addIssue:Ft=>ce(this,Ft?.label??"input",Se,pe,Ft),NEVER:null});return Se.issues?Se.typed=!1:Se.value=We,Se}}}function Yt(){return{kind:"transformation",type:"readonly",reference:Yt,async:!1,_run(Re){return Re}}}function yr(Re,Se){return{kind:"transformation",type:"reduce_items",reference:yr,async:!1,operation:Re,initial:Se,_run(pe){return pe.value=pe.value.reduce(this.operation,this.initial),pe}}}function Cr(Re,Se){return{kind:"validation",type:"regex",reference:Cr,async:!1,expects:`${Re}`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&!this.requirement.test(pe.value)&&ce(this,"format",pe,We),pe}}}function dr(Re){return{kind:"validation",type:"safe_integer",reference:dr,async:!1,expects:null,requirement:Number.isSafeInteger,message:Re,_run(Se,pe){return Se.typed&&!this.requirement(Se.value)&&ce(this,"safe integer",Se,pe),Se}}}function wr(Re,Se){return{kind:"validation",type:"size",reference:wr,async:!1,expects:`${Re}`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&pe.value.size!==this.requirement&&ce(this,"size",pe,We,{received:`${pe.value.size}`}),pe}}}function jr(Re,Se){return{kind:"validation",type:"some_item",reference:jr,async:!1,expects:null,requirement:Re,message:Se,_run(pe,We){return pe.typed&&!pe.value.some(this.requirement)&&ce(this,"item",pe,We),pe}}}function sn(Re){return{kind:"transformation",type:"sort_items",reference:sn,async:!1,operation:Re,_run(Se){return Se.value=Se.value.sort(this.operation),Se}}}function ln(Re,Se){return{kind:"validation",type:"starts_with",reference:ln,async:!1,expects:`"${Re}"`,requirement:Re,message:Se,_run(pe,We){return pe.typed&&!pe.value.startsWith(this.requirement)&&ce(this,"start",pe,We,{received:`"${pe.value.slice(0,this.requirement.length)}"`}),pe}}}function gn(){return{kind:"transformation",type:"to_lower_case",reference:gn,async:!1,_run(Re){return Re.value=Re.value.toLowerCase(),Re}}}function An(Re){return{kind:"transformation",type:"to_max_value",reference:An,async:!1,requirement:Re,_run(Se){return Se.value=Se.value>this.requirement?this.requirement:Se.value,Se}}}function mn(Re){return{kind:"transformation",type:"to_min_value",reference:mn,async:!1,requirement:Re,_run(Se){return Se.value=Se.value<this.requirement?this.requirement:Se.value,Se}}}function Cn(){return{kind:"transformation",type:"to_upper_case",reference:Cn,async:!1,_run(Re){return Re.value=Re.value.toUpperCase(),Re}}}function Gn(Re){return{kind:"transformation",type:"transform",reference:Gn,async:!1,operation:Re,_run(Se){return Se.value=this.operation(Se.value),Se}}}function qn(Re){return{kind:"transformation",type:"transform",reference:qn,async:!0,operation:Re,async _run(Se){return Se.value=await this.operation(Se.value),Se}}}function Hn(){return{kind:"transformation",type:"trim",reference:Hn,async:!1,_run(Re){return Re.value=Re.value.trim(),Re}}}function uo(){return{kind:"transformation",type:"trim_end",reference:uo,async:!1,_run(Re){return Re.value=Re.value.trimEnd(),Re}}}function Ri(){return{kind:"transformation",type:"trim_start",reference:Ri,async:!1,_run(Re){return Re.value=Re.value.trimStart(),Re}}}function Co(Re){return{kind:"validation",type:"ulid",reference:Co,async:!1,expects:null,requirement:b,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"ULID",Se,pe),Se}}}function is(Re){return{kind:"validation",type:"url",reference:is,async:!1,expects:null,requirement(Se){try{return new URL(Se),!0}catch{return!1}},message:Re,_run(Se,pe){return Se.typed&&!this.requirement(Se.value)&&ce(this,"URL",Se,pe),Se}}}function ks(Re){return{kind:"validation",type:"uuid",reference:ks,async:!1,expects:null,requirement:k,message:Re,_run(Se,pe){return Se.typed&&!this.requirement.test(Se.value)&&ce(this,"UUID",Se,pe),Se}}}function Hi(Re,Se){return{kind:"validation",type:"value",reference:Hi,async:!1,expects:Re instanceof Date?Re.toJSON():ge(Re),requirement:Re,message:Se,_run(pe,We){return pe.typed&&!(this.requirement<=pe.value&&this.requirement>=pe.value)&&ce(this,"value",pe,We,{received:pe.value instanceof Date?pe.value.toJSON():ge(pe.value)}),pe}}}function Ro(Re,Se){return{...Re,_run(pe,We){return Re._run(pe,{...We,...Se})}}}function co(Re,Se,pe){return typeof Re.fallback=="function"?Re.fallback(Se,pe):Re.fallback}function Ps(Re,Se){return{...Re,fallback:Se,_run(pe,We){return Re._run(pe,We),pe.issues?{typed:!0,value:co(this,pe,We)}:pe}}}function Uo(Re,Se){return{...Re,fallback:Se,async:!0,async _run(pe,We){return Re._run(pe,We),pe.issues?{typed:!0,value:await co(this,pe,We)}:pe}}}function So(Re){let Se={};for(let pe of Re)if(pe.path){let We=Oe(pe);We?(Se.nested||(Se.nested={}),Se.nested[We]?Se.nested[We].push(pe.message):Se.nested[We]=[pe.message]):Se.other?Se.other.push(pe.message):Se.other=[pe.message]}else Se.root?Se.root.push(pe.message):Se.root=[pe.message];return Se}function ss(Re,Se){return{...Re,_run(pe,We){let Ft=pe.issues&&[...pe.issues];if(Re._run(pe,We),pe.issues){for(let nr of pe.issues)if(!Ft?.includes(nr)){let sr=pe.value;for(let pr of Se){let Xt=sr[pr],Mr={type:"unknown",origin:"value",input:sr,key:pr,value:Xt};if(nr.path?nr.path.push(Mr):nr.path=[Mr],!Xt)break;sr=Xt}}}return pe}}}function Do(Re,Se){return{...Re,async:!0,async _run(pe,We){let Ft=pe.issues&&[...pe.issues];if(await Re._run(pe,We),pe.issues){for(let nr of pe.issues)if(!Ft?.includes(nr)){let sr=pe.value;for(let pr of Se){let Xt=sr[pr],Mr={type:"unknown",origin:"value",input:sr,key:pr,value:Xt};if(nr.path?nr.path.push(Mr):nr.path=[Mr],!Xt)break;sr=Xt}}}return pe}}}function Gi(Re,Se,pe){return typeof Re.default=="function"?Re.default(Se,pe):Re.default}function Io(Re){if("entries"in Re){let Se={};for(let pe in Re.entries)Se[pe]=Io(Re.entries[pe]);return Se}return"items"in Re?Re.items.map(Io):Gi(Re)}async function ds(Re){return"entries"in Re?Object.fromEntries(await Promise.all(Object.entries(Re.entries).map(async([Se,pe])=>[Se,await ds(pe)]))):"items"in Re?Promise.all(Re.items.map(ds)):Gi(Re)}function mo(Re){if("entries"in Re){let Se={};for(let pe in Re.entries)Se[pe]=mo(Re.entries[pe]);return Se}return"items"in Re?Re.items.map(mo):co(Re)}async function Mi(Re){return"entries"in Re?Object.fromEntries(await Promise.all(Object.entries(Re.entries).map(async([Se,pe])=>[Se,await Mi(pe)]))):"items"in Re?Promise.all(Re.items.map(Mi)):co(Re)}function bi(Re,Se){return!Re._run({typed:!1,value:Se},{abortEarly:!0}).issues}function wo(){return{kind:"schema",type:"any",reference:wo,expects:"any",async:!1,_run(Re){return Re.typed=!0,Re}}}function vo(Re,Se){return{kind:"schema",type:"array",reference:vo,expects:"Array",async:!1,item:Re,message:Se,_run(pe,We){let Ft=pe.value;if(Array.isArray(Ft)){pe.typed=!0,pe.value=[];for(let nr=0;nr<Ft.length;nr++){let sr=Ft[nr],pr=this.item._run({typed:!1,value:sr},We);if(pr.issues){let Xt={type:"array",origin:"value",input:Ft,key:nr,value:sr};for(let Mr of pr.issues)Mr.path?Mr.path.unshift(Xt):Mr.path=[Xt],pe.issues?.push(Mr);if(pe.issues||(pe.issues=pr.issues),We.abortEarly){pe.typed=!1;break}}pr.typed||(pe.typed=!1),pe.value.push(pr.value)}}else ce(this,"type",pe,We);return pe}}}function Vi(Re,Se){return{kind:"schema",type:"array",reference:Vi,expects:"Array",async:!0,item:Re,message:Se,async _run(pe,We){let Ft=pe.value;if(Array.isArray(Ft)){pe.typed=!0,pe.value=[];let nr=await Promise.all(Ft.map(sr=>this.item._run({typed:!1,value:sr},We)));for(let sr=0;sr<nr.length;sr++){let pr=nr[sr];if(pr.issues){let Xt={type:"array",origin:"value",input:Ft,key:sr,value:Ft[sr]};for(let Mr of pr.issues)Mr.path?Mr.path.unshift(Xt):Mr.path=[Xt],pe.issues?.push(Mr);if(pe.issues||(pe.issues=pr.issues),We.abortEarly){pe.typed=!1;break}}pr.typed||(pe.typed=!1),pe.value.push(pr.value)}}else ce(this,"type",pe,We);return pe}}}function Eo(Re){return{kind:"schema",type:"bigint",reference:Eo,expects:"bigint",async:!1,message:Re,_run(Se,pe){return typeof Se.value=="bigint"?Se.typed=!0:ce(this,"type",Se,pe),Se}}}function Oo(Re){return{kind:"schema",type:"blob",reference:Oo,expects:"Blob",async:!1,message:Re,_run(Se,pe){return Se.value instanceof Blob?Se.typed=!0:ce(this,"type",Se,pe),Se}}}function ro(Re){return{kind:"schema",type:"boolean",reference:ro,expects:"boolean",async:!1,message:Re,_run(Se,pe){return typeof Se.value=="boolean"?Se.typed=!0:ce(this,"type",Se,pe),Se}}}function js(Re,Se){return{kind:"schema",type:"custom",reference:js,expects:"unknown",async:!1,check:Re,message:Se,_run(pe,We){return this.check(pe.value)?pe.typed=!0:ce(this,"type",pe,We),pe}}}function ps(Re,Se){return{kind:"schema",type:"custom",reference:ps,expects:"unknown",async:!0,check:Re,message:Se,async _run(pe,We){return await this.check(pe.value)?pe.typed=!0:ce(this,"type",pe,We),pe}}}function Vn(Re){return{kind:"schema",type:"date",reference:Vn,expects:"Date",async:!1,message:Re,_run(Se,pe){return Se.value instanceof Date?isNaN(Se.value)?ce(this,"type",Se,pe,{received:'"Invalid Date"'}):Se.typed=!0:ce(this,"type",Se,pe),Se}}}function De(Re,Se){let pe=Object.entries(Re).filter(([We])=>isNaN(+We)).map(([,We])=>We);return{kind:"schema",type:"enum",reference:De,expects:pe.map(ge).join(" | ")||"never",async:!1,enum:Re,options:pe,message:Se,_run(We,Ft){return this.options.includes(We.value)?We.typed=!0:ce(this,"type",We,Ft),We}}}function lt(Re){return{kind:"schema",type:"file",reference:lt,expects:"File",async:!1,message:Re,_run(Se,pe){return Se.value instanceof File?Se.typed=!0:ce(this,"type",Se,pe),Se}}}function xt(Re){return{kind:"schema",type:"function",reference:xt,expects:"Function",async:!1,message:Re,_run(Se,pe){return typeof Se.value=="function"?Se.typed=!0:ce(this,"type",Se,pe),Se}}}function Mt(Re,Se){return{kind:"schema",type:"instance",reference:Mt,expects:Re.name,async:!1,class:Re,message:Se,_run(pe,We){return pe.value instanceof this.class?pe.typed=!0:ce(this,"type",pe,We),pe}}}function ar(Re,Se){if(typeof Re==typeof Se){if(Re===Se||Re instanceof Date&&Se instanceof Date&&+Re==+Se)return{value:Re};if(Re&&Se&&Re.constructor===Object&&Se.constructor===Object){for(let pe in Se)if(pe in Re){let We=ar(Re[pe],Se[pe]);if(We.issue)return We;Re[pe]=We.value}else Re[pe]=Se[pe];return{value:Re}}if(Array.isArray(Re)&&Array.isArray(Se)&&Re.length===Se.length){for(let pe=0;pe<Re.length;pe++){let We=ar(Re[pe],Se[pe]);if(We.issue)return We;Re[pe]=We.value}return{value:Re}}}return{issue:!0}}function mr(Re,Se){return{kind:"schema",type:"intersect",reference:mr,expects:[...new Set(Re.map(pe=>pe.expects))].join(" & ")||"never",async:!1,options:Re,message:Se,_run(pe,We){if(this.options.length){let Ft=pe.value,nr;pe.typed=!0;for(let sr of this.options){let pr=sr._run({typed:!1,value:Ft},We);if(pr.issues&&(pe.issues?pe.issues.push(...pr.issues):pe.issues=pr.issues,We.abortEarly)){pe.typed=!1;break}pr.typed||(pe.typed=!1),pe.typed&&(nr?nr.push(pr.value):nr=[pr.value])}if(pe.typed){pe.value=nr[0];for(let sr=1;sr<nr.length;sr++){let pr=ar(pe.value,nr[sr]);if(pr.issue){ce(this,"type",pe,We,{received:"unknown"});break}pe.value=pr.value}}}else ce(this,"type",pe,We);return pe}}}function br(Re,Se){return{kind:"schema",type:"intersect",reference:br,expects:[...new Set(Re.map(pe=>pe.expects))].join(" & ")||"never",async:!0,options:Re,message:Se,async _run(pe,We){if(this.options.length){let Ft=pe.value,nr;pe.typed=!0;let sr=await Promise.all(this.options.map(pr=>pr._run({typed:!1,value:Ft},We)));for(let pr of sr){if(pr.issues&&(pe.issues?pe.issues.push(...pr.issues):pe.issues=pr.issues,We.abortEarly)){pe.typed=!1;break}pr.typed||(pe.typed=!1),pe.typed&&(nr?nr.push(pr.value):nr=[pr.value])}if(pe.typed){pe.value=nr[0];for(let pr=1;pr<nr.length;pr++){let Xt=ar(pe.value,nr[pr]);if(Xt.issue){ce(this,"type",pe,We,{received:"unknown"});break}pe.value=Xt.value}}}else ce(this,"type",pe,We);return pe}}}function $r(Re){return{kind:"schema",type:"lazy",reference:$r,expects:"unknown",async:!1,getter:Re,_run(Se,pe){return this.getter(Se.value)._run(Se,pe)}}}function on(Re){return{kind:"schema",type:"lazy",reference:on,expects:"unknown",async:!0,getter:Re,async _run(Se,pe){return(await this.getter(Se.value))._run(Se,pe)}}}function Jr(Re,Se){return{kind:"schema",type:"literal",reference:Jr,expects:ge(Re),async:!1,literal:Re,message:Se,_run(pe,We){return pe.value===this.literal?pe.typed=!0:ce(this,"type",pe,We),pe}}}function Xr(Re,Se){return{kind:"schema",type:"loose_object",reference:Xr,expects:"Object",async:!1,entries:Re,message:Se,_run(pe,We){let Ft=pe.value;if(Ft&&typeof Ft=="object"){pe.typed=!0,pe.value={};for(let nr in this.entries){let sr=Ft[nr],pr=this.entries[nr]._run({typed:!1,value:sr},We);if(pr.issues){let Xt={type:"object",origin:"value",input:Ft,key:nr,value:sr};for(let Mr of pr.issues)Mr.path?Mr.path.unshift(Xt):Mr.path=[Xt],pe.issues?.push(Mr);if(pe.issues||(pe.issues=pr.issues),We.abortEarly){pe.typed=!1;break}}pr.typed||(pe.typed=!1),(pr.value!==void 0||nr in Ft)&&(pe.value[nr]=pr.value)}if(!pe.issues||!We.abortEarly)for(let nr in Ft)ie(Ft,nr)&&!(nr in this.entries)&&(pe.value[nr]=Ft[nr])}else ce(this,"type",pe,We);return pe}}}function On(Re,Se){return{kind:"schema",type:"loose_object",reference:On,expects:"Object",async:!0,entries:Re,message:Se,async _run(pe,We){let Ft=pe.value;if(Ft&&typeof Ft=="object"){pe.typed=!0,pe.value={};let nr=await Promise.all(Object.entries(this.entries).map(async([sr,pr])=>{let Xt=Ft[sr];return[sr,Xt,await pr._run({typed:!1,value:Xt},We)]}));for(let[sr,pr,Xt]of nr){if(Xt.issues){let Mr={type:"object",origin:"value",input:Ft,key:sr,value:pr};for(let Lr of Xt.issues)Lr.path?Lr.path.unshift(Mr):Lr.path=[Mr],pe.issues?.push(Lr);if(pe.issues||(pe.issues=Xt.issues),We.abortEarly){pe.typed=!1;break}}Xt.typed||(pe.typed=!1),(Xt.value!==void 0||sr in Ft)&&(pe.value[sr]=Xt.value)}if(!pe.issues||!We.abortEarly)for(let sr in Ft)ie(Ft,sr)&&!(sr in this.entries)&&(pe.value[sr]=Ft[sr])}else ce(this,"type",pe,We);return pe}}}function ci(Re,Se){return{kind:"schema",type:"loose_tuple",reference:ci,expects:"Array",async:!1,items:Re,message:Se,_run(pe,We){let Ft=pe.value;if(Array.isArray(Ft)){pe.typed=!0,pe.value=[];for(let nr=0;nr<this.items.length;nr++){let sr=Ft[nr],pr=this.items[nr]._run({typed:!1,value:sr},We);if(pr.issues){let Xt={type:"array",origin:"value",input:Ft,key:nr,value:sr};for(let Mr of pr.issues)Mr.path?Mr.path.unshift(Xt):Mr.path=[Xt],pe.issues?.push(Mr);if(pe.issues||(pe.issues=pr.issues),We.abortEarly){pe.typed=!1;break}}pr.typed||(pe.typed=!1),pe.value.push(pr.value)}if(!pe.issues||!We.abortEarly)for(let nr=this.items.length;nr<Ft.length;nr++)pe.value.push(Ft[nr])}else ce(this,"type",pe,We);return pe}}}function cn(Re,Se){return{kind:"schema",type:"loose_tuple",reference:cn,expects:"Array",async:!0,items:Re,message:Se,async _run(pe,We){let Ft=pe.value;if(Array.isArray(Ft)){pe.typed=!0,pe.value=[];let nr=await Promise.all(this.items.map(async(sr,pr)=>{let Xt=Ft[pr];return[pr,Xt,await sr._run({typed:!1,value:Xt},We)]}));for(let[sr,pr,Xt]of nr){if(Xt.issues){let Mr={type:"array",origin:"value",input:Ft,key:sr,value:pr};for(let Lr of Xt.issues)Lr.path?Lr.path.unshift(Mr):Lr.path=[Mr],pe.issues?.push(Lr);if(pe.issues||(pe.issues=Xt.issues),We.abortEarly){pe.typed=!1;break}}Xt.typed||(pe.typed=!1),pe.value.push(Xt.value)}if(!pe.issues||!We.abortEarly)for(let sr=this.items.length;sr<Ft.length;sr++)pe.value.push(Ft[sr])}else ce(this,"type",pe,We);return pe}}}function Dn(Re,Se,pe){return{kind:"schema",type:"map",reference:Dn,expects:"Map",async:!1,key:Re,value:Se,message:pe,_run(We,Ft){let nr=We.value;if(nr instanceof Map){We.typed=!0,We.value=new Map;for(let[sr,pr]of nr){let Xt=this.key._run({typed:!1,value:sr},Ft);if(Xt.issues){let Lr={type:"map",origin:"key",input:nr,key:sr,value:pr};for(let Tn of Xt.issues)Tn.path?Tn.path.unshift(Lr):Tn.path=[Lr],We.issues?.push(Tn);if(We.issues||(We.issues=Xt.issues),Ft.abortEarly){We.typed=!1;break}}let Mr=this.value._run({typed:!1,value:pr},Ft);if(Mr.issues){let Lr={type:"map",origin:"value",input:nr,key:sr,value:pr};for(let Tn of Mr.issues)Tn.path?Tn.path.unshift(Lr):Tn.path=[Lr],We.issues?.push(Tn);if(We.issues||(We.issues=Mr.issues),Ft.abortEarly){We.typed=!1;break}}(!Xt.typed||!Mr.typed)&&(We.typed=!1),We.value.set(Xt.value,Mr.value)}}else ce(this,"type",We,Ft);return We}}}function dn(Re,Se,pe){return{kind:"schema",type:"map",reference:dn,expects:"Map",async:!0,key:Re,value:Se,message:pe,async _run(We,Ft){let nr=We.value;if(nr instanceof Map){We.typed=!0,We.value=new Map;let sr=await Promise.all([...nr].map(([pr,Xt])=>Promise.all([pr,Xt,this.key._run({typed:!1,value:pr},Ft),this.value._run({typed:!1,value:Xt},Ft)])));for(let[pr,Xt,Mr,Lr]of sr){if(Mr.issues){let Tn={type:"map",origin:"key",input:nr,key:pr,value:Xt};for(let Un of Mr.issues)Un.path?Un.path.unshift(Tn):Un.path=[Tn],We.issues?.push(Un);if(We.issues||(We.issues=Mr.issues),Ft.abortEarly){We.typed=!1;break}}if(Lr.issues){let Tn={type:"map",origin:"value",input:nr,key:pr,value:Xt};for(let Un of Lr.issues)Un.path?Un.path.unshift(Tn):Un.path=[Tn],We.issues?.push(Un);if(We.issues||(We.issues=Lr.issues),Ft.abortEarly){We.typed=!1;break}}(!Mr.typed||!Lr.typed)&&(We.typed=!1),We.value.set(Mr.value,Lr.value)}}else ce(this,"type",We,Ft);return We}}}function wi(Re){return{kind:"schema",type:"nan",reference:wi,expects:"NaN",async:!1,message:Re,_run(Se,pe){return Number.isNaN(Se.value)?Se.typed=!0:ce(this,"type",Se,pe),Se}}}function Di(Re){return{kind:"schema",type:"never",reference:Di,expects:"never",async:!1,message:Re,_run(Se,pe){return ce(this,"type",Se,pe),Se}}}function pi(Re,Se){return{kind:"schema",type:"non_nullable",reference:pi,expects:"!null",async:!1,wrapped:Re,message:Se,_run(pe,We){return pe.value===null?(ce(this,"type",pe,We),pe):this.wrapped._run(pe,We)}}}function Qn(Re,Se){return{kind:"schema",type:"non_nullable",reference:Qn,expects:"!null",async:!0,wrapped:Re,message:Se,async _run(pe,We){return pe.value===null?(ce(this,"type",pe,We),pe):this.wrapped._run(pe,We)}}}function lo(Re,Se){return{kind:"schema",type:"non_nullish",reference:lo,expects:"!null & !undefined",async:!1,wrapped:Re,message:Se,_run(pe,We){return pe.value===null||pe.value===void 0?(ce(this,"type",pe,We),pe):this.wrapped._run(pe,We)}}}function ms(Re,Se){return{kind:"schema",type:"non_nullish",reference:ms,expects:"!null & !undefined",async:!0,wrapped:Re,message:Se,async _run(pe,We){return pe.value===null||pe.value===void 0?(ce(this,"type",pe,We),pe):this.wrapped._run(pe,We)}}}function no(Re,Se){return{kind:"schema",type:"non_optional",reference:no,expects:"!undefined",async:!1,wrapped:Re,message:Se,_run(pe,We){return pe.value===void 0?(ce(this,"type",pe,We),pe):this.wrapped._run(pe,We)}}}function fo(Re,Se){return{kind:"schema",type:"non_optional",reference:fo,expects:"!undefined",async:!0,wrapped:Re,message:Se,async _run(pe,We){return pe.value===void 0?(ce(this,"type",pe,We),pe):this.wrapped._run(pe,We)}}}function oo(Re){return{kind:"schema",type:"null",reference:oo,expects:"null",async:!1,message:Re,_run(Se,pe){return Se.value===null?Se.typed=!0:ce(this,"type",Se,pe),Se}}}function Ii(Re,...Se){let pe={kind:"schema",type:"nullable",reference:Ii,expects:`${Re.expects} | null`,async:!1,wrapped:Re,_run(We,Ft){return We.value===null&&("default"in this&&(We.value=Gi(this,We,Ft)),We.value===null)?(We.typed=!0,We):this.wrapped._run(We,Ft)}};return 0 in Se&&(pe.default=Se[0]),pe}function Ki(Re,...Se){let pe={kind:"schema",type:"nullable",reference:Ki,expects:`${Re.expects} | null`,async:!0,wrapped:Re,async _run(We,Ft){return We.value===null&&("default"in this&&(We.value=await Gi(this,We,Ft)),We.value===null)?(We.typed=!0,We):this.wrapped._run(We,Ft)}};return 0 in Se&&(pe.default=Se[0]),pe}function du(Re,...Se){let pe={kind:"schema",type:"nullish",reference:du,expects:`${Re.expects} | null | undefined`,async:!1,wrapped:Re,_run(We,Ft){return(We.value===null||We.value===void 0)&&("default"in this&&(We.value=Gi(this,We,Ft)),We.value===null||We.value===void 0)?(We.typed=!0,We):this.wrapped._run(We,Ft)}};return 0 in Se&&(pe.default=Se[0]),pe}function ko(Re,...Se){let pe={kind:"schema",type:"nullish",reference:ko,expects:`${Re.expects} | null | undefined`,async:!0,wrapped:Re,async _run(We,Ft){return(We.value===null||We.value===void 0)&&("default"in this&&(We.value=await Gi(this,We,Ft)),We.value===null||We.value===void 0)?(We.typed=!0,We):this.wrapped._run(We,Ft)}};return 0 in Se&&(pe.default=Se[0]),pe}function _o(Re){return{kind:"schema",type:"number",reference:_o,expects:"number",async:!1,message:Re,_run(Se,pe){return typeof Se.value=="number"&&!isNaN(Se.value)?Se.typed=!0:ce(this,"type",Se,pe),Se}}}function qi(Re,Se){return{kind:"schema",type:"object",reference:qi,expects:"Object",async:!1,entries:Re,message:Se,_run(pe,We){let Ft=pe.value;if(Ft&&typeof Ft=="object"){pe.typed=!0,pe.value={};for(let nr in this.entries){let sr=Ft[nr],pr=this.entries[nr]._run({typed:!1,value:sr},We);if(pr.issues){let Xt={type:"object",origin:"value",input:Ft,key:nr,value:sr};for(let Mr of pr.issues)Mr.path?Mr.path.unshift(Xt):Mr.path=[Xt],pe.issues?.push(Mr);if(pe.issues||(pe.issues=pr.issues),We.abortEarly){pe.typed=!1;break}}pr.typed||(pe.typed=!1),(pr.value!==void 0||nr in Ft)&&(pe.value[nr]=pr.value)}}else ce(this,"type",pe,We);return pe}}}function Oi(Re,Se){return{kind:"schema",type:"object",reference:Oi,expects:"Object",async:!0,entries:Re,message:Se,async _run(pe,We){let Ft=pe.value;if(Ft&&typeof Ft=="object"){pe.typed=!0,pe.value={};let nr=await Promise.all(Object.entries(this.entries).map(async([sr,pr])=>{let Xt=Ft[sr];return[sr,Xt,await pr._run({typed:!1,value:Xt},We)]}));for(let[sr,pr,Xt]of nr){if(Xt.issues){let Mr={type:"object",origin:"value",input:Ft,key:sr,value:pr};for(let Lr of Xt.issues)Lr.path?Lr.path.unshift(Mr):Lr.path=[Mr],pe.issues?.push(Lr);if(pe.issues||(pe.issues=Xt.issues),We.abortEarly){pe.typed=!1;break}}Xt.typed||(pe.typed=!1),(Xt.value!==void 0||sr in Ft)&&(pe.value[sr]=Xt.value)}}else ce(this,"type",pe,We);return pe}}}function Ji(Re,Se,pe){return{kind:"schema",type:"object_with_rest",reference:Ji,expects:"Object",async:!1,entries:Re,rest:Se,message:pe,_run(We,Ft){let nr=We.value;if(nr&&typeof nr=="object"){We.typed=!0,We.value={};for(let sr in this.entries){let pr=nr[sr],Xt=this.entries[sr]._run({typed:!1,value:pr},Ft);if(Xt.issues){let Mr={type:"object",origin:"value",input:nr,key:sr,value:pr};for(let Lr of Xt.issues)Lr.path?Lr.path.unshift(Mr):Lr.path=[Mr],We.issues?.push(Lr);if(We.issues||(We.issues=Xt.issues),Ft.abortEarly){We.typed=!1;break}}Xt.typed||(We.typed=!1),(Xt.value!==void 0||sr in nr)&&(We.value[sr]=Xt.value)}if(!We.issues||!Ft.abortEarly){for(let sr in nr)if(ie(nr,sr)&&!(sr in this.entries)){let pr=nr[sr],Xt=this.rest._run({typed:!1,value:pr},Ft);if(Xt.issues){let Mr={type:"object",origin:"value",input:nr,key:sr,value:pr};for(let Lr of Xt.issues)Lr.path?Lr.path.unshift(Mr):Lr.path=[Mr],We.issues?.push(Lr);if(We.issues||(We.issues=Xt.issues),Ft.abortEarly){We.typed=!1;break}}Xt.typed||(We.typed=!1),We.value[sr]=Xt.value}}}else ce(this,"type",We,Ft);return We}}}function Wo(Re,Se,pe){return{kind:"schema",type:"object_with_rest",reference:Wo,expects:"Object",async:!0,entries:Re,rest:Se,message:pe,async _run(We,Ft){let nr=We.value;if(nr&&typeof nr=="object"){We.typed=!0,We.value={};let[sr,pr]=await Promise.all([Promise.all(Object.entries(this.entries).map(async([Xt,Mr])=>{let Lr=nr[Xt];return[Xt,Lr,await Mr._run({typed:!1,value:Lr},Ft)]})),Promise.all(Object.entries(nr).filter(([Xt])=>ie(nr,Xt)&&!(Xt in this.entries)).map(async([Xt,Mr])=>[Xt,Mr,await this.rest._run({typed:!1,value:Mr},Ft)]))]);for(let[Xt,Mr,Lr]of sr){if(Lr.issues){let Tn={type:"object",origin:"value",input:nr,key:Xt,value:Mr};for(let Un of Lr.issues)Un.path?Un.path.unshift(Tn):Un.path=[Tn],We.issues?.push(Un);if(We.issues||(We.issues=Lr.issues),Ft.abortEarly){We.typed=!1;break}}Lr.typed||(We.typed=!1),(Lr.value!==void 0||Xt in nr)&&(We.value[Xt]=Lr.value)}if(!We.issues||!Ft.abortEarly)for(let[Xt,Mr,Lr]of pr){if(Lr.issues){let Tn={type:"object",origin:"value",input:nr,key:Xt,value:Mr};for(let Un of Lr.issues)Un.path?Un.path.unshift(Tn):Un.path=[Tn],We.issues?.push(Un);if(We.issues||(We.issues=Lr.issues),Ft.abortEarly){We.typed=!1;break}}Lr.typed||(We.typed=!1),We.value[Xt]=Lr.value}}else ce(this,"type",We,Ft);return We}}}function Bi(Re,...Se){let pe={kind:"schema",type:"optional",reference:Bi,expects:`${Re.expects} | undefined`,async:!1,wrapped:Re,_run(We,Ft){return We.value===void 0&&("default"in this&&(We.value=Gi(this,We,Ft)),We.value===void 0)?(We.typed=!0,We):this.wrapped._run(We,Ft)}};return 0 in Se&&(pe.default=Se[0]),pe}function Yi(Re,...Se){let pe={kind:"schema",type:"optional",reference:Yi,expects:`${Re.expects} | undefined`,async:!0,wrapped:Re,async _run(We,Ft){return We.value===void 0&&("default"in this&&(We.value=await Gi(this,We,Ft)),We.value===void 0)?(We.typed=!0,We):this.wrapped._run(We,Ft)}};return 0 in Se&&(pe.default=Se[0]),pe}function Hs(Re,Se){return{kind:"schema",type:"picklist",reference:Hs,expects:Re.map(ge).join(" | ")||"never",async:!1,options:Re,message:Se,_run(pe,We){return this.options.includes(pe.value)?pe.typed=!0:ce(this,"type",pe,We),pe}}}function ki(Re){return{kind:"schema",type:"promise",reference:ki,expects:"Promise",async:!1,message:Re,_run(Se,pe){return Se.value instanceof Promise?Se.typed=!0:ce(this,"type",Se,pe),Se}}}function Gs(Re,Se,pe){return{kind:"schema",type:"record",reference:Gs,expects:"Object",async:!1,key:Re,value:Se,message:pe,_run(We,Ft){let nr=We.value;if(nr&&typeof nr=="object"){We.typed=!0,We.value={};for(let sr in nr)if(ie(nr,sr)){let pr=nr[sr],Xt=this.key._run({typed:!1,value:sr},Ft);if(Xt.issues){let Lr={type:"object",origin:"key",input:nr,key:sr,value:pr};for(let Tn of Xt.issues)Tn.path=[Lr],We.issues?.push(Tn);if(We.issues||(We.issues=Xt.issues),Ft.abortEarly){We.typed=!1;break}}let Mr=this.value._run({typed:!1,value:pr},Ft);if(Mr.issues){let Lr={type:"object",origin:"value",input:nr,key:sr,value:pr};for(let Tn of Mr.issues)Tn.path?Tn.path.unshift(Lr):Tn.path=[Lr],We.issues?.push(Tn);if(We.issues||(We.issues=Mr.issues),Ft.abortEarly){We.typed=!1;break}}(!Xt.typed||!Mr.typed)&&(We.typed=!1),Xt.typed&&(We.value[Xt.value]=Mr.value)}}else ce(this,"type",We,Ft);return We}}}function hu(Re,Se,pe){return{kind:"schema",type:"record",reference:hu,expects:"Object",async:!0,key:Re,value:Se,message:pe,async _run(We,Ft){let nr=We.value;if(nr&&typeof nr=="object"){We.typed=!0,We.value={};let sr=await Promise.all(Object.entries(nr).filter(([pr])=>ie(nr,pr)).map(([pr,Xt])=>Promise.all([pr,Xt,this.key._run({typed:!1,value:pr},Ft),this.value._run({typed:!1,value:Xt},Ft)])));for(let[pr,Xt,Mr,Lr]of sr){if(Mr.issues){let Tn={type:"object",origin:"key",input:nr,key:pr,value:Xt};for(let Un of Mr.issues)Un.path=[Tn],We.issues?.push(Un);if(We.issues||(We.issues=Mr.issues),Ft.abortEarly){We.typed=!1;break}}if(Lr.issues){let Tn={type:"object",origin:"value",input:nr,key:pr,value:Xt};for(let Un of Lr.issues)Un.path?Un.path.unshift(Tn):Un.path=[Tn],We.issues?.push(Un);if(We.issues||(We.issues=Lr.issues),Ft.abortEarly){We.typed=!1;break}}(!Mr.typed||!Lr.typed)&&(We.typed=!1),Mr.typed&&(We.value[Mr.value]=Lr.value)}}else ce(this,"type",We,Ft);return We}}}function Pa(Re,Se){return{kind:"schema",type:"set",reference:Pa,expects:"Set",async:!1,value:Re,message:Se,_run(pe,We){let Ft=pe.value;if(Ft instanceof Set){pe.typed=!0,pe.value=new Set;for(let nr of Ft){let sr=this.value._run({typed:!1,value:nr},We);if(sr.issues){let pr={type:"set",origin:"value",input:Ft,key:null,value:nr};for(let Xt of sr.issues)Xt.path?Xt.path.unshift(pr):Xt.path=[pr],pe.issues?.push(Xt);if(pe.issues||(pe.issues=sr.issues),We.abortEarly){pe.typed=!1;break}}sr.typed||(pe.typed=!1),pe.value.add(sr.value)}}else ce(this,"type",pe,We);return pe}}}function eo(Re,Se){return{kind:"schema",type:"set",reference:eo,expects:"Set",async:!0,value:Re,message:Se,async _run(pe,We){let Ft=pe.value;if(Ft instanceof Set){pe.typed=!0,pe.value=new Set;let nr=await Promise.all([...Ft].map(async sr=>[sr,await this.value._run({typed:!1,value:sr},We)]));for(let[sr,pr]of nr){if(pr.issues){let Xt={type:"set",origin:"value",input:Ft,key:null,value:sr};for(let Mr of pr.issues)Mr.path?Mr.path.unshift(Xt):Mr.path=[Xt],pe.issues?.push(Mr);if(pe.issues||(pe.issues=pr.issues),We.abortEarly){pe.typed=!1;break}}pr.typed||(pe.typed=!1),pe.value.add(pr.value)}}else ce(this,"type",pe,We);return pe}}}function vi(Re,Se){return{kind:"schema",type:"strict_object",reference:vi,expects:"Object",async:!1,entries:Re,message:Se,_run(pe,We){let Ft=pe.value;if(Ft&&typeof Ft=="object"){pe.typed=!0,pe.value={};for(let nr in this.entries){let sr=Ft[nr],pr=this.entries[nr]._run({typed:!1,value:sr},We);if(pr.issues){let Xt={type:"object",origin:"value",input:Ft,key:nr,value:sr};for(let Mr of pr.issues)Mr.path?Mr.path.unshift(Xt):Mr.path=[Xt],pe.issues?.push(Mr);if(pe.issues||(pe.issues=pr.issues),We.abortEarly){pe.typed=!1;break}}pr.typed||(pe.typed=!1),(pr.value!==void 0||nr in Ft)&&(pe.value[nr]=pr.value)}if(!pe.issues||!We.abortEarly){for(let nr in Ft)if(!(nr in this.entries)){let sr=Ft[nr];ce(this,"type",pe,We,{input:sr,expected:"never",path:[{type:"object",origin:"value",input:Ft,key:nr,value:sr}]});break}}}else ce(this,"type",pe,We);return pe}}}function xi(Re,Se){return{kind:"schema",type:"strict_object",reference:xi,expects:"Object",async:!0,entries:Re,message:Se,async _run(pe,We){let Ft=pe.value;if(Ft&&typeof Ft=="object"){pe.typed=!0,pe.value={};let nr=await Promise.all(Object.entries(this.entries).map(async([sr,pr])=>{let Xt=Ft[sr];return[sr,Xt,await pr._run({typed:!1,value:Xt},We)]}));for(let[sr,pr,Xt]of nr){if(Xt.issues){let Mr={type:"object",origin:"value",input:Ft,key:sr,value:pr};for(let Lr of Xt.issues)Lr.path?Lr.path.unshift(Mr):Lr.path=[Mr],pe.issues?.push(Lr);if(pe.issues||(pe.issues=Xt.issues),We.abortEarly){pe.typed=!1;break}}Xt.typed||(pe.typed=!1),(Xt.value!==void 0||sr in Ft)&&(pe.value[sr]=Xt.value)}if(!pe.issues||!We.abortEarly){for(let sr in Ft)if(!(sr in this.entries)){let pr=Ft[sr];ce(this,"type",pe,We,{input:pr,expected:"never",path:[{type:"object",origin:"value",input:Ft,key:sr,value:pr}]});break}}}else ce(this,"type",pe,We);return pe}}}function ao(Re,Se){return{kind:"schema",type:"strict_tuple",reference:ao,expects:"Array",async:!1,items:Re,message:Se,_run(pe,We){let Ft=pe.value;if(Array.isArray(Ft)){pe.typed=!0,pe.value=[];for(let nr=0;nr<this.items.length;nr++){let sr=Ft[nr],pr=this.items[nr]._run({typed:!1,value:sr},We);if(pr.issues){let Xt={type:"array",origin:"value",input:Ft,key:nr,value:sr};for(let Mr of pr.issues)Mr.path?Mr.path.unshift(Xt):Mr.path=[Xt],pe.issues?.push(Mr);if(pe.issues||(pe.issues=pr.issues),We.abortEarly){pe.typed=!1;break}}pr.typed||(pe.typed=!1),pe.value.push(pr.value)}if(!(pe.issues&&We.abortEarly)&&this.items.length<Ft.length){let nr=Ft[Re.length];ce(this,"type",pe,We,{input:nr,expected:"never",path:[{type:"array",origin:"value",input:Ft,key:this.items.length,value:nr}]})}}else ce(this,"type",pe,We);return pe}}}function jn(Re,Se){return{kind:"schema",type:"strict_tuple",reference:jn,expects:"Array",async:!0,items:Re,message:Se,async _run(pe,We){let Ft=pe.value;if(Array.isArray(Ft)){pe.typed=!0,pe.value=[];let nr=await Promise.all(this.items.map(async(sr,pr)=>{let Xt=Ft[pr];return[pr,Xt,await sr._run({typed:!1,value:Xt},We)]}));for(let[sr,pr,Xt]of nr){if(Xt.issues){let Mr={type:"array",origin:"value",input:Ft,key:sr,value:pr};for(let Lr of Xt.issues)Lr.path?Lr.path.unshift(Mr):Lr.path=[Mr],pe.issues?.push(Lr);if(pe.issues||(pe.issues=Xt.issues),We.abortEarly){pe.typed=!1;break}}Xt.typed||(pe.typed=!1),pe.value.push(Xt.value)}if(!(pe.issues&&We.abortEarly)&&this.items.length<Ft.length){let sr=Ft[Re.length];ce(this,"type",pe,We,{input:sr,expected:"never",path:[{type:"array",origin:"value",input:Ft,key:this.items.length,value:sr}]})}}else ce(this,"type",pe,We);return pe}}}function Xn(Re){return{kind:"schema",type:"string",reference:Xn,expects:"string",async:!1,message:Re,_run(Se,pe){return typeof Se.value=="string"?Se.typed=!0:ce(this,"type",Se,pe),Se}}}function _n(Re){return{kind:"schema",type:"symbol",reference:_n,expects:"symbol",async:!1,message:Re,_run(Se,pe){return typeof Se.value=="symbol"?Se.typed=!0:ce(this,"type",Se,pe),Se}}}function Fo(Re,Se){return{kind:"schema",type:"tuple",reference:Fo,expects:"Array",async:!1,items:Re,message:Se,_run(pe,We){let Ft=pe.value;if(Array.isArray(Ft)){pe.typed=!0,pe.value=[];for(let nr=0;nr<this.items.length;nr++){let sr=Ft[nr],pr=this.items[nr]._run({typed:!1,value:sr},We);if(pr.issues){let Xt={type:"array",origin:"value",input:Ft,key:nr,value:sr};for(let Mr of pr.issues)Mr.path?Mr.path.unshift(Xt):Mr.path=[Xt],pe.issues?.push(Mr);if(pe.issues||(pe.issues=pr.issues),We.abortEarly){pe.typed=!1;break}}pr.typed||(pe.typed=!1),pe.value.push(pr.value)}}else ce(this,"type",pe,We);return pe}}}function zo(Re,Se){return{kind:"schema",type:"tuple",reference:zo,expects:"Array",async:!0,items:Re,message:Se,async _run(pe,We){let Ft=pe.value;if(Array.isArray(Ft)){pe.typed=!0,pe.value=[];let nr=await Promise.all(this.items.map(async(sr,pr)=>{let Xt=Ft[pr];return[pr,Xt,await sr._run({typed:!1,value:Xt},We)]}));for(let[sr,pr,Xt]of nr){if(Xt.issues){let Mr={type:"array",origin:"value",input:Ft,key:sr,value:pr};for(let Lr of Xt.issues)Lr.path?Lr.path.unshift(Mr):Lr.path=[Mr],pe.issues?.push(Lr);if(pe.issues||(pe.issues=Xt.issues),We.abortEarly){pe.typed=!1;break}}Xt.typed||(pe.typed=!1),pe.value.push(Xt.value)}}else ce(this,"type",pe,We);return pe}}}function gi(Re,Se,pe){return{kind:"schema",type:"tuple_with_rest",reference:gi,expects:"Array",async:!1,items:Re,rest:Se,message:pe,_run(We,Ft){let nr=We.value;if(Array.isArray(nr)){We.typed=!0,We.value=[];for(let sr=0;sr<this.items.length;sr++){let pr=nr[sr],Xt=this.items[sr]._run({typed:!1,value:pr},Ft);if(Xt.issues){let Mr={type:"array",origin:"value",input:nr,key:sr,value:pr};for(let Lr of Xt.issues)Lr.path?Lr.path.unshift(Mr):Lr.path=[Mr],We.issues?.push(Lr);if(We.issues||(We.issues=Xt.issues),Ft.abortEarly){We.typed=!1;break}}Xt.typed||(We.typed=!1),We.value.push(Xt.value)}if(!We.issues||!Ft.abortEarly)for(let sr=this.items.length;sr<nr.length;sr++){let pr=nr[sr],Xt=this.rest._run({typed:!1,value:pr},Ft);if(Xt.issues){let Mr={type:"array",origin:"value",input:nr,key:sr,value:pr};for(let Lr of Xt.issues)Lr.path?Lr.path.unshift(Mr):Lr.path=[Mr],We.issues?.push(Lr);if(We.issues||(We.issues=Xt.issues),Ft.abortEarly){We.typed=!1;break}}Xt.typed||(We.typed=!1),We.value.push(Xt.value)}}else ce(this,"type",We,Ft);return We}}}function li(Re,Se,pe){return{kind:"schema",type:"tuple_with_rest",reference:li,expects:"Array",async:!0,items:Re,rest:Se,message:pe,async _run(We,Ft){let nr=We.value;if(Array.isArray(nr)){We.typed=!0,We.value=[];let[sr,pr]=await Promise.all([Promise.all(this.items.map(async(Xt,Mr)=>{let Lr=nr[Mr];return[Mr,Lr,await Xt._run({typed:!1,value:Lr},Ft)]})),Promise.all(nr.slice(this.items.length).map(async(Xt,Mr)=>[Mr+this.items.length,Xt,await this.rest._run({typed:!1,value:Xt},Ft)]))]);for(let[Xt,Mr,Lr]of sr){if(Lr.issues){let Tn={type:"array",origin:"value",input:nr,key:Xt,value:Mr};for(let Un of Lr.issues)Un.path?Un.path.unshift(Tn):Un.path=[Tn],We.issues?.push(Un);if(We.issues||(We.issues=Lr.issues),Ft.abortEarly){We.typed=!1;break}}Lr.typed||(We.typed=!1),We.value.push(Lr.value)}if(!We.issues||!Ft.abortEarly)for(let[Xt,Mr,Lr]of pr){if(Lr.issues){let Tn={type:"array",origin:"value",input:nr,key:Xt,value:Mr};for(let Un of Lr.issues)Un.path?Un.path.unshift(Tn):Un.path=[Tn],We.issues?.push(Un);if(We.issues||(We.issues=Lr.issues),Ft.abortEarly){We.typed=!1;break}}Lr.typed||(We.typed=!1),We.value.push(Lr.value)}}else ce(this,"type",We,Ft);return We}}}function Ms(Re){return{kind:"schema",type:"undefined",reference:Ms,expects:"undefined",async:!1,message:Re,_run(Se,pe){return Se.value===void 0?Se.typed=!0:ce(this,"type",Se,pe),Se}}}function di(Re){let Se;if(Re)for(let pe of Re)Se?Se.push(...pe.issues):Se=pe.issues;return Se}function Ei(Re,Se){return{kind:"schema",type:"union",reference:Ei,expects:[...new Set(Re.map(pe=>pe.expects))].join(" | ")||"never",async:!1,options:Re,message:Se,_run(pe,We){let Ft,nr,sr;for(let pr of this.options){let Xt=pr._run({typed:!1,value:pe.value},We);if(Xt.typed)if(Xt.issues)nr?nr.push(Xt):nr=[Xt];else{Ft=Xt;break}else sr?sr.push(Xt):sr=[Xt]}if(Ft)return Ft;if(nr){if(nr.length===1)return nr[0];ce(this,"type",pe,We,{issues:di(nr)}),pe.typed=!0}else{if(sr?.length===1)return sr[0];ce(this,"type",pe,We,{issues:di(sr)})}return pe}}}function Sn(Re,Se){return{kind:"schema",type:"union",reference:Sn,expects:[...new Set(Re.map(pe=>pe.expects))].join(" | ")||"never",async:!0,options:Re,message:Se,async _run(pe,We){let Ft,nr,sr;for(let pr of this.options){let Xt=await pr._run({typed:!1,value:pe.value},We);if(Xt.typed)if(Xt.issues)nr?nr.push(Xt):nr=[Xt];else{Ft=Xt;break}else sr?sr.push(Xt):sr=[Xt]}if(Ft)return Ft;if(nr){if(nr.length===1)return nr[0];ce(this,"type",pe,We,{issues:di(nr)}),pe.typed=!0}else{if(sr?.length===1)return sr[0];ce(this,"type",pe,We,{issues:di(sr)})}return pe}}}function po(){return{kind:"schema",type:"unknown",reference:po,expects:"unknown",async:!1,_run(Re){return Re.typed=!0,Re}}}function bs(Re,Se,pe=new Set){for(let We of Se)We.type==="variant"?bs(Re,We.options,pe):pe.add(We.entries[Re].expects);return pe}function Rn(Re,Se,pe){let We;return{kind:"schema",type:"variant",reference:Rn,expects:"Object",async:!1,key:Re,options:Se,message:pe,_run(Ft,nr){let sr=Ft.value;if(sr&&typeof sr=="object"){let pr=sr[this.key];if(this.key in sr){let Xt;for(let Mr of this.options)if(Mr.type==="variant"||!Mr.entries[this.key]._run({typed:!1,value:pr},nr).issues){let Lr=Mr._run({typed:!1,value:sr},nr);if(!Lr.issues)return Lr;(!Xt||!Xt.typed&&Lr.typed)&&(Xt=Lr)}if(Xt)return Xt}We||(We=[...bs(this.key,this.options)].join(" | ")||"never"),ce(this,"type",Ft,nr,{input:pr,expected:We,path:[{type:"object",origin:"value",input:sr,key:this.key,value:pr}]})}else ce(this,"type",Ft,nr);return Ft}}}function Vs(Re,Se,pe){let We;return{kind:"schema",type:"variant",reference:Vs,expects:"Object",async:!0,key:Re,options:Se,message:pe,async _run(Ft,nr){let sr=Ft.value;if(sr&&typeof sr=="object"){let pr=sr[this.key];if(this.key in sr){let Xt;for(let Mr of this.options)if(Mr.type==="variant"||!(await Mr.entries[this.key]._run({typed:!1,value:pr},nr)).issues){let Lr=await Mr._run({typed:!1,value:sr},nr);if(!Lr.issues)return Lr;(!Xt||!Xt.typed&&Lr.typed)&&(Xt=Lr)}if(Xt)return Xt}We||(We=[...bs(this.key,this.options)].join(" | ")||"never"),ce(this,"type",Ft,nr,{input:pr,expected:We,path:[{type:"object",origin:"value",input:sr,key:this.key,value:pr}]})}else ce(this,"type",Ft,nr);return Ft}}}function Pi(Re){return{kind:"schema",type:"void",reference:Pi,expects:"void",async:!1,message:Re,_run(Se,pe){return Se.value===void 0?Se.typed=!0:ce(this,"type",Se,pe),Se}}}function ma(Re,Se){return Hs(Object.keys(Re.entries),Se)}function Xi(Re,Se){let pe={...Re.entries};for(let We of Se)delete pe[We];return{...Re,entries:pe}}function ws(Re,Se,pe){let We=Re._run({typed:!1,value:Se},f(pe));if(We.issues)throw new Je(We.issues);return We.value}async function Bs(Re,Se,pe){let We=await Re._run({typed:!1,value:Se},f(pe));if(We.issues)throw new Je(We.issues);return We.value}function qs(Re,Se){let pe=We=>ws(Re,We,Se);return pe.schema=Re,pe.config=Se,pe}function xs(Re,Se){let pe=We=>Bs(Re,We,Se);return pe.schema=Re,pe.config=Se,pe}function vs(Re,Se){let pe={};for(let We in Re.entries)pe[We]=!Se||Se.includes(We)?Bi(Re.entries[We]):Re.entries[We];return{...Re,entries:pe}}function Bo(Re,Se){let pe={};for(let We in Re.entries)pe[We]=!Se||Se.includes(We)?Yi(Re.entries[We]):Re.entries[We];return{...Re,entries:pe}}function Ba(Re,Se){let pe={};for(let We of Se)pe[We]=Re.entries[We];return{...Re,entries:pe}}function xo(...Re){return{...Re[0],pipe:Re,_run(Se,pe){for(let We=0;We<Re.length;We++){if(Se.issues&&(Re[We].kind==="schema"||Re[We].kind==="transformation")){Se.typed=!1;break}(!Se.issues||!pe.abortEarly&&!pe.abortPipeEarly)&&(Se=Re[We]._run(Se,pe))}return Se}}}function Js(...Re){return{...Re[0],pipe:Re,async:!0,async _run(Se,pe){for(let We=0;We<Re.length;We++){if(Se.issues&&(Re[We].kind==="schema"||Re[We].kind==="transformation")){Se.typed=!1;break}(!Se.issues||!pe.abortEarly&&!pe.abortPipeEarly)&&(Se=await Re[We]._run(Se,pe))}return Se}}}function Us(Re,Se,pe){let We=Array.isArray(Se)?Se:void 0,Ft=Array.isArray(Se)?pe:Se,nr={};for(let sr in Re.entries)nr[sr]=!We||We.includes(sr)?no(Re.entries[sr],Ft):Re.entries[sr];return{...Re,entries:nr}}function Xs(Re,Se,pe){let We=Array.isArray(Se)?Se:void 0,Ft=Array.isArray(Se)?pe:Se,nr={};for(let sr in Re.entries)nr[sr]=!We||We.includes(sr)?fo(Re.entries[sr],Ft):Re.entries[sr];return{...Re,entries:nr}}function Qs(Re,Se,pe){let We=Re._run({typed:!1,value:Se},f(pe));return{typed:We.typed,success:!We.issues,output:We.value,issues:We.issues}}async function Ni(Re,Se,pe){let We=await Re._run({typed:!1,value:Se},f(pe));return{typed:We.typed,success:!We.issues,output:We.value,issues:We.issues}}function Ws(Re,Se){let pe=We=>Qs(Re,We,Se);return pe.schema=Re,pe.config=Se,pe}function xa(Re,Se){let pe=We=>Ni(Re,We,Se);return pe.schema=Re,pe.config=Se,pe}function Vo(Re){return Re.wrapped}}),A2=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(g,b)=>{for(var k in b)r(g,k,{get:b[k],enumerable:!0})},a=(g,b,k,x)=>{if(b&&typeof b=="object"||typeof b=="function")for(let S of s(b))!i.call(g,S)&&S!==k&&r(g,S,{get:()=>b[S],enumerable:!(x=o(b,S))||x.enumerable});return g},u=g=>a(r({},"__esModule",{value:!0}),g),c={};n(c,{$Intent:()=>L,Argument:()=>v,BCSBytes:()=>T,Command:()=>H,GasData:()=>B,JsonU64:()=>A,NormalizedCallArg:()=>l,ObjectArg:()=>F,ObjectID:()=>w,ObjectRef:()=>O,OpenMoveTypeSignature:()=>N,OpenMoveTypeSignatureBody:()=>U,StructTag:()=>R,SuiAddress:()=>C,TransactionData:()=>E,TransactionExpiration:()=>p,safeEnum:()=>y}),t.exports=u(c);var d=gb(),h=Il();function y(g){let b=Object.entries(g).map(([k,x])=>(0,d.object)({[k]:x}));return(0,d.pipe)((0,d.union)(b),(0,d.transform)(k=>({...k,$kind:Object.keys(k)[0]})))}var C=(0,d.pipe)((0,d.string)(),(0,d.transform)(g=>(0,h.normalizeSuiAddress)(g)),(0,d.check)(h.isValidSuiAddress)),w=C,T=(0,d.string)(),A=(0,d.pipe)((0,d.union)([(0,d.string)(),(0,d.pipe)((0,d.number)(),(0,d.integer)())]),(0,d.check)(g=>{try{return BigInt(g),BigInt(g)>=0&&BigInt(g)<=18446744073709551615n}catch{return!1}},"Invalid u64")),O=(0,d.object)({objectId:C,version:A,digest:(0,d.string)()}),v=(0,d.pipe)((0,d.union)([(0,d.object)({GasCoin:(0,d.literal)(!0)}),(0,d.object)({Input:(0,d.pipe)((0,d.number)(),(0,d.integer)()),type:(0,d.optional)((0,d.literal)("pure"))}),(0,d.object)({Input:(0,d.pipe)((0,d.number)(),(0,d.integer)()),type:(0,d.optional)((0,d.literal)("object"))}),(0,d.object)({Result:(0,d.pipe)((0,d.number)(),(0,d.integer)())}),(0,d.object)({NestedResult:(0,d.tuple)([(0,d.pipe)((0,d.number)(),(0,d.integer)()),(0,d.pipe)((0,d.number)(),(0,d.integer)())])})]),(0,d.transform)(g=>({...g,$kind:Object.keys(g)[0]}))),B=(0,d.object)({budget:(0,d.nullable)(A),price:(0,d.nullable)(A),owner:(0,d.nullable)(C),payment:(0,d.nullable)((0,d.array)(O))}),R=(0,d.object)({address:(0,d.string)(),module:(0,d.string)(),name:(0,d.string)(),typeParams:(0,d.array)((0,d.string)())}),U=(0,d.union)([(0,d.literal)("address"),(0,d.literal)("bool"),(0,d.literal)("u8"),(0,d.literal)("u16"),(0,d.literal)("u32"),(0,d.literal)("u64"),(0,d.literal)("u128"),(0,d.literal)("u256"),(0,d.object)({vector:(0,d.lazy)(()=>U)}),(0,d.object)({datatype:(0,d.object)({package:(0,d.string)(),module:(0,d.string)(),type:(0,d.string)(),typeParameters:(0,d.array)((0,d.lazy)(()=>U))})}),(0,d.object)({typeParameter:(0,d.pipe)((0,d.number)(),(0,d.integer)())})]),N=(0,d.object)({ref:(0,d.nullable)((0,d.union)([(0,d.literal)("&"),(0,d.literal)("&mut")])),body:U}),_=(0,d.object)({package:w,module:(0,d.string)(),function:(0,d.string)(),typeArguments:(0,d.array)((0,d.string)()),arguments:(0,d.array)(v),_argumentTypes:(0,d.optional)((0,d.nullable)((0,d.array)(N)))}),L=(0,d.object)({name:(0,d.string)(),inputs:(0,d.record)((0,d.string)(),(0,d.union)([v,(0,d.array)(v)])),data:(0,d.record)((0,d.string)(),(0,d.unknown)())}),H=y({MoveCall:_,TransferObjects:(0,d.object)({objects:(0,d.array)(v),address:v}),SplitCoins:(0,d.object)({coin:v,amounts:(0,d.array)(v)}),MergeCoins:(0,d.object)({destination:v,sources:(0,d.array)(v)}),Publish:(0,d.object)({modules:(0,d.array)(T),dependencies:(0,d.array)(w)}),MakeMoveVec:(0,d.object)({type:(0,d.nullable)((0,d.string)()),elements:(0,d.array)(v)}),Upgrade:(0,d.object)({modules:(0,d.array)(T),dependencies:(0,d.array)(w),package:w,ticket:v}),$Intent:L}),F=y({ImmOrOwnedObject:O,SharedObject:(0,d.object)({objectId:w,initialSharedVersion:A,mutable:(0,d.boolean)()}),Receiving:O}),G=y({Object:F,Pure:(0,d.object)({bytes:T}),UnresolvedPure:(0,d.object)({value:(0,d.unknown)()}),UnresolvedObject:(0,d.object)({objectId:w,version:(0,d.optional)((0,d.nullable)(A)),digest:(0,d.optional)((0,d.nullable)((0,d.string)())),initialSharedVersion:(0,d.optional)((0,d.nullable)(A))})}),l=y({Object:F,Pure:(0,d.object)({bytes:T})}),p=y({None:(0,d.literal)(!0),Epoch:A}),E=(0,d.object)({version:(0,d.literal)(2),sender:(0,d.nullish)(C),expiration:(0,d.nullish)(p),gasData:B,inputs:(0,d.array)(G),commands:(0,d.array)(H)})}),Mj=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(A,O)=>{for(var v in O)r(A,v,{get:O[v],enumerable:!0})},a=(A,O,v,B)=>{if(O&&typeof O=="object"||typeof O=="function")for(let R of s(O))!i.call(A,R)&&R!==v&&r(A,R,{get:()=>O[R],enumerable:!(B=o(O,R))||B.enumerable});return A},u=A=>a(r({},"__esModule",{value:!0}),A),c={};n(c,{Commands:()=>T,UpgradePolicy:()=>w}),t.exports=u(c);var d=wc(),h=gb(),y=Il(),C=A2(),w=(A=>(A[A.COMPATIBLE=0]="COMPATIBLE",A[A.ADDITIVE=128]="ADDITIVE",A[A.DEP_ONLY=192]="DEP_ONLY",A))(w||{}),T={MoveCall(A){let[O,v="",B=""]="target"in A?A.target.split("::"):[A.package,A.module,A.function];return{$kind:"MoveCall",MoveCall:{package:O,module:v,function:B,typeArguments:A.typeArguments??[],arguments:A.arguments??[]}}},TransferObjects(A,O){return{$kind:"TransferObjects",TransferObjects:{objects:A.map(v=>(0,h.parse)(C.Argument,v)),address:(0,h.parse)(C.Argument,O)}}},SplitCoins(A,O){return{$kind:"SplitCoins",SplitCoins:{coin:(0,h.parse)(C.Argument,A),amounts:O.map(v=>(0,h.parse)(C.Argument,v))}}},MergeCoins(A,O){return{$kind:"MergeCoins",MergeCoins:{destination:(0,h.parse)(C.Argument,A),sources:O.map(v=>(0,h.parse)(C.Argument,v))}}},Publish({modules:A,dependencies:O}){return{$kind:"Publish",Publish:{modules:A.map(v=>typeof v=="string"?v:(0,d.toBase64)(new Uint8Array(v))),dependencies:O.map(v=>(0,y.normalizeSuiObjectId)(v))}}},Upgrade({modules:A,dependencies:O,package:v,ticket:B}){return{$kind:"Upgrade",Upgrade:{modules:A.map(R=>typeof R=="string"?R:(0,d.toBase64)(new Uint8Array(R))),dependencies:O.map(R=>(0,y.normalizeSuiObjectId)(R)),package:v,ticket:(0,h.parse)(C.Argument,B)}}},MakeMoveVec({type:A,elements:O}){return{$kind:"MakeMoveVec",MakeMoveVec:{type:A??null,elements:O.map(v=>(0,h.parse)(C.Argument,v))}}},Intent({name:A,inputs:O={},data:v={}}){return{$kind:"$Intent",$Intent:{name:A,inputs:Object.fromEntries(Object.entries(O).map(([B,R])=>[B,Array.isArray(R)?R.map(U=>(0,h.parse)(C.Argument,U)):(0,h.parse)(C.Argument,R)])),data:v}}}}}),wpe=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(D,j)=>{for(var Y in j)r(D,Y,{get:j[Y],enumerable:!0})},a=(D,j,Y,oe)=>{if(j&&typeof j=="object"||typeof j=="function")for(let de of s(j))!i.call(D,de)&&de!==Y&&r(D,de,{get:()=>j[de],enumerable:!(oe=o(j,de))||oe.enumerable});return D},u=D=>a(r({},"__esModule",{value:!0}),D),c={};n(c,{NormalizedCallArg:()=>A,ObjectRef:()=>w,SerializedTransactionDataV1:()=>x,StructTag:()=>U,TransactionArgument:()=>L,TypeTag:()=>R,serializeV1TransactionData:()=>S,transactionDataFromV1:()=>M}),t.exports=u(c);var d=wc(),h=gb(),y=lp(),C=A2(),w=(0,h.object)({digest:(0,h.string)(),objectId:(0,h.string)(),version:(0,h.union)([(0,h.pipe)((0,h.number)(),(0,h.integer)()),(0,h.string)(),(0,h.bigint)()])}),T=(0,C.safeEnum)({ImmOrOwned:w,Shared:(0,h.object)({objectId:C.ObjectID,initialSharedVersion:C.JsonU64,mutable:(0,h.boolean)()}),Receiving:w}),A=(0,C.safeEnum)({Object:T,Pure:(0,h.array)((0,h.pipe)((0,h.number)(),(0,h.integer)()))}),O=(0,h.union)([(0,h.object)({kind:(0,h.literal)("Input"),index:(0,h.pipe)((0,h.number)(),(0,h.integer)()),value:(0,h.unknown)(),type:(0,h.optional)((0,h.literal)("object"))}),(0,h.object)({kind:(0,h.literal)("Input"),index:(0,h.pipe)((0,h.number)(),(0,h.integer)()),value:(0,h.unknown)(),type:(0,h.literal)("pure")})]),v=(0,h.union)([(0,h.object)({Epoch:(0,h.pipe)((0,h.number)(),(0,h.integer)())}),(0,h.object)({None:(0,h.nullable)((0,h.literal)(!0))})]),B=(0,h.pipe)((0,h.union)([(0,h.number)(),(0,h.string)(),(0,h.bigint)()]),(0,h.check)(D=>{if(!["string","number","bigint"].includes(typeof D))return!1;try{return BigInt(D),!0}catch{return!1}})),R=(0,h.union)([(0,h.object)({bool:(0,h.nullable)((0,h.literal)(!0))}),(0,h.object)({u8:(0,h.nullable)((0,h.literal)(!0))}),(0,h.object)({u64:(0,h.nullable)((0,h.literal)(!0))}),(0,h.object)({u128:(0,h.nullable)((0,h.literal)(!0))}),(0,h.object)({address:(0,h.nullable)((0,h.literal)(!0))}),(0,h.object)({signer:(0,h.nullable)((0,h.literal)(!0))}),(0,h.object)({vector:(0,h.lazy)(()=>R)}),(0,h.object)({struct:(0,h.lazy)(()=>U)}),(0,h.object)({u16:(0,h.nullable)((0,h.literal)(!0))}),(0,h.object)({u32:(0,h.nullable)((0,h.literal)(!0))}),(0,h.object)({u256:(0,h.nullable)((0,h.literal)(!0))})]),U=(0,h.object)({address:(0,h.string)(),module:(0,h.string)(),name:(0,h.string)(),typeParams:(0,h.array)(R)}),N=(0,h.object)({budget:(0,h.optional)(B),price:(0,h.optional)(B),payment:(0,h.optional)((0,h.array)(w)),owner:(0,h.optional)((0,h.string)())}),_=[O,(0,h.object)({kind:(0,h.literal)("GasCoin")}),(0,h.object)({kind:(0,h.literal)("Result"),index:(0,h.pipe)((0,h.number)(),(0,h.integer)())}),(0,h.object)({kind:(0,h.literal)("NestedResult"),index:(0,h.pipe)((0,h.number)(),(0,h.integer)()),resultIndex:(0,h.pipe)((0,h.number)(),(0,h.integer)())})],L=(0,h.union)([..._]),H=(0,h.object)({kind:(0,h.literal)("MoveCall"),target:(0,h.pipe)((0,h.string)(),(0,h.check)(D=>D.split("::").length===3)),typeArguments:(0,h.array)((0,h.string)()),arguments:(0,h.array)(L)}),F=(0,h.object)({kind:(0,h.literal)("TransferObjects"),objects:(0,h.array)(L),address:L}),G=(0,h.object)({kind:(0,h.literal)("SplitCoins"),coin:L,amounts:(0,h.array)(L)}),l=(0,h.object)({kind:(0,h.literal)("MergeCoins"),destination:L,sources:(0,h.array)(L)}),p=(0,h.object)({kind:(0,h.literal)("MakeMoveVec"),type:(0,h.union)([(0,h.object)({Some:R}),(0,h.object)({None:(0,h.nullable)((0,h.literal)(!0))})]),objects:(0,h.array)(L)}),E=(0,h.object)({kind:(0,h.literal)("Publish"),modules:(0,h.array)((0,h.array)((0,h.pipe)((0,h.number)(),(0,h.integer)()))),dependencies:(0,h.array)((0,h.string)())}),g=(0,h.object)({kind:(0,h.literal)("Upgrade"),modules:(0,h.array)((0,h.array)((0,h.pipe)((0,h.number)(),(0,h.integer)()))),dependencies:(0,h.array)((0,h.string)()),packageId:(0,h.string)(),ticket:L}),b=[H,F,G,l,E,g,p],k=(0,h.union)([...b]),x=(0,h.object)({version:(0,h.literal)(1),sender:(0,h.optional)((0,h.string)()),expiration:(0,h.nullish)(v),gasConfig:N,inputs:(0,h.array)(O),transactions:(0,h.array)(k)});function S(D){let j=D.inputs.map((Y,oe)=>{if(Y.Object)return{kind:"Input",index:oe,value:{Object:Y.Object.ImmOrOwnedObject?{ImmOrOwned:Y.Object.ImmOrOwnedObject}:Y.Object.Receiving?{Receiving:{digest:Y.Object.Receiving.digest,version:Y.Object.Receiving.version,objectId:Y.Object.Receiving.objectId}}:{Shared:{mutable:Y.Object.SharedObject.mutable,initialSharedVersion:Y.Object.SharedObject.initialSharedVersion,objectId:Y.Object.SharedObject.objectId}}},type:"object"};if(Y.Pure)return{kind:"Input",index:oe,value:{Pure:Array.from((0,d.fromBase64)(Y.Pure.bytes))},type:"pure"};if(Y.UnresolvedPure)return{kind:"Input",type:"pure",index:oe,value:Y.UnresolvedPure.value};if(Y.UnresolvedObject)return{kind:"Input",type:"object",index:oe,value:Y.UnresolvedObject.objectId};throw new Error("Invalid input")});return{version:1,sender:D.sender??void 0,expiration:D.expiration?.$kind==="Epoch"?{Epoch:Number(D.expiration.Epoch)}:D.expiration?{None:!0}:null,gasConfig:{owner:D.gasData.owner??void 0,budget:D.gasData.budget??void 0,price:D.gasData.price??void 0,payment:D.gasData.payment??void 0},inputs:j,transactions:D.commands.map(Y=>{if(Y.MakeMoveVec)return{kind:"MakeMoveVec",type:Y.MakeMoveVec.type===null?{None:!0}:{Some:y.TypeTagSerializer.parseFromStr(Y.MakeMoveVec.type)},objects:Y.MakeMoveVec.elements.map(oe=>f(oe,j))};if(Y.MergeCoins)return{kind:"MergeCoins",destination:f(Y.MergeCoins.destination,j),sources:Y.MergeCoins.sources.map(oe=>f(oe,j))};if(Y.MoveCall)return{kind:"MoveCall",target:`${Y.MoveCall.package}::${Y.MoveCall.module}::${Y.MoveCall.function}`,typeArguments:Y.MoveCall.typeArguments,arguments:Y.MoveCall.arguments.map(oe=>f(oe,j))};if(Y.Publish)return{kind:"Publish",modules:Y.Publish.modules.map(oe=>Array.from((0,d.fromBase64)(oe))),dependencies:Y.Publish.dependencies};if(Y.SplitCoins)return{kind:"SplitCoins",coin:f(Y.SplitCoins.coin,j),amounts:Y.SplitCoins.amounts.map(oe=>f(oe,j))};if(Y.TransferObjects)return{kind:"TransferObjects",objects:Y.TransferObjects.objects.map(oe=>f(oe,j)),address:f(Y.TransferObjects.address,j)};if(Y.Upgrade)return{kind:"Upgrade",modules:Y.Upgrade.modules.map(oe=>Array.from((0,d.fromBase64)(oe))),dependencies:Y.Upgrade.dependencies,packageId:Y.Upgrade.package,ticket:f(Y.Upgrade.ticket,j)};throw new Error(`Unknown transaction ${Object.keys(Y)}`)})}}function f(D,j){if(D.$kind==="GasCoin")return{kind:"GasCoin"};if(D.$kind==="Result")return{kind:"Result",index:D.Result};if(D.$kind==="NestedResult")return{kind:"NestedResult",index:D.NestedResult[0],resultIndex:D.NestedResult[1]};if(D.$kind==="Input")return j[D.Input];throw new Error(`Invalid argument ${Object.keys(D)}`)}function M(D){return(0,h.parse)(C.TransactionData,{version:2,sender:D.sender??null,expiration:D.expiration?"Epoch"in D.expiration?{Epoch:D.expiration.Epoch}:{None:!0}:null,gasData:{owner:D.gasConfig.owner??null,budget:D.gasConfig.budget?.toString()??null,price:D.gasConfig.price?.toString()??null,payment:D.gasConfig.payment?.map(j=>({digest:j.digest,objectId:j.objectId,version:j.version.toString()}))??null},inputs:D.inputs.map(j=>{if(j.kind==="Input"){if((0,h.is)(A,j.value)){let Y=(0,h.parse)(A,j.value);if(Y.Object){if(Y.Object.ImmOrOwned)return{Object:{ImmOrOwnedObject:{objectId:Y.Object.ImmOrOwned.objectId,version:String(Y.Object.ImmOrOwned.version),digest:Y.Object.ImmOrOwned.digest}}};if(Y.Object.Shared)return{Object:{SharedObject:{mutable:Y.Object.Shared.mutable??null,initialSharedVersion:Y.Object.Shared.initialSharedVersion,objectId:Y.Object.Shared.objectId}}};if(Y.Object.Receiving)return{Object:{Receiving:{digest:Y.Object.Receiving.digest,version:String(Y.Object.Receiving.version),objectId:Y.Object.Receiving.objectId}}};throw new Error("Invalid object input")}return{Pure:{bytes:(0,d.toBase64)(new Uint8Array(Y.Pure))}}}return j.type==="object"?{UnresolvedObject:{objectId:j.value}}:{UnresolvedPure:{value:j.value}}}throw new Error("Invalid input")}),commands:D.transactions.map(j=>{switch(j.kind){case"MakeMoveVec":return{MakeMoveVec:{type:"Some"in j.type?y.TypeTagSerializer.tagToString(j.type.Some):null,elements:j.objects.map(Y=>V(Y))}};case"MergeCoins":return{MergeCoins:{destination:V(j.destination),sources:j.sources.map(Y=>V(Y))}};case"MoveCall":{let[Y,oe,de]=j.target.split("::");return{MoveCall:{package:Y,module:oe,function:de,typeArguments:j.typeArguments,arguments:j.arguments.map(ue=>V(ue))}}}case"Publish":return{Publish:{modules:j.modules.map(Y=>(0,d.toBase64)(Uint8Array.from(Y))),dependencies:j.dependencies}};case"SplitCoins":return{SplitCoins:{coin:V(j.coin),amounts:j.amounts.map(Y=>V(Y))}};case"TransferObjects":return{TransferObjects:{objects:j.objects.map(Y=>V(Y)),address:V(j.address)}};case"Upgrade":return{Upgrade:{modules:j.modules.map(Y=>(0,d.toBase64)(Uint8Array.from(Y))),dependencies:j.dependencies,package:j.packageId,ticket:V(j.ticket)}}}throw new Error(`Unknown transaction ${Object.keys(j)}`)})})}function V(D){switch(D.kind){case"GasCoin":return{GasCoin:!0};case"Result":return{Result:D.index};case"NestedResult":return{NestedResult:[D.index,D.resultIndex]};case"Input":return{Input:D.index}}}}),Nat=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(N,_)=>{for(var L in _)r(N,L,{get:_[L],enumerable:!0})},a=(N,_,L,H)=>{if(_&&typeof _=="object"||typeof _=="function")for(let F of s(_))!i.call(N,F)&&F!==L&&r(N,F,{get:()=>_[F],enumerable:!(H=o(_,F))||H.enumerable});return N},u=N=>a(r({},"__esModule",{value:!0}),N),c={};n(c,{SerializedTransactionDataV2:()=>U}),t.exports=u(c);var d=gb(),h=A2();function y(N){return(0,d.union)(Object.entries(N).map(([_,L])=>(0,d.object)({[_]:L})))}var C=y({GasCoin:(0,d.literal)(!0),Input:(0,d.pipe)((0,d.number)(),(0,d.integer)()),Result:(0,d.pipe)((0,d.number)(),(0,d.integer)()),NestedResult:(0,d.tuple)([(0,d.pipe)((0,d.number)(),(0,d.integer)()),(0,d.pipe)((0,d.number)(),(0,d.integer)())])}),w=(0,d.object)({budget:(0,d.nullable)(h.JsonU64),price:(0,d.nullable)(h.JsonU64),owner:(0,d.nullable)(h.SuiAddress),payment:(0,d.nullable)((0,d.array)(h.ObjectRef))}),T=(0,d.object)({package:h.ObjectID,module:(0,d.string)(),function:(0,d.string)(),typeArguments:(0,d.array)((0,d.string)()),arguments:(0,d.array)(C)}),A=(0,d.object)({name:(0,d.string)(),inputs:(0,d.record)((0,d.string)(),(0,d.union)([C,(0,d.array)(C)])),data:(0,d.record)((0,d.string)(),(0,d.unknown)())}),O=y({MoveCall:T,TransferObjects:(0,d.object)({objects:(0,d.array)(C),address:C}),SplitCoins:(0,d.object)({coin:C,amounts:(0,d.array)(C)}),MergeCoins:(0,d.object)({destination:C,sources:(0,d.array)(C)}),Publish:(0,d.object)({modules:(0,d.array)(h.BCSBytes),dependencies:(0,d.array)(h.ObjectID)}),MakeMoveVec:(0,d.object)({type:(0,d.nullable)((0,d.string)()),elements:(0,d.array)(C)}),Upgrade:(0,d.object)({modules:(0,d.array)(h.BCSBytes),dependencies:(0,d.array)(h.ObjectID),package:h.ObjectID,ticket:C}),$Intent:A}),v=y({ImmOrOwnedObject:h.ObjectRef,SharedObject:(0,d.object)({objectId:h.ObjectID,initialSharedVersion:h.JsonU64,mutable:(0,d.boolean)()}),Receiving:h.ObjectRef}),B=y({Object:v,Pure:(0,d.object)({bytes:h.BCSBytes}),UnresolvedPure:(0,d.object)({value:(0,d.unknown)()}),UnresolvedObject:(0,d.object)({objectId:h.ObjectID,version:(0,d.optional)((0,d.nullable)(h.JsonU64)),digest:(0,d.optional)((0,d.nullable)((0,d.string)())),initialSharedVersion:(0,d.optional)((0,d.nullable)(h.JsonU64))})}),R=y({None:(0,d.literal)(!0),Epoch:h.JsonU64}),U=(0,d.object)({version:(0,d.literal)(2),sender:(0,d.nullish)(h.SuiAddress),expiration:(0,d.nullish)(R),gasData:w,inputs:(0,d.array)(B),commands:(0,d.array)(O)})}),Spe=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(b,k)=>{for(var x in k)r(b,x,{get:k[x],enumerable:!0})},a=(b,k,x,S)=>{if(k&&typeof k=="object"||typeof k=="function")for(let f of s(k))!i.call(b,f)&&f!==x&&r(b,f,{get:()=>k[f],enumerable:!(S=o(k,f))||S.enumerable});return b},u=b=>a(r({},"__esModule",{value:!0}),b),c={};n(c,{getClient:()=>E,resolveTransactionData:()=>B}),t.exports=u(c);var d=gb(),h=lp(),y=Cj(),C=A2(),w=qB(),T=X0e(),A=50,O=1000n,v=5e10;async function B(b,k,x){return await L(b,k),await _(b,k),k.onlyTransactionKind||(await R(b,k),await U(b,k),await N(b,k)),await H(b),await x()}async function R(b,k){b.gasConfig.price||(b.gasConfig.price=String(await E(k).getReferenceGasPrice()))}async function U(b,k){if(b.gasConfig.budget)return;let x=await E(k).dryRunTransactionBlock({transactionBlock:b.build({overrides:{gasData:{budget:String(v),payment:[]}}})});if(x.effects.status.status!=="success")throw new Error(`Dry run failed, could not automatically determine a budget: ${x.effects.status.error}`,{cause:x});let S=O*BigInt(b.gasConfig.price||1n),f=BigInt(x.effects.gasUsed.computationCost)+S,M=f+BigInt(x.effects.gasUsed.storageCost)-BigInt(x.effects.gasUsed.storageRebate);b.gasConfig.budget=String(M>f?M:f)}async function N(b,k){if(!b.gasConfig.payment){let x=(await E(k).getCoins({owner:b.gasConfig.owner||b.sender,coinType:y.SUI_TYPE_ARG})).data.filter(S=>!b.inputs.find(f=>f.Object?.ImmOrOwnedObject?S.coinObjectId===f.Object.ImmOrOwnedObject.objectId:!1)).map(S=>({objectId:S.coinObjectId,digest:S.digest,version:S.version}));if(!x.length)throw new Error("No valid gas coins found for the transaction.");b.gasConfig.payment=x.map(S=>(0,d.parse)(C.ObjectRef,S))}}async function _(b,k){let x=b.inputs.filter(oe=>oe.UnresolvedObject&&!(oe.UnresolvedObject.version||oe.UnresolvedObject?.initialSharedVersion)),S=[...new Set(x.map(oe=>(0,y.normalizeSuiObjectId)(oe.UnresolvedObject.objectId)))],f=S.length?g(S,A):[],M=(await Promise.all(f.map(oe=>E(k).multiGetObjects({ids:oe,options:{showOwner:!0}})))).flat(),V=new Map(S.map((oe,de)=>[oe,M[de]])),D=Array.from(V).filter(([oe,de])=>de.error).map(([oe,de])=>JSON.stringify(de.error));if(D.length)throw new Error(`The following input objects are invalid: ${D.join(", ")}`);let j=M.map(oe=>{if(oe.error||!oe.data)throw new Error(`Failed to fetch object: ${oe.error}`);let de=oe.data.owner,ue=de&&typeof de=="object"&&"Shared"in de?de.Shared.initial_shared_version:null;return{objectId:oe.data.objectId,digest:oe.data.digest,version:oe.data.version,initialSharedVersion:ue}}),Y=new Map(S.map((oe,de)=>[oe,j[de]]));for(let[oe,de]of b.inputs.entries()){if(!de.UnresolvedObject)continue;let ue,ae=(0,y.normalizeSuiAddress)(de.UnresolvedObject.objectId),q=Y.get(ae);de.UnresolvedObject.initialSharedVersion??q?.initialSharedVersion?ue=w.Inputs.SharedObjectRef({objectId:ae,initialSharedVersion:de.UnresolvedObject.initialSharedVersion||q?.initialSharedVersion,mutable:G(b,oe)}):l(b,oe)&&(ue=w.Inputs.ReceivingRef({objectId:ae,digest:de.UnresolvedObject.digest??q?.digest,version:de.UnresolvedObject.version??q?.version})),b.inputs[b.inputs.indexOf(de)]=ue??w.Inputs.ObjectRef({objectId:ae,digest:de.UnresolvedObject.digest??q?.digest,version:de.UnresolvedObject.version??q?.version})}}async function L(b,k){let{inputs:x,commands:S}=b,f=[],M=new Set;S.forEach(D=>{if(D.MoveCall){if(D.MoveCall._argumentTypes)return;if(D.MoveCall.arguments.map(j=>j.$kind==="Input"?b.inputs[j.Input]:null).some(j=>j?.UnresolvedPure||j?.UnresolvedObject)){let j=`${D.MoveCall.package}::${D.MoveCall.module}::${D.MoveCall.function}`;M.add(j),f.push(D.MoveCall)}}switch(D.$kind){case"SplitCoins":D.SplitCoins.amounts.forEach(j=>{F(j,h.bcs.U64,b)});break;case"TransferObjects":F(D.TransferObjects.address,h.bcs.Address,b);break}});let V=new Map;if(M.size>0){let D=E(k);await Promise.all([...M].map(async j=>{let[Y,oe,de]=j.split("::"),ue=await D.getNormalizedMoveFunction({package:Y,module:oe,function:de});V.set(j,ue.parameters.map(ae=>(0,T.normalizedTypeToMoveTypeSignature)(ae)))}))}f.length&&await Promise.all(f.map(async D=>{let j=V.get(`${D.package}::${D.module}::${D.function}`);if(!j)return;let Y=j.length>0&&(0,T.isTxContext)(j.at(-1))?j.slice(0,j.length-1):j;D._argumentTypes=Y})),S.forEach(D=>{if(!D.MoveCall)return;let j=D.MoveCall,Y=`${j.package}::${j.module}::${j.function}`,oe=j._argumentTypes;if(oe){if(oe.length!==D.MoveCall.arguments.length)throw new Error(`Incorrect number of arguments for ${Y}`);oe.forEach((de,ue)=>{let ae=j.arguments[ue];if(ae.$kind!=="Input")return;let q=x[ae.Input];if(!q.UnresolvedPure&&!q.UnresolvedObject)return;let ne=q.UnresolvedPure?.value??q.UnresolvedObject?.objectId,me=(0,T.getPureBcsSchema)(de.body);if(me){ae.type="pure",x[x.indexOf(q)]=w.Inputs.Pure(me.serialize(ne));return}if(typeof ne!="string")throw new Error(`Expect the argument to be an object id string, got ${JSON.stringify(ne,null,2)}`);ae.type="object";let ve=q.UnresolvedPure?{$kind:"UnresolvedObject",UnresolvedObject:{objectId:ne}}:q;x[ae.Input]=ve})}})}function H(b){b.inputs.forEach((k,x)=>{if(k.$kind!=="Object"&&k.$kind!=="Pure")throw new Error(`Input at index ${x} has not been resolved.  Expected a Pure or Object input, but found ${JSON.stringify(k)}`)})}function F(b,k,x){if(b.$kind!=="Input")return;let S=x.inputs[b.Input];S.$kind==="UnresolvedPure"&&(x.inputs[b.Input]=w.Inputs.Pure(k.serialize(S.UnresolvedPure.value)))}function G(b,k){let x=!1;return b.getInputUses(k,(S,f)=>{if(f.MoveCall&&f.MoveCall._argumentTypes){let M=f.MoveCall.arguments.indexOf(S);x=f.MoveCall._argumentTypes[M].ref!=="&"||x}(f.$kind==="MakeMoveVec"||f.$kind==="MergeCoins"||f.$kind==="SplitCoins")&&(x=!0)}),x}function l(b,k){let x=!1;return b.getInputUses(k,(S,f)=>{if(f.MoveCall&&f.MoveCall._argumentTypes){let M=f.MoveCall.arguments.indexOf(S);x=p(f.MoveCall._argumentTypes[M])||x}}),x}function p(b){return typeof b.body!="object"||!("datatype"in b.body)?!1:b.body.datatype.package==="0x2"&&b.body.datatype.module==="transfer"&&b.body.datatype.type==="Receiving"}function E(b){if(!b.client)throw new Error("No sui client passed to Transaction#build, but transaction data was not sufficient to build offline.");return b.client}function g(b,k){return Array.from({length:Math.ceil(b.length/k)},(x,S)=>b.slice(S*k,S*k+k))}}),Ipe=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(h,y)=>{for(var C in y)r(h,C,{get:y[C],enumerable:!0})},a=(h,y,C,w)=>{if(y&&typeof y=="object"||typeof y=="function")for(let T of s(y))!i.call(h,T)&&T!==C&&r(h,T,{get:()=>y[T],enumerable:!(w=o(y,T))||w.enumerable});return h},u=h=>a(r({},"__esModule",{value:!0}),h),c={};n(c,{createObjectMethods:()=>d}),t.exports=u(c);function d(h){function y(C){return h(C)}return y.system=()=>y("0x5"),y.clock=()=>y("0x6"),y.random=()=>y("0x8"),y.denyList=()=>y("0x403"),y}}),Ppe=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(w,T)=>{for(var A in T)r(w,A,{get:T[A],enumerable:!0})},a=(w,T,A,O)=>{if(T&&typeof T=="object"||typeof T=="function")for(let v of s(T))!i.call(w,v)&&v!==A&&r(w,v,{get:()=>T[v],enumerable:!(O=o(T,v))||O.enumerable});return w},u=w=>a(r({},"__esModule",{value:!0}),w),c={};n(c,{createPure:()=>y}),t.exports=u(c);var d=wc(),h=lp();function y(w){function T(A,O){if(typeof A=="string")return w(C(A).serialize(O));if(A instanceof Uint8Array||(0,d.isSerializedBcs)(A))return w(A);throw new Error("tx.pure must be called either a bcs type name, or a serialized bcs value")}return T.u8=A=>w(h.bcs.U8.serialize(A)),T.u16=A=>w(h.bcs.U16.serialize(A)),T.u32=A=>w(h.bcs.U32.serialize(A)),T.u64=A=>w(h.bcs.U64.serialize(A)),T.u128=A=>w(h.bcs.U128.serialize(A)),T.u256=A=>w(h.bcs.U256.serialize(A)),T.bool=A=>w(h.bcs.Bool.serialize(A)),T.string=A=>w(h.bcs.String.serialize(A)),T.address=A=>w(h.bcs.Address.serialize(A)),T.id=T.address,T.vector=(A,O)=>w(h.bcs.vector(C(A)).serialize(O)),T.option=(A,O)=>w(h.bcs.option(C(A)).serialize(O)),T}function C(w){switch(w){case"u8":return h.bcs.u8();case"u16":return h.bcs.u16();case"u32":return h.bcs.u32();case"u64":return h.bcs.u64();case"u128":return h.bcs.u128();case"u256":return h.bcs.u256();case"bool":return h.bcs.bool();case"string":return h.bcs.string();case"id":case"address":return h.bcs.Address}let T=w.match(/^(vector|option)<(.+)>$/);if(T){let[A,O]=T.slice(1);return A==="vector"?h.bcs.vector(C(O)):h.bcs.option(C(O))}throw new Error(`Invalid Pure type name: ${w}`)}}),Gat=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(y,C)=>{for(var w in C)r(y,w,{get:C[w],enumerable:!0})},a=(y,C,w,T)=>{if(C&&typeof C=="object"||typeof C=="function")for(let A of s(C))!i.call(y,A)&&A!==w&&r(y,A,{get:()=>C[A],enumerable:!(T=o(C,A))||T.enumerable});return y},u=y=>a(r({},"__esModule",{value:!0}),y),c={};n(c,{hashTypedData:()=>h}),t.exports=u(c);var d=H0e();function h(y,C){let w=Array.from(`${y}::`).map(A=>A.charCodeAt(0)),T=new Uint8Array(w.length+C.length);return T.set(w),T.set(C,w.length),(0,d.blake2b)(T,{dkLen:32})}}),Dj=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(B,R)=>{for(var U in R)r(B,U,{get:R[U],enumerable:!0})},a=(B,R,U,N)=>{if(R&&typeof R=="object"||typeof R=="function")for(let _ of s(R))!i.call(B,_)&&_!==U&&r(B,_,{get:()=>R[_],enumerable:!(N=o(R,_))||N.enumerable});return B},u=B=>a(r({},"__esModule",{value:!0}),B),c={};n(c,{TransactionDataBuilder:()=>v}),t.exports=u(c);var d=wc(),h=gb(),y=lp(),C=Il(),w=A2(),T=wpe(),A=Gat();function O(B){return(0,C.normalizeSuiAddress)(B).replace("0x","")}var v=class fc{constructor(R){this.version=2,this.sender=R?.sender??null,this.expiration=R?.expiration??null,this.inputs=R?.inputs??[],this.commands=R?.commands??[],this.gasData=R?.gasData??{budget:null,price:null,owner:null,payment:null}}static fromKindBytes(R){let U=y.bcs.TransactionKind.parse(R).ProgrammableTransaction;if(!U)throw new Error("Unable to deserialize from bytes.");return fc.restore({version:2,sender:null,expiration:null,gasData:{budget:null,owner:null,payment:null,price:null},inputs:U.inputs,commands:U.commands})}static fromBytes(R){let U=y.bcs.TransactionData.parse(R)?.V1,N=U.kind.ProgrammableTransaction;if(!U||!N)throw new Error("Unable to deserialize from bytes.");return fc.restore({version:2,sender:U.sender,expiration:U.expiration,gasData:U.gasData,inputs:N.inputs,commands:N.commands})}static restore(R){return R.version===2?new fc((0,h.parse)(w.TransactionData,R)):new fc((0,h.parse)(w.TransactionData,(0,T.transactionDataFromV1)(R)))}static getDigestFromBytes(R){let U=(0,A.hashTypedData)("TransactionData",R);return(0,d.toBase58)(U)}get gasConfig(){return this.gasData}set gasConfig(R){this.gasData=R}build({maxSizeBytes:R=1/0,overrides:U,onlyTransactionKind:N}={}){let _=this.inputs,L=this.commands,H={ProgrammableTransaction:{inputs:_,commands:L}};if(N)return y.bcs.TransactionKind.serialize(H,{maxSize:R}).toBytes();let F=U?.expiration??this.expiration,G=U?.sender??this.sender,l={...this.gasData,...U?.gasConfig,...U?.gasData};if(!G)throw new Error("Missing transaction sender");if(!l.budget)throw new Error("Missing gas budget");if(!l.payment)throw new Error("Missing gas payment");if(!l.price)throw new Error("Missing gas price");let p={sender:O(G),expiration:F||{None:!0},gasData:{payment:l.payment,owner:O(this.gasData.owner??G),price:BigInt(l.price),budget:BigInt(l.budget)},kind:{ProgrammableTransaction:{inputs:_,commands:L}}};return y.bcs.TransactionData.serialize({V1:p},{maxSize:R}).toBytes()}addInput(R,U){let N=this.inputs.length;return this.inputs.push(U),{Input:N,type:R,$kind:"Input"}}getInputUses(R,U){this.mapArguments((N,_)=>(N.$kind==="Input"&&N.Input===R&&U(N,_),N))}mapArguments(R){for(let U of this.commands)switch(U.$kind){case"MoveCall":U.MoveCall.arguments=U.MoveCall.arguments.map(_=>R(_,U));break;case"TransferObjects":U.TransferObjects.objects=U.TransferObjects.objects.map(_=>R(_,U)),U.TransferObjects.address=R(U.TransferObjects.address,U);break;case"SplitCoins":U.SplitCoins.coin=R(U.SplitCoins.coin,U),U.SplitCoins.amounts=U.SplitCoins.amounts.map(_=>R(_,U));break;case"MergeCoins":U.MergeCoins.destination=R(U.MergeCoins.destination,U),U.MergeCoins.sources=U.MergeCoins.sources.map(_=>R(_,U));break;case"MakeMoveVec":U.MakeMoveVec.elements=U.MakeMoveVec.elements.map(_=>R(_,U));break;case"Upgrade":U.Upgrade.ticket=R(U.Upgrade.ticket,U);break;case"$Intent":let N=U.$Intent.inputs;U.$Intent.inputs={};for(let[_,L]of Object.entries(N))U.$Intent.inputs[_]=Array.isArray(L)?L.map(H=>R(H,U)):R(L,U);break;case"Publish":break;default:throw new Error(`Unexpected transaction kind: ${U.$kind}`)}}replaceCommand(R,U){if(!Array.isArray(U)){this.commands[R]=U;return}let N=U.length-1;this.commands.splice(R,1,...U),N!==0&&this.mapArguments(_=>{switch(_.$kind){case"Result":_.Result>R&&(_.Result+=N);break;case"NestedResult":_.NestedResult[0]>R&&(_.NestedResult[0]+=N);break}return _})}getDigest(){let R=this.build({onlyTransactionKind:!1});return fc.getDigestFromBytes(R)}snapshot(){return(0,h.parse)(w.TransactionData,this)}}}),ect=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(T,A)=>{for(var O in A)r(T,O,{get:A[O],enumerable:!0})},a=(T,A,O,v)=>{if(A&&typeof A=="object"||typeof A=="function")for(let B of s(A))!i.call(T,B)&&B!==O&&r(T,B,{get:()=>A[B],enumerable:!(v=o(A,B))||v.enumerable});return T},u=T=>a(r({},"__esModule",{value:!0}),T),c={};n(c,{extractMutableReference:()=>h,extractReference:()=>y,extractStructTag:()=>C,getIdFromCallArg:()=>w}),t.exports=u(c);var d=Il();function h(T){return typeof T=="object"&&"MutableReference"in T?T.MutableReference:void 0}function y(T){return typeof T=="object"&&"Reference"in T?T.Reference:void 0}function C(T){if(typeof T=="object"&&"Struct"in T)return T;let A=y(T),O=h(T);if(typeof A=="object"&&"Struct"in A)return A;if(typeof O=="object"&&"Struct"in O)return O}function w(T){if(typeof T=="string")return(0,d.normalizeSuiAddress)(T);if(T.Object)return T.Object.ImmOrOwnedObject?(0,d.normalizeSuiAddress)(T.Object.ImmOrOwnedObject.objectId):T.Object.Receiving?(0,d.normalizeSuiAddress)(T.Object.Receiving.objectId):(0,d.normalizeSuiAddress)(T.Object.SharedObject.objectId);if(T.UnresolvedObject)return(0,d.normalizeSuiAddress)(T.UnresolvedObject.objectId)}}),ak=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=q=>{throw TypeError(q)},a=(q,ne)=>{for(var me in ne)r(q,me,{get:ne[me],enumerable:!0})},u=(q,ne,me,ve)=>{if(ne&&typeof ne=="object"||typeof ne=="function")for(let ge of s(ne))!i.call(q,ge)&&ge!==me&&r(q,ge,{get:()=>ne[ge],enumerable:!(ve=o(ne,ge))||ve.enumerable});return q},c=q=>u(r({},"__esModule",{value:!0}),q),d=(q,ne,me)=>ne.has(q)||n("Cannot "+me),h=(q,ne,me)=>(d(q,ne,"read from private field"),me?me.call(q):ne.get(q)),y=(q,ne,me)=>ne.has(q)?n("Cannot add the same private member more than once"):ne instanceof WeakSet?ne.add(q):ne.set(q,me),C=(q,ne,me,ve)=>(d(q,ne,"write to private field"),ve?ve.call(q,me):ne.set(q,me),me),w=(q,ne,me)=>(d(q,ne,"access private method"),me),T={};a(T,{Transaction:()=>ae,isTransaction:()=>j}),t.exports=c(T);var A=wc(),O=gb(),v=Il(),B=Mj(),R=A2(),U=wpe(),N=Nat(),_=qB(),L=Spe(),H=Ipe(),F=Ppe(),G=Dj(),l=ect(),p,E,g,b,k,x,S,f,M;function V(q){let ne={$kind:"Result",Result:q},me=[],ve=ge=>me[ge]??(me[ge]={$kind:"NestedResult",NestedResult:[q,ge]});return new Proxy(ne,{set(){throw new Error("The transaction result is a proxy, and does not support setting properties directly")},get(ge,ce){if(ce in ge)return Reflect.get(ge,ce);if(ce===Symbol.iterator)return function*(){let fe=0;for(;;)yield ve(fe),fe++};if(typeof ce=="symbol")return;let ee=parseInt(ce,10);if(!(Number.isNaN(ee)||ee<0))return ve(ee)}})}var D=Symbol.for("@mysten/transaction");function j(q){return!!q&&typeof q=="object"&&q[D]===!0}var Y={buildPlugins:new Map,serializationPlugins:new Map},oe=Symbol.for("@mysten/transaction/registry");function de(){try{let q=globalThis;return q[oe]||(q[oe]=Y),q[oe]}catch{return Y}}var ue=class tf{constructor(){y(this,k),y(this,p),y(this,E),y(this,g,new Map),y(this,b),this.object=(0,H.createObjectMethods)(me=>{if(typeof me=="function")return this.object(me(this));if(typeof me=="object"&&(0,O.is)(R.Argument,me))return me;let ve=(0,l.getIdFromCallArg)(me),ge=h(this,b).inputs.find(ce=>ve===(0,l.getIdFromCallArg)(ce));return ge?.Object?.SharedObject&&typeof me=="object"&&me.Object?.SharedObject&&(ge.Object.SharedObject.mutable=ge.Object.SharedObject.mutable||me.Object.SharedObject.mutable),ge?{$kind:"Input",Input:h(this,b).inputs.indexOf(ge),type:"object"}:h(this,b).addInput("object",typeof me=="string"?{$kind:"UnresolvedObject",UnresolvedObject:{objectId:(0,v.normalizeSuiAddress)(me)}}:me)});let ne=de();C(this,b,new G.TransactionDataBuilder),C(this,E,[...ne.buildPlugins.values()]),C(this,p,[...ne.serializationPlugins.values()])}static fromKind(ne){let me=new tf;return C(me,b,G.TransactionDataBuilder.fromKindBytes(typeof ne=="string"?(0,A.fromBase64)(ne):ne)),me}static from(ne){let me=new tf;return j(ne)?C(me,b,new G.TransactionDataBuilder(ne.getData())):typeof ne!="string"||!ne.startsWith("{")?C(me,b,G.TransactionDataBuilder.fromBytes(typeof ne=="string"?(0,A.fromBase64)(ne):ne)):C(me,b,G.TransactionDataBuilder.restore(JSON.parse(ne))),me}static registerGlobalSerializationPlugin(ne,me){de().serializationPlugins.set(ne,me??ne)}static unregisterGlobalSerializationPlugin(ne){de().serializationPlugins.delete(ne)}static registerGlobalBuildPlugin(ne,me){de().buildPlugins.set(ne,me??ne)}static unregisterGlobalBuildPlugin(ne){de().buildPlugins.delete(ne)}addSerializationPlugin(ne){h(this,p).push(ne)}addBuildPlugin(ne){h(this,E).push(ne)}addIntentResolver(ne,me){if(h(this,g).has(ne)&&h(this,g).get(ne)!==me)throw new Error(`Intent resolver for ${ne} already exists`);h(this,g).set(ne,me)}setSender(ne){h(this,b).sender=ne}setSenderIfNotSet(ne){h(this,b).sender||(h(this,b).sender=ne)}setExpiration(ne){h(this,b).expiration=ne?(0,O.parse)(R.TransactionExpiration,ne):null}setGasPrice(ne){h(this,b).gasConfig.price=String(ne)}setGasBudget(ne){h(this,b).gasConfig.budget=String(ne)}setGasBudgetIfNotSet(ne){h(this,b).gasData.budget==null&&(h(this,b).gasConfig.budget=String(ne))}setGasOwner(ne){h(this,b).gasConfig.owner=ne}setGasPayment(ne){h(this,b).gasConfig.payment=ne.map(me=>(0,O.parse)(R.ObjectRef,me))}get blockData(){return(0,U.serializeV1TransactionData)(h(this,b).snapshot())}getData(){return h(this,b).snapshot()}get[D](){return!0}get pure(){return Object.defineProperty(this,"pure",{enumerable:!1,value:(0,F.createPure)(ne=>(0,A.isSerializedBcs)(ne)?h(this,b).addInput("pure",{$kind:"Pure",Pure:{bytes:ne.toBase64()}}):h(this,b).addInput("pure",(0,O.is)(R.NormalizedCallArg,ne)?(0,O.parse)(R.NormalizedCallArg,ne):ne instanceof Uint8Array?_.Inputs.Pure(ne):{$kind:"UnresolvedPure",UnresolvedPure:{value:ne}}))}),this.pure}get gas(){return{$kind:"GasCoin",GasCoin:!0}}objectRef(...ne){return this.object(_.Inputs.ObjectRef(...ne))}receivingRef(...ne){return this.object(_.Inputs.ReceivingRef(...ne))}sharedObjectRef(...ne){return this.object(_.Inputs.SharedObjectRef(...ne))}add(ne){if(typeof ne=="function")return ne(this);let me=h(this,b).commands.push(ne);return V(me-1)}splitCoins(ne,me){return this.add(B.Commands.SplitCoins(typeof ne=="string"?this.object(ne):w(this,k,S).call(this,ne),me.map(ve=>typeof ve=="number"||typeof ve=="bigint"||typeof ve=="string"?this.pure.u64(ve):w(this,k,x).call(this,ve))))}mergeCoins(ne,me){return this.add(B.Commands.MergeCoins(this.object(ne),me.map(ve=>this.object(ve))))}publish({modules:ne,dependencies:me}){return this.add(B.Commands.Publish({modules:ne,dependencies:me}))}upgrade({modules:ne,dependencies:me,package:ve,ticket:ge}){return this.add(B.Commands.Upgrade({modules:ne,dependencies:me,package:ve,ticket:this.object(ge)}))}moveCall({arguments:ne,...me}){return this.add(B.Commands.MoveCall({...me,arguments:ne?.map(ve=>w(this,k,x).call(this,ve))}))}transferObjects(ne,me){return this.add(B.Commands.TransferObjects(ne.map(ve=>this.object(ve)),typeof me=="string"?this.pure.address(me):w(this,k,x).call(this,me)))}makeMoveVec({type:ne,elements:me}){return this.add(B.Commands.MakeMoveVec({type:ne,elements:me.map(ve=>this.object(ve))}))}serialize(){return JSON.stringify((0,U.serializeV1TransactionData)(h(this,b).snapshot()))}async toJSON(ne={}){return await this.prepareForSerialization(ne),JSON.stringify((0,O.parse)(N.SerializedTransactionDataV2,h(this,b).snapshot()),(me,ve)=>typeof ve=="bigint"?ve.toString():ve,2)}async sign(ne){let{signer:me,...ve}=ne,ge=await this.build(ve);return me.signTransaction(ge)}async build(ne={}){return await this.prepareForSerialization(ne),await w(this,k,f).call(this,ne),h(this,b).build({onlyTransactionKind:ne.onlyTransactionKind})}async getDigest(ne={}){return await w(this,k,f).call(this,ne),h(this,b).getDigest()}async prepareForSerialization(ne){let me=new Set;for(let ge of h(this,b).commands)ge.$Intent&&me.add(ge.$Intent.name);let ve=[...h(this,p)];for(let ge of me)if(!ne.supportedIntents?.includes(ge)){if(!h(this,g).has(ge))throw new Error(`Missing intent resolver for ${ge}`);ve.push(h(this,g).get(ge))}await w(this,k,M).call(this,ve,ne)}};p=new WeakMap,E=new WeakMap,g=new WeakMap,b=new WeakMap,k=new WeakSet,x=function(q){return(0,A.isSerializedBcs)(q)?this.pure(q):w(this,k,S).call(this,q)},S=function(q){return typeof q=="function"?(0,O.parse)(R.Argument,q(this)):(0,O.parse)(R.Argument,q)},f=async function(q){if(!q.onlyTransactionKind&&!h(this,b).sender)throw new Error("Missing transaction sender");await w(this,k,M).call(this,[...h(this,E),L.resolveTransactionData],q)},M=async function(q,ne){let me=ve=>{if(ve>=q.length)return()=>{};let ge=q[ve];return async()=>{let ce=me(ve+1),ee=!1,fe=!1;if(await ge(h(this,b),ne,async()=>{if(ee)throw new Error(`next() was call multiple times in TransactionPlugin ${ve}`);ee=!0,await ce(),fe=!0}),!ee)throw new Error(`next() was not called in TransactionPlugin ${ve}`);if(!fe)throw new Error(`next() was not awaited in TransactionPlugin ${ve}`)}};await me(0)()};var ae=ue}),Gpe=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=U=>{throw TypeError(U)},a=(U,N)=>{for(var _ in N)r(U,_,{get:N[_],enumerable:!0})},u=(U,N,_,L)=>{if(N&&typeof N=="object"||typeof N=="function")for(let H of s(N))!i.call(U,H)&&H!==_&&r(U,H,{get:()=>N[H],enumerable:!(L=o(N,H))||L.enumerable});return U},c=U=>u(r({},"__esModule",{value:!0}),U),d=(U,N,_)=>N.has(U)||n("Cannot "+_),h=(U,N,_)=>(d(U,N,"read from private field"),_?_.call(U):N.get(U)),y=(U,N,_)=>N.has(U)?n("Cannot add the same private member more than once"):N instanceof WeakSet?N.add(U):N.set(U,_),C=(U,N,_,L)=>(d(U,N,"write to private field"),L?L.call(U,_):N.set(U,_),_),w={};a(w,{AsyncCache:()=>v,InMemoryCache:()=>B,ObjectCache:()=>R}),t.exports=c(w);var T=Il(),A,O,v=class{async getObject(U){let[N,_]=await Promise.all([this.get("OwnedObject",U),this.get("SharedOrImmutableObject",U)]);return N??_??null}async getObjects(U){return Promise.all([...U.map(N=>this.getObject(N))])}async addObject(U){return U.owner?await this.set("OwnedObject",U.objectId,U):await this.set("SharedOrImmutableObject",U.objectId,U),U}async addObjects(U){await Promise.all(U.map(async N=>this.addObject(N)))}async deleteObject(U){await Promise.all([this.delete("OwnedObject",U),this.delete("SharedOrImmutableObject",U)])}async deleteObjects(U){await Promise.all(U.map(N=>this.deleteObject(N)))}async getMoveFunctionDefinition(U){let N=`${(0,T.normalizeSuiAddress)(U.package)}::${U.module}::${U.function}`;return this.get("MoveFunction",N)}async addMoveFunctionDefinition(U){let N=(0,T.normalizeSuiAddress)(U.package),_=`${N}::${U.module}::${U.function}`,L={...U,package:N};return await this.set("MoveFunction",_,L),L}async deleteMoveFunctionDefinition(U){let N=`${(0,T.normalizeSuiAddress)(U.package)}::${U.module}::${U.function}`;await this.delete("MoveFunction",N)}async getCustom(U){return this.get("Custom",U)}async setCustom(U,N){return this.set("Custom",U,N)}async deleteCustom(U){return this.delete("Custom",U)}},B=class extends v{constructor(){super(...arguments),y(this,A,{OwnedObject:new Map,SharedOrImmutableObject:new Map,MoveFunction:new Map,Custom:new Map})}async get(U,N){return h(this,A)[U].get(N)??null}async set(U,N,_){h(this,A)[U].set(N,_)}async delete(U,N){h(this,A)[U].delete(N)}async clear(U){if(U)h(this,A)[U].clear();else for(let N of Object.values(h(this,A)))N.clear()}};A=new WeakMap;var R=class{constructor({cache:U=new B}){y(this,O),C(this,O,U)}asPlugin(){return async(U,N,_)=>{let L=U.inputs.filter(G=>G.UnresolvedObject).map(G=>G.UnresolvedObject.objectId),H=(await h(this,O).getObjects(L)).filter(G=>G!==null),F=new Map(H.map(G=>[G.objectId,G]));for(let G of U.inputs){if(!G.UnresolvedObject)continue;let l=F.get(G.UnresolvedObject.objectId);l&&(l.initialSharedVersion&&!G.UnresolvedObject.initialSharedVersion?G.UnresolvedObject.initialSharedVersion=l.initialSharedVersion:(l.version&&!G.UnresolvedObject.version&&(G.UnresolvedObject.version=l.version),l.digest&&!G.UnresolvedObject.digest&&(G.UnresolvedObject.digest=l.digest)))}await Promise.all(U.commands.map(async G=>{if(G.MoveCall){let l=await this.getMoveFunctionDefinition({package:G.MoveCall.package,module:G.MoveCall.module,function:G.MoveCall.function});l&&(G.MoveCall._argumentTypes=l.parameters)}})),await _(),await Promise.all(U.commands.map(async G=>{G.MoveCall?._argumentTypes&&await h(this,O).addMoveFunctionDefinition({package:G.MoveCall.package,module:G.MoveCall.module,function:G.MoveCall.function,parameters:G.MoveCall._argumentTypes})}))}}async clear(){await h(this,O).clear()}async getMoveFunctionDefinition(U){return h(this,O).getMoveFunctionDefinition(U)}async getObjects(U){return h(this,O).getObjects(U)}async deleteObjects(U){return h(this,O).deleteObjects(U)}async clearOwnedObjects(){await h(this,O).clear("OwnedObject")}async clearCustom(){await h(this,O).clear("Custom")}async getCustom(U){return h(this,O).getCustom(U)}async setCustom(U,N){return h(this,O).setCustom(U,N)}async deleteCustom(U){return h(this,O).deleteCustom(U)}async applyEffects(U){if(!U.V2)throw new Error(`Unsupported transaction effects version ${U.$kind}`);let{lamportVersion:N,changedObjects:_}=U.V2,L=[],H=[];_.map(async([F,G])=>{if(G.outputState.NotExist)await h(this,O).deleteObject(F);else if(G.outputState.ObjectWrite){let[l,p]=G.outputState.ObjectWrite;H.push({objectId:F,digest:l,version:N,owner:p.AddressOwner??p.ObjectOwner??null,initialSharedVersion:p.Shared?.initialSharedVersion??null})}}),await Promise.all([h(this,O).addObjects(H),h(this,O).deleteObjects(L)])}};O=new WeakMap}),Ype=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=U=>{throw TypeError(U)},a=(U,N)=>{for(var _ in N)r(U,_,{get:N[_],enumerable:!0})},u=(U,N,_,L)=>{if(N&&typeof N=="object"||typeof N=="function")for(let H of s(N))!i.call(U,H)&&H!==_&&r(U,H,{get:()=>N[H],enumerable:!(L=o(N,H))||L.enumerable});return U},c=U=>u(r({},"__esModule",{value:!0}),U),d=(U,N,_)=>N.has(U)||n("Cannot "+_),h=(U,N,_)=>(d(U,N,"read from private field"),_?_.call(U):N.get(U)),y=(U,N,_)=>N.has(U)?n("Cannot add the same private member more than once"):N instanceof WeakSet?N.add(U):N.set(U,_),C=(U,N,_,L)=>(d(U,N,"write to private field"),L?L.call(U,_):N.set(U,_),_),w={};a(w,{CachingTransactionExecutor:()=>R}),t.exports=c(w);var T=lp(),A=Gpe(),O=ak(),v,B,R=class{constructor({client:U,...N}){y(this,v),y(this,B,null),C(this,v,U),this.cache=new A.ObjectCache(N)}async reset(){await Promise.all([this.cache.clearOwnedObjects(),this.cache.clearCustom(),this.waitForLastTransaction()])}async buildTransaction({transaction:U,...N}){return U.addBuildPlugin(this.cache.asPlugin()),U.build({client:h(this,v),...N})}async executeTransaction({transaction:U,options:N,..._}){let L=(0,O.isTransaction)(U)?await this.buildTransaction({transaction:U}):U,H=await h(this,v).executeTransactionBlock({..._,transactionBlock:L,options:{...N,showRawEffects:!0}});if(H.rawEffects){let F=T.bcs.TransactionEffects.parse(Uint8Array.from(H.rawEffects));await this.applyEffects(F)}return H}async signAndExecuteTransaction({options:U,transaction:N,..._}){N.setSenderIfNotSet(_.signer.toSuiAddress());let L=await this.buildTransaction({transaction:N}),{signature:H}=await _.signer.signTransaction(L);return await this.executeTransaction({transaction:L,signature:H,options:U})}async applyEffects(U){C(this,B,U.V2?.transactionDigest??null),await this.cache.applyEffects(U)}async waitForLastTransaction(){h(this,B)&&(await h(this,v).waitForTransaction({digest:h(this,B)}),C(this,B,null))}};v=new WeakMap,B=new WeakMap}),ege=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=v=>{throw TypeError(v)},a=(v,B)=>{for(var R in B)r(v,R,{get:B[R],enumerable:!0})},u=(v,B,R,U)=>{if(B&&typeof B=="object"||typeof B=="function")for(let N of s(B))!i.call(v,N)&&N!==R&&r(v,N,{get:()=>B[N],enumerable:!(U=o(B,N))||U.enumerable});return v},c=v=>u(r({},"__esModule",{value:!0}),v),d=(v,B,R)=>B.has(v)||n("Cannot "+R),h=(v,B,R)=>(d(v,B,"read from private field"),R?R.call(v):B.get(v)),y=(v,B,R)=>B.has(v)?n("Cannot add the same private member more than once"):B instanceof WeakSet?B.add(v):B.set(v,R),C={};a(C,{ParallelQueue:()=>O,SerialQueue:()=>A}),t.exports=c(C);var w,T,A=class{constructor(){y(this,w,[])}async runTask(v){return new Promise((B,R)=>{h(this,w).push(()=>{v().finally(()=>{h(this,w).shift(),h(this,w).length>0&&h(this,w)[0]()}).then(B,R)}),h(this,w).length===1&&h(this,w)[0]()})}};w=new WeakMap;var O=class{constructor(v){y(this,T,[]),this.activeTasks=0,this.maxTasks=v}runTask(v){return new Promise((B,R)=>{this.activeTasks<this.maxTasks?(this.activeTasks++,v().finally(()=>{h(this,T).length>0?h(this,T).shift()():this.activeTasks--}).then(B,R)):h(this,T).push(()=>{v().finally(()=>{h(this,T).length>0?h(this,T).shift()():this.activeTasks--}).then(B,R)})})}};T=new WeakMap}),oge=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=l=>{throw TypeError(l)},a=(l,p)=>{for(var E in p)r(l,E,{get:p[E],enumerable:!0})},u=(l,p,E,g)=>{if(p&&typeof p=="object"||typeof p=="function")for(let b of s(p))!i.call(l,b)&&b!==E&&r(l,b,{get:()=>p[b],enumerable:!(g=o(p,b))||g.enumerable});return l},c=l=>u(r({},"__esModule",{value:!0}),l),d=(l,p,E)=>p.has(l)||n("Cannot "+E),h=(l,p,E)=>(d(l,p,"read from private field"),E?E.call(l):p.get(l)),y=(l,p,E)=>p.has(l)?n("Cannot add the same private member more than once"):p instanceof WeakSet?p.add(l):p.set(l,E),C=(l,p,E,g)=>(d(l,p,"write to private field"),g?g.call(l,E):p.set(l,E),E),w={};a(w,{SerialTransactionExecutor:()=>F,getGasCoinFromEffects:()=>G}),t.exports=c(w);var T=wc(),A=lp(),O=ak(),v=Ype(),B=ege(),R,U,N,_,L,H,F=class{constructor({signer:l,defaultGasBudget:p=50000000n,...E}){y(this,R,new B.SerialQueue),y(this,U),y(this,N),y(this,_),y(this,L,async g=>{if(!g.V2)return;let b=G(g).ref;b?h(this,N).cache.setCustom("gasCoin",b):h(this,N).cache.deleteCustom("gasCoin")}),y(this,H,async g=>{let b=await h(this,N).cache.getCustom("gasCoin"),k=O.Transaction.from(g);return b&&k.setGasPayment([b]),k.setGasBudgetIfNotSet(h(this,_)),k.setSenderIfNotSet(h(this,U).toSuiAddress()),h(this,N).buildTransaction({transaction:k})}),C(this,U,l),C(this,_,p),C(this,N,new v.CachingTransactionExecutor({client:E.client,cache:E.cache}))}async applyEffects(l){return Promise.all([h(this,L).call(this,l),h(this,N).cache.applyEffects(l)])}async buildTransaction(l){return h(this,R).runTask(()=>h(this,H).call(this,l))}resetCache(){return h(this,N).reset()}waitForLastTransaction(){return h(this,N).waitForLastTransaction()}executeTransaction(l,p){return h(this,R).runTask(async()=>{let E=(0,O.isTransaction)(l)?await h(this,H).call(this,l):l,{signature:g}=await h(this,U).signTransaction(E),b=await h(this,N).executeTransaction({signature:g,transaction:E,options:p}).catch(async S=>{throw await this.resetCache(),S}),k=Uint8Array.from(b.rawEffects),x=A.bcs.TransactionEffects.parse(k);return await this.applyEffects(x),{digest:b.digest,effects:(0,T.toBase64)(k),data:b}})}};R=new WeakMap,U=new WeakMap,N=new WeakMap,_=new WeakMap,L=new WeakMap,H=new WeakMap;function G(l){if(!l.V2)throw new Error("Unexpected effects version");let p=l.V2.changedObjects[l.V2.gasObjectIndex];if(!p)throw new Error("Gas object not found in effects");let[E,{outputState:g}]=p;if(!g.ObjectWrite)throw new Error("Unexpected gas object state");let[b,k]=g.ObjectWrite;return{ref:{objectId:E,digest:b,version:l.V2.lamportVersion},owner:k.AddressOwner||k.ObjectOwner}}}),Wct=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=fe=>{throw TypeError(fe)},a=(fe,ie)=>{for(var re in ie)r(fe,re,{get:ie[re],enumerable:!0})},u=(fe,ie,re,Oe)=>{if(ie&&typeof ie=="object"||typeof ie=="function")for(let Pe of s(ie))!i.call(fe,Pe)&&Pe!==re&&r(fe,Pe,{get:()=>ie[Pe],enumerable:!(Oe=o(ie,Pe))||Oe.enumerable});return fe},c=fe=>u(r({},"__esModule",{value:!0}),fe),d=(fe,ie,re)=>ie.has(fe)||n("Cannot "+re),h=(fe,ie,re)=>(d(fe,ie,"read from private field"),re?re.call(fe):ie.get(fe)),y=(fe,ie,re)=>ie.has(fe)?n("Cannot add the same private member more than once"):ie instanceof WeakSet?ie.add(fe):ie.set(fe,re),C=(fe,ie,re,Oe)=>(d(fe,ie,"write to private field"),Oe?Oe.call(fe,re):ie.set(fe,re),re),w=(fe,ie,re)=>(d(fe,ie,"access private method"),re),T=(fe,ie,re,Oe)=>({set _(Pe){C(fe,ie,Pe,re)},get _(){return h(fe,ie,Oe)}}),A={};a(A,{ParallelTransactionExecutor:()=>ce}),t.exports=c(A);var O=wc(),v=lp(),B=ak(),R=Dj(),U=Ype(),N=ege(),_=oge(),L,H,F,G,l,p,E,g,b,k,x,S,f,M,V,D,j,Y,oe,de,ue,ae,q,ne,me,ve,ge={coinBatchSize:20,initialCoinBalance:200000000n,minimumCoinBalance:50000000n,maxPoolSize:50,epochBoundaryWindow:1e3},ce=class{constructor(fe){y(this,oe),y(this,L),y(this,H),y(this,F),y(this,G),y(this,l),y(this,p),y(this,E),y(this,g),y(this,b),y(this,k,[]),y(this,x),y(this,S,new Map),y(this,f,new N.SerialQueue),y(this,M),y(this,V,null),y(this,D,null),y(this,j,0),y(this,Y,null),C(this,L,fe.signer),C(this,H,fe.client),C(this,F,fe.coinBatchSize??ge.coinBatchSize),C(this,G,fe.initialCoinBalance??ge.initialCoinBalance),C(this,l,fe.minimumCoinBalance??ge.minimumCoinBalance),C(this,E,fe.defaultGasBudget??h(this,l)),C(this,p,fe.epochBoundaryWindow??ge.epochBoundaryWindow),C(this,g,fe.maxPoolSize??ge.maxPoolSize),C(this,x,new U.CachingTransactionExecutor({client:fe.client,cache:fe.cache})),C(this,M,new N.ParallelQueue(h(this,g))),C(this,b,fe.sourceCoins?new Map(fe.sourceCoins.map(ie=>[ie,null])):null)}resetCache(){return C(this,Y,null),w(this,oe,ae).call(this,()=>h(this,x).reset())}async waitForLastTransaction(){await w(this,oe,ae).call(this,()=>w(this,oe,q).call(this))}async executeTransaction(fe,ie){let{promise:re,resolve:Oe,reject:Pe}=ee(),Ne=await w(this,oe,de).call(this,fe),Xe=()=>{h(this,M).runTask(()=>w(this,oe,ue).call(this,fe,Ne,ie).then(Oe,Pe))},Je=new Set;return Ne.forEach(ft=>{h(this,S).get(ft)?(Je.add(ft),h(this,S).get(ft).push(()=>{Je.delete(ft),Je.size===0&&Xe()})):h(this,S).set(ft,[])}),Je.size===0&&Xe(),re}};L=new WeakMap,H=new WeakMap,F=new WeakMap,G=new WeakMap,l=new WeakMap,p=new WeakMap,E=new WeakMap,g=new WeakMap,b=new WeakMap,k=new WeakMap,x=new WeakMap,S=new WeakMap,f=new WeakMap,M=new WeakMap,V=new WeakMap,D=new WeakMap,j=new WeakMap,Y=new WeakMap,oe=new WeakSet,de=async function(fe){let ie=new Set,re=!1;return fe.addSerializationPlugin(async(Oe,Pe,Ne)=>{await Ne(),!re&&(re=!0,Oe.inputs.forEach(Xe=>{Xe.Object?.ImmOrOwnedObject?.objectId?ie.add(Xe.Object.ImmOrOwnedObject.objectId):Xe.Object?.Receiving?.objectId?ie.add(Xe.Object.Receiving.objectId):Xe.UnresolvedObject?.objectId&&!Xe.UnresolvedObject.initialSharedVersion&&ie.add(Xe.UnresolvedObject.objectId)}))}),await fe.prepareForSerialization({client:h(this,H)}),ie},ue=async function(fe,ie,re){let Oe;try{fe.setSenderIfNotSet(h(this,L).toSuiAddress()),await h(this,f).runTask(async()=>{fe.getData().gasData.price||fe.setGasPrice(await w(this,oe,me).call(this)),fe.setGasBudgetIfNotSet(h(this,E)),await w(this,oe,ae).call(this),Oe=await w(this,oe,ne).call(this),T(this,j)._++,fe.setGasPayment([{objectId:Oe.id,version:Oe.version,digest:Oe.digest}]),await h(this,x).buildTransaction({transaction:fe,onlyTransactionKind:!0})});let Pe=await fe.build({client:h(this,H)}),{signature:Ne}=await h(this,L).signTransaction(Pe),Xe=await h(this,x).executeTransaction({transaction:Pe,signature:Ne,options:{...re,showEffects:!0}}),Je=Uint8Array.from(Xe.rawEffects),ft=v.bcs.TransactionEffects.parse(Je),Kt=(0,_.getGasCoinFromEffects)(ft),wt=ft.V2?.gasUsed;if(Oe&&wt&&Kt.owner===h(this,L).toSuiAddress()){let Ie=BigInt(wt.computationCost)+BigInt(wt.storageCost)+BigInt(wt.storageCost)-BigInt(wt.storageRebate),it=!1;new R.TransactionDataBuilder(fe.getData()).mapArguments(Ye=>(Ye.$kind==="GasCoin"&&(it=!0),Ye)),!it&&Oe.balance>=h(this,l)?h(this,k).push({id:Kt.ref.objectId,version:Kt.ref.version,digest:Kt.ref.digest,balance:Oe.balance-Ie}):(h(this,b)||C(this,b,new Map),h(this,b).set(Kt.ref.objectId,Kt.ref))}return C(this,V,Xe.digest),{digest:Xe.digest,effects:(0,O.toBase64)(Je),data:Xe}}catch(Pe){throw Oe&&(h(this,b)||C(this,b,new Map),h(this,b).set(Oe.id,null)),await w(this,oe,ae).call(this,async()=>{await Promise.all([h(this,x).cache.deleteObjects([...ie]),w(this,oe,q).call(this)])}),Pe}finally{ie.forEach(Pe=>{let Ne=h(this,S).get(Pe);Ne&&Ne.length>0?Ne.shift()():Ne&&h(this,S).delete(Pe)}),T(this,j)._--}},ae=async function(fe){h(this,D)&&await h(this,D),C(this,D,fe?.().then(()=>{C(this,D,null)},()=>{})??null)},q=async function(){let fe=h(this,V);fe&&(C(this,V,null),await h(this,H).waitForTransaction({digest:fe}))},ne=async function(){if(h(this,k).length===0&&h(this,j)<=h(this,g)&&await w(this,oe,ve).call(this),h(this,k).length===0)throw new Error("No coins available");return h(this,k).shift()},me=async function(){if((h(this,Y)?h(this,Y).expiration-h(this,p)-Date.now():0)>0)return h(this,Y).price;if(h(this,Y)){let ie=Math.max(h(this,Y).expiration+h(this,p)-Date.now(),1e3);await new Promise(re=>setTimeout(re,ie))}let fe=await h(this,H).getLatestSuiSystemState();return C(this,Y,{price:BigInt(fe.referenceGasPrice),expiration:Number.parseInt(fe.epochStartTimestampMs,10)+Number.parseInt(fe.epochDurationMs,10)}),w(this,oe,me).call(this)},ve=async function(){let fe=Math.min(h(this,F),h(this,g)-(h(this,k).length+h(this,j))+1);if(fe===0)return;let ie=new B.Transaction,re=h(this,L).toSuiAddress();if(ie.setSender(re),h(this,b)){let Kt=[],wt=[];for(let[Ie,it]of h(this,b))it?Kt.push(it):wt.push(Ie);if(wt.length>0){let Ie=await h(this,H).multiGetObjects({ids:wt});Kt.push(...Ie.filter(it=>it.data!==null).map(({data:it})=>({objectId:it.objectId,version:it.version,digest:it.digest})))}ie.setGasPayment(Kt),C(this,b,new Map)}let Oe=new Array(fe).fill(h(this,G)),Pe=ie.splitCoins(ie.gas,Oe),Ne=[];for(let Kt=0;Kt<Oe.length;Kt++)Ne.push(Pe[Kt]);ie.transferObjects(Ne,re),await this.waitForLastTransaction();let Xe=await h(this,H).signAndExecuteTransaction({transaction:ie,signer:h(this,L),options:{showRawEffects:!0}}),Je=v.bcs.TransactionEffects.parse(Uint8Array.from(Xe.rawEffects));Je.V2?.changedObjects.forEach(([Kt,{outputState:wt}],Ie)=>{Ie===Je.V2?.gasObjectIndex||!wt.ObjectWrite||h(this,k).push({id:Kt,version:Je.V2.lamportVersion,digest:wt.ObjectWrite[0],balance:BigInt(h(this,G))})}),h(this,b)||C(this,b,new Map);let ft=(0,_.getGasCoinFromEffects)(Je).ref;h(this,b).set(ft.objectId,ft),await h(this,H).waitForTransaction({digest:Xe.digest})};function ee(){let fe,ie;return{promise:new Promise((re,Oe)=>{fe=re,ie=Oe}),resolve:fe,reject:ie}}}),Gct=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(N,_)=>{for(var L in _)r(N,L,{get:_[L],enumerable:!0})},a=(N,_,L,H)=>{if(_&&typeof _=="object"||typeof _=="function")for(let F of s(_))!i.call(N,F)&&F!==L&&r(N,F,{get:()=>_[F],enumerable:!(H=o(_,F))||H.enumerable});return N},u=N=>a(r({},"__esModule",{value:!0}),N),c={};n(c,{coinWithBalance:()=>v}),t.exports=u(c);var d=gb(),h=lp(),y=Il(),C=Mj(),w=qB(),T=Spe(),A="CoinWithBalance",O=(0,y.normalizeStructTag)("0x2::sui::SUI");function v({type:N=O,balance:_,useGasCoin:L=!0}){return H=>{H.addIntentResolver(A,R);let F=N==="gas"?N:(0,y.normalizeStructTag)(N);return H.add(C.Commands.Intent({name:A,inputs:{},data:{type:F===O&&L?"gas":F,balance:BigInt(_)}}))}}var B=(0,d.object)({type:(0,d.string)(),balance:(0,d.bigint)()});async function R(N,_,L){let H=new Set,F=new Map;if(!N.sender)throw new Error("Sender must be set to resolve CoinWithBalance");for(let g of N.commands)if(g.$kind==="$Intent"&&g.$Intent.name===A){let{type:b,balance:k}=(0,d.parse)(B,g.$Intent.data);b!=="gas"&&H.add(b),F.set(b,(F.get(b)??0n)+k)}let G=new Set;for(let g of N.inputs)g.Object?.ImmOrOwnedObject&&G.add(g.Object.ImmOrOwnedObject.objectId),g.UnresolvedObject?.objectId&&G.add(g.UnresolvedObject.objectId);let l=new Map,p=(0,T.getClient)(_);await Promise.all([...H].map(async g=>{l.set(g,await U({coinType:g,balance:F.get(g),client:p,owner:N.sender,usedIds:G}))}));let E=new Map;E.set("gas",{$kind:"GasCoin",GasCoin:!0});for(let[g,b]of N.commands.entries()){if(b.$kind!=="$Intent"||b.$Intent.name!==A)continue;let{type:k,balance:x}=b.$Intent.data,S=[];if(!E.has(k)){let[f,...M]=l.get(k).map(V=>N.addInput("object",w.Inputs.ObjectRef({objectId:V.coinObjectId,digest:V.digest,version:V.version})));M.length>0&&S.push(C.Commands.MergeCoins(f,M)),E.set(k,f)}S.push(C.Commands.SplitCoins(E.get(k),[N.addInput("pure",w.Inputs.Pure(h.bcs.u64().serialize(x)))])),N.replaceCommand(g,S),N.mapArguments(f=>f.$kind==="Result"&&f.Result===g?{$kind:"NestedResult",NestedResult:[g+S.length-1,0]}:f)}return L()}async function U({coinType:N,balance:_,client:L,owner:H,usedIds:F}){let G=_,l=[];return p();async function p(E=null){let{data:g,hasNextPage:b,nextCursor:k}=await L.getCoins({owner:H,coinType:N,cursor:E}),x=g.sort((S,f)=>Number(BigInt(f.balance)-BigInt(S.balance)));for(let S of x){if(F.has(S.coinObjectId))continue;let f=BigInt(S.balance);if(l.push(S),G-=f,G<=0)return l}if(b)return p(k);throw new Error(`Not enough coins of type ${N} to satisfy requested balance`)}}}),Xct=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(C,w)=>{for(var T in w)r(C,T,{get:w[T],enumerable:!0})},a=(C,w,T,A)=>{if(w&&typeof w=="object"||typeof w=="function")for(let O of s(w))!i.call(C,O)&&O!==T&&r(C,O,{get:()=>w[O],enumerable:!(A=o(w,O))||A.enumerable});return C},u=C=>a(r({},"__esModule",{value:!0}),C),c={};n(c,{Arguments:()=>y}),t.exports=u(c);var d=Ipe(),h=Ppe(),y={pure:(0,h.createPure)(C=>w=>w.pure(C)),object:(0,d.createObjectMethods)(C=>w=>w.object(C)),sharedObjectRef:(...C)=>w=>w.sharedObjectRef(...C),objectRef:(...C)=>w=>w.objectRef(...C),receivingRef:(...C)=>w=>w.receivingRef(...C)}}),tut=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(v,B)=>{for(var R in B)r(v,R,{get:B[R],enumerable:!0})},a=(v,B,R,U)=>{if(B&&typeof B=="object"||typeof B=="function")for(let N of s(B))!i.call(v,N)&&N!==R&&r(v,N,{get:()=>B[N],enumerable:!(U=o(B,N))||U.enumerable});return v},u=v=>a(r({},"__esModule",{value:!0}),v),c={};n(c,{findTransactionBlockNames:()=>y,listToRequests:()=>T,replaceNames:()=>w}),t.exports=u(c);var d=z0e(),h="/",y=v=>{let B=new Set,R=new Set;for(let U of v.commands){if(U.MakeMoveVec?.type){C([U.MakeMoveVec.type]).forEach(L=>{R.add(L)});continue}if(!("MoveCall"in U))continue;let N=U.MoveCall;if(!N)continue;let _=N.package.split("::")[0];if(_.includes(h)){if(!(0,d.isValidNamedPackage)(_))throw new Error(`Invalid package name: ${_}`);B.add(_)}C(N.typeArguments??[]).forEach(L=>{R.add(L)})}return{packages:[...B],types:[...R]}};function C(v){let B=new Set;for(let R of v)if(R.includes(h)){if(!(0,d.isValidNamedType)(R))throw new Error(`Invalid type with names: ${R}`);B.add(R)}return[...B]}var w=(v,B)=>{for(let R of v.commands){if(R.MakeMoveVec?.type){if(!R.MakeMoveVec.type.includes(h))continue;if(!B.types[R.MakeMoveVec.type])throw new Error(`No resolution found for type: ${R.MakeMoveVec.type}`);R.MakeMoveVec.type=B.types[R.MakeMoveVec.type]}let U=R.MoveCall;if(!U)continue;let N=U.package.split("::"),_=N[0];if(_.includes(h)&&!B.packages[_])throw new Error(`No address found for package: ${_}`);N[0]=B.packages[_],U.package=N.join("::");let L=U.typeArguments;if(L){for(let H=0;H<L.length;H++)if(L[H].includes(h)){if(!B.types[L[H]])throw new Error(`No resolution found for type: ${L[H]}`);L[H]=B.types[L[H]]}U.typeArguments=L}}},T=(v,B)=>{let R=[],U=A(v.packages),N=A(v.types);for(let[_,L]of U.entries())R.push({id:_,type:"package",name:L});for(let[_,L]of N.entries())R.push({id:_+U.length,type:"moveType",name:L});return O(R,B)},A=v=>[...new Set(v)],O=(v,B)=>{let R=[];for(let U=0;U<v.length;U+=B)R.push(v.slice(U,U+B));return R}}),out=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(C,w)=>{for(var T in w)r(C,T,{get:w[T],enumerable:!0})},a=(C,w,T,A)=>{if(w&&typeof w=="object"||typeof w=="function")for(let O of s(w))!i.call(C,O)&&O!==T&&r(C,O,{get:()=>w[O],enumerable:!(A=o(w,O))||A.enumerable});return C},u=C=>a(r({},"__esModule",{value:!0}),C),c={};n(c,{namedPackagesPlugin:()=>h}),t.exports=u(c);var d=tut(),h=({suiGraphQLClient:C,pageSize:w=10,overrides:T={packages:{},types:{}}})=>{let A={packages:{...T.packages},types:{...T.types}};return async(v,B,R)=>{let U=(0,d.findTransactionBlockNames)(v),N=(0,d.listToRequests)({packages:U.packages.filter(_=>!A.packages[_]),types:U.types.filter(_=>!A.types[_])},w);(await Promise.all(N.map(_=>O(C,_)))).forEach(_=>{Object.assign(A.types,_.types),Object.assign(A.packages,_.packages)}),(0,d.replaceNames)(v,A),await R()};async function O(v,B){let R={packages:{},types:{}};if(B.length===0)return R;let U=`{
        ${B.map(_=>{let L=_.type==="package"?"packageByName":"typeByName",H=_.type==="package"?"address":"repr";return`${y(_.id)}: ${L}(name:"${_.name}") {
                    ${H}
                }`})}
    }`,N=await v.query({query:U,variables:void 0});if(N.errors)throw new Error(JSON.stringify({query:U,errors:N.errors}));for(let _ of B){let L=y(_.id);if(!N.data||!N.data[L])throw new Error(`No result found for: ${_.name}`);let H=N.data[L];_.type==="package"&&(R.packages[_.name]=H.address),_.type==="moveType"&&(R.types[_.name]=H.repr)}return R}},y=C=>`key_${C}`}),vge=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(U,N)=>{for(var _ in N)r(U,_,{get:N[_],enumerable:!0})},a=(U,N,_,L)=>{if(N&&typeof N=="object"||typeof N=="function")for(let H of s(N))!i.call(U,H)&&H!==_&&r(U,H,{get:()=>N[H],enumerable:!(L=o(N,H))||L.enumerable});return U},u=U=>a(r({},"__esModule",{value:!0}),U),c={};n(c,{Arguments:()=>B.Arguments,AsyncCache:()=>T.AsyncCache,Commands:()=>y.Commands,Inputs:()=>h.Inputs,ObjectCache:()=>T.ObjectCache,ParallelTransactionExecutor:()=>O.ParallelTransactionExecutor,SerialTransactionExecutor:()=>A.SerialTransactionExecutor,Transaction:()=>C.Transaction,TransactionDataBuilder:()=>w.TransactionDataBuilder,UpgradePolicy:()=>y.UpgradePolicy,coinWithBalance:()=>v.coinWithBalance,getPureBcsSchema:()=>d.getPureBcsSchema,isTransaction:()=>C.isTransaction,namedPackagesPlugin:()=>R.namedPackagesPlugin,normalizedTypeToMoveTypeSignature:()=>d.normalizedTypeToMoveTypeSignature}),t.exports=u(c);var d=X0e(),h=qB(),y=Mj(),C=ak(),w=Dj(),T=Gpe(),A=oge(),O=Wct(),v=Gct(),B=Xct(),R=out()}),put=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(y,C)=>{for(var w in C)r(y,w,{get:C[w],enumerable:!0})},a=(y,C,w,T)=>{if(C&&typeof C=="object"||typeof C=="function")for(let A of s(C))!i.call(y,A)&&A!==w&&r(y,A,{get:()=>C[A],enumerable:!(T=o(C,A))||T.enumerable});return y},u=y=>a(r({},"__esModule",{value:!0}),y),c={};n(c,{PACKAGE_VERSION:()=>d,TARGETED_RPC_VERSION:()=>h}),t.exports=u(c);var d="1.12.0",h="1.36.0"}),Yj=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(w,T)=>{for(var A in T)r(w,A,{get:T[A],enumerable:!0})},a=(w,T,A,O)=>{if(T&&typeof T=="object"||typeof T=="function")for(let v of s(T))!i.call(w,v)&&v!==A&&r(w,v,{get:()=>T[v],enumerable:!(O=o(T,v))||O.enumerable});return w},u=w=>a(r({},"__esModule",{value:!0}),w),c={};n(c,{JsonRpcError:()=>y,SuiHTTPStatusError:()=>C,SuiHTTPTransportError:()=>h}),t.exports=u(c);var d={"-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"},h=class extends Error{},y=class extends h{constructor(w,T){super(w),this.code=T,this.type=d[T]??"ServerError"}},C=class extends h{constructor(w,T,A){super(w),this.status=T,this.statusText=A}}}),Tut=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=g=>{throw TypeError(g)},a=(g,b)=>{for(var k in b)r(g,k,{get:b[k],enumerable:!0})},u=(g,b,k,x)=>{if(b&&typeof b=="object"||typeof b=="function")for(let S of s(b))!i.call(g,S)&&S!==k&&r(g,S,{get:()=>b[S],enumerable:!(x=o(b,S))||x.enumerable});return g},c=g=>u(r({},"__esModule",{value:!0}),g),d=(g,b,k)=>b.has(g)||n("Cannot "+k),h=(g,b,k)=>(d(g,b,"read from private field"),k?k.call(g):b.get(g)),y=(g,b,k)=>b.has(g)?n("Cannot add the same private member more than once"):b instanceof WeakSet?b.add(g):b.set(g,k),C=(g,b,k,x)=>(d(g,b,"write to private field"),x?x.call(g,k):b.set(g,k),k),w=(g,b,k)=>(d(g,b,"access private method"),k),T=(g,b,k,x)=>({set _(S){C(g,b,S,k)},get _(){return h(g,b,x)}}),A={};a(A,{DEFAULT_CLIENT_OPTIONS:()=>l,WebsocketClient:()=>p}),t.exports=c(A);var O=Yj(),v,B,R,U,N,_,L,H,F;function G(g){let b=new URL(g);return b.protocol=b.protocol.replace("http","ws"),b.toString()}var l={WebSocketConstructor:typeof WebSocket<"u"?WebSocket:void 0,callTimeout:3e4,reconnectTimeout:3e3,maxReconnects:5},p=class{constructor(g,b={}){if(y(this,L),y(this,v,0),y(this,B,0),y(this,R,null),y(this,U,null),y(this,N,new Set),y(this,_,new Map),this.endpoint=g,this.options={...l,...b},!this.options.WebSocketConstructor)throw new Error("Missing WebSocket constructor");this.endpoint.startsWith("http")&&(this.endpoint=G(this.endpoint))}async makeRequest(g,b){let k=await w(this,L,H).call(this);return new Promise((x,S)=>{C(this,v,h(this,v)+1),h(this,_).set(h(this,v),{resolve:x,reject:S,timeout:setTimeout(()=>{h(this,_).delete(h(this,v)),S(new Error(`Request timeout: ${g}`))},this.options.callTimeout)}),k.send(JSON.stringify({jsonrpc:"2.0",id:h(this,v),method:g,params:b}))}).then(({error:x,result:S})=>{if(x)throw new O.JsonRpcError(x.message,x.code);return S})}async subscribe(g){let b=new E(g);return h(this,N).add(b),await b.subscribe(this),()=>b.unsubscribe(this)}};v=new WeakMap,B=new WeakMap,R=new WeakMap,U=new WeakMap,N=new WeakMap,_=new WeakMap,L=new WeakSet,H=function(){return h(this,U)?h(this,U):(C(this,U,new Promise(g=>{h(this,R)?.close(),C(this,R,new this.options.WebSocketConstructor(this.endpoint)),h(this,R).addEventListener("open",()=>{C(this,B,0),g(h(this,R))}),h(this,R).addEventListener("close",()=>{T(this,B)._++,h(this,B)<=this.options.maxReconnects&&setTimeout(()=>{w(this,L,F).call(this)},this.options.reconnectTimeout)}),h(this,R).addEventListener("message",({data:b})=>{let k;try{k=JSON.parse(b)}catch(x){console.error(new Error(`Failed to parse RPC message: ${b}`,{cause:x}));return}if("id"in k&&k.id!=null&&h(this,_).has(k.id)){let{resolve:x,timeout:S}=h(this,_).get(k.id);clearTimeout(S),x(k)}else if("params"in k){let{params:x}=k;h(this,N).forEach(S=>{S.subscriptionId===x.subscription&&x.subscription===S.subscriptionId&&S.onMessage(x.result)})}})})),h(this,U))},F=async function(){return h(this,R)?.close(),C(this,U,null),Promise.allSettled([...h(this,N)].map(g=>g.subscribe(this)))};var E=class{constructor(g){this.subscriptionId=null,this.subscribed=!1,this.input=g}onMessage(g){this.subscribed&&this.input.onMessage(g)}async unsubscribe(g){let{subscriptionId:b}=this;return this.subscribed=!1,b==null?!1:(this.subscriptionId=null,g.makeRequest(this.input.unsubscribe,[b]))}async subscribe(g){this.subscriptionId=null,this.subscribed=!0;let b=await g.makeRequest(this.input.method,this.input.params);this.subscribed&&(this.subscriptionId=b)}}}),_ge=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=H=>{throw TypeError(H)},a=(H,F)=>{for(var G in F)r(H,G,{get:F[G],enumerable:!0})},u=(H,F,G,l)=>{if(F&&typeof F=="object"||typeof F=="function")for(let p of s(F))!i.call(H,p)&&p!==G&&r(H,p,{get:()=>F[p],enumerable:!(l=o(F,p))||l.enumerable});return H},c=H=>u(r({},"__esModule",{value:!0}),H),d=(H,F,G)=>F.has(H)||n("Cannot "+G),h=(H,F,G)=>(d(H,F,"read from private field"),G?G.call(H):F.get(H)),y=(H,F,G)=>F.has(H)?n("Cannot add the same private member more than once"):F instanceof WeakSet?F.add(H):F.set(H,G),C=(H,F,G,l)=>(d(H,F,"write to private field"),l?l.call(H,G):F.set(H,G),G),w=(H,F,G)=>(d(H,F,"access private method"),G),T={};a(T,{SuiHTTPTransport:()=>L}),t.exports=c(T);var A=put(),O=Yj(),v=Tut(),B,R,U,N,_,L=class{constructor(H){y(this,N),y(this,B,0),y(this,R),y(this,U),C(this,R,H)}fetch(H,F){let G=h(this,R).fetch??fetch;if(!G)throw new Error("The current environment does not support fetch, you can provide a fetch implementation in the options for SuiHTTPTransport.");return G(H,F)}async request(H){C(this,B,h(this,B)+1);let F=await this.fetch(h(this,R).rpc?.url??h(this,R).url,{method:"POST",headers:{"Content-Type":"application/json","Client-Sdk-Type":"typescript","Client-Sdk-Version":A.PACKAGE_VERSION,"Client-Target-Api-Version":A.TARGETED_RPC_VERSION,...h(this,R).rpc?.headers},body:JSON.stringify({jsonrpc:"2.0",id:h(this,B),method:H.method,params:H.params})});if(!F.ok)throw new O.SuiHTTPStatusError(`Unexpected status code: ${F.status}`,F.status,F.statusText);let G=await F.json();if("error"in G&&G.error!=null)throw new O.JsonRpcError(G.error.message,G.error.code);return G.result}async subscribe(H){let F=await w(this,N,_).call(this).subscribe(H);return async()=>!!await F()}};B=new WeakMap,R=new WeakMap,U=new WeakMap,N=new WeakSet,_=function(){if(!h(this,U)){let H=h(this,R).WebSocketConstructor??WebSocket;if(!H)throw new Error("The current environment does not support WebSocket, you can provide a WebSocketConstructor in the options for SuiHTTPTransport.");C(this,U,new v.WebsocketClient(h(this,R).websocket?.url??h(this,R).url,{WebSocketConstructor:H,...h(this,R).websocket}))}return h(this,U)}}),_ut=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(h,y)=>{for(var C in y)r(h,C,{get:y[C],enumerable:!0})},a=(h,y,C,w)=>{if(y&&typeof y=="object"||typeof y=="function")for(let T of s(y))!i.call(h,T)&&T!==C&&r(h,T,{get:()=>y[T],enumerable:!(w=o(y,T))||w.enumerable});return h},u=h=>a(r({},"__esModule",{value:!0}),h),c={};n(c,{getFullnodeUrl:()=>d}),t.exports=u(c);function d(h){switch(h){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: ${h}`)}}}),Dut=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(c,d,h,y)=>{if(d&&typeof d=="object"||typeof d=="function")for(let C of s(d))!i.call(c,C)&&C!==h&&r(c,C,{get:()=>d[C],enumerable:!(y=o(d,C))||y.enumerable});return c},a=c=>n(r({},"__esModule",{value:!0}),c),u={};t.exports=a(u)}),Fut=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(c,d,h,y)=>{if(d&&typeof d=="object"||typeof d=="function")for(let C of s(d))!i.call(c,C)&&C!==h&&r(c,C,{get:()=>d[C],enumerable:!(y=o(d,C))||y.enumerable});return c},a=c=>n(r({},"__esModule",{value:!0}),c),u={};t.exports=a(u)}),Kut=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(c,d,h,y)=>{if(d&&typeof d=="object"||typeof d=="function")for(let C of s(d))!i.call(c,C)&&C!==h&&r(c,C,{get:()=>d[C],enumerable:!(y=o(d,C))||y.enumerable});return c},a=c=>n(r({},"__esModule",{value:!0}),c),u={};t.exports=a(u)}),jut=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(c,d,h,y)=>{if(d&&typeof d=="object"||typeof d=="function")for(let C of s(d))!i.call(c,C)&&C!==h&&r(c,C,{get:()=>d[C],enumerable:!(y=o(d,C))||y.enumerable});return c},a=c=>n(r({},"__esModule",{value:!0}),c),u={};t.exports=a(u)}),Jut=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(c,d,h,y)=>{if(d&&typeof d=="object"||typeof d=="function")for(let C of s(d))!i.call(c,C)&&C!==h&&r(c,C,{get:()=>d[C],enumerable:!(y=o(d,C))||y.enumerable});return c},a=c=>n(r({},"__esModule",{value:!0}),c),u={};t.exports=a(u)}),Qut=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(c,d,h,y)=>{if(d&&typeof d=="object"||typeof d=="function")for(let C of s(d))!i.call(c,C)&&C!==h&&r(c,C,{get:()=>d[C],enumerable:!(y=o(d,C))||y.enumerable});return c},a=c=>n(r({},"__esModule",{value:!0}),c),u={};t.exports=a(u)}),$ut=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(d,h,y,C)=>{if(h&&typeof h=="object"||typeof h=="function")for(let w of s(h))!i.call(d,w)&&w!==y&&r(d,w,{get:()=>h[w],enumerable:!(C=o(h,w))||C.enumerable});return d},a=(d,h,y)=>(n(d,h,"default"),y&&n(y,h,"default")),u=d=>n(r({},"__esModule",{value:!0}),d),c={};t.exports=u(c),a(c,Dut(),t.exports),a(c,Fut(),t.exports),a(c,Kut(),t.exports),a(c,jut(),t.exports),a(c,Jut(),t.exports),a(c,Qut(),t.exports)}),nlt=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(v,B)=>{for(var R in B)r(v,R,{get:B[R],enumerable:!0})},a=(v,B,R,U)=>{if(B&&typeof B=="object"||typeof B=="function")for(let N of s(B))!i.call(v,N)&&N!==R&&r(v,N,{get:()=>B[N],enumerable:!(U=o(B,N))||U.enumerable});return v},u=v=>a(r({},"__esModule",{value:!0}),v),c={};n(c,{SuiClient:()=>O,isSuiClient:()=>A}),t.exports=u(c);var d=wc(),h=vge(),y=Il(),C=Tj(),w=_ge(),T=Symbol.for("@mysten/SuiClient");function A(v){return typeof v=="object"&&v!==null&&v[T]===!0}var O=class{get[T](){return!0}constructor(v){this.transport=v.transport??new w.SuiHTTPTransport({url:v.url})}async getRpcApiVersion(){return(await this.transport.request({method:"rpc.discover",params:[]})).info.version}async getCoins(v){if(!v.owner||!(0,y.isValidSuiAddress)((0,y.normalizeSuiAddress)(v.owner)))throw new Error("Invalid Sui address");return await this.transport.request({method:"suix_getCoins",params:[v.owner,v.coinType,v.cursor,v.limit]})}async getAllCoins(v){if(!v.owner||!(0,y.isValidSuiAddress)((0,y.normalizeSuiAddress)(v.owner)))throw new Error("Invalid Sui address");return await this.transport.request({method:"suix_getAllCoins",params:[v.owner,v.cursor,v.limit]})}async getBalance(v){if(!v.owner||!(0,y.isValidSuiAddress)((0,y.normalizeSuiAddress)(v.owner)))throw new Error("Invalid Sui address");return await this.transport.request({method:"suix_getBalance",params:[v.owner,v.coinType]})}async getAllBalances(v){if(!v.owner||!(0,y.isValidSuiAddress)((0,y.normalizeSuiAddress)(v.owner)))throw new Error("Invalid Sui address");return await this.transport.request({method:"suix_getAllBalances",params:[v.owner]})}async getCoinMetadata(v){return await this.transport.request({method:"suix_getCoinMetadata",params:[v.coinType]})}async getTotalSupply(v){return await this.transport.request({method:"suix_getTotalSupply",params:[v.coinType]})}async call(v,B){return await this.transport.request({method:v,params:B})}async getMoveFunctionArgTypes(v){return await this.transport.request({method:"sui_getMoveFunctionArgTypes",params:[v.package,v.module,v.function]})}async getNormalizedMoveModulesByPackage(v){return await this.transport.request({method:"sui_getNormalizedMoveModulesByPackage",params:[v.package]})}async getNormalizedMoveModule(v){return await this.transport.request({method:"sui_getNormalizedMoveModule",params:[v.package,v.module]})}async getNormalizedMoveFunction(v){return await this.transport.request({method:"sui_getNormalizedMoveFunction",params:[v.package,v.module,v.function]})}async getNormalizedMoveStruct(v){return await this.transport.request({method:"sui_getNormalizedMoveStruct",params:[v.package,v.module,v.struct]})}async getOwnedObjects(v){if(!v.owner||!(0,y.isValidSuiAddress)((0,y.normalizeSuiAddress)(v.owner)))throw new Error("Invalid Sui address");return await this.transport.request({method:"suix_getOwnedObjects",params:[v.owner,{filter:v.filter,options:v.options},v.cursor,v.limit]})}async getObject(v){if(!v.id||!(0,y.isValidSuiObjectId)((0,y.normalizeSuiObjectId)(v.id)))throw new Error("Invalid Sui Object id");return await this.transport.request({method:"sui_getObject",params:[v.id,v.options]})}async tryGetPastObject(v){return await this.transport.request({method:"sui_tryGetPastObject",params:[v.id,v.version,v.options]})}async multiGetObjects(v){if(v.ids.forEach(B=>{if(!B||!(0,y.isValidSuiObjectId)((0,y.normalizeSuiObjectId)(B)))throw new Error(`Invalid Sui Object id ${B}`)}),v.ids.length!==new Set(v.ids).size)throw new Error(`Duplicate object ids in batch call ${v.ids}`);return await this.transport.request({method:"sui_multiGetObjects",params:[v.ids,v.options]})}async queryTransactionBlocks(v){return await this.transport.request({method:"suix_queryTransactionBlocks",params:[{filter:v.filter,options:v.options},v.cursor,v.limit,(v.order||"descending")==="descending"]})}async getTransactionBlock(v){if(!(0,y.isValidTransactionDigest)(v.digest))throw new Error("Invalid Transaction digest");return await this.transport.request({method:"sui_getTransactionBlock",params:[v.digest,v.options]})}async multiGetTransactionBlocks(v){if(v.digests.forEach(B=>{if(!(0,y.isValidTransactionDigest)(B))throw new Error(`Invalid Transaction digest ${B}`)}),v.digests.length!==new Set(v.digests).size)throw new Error(`Duplicate digests in batch call ${v.digests}`);return await this.transport.request({method:"sui_multiGetTransactionBlocks",params:[v.digests,v.options]})}async executeTransactionBlock({transactionBlock:v,signature:B,options:R,requestType:U}){let N=await this.transport.request({method:"sui_executeTransactionBlock",params:[typeof v=="string"?v:(0,d.toBase64)(v),Array.isArray(B)?B:[B],R]});if(U==="WaitForLocalExecution")try{await this.waitForTransaction({digest:N.digest})}catch{}return N}async signAndExecuteTransaction({transaction:v,signer:B,...R}){let U;v instanceof Uint8Array?U=v:(v.setSenderIfNotSet(B.toSuiAddress()),U=await v.build({client:this}));let{signature:N,bytes:_}=await B.signTransaction(U);return this.executeTransactionBlock({transactionBlock:_,signature:N,...R})}async getTotalTransactionBlocks(){let v=await this.transport.request({method:"sui_getTotalTransactionBlocks",params:[]});return BigInt(v)}async getReferenceGasPrice(){let v=await this.transport.request({method:"suix_getReferenceGasPrice",params:[]});return BigInt(v)}async getStakes(v){if(!v.owner||!(0,y.isValidSuiAddress)((0,y.normalizeSuiAddress)(v.owner)))throw new Error("Invalid Sui address");return await this.transport.request({method:"suix_getStakes",params:[v.owner]})}async getStakesByIds(v){return v.stakedSuiIds.forEach(B=>{if(!B||!(0,y.isValidSuiObjectId)((0,y.normalizeSuiObjectId)(B)))throw new Error(`Invalid Sui Stake id ${B}`)}),await this.transport.request({method:"suix_getStakesByIds",params:[v.stakedSuiIds]})}async getLatestSuiSystemState(){return await this.transport.request({method:"suix_getLatestSuiSystemState",params:[]})}async queryEvents(v){return await this.transport.request({method:"suix_queryEvents",params:[v.query,v.cursor,v.limit,(v.order||"descending")==="descending"]})}async subscribeEvent(v){return this.transport.subscribe({method:"suix_subscribeEvent",unsubscribe:"suix_unsubscribeEvent",params:[v.filter],onMessage:v.onMessage})}async subscribeTransaction(v){return this.transport.subscribe({method:"suix_subscribeTransaction",unsubscribe:"suix_unsubscribeTransaction",params:[v.filter],onMessage:v.onMessage})}async devInspectTransactionBlock(v){let B;if((0,h.isTransaction)(v.transactionBlock))v.transactionBlock.setSenderIfNotSet(v.sender),B=(0,d.toBase64)(await v.transactionBlock.build({client:this,onlyTransactionKind:!0}));else if(typeof v.transactionBlock=="string")B=v.transactionBlock;else if(v.transactionBlock instanceof Uint8Array)B=(0,d.toBase64)(v.transactionBlock);else throw new Error("Unknown transaction block format.");return await this.transport.request({method:"sui_devInspectTransactionBlock",params:[v.sender,B,v.gasPrice?.toString(),v.epoch]})}async dryRunTransactionBlock(v){return await this.transport.request({method:"sui_dryRunTransactionBlock",params:[typeof v.transactionBlock=="string"?v.transactionBlock:(0,d.toBase64)(v.transactionBlock)]})}async getDynamicFields(v){if(!v.parentId||!(0,y.isValidSuiObjectId)((0,y.normalizeSuiObjectId)(v.parentId)))throw new Error("Invalid Sui Object id");return await this.transport.request({method:"suix_getDynamicFields",params:[v.parentId,v.cursor,v.limit]})}async getDynamicFieldObject(v){return await this.transport.request({method:"suix_getDynamicFieldObject",params:[v.parentId,v.name]})}async getLatestCheckpointSequenceNumber(){let v=await this.transport.request({method:"sui_getLatestCheckpointSequenceNumber",params:[]});return String(v)}async getCheckpoint(v){return await this.transport.request({method:"sui_getCheckpoint",params:[v.id]})}async getCheckpoints(v){return await this.transport.request({method:"sui_getCheckpoints",params:[v.cursor,v?.limit,v.descendingOrder]})}async getCommitteeInfo(v){return await this.transport.request({method:"suix_getCommitteeInfo",params:[v?.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(v){return await this.transport.request({method:"suix_getEpochMetrics",params:[v?.cursor,v?.limit,v?.descendingOrder]})}async getAllEpochAddressMetrics(v){return await this.transport.request({method:"suix_getAllEpochAddressMetrics",params:[v?.descendingOrder]})}async getEpochs(v){return await this.transport.request({method:"suix_getEpochs",params:[v?.cursor,v?.limit,v?.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 v=await this.getCheckpoint({id:"0"}),B=(0,d.fromBase58)(v.digest);return(0,d.toHex)(B.slice(0,4))}async resolveNameServiceAddress(v){return await this.transport.request({method:"suix_resolveNameServiceAddress",params:[v.name]})}async resolveNameServiceNames({format:v="dot",...B}){let{nextCursor:R,hasNextPage:U,data:N}=await this.transport.request({method:"suix_resolveNameServiceNames",params:[B.address,B.cursor,B.limit]});return{hasNextPage:U,nextCursor:R,data:N.map(_=>(0,C.normalizeSuiNSName)(_,v))}}async getProtocolConfig(v){return await this.transport.request({method:"sui_getProtocolConfig",params:[v?.version]})}async waitForTransaction({signal:v,timeout:B=60*1e3,pollInterval:R=2*1e3,...U}){let N=AbortSignal.timeout(B),_=new Promise((L,H)=>{N.addEventListener("abort",()=>H(N.reason))});for(_.catch(()=>{});!N.aborted;){v?.throwIfAborted();try{return await this.getTransactionBlock(U)}catch{await Promise.race([new Promise(L=>setTimeout(L,R)),_])}}throw N.throwIfAborted(),new Error("Unexpected error while waiting for transaction block.")}}}),olt=W((e,t)=>{"use strict";m();var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,n=(T,A)=>{for(var O in A)r(T,O,{get:A[O],enumerable:!0})},a=(T,A,O,v)=>{if(A&&typeof A=="object"||typeof A=="function")for(let B of s(A))!i.call(T,B)&&B!==O&&r(T,B,{get:()=>A[B],enumerable:!(v=o(A,B))||v.enumerable});return T},u=(T,A,O)=>(a(T,A,"default"),O&&a(O,A,"default")),c=T=>a(r({},"__esModule",{value:!0}),T),d={};n(d,{JsonRpcError:()=>w.JsonRpcError,SuiClient:()=>C.SuiClient,SuiHTTPStatusError:()=>w.SuiHTTPStatusError,SuiHTTPTransport:()=>h.SuiHTTPTransport,SuiHTTPTransportError:()=>w.SuiHTTPTransportError,getFullnodeUrl:()=>y.getFullnodeUrl,isSuiClient:()=>C.isSuiClient}),t.exports=c(d);var h=_ge(),y=_ut();u(d,$ut(),t.exports);var C=nlt(),w=Yj()}),alt=W(e=>{"use strict";m();var t=e&&e.__awaiter||function(a,u,c,d){function h(y){return y instanceof c?y:new c(function(C){C(y)})}return new(c||(c=Promise))(function(y,C){function w(O){try{A(d.next(O))}catch(v){C(v)}}function T(O){try{A(d.throw(O))}catch(v){C(v)}}function A(O){O.done?y(O.value):h(O.value).then(w,T)}A((d=d.apply(a,u||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXSuiProvider=void 0;var r=yg(),o=vge(),s=Cj(),i=olt(),n=class{get defaultNetwork(){return this.provider.requestDefaultChainWithNamespace(r.NameSpaceKeySui)}get suiClient(){var a;let u=(0,i.getFullnodeUrl)(this.defaultNetwork),c=(a=this.provider.session)===null||a===void 0?void 0:a.namespaces[r.NameSpaceKeySui];if(c&&c.rpcMap){let d=c.rpcMap[this.currentChainId];d!==void 0?(u=d,console.log("use custom rpc======> ",u)):console.log("use mainnet rpc======> ",u)}else console.log("use mainnet rpc======> ",u);return new i.SuiClient({url:u})}get currentChainId(){return`sui:${this.defaultNetwork}`}constructor(a){this.provider=a}getAccount(){var a,u,c,d,h,y,C;let w=r.NameSpaceKeySui,T=(u=(a=this.provider.session)===null||a===void 0?void 0:a.namespaces[w])===null||u===void 0?void 0:u.accounts[0];if(console.log("====> getAccount"),console.log(T),!T)return;let A=T.split(":"),O=T.split(":")[2];console.log("sui_publicKey",(d=(c=this.provider.session)===null||c===void 0?void 0:c.namespaces[w])===null||d===void 0?void 0:d.extra);let v=(C=(y=(h=this.provider.session)===null||h===void 0?void 0:h.namespaces[w])===null||y===void 0?void 0:y.extra)===null||C===void 0?void 0:C[`${A[0]}:${A[1]}`],B="";if(v!=null&&(B=v.publicKey,console.log("sui_publicKey",B)),!!O)return{address:O,publicKey:B}}signTransaction(a){return t(this,void 0,void 0,function*(){let[u,c]=yield this.generateTsBytesAndSerizlize(a),d=yield this.provider.request({method:"sui_signTransactionBlock",params:{txBytes:u,txSerialize:c},injectParams:Object.assign({},a)},this.currentChainId);return"result"in d?{signature:d.result,transactionBlockBytes:u}:d.error})}signAndExecuteTransaction(a){return t(this,void 0,void 0,function*(){let[u,c]=yield this.generateTsBytesAndSerizlize(a),d=yield this.provider.request({method:"sui_signAndExecuteTransactionBlock",params:{txBytes:u,txSerialize:c},injectParams:Object.assign({},a)},this.currentChainId);return"result"in d?{confirmedLocalExecution:!1,digest:d.result,txBytes:u}:d.error})}signMessage(a){return t(this,void 0,void 0,function*(){console.log("====> signMessage:"),console.log(a);let u=new TextDecoder("utf8"),c=btoa(u.decode(a.message)),d=atob(c),h=yield this.provider.request({method:"sui_signMessage",params:{message:d},injectParams:Object.assign({},a)},this.currentChainId);if("result"in h){let y=h;console.log("====> signAction result"),console.log(h);let C=y.result;return{messageBytes:c,signature:C}}else return console.log("====> signAction result error"),h.error})}signPersonalMessage(a){return t(this,void 0,void 0,function*(){console.log("====> signPersonalMessage\uFF1A"),console.log(a);let u=new TextDecoder("utf8"),c=btoa(u.decode(a.message)),d=atob(c),h=yield this.provider.request({method:"sui_signPersonalMessage",params:{message:d},injectParams:Object.assign({},a)},this.currentChainId);if("result"in h){let y=h;console.log("====> signAction result"),console.log(h);let C=y.result;return{bytes:c,signature:C}}else return console.log("====> signAction result error"),h.error})}generateTsBytesAndSerizlize(a){return t(this,void 0,void 0,function*(){let u=["",""];if("txBytes"in a&&a.txBytes.length>0&&"txSerialize"in a&&a.txSerialize.length>0&&(u=[a.txBytes,a.txSerialize]),!("transactionBlock"in a))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"params doesn't contains transactionBlock");let c=this.provider.requestAccountsWithNamespace(r.NameSpaceKeySui);if(c.length==0)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"there is no sui account");a.transactionBlock.setSender(c[0]);let d=yield a.transactionBlock.build({client:this.suiClient}),h=(0,s.toBase64)(d),y=yield o.Transaction.from(h).toJSON();return u=[h,y],new Promise(C=>{C(u)})})}};e.OKXSuiProvider=n,e.default=n}),clt=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXSuiProvider=void 0;var t=alt();Object.defineProperty(e,"OKXSuiProvider",{enumerable:!0,get:function(){return t.OKXSuiProvider}})}),rdt=W((e,t)=>{"use strict";m();var r=Object.prototype.hasOwnProperty,o="~";function s(){}Object.create&&(s.prototype=Object.create(null),new s().__proto__||(o=!1));function i(c,d,h){this.fn=c,this.context=d,this.once=h||!1}function n(c,d,h,y,C){if(typeof h!="function")throw new TypeError("The listener must be a function");var w=new i(h,y||c,C),T=o?o+d:d;return c._events[T]?c._events[T].fn?c._events[T]=[c._events[T],w]:c._events[T].push(w):(c._events[T]=w,c._eventsCount++),c}function a(c,d){--c._eventsCount===0?c._events=new s:delete c._events[d]}function u(){this._events=new s,this._eventsCount=0}u.prototype.eventNames=function(){var c=[],d,h;if(this._eventsCount===0)return c;for(h in d=this._events)r.call(d,h)&&c.push(o?h.slice(1):h);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(d)):c},u.prototype.listeners=function(c){var d=o?o+c:c,h=this._events[d];if(!h)return[];if(h.fn)return[h.fn];for(var y=0,C=h.length,w=new Array(C);y<C;y++)w[y]=h[y].fn;return w},u.prototype.listenerCount=function(c){var d=o?o+c:c,h=this._events[d];return h?h.fn?1:h.length:0},u.prototype.emit=function(c,d,h,y,C,w){var T=o?o+c:c;if(!this._events[T])return!1;var A=this._events[T],O=arguments.length,v,B;if(A.fn){switch(A.once&&this.removeListener(c,A.fn,void 0,!0),O){case 1:return A.fn.call(A.context),!0;case 2:return A.fn.call(A.context,d),!0;case 3:return A.fn.call(A.context,d,h),!0;case 4:return A.fn.call(A.context,d,h,y),!0;case 5:return A.fn.call(A.context,d,h,y,C),!0;case 6:return A.fn.call(A.context,d,h,y,C,w),!0}for(B=1,v=new Array(O-1);B<O;B++)v[B-1]=arguments[B];A.fn.apply(A.context,v)}else{var R=A.length,U;for(B=0;B<R;B++)switch(A[B].once&&this.removeListener(c,A[B].fn,void 0,!0),O){case 1:A[B].fn.call(A[B].context);break;case 2:A[B].fn.call(A[B].context,d);break;case 3:A[B].fn.call(A[B].context,d,h);break;case 4:A[B].fn.call(A[B].context,d,h,y);break;default:if(!v)for(U=1,v=new Array(O-1);U<O;U++)v[U-1]=arguments[U];A[B].fn.apply(A[B].context,v)}}return!0},u.prototype.on=function(c,d,h){return n(this,c,d,h,!1)},u.prototype.once=function(c,d,h){return n(this,c,d,h,!0)},u.prototype.removeListener=function(c,d,h,y){var C=o?o+c:c;if(!this._events[C])return this;if(!d)return a(this,C),this;var w=this._events[C];if(w.fn)w.fn===d&&(!y||w.once)&&(!h||w.context===h)&&a(this,C);else{for(var T=0,A=[],O=w.length;T<O;T++)(w[T].fn!==d||y&&!w[T].once||h&&w[T].context!==h)&&A.push(w[T]);A.length?this._events[C]=A.length===1?A[0]:A:a(this,C)}return this},u.prototype.removeAllListeners=function(c){var d;return c?(d=o?o+c:c,this._events[d]&&a(this,d)):(this._events=new s,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=o,u.EventEmitter=u,typeof t<"u"&&(t.exports=u)}),Nt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;function r(s){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},r(s)}function o(s){var i=typeof s=="string"||s instanceof String;if(!i){var n=r(s);throw s===null?n="null":n==="object"&&(n=s.constructor.name),new TypeError("Expected a string but received a ".concat(n))}}t.exports=e.default,t.exports.default=e.default}),DG=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i){return(0,r.default)(i),i=Date.parse(i),isNaN(i)?null:new Date(i)}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]+$/},o=e.decimal={"en-US":".",ar:"\u066B"},s=e.englishLocales=["AU","GB","HK","IN","NZ","ZA","ZM"];for(n=0;n<s.length;n++)i="en-".concat(s[n]),t[i]=t["en-US"],r[i]=r["en-US"],o[i]=o["en-US"];var i,n,a=e.arabicLocales=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];for(c=0;c<a.length;c++)u="ar-".concat(a[c]),t[u]=t.ar,r[u]=r.ar,o[u]=o.ar;var u,c,d=e.farsiLocales=["IR","AF"];for(y=0;y<d.length;y++)h="fa-".concat(d[y]),r[h]=r.fa,o[h]=o.ar;var h,y,C=e.bengaliLocales=["BD","IN"];for(T=0;T<C.length;T++)w="bn-".concat(C[T]),t[w]=t.bn,r[w]=r.bn,o[w]=o["en-US"];var w,T,A=e.dotDecimal=["ar-EG","ar-LB","ar-LY"],O=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(v=0;v<A.length;v++)o[A[v]]=o["en-US"];var v;for(B=0;B<O.length;B++)o[O[B]]=",";var 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"],o["pt-BR"]=o["pt-PT"],t["pl-Pl"]=t["pl-PL"],r["pl-Pl"]=r["pl-PL"],o["pl-Pl"]=o["pl-PL"],t["fa-AF"]=t.fa}),lme=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s,e.locales=void 0;var t=o(Nt()),r=U8();function o(n){return n&&n.__esModule?n:{default:n}}function s(n,a){(0,t.default)(n),a=a||{};var u=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(a.locale?r.decimal[a.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(n===""||n==="."||n===","||n==="-"||n==="+")return!1;var c=parseFloat(n.replace(",","."));return u.test(n)&&(!a.hasOwnProperty("min")||c>=a.min)&&(!a.hasOwnProperty("max")||c<=a.max)&&(!a.hasOwnProperty("lt")||c<a.lt)&&(!a.hasOwnProperty("gt")||c>a.gt)}var i=e.locales=Object.keys(r.decimal)}),dme=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(lme());function o(i){return i&&i.__esModule?i:{default:i}}function s(i){return(0,r.default)(i)?parseFloat(i):NaN}t.exports=e.default,t.exports.default=e.default}),gdt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i,n){return(0,r.default)(i),parseInt(i,n||10)}t.exports=e.default,t.exports.default=e.default}),ydt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i,n){return(0,r.default)(i),n?i==="1"||/^true$/i.test(i):i!=="0"&&!/^false$/i.test(i)&&i!==""}t.exports=e.default,t.exports.default=e.default}),mdt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i,n){return(0,r.default)(i),i===n}t.exports=e.default,t.exports.default=e.default}),bme=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;function r(s){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},r(s)}function o(s){return r(s)==="object"&&s!==null?typeof s.toString=="function"?s=s.toString():s="[object Object]":(s===null||typeof s>"u"||isNaN(s)&&!s.length)&&(s=""),String(s)}t.exports=e.default,t.exports.default=e.default}),Yu=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;function r(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;for(var i in s)typeof o[i]>"u"&&(o[i]=s[i]);return o}t.exports=e.default,t.exports.default=e.default}),vdt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=i(Nt()),o=i(bme()),s=i(Yu());function i(u){return u&&u.__esModule?u:{default:u}}var n={ignoreCase:!1,minOccurrences:1};function a(u,c,d){return(0,r.default)(u),d=(0,s.default)(d,n),d.ignoreCase?u.toLowerCase().split((0,o.default)(c).toLowerCase()).length>d.minOccurrences:u.split((0,o.default)(c)).length>d.minOccurrences}t.exports=e.default,t.exports.default=e.default}),wdt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i,n,a){return(0,r.default)(i),Object.prototype.toString.call(n)!=="[object RegExp]"&&(n=new RegExp(n,a)),!!i.match(n)}t.exports=e.default,t.exports.default=e.default}),Sme=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}function s(n){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},s(n)}function i(n,a){(0,r.default)(n);var u,c;s(a)==="object"?(u=a.min||0,c=a.max):(u=arguments[1],c=arguments[2]);var d=encodeURI(n).split(/%..|./).length-1;return d>=u&&(typeof c>"u"||d<=c)}t.exports=e.default,t.exports.default=e.default}),qG=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var r=s(Nt()),o=s(Yu());function s(a){return a&&a.__esModule?a:{default:a}}var i={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};function n(a,u){(0,r.default)(a),u=(0,o.default)(u,i),u.allow_trailing_dot&&a[a.length-1]==="."&&(a=a.substring(0,a.length-1)),u.allow_wildcard===!0&&a.indexOf("*.")===0&&(a=a.substring(2));var c=a.split("."),d=c[c.length-1];return u.require_tld&&(c.length<2||!u.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(d)||/\s/.test(d))||!u.allow_numeric_tld&&/^\d+$/.test(d)?!1:c.every(function(h){return!(h.length>63&&!u.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(h)||/[\uff01-\uff5e]/.test(h)||/^-|-$/.test(h)||!u.allow_underscores&&/_/.test(h))})}t.exports=e.default,t.exports.default=e.default}),bM=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var r=o(Nt());function o(d){return d&&d.__esModule?d:{default:d}}var s="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",i="(".concat(s,"[.]){3}").concat(s),n=new RegExp("^".concat(i,"$")),a="(?:[0-9a-fA-F]{1,4})",u=new RegExp("^("+"(?:".concat(a,":){7}(?:").concat(a,"|:)|")+"(?:".concat(a,":){6}(?:").concat(i,"|:").concat(a,"|:)|")+"(?:".concat(a,":){5}(?::").concat(i,"|(:").concat(a,"){1,2}|:)|")+"(?:".concat(a,":){4}(?:(:").concat(a,"){0,1}:").concat(i,"|(:").concat(a,"){1,3}|:)|")+"(?:".concat(a,":){3}(?:(:").concat(a,"){0,2}:").concat(i,"|(:").concat(a,"){1,4}|:)|")+"(?:".concat(a,":){2}(?:(:").concat(a,"){0,3}:").concat(i,"|(:").concat(a,"){1,5}|:)|")+"(?:".concat(a,":){1}(?:(:").concat(a,"){0,4}:").concat(i,"|(:").concat(a,"){1,6}|:)|")+"(?::((?::".concat(a,"){0,5}:").concat(i,"|(?::").concat(a,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");function c(d){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,r.default)(d),h=String(h),h?h==="4"?n.test(d):h==="6"?u.test(d):!1:c(d,4)||c(d,6)}t.exports=e.default,t.exports.default=e.default}),kme=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=O;var r=a(Nt()),o=a(Sme()),s=a(qG()),i=a(bM()),n=a(Yu());function a(v){return v&&v.__esModule?v:{default:v}}var u={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:[]},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,h=/^[a-z\d]+$/,y=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,C=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,w=/^([\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,T=254;function A(v){var B=v.replace(/^"(.+)"$/,"$1");if(!B.trim())return!1;var R=/[\.";<>]/.test(B);if(R){if(B===v)return!1;var U=B.split('"').length===B.split('\\"').length;if(!U)return!1}return!0}function O(v,B){if((0,r.default)(v),B=(0,n.default)(B,u),B.require_display_name||B.allow_display_name){var R=v.match(c);if(R){var U=R[1];if(v=v.replace(U,"").replace(/(^<|>$)/g,""),U.endsWith(" ")&&(U=U.slice(0,-1)),!A(U))return!1}else if(B.require_display_name)return!1}if(!B.ignore_max_length&&v.length>T)return!1;var N=v.split("@"),_=N.pop(),L=_.toLowerCase();if(B.host_blacklist.includes(L)||B.host_whitelist.length>0&&!B.host_whitelist.includes(L))return!1;var H=N.join("@");if(B.domain_specific_validation&&(L==="gmail.com"||L==="googlemail.com")){H=H.toLowerCase();var F=H.split("+")[0];if(!(0,o.default)(F.replace(/\./g,""),{min:6,max:30}))return!1;for(var G=F.split("."),l=0;l<G.length;l++)if(!h.test(G[l]))return!1}if(B.ignore_max_length===!1&&(!(0,o.default)(H,{max:64})||!(0,o.default)(_,{max:254})))return!1;if(!(0,s.default)(_,{require_tld:B.require_tld,ignore_max_length:B.ignore_max_length,allow_underscores:B.allow_underscores})){if(!B.allow_ip_domain)return!1;if(!(0,i.default)(_)){if(!_.startsWith("[")||!_.endsWith("]"))return!1;var p=_.slice(1,-1);if(p.length===0||!(0,i.default)(p))return!1}}if(H[0]==='"')return H=H.slice(1,H.length-1),B.allow_utf8_local_part?w.test(H):y.test(H);for(var E=B.allow_utf8_local_part?C:d,g=H.split("."),b=0;b<g.length;b++)if(!E.test(g[b]))return!1;return!(B.blacklisted_chars&&H.search(new RegExp("[".concat(B.blacklisted_chars,"]+"),"g"))!==-1)}t.exports=e.default,t.exports.default=e.default}),Idt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=O;var r=n(Nt()),o=n(qG()),s=n(bM()),i=n(Yu());function n(v){return v&&v.__esModule?v:{default:v}}function a(v,B){return y(v)||h(v,B)||c(v,B)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(v,B){if(v){if(typeof v=="string")return d(v,B);var R=Object.prototype.toString.call(v).slice(8,-1);if(R==="Object"&&v.constructor&&(R=v.constructor.name),R==="Map"||R==="Set")return Array.from(v);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return d(v,B)}}function d(v,B){(B==null||B>v.length)&&(B=v.length);for(var R=0,U=new Array(B);R<B;R++)U[R]=v[R];return U}function h(v,B){var R=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(R!=null){var U,N,_,L,H=[],F=!0,G=!1;try{if(_=(R=R.call(v)).next,B===0){if(Object(R)!==R)return;F=!1}else for(;!(F=(U=_.call(R)).done)&&(H.push(U.value),H.length!==B);F=!0);}catch(l){G=!0,N=l}finally{try{if(!F&&R.return!=null&&(L=R.return(),Object(L)!==L))return}finally{if(G)throw N}}return H}}function y(v){if(Array.isArray(v))return v}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},w=/^\[([^\]]+)\](?::([0-9]+))?$/;function T(v){return Object.prototype.toString.call(v)==="[object RegExp]"}function A(v,B){for(var R=0;R<B.length;R++){var U=B[R];if(v===U||T(U)&&U.test(v))return!0}return!1}function O(v,B){if((0,r.default)(v),!v||/[\s<>]/.test(v)||v.indexOf("mailto:")===0||(B=(0,i.default)(B,C),B.validate_length&&v.length>=2083)||!B.allow_fragments&&v.includes("#")||!B.allow_query_components&&(v.includes("?")||v.includes("&")))return!1;var R,U,N,_,L,H,F,G;if(F=v.split("#"),v=F.shift(),F=v.split("?"),v=F.shift(),F=v.split("://"),F.length>1){if(R=F.shift().toLowerCase(),B.require_valid_protocol&&B.protocols.indexOf(R)===-1)return!1}else{if(B.require_protocol)return!1;if(v.slice(0,2)==="//"){if(!B.allow_protocol_relative_urls)return!1;F[0]=v.slice(2)}}if(v=F.join("://"),v==="")return!1;if(F=v.split("/"),v=F.shift(),v===""&&!B.require_host)return!0;if(F=v.split("@"),F.length>1){if(B.disallow_auth||F[0]===""||(U=F.shift(),U.indexOf(":")>=0&&U.split(":").length>2))return!1;var l=U.split(":"),p=a(l,2),E=p[0],g=p[1];if(E===""&&g==="")return!1}_=F.join("@"),H=null,G=null;var b=_.match(w);if(b?(N="",G=b[1],H=b[2]||null):(F=_.split(":"),N=F.shift(),F.length&&(H=F.join(":"))),H!==null&&H.length>0){if(L=parseInt(H,10),!/^[0-9]+$/.test(H)||L<=0||L>65535)return!1}else if(B.require_port)return!1;return B.host_whitelist?A(N,B.host_whitelist):N===""&&!B.require_host?!0:!(!(0,s.default)(N)&&!(0,o.default)(N,B)&&(!G||!(0,s.default)(G,6))||(N=N||G,B.host_blacklist&&A(N,B.host_blacklist)))}t.exports=e.default,t.exports.default=e.default}),Bdt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=d;var r=o(Nt());function o(h){return h&&h.__esModule?h:{default:h}}var s=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,i=/^([0-9a-fA-F]){12}$/,n=/^([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})$/,u=/^([0-9a-fA-F]){16}$/,c=/^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/;function d(h,y){return(0,r.default)(h),y!=null&&y.eui&&(y.eui=String(y.eui)),y!=null&&y.no_colons||y!=null&&y.no_separators?y.eui==="48"?i.test(h):y.eui==="64"?u.test(h):i.test(h)||u.test(h):y?.eui==="48"?s.test(h)||n.test(h):y?.eui==="64"?a.test(h)||c.test(h):d(h,{eui:"48"})||d(h,{eui:"64"})}t.exports=e.default,t.exports.default=e.default}),Ndt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var r=s(Nt()),o=s(bM());function s(c){return c&&c.__esModule?c:{default:c}}var i=/^\d{1,3}$/,n=32,a=128;function u(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(0,r.default)(c);var h=c.split("/");if(h.length!==2||!i.test(h[1])||h[1].length>1&&h[1].startsWith("0"))return!1;var y=(0,o.default)(h[0],d);if(!y)return!1;var C=null;switch(String(d)){case"4":C=n;break;case"6":C=a;break;default:C=(0,o.default)(h[0],"6")?a:n}return h[1]<=C&&h[1]>=0}t.exports=e.default,t.exports.default=e.default}),Ume=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=w;var r=o(Yu());function o(T){return T&&T.__esModule?T:{default:T}}function s(T,A){return a(T)||n(T,A)||c(T,A)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function n(T,A){var O=T==null?null:typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(O!=null){var v,B,R,U,N=[],_=!0,L=!1;try{if(R=(O=O.call(T)).next,A===0){if(Object(O)!==O)return;_=!1}else for(;!(_=(v=R.call(O)).done)&&(N.push(v.value),N.length!==A);_=!0);}catch(H){L=!0,B=H}finally{try{if(!_&&O.return!=null&&(U=O.return(),Object(U)!==U))return}finally{if(L)throw B}}return N}}function a(T){if(Array.isArray(T))return T}function u(T,A){var O=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!O){if(Array.isArray(T)||(O=c(T))||A&&T&&typeof T.length=="number"){O&&(T=O);var v=0,B=function(){};return{s:B,n:function(){return v>=T.length?{done:!0}:{done:!1,value:T[v++]}},e:function(_){throw _},f:B}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var R=!0,U=!1,N;return{s:function(){O=O.call(T)},n:function(){var _=O.next();return R=_.done,_},e:function(_){U=!0,N=_},f:function(){try{!R&&O.return!=null&&O.return()}finally{if(U)throw N}}}}function c(T,A){if(T){if(typeof T=="string")return d(T,A);var O=Object.prototype.toString.call(T).slice(8,-1);if(O==="Object"&&T.constructor&&(O=T.constructor.name),O==="Map"||O==="Set")return Array.from(T);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return d(T,A)}}function d(T,A){(A==null||A>T.length)&&(A=T.length);for(var O=0,v=new Array(A);O<A;O++)v[O]=T[O];return v}var h={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1};function y(T){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(T)}function C(T,A){for(var O=[],v=Math.min(T.length,A.length),B=0;B<v;B++)O.push([T[B],A[B]]);return O}function w(T,A){if(typeof A=="string"?A=(0,r.default)({format:A},h):A=(0,r.default)(A,h),typeof T=="string"&&y(A.format)){var O=A.delimiters.find(function(g){return A.format.indexOf(g)!==-1}),v=A.strictMode?O:A.delimiters.find(function(g){return T.indexOf(g)!==-1}),B=C(T.split(v),A.format.toLowerCase().split(O)),R={},U=u(B),N;try{for(U.s();!(N=U.n()).done;){var _=s(N.value,2),L=_[0],H=_[1];if(L.length!==H.length)return!1;R[H.charAt(0)]=L}}catch(g){U.e(g)}finally{U.f()}var F=R.y;if(F.startsWith("-"))return!1;if(R.y.length===2){var G=parseInt(R.y,10);if(isNaN(G))return!1;var l=new Date().getFullYear()%100;G<l?F="20".concat(R.y):F="19".concat(R.y)}var p=R.m;R.m.length===1&&(p="0".concat(R.m));var E=R.d;return R.d.length===1&&(E="0".concat(R.d)),new Date("".concat(F,"-").concat(p,"-").concat(E,"T00:00:00.000Z")).getUTCDate()===+R.d}return A.strictMode?!1:Object.prototype.toString.call(T)==="[object Date]"&&isFinite(T)}t.exports=e.default,t.exports.default=e.default}),Wdt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var r=o(Yu());function o(a){return a&&a.__esModule?a:{default:a}}var s={hourFormat:"hour24",mode:"default"},i={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$/}};function n(a,u){return u=(0,r.default)(u,s),typeof a!="string"?!1:i[u.hourFormat][u.mode].test(a)}t.exports=e.default,t.exports.default=e.default}),Kdt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=o(Nt());function o(u){return u&&u.__esModule?u:{default:u}}var s={loose:!1},i=["true","false","1","0"],n=[].concat(i,["yes","no"]);function a(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s;return(0,r.default)(u),c.loose?n.includes(u.toLowerCase()):i.includes(u)}t.exports=e.default,t.exports.default=e.default}),qdt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=v;var r=o(Nt());function o(B){return B&&B.__esModule?B:{default:B}}var s="([A-Za-z]{3}(-[A-Za-z]{3}){0,2})",i="(([a-zA-Z]{2,3}(-".concat(s,")?)|([a-zA-Z]{5,8}))"),n="([A-Za-z]{4})",a="([A-Za-z]{2}|\\d{3})",u="([A-Za-z0-9]{5,8}|(\\d[A-Z-a-z0-9]{3}))",c="(\\d|[A-W]|[Y-Z]|[a-w]|[y-z])",d="(".concat(c,"(-[A-Za-z0-9]{2,8})+)"),h="(x(-[A-Za-z0-9]{1,8})+)",y="((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))",C="((art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang))",w="(".concat(y,"|").concat(C,")"),T="(-|_)",A="".concat(i,"(").concat(T).concat(n,")?(").concat(T).concat(a,")?(").concat(T).concat(u,")*(").concat(T).concat(d,")*(").concat(T).concat(h,")?"),O=new RegExp("(^".concat(h,"$)|(^").concat(w,"$)|(^").concat(A,"$)"));function v(B){return(0,r.default)(B),O.test(B)}t.exports=e.default,t.exports.default=e.default}),jdt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=/^(?!(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}$/;function i(n){if((0,r.default)(n),!s.test(n))return!1;for(var a=0,u=0;u<n.length;u++)u%3===0?a+=n[u]*3:u%3===1?a+=n[u]*7:a+=n[u]*1;return a%10===0}t.exports=e.default,t.exports.default=e.default}),Gdt=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s,e.locales=void 0;var t=o(Nt()),r=U8();function o(n){return n&&n.__esModule?n:{default:n}}function s(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"en-US",u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};(0,t.default)(n);var c=n,d=u.ignore;if(d)if(d instanceof RegExp)c=c.replace(d,"");else if(typeof d=="string")c=c.replace(new RegExp("[".concat(d.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"");else throw new Error("ignore should be instance of a String or RegExp");if(a in r.alpha)return r.alpha[a].test(c);throw new Error("Invalid locale '".concat(a,"'"))}var i=e.locales=Object.keys(r.alpha)}),Vdt=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s,e.locales=void 0;var t=o(Nt()),r=U8();function o(n){return n&&n.__esModule?n:{default:n}}function s(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"en-US",u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};(0,t.default)(n);var c=n,d=u.ignore;if(d)if(d instanceof RegExp)c=c.replace(d,"");else if(typeof d=="string")c=c.replace(new RegExp("[".concat(d.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"");else throw new Error("ignore should be instance of a String or RegExp");if(a in r.alphanumeric)return r.alphanumeric[a].test(c);throw new Error("Invalid locale '".concat(a,"'"))}var i=e.locales=Object.keys(r.alphanumeric)}),Jdt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var r=s(Nt()),o=U8();function s(a){return a&&a.__esModule?a:{default:a}}var i=/^[0-9]+$/;function n(a,u){return(0,r.default)(a),u&&u.no_symbols?i.test(a):new RegExp("^[+-]?([0-9]*[".concat((u||{}).locale?o.decimal[u.locale]:".","])?[0-9]+$")).test(a)}t.exports=e.default,t.exports.default=e.default}),Ydt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s={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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/^[A-Z]{2}\d{7}$/,PL:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TH:/^[A-Z]{1,2}\d{6,7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/,ZA:/^[TAMD]\d{8}$/};function i(n,a){(0,r.default)(n);var u=n.replace(/\s/g,"").toUpperCase();return a.toUpperCase()in s&&s[a].test(u)}t.exports=e.default,t.exports.default=e.default}),GG=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var r=o(Nt());function o(a){return a&&a.__esModule?a:{default:a}}var s=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,i=/^[-+]?[0-9]+$/;function n(a,u){(0,r.default)(a),u=u||{};var c=u.allow_leading_zeroes===!1?s:i,d=!u.hasOwnProperty("min")||a>=u.min,h=!u.hasOwnProperty("max")||a<=u.max,y=!u.hasOwnProperty("lt")||a<u.lt,C=!u.hasOwnProperty("gt")||a>u.gt;return c.test(a)&&d&&h&&y&&C}t.exports=e.default,t.exports.default=e.default}),Qdt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(GG());function o(i){return i&&i.__esModule?i:{default:i}}function s(i){return(0,r.default)(i,{allow_leading_zeroes:!1,min:0,max:65535})}t.exports=e.default,t.exports.default=e.default}),Zdt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i){return(0,r.default)(i),i===i.toLowerCase()}t.exports=e.default,t.exports.default=e.default}),$dt=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i){return(0,r.default)(i),i===i.toUpperCase()}t.exports=e.default,t.exports.default=e.default}),eht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var r=o(Nt());function o(a){return a&&a.__esModule?a:{default:a}}var s=/^[0-9]{15}$/,i=/^\d{2}-\d{6}-\d{6}-\d{1}$/;function n(a,u){(0,r.default)(a),u=u||{};var c=s;if(u.allow_hyphens&&(c=i),!c.test(a))return!1;a=a.replace(/-/g,"");for(var d=0,h=2,y=14,C=0;C<y;C++){var w=a.substring(y-C-1,y-C),T=parseInt(w,10)*h;T>=10?d+=T%10+1:d+=T,h===1?h+=1:h-=1}var A=(10-d%10)%10;return A===parseInt(a.substring(14,15),10)}t.exports=e.default,t.exports.default=e.default}),tht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=/^[\x00-\x7F]+$/;function i(n){return(0,r.default)(n),s.test(n)}t.exports=e.default,t.exports.default=e.default}),Zme=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s,e.fullWidth=void 0;var t=r(Nt());function r(i){return i&&i.__esModule?i:{default:i}}var o=e.fullWidth=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;function s(i){return(0,t.default)(i),o.test(i)}}),$me=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s,e.halfWidth=void 0;var t=r(Nt());function r(i){return i&&i.__esModule?i:{default:i}}var o=e.halfWidth=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;function s(i){return(0,t.default)(i),o.test(i)}}),rht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var r=i(Nt()),o=Zme(),s=$me();function i(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a),o.fullWidth.test(a)&&s.halfWidth.test(a)}t.exports=e.default,t.exports.default=e.default}),nht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=/[^\x00-\x7F]/;function i(n){return(0,r.default)(n),s.test(n)}t.exports=e.default,t.exports.default=e.default}),iht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;function r(o,s){var i=o.join("");return new RegExp(i,s)}t.exports=e.default,t.exports.default=e.default}),sht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var r=s(Nt()),o=s(iht());function s(a){return a&&a.__esModule?a:{default:a}}var i=(0,o.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");function n(a){return(0,r.default)(a),i.test(a)}t.exports=e.default,t.exports.default=e.default}),aht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;function i(n){return(0,r.default)(n),s.test(n)}t.exports=e.default,t.exports.default=e.default}),cht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(s,i){return s.some(function(n){return i===n})},o=e.default=r;t.exports=e.default,t.exports.default=e.default}),lht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=d;var r=n(Yu()),o=n(Nt()),s=n(cht()),i=U8();function n(h){return h&&h.__esModule?h:{default:h}}function a(h){var y=new RegExp("^[-+]?([0-9]+)?(\\".concat(i.decimal[h.locale],"[0-9]{").concat(h.decimal_digits,"})").concat(h.force_decimal?"":"?","$"));return y}var u={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},c=["","-","+"];function d(h,y){if((0,o.default)(h),y=(0,r.default)(y,u),y.locale in i.decimal)return!(0,s.default)(c,h.replace(/ /g,""))&&a(y).test(h);throw new Error("Invalid locale '".concat(y.locale,"'"))}t.exports=e.default,t.exports.default=e.default}),ube=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=/^(0x|0h)?[0-9A-F]+$/i;function i(n){return(0,r.default)(n),s.test(n)}t.exports=e.default,t.exports.default=e.default}),fht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=/^(0o)?[0-7]+$/i;function i(n){return(0,r.default)(n),s.test(n)}t.exports=e.default,t.exports.default=e.default}),hht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=s(Nt()),o=s(dme());function s(n){return n&&n.__esModule?n:{default:n}}function i(n,a){return(0,r.default)(n),(0,o.default)(n)%parseInt(a,10)===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=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;function i(n){return(0,r.default)(n),s.test(n)}t.exports=e.default,t.exports.default=e.default}),mht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var r=o(Nt());function o(c){return c&&c.__esModule?c:{default:c}}var s=/^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])\)$/,i=/^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)?)\)$/,n=/^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)?)\)$/;function u(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,r.default)(c),d?s.test(c)||i.test(c)||n.test(c)||a.test(c):s.test(c)||i.test(c)}t.exports=e.default,t.exports.default=e.default}),bht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var r=o(Nt());function o(a){return a&&a.__esModule?a:{default:a}}var s=/^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,i=/^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;function n(a){(0,r.default)(a);var u=a.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/ig,"$1");return u.indexOf(",")!==-1?s.test(u):i.test(u)}t.exports=e.default,t.exports.default=e.default}),vht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;function i(n){return(0,r.default)(n),s.test(n)}t.exports=e.default,t.exports.default=e.default}),wht=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=a,e.locales=void 0;var t=r(Nt());function r(c){return c&&c.__esModule?c:{default:c}}var o={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}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U:/^(MU[0-9]{2})[A-Z]{4}\d{19}[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}$/};function s(c){var d=c.filter(function(h){return!(h in o)});return!(d.length>0)}function i(c,d){var h=c.replace(/[\s\-]+/gi,"").toUpperCase(),y=h.slice(0,2).toUpperCase(),C=y in o;if(d.whitelist){if(!s(d.whitelist))return!1;var w=d.whitelist.includes(y);if(!w)return!1}if(d.blacklist){var T=d.blacklist.includes(y);if(T)return!1}return C&&o[y].test(h)}function n(c){var d=c.replace(/[^A-Z0-9]+/gi,"").toUpperCase(),h=d.slice(4)+d.slice(0,4),y=h.replace(/[A-Z]/g,function(w){return w.charCodeAt(0)-55}),C=y.match(/\d{1,7}/g).reduce(function(w,T){return Number(w+T)%97},"");return C===1}function a(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,t.default)(c),i(c,d)&&n(c)}var u=e.locales=Object.keys(o)}),ybe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.CountryCodes=void 0,e.default=s;var t=r(Nt());function r(n){return n&&n.__esModule?n:{default:n}}var o=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"]);function s(n){return(0,t.default)(n),o.has(n.toUpperCase())}var i=e.CountryCodes=o}),Aht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var r=s(Nt()),o=ybe();function s(a){return a&&a.__esModule?a:{default:a}}var i=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;function n(a){(0,r.default)(a);var u=a.slice(4,6).toUpperCase();return!o.CountryCodes.has(u)&&u!=="XK"?!1:i.test(a)}t.exports=e.default,t.exports.default=e.default}),Eht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=/^[a-f0-9]{32}$/;function i(n){return(0,r.default)(n),s.test(n)}t.exports=e.default,t.exports.default=e.default}),Tht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s={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};function i(n,a){(0,r.default)(n);var u=new RegExp("^[a-fA-F0-9]{".concat(s[a],"}$"));return u.test(n)}t.exports=e.default,t.exports.default=e.default}),xbe=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var r=s(Nt()),o=s(Yu());function s(c){return c&&c.__esModule?c:{default:c}}var i=/[^A-Z0-9+\/=]/i,n=/^[A-Z0-9_\-]*$/i,a={urlSafe:!1};function u(c,d){(0,r.default)(c),d=(0,o.default)(d,a);var h=c.length;if(d.urlSafe)return n.test(c);if(h%4!==0||i.test(c))return!1;var y=c.indexOf("=");return y===-1||y===h-1||y===h-2&&c[h-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=i;var r=s(Nt()),o=s(xbe());function s(n){return n&&n.__esModule?n:{default:n}}function i(n){(0,r.default)(n);var a=n.split("."),u=a.length;return u!==3?!1:a.reduce(function(c,d){return c&&(0,o.default)(d,{urlSafe:!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=a;var r=s(Nt()),o=s(Yu());function s(u){return u&&u.__esModule?u:{default:u}}function i(u){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},i(u)}var n={allow_primitives:!1};function a(u,c){(0,r.default)(u);try{c=(0,o.default)(c,n);var d=[];c.allow_primitives&&(d=[null,!1,!0]);var h=JSON.parse(u);return d.includes(h)||!!h&&i(h)==="object"}catch{}return!1}t.exports=e.default,t.exports.default=e.default}),kht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var r=s(Nt()),o=s(Yu());function s(a){return a&&a.__esModule?a:{default:a}}var i={ignore_whitespace:!1};function n(a,u){return(0,r.default)(a),u=(0,o.default)(u,i),(u.ignore_whitespace?a.trim().length:a.length)===0}t.exports=e.default,t.exports.default=e.default}),Mht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}function s(n){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},s(n)}function i(n,a){(0,r.default)(n);var u,c;s(a)==="object"?(u=a.min||0,c=a.max):(u=arguments[1]||0,c=arguments[2]);var d=n.match(/(\uFE0F|\uFE0E)/g)||[],h=n.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],y=n.length-d.length-h.length;return y>=u&&(typeof c>"u"||y<=c)}t.exports=e.default,t.exports.default=e.default}),_ht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s={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};function i(n,a){(0,r.default)(n);var u=s[[void 0,null].includes(a)?"all":a];return!!u&&u.test(n)}t.exports=e.default,t.exports.default=e.default}),Nht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=s(Nt()),o=s(ube());function s(n){return n&&n.__esModule?n:{default:n}}function i(n){return(0,r.default)(n),(0,o.default)(n)&&n.length===24}t.exports=e.default,t.exports.default=e.default}),Uht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(DG());function o(i){return i&&i.__esModule?i:{default:i}}function s(i,n){var a=n?.comparisonDate||n||Date().toString(),u=(0,r.default)(a),c=(0,r.default)(i);return!!(c&&u&&c>u)}t.exports=e.default,t.exports.default=e.default}),Wht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=s(Nt()),o=s(DG());function s(n){return n&&n.__esModule?n:{default:n}}function i(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:String(new Date);(0,r.default)(n);var u=(0,o.default)(a),c=(0,o.default)(n);return!!(c&&u&&c<u)}t.exports=e.default,t.exports.default=e.default}),Kht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var r=s(Nt()),o=s(bme());function s(a){return a&&a.__esModule?a:{default:a}}function i(a){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},i(a)}function n(a,u){(0,r.default)(a);var c;if(Object.prototype.toString.call(u)==="[object Array]"){var d=[];for(c in u)({}).hasOwnProperty.call(u,c)&&(d[c]=(0,o.default)(u[c]));return d.indexOf(a)>=0}else{if(i(u)==="object")return u.hasOwnProperty(a);if(u&&typeof u.indexOf=="function")return u.indexOf(a)>=0}return!1}t.exports=e.default,t.exports.default=e.default}),Nbe=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i){(0,r.default)(i);for(var n=i.replace(/[- ]+/g,""),a=0,u,c,d,h=n.length-1;h>=0;h--)u=n.substring(h,h+1),c=parseInt(u,10),d?(c*=2,c>=10?a+=c%10+1:a+=c):a+=c,d=!d;return!!(a%10===0&&n)}t.exports=e.default,t.exports.default=e.default}),qht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=s(Nt()),o=s(Nbe());function s(u){return u&&u.__esModule?u:{default:u}}var i={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})?$/},n=(function(){var u=[];for(var c in i)i.hasOwnProperty(c)&&u.push(i[c]);return u})();function a(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,r.default)(u);var d=c.provider,h=u.replace(/[- ]+/g,"");if(d&&d.toLowerCase()in i){if(!i[d.toLowerCase()].test(h))return!1}else{if(d&&!(d.toLowerCase()in i))throw new Error("".concat(d," is not a valid credit card provider."));if(!n.some(function(y){return y.test(h)}))return!1}return(0,o.default)(u)}t.exports=e.default,t.exports.default=e.default}),Ght=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var r=s(Nt()),o=s(GG());function s(a){return a&&a.__esModule?a:{default:a}}var i={PL:function(a){(0,r.default)(a);var u={1:1,2:3,3:7,4:9,5:1,6:3,7:7,8:9,9:1,10:3,11:0};if(a!=null&&a.length===11&&(0,o.default)(a,{allow_leading_zeroes:!0})){var c=a.split("").slice(0,-1),d=c.reduce(function(C,w,T){return C+Number(w)*u[T+1]},0),h=d%10,y=Number(a.charAt(a.length-1));if(h===0&&y===0||y===10-h)return!0}return!1},ES:function(a){(0,r.default)(a);var u=/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/,c={X:0,Y:1,Z:2},d=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"],h=a.trim().toUpperCase();if(!u.test(h))return!1;var y=h.slice(0,-1).replace(/[X,Y,Z]/g,function(C){return c[C]});return h.endsWith(d[y%23])},FI:function(a){if((0,r.default)(a),a.length!==11||!a.match(/^\d{6}[\-A\+]\d{3}[0-9ABCDEFHJKLMNPRSTUVWXY]{1}$/))return!1;var u="0123456789ABCDEFHJKLMNPRSTUVWXY",c=parseInt(a.slice(0,6),10)*1e3+parseInt(a.slice(7,10),10),d=c%31,h=u[d];return h===a.slice(10,11)},IN:function(a){var u=/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/,c=[[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]],d=[[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]],h=a.trim();if(!u.test(h))return!1;var y=0,C=h.replace(/\s/g,"").split("").map(Number).reverse();return C.forEach(function(w,T){y=c[y][d[T%8][w]]}),y===0},IR:function(a){if(!a.match(/^\d{10}$/)||(a="0000".concat(a).slice(a.length-6),parseInt(a.slice(3,9),10)===0))return!1;for(var u=parseInt(a.slice(9,10),10),c=0,d=0;d<9;d++)c+=parseInt(a.slice(d,d+1),10)*(10-d);return c%=11,c<2&&u===c||c>=2&&u===11-c},IT:function(a){return a.length!==9||a==="CA00000AA"?!1:a.search(/C[A-Z]\d{5}[A-Z]{2}/i)>-1},NO:function(a){var u=a.trim();if(isNaN(Number(u))||u.length!==11||u==="00000000000")return!1;var c=u.split("").map(Number),d=(11-(3*c[0]+7*c[1]+6*c[2]+1*c[3]+8*c[4]+9*c[5]+4*c[6]+5*c[7]+2*c[8])%11)%11,h=(11-(5*c[0]+4*c[1]+3*c[2]+2*c[3]+7*c[4]+6*c[5]+5*c[6]+4*c[7]+3*c[8]+2*d)%11)%11;return!(d!==c[9]||h!==c[10])},TH:function(a){if(!a.match(/^[1-8]\d{12}$/))return!1;for(var u=0,c=0;c<12;c++)u+=parseInt(a[c],10)*(13-c);return a[12]===((11-u%11)%10).toString()},LK:function(a){var u=/^[1-9]\d{8}[vx]$/i,c=/^[1-9]\d{11}$/i;return a.length===10&&u.test(a)?!0:!!(a.length===12&&c.test(a))},"he-IL":function(a){var u=/^\d{9}$/,c=a.trim();if(!u.test(c))return!1;for(var d=c,h=0,y,C=0;C<d.length;C++)y=Number(d[C])*(C%2+1),h+=y>9?y-9:y;return h%10===0},"ar-LY":function(a){var u=/^(1|2)\d{11}$/,c=a.trim();return!!u.test(c)},"ar-TN":function(a){var u=/^\d{8}$/,c=a.trim();return!!u.test(c)},"zh-CN":function(a){var u=["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"],c=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],d=["1","0","X","9","8","7","6","5","4","3","2"],h=function(v){return u.includes(v)},y=function(v){var B=parseInt(v.substring(0,4),10),R=parseInt(v.substring(4,6),10),U=parseInt(v.substring(6),10),N=new Date(B,R-1,U);return N>new Date?!1:N.getFullYear()===B&&N.getMonth()===R-1&&N.getDate()===U},C=function(v){for(var B=v.substring(0,17),R=0,U=0;U<17;U++)R+=parseInt(B.charAt(U),10)*parseInt(c[U],10);var N=R%11;return d[N]},w=function(v){return C(v)===v.charAt(17).toUpperCase()},T=function(v){var B=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(v);if(!B)return!1;var R=v.substring(0,2);if(B=h(R),!B)return!1;var U="19".concat(v.substring(6,12));return B=y(U),!!B},A=function(v){var B=/^[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(v);if(!B)return!1;var R=v.substring(0,2);if(B=h(R),!B)return!1;var U=v.substring(6,14);return B=y(U),B?w(v):!1},O=function(v){var B=/^\d{15}|(\d{17}(\d|x|X))$/.test(v);return B?v.length===15?T(v):A(v):!1};return O(a)},"zh-HK":function(a){a=a.trim();var u=/^[A-Z]{1,2}[0-9]{6}((\([0-9A]\))|(\[[0-9A]\])|([0-9A]))$/,c=/^[0-9]$/;if(a=a.toUpperCase(),!u.test(a))return!1;a=a.replace(/\[|\]|\(|\)/g,""),a.length===8&&(a="3".concat(a));for(var d=0,h=0;h<=7;h++){var y=void 0;c.test(a[h])?y=a[h]:y=(a[h].charCodeAt(0)-55)%11,d+=y*(9-h)}d%=11;var C;return d===0?C="0":d===1?C="A":C=String(11-d),C===a[a.length-1]},"zh-TW":function(a){var u={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},c=a.trim().toUpperCase();return/^[A-Z][0-9]{9}$/.test(c)?Array.from(c).reduce(function(d,h,y){if(y===0){var C=u[h];return C%10*9+Math.floor(C/10)}return y===9?(10-d%10-Number(h))%10===0:d+Number(h)*(9-y)},0):!1}};function n(a,u){if((0,r.default)(a),u in i)return i[u](a);if(u==="any"){for(var c in i)if(i.hasOwnProperty(c)){var d=i[c];if(d(a))return!0}return!1}throw new Error("Invalid locale '".concat(u,"'"))}t.exports=e.default,t.exports.default=e.default}),Vht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var r=o(Nt());function o(d){return d&&d.__esModule?d:{default:d}}var s=8,i=14,n=/^(\d{8}|\d{13}|\d{14})$/;function a(d,h){return d===s||d===i?h%2===0?3:1:h%2===0?1:3}function u(d){var h=d.slice(0,-1).split("").map(function(C,w){return Number(C)*a(d.length,w)}).reduce(function(C,w){return C+w},0),y=10-h%10;return y<10?y:0}function c(d){(0,r.default)(d);var h=Number(d.slice(-1));return n.test(d)&&h===u(d)}t.exports=e.default,t.exports.default=e.default}),Jht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;function i(n){if((0,r.default)(n),!s.test(n))return!1;for(var a=!0,u=0,c=n.length-2;c>=0;c--)if(n[c]>="A"&&n[c]<="Z")for(var d=n[c].charCodeAt(0)-55,h=d%10,y=Math.trunc(d/10),C=0,w=[h,y];C<w.length;C++){var T=w[C];a?T>=5?u+=1+(T-5)*2:u+=T*2:u+=T,a=!a}else{var A=n[c].charCodeAt(0)-48;a?A>=5?u+=1+(A-5)*2:u+=A*2:u+=A,a=!a}var O=Math.trunc((u+9)/10)*10-u;return+n[n.length-1]===O}t.exports=e.default,t.exports.default=e.default}),Xht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=o(Nt());function o(u){return u&&u.__esModule?u:{default:u}}var s=/^(?:[0-9]{9}X|[0-9]{10})$/,i=/^(?:[0-9]{13})$/,n=[1,3];function a(u,c){(0,r.default)(u);var d=String(c?.version||c);if(!(c!=null&&c.version||c))return a(u,{version:10})||a(u,{version:13});var h=u.replace(/[\s-]+/g,""),y=0;if(d==="10"){if(!s.test(h))return!1;for(var C=0;C<d-1;C++)y+=(C+1)*h.charAt(C);if(h.charAt(9)==="X"?y+=100:y+=10*h.charAt(9),y%11===0)return!0}else if(d==="13"){if(!i.test(h))return!1;for(var w=0;w<12;w++)y+=n[w%2]*h.charAt(w);if(h.charAt(12)-(10-y%10)%10===0)return!0}return!1}t.exports=e.default,t.exports.default=e.default}),Yht=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s="^\\d{4}-?\\d{3}[\\dX]$";function i(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,r.default)(n);var u=s;if(u=a.require_hyphen?u.replace("?",""):u,u=a.case_sensitive?new RegExp(u):new RegExp(u,"i"),!u.test(n))return!1;for(var c=n.replace("-","").toUpperCase(),d=0,h=0;h<c.length;h++){var y=c[h];d+=(y==="X"?10:+y)*(8-h)}return d%11===0}t.exports=e.default,t.exports.default=e.default}),Hbe=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.iso7064Check=t,e.luhnCheck=r,e.reverseMultiplyAndSum=o,e.verhoeffCheck=s;function t(i){for(var n=10,a=0;a<i.length-1;a++)n=(parseInt(i[a],10)+n)%10===0?20%11:(parseInt(i[a],10)+n)%10*2%11;return n=n===1?0:11-n,n===parseInt(i[10],10)}function r(i){for(var n=0,a=!1,u=i.length-1;u>=0;u--){if(a){var c=parseInt(i[u],10)*2;c>9?n+=c.toString().split("").map(function(d){return parseInt(d,10)}).reduce(function(d,h){return d+h},0):n+=c}else n+=parseInt(i[u],10);a=!a}return n%10===0}function o(i,n){for(var a=0,u=0;u<i.length;u++)a+=i[u]*(n-u);return a}function s(i){for(var n=[[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]],a=[[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]],u=i.split("").reverse().join(""),c=0,d=0;d<u.length;d++)c=n[c][a[d%8][parseInt(u[d],10)]];return c===0}}),t0t=W((e,t)=>{"use strict";m();function r(ie){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(re){return typeof re}:function(re){return re&&typeof Symbol=="function"&&re.constructor===Symbol&&re!==Symbol.prototype?"symbol":typeof re},r(ie)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=fe;var o=u(Nt()),s=a(Hbe()),i=u(Ume());function n(ie){if(typeof WeakMap!="function")return null;var re=new WeakMap,Oe=new WeakMap;return(n=function(Pe){return Pe?Oe:re})(ie)}function a(ie,re){if(!re&&ie&&ie.__esModule)return ie;if(ie===null||r(ie)!="object"&&typeof ie!="function")return{default:ie};var Oe=n(re);if(Oe&&Oe.has(ie))return Oe.get(ie);var Pe={__proto__:null},Ne=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Xe in ie)if(Xe!=="default"&&{}.hasOwnProperty.call(ie,Xe)){var Je=Ne?Object.getOwnPropertyDescriptor(ie,Xe):null;Je&&(Je.get||Je.set)?Object.defineProperty(Pe,Xe,Je):Pe[Xe]=ie[Xe]}return Pe.default=ie,Oe&&Oe.set(ie,Pe),Pe}function u(ie){return ie&&ie.__esModule?ie:{default:ie}}function c(ie){return C(ie)||y(ie)||h(ie)||d()}function d(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h(ie,re){if(ie){if(typeof ie=="string")return w(ie,re);var Oe=Object.prototype.toString.call(ie).slice(8,-1);if(Oe==="Object"&&ie.constructor&&(Oe=ie.constructor.name),Oe==="Map"||Oe==="Set")return Array.from(ie);if(Oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Oe))return w(ie,re)}}function y(ie){if(typeof Symbol<"u"&&ie[Symbol.iterator]!=null||ie["@@iterator"]!=null)return Array.from(ie)}function C(ie){if(Array.isArray(ie))return w(ie)}function w(ie,re){(re==null||re>ie.length)&&(re=ie.length);for(var Oe=0,Pe=new Array(re);Oe<re;Oe++)Pe[Oe]=ie[Oe];return Pe}function T(ie){var re=ie.slice(0,2),Oe=parseInt(ie.slice(2,4),10);Oe>40?(Oe-=40,re="20".concat(re)):Oe>20?(Oe-=20,re="18".concat(re)):re="19".concat(re),Oe<10&&(Oe="0".concat(Oe));var Pe="".concat(re,"/").concat(Oe,"/").concat(ie.slice(4,6));if(!(0,i.default)(Pe,"YYYY/MM/DD"))return!1;for(var Ne=ie.split("").map(function(Kt){return parseInt(Kt,10)}),Xe=[2,4,8,5,10,9,7,3,6],Je=0,ft=0;ft<Xe.length;ft++)Je+=Ne[ft]*Xe[ft];return Je=Je%11===10?0:Je%11,Je===Ne[9]}function A(ie){var re=ie.split(""),Oe=re.filter(function(Ne,Xe){return Xe%2}).map(function(Ne){return Number(Ne)*2}).join("").split(""),Pe=re.filter(function(Ne,Xe){return!(Xe%2)}).concat(Oe).map(function(Ne){return Number(Ne)}).reduce(function(Ne,Xe){return Ne+Xe});return Pe%10===0}function O(ie){ie=ie.replace(/\W/,"");var re=parseInt(ie.slice(0,2),10);if(ie.length===10)re<54?re="20".concat(re):re="19".concat(re);else{if(ie.slice(6)==="000")return!1;if(re<54)re="19".concat(re);else return!1}re.length===3&&(re=[re.slice(0,2),"0",re.slice(2)].join(""));var Oe=parseInt(ie.slice(2,4),10);if(Oe>50&&(Oe-=50),Oe>20){if(parseInt(re,10)<2004)return!1;Oe-=20}Oe<10&&(Oe="0".concat(Oe));var Pe="".concat(re,"/").concat(Oe,"/").concat(ie.slice(4,6));if(!(0,i.default)(Pe,"YYYY/MM/DD"))return!1;if(ie.length===10&&parseInt(ie,10)%11!==0){var Ne=parseInt(ie.slice(0,9),10)%11;if(parseInt(re,10)<1986&&Ne===10){if(parseInt(ie.slice(9),10)!==0)return!1}else return!1}return!0}function v(ie){return s.luhnCheck(ie)}function B(ie){for(var re=ie.split("").map(function(Kt){return parseInt(Kt,10)}),Oe=[],Pe=0;Pe<re.length-1;Pe++){Oe.push("");for(var Ne=0;Ne<re.length-1;Ne++)re[Pe]===re[Ne]&&(Oe[Pe]+=Ne)}if(Oe=Oe.filter(function(Kt){return Kt.length>1}),Oe.length!==2&&Oe.length!==3)return!1;if(Oe[0].length===3){for(var Xe=Oe[0].split("").map(function(Kt){return parseInt(Kt,10)}),Je=0,ft=0;ft<Xe.length-1;ft++)Xe[ft]+1===Xe[ft+1]&&(Je+=1);if(Je===2)return!1}return s.iso7064Check(ie)}function R(ie){ie=ie.replace(/\W/,"");var re=parseInt(ie.slice(4,6),10),Oe=ie.slice(6,7);switch(Oe){case"0":case"1":case"2":case"3":re="19".concat(re);break;case"4":case"9":re<37?re="20".concat(re):re="19".concat(re);break;default:if(re<37)re="20".concat(re);else if(re>58)re="18".concat(re);else return!1;break}re.length===3&&(re=[re.slice(0,2),"0",re.slice(2)].join(""));var Pe="".concat(re,"/").concat(ie.slice(2,4),"/").concat(ie.slice(0,2));if(!(0,i.default)(Pe,"YYYY/MM/DD"))return!1;for(var Ne=ie.split("").map(function(Kt){return parseInt(Kt,10)}),Xe=0,Je=4,ft=0;ft<9;ft++)Xe+=Ne[ft]*Je,Je-=1,Je===1&&(Je=7);return Xe%=11,Xe===1?!1:Xe===0?Ne[9]===0:Ne[9]===11-Xe}function U(ie){for(var re=ie.slice(0,8).split("").map(function(Xe){return parseInt(Xe,10)}),Oe=0,Pe=1;Pe<re.length;Pe+=2)Oe+=re[Pe];for(var Ne=0;Ne<re.length;Ne+=2)re[Ne]<2?Oe+=1-re[Ne]:(Oe+=2*(re[Ne]-2)+5,re[Ne]>4&&(Oe+=2));return String.fromCharCode(Oe%26+65)===ie.charAt(8)}function N(ie){for(var re=ie.split("").map(function(Ne){return parseInt(Ne,10)}),Oe=0,Pe=0;Pe<8;Pe++)Oe+=re[Pe]*Math.pow(2,8-Pe);return Oe%11%10===re[8]}function _(ie){var re=s.reverseMultiplyAndSum(ie.split("").slice(0,7).map(function(Oe){return parseInt(Oe,10)}),8);return ie.length===9&&ie[8]!=="W"&&(re+=(ie[8].charCodeAt(0)-64)*9),re%=23,re===0?ie[7].toUpperCase()==="W":ie[7].toUpperCase()===String.fromCharCode(64+re)}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 H(){var ie=[];for(var re in L)L.hasOwnProperty(re)&&ie.push.apply(ie,c(L[re]));return ie}function F(ie){return H().indexOf(ie.slice(0,2))!==-1}function G(ie){for(var re=0,Oe=ie.split(""),Pe=parseInt(Oe.pop(),10),Ne=0;Ne<Oe.length;Ne++)re+=Oe[9-Ne]*(2+Ne%6);var Xe=11-re%11;return Xe===11?Xe=0:Xe===10&&(Xe=9),Pe===Xe}function l(ie){var re=ie.toUpperCase().split("");if(isNaN(parseInt(re[0],10))&&re.length>1){var Oe=0;switch(re[0]){case"Y":Oe=1;break;case"Z":Oe=2;break;default:}re.splice(0,1,Oe)}else for(;re.length<9;)re.unshift(0);var Pe=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"];re=re.join("");var Ne=parseInt(re.slice(0,8),10)%23;return re[8]===Pe[Ne]}function p(ie){var re=ie.slice(1,3),Oe=ie.slice(0,1);switch(Oe){case"1":case"2":re="18".concat(re);break;case"3":case"4":re="19".concat(re);break;default:re="20".concat(re);break}var Pe="".concat(re,"/").concat(ie.slice(3,5),"/").concat(ie.slice(5,7));if(!(0,i.default)(Pe,"YYYY/MM/DD"))return!1;for(var Ne=ie.split("").map(function(wt){return parseInt(wt,10)}),Xe=0,Je=1,ft=0;ft<10;ft++)Xe+=Ne[ft]*Je,Je+=1,Je===10&&(Je=1);if(Xe%11===10){Xe=0,Je=3;for(var Kt=0;Kt<10;Kt++)Xe+=Ne[Kt]*Je,Je+=1,Je===10&&(Je=1);if(Xe%11===10)return Ne[10]===0}return Xe%11===Ne[10]}function E(ie){var re=ie.slice(4,6),Oe=ie.slice(6,7);switch(Oe){case"+":re="18".concat(re);break;case"-":re="19".concat(re);break;default:re="20".concat(re);break}var Pe="".concat(re,"/").concat(ie.slice(2,4),"/").concat(ie.slice(0,2));if(!(0,i.default)(Pe,"YYYY/MM/DD"))return!1;var Ne=parseInt(ie.slice(0,6)+ie.slice(7,10),10)%31;if(Ne<10)return Ne===parseInt(ie.slice(10),10);Ne-=10;var Xe=["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"];return Xe[Ne]===ie.slice(10)}function g(ie){if(ie.slice(2,4)!=="00"||ie.slice(4,6)!=="00"){var re="".concat(ie.slice(0,2),"/").concat(ie.slice(2,4),"/").concat(ie.slice(4,6));if(!(0,i.default)(re,"YY/MM/DD"))return!1}var Oe=97-parseInt(ie.slice(0,9),10)%97,Pe=parseInt(ie.slice(9,11),10);return!(Oe!==Pe&&(Oe=97-parseInt("2".concat(ie.slice(0,9)),10)%97,Oe!==Pe))}function b(ie){ie=ie.replace(/\s/g,"");var re=parseInt(ie.slice(0,10),10)%511,Oe=parseInt(ie.slice(10,13),10);return re===Oe}function k(ie){var re="".concat(ie.slice(0,4),"/").concat(ie.slice(4,6),"/").concat(ie.slice(6,8));return!(0,i.default)(re,"YYYY/MM/DD")||!s.luhnCheck(ie.slice(0,12))?!1:s.verhoeffCheck("".concat(ie.slice(0,11)).concat(ie[12]))}function x(ie){return s.iso7064Check(ie)}function S(ie){for(var re=ie.split("").map(function(Ne){return parseInt(Ne,10)}),Oe=8,Pe=1;Pe<9;Pe++)Oe+=re[Pe]*(Pe+1);return Oe%11===re[9]}function f(ie){for(var re=!1,Oe=!1,Pe=0;Pe<3;Pe++)if(!re&&/[AEIOU]/.test(ie[Pe]))re=!0;else if(!Oe&&re&&ie[Pe]==="X")Oe=!0;else if(Pe>0&&(re&&!Oe&&!/[AEIOU]/.test(ie[Pe])||Oe&&!/X/.test(ie[Pe])))return!1;return!0}function M(ie){var re=ie.toUpperCase().split("");if(!f(re.slice(0,3))||!f(re.slice(3,6)))return!1;for(var Oe=[6,7,9,10,12,13,14],Pe={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},Ne=0,Xe=Oe;Ne<Xe.length;Ne++){var Je=Xe[Ne];re[Je]in Pe&&re.splice(Je,1,Pe[re[Je]])}var ft={A:"01",B:"02",C:"03",D:"04",E:"05",H:"06",L:"07",M:"08",P:"09",R:"10",S:"11",T:"12"},Kt=ft[re[8]],wt=parseInt(re[9]+re[10],10);wt>40&&(wt-=40),wt<10&&(wt="0".concat(wt));var Ie="".concat(re[6]).concat(re[7],"/").concat(Kt,"/").concat(wt);if(!(0,i.default)(Ie,"YY/MM/DD"))return!1;for(var it=0,Ye=1;Ye<re.length-1;Ye+=2){var et=parseInt(re[Ye],10);isNaN(et)&&(et=re[Ye].charCodeAt(0)-65),it+=et}for(var Gt={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},It=0;It<re.length-1;It+=2){var Rt=0;if(re[It]in Gt)Rt=Gt[re[It]];else{var _r=parseInt(re[It],10);Rt=2*_r+1,_r>4&&(Rt+=2)}it+=Rt}return String.fromCharCode(65+it%26)===re[15]}function V(ie){ie=ie.replace(/\W/,"");var re=ie.slice(0,2);if(re!=="32"){var Oe=ie.slice(2,4);if(Oe!=="00"){var Pe=ie.slice(4,6);switch(ie[6]){case"0":Pe="18".concat(Pe);break;case"1":Pe="19".concat(Pe);break;default:Pe="20".concat(Pe);break}var Ne="".concat(Pe,"/").concat(ie.slice(2,4),"/").concat(re);if(!(0,i.default)(Ne,"YYYY/MM/DD"))return!1}for(var Xe=1101,Je=[1,6,3,7,9,10,5,8,4,2],ft=0;ft<ie.length-1;ft++)Xe-=parseInt(ie[ft],10)*Je[ft];return parseInt(ie[10],10)===Xe%11}return!0}function D(ie){if(ie.length!==9){for(var re=ie.toUpperCase().split("");re.length<8;)re.unshift(0);switch(ie[7]){case"A":case"P":if(parseInt(re[6],10)===0)return!1;break;default:{var Oe=parseInt(re.join("").slice(0,5),10);if(Oe>32e3)return!1;var Pe=parseInt(re.join("").slice(5,7),10);if(Oe===Pe)return!1}}}return!0}function j(ie){return s.reverseMultiplyAndSum(ie.split("").slice(0,8).map(function(re){return parseInt(re,10)}),9)%11===parseInt(ie[8],10)}function Y(ie){if(ie.length===10){for(var re=[6,5,7,2,3,4,5,6,7],Oe=0,Pe=0;Pe<re.length;Pe++)Oe+=parseInt(ie[Pe],10)*re[Pe];return Oe%=11,Oe===10?!1:Oe===parseInt(ie[9],10)}var Ne=ie.slice(0,2),Xe=parseInt(ie.slice(2,4),10);Xe>80?(Ne="18".concat(Ne),Xe-=80):Xe>60?(Ne="22".concat(Ne),Xe-=60):Xe>40?(Ne="21".concat(Ne),Xe-=40):Xe>20?(Ne="20".concat(Ne),Xe-=20):Ne="19".concat(Ne),Xe<10&&(Xe="0".concat(Xe));var Je="".concat(Ne,"/").concat(Xe,"/").concat(ie.slice(4,6));if(!(0,i.default)(Je,"YYYY/MM/DD"))return!1;for(var ft=0,Kt=1,wt=0;wt<ie.length-1;wt++)ft+=parseInt(ie[wt],10)*Kt%10,Kt+=2,Kt>10?Kt=1:Kt===5&&(Kt+=2);return ft=10-ft%10,ft===parseInt(ie[10],10)}function oe(ie){if(ie.length===11){var re,Oe;if(re=0,ie==="11111111111"||ie==="22222222222"||ie==="33333333333"||ie==="44444444444"||ie==="55555555555"||ie==="66666666666"||ie==="77777777777"||ie==="88888888888"||ie==="99999999999"||ie==="00000000000")return!1;for(var Pe=1;Pe<=9;Pe++)re+=parseInt(ie.substring(Pe-1,Pe),10)*(11-Pe);if(Oe=re*10%11,Oe===10&&(Oe=0),Oe!==parseInt(ie.substring(9,10),10))return!1;re=0;for(var Ne=1;Ne<=10;Ne++)re+=parseInt(ie.substring(Ne-1,Ne),10)*(12-Ne);return Oe=re*10%11,Oe===10&&(Oe=0),Oe===parseInt(ie.substring(10,11),10)}if(ie==="00000000000000"||ie==="11111111111111"||ie==="22222222222222"||ie==="33333333333333"||ie==="44444444444444"||ie==="55555555555555"||ie==="66666666666666"||ie==="77777777777777"||ie==="88888888888888"||ie==="99999999999999")return!1;for(var Xe=ie.length-2,Je=ie.substring(0,Xe),ft=ie.substring(Xe),Kt=0,wt=Xe-7,Ie=Xe;Ie>=1;Ie--)Kt+=Je.charAt(Xe-Ie)*wt,wt-=1,wt<2&&(wt=9);var it=Kt%11<2?0:11-Kt%11;if(it!==parseInt(ft.charAt(0),10))return!1;Xe+=1,Je=ie.substring(0,Xe),Kt=0,wt=Xe-7;for(var Ye=Xe;Ye>=1;Ye--)Kt+=Je.charAt(Xe-Ye)*wt,wt-=1,wt<2&&(wt=9);return it=Kt%11<2?0:11-Kt%11,it===parseInt(ft.charAt(1),10)}function de(ie){var re=11-s.reverseMultiplyAndSum(ie.split("").slice(0,8).map(function(Oe){return parseInt(Oe,10)}),9)%11;return re>9?parseInt(ie[8],10)===0:re===parseInt(ie[8],10)}function ue(ie){if(ie.slice(0,4)!=="9000"){var re=ie.slice(1,3);switch(ie[0]){case"1":case"2":re="19".concat(re);break;case"3":case"4":re="18".concat(re);break;case"5":case"6":re="20".concat(re);break;default:}var Oe="".concat(re,"/").concat(ie.slice(3,5),"/").concat(ie.slice(5,7));if(Oe.length===8){if(!(0,i.default)(Oe,"YY/MM/DD"))return!1}else if(!(0,i.default)(Oe,"YYYY/MM/DD"))return!1;for(var Pe=ie.split("").map(function(ft){return parseInt(ft,10)}),Ne=[2,7,9,1,4,6,3,5,8,2,7,9],Xe=0,Je=0;Je<Ne.length;Je++)Xe+=Pe[Je]*Ne[Je];return Xe%11===10?Pe[12]===1:Pe[12]===Xe%11}return!0}function ae(ie){if(ie.length===9){if(ie=ie.replace(/\W/,""),ie.slice(6)==="000")return!1;var re=parseInt(ie.slice(0,2),10);if(re>53)return!1;re<10?re="190".concat(re):re="19".concat(re);var Oe=parseInt(ie.slice(2,4),10);Oe>50&&(Oe-=50),Oe<10&&(Oe="0".concat(Oe));var Pe="".concat(re,"/").concat(Oe,"/").concat(ie.slice(4,6));if(!(0,i.default)(Pe,"YYYY/MM/DD"))return!1}return!0}function q(ie){var re=11-s.reverseMultiplyAndSum(ie.split("").slice(0,7).map(function(Oe){return parseInt(Oe,10)}),8)%11;return re===10?parseInt(ie[7],10)===0:re===parseInt(ie[7],10)}function ne(ie){var re=ie.slice(0);ie.length>11&&(re=re.slice(2));var Oe="",Pe=re.slice(2,4),Ne=parseInt(re.slice(4,6),10);if(ie.length>11)Oe=ie.slice(0,4);else if(Oe=ie.slice(0,2),ie.length===11&&Ne<60){var Xe=new Date().getFullYear().toString(),Je=parseInt(Xe.slice(0,2),10);if(Xe=parseInt(Xe,10),ie[6]==="-")parseInt("".concat(Je).concat(Oe),10)>Xe?Oe="".concat(Je-1).concat(Oe):Oe="".concat(Je).concat(Oe);else if(Oe="".concat(Je-1).concat(Oe),Xe-parseInt(Oe,10)<100)return!1}Ne>60&&(Ne-=60),Ne<10&&(Ne="0".concat(Ne));var ft="".concat(Oe,"/").concat(Pe,"/").concat(Ne);if(ft.length===8){if(!(0,i.default)(ft,"YY/MM/DD"))return!1}else if(!(0,i.default)(ft,"YYYY/MM/DD"))return!1;return s.luhnCheck(ie.replace(/\W/,""))}function me(ie){for(var re=ie.split("").map(function(Xe){return parseInt(Xe,10)}),Oe=[-1,5,7,9,4,6,10,5,7],Pe=0,Ne=0;Ne<Oe.length;Ne++)Pe+=re[Ne]*Oe[Ne];return Pe%11===10?re[9]===0:re[9]===Pe%11}var ve={"bg-BG":/^\d{10}$/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"]=ve["fr-LU"],ve["lt-LT"]=ve["et-EE"],ve["nl-BE"]=ve["fr-BE"],ve["fr-CA"]=ve["en-CA"];var ge={"bg-BG":T,"cs-CZ":O,"de-AT":v,"de-DE":B,"dk-DK":R,"el-CY":U,"el-GR":N,"en-CA":A,"en-IE":_,"en-US":F,"es-AR":G,"es-ES":l,"et-EE":p,"fi-FI":E,"fr-BE":g,"fr-FR":b,"fr-LU":k,"hr-HR":x,"hu-HU":S,"it-IT":M,"lv-LV":V,"mt-MT":D,"nl-NL":j,"pl-PL":Y,"pt-BR":oe,"pt-PT":de,"ro-RO":ue,"sk-SK":ae,"sl-SI":q,"sv-SE":ne,"uk-UA":me};ge["lb-LU"]=ge["fr-LU"],ge["lt-LT"]=ge["et-EE"],ge["nl-BE"]=ge["fr-BE"],ge["fr-CA"]=ge["en-CA"];var ce=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,ee={"de-AT":ce,"de-DE":/[\/\\]/g,"fr-BE":ce};ee["nl-BE"]=ee["fr-BE"];function fe(ie){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"en-US";(0,o.default)(ie);var Oe=ie.slice(0);if(re in ve)return re in ee&&(Oe=Oe.replace(ee[re],"")),ve[re].test(Oe)?re in ge?ge[re](Oe):!0:!1;throw new Error("Invalid locale '".concat(re,"'"))}t.exports=e.default,t.exports.default=e.default}),r0t=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s,e.locales=void 0;var t=r(Nt());function r(n){return n&&n.__esModule?n:{default:n}}var o={"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})$/};o["en-CA"]=o["en-US"],o["fr-CA"]=o["en-CA"],o["fr-BE"]=o["nl-BE"],o["zh-HK"]=o["en-HK"],o["zh-MO"]=o["en-MO"],o["ga-IE"]=o["en-IE"],o["fr-CH"]=o["de-CH"],o["it-CH"]=o["fr-CH"];function s(n,a,u){if((0,t.default)(n),u&&u.strictMode&&!n.startsWith("+"))return!1;if(Array.isArray(a))return a.some(function(h){if(o.hasOwnProperty(h)){var y=o[h];if(y.test(n))return!0}return!1});if(a in o)return o[a].test(n);if(!a||a==="any"){for(var c in o)if(o.hasOwnProperty(c)){var d=o[c];if(d.test(n))return!0}return!1}throw new Error("Invalid locale '".concat(a,"'"))}var i=e.locales=Object.keys(o)}),n0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=/^(0x)[0-9a-f]{40}$/i;function i(n){return(0,r.default)(n),s.test(n)}t.exports=e.default,t.exports.default=e.default}),o0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=s(Yu()),o=s(Nt());function s(u){return u&&u.__esModule?u:{default:u}}function i(u){var c="\\d{".concat(u.digits_after_decimal[0],"}");u.digits_after_decimal.forEach(function(v,B){B!==0&&(c="".concat(c,"|\\d{").concat(v,"}"))});var d="(".concat(u.symbol.replace(/\W/,function(v){return"\\".concat(v)}),")").concat(u.require_symbol?"":"?"),h="-?",y="[1-9]\\d*",C="[1-9]\\d{0,2}(\\".concat(u.thousands_separator,"\\d{3})*"),w=["0",y,C],T="(".concat(w.join("|"),")?"),A="(\\".concat(u.decimal_separator,"(").concat(c,"))").concat(u.require_decimal?"":"?"),O=T+(u.allow_decimal||u.require_decimal?A:"");return u.allow_negatives&&!u.parens_for_negatives&&(u.negative_sign_after_digits?O+=h:u.negative_sign_before_digits&&(O=h+O)),u.allow_negative_sign_placeholder?O="( (?!\\-))?".concat(O):u.allow_space_after_symbol?O=" ?".concat(O):u.allow_space_after_digits&&(O+="( (?!$))?"),u.symbol_after_digits?O+=d:O=d+O,u.allow_negatives&&(u.parens_for_negatives?O="(\\(".concat(O,"\\)|").concat(O,")"):u.negative_sign_before_digits||u.negative_sign_after_digits||(O=h+O)),new RegExp("^(?!-? )(?=.*\\d)".concat(O,"$"))}var n={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};function a(u,c){return(0,o.default)(u),c=(0,r.default)(c,n),i(c).test(u)}t.exports=e.default,t.exports.default=e.default}),s0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var r=o(Nt());function o(a){return a&&a.__esModule?a:{default:a}}var s=/^(bc1)[a-z0-9]{25,39}$/,i=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;function n(a){return(0,r.default)(a),s.test(a)||i.test(a)}t.exports=e.default,t.exports.default=e.default}),c0t=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.isFreightContainerID=void 0,e.isISO6346=i;var t=r(Nt());function r(a){return a&&a.__esModule?a:{default:a}}var o=/^[A-Z]{3}(U[0-9]{7})|([J,Z][0-9]{6,7})$/,s=/^[0-9]$/;function i(a){if((0,t.default)(a),a=a.toUpperCase(),!o.test(a))return!1;if(a.length===11){for(var u=0,c=0;c<a.length-1;c++)if(s.test(a[c]))u+=a[c]*Math.pow(2,c);else{var d=void 0,h=a.charCodeAt(c)-55;h<11?d=h:h>=11&&h<=20?d=12+h%11:h>=21&&h<=30?d=23+h%21:d=34+h%31,u+=d*Math.pow(2,c)}var y=u%11;return Number(a[a.length-1])===y}return!0}var n=e.isFreightContainerID=i}),u0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=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"]);function i(n){return(0,r.default)(n),s.has(n)}t.exports=e.default,t.exports.default=e.default}),l0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=o(Nt());function o(u){return u&&u.__esModule?u:{default:u}}var s=/^([\+-]?\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)?)?)?)?$/,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]((([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)?)?)?)?$/,n=function(u){var c=u.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(c){var d=Number(c[1]),h=Number(c[2]);return d%4===0&&d%100!==0||d%400===0?h<=366:h<=365}var y=u.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),C=y[1],w=y[2],T=y[3],A=w&&"0".concat(w).slice(-2),O=T&&"0".concat(T).slice(-2),v=new Date("".concat(C,"-").concat(A||"01","-").concat(O||"01"));return w&&T?v.getUTCFullYear()===C&&v.getUTCMonth()+1===w&&v.getUTCDate()===T:!0};function a(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,r.default)(u);var d=c.strictSeparator?i.test(u):s.test(u);return d&&c.strict?n(u):d}t.exports=e.default,t.exports.default=e.default}),h0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=O;var r=o(Nt());function o(v){return v&&v.__esModule?v:{default:v}}var s=/[0-9]{4}/,i=/(0[1-9]|1[0-2])/,n=/([12]\d|0[1-9]|3[01])/,a=/([01][0-9]|2[0-3])/,u=/[0-5][0-9]/,c=/([0-5][0-9]|60)/,d=/(\.[0-9]+)?/,h=new RegExp("[-+]".concat(a.source,":").concat(u.source)),y=new RegExp("([zZ]|".concat(h.source,")")),C=new RegExp("".concat(a.source,":").concat(u.source,":").concat(c.source).concat(d.source)),w=new RegExp("".concat(s.source,"-").concat(i.source,"-").concat(n.source)),T=new RegExp("".concat(C.source).concat(y.source)),A=new RegExp("^".concat(w.source,"[ tT]").concat(T.source,"$"));function O(v){return(0,r.default)(v),A.test(v)}t.exports=e.default,t.exports.default=e.default}),p0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=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"]);function i(n){return(0,r.default)(n),s.has(n.toUpperCase())}t.exports=e.default,t.exports.default=e.default}),y0t=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.CurrencyCodes=void 0,e.default=s;var t=r(Nt());function r(n){return n&&n.__esModule?n:{default:n}}var o=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"]);function s(n){return(0,t.default)(n),o.has(n.toUpperCase())}var i=e.CurrencyCodes=o}),b0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var r=s(Nt()),o=s(Yu());function s(c){return c&&c.__esModule?c:{default:c}}var i=/^[A-Z2-7]+=*$/,n=/^[A-HJKMNP-TV-Z0-9]+$/,a={crockford:!1};function u(c,d){if((0,r.default)(c),d=(0,o.default)(d,a),d.crockford)return n.test(c);var h=c.length;return!!(h%8===0&&i.test(c))}t.exports=e.default,t.exports.default=e.default}),v0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=/^[A-HJ-NP-Za-km-z1-9]*$/;function i(n){return(0,r.default)(n),!!s.test(n)}t.exports=e.default,t.exports.default=e.default}),w0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=o(Nt());function o(u){return u&&u.__esModule?u:{default:u}}var s=/^[a-z]+\/[a-z0-9\-\+\._]+$/i,i=/^[a-z\-]+=[a-z0-9\-]+$/i,n=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;function a(u){(0,r.default)(u);var c=u.split(",");if(c.length<2)return!1;var d=c.shift().trim().split(";"),h=d.shift();if(h.slice(0,5)!=="data:")return!1;var y=h.slice(5);if(y!==""&&!s.test(y))return!1;for(var C=0;C<d.length;C++)if(!(C===d.length-1&&d[C].toLowerCase()==="base64")&&!i.test(d[C]))return!1;for(var w=0;w<c.length;w++)if(!n.test(c[w]))return!1;return!0}t.exports=e.default,t.exports.default=e.default}),x0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=/(?:^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;function i(n){return(0,r.default)(n),n.indexOf("magnet:?")!==0?!1:s.test(n)}t.exports=e.default,t.exports.default=e.default}),sve=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i,n){if((0,r.default)(i),n){var a=new RegExp("[".concat(n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g");return i.replace(a,"")}for(var u=i.length-1;/\s/.test(i.charAt(u));)u-=1;return i.slice(0,u+1)}t.exports=e.default,t.exports.default=e.default}),cve=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i,n){(0,r.default)(i);var a=n?new RegExp("^[".concat(n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return i.replace(a,"")}t.exports=e.default,t.exports.default=e.default}),lve=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=s(sve()),o=s(cve());function s(n){return n&&n.__esModule?n:{default:n}}function i(n,a){return(0,r.default)((0,o.default)(n,a),a)}t.exports=e.default,t.exports.default=e.default}),C0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=w;var r=i(lve()),o=i(kme()),s=i(Nt());function i(T){return T&&T.__esModule?T:{default:T}}function n(T,A){return c(T)||u(T,A)||h(T,A)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(T,A){var O=T==null?null:typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(O!=null){var v,B,R,U,N=[],_=!0,L=!1;try{if(R=(O=O.call(T)).next,A===0){if(Object(O)!==O)return;_=!1}else for(;!(_=(v=R.call(O)).done)&&(N.push(v.value),N.length!==A);_=!0);}catch(H){L=!0,B=H}finally{try{if(!_&&O.return!=null&&(U=O.return(),Object(U)!==U))return}finally{if(L)throw B}}return N}}function c(T){if(Array.isArray(T))return T}function d(T,A){var O=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!O){if(Array.isArray(T)||(O=h(T))||A&&T&&typeof T.length=="number"){O&&(T=O);var v=0,B=function(){};return{s:B,n:function(){return v>=T.length?{done:!0}:{done:!1,value:T[v++]}},e:function(_){throw _},f:B}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var R=!0,U=!1,N;return{s:function(){O=O.call(T)},n:function(){var _=O.next();return R=_.done,_},e:function(_){U=!0,N=_},f:function(){try{!R&&O.return!=null&&O.return()}finally{if(U)throw N}}}}function h(T,A){if(T){if(typeof T=="string")return y(T,A);var O=Object.prototype.toString.call(T).slice(8,-1);if(O==="Object"&&T.constructor&&(O=T.constructor.name),O==="Map"||O==="Set")return Array.from(T);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return y(T,A)}}function y(T,A){(A==null||A>T.length)&&(A=T.length);for(var O=0,v=new Array(A);O<A;O++)v[O]=T[O];return v}function C(T){var A=new Set(["subject","body","cc","bcc"]),O={cc:"",bcc:""},v=!1,B=T.split("&");if(B.length>4)return!1;var R=d(B),U;try{for(R.s();!(U=R.n()).done;){var N=U.value,_=N.split("="),L=n(_,2),H=L[0],F=L[1];if(H&&!A.has(H)){v=!0;break}F&&(H==="cc"||H==="bcc")&&(O[H]=F),H&&A.delete(H)}}catch(G){R.e(G)}finally{R.f()}return v?!1:O}function w(T,A){if((0,s.default)(T),T.indexOf("mailto:")!==0)return!1;var O=T.replace("mailto:","").split("?"),v=n(O,2),B=v[0],R=v[1],U=R===void 0?"":R;if(!B&&!U)return!0;var N=C(U);return N?"".concat(B,",").concat(N.cc,",").concat(N.bcc).split(",").every(function(_){return _=(0,r.default)(_," "),_?(0,o.default)(_,A):!0}):!1}t.exports=e.default,t.exports.default=e.default}),I0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=o(Nt());function o(u){return u&&u.__esModule?u:{default:u}}var s=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+_]{1,100}$/i,i=/^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,n=/^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;function a(u){return(0,r.default)(u),s.test(u)||i.test(u)||n.test(u)}t.exports=e.default,t.exports.default=e.default}),P0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=d;var r=s(Nt()),o=s(Yu());function s(h){return h&&h.__esModule?h:{default:h}}var i=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,n=/^\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,u=/^\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,c={checkDMS:!1};function d(h,y){if((0,r.default)(h),y=(0,o.default)(y,c),!h.includes(","))return!1;var C=h.split(",");return C[0].startsWith("(")&&!C[1].endsWith(")")||C[1].endsWith(")")&&!C[0].startsWith("(")?!1:y.checkDMS?a.test(C[0])&&u.test(C[1]):i.test(C[0])&&n.test(C[1])}t.exports=e.default,t.exports.default=e.default}),k0t=W(e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=c,e.locales=void 0;var t=r(Nt());function r(d){return d&&d.__esModule?d:{default:d}}var o=/^\d{3}$/,s=/^\d{4}$/,i=/^\d{5}$/,n=/^\d{6}$/,a={AD:/^AD\d{3}$/,AT:s,AU:s,AZ:/^AZ\d{4}$/,BA:/^([7-8]\d{4}$)/,BE:s,BG:s,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:s,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:i,DK:s,DO:i,DZ:i,EE:i,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:i,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:s,ID:i,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:o,IT:i,JP:/^\d{3}\-\d{4}$/,KE:i,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:s,LV:/^LV\-\d{4}$/,LK:i,MG:o,MX:i,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:i,NL:/^[1-9]\d{3}\s?(?!sa|sd|ss)[a-z]{2}$/i,NO:s,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:s,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:n,RU:n,SA:i,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:n,SI:s,SK:/^\d{3}\s?\d{2}$/,TH:i,TN:s,TW:/^\d{3}(\d{2})?$/,UA:i,US:/^\d{5}(-\d{4})?$/,ZA:s,ZM:i},u=e.locales=Object.keys(a);function c(d,h){if((0,t.default)(d),h in a)return a[h].test(d);if(h==="any"){for(var y in a)if(a.hasOwnProperty(y)){var C=a[y];if(C.test(d))return!0}return!1}throw new Error("Invalid locale '".concat(h,"'"))}}),M0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i){return(0,r.default)(i),i.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")}t.exports=e.default,t.exports.default=e.default}),_0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i){return(0,r.default)(i),i.replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#x2F;/g,"/").replace(/&#x5C;/g,"\\").replace(/&#96;/g,"`").replace(/&amp;/g,"&")}t.exports=e.default,t.exports.default=e.default}),vve=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i,n){return(0,r.default)(i),i.replace(new RegExp("[".concat(n,"]+"),"g"),"")}t.exports=e.default,t.exports.default=e.default}),N0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=s(Nt()),o=s(vve());function s(n){return n&&n.__esModule?n:{default:n}}function i(n,a){(0,r.default)(n);var u=a?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,o.default)(n,u)}t.exports=e.default,t.exports.default=e.default}),D0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i,n){return(0,r.default)(i),i.replace(new RegExp("[^".concat(n,"]+"),"g"),"")}t.exports=e.default,t.exports.default=e.default}),U0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(Nt());function o(i){return i&&i.__esModule?i:{default:i}}function s(i,n){(0,r.default)(i);for(var a=i.length-1;a>=0;a--)if(n.indexOf(i[a])===-1)return!1;return!0}t.exports=e.default,t.exports.default=e.default}),L0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=d;var r=o(Yu());function o(h){return h&&h.__esModule?h:{default:h}}var s={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},i=["icloud.com","me.com"],n=["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"],u=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function c(h){return h.length>1?h:""}function d(h,y){y=(0,r.default)(y,s);var C=h.split("@"),w=C.pop(),T=C.join("@"),A=[T,w];if(A[1]=A[1].toLowerCase(),A[1]==="gmail.com"||A[1]==="googlemail.com"){if(y.gmail_remove_subaddress&&(A[0]=A[0].split("+")[0]),y.gmail_remove_dots&&(A[0]=A[0].replace(/\.+/g,c)),!A[0].length)return!1;(y.all_lowercase||y.gmail_lowercase)&&(A[0]=A[0].toLowerCase()),A[1]=y.gmail_convert_googlemaildotcom?"gmail.com":A[1]}else if(i.indexOf(A[1])>=0){if(y.icloud_remove_subaddress&&(A[0]=A[0].split("+")[0]),!A[0].length)return!1;(y.all_lowercase||y.icloud_lowercase)&&(A[0]=A[0].toLowerCase())}else if(n.indexOf(A[1])>=0){if(y.outlookdotcom_remove_subaddress&&(A[0]=A[0].split("+")[0]),!A[0].length)return!1;(y.all_lowercase||y.outlookdotcom_lowercase)&&(A[0]=A[0].toLowerCase())}else if(a.indexOf(A[1])>=0){if(y.yahoo_remove_subaddress){var O=A[0].split("-");A[0]=O.length>1?O.slice(0,-1).join("-"):O[0]}if(!A[0].length)return!1;(y.all_lowercase||y.yahoo_lowercase)&&(A[0]=A[0].toLowerCase())}else u.indexOf(A[1])>=0?((y.all_lowercase||y.yandex_lowercase)&&(A[0]=A[0].toLowerCase()),A[1]="yandex.ru"):y.all_lowercase&&(A[0]=A[0].toLowerCase());return A.join("@")}t.exports=e.default,t.exports.default=e.default}),F0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/;function i(n){return(0,r.default)(n),s.test(n)}t.exports=e.default,t.exports.default=e.default}),W0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=o(Nt());function o(n){return n&&n.__esModule?n:{default:n}}var s={"cs-CZ":function(n){return/^(([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|ÖHR|OHV|OHZ|OPR|OSL|OVI|OVL|OVP|PAF|PAN|PAR|PCH|PEG|PIR|PLÖ|PRÜ|QFT|QLB|RDG|REG|REH|REI|RID|RIE|ROD|ROF|ROK|ROL|ROS|ROT|ROW|RSL|RÜD|RÜG|SAB|SAD|SAN|SAW|SBG|SBK|SCZ|SDH|SDL|SDT|SEB|SEE|SEF|SEL|SFB|SFT|SGH|SHA|SHG|SHK|SHL|SIG|SIM|SLE|SLF|SLK|SLN|SLS|SLÜ|SLZ|SMÜ|SOB|SOG|SOK|SÖM|SON|SPB|SPN|SRB|SRO|STA|STB|STD|STE|STL|SUL|SÜW|SWA|SZB|TBB|TDO|TET|TIR|TÖL|TUT|UEM|UER|UFF|USI|VAI|VEC|VER|VIB|VIE|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(n)},"de-LI":function(n){return/^FL[- ]?\d{1,5}[UZ]?$/.test(n)},"en-IN":function(n){return/^[A-Z]{2}[ -]?[0-9]{1,2}(?:[ -]?[A-Z])(?:[ -]?[A-Z]*)?[ -]?[0-9]{4}$/.test(n)},"es-AR":function(n){return/^(([A-Z]{2} ?[0-9]{3} ?[A-Z]{2})|([A-Z]{3} ?[0-9]{3}))$/.test(n)},"fi-FI":function(n){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(n)},"hu-HU":function(n){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(n)},"pt-BR":function(n){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(n)},"pt-PT":function(n){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(n)},"sq-AL":function(n){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(n)},"sv-SE":function(n){return/^[A-HJ-PR-UW-Z]{3} ?[\d]{2}[A-HJ-PR-UW-Z1-9]$|(^[A-ZÅÄÖ ]{2,7}$)/.test(n.trim())},"en-PK":function(n){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(n.trim())}};function i(n,a){if((0,r.default)(n),a in s)return s[a](n);if(a==="any"){for(var u in s){var c=s[u];if(c(n))return!0}return!1}throw new Error("Invalid locale '".concat(a,"'"))}t.exports=e.default,t.exports.default=e.default}),K0t=W((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=C;var r=s(Yu()),o=s(Nt());function s(w){return w&&w.__esModule?w:{default:w}}var i=/^[A-Z]$/,n=/^[a-z]$/,a=/^[0-9]$/,u=/^[-#!$@£%^&*()_+|~=`{}\[\]:";'<>?,.\/\\ ]$/,c={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};function d(w){var T={};return Array.from(w).forEach(function(A){var O=T[A];O?T[A]+=1:T[A]=1}),T}function h(w){var T=d(w),A={length:w.length,uniqueChars:Object.keys(T).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(T).forEach(function(O){i.test(O)?A.uppercaseCount+=T[O]:n.test(O)?A.lowercaseCount+=T[O]:a.test(O)?A.numberCount+=T[O]:u.test(O)&&(A.symbolCount+=T[O])}),A}function y(w,T){var A=0;return A+=w.uniqueChars*T.pointsPerUnique,A+=(w.length-w.uniqueChars)*T.pointsPerRepeat,w.lowercaseCount>0&&(A+=T.pointsForContainingLower),w.uppercaseCount>0&&(A+=T.pointsForContainingUpper),w.numberCount>0&&(A+=T.pointsForContainingNumber),w.symbolCount>0&&(A+=T.pointsForContainingSymbol),A}function C(w){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;(0,o.default)(w);var A=h(w);return T=(0,r.default)(T||{},c),T.returnScore?y(A,T):A.length>=T.minLength&&A.lowercaseCount>=T.minLowercase&&A.uppercaseCount>=T.minUppercase&&A.numberCount>=T.minNumbers&&A.symbolCount>=T.minSymbols}t.exports=e.default,t.exports.default=e.default}),G0t=W(e=>{"use strict";m();function t(y){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},t(y)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=h,e.vatMatchers=void 0;var r=n(Nt()),o=i(Hbe());function s(y){if(typeof WeakMap!="function")return null;var C=new WeakMap,w=new WeakMap;return(s=function(T){return T?w:C})(y)}function i(y,C){if(!C&&y&&y.__esModule)return y;if(y===null||t(y)!="object"&&typeof y!="function")return{default:y};var w=s(C);if(w&&w.has(y))return w.get(y);var T={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in y)if(O!=="default"&&{}.hasOwnProperty.call(y,O)){var v=A?Object.getOwnPropertyDescriptor(y,O):null;v&&(v.get||v.set)?Object.defineProperty(T,O,v):T[O]=y[O]}return T.default=y,w&&w.set(y,T),T}function n(y){return y&&y.__esModule?y:{default:y}}var a=function(y){var C=y.match(/^(AU)?(\d{11})$/);if(!C)return!1;var w=[10,1,3,5,7,9,11,13,15,17,19];y=y.replace(/^AU/,"");for(var T=(parseInt(y.slice(0,1),10)-1).toString()+y.slice(1),A=0,O=0;O<11;O++)A+=w[O]*T.charAt(O);return A!==0&&A%89===0},u=function(y){var C=function(w){var T=w.pop(),A=[5,4,3,2,7,6,5,4],O=(11-w.reduce(function(v,B,R){return v+B*A[R]},0)%11)%11;return T===O};return/^(CHE[- ]?)?(\d{9}|(\d{3}\.\d{3}\.\d{3})|(\d{3} \d{3} \d{3})) ?(TVA|MWST|IVA)?$/.test(y)&&C(y.match(/\d/g).map(function(w){return+w}))},c=function(y){var C=y.match(/^(PT)?(\d{9})$/);if(!C)return!1;var w=C[2],T=11-o.reverseMultiplyAndSum(w.split("").slice(0,8).map(function(A){return parseInt(A,10)}),9)%11;return T>9?parseInt(w[8],10)===0:T===parseInt(w[8],10)},d=e.vatMatchers={AT:function(y){return/^(AT)?U\d{8}$/.test(y)},BE:function(y){return/^(BE)?\d{10}$/.test(y)},BG:function(y){return/^(BG)?\d{9,10}$/.test(y)},HR:function(y){return/^(HR)?\d{11}$/.test(y)},CY:function(y){return/^(CY)?\w{9}$/.test(y)},CZ:function(y){return/^(CZ)?\d{8,10}$/.test(y)},DK:function(y){return/^(DK)?\d{8}$/.test(y)},EE:function(y){return/^(EE)?\d{9}$/.test(y)},FI:function(y){return/^(FI)?\d{8}$/.test(y)},FR:function(y){return/^(FR)?\w{2}\d{9}$/.test(y)},DE:function(y){return/^(DE)?\d{9}$/.test(y)},EL:function(y){return/^(EL)?\d{9}$/.test(y)},HU:function(y){return/^(HU)?\d{8}$/.test(y)},IE:function(y){return/^(IE)?\d{7}\w{1}(W)?$/.test(y)},IT:function(y){return/^(IT)?\d{11}$/.test(y)},LV:function(y){return/^(LV)?\d{11}$/.test(y)},LT:function(y){return/^(LT)?\d{9,12}$/.test(y)},LU:function(y){return/^(LU)?\d{8}$/.test(y)},MT:function(y){return/^(MT)?\d{8}$/.test(y)},NL:function(y){return/^(NL)?\d{9}B\d{2}$/.test(y)},PL:function(y){return/^(PL)?(\d{10}|(\d{3}-\d{3}-\d{2}-\d{2})|(\d{3}-\d{2}-\d{2}-\d{3}))$/.test(y)},PT:c,RO:function(y){return/^(RO)?\d{2,10}$/.test(y)},SK:function(y){return/^(SK)?\d{10}$/.test(y)},SI:function(y){return/^(SI)?\d{8}$/.test(y)},ES:function(y){return/^(ES)?\w\d{7}[A-Z]$/.test(y)},SE:function(y){return/^(SE)?\d{12}$/.test(y)},AL:function(y){return/^(AL)?\w{9}[A-Z]$/.test(y)},MK:function(y){return/^(MK)?\d{13}$/.test(y)},AU:a,BY:function(y){return/^(УНП )?\d{9}$/.test(y)},CA:function(y){return/^(CA)?\d{9}$/.test(y)},IS:function(y){return/^(IS)?\d{5,6}$/.test(y)},IN:function(y){return/^(IN)?\d{15}$/.test(y)},ID:function(y){return/^(ID)?(\d{15}|(\d{2}.\d{3}.\d{3}.\d{1}-\d{3}.\d{3}))$/.test(y)},IL:function(y){return/^(IL)?\d{9}$/.test(y)},KZ:function(y){return/^(KZ)?\d{12}$/.test(y)},NZ:function(y){return/^(NZ)?\d{9}$/.test(y)},NG:function(y){return/^(NG)?(\d{12}|(\d{8}-\d{4}))$/.test(y)},NO:function(y){return/^(NO)?\d{9}MVA$/.test(y)},PH:function(y){return/^(PH)?(\d{12}|\d{3} \d{3} \d{3} \d{3})$/.test(y)},RU:function(y){return/^(RU)?(\d{10}|\d{12})$/.test(y)},SM:function(y){return/^(SM)?\d{5}$/.test(y)},SA:function(y){return/^(SA)?\d{15}$/.test(y)},RS:function(y){return/^(RS)?\d{9}$/.test(y)},CH:u,TR:function(y){return/^(TR)?\d{10}$/.test(y)},UA:function(y){return/^(UA)?\d{12}$/.test(y)},GB:function(y){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(y)},UZ:function(y){return/^(UZ)?\d{9}$/.test(y)},AR:function(y){return/^(AR)?\d{11}$/.test(y)},BO:function(y){return/^(BO)?\d{7}$/.test(y)},BR:function(y){return/^(BR)?((\d{2}.\d{3}.\d{3}\/\d{4}-\d{2})|(\d{3}.\d{3}.\d{3}-\d{2}))$/.test(y)},CL:function(y){return/^(CL)?\d{8}-\d{1}$/.test(y)},CO:function(y){return/^(CO)?\d{10}$/.test(y)},CR:function(y){return/^(CR)?\d{9,12}$/.test(y)},EC:function(y){return/^(EC)?\d{13}$/.test(y)},SV:function(y){return/^(SV)?\d{4}-\d{6}-\d{3}-\d{1}$/.test(y)},GT:function(y){return/^(GT)?\d{7}-\d{1}$/.test(y)},HN:function(y){return/^(HN)?$/.test(y)},MX:function(y){return/^(MX)?\w{3,4}\d{6}\w{3}$/.test(y)},NI:function(y){return/^(NI)?\d{3}-\d{6}-\d{4}\w{1}$/.test(y)},PA:function(y){return/^(PA)?$/.test(y)},PY:function(y){return/^(PY)?\d{6,8}-\d{1}$/.test(y)},PE:function(y){return/^(PE)?\d{11}$/.test(y)},DO:function(y){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(y)},UY:function(y){return/^(UY)?\d{12}$/.test(y)},VE:function(y){return/^(VE)?[J,G,V,E]{1}-(\d{9}|(\d{8}-\d{1}))$/.test(y)}};function h(y,C){if((0,r.default)(y),(0,r.default)(C),C in d)return d[C](y);throw new Error("Invalid country code: '".concat(C,"'"))}}),tpt=W((e,t)=>{"use strict";m();function r(rt){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ht){return typeof ht}:function(ht){return ht&&typeof Symbol=="function"&&ht.constructor===Symbol&&ht!==Symbol.prototype?"symbol":typeof ht},r(rt)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=Ge(DG()),s=Ge(dme()),i=Ge(gdt()),n=Ge(ydt()),a=Ge(mdt()),u=Ge(vdt()),c=Ge(wdt()),d=Ge(kme()),h=Ge(Idt()),y=Ge(Bdt()),C=Ge(bM()),w=Ge(Ndt()),T=Ge(qG()),A=Ge(Ume()),O=Ge(Wdt()),v=Ge(Kdt()),B=Ge(qdt()),R=Ge(jdt()),U=Ue(Gdt()),N=Ue(Vdt()),_=Ge(Jdt()),L=Ge(Ydt()),H=Ge(Qdt()),F=Ge(Zdt()),G=Ge($dt()),l=Ge(eht()),p=Ge(tht()),E=Ge(Zme()),g=Ge($me()),b=Ge(rht()),k=Ge(nht()),x=Ge(sht()),S=Ge(aht()),f=Ge(GG()),M=Ue(lme()),V=Ge(lht()),D=Ge(ube()),j=Ge(fht()),Y=Ge(hht()),oe=Ge(pht()),de=Ge(mht()),ue=Ge(bht()),ae=Ge(vht()),q=Ue(wht()),ne=Ge(Aht()),me=Ge(Eht()),ve=Ge(Tht()),ge=Ge(Iht()),ce=Ge(Pht()),ee=Ge(kht()),fe=Ge(Mht()),ie=Ge(Sme()),re=Ge(_ht()),Oe=Ge(Nht()),Pe=Ge(Uht()),Ne=Ge(Wht()),Xe=Ge(Kht()),Je=Ge(Nbe()),ft=Ge(qht()),Kt=Ge(Ght()),wt=Ge(Vht()),Ie=Ge(Jht()),it=Ge(Xht()),Ye=Ge(Yht()),et=Ge(t0t()),Gt=Ue(r0t()),It=Ge(n0t()),Rt=Ge(o0t()),_r=Ge(s0t()),jt=c0t(),Fe=Ge(u0t()),Pr=Ge(l0t()),$t=Ge(h0t()),Qt=Ge(ybe()),At=Ge(p0t()),ur=Ge(y0t()),tr=Ge(b0t()),Vt=Ge(v0t()),bt=Ge(xbe()),kt=Ge(w0t()),er=Ge(x0t()),Et=Ge(C0t()),qt=Ge(I0t()),Hr=Ge(P0t()),_t=Ue(k0t()),Wt=Ge(cve()),qr=Ge(sve()),Ce=Ge(lve()),_e=Ge(M0t()),Ze=Ge(_0t()),he=Ge(N0t()),Ke=Ge(D0t()),Ht=Ge(vve()),yt=Ge(U0t()),Ot=Ge(L0t()),hr=Ge(F0t()),Br=Ge(W0t()),Er=Ge(K0t()),Qe=Ge(G0t());function mt(rt){if(typeof WeakMap!="function")return null;var ht=new WeakMap,ut=new WeakMap;return(mt=function(Dt){return Dt?ut:ht})(rt)}function Ue(rt,ht){if(!ht&&rt&&rt.__esModule)return rt;if(rt===null||r(rt)!="object"&&typeof rt!="function")return{default:rt};var ut=mt(ht);if(ut&&ut.has(rt))return ut.get(rt);var Dt={__proto__:null},He=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var nt in rt)if(nt!=="default"&&{}.hasOwnProperty.call(rt,nt)){var at=He?Object.getOwnPropertyDescriptor(rt,nt):null;at&&(at.get||at.set)?Object.defineProperty(Dt,nt,at):Dt[nt]=rt[nt]}return Dt.default=rt,ut&&ut.set(rt,Dt),Dt}function Ge(rt){return rt&&rt.__esModule?rt:{default:rt}}var Me="13.12.0",ze={version:Me,toDate:o.default,toFloat:s.default,toInt:i.default,toBoolean:n.default,equals:a.default,contains:u.default,matches:c.default,isEmail:d.default,isURL:h.default,isMACAddress:y.default,isIP:C.default,isIPRange:w.default,isFQDN:T.default,isBoolean:v.default,isIBAN:q.default,isBIC:ne.default,isAbaRouting:R.default,isAlpha:U.default,isAlphaLocales:U.locales,isAlphanumeric:N.default,isAlphanumericLocales:N.locales,isNumeric:_.default,isPassportNumber:L.default,isPort:H.default,isLowercase:F.default,isUppercase:G.default,isAscii:p.default,isFullWidth:E.default,isHalfWidth:g.default,isVariableWidth:b.default,isMultibyte:k.default,isSemVer:x.default,isSurrogatePair:S.default,isInt:f.default,isIMEI:l.default,isFloat:M.default,isFloatLocales:M.locales,isDecimal:V.default,isHexadecimal:D.default,isOctal:j.default,isDivisibleBy:Y.default,isHexColor:oe.default,isRgbColor:de.default,isHSL:ue.default,isISRC:ae.default,isMD5:me.default,isHash:ve.default,isJWT:ge.default,isJSON:ce.default,isEmpty:ee.default,isLength:fe.default,isLocale:B.default,isByteLength:ie.default,isUUID:re.default,isMongoId:Oe.default,isAfter:Pe.default,isBefore:Ne.default,isIn:Xe.default,isLuhnNumber:Je.default,isCreditCard:ft.default,isIdentityCard:Kt.default,isEAN:wt.default,isISIN:Ie.default,isISBN:it.default,isISSN:Ye.default,isMobilePhone:Gt.default,isMobilePhoneLocales:Gt.locales,isPostalCode:_t.default,isPostalCodeLocales:_t.locales,isEthereumAddress:It.default,isCurrency:Rt.default,isBtcAddress:_r.default,isISO6346:jt.isISO6346,isFreightContainerID:jt.isFreightContainerID,isISO6391:Fe.default,isISO8601:Pr.default,isRFC3339:$t.default,isISO31661Alpha2:Qt.default,isISO31661Alpha3:At.default,isISO4217:ur.default,isBase32:tr.default,isBase58:Vt.default,isBase64:bt.default,isDataURI:kt.default,isMagnetURI:er.default,isMailtoURI:Et.default,isMimeType:qt.default,isLatLong:Hr.default,ltrim:Wt.default,rtrim:qr.default,trim:Ce.default,escape:_e.default,unescape:Ze.default,stripLow:he.default,whitelist:Ke.default,blacklist:Ht.default,isWhitelisted:yt.default,normalizeEmail:Ot.default,toString,isSlug:hr.default,isStrongPassword:Er.default,isTaxID:et.default,isDate:A.default,isTime:O.default,isLicensePlate:Br.default,isVAT:Qe.default,ibanLocales:q.locales},Le=e.default=ze;t.exports=e.default,t.exports.default=e.default}),Myt=W((e,t)=>{"use strict";m();var r=Object.prototype.hasOwnProperty,o="~";function s(){}Object.create&&(s.prototype=Object.create(null),new s().__proto__||(o=!1));function i(c,d,h){this.fn=c,this.context=d,this.once=h||!1}function n(c,d,h,y,C){if(typeof h!="function")throw new TypeError("The listener must be a function");var w=new i(h,y||c,C),T=o?o+d:d;return c._events[T]?c._events[T].fn?c._events[T]=[c._events[T],w]:c._events[T].push(w):(c._events[T]=w,c._eventsCount++),c}function a(c,d){--c._eventsCount===0?c._events=new s:delete c._events[d]}function u(){this._events=new s,this._eventsCount=0}u.prototype.eventNames=function(){var c=[],d,h;if(this._eventsCount===0)return c;for(h in d=this._events)r.call(d,h)&&c.push(o?h.slice(1):h);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(d)):c},u.prototype.listeners=function(c){var d=o?o+c:c,h=this._events[d];if(!h)return[];if(h.fn)return[h.fn];for(var y=0,C=h.length,w=new Array(C);y<C;y++)w[y]=h[y].fn;return w},u.prototype.listenerCount=function(c){var d=o?o+c:c,h=this._events[d];return h?h.fn?1:h.length:0},u.prototype.emit=function(c,d,h,y,C,w){var T=o?o+c:c;if(!this._events[T])return!1;var A=this._events[T],O=arguments.length,v,B;if(A.fn){switch(A.once&&this.removeListener(c,A.fn,void 0,!0),O){case 1:return A.fn.call(A.context),!0;case 2:return A.fn.call(A.context,d),!0;case 3:return A.fn.call(A.context,d,h),!0;case 4:return A.fn.call(A.context,d,h,y),!0;case 5:return A.fn.call(A.context,d,h,y,C),!0;case 6:return A.fn.call(A.context,d,h,y,C,w),!0}for(B=1,v=new Array(O-1);B<O;B++)v[B-1]=arguments[B];A.fn.apply(A.context,v)}else{var R=A.length,U;for(B=0;B<R;B++)switch(A[B].once&&this.removeListener(c,A[B].fn,void 0,!0),O){case 1:A[B].fn.call(A[B].context);break;case 2:A[B].fn.call(A[B].context,d);break;case 3:A[B].fn.call(A[B].context,d,h);break;case 4:A[B].fn.call(A[B].context,d,h,y);break;default:if(!v)for(U=1,v=new Array(O-1);U<O;U++)v[U-1]=arguments[U];A[B].fn.apply(A[B].context,v)}}return!0},u.prototype.on=function(c,d,h){return n(this,c,d,h,!1)},u.prototype.once=function(c,d,h){return n(this,c,d,h,!0)},u.prototype.removeListener=function(c,d,h,y){var C=o?o+c:c;if(!this._events[C])return this;if(!d)return a(this,C),this;var w=this._events[C];if(w.fn)w.fn===d&&(!y||w.once)&&(!h||w.context===h)&&a(this,C);else{for(var T=0,A=[],O=w.length;T<O;T++)(w[T].fn!==d||y&&!w[T].once||h&&w[T].context!==h)&&A.push(w[T]);A.length?this._events[C]=A.length===1?A[0]:A:a(this,C)}return this},u.prototype.removeAllListeners=function(c){var d;return c?(d=o?o+c:c,this._events[d]&&a(this,d)):(this._events=new s,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=o,u.EventEmitter=u,typeof t<"u"&&(t.exports=u)}),mwe=W((e,t)=>{m(),e=t.exports=Ne;var r;typeof I.default=="object"&&I.default.env&&I.default.env.NODE_DEBUG&&/\bsemver\b/i.test(I.default.env.NODE_DEBUG)?r=function(){var Me=Array.prototype.slice.call(arguments,0);Me.unshift("SEMVER"),console.log.apply(console,Me)}:r=function(){},e.SEMVER_SPEC_VERSION="2.0.0";var o=256,s=Number.MAX_SAFE_INTEGER||9007199254740991,i=16,n=o-6,a=e.re=[],u=e.safeRe=[],c=e.src=[],d=0,h="[a-zA-Z0-9-]",y=[["\\s",1],["\\d",o],[h,n]];function C(Me){for(var ze=0;ze<y.length;ze++){var Le=y[ze][0],rt=y[ze][1];Me=Me.split(Le+"*").join(Le+"{0,"+rt+"}").split(Le+"+").join(Le+"{1,"+rt+"}")}return Me}var w=d++;c[w]="0|[1-9]\\d*";var T=d++;c[T]="\\d+";var A=d++;c[A]="\\d*[a-zA-Z-]"+h+"*";var O=d++;c[O]="("+c[w]+")\\.("+c[w]+")\\.("+c[w]+")";var v=d++;c[v]="("+c[T]+")\\.("+c[T]+")\\.("+c[T]+")";var B=d++;c[B]="(?:"+c[w]+"|"+c[A]+")";var R=d++;c[R]="(?:"+c[T]+"|"+c[A]+")";var U=d++;c[U]="(?:-("+c[B]+"(?:\\."+c[B]+")*))";var N=d++;c[N]="(?:-?("+c[R]+"(?:\\."+c[R]+")*))";var _=d++;c[_]=h+"+";var L=d++;c[L]="(?:\\+("+c[_]+"(?:\\."+c[_]+")*))";var H=d++,F="v?"+c[O]+c[U]+"?"+c[L]+"?";c[H]="^"+F+"$";var G="[v=\\s]*"+c[v]+c[N]+"?"+c[L]+"?",l=d++;c[l]="^"+G+"$";var p=d++;c[p]="((?:<|>)?=?)";var E=d++;c[E]=c[T]+"|x|X|\\*";var g=d++;c[g]=c[w]+"|x|X|\\*";var b=d++;c[b]="[v=\\s]*("+c[g]+")(?:\\.("+c[g]+")(?:\\.("+c[g]+")(?:"+c[U]+")?"+c[L]+"?)?)?";var k=d++;c[k]="[v=\\s]*("+c[E]+")(?:\\.("+c[E]+")(?:\\.("+c[E]+")(?:"+c[N]+")?"+c[L]+"?)?)?";var x=d++;c[x]="^"+c[p]+"\\s*"+c[b]+"$";var S=d++;c[S]="^"+c[p]+"\\s*"+c[k]+"$";var f=d++;c[f]="(?:^|[^\\d])(\\d{1,"+i+"})(?:\\.(\\d{1,"+i+"}))?(?:\\.(\\d{1,"+i+"}))?(?:$|[^\\d])";var M=d++;c[M]="(?:~>?)";var V=d++;c[V]="(\\s*)"+c[M]+"\\s+",a[V]=new RegExp(c[V],"g"),u[V]=new RegExp(C(c[V]),"g");var D="$1~",j=d++;c[j]="^"+c[M]+c[b]+"$";var Y=d++;c[Y]="^"+c[M]+c[k]+"$";var oe=d++;c[oe]="(?:\\^)";var de=d++;c[de]="(\\s*)"+c[oe]+"\\s+",a[de]=new RegExp(c[de],"g"),u[de]=new RegExp(C(c[de]),"g");var ue="$1^",ae=d++;c[ae]="^"+c[oe]+c[b]+"$";var q=d++;c[q]="^"+c[oe]+c[k]+"$";var ne=d++;c[ne]="^"+c[p]+"\\s*("+G+")$|^$";var me=d++;c[me]="^"+c[p]+"\\s*("+F+")$|^$";var ve=d++;c[ve]="(\\s*)"+c[p]+"\\s*("+G+"|"+c[b]+")",a[ve]=new RegExp(c[ve],"g"),u[ve]=new RegExp(C(c[ve]),"g");var ge="$1$2$3",ce=d++;c[ce]="^\\s*("+c[b]+")\\s+-\\s+("+c[b]+")\\s*$";var ee=d++;c[ee]="^\\s*("+c[k]+")\\s+-\\s+("+c[k]+")\\s*$";var fe=d++;for(c[fe]="(<|>)?=?\\s*\\*",ie=0;ie<d;ie++)r(ie,c[ie]),a[ie]||(a[ie]=new RegExp(c[ie]),u[ie]=new RegExp(C(c[ie])));var ie;e.parse=re;function re(Me,ze){if((!ze||typeof ze!="object")&&(ze={loose:!!ze,includePrerelease:!1}),Me instanceof Ne)return Me;if(typeof Me!="string"||Me.length>o)return null;var Le=ze.loose?u[l]:u[H];if(!Le.test(Me))return null;try{return new Ne(Me,ze)}catch{return null}}e.valid=Oe;function Oe(Me,ze){var Le=re(Me,ze);return Le?Le.version:null}e.clean=Pe;function Pe(Me,ze){var Le=re(Me.trim().replace(/^[=v]+/,""),ze);return Le?Le.version:null}e.SemVer=Ne;function Ne(Me,ze){if((!ze||typeof ze!="object")&&(ze={loose:!!ze,includePrerelease:!1}),Me instanceof Ne){if(Me.loose===ze.loose)return Me;Me=Me.version}else if(typeof Me!="string")throw new TypeError("Invalid Version: "+Me);if(Me.length>o)throw new TypeError("version is longer than "+o+" characters");if(!(this instanceof Ne))return new Ne(Me,ze);r("SemVer",Me,ze),this.options=ze,this.loose=!!ze.loose;var Le=Me.trim().match(ze.loose?u[l]:u[H]);if(!Le)throw new TypeError("Invalid Version: "+Me);if(this.raw=Me,this.major=+Le[1],this.minor=+Le[2],this.patch=+Le[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");Le[4]?this.prerelease=Le[4].split(".").map(function(rt){if(/^[0-9]+$/.test(rt)){var ht=+rt;if(ht>=0&&ht<s)return ht}return rt}):this.prerelease=[],this.build=Le[5]?Le[5].split("."):[],this.format()}Ne.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},Ne.prototype.toString=function(){return this.version},Ne.prototype.compare=function(Me){return r("SemVer.compare",this.version,this.options,Me),Me instanceof Ne||(Me=new Ne(Me,this.options)),this.compareMain(Me)||this.comparePre(Me)},Ne.prototype.compareMain=function(Me){return Me instanceof Ne||(Me=new Ne(Me,this.options)),Kt(this.major,Me.major)||Kt(this.minor,Me.minor)||Kt(this.patch,Me.patch)},Ne.prototype.comparePre=function(Me){if(Me instanceof Ne||(Me=new Ne(Me,this.options)),this.prerelease.length&&!Me.prerelease.length)return-1;if(!this.prerelease.length&&Me.prerelease.length)return 1;if(!this.prerelease.length&&!Me.prerelease.length)return 0;var ze=0;do{var Le=this.prerelease[ze],rt=Me.prerelease[ze];if(r("prerelease compare",ze,Le,rt),Le===void 0&&rt===void 0)return 0;if(rt===void 0)return 1;if(Le===void 0)return-1;if(Le!==rt)return Kt(Le,rt)}while(++ze)},Ne.prototype.inc=function(Me,ze){switch(Me){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",ze);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",ze);break;case"prepatch":this.prerelease.length=0,this.inc("patch",ze),this.inc("pre",ze);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",ze),this.inc("pre",ze);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var Le=this.prerelease.length;--Le>=0;)typeof this.prerelease[Le]=="number"&&(this.prerelease[Le]++,Le=-2);Le===-1&&this.prerelease.push(0)}ze&&(this.prerelease[0]===ze?isNaN(this.prerelease[1])&&(this.prerelease=[ze,0]):this.prerelease=[ze,0]);break;default:throw new Error("invalid increment argument: "+Me)}return this.format(),this.raw=this.version,this},e.inc=Xe;function Xe(Me,ze,Le,rt){typeof Le=="string"&&(rt=Le,Le=void 0);try{return new Ne(Me,Le).inc(ze,rt).version}catch{return null}}e.diff=Je;function Je(Me,ze){if(Pr(Me,ze))return null;var Le=re(Me),rt=re(ze),ht="";if(Le.prerelease.length||rt.prerelease.length){ht="pre";var ut="prerelease"}for(var Dt in Le)if((Dt==="major"||Dt==="minor"||Dt==="patch")&&Le[Dt]!==rt[Dt])return ht+Dt;return ut}e.compareIdentifiers=Kt;var ft=/^[0-9]+$/;function Kt(Me,ze){var Le=ft.test(Me),rt=ft.test(ze);return Le&&rt&&(Me=+Me,ze=+ze),Me===ze?0:Le&&!rt?-1:rt&&!Le?1:Me<ze?-1:1}e.rcompareIdentifiers=wt;function wt(Me,ze){return Kt(ze,Me)}e.major=Ie;function Ie(Me,ze){return new Ne(Me,ze).major}e.minor=it;function it(Me,ze){return new Ne(Me,ze).minor}e.patch=Ye;function Ye(Me,ze){return new Ne(Me,ze).patch}e.compare=et;function et(Me,ze,Le){return new Ne(Me,Le).compare(new Ne(ze,Le))}e.compareLoose=Gt;function Gt(Me,ze){return et(Me,ze,!0)}e.rcompare=It;function It(Me,ze,Le){return et(ze,Me,Le)}e.sort=Rt;function Rt(Me,ze){return Me.sort(function(Le,rt){return e.compare(Le,rt,ze)})}e.rsort=_r;function _r(Me,ze){return Me.sort(function(Le,rt){return e.rcompare(Le,rt,ze)})}e.gt=jt;function jt(Me,ze,Le){return et(Me,ze,Le)>0}e.lt=Fe;function Fe(Me,ze,Le){return et(Me,ze,Le)<0}e.eq=Pr;function Pr(Me,ze,Le){return et(Me,ze,Le)===0}e.neq=$t;function $t(Me,ze,Le){return et(Me,ze,Le)!==0}e.gte=Qt;function Qt(Me,ze,Le){return et(Me,ze,Le)>=0}e.lte=At;function At(Me,ze,Le){return et(Me,ze,Le)<=0}e.cmp=ur;function ur(Me,ze,Le,rt){switch(ze){case"===":return typeof Me=="object"&&(Me=Me.version),typeof Le=="object"&&(Le=Le.version),Me===Le;case"!==":return typeof Me=="object"&&(Me=Me.version),typeof Le=="object"&&(Le=Le.version),Me!==Le;case"":case"=":case"==":return Pr(Me,Le,rt);case"!=":return $t(Me,Le,rt);case">":return jt(Me,Le,rt);case">=":return Qt(Me,Le,rt);case"<":return Fe(Me,Le,rt);case"<=":return At(Me,Le,rt);default:throw new TypeError("Invalid operator: "+ze)}}e.Comparator=tr;function tr(Me,ze){if((!ze||typeof ze!="object")&&(ze={loose:!!ze,includePrerelease:!1}),Me instanceof tr){if(Me.loose===!!ze.loose)return Me;Me=Me.value}if(!(this instanceof tr))return new tr(Me,ze);Me=Me.trim().split(/\s+/).join(" "),r("comparator",Me,ze),this.options=ze,this.loose=!!ze.loose,this.parse(Me),this.semver===Vt?this.value="":this.value=this.operator+this.semver.version,r("comp",this)}var Vt={};tr.prototype.parse=function(Me){var ze=this.options.loose?u[ne]:u[me],Le=Me.match(ze);if(!Le)throw new TypeError("Invalid comparator: "+Me);this.operator=Le[1],this.operator==="="&&(this.operator=""),Le[2]?this.semver=new Ne(Le[2],this.options.loose):this.semver=Vt},tr.prototype.toString=function(){return this.value},tr.prototype.test=function(Me){return r("Comparator.test",Me,this.options.loose),this.semver===Vt?!0:(typeof Me=="string"&&(Me=new Ne(Me,this.options)),ur(Me,this.operator,this.semver,this.options))},tr.prototype.intersects=function(Me,ze){if(!(Me instanceof tr))throw new TypeError("a Comparator is required");(!ze||typeof ze!="object")&&(ze={loose:!!ze,includePrerelease:!1});var Le;if(this.operator==="")return Le=new bt(Me.value,ze),Ke(this.value,Le,ze);if(Me.operator==="")return Le=new bt(this.value,ze),Ke(Me.semver,Le,ze);var rt=(this.operator===">="||this.operator===">")&&(Me.operator===">="||Me.operator===">"),ht=(this.operator==="<="||this.operator==="<")&&(Me.operator==="<="||Me.operator==="<"),ut=this.semver.version===Me.semver.version,Dt=(this.operator===">="||this.operator==="<=")&&(Me.operator===">="||Me.operator==="<="),He=ur(this.semver,"<",Me.semver,ze)&&(this.operator===">="||this.operator===">")&&(Me.operator==="<="||Me.operator==="<"),nt=ur(this.semver,">",Me.semver,ze)&&(this.operator==="<="||this.operator==="<")&&(Me.operator===">="||Me.operator===">");return rt||ht||ut&&Dt||He||nt},e.Range=bt;function bt(Me,ze){if((!ze||typeof ze!="object")&&(ze={loose:!!ze,includePrerelease:!1}),Me instanceof bt)return Me.loose===!!ze.loose&&Me.includePrerelease===!!ze.includePrerelease?Me:new bt(Me.raw,ze);if(Me instanceof tr)return new bt(Me.value,ze);if(!(this instanceof bt))return new bt(Me,ze);if(this.options=ze,this.loose=!!ze.loose,this.includePrerelease=!!ze.includePrerelease,this.raw=Me.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(Le){return this.parseRange(Le.trim())},this).filter(function(Le){return Le.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}bt.prototype.format=function(){return this.range=this.set.map(function(Me){return Me.join(" ").trim()}).join("||").trim(),this.range},bt.prototype.toString=function(){return this.range},bt.prototype.parseRange=function(Me){var ze=this.options.loose,Le=ze?u[ee]:u[ce];Me=Me.replace(Le,Ze),r("hyphen replace",Me),Me=Me.replace(u[ve],ge),r("comparator trim",Me,u[ve]),Me=Me.replace(u[V],D),Me=Me.replace(u[de],ue);var rt=ze?u[ne]:u[me],ht=Me.split(" ").map(function(ut){return er(ut,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(ht=ht.filter(function(ut){return!!ut.match(rt)})),ht=ht.map(function(ut){return new tr(ut,this.options)},this),ht},bt.prototype.intersects=function(Me,ze){if(!(Me instanceof bt))throw new TypeError("a Range is required");return this.set.some(function(Le){return Le.every(function(rt){return Me.set.some(function(ht){return ht.every(function(ut){return rt.intersects(ut,ze)})})})})},e.toComparators=kt;function kt(Me,ze){return new bt(Me,ze).set.map(function(Le){return Le.map(function(rt){return rt.value}).join(" ").trim().split(" ")})}function er(Me,ze){return r("comp",Me,ze),Me=_t(Me,ze),r("caret",Me),Me=qt(Me,ze),r("tildes",Me),Me=qr(Me,ze),r("xrange",Me),Me=_e(Me,ze),r("stars",Me),Me}function Et(Me){return!Me||Me.toLowerCase()==="x"||Me==="*"}function qt(Me,ze){return Me.trim().split(/\s+/).map(function(Le){return Hr(Le,ze)}).join(" ")}function Hr(Me,ze){var Le=ze.loose?u[Y]:u[j];return Me.replace(Le,function(rt,ht,ut,Dt,He){r("tilde",Me,rt,ht,ut,Dt,He);var nt;return Et(ht)?nt="":Et(ut)?nt=">="+ht+".0.0 <"+(+ht+1)+".0.0":Et(Dt)?nt=">="+ht+"."+ut+".0 <"+ht+"."+(+ut+1)+".0":He?(r("replaceTilde pr",He),nt=">="+ht+"."+ut+"."+Dt+"-"+He+" <"+ht+"."+(+ut+1)+".0"):nt=">="+ht+"."+ut+"."+Dt+" <"+ht+"."+(+ut+1)+".0",r("tilde return",nt),nt})}function _t(Me,ze){return Me.trim().split(/\s+/).map(function(Le){return Wt(Le,ze)}).join(" ")}function Wt(Me,ze){r("caret",Me,ze);var Le=ze.loose?u[q]:u[ae];return Me.replace(Le,function(rt,ht,ut,Dt,He){r("caret",Me,rt,ht,ut,Dt,He);var nt;return Et(ht)?nt="":Et(ut)?nt=">="+ht+".0.0 <"+(+ht+1)+".0.0":Et(Dt)?ht==="0"?nt=">="+ht+"."+ut+".0 <"+ht+"."+(+ut+1)+".0":nt=">="+ht+"."+ut+".0 <"+(+ht+1)+".0.0":He?(r("replaceCaret pr",He),ht==="0"?ut==="0"?nt=">="+ht+"."+ut+"."+Dt+"-"+He+" <"+ht+"."+ut+"."+(+Dt+1):nt=">="+ht+"."+ut+"."+Dt+"-"+He+" <"+ht+"."+(+ut+1)+".0":nt=">="+ht+"."+ut+"."+Dt+"-"+He+" <"+(+ht+1)+".0.0"):(r("no pr"),ht==="0"?ut==="0"?nt=">="+ht+"."+ut+"."+Dt+" <"+ht+"."+ut+"."+(+Dt+1):nt=">="+ht+"."+ut+"."+Dt+" <"+ht+"."+(+ut+1)+".0":nt=">="+ht+"."+ut+"."+Dt+" <"+(+ht+1)+".0.0"),r("caret return",nt),nt})}function qr(Me,ze){return r("replaceXRanges",Me,ze),Me.split(/\s+/).map(function(Le){return Ce(Le,ze)}).join(" ")}function Ce(Me,ze){Me=Me.trim();var Le=ze.loose?u[S]:u[x];return Me.replace(Le,function(rt,ht,ut,Dt,He,nt){r("xRange",Me,rt,ht,ut,Dt,He,nt);var at=Et(ut),Tt=at||Et(Dt),pt=Tt||Et(He),Bt=pt;return ht==="="&&Bt&&(ht=""),at?ht===">"||ht==="<"?rt="<0.0.0":rt="*":ht&&Bt?(Tt&&(Dt=0),He=0,ht===">"?(ht=">=",Tt?(ut=+ut+1,Dt=0,He=0):(Dt=+Dt+1,He=0)):ht==="<="&&(ht="<",Tt?ut=+ut+1:Dt=+Dt+1),rt=ht+ut+"."+Dt+"."+He):Tt?rt=">="+ut+".0.0 <"+(+ut+1)+".0.0":pt&&(rt=">="+ut+"."+Dt+".0 <"+ut+"."+(+Dt+1)+".0"),r("xRange return",rt),rt})}function _e(Me,ze){return r("replaceStars",Me,ze),Me.trim().replace(u[fe],"")}function Ze(Me,ze,Le,rt,ht,ut,Dt,He,nt,at,Tt,pt,Bt){return Et(Le)?ze="":Et(rt)?ze=">="+Le+".0.0":Et(ht)?ze=">="+Le+"."+rt+".0":ze=">="+ze,Et(nt)?He="":Et(at)?He="<"+(+nt+1)+".0.0":Et(Tt)?He="<"+nt+"."+(+at+1)+".0":pt?He="<="+nt+"."+at+"."+Tt+"-"+pt:He="<="+He,(ze+" "+He).trim()}bt.prototype.test=function(Me){if(!Me)return!1;typeof Me=="string"&&(Me=new Ne(Me,this.options));for(var ze=0;ze<this.set.length;ze++)if(he(this.set[ze],Me,this.options))return!0;return!1};function he(Me,ze,Le){for(var rt=0;rt<Me.length;rt++)if(!Me[rt].test(ze))return!1;if(ze.prerelease.length&&!Le.includePrerelease){for(rt=0;rt<Me.length;rt++)if(r(Me[rt].semver),Me[rt].semver!==Vt&&Me[rt].semver.prerelease.length>0){var ht=Me[rt].semver;if(ht.major===ze.major&&ht.minor===ze.minor&&ht.patch===ze.patch)return!0}return!1}return!0}e.satisfies=Ke;function Ke(Me,ze,Le){try{ze=new bt(ze,Le)}catch{return!1}return ze.test(Me)}e.maxSatisfying=Ht;function Ht(Me,ze,Le){var rt=null,ht=null;try{var ut=new bt(ze,Le)}catch{return null}return Me.forEach(function(Dt){ut.test(Dt)&&(!rt||ht.compare(Dt)===-1)&&(rt=Dt,ht=new Ne(rt,Le))}),rt}e.minSatisfying=yt;function yt(Me,ze,Le){var rt=null,ht=null;try{var ut=new bt(ze,Le)}catch{return null}return Me.forEach(function(Dt){ut.test(Dt)&&(!rt||ht.compare(Dt)===1)&&(rt=Dt,ht=new Ne(rt,Le))}),rt}e.minVersion=Ot;function Ot(Me,ze){Me=new bt(Me,ze);var Le=new Ne("0.0.0");if(Me.test(Le)||(Le=new Ne("0.0.0-0"),Me.test(Le)))return Le;Le=null;for(var rt=0;rt<Me.set.length;++rt){var ht=Me.set[rt];ht.forEach(function(ut){var Dt=new Ne(ut.semver.version);switch(ut.operator){case">":Dt.prerelease.length===0?Dt.patch++:Dt.prerelease.push(0),Dt.raw=Dt.format();case"":case">=":(!Le||jt(Le,Dt))&&(Le=Dt);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+ut.operator)}})}return Le&&Me.test(Le)?Le:null}e.validRange=hr;function hr(Me,ze){try{return new bt(Me,ze).range||"*"}catch{return null}}e.ltr=Br;function Br(Me,ze,Le){return Qe(Me,ze,"<",Le)}e.gtr=Er;function Er(Me,ze,Le){return Qe(Me,ze,">",Le)}e.outside=Qe;function Qe(Me,ze,Le,rt){Me=new Ne(Me,rt),ze=new bt(ze,rt);var ht,ut,Dt,He,nt;switch(Le){case">":ht=jt,ut=At,Dt=Fe,He=">",nt=">=";break;case"<":ht=Fe,ut=Qt,Dt=jt,He="<",nt="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Ke(Me,ze,rt))return!1;for(var at=0;at<ze.set.length;++at){var Tt=ze.set[at],pt=null,Bt=null;if(Tt.forEach(function(Zt){Zt.semver===Vt&&(Zt=new tr(">=0.0.0")),pt=pt||Zt,Bt=Bt||Zt,ht(Zt.semver,pt.semver,rt)?pt=Zt:Dt(Zt.semver,Bt.semver,rt)&&(Bt=Zt)}),pt.operator===He||pt.operator===nt||(!Bt.operator||Bt.operator===He)&&ut(Me,Bt.semver)||Bt.operator===nt&&Dt(Me,Bt.semver))return!1}return!0}e.prerelease=mt;function mt(Me,ze){var Le=re(Me,ze);return Le&&Le.prerelease.length?Le.prerelease:null}e.intersects=Ue;function Ue(Me,ze,Le){return Me=new bt(Me,Le),ze=new bt(ze,Le),Me.intersects(ze)}e.coerce=Ge;function Ge(Me){if(Me instanceof Ne)return Me;if(typeof Me!="string")return null;var ze=Me.match(u[f]);return ze==null?null:re(ze[1]+"."+(ze[2]||"0")+"."+(ze[3]||"0"))}}),$h=W(e=>{m();var t=typeof Object.defineProperties=="function"?Object.defineProperty:function(K,X,Z){K!=Array.prototype&&K!=Object.prototype&&(K[X]=Z.value)},r=typeof window<"u"&&window===e?e:typeof global<"u"&&global!=null?global:e;function o(K,X){if(X){var Z=r;K=K.split(".");for(var be=0;be<K.length-1;be++){var Be=K[be];Be in Z||(Z[Be]={}),Z=Z[Be]}K=K[K.length-1],be=Z[K],X=X(be),X!=be&&X!=null&&t(Z,K,{configurable:!0,writable:!0,value:X})}}function s(K){var X=0;return function(){return X<K.length?{done:!1,value:K[X++]}:{done:!0}}}function i(){i=function(){},r.Symbol||(r.Symbol=a)}function n(K,X){this.a=K,t(this,"description",{configurable:!0,writable:!0,value:X})}n.prototype.toString=function(){return this.a};var a=(function(){function K(Z){if(this instanceof K)throw new TypeError("Symbol is not a constructor");return new n("jscomp_symbol_"+(Z||"")+"_"+X++,Z)}var X=0;return K})();function u(){i();var K=r.Symbol.iterator;K||(K=r.Symbol.iterator=r.Symbol("Symbol.iterator")),typeof Array.prototype[K]!="function"&&t(Array.prototype,K,{configurable:!0,writable:!0,value:function(){return c(s(this))}}),u=function(){}}function c(K){return u(),K={next:K},K[r.Symbol.iterator]=function(){return this},K}function d(K,X){u(),K instanceof String&&(K+="");var Z=0,be={next:function(){if(Z<K.length){var Be=Z++;return{value:X(Be,K[Be]),done:!1}}return be.next=function(){return{done:!0,value:void 0}},be.next()}};return be[Symbol.iterator]=function(){return be},be}o("Array.prototype.entries",function(K){return K||function(){return d(this,function(X,Z){return[X,Z]})}});var h=e||self;function y(K,X,Z){K=K.split("."),Z=Z||h,K[0]in Z||typeof Z.execScript>"u"||Z.execScript("var "+K[0]);for(var be;K.length&&(be=K.shift());)K.length||X===void 0?Z[be]&&Z[be]!==Object.prototype[be]?Z=Z[be]:Z=Z[be]={}:Z[be]=X}function C(K){var X=typeof K;if(X=="object")if(K){if(K instanceof Array)return"array";if(K instanceof Object)return X;var Z=Object.prototype.toString.call(K);if(Z=="[object Window]")return"object";if(Z=="[object Array]"||typeof K.length=="number"&&typeof K.splice<"u"&&typeof K.propertyIsEnumerable<"u"&&!K.propertyIsEnumerable("splice"))return"array";if(Z=="[object Function]"||typeof K.call<"u"&&typeof K.propertyIsEnumerable<"u"&&!K.propertyIsEnumerable("call"))return"function"}else return"null";else if(X=="function"&&typeof K.call>"u")return"object";return X}function w(K){var X=typeof K;return X=="object"&&K!=null||X=="function"}function T(K,X,Z){y(K,X,Z)}function A(K,X){function Z(){}Z.prototype=X.prototype,K.prototype=new Z,K.prototype.constructor=K}var O="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function v(K,X){for(var Z,be,Be=1;Be<arguments.length;Be++){be=arguments[Be];for(Z in be)K[Z]=be[Z];for(var dt=0;dt<O.length;dt++)Z=O[dt],Object.prototype.hasOwnProperty.call(be,Z)&&(K[Z]=be[Z])}}var B=Array.prototype.forEach?function(K,X){Array.prototype.forEach.call(K,X,void 0)}:function(K,X){for(var Z=K.length,be=typeof K=="string"?K.split(""):K,Be=0;Be<Z;Be++)Be in be&&X.call(void 0,be[Be],Be,K)},R=Array.prototype.map?function(K,X){return Array.prototype.map.call(K,X,void 0)}:function(K,X){for(var Z=K.length,be=Array(Z),Be=typeof K=="string"?K.split(""):K,dt=0;dt<Z;dt++)dt in Be&&(be[dt]=X.call(void 0,Be[dt],dt,K));return be};function U(K,X,Z){return 2>=arguments.length?Array.prototype.slice.call(K,X):Array.prototype.slice.call(K,X,Z)}function N(K,X,Z,be){var Be="Assertion failed";if(Z){Be+=": "+Z;var dt=be}else K&&(Be+=": "+K,dt=X);throw Error(Be,dt||[])}function _(K,X,Z){for(var be=[],Be=2;Be<arguments.length;++Be)be[Be-2]=arguments[Be];return K||N("",null,X,be),K}function L(K,X,Z){for(var be=[],Be=2;Be<arguments.length;++Be)be[Be-2]=arguments[Be];typeof K!="string"&&N("Expected string but got %s: %s.",[C(K),K],X,be)}function H(K,X,Z){for(var be=[],Be=2;Be<arguments.length;++Be)be[Be-2]=arguments[Be];Array.isArray(K)||N("Expected array but got %s: %s.",[C(K),K],X,be)}function F(K,X){for(var Z=[],be=1;be<arguments.length;++be)Z[be-1]=arguments[be];throw Error("Failure"+(K?": "+K:""),Z)}function G(K,X,Z,be){for(var Be=[],dt=3;dt<arguments.length;++dt)Be[dt-3]=arguments[dt];K instanceof X||N("Expected instanceof %s but got %s.",[l(X),l(K)],Z,Be)}function l(K){return K instanceof Function?K.displayName||K.name||"unknown type name":K instanceof Object?K.constructor.displayName||K.constructor.name||Object.prototype.toString.call(K):K===null?"null":typeof K}function p(K,X){if(this.f=K,this.b=X,this.a={},this.arrClean=!0,0<this.f.length){for(K=0;K<this.f.length;K++){X=this.f[K];var Z=X[0];this.a[Z.toString()]=new k(Z,X[1])}this.arrClean=!0}}y("jspb.Map",p,void 0),p.prototype.g=function(){if(this.arrClean){if(this.b){var K=this.a,X;for(X in K)if(Object.prototype.hasOwnProperty.call(K,X)){var Z=K[X].a;Z&&Z.g()}}}else{for(this.f.length=0,K=b(this),K.sort(),X=0;X<K.length;X++){var be=this.a[K[X]];(Z=be.a)&&Z.g(),this.f.push([be.key,be.value])}this.arrClean=!0}return this.f},p.prototype.toArray=p.prototype.g,p.prototype.Lc=function(K,X){for(var Z=this.g(),be=[],Be=0;Be<Z.length;Be++){var dt=this.a[Z[Be][0].toString()];g(this,dt);var gt=dt.a;gt?(_(X),be.push([dt.key,X(K,gt)])):be.push([dt.key,dt.value])}return be},p.prototype.toObject=p.prototype.Lc,p.fromObject=function(K,X,Z){X=new p([],X);for(var be=0;be<K.length;be++){var Be=K[be][0],dt=Z(K[be][1]);X.set(Be,dt)}return X};function E(K){this.a=0,this.b=K}E.prototype.next=function(){return this.a<this.b.length?{done:!1,value:this.b[this.a++]}:{done:!0,value:void 0}},typeof Symbol<"u"&&(E.prototype[Symbol.iterator]=function(){return this}),p.prototype.Jb=function(){return b(this).length},p.prototype.getLength=p.prototype.Jb,p.prototype.clear=function(){this.a={},this.arrClean=!1},p.prototype.clear=p.prototype.clear,p.prototype.Cb=function(K){K=K.toString();var X=this.a.hasOwnProperty(K);return delete this.a[K],this.arrClean=!1,X},p.prototype.del=p.prototype.Cb,p.prototype.Eb=function(){var K=[],X=b(this);X.sort();for(var Z=0;Z<X.length;Z++){var be=this.a[X[Z]];K.push([be.key,be.value])}return K},p.prototype.getEntryList=p.prototype.Eb,p.prototype.entries=function(){var K=[],X=b(this);X.sort();for(var Z=0;Z<X.length;Z++){var be=this.a[X[Z]];K.push([be.key,g(this,be)])}return new E(K)},p.prototype.entries=p.prototype.entries,p.prototype.keys=function(){var K=[],X=b(this);X.sort();for(var Z=0;Z<X.length;Z++)K.push(this.a[X[Z]].key);return new E(K)},p.prototype.keys=p.prototype.keys,p.prototype.values=function(){var K=[],X=b(this);X.sort();for(var Z=0;Z<X.length;Z++)K.push(g(this,this.a[X[Z]]));return new E(K)},p.prototype.values=p.prototype.values,p.prototype.forEach=function(K,X){var Z=b(this);Z.sort();for(var be=0;be<Z.length;be++){var Be=this.a[Z[be]];K.call(X,g(this,Be),Be.key,this)}},p.prototype.forEach=p.prototype.forEach,p.prototype.set=function(K,X){var Z=new k(K);return this.b?(Z.a=X,Z.value=X.g()):Z.value=X,this.a[K.toString()]=Z,this.arrClean=!1,this},p.prototype.set=p.prototype.set;function g(K,X){return K.b?(X.a||(X.a=new K.b(X.value)),X.a):X.value}p.prototype.get=function(K){if(K=this.a[K.toString()])return g(this,K)},p.prototype.get=p.prototype.get,p.prototype.has=function(K){return K.toString()in this.a},p.prototype.has=p.prototype.has,p.prototype.Ic=function(K,X,Z,be,Be){var dt=b(this);dt.sort();for(var gt=0;gt<dt.length;gt++){var Ve=this.a[dt[gt]];X.Va(K),Z.call(X,1,Ve.key),this.b?be.call(X,2,g(this,Ve),Be):be.call(X,2,Ve.value),X.Ya()}},p.prototype.serializeBinary=p.prototype.Ic,p.deserializeBinary=function(K,X,Z,be,Be,dt,gt){for(;X.na()&&!X.bb();){var Ve=X.f;Ve==1?dt=Z.call(X):Ve==2&&(K.b?(_(Be),gt||(gt=new K.b),be.call(X,gt,Be)):gt=be.call(X))}_(dt!=null),_(gt!=null),K.set(dt,gt)};function b(K){K=K.a;var X=[],Z;for(Z in K)Object.prototype.hasOwnProperty.call(K,Z)&&X.push(Z);return X}function k(K,X){this.key=K,this.value=X,this.a=void 0}function x(K){if(8192>=K.length)return String.fromCharCode.apply(null,K);for(var X="",Z=0;Z<K.length;Z+=8192)X+=String.fromCharCode.apply(null,U(K,Z,Z+8192));return X}var S={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","	":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},f={"'":"\\'"},M={},V=null;function D(K,X){X===void 0&&(X=0),oe(),X=M[X];for(var Z=[],be=0;be<K.length;be+=3){var Be=K[be],dt=be+1<K.length,gt=dt?K[be+1]:0,Ve=be+2<K.length,Yt=Ve?K[be+2]:0,yr=Be>>2;Be=(Be&3)<<4|gt>>4,gt=(gt&15)<<2|Yt>>6,Yt&=63,Ve||(Yt=64,dt||(gt=64)),Z.push(X[yr],X[Be],X[gt]||"",X[Yt]||"")}return Z.join("")}function j(K){var X=K.length,Z=3*X/4;Z%3?Z=Math.floor(Z):"=.".indexOf(K[X-1])!=-1&&(Z="=.".indexOf(K[X-2])!=-1?Z-2:Z-1);var be=new Uint8Array(Z),Be=0;return Y(K,function(dt){be[Be++]=dt}),be.subarray(0,Be)}function Y(K,X){function Z(Yt){for(;be<K.length;){var yr=K.charAt(be++),Cr=V[yr];if(Cr!=null)return Cr;if(!/^[\s\xa0]*$/.test(yr))throw Error("Unknown base64 encoding at char: "+yr)}return Yt}oe();for(var be=0;;){var Be=Z(-1),dt=Z(0),gt=Z(64),Ve=Z(64);if(Ve===64&&Be===-1)break;X(Be<<2|dt>>4),gt!=64&&(X(dt<<4&240|gt>>2),Ve!=64&&X(gt<<6&192|Ve))}}function oe(){if(!V){V={};for(var K="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),X=["+/=","+/","-_=","-_.","-_"],Z=0;5>Z;Z++){var be=K.concat(X[Z].split(""));M[Z]=be;for(var Be=0;Be<be.length;Be++){var dt=be[Be];V[dt]===void 0&&(V[dt]=Be)}}}}y("jspb.ConstBinaryMessage",function(){},void 0),y("jspb.BinaryMessage",function(){},void 0),y("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),y("jspb.BinaryConstants.WireType",{yb:-1,te:0,xb:1,ce:2,pe:3,ee:4,wb:5},void 0),y("jspb.BinaryConstants.FieldTypeToWireType",function(K){switch(K){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),y("jspb.BinaryConstants.INVALID_FIELD_NUMBER",-1,void 0),y("jspb.BinaryConstants.FLOAT32_EPS",1401298464324817e-60,void 0),y("jspb.BinaryConstants.FLOAT32_MIN",11754943508222875e-54,void 0),y("jspb.BinaryConstants.FLOAT32_MAX",34028234663852886e22,void 0),y("jspb.BinaryConstants.FLOAT64_EPS",5e-324,void 0),y("jspb.BinaryConstants.FLOAT64_MIN",22250738585072014e-324,void 0),y("jspb.BinaryConstants.FLOAT64_MAX",17976931348623157e292,void 0),y("jspb.BinaryConstants.TWO_TO_20",1048576,void 0),y("jspb.BinaryConstants.TWO_TO_23",8388608,void 0),y("jspb.BinaryConstants.TWO_TO_31",2147483648,void 0),y("jspb.BinaryConstants.TWO_TO_32",4294967296,void 0),y("jspb.BinaryConstants.TWO_TO_52",4503599627370496,void 0),y("jspb.BinaryConstants.TWO_TO_63",9223372036854776e3,void 0),y("jspb.BinaryConstants.TWO_TO_64",18446744073709552e3,void 0),y("jspb.BinaryConstants.ZERO_HASH","\0\0\0\0\0\0\0\0",void 0);function de(K,X){if(K)throw Error("Invalid UTF8");X.push(65533)}function ue(K,X){return X=String.fromCharCode.apply(null,X),K==null?X:K+X}var ae=void 0,q,ne,me=typeof TextDecoder<"u",ve=0,ge=0;y("jspb.utils.getSplit64Low",function(){return ve},void 0),y("jspb.utils.getSplit64High",function(){return ge},void 0);function ce(K){var X=K>>>0;K=Math.floor((K-X)/4294967296)>>>0,ve=X,ge=K}y("jspb.utils.splitUint64",ce,void 0);function ee(K){var X=0>K;K=Math.abs(K);var Z=K>>>0;K=Math.floor((K-Z)/4294967296),K>>>=0,X&&(K=~K>>>0,Z=(~Z>>>0)+1,4294967295<Z&&(Z=0,K++,4294967295<K&&(K=0))),ve=Z,ge=K}y("jspb.utils.splitInt64",ee,void 0);function fe(K){var X=0>K;K=2*Math.abs(K),ce(K),K=ve;var Z=ge;X&&(K==0?Z==0?Z=K=4294967295:(Z--,K=4294967295):K--),ve=K,ge=Z}y("jspb.utils.splitZigzag64",fe,void 0);function ie(K){var X=0>K?1:0;if(K=X?-K:K,K===0)0<1/K?ve=ge=0:(ge=0,ve=2147483648);else if(isNaN(K))ge=0,ve=2147483647;else if(34028234663852886e22<K)ge=0,ve=(X<<31|2139095040)>>>0;else if(11754943508222875e-54>K)K=Math.round(K/Math.pow(2,-149)),ge=0,ve=(X<<31|K)>>>0;else{var Z=Math.floor(Math.log(K)/Math.LN2);K*=Math.pow(2,-Z),K=Math.round(8388608*K),16777216<=K&&++Z,ge=0,ve=(X<<31|Z+127<<23|K&8388607)>>>0}}y("jspb.utils.splitFloat32",ie,void 0);function re(K){var X=0>K?1:0;if(K=X?-K:K,K===0)ge=0<1/K?0:2147483648,ve=0;else if(isNaN(K))ge=2147483647,ve=4294967295;else if(17976931348623157e292<K)ge=(X<<31|2146435072)>>>0,ve=0;else if(22250738585072014e-324>K)K/=Math.pow(2,-1074),ge=(X<<31|K/4294967296)>>>0,ve=K>>>0;else{var Z=K,be=0;if(2<=Z)for(;2<=Z&&1023>be;)be++,Z/=2;else for(;1>Z&&-1022<be;)Z*=2,be--;K*=Math.pow(2,-be),ge=(X<<31|be+1023<<20|1048576*K&1048575)>>>0,ve=4503599627370496*K>>>0}}y("jspb.utils.splitFloat64",re,void 0);function Oe(K){var X=K.charCodeAt(4),Z=K.charCodeAt(5),be=K.charCodeAt(6),Be=K.charCodeAt(7);ve=K.charCodeAt(0)+(K.charCodeAt(1)<<8)+(K.charCodeAt(2)<<16)+(K.charCodeAt(3)<<24)>>>0,ge=X+(Z<<8)+(be<<16)+(Be<<24)>>>0}y("jspb.utils.splitHash64",Oe,void 0);function Pe(K,X){return 4294967296*X+(K>>>0)}y("jspb.utils.joinUint64",Pe,void 0);function Ne(K,X){var Z=X&2147483648;return Z&&(K=~K+1>>>0,X=~X>>>0,K==0&&(X=X+1>>>0)),K=Pe(K,X),Z?-K:K}y("jspb.utils.joinInt64",Ne,void 0);function Xe(K,X,Z){var be=X>>31;return Z(K<<1^be,(X<<1|K>>>31)^be)}y("jspb.utils.toZigzag64",Xe,void 0);function Je(K,X){return ft(K,X,Ne)}y("jspb.utils.joinZigzag64",Je,void 0);function ft(K,X,Z){var be=-(K&1);return Z((K>>>1|X<<31)^be,X>>>1^be)}y("jspb.utils.fromZigzag64",ft,void 0);function Kt(K){var X=2*(K>>31)+1,Z=K>>>23&255;return K&=8388607,Z==255?K?NaN:1/0*X:Z==0?X*Math.pow(2,-149)*K:X*Math.pow(2,Z-150)*(K+Math.pow(2,23))}y("jspb.utils.joinFloat32",Kt,void 0);function wt(K,X){var Z=2*(X>>31)+1,be=X>>>20&2047;return K=4294967296*(X&1048575)+K,be==2047?K?NaN:1/0*Z:be==0?Z*Math.pow(2,-1074)*K:Z*Math.pow(2,be-1075)*(K+4503599627370496)}y("jspb.utils.joinFloat64",wt,void 0);function Ie(K,X){return String.fromCharCode(K>>>0&255,K>>>8&255,K>>>16&255,K>>>24&255,X>>>0&255,X>>>8&255,X>>>16&255,X>>>24&255)}y("jspb.utils.joinHash64",Ie,void 0),y("jspb.utils.DIGITS","0123456789abcdef".split(""),void 0);function it(K,X){function Z(Be,dt){return Be=Be?String(Be):"",dt?"0000000".slice(Be.length)+Be:Be}if(2097151>=X)return""+Pe(K,X);var be=(K>>>24|X<<8)>>>0&16777215;return X=X>>16&65535,K=(K&16777215)+6777216*be+6710656*X,be+=8147497*X,X*=2,1e7<=K&&(be+=Math.floor(K/1e7),K%=1e7),1e7<=be&&(X+=Math.floor(be/1e7),be%=1e7),Z(X,0)+Z(be,X)+Z(K,1)}y("jspb.utils.joinUnsignedDecimalString",it,void 0);function Ye(K,X){var Z=X&2147483648;return Z&&(K=~K+1>>>0,X=~X+(K==0?1:0)>>>0),K=it(K,X),Z?"-"+K:K}y("jspb.utils.joinSignedDecimalString",Ye,void 0);function et(K,X){Oe(K),K=ve;var Z=ge;return X?Ye(K,Z):it(K,Z)}y("jspb.utils.hash64ToDecimalString",et,void 0),y("jspb.utils.hash64ArrayToDecimalStrings",function(K,X){for(var Z=Array(K.length),be=0;be<K.length;be++)Z[be]=et(K[be],X);return Z},void 0);function Gt(K){function X(gt,Ve){for(var Yt=0;8>Yt&&(gt!==1||0<Ve);Yt++)Ve=gt*Be[Yt]+Ve,Be[Yt]=Ve&255,Ve>>>=8}function Z(){for(var gt=0;8>gt;gt++)Be[gt]=~Be[gt]&255}_(0<K.length);var be=!1;K[0]==="-"&&(be=!0,K=K.slice(1));for(var Be=[0,0,0,0,0,0,0,0],dt=0;dt<K.length;dt++)X(10,K.charCodeAt(dt)-48);return be&&(Z(),X(1,1)),x(Be)}y("jspb.utils.decimalStringToHash64",Gt,void 0),y("jspb.utils.splitDecimalString",function(K){Oe(Gt(K))},void 0);function It(K){return String.fromCharCode(10>K?48+K:87+K)}function Rt(K){return 97<=K?K-97+10:K-48}y("jspb.utils.hash64ToHexString",function(K){var X=Array(18);X[0]="0",X[1]="x";for(var Z=0;8>Z;Z++){var be=K.charCodeAt(7-Z);X[2*Z+2]=It(be>>4),X[2*Z+3]=It(be&15)}return X.join("")},void 0),y("jspb.utils.hexStringToHash64",function(K){K=K.toLowerCase(),_(K.length==18),_(K[0]=="0"),_(K[1]=="x");for(var X="",Z=0;8>Z;Z++)X=String.fromCharCode(16*Rt(K.charCodeAt(2*Z+2))+Rt(K.charCodeAt(2*Z+3)))+X;return X},void 0),y("jspb.utils.hash64ToNumber",function(K,X){Oe(K),K=ve;var Z=ge;return X?Ne(K,Z):Pe(K,Z)},void 0),y("jspb.utils.numberToHash64",function(K){return ee(K),Ie(ve,ge)},void 0),y("jspb.utils.countVarints",function(K,X,Z){for(var be=0,Be=X;Be<Z;Be++)be+=K[Be]>>7;return Z-X-be},void 0),y("jspb.utils.countVarintFields",function(K,X,Z,be){var Be=0;if(be*=8,128>be)for(;X<Z&&K[X++]==be;)for(Be++;;){var dt=K[X++];if(!(dt&128))break}else for(;X<Z;){for(dt=be;128<dt;){if(K[X]!=(dt&127|128))return Be;X++,dt>>=7}if(K[X++]!=dt)break;for(Be++;dt=K[X++],(dt&128)!=0;);}return Be},void 0);function _r(K,X,Z,be,Be){var dt=0;if(128>be)for(;X<Z&&K[X++]==be;)dt++,X+=Be;else for(;X<Z;){for(var gt=be;128<gt;){if(K[X++]!=(gt&127|128))return dt;gt>>=7}if(K[X++]!=gt)break;dt++,X+=Be}return dt}y("jspb.utils.countFixed32Fields",function(K,X,Z,be){return _r(K,X,Z,8*be+5,4)},void 0),y("jspb.utils.countFixed64Fields",function(K,X,Z,be){return _r(K,X,Z,8*be+1,8)},void 0),y("jspb.utils.countDelimitedFields",function(K,X,Z,be){var Be=0;for(be=8*be+2;X<Z;){for(var dt=be;128<dt;){if(K[X++]!=(dt&127|128))return Be;dt>>=7}if(K[X++]!=dt)break;Be++;for(var gt=0,Ve=1;dt=K[X++],gt+=(dt&127)*Ve,Ve*=128,(dt&128)!=0;);X+=gt}return Be},void 0),y("jspb.utils.debugBytesToTextFormat",function(K){var X='"';if(K){K=jt(K);for(var Z=0;Z<K.length;Z++)X+="\\x",16>K[Z]&&(X+="0"),X+=K[Z].toString(16)}return X+'"'},void 0),y("jspb.utils.debugScalarToTextFormat",function(K){if(typeof K=="string"){K=String(K);for(var X=['"'],Z=0;Z<K.length;Z++){var be=K.charAt(Z),Be=be.charCodeAt(0),dt=Z+1,gt;(gt=S[be])||(31<Be&&127>Be||(Be=be,Be in f?be=f[Be]:Be in S?be=f[Be]=S[Be]:(gt=Be.charCodeAt(0),31<gt&&127>gt?be=Be:(256>gt?(be="\\x",(16>gt||256<gt)&&(be+="0")):(be="\\u",4096>gt&&(be+="0")),be+=gt.toString(16).toUpperCase()),be=f[Be]=be)),gt=be),X[dt]=gt}X.push('"'),K=X.join("")}else K=K.toString();return K},void 0),y("jspb.utils.stringToByteArray",function(K){for(var X=new Uint8Array(K.length),Z=0;Z<K.length;Z++){var be=K.charCodeAt(Z);if(255<be)throw Error("Conversion error: string contains codepoint outside of byte range");X[Z]=be}return X},void 0);function jt(K){return K.constructor===Uint8Array?K:K.constructor===ArrayBuffer?new Uint8Array(K):K.constructor===Array?new Uint8Array(K):K.constructor===String?j(K):K instanceof Uint8Array?new Uint8Array(K.buffer,K.byteOffset,K.byteLength):(F("Type not convertible to Uint8Array."),new Uint8Array(0))}y("jspb.utils.byteSourceToUint8Array",jt,void 0);function Fe(K,X,Z){this.b=null,this.a=this.f=this.h=0,this.v=!1,K&&this.H(K,X,Z)}y("jspb.BinaryDecoder",Fe,void 0);var Pr=[];Fe.getInstanceCacheLength=function(){return Pr.length};function $t(K,X,Z){if(Pr.length){var be=Pr.pop();return K&&be.H(K,X,Z),be}return new Fe(K,X,Z)}Fe.alloc=$t,Fe.prototype.Ca=function(){this.clear(),100>Pr.length&&Pr.push(this)},Fe.prototype.free=Fe.prototype.Ca,Fe.prototype.clone=function(){return $t(this.b,this.h,this.f-this.h)},Fe.prototype.clone=Fe.prototype.clone,Fe.prototype.clear=function(){this.b=null,this.a=this.f=this.h=0,this.v=!1},Fe.prototype.clear=Fe.prototype.clear,Fe.prototype.Y=function(){return this.b},Fe.prototype.getBuffer=Fe.prototype.Y,Fe.prototype.H=function(K,X,Z){this.b=jt(K),this.h=X!==void 0?X:0,this.f=Z!==void 0?this.h+Z:this.b.length,this.a=this.h},Fe.prototype.setBlock=Fe.prototype.H,Fe.prototype.Db=function(){return this.f},Fe.prototype.getEnd=Fe.prototype.Db,Fe.prototype.setEnd=function(K){this.f=K},Fe.prototype.setEnd=Fe.prototype.setEnd,Fe.prototype.reset=function(){this.a=this.h},Fe.prototype.reset=Fe.prototype.reset,Fe.prototype.B=function(){return this.a},Fe.prototype.getCursor=Fe.prototype.B,Fe.prototype.Ma=function(K){this.a=K},Fe.prototype.setCursor=Fe.prototype.Ma,Fe.prototype.advance=function(K){this.a+=K,Qt(this)},Fe.prototype.advance=Fe.prototype.advance,Fe.prototype.ya=function(){return this.a==this.f},Fe.prototype.atEnd=Fe.prototype.ya,Fe.prototype.Qb=function(){return this.a>this.f},Fe.prototype.pastEnd=Fe.prototype.Qb,Fe.prototype.getError=function(){return this.v||0>this.a||this.a>this.f},Fe.prototype.getError=Fe.prototype.getError,Fe.prototype.w=function(K){for(var X=128,Z=0,be=0,Be=0;4>Be&&128<=X;Be++)X=this.b[this.a++],Z|=(X&127)<<7*Be;if(128<=X&&(X=this.b[this.a++],Z|=(X&127)<<28,be|=(X&127)>>4),128<=X)for(Be=0;5>Be&&128<=X;Be++)X=this.b[this.a++],be|=(X&127)<<7*Be+3;if(128>X)return K(Z>>>0,be>>>0);F("Failed to read varint, encoding is invalid."),this.v=!0},Fe.prototype.readSplitVarint64=Fe.prototype.w,Fe.prototype.ea=function(K){return this.w(function(X,Z){return ft(X,Z,K)})},Fe.prototype.readSplitZigzagVarint64=Fe.prototype.ea,Fe.prototype.sa=function(K){var X=this.b,Z=this.a;this.a+=8;for(var be=0,Be=0,dt=Z+7;dt>=Z;dt--)be=be<<8|X[dt],Be=Be<<8|X[dt+4];return K(be,Be)},Fe.prototype.readSplitFixed64=Fe.prototype.sa;function Qt(K){K.a>K.f&&F("Read past the end "+K.a+" > "+K.f)}Fe.prototype.kb=function(){for(;this.b[this.a]&128;)this.a++;this.a++},Fe.prototype.skipVarint=Fe.prototype.kb,Fe.prototype.mb=function(K){for(;128<K;)this.a--,K>>>=7;this.a--},Fe.prototype.unskipVarint=Fe.prototype.mb,Fe.prototype.s=function(){var K=this.b,X=K[this.a],Z=X&127;return 128>X?(this.a+=1,Qt(this),Z):(X=K[this.a+1],Z|=(X&127)<<7,128>X?(this.a+=2,Qt(this),Z):(X=K[this.a+2],Z|=(X&127)<<14,128>X?(this.a+=3,Qt(this),Z):(X=K[this.a+3],Z|=(X&127)<<21,128>X?(this.a+=4,Qt(this),Z):(X=K[this.a+4],Z|=(X&15)<<28,128>X?(this.a+=5,Qt(this),Z>>>0):(this.a+=5,128<=K[this.a++]&&128<=K[this.a++]&&128<=K[this.a++]&&128<=K[this.a++]&&128<=K[this.a++]&&_(!1),Qt(this),Z)))))},Fe.prototype.readUnsignedVarint32=Fe.prototype.s,Fe.prototype.da=function(){return~~this.s()},Fe.prototype.readSignedVarint32=Fe.prototype.da,Fe.prototype.O=function(){return this.s().toString()},Fe.prototype.Ea=function(){return this.da().toString()},Fe.prototype.readSignedVarint32String=Fe.prototype.Ea,Fe.prototype.Ia=function(){var K=this.s();return K>>>1^-(K&1)},Fe.prototype.readZigzagVarint32=Fe.prototype.Ia,Fe.prototype.Ga=function(){return this.w(Pe)},Fe.prototype.readUnsignedVarint64=Fe.prototype.Ga,Fe.prototype.Ha=function(){return this.w(it)},Fe.prototype.readUnsignedVarint64String=Fe.prototype.Ha,Fe.prototype.ra=function(){return this.w(Ne)},Fe.prototype.readSignedVarint64=Fe.prototype.ra,Fe.prototype.Fa=function(){return this.w(Ye)},Fe.prototype.readSignedVarint64String=Fe.prototype.Fa,Fe.prototype.Ja=function(){return this.w(Je)},Fe.prototype.readZigzagVarint64=Fe.prototype.Ja,Fe.prototype.fb=function(){return this.ea(Ie)},Fe.prototype.readZigzagVarintHash64=Fe.prototype.fb,Fe.prototype.Ka=function(){return this.ea(Ye)},Fe.prototype.readZigzagVarint64String=Fe.prototype.Ka,Fe.prototype.Fc=function(){var K=this.b[this.a];return this.a+=1,Qt(this),K},Fe.prototype.readUint8=Fe.prototype.Fc,Fe.prototype.Dc=function(){var K=this.b[this.a],X=this.b[this.a+1];return this.a+=2,Qt(this),K<<0|X<<8},Fe.prototype.readUint16=Fe.prototype.Dc,Fe.prototype.m=function(){var K=this.b[this.a],X=this.b[this.a+1],Z=this.b[this.a+2],be=this.b[this.a+3];return this.a+=4,Qt(this),(K<<0|X<<8|Z<<16|be<<24)>>>0},Fe.prototype.readUint32=Fe.prototype.m,Fe.prototype.fa=function(){var K=this.m(),X=this.m();return Pe(K,X)},Fe.prototype.readUint64=Fe.prototype.fa,Fe.prototype.ga=function(){var K=this.m(),X=this.m();return it(K,X)},Fe.prototype.readUint64String=Fe.prototype.ga,Fe.prototype.Xb=function(){var K=this.b[this.a];return this.a+=1,Qt(this),K<<24>>24},Fe.prototype.readInt8=Fe.prototype.Xb,Fe.prototype.Vb=function(){var K=this.b[this.a],X=this.b[this.a+1];return this.a+=2,Qt(this),(K<<0|X<<8)<<16>>16},Fe.prototype.readInt16=Fe.prototype.Vb,Fe.prototype.P=function(){var K=this.b[this.a],X=this.b[this.a+1],Z=this.b[this.a+2],be=this.b[this.a+3];return this.a+=4,Qt(this),K<<0|X<<8|Z<<16|be<<24},Fe.prototype.readInt32=Fe.prototype.P,Fe.prototype.ba=function(){var K=this.m(),X=this.m();return Ne(K,X)},Fe.prototype.readInt64=Fe.prototype.ba,Fe.prototype.ca=function(){var K=this.m(),X=this.m();return Ye(K,X)},Fe.prototype.readInt64String=Fe.prototype.ca,Fe.prototype.aa=function(){var K=this.m();return Kt(K,0)},Fe.prototype.readFloat=Fe.prototype.aa,Fe.prototype.Z=function(){var K=this.m(),X=this.m();return wt(K,X)},Fe.prototype.readDouble=Fe.prototype.Z,Fe.prototype.oa=function(){var K=!!this.b[this.a++];return Qt(this),K},Fe.prototype.readBool=Fe.prototype.oa,Fe.prototype.qa=function(){return this.da()},Fe.prototype.readEnum=Fe.prototype.qa,Fe.prototype.ta=function(K,X){var Z=this.a;this.a+=K,Qt(this);var be=_(this.b);if(me){var Be;X?(Be=q)||(Be=q=new TextDecoder("utf-8",{fatal:!0})):(Be=ne)||(Be=ne=new TextDecoder("utf-8",{fatal:!1}));var dt=Z+K;be=Z===0&&dt===be.length?be:be.subarray(Z,dt);try{var gt=Be.decode(be)}catch(Cr){if(X){if(ae===void 0){try{Be.decode(new Uint8Array([128]))}catch{}try{Be.decode(new Uint8Array([97])),ae=!0}catch{ae=!1}}X=!ae}throw X&&(q=void 0),Cr}}else{K=Z+K,gt=[];for(var Ve=null,Yt,yr;Z<K;)Yt=be[Z++],128>Yt?gt.push(Yt):224>Yt?Z>=K?de(X,gt):(yr=be[Z++],194>Yt||(yr&192)!==128?(Z--,de(X,gt)):(Yt=(Yt&31)<<6|yr&63,_(128<=Yt&&2047>=Yt),gt.push(Yt))):240>Yt?Z>=K-1?de(X,gt):(yr=be[Z++],(yr&192)!==128||Yt===224&&160>yr||Yt===237&&160<=yr||((Be=be[Z++])&192)!==128?(Z--,de(X,gt)):(Yt=(Yt&15)<<12|(yr&63)<<6|Be&63,_(2048<=Yt&&65535>=Yt),_(55296>Yt||57343<Yt),gt.push(Yt))):244>=Yt?Z>=K-2?de(X,gt):(yr=be[Z++],(yr&192)!==128||(Yt<<28)+(yr-144)>>30||((Be=be[Z++])&192)!==128||((dt=be[Z++])&192)!==128?(Z--,de(X,gt)):(Yt=(Yt&7)<<18|(yr&63)<<12|(Be&63)<<6|dt&63,_(65536<=Yt&&1114111>=Yt),Yt-=65536,gt.push((Yt>>10&1023)+55296,(Yt&1023)+56320))):de(X,gt),8192<=gt.length&&(Ve=ue(Ve,gt),gt.length=0);_(Z===K,"expected "+Z+" === "+K),gt=ue(Ve,gt)}return gt},Fe.prototype.readString=Fe.prototype.ta,Fe.prototype.pa=function(K){if(0>K||this.a+K>this.b.length)return this.v=!0,F("Invalid byte length!"),new Uint8Array(0);var X=this.b.subarray(this.a,this.a+K);return this.a+=K,Qt(this),X},Fe.prototype.readBytes=Fe.prototype.pa,Fe.prototype.ha=function(){return this.w(Ie)},Fe.prototype.readVarintHash64=Fe.prototype.ha,Fe.prototype.$=function(){var K=this.b,X=this.a,Z=K[X],be=K[X+1],Be=K[X+2],dt=K[X+3],gt=K[X+4],Ve=K[X+5],Yt=K[X+6];return K=K[X+7],this.a+=8,String.fromCharCode(Z,be,Be,dt,gt,Ve,Yt,K)},Fe.prototype.readFixedHash64=Fe.prototype.$,_(!0);function At(K,X,Z){this.a=$t(K,X,Z),this.O=this.a.B(),this.b=this.f=-1,this.h=!1,this.v=null}y("jspb.BinaryReader",At,void 0);var ur=[];At.clearInstanceCache=function(){ur=[]},At.getInstanceCacheLength=function(){return ur.length};function tr(K,X,Z){if(ur.length){var be=ur.pop();return K&&be.a.H(K,X,Z),be}return new At(K,X,Z)}At.alloc=tr,At.prototype.zb=tr,At.prototype.alloc=At.prototype.zb,At.prototype.Ca=function(){this.a.clear(),this.b=this.f=-1,this.h=!1,this.v=null,100>ur.length&&ur.push(this)},At.prototype.free=At.prototype.Ca,At.prototype.Fb=function(){return this.O},At.prototype.getFieldCursor=At.prototype.Fb,At.prototype.B=function(){return this.a.B()},At.prototype.getCursor=At.prototype.B,At.prototype.Y=function(){return this.a.Y()},At.prototype.getBuffer=At.prototype.Y,At.prototype.Hb=function(){return this.f},At.prototype.getFieldNumber=At.prototype.Hb,At.prototype.Lb=function(){return this.b},At.prototype.getWireType=At.prototype.Lb,At.prototype.Mb=function(){return this.b==2},At.prototype.isDelimited=At.prototype.Mb,At.prototype.bb=function(){return this.b==4},At.prototype.isEndGroup=At.prototype.bb,At.prototype.getError=function(){return this.h||this.a.getError()},At.prototype.getError=At.prototype.getError,At.prototype.H=function(K,X,Z){this.a.H(K,X,Z),this.b=this.f=-1},At.prototype.setBlock=At.prototype.H,At.prototype.reset=function(){this.a.reset(),this.b=this.f=-1},At.prototype.reset=At.prototype.reset,At.prototype.advance=function(K){this.a.advance(K)},At.prototype.advance=At.prototype.advance,At.prototype.na=function(){if(this.a.ya())return!1;if(this.getError())return F("Decoder hit an error"),!1;this.O=this.a.B();var K=this.a.s(),X=K>>>3;return K&=7,K!=0&&K!=5&&K!=1&&K!=2&&K!=3&&K!=4?(F("Invalid wire type: %s (at position %s)",K,this.O),this.h=!0,!1):(this.f=X,this.b=K,!0)},At.prototype.nextField=At.prototype.na,At.prototype.Oa=function(){this.a.mb(this.f<<3|this.b)},At.prototype.unskipHeader=At.prototype.Oa,At.prototype.Kc=function(){var K=this.f;for(this.Oa();this.na()&&this.f==K;)this.C();this.a.ya()||this.Oa()},At.prototype.skipMatchingFields=At.prototype.Kc,At.prototype.lb=function(){this.b!=0?(F("Invalid wire type for skipVarintField"),this.C()):this.a.kb()},At.prototype.skipVarintField=At.prototype.lb,At.prototype.gb=function(){if(this.b!=2)F("Invalid wire type for skipDelimitedField"),this.C();else{var K=this.a.s();this.a.advance(K)}},At.prototype.skipDelimitedField=At.prototype.gb,At.prototype.hb=function(){this.b!=5?(F("Invalid wire type for skipFixed32Field"),this.C()):this.a.advance(4)},At.prototype.skipFixed32Field=At.prototype.hb,At.prototype.ib=function(){this.b!=1?(F("Invalid wire type for skipFixed64Field"),this.C()):this.a.advance(8)},At.prototype.skipFixed64Field=At.prototype.ib,At.prototype.jb=function(){var K=this.f;do{if(!this.na()){F("Unmatched start-group tag: stream EOF"),this.h=!0;break}if(this.b==4){this.f!=K&&(F("Unmatched end-group tag"),this.h=!0);break}this.C()}while(!0)},At.prototype.skipGroup=At.prototype.jb,At.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:F("Invalid wire encoding for field.")}},At.prototype.skipField=At.prototype.C,At.prototype.Gc=function(K,X){this.v===null&&(this.v={}),_(!this.v[K]),this.v[K]=X},At.prototype.registerReadCallback=At.prototype.Gc,At.prototype.Hc=function(K){return _(this.v!==null),K=this.v[K],_(K),K(this)},At.prototype.runReadCallback=At.prototype.Hc,At.prototype.Yb=function(K,X){_(this.b==2);var Z=this.a.f,be=this.a.s();be=this.a.B()+be,this.a.setEnd(be),X(K,this),this.a.Ma(be),this.a.setEnd(Z)},At.prototype.readMessage=At.prototype.Yb,At.prototype.Ub=function(K,X,Z){_(this.b==3),_(this.f==K),Z(X,this),this.h||this.b==4||(F("Group submessage did not end with an END_GROUP tag"),this.h=!0)},At.prototype.readGroup=At.prototype.Ub,At.prototype.Gb=function(){_(this.b==2);var K=this.a.s(),X=this.a.B(),Z=X+K;return K=$t(this.a.Y(),X,K),this.a.Ma(Z),K},At.prototype.getFieldDecoder=At.prototype.Gb,At.prototype.P=function(){return _(this.b==0),this.a.da()},At.prototype.readInt32=At.prototype.P,At.prototype.Wb=function(){return _(this.b==0),this.a.Ea()},At.prototype.readInt32String=At.prototype.Wb,At.prototype.ba=function(){return _(this.b==0),this.a.ra()},At.prototype.readInt64=At.prototype.ba,At.prototype.ca=function(){return _(this.b==0),this.a.Fa()},At.prototype.readInt64String=At.prototype.ca,At.prototype.m=function(){return _(this.b==0),this.a.s()},At.prototype.readUint32=At.prototype.m,At.prototype.Ec=function(){return _(this.b==0),this.a.O()},At.prototype.readUint32String=At.prototype.Ec,At.prototype.fa=function(){return _(this.b==0),this.a.Ga()},At.prototype.readUint64=At.prototype.fa,At.prototype.ga=function(){return _(this.b==0),this.a.Ha()},At.prototype.readUint64String=At.prototype.ga,At.prototype.zc=function(){return _(this.b==0),this.a.Ia()},At.prototype.readSint32=At.prototype.zc,At.prototype.Ac=function(){return _(this.b==0),this.a.Ja()},At.prototype.readSint64=At.prototype.Ac,At.prototype.Bc=function(){return _(this.b==0),this.a.Ka()},At.prototype.readSint64String=At.prototype.Bc,At.prototype.Rb=function(){return _(this.b==5),this.a.m()},At.prototype.readFixed32=At.prototype.Rb,At.prototype.Sb=function(){return _(this.b==1),this.a.fa()},At.prototype.readFixed64=At.prototype.Sb,At.prototype.Tb=function(){return _(this.b==1),this.a.ga()},At.prototype.readFixed64String=At.prototype.Tb,At.prototype.vc=function(){return _(this.b==5),this.a.P()},At.prototype.readSfixed32=At.prototype.vc,At.prototype.wc=function(){return _(this.b==5),this.a.P().toString()},At.prototype.readSfixed32String=At.prototype.wc,At.prototype.xc=function(){return _(this.b==1),this.a.ba()},At.prototype.readSfixed64=At.prototype.xc,At.prototype.yc=function(){return _(this.b==1),this.a.ca()},At.prototype.readSfixed64String=At.prototype.yc,At.prototype.aa=function(){return _(this.b==5),this.a.aa()},At.prototype.readFloat=At.prototype.aa,At.prototype.Z=function(){return _(this.b==1),this.a.Z()},At.prototype.readDouble=At.prototype.Z,At.prototype.oa=function(){return _(this.b==0),!!this.a.s()},At.prototype.readBool=At.prototype.oa,At.prototype.qa=function(){return _(this.b==0),this.a.ra()},At.prototype.readEnum=At.prototype.qa,At.prototype.ta=function(){_(this.b==2);var K=this.a.s();return this.a.ta(K,!0)},At.prototype.readString=At.prototype.ta,At.prototype.pa=function(){_(this.b==2);var K=this.a.s();return this.a.pa(K)},At.prototype.readBytes=At.prototype.pa,At.prototype.ha=function(){return _(this.b==0),this.a.ha()},At.prototype.readVarintHash64=At.prototype.ha,At.prototype.Cc=function(){return _(this.b==0),this.a.fb()},At.prototype.readSintHash64=At.prototype.Cc,At.prototype.w=function(K){return _(this.b==0),this.a.w(K)},At.prototype.readSplitVarint64=At.prototype.w,At.prototype.ea=function(K){return _(this.b==0),this.a.w(function(X,Z){return ft(X,Z,K)})},At.prototype.readSplitZigzagVarint64=At.prototype.ea,At.prototype.$=function(){return _(this.b==1),this.a.$()},At.prototype.readFixedHash64=At.prototype.$,At.prototype.sa=function(K){return _(this.b==1),this.a.sa(K)},At.prototype.readSplitFixed64=At.prototype.sa;function Vt(K,X){_(K.b==2);var Z=K.a.s();Z=K.a.B()+Z;for(var be=[];K.a.B()<Z;)be.push(X.call(K.a));return be}At.prototype.gc=function(){return Vt(this,this.a.da)},At.prototype.readPackedInt32=At.prototype.gc,At.prototype.hc=function(){return Vt(this,this.a.Ea)},At.prototype.readPackedInt32String=At.prototype.hc,At.prototype.ic=function(){return Vt(this,this.a.ra)},At.prototype.readPackedInt64=At.prototype.ic,At.prototype.jc=function(){return Vt(this,this.a.Fa)},At.prototype.readPackedInt64String=At.prototype.jc,At.prototype.qc=function(){return Vt(this,this.a.s)},At.prototype.readPackedUint32=At.prototype.qc,At.prototype.rc=function(){return Vt(this,this.a.O)},At.prototype.readPackedUint32String=At.prototype.rc,At.prototype.sc=function(){return Vt(this,this.a.Ga)},At.prototype.readPackedUint64=At.prototype.sc,At.prototype.tc=function(){return Vt(this,this.a.Ha)},At.prototype.readPackedUint64String=At.prototype.tc,At.prototype.nc=function(){return Vt(this,this.a.Ia)},At.prototype.readPackedSint32=At.prototype.nc,At.prototype.oc=function(){return Vt(this,this.a.Ja)},At.prototype.readPackedSint64=At.prototype.oc,At.prototype.pc=function(){return Vt(this,this.a.Ka)},At.prototype.readPackedSint64String=At.prototype.pc,At.prototype.bc=function(){return Vt(this,this.a.m)},At.prototype.readPackedFixed32=At.prototype.bc,At.prototype.cc=function(){return Vt(this,this.a.fa)},At.prototype.readPackedFixed64=At.prototype.cc,At.prototype.dc=function(){return Vt(this,this.a.ga)},At.prototype.readPackedFixed64String=At.prototype.dc,At.prototype.kc=function(){return Vt(this,this.a.P)},At.prototype.readPackedSfixed32=At.prototype.kc,At.prototype.lc=function(){return Vt(this,this.a.ba)},At.prototype.readPackedSfixed64=At.prototype.lc,At.prototype.mc=function(){return Vt(this,this.a.ca)},At.prototype.readPackedSfixed64String=At.prototype.mc,At.prototype.fc=function(){return Vt(this,this.a.aa)},At.prototype.readPackedFloat=At.prototype.fc,At.prototype.$b=function(){return Vt(this,this.a.Z)},At.prototype.readPackedDouble=At.prototype.$b,At.prototype.Zb=function(){return Vt(this,this.a.oa)},At.prototype.readPackedBool=At.prototype.Zb,At.prototype.ac=function(){return Vt(this,this.a.qa)},At.prototype.readPackedEnum=At.prototype.ac,At.prototype.uc=function(){return Vt(this,this.a.ha)},At.prototype.readPackedVarintHash64=At.prototype.uc,At.prototype.ec=function(){return Vt(this,this.a.$)},At.prototype.readPackedFixedHash64=At.prototype.ec;function bt(K,X,Z,be,Be){this.la=K,this.Ba=X,this.ka=Z,this.Na=be,this.ma=Be}y("jspb.ExtensionFieldInfo",bt,void 0);function kt(K,X,Z,be,Be,dt){this.Za=K,this.za=X,this.Aa=Z,this.Wa=be,this.Ab=Be,this.Nb=dt}y("jspb.ExtensionFieldBinaryInfo",kt,void 0),bt.prototype.F=function(){return!!this.ka},bt.prototype.isMessageType=bt.prototype.F;function er(){}y("jspb.Message",er,void 0),er.GENERATE_TO_OBJECT=!0,er.GENERATE_FROM_OBJECT=!0;var Et=typeof Uint8Array=="function";er.prototype.Ib=function(){return this.b},er.prototype.getJsPbMessageId=er.prototype.Ib,er.initialize=function(K,X,Z,be,Be,dt){K.c=null,X||(X=Z?[Z]:[]),K.b=Z?String(Z):void 0,K.D=Z===0?-1:0,K.u=X;e:{if(Z=K.u.length,X=-1,Z&&(X=Z-1,Z=K.u[X],!(Z===null||typeof Z!="object"||Array.isArray(Z)||Et&&Z instanceof Uint8Array))){K.G=X-K.D,K.i=Z;break e}-1<be?(K.G=Math.max(be,X+1-K.D),K.i=null):K.G=Number.MAX_VALUE}if(K.a={},Be)for(be=0;be<Be.length;be++)X=Be[be],X<K.G?(X+=K.D,K.u[X]=K.u[X]||qt):(Hr(K),K.i[X]=K.i[X]||qt);if(dt&&dt.length)for(be=0;be<dt.length;be++)hr(K,dt[be])};var qt=Object.freeze?Object.freeze([]):[];function Hr(K){var X=K.G+K.D;K.u[X]||(K.i=K.u[X]={})}function _t(K,X,Z){for(var be=[],Be=0;Be<K.length;Be++)be[Be]=X.call(K[Be],Z,K[Be]);return be}er.toObjectList=_t,er.toObjectExtension=function(K,X,Z,be,Be){for(var dt in Z){var gt=Z[dt],Ve=be.call(K,gt);if(Ve!=null){for(var Yt in gt.Ba)if(gt.Ba.hasOwnProperty(Yt))break;X[Yt]=gt.Na?gt.ma?_t(Ve,gt.Na,Be):gt.Na(Be,Ve):Ve}}},er.serializeBinaryExtensions=function(K,X,Z,be){for(var Be in Z){var dt=Z[Be],gt=dt.Za;if(!dt.Aa)throw Error("Message extension present that was generated without binary serialization support");var Ve=be.call(K,gt);if(Ve!=null)if(gt.F())if(dt.Wa)dt.Aa.call(X,gt.la,Ve,dt.Wa);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else dt.Aa.call(X,gt.la,Ve)}},er.readBinaryExtension=function(K,X,Z,be,Be){var dt=Z[X.f];if(dt){if(Z=dt.Za,!dt.za)throw Error("Deserializing extension whose generated code does not support binary format");if(Z.F()){var gt=new Z.ka;dt.za.call(X,gt,dt.Ab)}else gt=dt.za.call(X);Z.ma&&!dt.Nb?(X=be.call(K,Z))?X.push(gt):Be.call(K,Z,[gt]):Be.call(K,Z,gt)}else X.C()};function Wt(K,X){if(X<K.G){X+=K.D;var Z=K.u[X];return Z===qt?K.u[X]=[]:Z}if(K.i)return Z=K.i[X],Z===qt?K.i[X]=[]:Z}er.getField=Wt,er.getRepeatedField=function(K,X){return Wt(K,X)};function qr(K,X){return K=Wt(K,X),K==null?K:+K}er.getOptionalFloatingPointField=qr;function Ce(K,X){return K=Wt(K,X),K==null?K:!!K}er.getBooleanField=Ce,er.getRepeatedFloatingPointField=function(K,X){var Z=Wt(K,X);if(K.a||(K.a={}),!K.a[X]){for(var be=0;be<Z.length;be++)Z[be]=+Z[be];K.a[X]=!0}return Z},er.getRepeatedBooleanField=function(K,X){var Z=Wt(K,X);if(K.a||(K.a={}),!K.a[X]){for(var be=0;be<Z.length;be++)Z[be]=!!Z[be];K.a[X]=!0}return Z};function _e(K){return K==null||typeof K=="string"?K:Et&&K instanceof Uint8Array?D(K):(F("Cannot coerce to b64 string: "+C(K)),null)}er.bytesAsB64=_e;function Ze(K){return K==null||K instanceof Uint8Array?K:typeof K=="string"?j(K):(F("Cannot coerce to Uint8Array: "+C(K)),null)}er.bytesAsU8=Ze,er.bytesListAsB64=function(K){return he(K),K.length&&typeof K[0]!="string"?R(K,_e):K},er.bytesListAsU8=function(K){return he(K),!K.length||K[0]instanceof Uint8Array?K:R(K,Ze)};function he(K){if(K&&1<K.length){var X=C(K[0]);B(K,function(Z){C(Z)!=X&&F("Inconsistent type in JSPB repeated field array. Got "+C(Z)+" expected "+X)})}}function Ke(K,X,Z){return K=Wt(K,X),K??Z}er.getFieldWithDefault=Ke,er.getBooleanFieldWithDefault=function(K,X,Z){return K=Ce(K,X),K??Z},er.getFloatingPointFieldWithDefault=function(K,X,Z){return K=qr(K,X),K??Z},er.getFieldProto3=Ke,er.getMapField=function(K,X,Z,be){if(K.c||(K.c={}),X in K.c)return K.c[X];var Be=Wt(K,X);if(!Be){if(Z)return;Be=[],Ht(K,X,Be)}return K.c[X]=new p(Be,be)};function Ht(K,X,Z){return G(K,er),X<K.G?K.u[X+K.D]=Z:(Hr(K),K.i[X]=Z),K}er.setField=Ht,er.setProto3IntField=function(K,X,Z){return yt(K,X,Z,0)},er.setProto3FloatField=function(K,X,Z){return yt(K,X,Z,0)},er.setProto3BooleanField=function(K,X,Z){return yt(K,X,Z,!1)},er.setProto3StringField=function(K,X,Z){return yt(K,X,Z,"")},er.setProto3BytesField=function(K,X,Z){return yt(K,X,Z,"")},er.setProto3EnumField=function(K,X,Z){return yt(K,X,Z,0)},er.setProto3StringIntField=function(K,X,Z){return yt(K,X,Z,"0")};function yt(K,X,Z,be){return G(K,er),Z!==be?Ht(K,X,Z):X<K.G?K.u[X+K.D]=null:(Hr(K),delete K.i[X]),K}er.addToRepeatedField=function(K,X,Z,be){return G(K,er),X=Wt(K,X),be!=null?X.splice(be,0,Z):X.push(Z),K};function Ot(K,X,Z,be){return G(K,er),(Z=hr(K,Z))&&Z!==X&&be!==void 0&&(K.c&&Z in K.c&&(K.c[Z]=void 0),Ht(K,Z,void 0)),Ht(K,X,be)}er.setOneofField=Ot;function hr(K,X){for(var Z,be,Be=0;Be<X.length;Be++){var dt=X[Be],gt=Wt(K,dt);gt!=null&&(Z=dt,be=gt,Ht(K,dt,void 0))}return Z?(Ht(K,Z,be),Z):0}er.computeOneofCase=hr,er.getWrapperField=function(K,X,Z,be){if(K.c||(K.c={}),!K.c[Z]){var Be=Wt(K,Z);(be||Be)&&(K.c[Z]=new X(Be))}return K.c[Z]},er.getRepeatedWrapperField=function(K,X,Z){return Br(K,X,Z),X=K.c[Z],X==qt&&(X=K.c[Z]=[]),X};function Br(K,X,Z){if(K.c||(K.c={}),!K.c[Z]){for(var be=Wt(K,Z),Be=[],dt=0;dt<be.length;dt++)Be[dt]=new X(be[dt]);K.c[Z]=Be}}er.setWrapperField=function(K,X,Z){G(K,er),K.c||(K.c={});var be=Z&&Z.g();return K.c[X]=Z,Ht(K,X,be)},er.setOneofWrapperField=function(K,X,Z,be){G(K,er),K.c||(K.c={});var Be=be&&be.g();return K.c[X]=be,Ot(K,X,Z,Be)},er.setRepeatedWrapperField=function(K,X,Z){G(K,er),K.c||(K.c={}),Z=Z||[];for(var be=[],Be=0;Be<Z.length;Be++)be[Be]=Z[Be].g();return K.c[X]=Z,Ht(K,X,be)},er.addToRepeatedWrapperField=function(K,X,Z,be,Be){Br(K,be,X);var dt=K.c[X];return dt||(dt=K.c[X]=[]),Z=Z||new be,K=Wt(K,X),Be!=null?(dt.splice(Be,0,Z),K.splice(Be,0,Z.g())):(dt.push(Z),K.push(Z.g())),Z},er.toMap=function(K,X,Z,be){for(var Be={},dt=0;dt<K.length;dt++)Be[X.call(K[dt])]=Z?Z.call(K[dt],be,K[dt]):K[dt];return Be};function Er(K){if(K.c)for(var X in K.c){var Z=K.c[X];if(Array.isArray(Z))for(var be=0;be<Z.length;be++)Z[be]&&Z[be].g();else Z&&Z.g()}}er.prototype.g=function(){return Er(this),this.u},er.prototype.toArray=er.prototype.g,er.prototype.toString=function(){return Er(this),this.u.toString()},er.prototype.getExtension=function(K){if(this.i){this.c||(this.c={});var X=K.la;if(K.ma){if(K.F())return this.c[X]||(this.c[X]=R(this.i[X]||[],function(Z){return new K.ka(Z)})),this.c[X]}else if(K.F())return!this.c[X]&&this.i[X]&&(this.c[X]=new K.ka(this.i[X])),this.c[X];return this.i[X]}},er.prototype.getExtension=er.prototype.getExtension,er.prototype.Jc=function(K,X){this.c||(this.c={}),Hr(this);var Z=K.la;return K.ma?(X=X||[],K.F()?(this.c[Z]=X,this.i[Z]=R(X,function(be){return be.g()})):this.i[Z]=X):K.F()?(this.c[Z]=X,this.i[Z]=X&&X.g()):this.i[Z]=X,this},er.prototype.setExtension=er.prototype.Jc,er.difference=function(K,X){if(!(K instanceof X.constructor))throw Error("Messages have different types.");var Z=K.g();X=X.g();var be=[],Be=0,dt=Z.length>X.length?Z.length:X.length;for(K.b&&(be[0]=K.b,Be=1);Be<dt;Be++)mt(Z[Be],X[Be])||(be[Be]=X[Be]);return new K.constructor(be)},er.equals=function(K,X){return K==X||!(!K||!X)&&K instanceof X.constructor&&mt(K.g(),X.g())};function Qe(K,X){K=K||{},X=X||{};var Z={},be;for(be in K)Z[be]=0;for(be in X)Z[be]=0;for(be in Z)if(!mt(K[be],X[be]))return!1;return!0}er.compareExtensions=Qe;function mt(K,X){if(K==X)return!0;if(!w(K)||!w(X))return typeof K=="number"&&isNaN(K)||typeof X=="number"&&isNaN(X)?String(K)==String(X):!1;if(K.constructor!=X.constructor)return!1;if(Et&&K.constructor===Uint8Array){if(K.length!=X.length)return!1;for(var Z=0;Z<K.length;Z++)if(K[Z]!=X[Z])return!1;return!0}if(K.constructor===Array){var be=void 0,Be=void 0,dt=Math.max(K.length,X.length);for(Z=0;Z<dt;Z++){var gt=K[Z],Ve=X[Z];if(gt&&gt.constructor==Object&&(_(be===void 0),_(Z===K.length-1),be=gt,gt=void 0),Ve&&Ve.constructor==Object&&(_(Be===void 0),_(Z===X.length-1),Be=Ve,Ve=void 0),!mt(gt,Ve))return!1}return be||Be?(be=be||{},Be=Be||{},Qe(be,Be)):!0}if(K.constructor===Object)return Qe(K,X);throw Error("Invalid type in JSPB array")}er.compareFields=mt,er.prototype.Bb=function(){return Ue(this)},er.prototype.cloneMessage=er.prototype.Bb,er.prototype.clone=function(){return Ue(this)},er.prototype.clone=er.prototype.clone,er.clone=function(K){return Ue(K)};function Ue(K){return new K.constructor(Ge(K.g()))}er.copyInto=function(K,X){G(K,er),G(X,er),_(K.constructor==X.constructor,"Copy source and target message should have the same type."),K=Ue(K);for(var Z=X.g(),be=K.g(),Be=Z.length=0;Be<be.length;Be++)Z[Be]=be[Be];X.c=K.c,X.i=K.i};function Ge(K){if(Array.isArray(K)){for(var X=Array(K.length),Z=0;Z<K.length;Z++){var be=K[Z];be!=null&&(X[Z]=typeof be=="object"?Ge(_(be)):be)}return X}if(Et&&K instanceof Uint8Array)return new Uint8Array(K);X={};for(Z in K)be=K[Z],be!=null&&(X[Z]=typeof be=="object"?Ge(_(be)):be);return X}er.registerMessageType=function(K,X){X.ve=K};var Me={dump:function(K){return G(K,er,"jspb.Message instance expected"),_(K.getExtension,"Only unobfuscated and unoptimized compilation modes supported."),Me.X(K)}};y("jspb.debug.dump",Me.dump,void 0),Me.X=function(K){var X=C(K);if(X=="number"||X=="string"||X=="boolean"||X=="null"||X=="undefined"||typeof Uint8Array<"u"&&K instanceof Uint8Array)return K;if(X=="array")return H(K),R(K,Me.X);if(K instanceof p){var Z={};K=K.entries();for(var be=K.next();!be.done;be=K.next())Z[be.value[0]]=Me.X(be.value[1]);return Z}G(K,er,"Only messages expected: "+K),X=K.constructor;var Be={$name:X.name||X.displayName};for(Ve in X.prototype){var dt=/^get([A-Z]\w*)/.exec(Ve);if(dt&&Ve!="getExtension"&&Ve!="getJsPbMessageId"){var gt="has"+dt[1];(!K[gt]||K[gt]())&&(gt=K[Ve](),Be[Me.$a(dt[1])]=Me.X(gt))}}if(K.extensionObject_)return Be.$extensions="Recursive dumping of extensions not supported in compiled code. Switch to uncompiled or dump extension object directly",Be;for(be in X.extensions)if(/^\d+$/.test(be)){gt=X.extensions[be];var Ve=K.getExtension(gt);dt=void 0,gt=gt.Ba;var Yt=[],yr=0;for(dt in gt)Yt[yr++]=dt;dt=Yt[0],Ve!=null&&(Z||(Z=Be.$extensions={}),Z[Me.$a(dt)]=Me.X(Ve))}return Be},Me.$a=function(K){return K.replace(/^[A-Z]/,function(X){return X.toLowerCase()})};function ze(){this.a=[]}y("jspb.BinaryEncoder",ze,void 0),ze.prototype.length=function(){return this.a.length},ze.prototype.length=ze.prototype.length,ze.prototype.end=function(){var K=this.a;return this.a=[],K},ze.prototype.end=ze.prototype.end,ze.prototype.l=function(K,X){for(_(K==Math.floor(K)),_(X==Math.floor(X)),_(0<=K&&4294967296>K),_(0<=X&&4294967296>X);0<X||127<K;)this.a.push(K&127|128),K=(K>>>7|X<<25)>>>0,X>>>=7;this.a.push(K)},ze.prototype.writeSplitVarint64=ze.prototype.l,ze.prototype.A=function(K,X){_(K==Math.floor(K)),_(X==Math.floor(X)),_(0<=K&&4294967296>K),_(0<=X&&4294967296>X),this.o(K),this.o(X)},ze.prototype.writeSplitFixed64=ze.prototype.A,ze.prototype.j=function(K){for(_(K==Math.floor(K)),_(0<=K&&4294967296>K);127<K;)this.a.push(K&127|128),K>>>=7;this.a.push(K)},ze.prototype.writeUnsignedVarint32=ze.prototype.j,ze.prototype.M=function(K){if(_(K==Math.floor(K)),_(-2147483648<=K&&2147483648>K),0<=K)this.j(K);else{for(var X=0;9>X;X++)this.a.push(K&127|128),K>>=7;this.a.push(1)}},ze.prototype.writeSignedVarint32=ze.prototype.M,ze.prototype.va=function(K){_(K==Math.floor(K)),_(0<=K&&18446744073709552e3>K),ee(K),this.l(ve,ge)},ze.prototype.writeUnsignedVarint64=ze.prototype.va,ze.prototype.ua=function(K){_(K==Math.floor(K)),_(-9223372036854776e3<=K&&9223372036854776e3>K),ee(K),this.l(ve,ge)},ze.prototype.writeSignedVarint64=ze.prototype.ua,ze.prototype.wa=function(K){_(K==Math.floor(K)),_(-2147483648<=K&&2147483648>K),this.j((K<<1^K>>31)>>>0)},ze.prototype.writeZigzagVarint32=ze.prototype.wa,ze.prototype.xa=function(K){_(K==Math.floor(K)),_(-9223372036854776e3<=K&&9223372036854776e3>K),fe(K),this.l(ve,ge)},ze.prototype.writeZigzagVarint64=ze.prototype.xa,ze.prototype.Ta=function(K){this.W(Gt(K))},ze.prototype.writeZigzagVarint64String=ze.prototype.Ta,ze.prototype.W=function(K){var X=this;Oe(K),Xe(ve,ge,function(Z,be){X.l(Z>>>0,be>>>0)})},ze.prototype.writeZigzagVarintHash64=ze.prototype.W,ze.prototype.ae=function(K){_(K==Math.floor(K)),_(0<=K&&256>K),this.a.push(K>>>0&255)},ze.prototype.writeUint8=ze.prototype.ae,ze.prototype.$d=function(K){_(K==Math.floor(K)),_(0<=K&&65536>K),this.a.push(K>>>0&255),this.a.push(K>>>8&255)},ze.prototype.writeUint16=ze.prototype.$d,ze.prototype.o=function(K){_(K==Math.floor(K)),_(0<=K&&4294967296>K),this.a.push(K>>>0&255),this.a.push(K>>>8&255),this.a.push(K>>>16&255),this.a.push(K>>>24&255)},ze.prototype.writeUint32=ze.prototype.o,ze.prototype.V=function(K){_(K==Math.floor(K)),_(0<=K&&18446744073709552e3>K),ce(K),this.o(ve),this.o(ge)},ze.prototype.writeUint64=ze.prototype.V,ze.prototype.Pc=function(K){_(K==Math.floor(K)),_(-128<=K&&128>K),this.a.push(K>>>0&255)},ze.prototype.writeInt8=ze.prototype.Pc,ze.prototype.Oc=function(K){_(K==Math.floor(K)),_(-32768<=K&&32768>K),this.a.push(K>>>0&255),this.a.push(K>>>8&255)},ze.prototype.writeInt16=ze.prototype.Oc,ze.prototype.S=function(K){_(K==Math.floor(K)),_(-2147483648<=K&&2147483648>K),this.a.push(K>>>0&255),this.a.push(K>>>8&255),this.a.push(K>>>16&255),this.a.push(K>>>24&255)},ze.prototype.writeInt32=ze.prototype.S,ze.prototype.T=function(K){_(K==Math.floor(K)),_(-9223372036854776e3<=K&&9223372036854776e3>K),ee(K),this.A(ve,ge)},ze.prototype.writeInt64=ze.prototype.T,ze.prototype.ja=function(K){_(K==Math.floor(K)),_(-9223372036854776e3<=+K&&9223372036854776e3>+K),Oe(Gt(K)),this.A(ve,ge)},ze.prototype.writeInt64String=ze.prototype.ja,ze.prototype.L=function(K){_(K===1/0||K===-1/0||isNaN(K)||-34028234663852886e22<=K&&34028234663852886e22>=K),ie(K),this.o(ve)},ze.prototype.writeFloat=ze.prototype.L,ze.prototype.J=function(K){_(K===1/0||K===-1/0||isNaN(K)||-17976931348623157e292<=K&&17976931348623157e292>=K),re(K),this.o(ve),this.o(ge)},ze.prototype.writeDouble=ze.prototype.J,ze.prototype.I=function(K){_(typeof K=="boolean"||typeof K=="number"),this.a.push(K?1:0)},ze.prototype.writeBool=ze.prototype.I,ze.prototype.R=function(K){_(K==Math.floor(K)),_(-2147483648<=K&&2147483648>K),this.M(K)},ze.prototype.writeEnum=ze.prototype.R,ze.prototype.ia=function(K){this.a.push.apply(this.a,K)},ze.prototype.writeBytes=ze.prototype.ia,ze.prototype.N=function(K){Oe(K),this.l(ve,ge)},ze.prototype.writeVarintHash64=ze.prototype.N,ze.prototype.K=function(K){Oe(K),this.o(ve),this.o(ge)},ze.prototype.writeFixedHash64=ze.prototype.K,ze.prototype.U=function(K){var X=this.a.length;L(K);for(var Z=0;Z<K.length;Z++){var be=K.charCodeAt(Z);if(128>be)this.a.push(be);else if(2048>be)this.a.push(be>>6|192),this.a.push(be&63|128);else if(65536>be)if(55296<=be&&56319>=be&&Z+1<K.length){var Be=K.charCodeAt(Z+1);56320<=Be&&57343>=Be&&(be=1024*(be-55296)+Be-56320+65536,this.a.push(be>>18|240),this.a.push(be>>12&63|128),this.a.push(be>>6&63|128),this.a.push(be&63|128),Z++)}else this.a.push(be>>12|224),this.a.push(be>>6&63|128),this.a.push(be&63|128)}return this.a.length-X},ze.prototype.writeString=ze.prototype.U;function Le(K,X){this.lo=K,this.hi=X}y("jspb.arith.UInt64",Le,void 0),Le.prototype.cmp=function(K){return this.hi<K.hi||this.hi==K.hi&&this.lo<K.lo?-1:this.hi==K.hi&&this.lo==K.lo?0:1},Le.prototype.cmp=Le.prototype.cmp,Le.prototype.La=function(){return new Le((this.lo>>>1|(this.hi&1)<<31)>>>0,this.hi>>>1>>>0)},Le.prototype.rightShift=Le.prototype.La,Le.prototype.Da=function(){return new Le(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},Le.prototype.leftShift=Le.prototype.Da,Le.prototype.cb=function(){return!!(this.hi&2147483648)},Le.prototype.msb=Le.prototype.cb,Le.prototype.Ob=function(){return!!(this.lo&1)},Le.prototype.lsb=Le.prototype.Ob,Le.prototype.Ua=function(){return this.lo==0&&this.hi==0},Le.prototype.zero=Le.prototype.Ua,Le.prototype.add=function(K){return new Le((this.lo+K.lo&4294967295)>>>0>>>0,((this.hi+K.hi&4294967295)>>>0)+(4294967296<=this.lo+K.lo?1:0)>>>0)},Le.prototype.add=Le.prototype.add,Le.prototype.sub=function(K){return new Le((this.lo-K.lo&4294967295)>>>0>>>0,((this.hi-K.hi&4294967295)>>>0)-(0>this.lo-K.lo?1:0)>>>0)},Le.prototype.sub=Le.prototype.sub;function rt(K,X){var Z=K&65535;K>>>=16;var be=X&65535,Be=X>>>16;for(X=Z*be+65536*(Z*Be&65535)+65536*(K*be&65535),Z=K*Be+(Z*Be>>>16)+(K*be>>>16);4294967296<=X;)X-=4294967296,Z+=1;return new Le(X>>>0,Z>>>0)}Le.mul32x32=rt,Le.prototype.eb=function(K){var X=rt(this.lo,K);return K=rt(this.hi,K),K.hi=K.lo,K.lo=0,X.add(K)},Le.prototype.mul=Le.prototype.eb,Le.prototype.Xa=function(K){if(K==0)return[];var X=new Le(0,0),Z=new Le(this.lo,this.hi);K=new Le(K,0);for(var be=new Le(1,0);!K.cb();)K=K.Da(),be=be.Da();for(;!be.Ua();)0>=K.cmp(Z)&&(X=X.add(be),Z=Z.sub(K)),K=K.La(),be=be.La();return[X,Z]},Le.prototype.div=Le.prototype.Xa,Le.prototype.toString=function(){for(var K="",X=this;!X.Ua();){X=X.Xa(10);var Z=X[0];K=X[1].lo+K,X=Z}return K==""&&(K="0"),K},Le.prototype.toString=Le.prototype.toString;function ht(K){for(var X=new Le(0,0),Z=new Le(0,0),be=0;be<K.length;be++){if("0">K[be]||"9"<K[be])return null;Z.lo=parseInt(K[be],10),X=X.eb(10).add(Z)}return X}Le.fromString=ht,Le.prototype.clone=function(){return new Le(this.lo,this.hi)},Le.prototype.clone=Le.prototype.clone;function ut(K,X){this.lo=K,this.hi=X}y("jspb.arith.Int64",ut,void 0),ut.prototype.add=function(K){return new ut((this.lo+K.lo&4294967295)>>>0>>>0,((this.hi+K.hi&4294967295)>>>0)+(4294967296<=this.lo+K.lo?1:0)>>>0)},ut.prototype.add=ut.prototype.add,ut.prototype.sub=function(K){return new ut((this.lo-K.lo&4294967295)>>>0>>>0,((this.hi-K.hi&4294967295)>>>0)-(0>this.lo-K.lo?1:0)>>>0)},ut.prototype.sub=ut.prototype.sub,ut.prototype.clone=function(){return new ut(this.lo,this.hi)},ut.prototype.clone=ut.prototype.clone,ut.prototype.toString=function(){var K=(this.hi&2147483648)!=0,X=new Le(this.lo,this.hi);return K&&(X=new Le(0,0).sub(X)),(K?"-":"")+X.toString()},ut.prototype.toString=ut.prototype.toString;function Dt(K){var X=0<K.length&&K[0]=="-";return X&&(K=K.substring(1)),K=ht(K),K===null?null:(X&&(K=new Le(0,0).sub(K)),new ut(K.lo,K.hi))}ut.fromString=Dt;function He(){this.f=[],this.b=0,this.a=new ze,this.h=[]}y("jspb.BinaryWriter",He,void 0);function nt(K,X){var Z=K.a.end();K.f.push(Z),K.f.push(X),K.b+=Z.length+X.length}function at(K,X){return pt(K,X,2),X=K.a.end(),K.f.push(X),K.b+=X.length,X.push(K.b),X}function Tt(K,X){var Z=X.pop();for(Z=K.b+K.a.length()-Z,_(0<=Z);127<Z;)X.push(Z&127|128),Z>>>=7,K.b++;X.push(Z),K.b++}He.prototype.pb=function(K,X,Z){nt(this,K.subarray(X,Z))},He.prototype.writeSerializedMessage=He.prototype.pb,He.prototype.Pb=function(K,X,Z){K!=null&&X!=null&&Z!=null&&this.pb(K,X,Z)},He.prototype.maybeWriteSerializedMessage=He.prototype.Pb,He.prototype.reset=function(){this.f=[],this.a.end(),this.b=0,this.h=[]},He.prototype.reset=He.prototype.reset,He.prototype.ab=function(){_(this.h.length==0);for(var K=new Uint8Array(this.b+this.a.length()),X=this.f,Z=X.length,be=0,Be=0;Be<Z;Be++){var dt=X[Be];K.set(dt,be),be+=dt.length}return X=this.a.end(),K.set(X,be),be+=X.length,_(be==K.length),this.f=[K],K},He.prototype.getResultBuffer=He.prototype.ab,He.prototype.Kb=function(K){return D(this.ab(),K)},He.prototype.getResultBase64String=He.prototype.Kb,He.prototype.Va=function(K){this.h.push(at(this,K))},He.prototype.beginSubMessage=He.prototype.Va,He.prototype.Ya=function(){_(0<=this.h.length),Tt(this,this.h.pop())},He.prototype.endSubMessage=He.prototype.Ya;function pt(K,X,Z){_(1<=X&&X==Math.floor(X)),K.a.j(8*X+Z)}He.prototype.Mc=function(K,X,Z){switch(K){case 1:this.J(X,Z);break;case 2:this.L(X,Z);break;case 3:this.T(X,Z);break;case 4:this.V(X,Z);break;case 5:this.S(X,Z);break;case 6:this.Qa(X,Z);break;case 7:this.Pa(X,Z);break;case 8:this.I(X,Z);break;case 9:this.U(X,Z);break;case 10:F("Group field type not supported in writeAny()");break;case 11:F("Message field type not supported in writeAny()");break;case 12:this.ia(X,Z);break;case 13:this.o(X,Z);break;case 14:this.R(X,Z);break;case 15:this.Ra(X,Z);break;case 16:this.Sa(X,Z);break;case 17:this.rb(X,Z);break;case 18:this.sb(X,Z);break;case 30:this.K(X,Z);break;case 31:this.N(X,Z);break;default:F("Invalid field type in writeAny()")}},He.prototype.writeAny=He.prototype.Mc;function Bt(K,X,Z){Z!=null&&(pt(K,X,0),K.a.j(Z))}function Zt(K,X,Z){Z!=null&&(pt(K,X,0),K.a.M(Z))}He.prototype.S=function(K,X){X!=null&&(_(-2147483648<=X&&2147483648>X),Zt(this,K,X))},He.prototype.writeInt32=He.prototype.S,He.prototype.ob=function(K,X){X!=null&&(X=parseInt(X,10),_(-2147483648<=X&&2147483648>X),Zt(this,K,X))},He.prototype.writeInt32String=He.prototype.ob,He.prototype.T=function(K,X){X!=null&&(_(-9223372036854776e3<=X&&9223372036854776e3>X),X!=null&&(pt(this,K,0),this.a.ua(X)))},He.prototype.writeInt64=He.prototype.T,He.prototype.ja=function(K,X){X!=null&&(X=Dt(X),pt(this,K,0),this.a.l(X.lo,X.hi))},He.prototype.writeInt64String=He.prototype.ja,He.prototype.o=function(K,X){X!=null&&(_(0<=X&&4294967296>X),Bt(this,K,X))},He.prototype.writeUint32=He.prototype.o,He.prototype.ub=function(K,X){X!=null&&(X=parseInt(X,10),_(0<=X&&4294967296>X),Bt(this,K,X))},He.prototype.writeUint32String=He.prototype.ub,He.prototype.V=function(K,X){X!=null&&(_(0<=X&&18446744073709552e3>X),X!=null&&(pt(this,K,0),this.a.va(X)))},He.prototype.writeUint64=He.prototype.V,He.prototype.vb=function(K,X){X!=null&&(X=ht(X),pt(this,K,0),this.a.l(X.lo,X.hi))},He.prototype.writeUint64String=He.prototype.vb,He.prototype.rb=function(K,X){X!=null&&(_(-2147483648<=X&&2147483648>X),X!=null&&(pt(this,K,0),this.a.wa(X)))},He.prototype.writeSint32=He.prototype.rb,He.prototype.sb=function(K,X){X!=null&&(_(-9223372036854776e3<=X&&9223372036854776e3>X),X!=null&&(pt(this,K,0),this.a.xa(X)))},He.prototype.writeSint64=He.prototype.sb,He.prototype.Zd=function(K,X){X!=null&&X!=null&&(pt(this,K,0),this.a.W(X))},He.prototype.writeSintHash64=He.prototype.Zd,He.prototype.Yd=function(K,X){X!=null&&X!=null&&(pt(this,K,0),this.a.Ta(X))},He.prototype.writeSint64String=He.prototype.Yd,He.prototype.Pa=function(K,X){X!=null&&(_(0<=X&&4294967296>X),pt(this,K,5),this.a.o(X))},He.prototype.writeFixed32=He.prototype.Pa,He.prototype.Qa=function(K,X){X!=null&&(_(0<=X&&18446744073709552e3>X),pt(this,K,1),this.a.V(X))},He.prototype.writeFixed64=He.prototype.Qa,He.prototype.nb=function(K,X){X!=null&&(X=ht(X),pt(this,K,1),this.a.A(X.lo,X.hi))},He.prototype.writeFixed64String=He.prototype.nb,He.prototype.Ra=function(K,X){X!=null&&(_(-2147483648<=X&&2147483648>X),pt(this,K,5),this.a.S(X))},He.prototype.writeSfixed32=He.prototype.Ra,He.prototype.Sa=function(K,X){X!=null&&(_(-9223372036854776e3<=X&&9223372036854776e3>X),pt(this,K,1),this.a.T(X))},He.prototype.writeSfixed64=He.prototype.Sa,He.prototype.qb=function(K,X){X!=null&&(X=Dt(X),pt(this,K,1),this.a.A(X.lo,X.hi))},He.prototype.writeSfixed64String=He.prototype.qb,He.prototype.L=function(K,X){X!=null&&(pt(this,K,5),this.a.L(X))},He.prototype.writeFloat=He.prototype.L,He.prototype.J=function(K,X){X!=null&&(pt(this,K,1),this.a.J(X))},He.prototype.writeDouble=He.prototype.J,He.prototype.I=function(K,X){X!=null&&(_(typeof X=="boolean"||typeof X=="number"),pt(this,K,0),this.a.I(X))},He.prototype.writeBool=He.prototype.I,He.prototype.R=function(K,X){X!=null&&(_(-2147483648<=X&&2147483648>X),pt(this,K,0),this.a.M(X))},He.prototype.writeEnum=He.prototype.R,He.prototype.U=function(K,X){X!=null&&(K=at(this,K),this.a.U(X),Tt(this,K))},He.prototype.writeString=He.prototype.U,He.prototype.ia=function(K,X){X!=null&&(X=jt(X),pt(this,K,2),this.a.j(X.length),nt(this,X))},He.prototype.writeBytes=He.prototype.ia,He.prototype.Qc=function(K,X,Z){X!=null&&(K=at(this,K),Z(X,this),Tt(this,K))},He.prototype.writeMessage=He.prototype.Qc,He.prototype.Rc=function(K,X,Z){X!=null&&(pt(this,1,3),pt(this,2,0),this.a.M(K),K=at(this,3),Z(X,this),Tt(this,K),pt(this,1,4))},He.prototype.writeMessageSet=He.prototype.Rc,He.prototype.Nc=function(K,X,Z){X!=null&&(pt(this,K,3),Z(X,this),pt(this,K,4))},He.prototype.writeGroup=He.prototype.Nc,He.prototype.K=function(K,X){X!=null&&(_(X.length==8),pt(this,K,1),this.a.K(X))},He.prototype.writeFixedHash64=He.prototype.K,He.prototype.N=function(K,X){X!=null&&(_(X.length==8),pt(this,K,0),this.a.N(X))},He.prototype.writeVarintHash64=He.prototype.N,He.prototype.A=function(K,X,Z){pt(this,K,1),this.a.A(X,Z)},He.prototype.writeSplitFixed64=He.prototype.A,He.prototype.l=function(K,X,Z){pt(this,K,0),this.a.l(X,Z)},He.prototype.writeSplitVarint64=He.prototype.l,He.prototype.tb=function(K,X,Z){pt(this,K,0);var be=this.a;Xe(X,Z,function(Be,dt){be.l(Be>>>0,dt>>>0)})},He.prototype.writeSplitZigzagVarint64=He.prototype.tb,He.prototype.Dd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)Zt(this,K,X[Z])},He.prototype.writeRepeatedInt32=He.prototype.Dd,He.prototype.Ed=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.ob(K,X[Z])},He.prototype.writeRepeatedInt32String=He.prototype.Ed,He.prototype.Fd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++){var be=X[Z];be!=null&&(pt(this,K,0),this.a.ua(be))}},He.prototype.writeRepeatedInt64=He.prototype.Fd,He.prototype.Pd=function(K,X,Z,be){if(X!=null)for(var Be=0;Be<X.length;Be++)this.A(K,Z(X[Be]),be(X[Be]))},He.prototype.writeRepeatedSplitFixed64=He.prototype.Pd,He.prototype.Qd=function(K,X,Z,be){if(X!=null)for(var Be=0;Be<X.length;Be++)this.l(K,Z(X[Be]),be(X[Be]))},He.prototype.writeRepeatedSplitVarint64=He.prototype.Qd,He.prototype.Rd=function(K,X,Z,be){if(X!=null)for(var Be=0;Be<X.length;Be++)this.tb(K,Z(X[Be]),be(X[Be]))},He.prototype.writeRepeatedSplitZigzagVarint64=He.prototype.Rd,He.prototype.Gd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.ja(K,X[Z])},He.prototype.writeRepeatedInt64String=He.prototype.Gd,He.prototype.Td=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)Bt(this,K,X[Z])},He.prototype.writeRepeatedUint32=He.prototype.Td,He.prototype.Ud=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.ub(K,X[Z])},He.prototype.writeRepeatedUint32String=He.prototype.Ud,He.prototype.Vd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++){var be=X[Z];be!=null&&(pt(this,K,0),this.a.va(be))}},He.prototype.writeRepeatedUint64=He.prototype.Vd,He.prototype.Wd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.vb(K,X[Z])},He.prototype.writeRepeatedUint64String=He.prototype.Wd,He.prototype.Ld=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++){var be=X[Z];be!=null&&(pt(this,K,0),this.a.wa(be))}},He.prototype.writeRepeatedSint32=He.prototype.Ld,He.prototype.Md=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++){var be=X[Z];be!=null&&(pt(this,K,0),this.a.xa(be))}},He.prototype.writeRepeatedSint64=He.prototype.Md,He.prototype.Nd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++){var be=X[Z];be!=null&&(pt(this,K,0),this.a.Ta(be))}},He.prototype.writeRepeatedSint64String=He.prototype.Nd,He.prototype.Od=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++){var be=X[Z];be!=null&&(pt(this,K,0),this.a.W(be))}},He.prototype.writeRepeatedSintHash64=He.prototype.Od,He.prototype.xd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.Pa(K,X[Z])},He.prototype.writeRepeatedFixed32=He.prototype.xd,He.prototype.yd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.Qa(K,X[Z])},He.prototype.writeRepeatedFixed64=He.prototype.yd,He.prototype.zd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.nb(K,X[Z])},He.prototype.writeRepeatedFixed64String=He.prototype.zd,He.prototype.Id=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.Ra(K,X[Z])},He.prototype.writeRepeatedSfixed32=He.prototype.Id,He.prototype.Jd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.Sa(K,X[Z])},He.prototype.writeRepeatedSfixed64=He.prototype.Jd,He.prototype.Kd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.qb(K,X[Z])},He.prototype.writeRepeatedSfixed64String=He.prototype.Kd,He.prototype.Bd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.L(K,X[Z])},He.prototype.writeRepeatedFloat=He.prototype.Bd,He.prototype.vd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.J(K,X[Z])},He.prototype.writeRepeatedDouble=He.prototype.vd,He.prototype.td=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.I(K,X[Z])},He.prototype.writeRepeatedBool=He.prototype.td,He.prototype.wd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.R(K,X[Z])},He.prototype.writeRepeatedEnum=He.prototype.wd,He.prototype.Sd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.U(K,X[Z])},He.prototype.writeRepeatedString=He.prototype.Sd,He.prototype.ud=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.ia(K,X[Z])},He.prototype.writeRepeatedBytes=He.prototype.ud,He.prototype.Hd=function(K,X,Z){if(X!=null)for(var be=0;be<X.length;be++){var Be=at(this,K);Z(X[be],this),Tt(this,Be)}},He.prototype.writeRepeatedMessage=He.prototype.Hd,He.prototype.Cd=function(K,X,Z){if(X!=null)for(var be=0;be<X.length;be++)pt(this,K,3),Z(X[be],this),pt(this,K,4)},He.prototype.writeRepeatedGroup=He.prototype.Cd,He.prototype.Ad=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.K(K,X[Z])},He.prototype.writeRepeatedFixedHash64=He.prototype.Ad,He.prototype.Xd=function(K,X){if(X!=null)for(var Z=0;Z<X.length;Z++)this.N(K,X[Z])},He.prototype.writeRepeatedVarintHash64=He.prototype.Xd,He.prototype.$c=function(K,X){if(X!=null&&X.length){K=at(this,K);for(var Z=0;Z<X.length;Z++)this.a.M(X[Z]);Tt(this,K)}},He.prototype.writePackedInt32=He.prototype.$c,He.prototype.ad=function(K,X){if(X!=null&&X.length){K=at(this,K);for(var Z=0;Z<X.length;Z++)this.a.M(parseInt(X[Z],10));Tt(this,K)}},He.prototype.writePackedInt32String=He.prototype.ad,He.prototype.bd=function(K,X){if(X!=null&&X.length){K=at(this,K);for(var Z=0;Z<X.length;Z++)this.a.ua(X[Z]);Tt(this,K)}},He.prototype.writePackedInt64=He.prototype.bd,He.prototype.ld=function(K,X,Z,be){if(X!=null){K=at(this,K);for(var Be=0;Be<X.length;Be++)this.a.A(Z(X[Be]),be(X[Be]));Tt(this,K)}},He.prototype.writePackedSplitFixed64=He.prototype.ld,He.prototype.md=function(K,X,Z,be){if(X!=null){K=at(this,K);for(var Be=0;Be<X.length;Be++)this.a.l(Z(X[Be]),be(X[Be]));Tt(this,K)}},He.prototype.writePackedSplitVarint64=He.prototype.md,He.prototype.nd=function(K,X,Z,be){if(X!=null){K=at(this,K);for(var Be=this.a,dt=0;dt<X.length;dt++)Xe(Z(X[dt]),be(X[dt]),function(gt,Ve){Be.l(gt>>>0,Ve>>>0)});Tt(this,K)}},He.prototype.writePackedSplitZigzagVarint64=He.prototype.nd,He.prototype.cd=function(K,X){if(X!=null&&X.length){K=at(this,K);for(var Z=0;Z<X.length;Z++){var be=Dt(X[Z]);this.a.l(be.lo,be.hi)}Tt(this,K)}},He.prototype.writePackedInt64String=He.prototype.cd,He.prototype.od=function(K,X){if(X!=null&&X.length){K=at(this,K);for(var Z=0;Z<X.length;Z++)this.a.j(X[Z]);Tt(this,K)}},He.prototype.writePackedUint32=He.prototype.od,He.prototype.pd=function(K,X){if(X!=null&&X.length){K=at(this,K);for(var Z=0;Z<X.length;Z++)this.a.j(parseInt(X[Z],10));Tt(this,K)}},He.prototype.writePackedUint32String=He.prototype.pd,He.prototype.qd=function(K,X){if(X!=null&&X.length){K=at(this,K);for(var Z=0;Z<X.length;Z++)this.a.va(X[Z]);Tt(this,K)}},He.prototype.writePackedUint64=He.prototype.qd,He.prototype.rd=function(K,X){if(X!=null&&X.length){K=at(this,K);for(var Z=0;Z<X.length;Z++){var be=ht(X[Z]);this.a.l(be.lo,be.hi)}Tt(this,K)}},He.prototype.writePackedUint64String=He.prototype.rd,He.prototype.gd=function(K,X){if(X!=null&&X.length){K=at(this,K);for(var Z=0;Z<X.length;Z++)this.a.wa(X[Z]);Tt(this,K)}},He.prototype.writePackedSint32=He.prototype.gd,He.prototype.hd=function(K,X){if(X!=null&&X.length){K=at(this,K);for(var Z=0;Z<X.length;Z++)this.a.xa(X[Z]);Tt(this,K)}},He.prototype.writePackedSint64=He.prototype.hd,He.prototype.jd=function(K,X){if(X!=null&&X.length){K=at(this,K);for(var Z=0;Z<X.length;Z++)this.a.W(Gt(X[Z]));Tt(this,K)}},He.prototype.writePackedSint64String=He.prototype.jd,He.prototype.kd=function(K,X){if(X!=null&&X.length){K=at(this,K);for(var Z=0;Z<X.length;Z++)this.a.W(X[Z]);Tt(this,K)}},He.prototype.writePackedSintHash64=He.prototype.kd,He.prototype.Vc=function(K,X){if(X!=null&&X.length)for(pt(this,K,2),this.a.j(4*X.length),K=0;K<X.length;K++)this.a.o(X[K])},He.prototype.writePackedFixed32=He.prototype.Vc,He.prototype.Wc=function(K,X){if(X!=null&&X.length)for(pt(this,K,2),this.a.j(8*X.length),K=0;K<X.length;K++)this.a.V(X[K])},He.prototype.writePackedFixed64=He.prototype.Wc,He.prototype.Xc=function(K,X){if(X!=null&&X.length)for(pt(this,K,2),this.a.j(8*X.length),K=0;K<X.length;K++){var Z=ht(X[K]);this.a.A(Z.lo,Z.hi)}},He.prototype.writePackedFixed64String=He.prototype.Xc,He.prototype.dd=function(K,X){if(X!=null&&X.length)for(pt(this,K,2),this.a.j(4*X.length),K=0;K<X.length;K++)this.a.S(X[K])},He.prototype.writePackedSfixed32=He.prototype.dd,He.prototype.ed=function(K,X){if(X!=null&&X.length)for(pt(this,K,2),this.a.j(8*X.length),K=0;K<X.length;K++)this.a.T(X[K])},He.prototype.writePackedSfixed64=He.prototype.ed,He.prototype.fd=function(K,X){if(X!=null&&X.length)for(pt(this,K,2),this.a.j(8*X.length),K=0;K<X.length;K++)this.a.ja(X[K])},He.prototype.writePackedSfixed64String=He.prototype.fd,He.prototype.Zc=function(K,X){if(X!=null&&X.length)for(pt(this,K,2),this.a.j(4*X.length),K=0;K<X.length;K++)this.a.L(X[K])},He.prototype.writePackedFloat=He.prototype.Zc,He.prototype.Tc=function(K,X){if(X!=null&&X.length)for(pt(this,K,2),this.a.j(8*X.length),K=0;K<X.length;K++)this.a.J(X[K])},He.prototype.writePackedDouble=He.prototype.Tc,He.prototype.Sc=function(K,X){if(X!=null&&X.length)for(pt(this,K,2),this.a.j(X.length),K=0;K<X.length;K++)this.a.I(X[K])},He.prototype.writePackedBool=He.prototype.Sc,He.prototype.Uc=function(K,X){if(X!=null&&X.length){K=at(this,K);for(var Z=0;Z<X.length;Z++)this.a.R(X[Z]);Tt(this,K)}},He.prototype.writePackedEnum=He.prototype.Uc,He.prototype.Yc=function(K,X){if(X!=null&&X.length)for(pt(this,K,2),this.a.j(8*X.length),K=0;K<X.length;K++)this.a.K(X[K])},He.prototype.writePackedFixedHash64=He.prototype.Yc,He.prototype.sd=function(K,X){if(X!=null&&X.length){K=at(this,K);for(var Z=0;Z<X.length;Z++)this.a.N(X[Z]);Tt(this,K)}},He.prototype.writePackedVarintHash64=He.prototype.sd,typeof e=="object"&&(e.debug=Me,e.Map=p,e.Message=er,e.BinaryReader=At,e.BinaryWriter=He,e.ExtensionFieldInfo=bt,e.ExtensionFieldBinaryInfo=kt,e.exportSymbol=T,e.inherits=A,e.object={extend:v},e.typeOf=C)}),Mwe=W(e=>{m();var t=$h(),r=t,o=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof o<"u"&&o||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.Any",null,o),proto.google.protobuf.Any=function(s){t.Message.initialize(this,s,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(s){return proto.google.protobuf.Any.toObject(s,this)},proto.google.protobuf.Any.toObject=function(s,i){var n,a={typeUrl:t.Message.getFieldWithDefault(i,1,""),value:i.getValue_asB64()};return s&&(a.$jspbMessageInstance=i),a}),proto.google.protobuf.Any.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new proto.google.protobuf.Any;return proto.google.protobuf.Any.deserializeBinaryFromReader(n,i)},proto.google.protobuf.Any.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readString();s.setTypeUrl(a);break;case 2:var a=i.readBytes();s.setValue(a);break;default:i.skipField();break}}return s},proto.google.protobuf.Any.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return proto.google.protobuf.Any.serializeBinaryToWriter(this,s),s.getResultBuffer()},proto.google.protobuf.Any.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getTypeUrl(),n.length>0&&i.writeString(1,n),n=s.getValue_asU8(),n.length>0&&i.writeBytes(2,n)},proto.google.protobuf.Any.prototype.getTypeUrl=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.Any.prototype.setTypeUrl=function(s){return t.Message.setProto3StringField(this,1,s)},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(s){return t.Message.setProto3BytesField(this,2,s)},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(s,i,n){n||(n="type.googleapis.com/"),n.substr(-1)!="/"?this.setTypeUrl(n+"/"+i):this.setTypeUrl(n+i),this.setValue(s)},proto.google.protobuf.Any.prototype.unpack=function(s,i){return this.getTypeName()==i?s(this.getValue_asU8()):null}}),xJ=W(e=>{m();var t=$h(),r=t,o=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof o<"u"&&o||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")(),s=Mwe();r.object.extend(proto,s),r.exportSymbol("TronWebProto.Account",null,o),r.exportSymbol("TronWebProto.Account.AccountResource",null,o),r.exportSymbol("TronWebProto.Account.Frozen",null,o),r.exportSymbol("TronWebProto.AccountId",null,o),r.exportSymbol("TronWebProto.AccountType",null,o),r.exportSymbol("TronWebProto.DelegatedResource",null,o),r.exportSymbol("TronWebProto.Exchange",null,o),r.exportSymbol("TronWebProto.Key",null,o),r.exportSymbol("TronWebProto.MarketOrderDetail",null,o),r.exportSymbol("TronWebProto.Permission",null,o),r.exportSymbol("TronWebProto.Permission.PermissionType",null,o),r.exportSymbol("TronWebProto.Proposal",null,o),r.exportSymbol("TronWebProto.Proposal.State",null,o),r.exportSymbol("TronWebProto.Transaction",null,o),r.exportSymbol("TronWebProto.Transaction.Contract",null,o),r.exportSymbol("TronWebProto.Transaction.Contract.ContractType",null,o),r.exportSymbol("TronWebProto.Transaction.Result",null,o),r.exportSymbol("TronWebProto.Transaction.Result.code",null,o),r.exportSymbol("TronWebProto.Transaction.Result.contractResult",null,o),r.exportSymbol("TronWebProto.Transaction.raw",null,o),r.exportSymbol("TronWebProto.Vote",null,o),r.exportSymbol("TronWebProto.Votes",null,o),r.exportSymbol("TronWebProto.Witness",null,o),r.exportSymbol("TronWebProto.authority",null,o),TronWebProto.AccountId=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.AccountId,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountId.displayName="TronWebProto.AccountId"),TronWebProto.Vote=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.Vote,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Vote.displayName="TronWebProto.Vote"),TronWebProto.Proposal=function(i){t.Message.initialize(this,i,0,-1,TronWebProto.Proposal.repeatedFields_,null)},r.inherits(TronWebProto.Proposal,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Proposal.displayName="TronWebProto.Proposal"),TronWebProto.Exchange=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.Exchange,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Exchange.displayName="TronWebProto.Exchange"),TronWebProto.Account=function(i){t.Message.initialize(this,i,0,-1,TronWebProto.Account.repeatedFields_,null)},r.inherits(TronWebProto.Account,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Account.displayName="TronWebProto.Account"),TronWebProto.Account.Frozen=function(i){t.Message.initialize(this,i,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(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.Account.AccountResource,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Account.AccountResource.displayName="TronWebProto.Account.AccountResource"),TronWebProto.Key=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.Key,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Key.displayName="TronWebProto.Key"),TronWebProto.DelegatedResource=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.DelegatedResource,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.DelegatedResource.displayName="TronWebProto.DelegatedResource"),TronWebProto.authority=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.authority,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.authority.displayName="TronWebProto.authority"),TronWebProto.Permission=function(i){t.Message.initialize(this,i,0,-1,TronWebProto.Permission.repeatedFields_,null)},r.inherits(TronWebProto.Permission,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Permission.displayName="TronWebProto.Permission"),TronWebProto.Witness=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.Witness,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Witness.displayName="TronWebProto.Witness"),TronWebProto.Votes=function(i){t.Message.initialize(this,i,0,-1,TronWebProto.Votes.repeatedFields_,null)},r.inherits(TronWebProto.Votes,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Votes.displayName="TronWebProto.Votes"),TronWebProto.MarketOrderDetail=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.MarketOrderDetail,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.MarketOrderDetail.displayName="TronWebProto.MarketOrderDetail"),TronWebProto.Transaction=function(i){t.Message.initialize(this,i,0,-1,TronWebProto.Transaction.repeatedFields_,null)},r.inherits(TronWebProto.Transaction,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Transaction.displayName="TronWebProto.Transaction"),TronWebProto.Transaction.Contract=function(i){t.Message.initialize(this,i,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(i){t.Message.initialize(this,i,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(i){t.Message.initialize(this,i,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(i){return TronWebProto.AccountId.toObject(i,this)},TronWebProto.AccountId.toObject=function(i,n){var a,u={name:n.getName_asB64(),address:n.getAddress_asB64()};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.AccountId.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.AccountId;return TronWebProto.AccountId.deserializeBinaryFromReader(a,n)},TronWebProto.AccountId.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setName(u);break;case 2:var u=n.readBytes();i.setAddress(u);break;default:n.skipField();break}}return i},TronWebProto.AccountId.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.AccountId.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.AccountId.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getName_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getAddress_asU8(),a.length>0&&n.writeBytes(2,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Vote.prototype.toObject=function(i){return TronWebProto.Vote.toObject(i,this)},TronWebProto.Vote.toObject=function(i,n){var a,u={voteAddress:n.getVoteAddress_asB64(),voteCount:t.Message.getFieldWithDefault(n,2,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.Vote.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.Vote;return TronWebProto.Vote.deserializeBinaryFromReader(a,n)},TronWebProto.Vote.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setVoteAddress(u);break;case 2:var u=n.readInt64();i.setVoteCount(u);break;default:n.skipField();break}}return i},TronWebProto.Vote.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.Vote.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.Vote.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getVoteAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getVoteCount(),a!==0&&n.writeInt64(2,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.Vote.prototype.getVoteCount=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.Vote.prototype.setVoteCount=function(i){return t.Message.setProto3IntField(this,2,i)},TronWebProto.Proposal.repeatedFields_=[6],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Proposal.prototype.toObject=function(i){return TronWebProto.Proposal.toObject(i,this)},TronWebProto.Proposal.toObject=function(i,n){var a,u={proposalId:t.Message.getFieldWithDefault(n,1,0),proposerAddress:n.getProposerAddress_asB64(),parametersMap:(a=n.getParametersMap())?a.toObject(i,void 0):[],expirationTime:t.Message.getFieldWithDefault(n,4,0),createTime:t.Message.getFieldWithDefault(n,5,0),approvalsList:n.getApprovalsList_asB64(),state:t.Message.getFieldWithDefault(n,7,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.Proposal.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.Proposal;return TronWebProto.Proposal.deserializeBinaryFromReader(a,n)},TronWebProto.Proposal.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readInt64();i.setProposalId(u);break;case 2:var u=n.readBytes();i.setProposerAddress(u);break;case 3:var u=i.getParametersMap();n.readMessage(u,function(c,d){t.Map.deserializeBinary(c,d,t.BinaryReader.prototype.readInt64,t.BinaryReader.prototype.readInt64,null,0,0)});break;case 4:var u=n.readInt64();i.setExpirationTime(u);break;case 5:var u=n.readInt64();i.setCreateTime(u);break;case 6:var u=n.readBytes();i.addApprovals(u);break;case 7:var u=n.readEnum();i.setState(u);break;default:n.skipField();break}}return i},TronWebProto.Proposal.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.Proposal.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.Proposal.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getProposalId(),a!==0&&n.writeInt64(1,a),a=i.getProposerAddress_asU8(),a.length>0&&n.writeBytes(2,a),a=i.getParametersMap(!0),a&&a.getLength()>0&&a.serializeBinary(3,n,t.BinaryWriter.prototype.writeInt64,t.BinaryWriter.prototype.writeInt64),a=i.getExpirationTime(),a!==0&&n.writeInt64(4,a),a=i.getCreateTime(),a!==0&&n.writeInt64(5,a),a=i.getApprovalsList_asU8(),a.length>0&&n.writeRepeatedBytes(6,a),a=i.getState(),a!==0&&n.writeEnum(7,a)},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(i){return t.Message.setProto3IntField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},TronWebProto.Proposal.prototype.getParametersMap=function(i){return t.Message.getMapField(this,3,i,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(i){return t.Message.setProto3IntField(this,4,i)},TronWebProto.Proposal.prototype.getCreateTime=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.Proposal.prototype.setCreateTime=function(i){return t.Message.setProto3IntField(this,5,i)},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(i){return t.Message.setField(this,6,i||[])},TronWebProto.Proposal.prototype.addApprovals=function(i,n){return t.Message.addToRepeatedField(this,6,i,n)},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(i){return t.Message.setProto3EnumField(this,7,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Exchange.prototype.toObject=function(i){return TronWebProto.Exchange.toObject(i,this)},TronWebProto.Exchange.toObject=function(i,n){var a,u={exchangeId:t.Message.getFieldWithDefault(n,1,0),creatorAddress:n.getCreatorAddress_asB64(),createTime:t.Message.getFieldWithDefault(n,3,0),firstTokenId:n.getFirstTokenId_asB64(),firstTokenBalance:t.Message.getFieldWithDefault(n,7,0),secondTokenId:n.getSecondTokenId_asB64(),secondTokenBalance:t.Message.getFieldWithDefault(n,9,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.Exchange.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.Exchange;return TronWebProto.Exchange.deserializeBinaryFromReader(a,n)},TronWebProto.Exchange.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readInt64();i.setExchangeId(u);break;case 2:var u=n.readBytes();i.setCreatorAddress(u);break;case 3:var u=n.readInt64();i.setCreateTime(u);break;case 6:var u=n.readBytes();i.setFirstTokenId(u);break;case 7:var u=n.readInt64();i.setFirstTokenBalance(u);break;case 8:var u=n.readBytes();i.setSecondTokenId(u);break;case 9:var u=n.readInt64();i.setSecondTokenBalance(u);break;default:n.skipField();break}}return i},TronWebProto.Exchange.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.Exchange.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.Exchange.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getExchangeId(),a!==0&&n.writeInt64(1,a),a=i.getCreatorAddress_asU8(),a.length>0&&n.writeBytes(2,a),a=i.getCreateTime(),a!==0&&n.writeInt64(3,a),a=i.getFirstTokenId_asU8(),a.length>0&&n.writeBytes(6,a),a=i.getFirstTokenBalance(),a!==0&&n.writeInt64(7,a),a=i.getSecondTokenId_asU8(),a.length>0&&n.writeBytes(8,a),a=i.getSecondTokenBalance(),a!==0&&n.writeInt64(9,a)},TronWebProto.Exchange.prototype.getExchangeId=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.Exchange.prototype.setExchangeId=function(i){return t.Message.setProto3IntField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},TronWebProto.Exchange.prototype.getCreateTime=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.Exchange.prototype.setCreateTime=function(i){return t.Message.setProto3IntField(this,3,i)},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(i){return t.Message.setProto3BytesField(this,6,i)},TronWebProto.Exchange.prototype.getFirstTokenBalance=function(){return t.Message.getFieldWithDefault(this,7,0)},TronWebProto.Exchange.prototype.setFirstTokenBalance=function(i){return t.Message.setProto3IntField(this,7,i)},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(i){return t.Message.setProto3BytesField(this,8,i)},TronWebProto.Exchange.prototype.getSecondTokenBalance=function(){return t.Message.getFieldWithDefault(this,9,0)},TronWebProto.Exchange.prototype.setSecondTokenBalance=function(i){return t.Message.setProto3IntField(this,9,i)},TronWebProto.Account.repeatedFields_=[5,7,16,33],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Account.prototype.toObject=function(i){return TronWebProto.Account.toObject(i,this)},TronWebProto.Account.toObject=function(i,n){var a,u={accountName:n.getAccountName_asB64(),type:t.Message.getFieldWithDefault(n,2,0),address:n.getAddress_asB64(),balance:t.Message.getFieldWithDefault(n,4,0),votesList:t.Message.toObjectList(n.getVotesList(),TronWebProto.Vote.toObject,i),assetMap:(a=n.getAssetMap())?a.toObject(i,void 0):[],assetv2Map:(a=n.getAssetv2Map())?a.toObject(i,void 0):[],frozenList:t.Message.toObjectList(n.getFrozenList(),TronWebProto.Account.Frozen.toObject,i),netUsage:t.Message.getFieldWithDefault(n,8,0),acquiredDelegatedFrozenBalanceForBandwidth:t.Message.getFieldWithDefault(n,41,0),delegatedFrozenBalanceForBandwidth:t.Message.getFieldWithDefault(n,42,0),oldTronPower:t.Message.getFieldWithDefault(n,46,0),tronPower:(a=n.getTronPower())&&TronWebProto.Account.Frozen.toObject(i,a),assetOptimized:t.Message.getBooleanFieldWithDefault(n,60,!1),createTime:t.Message.getFieldWithDefault(n,9,0),latestOprationTime:t.Message.getFieldWithDefault(n,10,0),allowance:t.Message.getFieldWithDefault(n,11,0),latestWithdrawTime:t.Message.getFieldWithDefault(n,12,0),code:n.getCode_asB64(),isWitness:t.Message.getBooleanFieldWithDefault(n,14,!1),isCommittee:t.Message.getBooleanFieldWithDefault(n,15,!1),frozenSupplyList:t.Message.toObjectList(n.getFrozenSupplyList(),TronWebProto.Account.Frozen.toObject,i),assetIssuedName:n.getAssetIssuedName_asB64(),assetIssuedId:n.getAssetIssuedId_asB64(),latestAssetOperationTimeMap:(a=n.getLatestAssetOperationTimeMap())?a.toObject(i,void 0):[],latestAssetOperationTimev2Map:(a=n.getLatestAssetOperationTimev2Map())?a.toObject(i,void 0):[],freeNetUsage:t.Message.getFieldWithDefault(n,19,0),freeAssetNetUsageMap:(a=n.getFreeAssetNetUsageMap())?a.toObject(i,void 0):[],freeAssetNetUsagev2Map:(a=n.getFreeAssetNetUsagev2Map())?a.toObject(i,void 0):[],latestConsumeTime:t.Message.getFieldWithDefault(n,21,0),latestConsumeFreeTime:t.Message.getFieldWithDefault(n,22,0),accountId:n.getAccountId_asB64(),accountResource:(a=n.getAccountResource())&&TronWebProto.Account.AccountResource.toObject(i,a),codehash:n.getCodehash_asB64(),ownerPermission:(a=n.getOwnerPermission())&&TronWebProto.Permission.toObject(i,a),witnessPermission:(a=n.getWitnessPermission())&&TronWebProto.Permission.toObject(i,a),activePermissionList:t.Message.toObjectList(n.getActivePermissionList(),TronWebProto.Permission.toObject,i)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.Account.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.Account;return TronWebProto.Account.deserializeBinaryFromReader(a,n)},TronWebProto.Account.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setAccountName(u);break;case 2:var u=n.readEnum();i.setType(u);break;case 3:var u=n.readBytes();i.setAddress(u);break;case 4:var u=n.readInt64();i.setBalance(u);break;case 5:var u=new TronWebProto.Vote;n.readMessage(u,TronWebProto.Vote.deserializeBinaryFromReader),i.addVotes(u);break;case 6:var u=i.getAssetMap();n.readMessage(u,function(c,d){t.Map.deserializeBinary(c,d,t.BinaryReader.prototype.readString,t.BinaryReader.prototype.readInt64,null,"",0)});break;case 56:var u=i.getAssetv2Map();n.readMessage(u,function(c,d){t.Map.deserializeBinary(c,d,t.BinaryReader.prototype.readString,t.BinaryReader.prototype.readInt64,null,"",0)});break;case 7:var u=new TronWebProto.Account.Frozen;n.readMessage(u,TronWebProto.Account.Frozen.deserializeBinaryFromReader),i.addFrozen(u);break;case 8:var u=n.readInt64();i.setNetUsage(u);break;case 41:var u=n.readInt64();i.setAcquiredDelegatedFrozenBalanceForBandwidth(u);break;case 42:var u=n.readInt64();i.setDelegatedFrozenBalanceForBandwidth(u);break;case 46:var u=n.readInt64();i.setOldTronPower(u);break;case 47:var u=new TronWebProto.Account.Frozen;n.readMessage(u,TronWebProto.Account.Frozen.deserializeBinaryFromReader),i.setTronPower(u);break;case 60:var u=n.readBool();i.setAssetOptimized(u);break;case 9:var u=n.readInt64();i.setCreateTime(u);break;case 10:var u=n.readInt64();i.setLatestOprationTime(u);break;case 11:var u=n.readInt64();i.setAllowance(u);break;case 12:var u=n.readInt64();i.setLatestWithdrawTime(u);break;case 13:var u=n.readBytes();i.setCode(u);break;case 14:var u=n.readBool();i.setIsWitness(u);break;case 15:var u=n.readBool();i.setIsCommittee(u);break;case 16:var u=new TronWebProto.Account.Frozen;n.readMessage(u,TronWebProto.Account.Frozen.deserializeBinaryFromReader),i.addFrozenSupply(u);break;case 17:var u=n.readBytes();i.setAssetIssuedName(u);break;case 57:var u=n.readBytes();i.setAssetIssuedId(u);break;case 18:var u=i.getLatestAssetOperationTimeMap();n.readMessage(u,function(c,d){t.Map.deserializeBinary(c,d,t.BinaryReader.prototype.readString,t.BinaryReader.prototype.readInt64,null,"",0)});break;case 58:var u=i.getLatestAssetOperationTimev2Map();n.readMessage(u,function(c,d){t.Map.deserializeBinary(c,d,t.BinaryReader.prototype.readString,t.BinaryReader.prototype.readInt64,null,"",0)});break;case 19:var u=n.readInt64();i.setFreeNetUsage(u);break;case 20:var u=i.getFreeAssetNetUsageMap();n.readMessage(u,function(c,d){t.Map.deserializeBinary(c,d,t.BinaryReader.prototype.readString,t.BinaryReader.prototype.readInt64,null,"",0)});break;case 59:var u=i.getFreeAssetNetUsagev2Map();n.readMessage(u,function(c,d){t.Map.deserializeBinary(c,d,t.BinaryReader.prototype.readString,t.BinaryReader.prototype.readInt64,null,"",0)});break;case 21:var u=n.readInt64();i.setLatestConsumeTime(u);break;case 22:var u=n.readInt64();i.setLatestConsumeFreeTime(u);break;case 23:var u=n.readBytes();i.setAccountId(u);break;case 26:var u=new TronWebProto.Account.AccountResource;n.readMessage(u,TronWebProto.Account.AccountResource.deserializeBinaryFromReader),i.setAccountResource(u);break;case 30:var u=n.readBytes();i.setCodehash(u);break;case 31:var u=new TronWebProto.Permission;n.readMessage(u,TronWebProto.Permission.deserializeBinaryFromReader),i.setOwnerPermission(u);break;case 32:var u=new TronWebProto.Permission;n.readMessage(u,TronWebProto.Permission.deserializeBinaryFromReader),i.setWitnessPermission(u);break;case 33:var u=new TronWebProto.Permission;n.readMessage(u,TronWebProto.Permission.deserializeBinaryFromReader),i.addActivePermission(u);break;default:n.skipField();break}}return i},TronWebProto.Account.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.Account.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.Account.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getAccountName_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getType(),a!==0&&n.writeEnum(2,a),a=i.getAddress_asU8(),a.length>0&&n.writeBytes(3,a),a=i.getBalance(),a!==0&&n.writeInt64(4,a),a=i.getVotesList(),a.length>0&&n.writeRepeatedMessage(5,a,TronWebProto.Vote.serializeBinaryToWriter),a=i.getAssetMap(!0),a&&a.getLength()>0&&a.serializeBinary(6,n,t.BinaryWriter.prototype.writeString,t.BinaryWriter.prototype.writeInt64),a=i.getAssetv2Map(!0),a&&a.getLength()>0&&a.serializeBinary(56,n,t.BinaryWriter.prototype.writeString,t.BinaryWriter.prototype.writeInt64),a=i.getFrozenList(),a.length>0&&n.writeRepeatedMessage(7,a,TronWebProto.Account.Frozen.serializeBinaryToWriter),a=i.getNetUsage(),a!==0&&n.writeInt64(8,a),a=i.getAcquiredDelegatedFrozenBalanceForBandwidth(),a!==0&&n.writeInt64(41,a),a=i.getDelegatedFrozenBalanceForBandwidth(),a!==0&&n.writeInt64(42,a),a=i.getOldTronPower(),a!==0&&n.writeInt64(46,a),a=i.getTronPower(),a!=null&&n.writeMessage(47,a,TronWebProto.Account.Frozen.serializeBinaryToWriter),a=i.getAssetOptimized(),a&&n.writeBool(60,a),a=i.getCreateTime(),a!==0&&n.writeInt64(9,a),a=i.getLatestOprationTime(),a!==0&&n.writeInt64(10,a),a=i.getAllowance(),a!==0&&n.writeInt64(11,a),a=i.getLatestWithdrawTime(),a!==0&&n.writeInt64(12,a),a=i.getCode_asU8(),a.length>0&&n.writeBytes(13,a),a=i.getIsWitness(),a&&n.writeBool(14,a),a=i.getIsCommittee(),a&&n.writeBool(15,a),a=i.getFrozenSupplyList(),a.length>0&&n.writeRepeatedMessage(16,a,TronWebProto.Account.Frozen.serializeBinaryToWriter),a=i.getAssetIssuedName_asU8(),a.length>0&&n.writeBytes(17,a),a=i.getAssetIssuedId_asU8(),a.length>0&&n.writeBytes(57,a),a=i.getLatestAssetOperationTimeMap(!0),a&&a.getLength()>0&&a.serializeBinary(18,n,t.BinaryWriter.prototype.writeString,t.BinaryWriter.prototype.writeInt64),a=i.getLatestAssetOperationTimev2Map(!0),a&&a.getLength()>0&&a.serializeBinary(58,n,t.BinaryWriter.prototype.writeString,t.BinaryWriter.prototype.writeInt64),a=i.getFreeNetUsage(),a!==0&&n.writeInt64(19,a),a=i.getFreeAssetNetUsageMap(!0),a&&a.getLength()>0&&a.serializeBinary(20,n,t.BinaryWriter.prototype.writeString,t.BinaryWriter.prototype.writeInt64),a=i.getFreeAssetNetUsagev2Map(!0),a&&a.getLength()>0&&a.serializeBinary(59,n,t.BinaryWriter.prototype.writeString,t.BinaryWriter.prototype.writeInt64),a=i.getLatestConsumeTime(),a!==0&&n.writeInt64(21,a),a=i.getLatestConsumeFreeTime(),a!==0&&n.writeInt64(22,a),a=i.getAccountId_asU8(),a.length>0&&n.writeBytes(23,a),a=i.getAccountResource(),a!=null&&n.writeMessage(26,a,TronWebProto.Account.AccountResource.serializeBinaryToWriter),a=i.getCodehash_asU8(),a.length>0&&n.writeBytes(30,a),a=i.getOwnerPermission(),a!=null&&n.writeMessage(31,a,TronWebProto.Permission.serializeBinaryToWriter),a=i.getWitnessPermission(),a!=null&&n.writeMessage(32,a,TronWebProto.Permission.serializeBinaryToWriter),a=i.getActivePermissionList(),a.length>0&&n.writeRepeatedMessage(33,a,TronWebProto.Permission.serializeBinaryToWriter)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Account.Frozen.prototype.toObject=function(i){return TronWebProto.Account.Frozen.toObject(i,this)},TronWebProto.Account.Frozen.toObject=function(i,n){var a,u={frozenBalance:t.Message.getFieldWithDefault(n,1,0),expireTime:t.Message.getFieldWithDefault(n,2,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.Account.Frozen.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.Account.Frozen;return TronWebProto.Account.Frozen.deserializeBinaryFromReader(a,n)},TronWebProto.Account.Frozen.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readInt64();i.setFrozenBalance(u);break;case 2:var u=n.readInt64();i.setExpireTime(u);break;default:n.skipField();break}}return i},TronWebProto.Account.Frozen.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.Account.Frozen.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.Account.Frozen.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getFrozenBalance(),a!==0&&n.writeInt64(1,a),a=i.getExpireTime(),a!==0&&n.writeInt64(2,a)},TronWebProto.Account.Frozen.prototype.getFrozenBalance=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.Account.Frozen.prototype.setFrozenBalance=function(i){return t.Message.setProto3IntField(this,1,i)},TronWebProto.Account.Frozen.prototype.getExpireTime=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.Account.Frozen.prototype.setExpireTime=function(i){return t.Message.setProto3IntField(this,2,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Account.AccountResource.prototype.toObject=function(i){return TronWebProto.Account.AccountResource.toObject(i,this)},TronWebProto.Account.AccountResource.toObject=function(i,n){var a,u={energyUsage:t.Message.getFieldWithDefault(n,1,0),frozenBalanceForEnergy:(a=n.getFrozenBalanceForEnergy())&&TronWebProto.Account.Frozen.toObject(i,a),latestConsumeTimeForEnergy:t.Message.getFieldWithDefault(n,3,0),acquiredDelegatedFrozenBalanceForEnergy:t.Message.getFieldWithDefault(n,4,0),delegatedFrozenBalanceForEnergy:t.Message.getFieldWithDefault(n,5,0),storageLimit:t.Message.getFieldWithDefault(n,6,0),storageUsage:t.Message.getFieldWithDefault(n,7,0),latestExchangeStorageTime:t.Message.getFieldWithDefault(n,8,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.Account.AccountResource.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.Account.AccountResource;return TronWebProto.Account.AccountResource.deserializeBinaryFromReader(a,n)},TronWebProto.Account.AccountResource.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readInt64();i.setEnergyUsage(u);break;case 2:var u=new TronWebProto.Account.Frozen;n.readMessage(u,TronWebProto.Account.Frozen.deserializeBinaryFromReader),i.setFrozenBalanceForEnergy(u);break;case 3:var u=n.readInt64();i.setLatestConsumeTimeForEnergy(u);break;case 4:var u=n.readInt64();i.setAcquiredDelegatedFrozenBalanceForEnergy(u);break;case 5:var u=n.readInt64();i.setDelegatedFrozenBalanceForEnergy(u);break;case 6:var u=n.readInt64();i.setStorageLimit(u);break;case 7:var u=n.readInt64();i.setStorageUsage(u);break;case 8:var u=n.readInt64();i.setLatestExchangeStorageTime(u);break;default:n.skipField();break}}return i},TronWebProto.Account.AccountResource.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.Account.AccountResource.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.Account.AccountResource.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getEnergyUsage(),a!==0&&n.writeInt64(1,a),a=i.getFrozenBalanceForEnergy(),a!=null&&n.writeMessage(2,a,TronWebProto.Account.Frozen.serializeBinaryToWriter),a=i.getLatestConsumeTimeForEnergy(),a!==0&&n.writeInt64(3,a),a=i.getAcquiredDelegatedFrozenBalanceForEnergy(),a!==0&&n.writeInt64(4,a),a=i.getDelegatedFrozenBalanceForEnergy(),a!==0&&n.writeInt64(5,a),a=i.getStorageLimit(),a!==0&&n.writeInt64(6,a),a=i.getStorageUsage(),a!==0&&n.writeInt64(7,a),a=i.getLatestExchangeStorageTime(),a!==0&&n.writeInt64(8,a)},TronWebProto.Account.AccountResource.prototype.getEnergyUsage=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.Account.AccountResource.prototype.setEnergyUsage=function(i){return t.Message.setProto3IntField(this,1,i)},TronWebProto.Account.AccountResource.prototype.getFrozenBalanceForEnergy=function(){return t.Message.getWrapperField(this,TronWebProto.Account.Frozen,2)},TronWebProto.Account.AccountResource.prototype.setFrozenBalanceForEnergy=function(i){return t.Message.setWrapperField(this,2,i)},TronWebProto.Account.AccountResource.prototype.clearFrozenBalanceForEnergy=function(){return this.setFrozenBalanceForEnergy(void 0)},TronWebProto.Account.AccountResource.prototype.hasFrozenBalanceForEnergy=function(){return t.Message.getField(this,2)!=null},TronWebProto.Account.AccountResource.prototype.getLatestConsumeTimeForEnergy=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.Account.AccountResource.prototype.setLatestConsumeTimeForEnergy=function(i){return t.Message.setProto3IntField(this,3,i)},TronWebProto.Account.AccountResource.prototype.getAcquiredDelegatedFrozenBalanceForEnergy=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.Account.AccountResource.prototype.setAcquiredDelegatedFrozenBalanceForEnergy=function(i){return t.Message.setProto3IntField(this,4,i)},TronWebProto.Account.AccountResource.prototype.getDelegatedFrozenBalanceForEnergy=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.Account.AccountResource.prototype.setDelegatedFrozenBalanceForEnergy=function(i){return t.Message.setProto3IntField(this,5,i)},TronWebProto.Account.AccountResource.prototype.getStorageLimit=function(){return t.Message.getFieldWithDefault(this,6,0)},TronWebProto.Account.AccountResource.prototype.setStorageLimit=function(i){return t.Message.setProto3IntField(this,6,i)},TronWebProto.Account.AccountResource.prototype.getStorageUsage=function(){return t.Message.getFieldWithDefault(this,7,0)},TronWebProto.Account.AccountResource.prototype.setStorageUsage=function(i){return t.Message.setProto3IntField(this,7,i)},TronWebProto.Account.AccountResource.prototype.getLatestExchangeStorageTime=function(){return t.Message.getFieldWithDefault(this,8,0)},TronWebProto.Account.AccountResource.prototype.setLatestExchangeStorageTime=function(i){return t.Message.setProto3IntField(this,8,i)},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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.Account.prototype.getType=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.Account.prototype.setType=function(i){return t.Message.setProto3EnumField(this,2,i)},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(i){return t.Message.setProto3BytesField(this,3,i)},TronWebProto.Account.prototype.getBalance=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.Account.prototype.setBalance=function(i){return t.Message.setProto3IntField(this,4,i)},TronWebProto.Account.prototype.getVotesList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Vote,5)},TronWebProto.Account.prototype.setVotesList=function(i){return t.Message.setRepeatedWrapperField(this,5,i)},TronWebProto.Account.prototype.addVotes=function(i,n){return t.Message.addToRepeatedWrapperField(this,5,i,TronWebProto.Vote,n)},TronWebProto.Account.prototype.clearVotesList=function(){return this.setVotesList([])},TronWebProto.Account.prototype.getAssetMap=function(i){return t.Message.getMapField(this,6,i,null)},TronWebProto.Account.prototype.clearAssetMap=function(){return this.getAssetMap().clear(),this},TronWebProto.Account.prototype.getAssetv2Map=function(i){return t.Message.getMapField(this,56,i,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(i){return t.Message.setRepeatedWrapperField(this,7,i)},TronWebProto.Account.prototype.addFrozen=function(i,n){return t.Message.addToRepeatedWrapperField(this,7,i,TronWebProto.Account.Frozen,n)},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(i){return t.Message.setProto3IntField(this,8,i)},TronWebProto.Account.prototype.getAcquiredDelegatedFrozenBalanceForBandwidth=function(){return t.Message.getFieldWithDefault(this,41,0)},TronWebProto.Account.prototype.setAcquiredDelegatedFrozenBalanceForBandwidth=function(i){return t.Message.setProto3IntField(this,41,i)},TronWebProto.Account.prototype.getDelegatedFrozenBalanceForBandwidth=function(){return t.Message.getFieldWithDefault(this,42,0)},TronWebProto.Account.prototype.setDelegatedFrozenBalanceForBandwidth=function(i){return t.Message.setProto3IntField(this,42,i)},TronWebProto.Account.prototype.getOldTronPower=function(){return t.Message.getFieldWithDefault(this,46,0)},TronWebProto.Account.prototype.setOldTronPower=function(i){return t.Message.setProto3IntField(this,46,i)},TronWebProto.Account.prototype.getTronPower=function(){return t.Message.getWrapperField(this,TronWebProto.Account.Frozen,47)},TronWebProto.Account.prototype.setTronPower=function(i){return t.Message.setWrapperField(this,47,i)},TronWebProto.Account.prototype.clearTronPower=function(){return this.setTronPower(void 0)},TronWebProto.Account.prototype.hasTronPower=function(){return t.Message.getField(this,47)!=null},TronWebProto.Account.prototype.getAssetOptimized=function(){return t.Message.getBooleanFieldWithDefault(this,60,!1)},TronWebProto.Account.prototype.setAssetOptimized=function(i){return t.Message.setProto3BooleanField(this,60,i)},TronWebProto.Account.prototype.getCreateTime=function(){return t.Message.getFieldWithDefault(this,9,0)},TronWebProto.Account.prototype.setCreateTime=function(i){return t.Message.setProto3IntField(this,9,i)},TronWebProto.Account.prototype.getLatestOprationTime=function(){return t.Message.getFieldWithDefault(this,10,0)},TronWebProto.Account.prototype.setLatestOprationTime=function(i){return t.Message.setProto3IntField(this,10,i)},TronWebProto.Account.prototype.getAllowance=function(){return t.Message.getFieldWithDefault(this,11,0)},TronWebProto.Account.prototype.setAllowance=function(i){return t.Message.setProto3IntField(this,11,i)},TronWebProto.Account.prototype.getLatestWithdrawTime=function(){return t.Message.getFieldWithDefault(this,12,0)},TronWebProto.Account.prototype.setLatestWithdrawTime=function(i){return t.Message.setProto3IntField(this,12,i)},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(i){return t.Message.setProto3BytesField(this,13,i)},TronWebProto.Account.prototype.getIsWitness=function(){return t.Message.getBooleanFieldWithDefault(this,14,!1)},TronWebProto.Account.prototype.setIsWitness=function(i){return t.Message.setProto3BooleanField(this,14,i)},TronWebProto.Account.prototype.getIsCommittee=function(){return t.Message.getBooleanFieldWithDefault(this,15,!1)},TronWebProto.Account.prototype.setIsCommittee=function(i){return t.Message.setProto3BooleanField(this,15,i)},TronWebProto.Account.prototype.getFrozenSupplyList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Account.Frozen,16)},TronWebProto.Account.prototype.setFrozenSupplyList=function(i){return t.Message.setRepeatedWrapperField(this,16,i)},TronWebProto.Account.prototype.addFrozenSupply=function(i,n){return t.Message.addToRepeatedWrapperField(this,16,i,TronWebProto.Account.Frozen,n)},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(i){return t.Message.setProto3BytesField(this,17,i)},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(i){return t.Message.setProto3BytesField(this,57,i)},TronWebProto.Account.prototype.getLatestAssetOperationTimeMap=function(i){return t.Message.getMapField(this,18,i,null)},TronWebProto.Account.prototype.clearLatestAssetOperationTimeMap=function(){return this.getLatestAssetOperationTimeMap().clear(),this},TronWebProto.Account.prototype.getLatestAssetOperationTimev2Map=function(i){return t.Message.getMapField(this,58,i,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(i){return t.Message.setProto3IntField(this,19,i)},TronWebProto.Account.prototype.getFreeAssetNetUsageMap=function(i){return t.Message.getMapField(this,20,i,null)},TronWebProto.Account.prototype.clearFreeAssetNetUsageMap=function(){return this.getFreeAssetNetUsageMap().clear(),this},TronWebProto.Account.prototype.getFreeAssetNetUsagev2Map=function(i){return t.Message.getMapField(this,59,i,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(i){return t.Message.setProto3IntField(this,21,i)},TronWebProto.Account.prototype.getLatestConsumeFreeTime=function(){return t.Message.getFieldWithDefault(this,22,0)},TronWebProto.Account.prototype.setLatestConsumeFreeTime=function(i){return t.Message.setProto3IntField(this,22,i)},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(i){return t.Message.setProto3BytesField(this,23,i)},TronWebProto.Account.prototype.getAccountResource=function(){return t.Message.getWrapperField(this,TronWebProto.Account.AccountResource,26)},TronWebProto.Account.prototype.setAccountResource=function(i){return t.Message.setWrapperField(this,26,i)},TronWebProto.Account.prototype.clearAccountResource=function(){return this.setAccountResource(void 0)},TronWebProto.Account.prototype.hasAccountResource=function(){return t.Message.getField(this,26)!=null},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(i){return t.Message.setProto3BytesField(this,30,i)},TronWebProto.Account.prototype.getOwnerPermission=function(){return t.Message.getWrapperField(this,TronWebProto.Permission,31)},TronWebProto.Account.prototype.setOwnerPermission=function(i){return t.Message.setWrapperField(this,31,i)},TronWebProto.Account.prototype.clearOwnerPermission=function(){return this.setOwnerPermission(void 0)},TronWebProto.Account.prototype.hasOwnerPermission=function(){return t.Message.getField(this,31)!=null},TronWebProto.Account.prototype.getWitnessPermission=function(){return t.Message.getWrapperField(this,TronWebProto.Permission,32)},TronWebProto.Account.prototype.setWitnessPermission=function(i){return t.Message.setWrapperField(this,32,i)},TronWebProto.Account.prototype.clearWitnessPermission=function(){return this.setWitnessPermission(void 0)},TronWebProto.Account.prototype.hasWitnessPermission=function(){return t.Message.getField(this,32)!=null},TronWebProto.Account.prototype.getActivePermissionList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Permission,33)},TronWebProto.Account.prototype.setActivePermissionList=function(i){return t.Message.setRepeatedWrapperField(this,33,i)},TronWebProto.Account.prototype.addActivePermission=function(i,n){return t.Message.addToRepeatedWrapperField(this,33,i,TronWebProto.Permission,n)},TronWebProto.Account.prototype.clearActivePermissionList=function(){return this.setActivePermissionList([])},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Key.prototype.toObject=function(i){return TronWebProto.Key.toObject(i,this)},TronWebProto.Key.toObject=function(i,n){var a,u={address:n.getAddress_asB64(),weight:t.Message.getFieldWithDefault(n,2,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.Key.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.Key;return TronWebProto.Key.deserializeBinaryFromReader(a,n)},TronWebProto.Key.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setAddress(u);break;case 2:var u=n.readInt64();i.setWeight(u);break;default:n.skipField();break}}return i},TronWebProto.Key.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.Key.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.Key.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getWeight(),a!==0&&n.writeInt64(2,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.Key.prototype.getWeight=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.Key.prototype.setWeight=function(i){return t.Message.setProto3IntField(this,2,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.DelegatedResource.prototype.toObject=function(i){return TronWebProto.DelegatedResource.toObject(i,this)},TronWebProto.DelegatedResource.toObject=function(i,n){var a,u={from:n.getFrom_asB64(),to:n.getTo_asB64(),frozenBalanceForBandwidth:t.Message.getFieldWithDefault(n,3,0),frozenBalanceForEnergy:t.Message.getFieldWithDefault(n,4,0),expireTimeForBandwidth:t.Message.getFieldWithDefault(n,5,0),expireTimeForEnergy:t.Message.getFieldWithDefault(n,6,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.DelegatedResource.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.DelegatedResource;return TronWebProto.DelegatedResource.deserializeBinaryFromReader(a,n)},TronWebProto.DelegatedResource.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setFrom(u);break;case 2:var u=n.readBytes();i.setTo(u);break;case 3:var u=n.readInt64();i.setFrozenBalanceForBandwidth(u);break;case 4:var u=n.readInt64();i.setFrozenBalanceForEnergy(u);break;case 5:var u=n.readInt64();i.setExpireTimeForBandwidth(u);break;case 6:var u=n.readInt64();i.setExpireTimeForEnergy(u);break;default:n.skipField();break}}return i},TronWebProto.DelegatedResource.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.DelegatedResource.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.DelegatedResource.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getFrom_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getTo_asU8(),a.length>0&&n.writeBytes(2,a),a=i.getFrozenBalanceForBandwidth(),a!==0&&n.writeInt64(3,a),a=i.getFrozenBalanceForEnergy(),a!==0&&n.writeInt64(4,a),a=i.getExpireTimeForBandwidth(),a!==0&&n.writeInt64(5,a),a=i.getExpireTimeForEnergy(),a!==0&&n.writeInt64(6,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},TronWebProto.DelegatedResource.prototype.getFrozenBalanceForBandwidth=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.DelegatedResource.prototype.setFrozenBalanceForBandwidth=function(i){return t.Message.setProto3IntField(this,3,i)},TronWebProto.DelegatedResource.prototype.getFrozenBalanceForEnergy=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.DelegatedResource.prototype.setFrozenBalanceForEnergy=function(i){return t.Message.setProto3IntField(this,4,i)},TronWebProto.DelegatedResource.prototype.getExpireTimeForBandwidth=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.DelegatedResource.prototype.setExpireTimeForBandwidth=function(i){return t.Message.setProto3IntField(this,5,i)},TronWebProto.DelegatedResource.prototype.getExpireTimeForEnergy=function(){return t.Message.getFieldWithDefault(this,6,0)},TronWebProto.DelegatedResource.prototype.setExpireTimeForEnergy=function(i){return t.Message.setProto3IntField(this,6,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.authority.prototype.toObject=function(i){return TronWebProto.authority.toObject(i,this)},TronWebProto.authority.toObject=function(i,n){var a,u={account:(a=n.getAccount())&&TronWebProto.AccountId.toObject(i,a),permissionName:n.getPermissionName_asB64()};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.authority.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.authority;return TronWebProto.authority.deserializeBinaryFromReader(a,n)},TronWebProto.authority.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=new TronWebProto.AccountId;n.readMessage(u,TronWebProto.AccountId.deserializeBinaryFromReader),i.setAccount(u);break;case 2:var u=n.readBytes();i.setPermissionName(u);break;default:n.skipField();break}}return i},TronWebProto.authority.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.authority.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.authority.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getAccount(),a!=null&&n.writeMessage(1,a,TronWebProto.AccountId.serializeBinaryToWriter),a=i.getPermissionName_asU8(),a.length>0&&n.writeBytes(2,a)},TronWebProto.authority.prototype.getAccount=function(){return t.Message.getWrapperField(this,TronWebProto.AccountId,1)},TronWebProto.authority.prototype.setAccount=function(i){return t.Message.setWrapperField(this,1,i)},TronWebProto.authority.prototype.clearAccount=function(){return this.setAccount(void 0)},TronWebProto.authority.prototype.hasAccount=function(){return t.Message.getField(this,1)!=null},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(i){return t.Message.setProto3BytesField(this,2,i)},TronWebProto.Permission.repeatedFields_=[7],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Permission.prototype.toObject=function(i){return TronWebProto.Permission.toObject(i,this)},TronWebProto.Permission.toObject=function(i,n){var a,u={type:t.Message.getFieldWithDefault(n,1,0),id:t.Message.getFieldWithDefault(n,2,0),permissionName:t.Message.getFieldWithDefault(n,3,""),threshold:t.Message.getFieldWithDefault(n,4,0),parentId:t.Message.getFieldWithDefault(n,5,0),operations:n.getOperations_asB64(),keysList:t.Message.toObjectList(n.getKeysList(),TronWebProto.Key.toObject,i)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.Permission.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.Permission;return TronWebProto.Permission.deserializeBinaryFromReader(a,n)},TronWebProto.Permission.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readEnum();i.setType(u);break;case 2:var u=n.readInt32();i.setId(u);break;case 3:var u=n.readString();i.setPermissionName(u);break;case 4:var u=n.readInt64();i.setThreshold(u);break;case 5:var u=n.readInt32();i.setParentId(u);break;case 6:var u=n.readBytes();i.setOperations(u);break;case 7:var u=new TronWebProto.Key;n.readMessage(u,TronWebProto.Key.deserializeBinaryFromReader),i.addKeys(u);break;default:n.skipField();break}}return i},TronWebProto.Permission.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.Permission.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.Permission.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getType(),a!==0&&n.writeEnum(1,a),a=i.getId(),a!==0&&n.writeInt32(2,a),a=i.getPermissionName(),a.length>0&&n.writeString(3,a),a=i.getThreshold(),a!==0&&n.writeInt64(4,a),a=i.getParentId(),a!==0&&n.writeInt32(5,a),a=i.getOperations_asU8(),a.length>0&&n.writeBytes(6,a),a=i.getKeysList(),a.length>0&&n.writeRepeatedMessage(7,a,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(i){return t.Message.setProto3EnumField(this,1,i)},TronWebProto.Permission.prototype.getId=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.Permission.prototype.setId=function(i){return t.Message.setProto3IntField(this,2,i)},TronWebProto.Permission.prototype.getPermissionName=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.Permission.prototype.setPermissionName=function(i){return t.Message.setProto3StringField(this,3,i)},TronWebProto.Permission.prototype.getThreshold=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.Permission.prototype.setThreshold=function(i){return t.Message.setProto3IntField(this,4,i)},TronWebProto.Permission.prototype.getParentId=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.Permission.prototype.setParentId=function(i){return t.Message.setProto3IntField(this,5,i)},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(i){return t.Message.setProto3BytesField(this,6,i)},TronWebProto.Permission.prototype.getKeysList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Key,7)},TronWebProto.Permission.prototype.setKeysList=function(i){return t.Message.setRepeatedWrapperField(this,7,i)},TronWebProto.Permission.prototype.addKeys=function(i,n){return t.Message.addToRepeatedWrapperField(this,7,i,TronWebProto.Key,n)},TronWebProto.Permission.prototype.clearKeysList=function(){return this.setKeysList([])},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Witness.prototype.toObject=function(i){return TronWebProto.Witness.toObject(i,this)},TronWebProto.Witness.toObject=function(i,n){var a,u={address:n.getAddress_asB64(),votecount:t.Message.getFieldWithDefault(n,2,0),pubkey:n.getPubkey_asB64(),url:t.Message.getFieldWithDefault(n,4,""),totalproduced:t.Message.getFieldWithDefault(n,5,0),totalmissed:t.Message.getFieldWithDefault(n,6,0),latestblocknum:t.Message.getFieldWithDefault(n,7,0),latestslotnum:t.Message.getFieldWithDefault(n,8,0),isjobs:t.Message.getBooleanFieldWithDefault(n,9,!1)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.Witness.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.Witness;return TronWebProto.Witness.deserializeBinaryFromReader(a,n)},TronWebProto.Witness.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setAddress(u);break;case 2:var u=n.readInt64();i.setVotecount(u);break;case 3:var u=n.readBytes();i.setPubkey(u);break;case 4:var u=n.readString();i.setUrl(u);break;case 5:var u=n.readInt64();i.setTotalproduced(u);break;case 6:var u=n.readInt64();i.setTotalmissed(u);break;case 7:var u=n.readInt64();i.setLatestblocknum(u);break;case 8:var u=n.readInt64();i.setLatestslotnum(u);break;case 9:var u=n.readBool();i.setIsjobs(u);break;default:n.skipField();break}}return i},TronWebProto.Witness.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.Witness.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.Witness.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getVotecount(),a!==0&&n.writeInt64(2,a),a=i.getPubkey_asU8(),a.length>0&&n.writeBytes(3,a),a=i.getUrl(),a.length>0&&n.writeString(4,a),a=i.getTotalproduced(),a!==0&&n.writeInt64(5,a),a=i.getTotalmissed(),a!==0&&n.writeInt64(6,a),a=i.getLatestblocknum(),a!==0&&n.writeInt64(7,a),a=i.getLatestslotnum(),a!==0&&n.writeInt64(8,a),a=i.getIsjobs(),a&&n.writeBool(9,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.Witness.prototype.getVotecount=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.Witness.prototype.setVotecount=function(i){return t.Message.setProto3IntField(this,2,i)},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(i){return t.Message.setProto3BytesField(this,3,i)},TronWebProto.Witness.prototype.getUrl=function(){return t.Message.getFieldWithDefault(this,4,"")},TronWebProto.Witness.prototype.setUrl=function(i){return t.Message.setProto3StringField(this,4,i)},TronWebProto.Witness.prototype.getTotalproduced=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.Witness.prototype.setTotalproduced=function(i){return t.Message.setProto3IntField(this,5,i)},TronWebProto.Witness.prototype.getTotalmissed=function(){return t.Message.getFieldWithDefault(this,6,0)},TronWebProto.Witness.prototype.setTotalmissed=function(i){return t.Message.setProto3IntField(this,6,i)},TronWebProto.Witness.prototype.getLatestblocknum=function(){return t.Message.getFieldWithDefault(this,7,0)},TronWebProto.Witness.prototype.setLatestblocknum=function(i){return t.Message.setProto3IntField(this,7,i)},TronWebProto.Witness.prototype.getLatestslotnum=function(){return t.Message.getFieldWithDefault(this,8,0)},TronWebProto.Witness.prototype.setLatestslotnum=function(i){return t.Message.setProto3IntField(this,8,i)},TronWebProto.Witness.prototype.getIsjobs=function(){return t.Message.getBooleanFieldWithDefault(this,9,!1)},TronWebProto.Witness.prototype.setIsjobs=function(i){return t.Message.setProto3BooleanField(this,9,i)},TronWebProto.Votes.repeatedFields_=[2,3],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Votes.prototype.toObject=function(i){return TronWebProto.Votes.toObject(i,this)},TronWebProto.Votes.toObject=function(i,n){var a,u={address:n.getAddress_asB64(),oldVotesList:t.Message.toObjectList(n.getOldVotesList(),TronWebProto.Vote.toObject,i),newVotesList:t.Message.toObjectList(n.getNewVotesList(),TronWebProto.Vote.toObject,i)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.Votes.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.Votes;return TronWebProto.Votes.deserializeBinaryFromReader(a,n)},TronWebProto.Votes.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setAddress(u);break;case 2:var u=new TronWebProto.Vote;n.readMessage(u,TronWebProto.Vote.deserializeBinaryFromReader),i.addOldVotes(u);break;case 3:var u=new TronWebProto.Vote;n.readMessage(u,TronWebProto.Vote.deserializeBinaryFromReader),i.addNewVotes(u);break;default:n.skipField();break}}return i},TronWebProto.Votes.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.Votes.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.Votes.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getOldVotesList(),a.length>0&&n.writeRepeatedMessage(2,a,TronWebProto.Vote.serializeBinaryToWriter),a=i.getNewVotesList(),a.length>0&&n.writeRepeatedMessage(3,a,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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.Votes.prototype.getOldVotesList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Vote,2)},TronWebProto.Votes.prototype.setOldVotesList=function(i){return t.Message.setRepeatedWrapperField(this,2,i)},TronWebProto.Votes.prototype.addOldVotes=function(i,n){return t.Message.addToRepeatedWrapperField(this,2,i,TronWebProto.Vote,n)},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(i){return t.Message.setRepeatedWrapperField(this,3,i)},TronWebProto.Votes.prototype.addNewVotes=function(i,n){return t.Message.addToRepeatedWrapperField(this,3,i,TronWebProto.Vote,n)},TronWebProto.Votes.prototype.clearNewVotesList=function(){return this.setNewVotesList([])},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.MarketOrderDetail.prototype.toObject=function(i){return TronWebProto.MarketOrderDetail.toObject(i,this)},TronWebProto.MarketOrderDetail.toObject=function(i,n){var a,u={makerorderid:n.getMakerorderid_asB64(),takerorderid:n.getTakerorderid_asB64(),fillsellquantity:t.Message.getFieldWithDefault(n,3,0),fillbuyquantity:t.Message.getFieldWithDefault(n,4,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.MarketOrderDetail.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.MarketOrderDetail;return TronWebProto.MarketOrderDetail.deserializeBinaryFromReader(a,n)},TronWebProto.MarketOrderDetail.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setMakerorderid(u);break;case 2:var u=n.readBytes();i.setTakerorderid(u);break;case 3:var u=n.readInt64();i.setFillsellquantity(u);break;case 4:var u=n.readInt64();i.setFillbuyquantity(u);break;default:n.skipField();break}}return i},TronWebProto.MarketOrderDetail.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.MarketOrderDetail.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.MarketOrderDetail.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getMakerorderid_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getTakerorderid_asU8(),a.length>0&&n.writeBytes(2,a),a=i.getFillsellquantity(),a!==0&&n.writeInt64(3,a),a=i.getFillbuyquantity(),a!==0&&n.writeInt64(4,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},TronWebProto.MarketOrderDetail.prototype.getFillsellquantity=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.MarketOrderDetail.prototype.setFillsellquantity=function(i){return t.Message.setProto3IntField(this,3,i)},TronWebProto.MarketOrderDetail.prototype.getFillbuyquantity=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.MarketOrderDetail.prototype.setFillbuyquantity=function(i){return t.Message.setProto3IntField(this,4,i)},TronWebProto.Transaction.repeatedFields_=[2,5],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Transaction.prototype.toObject=function(i){return TronWebProto.Transaction.toObject(i,this)},TronWebProto.Transaction.toObject=function(i,n){var a,u={rawData:(a=n.getRawData())&&TronWebProto.Transaction.raw.toObject(i,a),signatureList:n.getSignatureList_asB64(),retList:t.Message.toObjectList(n.getRetList(),TronWebProto.Transaction.Result.toObject,i)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.Transaction.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.Transaction;return TronWebProto.Transaction.deserializeBinaryFromReader(a,n)},TronWebProto.Transaction.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=new TronWebProto.Transaction.raw;n.readMessage(u,TronWebProto.Transaction.raw.deserializeBinaryFromReader),i.setRawData(u);break;case 2:var u=n.readBytes();i.addSignature(u);break;case 5:var u=new TronWebProto.Transaction.Result;n.readMessage(u,TronWebProto.Transaction.Result.deserializeBinaryFromReader),i.addRet(u);break;default:n.skipField();break}}return i},TronWebProto.Transaction.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.Transaction.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.Transaction.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getRawData(),a!=null&&n.writeMessage(1,a,TronWebProto.Transaction.raw.serializeBinaryToWriter),a=i.getSignatureList_asU8(),a.length>0&&n.writeRepeatedBytes(2,a),a=i.getRetList(),a.length>0&&n.writeRepeatedMessage(5,a,TronWebProto.Transaction.Result.serializeBinaryToWriter)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Transaction.Contract.prototype.toObject=function(i){return TronWebProto.Transaction.Contract.toObject(i,this)},TronWebProto.Transaction.Contract.toObject=function(i,n){var a,u={type:t.Message.getFieldWithDefault(n,1,0),parameter:(a=n.getParameter())&&s.Any.toObject(i,a),provider:n.getProvider_asB64(),contractname:n.getContractname_asB64(),permissionId:t.Message.getFieldWithDefault(n,5,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.Transaction.Contract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.Transaction.Contract;return TronWebProto.Transaction.Contract.deserializeBinaryFromReader(a,n)},TronWebProto.Transaction.Contract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readEnum();i.setType(u);break;case 2:var u=new s.Any;n.readMessage(u,s.Any.deserializeBinaryFromReader),i.setParameter(u);break;case 3:var u=n.readBytes();i.setProvider(u);break;case 4:var u=n.readBytes();i.setContractname(u);break;case 5:var u=n.readInt32();i.setPermissionId(u);break;default:n.skipField();break}}return i},TronWebProto.Transaction.Contract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.Transaction.Contract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.Transaction.Contract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getType(),a!==0&&n.writeEnum(1,a),a=i.getParameter(),a!=null&&n.writeMessage(2,a,s.Any.serializeBinaryToWriter),a=i.getProvider_asU8(),a.length>0&&n.writeBytes(3,a),a=i.getContractname_asU8(),a.length>0&&n.writeBytes(4,a),a=i.getPermissionId(),a!==0&&n.writeInt32(5,a)},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(i){return t.Message.setProto3EnumField(this,1,i)},TronWebProto.Transaction.Contract.prototype.getParameter=function(){return t.Message.getWrapperField(this,s.Any,2)},TronWebProto.Transaction.Contract.prototype.setParameter=function(i){return t.Message.setWrapperField(this,2,i)},TronWebProto.Transaction.Contract.prototype.clearParameter=function(){return this.setParameter(void 0)},TronWebProto.Transaction.Contract.prototype.hasParameter=function(){return t.Message.getField(this,2)!=null},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(i){return t.Message.setProto3BytesField(this,3,i)},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(i){return t.Message.setProto3BytesField(this,4,i)},TronWebProto.Transaction.Contract.prototype.getPermissionId=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.Transaction.Contract.prototype.setPermissionId=function(i){return t.Message.setProto3IntField(this,5,i)},TronWebProto.Transaction.Result.repeatedFields_=[26],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Transaction.Result.prototype.toObject=function(i){return TronWebProto.Transaction.Result.toObject(i,this)},TronWebProto.Transaction.Result.toObject=function(i,n){var a,u={fee:t.Message.getFieldWithDefault(n,1,0),ret:t.Message.getFieldWithDefault(n,2,0),contractret:t.Message.getFieldWithDefault(n,3,0),assetissueid:t.Message.getFieldWithDefault(n,14,""),withdrawAmount:t.Message.getFieldWithDefault(n,15,0),unfreezeAmount:t.Message.getFieldWithDefault(n,16,0),exchangeReceivedAmount:t.Message.getFieldWithDefault(n,18,0),exchangeInjectAnotherAmount:t.Message.getFieldWithDefault(n,19,0),exchangeWithdrawAnotherAmount:t.Message.getFieldWithDefault(n,20,0),exchangeId:t.Message.getFieldWithDefault(n,21,0),shieldedTransactionFee:t.Message.getFieldWithDefault(n,22,0),orderid:n.getOrderid_asB64(),orderdetailsList:t.Message.toObjectList(n.getOrderdetailsList(),TronWebProto.MarketOrderDetail.toObject,i)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.Transaction.Result.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.Transaction.Result;return TronWebProto.Transaction.Result.deserializeBinaryFromReader(a,n)},TronWebProto.Transaction.Result.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readInt64();i.setFee(u);break;case 2:var u=n.readEnum();i.setRet(u);break;case 3:var u=n.readEnum();i.setContractret(u);break;case 14:var u=n.readString();i.setAssetissueid(u);break;case 15:var u=n.readInt64();i.setWithdrawAmount(u);break;case 16:var u=n.readInt64();i.setUnfreezeAmount(u);break;case 18:var u=n.readInt64();i.setExchangeReceivedAmount(u);break;case 19:var u=n.readInt64();i.setExchangeInjectAnotherAmount(u);break;case 20:var u=n.readInt64();i.setExchangeWithdrawAnotherAmount(u);break;case 21:var u=n.readInt64();i.setExchangeId(u);break;case 22:var u=n.readInt64();i.setShieldedTransactionFee(u);break;case 25:var u=n.readBytes();i.setOrderid(u);break;case 26:var u=new TronWebProto.MarketOrderDetail;n.readMessage(u,TronWebProto.MarketOrderDetail.deserializeBinaryFromReader),i.addOrderdetails(u);break;default:n.skipField();break}}return i},TronWebProto.Transaction.Result.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.Transaction.Result.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.Transaction.Result.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getFee(),a!==0&&n.writeInt64(1,a),a=i.getRet(),a!==0&&n.writeEnum(2,a),a=i.getContractret(),a!==0&&n.writeEnum(3,a),a=i.getAssetissueid(),a.length>0&&n.writeString(14,a),a=i.getWithdrawAmount(),a!==0&&n.writeInt64(15,a),a=i.getUnfreezeAmount(),a!==0&&n.writeInt64(16,a),a=i.getExchangeReceivedAmount(),a!==0&&n.writeInt64(18,a),a=i.getExchangeInjectAnotherAmount(),a!==0&&n.writeInt64(19,a),a=i.getExchangeWithdrawAnotherAmount(),a!==0&&n.writeInt64(20,a),a=i.getExchangeId(),a!==0&&n.writeInt64(21,a),a=i.getShieldedTransactionFee(),a!==0&&n.writeInt64(22,a),a=i.getOrderid_asU8(),a.length>0&&n.writeBytes(25,a),a=i.getOrderdetailsList(),a.length>0&&n.writeRepeatedMessage(26,a,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(i){return t.Message.setProto3IntField(this,1,i)},TronWebProto.Transaction.Result.prototype.getRet=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.Transaction.Result.prototype.setRet=function(i){return t.Message.setProto3EnumField(this,2,i)},TronWebProto.Transaction.Result.prototype.getContractret=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.Transaction.Result.prototype.setContractret=function(i){return t.Message.setProto3EnumField(this,3,i)},TronWebProto.Transaction.Result.prototype.getAssetissueid=function(){return t.Message.getFieldWithDefault(this,14,"")},TronWebProto.Transaction.Result.prototype.setAssetissueid=function(i){return t.Message.setProto3StringField(this,14,i)},TronWebProto.Transaction.Result.prototype.getWithdrawAmount=function(){return t.Message.getFieldWithDefault(this,15,0)},TronWebProto.Transaction.Result.prototype.setWithdrawAmount=function(i){return t.Message.setProto3IntField(this,15,i)},TronWebProto.Transaction.Result.prototype.getUnfreezeAmount=function(){return t.Message.getFieldWithDefault(this,16,0)},TronWebProto.Transaction.Result.prototype.setUnfreezeAmount=function(i){return t.Message.setProto3IntField(this,16,i)},TronWebProto.Transaction.Result.prototype.getExchangeReceivedAmount=function(){return t.Message.getFieldWithDefault(this,18,0)},TronWebProto.Transaction.Result.prototype.setExchangeReceivedAmount=function(i){return t.Message.setProto3IntField(this,18,i)},TronWebProto.Transaction.Result.prototype.getExchangeInjectAnotherAmount=function(){return t.Message.getFieldWithDefault(this,19,0)},TronWebProto.Transaction.Result.prototype.setExchangeInjectAnotherAmount=function(i){return t.Message.setProto3IntField(this,19,i)},TronWebProto.Transaction.Result.prototype.getExchangeWithdrawAnotherAmount=function(){return t.Message.getFieldWithDefault(this,20,0)},TronWebProto.Transaction.Result.prototype.setExchangeWithdrawAnotherAmount=function(i){return t.Message.setProto3IntField(this,20,i)},TronWebProto.Transaction.Result.prototype.getExchangeId=function(){return t.Message.getFieldWithDefault(this,21,0)},TronWebProto.Transaction.Result.prototype.setExchangeId=function(i){return t.Message.setProto3IntField(this,21,i)},TronWebProto.Transaction.Result.prototype.getShieldedTransactionFee=function(){return t.Message.getFieldWithDefault(this,22,0)},TronWebProto.Transaction.Result.prototype.setShieldedTransactionFee=function(i){return t.Message.setProto3IntField(this,22,i)},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(i){return t.Message.setProto3BytesField(this,25,i)},TronWebProto.Transaction.Result.prototype.getOrderdetailsList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.MarketOrderDetail,26)},TronWebProto.Transaction.Result.prototype.setOrderdetailsList=function(i){return t.Message.setRepeatedWrapperField(this,26,i)},TronWebProto.Transaction.Result.prototype.addOrderdetails=function(i,n){return t.Message.addToRepeatedWrapperField(this,26,i,TronWebProto.MarketOrderDetail,n)},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(i){return TronWebProto.Transaction.raw.toObject(i,this)},TronWebProto.Transaction.raw.toObject=function(i,n){var a,u={refBlockBytes:n.getRefBlockBytes_asB64(),refBlockNum:t.Message.getFieldWithDefault(n,3,0),refBlockHash:n.getRefBlockHash_asB64(),expiration:t.Message.getFieldWithDefault(n,8,0),authsList:t.Message.toObjectList(n.getAuthsList(),TronWebProto.authority.toObject,i),data:n.getData_asB64(),contractList:t.Message.toObjectList(n.getContractList(),TronWebProto.Transaction.Contract.toObject,i),scripts:n.getScripts_asB64(),timestamp:t.Message.getFieldWithDefault(n,14,0),feeLimit:t.Message.getFieldWithDefault(n,18,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.Transaction.raw.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.Transaction.raw;return TronWebProto.Transaction.raw.deserializeBinaryFromReader(a,n)},TronWebProto.Transaction.raw.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setRefBlockBytes(u);break;case 3:var u=n.readInt64();i.setRefBlockNum(u);break;case 4:var u=n.readBytes();i.setRefBlockHash(u);break;case 8:var u=n.readInt64();i.setExpiration(u);break;case 9:var u=new TronWebProto.authority;n.readMessage(u,TronWebProto.authority.deserializeBinaryFromReader),i.addAuths(u);break;case 10:var u=n.readBytes();i.setData(u);break;case 11:var u=new TronWebProto.Transaction.Contract;n.readMessage(u,TronWebProto.Transaction.Contract.deserializeBinaryFromReader),i.addContract(u);break;case 12:var u=n.readBytes();i.setScripts(u);break;case 14:var u=n.readInt64();i.setTimestamp(u);break;case 18:var u=n.readInt64();i.setFeeLimit(u);break;default:n.skipField();break}}return i},TronWebProto.Transaction.raw.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.Transaction.raw.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.Transaction.raw.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getRefBlockBytes_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getRefBlockNum(),a!==0&&n.writeInt64(3,a),a=i.getRefBlockHash_asU8(),a.length>0&&n.writeBytes(4,a),a=i.getExpiration(),a!==0&&n.writeInt64(8,a),a=i.getAuthsList(),a.length>0&&n.writeRepeatedMessage(9,a,TronWebProto.authority.serializeBinaryToWriter),a=i.getData_asU8(),a.length>0&&n.writeBytes(10,a),a=i.getContractList(),a.length>0&&n.writeRepeatedMessage(11,a,TronWebProto.Transaction.Contract.serializeBinaryToWriter),a=i.getScripts_asU8(),a.length>0&&n.writeBytes(12,a),a=i.getTimestamp(),a!==0&&n.writeInt64(14,a),a=i.getFeeLimit(),a!==0&&n.writeInt64(18,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.Transaction.raw.prototype.getRefBlockNum=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.Transaction.raw.prototype.setRefBlockNum=function(i){return t.Message.setProto3IntField(this,3,i)},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(i){return t.Message.setProto3BytesField(this,4,i)},TronWebProto.Transaction.raw.prototype.getExpiration=function(){return t.Message.getFieldWithDefault(this,8,0)},TronWebProto.Transaction.raw.prototype.setExpiration=function(i){return t.Message.setProto3IntField(this,8,i)},TronWebProto.Transaction.raw.prototype.getAuthsList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.authority,9)},TronWebProto.Transaction.raw.prototype.setAuthsList=function(i){return t.Message.setRepeatedWrapperField(this,9,i)},TronWebProto.Transaction.raw.prototype.addAuths=function(i,n){return t.Message.addToRepeatedWrapperField(this,9,i,TronWebProto.authority,n)},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(i){return t.Message.setProto3BytesField(this,10,i)},TronWebProto.Transaction.raw.prototype.getContractList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Transaction.Contract,11)},TronWebProto.Transaction.raw.prototype.setContractList=function(i){return t.Message.setRepeatedWrapperField(this,11,i)},TronWebProto.Transaction.raw.prototype.addContract=function(i,n){return t.Message.addToRepeatedWrapperField(this,11,i,TronWebProto.Transaction.Contract,n)},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(i){return t.Message.setProto3BytesField(this,12,i)},TronWebProto.Transaction.raw.prototype.getTimestamp=function(){return t.Message.getFieldWithDefault(this,14,0)},TronWebProto.Transaction.raw.prototype.setTimestamp=function(i){return t.Message.setProto3IntField(this,14,i)},TronWebProto.Transaction.raw.prototype.getFeeLimit=function(){return t.Message.getFieldWithDefault(this,18,0)},TronWebProto.Transaction.raw.prototype.setFeeLimit=function(i){return t.Message.setProto3IntField(this,18,i)},TronWebProto.Transaction.prototype.getRawData=function(){return t.Message.getWrapperField(this,TronWebProto.Transaction.raw,1)},TronWebProto.Transaction.prototype.setRawData=function(i){return t.Message.setWrapperField(this,1,i)},TronWebProto.Transaction.prototype.clearRawData=function(){return this.setRawData(void 0)},TronWebProto.Transaction.prototype.hasRawData=function(){return t.Message.getField(this,1)!=null},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(i){return t.Message.setField(this,2,i||[])},TronWebProto.Transaction.prototype.addSignature=function(i,n){return t.Message.addToRepeatedField(this,2,i,n)},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(i){return t.Message.setRepeatedWrapperField(this,5,i)},TronWebProto.Transaction.prototype.addRet=function(i,n){return t.Message.addToRepeatedWrapperField(this,5,i,TronWebProto.Transaction.Result,n)},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=t,o=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof o<"u"&&o||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("TronWebProto.ResourceCode",null,o),TronWebProto.ResourceCode={BANDWIDTH:0,ENERGY:1,TRON_POWER:2},r.object.extend(e,TronWebProto)}),Fmt=W(e=>{m();var t=$h(),r=t,o=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof o<"u"&&o||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")(),s=Rwe();r.object.extend(proto,s),r.exportSymbol("TronWebProto.AccountBalanceRequest",null,o),r.exportSymbol("TronWebProto.AccountBalanceResponse",null,o),r.exportSymbol("TronWebProto.AccountIdentifier",null,o),r.exportSymbol("TronWebProto.AccountTrace",null,o),r.exportSymbol("TronWebProto.BlockBalanceTrace",null,o),r.exportSymbol("TronWebProto.BlockBalanceTrace.BlockIdentifier",null,o),r.exportSymbol("TronWebProto.CancelAllUnfreezeV2Contract",null,o),r.exportSymbol("TronWebProto.DelegateResourceContract",null,o),r.exportSymbol("TronWebProto.FreezeBalanceContract",null,o),r.exportSymbol("TronWebProto.FreezeBalanceV2Contract",null,o),r.exportSymbol("TronWebProto.TransactionBalanceTrace",null,o),r.exportSymbol("TronWebProto.TransactionBalanceTrace.Operation",null,o),r.exportSymbol("TronWebProto.TransferContract",null,o),r.exportSymbol("TronWebProto.UnDelegateResourceContract",null,o),r.exportSymbol("TronWebProto.UnfreezeBalanceContract",null,o),r.exportSymbol("TronWebProto.UnfreezeBalanceV2Contract",null,o),r.exportSymbol("TronWebProto.WithdrawBalanceContract",null,o),r.exportSymbol("TronWebProto.WithdrawExpireUnfreezeContract",null,o),TronWebProto.FreezeBalanceContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.FreezeBalanceContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.FreezeBalanceContract.displayName="TronWebProto.FreezeBalanceContract"),TronWebProto.UnfreezeBalanceContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.UnfreezeBalanceContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UnfreezeBalanceContract.displayName="TronWebProto.UnfreezeBalanceContract"),TronWebProto.WithdrawBalanceContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.WithdrawBalanceContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.WithdrawBalanceContract.displayName="TronWebProto.WithdrawBalanceContract"),TronWebProto.TransferContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.TransferContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.TransferContract.displayName="TronWebProto.TransferContract"),TronWebProto.TransactionBalanceTrace=function(i){t.Message.initialize(this,i,0,-1,TronWebProto.TransactionBalanceTrace.repeatedFields_,null)},r.inherits(TronWebProto.TransactionBalanceTrace,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.TransactionBalanceTrace.displayName="TronWebProto.TransactionBalanceTrace"),TronWebProto.TransactionBalanceTrace.Operation=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.TransactionBalanceTrace.Operation,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.TransactionBalanceTrace.Operation.displayName="TronWebProto.TransactionBalanceTrace.Operation"),TronWebProto.BlockBalanceTrace=function(i){t.Message.initialize(this,i,0,-1,TronWebProto.BlockBalanceTrace.repeatedFields_,null)},r.inherits(TronWebProto.BlockBalanceTrace,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.BlockBalanceTrace.displayName="TronWebProto.BlockBalanceTrace"),TronWebProto.BlockBalanceTrace.BlockIdentifier=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.BlockBalanceTrace.BlockIdentifier,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.BlockBalanceTrace.BlockIdentifier.displayName="TronWebProto.BlockBalanceTrace.BlockIdentifier"),TronWebProto.AccountTrace=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.AccountTrace,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountTrace.displayName="TronWebProto.AccountTrace"),TronWebProto.AccountIdentifier=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.AccountIdentifier,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountIdentifier.displayName="TronWebProto.AccountIdentifier"),TronWebProto.AccountBalanceRequest=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.AccountBalanceRequest,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountBalanceRequest.displayName="TronWebProto.AccountBalanceRequest"),TronWebProto.AccountBalanceResponse=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.AccountBalanceResponse,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountBalanceResponse.displayName="TronWebProto.AccountBalanceResponse"),TronWebProto.FreezeBalanceV2Contract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.FreezeBalanceV2Contract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.FreezeBalanceV2Contract.displayName="TronWebProto.FreezeBalanceV2Contract"),TronWebProto.UnfreezeBalanceV2Contract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.UnfreezeBalanceV2Contract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UnfreezeBalanceV2Contract.displayName="TronWebProto.UnfreezeBalanceV2Contract"),TronWebProto.WithdrawExpireUnfreezeContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.WithdrawExpireUnfreezeContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.WithdrawExpireUnfreezeContract.displayName="TronWebProto.WithdrawExpireUnfreezeContract"),TronWebProto.DelegateResourceContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.DelegateResourceContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.DelegateResourceContract.displayName="TronWebProto.DelegateResourceContract"),TronWebProto.UnDelegateResourceContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.UnDelegateResourceContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UnDelegateResourceContract.displayName="TronWebProto.UnDelegateResourceContract"),TronWebProto.CancelAllUnfreezeV2Contract=function(i){t.Message.initialize(this,i,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(i){return TronWebProto.FreezeBalanceContract.toObject(i,this)},TronWebProto.FreezeBalanceContract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64(),frozenBalance:t.Message.getFieldWithDefault(n,2,0),frozenDuration:t.Message.getFieldWithDefault(n,3,0),resource:t.Message.getFieldWithDefault(n,10,0),receiverAddress:n.getReceiverAddress_asB64()};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.FreezeBalanceContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.FreezeBalanceContract;return TronWebProto.FreezeBalanceContract.deserializeBinaryFromReader(a,n)},TronWebProto.FreezeBalanceContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOwnerAddress(u);break;case 2:var u=n.readInt64();i.setFrozenBalance(u);break;case 3:var u=n.readInt64();i.setFrozenDuration(u);break;case 10:var u=n.readEnum();i.setResource(u);break;case 15:var u=n.readBytes();i.setReceiverAddress(u);break;default:n.skipField();break}}return i},TronWebProto.FreezeBalanceContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.FreezeBalanceContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.FreezeBalanceContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getFrozenBalance(),a!==0&&n.writeInt64(2,a),a=i.getFrozenDuration(),a!==0&&n.writeInt64(3,a),a=i.getResource(),a!==0&&n.writeEnum(10,a),a=i.getReceiverAddress_asU8(),a.length>0&&n.writeBytes(15,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.FreezeBalanceContract.prototype.getFrozenBalance=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.FreezeBalanceContract.prototype.setFrozenBalance=function(i){return t.Message.setProto3IntField(this,2,i)},TronWebProto.FreezeBalanceContract.prototype.getFrozenDuration=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.FreezeBalanceContract.prototype.setFrozenDuration=function(i){return t.Message.setProto3IntField(this,3,i)},TronWebProto.FreezeBalanceContract.prototype.getResource=function(){return t.Message.getFieldWithDefault(this,10,0)},TronWebProto.FreezeBalanceContract.prototype.setResource=function(i){return t.Message.setProto3EnumField(this,10,i)},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(i){return t.Message.setProto3BytesField(this,15,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UnfreezeBalanceContract.prototype.toObject=function(i){return TronWebProto.UnfreezeBalanceContract.toObject(i,this)},TronWebProto.UnfreezeBalanceContract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64(),resource:t.Message.getFieldWithDefault(n,10,0),receiverAddress:n.getReceiverAddress_asB64()};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.UnfreezeBalanceContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.UnfreezeBalanceContract;return TronWebProto.UnfreezeBalanceContract.deserializeBinaryFromReader(a,n)},TronWebProto.UnfreezeBalanceContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOwnerAddress(u);break;case 10:var u=n.readEnum();i.setResource(u);break;case 15:var u=n.readBytes();i.setReceiverAddress(u);break;default:n.skipField();break}}return i},TronWebProto.UnfreezeBalanceContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.UnfreezeBalanceContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.UnfreezeBalanceContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getResource(),a!==0&&n.writeEnum(10,a),a=i.getReceiverAddress_asU8(),a.length>0&&n.writeBytes(15,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.UnfreezeBalanceContract.prototype.getResource=function(){return t.Message.getFieldWithDefault(this,10,0)},TronWebProto.UnfreezeBalanceContract.prototype.setResource=function(i){return t.Message.setProto3EnumField(this,10,i)},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(i){return t.Message.setProto3BytesField(this,15,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.WithdrawBalanceContract.prototype.toObject=function(i){return TronWebProto.WithdrawBalanceContract.toObject(i,this)},TronWebProto.WithdrawBalanceContract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64()};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.WithdrawBalanceContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.WithdrawBalanceContract;return TronWebProto.WithdrawBalanceContract.deserializeBinaryFromReader(a,n)},TronWebProto.WithdrawBalanceContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();if(a===1){var u=n.readBytes();i.setOwnerAddress(u)}else n.skipField()}return i},TronWebProto.WithdrawBalanceContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.WithdrawBalanceContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.WithdrawBalanceContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.TransferContract.prototype.toObject=function(i){return TronWebProto.TransferContract.toObject(i,this)},TronWebProto.TransferContract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64(),toAddress:n.getToAddress_asB64(),amount:t.Message.getFieldWithDefault(n,3,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.TransferContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.TransferContract;return TronWebProto.TransferContract.deserializeBinaryFromReader(a,n)},TronWebProto.TransferContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOwnerAddress(u);break;case 2:var u=n.readBytes();i.setToAddress(u);break;case 3:var u=n.readInt64();i.setAmount(u);break;default:n.skipField();break}}return i},TronWebProto.TransferContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.TransferContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.TransferContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getToAddress_asU8(),a.length>0&&n.writeBytes(2,a),a=i.getAmount(),a!==0&&n.writeInt64(3,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},TronWebProto.TransferContract.prototype.getAmount=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.TransferContract.prototype.setAmount=function(i){return t.Message.setProto3IntField(this,3,i)},TronWebProto.TransactionBalanceTrace.repeatedFields_=[2],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.TransactionBalanceTrace.prototype.toObject=function(i){return TronWebProto.TransactionBalanceTrace.toObject(i,this)},TronWebProto.TransactionBalanceTrace.toObject=function(i,n){var a,u={transactionIdentifier:n.getTransactionIdentifier_asB64(),operationList:t.Message.toObjectList(n.getOperationList(),TronWebProto.TransactionBalanceTrace.Operation.toObject,i),type:t.Message.getFieldWithDefault(n,3,""),status:t.Message.getFieldWithDefault(n,4,"")};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.TransactionBalanceTrace.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.TransactionBalanceTrace;return TronWebProto.TransactionBalanceTrace.deserializeBinaryFromReader(a,n)},TronWebProto.TransactionBalanceTrace.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setTransactionIdentifier(u);break;case 2:var u=new TronWebProto.TransactionBalanceTrace.Operation;n.readMessage(u,TronWebProto.TransactionBalanceTrace.Operation.deserializeBinaryFromReader),i.addOperation(u);break;case 3:var u=n.readString();i.setType(u);break;case 4:var u=n.readString();i.setStatus(u);break;default:n.skipField();break}}return i},TronWebProto.TransactionBalanceTrace.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.TransactionBalanceTrace.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.TransactionBalanceTrace.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getTransactionIdentifier_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getOperationList(),a.length>0&&n.writeRepeatedMessage(2,a,TronWebProto.TransactionBalanceTrace.Operation.serializeBinaryToWriter),a=i.getType(),a.length>0&&n.writeString(3,a),a=i.getStatus(),a.length>0&&n.writeString(4,a)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.TransactionBalanceTrace.Operation.prototype.toObject=function(i){return TronWebProto.TransactionBalanceTrace.Operation.toObject(i,this)},TronWebProto.TransactionBalanceTrace.Operation.toObject=function(i,n){var a,u={operationIdentifier:t.Message.getFieldWithDefault(n,1,0),address:n.getAddress_asB64(),amount:t.Message.getFieldWithDefault(n,3,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.TransactionBalanceTrace.Operation.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.TransactionBalanceTrace.Operation;return TronWebProto.TransactionBalanceTrace.Operation.deserializeBinaryFromReader(a,n)},TronWebProto.TransactionBalanceTrace.Operation.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readInt64();i.setOperationIdentifier(u);break;case 2:var u=n.readBytes();i.setAddress(u);break;case 3:var u=n.readInt64();i.setAmount(u);break;default:n.skipField();break}}return i},TronWebProto.TransactionBalanceTrace.Operation.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.TransactionBalanceTrace.Operation.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.TransactionBalanceTrace.Operation.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOperationIdentifier(),a!==0&&n.writeInt64(1,a),a=i.getAddress_asU8(),a.length>0&&n.writeBytes(2,a),a=i.getAmount(),a!==0&&n.writeInt64(3,a)},TronWebProto.TransactionBalanceTrace.Operation.prototype.getOperationIdentifier=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.TransactionBalanceTrace.Operation.prototype.setOperationIdentifier=function(i){return t.Message.setProto3IntField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},TronWebProto.TransactionBalanceTrace.Operation.prototype.getAmount=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.TransactionBalanceTrace.Operation.prototype.setAmount=function(i){return t.Message.setProto3IntField(this,3,i)},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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.TransactionBalanceTrace.prototype.getOperationList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.TransactionBalanceTrace.Operation,2)},TronWebProto.TransactionBalanceTrace.prototype.setOperationList=function(i){return t.Message.setRepeatedWrapperField(this,2,i)},TronWebProto.TransactionBalanceTrace.prototype.addOperation=function(i,n){return t.Message.addToRepeatedWrapperField(this,2,i,TronWebProto.TransactionBalanceTrace.Operation,n)},TronWebProto.TransactionBalanceTrace.prototype.clearOperationList=function(){return this.setOperationList([])},TronWebProto.TransactionBalanceTrace.prototype.getType=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.TransactionBalanceTrace.prototype.setType=function(i){return t.Message.setProto3StringField(this,3,i)},TronWebProto.TransactionBalanceTrace.prototype.getStatus=function(){return t.Message.getFieldWithDefault(this,4,"")},TronWebProto.TransactionBalanceTrace.prototype.setStatus=function(i){return t.Message.setProto3StringField(this,4,i)},TronWebProto.BlockBalanceTrace.repeatedFields_=[3],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.BlockBalanceTrace.prototype.toObject=function(i){return TronWebProto.BlockBalanceTrace.toObject(i,this)},TronWebProto.BlockBalanceTrace.toObject=function(i,n){var a,u={blockIdentifier:(a=n.getBlockIdentifier())&&TronWebProto.BlockBalanceTrace.BlockIdentifier.toObject(i,a),timestamp:t.Message.getFieldWithDefault(n,2,0),transactionBalanceTraceList:t.Message.toObjectList(n.getTransactionBalanceTraceList(),TronWebProto.TransactionBalanceTrace.toObject,i)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.BlockBalanceTrace.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.BlockBalanceTrace;return TronWebProto.BlockBalanceTrace.deserializeBinaryFromReader(a,n)},TronWebProto.BlockBalanceTrace.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=new TronWebProto.BlockBalanceTrace.BlockIdentifier;n.readMessage(u,TronWebProto.BlockBalanceTrace.BlockIdentifier.deserializeBinaryFromReader),i.setBlockIdentifier(u);break;case 2:var u=n.readInt64();i.setTimestamp(u);break;case 3:var u=new TronWebProto.TransactionBalanceTrace;n.readMessage(u,TronWebProto.TransactionBalanceTrace.deserializeBinaryFromReader),i.addTransactionBalanceTrace(u);break;default:n.skipField();break}}return i},TronWebProto.BlockBalanceTrace.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.BlockBalanceTrace.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.BlockBalanceTrace.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getBlockIdentifier(),a!=null&&n.writeMessage(1,a,TronWebProto.BlockBalanceTrace.BlockIdentifier.serializeBinaryToWriter),a=i.getTimestamp(),a!==0&&n.writeInt64(2,a),a=i.getTransactionBalanceTraceList(),a.length>0&&n.writeRepeatedMessage(3,a,TronWebProto.TransactionBalanceTrace.serializeBinaryToWriter)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.BlockBalanceTrace.BlockIdentifier.prototype.toObject=function(i){return TronWebProto.BlockBalanceTrace.BlockIdentifier.toObject(i,this)},TronWebProto.BlockBalanceTrace.BlockIdentifier.toObject=function(i,n){var a,u={hash:n.getHash_asB64(),number:t.Message.getFieldWithDefault(n,2,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.BlockBalanceTrace.BlockIdentifier.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.BlockBalanceTrace.BlockIdentifier;return TronWebProto.BlockBalanceTrace.BlockIdentifier.deserializeBinaryFromReader(a,n)},TronWebProto.BlockBalanceTrace.BlockIdentifier.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setHash(u);break;case 2:var u=n.readInt64();i.setNumber(u);break;default:n.skipField();break}}return i},TronWebProto.BlockBalanceTrace.BlockIdentifier.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.BlockBalanceTrace.BlockIdentifier.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.BlockBalanceTrace.BlockIdentifier.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getHash_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getNumber(),a!==0&&n.writeInt64(2,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.BlockBalanceTrace.BlockIdentifier.prototype.getNumber=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.BlockBalanceTrace.BlockIdentifier.prototype.setNumber=function(i){return t.Message.setProto3IntField(this,2,i)},TronWebProto.BlockBalanceTrace.prototype.getBlockIdentifier=function(){return t.Message.getWrapperField(this,TronWebProto.BlockBalanceTrace.BlockIdentifier,1)},TronWebProto.BlockBalanceTrace.prototype.setBlockIdentifier=function(i){return t.Message.setWrapperField(this,1,i)},TronWebProto.BlockBalanceTrace.prototype.clearBlockIdentifier=function(){return this.setBlockIdentifier(void 0)},TronWebProto.BlockBalanceTrace.prototype.hasBlockIdentifier=function(){return t.Message.getField(this,1)!=null},TronWebProto.BlockBalanceTrace.prototype.getTimestamp=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.BlockBalanceTrace.prototype.setTimestamp=function(i){return t.Message.setProto3IntField(this,2,i)},TronWebProto.BlockBalanceTrace.prototype.getTransactionBalanceTraceList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.TransactionBalanceTrace,3)},TronWebProto.BlockBalanceTrace.prototype.setTransactionBalanceTraceList=function(i){return t.Message.setRepeatedWrapperField(this,3,i)},TronWebProto.BlockBalanceTrace.prototype.addTransactionBalanceTrace=function(i,n){return t.Message.addToRepeatedWrapperField(this,3,i,TronWebProto.TransactionBalanceTrace,n)},TronWebProto.BlockBalanceTrace.prototype.clearTransactionBalanceTraceList=function(){return this.setTransactionBalanceTraceList([])},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AccountTrace.prototype.toObject=function(i){return TronWebProto.AccountTrace.toObject(i,this)},TronWebProto.AccountTrace.toObject=function(i,n){var a,u={balance:t.Message.getFieldWithDefault(n,1,0),placeholder:t.Message.getFieldWithDefault(n,99,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.AccountTrace.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.AccountTrace;return TronWebProto.AccountTrace.deserializeBinaryFromReader(a,n)},TronWebProto.AccountTrace.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readInt64();i.setBalance(u);break;case 99:var u=n.readInt64();i.setPlaceholder(u);break;default:n.skipField();break}}return i},TronWebProto.AccountTrace.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.AccountTrace.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.AccountTrace.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getBalance(),a!==0&&n.writeInt64(1,a),a=i.getPlaceholder(),a!==0&&n.writeInt64(99,a)},TronWebProto.AccountTrace.prototype.getBalance=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.AccountTrace.prototype.setBalance=function(i){return t.Message.setProto3IntField(this,1,i)},TronWebProto.AccountTrace.prototype.getPlaceholder=function(){return t.Message.getFieldWithDefault(this,99,0)},TronWebProto.AccountTrace.prototype.setPlaceholder=function(i){return t.Message.setProto3IntField(this,99,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AccountIdentifier.prototype.toObject=function(i){return TronWebProto.AccountIdentifier.toObject(i,this)},TronWebProto.AccountIdentifier.toObject=function(i,n){var a,u={address:n.getAddress_asB64()};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.AccountIdentifier.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.AccountIdentifier;return TronWebProto.AccountIdentifier.deserializeBinaryFromReader(a,n)},TronWebProto.AccountIdentifier.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();if(a===1){var u=n.readBytes();i.setAddress(u)}else n.skipField()}return i},TronWebProto.AccountIdentifier.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.AccountIdentifier.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.AccountIdentifier.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getAddress_asU8(),a.length>0&&n.writeBytes(1,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AccountBalanceRequest.prototype.toObject=function(i){return TronWebProto.AccountBalanceRequest.toObject(i,this)},TronWebProto.AccountBalanceRequest.toObject=function(i,n){var a,u={accountIdentifier:(a=n.getAccountIdentifier())&&TronWebProto.AccountIdentifier.toObject(i,a),blockIdentifier:(a=n.getBlockIdentifier())&&TronWebProto.BlockBalanceTrace.BlockIdentifier.toObject(i,a)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.AccountBalanceRequest.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.AccountBalanceRequest;return TronWebProto.AccountBalanceRequest.deserializeBinaryFromReader(a,n)},TronWebProto.AccountBalanceRequest.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=new TronWebProto.AccountIdentifier;n.readMessage(u,TronWebProto.AccountIdentifier.deserializeBinaryFromReader),i.setAccountIdentifier(u);break;case 2:var u=new TronWebProto.BlockBalanceTrace.BlockIdentifier;n.readMessage(u,TronWebProto.BlockBalanceTrace.BlockIdentifier.deserializeBinaryFromReader),i.setBlockIdentifier(u);break;default:n.skipField();break}}return i},TronWebProto.AccountBalanceRequest.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.AccountBalanceRequest.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.AccountBalanceRequest.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getAccountIdentifier(),a!=null&&n.writeMessage(1,a,TronWebProto.AccountIdentifier.serializeBinaryToWriter),a=i.getBlockIdentifier(),a!=null&&n.writeMessage(2,a,TronWebProto.BlockBalanceTrace.BlockIdentifier.serializeBinaryToWriter)},TronWebProto.AccountBalanceRequest.prototype.getAccountIdentifier=function(){return t.Message.getWrapperField(this,TronWebProto.AccountIdentifier,1)},TronWebProto.AccountBalanceRequest.prototype.setAccountIdentifier=function(i){return t.Message.setWrapperField(this,1,i)},TronWebProto.AccountBalanceRequest.prototype.clearAccountIdentifier=function(){return this.setAccountIdentifier(void 0)},TronWebProto.AccountBalanceRequest.prototype.hasAccountIdentifier=function(){return t.Message.getField(this,1)!=null},TronWebProto.AccountBalanceRequest.prototype.getBlockIdentifier=function(){return t.Message.getWrapperField(this,TronWebProto.BlockBalanceTrace.BlockIdentifier,2)},TronWebProto.AccountBalanceRequest.prototype.setBlockIdentifier=function(i){return t.Message.setWrapperField(this,2,i)},TronWebProto.AccountBalanceRequest.prototype.clearBlockIdentifier=function(){return this.setBlockIdentifier(void 0)},TronWebProto.AccountBalanceRequest.prototype.hasBlockIdentifier=function(){return t.Message.getField(this,2)!=null},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AccountBalanceResponse.prototype.toObject=function(i){return TronWebProto.AccountBalanceResponse.toObject(i,this)},TronWebProto.AccountBalanceResponse.toObject=function(i,n){var a,u={balance:t.Message.getFieldWithDefault(n,1,0),blockIdentifier:(a=n.getBlockIdentifier())&&TronWebProto.BlockBalanceTrace.BlockIdentifier.toObject(i,a)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.AccountBalanceResponse.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.AccountBalanceResponse;return TronWebProto.AccountBalanceResponse.deserializeBinaryFromReader(a,n)},TronWebProto.AccountBalanceResponse.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readInt64();i.setBalance(u);break;case 2:var u=new TronWebProto.BlockBalanceTrace.BlockIdentifier;n.readMessage(u,TronWebProto.BlockBalanceTrace.BlockIdentifier.deserializeBinaryFromReader),i.setBlockIdentifier(u);break;default:n.skipField();break}}return i},TronWebProto.AccountBalanceResponse.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.AccountBalanceResponse.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.AccountBalanceResponse.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getBalance(),a!==0&&n.writeInt64(1,a),a=i.getBlockIdentifier(),a!=null&&n.writeMessage(2,a,TronWebProto.BlockBalanceTrace.BlockIdentifier.serializeBinaryToWriter)},TronWebProto.AccountBalanceResponse.prototype.getBalance=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.AccountBalanceResponse.prototype.setBalance=function(i){return t.Message.setProto3IntField(this,1,i)},TronWebProto.AccountBalanceResponse.prototype.getBlockIdentifier=function(){return t.Message.getWrapperField(this,TronWebProto.BlockBalanceTrace.BlockIdentifier,2)},TronWebProto.AccountBalanceResponse.prototype.setBlockIdentifier=function(i){return t.Message.setWrapperField(this,2,i)},TronWebProto.AccountBalanceResponse.prototype.clearBlockIdentifier=function(){return this.setBlockIdentifier(void 0)},TronWebProto.AccountBalanceResponse.prototype.hasBlockIdentifier=function(){return t.Message.getField(this,2)!=null},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.FreezeBalanceV2Contract.prototype.toObject=function(i){return TronWebProto.FreezeBalanceV2Contract.toObject(i,this)},TronWebProto.FreezeBalanceV2Contract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64(),frozenBalance:t.Message.getFieldWithDefault(n,2,0),resource:t.Message.getFieldWithDefault(n,3,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.FreezeBalanceV2Contract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.FreezeBalanceV2Contract;return TronWebProto.FreezeBalanceV2Contract.deserializeBinaryFromReader(a,n)},TronWebProto.FreezeBalanceV2Contract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOwnerAddress(u);break;case 2:var u=n.readInt64();i.setFrozenBalance(u);break;case 3:var u=n.readEnum();i.setResource(u);break;default:n.skipField();break}}return i},TronWebProto.FreezeBalanceV2Contract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.FreezeBalanceV2Contract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.FreezeBalanceV2Contract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getFrozenBalance(),a!==0&&n.writeInt64(2,a),a=i.getResource(),a!==0&&n.writeEnum(3,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.FreezeBalanceV2Contract.prototype.getFrozenBalance=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.FreezeBalanceV2Contract.prototype.setFrozenBalance=function(i){return t.Message.setProto3IntField(this,2,i)},TronWebProto.FreezeBalanceV2Contract.prototype.getResource=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.FreezeBalanceV2Contract.prototype.setResource=function(i){return t.Message.setProto3EnumField(this,3,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UnfreezeBalanceV2Contract.prototype.toObject=function(i){return TronWebProto.UnfreezeBalanceV2Contract.toObject(i,this)},TronWebProto.UnfreezeBalanceV2Contract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64(),unfreezeBalance:t.Message.getFieldWithDefault(n,2,0),resource:t.Message.getFieldWithDefault(n,3,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.UnfreezeBalanceV2Contract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.UnfreezeBalanceV2Contract;return TronWebProto.UnfreezeBalanceV2Contract.deserializeBinaryFromReader(a,n)},TronWebProto.UnfreezeBalanceV2Contract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOwnerAddress(u);break;case 2:var u=n.readInt64();i.setUnfreezeBalance(u);break;case 3:var u=n.readEnum();i.setResource(u);break;default:n.skipField();break}}return i},TronWebProto.UnfreezeBalanceV2Contract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.UnfreezeBalanceV2Contract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.UnfreezeBalanceV2Contract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getUnfreezeBalance(),a!==0&&n.writeInt64(2,a),a=i.getResource(),a!==0&&n.writeEnum(3,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.UnfreezeBalanceV2Contract.prototype.getUnfreezeBalance=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.UnfreezeBalanceV2Contract.prototype.setUnfreezeBalance=function(i){return t.Message.setProto3IntField(this,2,i)},TronWebProto.UnfreezeBalanceV2Contract.prototype.getResource=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.UnfreezeBalanceV2Contract.prototype.setResource=function(i){return t.Message.setProto3EnumField(this,3,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.WithdrawExpireUnfreezeContract.prototype.toObject=function(i){return TronWebProto.WithdrawExpireUnfreezeContract.toObject(i,this)},TronWebProto.WithdrawExpireUnfreezeContract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64()};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.WithdrawExpireUnfreezeContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.WithdrawExpireUnfreezeContract;return TronWebProto.WithdrawExpireUnfreezeContract.deserializeBinaryFromReader(a,n)},TronWebProto.WithdrawExpireUnfreezeContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();if(a===1){var u=n.readBytes();i.setOwnerAddress(u)}else n.skipField()}return i},TronWebProto.WithdrawExpireUnfreezeContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.WithdrawExpireUnfreezeContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.WithdrawExpireUnfreezeContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.DelegateResourceContract.prototype.toObject=function(i){return TronWebProto.DelegateResourceContract.toObject(i,this)},TronWebProto.DelegateResourceContract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64(),resource:t.Message.getFieldWithDefault(n,2,0),balance:t.Message.getFieldWithDefault(n,3,0),receiverAddress:n.getReceiverAddress_asB64(),lock:t.Message.getBooleanFieldWithDefault(n,5,!1),lockPeriod:t.Message.getFieldWithDefault(n,6,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.DelegateResourceContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.DelegateResourceContract;return TronWebProto.DelegateResourceContract.deserializeBinaryFromReader(a,n)},TronWebProto.DelegateResourceContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOwnerAddress(u);break;case 2:var u=n.readEnum();i.setResource(u);break;case 3:var u=n.readInt64();i.setBalance(u);break;case 4:var u=n.readBytes();i.setReceiverAddress(u);break;case 5:var u=n.readBool();i.setLock(u);break;case 6:var u=n.readInt64();i.setLockPeriod(u);break;default:n.skipField();break}}return i},TronWebProto.DelegateResourceContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.DelegateResourceContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.DelegateResourceContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getResource(),a!==0&&n.writeEnum(2,a),a=i.getBalance(),a!==0&&n.writeInt64(3,a),a=i.getReceiverAddress_asU8(),a.length>0&&n.writeBytes(4,a),a=i.getLock(),a&&n.writeBool(5,a),a=i.getLockPeriod(),a!==0&&n.writeInt64(6,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.DelegateResourceContract.prototype.getResource=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.DelegateResourceContract.prototype.setResource=function(i){return t.Message.setProto3EnumField(this,2,i)},TronWebProto.DelegateResourceContract.prototype.getBalance=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.DelegateResourceContract.prototype.setBalance=function(i){return t.Message.setProto3IntField(this,3,i)},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(i){return t.Message.setProto3BytesField(this,4,i)},TronWebProto.DelegateResourceContract.prototype.getLock=function(){return t.Message.getBooleanFieldWithDefault(this,5,!1)},TronWebProto.DelegateResourceContract.prototype.setLock=function(i){return t.Message.setProto3BooleanField(this,5,i)},TronWebProto.DelegateResourceContract.prototype.getLockPeriod=function(){return t.Message.getFieldWithDefault(this,6,0)},TronWebProto.DelegateResourceContract.prototype.setLockPeriod=function(i){return t.Message.setProto3IntField(this,6,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UnDelegateResourceContract.prototype.toObject=function(i){return TronWebProto.UnDelegateResourceContract.toObject(i,this)},TronWebProto.UnDelegateResourceContract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64(),resource:t.Message.getFieldWithDefault(n,2,0),balance:t.Message.getFieldWithDefault(n,3,0),receiverAddress:n.getReceiverAddress_asB64()};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.UnDelegateResourceContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.UnDelegateResourceContract;return TronWebProto.UnDelegateResourceContract.deserializeBinaryFromReader(a,n)},TronWebProto.UnDelegateResourceContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOwnerAddress(u);break;case 2:var u=n.readEnum();i.setResource(u);break;case 3:var u=n.readInt64();i.setBalance(u);break;case 4:var u=n.readBytes();i.setReceiverAddress(u);break;default:n.skipField();break}}return i},TronWebProto.UnDelegateResourceContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.UnDelegateResourceContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.UnDelegateResourceContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getResource(),a!==0&&n.writeEnum(2,a),a=i.getBalance(),a!==0&&n.writeInt64(3,a),a=i.getReceiverAddress_asU8(),a.length>0&&n.writeBytes(4,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.UnDelegateResourceContract.prototype.getResource=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.UnDelegateResourceContract.prototype.setResource=function(i){return t.Message.setProto3EnumField(this,2,i)},TronWebProto.UnDelegateResourceContract.prototype.getBalance=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.UnDelegateResourceContract.prototype.setBalance=function(i){return t.Message.setProto3IntField(this,3,i)},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(i){return t.Message.setProto3BytesField(this,4,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.CancelAllUnfreezeV2Contract.prototype.toObject=function(i){return TronWebProto.CancelAllUnfreezeV2Contract.toObject(i,this)},TronWebProto.CancelAllUnfreezeV2Contract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64()};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.CancelAllUnfreezeV2Contract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.CancelAllUnfreezeV2Contract;return TronWebProto.CancelAllUnfreezeV2Contract.deserializeBinaryFromReader(a,n)},TronWebProto.CancelAllUnfreezeV2Contract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();if(a===1){var u=n.readBytes();i.setOwnerAddress(u)}else n.skipField()}return i},TronWebProto.CancelAllUnfreezeV2Contract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.CancelAllUnfreezeV2Contract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.CancelAllUnfreezeV2Contract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},r.object.extend(e,TronWebProto)}),zmt=W(e=>{m();var t=$h(),r=t,o=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof o<"u"&&o||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("TronWebProto.AssetIssueContract",null,o),r.exportSymbol("TronWebProto.AssetIssueContract.FrozenSupply",null,o),r.exportSymbol("TronWebProto.ParticipateAssetIssueContract",null,o),r.exportSymbol("TronWebProto.TransferAssetContract",null,o),r.exportSymbol("TronWebProto.UnfreezeAssetContract",null,o),r.exportSymbol("TronWebProto.UpdateAssetContract",null,o),TronWebProto.AssetIssueContract=function(s){t.Message.initialize(this,s,0,-1,TronWebProto.AssetIssueContract.repeatedFields_,null)},r.inherits(TronWebProto.AssetIssueContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AssetIssueContract.displayName="TronWebProto.AssetIssueContract"),TronWebProto.AssetIssueContract.FrozenSupply=function(s){t.Message.initialize(this,s,0,-1,null,null)},r.inherits(TronWebProto.AssetIssueContract.FrozenSupply,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AssetIssueContract.FrozenSupply.displayName="TronWebProto.AssetIssueContract.FrozenSupply"),TronWebProto.TransferAssetContract=function(s){t.Message.initialize(this,s,0,-1,null,null)},r.inherits(TronWebProto.TransferAssetContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.TransferAssetContract.displayName="TronWebProto.TransferAssetContract"),TronWebProto.UnfreezeAssetContract=function(s){t.Message.initialize(this,s,0,-1,null,null)},r.inherits(TronWebProto.UnfreezeAssetContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UnfreezeAssetContract.displayName="TronWebProto.UnfreezeAssetContract"),TronWebProto.UpdateAssetContract=function(s){t.Message.initialize(this,s,0,-1,null,null)},r.inherits(TronWebProto.UpdateAssetContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UpdateAssetContract.displayName="TronWebProto.UpdateAssetContract"),TronWebProto.ParticipateAssetIssueContract=function(s){t.Message.initialize(this,s,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(s){return TronWebProto.AssetIssueContract.toObject(s,this)},TronWebProto.AssetIssueContract.toObject=function(s,i){var n,a={id:t.Message.getFieldWithDefault(i,41,""),ownerAddress:i.getOwnerAddress_asB64(),name:i.getName_asB64(),abbr:i.getAbbr_asB64(),totalSupply:t.Message.getFieldWithDefault(i,4,0),frozenSupplyList:t.Message.toObjectList(i.getFrozenSupplyList(),TronWebProto.AssetIssueContract.FrozenSupply.toObject,s),trxNum:t.Message.getFieldWithDefault(i,6,0),precision:t.Message.getFieldWithDefault(i,7,0),num:t.Message.getFieldWithDefault(i,8,0),startTime:t.Message.getFieldWithDefault(i,9,0),endTime:t.Message.getFieldWithDefault(i,10,0),order:t.Message.getFieldWithDefault(i,11,0),voteScore:t.Message.getFieldWithDefault(i,16,0),description:i.getDescription_asB64(),url:i.getUrl_asB64(),freeAssetNetLimit:t.Message.getFieldWithDefault(i,22,0),publicFreeAssetNetLimit:t.Message.getFieldWithDefault(i,23,0),publicFreeAssetNetUsage:t.Message.getFieldWithDefault(i,24,0),publicLatestFreeNetTime:t.Message.getFieldWithDefault(i,25,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.AssetIssueContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.AssetIssueContract;return TronWebProto.AssetIssueContract.deserializeBinaryFromReader(n,i)},TronWebProto.AssetIssueContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 41:var a=i.readString();s.setId(a);break;case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=i.readBytes();s.setName(a);break;case 3:var a=i.readBytes();s.setAbbr(a);break;case 4:var a=i.readInt64();s.setTotalSupply(a);break;case 5:var a=new TronWebProto.AssetIssueContract.FrozenSupply;i.readMessage(a,TronWebProto.AssetIssueContract.FrozenSupply.deserializeBinaryFromReader),s.addFrozenSupply(a);break;case 6:var a=i.readInt32();s.setTrxNum(a);break;case 7:var a=i.readInt32();s.setPrecision(a);break;case 8:var a=i.readInt32();s.setNum(a);break;case 9:var a=i.readInt64();s.setStartTime(a);break;case 10:var a=i.readInt64();s.setEndTime(a);break;case 11:var a=i.readInt64();s.setOrder(a);break;case 16:var a=i.readInt32();s.setVoteScore(a);break;case 20:var a=i.readBytes();s.setDescription(a);break;case 21:var a=i.readBytes();s.setUrl(a);break;case 22:var a=i.readInt64();s.setFreeAssetNetLimit(a);break;case 23:var a=i.readInt64();s.setPublicFreeAssetNetLimit(a);break;case 24:var a=i.readInt64();s.setPublicFreeAssetNetUsage(a);break;case 25:var a=i.readInt64();s.setPublicLatestFreeNetTime(a);break;default:i.skipField();break}}return s},TronWebProto.AssetIssueContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.AssetIssueContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.AssetIssueContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getId(),n.length>0&&i.writeString(41,n),n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getName_asU8(),n.length>0&&i.writeBytes(2,n),n=s.getAbbr_asU8(),n.length>0&&i.writeBytes(3,n),n=s.getTotalSupply(),n!==0&&i.writeInt64(4,n),n=s.getFrozenSupplyList(),n.length>0&&i.writeRepeatedMessage(5,n,TronWebProto.AssetIssueContract.FrozenSupply.serializeBinaryToWriter),n=s.getTrxNum(),n!==0&&i.writeInt32(6,n),n=s.getPrecision(),n!==0&&i.writeInt32(7,n),n=s.getNum(),n!==0&&i.writeInt32(8,n),n=s.getStartTime(),n!==0&&i.writeInt64(9,n),n=s.getEndTime(),n!==0&&i.writeInt64(10,n),n=s.getOrder(),n!==0&&i.writeInt64(11,n),n=s.getVoteScore(),n!==0&&i.writeInt32(16,n),n=s.getDescription_asU8(),n.length>0&&i.writeBytes(20,n),n=s.getUrl_asU8(),n.length>0&&i.writeBytes(21,n),n=s.getFreeAssetNetLimit(),n!==0&&i.writeInt64(22,n),n=s.getPublicFreeAssetNetLimit(),n!==0&&i.writeInt64(23,n),n=s.getPublicFreeAssetNetUsage(),n!==0&&i.writeInt64(24,n),n=s.getPublicLatestFreeNetTime(),n!==0&&i.writeInt64(25,n)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AssetIssueContract.FrozenSupply.prototype.toObject=function(s){return TronWebProto.AssetIssueContract.FrozenSupply.toObject(s,this)},TronWebProto.AssetIssueContract.FrozenSupply.toObject=function(s,i){var n,a={frozenAmount:t.Message.getFieldWithDefault(i,1,0),frozenDays:t.Message.getFieldWithDefault(i,2,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.AssetIssueContract.FrozenSupply.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.AssetIssueContract.FrozenSupply;return TronWebProto.AssetIssueContract.FrozenSupply.deserializeBinaryFromReader(n,i)},TronWebProto.AssetIssueContract.FrozenSupply.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readInt64();s.setFrozenAmount(a);break;case 2:var a=i.readInt64();s.setFrozenDays(a);break;default:i.skipField();break}}return s},TronWebProto.AssetIssueContract.FrozenSupply.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.AssetIssueContract.FrozenSupply.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.AssetIssueContract.FrozenSupply.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getFrozenAmount(),n!==0&&i.writeInt64(1,n),n=s.getFrozenDays(),n!==0&&i.writeInt64(2,n)},TronWebProto.AssetIssueContract.FrozenSupply.prototype.getFrozenAmount=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.AssetIssueContract.FrozenSupply.prototype.setFrozenAmount=function(s){return t.Message.setProto3IntField(this,1,s)},TronWebProto.AssetIssueContract.FrozenSupply.prototype.getFrozenDays=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.AssetIssueContract.FrozenSupply.prototype.setFrozenDays=function(s){return t.Message.setProto3IntField(this,2,s)},TronWebProto.AssetIssueContract.prototype.getId=function(){return t.Message.getFieldWithDefault(this,41,"")},TronWebProto.AssetIssueContract.prototype.setId=function(s){return t.Message.setProto3StringField(this,41,s)},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(s){return t.Message.setProto3BytesField(this,1,s)},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(s){return t.Message.setProto3BytesField(this,2,s)},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(s){return t.Message.setProto3BytesField(this,3,s)},TronWebProto.AssetIssueContract.prototype.getTotalSupply=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.AssetIssueContract.prototype.setTotalSupply=function(s){return t.Message.setProto3IntField(this,4,s)},TronWebProto.AssetIssueContract.prototype.getFrozenSupplyList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.AssetIssueContract.FrozenSupply,5)},TronWebProto.AssetIssueContract.prototype.setFrozenSupplyList=function(s){return t.Message.setRepeatedWrapperField(this,5,s)},TronWebProto.AssetIssueContract.prototype.addFrozenSupply=function(s,i){return t.Message.addToRepeatedWrapperField(this,5,s,TronWebProto.AssetIssueContract.FrozenSupply,i)},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(s){return t.Message.setProto3IntField(this,6,s)},TronWebProto.AssetIssueContract.prototype.getPrecision=function(){return t.Message.getFieldWithDefault(this,7,0)},TronWebProto.AssetIssueContract.prototype.setPrecision=function(s){return t.Message.setProto3IntField(this,7,s)},TronWebProto.AssetIssueContract.prototype.getNum=function(){return t.Message.getFieldWithDefault(this,8,0)},TronWebProto.AssetIssueContract.prototype.setNum=function(s){return t.Message.setProto3IntField(this,8,s)},TronWebProto.AssetIssueContract.prototype.getStartTime=function(){return t.Message.getFieldWithDefault(this,9,0)},TronWebProto.AssetIssueContract.prototype.setStartTime=function(s){return t.Message.setProto3IntField(this,9,s)},TronWebProto.AssetIssueContract.prototype.getEndTime=function(){return t.Message.getFieldWithDefault(this,10,0)},TronWebProto.AssetIssueContract.prototype.setEndTime=function(s){return t.Message.setProto3IntField(this,10,s)},TronWebProto.AssetIssueContract.prototype.getOrder=function(){return t.Message.getFieldWithDefault(this,11,0)},TronWebProto.AssetIssueContract.prototype.setOrder=function(s){return t.Message.setProto3IntField(this,11,s)},TronWebProto.AssetIssueContract.prototype.getVoteScore=function(){return t.Message.getFieldWithDefault(this,16,0)},TronWebProto.AssetIssueContract.prototype.setVoteScore=function(s){return t.Message.setProto3IntField(this,16,s)},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(s){return t.Message.setProto3BytesField(this,20,s)},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(s){return t.Message.setProto3BytesField(this,21,s)},TronWebProto.AssetIssueContract.prototype.getFreeAssetNetLimit=function(){return t.Message.getFieldWithDefault(this,22,0)},TronWebProto.AssetIssueContract.prototype.setFreeAssetNetLimit=function(s){return t.Message.setProto3IntField(this,22,s)},TronWebProto.AssetIssueContract.prototype.getPublicFreeAssetNetLimit=function(){return t.Message.getFieldWithDefault(this,23,0)},TronWebProto.AssetIssueContract.prototype.setPublicFreeAssetNetLimit=function(s){return t.Message.setProto3IntField(this,23,s)},TronWebProto.AssetIssueContract.prototype.getPublicFreeAssetNetUsage=function(){return t.Message.getFieldWithDefault(this,24,0)},TronWebProto.AssetIssueContract.prototype.setPublicFreeAssetNetUsage=function(s){return t.Message.setProto3IntField(this,24,s)},TronWebProto.AssetIssueContract.prototype.getPublicLatestFreeNetTime=function(){return t.Message.getFieldWithDefault(this,25,0)},TronWebProto.AssetIssueContract.prototype.setPublicLatestFreeNetTime=function(s){return t.Message.setProto3IntField(this,25,s)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.TransferAssetContract.prototype.toObject=function(s){return TronWebProto.TransferAssetContract.toObject(s,this)},TronWebProto.TransferAssetContract.toObject=function(s,i){var n,a={assetName:i.getAssetName_asB64(),ownerAddress:i.getOwnerAddress_asB64(),toAddress:i.getToAddress_asB64(),amount:t.Message.getFieldWithDefault(i,4,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.TransferAssetContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.TransferAssetContract;return TronWebProto.TransferAssetContract.deserializeBinaryFromReader(n,i)},TronWebProto.TransferAssetContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setAssetName(a);break;case 2:var a=i.readBytes();s.setOwnerAddress(a);break;case 3:var a=i.readBytes();s.setToAddress(a);break;case 4:var a=i.readInt64();s.setAmount(a);break;default:i.skipField();break}}return s},TronWebProto.TransferAssetContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.TransferAssetContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.TransferAssetContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getAssetName_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(2,n),n=s.getToAddress_asU8(),n.length>0&&i.writeBytes(3,n),n=s.getAmount(),n!==0&&i.writeInt64(4,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},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(s){return t.Message.setProto3BytesField(this,2,s)},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(s){return t.Message.setProto3BytesField(this,3,s)},TronWebProto.TransferAssetContract.prototype.getAmount=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.TransferAssetContract.prototype.setAmount=function(s){return t.Message.setProto3IntField(this,4,s)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UnfreezeAssetContract.prototype.toObject=function(s){return TronWebProto.UnfreezeAssetContract.toObject(s,this)},TronWebProto.UnfreezeAssetContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64()};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.UnfreezeAssetContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.UnfreezeAssetContract;return TronWebProto.UnfreezeAssetContract.deserializeBinaryFromReader(n,i)},TronWebProto.UnfreezeAssetContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();if(n===1){var a=i.readBytes();s.setOwnerAddress(a)}else i.skipField()}return s},TronWebProto.UnfreezeAssetContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.UnfreezeAssetContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.UnfreezeAssetContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UpdateAssetContract.prototype.toObject=function(s){return TronWebProto.UpdateAssetContract.toObject(s,this)},TronWebProto.UpdateAssetContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),description:i.getDescription_asB64(),url:i.getUrl_asB64(),newLimit:t.Message.getFieldWithDefault(i,4,0),newPublicLimit:t.Message.getFieldWithDefault(i,5,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.UpdateAssetContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.UpdateAssetContract;return TronWebProto.UpdateAssetContract.deserializeBinaryFromReader(n,i)},TronWebProto.UpdateAssetContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=i.readBytes();s.setDescription(a);break;case 3:var a=i.readBytes();s.setUrl(a);break;case 4:var a=i.readInt64();s.setNewLimit(a);break;case 5:var a=i.readInt64();s.setNewPublicLimit(a);break;default:i.skipField();break}}return s},TronWebProto.UpdateAssetContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.UpdateAssetContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.UpdateAssetContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getDescription_asU8(),n.length>0&&i.writeBytes(2,n),n=s.getUrl_asU8(),n.length>0&&i.writeBytes(3,n),n=s.getNewLimit(),n!==0&&i.writeInt64(4,n),n=s.getNewPublicLimit(),n!==0&&i.writeInt64(5,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},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(s){return t.Message.setProto3BytesField(this,2,s)},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(s){return t.Message.setProto3BytesField(this,3,s)},TronWebProto.UpdateAssetContract.prototype.getNewLimit=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.UpdateAssetContract.prototype.setNewLimit=function(s){return t.Message.setProto3IntField(this,4,s)},TronWebProto.UpdateAssetContract.prototype.getNewPublicLimit=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.UpdateAssetContract.prototype.setNewPublicLimit=function(s){return t.Message.setProto3IntField(this,5,s)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ParticipateAssetIssueContract.prototype.toObject=function(s){return TronWebProto.ParticipateAssetIssueContract.toObject(s,this)},TronWebProto.ParticipateAssetIssueContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),toAddress:i.getToAddress_asB64(),assetName:i.getAssetName_asB64(),amount:t.Message.getFieldWithDefault(i,4,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.ParticipateAssetIssueContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.ParticipateAssetIssueContract;return TronWebProto.ParticipateAssetIssueContract.deserializeBinaryFromReader(n,i)},TronWebProto.ParticipateAssetIssueContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=i.readBytes();s.setToAddress(a);break;case 3:var a=i.readBytes();s.setAssetName(a);break;case 4:var a=i.readInt64();s.setAmount(a);break;default:i.skipField();break}}return s},TronWebProto.ParticipateAssetIssueContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.ParticipateAssetIssueContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.ParticipateAssetIssueContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getToAddress_asU8(),n.length>0&&i.writeBytes(2,n),n=s.getAssetName_asU8(),n.length>0&&i.writeBytes(3,n),n=s.getAmount(),n!==0&&i.writeInt64(4,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},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(s){return t.Message.setProto3BytesField(this,2,s)},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(s){return t.Message.setProto3BytesField(this,3,s)},TronWebProto.ParticipateAssetIssueContract.prototype.getAmount=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.ParticipateAssetIssueContract.prototype.setAmount=function(s){return t.Message.setProto3IntField(this,4,s)},r.object.extend(e,TronWebProto)}),Hmt=W(e=>{m();var t=$h(),r=t,o=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof o<"u"&&o||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")(),s=xJ();r.object.extend(proto,s),r.exportSymbol("TronWebProto.ClearABIContract",null,o),r.exportSymbol("TronWebProto.ContractState",null,o),r.exportSymbol("TronWebProto.CreateSmartContract",null,o),r.exportSymbol("TronWebProto.SmartContract",null,o),r.exportSymbol("TronWebProto.SmartContract.ABI",null,o),r.exportSymbol("TronWebProto.SmartContract.ABI.Entry",null,o),r.exportSymbol("TronWebProto.SmartContract.ABI.Entry.EntryType",null,o),r.exportSymbol("TronWebProto.SmartContract.ABI.Entry.Param",null,o),r.exportSymbol("TronWebProto.SmartContract.ABI.Entry.StateMutabilityType",null,o),r.exportSymbol("TronWebProto.SmartContractDataWrapper",null,o),r.exportSymbol("TronWebProto.TriggerSmartContract",null,o),r.exportSymbol("TronWebProto.UpdateEnergyLimitContract",null,o),r.exportSymbol("TronWebProto.UpdateSettingContract",null,o),TronWebProto.SmartContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.SmartContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.SmartContract.displayName="TronWebProto.SmartContract"),TronWebProto.SmartContract.ABI=function(i){t.Message.initialize(this,i,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(i){t.Message.initialize(this,i,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(i){t.Message.initialize(this,i,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(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.ContractState,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ContractState.displayName="TronWebProto.ContractState"),TronWebProto.CreateSmartContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.CreateSmartContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.CreateSmartContract.displayName="TronWebProto.CreateSmartContract"),TronWebProto.TriggerSmartContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.TriggerSmartContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.TriggerSmartContract.displayName="TronWebProto.TriggerSmartContract"),TronWebProto.ClearABIContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.ClearABIContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ClearABIContract.displayName="TronWebProto.ClearABIContract"),TronWebProto.UpdateSettingContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.UpdateSettingContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UpdateSettingContract.displayName="TronWebProto.UpdateSettingContract"),TronWebProto.UpdateEnergyLimitContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.UpdateEnergyLimitContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UpdateEnergyLimitContract.displayName="TronWebProto.UpdateEnergyLimitContract"),TronWebProto.SmartContractDataWrapper=function(i){t.Message.initialize(this,i,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(i){return TronWebProto.SmartContract.toObject(i,this)},TronWebProto.SmartContract.toObject=function(i,n){var a,u={originAddress:n.getOriginAddress_asB64(),contractAddress:n.getContractAddress_asB64(),abi:(a=n.getAbi())&&TronWebProto.SmartContract.ABI.toObject(i,a),bytecode:n.getBytecode_asB64(),callValue:t.Message.getFieldWithDefault(n,5,0),consumeUserResourcePercent:t.Message.getFieldWithDefault(n,6,0),name:t.Message.getFieldWithDefault(n,7,""),originEnergyLimit:t.Message.getFieldWithDefault(n,8,0),codeHash:n.getCodeHash_asB64(),trxHash:n.getTrxHash_asB64(),version:t.Message.getFieldWithDefault(n,11,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.SmartContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.SmartContract;return TronWebProto.SmartContract.deserializeBinaryFromReader(a,n)},TronWebProto.SmartContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOriginAddress(u);break;case 2:var u=n.readBytes();i.setContractAddress(u);break;case 3:var u=new TronWebProto.SmartContract.ABI;n.readMessage(u,TronWebProto.SmartContract.ABI.deserializeBinaryFromReader),i.setAbi(u);break;case 4:var u=n.readBytes();i.setBytecode(u);break;case 5:var u=n.readInt64();i.setCallValue(u);break;case 6:var u=n.readInt64();i.setConsumeUserResourcePercent(u);break;case 7:var u=n.readString();i.setName(u);break;case 8:var u=n.readInt64();i.setOriginEnergyLimit(u);break;case 9:var u=n.readBytes();i.setCodeHash(u);break;case 10:var u=n.readBytes();i.setTrxHash(u);break;case 11:var u=n.readInt32();i.setVersion(u);break;default:n.skipField();break}}return i},TronWebProto.SmartContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.SmartContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.SmartContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOriginAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getContractAddress_asU8(),a.length>0&&n.writeBytes(2,a),a=i.getAbi(),a!=null&&n.writeMessage(3,a,TronWebProto.SmartContract.ABI.serializeBinaryToWriter),a=i.getBytecode_asU8(),a.length>0&&n.writeBytes(4,a),a=i.getCallValue(),a!==0&&n.writeInt64(5,a),a=i.getConsumeUserResourcePercent(),a!==0&&n.writeInt64(6,a),a=i.getName(),a.length>0&&n.writeString(7,a),a=i.getOriginEnergyLimit(),a!==0&&n.writeInt64(8,a),a=i.getCodeHash_asU8(),a.length>0&&n.writeBytes(9,a),a=i.getTrxHash_asU8(),a.length>0&&n.writeBytes(10,a),a=i.getVersion(),a!==0&&n.writeInt32(11,a)},TronWebProto.SmartContract.ABI.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.SmartContract.ABI.prototype.toObject=function(i){return TronWebProto.SmartContract.ABI.toObject(i,this)},TronWebProto.SmartContract.ABI.toObject=function(i,n){var a,u={entrysList:t.Message.toObjectList(n.getEntrysList(),TronWebProto.SmartContract.ABI.Entry.toObject,i)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.SmartContract.ABI.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.SmartContract.ABI;return TronWebProto.SmartContract.ABI.deserializeBinaryFromReader(a,n)},TronWebProto.SmartContract.ABI.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();if(a===1){var u=new TronWebProto.SmartContract.ABI.Entry;n.readMessage(u,TronWebProto.SmartContract.ABI.Entry.deserializeBinaryFromReader),i.addEntrys(u)}else n.skipField()}return i},TronWebProto.SmartContract.ABI.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.SmartContract.ABI.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.SmartContract.ABI.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getEntrysList(),a.length>0&&n.writeRepeatedMessage(1,a,TronWebProto.SmartContract.ABI.Entry.serializeBinaryToWriter)},TronWebProto.SmartContract.ABI.Entry.repeatedFields_=[4,5],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.SmartContract.ABI.Entry.prototype.toObject=function(i){return TronWebProto.SmartContract.ABI.Entry.toObject(i,this)},TronWebProto.SmartContract.ABI.Entry.toObject=function(i,n){var a,u={anonymous:t.Message.getBooleanFieldWithDefault(n,1,!1),constant:t.Message.getBooleanFieldWithDefault(n,2,!1),name:t.Message.getFieldWithDefault(n,3,""),inputsList:t.Message.toObjectList(n.getInputsList(),TronWebProto.SmartContract.ABI.Entry.Param.toObject,i),outputsList:t.Message.toObjectList(n.getOutputsList(),TronWebProto.SmartContract.ABI.Entry.Param.toObject,i),type:t.Message.getFieldWithDefault(n,6,0),payable:t.Message.getBooleanFieldWithDefault(n,7,!1),statemutability:t.Message.getFieldWithDefault(n,8,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.SmartContract.ABI.Entry.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.SmartContract.ABI.Entry;return TronWebProto.SmartContract.ABI.Entry.deserializeBinaryFromReader(a,n)},TronWebProto.SmartContract.ABI.Entry.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBool();i.setAnonymous(u);break;case 2:var u=n.readBool();i.setConstant(u);break;case 3:var u=n.readString();i.setName(u);break;case 4:var u=new TronWebProto.SmartContract.ABI.Entry.Param;n.readMessage(u,TronWebProto.SmartContract.ABI.Entry.Param.deserializeBinaryFromReader),i.addInputs(u);break;case 5:var u=new TronWebProto.SmartContract.ABI.Entry.Param;n.readMessage(u,TronWebProto.SmartContract.ABI.Entry.Param.deserializeBinaryFromReader),i.addOutputs(u);break;case 6:var u=n.readEnum();i.setType(u);break;case 7:var u=n.readBool();i.setPayable(u);break;case 8:var u=n.readEnum();i.setStatemutability(u);break;default:n.skipField();break}}return i},TronWebProto.SmartContract.ABI.Entry.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.SmartContract.ABI.Entry.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.SmartContract.ABI.Entry.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getAnonymous(),a&&n.writeBool(1,a),a=i.getConstant(),a&&n.writeBool(2,a),a=i.getName(),a.length>0&&n.writeString(3,a),a=i.getInputsList(),a.length>0&&n.writeRepeatedMessage(4,a,TronWebProto.SmartContract.ABI.Entry.Param.serializeBinaryToWriter),a=i.getOutputsList(),a.length>0&&n.writeRepeatedMessage(5,a,TronWebProto.SmartContract.ABI.Entry.Param.serializeBinaryToWriter),a=i.getType(),a!==0&&n.writeEnum(6,a),a=i.getPayable(),a&&n.writeBool(7,a),a=i.getStatemutability(),a!==0&&n.writeEnum(8,a)},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(i){return TronWebProto.SmartContract.ABI.Entry.Param.toObject(i,this)},TronWebProto.SmartContract.ABI.Entry.Param.toObject=function(i,n){var a,u={indexed:t.Message.getBooleanFieldWithDefault(n,1,!1),name:t.Message.getFieldWithDefault(n,2,""),type:t.Message.getFieldWithDefault(n,3,"")};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.SmartContract.ABI.Entry.Param.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.SmartContract.ABI.Entry.Param;return TronWebProto.SmartContract.ABI.Entry.Param.deserializeBinaryFromReader(a,n)},TronWebProto.SmartContract.ABI.Entry.Param.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBool();i.setIndexed(u);break;case 2:var u=n.readString();i.setName(u);break;case 3:var u=n.readString();i.setType(u);break;default:n.skipField();break}}return i},TronWebProto.SmartContract.ABI.Entry.Param.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.SmartContract.ABI.Entry.Param.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.SmartContract.ABI.Entry.Param.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getIndexed(),a&&n.writeBool(1,a),a=i.getName(),a.length>0&&n.writeString(2,a),a=i.getType(),a.length>0&&n.writeString(3,a)},TronWebProto.SmartContract.ABI.Entry.Param.prototype.getIndexed=function(){return t.Message.getBooleanFieldWithDefault(this,1,!1)},TronWebProto.SmartContract.ABI.Entry.Param.prototype.setIndexed=function(i){return t.Message.setProto3BooleanField(this,1,i)},TronWebProto.SmartContract.ABI.Entry.Param.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.SmartContract.ABI.Entry.Param.prototype.setName=function(i){return t.Message.setProto3StringField(this,2,i)},TronWebProto.SmartContract.ABI.Entry.Param.prototype.getType=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.SmartContract.ABI.Entry.Param.prototype.setType=function(i){return t.Message.setProto3StringField(this,3,i)},TronWebProto.SmartContract.ABI.Entry.prototype.getAnonymous=function(){return t.Message.getBooleanFieldWithDefault(this,1,!1)},TronWebProto.SmartContract.ABI.Entry.prototype.setAnonymous=function(i){return t.Message.setProto3BooleanField(this,1,i)},TronWebProto.SmartContract.ABI.Entry.prototype.getConstant=function(){return t.Message.getBooleanFieldWithDefault(this,2,!1)},TronWebProto.SmartContract.ABI.Entry.prototype.setConstant=function(i){return t.Message.setProto3BooleanField(this,2,i)},TronWebProto.SmartContract.ABI.Entry.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.SmartContract.ABI.Entry.prototype.setName=function(i){return t.Message.setProto3StringField(this,3,i)},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(i){return t.Message.setRepeatedWrapperField(this,4,i)},TronWebProto.SmartContract.ABI.Entry.prototype.addInputs=function(i,n){return t.Message.addToRepeatedWrapperField(this,4,i,TronWebProto.SmartContract.ABI.Entry.Param,n)},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(i){return t.Message.setRepeatedWrapperField(this,5,i)},TronWebProto.SmartContract.ABI.Entry.prototype.addOutputs=function(i,n){return t.Message.addToRepeatedWrapperField(this,5,i,TronWebProto.SmartContract.ABI.Entry.Param,n)},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(i){return t.Message.setProto3EnumField(this,6,i)},TronWebProto.SmartContract.ABI.Entry.prototype.getPayable=function(){return t.Message.getBooleanFieldWithDefault(this,7,!1)},TronWebProto.SmartContract.ABI.Entry.prototype.setPayable=function(i){return t.Message.setProto3BooleanField(this,7,i)},TronWebProto.SmartContract.ABI.Entry.prototype.getStatemutability=function(){return t.Message.getFieldWithDefault(this,8,0)},TronWebProto.SmartContract.ABI.Entry.prototype.setStatemutability=function(i){return t.Message.setProto3EnumField(this,8,i)},TronWebProto.SmartContract.ABI.prototype.getEntrysList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.SmartContract.ABI.Entry,1)},TronWebProto.SmartContract.ABI.prototype.setEntrysList=function(i){return t.Message.setRepeatedWrapperField(this,1,i)},TronWebProto.SmartContract.ABI.prototype.addEntrys=function(i,n){return t.Message.addToRepeatedWrapperField(this,1,i,TronWebProto.SmartContract.ABI.Entry,n)},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(i){return t.Message.setProto3BytesField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},TronWebProto.SmartContract.prototype.getAbi=function(){return t.Message.getWrapperField(this,TronWebProto.SmartContract.ABI,3)},TronWebProto.SmartContract.prototype.setAbi=function(i){return t.Message.setWrapperField(this,3,i)},TronWebProto.SmartContract.prototype.clearAbi=function(){return this.setAbi(void 0)},TronWebProto.SmartContract.prototype.hasAbi=function(){return t.Message.getField(this,3)!=null},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(i){return t.Message.setProto3BytesField(this,4,i)},TronWebProto.SmartContract.prototype.getCallValue=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.SmartContract.prototype.setCallValue=function(i){return t.Message.setProto3IntField(this,5,i)},TronWebProto.SmartContract.prototype.getConsumeUserResourcePercent=function(){return t.Message.getFieldWithDefault(this,6,0)},TronWebProto.SmartContract.prototype.setConsumeUserResourcePercent=function(i){return t.Message.setProto3IntField(this,6,i)},TronWebProto.SmartContract.prototype.getName=function(){return t.Message.getFieldWithDefault(this,7,"")},TronWebProto.SmartContract.prototype.setName=function(i){return t.Message.setProto3StringField(this,7,i)},TronWebProto.SmartContract.prototype.getOriginEnergyLimit=function(){return t.Message.getFieldWithDefault(this,8,0)},TronWebProto.SmartContract.prototype.setOriginEnergyLimit=function(i){return t.Message.setProto3IntField(this,8,i)},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(i){return t.Message.setProto3BytesField(this,9,i)},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(i){return t.Message.setProto3BytesField(this,10,i)},TronWebProto.SmartContract.prototype.getVersion=function(){return t.Message.getFieldWithDefault(this,11,0)},TronWebProto.SmartContract.prototype.setVersion=function(i){return t.Message.setProto3IntField(this,11,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ContractState.prototype.toObject=function(i){return TronWebProto.ContractState.toObject(i,this)},TronWebProto.ContractState.toObject=function(i,n){var a,u={energyUsage:t.Message.getFieldWithDefault(n,1,0),energyFactor:t.Message.getFieldWithDefault(n,2,0),updateCycle:t.Message.getFieldWithDefault(n,3,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.ContractState.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.ContractState;return TronWebProto.ContractState.deserializeBinaryFromReader(a,n)},TronWebProto.ContractState.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readInt64();i.setEnergyUsage(u);break;case 2:var u=n.readInt64();i.setEnergyFactor(u);break;case 3:var u=n.readInt64();i.setUpdateCycle(u);break;default:n.skipField();break}}return i},TronWebProto.ContractState.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.ContractState.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.ContractState.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getEnergyUsage(),a!==0&&n.writeInt64(1,a),a=i.getEnergyFactor(),a!==0&&n.writeInt64(2,a),a=i.getUpdateCycle(),a!==0&&n.writeInt64(3,a)},TronWebProto.ContractState.prototype.getEnergyUsage=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.ContractState.prototype.setEnergyUsage=function(i){return t.Message.setProto3IntField(this,1,i)},TronWebProto.ContractState.prototype.getEnergyFactor=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.ContractState.prototype.setEnergyFactor=function(i){return t.Message.setProto3IntField(this,2,i)},TronWebProto.ContractState.prototype.getUpdateCycle=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.ContractState.prototype.setUpdateCycle=function(i){return t.Message.setProto3IntField(this,3,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.CreateSmartContract.prototype.toObject=function(i){return TronWebProto.CreateSmartContract.toObject(i,this)},TronWebProto.CreateSmartContract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64(),newContract:(a=n.getNewContract())&&TronWebProto.SmartContract.toObject(i,a),callTokenValue:t.Message.getFieldWithDefault(n,3,0),tokenId:t.Message.getFieldWithDefault(n,4,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.CreateSmartContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.CreateSmartContract;return TronWebProto.CreateSmartContract.deserializeBinaryFromReader(a,n)},TronWebProto.CreateSmartContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOwnerAddress(u);break;case 2:var u=new TronWebProto.SmartContract;n.readMessage(u,TronWebProto.SmartContract.deserializeBinaryFromReader),i.setNewContract(u);break;case 3:var u=n.readInt64();i.setCallTokenValue(u);break;case 4:var u=n.readInt64();i.setTokenId(u);break;default:n.skipField();break}}return i},TronWebProto.CreateSmartContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.CreateSmartContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.CreateSmartContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getNewContract(),a!=null&&n.writeMessage(2,a,TronWebProto.SmartContract.serializeBinaryToWriter),a=i.getCallTokenValue(),a!==0&&n.writeInt64(3,a),a=i.getTokenId(),a!==0&&n.writeInt64(4,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.CreateSmartContract.prototype.getNewContract=function(){return t.Message.getWrapperField(this,TronWebProto.SmartContract,2)},TronWebProto.CreateSmartContract.prototype.setNewContract=function(i){return t.Message.setWrapperField(this,2,i)},TronWebProto.CreateSmartContract.prototype.clearNewContract=function(){return this.setNewContract(void 0)},TronWebProto.CreateSmartContract.prototype.hasNewContract=function(){return t.Message.getField(this,2)!=null},TronWebProto.CreateSmartContract.prototype.getCallTokenValue=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.CreateSmartContract.prototype.setCallTokenValue=function(i){return t.Message.setProto3IntField(this,3,i)},TronWebProto.CreateSmartContract.prototype.getTokenId=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.CreateSmartContract.prototype.setTokenId=function(i){return t.Message.setProto3IntField(this,4,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.TriggerSmartContract.prototype.toObject=function(i){return TronWebProto.TriggerSmartContract.toObject(i,this)},TronWebProto.TriggerSmartContract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64(),contractAddress:n.getContractAddress_asB64(),callValue:t.Message.getFieldWithDefault(n,3,0),data:n.getData_asB64(),callTokenValue:t.Message.getFieldWithDefault(n,5,0),tokenId:t.Message.getFieldWithDefault(n,6,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.TriggerSmartContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.TriggerSmartContract;return TronWebProto.TriggerSmartContract.deserializeBinaryFromReader(a,n)},TronWebProto.TriggerSmartContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOwnerAddress(u);break;case 2:var u=n.readBytes();i.setContractAddress(u);break;case 3:var u=n.readInt64();i.setCallValue(u);break;case 4:var u=n.readBytes();i.setData(u);break;case 5:var u=n.readInt64();i.setCallTokenValue(u);break;case 6:var u=n.readInt64();i.setTokenId(u);break;default:n.skipField();break}}return i},TronWebProto.TriggerSmartContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.TriggerSmartContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.TriggerSmartContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getContractAddress_asU8(),a.length>0&&n.writeBytes(2,a),a=i.getCallValue(),a!==0&&n.writeInt64(3,a),a=i.getData_asU8(),a.length>0&&n.writeBytes(4,a),a=i.getCallTokenValue(),a!==0&&n.writeInt64(5,a),a=i.getTokenId(),a!==0&&n.writeInt64(6,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},TronWebProto.TriggerSmartContract.prototype.getCallValue=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.TriggerSmartContract.prototype.setCallValue=function(i){return t.Message.setProto3IntField(this,3,i)},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(i){return t.Message.setProto3BytesField(this,4,i)},TronWebProto.TriggerSmartContract.prototype.getCallTokenValue=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.TriggerSmartContract.prototype.setCallTokenValue=function(i){return t.Message.setProto3IntField(this,5,i)},TronWebProto.TriggerSmartContract.prototype.getTokenId=function(){return t.Message.getFieldWithDefault(this,6,0)},TronWebProto.TriggerSmartContract.prototype.setTokenId=function(i){return t.Message.setProto3IntField(this,6,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ClearABIContract.prototype.toObject=function(i){return TronWebProto.ClearABIContract.toObject(i,this)},TronWebProto.ClearABIContract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64(),contractAddress:n.getContractAddress_asB64()};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.ClearABIContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.ClearABIContract;return TronWebProto.ClearABIContract.deserializeBinaryFromReader(a,n)},TronWebProto.ClearABIContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOwnerAddress(u);break;case 2:var u=n.readBytes();i.setContractAddress(u);break;default:n.skipField();break}}return i},TronWebProto.ClearABIContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.ClearABIContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.ClearABIContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getContractAddress_asU8(),a.length>0&&n.writeBytes(2,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UpdateSettingContract.prototype.toObject=function(i){return TronWebProto.UpdateSettingContract.toObject(i,this)},TronWebProto.UpdateSettingContract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64(),contractAddress:n.getContractAddress_asB64(),consumeUserResourcePercent:t.Message.getFieldWithDefault(n,3,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.UpdateSettingContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.UpdateSettingContract;return TronWebProto.UpdateSettingContract.deserializeBinaryFromReader(a,n)},TronWebProto.UpdateSettingContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOwnerAddress(u);break;case 2:var u=n.readBytes();i.setContractAddress(u);break;case 3:var u=n.readInt64();i.setConsumeUserResourcePercent(u);break;default:n.skipField();break}}return i},TronWebProto.UpdateSettingContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.UpdateSettingContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.UpdateSettingContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getContractAddress_asU8(),a.length>0&&n.writeBytes(2,a),a=i.getConsumeUserResourcePercent(),a!==0&&n.writeInt64(3,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},TronWebProto.UpdateSettingContract.prototype.getConsumeUserResourcePercent=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.UpdateSettingContract.prototype.setConsumeUserResourcePercent=function(i){return t.Message.setProto3IntField(this,3,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UpdateEnergyLimitContract.prototype.toObject=function(i){return TronWebProto.UpdateEnergyLimitContract.toObject(i,this)},TronWebProto.UpdateEnergyLimitContract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64(),contractAddress:n.getContractAddress_asB64(),originEnergyLimit:t.Message.getFieldWithDefault(n,3,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.UpdateEnergyLimitContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.UpdateEnergyLimitContract;return TronWebProto.UpdateEnergyLimitContract.deserializeBinaryFromReader(a,n)},TronWebProto.UpdateEnergyLimitContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOwnerAddress(u);break;case 2:var u=n.readBytes();i.setContractAddress(u);break;case 3:var u=n.readInt64();i.setOriginEnergyLimit(u);break;default:n.skipField();break}}return i},TronWebProto.UpdateEnergyLimitContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.UpdateEnergyLimitContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.UpdateEnergyLimitContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getContractAddress_asU8(),a.length>0&&n.writeBytes(2,a),a=i.getOriginEnergyLimit(),a!==0&&n.writeInt64(3,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},TronWebProto.UpdateEnergyLimitContract.prototype.getOriginEnergyLimit=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.UpdateEnergyLimitContract.prototype.setOriginEnergyLimit=function(i){return t.Message.setProto3IntField(this,3,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.SmartContractDataWrapper.prototype.toObject=function(i){return TronWebProto.SmartContractDataWrapper.toObject(i,this)},TronWebProto.SmartContractDataWrapper.toObject=function(i,n){var a,u={smartContract:(a=n.getSmartContract())&&TronWebProto.SmartContract.toObject(i,a),runtimecode:n.getRuntimecode_asB64(),contractState:(a=n.getContractState())&&TronWebProto.ContractState.toObject(i,a)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.SmartContractDataWrapper.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.SmartContractDataWrapper;return TronWebProto.SmartContractDataWrapper.deserializeBinaryFromReader(a,n)},TronWebProto.SmartContractDataWrapper.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=new TronWebProto.SmartContract;n.readMessage(u,TronWebProto.SmartContract.deserializeBinaryFromReader),i.setSmartContract(u);break;case 2:var u=n.readBytes();i.setRuntimecode(u);break;case 3:var u=new TronWebProto.ContractState;n.readMessage(u,TronWebProto.ContractState.deserializeBinaryFromReader),i.setContractState(u);break;default:n.skipField();break}}return i},TronWebProto.SmartContractDataWrapper.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.SmartContractDataWrapper.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.SmartContractDataWrapper.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getSmartContract(),a!=null&&n.writeMessage(1,a,TronWebProto.SmartContract.serializeBinaryToWriter),a=i.getRuntimecode_asU8(),a.length>0&&n.writeBytes(2,a),a=i.getContractState(),a!=null&&n.writeMessage(3,a,TronWebProto.ContractState.serializeBinaryToWriter)},TronWebProto.SmartContractDataWrapper.prototype.getSmartContract=function(){return t.Message.getWrapperField(this,TronWebProto.SmartContract,1)},TronWebProto.SmartContractDataWrapper.prototype.setSmartContract=function(i){return t.Message.setWrapperField(this,1,i)},TronWebProto.SmartContractDataWrapper.prototype.clearSmartContract=function(){return this.setSmartContract(void 0)},TronWebProto.SmartContractDataWrapper.prototype.hasSmartContract=function(){return t.Message.getField(this,1)!=null},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(i){return t.Message.setProto3BytesField(this,2,i)},TronWebProto.SmartContractDataWrapper.prototype.getContractState=function(){return t.Message.getWrapperField(this,TronWebProto.ContractState,3)},TronWebProto.SmartContractDataWrapper.prototype.setContractState=function(i){return t.Message.setWrapperField(this,3,i)},TronWebProto.SmartContractDataWrapper.prototype.clearContractState=function(){return this.setContractState(void 0)},TronWebProto.SmartContractDataWrapper.prototype.hasContractState=function(){return t.Message.getField(this,3)!=null},r.object.extend(e,TronWebProto)}),jmt=W(e=>{m();var t=$h(),r=t,o=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof o<"u"&&o||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("TronWebProto.VoteWitnessContract",null,o),r.exportSymbol("TronWebProto.VoteWitnessContract.Vote",null,o),r.exportSymbol("TronWebProto.WitnessCreateContract",null,o),r.exportSymbol("TronWebProto.WitnessUpdateContract",null,o),TronWebProto.WitnessCreateContract=function(s){t.Message.initialize(this,s,0,-1,null,null)},r.inherits(TronWebProto.WitnessCreateContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.WitnessCreateContract.displayName="TronWebProto.WitnessCreateContract"),TronWebProto.WitnessUpdateContract=function(s){t.Message.initialize(this,s,0,-1,null,null)},r.inherits(TronWebProto.WitnessUpdateContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.WitnessUpdateContract.displayName="TronWebProto.WitnessUpdateContract"),TronWebProto.VoteWitnessContract=function(s){t.Message.initialize(this,s,0,-1,TronWebProto.VoteWitnessContract.repeatedFields_,null)},r.inherits(TronWebProto.VoteWitnessContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.VoteWitnessContract.displayName="TronWebProto.VoteWitnessContract"),TronWebProto.VoteWitnessContract.Vote=function(s){t.Message.initialize(this,s,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(s){return TronWebProto.WitnessCreateContract.toObject(s,this)},TronWebProto.WitnessCreateContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),url:i.getUrl_asB64()};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.WitnessCreateContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.WitnessCreateContract;return TronWebProto.WitnessCreateContract.deserializeBinaryFromReader(n,i)},TronWebProto.WitnessCreateContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=i.readBytes();s.setUrl(a);break;default:i.skipField();break}}return s},TronWebProto.WitnessCreateContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.WitnessCreateContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.WitnessCreateContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getUrl_asU8(),n.length>0&&i.writeBytes(2,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},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(s){return t.Message.setProto3BytesField(this,2,s)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.WitnessUpdateContract.prototype.toObject=function(s){return TronWebProto.WitnessUpdateContract.toObject(s,this)},TronWebProto.WitnessUpdateContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),updateUrl:i.getUpdateUrl_asB64()};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.WitnessUpdateContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.WitnessUpdateContract;return TronWebProto.WitnessUpdateContract.deserializeBinaryFromReader(n,i)},TronWebProto.WitnessUpdateContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 12:var a=i.readBytes();s.setUpdateUrl(a);break;default:i.skipField();break}}return s},TronWebProto.WitnessUpdateContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.WitnessUpdateContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.WitnessUpdateContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getUpdateUrl_asU8(),n.length>0&&i.writeBytes(12,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},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(s){return t.Message.setProto3BytesField(this,12,s)},TronWebProto.VoteWitnessContract.repeatedFields_=[2],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.VoteWitnessContract.prototype.toObject=function(s){return TronWebProto.VoteWitnessContract.toObject(s,this)},TronWebProto.VoteWitnessContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),votesList:t.Message.toObjectList(i.getVotesList(),TronWebProto.VoteWitnessContract.Vote.toObject,s),support:t.Message.getBooleanFieldWithDefault(i,3,!1)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.VoteWitnessContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.VoteWitnessContract;return TronWebProto.VoteWitnessContract.deserializeBinaryFromReader(n,i)},TronWebProto.VoteWitnessContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=new TronWebProto.VoteWitnessContract.Vote;i.readMessage(a,TronWebProto.VoteWitnessContract.Vote.deserializeBinaryFromReader),s.addVotes(a);break;case 3:var a=i.readBool();s.setSupport(a);break;default:i.skipField();break}}return s},TronWebProto.VoteWitnessContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.VoteWitnessContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.VoteWitnessContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getVotesList(),n.length>0&&i.writeRepeatedMessage(2,n,TronWebProto.VoteWitnessContract.Vote.serializeBinaryToWriter),n=s.getSupport(),n&&i.writeBool(3,n)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.VoteWitnessContract.Vote.prototype.toObject=function(s){return TronWebProto.VoteWitnessContract.Vote.toObject(s,this)},TronWebProto.VoteWitnessContract.Vote.toObject=function(s,i){var n,a={voteAddress:i.getVoteAddress_asB64(),voteCount:t.Message.getFieldWithDefault(i,2,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.VoteWitnessContract.Vote.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.VoteWitnessContract.Vote;return TronWebProto.VoteWitnessContract.Vote.deserializeBinaryFromReader(n,i)},TronWebProto.VoteWitnessContract.Vote.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setVoteAddress(a);break;case 2:var a=i.readInt64();s.setVoteCount(a);break;default:i.skipField();break}}return s},TronWebProto.VoteWitnessContract.Vote.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.VoteWitnessContract.Vote.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.VoteWitnessContract.Vote.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getVoteAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getVoteCount(),n!==0&&i.writeInt64(2,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},TronWebProto.VoteWitnessContract.Vote.prototype.getVoteCount=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.VoteWitnessContract.Vote.prototype.setVoteCount=function(s){return t.Message.setProto3IntField(this,2,s)},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(s){return t.Message.setProto3BytesField(this,1,s)},TronWebProto.VoteWitnessContract.prototype.getVotesList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.VoteWitnessContract.Vote,2)},TronWebProto.VoteWitnessContract.prototype.setVotesList=function(s){return t.Message.setRepeatedWrapperField(this,2,s)},TronWebProto.VoteWitnessContract.prototype.addVotes=function(s,i){return t.Message.addToRepeatedWrapperField(this,2,s,TronWebProto.VoteWitnessContract.Vote,i)},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(s){return t.Message.setProto3BooleanField(this,3,s)},r.object.extend(e,TronWebProto)}),Vmt=W(e=>{m();var t=$h(),r=t,o=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof o<"u"&&o||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("TronWebProto.BuyStorageBytesContract",null,o),r.exportSymbol("TronWebProto.BuyStorageContract",null,o),r.exportSymbol("TronWebProto.SellStorageContract",null,o),r.exportSymbol("TronWebProto.UpdateBrokerageContract",null,o),TronWebProto.BuyStorageBytesContract=function(s){t.Message.initialize(this,s,0,-1,null,null)},r.inherits(TronWebProto.BuyStorageBytesContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.BuyStorageBytesContract.displayName="TronWebProto.BuyStorageBytesContract"),TronWebProto.BuyStorageContract=function(s){t.Message.initialize(this,s,0,-1,null,null)},r.inherits(TronWebProto.BuyStorageContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.BuyStorageContract.displayName="TronWebProto.BuyStorageContract"),TronWebProto.SellStorageContract=function(s){t.Message.initialize(this,s,0,-1,null,null)},r.inherits(TronWebProto.SellStorageContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.SellStorageContract.displayName="TronWebProto.SellStorageContract"),TronWebProto.UpdateBrokerageContract=function(s){t.Message.initialize(this,s,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(s){return TronWebProto.BuyStorageBytesContract.toObject(s,this)},TronWebProto.BuyStorageBytesContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),bytes:t.Message.getFieldWithDefault(i,2,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.BuyStorageBytesContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.BuyStorageBytesContract;return TronWebProto.BuyStorageBytesContract.deserializeBinaryFromReader(n,i)},TronWebProto.BuyStorageBytesContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=i.readInt64();s.setBytes(a);break;default:i.skipField();break}}return s},TronWebProto.BuyStorageBytesContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.BuyStorageBytesContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.BuyStorageBytesContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getBytes(),n!==0&&i.writeInt64(2,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},TronWebProto.BuyStorageBytesContract.prototype.getBytes=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.BuyStorageBytesContract.prototype.setBytes=function(s){return t.Message.setProto3IntField(this,2,s)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.BuyStorageContract.prototype.toObject=function(s){return TronWebProto.BuyStorageContract.toObject(s,this)},TronWebProto.BuyStorageContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),quant:t.Message.getFieldWithDefault(i,2,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.BuyStorageContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.BuyStorageContract;return TronWebProto.BuyStorageContract.deserializeBinaryFromReader(n,i)},TronWebProto.BuyStorageContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=i.readInt64();s.setQuant(a);break;default:i.skipField();break}}return s},TronWebProto.BuyStorageContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.BuyStorageContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.BuyStorageContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getQuant(),n!==0&&i.writeInt64(2,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},TronWebProto.BuyStorageContract.prototype.getQuant=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.BuyStorageContract.prototype.setQuant=function(s){return t.Message.setProto3IntField(this,2,s)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.SellStorageContract.prototype.toObject=function(s){return TronWebProto.SellStorageContract.toObject(s,this)},TronWebProto.SellStorageContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),storageBytes:t.Message.getFieldWithDefault(i,2,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.SellStorageContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.SellStorageContract;return TronWebProto.SellStorageContract.deserializeBinaryFromReader(n,i)},TronWebProto.SellStorageContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=i.readInt64();s.setStorageBytes(a);break;default:i.skipField();break}}return s},TronWebProto.SellStorageContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.SellStorageContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.SellStorageContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getStorageBytes(),n!==0&&i.writeInt64(2,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},TronWebProto.SellStorageContract.prototype.getStorageBytes=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.SellStorageContract.prototype.setStorageBytes=function(s){return t.Message.setProto3IntField(this,2,s)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UpdateBrokerageContract.prototype.toObject=function(s){return TronWebProto.UpdateBrokerageContract.toObject(s,this)},TronWebProto.UpdateBrokerageContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),brokerage:t.Message.getFieldWithDefault(i,2,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.UpdateBrokerageContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.UpdateBrokerageContract;return TronWebProto.UpdateBrokerageContract.deserializeBinaryFromReader(n,i)},TronWebProto.UpdateBrokerageContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=i.readInt32();s.setBrokerage(a);break;default:i.skipField();break}}return s},TronWebProto.UpdateBrokerageContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.UpdateBrokerageContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.UpdateBrokerageContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getBrokerage(),n!==0&&i.writeInt32(2,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},TronWebProto.UpdateBrokerageContract.prototype.getBrokerage=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.UpdateBrokerageContract.prototype.setBrokerage=function(s){return t.Message.setProto3IntField(this,2,s)},r.object.extend(e,TronWebProto)}),Xmt=W(e=>{m();var t=$h(),r=t,o=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof o<"u"&&o||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")(),s=xJ();r.object.extend(proto,s),r.exportSymbol("TronWebProto.AccountCreateContract",null,o),r.exportSymbol("TronWebProto.AccountPermissionUpdateContract",null,o),r.exportSymbol("TronWebProto.AccountUpdateContract",null,o),r.exportSymbol("TronWebProto.SetAccountIdContract",null,o),TronWebProto.AccountCreateContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.AccountCreateContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountCreateContract.displayName="TronWebProto.AccountCreateContract"),TronWebProto.AccountUpdateContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.AccountUpdateContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountUpdateContract.displayName="TronWebProto.AccountUpdateContract"),TronWebProto.SetAccountIdContract=function(i){t.Message.initialize(this,i,0,-1,null,null)},r.inherits(TronWebProto.SetAccountIdContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.SetAccountIdContract.displayName="TronWebProto.SetAccountIdContract"),TronWebProto.AccountPermissionUpdateContract=function(i){t.Message.initialize(this,i,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(i){return TronWebProto.AccountCreateContract.toObject(i,this)},TronWebProto.AccountCreateContract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64(),accountAddress:n.getAccountAddress_asB64(),type:t.Message.getFieldWithDefault(n,3,0)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.AccountCreateContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.AccountCreateContract;return TronWebProto.AccountCreateContract.deserializeBinaryFromReader(a,n)},TronWebProto.AccountCreateContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOwnerAddress(u);break;case 2:var u=n.readBytes();i.setAccountAddress(u);break;case 3:var u=n.readEnum();i.setType(u);break;default:n.skipField();break}}return i},TronWebProto.AccountCreateContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.AccountCreateContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.AccountCreateContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getAccountAddress_asU8(),a.length>0&&n.writeBytes(2,a),a=i.getType(),a!==0&&n.writeEnum(3,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},TronWebProto.AccountCreateContract.prototype.getType=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.AccountCreateContract.prototype.setType=function(i){return t.Message.setProto3EnumField(this,3,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AccountUpdateContract.prototype.toObject=function(i){return TronWebProto.AccountUpdateContract.toObject(i,this)},TronWebProto.AccountUpdateContract.toObject=function(i,n){var a,u={accountName:n.getAccountName_asB64(),ownerAddress:n.getOwnerAddress_asB64()};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.AccountUpdateContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.AccountUpdateContract;return TronWebProto.AccountUpdateContract.deserializeBinaryFromReader(a,n)},TronWebProto.AccountUpdateContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setAccountName(u);break;case 2:var u=n.readBytes();i.setOwnerAddress(u);break;default:n.skipField();break}}return i},TronWebProto.AccountUpdateContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.AccountUpdateContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.AccountUpdateContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getAccountName_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(2,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.SetAccountIdContract.prototype.toObject=function(i){return TronWebProto.SetAccountIdContract.toObject(i,this)},TronWebProto.SetAccountIdContract.toObject=function(i,n){var a,u={accountId:n.getAccountId_asB64(),ownerAddress:n.getOwnerAddress_asB64()};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.SetAccountIdContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.SetAccountIdContract;return TronWebProto.SetAccountIdContract.deserializeBinaryFromReader(a,n)},TronWebProto.SetAccountIdContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setAccountId(u);break;case 2:var u=n.readBytes();i.setOwnerAddress(u);break;default:n.skipField();break}}return i},TronWebProto.SetAccountIdContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.SetAccountIdContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.SetAccountIdContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getAccountId_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(2,a)},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(i){return t.Message.setProto3BytesField(this,1,i)},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(i){return t.Message.setProto3BytesField(this,2,i)},TronWebProto.AccountPermissionUpdateContract.repeatedFields_=[4],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AccountPermissionUpdateContract.prototype.toObject=function(i){return TronWebProto.AccountPermissionUpdateContract.toObject(i,this)},TronWebProto.AccountPermissionUpdateContract.toObject=function(i,n){var a,u={ownerAddress:n.getOwnerAddress_asB64(),owner:(a=n.getOwner())&&s.Permission.toObject(i,a),witness:(a=n.getWitness())&&s.Permission.toObject(i,a),activesList:t.Message.toObjectList(n.getActivesList(),s.Permission.toObject,i)};return i&&(u.$jspbMessageInstance=n),u}),TronWebProto.AccountPermissionUpdateContract.deserializeBinary=function(i){var n=new t.BinaryReader(i),a=new TronWebProto.AccountPermissionUpdateContract;return TronWebProto.AccountPermissionUpdateContract.deserializeBinaryFromReader(a,n)},TronWebProto.AccountPermissionUpdateContract.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var a=n.getFieldNumber();switch(a){case 1:var u=n.readBytes();i.setOwnerAddress(u);break;case 2:var u=new s.Permission;n.readMessage(u,s.Permission.deserializeBinaryFromReader),i.setOwner(u);break;case 3:var u=new s.Permission;n.readMessage(u,s.Permission.deserializeBinaryFromReader),i.setWitness(u);break;case 4:var u=new s.Permission;n.readMessage(u,s.Permission.deserializeBinaryFromReader),i.addActives(u);break;default:n.skipField();break}}return i},TronWebProto.AccountPermissionUpdateContract.prototype.serializeBinary=function(){var i=new t.BinaryWriter;return TronWebProto.AccountPermissionUpdateContract.serializeBinaryToWriter(this,i),i.getResultBuffer()},TronWebProto.AccountPermissionUpdateContract.serializeBinaryToWriter=function(i,n){var a=void 0;a=i.getOwnerAddress_asU8(),a.length>0&&n.writeBytes(1,a),a=i.getOwner(),a!=null&&n.writeMessage(2,a,s.Permission.serializeBinaryToWriter),a=i.getWitness(),a!=null&&n.writeMessage(3,a,s.Permission.serializeBinaryToWriter),a=i.getActivesList(),a.length>0&&n.writeRepeatedMessage(4,a,s.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(i){return t.Message.setProto3BytesField(this,1,i)},TronWebProto.AccountPermissionUpdateContract.prototype.getOwner=function(){return t.Message.getWrapperField(this,s.Permission,2)},TronWebProto.AccountPermissionUpdateContract.prototype.setOwner=function(i){return t.Message.setWrapperField(this,2,i)},TronWebProto.AccountPermissionUpdateContract.prototype.clearOwner=function(){return this.setOwner(void 0)},TronWebProto.AccountPermissionUpdateContract.prototype.hasOwner=function(){return t.Message.getField(this,2)!=null},TronWebProto.AccountPermissionUpdateContract.prototype.getWitness=function(){return t.Message.getWrapperField(this,s.Permission,3)},TronWebProto.AccountPermissionUpdateContract.prototype.setWitness=function(i){return t.Message.setWrapperField(this,3,i)},TronWebProto.AccountPermissionUpdateContract.prototype.clearWitness=function(){return this.setWitness(void 0)},TronWebProto.AccountPermissionUpdateContract.prototype.hasWitness=function(){return t.Message.getField(this,3)!=null},TronWebProto.AccountPermissionUpdateContract.prototype.getActivesList=function(){return t.Message.getRepeatedWrapperField(this,s.Permission,4)},TronWebProto.AccountPermissionUpdateContract.prototype.setActivesList=function(i){return t.Message.setRepeatedWrapperField(this,4,i)},TronWebProto.AccountPermissionUpdateContract.prototype.addActives=function(i,n){return t.Message.addToRepeatedWrapperField(this,4,i,TronWebProto.Permission,n)},TronWebProto.AccountPermissionUpdateContract.prototype.clearActivesList=function(){return this.setActivesList([])},r.object.extend(e,TronWebProto)}),Qmt=W(e=>{m();var t=$h(),r=t,o=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof o<"u"&&o||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("TronWebProto.ProposalApproveContract",null,o),r.exportSymbol("TronWebProto.ProposalCreateContract",null,o),r.exportSymbol("TronWebProto.ProposalDeleteContract",null,o),TronWebProto.ProposalApproveContract=function(s){t.Message.initialize(this,s,0,-1,null,null)},r.inherits(TronWebProto.ProposalApproveContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ProposalApproveContract.displayName="TronWebProto.ProposalApproveContract"),TronWebProto.ProposalCreateContract=function(s){t.Message.initialize(this,s,0,-1,null,null)},r.inherits(TronWebProto.ProposalCreateContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ProposalCreateContract.displayName="TronWebProto.ProposalCreateContract"),TronWebProto.ProposalDeleteContract=function(s){t.Message.initialize(this,s,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(s){return TronWebProto.ProposalApproveContract.toObject(s,this)},TronWebProto.ProposalApproveContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),proposalId:t.Message.getFieldWithDefault(i,2,0),isAddApproval:t.Message.getBooleanFieldWithDefault(i,3,!1)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.ProposalApproveContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.ProposalApproveContract;return TronWebProto.ProposalApproveContract.deserializeBinaryFromReader(n,i)},TronWebProto.ProposalApproveContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=i.readInt64();s.setProposalId(a);break;case 3:var a=i.readBool();s.setIsAddApproval(a);break;default:i.skipField();break}}return s},TronWebProto.ProposalApproveContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.ProposalApproveContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.ProposalApproveContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getProposalId(),n!==0&&i.writeInt64(2,n),n=s.getIsAddApproval(),n&&i.writeBool(3,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},TronWebProto.ProposalApproveContract.prototype.getProposalId=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.ProposalApproveContract.prototype.setProposalId=function(s){return t.Message.setProto3IntField(this,2,s)},TronWebProto.ProposalApproveContract.prototype.getIsAddApproval=function(){return t.Message.getBooleanFieldWithDefault(this,3,!1)},TronWebProto.ProposalApproveContract.prototype.setIsAddApproval=function(s){return t.Message.setProto3BooleanField(this,3,s)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ProposalCreateContract.prototype.toObject=function(s){return TronWebProto.ProposalCreateContract.toObject(s,this)},TronWebProto.ProposalCreateContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),parametersMap:(n=i.getParametersMap())?n.toObject(s,void 0):[]};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.ProposalCreateContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.ProposalCreateContract;return TronWebProto.ProposalCreateContract.deserializeBinaryFromReader(n,i)},TronWebProto.ProposalCreateContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=s.getParametersMap();i.readMessage(a,function(u,c){t.Map.deserializeBinary(u,c,t.BinaryReader.prototype.readInt64,t.BinaryReader.prototype.readInt64,null,0,0)});break;default:i.skipField();break}}return s},TronWebProto.ProposalCreateContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.ProposalCreateContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.ProposalCreateContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getParametersMap(!0),n&&n.getLength()>0&&n.serializeBinary(2,i,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(s){return t.Message.setProto3BytesField(this,1,s)},TronWebProto.ProposalCreateContract.prototype.getParametersMap=function(s){return t.Message.getMapField(this,2,s,null)},TronWebProto.ProposalCreateContract.prototype.clearParametersMap=function(){return this.getParametersMap().clear(),this},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ProposalDeleteContract.prototype.toObject=function(s){return TronWebProto.ProposalDeleteContract.toObject(s,this)},TronWebProto.ProposalDeleteContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),proposalId:t.Message.getFieldWithDefault(i,2,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.ProposalDeleteContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.ProposalDeleteContract;return TronWebProto.ProposalDeleteContract.deserializeBinaryFromReader(n,i)},TronWebProto.ProposalDeleteContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=i.readInt64();s.setProposalId(a);break;default:i.skipField();break}}return s},TronWebProto.ProposalDeleteContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.ProposalDeleteContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.ProposalDeleteContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getProposalId(),n!==0&&i.writeInt64(2,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},TronWebProto.ProposalDeleteContract.prototype.getProposalId=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.ProposalDeleteContract.prototype.setProposalId=function(s){return t.Message.setProto3IntField(this,2,s)},r.object.extend(e,TronWebProto)}),$mt=W(e=>{m();var t=$h(),r=t,o=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof o<"u"&&o||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("TronWebProto.ExchangeCreateContract",null,o),r.exportSymbol("TronWebProto.ExchangeInjectContract",null,o),r.exportSymbol("TronWebProto.ExchangeTransactionContract",null,o),r.exportSymbol("TronWebProto.ExchangeWithdrawContract",null,o),TronWebProto.ExchangeCreateContract=function(s){t.Message.initialize(this,s,0,-1,null,null)},r.inherits(TronWebProto.ExchangeCreateContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ExchangeCreateContract.displayName="TronWebProto.ExchangeCreateContract"),TronWebProto.ExchangeInjectContract=function(s){t.Message.initialize(this,s,0,-1,null,null)},r.inherits(TronWebProto.ExchangeInjectContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ExchangeInjectContract.displayName="TronWebProto.ExchangeInjectContract"),TronWebProto.ExchangeWithdrawContract=function(s){t.Message.initialize(this,s,0,-1,null,null)},r.inherits(TronWebProto.ExchangeWithdrawContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ExchangeWithdrawContract.displayName="TronWebProto.ExchangeWithdrawContract"),TronWebProto.ExchangeTransactionContract=function(s){t.Message.initialize(this,s,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(s){return TronWebProto.ExchangeCreateContract.toObject(s,this)},TronWebProto.ExchangeCreateContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),firstTokenId:i.getFirstTokenId_asB64(),firstTokenBalance:t.Message.getFieldWithDefault(i,3,0),secondTokenId:i.getSecondTokenId_asB64(),secondTokenBalance:t.Message.getFieldWithDefault(i,5,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.ExchangeCreateContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.ExchangeCreateContract;return TronWebProto.ExchangeCreateContract.deserializeBinaryFromReader(n,i)},TronWebProto.ExchangeCreateContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=i.readBytes();s.setFirstTokenId(a);break;case 3:var a=i.readInt64();s.setFirstTokenBalance(a);break;case 4:var a=i.readBytes();s.setSecondTokenId(a);break;case 5:var a=i.readInt64();s.setSecondTokenBalance(a);break;default:i.skipField();break}}return s},TronWebProto.ExchangeCreateContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.ExchangeCreateContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.ExchangeCreateContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getFirstTokenId_asU8(),n.length>0&&i.writeBytes(2,n),n=s.getFirstTokenBalance(),n!==0&&i.writeInt64(3,n),n=s.getSecondTokenId_asU8(),n.length>0&&i.writeBytes(4,n),n=s.getSecondTokenBalance(),n!==0&&i.writeInt64(5,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},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(s){return t.Message.setProto3BytesField(this,2,s)},TronWebProto.ExchangeCreateContract.prototype.getFirstTokenBalance=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.ExchangeCreateContract.prototype.setFirstTokenBalance=function(s){return t.Message.setProto3IntField(this,3,s)},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(s){return t.Message.setProto3BytesField(this,4,s)},TronWebProto.ExchangeCreateContract.prototype.getSecondTokenBalance=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.ExchangeCreateContract.prototype.setSecondTokenBalance=function(s){return t.Message.setProto3IntField(this,5,s)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ExchangeInjectContract.prototype.toObject=function(s){return TronWebProto.ExchangeInjectContract.toObject(s,this)},TronWebProto.ExchangeInjectContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),exchangeId:t.Message.getFieldWithDefault(i,2,0),tokenId:i.getTokenId_asB64(),quant:t.Message.getFieldWithDefault(i,4,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.ExchangeInjectContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.ExchangeInjectContract;return TronWebProto.ExchangeInjectContract.deserializeBinaryFromReader(n,i)},TronWebProto.ExchangeInjectContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=i.readInt64();s.setExchangeId(a);break;case 3:var a=i.readBytes();s.setTokenId(a);break;case 4:var a=i.readInt64();s.setQuant(a);break;default:i.skipField();break}}return s},TronWebProto.ExchangeInjectContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.ExchangeInjectContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.ExchangeInjectContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getExchangeId(),n!==0&&i.writeInt64(2,n),n=s.getTokenId_asU8(),n.length>0&&i.writeBytes(3,n),n=s.getQuant(),n!==0&&i.writeInt64(4,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},TronWebProto.ExchangeInjectContract.prototype.getExchangeId=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.ExchangeInjectContract.prototype.setExchangeId=function(s){return t.Message.setProto3IntField(this,2,s)},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(s){return t.Message.setProto3BytesField(this,3,s)},TronWebProto.ExchangeInjectContract.prototype.getQuant=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.ExchangeInjectContract.prototype.setQuant=function(s){return t.Message.setProto3IntField(this,4,s)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ExchangeWithdrawContract.prototype.toObject=function(s){return TronWebProto.ExchangeWithdrawContract.toObject(s,this)},TronWebProto.ExchangeWithdrawContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),exchangeId:t.Message.getFieldWithDefault(i,2,0),tokenId:i.getTokenId_asB64(),quant:t.Message.getFieldWithDefault(i,4,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.ExchangeWithdrawContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.ExchangeWithdrawContract;return TronWebProto.ExchangeWithdrawContract.deserializeBinaryFromReader(n,i)},TronWebProto.ExchangeWithdrawContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=i.readInt64();s.setExchangeId(a);break;case 3:var a=i.readBytes();s.setTokenId(a);break;case 4:var a=i.readInt64();s.setQuant(a);break;default:i.skipField();break}}return s},TronWebProto.ExchangeWithdrawContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.ExchangeWithdrawContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.ExchangeWithdrawContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getExchangeId(),n!==0&&i.writeInt64(2,n),n=s.getTokenId_asU8(),n.length>0&&i.writeBytes(3,n),n=s.getQuant(),n!==0&&i.writeInt64(4,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},TronWebProto.ExchangeWithdrawContract.prototype.getExchangeId=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.ExchangeWithdrawContract.prototype.setExchangeId=function(s){return t.Message.setProto3IntField(this,2,s)},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(s){return t.Message.setProto3BytesField(this,3,s)},TronWebProto.ExchangeWithdrawContract.prototype.getQuant=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.ExchangeWithdrawContract.prototype.setQuant=function(s){return t.Message.setProto3IntField(this,4,s)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ExchangeTransactionContract.prototype.toObject=function(s){return TronWebProto.ExchangeTransactionContract.toObject(s,this)},TronWebProto.ExchangeTransactionContract.toObject=function(s,i){var n,a={ownerAddress:i.getOwnerAddress_asB64(),exchangeId:t.Message.getFieldWithDefault(i,2,0),tokenId:i.getTokenId_asB64(),quant:t.Message.getFieldWithDefault(i,4,0),expected:t.Message.getFieldWithDefault(i,5,0)};return s&&(a.$jspbMessageInstance=i),a}),TronWebProto.ExchangeTransactionContract.deserializeBinary=function(s){var i=new t.BinaryReader(s),n=new TronWebProto.ExchangeTransactionContract;return TronWebProto.ExchangeTransactionContract.deserializeBinaryFromReader(n,i)},TronWebProto.ExchangeTransactionContract.deserializeBinaryFromReader=function(s,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var a=i.readBytes();s.setOwnerAddress(a);break;case 2:var a=i.readInt64();s.setExchangeId(a);break;case 3:var a=i.readBytes();s.setTokenId(a);break;case 4:var a=i.readInt64();s.setQuant(a);break;case 5:var a=i.readInt64();s.setExpected(a);break;default:i.skipField();break}}return s},TronWebProto.ExchangeTransactionContract.prototype.serializeBinary=function(){var s=new t.BinaryWriter;return TronWebProto.ExchangeTransactionContract.serializeBinaryToWriter(this,s),s.getResultBuffer()},TronWebProto.ExchangeTransactionContract.serializeBinaryToWriter=function(s,i){var n=void 0;n=s.getOwnerAddress_asU8(),n.length>0&&i.writeBytes(1,n),n=s.getExchangeId(),n!==0&&i.writeInt64(2,n),n=s.getTokenId_asU8(),n.length>0&&i.writeBytes(3,n),n=s.getQuant(),n!==0&&i.writeInt64(4,n),n=s.getExpected(),n!==0&&i.writeInt64(5,n)},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(s){return t.Message.setProto3BytesField(this,1,s)},TronWebProto.ExchangeTransactionContract.prototype.getExchangeId=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.ExchangeTransactionContract.prototype.setExchangeId=function(s){return t.Message.setProto3IntField(this,2,s)},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(s){return t.Message.setProto3BytesField(this,3,s)},TronWebProto.ExchangeTransactionContract.prototype.getQuant=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.ExchangeTransactionContract.prototype.setQuant=function(s){return t.Message.setProto3IntField(this,4,s)},TronWebProto.ExchangeTransactionContract.prototype.getExpected=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.ExchangeTransactionContract.prototype.setExpected=function(s){return t.Message.setProto3IntField(this,5,s)},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",Vvt=e=>/Android|iPhone|Mobile/i.test(e),Xxe=e=>ST()?0:Vvt(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+WxVmmSVqmypklyIWHwlVfCFQeRpReRyS1zaHyy4eLQpyqClGahgKEASe5zspPQ6BuzVhjChJbByn8W1OAAAAF3RS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rsh6mFatAJ1DtHrWc4GjECHdZ3XG7HdRLu0iZ0s2kGvYmoimXZiQVuVE03dUcRcy0FpIpZQDaxN57pogNFH1iN52SyUUtF3hN3ZBGgsqOCbd4Ocw7O/UeIZWIRMeEUtSLlfFBnmHhk53FRlbWetkSCpmdI5bgaGTS48TsQ98poXGMT12a2cnkn+cK1+MzkxNznF9DvZ7qdxBG7olKVOkRk4yKnBs4hR5MgudIxTgUan+AQg1EcmqB8wmN4iS1XNkspo/l6UpucmWWOLnMV9dU7WlWgPH04uDvc64ueEY3kfHf4+3H07NY/AcKFJGADN2nOAAAAABJRU5ErkJggg==",uuid:"dfc7efd3-2d67-482d-a8d8-d1fbae467cae",name:"OKX Mini Wallet",rdns:"com.okx.wallet"};function Jvt(){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 Xvt=[{appBaseChain:"ethereum",chain:"mainnet",chainName:"Ethereum",rpcUrl:"https://www.okx.com/fullnode/eth/discover/rpc",chainId:1,networkId:"1",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"optimism",chainName:"Optimism",rpcUrl:"https://www.okx.com/fullnode/op/discover/rpc",chainId:10,networkId:"10",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"gnosis",chainName:"Gnosis",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=100",chainId:100,networkId:"100",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ethw",chainName:"EthereumPoW",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=10001",chainId:10001,networkId:"10001",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"CFX",chainName:"Conflux",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=1030",chainId:1030,networkId:"1030",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"metis",chainName:"Metis",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=1088",chainId:1088,networkId:"1088",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"DYM",chainName:"Dymension",rpcUrl:"https://www.okx.com/fullnode/dym/discover/rpc",chainId:1100,networkId:"1100",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"POLYGON_ETH",chainName:"Polygon zkEVM",rpcUrl:"https://www.okx.com/fullnode/zkevm/discover/rpc",chainId:1101,networkId:"1101",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"WEMIX",chainName:"Wemix 3.0",rpcUrl:"https://www.okx.com/fullnode/wemix/discover/rpc",chainId:1111,networkId:"1111",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",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"core",chainName:"Core",rpcUrl:"https://www.okx.com/fullnode/core/discover/rpc",chainId:1116,networkId:"1116",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",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"moonbeam",chainName:"Moonbeam",rpcUrl:"https://www.okx.com/fullnode/moonbeam/discover/rpc",chainId:1284,networkId:"1284",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"moonriver",chainName:"Moonriver",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=1285",chainId:1285,networkId:"1285",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",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"EVM_SEI",chainName:"Sei EVM",rpcUrl:"https://www.okx.com/fullnode/seievm/discover/rpc",chainId:1329,networkId:"1329",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"IMX",chainName:"Immutable zkEVM",rpcUrl:"https://www.okx.com/fullnode/imxzkevm/discover/rpc",chainId:13371,networkId:"13371",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"polygon",chainName:"Polygon",rpcUrl:"https://www.okx.com/fullnode/poly/discover/rpc",chainId:137,networkId:"137",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"flare",chainName:"Flare",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=14",chainId:14,networkId:"14",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"IP",chainName:"Story Odyssey Testnet",rpcUrl:"https://www.okx.com/fullnode/story/testnet/discover/rpc",chainId:1516,networkId:"1516",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"G",chainName:"Gravity Alpha",rpcUrl:"https://www.okx.com/fullnode/gravity/discover/rpc",chainId:1625,networkId:"1625",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"harmony",chainName:"Harmony",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=1666600000",chainId:16666e5,networkId:"1666600000",baseChain:"harmony"},{appBaseChain:"ethereum",chain:"TAIKO_ETH",chainName:"Taiko Mainnet",rpcUrl:"https://www.okx.com/fullnode/taiko/discover/rpc",chainId:167e3,networkId:"167000",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",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"OKB",chainName:"X Layer",rpcUrl:"https://www.okx.com/fullnode/xlayer/discover/rpc/ro",chainId:196,networkId:"196",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"Bitlayer_BTC",chainName:"Bitlayer",rpcUrl:"https://www.okx.com/fullnode/bitlayer/discover/rpc",chainId:200901,networkId:"200901",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ronin",chainName:"Ronin",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=2020",chainId:2020,networkId:"2020",baseChain:"ronin"},{appBaseChain:"ethereum",chain:"RPG",chainName:"Rangers",rpcUrl:"https://www.okx.com/fullnode/ranger/discover/rpc/api/jsonrpc",chainId:2025,networkId:"2025",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"OP_BNB",chainName:"opBNB",rpcUrl:"https://www.okx.com/fullnode/opbnb/discover/rpc",chainId:204,networkId:"204",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",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"B2_BTC",chainName:"B\xB2 Network",rpcUrl:"https://www.okx.com/fullnode/b2evm/discover/rpc",chainId:223,networkId:"223",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"cronos",chainName:"Cronos",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=25",chainId:25,networkId:"25",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ftm",chainName:"Fantom",rpcUrl:"https://www.okx.com/fullnode/ftm/discover/rpc",chainId:250,networkId:"250",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"KROMA_ETH",chainName:"Kroma",rpcUrl:"https://www.okx.com/fullnode/kroma/discover/rpc",chainId:255,networkId:"255",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ONCHAIN_ETH",chainName:"Onchain Mainnet",rpcUrl:"https://www.okx.com/fullnode/onchain/discover/rpc",chainId:27563,networkId:"27563",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"boba",chainName:"Boba",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=288",chainId:288,networkId:"288",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"RBTC",chainName:"Rootstock",rpcUrl:"https://www.okx.com/fullnode/rootstock/discover/rpc",chainId:30,networkId:"30",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"FIL",chainName:"Filecoin",rpcUrl:"https://www.okx.com/fullnode/fil/discover/rpc/rpc/v1",chainId:314,networkId:"314",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"kcc",chainName:"KCC",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=321",chainId:321,networkId:"321",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ERA_ETH",chainName:"zkSync Era",rpcUrl:"https://www.okx.com/fullnode/zkera/discover/rpc",chainId:324,networkId:"324",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"APE",chainName:"ApeChain",rpcUrl:"https://www.okx.com/fullnode/ape/fork/discover/rpc",chainId:33139,networkId:"33139",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"MODE_ETH",chainName:"Mode Network",rpcUrl:"https://www.okx.com/fullnode/mode/discover/rpc",chainId:34443,networkId:"34443",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"PLS",chainName:"PulseChain",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=369",chainId:369,networkId:"369",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",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"MERLIN_BTC",chainName:"Merlin Chain",rpcUrl:"https://www.okx.com/fullnode/merlin/discover/rpc",chainId:4200,networkId:"4200",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"arbitrum",chainName:"Arbitrum One",rpcUrl:"https://www.okx.com/fullnode/arbitrumnitro/discover/rpc",chainId:42161,networkId:"42161",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ARBSEPOLIA_ETH",chainName:"Arbitrum Sepolia",rpcUrl:"https://www.okx.com/fullnode/arbitrumsepolia/discover/rpc",chainId:421614,networkId:"421614",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",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"celo",chainName:"Celo",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=42220",chainId:42220,networkId:"42220",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",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"IOTX",chainName:"IoTeX Network",rpcUrl:"https://www.okx.com/fullnode/iotx/discover/rpc",chainId:4689,networkId:"4689",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"MNT",chainName:"Mantle",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=5000",chainId:5e3,networkId:"5000",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",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"SCROLL_ETH",chainName:"Scroll",rpcUrl:"https://www.okx.com/fullnode/scroll/discover/rpc",chainId:534352,networkId:"534352",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"bsc",chainName:"BNB Chain",rpcUrl:"https://www.okx.com/fullnode/bsc/discover/rpc",chainId:56,networkId:"56",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"LINEA_ETH",chainName:"Linea",rpcUrl:"https://www.okx.com/fullnode/linea/discover/rpc",chainId:59144,networkId:"59144",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"BOB_ETH",chainName:"BOB Mainnet",rpcUrl:"https://www.okx.com/fullnode/bob/discover/rpc",chainId:60808,networkId:"60808",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ACE",chainName:"Endurance",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=648",chainId:648,networkId:"648",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"okexchain",chainName:"OKTC",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=66",chainId:66,networkId:"66",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"MAT",chainName:"Matchain",rpcUrl:"https://www.okx.com/fullnode/matchain/discover/rpc",chainId:698,networkId:"698",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ZETA",chainName:"ZetaChain Mainnet",rpcUrl:"https://www.okx.com/fullnode/zetamainnetevm/discover/rpc",chainId:7e3,networkId:"7000",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ZORA_ETH",chainName:"Zora",rpcUrl:"https://www.okx.com/fullnode/zora/discover/rpc",chainId:7777777,networkId:"7777777",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ZKLINK_ETH",chainName:"zkLink Nova",rpcUrl:"https://www.okx.com/fullnode/zklink/discover/rpc",chainId:810180,networkId:"810180",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"BLAST_ETH",chainName:"Blast",rpcUrl:"https://www.okx.com/fullnode/blast/discover/rpc",chainId:81457,networkId:"81457",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",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"BASE_ETH",chainName:"Base",rpcUrl:"https://www.okx.com/fullnode/base/discover/rpc",chainId:8453,networkId:"8453",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"CHZ",chainName:"Chiliz Chain",rpcUrl:"https://www.okx.com/fullnode/chz/discover/rpc",chainId:88888,networkId:"88888",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"LUMI_ETH",chainName:"Lumi Layer3",rpcUrl:"https://www.okx.com/fullnode/lumi/discover/rpc",chainId:94168,networkId:"94168",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"S",chainName:"Sonic",rpcUrl:"https://wallet.okex.org/nodeone/sonicevm/mainnet/v1/rpc/637f042f38a0a64dd59c954b8e6bd63de26d3e2e",chainId:146,networkId:"146",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"Unichain_ETH",chainName:"Unichain",rpcUrl:"https://wallet.okex.org/nodeone/uni/mainnet/v1/rpc/637f042f38a0a64dd59c954b8e6bd63de26d3e2e",chainId:130,networkId:"130",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"XPL",chainName:"Plasma",rpcUrl:"https://wallet.okex.org/nodeone/plasma/mainnet/v1/rpc/637f042f38a0a64dd59c954b8e6bd63de26d3e2e",chainId:9745,networkId:"9745",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"MON",chainName:"Monad",rpcUrl:"https://wallet.okex.org/fullnode/monad/discover/rpc",chainId:143,networkId:"143",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"PROS",chainName:"Pharos",rpcUrl:"https://wallet.ouxyi.cash/nodeone/pharos/mainnet/v1/rpc/637f042f38a0a64dd59c954b8e6bd63de26d3e2e",chainId:1672,networkId:"1672",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"Ink",chainName:"Ink",rpcUrl:"https://www.okx.com/nodeone/ink/mainnet/v1/rpc/637f042f38a0a64dd59c954b8e6bd63de26d3e2e",chainId:57073,networkId:"57073",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"Robinhood Chain",chainName:"Robinhood Chain",rpcUrl:"https://www.okx.com/nodeone/robinhood/mainnet/v1/rpc/637f042f38a0a64dd59c954b8e6bd63de26d3e2e",chainId:4663,networkId:"4663",baseChain:"mainnet"}],XJ=[],Qxe=e=>e.reduce((t,r)=>(t[r.chainId]=r,t),{}),Zxe=Qxe(Xvt),$xe=Zxe,eAe=e=>{$xe=e?.length?Qxe(e):Zxe},tAe=()=>$xe;m();var CT="btc:mainnet",YJ="fractal:mainnet",Yvt=[CT,YJ],QJ=[],Qvt=["solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","solana:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z","sonic:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z"],KC=[],HC=["sui:mainnet"],ZJ=[],Zvt=["aptos:mainnet"],$J=[],$vt=["cosmos:cosmoshub-4"],e1t=["ton:-239"],Nx=["tron:mainnet"],eX=[],tX=[],su={ethereum:"eip155",solana:"solana",bitcoin:"btc",aptos:"aptos",sui:"sui",cosmos:"cosmos",ton:"ton",tronWeb:"tron"},My={get ethereum(){return tAe()},bitcoin:Yvt,solana:Qvt,sui:HC,aptos:Zvt,cosmos:$vt,ton:e1t,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.S="S",e.Unichain_ETH="Unichain_ETH",e.XPL="XPL",e.MON="MON",e.PROS="PROS",e.Ink="Ink",e.ROBINHOOD_ETH="ROBINHOOD_ETH",e))(rX||{}),t1t=e=>{let t=[],r={},o=My.ethereum;if(Object.values(o).forEach(i=>{let n=`eip155:${i.networkId}`;e?XJ.includes(n)&&(t.push(n),r[i.chainId]=i.rpcUrl):XJ.includes(n)||(t.push(n),r[i.chainId]=i.rpcUrl)}),t.length===0)return{};let s={chains:t,rpcMap:r};return e&&(s.defaultChain="1"),{[su.ethereum]:s}},r1t=(e,t)=>{let r=My.ton.filter(s=>e?tX.includes(s):!tX.includes(s));if(r.length===0)return{};let o={chains:r,params:t};return{[su.ton]:o}},n1t=e=>{let t=My.solana.filter(r=>e?KC.includes(r):!KC.includes(r));return t.length===0?{}:{[su.solana]:{chains:t}}},i1t=e=>{let t=My.bitcoin.filter(r=>e?QJ.includes(r):!QJ.includes(r));return t.length===0?{}:{[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"}}}},o1t=e=>{let t=My.sui.filter(r=>e?ZJ.includes(r):!ZJ.includes(r));return t.length===0?{}:{[su.sui]:{chains:t,rpcMap:{mainnet:"https://wallet.okx.com/fullnode/sui/discover/rpc"}}}},s1t=e=>{let t=My.aptos.filter(r=>e?$J.includes(r):!$J.includes(r));return t.length===0?{}:{[su.aptos]:{chains:t}}},a1t=e=>({[su.cosmos]:{chains:My.cosmos}}),c1t=e=>{let t=My.tronWeb.filter(r=>e?eX.includes(r):!eX.includes(r));return t.length===0?{}:{[su.tronWeb]:{chains:t}}},au=(e,t=!0,r)=>{switch(e){case"ethereum":return t1t(t);case"solana":return n1t(t);case"ton":return r1t(t,r);case"bitcoin":return i1t(t);case"sui":return o1t(t);case"aptos":return s1t(t);case"cosmos":return a1t(t);case"tronWeb":return c1t(t);default:return{}}},u1t=e=>{let t={},r={};if(e?.networks)for(let o of e.networks)t={...t,...au(o,!0)},r={...r,...au(o,!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}},rAe=e=>{let{requiredNamespaces:t,optionalNamespaces:r}=u1t(e);return{namespaces:t,optionalNamespaces:r}},l1t=()=>({ethereum:rX,solana:["SOLANA","SOLANA_TESTNET","SONIC_TESTNET"],bitcoin:["BTC_MAINNET","FRACTAL_MAINNET"],aptos:["APTOS_MAINNET"],sui:["SUI_MAINNET"],cosmos:[""]});m();var f1t=e=>{let t=e.match(/tgWebAppData=([^&]*)/);return t?decodeURIComponent(t[1]||""):null};function d1t(){let e=location.hash,t=f1t(e);if(t){sessionStorage.setItem("tgWebAppData",t);return}let r=sessionStorage.getItem("tgWebAppData");r&&(location.hash=`${location.hash}#tgWebAppData=${r}`)}m(),m(),m();var QMe=hi(yg());m(),m();var mh=class vc{static instance=null;level;constructor(){this.level=2}static getInstance(){return vc.instance||(vc.instance=new vc),vc.instance}static setLevel(t){vc.getInstance().level=t}log(t,r,o,...s){if(t>=this.level){let i=r?`[${r}] ${o}`:o;switch(t){case 0:case 1:console.info(i,...s);break;case 2:console.warn(i,...s);break;case 3:console.error(i,...s);break}}}createScopedLogger(t){return{debug:(r,...o)=>this.log(0,t,r,...o),info:(r,...o)=>this.log(1,t,r,...o),warn:(r,...o)=>this.log(2,t,r,...o),error:(r,...o)=>this.log(3,t,r,...o)}}debug(t,...r){this.log(0,void 0,t,...r)}info(t,...r){this.log(1,void 0,t,...r)}warn(t,...r){this.log(2,void 0,t,...r)}error(t,...r){this.log(3,void 0,t,...r)}},rjr=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()),sNt={[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=sNt[t];return t&&r?new Lo(r.message,r.code):new Lo(e?.message??e,-32603)}return e},Fr=async e=>{try{let t=await e;if(console.log("safeCall - res: ",t),t instanceof Error)throw t;if(t&&typeof t=="object"&&"error"in t){let r="Internal error";throw t.error&&typeof t.error=="object"&&"message"in t.error&&(r=t.error.message),new Lo(r,-32603)}return t}catch(t){throw console.log("safeCall - catch error: ",t),jv(t)}},UO=e=>{throw new Lo(e??"Client not initialized",4900)},cNt={useMini:!0,openUniversalUrl:!0,tmaReturnUrl:ST()?"back":"none"},cre=class rf extends $l{static provider;static initialized=!1;options;sessionConfig=cNt;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:(this.provider=new rf,rf.initialized=!0,this.provider)}async setupClient(t,r,{namespaces:o}){this.isClientReady||!t||!r||(this.setupOptions(o),this.client=await QMe.OKXUniversalProvider.init({dappMetaData:{name:t,icon:r}}),this.isClientReady=!0)}setupOptions(t){if(!t)return;let r=rAe(t);this.options={...r}}getSessionConfig(){return this.sessionConfig}setSessionConfig(t){this.sessionConfig={...this.sessionConfig,...t}}getClient(){return this.client}getDefaultChainIdByNetwork(t){if(!this.session)return;let r=this.session.namespaces[su[t]];return r?.defaultChain?`${su[t]}:${r?.defaultChain}`:r?.chains[0]}getDefaultAccountByNetwork(t){if(!this.client)return;let r=this.getDefaultChainIdByNetwork(t);return r===void 0?this.session?.namespaces[su[t]]?.accounts[0]:this.session?.namespaces[su[t]]?.accounts.find(o=>o.startsWith(r))?.replace(`${r}:`,"")}async getUri(){return new Promise((t,r)=>{if(!this.client)return r("Client not initialized");this.client.on("short_display_uri",o=>{this.logger.info("SHORT_DISPLAY_URI event triggered",o),t(o)}),this.sessionConfig.useMini=!1,this.sessionConfig.openUniversalUrl=!1,this.sessionConfig.tmaReturnUrl="none",this.connect().catch(o=>(this.triggerEventToAdapter&&this.triggerEventToAdapter("connect_error",o),r(o)))})}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:t}={}){if(!this.client||!this.sessionConfig)return;let r={...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,t),await this.client.connect(r)}async getAllAddresses(){if(!(!this.client||!this.client.connected()))return await Fr(this.client.syncAllAddresses())}async request(t,r){if(!this.client||!this.session)return;let o=this.getDefaultChainIdByNetwork(r??"ethereum");return await this.client.request(t,o)}async disconnect(){if(this.client)return await this.client.disconnect()}subscribe(t){this.client&&Object.keys(Gd).forEach(r=>{let o=Gd[r];this.client?.on(o,s=>{o!=="short_display_uri"&&t&&(this.triggerEventToAdapter=t,t(o,s))})})}parseResponse(t){return t}},ZMe=cre;m();var KGe=hi(WGe());m(),m();function zGe(e){let t={};for(let r=0;r<e.length;r++){let o=e[r]?.split(":"),s=o?.[0],i=o?.[1],n=o?.[2],a=`${s}:${i}`;t[a]||(t[a]=[]),n&&t[a].push(n)}return t}function DE(e){return"0x"+Number(e).toString(16)}var YQt=(e,t)=>{if(!e?.namespaces)return null;let r=null;return Object.keys(e?.namespaces).forEach(o=>{o===su[t]&&(r=e.namespaces[o])}),r},Mu=(e,t)=>{let r=YQt(e,t);if(r){let o=zGe(r.accounts),s=r.chains?.[0]?o[r.chains[0]]:[];return{chains:r.chains,accounts:s??[],methods:r.methods,...r.defaultChain!==void 0&&{defaultChain:r.defaultChain},...r.extra!==void 0&&{extra:r.extra},...r.rpcMap!==void 0&&{rpcMap:r.rpcMap}}}return null},Qce=class nf 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?Mu(this.universalProvider.session,"aptos"):null}constructor(){super()}static init(t){return this.initialized?this.provider:(this.provider=new nf,this.provider.setupClient(t),nf.initialized=!0,this.provider)}setupClient(t){if(this.client){this.logger.info("client already initialized");return}let r=t.getClient();r&&(this.client=new KGe.OKXAptosProvider(r),this.universalProvider=t)}getAccount(t){if(!this.client)throw this.logger.error("client not initialized"),new Lo("Client not initialized",4900);t||(t=this.universalProvider.getDefaultChainIdByNetwork("aptos"));let r=this.client.getAccount(t);if(r)return r;throw new Lo("Account not found",4900)}async request(t){return Fr(this.universalProvider.request(t,"aptos"))}async connect(){return await Fr(this.universalProvider.connect())}async disconnect(){await Fr(this.universalProvider.disconnect())}async signMessage(t){if(!this.client)throw this.logger.error("client not initialized"),new Lo("Client not initialized",4900);let r=this.universalProvider.getDefaultChainIdByNetwork("aptos");return await Fr(this.client.signMessage(t,r))}async signTransaction(t,r){if(!this.client)return this.logger.error("client not initialized"),UO(),new Uint8Array;let o=this.universalProvider.getDefaultChainIdByNetwork("aptos"),s=await Fr(this.client.signTransaction(t,o));return s||UO("Error signing transaction"),s}async signAndSubmitTransaction(t){if(!this.client)return this.logger.error("client not initialized"),UO(),{hash:""};let r=this.universalProvider.getDefaultChainIdByNetwork("aptos"),o=await Fr(this.client.signAndSubmitTransaction(t,r));return o||UO("Error signing and submitting transaction"),{hash:o}}parseResponse(t){}},HGe=Qce;m(),m(),m();var qGe=hi(Qf(),1),_g=qGe.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"},jGe=["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"},GGe={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,o){return r==="__origin"?e:r==="__target__"?t:Reflect.get(t,r,o)},set(t,r,o){return Reflect.set(t,r,o)},deleteProperty(t,r){return Reflect.deleteProperty(t,r)}});m();var K1=(e,t)=>!e||!t||e.length!==t.length?!1:e.every((r,o)=>r===t[o]),$ce=class of extends mf{static eip6963ProviderInfo;provider;lastSession=null;constructor(t){super(),of.setupEip6963ProviderInfo(jf),this.provider=t}static setupEip6963ProviderInfo(t){this.eip6963ProviderInfo=t}createProxy(){let t=new Proxy(this,bf());return this.addEip6963Support(t),t}async request(t){if(![...jGe,...Object.values(z1)].includes(t.method))throw this.logger.error(`Method ${t.method} not supported`),new Lo("Method not supported",4200);let{method:r,params:o}=t,s=o?{method:r,params:o}:{method:r};switch(r){case z1.ETH_REQUEST_ACCOUNTS:return await this.handleRequestAccounts();case z1.PERSONAL_SIGN:s={method:z1.PERSONAL_SIGN,params:[o[0],o[1]]};break;case z1.ETH_SIGN_TYPED_DATA_V4:s={method:z1.ETH_SIGN_TYPED_DATA_V4,params:[o[0],JSON.parse(o[1])]};break;default:break}let i=await Fr(this.provider.request(s,"ethereum"));return this.getLogger().debug("Requesting accounts result: ",r,i),this.parseRequestResult(r,i)}get isConnected(){return this.provider.isConnected}async disconnect(){await this.provider.disconnect()}providerCallback(t,r){switch(t){case"connect":this.sessionUpdateCallback(r);break;case"session_update":this.sessionUpdateCallback(r);break;case"session_delete":this.sessionDeleteCallback(r);break;case"default_chain_changed":this.sessionChangeChainCallback(r);break;default:this.getLogger().warn(`provider callback not implemented: ${t}`);break}}async handleRequestAccounts(){if(!this.provider?.getClient())throw new Lo("Disconnected",4900);if(this.provider.isConnected)this.provider.session&&(this.lastSession=Mu(this.provider.session,"ethereum"));else{let r=await this.provider.connect();this.handleSessionConnected(r)}let t=await this.provider.request({method:"eth_accounts"},"ethereum");return this.getLogger().debug("Requesting accounts result: ",t),t}handleSessionConnected(t){if(t){let r=Mu(t,"ethereum");this.emit("connect",{chainId:DE(r?.defaultChain||"")}),this.emit("accountsChanged",r?.accounts),this.emit("chainChanged",DE(r?.defaultChain||"")),this.lastSession=r}}addEip6963Support(t){let r=new CustomEvent("eip6963:announceProvider",{detail:Object.freeze({info:of.eip6963ProviderInfo,provider:t})});this.logger.debug("announceProviderEvent",r),window.dispatchEvent(r),window.addEventListener("eip6963:requestProvider",()=>{window.dispatchEvent(r)})}parseRequestResult(t,r){return t===z1.ETH_CHAIN_ID?r&&DE(r):r}sessionUpdateCallback(t){!this.lastSession&&t&&this.emit("connect",{chainId:DE(t?.defaultChain||"")}),this.lastSession?.defaultChain!==t?.defaultChain&&this.emit("chainChanged",DE(t?.defaultChain||"")),K1(this.lastSession?.accounts,t?.accounts)||this.emit("accountsChanged",t?.accounts),this.lastSession=t}sessionDeleteCallback(t){this.lastSession=null;let r={code:4900,message:"Session deleted",data:{topic:t}};this.emit("disconnect",r),this.emit("accountsChanged",[]),this.emit("chainChanged","")}sessionChangeChainCallback(t){this.emit("chainChanged",DE(t));let r=this.provider.getDefaultAccountByNetwork("ethereum");this.emit("accountsChanged",[r]),this.provider.session&&(this.lastSession=Mu(this.provider.session,"ethereum"))}},VGe=$ce;m();var JGe={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=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;m();function md(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function ZQt(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function _u(e,...t){if(!ZQt(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(typeof e!="function"||typeof e.create!="function")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}var X0=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function YGe(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}var Y0=X0?e=>e:e=>YGe(e);function Dg(e){for(let t=0;t<e.length;t++)e[t]=YGe(e[t])}var $Qt=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+=$Qt[e[r]];return t}var Wm={_0:48,_9:57,A:65,F:70,a:97,f:102};function XGe(e){if(e>=Wm._0&&e<=Wm._9)return e-Wm._0;if(e>=Wm.A&&e<=Wm.F)return e-(Wm.A-10);if(e>=Wm.a&&e<=Wm.f)return e-(Wm.a-10)}function q1(e){if(typeof e!="string")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 o=new Uint8Array(r);for(let s=0,i=0;s<r;s++,i+=2){let n=XGe(e.charCodeAt(i)),a=XGe(e.charCodeAt(i+1));if(n===void 0||a===void 0){let u=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+u+'" at index '+i)}o[s]=n*16+a}return o}function Kz(e){if(typeof e!="string")throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array(new TextEncoder().encode(e))}function pc(e){return typeof e=="string"&&(e=Kz(e)),_u(e),e}function j1(...e){let t=0;for(let o=0;o<e.length;o++){let s=e[o];_u(s),t+=s.length}let r=new Uint8Array(t);for(let o=0,s=0;o<e.length;o++){let i=e[o];r.set(i,s),s+=i.length}return r}var Rg=class{clone(){return this._cloneInto()}};function QGe(e,t){if(t!==void 0&&{}.toString.call(t)!=="[object Object]")throw new Error("Options should be object or undefined");return Object.assign(e,t)}function G1(e){let t=o=>e().update(pc(o)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function ZGe(e){let t=(o,s)=>e(s).update(pc(o)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=o=>e(o),t}function $Ge(e){let t=(o,s)=>e(s).update(pc(o)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=o=>e(o),t}function Q6(e=32){if(UE&&typeof UE.getRandomValues=="function")return UE.getRandomValues(new Uint8Array(e));if(UE&&typeof UE.randomBytes=="function")return UE.randomBytes(e);throw new Error("crypto.getRandomValues must be defined")}var eVe=(e=>(e.TOO_SHORT="too_short",e.INVALID_LENGTH="invalid_length",e.INVALID_HEX_CHARS="invalid_hex_chars",e))(eVe||{}),Sr=class Cu{constructor(t){this.data=t}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)),r.length===0)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 Cu(q1(r))}catch(o){throw new wl(`Hex string contains invalid hex characters: ${o?.message}`,"invalid_hex_chars")}}static fromHexInput(t){return t instanceof Uint8Array?new Cu(t):Cu.fromHexString(t)}static hexInputToUint8Array(t){return t instanceof Uint8Array?t:Cu.fromHexString(t).toUint8Array()}static hexInputToString(t){return Cu.fromHexInput(t).toString()}static hexInputToStringWithoutPrefix(t){return Cu.fromHexInput(t).toStringWithoutPrefix()}static isValid(t){try{return Cu.fromHexString(t),{valid:!0}}catch(r){return{valid:!1,invalidReason:r?.invalidReason,invalidReasonMessage:r?.message}}}equals(t){return this.data.length!==t.data.length?!1:this.data.every((r,o)=>r===t.data[o])}},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 eZt=Object.defineProperty,tZt=Object.getOwnPropertyDescriptor,vf=(e,t,r,o)=>{for(var s=o>1?void 0:o?tZt(t,r):t,i=e.length-1,n;i>=0;i--)(n=e[i])&&(s=(o?n(t,r,s):n(s))||s);return o&&s&&eZt(t,r,s),s},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 t=new ArrayBuffer(this.buffer.byteLength*2);new Uint8Array(t).set(new Uint8Array(this.buffer)),this.buffer=t}}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 o=new DataView(this.buffer,this.offset);e.apply(o,[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(t&127|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(t=>{t.serialize(this)})}serializeOption(e,t){let r=e!==void 0;this.serializeBool(r),r&&(typeof e=="string"?this.serializeStr(e):e instanceof Uint8Array?t!==void 0?this.serializeFixedBytes(e):this.serializeBytes(e):e.serialize(this))}serializeOptionStr(e){e===void 0?this.serializeU32AsUleb128(0):(this.serializeU32AsUleb128(1),this.serializeStr(e))}};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);function Gz(e){if(typeof e!="boolean")throw new Error(`${e} is not a boolean value`)}var tVe=(e,t,r)=>`${e} is out of range: [${t}, ${r}]`;function Km(e,t,r){let o=BigInt(e);if(o>BigInt(r)||o<BigInt(t))throw new Error(tVe(e,t,r))}function FE(e,t){return(r,o,s)=>{let i=s.value;return s.value=function(n){return Km(n,e,t),i.apply(this,[n])},s}}var Ma=class em extends gr{constructor(t){super(),this.identifier=t}serialize(t){t.serializeStr(this.identifier)}static deserialize(t){let r=t.deserializeStr();return new em(r)}};m();var nVe=(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))(nVe||{}),xl=class Ss extends gr{constructor(t){if(super(),t.length!==Ss.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(t=>t===0)&&this.data[this.data.length-1]<16}toString(){return`0x${this.toStringWithoutPrefix()}`}toStringWithoutPrefix(){let t=Q0(this.data);return this.isSpecial()&&(t=t[t.length-1]),t}toStringLong(){return`0x${this.toStringLongWithoutPrefix()}`}toStringLongWithoutPrefix(){return Q0(this.data)}toUint8Array(){return this.data}serialize(t){t.serializeFixedBytes(this.data)}serializeForEntryFunction(t){let r=this.bcsToBytes();t.serializeBytes(r)}serializeForScriptFunction(t){t.serializeU32AsUleb128(3),t.serialize(this)}static deserialize(t){let r=t.deserializeFixedBytes(Ss.LENGTH);return new Ss(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=Ss.fromString(t);if(t.length!==Ss.LONG_STRING_LENGTH+2)if(r.isSpecial()){if(t.length!==3)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")}else 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");return r}static fromString(t,{maxMissingChars:r=4}={}){let o=t;if(t.startsWith("0x")&&(o=t.slice(2)),o.length===0)throw new wl("Hex string is too short, must be 1 to 64 chars long, excluding the leading 0x.","too_short");if(o.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");let s;try{s=q1(o.padStart(64,"0"))}catch(n){throw new wl(`Hex characters are invalid: ${n?.message}`,"invalid_hex_chars")}let i=new Ss(s);if(o.length<64-r&&!i.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 
the addresss by padding it with 0s before passing it to \`fromString\` (e.g. <addressString>.padStart(64, '0')). 
Received ${t}`,"too_short");return i}static from(t,{maxMissingChars:r=4}={}){return typeof t=="string"?Ss.fromString(t,{maxMissingChars:r}):t instanceof Uint8Array?new Ss(t):t}static fromStrict(t){return typeof t=="string"?Ss.fromStringStrict(t):t instanceof Uint8Array?new Ss(t):t}static isValid(t){try{return t.strict?Ss.fromStrict(t.input):Ss.from(t.input),{valid:!0}}catch(r){return{valid:!1,invalidReason:r?.invalidReason,invalidReasonMessage:r?.message}}}equals(t){return this.data.length!==t.data.length?!1:this.data.every((r,o)=>r===t.data[o])}};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 rm extends gr{deserialize(t){let r=st.deserialize(t),o=Ma.deserialize(t),s=Ma.deserialize(t),i=t.deserializeVector(rm);return new WE(r,o,s,i)}static deserialize(t){let r=t.deserializeUleb128AsU32();switch(r){case 0:return gc.load(t);case 1:return Ph.load(t);case 2:return Nu.load(t);case 3:return Y1.load(t);case 4:return Al.load(t);case 5:return Z6.load(t);case 6:return Zo.load(t);case 7:return fn.load(t);case 8:return J1.load(t);case 9:return X1.load(t);case 10:return Q1.load(t);case 255:return fa.load(t);default:throw new Error(`Unknown variant index for TypeTag: ${r}`)}}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 nm extends la{toString(){return"bool"}serialize(t){t.serializeU32AsUleb128(0)}static load(t){return new nm}},Ph=class im extends la{toString(){return"u8"}serialize(t){t.serializeU32AsUleb128(1)}static load(t){return new im}},J1=class om extends la{toString(){return"u16"}serialize(t){t.serializeU32AsUleb128(8)}static load(t){return new om}},X1=class sm extends la{toString(){return"u32"}serialize(t){t.serializeU32AsUleb128(9)}static load(t){return new sm}},Nu=class am extends la{toString(){return"u64"}serialize(t){t.serializeU32AsUleb128(2)}static load(t){return new am}},Y1=class um extends la{toString(){return"u128"}serialize(t){t.serializeU32AsUleb128(3)}static load(t){return new um}},Q1=class cm extends la{toString(){return"u256"}serialize(t){t.serializeU32AsUleb128(10)}static load(t){return new cm}},Al=class lm extends la{toString(){return"address"}serialize(t){t.serializeU32AsUleb128(4)}static load(t){return new lm}},Z6=class dm extends la{toString(){return"signer"}serialize(t){t.serializeU32AsUleb128(5)}static load(t){return new dm}},due=class hm extends la{constructor(t){super(),this.value=t}toString(){return`&${this.value.toString()}`}serialize(t){t.serializeU32AsUleb128(254)}static load(t){let r=la.deserialize(t);return new hm(r)}},fa=class fm extends la{constructor(t){if(super(),this.value=t,t<0)throw new Error("Generic type parameter index cannot be negative")}toString(){return`T${this.value}`}serialize(t){t.serializeU32AsUleb128(255),t.serializeU32(this.value)}static load(t){let r=t.deserializeU32();return new fm(r)}},Zo=class sf extends la{constructor(t){super(),this.value=t}toString(){return`vector<${this.value.toString()}>`}static u8(){return new sf(new Ph)}serialize(t){t.serializeU32AsUleb128(6),this.value.serialize(t)}static load(t){let r=la.deserialize(t);return new sf(r)}},fn=class pm extends la{constructor(t){super(),this.value=t}toString(){let t="";return this.value.typeArgs.length>0&&(t=`<${this.value.typeArgs.map(r=>r.toString()).join(", ")}>`),`${this.value.address.toString()}::${this.value.moduleName.identifier}::${this.value.name.identifier}${t}`}serialize(t){t.serializeU32AsUleb128(7),this.value.serialize(t)}static load(t){let r=WE.deserialize(t);return new pm(r)}isTypeTag(t,r,o){return this.value.moduleName.identifier===r&&this.value.name.identifier===o&&this.value.address.equals(t)}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 ym extends gr{constructor(t,r,o,s){super(),this.address=t,this.moduleName=r,this.name=o,this.typeArgs=s}serialize(t){t.serialize(this.address),t.serialize(this.moduleName),t.serialize(this.name),t.serializeVector(this.typeArgs)}static deserialize(t){let r=st.deserialize(t),o=Ma.deserialize(t),s=Ma.deserialize(t),i=t.deserializeVector(la);return new ym(r,o,s,i)}};function To(){return new WE(st.ONE,new Ma("string"),new Ma("String"),[])}function wf(e){return new WE(st.ONE,new Ma("object"),new Ma("Object"),[e])}function bVe(e){return!!e.match(/^[_a-zA-Z0-9]+$/)}function vVe(e){return!!e.match(/\s/)}function rZt(e){return!!e.match(/^T[0-9]+$/)}function nZt(e){return!!e.match(/^&.+$/)}function iZt(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 oZt(e,t){let r=t;for(;r<e.length;r+=1){let o=e[r];if(!vVe(o))break}return r}var wVe=(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))(wVe||{}),zc=class extends Error{constructor(e,t){super(`Failed to parse typeTag '${e}', ${t}`)}};function Ug(e,t){let r=t?.allowGenerics??!1,o=[],s=[],i=[],n=0,a="",u=1;for(;n<e.length;){let c=e[n];if(c==="<")o.push({savedExpectedTypes:u,savedStr:a,savedTypes:i}),a="",i=[],u=1;else if(c===">"){if(a!==""){let w=xP(a,s,r);i.push(w)}let d=o.pop();if(d===void 0)throw new zc(e,"unexpected '>'");if(u!==i.length)throw new zc(e,"type argument count doesn't match expected amount");let{savedStr:h,savedTypes:y,savedExpectedTypes:C}=d;s=i,i=y,a=h,u=C}else if(c===","){if(o.length===0)throw new zc(e,"unexpected ','");if(a.length===0)throw new zc(e,"no type argument before ','");let d=xP(a,s,r);s=[],i.push(d),a="",u+=1}else if(vVe(c)){let d=!1;if(a.length!==0){let y=xP(a,s,r);s=[],i.push(y),a="",d=!0}n=oZt(e,n);let h=e[n];if(n<e.length&&d&&h!==","&&h!==">")throw new zc(e,"unexpected whitespace character");continue}else a+=c;n+=1}if(o.length>0)throw new zc(e,"no matching '>' for '<'");switch(i.length){case 0:return xP(a,s,r);case 1:if(a==="")return i[0];throw new zc(e,"unexpected ','");default:throw new zc(e,"unexpected whitespace character")}}function xP(e,t,r){let o=e.trim(),s=o.toLowerCase();if(iZt(s)&&t.length>0)throw new zc(e,"primitive types not expected to have type arguments");switch(o.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(t.length!==1)throw new zc(e,"vector type expected to have exactly one type argument");return new Zo(t[0]);default:if(nZt(o)){let a=o.substring(1);return new due(xP(a,t,r))}if(rZt(o)){if(r)return new fa(Number(o.split("T")[1]));throw new zc(e,"unexpected generic type")}if(!o.match(/:/))throw new zc(e,"unknown type");let i=o.split("::");if(i.length!==3)throw new zc(e,"unexpected struct format, must be of the form 0xaddress::module_name::struct_name");let n;try{n=st.fromString(i[0])}catch{throw new zc(e,"struct address must be valid")}if(!bVe(i[1]))throw new zc(e,"module name must only contain alphanumeric or '_' characters");if(!bVe(i[2]))throw new zc(e,"struct name must only contain alphanumeric or '_' characters");return new fn(new WE(n,new Ma(i[1]),new Ma(i[2]),t))}}m(),m();var $6=class mm extends gr{constructor(t){super(),this.value=Sr.fromHexInput(t).toUint8Array()}serialize(t){t.serializeFixedBytes(this.value)}serializeForEntryFunction(t){t.serialize(this)}serializeForScriptFunction(t){t.serialize(this)}static deserialize(t,r){let o=t.deserializeFixedBytes(r);return new mm(o)}};m(),m();var Is=class wm extends gr{constructor(t){super(),Gz(t),this.value=t}serialize(t){t.serializeBool(this.value)}serializeForEntryFunction(t){let r=this.bcsToBytes();t.serializeBytes(r)}serializeForScriptFunction(t){t.serializeU32AsUleb128(5),t.serialize(this)}deserialize(t){return new Z0(t.deserializeU256())}static deserialize(t){return new wm(t.deserializeBool())}},El=class vm extends gr{constructor(t){super(),Km(t,0,Hz),this.value=t}serialize(t){t.serializeU8(this.value)}serializeForEntryFunction(t){let r=this.bcsToBytes();t.serializeBytes(r)}serializeForScriptFunction(t){t.serializeU32AsUleb128(0),t.serialize(this)}static deserialize(t){return new vm(t.deserializeU8())}},Lg=class Am extends gr{constructor(t){super(),Km(t,0,qz),this.value=t}serialize(t){t.serializeU16(this.value)}serializeForEntryFunction(t){let r=this.bcsToBytes();t.serializeBytes(r)}serializeForScriptFunction(t){t.serializeU32AsUleb128(6),t.serialize(this)}static deserialize(t){return new Am(t.deserializeU16())}},Fg=class Em extends gr{constructor(t){super(),Km(t,0,zm),this.value=t}serialize(t){t.serializeU32(this.value)}serializeForEntryFunction(t){let r=this.bcsToBytes();t.serializeBytes(r)}serializeForScriptFunction(t){t.serializeU32AsUleb128(7),t.serialize(this)}static deserialize(t){return new Em(t.deserializeU32())}},Du=class Tm extends gr{constructor(t){super(),Km(t,BigInt(0),LE),this.value=BigInt(t)}serialize(t){t.serializeU64(this.value)}serializeForEntryFunction(t){let r=this.bcsToBytes();t.serializeBytes(r)}serializeForScriptFunction(t){t.serializeU32AsUleb128(1),t.serialize(this)}static deserialize(t){return new Tm(t.deserializeU64())}},Wg=class Cm extends gr{constructor(t){super(),Km(t,BigInt(0),wP),this.value=BigInt(t)}serialize(t){t.serializeU128(this.value)}serializeForEntryFunction(t){let r=this.bcsToBytes();t.serializeBytes(r)}serializeForScriptFunction(t){t.serializeU32AsUleb128(2),t.serialize(this)}static deserialize(t){return new Cm(t.deserializeU128())}},Z0=class Sm extends gr{constructor(t){super(),Km(t,BigInt(0),jz),this.value=BigInt(t)}serialize(t){t.serializeU256(this.value)}serializeForEntryFunction(t){let r=this.bcsToBytes();t.serializeBytes(r)}serializeForScriptFunction(t){t.serializeU32AsUleb128(8),t.serialize(this)}static deserialize(t){return new Sm(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(e==="string")return this.deserializeStr();if(e==="bytes")return this.deserializeBytes();if(e==="fixedBytes"){if(t===void 0)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(e!==1&&e!==0)throw new Error("Invalid boolean value");return e===1}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(r&127)<<BigInt(t),!(r&128))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 o=0;o<t;o+=1)r.push(this.deserialize(e));return r}},Yn=class Sa extends gr{constructor(t){super(),this.values=t}serializeForEntryFunction(t){let r=this.bcsToBytes();t.serializeBytes(r)}serializeForScriptFunction(t){if(this.values[0]!==void 0&&!(this.values[0]instanceof El)){new Vz(this.bcsToBytes()).serializeForScriptFunction(t);return}t.serializeU32AsUleb128(4),t.serialize(this)}static U8(t){let r;if(Array.isArray(t)&&t.length===0)r=[];else if(Array.isArray(t)&&typeof t[0]=="number")r=t;else if(typeof t=="string"){let o=Sr.fromHexInput(t);r=Array.from(o.toUint8Array())}else if(t instanceof Uint8Array)r=Array.from(t);else throw new Error("Invalid input type, must be an number[], Uint8Array, or hex string");return new Sa(r.map(o=>new El(o)))}static U16(t){return new Sa(t.map(r=>new Lg(r)))}static U32(t){return new Sa(t.map(r=>new Fg(r)))}static U64(t){return new Sa(t.map(r=>new Du(r)))}static U128(t){return new Sa(t.map(r=>new Wg(r)))}static U256(t){return new Sa(t.map(r=>new Z0(r)))}static Bool(t){return new Sa(t.map(r=>new Is(r)))}static MoveString(t){return new Sa(t.map(r=>new go(r)))}serialize(t){t.serializeVector(this.values)}static deserialize(t,r){let o=t.deserializeUleb128AsU32(),s=new Array;for(let i=0;i<o;i+=1)s.push(r.deserialize(t));return new Sa(s)}},Vz=class Im extends gr{constructor(t){super(),this.value=Sr.fromHexInput(t).toUint8Array()}serialize(t){t.serializeBytes(this.value)}serializeForEntryFunction(t){this.serialize(t)}serializeForScriptFunction(t){t.serializeU32AsUleb128(9),this.serialize(t)}static deserialize(t){return new Im(t.deserializeBytes())}toMoveVector(t){let r=new _a(this.bcsToBytes());r.deserializeUleb128AsU32();let o=r.deserializeVector(t);return new Yn(o)}},go=class Om extends gr{constructor(t){super(),this.value=t}serialize(t){t.serializeStr(this.value)}serializeForEntryFunction(t){let r=this.bcsToBytes();t.serializeBytes(r)}serializeForScriptFunction(t){let r=new TextEncoder().encode(this.value);Yn.U8(r).serializeForScriptFunction(t)}static deserialize(t){return new Om(t.deserializeStr())}},Tl=class Ia extends gr{constructor(t){super(),typeof t<"u"&&t!==null?this.vec=new Yn([t]):this.vec=new Yn([]),[this.value]=this.vec.values}serializeForEntryFunction(t){let r=this.bcsToBytes();t.serializeBytes(r)}unwrap(){if(this.isSome())return this.vec.values[0];throw new Error("Called unwrap on a MoveOption with no value")}isSome(){return this.vec.values.length===1}serialize(t){this.vec.serialize(t)}static U8(t){return new Ia(t!=null?new El(t):void 0)}static U16(t){return new Ia(t!=null?new Lg(t):void 0)}static U32(t){return new Ia(t!=null?new Fg(t):void 0)}static U64(t){return new Ia(t!=null?new Du(t):void 0)}static U128(t){return new Ia(t!=null?new Wg(t):void 0)}static U256(t){return new Ia(t!=null?new Z0(t):void 0)}static Bool(t){return new Ia(t!=null?new Is(t):void 0)}static MoveString(t){return new Ia(t!=null?new go(t):void 0)}static deserialize(t,r){let o=Yn.deserialize(t,r);return new Ia(o.values[0])}};function hue(e){return typeof e=="boolean"}function Hm(e){return typeof e=="string"}function kVe(e){return typeof e=="number"}function AP(e){if(kVe(e))return e;if(Hm(e)&&e!=="")return Number.parseInt(e,10)}function EP(e){return typeof e=="number"||typeof e=="bigint"||typeof e=="string"}function pue(e){return e==null}function gue(e){return Jz(e)||Yz(e)||Qz(e)||Zz(e)||$z(e)||eK(e)||tK(e)||TP(e)||Xz(e)||MVe(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 MVe(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(r=>r!=="signer"&&r!=="&signer");return t<0?e.params.length:t}function e4(e){let t=e.split("::");if(t.length!==3)throw new Error(`Invalid function ${e}`);let r=t[0],o=t[1],s=t[2];return{moduleAddress:r,moduleName:o,functionName:s}}m(),m(),m(),m();var sZt=`
    fragment TokenActivitiesFields on token_activities_v2 {
  after_value
  before_value
  entry_function_id_str
  event_account_address
  event_index
  from_address
  is_fungible_v2
  property_version_v1
  to_address
  token_amount
  token_data_id
  token_standard
  transaction_timestamp
  transaction_version
  type
}
    `,aZt=`
    fragment AnsTokenFragment on current_aptos_names {
  domain
  expiration_timestamp
  registered_address
  subdomain
  token_standard
  is_primary
  owner_address
  subdomain_expiration_policy
  domain_expiration_timestamp
}
    `,rK=`
    fragment CurrentTokenOwnershipFields on current_token_ownerships_v2 {
  token_standard
  token_properties_mutated_v1
  token_data_id
  table_type_v1
  storage_id
  property_version_v1
  owner_address
  last_transaction_version
  last_transaction_timestamp
  is_soulbound_v2
  is_fungible_v2
  amount
  current_token_data {
    collection_id
    description
    is_fungible_v2
    largest_property_version_v1
    last_transaction_timestamp
    last_transaction_version
    maximum
    supply
    token_data_id
    token_name
    token_properties
    token_standard
    token_uri
    decimals
    current_collection {
      collection_id
      collection_name
      creator_address
      current_supply
      description
      last_transaction_timestamp
      last_transaction_version
      max_supply
      mutable_description
      mutable_uri
      table_handle_v1
      token_standard
      total_minted_v2
      uri
    }
  }
}
    `,_Ve=`
    query getAccountCoinsCount($address: String) {
  current_fungible_asset_balances_aggregate(
    where: {owner_address: {_eq: $address}}
  ) {
    aggregate {
      count
    }
  }
}
    `,RVe=`
    query getAccountCoinsData($where_condition: current_fungible_asset_balances_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_fungible_asset_balances_order_by!]) {
  current_fungible_asset_balances(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    amount
    asset_type
    is_frozen
    is_primary
    last_transaction_timestamp
    last_transaction_version
    owner_address
    storage_id
    token_standard
    metadata {
      token_standard
      symbol
      supply_aggregator_table_key_v1
      supply_aggregator_table_handle_v1
      project_uri
      name
      last_transaction_version
      last_transaction_timestamp
      icon_uri
      decimals
      creator_address
      asset_type
    }
  }
}
    `,NVe=`
    query getAccountCollectionsWithOwnedTokens($where_condition: current_collection_ownership_v2_view_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_collection_ownership_v2_view_order_by!]) {
  current_collection_ownership_v2_view(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    current_collection {
      collection_id
      collection_name
      creator_address
      current_supply
      description
      last_transaction_timestamp
      last_transaction_version
      mutable_description
      max_supply
      mutable_uri
      table_handle_v1
      token_standard
      total_minted_v2
      uri
    }
    collection_id
    collection_name
    collection_uri
    creator_address
    distinct_tokens
    last_transaction_version
    owner_address
    single_token_uri
  }
}
    `,DVe=`
    query getAccountOwnedTokens($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {
  current_token_ownerships_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    ...CurrentTokenOwnershipFields
  }
}
    ${rK}`,D$r=`
    query getAccountOwnedTokensByTokenData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {
  current_token_ownerships_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    ...CurrentTokenOwnershipFields
  }
}
    ${rK}`,UVe=`
    query getAccountOwnedTokensFromCollection($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {
  current_token_ownerships_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    ...CurrentTokenOwnershipFields
  }
}
    ${rK}`,LVe=`
    query getAccountTokensCount($where_condition: current_token_ownerships_v2_bool_exp, $offset: Int, $limit: Int) {
  current_token_ownerships_v2_aggregate(
    where: $where_condition
    offset: $offset
    limit: $limit
  ) {
    aggregate {
      count
    }
  }
}
    `,FVe=`
    query getAccountTransactionsCount($address: String) {
  account_transactions_aggregate(where: {account_address: {_eq: $address}}) {
    aggregate {
      count
    }
  }
}
    `,WVe=`
    query getChainTopUserTransactions($limit: Int) {
  user_transactions(limit: $limit, order_by: {version: desc}) {
    version
  }
}
    `,zVe=`
    query getCollectionData($where_condition: current_collections_v2_bool_exp!) {
  current_collections_v2(where: $where_condition) {
    uri
    total_minted_v2
    token_standard
    table_handle_v1
    mutable_uri
    mutable_description
    max_supply
    collection_id
    collection_name
    creator_address
    current_supply
    description
    last_transaction_timestamp
    last_transaction_version
    cdn_asset_uris {
      cdn_image_uri
      asset_uri
      animation_optimizer_retry_count
      cdn_animation_uri
      cdn_json_uri
      image_optimizer_retry_count
      json_parser_retry_count
      raw_animation_uri
      raw_image_uri
    }
  }
}
    `,KVe=`
    query getCurrentFungibleAssetBalances($where_condition: current_fungible_asset_balances_bool_exp, $offset: Int, $limit: Int) {
  current_fungible_asset_balances(
    where: $where_condition
    offset: $offset
    limit: $limit
  ) {
    amount
    asset_type
    is_frozen
    is_primary
    last_transaction_timestamp
    last_transaction_version
    owner_address
    storage_id
    token_standard
  }
}
    `,HVe=`
    query getDelegatedStakingActivities($delegatorAddress: String, $poolAddress: String) {
  delegated_staking_activities(
    where: {delegator_address: {_eq: $delegatorAddress}, pool_address: {_eq: $poolAddress}}
  ) {
    amount
    delegator_address
    event_index
    event_type
    pool_address
    transaction_version
  }
}
    `,qVe=`
    query getEvents($where_condition: events_bool_exp, $offset: Int, $limit: Int, $order_by: [events_order_by!]) {
  events(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    account_address
    creation_number
    data
    event_index
    sequence_number
    transaction_block_height
    transaction_version
    type
    indexed_type
  }
}
    `,jVe=`
    query getFungibleAssetActivities($where_condition: fungible_asset_activities_bool_exp, $offset: Int, $limit: Int) {
  fungible_asset_activities(
    where: $where_condition
    offset: $offset
    limit: $limit
  ) {
    amount
    asset_type
    block_height
    entry_function_id_str
    event_index
    gas_fee_payer_address
    is_frozen
    is_gas_fee
    is_transaction_success
    owner_address
    storage_id
    storage_refund_amount
    token_standard
    transaction_timestamp
    transaction_version
    type
  }
}
    `,GVe=`
    query getFungibleAssetMetadata($where_condition: fungible_asset_metadata_bool_exp, $offset: Int, $limit: Int) {
  fungible_asset_metadata(where: $where_condition, offset: $offset, limit: $limit) {
    icon_uri
    project_uri
    supply_aggregator_table_handle_v1
    supply_aggregator_table_key_v1
    creator_address
    asset_type
    decimals
    last_transaction_timestamp
    last_transaction_version
    name
    symbol
    token_standard
    supply_v2
    maximum_v2
  }
}
    `,t4=`
    query getNames($offset: Int, $limit: Int, $where_condition: current_aptos_names_bool_exp, $order_by: [current_aptos_names_order_by!]) {
  current_aptos_names(
    limit: $limit
    where: $where_condition
    order_by: $order_by
    offset: $offset
  ) {
    ...AnsTokenFragment
  }
}
    ${aZt}`,bue=`
    query getNumberOfDelegators($where_condition: num_active_delegator_per_pool_bool_exp, $order_by: [num_active_delegator_per_pool_order_by!]) {
  num_active_delegator_per_pool(where: $where_condition, order_by: $order_by) {
    num_active_delegator
    pool_address
  }
}
    `,nK=`
    query getObjectData($where_condition: current_objects_bool_exp, $offset: Int, $limit: Int, $order_by: [current_objects_order_by!]) {
  current_objects(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    allow_ungated_transfer
    state_key_hash
    owner_address
    object_address
    last_transaction_version
    last_guid_creation_num
    is_deleted
  }
}
    `,vue=`
    query getProcessorStatus($where_condition: processor_status_bool_exp) {
  processor_status(where: $where_condition) {
    last_success_version
    processor
    last_updated
  }
}
    `,VVe=`
    query getTableItemsData($where_condition: table_items_bool_exp!, $offset: Int, $limit: Int, $order_by: [table_items_order_by!]) {
  table_items(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    decoded_key
    decoded_value
    key
    table_handle
    transaction_version
    write_set_change_index
  }
}
    `,JVe=`
    query getTableItemsMetadata($where_condition: table_metadatas_bool_exp!, $offset: Int, $limit: Int, $order_by: [table_metadatas_order_by!]) {
  table_metadatas(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    handle
    key_type
    value_type
  }
}
    `,XVe=`
    query getTokenActivity($where_condition: token_activities_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [token_activities_v2_order_by!]) {
  token_activities_v2(
    where: $where_condition
    order_by: $order_by
    offset: $offset
    limit: $limit
  ) {
    ...TokenActivitiesFields
  }
}
    ${sZt}`,wue=`
    query getCurrentTokenOwnership($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {
  current_token_ownerships_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    ...CurrentTokenOwnershipFields
  }
}
    ${rK}`,YVe=`
    query getTokenData($where_condition: current_token_datas_v2_bool_exp, $offset: Int, $limit: Int, $order_by: [current_token_datas_v2_order_by!]) {
  current_token_datas_v2(
    where: $where_condition
    offset: $offset
    limit: $limit
    order_by: $order_by
  ) {
    collection_id
    description
    is_fungible_v2
    largest_property_version_v1
    last_transaction_timestamp
    last_transaction_version
    maximum
    supply
    token_data_id
    token_name
    token_properties
    token_standard
    token_uri
    decimals
    current_collection {
      collection_id
      collection_name
      creator_address
      current_supply
      description
      last_transaction_timestamp
      last_transaction_version
      max_supply
      mutable_description
      mutable_uri
      table_handle_v1
      token_standard
      total_minted_v2
      uri
    }
  }
}
    `;m(),m(),m(),m(),m();var xue=typeof P.Buffer=="function",QVe=typeof TextDecoder=="function"?new TextDecoder:void 0,F$r=typeof TextEncoder=="function"?new TextEncoder:void 0,cZt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",uZt=Array.prototype.slice.call(cZt),iK=(e=>{let t={};return e.forEach((r,o)=>t[r]=o),t})(uZt),lZt=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,zE=String.fromCharCode.bind(String),ZVe=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),$Ve=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),fZt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,dZt=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),r=t-65536;return zE((r>>>10)+55296)+zE((r&1023)+56320);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))}},hZt=e=>e.replace(fZt,dZt),pZt=e=>{if(e=e.replace(/\s+/g,""),!lZt.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(e.length&3));let t,r="",o,s;for(let i=0;i<e.length;)t=iK[e.charAt(i++)]<<18|iK[e.charAt(i++)]<<12|(o=iK[e.charAt(i++)])<<6|(s=iK[e.charAt(i++)]),r+=o===64?zE(t>>16&255):s===64?zE(t>>16&255,t>>8&255):zE(t>>16&255,t>>8&255,t&255);return r},eJe=typeof atob=="function"?e=>atob($Ve(e)):xue?e=>P.Buffer.from(e,"base64").toString("binary"):pZt,gZt=xue?e=>ZVe(P.Buffer.from(e,"base64")):e=>ZVe(eJe(e).split("").map(t=>t.charCodeAt(0))),yZt=xue?e=>P.Buffer.from(e,"base64").toString("utf8"):QVe?e=>QVe.decode(gZt(e)):e=>hZt(eJe(e)),mZt=e=>$Ve(e.replace(/[-_]/g,t=>t=="-"?"+":"/")),tJe=e=>yZt(mZt(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(e*1e3);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 tJe(r)}var rJe=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:o}=e,s=rJe(r),i=rJe(o);return`${t}::${s}::${i}`},Sue=e=>typeof e=="object"&&!Array.isArray(e)&&e!==null&&"account_address"in e&&"module_name"in e&&"struct_name"in e&&typeof e.account_address=="string"&&typeof e.module_name=="string"&&typeof e.struct_name=="string",iJe=(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))(iJe||{}),oJe=(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))(oJe||{}),sJe=(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))(sJe||{}),nJe={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 af extends Error{constructor(t){let{innerError:r,category:o,resolutionTip:s,type:i,message:n=nJe[i][0],details:a}=t;super(n),this.name="KeylessError",this.innerError=r,this.category=o,this.resolutionTip=s,this.type=i,this.details=a,this.message=af.constructMessage(n,s,r,a)}static constructMessage(t,r,o,s){let i=`
Message: ${t}`;return s&&(i+=`
Details: ${s}`),o instanceof $0?i+=`
AptosApiError: ${o.message}`:o!==void 0&&(i+=`
Error: ${SP(o)}`),i+=`
KeylessErrorResolutionTip: ${r}`,i}static fromErrorType(t){let{error:r,type:o,details:s}=t,[i,n,a]=nJe[o];return new af({message:i,details:s,innerError:r,category:n,resolutionTip:a,type:o})}},$0=class extends Error{constructor({apiType:e,aptosRequest:t,aptosResponse:r}){super(bZt({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 bZt({apiType:e,aptosRequest:t,aptosResponse:r}){let o=r.headers?.traceparent?.split("-")[1],s=o?`(trace_id:${o}) `:"",i=`Request to [${e}]: ${t.method} ${r.url??t.url} ${s}failed with`;return e==="Indexer"&&r.data?.errors?.[0]?.message!=null?`${i}: ${r.data.errors[0].message}`:r.data?.message!=null&&r.data?.error_code!=null?`${i}: ${JSON.stringify(r.data)}`:`${i} status: ${r.statusText}(code:${r.status}) and response body: ${vZt(r.data)}`}var Cue=400;function vZt(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 aJe="1.33.0";async function cJe(e,t){let{url:r,method:o,body:s,contentType:i,params:n,overrides:a,originMethod:u}=e,c={...a?.HEADERS,"x-aptos-client":`aptos-typescript-sdk/${aJe}`,"content-type":i??"application/json","x-aptos-typescript-sdk-origin-method":u};return a?.AUTH_TOKEN&&(c.Authorization=`Bearer ${a?.AUTH_TOKEN}`),a?.API_KEY&&(c.Authorization=`Bearer ${a?.API_KEY}`),t.provider({url:r,method:o,body:s,params:n,headers:c,overrides:a})}async function CP(e,t,r){let{url:o,path:s}=e,i=s?`${o}/${s}`:o,n=await cJe({...e,url:i},t.client),a={status:n.status,statusText:n.statusText??"No status text provided",data:n.data,headers:n.headers,config:n.config,request:n.request,url:i};if(a.status===401)throw new $0({apiType:r,aptosRequest:e,aptosResponse:a});if(r==="Indexer"){let u=a.data;if(u.errors)throw new $0({apiType:r,aptosRequest:e,aptosResponse:a});a.data=u.data}else if((r==="Pepper"||r==="Prover")&&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:o,contentType:s,acceptType:i,path:n,originMethod:a,type:u}=e,c=t.getRequestUrl(u);return CP({url:c,method:"GET",originMethod:a,path:n,contentType:s,acceptType:i,params:o,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,o=e.params;do{let s=await Oue({type:"Fullnode",aptosConfig:e.aptosConfig,originMethod:e.originMethod,path:e.path,params:o,overrides:e.overrides});r=s.headers["x-aptos-cursor"],delete s.headers,t.push(...s.data),o.start=r}while(r!=null);return t}m();async function r4(e){let{type:t,originMethod:r,path:o,body:s,acceptType:i,contentType:n,params:a,aptosConfig:u,overrides:c}=e,d=u.getRequestUrl(t);return CP({url:d,method:"POST",originMethod:r,path:o,body:s,contentType:n,acceptType:i,params:a,overrides:c},u,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 kue(e){return r4({...e,type:"Pepper"})}async function Mue(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 uJe(e){let{aptosConfig:t,limit:r}=e;return(await Pn({aptosConfig:t,query:{query:WVe,variables:{limit:r}},originMethod:"getChainTopUserTransactions"})).user_transactions}async function Pn(e){let{aptosConfig:t,query:r,originMethod:o}=e,{data:s}=await Pue({aptosConfig:t,originMethod:o??"queryIndexer",path:"",body:r,overrides:{WITH_CREDENTIALS:!1}});return s}async function wZt(e){let{aptosConfig:t}=e;return(await Pn({aptosConfig:t,query:{query:vue},originMethod:"getProcessorStatuses"})).processor_status}async function sK(e){let t=await wZt({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:o,options:s}=e;return(await jm({aptosConfig:t,originMethod:"getTableItem",path:`tables/${r}/item`,params:{ledger_version:s?.ledgerVersion},body:o})).data}async function lJe(e){let{aptosConfig:t,options:r}=e,o={query:VVe,variables:{where_condition:r?.where,offset:r?.offset,limit:r?.limit,order_by:r?.orderBy}};return(await Pn({aptosConfig:t,query:o,originMethod:"getTableItemsData"})).table_items}async function fJe(e){let{aptosConfig:t,options:r}=e,o={query:JVe,variables:{where_condition:r?.where,offset:r?.offset,limit:r?.limit,order_by:r?.orderBy}};return(await Pn({aptosConfig:t,query:o,originMethod:"getTableItemsMetadata"})).table_metadatas}m(),m(),m(),m(),m(),m();var uK=class uf extends gr{constructor(t,r){super(),this.address=t,this.name=r}static fromStr(t){let r=t.split("::");if(r.length!==2)throw new Error("Invalid module id.");return new uf(st.fromString(r[0]),new Ma(r[1]))}serialize(t){this.address.serialize(t),this.name.serialize(t)}static deserialize(t){let r=st.deserialize(t),o=Ma.deserialize(t);return new uf(r,o)}};m();var Rue=class km extends gr{constructor(t){super(),this.value=new $6(t)}serialize(t){t.serialize(this.value)}serializeForEntryFunction(t){t.serializeU32AsUleb128(this.value.value.length),t.serialize(this)}static deserialize(t,r){let o=$6.deserialize(t,r);return new km(o.value)}};function hJe(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 Pm extends n4{constructor(t){super(),this.script=t}serialize(t){t.serializeU32AsUleb128(0),this.script.serialize(t)}static load(t){let r=hK.deserialize(t);return new Pm(r)}},fK=class Bm extends n4{constructor(t){super(),this.entryFunction=t}serialize(t){t.serializeU32AsUleb128(2),this.entryFunction.serialize(t)}static load(t){let r=i4.deserialize(t);return new Bm(r)}},dK=class xm extends n4{constructor(t){super(),this.multiSig=t}serialize(t){t.serializeU32AsUleb128(3),this.multiSig.serialize(t)}static load(t){let r=pK.deserialize(t);return new xm(r)}},i4=class cf{constructor(t,r,o,s){this.module_name=t,this.function_name=r,this.type_args=o,this.args=s}static build(t,r,o,s){return new cf(uK.fromStr(t),new Ma(r),o,s)}serialize(t){this.module_name.serialize(t),this.function_name.serialize(t),t.serializeVector(this.type_args),t.serializeU32AsUleb128(this.args.length),this.args.forEach(r=>{r.serializeForEntryFunction(t)})}static deserialize(t){let r=uK.deserialize(t),o=Ma.deserialize(t),s=t.deserializeVector(la),i=t.deserializeUleb128AsU32(),n=new Array;for(let a=0;a<i;a+=1){let u=t.deserializeUleb128AsU32(),c=Rue.deserialize(t,u);n.push(c)}return new cf(r,o,s,n)}},hK=class Nm{constructor(t,r,o){this.bytecode=t,this.type_args=r,this.args=o}serialize(t){t.serializeBytes(this.bytecode),t.serializeVector(this.type_args),t.serializeU32AsUleb128(this.args.length),this.args.forEach(r=>{r.serializeForScriptFunction(t)})}static deserialize(t){let r=t.deserializeBytes(),o=t.deserializeVector(la),s=t.deserializeUleb128AsU32(),i=new Array;for(let n=0;n<s;n+=1){let a=hJe(t);i.push(a)}return new Nm(r,o,i)}},pK=class Rm{constructor(t,r){this.multisig_address=t,this.transaction_payload=r}serialize(t){this.multisig_address.serialize(t),this.transaction_payload===void 0?t.serializeBool(!1):(t.serializeBool(!0),this.transaction_payload.serialize(t))}static deserialize(t){let r=st.deserialize(t),o=t.deserializeBool(),s;return o&&(s=gK.deserialize(t)),new Rm(r,s)}},gK=class Um extends gr{constructor(t){super(),this.transaction_payload=t}serialize(t){t.serializeU32AsUleb128(0),this.transaction_payload.serialize(t)}static deserialize(t){return t.deserializeUleb128AsU32(),new Um(i4.deserialize(t))}};m();var IP=class Dm extends gr{constructor(t){super(),this.chainId=t}serialize(t){t.serializeU8(this.chainId)}static deserialize(t){let r=t.deserializeU8();return new Dm(r)}},ep=class _m extends gr{constructor(t,r,o,s,i,n,a){super(),this.sender=t,this.sequence_number=r,this.payload=o,this.max_gas_amount=s,this.gas_unit_price=i,this.expiration_timestamp_secs=n,this.chain_id=a}serialize(t){this.sender.serialize(t),t.serializeU64(this.sequence_number),this.payload.serialize(t),t.serializeU64(this.max_gas_amount),t.serializeU64(this.gas_unit_price),t.serializeU64(this.expiration_timestamp_secs),this.chain_id.serialize(t)}static deserialize(t){let r=st.deserialize(t),o=t.deserializeU64(),s=n4.deserialize(t),i=t.deserializeU64(),n=t.deserializeU64(),a=t.deserializeU64(),u=IP.deserialize(t);return new _m(r,o,s,i,n,a,u)}},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 Lm extends Due{constructor(t,r){super(),this.raw_txn=t,this.secondary_signer_addresses=r}serialize(t){t.serializeU32AsUleb128(0),this.raw_txn.serialize(t),t.serializeVector(this.secondary_signer_addresses)}static load(t){let r=ep.deserialize(t),o=t.deserializeVector(st);return new Lm(r,o)}},s4=class Fm extends Due{constructor(t,r,o){super(),this.raw_txn=t,this.secondary_signer_addresses=r,this.fee_payer_address=o}serialize(t){t.serializeU32AsUleb128(1),this.raw_txn.serialize(t),t.serializeVector(this.secondary_signer_addresses),this.fee_payer_address.serialize(t)}static load(t){let r=ep.deserialize(t),o=t.deserializeVector(st),s=st.deserialize(t);return new Fm(r,o,s)}};m();var TJe=(e=>(e.FULLNODE="Fullnode",e.INDEXER="Indexer",e.FAUCET="Faucet",e.PEPPER="Pepper",e.PROVER="Prover",e))(TJe||{}),$1="0x1::aptos_coin::AptosCoin",Uue="0x000000000000000000000000000000000000000000000000000000000000000a",Lue="APTOS::RawTransaction",yK="APTOS::RawTransactionWithData",SJe=(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))(SJe||{}),Fue=/^https:\/\/securetoken\.google\.com\/[a-zA-Z0-9-_]+$/;m(),m();var mK=BigInt(4294967295),Wue=BigInt(32);function CJe(e,t=!1){return t?{h:Number(e&mK),l:Number(e>>Wue&mK)}:{h:Number(e>>Wue&mK)|0,l:Number(e&mK)|0}}function zue(e,t=!1){let r=new Uint32Array(e.length),o=new Uint32Array(e.length);for(let s=0;s<e.length;s++){let{h:i,l:n}=CJe(e[s],t);[r[s],o[s]]=[i,n]}return[r,o]}var xZt=(e,t)=>BigInt(e>>>0)<<Wue|BigInt(t>>>0),AZt=(e,t,r)=>e>>>r,EZt=(e,t,r)=>e<<32-r|t>>>r,TZt=(e,t,r)=>e>>>r|t<<32-r,SZt=(e,t,r)=>e<<32-r|t>>>r,CZt=(e,t,r)=>e<<64-r|t>>>r-32,IZt=(e,t,r)=>e>>>r-32|t<<64-r,OZt=(e,t)=>t,PZt=(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 BZt(e,t,r,o){let s=(t>>>0)+(o>>>0);return{h:e+r+(s/2**32|0)|0,l:s|0}}var kZt=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),MZt=(e,t,r,o)=>t+r+o+(e/2**32|0)|0,_Zt=(e,t,r,o)=>(e>>>0)+(t>>>0)+(r>>>0)+(o>>>0),RZt=(e,t,r,o,s)=>t+r+o+s+(e/2**32|0)|0,NZt=(e,t,r,o,s)=>(e>>>0)+(t>>>0)+(r>>>0)+(o>>>0)+(s>>>0),DZt=(e,t,r,o,s,i)=>t+r+o+s+i+(e/2**32|0)|0,UZt={fromBig:CJe,split:zue,toBig:xZt,shrSH:AZt,shrSL:EZt,rotrSH:TZt,rotrSL:SZt,rotrBH:CZt,rotrBL:IZt,rotr32H:OZt,rotr32L:PZt,rotlSH:Kue,rotlSL:Hue,rotlBH:que,rotlBL:jue,add:BZt,add3L:kZt,add3H:MZt,add4L:_Zt,add4H:RZt,add5H:DZt,add5L:NZt},Dr=UZt,PJe=[],BJe=[],kJe=[],LZt=BigInt(0),OP=BigInt(1),FZt=BigInt(2),WZt=BigInt(7),zZt=BigInt(256),KZt=BigInt(113);for(let e=0,t=OP,r=1,o=0;e<24;e++){[r,o]=[o,(2*r+3*o)%5],PJe.push(2*(5*o+r)),BJe.push((e+1)*(e+2)/2%64);let s=LZt;for(let i=0;i<7;i++)t=(t<<OP^(t>>WZt)*KZt)%zZt,t&FZt&&(s^=OP<<(OP<<BigInt(i))-OP);kJe.push(s)}var[HZt,qZt]=zue(kJe,!0),IJe=(e,t,r)=>r>32?que(e,t,r):Kue(e,t,r),OJe=(e,t,r)=>r>32?jue(e,t,r):Hue(e,t,r);function jZt(e,t=24){let r=new Uint32Array(10);for(let o=24-t;o<24;o++){for(let n=0;n<10;n++)r[n]=e[n]^e[n+10]^e[n+20]^e[n+30]^e[n+40];for(let n=0;n<10;n+=2){let a=(n+8)%10,u=(n+2)%10,c=r[u],d=r[u+1],h=IJe(c,d,1)^r[a],y=OJe(c,d,1)^r[a+1];for(let C=0;C<50;C+=10)e[n+C]^=h,e[n+C+1]^=y}let s=e[2],i=e[3];for(let n=0;n<24;n++){let a=BJe[n],u=IJe(s,i,a),c=OJe(s,i,a),d=PJe[n];s=e[d],i=e[d+1],e[d]=u,e[d+1]=c}for(let n=0;n<50;n+=10){for(let a=0;a<10;a++)r[a]=e[n+a];for(let a=0;a<10;a++)e[n+a]^=~r[(a+2)%10]&r[(a+4)%10]}e[0]^=HZt[o],e[1]^=qZt[o]}r.fill(0)}var bK=class Qm extends Rg{constructor(t,r,o,s=!1,i=24){if(super(),this.blockLen=t,this.suffix=r,this.outputLen=o,this.enableXOF=s,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,md(o),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),jZt(this.state32,this.rounds),X0||Dg(this.state32),this.posOut=0,this.pos=0}update(t){Oh(this);let{blockLen:r,state:o}=this;t=pc(t);let s=t.length;for(let i=0;i<s;){let n=Math.min(r-this.pos,s-i);for(let a=0;a<n;a++)o[this.pos++]^=t[i++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:t,suffix:r,pos:o,blockLen:s}=this;t[o]^=r,r&128&&o===s-1&&this.keccak(),t[s-1]^=128,this.keccak()}writeInto(t){Oh(this,!1),_u(t),this.finish();let r=this.state,{blockLen:o}=this;for(let s=0,i=t.length;s<i;){this.posOut>=o&&this.keccak();let n=Math.min(o-this.posOut,i-s);t.set(r.subarray(this.posOut,this.posOut+n),s),this.posOut+=n,s+=n}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return md(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(Y6(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){let{blockLen:r,suffix:o,outputLen:s,rounds:i,enableXOF:n}=this;return t||(t=new Qm(r,o,s,n,i)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=i,t.suffix=o,t.outputLen=s,t.enableXOF=n,t.destroyed=this.destroyed,t}},ew=(e,t,r)=>G1(()=>new bK(t,e,r)),etn=ew(6,144,224/8),vd=ew(6,136,256/8),ttn=ew(6,104,384/8),rtn=ew(6,72,512/8),ntn=ew(1,144,224/8),itn=ew(1,136,256/8),otn=ew(1,104,384/8),stn=ew(1,72,512/8),MJe=(e,t,r)=>$Ge((o={})=>new bK(t,e,o.dkLen===void 0?r:o.dkLen,!0)),atn=MJe(31,168,128/8),ctn=MJe(31,136,256/8);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 o=r.digest(),s=e,i=new Uint8Array(o.length+s.length);return i.set(o),i.set(s,o.length),i}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 _Je=class lf{static formatPrivateKey(t,r){return`${lf.AIP80_PREFIXES[r]}${Sr.fromHexInput(t).toString()}`}static parseHexInput(t,r,o){let s,i=lf.AIP80_PREFIXES[r];if(typeof t=="string")if(!o&&!t.startsWith(i))s=Sr.fromHexInput(t),o!==!1&&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 if(t.startsWith(i))s=Sr.fromHexString(t.split("-")[2]);else throw o?new Error("Invalid HexString input while parsing private key. Must AIP-80 compliant string."):new Error("Invalid HexString input while parsing private key.");else s=Sr.fromHexInput(t),o!==!1&&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 s}};_Je.AIP80_PREFIXES={ed25519:"ed25519-priv-",secp256k1:"secp256k1-priv-"};var qE=_Je;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=>typeof e=="string"?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(),typeof this.iHash.update!="function")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(r.length>o?e.create().update(r).digest():r);for(let i=0;i<s.length;i++)s[i]^=54;this.iHash.update(s),this.oHash=e.create();for(let i=0;i<s.length;i++)s[i]^=106;this.oHash.update(s),s.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:o,destroyed:s,blockLen:i,outputLen:n}=this;return e=e,e.finished=o,e.destroyed=s,e.blockLen=i,e.outputLen=n,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();Hg.create=(e,t)=>new wK(e,t),m(),m();function GZt(e,t,r,o){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,r,o);let s=BigInt(32),i=BigInt(4294967295),n=Number(r>>s&i),a=Number(r&i),u=o?4:0,c=o?0:4;e.setUint32(t+u,n,o),e.setUint32(t+c,a,o)}function RJe(e,t,r){return e&t^~e&r}function NJe(e,t,r){return e&t^e&r^t&r}var tw=class extends Rg{constructor(e,t,r,o){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=o,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:o}=this;e=pc(e);let s=e.length;for(let i=0;i<s;){let n=Math.min(o-this.pos,s-i);if(n===o){let a=Ng(e);for(;o<=s-i;i+=o)this.process(a,i);continue}r.set(e.subarray(i,i+n),this.pos),this.pos+=n,i+=n,this.pos===o&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){Oh(this),Y6(e,this),this.finished=!0;let{buffer:t,view:r,blockLen:o,isLE:s}=this,{pos:i}=this;t[i++]=128,this.buffer.subarray(i).fill(0),this.padOffset>o-i&&(this.process(r,0),i=0);for(let d=i;d<o;d++)t[d]=0;GZt(r,o-8,BigInt(this.length*8),s),this.process(r,0);let n=Ng(e),a=this.outputLen;if(a%4)throw new Error("_sha2: outputLen should be aligned to 32bit");let u=a/4,c=this.get();if(u>c.length)throw new Error("_sha2: outputLen bigger than state");for(let d=0;d<u;d++)n.setUint32(4*d,c[d],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:o,finished:s,destroyed:i,pos:n}=this;return e.length=o,e.pos=n,e.finished=s,e.destroyed=i,o%t&&e.buffer.set(r),e}},[VZt,JZt]=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:o,Ch:s,Cl:i,Dh:n,Dl:a,Eh:u,El:c,Fh:d,Fl:h,Gh:y,Gl:C,Hh:w,Hl:T}=this;return[e,t,r,o,s,i,n,a,u,c,d,h,y,C,w,T]}set(e,t,r,o,s,i,n,a,u,c,d,h,y,C,w,T){this.Ah=e|0,this.Al=t|0,this.Bh=r|0,this.Bl=o|0,this.Ch=s|0,this.Cl=i|0,this.Dh=n|0,this.Dl=a|0,this.Eh=u|0,this.El=c|0,this.Fh=d|0,this.Fl=h|0,this.Gh=y|0,this.Gl=C|0,this.Hh=w|0,this.Hl=T|0}process(e,t){for(let v=0;v<16;v++,t+=4)rw[v]=e.getUint32(t),nw[v]=e.getUint32(t+=4);for(let v=16;v<80;v++){let B=rw[v-15]|0,R=nw[v-15]|0,U=Dr.rotrSH(B,R,1)^Dr.rotrSH(B,R,8)^Dr.shrSH(B,R,7),N=Dr.rotrSL(B,R,1)^Dr.rotrSL(B,R,8)^Dr.shrSL(B,R,7),_=rw[v-2]|0,L=nw[v-2]|0,H=Dr.rotrSH(_,L,19)^Dr.rotrBH(_,L,61)^Dr.shrSH(_,L,6),F=Dr.rotrSL(_,L,19)^Dr.rotrBL(_,L,61)^Dr.shrSL(_,L,6),G=Dr.add4L(N,F,nw[v-7],nw[v-16]),l=Dr.add4H(G,U,H,rw[v-7],rw[v-16]);rw[v]=l|0,nw[v]=G|0}let{Ah:r,Al:o,Bh:s,Bl:i,Ch:n,Cl:a,Dh:u,Dl:c,Eh:d,El:h,Fh:y,Fl:C,Gh:w,Gl:T,Hh:A,Hl:O}=this;for(let v=0;v<80;v++){let B=Dr.rotrSH(d,h,14)^Dr.rotrSH(d,h,18)^Dr.rotrBH(d,h,41),R=Dr.rotrSL(d,h,14)^Dr.rotrSL(d,h,18)^Dr.rotrBL(d,h,41),U=d&y^~d&w,N=h&C^~h&T,_=Dr.add5L(O,R,N,JZt[v],nw[v]),L=Dr.add5H(_,A,B,U,VZt[v],rw[v]),H=_|0,F=Dr.rotrSH(r,o,28)^Dr.rotrBH(r,o,34)^Dr.rotrBH(r,o,39),G=Dr.rotrSL(r,o,28)^Dr.rotrBL(r,o,34)^Dr.rotrBL(r,o,39),l=r&s^r&n^s&n,p=o&i^o&a^i&a;A=w|0,O=T|0,w=y|0,T=C|0,y=d|0,C=h|0,{h:d,l:h}=Dr.add(u|0,c|0,L|0,H|0),u=n|0,c=a|0,n=s|0,a=i|0,s=r|0,i=o|0;let E=Dr.add3L(H,G,p);r=Dr.add3H(E,L,F,l),o=E|0}({h:r,l:o}=Dr.add(this.Ah|0,this.Al|0,r|0,o|0)),{h:s,l:i}=Dr.add(this.Bh|0,this.Bl|0,s|0,i|0),{h:n,l:a}=Dr.add(this.Ch|0,this.Cl|0,n|0,a|0),{h:u,l:c}=Dr.add(this.Dh|0,this.Dl|0,u|0,c|0),{h:d,l:h}=Dr.add(this.Eh|0,this.El|0,d|0,h|0),{h:y,l:C}=Dr.add(this.Fh|0,this.Fl|0,y|0,C|0),{h:w,l:T}=Dr.add(this.Gh|0,this.Gl|0,w|0,T|0),{h:A,l:O}=Dr.add(this.Hh|0,this.Hl|0,A|0,O|0),this.set(r,o,s,i,n,a,u,c,d,h,y,C,w,T,A,O)}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);m(),m();function XZt(e,t,r,o){zz(e);let s=QGe({dkLen:32,asyncTick:10},o),{c:i,dkLen:n,asyncTick:a}=s;if(md(i),md(n),md(a),i<1)throw new Error("PBKDF2: iterations (c) should be >= 1");let u=pc(t),c=pc(r),d=new Uint8Array(n),h=Hg.create(e,u),y=h._cloneInto().update(c);return{c:i,dkLen:n,asyncTick:a,DK:d,PRF:h,PRFSalt:y}}function YZt(e,t,r,o,s){return e.destroy(),t.destroy(),o&&o.destroy(),s.fill(0),r}function DJe(e,t,r,o){let{c:s,dkLen:i,DK:n,PRF:a,PRFSalt:u}=XZt(e,t,r,o),c,d=new Uint8Array(4),h=Ng(d),y=new Uint8Array(a.outputLen);for(let C=1,w=0;w<i;C++,w+=a.outputLen){let T=n.subarray(w,w+a.outputLen);h.setInt32(0,C,!1),(c=u._cloneInto(c)).update(d).digestInto(y),T.set(y.subarray(0,T.length));for(let A=1;A<s;A++){a._cloneInto(c).update(y).digestInto(y);for(let O=0;O<T.length;O++)T[O]^=y[O]}}return YZt(a,u,n,c,y)}m();var QZt=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=iw[0]|0,this.B=iw[1]|0,this.C=iw[2]|0,this.D=iw[3]|0,this.E=iw[4]|0,this.F=iw[5]|0,this.G=iw[6]|0,this.H=iw[7]|0}get(){let{A:e,B:t,C:r,D:o,E:s,F:i,G:n,H:a}=this;return[e,t,r,o,s,i,n,a]}set(e,t,r,o,s,i,n,a){this.A=e|0,this.B=t|0,this.C=r|0,this.D=o|0,this.E=s|0,this.F=i|0,this.G=n|0,this.H=a|0}process(e,t){for(let d=0;d<16;d++,t+=4)ow[d]=e.getUint32(t,!1);for(let d=16;d<64;d++){let h=ow[d-15],y=ow[d-2],C=J0(h,7)^J0(h,18)^h>>>3,w=J0(y,17)^J0(y,19)^y>>>10;ow[d]=w+ow[d-7]+C+ow[d-16]|0}let{A:r,B:o,C:s,D:i,E:n,F:a,G:u,H:c}=this;for(let d=0;d<64;d++){let h=J0(n,6)^J0(n,11)^J0(n,25),y=c+h+RJe(n,a,u)+QZt[d]+ow[d]|0,C=(J0(r,2)^J0(r,13)^J0(r,22))+NJe(r,o,s)|0;c=u,u=a,a=n,n=i+y|0,i=s,s=o,o=r,r=y+C|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,i=i+this.D|0,n=n+this.E|0,a=a+this.F|0,u=u+this.G|0,c=c+this.H|0,this.set(r,o,s,i,n,a,u,c)}roundClean(){ow.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},es=G1(()=>new Jue);m();function Xue(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function LJe(e,t){return Array.isArray(t)?t.length===0?!0:e?t.every(r=>typeof r=="string"):t.every(r=>Number.isSafeInteger(r)):!1}function ZZt(e){if(typeof e!="function")throw new Error("function expected");return!0}function Yue(e,t){if(typeof t!="string")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 FJe(e,t){if(!LJe(!0,t))throw new Error(`${e}: array of strings expected`)}function $Zt(e,t){if(!LJe(!1,t))throw new Error(`${e}: array of numbers expected`)}function WJe(...e){let t=i=>i,r=(i,n)=>a=>i(n(a)),o=e.map(i=>i.encode).reduceRight(r,t),s=e.map(i=>i.decode).reduce(r,t);return{encode:o,decode:s}}function e$t(e){let t=typeof e=="string"?e.split(""):e,r=t.length;FJe("alphabet",t);let o=new Map(t.map((s,i)=>[s,i]));return{encode:s=>(Que(s),s.map(i=>{if(!Number.isSafeInteger(i)||i<0||i>=r)throw new Error(`alphabet.encode: digit index outside alphabet "${i}". Allowed: ${e}`);return t[i]})),decode:s=>(Que(s),s.map(i=>{Yue("alphabet.decode",i);let n=o.get(i);if(n===void 0)throw new Error(`Unknown letter: "${i}". Allowed: ${e}`);return n}))}}function t$t(e=""){return Yue("join",e),{encode:t=>(FJe("join.decode",t),t.join(e)),decode:t=>(Yue("join.decode",t),t.split(e))}}function UJe(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 o=0,s=[],i=Array.from(e,a=>{if(Zue(a),a<0||a>=t)throw new Error(`invalid integer: ${a}`);return a}),n=i.length;for(;;){let a=0,u=!0;for(let c=o;c<n;c++){let d=i[c],h=t*a,y=h+d;if(!Number.isSafeInteger(y)||h/t!==a||y-d!==h)throw new Error("convertRadix: carry overflow");let C=y/r;a=y%r;let w=Math.floor(C);if(i[c]=w,!Number.isSafeInteger(w)||w*r+a!==y)throw new Error("convertRadix: carry overflow");if(u)w?u=!1:o=c;else continue}if(s.push(a),u)break}for(let a=0;a<e.length-1&&e[a]===0;a++)s.push(0);return s.reverse()}function r$t(e){Zue(e);let t=2**8;return{encode:r=>{if(!Xue(r))throw new Error("radix.encode input should be Uint8Array");return UJe(Array.from(r),t,e)},decode:r=>($Zt("radix.decode",r),Uint8Array.from(UJe(r,e,t)))}}function n$t(e,t){return Zue(e),ZZt(t),{encode(r){if(!Xue(r))throw new Error("checksum.encode: input should be Uint8Array");let o=t(r).slice(0,e),s=new Uint8Array(r.length+e);return s.set(r),s.set(o,r.length),s},decode(r){if(!Xue(r))throw new Error("checksum.decode: input should be Uint8Array");let o=r.slice(0,-e),s=r.slice(-e),i=t(o).slice(0,e);for(let n=0;n<e;n++)if(i[n]!==s[n])throw new Error("Invalid checksum");return o}}}var i$t=e=>WJe(r$t(58),e$t(e),t$t("")),o$t=i$t("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),zJe=e=>WJe(n$t(4,t=>e(e(t))),o$t);function KJe(e){if(typeof e!="string")throw new TypeError("invalid mnemonic type: "+typeof e);return e.normalize("NFKD")}function s$t(e){let t=KJe(e),r=t.split(" ");if(![12,15,18,21,24].includes(r.length))throw new Error("Invalid mnemonic");return{nfkd:t,words:r}}var a$t=e=>KJe("mnemonic"+e);function HJe(e,t=""){return DJe(Gm,s$t(e).nfkd,a$t(t),{c:2048,dkLen:64})}var qJe=/^m\/44'\/637'\/[0-9]+'\/[0-9]+'\/[0-9]+'?$/,jJe=/^m\/44'\/637'\/[0-9]+'\/[0-9]+\/[0-9]+$/,GJe=(e=>(e.ED25519="ed25519 seed",e))(GJe||{}),$ue=2147483648;function ele(e){return jJe.test(e)}function tle(e){return qJe.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 o=new ArrayBuffer(4);new DataView(o).setUint32(0,r);let s=new Uint8Array(o),i=new Uint8Array([0]),n=new Uint8Array([...i,...e,...s]);return xK(t,n)},u$t=e=>e.replace(/'/g,""),nle=e=>e.split("/").slice(1).map(u$t),PP=e=>{let t=e.trim().split(/\s+/).map(r=>r.toLowerCase()).join(" ");return HJe(t)};m();var VJe=class Cc extends gr{constructor(t){super();let{data:r}=t,o=Sr.fromHexInput(r);if(o.toUint8Array().length!==Cc.LENGTH)throw new Error(`Authentication Key length should be ${Cc.LENGTH}`);this.data=o}serialize(t){t.serializeFixedBytes(this.data.toUint8Array())}static deserialize(t){let r=t.deserializeFixedBytes(Cc.LENGTH);return new Cc({data:r})}toUint8Array(){return this.data.toUint8Array()}static fromSchemeAndBytes(t){let{scheme:r,input:o}=t,s=Sr.fromHexInput(o).toUint8Array(),i=new Uint8Array([...s,r]),n=vd.create();n.update(i);let a=n.digest();return new Cc({data:a})}static fromPublicKeyAndScheme(t){let{publicKey:r}=t;return r.authKey()}static fromPublicKey(t){let{publicKey:r}=t;return r.authKey()}derivedAddress(){return new st(this.data.toUint8Array())}};VJe.LENGTH=32;var Hc=VJe;m(),m(),m();var TK={};Vr(TK,{aInRange:()=>xf,abool:()=>tp,abytes:()=>f4,bitGet:()=>g$t,bitLen:()=>ale,bitMask:()=>kP,bitSet:()=>y$t,bytesToHex:()=>Jm,bytesToNumberBE:()=>Xm,bytesToNumberLE:()=>aw,concatBytes:()=>Ym,createHmacDrbg:()=>cle,ensureBytes:()=>hs,equalBytes:()=>h$t,hexToBytes:()=>GE,hexToNumber:()=>sle,inRange:()=>BP,isBytes:()=>sw,memoized:()=>JE,notImplemented:()=>b$t,numberToBytesBE:()=>cw,numberToBytesLE:()=>VE,numberToHexUnpadded:()=>jE,numberToVarBytesBE:()=>d$t,utf8ToBytes:()=>p$t,validateObject:()=>qg}),m();var AK=BigInt(0),EK=BigInt(1),l$t=BigInt(2);function sw(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function f4(e){if(!sw(e))throw new Error("Uint8Array expected")}function tp(e,t){if(typeof t!="boolean")throw new Error(e+" boolean expected, got "+t)}var f$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+=f$t[e[r]];return t}function jE(e){let t=e.toString(16);return t.length&1?"0"+t:t}function sle(e){if(typeof e!="string")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 JJe(e){if(e>=Vm._0&&e<=Vm._9)return e-Vm._0;if(e>=Vm.A&&e<=Vm.F)return e-(Vm.A-10);if(e>=Vm.a&&e<=Vm.f)return e-(Vm.a-10)}function GE(e){if(typeof e!="string")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 o=new Uint8Array(r);for(let s=0,i=0;s<r;s++,i+=2){let n=JJe(e.charCodeAt(i)),a=JJe(e.charCodeAt(i+1));if(n===void 0||a===void 0){let u=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+u+'" at index '+i)}o[s]=n*16+a}return o}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(t*2,"0"))}function VE(e,t){return cw(e,t).reverse()}function d$t(e){return GE(jE(e))}function hs(e,t,r){let o;if(typeof t=="string")try{o=GE(t)}catch(i){throw new Error(e+" must be hex string or Uint8Array, cause: "+i)}else if(sw(t))o=Uint8Array.from(t);else throw new Error(e+" must be hex string or Uint8Array");let s=o.length;if(typeof r=="number"&&s!==r)throw new Error(e+" of length "+r+" expected, got "+s);return o}function Ym(...e){let t=0;for(let o=0;o<e.length;o++){let s=e[o];f4(s),t+=s.length}let r=new Uint8Array(t);for(let o=0,s=0;o<e.length;o++){let i=e[o];r.set(i,s),s+=i.length}return r}function h$t(e,t){if(e.length!==t.length)return!1;let r=0;for(let o=0;o<e.length;o++)r|=e[o]^t[o];return r===0}function p$t(e){if(typeof e!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}var ile=e=>typeof e=="bigint"&&AK<=e;function BP(e,t,r){return ile(e)&&ile(t)&&ile(r)&&t<=e&&e<r}function xf(e,t,r,o){if(!BP(t,r,o))throw new Error("expected valid "+e+": "+r+" <= n < "+o+", got "+t)}function ale(e){let t;for(t=0;e>AK;e>>=EK,t+=1);return t}function g$t(e,t){return e>>BigInt(t)&EK}function y$t(e,t,r){return e|(r?EK:AK)<<BigInt(t)}var kP=e=>(l$t<<BigInt(e-1))-EK,ole=e=>new Uint8Array(e),XJe=e=>Uint8Array.from(e);function cle(e,t,r){if(typeof e!="number"||e<2)throw new Error("hashLen must be a number");if(typeof t!="number"||t<2)throw new Error("qByteLen must be a number");if(typeof r!="function")throw new Error("hmacFn must be a function");let o=ole(e),s=ole(e),i=0,n=()=>{o.fill(1),s.fill(0),i=0},a=(...d)=>r(s,o,...d),u=(d=ole())=>{s=a(XJe([0]),d),o=a(),d.length!==0&&(s=a(XJe([1]),d),o=a())},c=()=>{if(i++>=1e3)throw new Error("drbg: tried 1000 values");let d=0,h=[];for(;d<t;){o=a();let y=o.slice();h.push(y),d+=o.length}return Ym(...h)};return(d,h)=>{n(),u(d);let y;for(;!(y=h(c()));)u();return n(),y}}var m$t={bigint:e=>typeof e=="bigint",function:e=>typeof e=="function",boolean:e=>typeof e=="boolean",string:e=>typeof e=="string",stringOrUint8Array:e=>typeof e=="string"||sw(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e=="function"&&Number.isSafeInteger(e.outputLen)};function qg(e,t,r={}){let o=(s,i,n)=>{let a=m$t[i];if(typeof a!="function")throw new Error("invalid validator function");let u=e[s];if(!(n&&u===void 0)&&!a(u,e))throw new Error("param "+String(s)+" is invalid. Expected "+i+", got "+u)};for(let[s,i]of Object.entries(t))o(s,i,!1);for(let[s,i]of Object.entries(r))o(s,i,!0);return e}var b$t=()=>{throw new Error("not implemented")};function JE(e){let t=new WeakMap;return(r,...o)=>{let s=t.get(r);if(s!==void 0)return s;let i=e(r,...o);return t.set(r,i),i}}var Na=BigInt(0),ts=BigInt(1),XE=BigInt(2),v$t=BigInt(3),ule=BigInt(4),YJe=BigInt(5),QJe=BigInt(8),w$t=BigInt(9),x$t=BigInt(16);function Qi(e,t){let r=e%t;return r>=Na?r:t+r}function A$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 o=ts;for(;t>Na;)t&ts&&(o=o*e%r),e=e*e%r,t>>=ts;return o}function rs(e,t,r){let o=e;for(;t-- >Na;)o*=o,o%=r;return o}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),o=t,s=Na,i=ts,n=ts,a=Na;for(;r!==Na;){let u=o/r,c=o%r,d=s-n*u,h=i-a*u;o=r,r=c,s=n,i=a,n=d,a=h}if(o!==ts)throw new Error("invert: does not exist");return Qi(s,t)}function E$t(e){let t=(e-ts)/XE,r,o,s;for(r=e-ts,o=0;r%XE===Na;r/=XE,o++);for(s=XE;s<e&&A$t(s,t,e)!==e-ts;s++)if(s>1e3)throw new Error("Cannot find square root: likely non-prime P");if(o===1){let n=(e+ts)/ule;return function(a,u){let c=a.pow(u,n);if(!a.eql(a.sqr(c),u))throw new Error("Cannot find square root");return c}}let i=(r+ts)/XE;return function(n,a){if(n.pow(a,t)===n.neg(n.ONE))throw new Error("Cannot find square root");let u=o,c=n.pow(n.mul(n.ONE,s),r),d=n.pow(a,i),h=n.pow(a,r);for(;!n.eql(h,n.ONE);){if(n.eql(h,n.ZERO))return n.ZERO;let y=1;for(let w=n.sqr(h);y<u&&!n.eql(w,n.ONE);y++)w=n.sqr(w);let C=n.pow(c,ts<<BigInt(u-y-1));c=n.sqr(C),d=n.mul(d,C),h=n.mul(h,c),u=y}return d}}function T$t(e){if(e%ule===v$t){let t=(e+ts)/ule;return function(r,o){let s=r.pow(o,t);if(!r.eql(r.sqr(s),o))throw new Error("Cannot find square root");return s}}if(e%QJe===YJe){let t=(e-YJe)/QJe;return function(r,o){let s=r.mul(o,XE),i=r.pow(s,t),n=r.mul(o,i),a=r.mul(r.mul(n,XE),i),u=r.mul(n,r.sub(a,r.ONE));if(!r.eql(r.sqr(u),o))throw new Error("Cannot find square root");return u}}return e%x$t,E$t(e)}var ZJe=(e,t)=>(Qi(e,t)&ts)===ts,S$t=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function lle(e){let t={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},r=S$t.reduce((o,s)=>(o[s]="function",o),t);return qg(e,r)}function C$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 o=e.ONE,s=t;for(;r>Na;)r&ts&&(o=e.mul(o,s)),s=e.sqr(s),r>>=ts;return o}function I$t(e,t){let r=new Array(t.length),o=t.reduce((i,n,a)=>e.is0(n)?i:(r[a]=i,e.mul(i,n)),e.ONE),s=e.inv(o);return t.reduceRight((i,n,a)=>e.is0(n)?i:(r[a]=e.mul(i,r[a]),e.mul(i,n)),s),r}function fle(e,t){let r=t!==void 0?t:e.toString(2).length,o=Math.ceil(r/8);return{nBitLength:r,nByteLength:o}}function uw(e,t,r=!1,o={}){if(e<=Na)throw new Error("invalid field: expected ORDER > 0, got "+e);let{nBitLength:s,nByteLength:i}=fle(e,t);if(i>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let n,a=Object.freeze({ORDER:e,isLE:r,BITS:s,BYTES:i,MASK:kP(s),ZERO:Na,ONE:ts,create:u=>Qi(u,e),isValid:u=>{if(typeof u!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof u);return Na<=u&&u<e},is0:u=>u===Na,isOdd:u=>(u&ts)===ts,neg:u=>Qi(-u,e),eql:(u,c)=>u===c,sqr:u=>Qi(u*u,e),add:(u,c)=>Qi(u+c,e),sub:(u,c)=>Qi(u-c,e),mul:(u,c)=>Qi(u*c,e),pow:(u,c)=>C$t(a,u,c),div:(u,c)=>Qi(u*SK(c,e),e),sqrN:u=>u*u,addN:(u,c)=>u+c,subN:(u,c)=>u-c,mulN:(u,c)=>u*c,inv:u=>SK(u,e),sqrt:o.sqrt||(u=>(n||(n=T$t(e)),n(a,u))),invertBatch:u=>I$t(a,u),cmov:(u,c,d)=>d?c:u,toBytes:u=>r?VE(u,i):cw(u,i),fromBytes:u=>{if(u.length!==i)throw new Error("Field.fromBytes: expected "+i+" bytes, got "+u.length);return r?aw(u):Xm(u)}});return Object.freeze(a)}function $Je(e){if(typeof e!="bigint")throw new Error("field order must be bigint");let t=e.toString(2).length;return Math.ceil(t/8)}function dle(e){let t=$Je(e);return t+Math.ceil(t/2)}function eXe(e,t,r=!1){let o=e.length,s=$Je(t),i=dle(t);if(o<16||o<i||o>1024)throw new Error("expected "+i+"-1024 bytes of input, got "+o);let n=r?aw(e):Xm(e),a=Qi(n,t-ts)+ts;return r?VE(a,s):cw(a,s)}var tXe=BigInt(0),CK=BigInt(1);function hle(e,t){let r=t.negate();return e?r:t}function rXe(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){rXe(e,t);let r=Math.ceil(t/e)+1,o=2**(e-1);return{windows:r,windowSize:o}}function O$t(e,t){if(!Array.isArray(e))throw new Error("array expected");e.forEach((r,o)=>{if(!(r instanceof t))throw new Error("invalid point at index "+o)})}function P$t(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach((r,o)=>{if(!t.isValid(r))throw new Error("invalid scalar at index "+o)})}var gle=new WeakMap,nXe=new WeakMap;function yle(e){return nXe.get(e)||1}function IK(e,t){return{constTimeNegate:hle,hasPrecomputes(r){return yle(r)!==1},unsafeLadder(r,o,s=e.ZERO){let i=r;for(;o>tXe;)o&CK&&(s=s.add(i)),i=i.double(),o>>=CK;return s},precomputeWindow(r,o){let{windows:s,windowSize:i}=ple(o,t),n=[],a=r,u=a;for(let c=0;c<s;c++){u=a,n.push(u);for(let d=1;d<i;d++)u=u.add(a),n.push(u);a=u.double()}return n},wNAF(r,o,s){let{windows:i,windowSize:n}=ple(r,t),a=e.ZERO,u=e.BASE,c=BigInt(2**r-1),d=2**r,h=BigInt(r);for(let y=0;y<i;y++){let C=y*n,w=Number(s&c);s>>=h,w>n&&(w-=d,s+=CK);let T=C,A=C+Math.abs(w)-1,O=y%2!==0,v=w<0;w===0?u=u.add(hle(O,o[T])):a=a.add(hle(v,o[A]))}return{p:a,f:u}},wNAFUnsafe(r,o,s,i=e.ZERO){let{windows:n,windowSize:a}=ple(r,t),u=BigInt(2**r-1),c=2**r,d=BigInt(r);for(let h=0;h<n;h++){let y=h*a;if(s===tXe)break;let C=Number(s&u);if(s>>=d,C>a&&(C-=c,s+=CK),C===0)continue;let w=o[y+Math.abs(C)-1];C<0&&(w=w.negate()),i=i.add(w)}return i},getPrecomputes(r,o,s){let i=gle.get(o);return i||(i=this.precomputeWindow(o,r),r!==1&&gle.set(o,s(i))),i},wNAFCached(r,o,s){let i=yle(r);return this.wNAF(i,this.getPrecomputes(i,r,s),o)},wNAFCachedUnsafe(r,o,s,i){let n=yle(r);return n===1?this.unsafeLadder(r,o,i):this.wNAFUnsafe(n,this.getPrecomputes(n,r,s),o,i)},setWindowSize(r,o){rXe(o,t),nXe.set(r,o),gle.delete(r)}}}function OK(e,t,r,o){if(O$t(r,e),P$t(o,t),r.length!==o.length)throw new Error("arrays of points and scalars must have equal length");let s=e.ZERO,i=ale(BigInt(r.length)),n=i>12?i-3:i>4?i-2:i?2:1,a=(1<<n)-1,u=new Array(a+1).fill(s),c=Math.floor((t.BITS-1)/n)*n,d=s;for(let h=c;h>=0;h-=n){u.fill(s);for(let C=0;C<o.length;C++){let w=o[C],T=Number(w>>BigInt(h)&BigInt(a));u[T]=u[T].add(r[C])}let y=s;for(let C=u.length-1,w=s;C>0;C--)w=w.add(u[C]),y=y.add(w);if(d=d.add(y),h!==0)for(let C=0;C<n;C++)d=d.double()}return d}function MP(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),B$t=BigInt(8),k$t={zip215:!0};function M$t(e){let t=MP(e);return qg(e,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...t})}function iXe(e){let t=M$t(e),{Fp:r,n:o,prehash:s,hash:i,randomBytes:n,nByteLength:a,h:u}=t,c=PK<<BigInt(a*8)-Af,d=r.create,h=uw(t.n,t.nBitLength),y=t.uvRatio||((g,b)=>{try{return{isValid:!0,value:r.sqrt(g*r.inv(b))}}catch{return{isValid:!1,value:rp}}}),C=t.adjustScalarBytes||(g=>g),w=t.domain||((g,b,k)=>{if(tp("phflag",k),b.length||k)throw new Error("Contexts/pre-hash are not supported");return g});function T(g,b){xf("coordinate "+g,b,rp,c)}function A(g){if(!(g instanceof B))throw new Error("ExtendedPoint expected")}let O=JE((g,b)=>{let{ex:k,ey:x,ez:S}=g,f=g.is0();b==null&&(b=f?B$t:r.inv(S));let M=d(k*b),V=d(x*b),D=d(S*b);if(f)return{x:rp,y:Af};if(D!==Af)throw new Error("invZ was invalid");return{x:M,y:V}}),v=JE(g=>{let{a:b,d:k}=t;if(g.is0())throw new Error("bad point: ZERO");let{ex:x,ey:S,ez:f,et:M}=g,V=d(x*x),D=d(S*S),j=d(f*f),Y=d(j*j),oe=d(V*b),de=d(j*d(oe+D)),ue=d(Y+d(k*d(V*D)));if(de!==ue)throw new Error("bad point: equation left != right (1)");let ae=d(x*S),q=d(f*M);if(ae!==q)throw new Error("bad point: equation left != right (2)");return!0});class B{constructor(b,k,x,S){this.ex=b,this.ey=k,this.ez=x,this.et=S,T("x",b),T("y",k),T("z",x),T("t",S),Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(b){if(b instanceof B)throw new Error("extended point not allowed");let{x:k,y:x}=b||{};return T("x",k),T("y",x),new B(k,x,Af,d(k*x))}static normalizeZ(b){let k=r.invertBatch(b.map(x=>x.ez));return b.map((x,S)=>x.toAffine(k[S])).map(B.fromAffine)}static msm(b,k){return OK(B,h,b,k)}_setWindowSize(b){N.setWindowSize(this,b)}assertValidity(){v(this)}equals(b){A(b);let{ex:k,ey:x,ez:S}=this,{ex:f,ey:M,ez:V}=b,D=d(k*V),j=d(f*S),Y=d(x*V),oe=d(M*S);return D===j&&Y===oe}is0(){return this.equals(B.ZERO)}negate(){return new B(d(-this.ex),this.ey,this.ez,d(-this.et))}double(){let{a:b}=t,{ex:k,ey:x,ez:S}=this,f=d(k*k),M=d(x*x),V=d(PK*d(S*S)),D=d(b*f),j=k+x,Y=d(d(j*j)-f-M),oe=D+M,de=oe-V,ue=D-M,ae=d(Y*de),q=d(oe*ue),ne=d(Y*ue),me=d(de*oe);return new B(ae,q,me,ne)}add(b){A(b);let{a:k,d:x}=t,{ex:S,ey:f,ez:M,et:V}=this,{ex:D,ey:j,ez:Y,et:oe}=b;if(k===BigInt(-1)){let re=d((f-S)*(j+D)),Oe=d((f+S)*(j-D)),Pe=d(Oe-re);if(Pe===rp)return this.double();let Ne=d(M*PK*oe),Xe=d(V*PK*Y),Je=Xe+Ne,ft=Oe+re,Kt=Xe-Ne,wt=d(Je*Pe),Ie=d(ft*Kt),it=d(Je*Kt),Ye=d(Pe*ft);return new B(wt,Ie,Ye,it)}let de=d(S*D),ue=d(f*j),ae=d(V*x*oe),q=d(M*Y),ne=d((S+f)*(D+j)-de-ue),me=q-ae,ve=q+ae,ge=d(ue-k*de),ce=d(ne*me),ee=d(ve*ge),fe=d(ne*ge),ie=d(me*ve);return new B(ce,ee,ie,fe)}subtract(b){return this.add(b.negate())}wNAF(b){return N.wNAFCached(this,b,B.normalizeZ)}multiply(b){let k=b;xf("scalar",k,Af,o);let{p:x,f:S}=this.wNAF(k);return B.normalizeZ([x,S])[0]}multiplyUnsafe(b,k=B.ZERO){let x=b;return xf("scalar",x,rp,o),x===rp?U:this.is0()||x===Af?this:N.wNAFCachedUnsafe(this,x,B.normalizeZ,k)}isSmallOrder(){return this.multiplyUnsafe(u).is0()}isTorsionFree(){return N.unsafeLadder(this,o).is0()}toAffine(b){return O(this,b)}clearCofactor(){let{h:b}=t;return b===Af?this:this.multiplyUnsafe(b)}static fromHex(b,k=!1){let{d:x,a:S}=t,f=r.BYTES;b=hs("pointHex",b,f),tp("zip215",k);let M=b.slice(),V=b[f-1];M[f-1]=V&-129;let D=aw(M),j=k?c:r.ORDER;xf("pointHex.y",D,rp,j);let Y=d(D*D),oe=d(Y-Af),de=d(x*Y-S),{isValid:ue,value:ae}=y(oe,de);if(!ue)throw new Error("Point.fromHex: invalid y coordinate");let q=(ae&Af)===Af,ne=(V&128)!==0;if(!k&&ae===rp&&ne)throw new Error("Point.fromHex: x=0 and x_0=1");return ne!==q&&(ae=d(-ae)),B.fromAffine({x:ae,y:D})}static fromPrivateKey(b){return H(b).point}toRawBytes(){let{x:b,y:k}=this.toAffine(),x=VE(k,r.BYTES);return x[x.length-1]|=b&Af?128:0,x}toHex(){return Jm(this.toRawBytes())}}B.BASE=new B(t.Gx,t.Gy,Af,d(t.Gx*t.Gy)),B.ZERO=new B(rp,Af,Af,rp);let{BASE:R,ZERO:U}=B,N=IK(B,a*8);function _(g){return Qi(g,o)}function L(g){return _(aw(g))}function H(g){let b=r.BYTES;g=hs("private key",g,b);let k=hs("hashed private key",i(g),2*b),x=C(k.slice(0,b)),S=k.slice(b,2*b),f=L(x),M=R.multiply(f),V=M.toRawBytes();return{head:x,prefix:S,scalar:f,point:M,pointBytes:V}}function F(g){return H(g).pointBytes}function G(g=new Uint8Array,...b){let k=Ym(...b);return L(i(w(k,hs("context",g),!!s)))}function l(g,b,k={}){g=hs("message",g),s&&(g=s(g));let{prefix:x,scalar:S,pointBytes:f}=H(b),M=G(k.context,x,g),V=R.multiply(M).toRawBytes(),D=G(k.context,V,f,g),j=_(M+D*S);xf("signature.s",j,rp,o);let Y=Ym(V,VE(j,r.BYTES));return hs("result",Y,r.BYTES*2)}let p=k$t;function E(g,b,k,x=p){let{context:S,zip215:f}=x,M=r.BYTES;g=hs("signature",g,2*M),b=hs("message",b),k=hs("publicKey",k,M),f!==void 0&&tp("zip215",f),s&&(b=s(b));let V=aw(g.slice(M,2*M)),D,j,Y;try{D=B.fromHex(k,f),j=B.fromHex(g.slice(0,M),f),Y=R.multiplyUnsafe(V)}catch{return!1}if(!f&&D.isSmallOrder())return!1;let oe=G(S,j.toRawBytes(),D.toRawBytes(),b);return j.add(D.multiplyUnsafe(oe)).subtract(Y).clearCofactor().equals(B.ZERO)}return R._setWindowSize(8),{CURVE:t,getPublicKey:F,sign:l,verify:E,ExtendedPoint:B,utils:{getExtendedPublicKey:H,randomPrivateKey:()=>n(r.BYTES),precompute(g=8,b=B.BASE){return b._setWindowSize(g),b.multiply(BigInt(3)),b}}}}var mle=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),oXe=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"),Urn=BigInt(0),_$t=BigInt(1),sXe=BigInt(2),Lrn=BigInt(3),R$t=BigInt(5),N$t=BigInt(8);function D$t(e){let t=BigInt(10),r=BigInt(20),o=BigInt(40),s=BigInt(80),i=mle,n=e*e%i*e%i,a=rs(n,sXe,i)*n%i,u=rs(a,_$t,i)*e%i,c=rs(u,R$t,i)*u%i,d=rs(c,t,i)*c%i,h=rs(d,r,i)*d%i,y=rs(h,o,i)*h%i,C=rs(y,s,i)*y%i,w=rs(C,s,i)*y%i,T=rs(w,t,i)*c%i;return{pow_p_5_8:rs(T,sXe,i)*e%i,b2:n}}function U$t(e){return e[0]&=248,e[31]&=127,e[31]|=64,e}function L$t(e,t){let r=mle,o=Qi(t*t*t,r),s=Qi(o*o*t,r),i=D$t(e*s).pow_p_5_8,n=Qi(e*o*i,r),a=Qi(t*n*n,r),u=n,c=Qi(n*oXe,r),d=a===e,h=a===Qi(-e,r),y=a===Qi(-e*oXe,r);return d&&(n=u),(h||y)&&(n=c),ZJe(n,r)&&(n=Qi(-n,r)),{isValid:d||h,value:n}}var F$t=uw(mle,void 0,!0),W$t={a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:F$t,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:N$t,Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:Gm,randomBytes:Q6,adjustScalarBytes:U$t,uvRatio:L$t},_P=iXe(W$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 aXe(e){let t=e.toUint8Array().slice(32);for(let r=ble.length-1;r>=0;r-=1){if(t[r]<ble[r])return!0;if(t[r]>ble[r])return!1}return!1}var cXe=class Ic extends wd{constructor(t){super();let r=Sr.fromHexInput(t);if(r.toUint8Array().length!==Ic.LENGTH)throw new Error(`PublicKey length should be ${Ic.LENGTH}`);this.key=r}verifySignature(t){let{message:r,signature:o}=t;if(!aXe(o))return!1;let s=u4(r),i=Sr.fromHexInput(s).toUint8Array(),n=o.toUint8Array(),a=this.key.toUint8Array();return _P.verify(n,i,a)}authKey(){return Hc.fromSchemeAndBytes({scheme:0,input:this.toUint8Array()})}toUint8Array(){return this.key.toUint8Array()}serialize(t){t.serializeBytes(this.key.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new Ic(r)}static isPublicKey(t){return t instanceof Ic}static isInstance(t){return"key"in t&&t.key?.data?.length===Ic.LENGTH}};cXe.LENGTH=32;var Po=cXe,vle=class uu extends gr{constructor(t,r){super();let o=qE.parseHexInput(t,"ed25519",r);if(o.toUint8Array().length!==uu.LENGTH)throw new Error(`PrivateKey length should be ${uu.LENGTH}`);this.signingKey=o}static generate(){let t=_P.utils.randomPrivateKey();return new uu(t,!1)}static fromDerivationPath(t,r){if(!tle(t))throw new Error(`Invalid derivation path ${t}`);return uu.fromDerivationPathInner(t,PP(r))}static fromDerivationPathInner(t,r,o=$ue){let{key:s,chainCode:i}=xK(uu.SLIP_0010_SEED,r),n=nle(t).map(u=>parseInt(u,10)),{key:a}=n.reduce((u,c)=>rle(u,c+o),{key:s,chainCode:i});return new uu(a,!1)}publicKey(){let t=_P.getPublicKey(this.signingKey.toUint8Array());return new Po(t)}sign(t){let r=u4(t),o=Sr.fromHexInput(r).toUint8Array(),s=_P.sign(o,this.signingKey.toUint8Array());return new ns(s)}toUint8Array(){return this.signingKey.toUint8Array()}toString(){return this.toHexString()}toHexString(){return this.signingKey.toString()}toAIP80String(){return qE.formatPrivateKey(this.signingKey.toString(),"ed25519")}serialize(t){t.serializeBytes(this.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new uu(r,!1)}static isPrivateKey(t){return t instanceof uu}};vle.LENGTH=32,vle.SLIP_0010_SEED="ed25519 seed";var Ef=vle,uXe=class ld extends Kc{constructor(t){super();let r=Sr.fromHexInput(t);if(r.toUint8Array().length!==ld.LENGTH)throw new Error(`Signature length should be ${ld.LENGTH}`);this.data=r}toUint8Array(){return this.data.toUint8Array()}serialize(t){t.serializeBytes(this.data.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new ld(r)}};uXe.LENGTH=64;var ns=uXe,kK=class Su extends wd{constructor(t){super();let{publicKeys:r,threshold:o}=t;if(r.length>Su.MAX_KEYS||r.length<Su.MIN_KEYS)throw new Error(`Must have between ${Su.MIN_KEYS} and ${Su.MAX_KEYS} public keys, inclusive`);if(o<Su.MIN_THRESHOLD||o>r.length)throw new Error(`Threshold must be between ${Su.MIN_THRESHOLD} and ${r.length}, inclusive`);this.publicKeys=r,this.threshold=o}verifySignature(t){let{message:r,signature:o}=t;if(!(o instanceof p4))return!1;let s=[];for(let i=0;i<4;i+=1)for(let n=0;n<8;n+=1)if(o.bitmap[i]&1<<7-n){let a=i*8+n;s.push(a)}if(s.length!==o.signatures.length)throw new Error("Bitmap and signatures length mismatch");if(s.length<this.threshold)throw new Error("Not enough signatures");for(let i=0;i<s.length;i+=1)if(!this.publicKeys[s[i]].verifySignature({message:r,signature:o.signatures[i]}))return!1;return!0}authKey(){return Hc.fromSchemeAndBytes({scheme:1,input:this.toUint8Array()})}toUint8Array(){let t=new Uint8Array(this.publicKeys.length*Po.LENGTH+1);return this.publicKeys.forEach((r,o)=>{t.set(r.toUint8Array(),o*Po.LENGTH)}),t[this.publicKeys.length*Po.LENGTH]=this.threshold,t}serialize(t){t.serializeBytes(this.toUint8Array())}static deserialize(t){let r=t.deserializeBytes(),o=r[r.length-1],s=[];for(let i=0;i<r.length-1;i+=Po.LENGTH){let n=i;s.push(new Po(r.subarray(n,n+Po.LENGTH)))}return new Su({publicKeys:s,threshold:o})}};kK.MAX_KEYS=32,kK.MIN_KEYS=2,kK.MIN_THRESHOLD=1;var h4=kK,wle=class Oa extends Kc{constructor(t){super();let{signatures:r,bitmap:o}=t;if(r.length>Oa.MAX_SIGNATURES_SUPPORTED)throw new Error(`The number of signatures cannot be greater than ${Oa.MAX_SIGNATURES_SUPPORTED}`);if(this.signatures=r,!(o instanceof Uint8Array))this.bitmap=Oa.createBitmap({bits:o});else{if(o.length!==Oa.BITMAP_LEN)throw new Error(`"bitmap" length should be ${Oa.BITMAP_LEN}`);this.bitmap=o}}toUint8Array(){let t=new Uint8Array(this.signatures.length*ns.LENGTH+Oa.BITMAP_LEN);return this.signatures.forEach((r,o)=>{t.set(r.toUint8Array(),o*ns.LENGTH)}),t.set(this.bitmap,this.signatures.length*ns.LENGTH),t}serialize(t){t.serializeBytes(this.toUint8Array())}static deserialize(t){let r=t.deserializeBytes(),o=r.subarray(r.length-4),s=[];for(let i=0;i<r.length-o.length;i+=ns.LENGTH){let n=i;s.push(new ns(r.subarray(n,n+ns.LENGTH)))}return new Oa({signatures:s,bitmap:o})}static createBitmap(t){let{bits:r}=t,o=128,s=new Uint8Array([0,0,0,0]),i=new Set;return r.forEach((n,a)=>{if(n>=Oa.MAX_SIGNATURES_SUPPORTED)throw new Error(`Cannot have a signature larger than ${Oa.MAX_SIGNATURES_SUPPORTED-1}.`);if(i.has(n))throw new Error("Duplicate bits detected.");if(a>0&&n<=r[a-1])throw new Error("The bits need to be sorted in ascending order.");i.add(n);let u=Math.floor(n/8),c=s[u];c|=o>>n%8,s[u]=c}),s}};wle.MAX_SIGNATURES_SUPPORTED=32,wle.BITMAP_LEN=4;var p4=wle;m(),m(),m(),m(),m(),m();function lXe(e){e.lowS!==void 0&&tp("lowS",e.lowS),e.prehash!==void 0&&tp("prehash",e.prehash)}function z$t(e){let t=MP(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:o,a:s}=t;if(r){if(!o.eql(s,o.ZERO))throw new Error("invalid endomorphism, can only be defined for Koblitz curves that have a=0");if(typeof r!="object"||typeof r.beta!="bigint"||typeof r.splitScalar!="function")throw new Error("invalid endomorphism, expected beta: bigint and splitScalar: function")}return Object.freeze({...t})}var{bytesToNumberBE:K$t,hexToBytes:H$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(t.length&1)throw new r("tlv.encode: unpadded data");let o=t.length/2,s=jE(o);if(s.length/2&128)throw new r("tlv.encode: long form length too big");let i=o>127?jE(s.length/2|128):"";return jE(e)+i+s+t},decode(e,t){let{Err:r}=Zm,o=0;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(t.length<2||t[o++]!==e)throw new r("tlv.decode: wrong tlv");let s=t[o++],i=!!(s&128),n=0;if(!i)n=s;else{let u=s&127;if(!u)throw new r("tlv.decode(long): indefinite length not supported");if(u>4)throw new r("tlv.decode(long): byte length is too big");let c=t.subarray(o,o+u);if(c.length!==u)throw new r("tlv.decode: length bytes not complete");if(c[0]===0)throw new r("tlv.decode(long): zero leftmost byte");for(let d of c)n=n<<8|d;if(o+=u,n<128)throw new r("tlv.decode(long): not minimal encoding")}let a=t.subarray(o,o+n);if(a.length!==n)throw new r("tlv.decode: wrong value length");return{v:a,l:t.subarray(o+n)}}},_int:{encode(e){let{Err:t}=Zm;if(e<$m)throw new t("integer: negative integers are not allowed");let r=jE(e);if(Number.parseInt(r[0],16)&8&&(r="00"+r),r.length&1)throw new t("unexpected DER parsing assertion: unpadded hex");return r},decode(e){let{Err:t}=Zm;if(e[0]&128)throw new t("invalid signature integer: negative");if(e[0]===0&&!(e[1]&128))throw new t("invalid signature integer: unnecessary leading zero");return K$t(e)}},toSig(e){let{Err:t,_int:r,_tlv:o}=Zm,s=typeof e=="string"?H$t(e):e;f4(s);let{v:i,l:n}=o.decode(48,s);if(n.length)throw new t("invalid signature: left bytes after parsing");let{v:a,l:u}=o.decode(2,i),{v:c,l:d}=o.decode(2,u);if(d.length)throw new t("invalid signature: left bytes after parsing");return{r:r.decode(a),s:r.decode(c)}},hexFromSig(e){let{_tlv:t,_int:r}=Zm,o=t.encode(2,r.encode(e.r)),s=t.encode(2,r.encode(e.s)),i=o+s;return t.encode(48,i)}},$m=BigInt(0),yc=BigInt(1),ann=BigInt(2),fXe=BigInt(3),cnn=BigInt(4);function q$t(e){let t=z$t(e),{Fp:r}=t,o=uw(t.n,t.nBitLength),s=t.toBytes||((T,A,O)=>{let v=A.toAffine();return Ym(Uint8Array.from([4]),r.toBytes(v.x),r.toBytes(v.y))}),i=t.fromBytes||(T=>{let A=T.subarray(1),O=r.fromBytes(A.subarray(0,r.BYTES)),v=r.fromBytes(A.subarray(r.BYTES,2*r.BYTES));return{x:O,y:v}});function n(T){let{a:A,b:O}=t,v=r.sqr(T),B=r.mul(v,T);return r.add(r.add(B,r.mul(T,A)),O)}if(!r.eql(r.sqr(t.Gy),n(t.Gx)))throw new Error("bad generator point: equation left != right");function a(T){return BP(T,yc,t.n)}function u(T){let{allowedPrivateKeyLengths:A,nByteLength:O,wrapPrivateKey:v,n:B}=t;if(A&&typeof T!="bigint"){if(sw(T)&&(T=Jm(T)),typeof T!="string"||!A.includes(T.length))throw new Error("invalid private key");T=T.padStart(O*2,"0")}let R;try{R=typeof T=="bigint"?T:Xm(hs("private key",T,O))}catch{throw new Error("invalid private key, expected hex or "+O+" bytes, got "+typeof T)}return v&&(R=Qi(R,B)),xf("private key",R,yc,B),R}function c(T){if(!(T instanceof y))throw new Error("ProjectivePoint expected")}let d=JE((T,A)=>{let{px:O,py:v,pz:B}=T;if(r.eql(B,r.ONE))return{x:O,y:v};let R=T.is0();A==null&&(A=R?r.ONE:r.inv(B));let U=r.mul(O,A),N=r.mul(v,A),_=r.mul(B,A);if(R)return{x:r.ZERO,y:r.ZERO};if(!r.eql(_,r.ONE))throw new Error("invZ was invalid");return{x:U,y:N}}),h=JE(T=>{if(T.is0()){if(t.allowInfinityPoint&&!r.is0(T.py))return;throw new Error("bad point: ZERO")}let{x:A,y:O}=T.toAffine();if(!r.isValid(A)||!r.isValid(O))throw new Error("bad point: x or y not FE");let v=r.sqr(O),B=n(A);if(!r.eql(v,B))throw new Error("bad point: equation left != right");if(!T.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class y{constructor(A,O,v){if(this.px=A,this.py=O,this.pz=v,A==null||!r.isValid(A))throw new Error("x required");if(O==null||!r.isValid(O))throw new Error("y required");if(v==null||!r.isValid(v))throw new Error("z required");Object.freeze(this)}static fromAffine(A){let{x:O,y:v}=A||{};if(!A||!r.isValid(O)||!r.isValid(v))throw new Error("invalid affine point");if(A instanceof y)throw new Error("projective point not allowed");let B=R=>r.eql(R,r.ZERO);return B(O)&&B(v)?y.ZERO:new y(O,v,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(A){let O=r.invertBatch(A.map(v=>v.pz));return A.map((v,B)=>v.toAffine(O[B])).map(y.fromAffine)}static fromHex(A){let O=y.fromAffine(i(hs("pointHex",A)));return O.assertValidity(),O}static fromPrivateKey(A){return y.BASE.multiply(u(A))}static msm(A,O){return OK(y,o,A,O)}_setWindowSize(A){w.setWindowSize(this,A)}assertValidity(){h(this)}hasEvenY(){let{y:A}=this.toAffine();if(r.isOdd)return!r.isOdd(A);throw new Error("Field doesn't support isOdd")}equals(A){c(A);let{px:O,py:v,pz:B}=this,{px:R,py:U,pz:N}=A,_=r.eql(r.mul(O,N),r.mul(R,B)),L=r.eql(r.mul(v,N),r.mul(U,B));return _&&L}negate(){return new y(this.px,r.neg(this.py),this.pz)}double(){let{a:A,b:O}=t,v=r.mul(O,fXe),{px:B,py:R,pz:U}=this,N=r.ZERO,_=r.ZERO,L=r.ZERO,H=r.mul(B,B),F=r.mul(R,R),G=r.mul(U,U),l=r.mul(B,R);return l=r.add(l,l),L=r.mul(B,U),L=r.add(L,L),N=r.mul(A,L),_=r.mul(v,G),_=r.add(N,_),N=r.sub(F,_),_=r.add(F,_),_=r.mul(N,_),N=r.mul(l,N),L=r.mul(v,L),G=r.mul(A,G),l=r.sub(H,G),l=r.mul(A,l),l=r.add(l,L),L=r.add(H,H),H=r.add(L,H),H=r.add(H,G),H=r.mul(H,l),_=r.add(_,H),G=r.mul(R,U),G=r.add(G,G),H=r.mul(G,l),N=r.sub(N,H),L=r.mul(G,F),L=r.add(L,L),L=r.add(L,L),new y(N,_,L)}add(A){c(A);let{px:O,py:v,pz:B}=this,{px:R,py:U,pz:N}=A,_=r.ZERO,L=r.ZERO,H=r.ZERO,F=t.a,G=r.mul(t.b,fXe),l=r.mul(O,R),p=r.mul(v,U),E=r.mul(B,N),g=r.add(O,v),b=r.add(R,U);g=r.mul(g,b),b=r.add(l,p),g=r.sub(g,b),b=r.add(O,B);let k=r.add(R,N);return b=r.mul(b,k),k=r.add(l,E),b=r.sub(b,k),k=r.add(v,B),_=r.add(U,N),k=r.mul(k,_),_=r.add(p,E),k=r.sub(k,_),H=r.mul(F,b),_=r.mul(G,E),H=r.add(_,H),_=r.sub(p,H),H=r.add(p,H),L=r.mul(_,H),p=r.add(l,l),p=r.add(p,l),E=r.mul(F,E),b=r.mul(G,b),p=r.add(p,E),E=r.sub(l,E),E=r.mul(F,E),b=r.add(b,E),l=r.mul(p,b),L=r.add(L,l),l=r.mul(k,b),_=r.mul(g,_),_=r.sub(_,l),l=r.mul(g,p),H=r.mul(k,H),H=r.add(H,l),new y(_,L,H)}subtract(A){return this.add(A.negate())}is0(){return this.equals(y.ZERO)}wNAF(A){return w.wNAFCached(this,A,y.normalizeZ)}multiplyUnsafe(A){let{endo:O,n:v}=t;xf("scalar",A,$m,v);let B=y.ZERO;if(A===$m)return B;if(this.is0()||A===yc)return this;if(!O||w.hasPrecomputes(this))return w.wNAFCachedUnsafe(this,A,y.normalizeZ);let{k1neg:R,k1:U,k2neg:N,k2:_}=O.splitScalar(A),L=B,H=B,F=this;for(;U>$m||_>$m;)U&yc&&(L=L.add(F)),_&yc&&(H=H.add(F)),F=F.double(),U>>=yc,_>>=yc;return R&&(L=L.negate()),N&&(H=H.negate()),H=new y(r.mul(H.px,O.beta),H.py,H.pz),L.add(H)}multiply(A){let{endo:O,n:v}=t;xf("scalar",A,yc,v);let B,R;if(O){let{k1neg:U,k1:N,k2neg:_,k2:L}=O.splitScalar(A),{p:H,f:F}=this.wNAF(N),{p:G,f:l}=this.wNAF(L);H=w.constTimeNegate(U,H),G=w.constTimeNegate(_,G),G=new y(r.mul(G.px,O.beta),G.py,G.pz),B=H.add(G),R=F.add(l)}else{let{p:U,f:N}=this.wNAF(A);B=U,R=N}return y.normalizeZ([B,R])[0]}multiplyAndAddUnsafe(A,O,v){let B=y.BASE,R=(N,_)=>_===$m||_===yc||!N.equals(B)?N.multiplyUnsafe(_):N.multiply(_),U=R(this,O).add(R(A,v));return U.is0()?void 0:U}toAffine(A){return d(this,A)}isTorsionFree(){let{h:A,isTorsionFree:O}=t;if(A===yc)return!0;if(O)return O(y,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:A,clearCofactor:O}=t;return A===yc?this:O?O(y,this):this.multiplyUnsafe(t.h)}toRawBytes(A=!0){return tp("isCompressed",A),this.assertValidity(),s(y,this,A)}toHex(A=!0){return tp("isCompressed",A),Jm(this.toRawBytes(A))}}y.BASE=new y(t.Gx,t.Gy,r.ONE),y.ZERO=new y(r.ZERO,r.ONE,r.ZERO);let C=t.nBitLength,w=IK(y,t.endo?Math.ceil(C/2):C);return{CURVE:t,ProjectivePoint:y,normPrivateKeyToScalar:u,weierstrassEquation:n,isWithinCurveOrder:a}}function j$t(e){let t=MP(e);return qg(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}function dXe(e){let t=j$t(e),{Fp:r,n:o}=t,s=r.BYTES+1,i=2*r.BYTES+1;function n(E){return Qi(E,o)}function a(E){return SK(E,o)}let{ProjectivePoint:u,normPrivateKeyToScalar:c,weierstrassEquation:d,isWithinCurveOrder:h}=q$t({...t,toBytes(E,g,b){let k=g.toAffine(),x=r.toBytes(k.x),S=Ym;return tp("isCompressed",b),b?S(Uint8Array.from([g.hasEvenY()?2:3]),x):S(Uint8Array.from([4]),x,r.toBytes(k.y))},fromBytes(E){let g=E.length,b=E[0],k=E.subarray(1);if(g===s&&(b===2||b===3)){let x=Xm(k);if(!BP(x,yc,r.ORDER))throw new Error("Point is not on curve");let S=d(x),f;try{f=r.sqrt(S)}catch(V){let D=V instanceof Error?": "+V.message:"";throw new Error("Point is not on curve"+D)}let M=(f&yc)===yc;return(b&1)===1!==M&&(f=r.neg(f)),{x,y:f}}else if(g===i&&b===4){let x=r.fromBytes(k.subarray(0,r.BYTES)),S=r.fromBytes(k.subarray(r.BYTES,2*r.BYTES));return{x,y:S}}else{let x=s,S=i;throw new Error("invalid Point, expected length of "+x+", or uncompressed "+S+", got "+g)}}}),y=E=>Jm(cw(E,t.nByteLength));function C(E){let g=o>>yc;return E>g}function w(E){return C(E)?n(-E):E}let T=(E,g,b)=>Xm(E.slice(g,b));class A{constructor(g,b,k){this.r=g,this.s=b,this.recovery=k,this.assertValidity()}static fromCompact(g){let b=t.nByteLength;return g=hs("compactSignature",g,b*2),new A(T(g,0,b),T(g,b,2*b))}static fromDER(g){let{r:b,s:k}=Zm.toSig(hs("DER",g));return new A(b,k)}assertValidity(){xf("r",this.r,yc,o),xf("s",this.s,yc,o)}addRecoveryBit(g){return new A(this.r,this.s,g)}recoverPublicKey(g){let{r:b,s:k,recovery:x}=this,S=N(hs("msgHash",g));if(x==null||![0,1,2,3].includes(x))throw new Error("recovery id invalid");let f=x===2||x===3?b+t.n:b;if(f>=r.ORDER)throw new Error("recovery id 2 or 3 invalid");let M=x&1?"03":"02",V=u.fromHex(M+y(f)),D=a(f),j=n(-S*D),Y=n(k*D),oe=u.BASE.multiplyAndAddUnsafe(V,j,Y);if(!oe)throw new Error("point at infinify");return oe.assertValidity(),oe}hasHighS(){return C(this.s)}normalizeS(){return this.hasHighS()?new A(this.r,n(-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 y(this.r)+y(this.s)}}let O={isValidPrivateKey(E){try{return c(E),!0}catch{return!1}},normPrivateKeyToScalar:c,randomPrivateKey:()=>{let E=dle(t.n);return eXe(t.randomBytes(E),t.n)},precompute(E=8,g=u.BASE){return g._setWindowSize(E),g.multiply(BigInt(3)),g}};function v(E,g=!0){return u.fromPrivateKey(E).toRawBytes(g)}function B(E){let g=sw(E),b=typeof E=="string",k=(g||b)&&E.length;return g?k===s||k===i:b?k===2*s||k===2*i:E instanceof u}function R(E,g,b=!0){if(B(E))throw new Error("first arg must be private key");if(!B(g))throw new Error("second arg must be public key");return u.fromHex(g).multiply(c(E)).toRawBytes(b)}let U=t.bits2int||function(E){if(E.length>8192)throw new Error("input is too large");let g=Xm(E),b=E.length*8-t.nBitLength;return b>0?g>>BigInt(b):g},N=t.bits2int_modN||function(E){return n(U(E))},_=kP(t.nBitLength);function L(E){return xf("num < 2^"+t.nBitLength,E,$m,_),cw(E,t.nByteLength)}function H(E,g,b=F){if(["recovered","canonical"].some(ue=>ue in b))throw new Error("sign() legacy options not supported");let{hash:k,randomBytes:x}=t,{lowS:S,prehash:f,extraEntropy:M}=b;S==null&&(S=!0),E=hs("msgHash",E),lXe(b),f&&(E=hs("prehashed msgHash",k(E)));let V=N(E),D=c(g),j=[L(D),L(V)];if(M!=null&&M!==!1){let ue=M===!0?x(r.BYTES):M;j.push(hs("extraEntropy",ue))}let Y=Ym(...j),oe=V;function de(ue){let ae=U(ue);if(!h(ae))return;let q=a(ae),ne=u.BASE.multiply(ae).toAffine(),me=n(ne.x);if(me===$m)return;let ve=n(q*n(oe+me*D));if(ve===$m)return;let ge=(ne.x===me?0:2)|Number(ne.y&yc),ce=ve;return S&&C(ve)&&(ce=w(ve),ge^=1),new A(me,ce,ge)}return{seed:Y,k2sig:de}}let F={lowS:t.lowS,prehash:!1},G={lowS:t.lowS,prehash:!1};function l(E,g,b=F){let{seed:k,k2sig:x}=H(E,g,b),S=t;return cle(S.hash.outputLen,S.nByteLength,S.hmac)(k,x)}u.BASE._setWindowSize(8);function p(E,g,b,k=G){let x=E;g=hs("msgHash",g),b=hs("publicKey",b);let{lowS:S,prehash:f,format:M}=k;if(lXe(k),"strict"in k)throw new Error("options.strict was renamed to lowS");if(M!==void 0&&M!=="compact"&&M!=="der")throw new Error("format must be compact or der");let V=typeof x=="string"||sw(x),D=!V&&!M&&typeof x=="object"&&x!==null&&typeof x.r=="bigint"&&typeof x.s=="bigint";if(!V&&!D)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let j,Y;try{if(D&&(j=new A(x.r,x.s)),V){try{M!=="compact"&&(j=A.fromDER(x))}catch(ve){if(!(ve instanceof Zm.Err))throw ve}!j&&M!=="der"&&(j=A.fromCompact(x))}Y=u.fromHex(b)}catch{return!1}if(!j||S&&j.hasHighS())return!1;f&&(g=t.hash(g));let{r:oe,s:de}=j,ue=N(g),ae=a(de),q=n(ue*ae),ne=n(oe*ae),me=u.BASE.multiplyAndAddUnsafe(Y,q,ne)?.toAffine();return me?n(me.x)===oe:!1}return{CURVE:t,getPublicKey:v,getSharedSecret:R,sign:l,verify:p,ProjectivePoint:u,Signature:A,utils:O}}function G$t(e){return{hash:e,hmac:(t,...r)=>Hg(e,t,j1(...r)),randomBytes:Q6}}function hXe(e,t){let r=o=>dXe({...e,...G$t(o)});return{...r(t),create:r}}var yXe=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),pXe=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),V$t=BigInt(1),Ale=BigInt(2),gXe=(e,t)=>(e+t/Ale)/t;function J$t(e){let t=yXe,r=BigInt(3),o=BigInt(6),s=BigInt(11),i=BigInt(22),n=BigInt(23),a=BigInt(44),u=BigInt(88),c=e*e*e%t,d=c*c*e%t,h=rs(d,r,t)*d%t,y=rs(h,r,t)*d%t,C=rs(y,Ale,t)*c%t,w=rs(C,s,t)*C%t,T=rs(w,i,t)*w%t,A=rs(T,a,t)*T%t,O=rs(A,u,t)*A%t,v=rs(O,a,t)*T%t,B=rs(v,r,t)*d%t,R=rs(B,n,t)*w%t,U=rs(R,o,t)*c%t,N=rs(U,Ale,t);if(!Ele.eql(Ele.sqr(N),e))throw new Error("Cannot find square root");return N}var Ele=uw(yXe,void 0,void 0,{sqrt:J$t}),Uu=hXe({a:BigInt(0),b:BigInt(7),Fp:Ele,n:pXe,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=pXe,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),o=-V$t*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),s=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),i=r,n=BigInt("0x100000000000000000000000000000000"),a=gXe(i*e,t),u=gXe(-o*e,t),c=Qi(e-a*r-u*s,t),d=Qi(-a*o-u*i,t),h=c>n,y=d>n;if(h&&(c=t-c),y&&(d=t-d),c>n||d>n)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:h,k1:c,k2neg:y,k2:d}}}},es),vnn=BigInt(0),wnn=Uu.ProjectivePoint;m(),m();var X$t=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),bXe=new Uint8Array(new Array(16).fill(0).map((e,t)=>t)),Y$t=bXe.map(e=>(9*e+5)%16),Sle=[bXe],Cle=[Y$t];for(let e=0;e<4;e++)for(let t of[Sle,Cle])t.push(t[e].map(r=>X$t[r]));var vXe=[[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)),Q$t=Sle.map((e,t)=>e.map(r=>vXe[t][r])),Z$t=Cle.map((e,t)=>e.map(r=>vXe[t][r])),$$t=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),eer=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]);function mXe(e,t,r,o){return e===0?t^r^o:e===1?t&r|~t&o:e===2?(t|~r)^o:e===3?t&o|r&~o:t^(r|~o)}var MK=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:o,h4:s}=this;return[e,t,r,o,s]}set(e,t,r,o,s){this.h0=e|0,this.h1=t|0,this.h2=r|0,this.h3=o|0,this.h4=s|0}process(e,t){for(let y=0;y<16;y++,t+=4)MK[y]=e.getUint32(t,!0);let r=this.h0|0,o=r,s=this.h1|0,i=s,n=this.h2|0,a=n,u=this.h3|0,c=u,d=this.h4|0,h=d;for(let y=0;y<5;y++){let C=4-y,w=$$t[y],T=eer[y],A=Sle[y],O=Cle[y],v=Q$t[y],B=Z$t[y];for(let R=0;R<16;R++){let U=vP(r+mXe(y,s,n,u)+MK[A[R]]+w,v[R])+d|0;r=d,d=u,u=vP(n,10)|0,n=s,s=U}for(let R=0;R<16;R++){let U=vP(o+mXe(C,i,a,c)+MK[O[R]]+T,B[R])+h|0;o=h,h=c,c=vP(a,10)|0,a=i,i=U}}this.set(this.h1+n+c|0,this.h2+u+h|0,this.h3+d+o|0,this.h4+r+i|0,this.h0+s+a|0)}roundClean(){MK.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=zJe(es);function wXe(e){_u(e);let t=e.length===0?"0":Q0(e);return BigInt("0x"+t)}function ter(e){if(typeof e!="bigint")throw new Error("bigint expected");return q1(e.toString(16).padStart(64,"0"))}var rer=Kz("Bitcoin seed"),Ole={private:76066276,public:76067358},Ple=2147483648,ner=e=>_K(es(e)),ier=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 Oc{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return ier(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 t=this.privateKey;if(!t)throw new Error("No private key");return Ile.encode(this.serialize(this.versions.private,j1(new Uint8Array([0]),t)))}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 o=Hg(Gm,rer,t);return new Oc({versions:r,chainCode:o.slice(32),privateKey:o.slice(0,32)})}static fromExtendedKey(t,r=Ole){let o=Ile.decode(t),s=Ng(o),i=s.getUint32(0,!1),n={versions:r,depth:o[4],parentFingerprint:s.getUint32(5,!1),index:s.getUint32(9,!1),chainCode:o.slice(13,45)},a=o.slice(45),u=a[0]===0;if(i!==r[u?"private":"public"])throw new Error("Version mismatch");return u?new Oc({...n,privateKey:a.slice(1)}):new Oc({...n,publicKey:a})}static fromJSON(t){return Oc.fromExtendedKey(t.xpriv)}constructor(t){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!t||typeof t!="object")throw new Error("HDKey.constructor must not be called directly");if(this.versions=t.versions||Ole,this.depth=t.depth||0,this.chainCode=t.chainCode||null,this.index=t.index||0,this.parentFingerprint=t.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(t.publicKey&&t.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(t.privateKey){if(!Uu.utils.isValidPrivateKey(t.privateKey))throw new Error("Invalid private key");this.privKey=typeof t.privateKey=="bigint"?t.privateKey:wXe(t.privateKey),this.privKeyBytes=ter(this.privKey),this.pubKey=Uu.getPublicKey(t.privateKey,!0)}else if(t.publicKey)this.pubKey=RK.fromHex(t.publicKey).toRawBytes(!0);else throw new Error("HDKey: no public or private key provided");this.pubHash=ner(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("/"),o=this;for(let s of r){let i=/^(\d+)('?)$/.exec(s),n=i&&i[1];if(!i||i.length!==3||typeof n!="string")throw new Error("invalid child index: "+s);let a=+n;if(!Number.isSafeInteger(a)||a>=Ple)throw new Error("Invalid index");i[2]==="'"&&(a+=Ple),o=o.deriveChild(a)}return o}deriveChild(t){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let r=NK(t);if(t>=Ple){let a=this.privateKey;if(!a)throw new Error("Could not derive hardened child key");r=j1(new Uint8Array([0]),a,r)}else r=j1(this.pubKey,r);let o=Hg(Gm,this.chainCode,r),s=wXe(o.slice(0,32)),i=o.slice(32);if(!Uu.utils.isValidPrivateKey(s))throw new Error("Tweak bigger than curve order");let n={versions:this.versions,chainCode:i,depth:this.depth+1,parentFingerprint:this.fingerprint,index:t};try{if(this.privateKey){let a=Qi(this.privKey+s,Uu.CURVE.n);if(!Uu.utils.isValidPrivateKey(a))throw new Error("The tweak was out of range or the resulted private key is invalid");n.privateKey=a}else{let a=RK.fromHex(this.pubKey).add(RK.fromPrivateKey(s));if(a.equals(RK.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");n.publicKey=a.toRawBytes(!0)}return new Oc(n)}catch{return this.deriveChild(t+1)}}sign(t){if(!this.privateKey)throw new Error("No privateKey set!");return _u(t,32),Uu.sign(t,this.privKey).toCompactRawBytes()}verify(t,r){if(_u(t,32),_u(r,64),!this.publicKey)throw new Error("No publicKey set!");let o;try{o=Uu.Signature.fromCompact(r)}catch{return!1}return Uu.verify(o,t,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(t,r){if(!this.chainCode)throw new Error("No chainCode set");return _u(r,33),j1(NK(t),new Uint8Array([this.depth]),NK(this.parentFingerprint),NK(this.index),this.chainCode,r)}},xXe=class kc extends c4{constructor(t){super();let r=Sr.fromHexInput(t);if(r.toUint8Array().length!==kc.LENGTH)throw new Error(`PublicKey length should be ${kc.LENGTH}`);this.key=r}verifySignature(t){let{message:r,signature:o}=t,s=u4(r),i=Sr.fromHexInput(s).toUint8Array(),n=vd(i),a=o.toUint8Array();return Uu.verify(a,n,this.key.toUint8Array(),{lowS:!0})}toUint8Array(){return this.key.toUint8Array()}serialize(t){t.serializeBytes(this.key.toUint8Array())}deserialize(t){let r=t.deserializeBytes();return new m4(r)}static deserialize(t){let r=t.deserializeBytes();return new kc(r)}static isPublicKey(t){return t instanceof kc}static isInstance(t){return"key"in t&&t.key?.data?.length===kc.LENGTH}};xXe.LENGTH=65;var dw=xXe,AXe=class Iu extends gr{constructor(t,r){super();let o=qE.parseHexInput(t,"secp256k1",r);if(o.toUint8Array().length!==Iu.LENGTH)throw new Error(`PrivateKey length should be ${Iu.LENGTH}`);this.key=o}static generate(){let t=Uu.utils.randomPrivateKey();return new Iu(t,!1)}static fromDerivationPath(t,r){if(!ele(t))throw new Error(`Invalid derivation path ${t}`);return Iu.fromDerivationPathInner(t,PP(r))}static fromDerivationPathInner(t,r){let{privateKey:o}=DK.fromMasterSeed(r).derive(t);if(o===null)throw new Error("Invalid key");return new Iu(o,!1)}sign(t){let r=u4(t),o=Sr.fromHexInput(r),s=vd(o.toUint8Array()),i=Uu.sign(s,this.key.toUint8Array(),{lowS:!0});return new m4(i.toCompactRawBytes())}publicKey(){let t=Uu.getPublicKey(this.key.toUint8Array(),!1);return new dw(t)}toUint8Array(){return this.key.toUint8Array()}toString(){return this.toHexString()}toHexString(){return this.key.toString()}toAIP80String(){return qE.formatPrivateKey(this.key.toString(),"secp256k1")}serialize(t){t.serializeBytes(this.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new Iu(r,!1)}static isPrivateKey(t){return t instanceof Iu}};AXe.LENGTH=32;var y4=AXe,EXe=class dd extends Kc{constructor(t){super();let r=Sr.fromHexInput(t);if(r.toUint8Array().length!==dd.LENGTH)throw new Error(`Signature length should be ${dd.LENGTH}, received ${r.toUint8Array().length}`);this.data=r}toUint8Array(){return this.data.toUint8Array()}serialize(t){t.serializeBytes(this.data.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new dd(r)}};EXe.LENGTH=64;var m4=EXe;m(),m(),m();var TXe=class extends gr{};m();var b4=class df extends c4{constructor(t){super();let r=t.constructor.name;if(r===Po.name)this.publicKey=t,this.variant=0;else throw new Error(`Unsupported key for EphemeralPublicKey - ${r}`)}verifySignature(t){let{message:r,signature:o}=t;return this.publicKey.verifySignature({message:r,signature:o.signature})}serialize(t){if(this.publicKey instanceof Po)t.serializeU32AsUleb128(0),this.publicKey.serialize(t);else throw new Error("Unknown public key type")}static deserialize(t){let r=t.deserializeUleb128AsU32();if(r===0)return new df(Po.deserialize(t));throw new Error(`Unknown variant index for EphemeralPublicKey: ${r}`)}static isPublicKey(t){return t instanceof df}},eb=class hf extends Kc{constructor(t){super();let r=t.constructor.name;if(r===ns.name)this.signature=t;else throw new Error(`Unsupported signature for EphemeralSignature - ${r}`)}static fromHex(t){let r=Sr.fromHexInput(t),o=new _a(r.toUint8Array());return hf.deserialize(o)}serialize(t){if(this.signature instanceof ns)t.serializeU32AsUleb128(0),this.signature.serialize(t);else throw new Error("Unknown signature type")}static deserialize(t){let r=t.deserializeUleb128AsU32();if(r===0)return new hf(ns.deserialize(t));throw new Error(`Unknown variant index for EphemeralSignature: ${r}`)}};m();var _i=hi(jne(),1),Mle=[_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],CXe=31,oer=16,SXe=(oer-1)*CXe;function RP(e,t){let r=new TextEncoder().encode(e);return ser(r,t)}function ser(e,t){if(e.length>t)throw new Error(`Inputted bytes of length ${e} is longer than ${t}`);let r=LK(e,t);return w4(r)}function aer(e,t){if(e.length>t)throw new Error(`Input bytes of length ${e} is longer than ${t}`);let r=ler(e,t);return cer(r)}function LK(e,t){if(e.length>t)throw new Error(`Input bytes of length ${e} is longer than ${t}`);return aer(e,t).concat([BigInt(e.length)])}function cer(e){if(e.length>SXe)throw new Error(`Can't pack more than ${SXe}.  Was given ${e.length} bytes`);return uer(e,CXe).map(t=>v4(t))}function uer(e,t){let r=[];for(let o=0;o<e.length;o+=t)r.push(e.subarray(o,o+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),o=new Uint8Array(t);for(let s=0;s<t;s+=1)o[s]=Number(r&BigInt(255)),r>>=BigInt(8);return o}function ler(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 o=e.length;o<t;o+=1)r[o]=0;return r}function w4(e){if(e.length>Mle.length)throw new Error(`Unable to hash input of length ${e.length}.  Max input length is ${Mle.length}`);return Mle[e.length-1](e)}m();var Rle=new Map;function Gg(e,t,r){return async(...o)=>{if(Rle.has(t)){let{value:i,timestamp:n}=Rle.get(t);if(r===void 0||Date.now()-n<=r)return i}let s=await e(...o);return Rle.set(t,{value:s,timestamp:Date.now()}),s}}m();var YE=class extends Error{};YE.prototype.name="InvalidTokenError";function fer(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let o=r.charCodeAt(0).toString(16).toUpperCase();return o.length<2&&(o="0"+o),"%"+o}))}function der(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 fer(t)}catch{return atob(t)}}function QE(e,t){if(typeof e!="string")throw new YE("Invalid token specified: must be a string");t||(t={});let r=t.header===!0?0:1,o=e.split(".")[r];if(typeof o!="string")throw new YE(`Invalid token specified: missing part #${r+1}`);let s;try{s=der(o)}catch(i){throw new YE(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(s)}catch(i){throw new YE(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}var OXe=120,PXe=30,BXe=330,kXe=class Ou extends wd{constructor(t,r){super();let o=Sr.fromHexInput(r).toUint8Array();if(o.length!==Ou.ID_COMMITMENT_LENGTH)throw new Error(`Id Commitment length in bytes should be ${Ou.ID_COMMITMENT_LENGTH}`);this.iss=t,this.idCommitment=o}authKey(){let t=new Ru;return t.serializeU32AsUleb128(3),t.serializeFixedBytes(this.bcsToBytes()),Hc.fromSchemeAndBytes({scheme:2,input:t.toUint8Array()})}verifySignature(t){throw new Error("Not yet implemented")}serialize(t){t.serializeStr(this.iss),t.serializeBytes(this.idCommitment)}static deserialize(t){let r=t.deserializeStr(),o=t.deserializeBytes();return new Ou(r,o)}static load(t){let r=t.deserializeStr(),o=t.deserializeBytes();return new Ou(r,o)}static isPublicKey(t){return t instanceof Ou}static create(t){return IXe(t),new Ou(t.iss,IXe(t))}static fromJwtAndPepper(t){let{jwt:r,pepper:o,uidKey:s="sub"}=t,i=QE(r);if(typeof i.iss!="string")throw new Error("iss was not found");if(typeof i.aud!="string")throw new Error("aud was not found or an array of values");let n=i[s];return Ou.create({iss:i.iss,uidKey:s,uidVal:n,aud:i.aud,pepper:o})}static isInstance(t){return"iss"in t&&typeof t.iss=="string"&&"idCommitment"in t&&t.idCommitment instanceof Uint8Array}};kXe.ID_COMMITMENT_LENGTH=32;var Ys=kXe;function IXe(e){let{uidKey:t,uidVal:r,aud:o,pepper:s}=e,i=[v4(Sr.fromHexInput(s).toUint8Array()),RP(o,OXe),RP(r,BXe),RP(t,PXe)];return _le(w4(i),Ys.ID_COMMITMENT_LENGTH)}var pw=class hd extends Kc{constructor(t){super();let{jwtHeader:r,ephemeralCertificate:o,expiryDateSecs:s,ephemeralPublicKey:i,ephemeralSignature:n}=t;this.jwtHeader=r,this.ephemeralCertificate=o,this.expiryDateSecs=s,this.ephemeralPublicKey=i,this.ephemeralSignature=n}getJwkKid(){return KXe(this.jwtHeader).kid}serialize(t){this.ephemeralCertificate.serialize(t),t.serializeStr(this.jwtHeader),t.serializeU64(this.expiryDateSecs),this.ephemeralPublicKey.serialize(t),this.ephemeralSignature.serialize(t)}static deserialize(t){let r=DP.deserialize(t),o=t.deserializeStr(),s=t.deserializeU64(),i=b4.deserialize(t),n=eb.deserialize(t);return new hd({jwtHeader:o,expiryDateSecs:Number(s),ephemeralCertificate:r,ephemeralPublicKey:i,ephemeralSignature:n})}static getSimulationSignature(){return new hd({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 hd}},DP=class tb extends Kc{constructor(t,r){super(),this.signature=t,this.variant=r}toUint8Array(){return this.signature.toUint8Array()}serialize(t){t.serializeU32AsUleb128(this.variant),this.signature.serialize(t)}static deserialize(t){let r=t.deserializeUleb128AsU32();if(r===0)return new tb(gw.deserialize(t),r);throw new Error(`Unknown variant index for EphemeralCertificate: ${r}`)}},ZE=class ob extends gr{constructor(t){if(super(),this.data=Sr.fromHexInput(t).toUint8Array(),this.data.length!==32)throw new Error("Input needs to be 32 bytes")}serialize(t){t.serializeFixedBytes(this.data)}static deserialize(t){let r=t.deserializeFixedBytes(32);return new ob(r)}},NP=class sb extends gr{constructor(t){if(super(),this.data=Sr.fromHexInput(t).toUint8Array(),this.data.length!==64)throw new Error("Input needs to be 64 bytes")}serialize(t){t.serializeFixedBytes(this.data)}static deserialize(t){let r=t.deserializeFixedBytes(64);return new sb(r)}},UP=class ab extends TXe{constructor(t){super();let{a:r,b:o,c:s}=t;this.a=new ZE(r),this.b=new NP(o),this.c=new ZE(s)}serialize(t){this.a.serialize(t),this.b.serialize(t),this.c.serialize(t)}static deserialize(t){let r=ZE.deserialize(t).bcsToBytes(),o=NP.deserialize(t).bcsToBytes(),s=ZE.deserialize(t).bcsToBytes();return new ab({a:r,b:o,c:s})}},LP=class ub extends gr{constructor(t,r){super(),this.proof=t,this.variant=r}serialize(t){t.serializeU32AsUleb128(this.variant),this.proof.serialize(t)}static deserialize(t){let r=t.deserializeUleb128AsU32();if(r===0)return new ub(UP.deserialize(t),r);throw new Error(`Unknown variant index for ZkProof: ${r}`)}},gw=class ff extends Kc{constructor(t){super();let{proof:r,expHorizonSecs:o,trainingWheelsSignature:s,extraField:i,overrideAudVal:n}=t;this.proof=r,this.expHorizonSecs=o,this.trainingWheelsSignature=s,this.extraField=i,this.overrideAudVal=n}static fromBytes(t){return ff.deserialize(new _a(t))}serialize(t){this.proof.serialize(t),t.serializeU64(this.expHorizonSecs),t.serializeOption(this.extraField),t.serializeOption(this.overrideAudVal),t.serializeOption(this.trainingWheelsSignature)}static deserialize(t){let r=LP.deserialize(t),o=Number(t.deserializeU64()),s=t.deserializeOption("string"),i=t.deserializeOption("string"),n=t.deserializeOption(eb);return new ff({proof:r,expHorizonSecs:o,trainingWheelsSignature:n,extraField:s,overrideAudVal:i})}},UXe=class cb{constructor(t,r){this.verificationKey=t,this.maxExpHorizonSecs=r}static create(t,r){return new cb(new FXe({alphaG1:t.alpha_g1,betaG2:t.beta_g2,deltaG2:t.delta_g2,gammaAbcG1:t.gamma_abc_g1,gammaG2:t.gamma_g2}),r)}},FXe=class lb{constructor(t){let{alphaG1:r,betaG2:o,deltaG2:s,gammaAbcG1:i,gammaG2:n}=t;this.alphaG1=new ZE(r),this.betaG2=new NP(o),this.deltaG2=new NP(s),this.gammaAbcG1=[new ZE(i[0]),new ZE(i[1])],this.gammaG2=new NP(n)}hash(){let t=new Ru;return this.serialize(t),vd.create().update(t.toUint8Array()).digest()}serialize(t){this.alphaG1.serialize(t),this.betaG2.serialize(t),this.deltaG2.serialize(t),this.gammaAbcG1[0].serialize(t),this.gammaAbcG1[1].serialize(t),this.gammaG2.serialize(t)}static fromGroth16VerificationKeyResponse(t){return new lb({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 r=await her(e),o=await per(e);return UXe.create(o,Number(r.max_exp_horizon_secs))},`keyless-configuration-${t.network}`,1e3*60*5)()}catch(r){throw r instanceof Os?r:Os.fromErrorType({type:25,error:r})}}function $E(e){let{jwt:t,uidKey:r="sub"}=e,o;try{o=QE(t)}catch(i){throw Os.fromErrorType({type:12,details:`Failed to parse JWT - ${SP(i)}`})}if(typeof o.iss!="string")throw Os.fromErrorType({type:12,details:"JWT is missing 'iss' in the payload. This should never happen."});if(typeof o.aud!="string")throw Os.fromErrorType({type:12,details:"JWT is missing 'aud' in the payload or 'aud' is an array of values."});let s=o[r];return{iss:o.iss,aud:o.aud,uidVal:s}}async function her(e){let{aptosConfig:t,options:r}=e,o="0x1::keyless_account::Configuration";try{let{data:s}=await Ra({aptosConfig:t,originMethod:"getKeylessConfigurationResource",path:`accounts/${st.from("0x1").toString()}/resource/${o}`,params:{ledger_version:r?.ledgerVersion}});return s.data}catch(s){throw Os.fromErrorType({type:22,error:s})}}async function per(e){let{aptosConfig:t,options:r}=e,o="0x1::keyless_account::Groth16VerificationKey";try{let{data:s}=await Ra({aptosConfig:t,originMethod:"getGroth16VerificationKeyResource",path:`accounts/${st.from("0x1").toString()}/resource/${o}`,params:{ledger_version:r?.ledgerVersion}});return s.data}catch(s){throw Os.fromErrorType({type:23,error:s})}}async function Ule(e){let{aptosConfig:t,jwkAddr:r,options:o}=e,s;if(r){let n="0x1::jwks::FederatedJWKs",{data:a}=await Ra({aptosConfig:t,originMethod:"getKeylessJWKs",path:`accounts/${st.from(r).toString()}/resource/${n}`,params:{ledger_version:o?.ledgerVersion}});s=a}else{let n="0x1::jwks::PatchedJWKs",{data:a}=await Ra({aptosConfig:t,originMethod:"getKeylessJWKs",path:`accounts/0x1/resource/${n}`,params:{ledger_version:o?.ledgerVersion}});s=a}let i=new Map;for(let n of s.data.jwks.entries){let a=[];for(let u of n.jwks){let{data:c}=u.variant,d=new _a(Sr.fromHexInput(c).toUint8Array()),h=zXe.deserialize(d);a.push(h)}i.set(lue(n.issuer),a)}return i}var zXe=class pf extends gr{constructor(t){super();let{kid:r,kty:o,alg:s,e:i,n}=t;this.kid=r,this.kty=o,this.alg=s,this.e=i,this.n=n}serialize(t){t.serializeStr(this.kid),t.serializeStr(this.kty),t.serializeStr(this.alg),t.serializeStr(this.e),t.serializeStr(this.n)}static fromMoveStruct(t){let{data:r}=t.variant,o=new _a(Sr.fromHexInput(r).toUint8Array());return pf.deserialize(o)}static deserialize(t){let r=t.deserializeStr(),o=t.deserializeStr(),s=t.deserializeStr(),i=t.deserializeStr(),n=t.deserializeStr();return new pf({kid:r,kty:o,alg:s,n:i,e:n})}};function KXe(e){try{let t=JSON.parse(e);if(t.kid===void 0)throw new Error("JWT header missing kid");return t}catch{throw new Error("Failed to parse JWT header.")}}var Tf=class cl extends wd{constructor(t,r){super(),this.jwkAddress=st.from(t),this.keylessPublicKey=r}authKey(){let t=new Ru;return t.serializeU32AsUleb128(4),t.serializeFixedBytes(this.bcsToBytes()),Hc.fromSchemeAndBytes({scheme:2,input:t.toUint8Array()})}verifySignature(t){throw new Error("Not yet implemented")}serialize(t){this.jwkAddress.serialize(t),this.keylessPublicKey.serialize(t)}static deserialize(t){let r=st.deserialize(t),o=Ys.deserialize(t);return new cl(r,o)}static isPublicKey(t){return t instanceof cl}static create(t){return new cl(t.jwkAddress,Ys.create(t))}static fromJwtAndPepper(t){return new cl(t.jwkAddress,Ys.fromJwtAndPepper(t))}static isInstance(t){return"jwkAddress"in t&&t.jwkAddress instanceof st&&"keylessPublicKey"in t&&t.keylessPublicKey instanceof Ys}},da=class gf extends wd{constructor(t){if(super(),this.publicKey=t,t instanceof Po)this.variant=0;else if(t instanceof dw)this.variant=1;else if(t instanceof Ys)this.variant=3;else if(t instanceof Tf)this.variant=4;else throw new Error("Unsupported public key type")}verifySignature(t){let{message:r,signature:o}=t;return qc.isInstance(o)?this.publicKey.verifySignature({message:r,signature:o.signature}):!1}authKey(){return Hc.fromSchemeAndBytes({scheme:2,input:this.toUint8Array()})}toUint8Array(){return this.bcsToBytes()}serialize(t){t.serializeU32AsUleb128(this.variant),this.publicKey.serialize(t)}static deserialize(t){let r=t.deserializeUleb128AsU32(),o;switch(r){case 0:o=Po.deserialize(t);break;case 1:o=dw.deserialize(t);break;case 3:o=Ys.deserialize(t);break;case 4:o=Tf.deserialize(t);break;default:throw new Error(`Unknown variant index for AnyPublicKey: ${r}`)}return new gf(o)}static isPublicKey(t){return t instanceof gf}isEd25519(){return this.publicKey instanceof Po}isSecp256k1PublicKey(){return this.publicKey instanceof dw}static isInstance(t){return"publicKey"in t&&"variant"in t}},qc=class hb extends Kc{constructor(t){if(super(),this.signature=t,t instanceof ns)this.variant=0;else if(t instanceof m4)this.variant=1;else if(t instanceof pw)this.variant=3;else throw new Error("Unsupported signature type")}toUint8Array(){return console.warn("[Aptos SDK] Calls to AnySignature.toUint8Array() will soon return the underlying signature bytes. Use AnySignature.bcsToBytes() instead."),this.bcsToBytes()}serialize(t){t.serializeU32AsUleb128(this.variant),this.signature.serialize(t)}static deserialize(t){let r=t.deserializeUleb128AsU32(),o;switch(r){case 0:o=ns.deserialize(t);break;case 1:o=m4.deserialize(t);break;case 3:o=pw.deserialize(t);break;default:throw new Error(`Unknown variant index for AnySignature: ${r}`)}return new hb(o)}static isInstance(t){return"signature"in t&&typeof t.signature=="object"&&t.signature!==null&&"toUint8Array"in t.signature}};function ger(e){let t=e;return t-=t>>1&1431655765,t=(t&858993459)+(t>>2&858993459),(t+(t>>4)&252645135)*16843009>>24}var e2=class fb extends wd{constructor(t){super();let{publicKeys:r,signaturesRequired:o}=t;if(o<1)throw new Error("The number of required signatures needs to be greater than 0");if(r.length<o)throw new Error(`Provided ${r.length} public keys is smaller than the ${o} required signatures`);this.publicKeys=r.map(s=>s instanceof da?s:new da(s)),this.signaturesRequired=o}verifySignature(t){throw new Error("not implemented")}authKey(){return Hc.fromSchemeAndBytes({scheme:3,input:this.toUint8Array()})}serialize(t){t.serializeVector(this.publicKeys),t.serializeU8(this.signaturesRequired)}static deserialize(t){let r=t.deserializeVector(da),o=t.deserializeU8();return new fb({publicKeys:r,signaturesRequired:o})}createBitmap(t){let{bits:r}=t,o=128,s=new Uint8Array([0,0,0,0]),i=new Set;return r.forEach((n,a)=>{if(a+1>this.publicKeys.length)throw new Error(`Signature index ${a+1} is out of public keys range, ${this.publicKeys.length}.`);if(i.has(n))throw new Error(`Duplicate bit ${n} detected.`);i.add(n);let u=Math.floor(n/8),c=s[u];c|=o>>n%8,s[u]=c}),s}getIndex(t){let r=t instanceof da?t:new da(t),o=this.publicKeys.findIndex(s=>s.toString()===r.toString());if(o!==-1)return o;throw new Error("Public key not found in MultiKey")}static isInstance(t){return"publicKeys"in t&&"signaturesRequired"in t}},WK=class cu extends Kc{constructor(t){super();let{signatures:r,bitmap:o}=t;if(r.length>cu.MAX_SIGNATURES_SUPPORTED)throw new Error(`The number of signatures cannot be greater than ${cu.MAX_SIGNATURES_SUPPORTED}`);if(this.signatures=r.map(i=>i instanceof qc?i:new qc(i)),!(o instanceof Uint8Array))this.bitmap=cu.createBitmap({bits:o});else{if(o.length!==cu.BITMAP_LEN)throw new Error(`"bitmap" length should be ${cu.BITMAP_LEN}`);this.bitmap=o}let s=this.bitmap.reduce((i,n)=>i+ger(n),0);if(s!==this.signatures.length)throw new Error(`Expecting ${s} signatures from the bitmap, but got ${this.signatures.length}`)}static createBitmap(t){let{bits:r}=t,o=128,s=new Uint8Array([0,0,0,0]),i=new Set;return r.forEach(n=>{if(n>=cu.MAX_SIGNATURES_SUPPORTED)throw new Error(`Cannot have a signature larger than ${cu.MAX_SIGNATURES_SUPPORTED-1}.`);if(i.has(n))throw new Error("Duplicate bits detected.");i.add(n);let a=Math.floor(n/8),u=s[a];u|=o>>n%8,s[a]=u}),s}serialize(t){t.serializeVector(this.signatures),t.serializeBytes(this.bitmap)}static deserialize(t){let r=t.deserializeVector(qc),o=t.deserializeBytes();return new cu({signatures:r,bitmap:o})}};WK.BITMAP_LEN=4,WK.MAX_SIGNATURES_SUPPORTED=WK.BITMAP_LEN*8;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 pb extends Sl{constructor(t,r){super(),this.public_key=t,this.signature=r}serialize(t){t.serializeU32AsUleb128(0),this.public_key.serialize(t),this.signature.serialize(t)}static load(t){let r=Po.deserialize(t),o=ns.deserialize(t);return new pb(r,o)}},Fle=class yb extends Sl{constructor(t,r){super(),this.public_key=t,this.signature=r}serialize(t){t.serializeU32AsUleb128(1),this.public_key.serialize(t),this.signature.serialize(t)}static load(t){let r=h4.deserialize(t),o=p4.deserialize(t);return new yb(r,o)}},xd=class mb extends Sl{constructor(t,r){super(),this.public_key=t,this.signature=r}serialize(t){t.serializeU32AsUleb128(2),this.public_key.serialize(t),this.signature.serialize(t)}static load(t){let r=da.deserialize(t),o=qc.deserialize(t);return new mb(r,o)}},t2=class bb extends Sl{constructor(t,r){super(),this.public_keys=t,this.signatures=r}serialize(t){t.serializeU32AsUleb128(3),this.public_keys.serialize(t),this.signatures.serialize(t)}static load(t){let r=e2.deserialize(t),o=A4.deserialize(t);return new bb(r,o)}},WP=class wb extends Sl{serialize(t){t.serializeU32AsUleb128(4)}static load(t){return new wb}},zP=class yf{constructor(t){this.signingScheme=2;let{privateKey:r,address:o}=t;this.privateKey=r,this.publicKey=new da(r.publicKey()),this.accountAddress=o?st.from(o):this.publicKey.authKey().derivedAddress()}static generate(t={}){let{scheme:r=0}=t,o;switch(r){case 0:o=Ef.generate();break;case 2:o=y4.generate();break;default:throw new Error(`Unsupported signature scheme ${r}`)}return new yf({privateKey:o})}static fromDerivationPath(t){let{scheme:r=0,path:o,mnemonic:s}=t,i;switch(r){case 0:i=Ef.fromDerivationPath(o,s);break;case 2:i=y4.fromDerivationPath(o,s);break;default:throw new Error(`Unsupported signature scheme ${r}`)}return new yf({privateKey:i})}verifySignature(t){return this.publicKey.verifySignature(t)}signWithAuthenticator(t){return new xd(this.publicKey,this.sign(t))}signTransactionWithAuthenticator(t){return new xd(this.publicKey,this.signTransaction(t))}sign(t){return new qc(this.privateKey.sign(t))}signTransaction(t){return this.sign(HE(t))}};m();var KP=class If{constructor(t){this.signingScheme=0;let{privateKey:r,address:o}=t;this.privateKey=r,this.publicKey=r.publicKey(),this.accountAddress=o?st.from(o):this.publicKey.authKey().derivedAddress()}static generate(){let t=Ef.generate();return new If({privateKey:t})}static fromDerivationPath(t){let{path:r,mnemonic:o}=t,s=Ef.fromDerivationPath(r,o);return new If({privateKey:s})}verifySignature(t){return this.publicKey.verifySignature(t)}signWithAuthenticator(t){return new Vg(this.publicKey,this.privateKey.sign(t))}signTransactionWithAuthenticator(t){return new Vg(this.publicKey,this.signTransaction(t))}sign(t){return this.privateKey.sign(t)}signTransaction(t){return this.sign(HE(t))}},r2=class{static generate(e={}){let{scheme:t=0,legacy:r=!0}=e;return t===0&&r?KP.generate():zP.generate({scheme:t})}static fromPrivateKey(e){let{privateKey:t,address:r,legacy:o=!0}=e;return t instanceof Ef&&o?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:o,legacy:s=!0}=e;return t===0&&s?KP.fromDerivationPath({mnemonic:r,path:o}):zP.fromDerivationPath({scheme:t,mnemonic:r,path:o})}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(),o=typeof t=="string"?P.Buffer.from(t,"utf8"):t,s=new Uint8Array([...r,...o,254]);return new st(vd(s))};async function Jg(e){let{aptosConfig:t,accountAddress:r}=e,{data:o}=await Ra({aptosConfig:t,originMethod:"getInfo",path:`accounts/${st.from(r).toString()}`});return o}async function ZXe(e){let{aptosConfig:t,accountAddress:r,options:o}=e;return KE({aptosConfig:t,originMethod:"getModules",path:`accounts/${st.from(r).toString()}/modules`,params:{ledger_version:o?.ledgerVersion,start:o?.offset,limit:o?.limit??1e3}})}async function KK(e){return e.options?.ledgerVersion!==void 0?YXe(e):Gg(async()=>YXe(e),`module-${e.accountAddress}-${e.moduleName}`,1e3*60*5)()}async function YXe(e){let{aptosConfig:t,accountAddress:r,moduleName:o,options:s}=e,{data:i}=await Ra({aptosConfig:t,originMethod:"getModule",path:`accounts/${st.from(r).toString()}/module/${o}`,params:{ledger_version:s?.ledgerVersion}});return i}async function $Xe(e){let{aptosConfig:t,accountAddress:r,options:o}=e;return KE({aptosConfig:t,originMethod:"getTransactions",path:`accounts/${st.from(r).toString()}/transactions`,params:{start:o?.offset,limit:o?.limit}})}async function eYe(e){let{aptosConfig:t,accountAddress:r,options:o}=e;return KE({aptosConfig:t,originMethod:"getResources",path:`accounts/${st.from(r).toString()}/resources`,params:{ledger_version:o?.ledgerVersion,start:o?.offset,limit:o?.limit??999}})}async function Kle(e){let{aptosConfig:t,accountAddress:r,resourceType:o,options:s}=e,{data:i}=await Ra({aptosConfig:t,originMethod:"getResource",path:`accounts/${st.from(r).toString()}/resource/${o}`,params:{ledger_version:s?.ledgerVersion}});return i.data}async function E4(e){let{aptosConfig:t,authenticationKey:r,options:o}=e,s=await Kle({aptosConfig:t,accountAddress:"0x1",resourceType:"0x1::account::OriginatingAddress",options:o}),{address_map:{handle:i}}=s,n=st.from(r);try{let a=await cK({aptosConfig:t,handle:i,data:{key:n.toString(),key_type:"address",value_type:"address"},options:o});return st.from(a)}catch(a){if(a instanceof $0&&a.data.error_code==="table_item_not_found")return n;throw a}}async function tYe(e){let{aptosConfig:t,accountAddress:r}=e,o={owner_address:{_eq:st.from(r).toStringLong()},amount:{_gt:0}},s=await Pn({aptosConfig:t,query:{query:LVe,variables:{where_condition:o}},originMethod:"getAccountTokensCount"});return s.current_token_ownerships_v2_aggregate.aggregate?s.current_token_ownerships_v2_aggregate.aggregate.count:0}async function rYe(e){let{aptosConfig:t,accountAddress:r,options:o}=e,s={owner_address:{_eq:st.from(r).toStringLong()},amount:{_gt:0}};o?.tokenStandard&&(s.token_standard={_eq:o?.tokenStandard});let i={query:DVe,variables:{where_condition:s,offset:o?.offset,limit:o?.limit,order_by:o?.orderBy}};return(await Pn({aptosConfig:t,query:i,originMethod:"getAccountOwnedTokens"})).current_token_ownerships_v2}async function nYe(e){let{aptosConfig:t,accountAddress:r,collectionAddress:o,options:s}=e,i=st.from(r).toStringLong(),n=st.from(o).toStringLong(),a={owner_address:{_eq:i},current_token_data:{collection_id:{_eq:n}},amount:{_gt:0}};s?.tokenStandard&&(a.token_standard={_eq:s?.tokenStandard});let u={query:UVe,variables:{where_condition:a,offset:s?.offset,limit:s?.limit,order_by:s?.orderBy}};return(await Pn({aptosConfig:t,query:u,originMethod:"getAccountOwnedTokensFromCollectionAddress"})).current_token_ownerships_v2}async function iYe(e){let{aptosConfig:t,accountAddress:r,options:o}=e,s={owner_address:{_eq:st.from(r).toStringLong()}};o?.tokenStandard&&(s.current_collection={token_standard:{_eq:o?.tokenStandard}});let i={query:NVe,variables:{where_condition:s,offset:o?.offset,limit:o?.limit,order_by:o?.orderBy}};return(await Pn({aptosConfig:t,query:i,originMethod:"getAccountCollectionsWithOwnedTokens"})).current_collection_ownership_v2_view}async function oYe(e){let{aptosConfig:t,accountAddress:r}=e,o=st.from(r).toStringLong(),s=await Pn({aptosConfig:t,query:{query:FVe,variables:{address:o}},originMethod:"getAccountTransactionsCount"});return s.account_transactions_aggregate.aggregate?s.account_transactions_aggregate.aggregate.count:0}async function sYe(e){let{aptosConfig:t,accountAddress:r,options:o}=e,s=st.from(r).toStringLong(),i={...o?.where,owner_address:{_eq:s}},n={query:RVe,variables:{where_condition:i,offset:o?.offset,limit:o?.limit,order_by:o?.orderBy}};return(await Pn({aptosConfig:t,query:n,originMethod:"getAccountCoinsData"})).current_fungible_asset_balances}async function aYe(e){let{aptosConfig:t,accountAddress:r}=e,o=st.from(r).toStringLong(),s=await Pn({aptosConfig:t,query:{query:_Ve,variables:{address:o}},originMethod:"getAccountCoinsCount"});if(!s.current_fungible_asset_balances_aggregate.aggregate)throw Error("Failed to get the count of account coins");return s.current_fungible_asset_balances_aggregate.aggregate.count}async function cYe(e){let{aptosConfig:t,accountAddress:r,options:o}=e,s={owner_address:{_eq:st.from(r).toStringLong()}},i={query:nK,variables:{where_condition:s,offset:o?.offset,limit:o?.limit,order_by:o?.orderBy}};return(await Pn({aptosConfig:t,query:i,originMethod:"getAccountOwnedObjects"})).current_objects}async function uYe(e){let{aptosConfig:t,privateKey:r}=e,o=new da(r.publicKey());if(r instanceof y4){let s=Hc.fromPublicKey({publicKey:o}).derivedAddress();return r2.fromPrivateKey({privateKey:r,address:s})}if(r instanceof Ef){let s=Hc.fromPublicKey({publicKey:o});if(await QXe({authKey:s,aptosConfig:t})){let n=s.derivedAddress();return r2.fromPrivateKey({privateKey:r,address:n,legacy:!1})}let i=Hc.fromPublicKey({publicKey:o.publicKey});if(await QXe({authKey:i,aptosConfig:t})){let n=i.derivedAddress();return r2.fromPrivateKey({privateKey:r,address:n,legacy:!0})}}throw new Error(`Can't derive account from private key ${r}`)}async function QXe(e){let{aptosConfig:t,authKey:r}=e,o=await E4({aptosConfig:t,authenticationKey:r.derivedAddress()});try{return await Jg({aptosConfig:t,accountAddress:o}),!0}catch(s){if(s.status===404)return!1;throw new Error(`Error while looking for an account info ${o.toString()}`)}}var yer=new TextEncoder;function HP(e){return e?.map(t=>Hm(t)?Ug(t):t)??[]}async function qle(e,t,r,o){let s=await KK({aptosConfig:o,accountAddress:e,moduleName:t});if(s.abi)return s.abi.exposed_functions.find(i=>i.name===r)}async function jle(e,t,r,o){let s=await qle(e,t,r,o);if(!s)throw new Error(`Could not find entry function ABI for '${e}::${t}::${r}'`);if(!s.is_entry)throw new Error(`'${e}::${t}::${r}' is not an entry function`);let i=mue(s),n=[];for(let a=i;a<s.params.length;a+=1)n.push(Ug(s.params[a],{allowGenerics:!0}));return{signers:i,typeParameters:s.generic_type_params,parameters:n}}async function Gle(e,t,r,o){let s=await qle(e,t,r,o);if(!s)throw new Error(`Could not find view function ABI for '${e}::${t}::${r}'`);if(!s.is_view)throw new Error(`'${e}::${t}::${r}' is not an view function`);let i=[];for(let a=0;a<s.params.length;a+=1)i.push(Ug(s.params[a],{allowGenerics:!0}));let n=[];for(let a=0;a<s.return.length;a+=1)n.push(Ug(s.return[a],{allowGenerics:!0}));return{typeParameters:s.generic_type_params,parameters:i,returnTypes:n}}function HK(e,t,r,o,s){if(o>=t.parameters.length)throw new Error(`Too many arguments for '${e}', expected ${t.parameters.length}`);let i=t.parameters[o];return n2(r,i,o,s)}function n2(e,t,r,o){return gue(e)?(Hle(t,e,r),e):mer(e,t,r,o)}function mer(e,t,r,o){if(t.isBool()){if(hue(e))return new Is(e);if(Hm(e)){if(e==="true")return new Is(!0);if(e==="false")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 s=AP(e);if(s!==void 0)return new El(s);$o("number | string",r)}if(t.isU16()){let s=AP(e);if(s!==void 0)return new Lg(s);$o("number | string",r)}if(t.isU32()){let s=AP(e);if(s!==void 0)return new Fg(s);$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 s=t.value;if(s<0||s>=o.length)throw new Error(`Generic argument ${t.toString()} is invalid for argument ${r}`);return n2(e,o[s],r,o)}if(t.isVector()){if(t.value.isU8()){if(Hm(e))return Yn.U8(yer.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(s=>n2(s,t.value,r,o)));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)){let s=t.value.typeArgs[0];return s instanceof gc?new Tl(null):s instanceof Al?new Tl(null):s instanceof Ph?new Tl(null):s instanceof J1?new Tl(null):s instanceof X1?new Tl(null):s instanceof Nu?new Tl(null):s instanceof Y1?new Tl(null):s instanceof Q1?new Tl(null):new Tl(null)}return new Tl(n2(e,t.value.typeArgs[0],r,o))}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){t.values.length>0&&Hle(e.value,t.values[0],r);return}$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){t.value!==void 0&&Hle(e.value.typeArgs[0],t.value,r);return}$o("MoveOption",r)}}throw new Error(`Type mismatch for argument ${r}, expected '${e.toString()}'`)}m();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:r}=await Ra({aptosConfig:t,originMethod:"getGasPriceEstimation",path:"estimate_gas_price"});return r},`gas-price-${t.network}`,1e3*60*5)()}async function fYe(e){let{aptosConfig:t,ledgerVersion:r}=e,{data:o}=await Ra({aptosConfig:t,originMethod:"getTransactionByVersion",path:`transactions/by_version/${r}`});return o}async function qP(e){let{aptosConfig:t,transactionHash:r}=e,{data:o}=await Ra({aptosConfig:t,path:`transactions/by_hash/${r}`,originMethod:"getTransactionByHash"});return o}async function dYe(e){let{aptosConfig:t,transactionHash:r}=e;try{return(await qP({aptosConfig:t,transactionHash:r})).type==="pending_transaction"}catch(o){if(o?.status===404)return!0;throw o}}async function ber(e){let{aptosConfig:t,transactionHash:r}=e,{data:o}=await Ra({aptosConfig:t,path:`transactions/wait_by_hash/${r}`,originMethod:"longWaitForTransaction"});return o}async function T4(e){let{aptosConfig:t,transactionHash:r,options:o}=e,s=o?.timeoutSecs??20,i=o?.checkSuccess??!0,n=!0,a=0,u,c,d=200,h=1.5;function y(C){if(!(C instanceof $0)||(c=C,C.status!==404&&C.status>=400&&C.status<500))throw C}try{u=await qP({aptosConfig:t,transactionHash:r}),n=u.type==="pending_transaction"}catch(C){y(C)}if(n){let C=Date.now();try{u=await ber({aptosConfig:t,transactionHash:r}),n=u.type==="pending_transaction"}catch(w){y(w)}a=(Date.now()-C)/1e3}for(;n&&!(a>=s);){try{if(u=await qP({aptosConfig:t,transactionHash:r}),n=u.type==="pending_transaction",!n)break}catch(C){y(C)}await qm(d),a+=d/1e3,d*=h}if(u===void 0)throw c||new lYe(`Fetching transaction ${r} failed and timed out after ${s} seconds`,u);if(u.type==="pending_transaction")throw new lYe(`Transaction ${r} timed out in pending state after ${s} seconds`,u);if(!i)return u;if(!u.success)throw new ver(`Transaction ${r} failed with an error: ${u.vm_status}`,u);return u}async function jK(e){let{aptosConfig:t,processorType:r}=e,o=BigInt(e.minimumLedgerVersion),s=3e3,i=new Date().getTime(),n=BigInt(-1);for(;n<o;){if(new Date().getTime()-i>s)throw new Error("waitForLastSuccessIndexerVersionSync timeout");if(r===void 0?n=await sK({aptosConfig:t}):n=(await aK({aptosConfig:t,processorType:r})).last_success_version,n>=o)break;await qm(200)}}var lYe=class extends Error{constructor(e,t){super(e),this.lastSubmittedTransaction=t}},ver=class extends Error{constructor(e,t){super(e),this.transaction=t}};async function hYe(e){let{aptosConfig:t,ledgerVersion:r,options:o}=e,{data:s}=await Ra({aptosConfig:t,originMethod:"getBlockByVersion",path:`blocks/by_version/${r}`,params:{with_transactions:o?.withTransactions}});return gYe({block:s,...e})}async function pYe(e){let{aptosConfig:t,blockHeight:r,options:o}=e,{data:s}=await Ra({aptosConfig:t,originMethod:"getBlockByHeight",path:`blocks/by_height/${r}`,params:{with_transactions:o?.withTransactions}});return gYe({block:s,...e})}async function gYe(e){let{aptosConfig:t,block:r,options:o}=e;if(o?.withTransactions){r.transactions=r.transactions??[];let s=r.transactions[r.transactions.length-1],i=BigInt(r.first_version),n=BigInt(r.last_version),a=s?.version,u;if(a===void 0?u=i-1n:u=BigInt(a),u===n)return r;let c=[],d=100n;for(let y=u+1n;y<n;y+=BigInt(100))c.push(Vle({aptosConfig:t,options:{offset:y,limit:Math.min(Number(d),Number(n-y+1n))}}));let h=await Promise.all(c);for(let y of h)r.transactions.push(...y)}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 vb extends yw{constructor(t,r){super(),this.public_key=t,this.signature=r}serialize(t){t.serializeU32AsUleb128(0),this.public_key.serialize(t),this.signature.serialize(t)}static load(t){let r=Po.deserialize(t),o=ns.deserialize(t);return new vb(r,o)}},Jle=class jb extends yw{constructor(t,r){super(),this.public_key=t,this.signature=r}serialize(t){t.serializeU32AsUleb128(1),this.public_key.serialize(t),this.signature.serialize(t)}static load(t){let r=h4.deserialize(t),o=p4.deserialize(t);return new jb(r,o)}},C4=class Hb extends yw{constructor(t,r,o){super(),this.sender=t,this.secondary_signer_addresses=r,this.secondary_signers=o}serialize(t){t.serializeU32AsUleb128(2),this.sender.serialize(t),t.serializeVector(this.secondary_signer_addresses),t.serializeVector(this.secondary_signers)}static load(t){let r=Sl.deserialize(t),o=t.deserializeVector(st),s=t.deserializeVector(Sl);return new Hb(r,o,s)}},I4=class qb extends yw{constructor(t,r,o,s){super(),this.sender=t,this.secondary_signer_addresses=r,this.secondary_signers=o,this.fee_payer=s}serialize(t){t.serializeU32AsUleb128(3),this.sender.serialize(t),t.serializeVector(this.secondary_signer_addresses),t.serializeVector(this.secondary_signers),this.fee_payer.address.serialize(t),this.fee_payer.authenticator.serialize(t)}static load(t){let r=Sl.deserialize(t),o=t.deserializeVector(st),s=t.deserializeVector(Sl),i=st.deserialize(t),n=Sl.deserialize(t),a={address:i,authenticator:n};return new qb(r,o,s,a)}},i2=class Yb extends yw{constructor(t){super(),this.sender=t}serialize(t){t.serializeU32AsUleb128(4),this.sender.serialize(t)}static load(t){let r=Sl.deserialize(t);return new Yb(r)}},mw=class Qb extends gr{constructor(t,r){super(),this.raw_txn=t,this.authenticator=r}serialize(t){this.raw_txn.serialize(t),this.authenticator.serialize(t)}static deserialize(t){let r=ep.deserialize(t),o=yw.deserialize(t);return new Qb(r,o)}};m();var Xle=class Zb extends gr{constructor(t,r){super(),this.rawTransaction=t,this.feePayerAddress=r}serialize(t){this.rawTransaction.serialize(t),this.feePayerAddress===void 0?t.serializeBool(!1):(t.serializeBool(!0),this.feePayerAddress.serialize(t))}static deserialize(t){let r=ep.deserialize(t),o=t.deserializeBool(),s;return o&&(s=st.deserialize(t)),new Zb(r,s)}};m();var Yle=class $b extends gr{constructor(t,r,o){super(),this.rawTransaction=t,this.feePayerAddress=o,this.secondarySignerAddresses=r}serialize(t){this.rawTransaction.serialize(t),t.serializeVector(this.secondarySignerAddresses),this.feePayerAddress===void 0?t.serializeBool(!1):(t.serializeBool(!0),this.feePayerAddress.serialize(t))}static deserialize(t){let r=ep.deserialize(t),o=t.deserializeVector(st),s=t.deserializeBool(),i;return s&&(i=st.deserialize(t)),new $b(r,o,i)}};m();function Qle(e,t){let r=t.bcsToBytes(),o=new _a(r);return e.deserialize(o)}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 wer(e);let{moduleAddress:t,moduleName:r,functionName:o}=e4(e.function),s=await OYe({key:"entry-function",moduleAddress:t,moduleName:r,functionName:o,aptosConfig:e.aptosConfig,abi:e.abi,fetch:jle});return TYe({...e,abi:s})}function TYe(e){let t=e.abi,{moduleAddress:r,moduleName:o,functionName:s}=e4(e.function),i=HP(e.typeArguments);if(i.length!==t.typeParameters.length)throw new Error(`Type argument count mismatch, expected ${t.typeParameters.length}, received ${i.length}`);let n=e.functionArguments.map((u,c)=>HK(e.function,t,u,c,i));if(n.length!==t.parameters.length)throw new Error(`Too few arguments for '${r}::${o}::${s}', expected ${t.parameters.length} but got ${n.length}`);let a=i4.build(`${r}::${o}`,s,i,n);if("multisigAddress"in e){let u=st.from(e.multisigAddress);return new dK(new pK(u,new gK(a)))}return new fK(a)}async function tfe(e){let{moduleAddress:t,moduleName:r,functionName:o}=e4(e.function),s=await OYe({key:"view-function",moduleAddress:t,moduleName:r,functionName:o,aptosConfig:e.aptosConfig,abi:e.abi,fetch:Gle});return SYe({abi:s,...e})}function SYe(e){let t=e.abi,{moduleAddress:r,moduleName:o,functionName:s}=e4(e.function),i=HP(e.typeArguments);if(i.length!==t.typeParameters.length)throw new Error(`Type argument count mismatch, expected ${t.typeParameters.length}, received ${i.length}`);let n=e?.functionArguments?.map((a,u)=>HK(e.function,t,a,u,i))??[];if(n.length!==t.parameters.length)throw new Error(`Too few arguments for '${r}::${o}::${s}', expected ${t.parameters.length} but got ${n.length}`);return i4.build(`${r}::${o}`,s,i,n)}function wer(e){return new lK(new hK(Sr.fromHexInput(e.bytecode).toUint8Array(),HP(e.typeArguments),e.functionArguments))}async function CYe(e){let{aptosConfig:t,sender:r,payload:o,options:s,feePayerAddress:i}=e,n=async()=>XK[t.network]?{chainId:XK[t.network]}:{chainId:(await oK({aptosConfig:t})).chain_id},a=async()=>s?.gasUnitPrice?{gasEstimate:s.gasUnitPrice}:{gasEstimate:(await qK({aptosConfig:t})).gas_estimate},u=async()=>{let T=async()=>s?.accountSequenceNumber!==void 0?s.accountSequenceNumber:(await Jg({aptosConfig:t,accountAddress:r})).sequence_number;if(i&&st.from(i).equals(st.ZERO))try{return await T()}catch{return 0}else return T()},[{chainId:c},{gasEstimate:d},h]=await Promise.all([n(),a(),u()]),{maxGasAmount:y,gasUnitPrice:C,expireTimestamp:w}={maxGasAmount:s?.maxGasAmount?BigInt(s.maxGasAmount):BigInt(2e5),gasUnitPrice:s?.gasUnitPrice??BigInt(d),expireTimestamp:s?.expireTimestamp??BigInt(Math.floor(Date.now()/1e3)+20)};return new ep(st.from(r),BigInt(h),o,BigInt(y),BigInt(C),BigInt(w),new IP(c))}async function YK(e){let{aptosConfig:t,sender:r,payload:o,options:s,feePayerAddress:i}=e,n=await CYe({aptosConfig:t,sender:r,payload:o,options:s,feePayerAddress:i});if("secondarySignerAddresses"in e){let a=e.secondarySignerAddresses?.map(u=>st.from(u))??[];return new Yle(n,a,e.feePayerAddress?st.from(e.feePayerAddress):void 0)}return new Xle(n,e.feePayerAddress?st.from(e.feePayerAddress):void 0)}function rfe(e){let{signerPublicKey:t,transaction:r,secondarySignersPublicKeys:o,feePayerPublicKey:s}=e,i=o2(t);if(r.feePayerAddress){let a=new s4(r.rawTransaction,r.secondarySignerAddresses??[],r.feePayerAddress),u=[];r.secondarySignerAddresses&&(o?u=o.map(h=>o2(h)):u=Array.from({length:r.secondarySignerAddresses.length},()=>o2(void 0)));let c=o2(s),d=new I4(i,r.secondarySignerAddresses??[],u,{address:r.feePayerAddress,authenticator:c});return new mw(a.raw_txn,d).bcsToBytes()}if(r.secondarySignerAddresses){let a=new o4(r.rawTransaction,r.secondarySignerAddresses),u=[];o?u=o.map(d=>o2(d)):u=Array.from({length:r.secondarySignerAddresses.length},()=>o2(void 0));let c=new C4(i,r.secondarySignerAddresses,u);return new mw(a.raw_txn,c).bcsToBytes()}let n;if(i instanceof Vg)n=new S4(i.public_key,i.signature);else if(i instanceof xd||i instanceof t2)n=new i2(i);else if(i instanceof WP)n=new i2(i);else throw new Error("Invalid public key");return new mw(r.rawTransaction,n).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((o,s)=>s)})}));throw new Error("Unsupported PublicKey used for simulations")}function nfe(e){let{transaction:t,feePayerAuthenticator:r,additionalSignersAuthenticators:o}=e,s=Qle(Sl,e.senderAuthenticator),i;if(t.feePayerAddress){if(!r)throw new Error("Must provide a feePayerAuthenticator argument to generate a signed fee payer transaction");i=new I4(s,t.secondarySignerAddresses??[],o??[],{address:t.feePayerAddress,authenticator:r})}else if(t.secondarySignerAddresses){if(!o)throw new Error("Must provide a additionalSignersAuthenticators argument to generate a signed multi agent transaction");i=new C4(s,t.secondarySignerAddresses,o)}else s instanceof Vg?i=new S4(s.public_key,s.signature):i=new i2(s);return new mw(t.rawTransaction,i).bcsToBytes()}function IYe(e){let t=vd.create();for(let r of e)t.update(r);return t.digest()}var yan=IYe(["APTOS::Transaction"]);async function OYe({key:e,moduleAddress:t,moduleName:r,functionName:o,aptosConfig:s,abi:i,fetch:n}){return i!==void 0?i:Gg(async()=>n(t,r,o,s),`${e}-${s.network}-${t}-${r}-${o}`,1e3*60*5)()}m(),m();var xer=1209600,PYe=class fd extends gr{constructor(t){super();let{privateKey:r,expiryDateSecs:o,blinder:s}=t;this.privateKey=r,this.publicKey=new b4(r.publicKey()),this.expiryDateSecs=o||Aue(Z1()+xer),this.blinder=s!==void 0?Sr.fromHexInput(s).toUint8Array():Aer();let i=LK(this.publicKey.bcsToBytes(),93);i.push(BigInt(this.expiryDateSecs)),i.push(v4(this.blinder));let n=w4(i);this.nonce=n.toString()}getPublicKey(){return this.publicKey}isExpired(){return Math.floor(Date.now()/1e3)>this.expiryDateSecs}serialize(t){t.serializeU32AsUleb128(this.publicKey.variant),t.serializeBytes(this.privateKey.toUint8Array()),t.serializeU64(this.expiryDateSecs),t.serializeFixedBytes(this.blinder)}static deserialize(t){let r=t.deserializeUleb128AsU32(),o;if(r===0)o=Ef.deserialize(t);else throw new Error(`Unknown variant index for EphemeralPublicKey: ${r}`);let s=t.deserializeU64(),i=t.deserializeFixedBytes(31);return new fd({privateKey:o,expiryDateSecs:Number(s),blinder:i})}static fromBytes(t){return fd.deserialize(new _a(t))}static generate(t){let r;switch(t?.scheme){default:r=Ef.generate()}return new fd({privateKey:r,expiryDateSecs:t?.expiryDateSecs})}sign(t){if(this.isExpired())throw new Error("EphemeralKeyPair has expired");return new eb(this.privateKey.sign(t))}};PYe.BLINDER_LENGTH=31;var ZK=PYe;function Aer(){return Q6(ZK.BLINDER_LENGTH)}function GP(e){return e!=null&&typeof e.checkKeylessAccountValidity=="function"}var BYe=class pd extends gr{constructor(t){super();let{address:r,ephemeralKeyPair:o,publicKey:s,uidKey:i,uidVal:n,aud:a,pepper:u,proof:c,proofFetchCallback:d,jwt:h,verificationKeyHash:y}=t;if(this.ephemeralKeyPair=o,this.publicKey=s,this.accountAddress=r?st.from(r):this.publicKey.authKey().derivedAddress(),this.uidKey=i,this.uidVal=n,this.aud=a,this.jwt=h,this.emitter=new _g,this.proofOrPromise=c,c instanceof gw)this.proof=c;else{if(d===void 0)throw new Error("Must provide callback for async proof fetch");this.emitter.on("proofFetchFinish",async w=>{await d(w),this.emitter.removeAllListeners()}),this.init(c)}this.signingScheme=2;let C=Sr.fromHexInput(u).toUint8Array();if(C.length!==pd.PEPPER_LENGTH)throw new Error(`Pepper length in bytes should be ${pd.PEPPER_LENGTH}`);if(this.pepper=C,y!==void 0){if(Sr.hexInputToUint8Array(y).length!==32)throw new Error("verificationKeyHash must be 32 bytes");this.verificationKeyHash=Sr.hexInputToUint8Array(y)}}async init(t){try{this.proof=await t,this.emitter.emit("proofFetchFinish",{status:"Success"})}catch(r){r instanceof Error?this.emitter.emit("proofFetchFinish",{status:"Failed",error:r.toString()}):this.emitter.emit("proofFetchFinish",{status:"Failed",error:"Unknown"})}}serialize(t){if(this.accountAddress.serialize(t),t.serializeStr(this.jwt),t.serializeStr(this.uidKey),t.serializeFixedBytes(this.pepper),this.ephemeralKeyPair.serialize(t),this.proof===void 0)throw new Error("Cannot serialize - proof undefined");this.proof.serialize(t),t.serializeOption(this.verificationKeyHash,32)}static partialDeserialize(t){let r=st.deserialize(t),o=t.deserializeStr(),s=t.deserializeStr(),i=t.deserializeFixedBytes(31),n=ZK.deserialize(t),a=gw.deserialize(t),u=t.deserializeOption("fixedBytes",32);return{address:r,jwt:o,uidKey:s,pepper:i,ephemeralKeyPair:n,proof:a,verificationKeyHash:u}}isExpired(){return this.ephemeralKeyPair.isExpired()}signWithAuthenticator(t){let r=new qc(this.sign(t)),o=new da(this.publicKey);return new xd(o,r)}signTransactionWithAuthenticator(t){let r=new qc(this.signTransaction(t)),o=new da(this.publicKey);return new xd(o,r)}async waitForProofFetch(){this.proofOrPromise instanceof Promise&&await this.proofOrPromise}async checkKeylessAccountValidity(t){if(this.isExpired())throw Os.fromErrorType({type:0});if(await this.waitForProofFetch(),this.proof===void 0)throw Os.fromErrorType({type:2});let r=QE(this.jwt,{header:!0});if(r.kid===void 0)throw Os.fromErrorType({type:12,details:"checkKeylessAccountValidity failed. JWT is missing 'kid' in header. This should never happen."});if(this.verificationKeyHash!==void 0){let{verificationKey:o}=await x4({aptosConfig:t});if(Sr.hexInputToString(o.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 pd.fetchJWK({aptosConfig:t,publicKey:this.publicKey,kid:r.kid})}sign(t){let{expiryDateSecs:r}=this.ephemeralKeyPair;if(this.isExpired())throw Os.fromErrorType({type:0});if(this.proof===void 0)throw Os.fromErrorType({type:1,details:"Proof not found - make sure to call `await account.checkKeylessAccountValidity()` before signing."});let o=this.ephemeralKeyPair.getPublicKey(),s=this.ephemeralKeyPair.sign(t);return new pw({jwtHeader:Eue(this.jwt.split(".")[0]),ephemeralCertificate:new DP(this.proof,0),expiryDateSecs:r,ephemeralPublicKey:o,ephemeralSignature:s})}signTransaction(t){if(this.proof===void 0)throw Os.fromErrorType({type:1,details:"Proof not found - make sure to call `await account.checkKeylessAccountValidity()` before signing."});let r=vK(t),o=new kYe(r,this.proof.proof).hash();return this.sign(o)}verifySignature(t){let{message:r,signature:o}=t;return!(this.isExpired()||!this.ephemeralKeyPair.getPublicKey().verifySignature({message:r,signature:o.ephemeralSignature}))}static async fetchJWK(t){let{aptosConfig:r,publicKey:o,kid:s}=t,i=o instanceof Ys?o:o.keylessPublicKey,{iss:n}=i,a,u=o instanceof Tf?o.jwkAddress:void 0;try{a=await Ule({aptosConfig:r,jwkAddr:u})}catch(h){throw Os.fromErrorType({type:24,error:h,details:`Failed to fetch ${u?"Federated":"Patched"}JWKs ${u?`for address ${u}`:"0x1"}`})}let c=a.get(n);if(c===void 0)throw Os.fromErrorType({type:7,details:`JWKs for issuer ${n} not found.`});let d=c.find(h=>h.kid===s);if(d===void 0)throw Os.fromErrorType({type:6,details:`JWK with kid '${s}' for issuer '${n}' not found.`});return d}};BYe.PEPPER_LENGTH=31;var Xg=BYe,kYe=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){let t=await Eer(e);return Ter(e,t)}async function Eer(e){let{aptosConfig:t,data:r}=e,o,s;return"bytecode"in r?s=await jP(r):"multisigAddress"in r?(o={aptosConfig:t,multisigAddress:r.multisigAddress,function:r.function,functionArguments:r.functionArguments,typeArguments:r.typeArguments,abi:r.abi},s=await jP(o)):(o={aptosConfig:t,function:r.function,functionArguments:r.functionArguments,typeArguments:r.typeArguments,abi:r.abi},s=await jP(o)),s}async function Ter(e,t){let{aptosConfig:r,sender:o,options:s}=e,i;if(Ser(e)&&(i=st.ZERO.toString()),Cer(e)){let{secondarySignerAddresses:n}=e;return YK({aptosConfig:r,sender:o,payload:t,options:s,secondarySignerAddresses:n,feePayerAddress:i})}return YK({aptosConfig:r,sender:o,payload:t,options:s,feePayerAddress:i})}function Ser(e){return e.withFeePayer===!0}function Cer(e){return"secondarySignerAddresses"in e}function MYe(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:o,secondarySignersPublicKeys:s,feePayerPublicKey:i,options:n}=e,a=rfe({transaction:r,signerPublicKey:o,secondarySignersPublicKeys:s,feePayerPublicKey:i,options:n}),{data:u}=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 u}async function VP(e){let{aptosConfig:t}=e,r=nfe({...e});try{let{data:o}=await jm({aptosConfig:t,body:r,path:"transactions",originMethod:"submitTransaction",contentType:"application/x.aptos.signed_transaction+bcs"});return o}catch(o){let s=mw.deserialize(new _a(r));throw s.authenticator.isSingleSender()&&s.authenticator.sender.isSingleKey()&&(s.authenticator.sender.public_key.publicKey instanceof Ys||s.authenticator.sender.public_key.publicKey instanceof Tf)&&await Xg.fetchJWK({aptosConfig:t,publicKey:s.authenticator.sender.public_key.publicKey,kid:s.authenticator.sender.signature.signature.getJwkKid()}),o}}async function JP(e){let{aptosConfig:t,signer:r,feePayer:o,transaction:s}=e;GP(r)&&await r.checkKeylessAccountValidity(t),GP(o)&&await o.checkKeylessAccountValidity(t);let i=e.feePayerAuthenticator||o&&tH({signer:o,transaction:s}),n=eH({signer:r,transaction:s});return VP({aptosConfig:t,transaction:s,senderAuthenticator:n,feePayerAuthenticator:i})}async function _Ye(e){let{aptosConfig:t,senderAuthenticator:r,feePayer:o,transaction:s}=e;GP(o)&&await o.checkKeylessAccountValidity(t);let i=tH({signer:o,transaction:s});return VP({aptosConfig:t,transaction:s,senderAuthenticator:r,feePayerAuthenticator:i})}var Ier={typeParameters:[],parameters:[Zo.u8(),new Zo(Zo.u8())]};async function RYe(e){let{aptosConfig:t,account:r,metadataBytes:o,moduleBytecode:s,options:i}=e,n=s.map(a=>Yn.U8(a));return ni({aptosConfig:t,sender:st.from(r),data:{function:"0x1::code::publish_package_txn",functionArguments:[Yn.U8(o),new Yn(n)],abi:Ier},options:i})}var Oer={typeParameters:[],parameters:[new Ph,Zo.u8(),new Ph,Zo.u8(),Zo.u8(),Zo.u8()]};async function NYe(e){let{aptosConfig:t,fromAccount:r,toNewPrivateKey:o}=e,s=await Jg({aptosConfig:t,accountAddress:r.accountAddress}),i=r2.fromPrivateKey({privateKey:o,legacy:!0}),n=new ife({sequenceNumber:BigInt(s.sequence_number),originator:r.accountAddress,currentAuthKey:st.from(s.authentication_key),newPublicKey:i.publicKey}).bcsToBytes(),a=r.sign(n),u=i.sign(n),c=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(i.signingScheme),Yn.U8(i.publicKey.toUint8Array()),Yn.U8(a.toUint8Array()),Yn.U8(u.toUint8Array())],abi:Oer}});return JP({aptosConfig:t,signer:r,transaction:c})}m();var sfe=class gd extends Xg{constructor(t){let r=Tf.create(t);super({publicKey:r,...t}),this.publicKey=r}serialize(t){super.serialize(t),this.publicKey.jwkAddress.serialize(t)}static deserialize(t){let{address:r,proof:o,ephemeralKeyPair:s,jwt:i,uidKey:n,pepper:a,verificationKeyHash:u}=Xg.partialDeserialize(t),c=st.deserialize(t),{iss:d,aud:h,uidVal:y}=$E({jwt:i,uidKey:n});return new gd({address:r,proof:o,ephemeralKeyPair:s,iss:d,uidKey:n,uidVal:y,aud:h,pepper:a,jwt:i,verificationKeyHash:u,jwkAddress:c})}static fromBytes(t){return gd.deserialize(new _a(Sr.hexInputToUint8Array(t)))}static create(t){let{address:r,proof:o,jwt:s,ephemeralKeyPair:i,pepper:n,jwkAddress:a,uidKey:u="sub",proofFetchCallback:c,verificationKey:d}=t,{iss:h,aud:y,uidVal:C}=$E({jwt:s,uidKey:u});return new gd({address:r,proof:o,ephemeralKeyPair:i,iss:h,uidKey:u,uidVal:C,aud:y,pepper:n,jwkAddress:st.from(a),jwt:s,proofFetchCallback:c,verificationKeyHash:d?d.hash():void 0})}};m();var XP=class yd extends Xg{constructor(t){let r=Ys.create(t);super({publicKey:r,...t}),this.publicKey=r}serialize(t){super.serialize(t)}static deserialize(t){let{address:r,proof:o,ephemeralKeyPair:s,jwt:i,uidKey:n,pepper:a,verificationKeyHash:u}=Xg.partialDeserialize(t),{iss:c,aud:d,uidVal:h}=$E({jwt:i,uidKey:n});return new yd({address:r,proof:o,ephemeralKeyPair:s,iss:c,uidKey:n,uidVal:h,aud:d,pepper:a,jwt:i,verificationKeyHash:u})}static fromBytes(t){return yd.deserialize(new _a(Sr.hexInputToUint8Array(t)))}static create(t){let{address:r,proof:o,jwt:s,ephemeralKeyPair:i,pepper:n,uidKey:a="sub",proofFetchCallback:u,verificationKey:c}=t,{iss:d,aud:h,uidVal:y}=$E({jwt:s,uidKey:a});return new yd({address:r,proof:o,ephemeralKeyPair:i,iss:d,uidKey:a,uidVal:y,aud:h,pepper:n,jwt:s,proofFetchCallback:u,verificationKeyHash:c?c.hash():void 0})}};async function iH(e){let{aptosConfig:t,jwt:r,ephemeralKeyPair:o,uidKey:s="sub",derivationPath:i}=e,n={jwt_b64:r,epk:o.getPublicKey().bcsToHex().toStringWithoutPrefix(),exp_date_secs:o.expiryDateSecs,epk_blinder:Sr.fromHexInput(o.blinder).toStringWithoutPrefix(),uid_key:s,derivation_path:i},{data:a}=await kue({aptosConfig:t,path:"fetch",body:n,originMethod:"getPepper",overrides:{WITH_CREDENTIALS:!1}});return Sr.fromHexInput(a.pepper).toUint8Array()}async function afe(e){let{aptosConfig:t,jwt:r,ephemeralKeyPair:o,pepper:s=await iH(e),uidKey:i="sub",maxExpHorizonSecs:n=(await x4({aptosConfig:t})).maxExpHorizonSecs}=e;if(Sr.fromHexInput(s).toUint8Array().length!==XP.PEPPER_LENGTH)throw new Error(`Pepper needs to be ${XP.PEPPER_LENGTH} bytes`);let a=QE(r);if(typeof a.iat!="number")throw new Error("iat was not found");if(n<o.expiryDateSecs-a.iat)throw Error(`The EphemeralKeyPair is too long lived.  It's lifespan must be less than ${n}`);let u={jwt_b64:r,epk:o.getPublicKey().bcsToHex().toStringWithoutPrefix(),epk_blinder:Sr.fromHexInput(o.blinder).toStringWithoutPrefix(),exp_date_secs:o.expiryDateSecs,exp_horizon_secs:n,pepper:Sr.fromHexInput(s).toStringWithoutPrefix(),uid_key:i},{data:c}=await Mue({aptosConfig:t,path:"prove",body:u,originMethod:"getProof",overrides:{WITH_CREDENTIALS:!1}}),d=c.proof,h=new UP({a:d.a,b:d.b,c:d.c});return new gw({proof:new LP(h,0),trainingWheelsSignature:eb.fromHex(c.training_wheels_signature),expHorizonSecs:n})}async function DYe(e){let{aptosConfig:t,jwt:r,jwkAddress:o,uidKey:s,proofFetchCallback:i,pepper:n=await iH(e)}=e,{verificationKey:a,maxExpHorizonSecs:u}=await x4({aptosConfig:t}),c=afe({...e,pepper:n,maxExpHorizonSecs:u}),d=i?c:await c;if(o!==void 0){let C=Tf.fromJwtAndPepper({jwt:r,pepper:n,jwkAddress:o,uidKey:s}),w=await E4({aptosConfig:t,authenticationKey:C.authKey().derivedAddress()});return sfe.create({...e,address:w,proof:d,pepper:n,proofFetchCallback:i,jwkAddress:o,verificationKey:a})}let h=Ys.fromJwtAndPepper({jwt:r,pepper:n,uidKey:s}),y=await E4({aptosConfig:t,authenticationKey:h.authKey().derivedAddress()});return XP.create({...e,address:y,proof:d,pepper:n,proofFetchCallback:i,verificationKey:a})}async function UYe(e){let{aptosConfig:t,sender:r,iss:o,options:s}=e,{jwksUrl:i}=e;i===void 0&&(Fue.test(o)?i="https://www.googleapis.com/service_accounts/v1/jwk/securetoken@system.gserviceaccount.com":i=o.endsWith("/")?`${o}.well-known/jwks.json`:`${o}/.well-known/jwks.json`);let n;try{if(n=await fetch(i),!n.ok)throw new Error(`${n.status} ${n.statusText}`)}catch(u){let c;throw u instanceof Error?c=`${u.message}`:c=`error unknown - ${u}`,Os.fromErrorType({type:14,details:`Failed to fetch JWKS at ${i}: ${c}`})}let a=await n.json();return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x1::jwks::update_federated_jwk_set",functionArguments:[o,Yn.MoveString(a.keys.map(u=>u.kid)),Yn.MoveString(a.keys.map(u=>u.alg)),Yn.MoveString(a.keys.map(u=>u.e)),Yn.MoveString(a.keys.map(u=>u.n))]},options:s})}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 DYe({aptosConfig:this.config,...e})}async updateFederatedKeylessJwkSetTransaction(e){return UYe({aptosConfig:this.config,...e})}};m(),m();async function Per(e){let{aptosConfig:t,options:r}=e,o={query:nK,variables:{where_condition:r?.where,offset:r?.offset,limit:r?.limit,order_by:r?.orderBy}};return(await Pn({aptosConfig:t,query:o,originMethod:"getObjectData"})).current_objects}async function LYe(e){let{aptosConfig:t,objectAddress:r,options:o}=e,s={object_address:{_eq:st.from(r).toStringLong()}};return(await Per({aptosConfig:t,options:{...o,where:s}}))[0]}m();async function zn(e){e.minimumLedgerVersion!==void 0&&await jK({aptosConfig:e.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:e.processorType})}var ufe=class{constructor(e){this.config=e}async getObjectDataByObjectAddress(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"objects_processor"}),LYe({aptosConfig:this.config,...e})}};m(),m();async function FYe(e){let{aptosConfig:t,poolAddress:r}=e,o=st.from(r).toStringLong(),s=await Pn({aptosConfig:t,query:{query:bue,variables:{where_condition:{pool_address:{_eq:o}}}}});return s.num_active_delegator_per_pool[0]?s.num_active_delegator_per_pool[0].num_active_delegator:0}async function WYe(e){let{aptosConfig:t,options:r}=e,o={query:bue,variables:{order_by:r?.orderBy}};return(await Pn({aptosConfig:t,query:o})).num_active_delegator_per_pool}async function zYe(e){let{aptosConfig:t,delegatorAddress:r,poolAddress:o}=e,s={query:HVe,variables:{delegatorAddress:st.from(r).toStringLong(),poolAddress:st.from(o).toStringLong()}};return(await Pn({aptosConfig:t,query:s})).delegated_staking_activities}var lfe=class{constructor(e){this.config=e}async getNumberOfDelegators(e){return await zn({config:this.config,minimumLedgerVersion:e?.minimumLedgerVersion,processorType:"stake_processor"}),FYe({aptosConfig:this.config,...e})}async getNumberOfDelegatorsForAllPools(e){return await zn({config:this.config,minimumLedgerVersion:e?.minimumLedgerVersion,processorType:"stake_processor"}),WYe({aptosConfig:this.config,...e})}async getDelegatedStakingActivities(e){return await zn({config:this.config,minimumLedgerVersion:e?.minimumLedgerVersion,processorType:"stake_processor"}),zYe({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"}),lJe({aptosConfig:this.config,...e})}async getTableItemsMetadata(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"default_processor"}),fJe({aptosConfig:this.config,...e})}};m(),m(),m();function dfe(e,t,r){let o=r.value;return r.value=async function(...s){let[i]=s;if(i.transaction.feePayerAddress&&!i.feePayerAuthenticator)throw new Error("You are submitting a Fee Payer transaction but missing the feePayerAuthenticator");return o.apply(this,s)},r}function hfe(e,t,r){let o=r.value;return r.value=async function(...s){return o.apply(this,s)},r}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 KYe=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,o,s){this.lastUncommintedNumber=null,this.currentNumber=null,this.lock=!1,this.aptosConfig=e,this.account=t,this.maxWaitTime=r,this.maximumInFlight=o,this.sleepTime=s}async nextSequenceNumber(){for(;this.lock;)await qm(this.sleepTime);this.lock=!0;let e=BigInt(0);try{if((this.lastUncommintedNumber===null||this.currentNumber===null)&&await this.initialize(),this.currentNumber-this.lastUncommintedNumber>=this.maximumInFlight){await this.update();let t=Z1();for(;this.currentNumber-this.lastUncommintedNumber>=this.maximumInFlight;)await qm(this.sleepTime),Z1()-t>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(t){console.error("error in getting next sequence number for this account",t)}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){if(this.cancelled=!1,this.pendingDequeue.length>0){this.pendingDequeue.shift()?.resolve(e);return}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 this.queue.length===0}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",HYe=(e=>(e.TransactionSent="transactionSent",e.TransactionSendFailed="transactionSendFailed",e.TransactionExecuted="transactionExecuted",e.TransactionExecutionFailed="transactionExecutionFailed",e.ExecutionFinish="executionFinish",e))(HYe||{}),yfe=class extends _g{constructor(e,t,r=30,o=100,s=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,o,s)}async submitNextTransaction(){try{for(;;){let e=await this.accountSequnceNumber.nextSequenceNumber();if(e===null)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,o]=await this.outstandingTransactions.dequeue();for(e.push(r),t.push(o);!this.outstandingTransactions.isEmpty();)[r,o]=await this.outstandingTransactions.dequeue(),e.push(r),t.push(o);let s=await Promise.allSettled(e);for(let i=0;i<s.length&&i<t.length;i+=1){let n=s[i];o=t[i],n.status===gfe?(this.sentTransactions.push([n.value.hash,o,null]),this.emit("transactionSent",{message:`transaction hash ${n.value.hash} has been committed to chain`,transactionHash:n.value.hash}),await this.checkTransaction(n,o)):(this.sentTransactions.push([n.status,o,n.reason]),this.emit("transactionSendFailed",{message:`failed to commit transaction ${this.sentTransactions.length} with error ${n.reason}`,error:n.reason}))}this.emit("executionFinish",{message:`execute ${s.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 o=await Promise.allSettled(r);for(let s=0;s<o.length;s+=1){let i=o[s];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(r){throw new Error(`Check transaction failed for ${this.account.accountAddress.toString()} with error ${r}`)}}async push(e,t){this.transactionsQueue.enqueue([e,t])}async generateNextTransaction(e,t){if(this.transactionsQueue.isEmpty())return;let[r,o]=await this.transactionsQueue.dequeue();return ni({aptosConfig:this.aptosConfig,sender:e.accountAddress,data:r,options:{...o,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()}},qYe=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 o of t)this.transactionWorker.push(o,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:o}=e;this.start({sender:t}),this.push({data:r,options:o})}catch(t){throw new Error(`failed to submit transactions with error: ${t}`)}}},mfe=class{constructor(e){this.config=e,this.build=new KYe(this.config),this.simulate=new oH(this.config),this.submit=new sH(this.config),this.batch=new qYe(this.config)}async getTransactions(e){return Vle({aptosConfig:this.config,...e})}async getTransactionByVersion(e){return fYe({aptosConfig:this.config,...e})}async getTransactionByHash(e){return qP({aptosConfig:this.config,...e})}async isPendingTransaction(e){return dYe({aptosConfig:this.config,...e})}async waitForTransaction(e){return T4({aptosConfig:this.config,...e})}async getGasPriceEstimation(){return qK({aptosConfig:this.config})}getSigningMessage(e){return MYe(e)}async publishPackageTransaction(e){return RYe({aptosConfig:this.config,...e})}async rotateAuthKey(e){return NYe({aptosConfig:this.config,...e})}sign(e){return eH({...e})}signAsFeePayer(e){return tH({...e})}async batchTransactionsForSingleAccount(e){try{let{sender:t,data:r,options:o}=e;this.batch.forSingleAccount({sender:t,data:r,options:o})}catch(t){throw new Error(`failed to submit transactions with error: ${t}`)}}async signAndSubmitTransaction(e){return JP({aptosConfig:this.config,...e})}async signAndSubmitAsFeePayer(e){return _Ye({aptosConfig:this.config,...e})}};m(),m(),m(),m(),m(),m();function YP(e,t){return function(){return e.apply(t,arguments)}}var{toString:Ber}=Object.prototype,{getPrototypeOf:wfe}=Object,lH=(e=>t=>{let r=Ber.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 ker(e){return e!==null&&!QP(e)&&e.constructor!==null&&!QP(e.constructor)&&Ad(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var VYe=np("ArrayBuffer");function Mer(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&VYe(e.buffer),t}var _er=fH("string"),Ad=fH("function"),JYe=fH("number"),dH=e=>e!==null&&typeof e=="object",Rer=e=>e===!0||e===!1,uH=e=>{if(lH(e)!=="object")return!1;let t=wfe(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ner=np("Date"),Der=np("File"),Uer=np("Blob"),Ler=np("FileList"),Fer=e=>dH(e)&&Ad(e.pipe),Wer=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ad(e.append)&&((t=lH(e))==="formdata"||t==="object"&&Ad(e.toString)&&e.toString()==="[object FormData]"))},zer=np("URLSearchParams"),[Ker,Her,qer,jer]=["ReadableStream","Request","Response","Headers"].map(np),Ger=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ZP(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let o,s;if(typeof e!="object"&&(e=[e]),O4(e))for(o=0,s=e.length;o<s;o++)t.call(null,e[o],o,e);else{let i=r?Object.getOwnPropertyNames(e):Object.keys(e),n=i.length,a;for(o=0;o<n;o++)a=i[o],t.call(null,e[a],a,e)}}function XYe(e,t){t=t.toLowerCase();let r=Object.keys(e),o=r.length,s;for(;o-- >0;)if(s=r[o],t===s.toLowerCase())return s;return null}var s2=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,YYe=e=>!QP(e)&&e!==s2;function vfe(){let{caseless:e}=YYe(this)&&this||{},t={},r=(o,s)=>{let i=e&&XYe(t,s)||s;uH(t[i])&&uH(o)?t[i]=vfe(t[i],o):uH(o)?t[i]=vfe({},o):O4(o)?t[i]=o.slice():t[i]=o};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&ZP(arguments[o],r);return t}var Ver=(e,t,r,{allOwnKeys:o}={})=>(ZP(t,(s,i)=>{r&&Ad(s)?e[i]=YP(s,r):e[i]=s},{allOwnKeys:o}),e),Jer=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Xer=(e,t,r,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Yer=(e,t,r,o)=>{let s,i,n,a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)n=s[i],(!o||o(n,e,t))&&!a[n]&&(t[n]=e[n],a[n]=!0);e=r!==!1&&wfe(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Qer=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;let o=e.indexOf(t,r);return o!==-1&&o===r},Zer=e=>{if(!e)return null;if(O4(e))return e;let t=e.length;if(!JYe(t))return null;let r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},$er=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&wfe(Uint8Array)),etr=(e,t)=>{let r=(e&&e[Symbol.iterator]).call(e),o;for(;(o=r.next())&&!o.done;){let s=o.value;t.call(e,s[0],s[1])}},ttr=(e,t)=>{let r,o=[];for(;(r=e.exec(t))!==null;)o.push(r);return o},rtr=np("HTMLFormElement"),ntr=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,o){return r.toUpperCase()+o}),jYe=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),itr=np("RegExp"),QYe=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),o={};ZP(r,(s,i)=>{let n;(n=t(s,i,e))!==!1&&(o[i]=n||s)}),Object.defineProperties(e,o)},otr=e=>{QYe(e,(t,r)=>{if(Ad(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;let o=e[r];if(Ad(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},str=(e,t)=>{let r={},o=s=>{s.forEach(i=>{r[i]=!0})};return O4(e)?o(e):o(String(e).split(t)),r},atr=()=>{},ctr=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,bfe="abcdefghijklmnopqrstuvwxyz",GYe="0123456789",ZYe={DIGIT:GYe,ALPHA:bfe,ALPHA_DIGIT:bfe+bfe.toUpperCase()+GYe},utr=(e=16,t=ZYe.ALPHA_DIGIT)=>{let r="",{length:o}=t;for(;e--;)r+=t[Math.random()*o|0];return r};function ltr(e){return!!(e&&Ad(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}var ftr=e=>{let t=new Array(10),r=(o,s)=>{if(dH(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[s]=o;let i=O4(o)?[]:{};return ZP(o,(n,a)=>{let u=r(n,s+1);!QP(u)&&(i[a]=u)}),t[s]=void 0,i}}return o};return r(e,0)},dtr=np("AsyncFunction"),htr=e=>e&&(dH(e)||Ad(e))&&Ad(e.then)&&Ad(e.catch),$Ye=((e,t)=>e?setImmediate:t?((r,o)=>(s2.addEventListener("message",({source:s,data:i})=>{s===s2&&i===r&&o.length&&o.shift()()},!1),s=>{o.push(s),s2.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Ad(s2.postMessage)),ptr=typeof queueMicrotask<"u"?queueMicrotask.bind(s2):typeof I.default<"u"&&I.default.nextTick||$Ye,$e={isArray:O4,isArrayBuffer:VYe,isBuffer:ker,isFormData:Wer,isArrayBufferView:Mer,isString:_er,isNumber:JYe,isBoolean:Rer,isObject:dH,isPlainObject:uH,isReadableStream:Ker,isRequest:Her,isResponse:qer,isHeaders:jer,isUndefined:QP,isDate:Ner,isFile:Der,isBlob:Uer,isRegExp:itr,isFunction:Ad,isStream:Fer,isURLSearchParams:zer,isTypedArray:$er,isFileList:Ler,forEach:ZP,merge:vfe,extend:Ver,trim:Ger,stripBOM:Jer,inherits:Xer,toFlatObject:Yer,kindOf:lH,kindOfTest:np,endsWith:Qer,toArray:Zer,forEachEntry:etr,matchAll:ttr,isHTMLForm:rtr,hasOwnProperty:jYe,hasOwnProp:jYe,reduceDescriptors:QYe,freezeMethods:otr,toObjectSet:str,toCamelCase:ntr,noop:atr,toFiniteNumber:ctr,findKey:XYe,global:s2,isContextDefined:YYe,ALPHABET:ZYe,generateString:utr,isSpecCompliantForm:ltr,toJSONObject:ftr,isAsyncFn:dtr,isThenable:htr,setImmediate:$Ye,asap:ptr};m(),m(),m(),m(),m();function P4(e,t,r,o,s){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),o&&(this.request=o),s&&(this.response=s)}$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 eQe=P4.prototype,tQe={};["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=>{tQe[e]={value:e}}),Object.defineProperties(P4,tQe),Object.defineProperty(eQe,"isAxiosError",{value:!0}),P4.from=(e,t,r,o,s,i)=>{let n=Object.create(eQe);return $e.toFlatObject(e,n,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),P4.call(n,e.message,t,r,o,s),n.cause=e,n.name=e.name,i&&Object.assign(n,i),n};var an=P4;m();var hH=null;function xfe(e){return $e.isPlainObject(e)||$e.isArray(e)}function nQe(e){return $e.endsWith(e,"[]")?e.slice(0,-2):e}function rQe(e,t,r){return e?e.concat(t).map(function(o,s){return o=nQe(o),!r&&s?"["+o+"]":o}).join(r?".":""):t}function gtr(e){return $e.isArray(e)&&!e.some(xfe)}var ytr=$e.toFlatObject($e,{},null,function(e){return/^is[A-Z]/.test(e)});function mtr(e,t,r){if(!$e.isObject(e))throw new TypeError("target must be an object");t=t||new(hH||FormData),r=$e.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(C,w){return!$e.isUndefined(w[C])});let o=r.metaTokens,s=r.visitor||c,i=r.dots,n=r.indexes,a=(r.Blob||typeof Blob<"u"&&Blob)&&$e.isSpecCompliantForm(t);if(!$e.isFunction(s))throw new TypeError("visitor must be a function");function u(C){if(C===null)return"";if($e.isDate(C))return C.toISOString();if(!a&&$e.isBlob(C))throw new an("Blob is not supported. Use a Buffer instead.");return $e.isArrayBuffer(C)||$e.isTypedArray(C)?a&&typeof Blob=="function"?new Blob([C]):P.Buffer.from(C):C}function c(C,w,T){let A=C;if(C&&!T&&typeof C=="object"){if($e.endsWith(w,"{}"))w=o?w:w.slice(0,-2),C=JSON.stringify(C);else if($e.isArray(C)&&gtr(C)||($e.isFileList(C)||$e.endsWith(w,"[]"))&&(A=$e.toArray(C)))return w=nQe(w),A.forEach(function(O,v){!($e.isUndefined(O)||O===null)&&t.append(n===!0?rQe([w],v,i):n===null?w:w+"[]",u(O))}),!1}return xfe(C)?!0:(t.append(rQe(T,w,i),u(C)),!1)}let d=[],h=Object.assign(ytr,{defaultVisitor:c,convertValue:u,isVisitable:xfe});function y(C,w){if(!$e.isUndefined(C)){if(d.indexOf(C)!==-1)throw Error("Circular reference detected in "+w.join("."));d.push(C),$e.forEach(C,function(T,A){(!($e.isUndefined(T)||T===null)&&s.call(t,T,$e.isString(A)?A.trim():A,w,h))===!0&&y(T,w?w.concat(A):[A])}),d.pop()}}if(!$e.isObject(e))throw new TypeError("data must be an object");return y(e),t}var bw=mtr;function iQe(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function oQe(e,t){this._pairs=[],e&&bw(e,this,t)}var sQe=oQe.prototype;sQe.append=function(e,t){this._pairs.push([e,t])},sQe.toString=function(e){let t=e?function(r){return e.call(this,r,iQe)}:iQe;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};var pH=oQe;function btr(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 o=r&&r.encode||btr,s=r&&r.serialize,i;if(s?i=s(t,r):i=$e.isURLSearchParams(t)?t.toString():new pH(t,r).toString(o),i){let n=e.indexOf("#");n!==-1&&(e=e.slice(0,n)),e+=(e.indexOf("?")===-1?"?":"&")+i}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:!1,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){t!==null&&e(t)})}},Efe=Afe;m(),m(),m(),m();var gH={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};m(),m(),m(),m();var aQe=typeof URLSearchParams<"u"?URLSearchParams:pH;m();var cQe=typeof FormData<"u"?FormData:null;m();var uQe=typeof Blob<"u"?Blob:null,lQe={isBrowser:!0,classes:{URLSearchParams:aQe,FormData:cQe,Blob:uQe},protocols:["http","https","file","blob","url","data"]},Sfe={};Vr(Sfe,{hasBrowserEnv:()=>Tfe,hasStandardBrowserEnv:()=>vtr,hasStandardBrowserWebWorkerEnv:()=>wtr,origin:()=>xtr}),m();var Tfe=typeof window<"u"&&typeof document<"u",vtr=(e=>Tfe&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),wtr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",xtr=Tfe&&window.location.href||"http://localhost",mc={...Sfe,...lQe};function Cfe(e,t){return bw(e,new mc.classes.URLSearchParams,Object.assign({visitor:function(r,o,s,i){return mc.isNode&&$e.isBuffer(r)?(this.append(o,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}m();function Atr(e){return $e.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Etr(e){let t={},r=Object.keys(e),o,s=r.length,i;for(o=0;o<s;o++)i=r[o],t[i]=e[i];return t}function Ttr(e){function t(r,o,s,i){let n=r[i++];if(n==="__proto__")return!0;let a=Number.isFinite(+n),u=i>=r.length;return n=!n&&$e.isArray(s)?s.length:n,u?($e.hasOwnProp(s,n)?s[n]=[s[n],o]:s[n]=o,!a):((!s[n]||!$e.isObject(s[n]))&&(s[n]=[]),t(r,o,s[n],i)&&$e.isArray(s[n])&&(s[n]=Etr(s[n])),!a)}if($e.isFormData(e)&&$e.isFunction(e.entries)){let r={};return $e.forEachEntry(e,(o,s)=>{t(Atr(o),s,r,0)}),r}return null}var yH=Ttr;function Str(e,t,r){if($e.isString(e))try{return(t||JSON.parse)(e),$e.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(e)}var Ife={transitional:gH,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r=t.getContentType()||"",o=r.indexOf("application/json")>-1,s=$e.isObject(e);if(s&&$e.isHTMLForm(e)&&(e=new FormData(e)),$e.isFormData(e))return o?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();let i;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Cfe(e,this.formSerializer).toString();if((i=$e.isFileList(e))||r.indexOf("multipart/form-data")>-1){let n=this.env&&this.env.FormData;return bw(i?{"files[]":e}:e,n&&new n,this.formSerializer)}}return s||o?(t.setContentType("application/json",!1),Str(e)):e}],transformResponse:[function(e){let t=this.transitional||Ife.transitional,r=t&&t.forcedJSONParsing,o=this.responseType==="json";if($e.isResponse(e)||$e.isReadableStream(e))return e;if(e&&$e.isString(e)&&(r&&!this.responseType||o)){let s=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(i){if(s)throw i.name==="SyntaxError"?an.from(i,an.ERR_BAD_RESPONSE,this,null,this.response):i}}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 Ctr=$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"]),fQe=e=>{let t={},r,o,s;return e&&e.split(`
`).forEach(function(i){s=i.indexOf(":"),r=i.substring(0,s).trim().toLowerCase(),o=i.substring(s+1).trim(),!(!r||t[r]&&Ctr[r])&&(r==="set-cookie"?t[r]?t[r].push(o):t[r]=[o]:t[r]=t[r]?t[r]+", "+o:o)}),t},dQe=Symbol("internals");function eB(e){return e&&String(e).trim().toLowerCase()}function mH(e){return e===!1||e==null?e:$e.isArray(e)?e.map(mH):String(e)}function Itr(e){let t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,o;for(;o=r.exec(e);)t[o[1]]=o[2];return t}var Otr=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ofe(e,t,r,o,s){if($e.isFunction(o))return o.call(this,t,r);if(s&&(t=r),!!$e.isString(t)){if($e.isString(o))return t.indexOf(o)!==-1;if($e.isRegExp(o))return o.test(t)}}function Ptr(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,o)=>r.toUpperCase()+o)}function Btr(e,t){let r=$e.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+r,{value:function(s,i,n){return this[o].call(this,t,s,i,n)},configurable:!0})})}var k4=class{constructor(e){e&&this.set(e)}set(e,t,r){let o=this;function s(n,a,u){let c=eB(a);if(!c)throw new Error("header name must be a non-empty string");let d=$e.findKey(o,c);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||a]=mH(n))}let i=(n,a)=>$e.forEach(n,(u,c)=>s(u,c,a));if($e.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if($e.isString(e)&&(e=e.trim())&&!Otr(e))i(fQe(e),t);else if($e.isHeaders(e))for(let[n,a]of e.entries())s(a,n,r);else e!=null&&s(t,e,r);return this}get(e,t){if(e=eB(e),e){let r=$e.findKey(this,e);if(r){let o=this[r];if(!t)return o;if(t===!0)return Itr(o);if($e.isFunction(t))return t.call(this,o,r);if($e.isRegExp(t))return t.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eB(e),e){let r=$e.findKey(this,e);return!!(r&&this[r]!==void 0&&(!t||Ofe(this,this[r],r,t)))}return!1}delete(e,t){let r=this,o=!1;function s(i){if(i=eB(i),i){let n=$e.findKey(r,i);n&&(!t||Ofe(r,r[n],n,t))&&(delete r[n],o=!0)}}return $e.isArray(e)?e.forEach(s):s(e),o}clear(e){let t=Object.keys(this),r=t.length,o=!1;for(;r--;){let s=t[r];(!e||Ofe(this,this[s],s,e,!0))&&(delete this[s],o=!0)}return o}normalize(e){let t=this,r={};return $e.forEach(this,(o,s)=>{let i=$e.findKey(r,s);if(i){t[i]=mH(o),delete t[s];return}let n=e?Ptr(s):String(s).trim();n!==s&&delete t[s],t[n]=mH(o),r[n]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return $e.forEach(this,(r,o)=>{r!=null&&r!==!1&&(t[o]=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(`
`)}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(o=>r.set(o)),r}static accessor(e){let t=(this[dQe]=this[dQe]={accessors:{}}).accessors,r=this.prototype;function o(s){let i=eB(s);t[i]||(Btr(r,s),t[i]=!0)}return $e.isArray(e)?e.forEach(o):o(e),this}};k4.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),$e.reduceDescriptors(k4.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[r]=o}}}),$e.freezeMethods(k4);var Da=k4;function tB(e,t){let r=this||B4,o=t||r,s=Da.from(o.headers),i=o.data;return $e.forEach(e,function(n){i=n.call(r,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}m();function rB(e){return!!(e&&e.__CANCEL__)}m();function hQe(e,t,r){an.call(this,e??"canceled",an.ERR_CANCELED,t,r),this.name="CanceledError"}$e.inherits(hQe,an,{__CANCEL__:!0});var Yg=hQe;m(),m(),m();function nB(e,t,r){let o=r.config.validateStatus;!r.status||!o||o(r.status)?e(r):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))}m();function Pfe(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}m(),m();function ktr(e,t){e=e||10;let r=new Array(e),o=new Array(e),s=0,i=0,n;return t=t!==void 0?t:1e3,function(a){let u=Date.now(),c=o[i];n||(n=u),r[s]=a,o[s]=u;let d=i,h=0;for(;d!==s;)h+=r[d++],d=d%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),u-n<t)return;let y=c&&u-c;return y?Math.round(h*1e3/y):void 0}}var pQe=ktr;m();function Mtr(e,t){let r=0,o=1e3/t,s,i,n=(a,u=Date.now())=>{r=u,s=null,i&&(clearTimeout(i),i=null),e.apply(null,a)};return[(...a)=>{let u=Date.now(),c=u-r;c>=o?n(a,u):(s=a,i||(i=setTimeout(()=>{i=null,n(s)},o-c)))},()=>s&&n(s)]}var gQe=Mtr,M4=(e,t,r=3)=>{let o=0,s=pQe(50,250);return gQe(i=>{let n=i.loaded,a=i.lengthComputable?i.total:void 0,u=n-o,c=s(u),d=n<=a;o=n;let h={loaded:n,total:a,progress:a?n/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a&&d?(a-n)/c:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(h)},r)},Bfe=(e,t)=>{let r=e!=null;return[o=>t[0]({lengthComputable:r,total:e,loaded:o}),t[1]]},kfe=e=>(...t)=>$e.asap(()=>e(...t));m(),m();var yQe=mc.hasStandardBrowserEnv?(function(){let e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a"),r;function o(s){let i=s;return e&&(t.setAttribute("href",i),i=t.href),t.setAttribute("href",i),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return r=o(window.location.href),function(s){let i=$e.isString(s)?o(s):s;return i.protocol===r.protocol&&i.host===r.host}})():(function(){return function(){return!0}})();m();var mQe=mc.hasStandardBrowserEnv?{write(e,t,r,o,s,i){let n=[e+"="+encodeURIComponent(t)];$e.isNumber(r)&&n.push("expires="+new Date(r).toGMTString()),$e.isString(o)&&n.push("path="+o),$e.isString(s)&&n.push("domain="+s),i===!0&&n.push("secure"),document.cookie=n.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(){return null},remove(){}};m(),m();function Mfe(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}m();function _fe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function iB(e,t){return e&&!Mfe(t)?_fe(e,t):t}m();var bQe=e=>e instanceof Da?{...e}:e;function ip(e,t){t=t||{};let r={};function o(c,d,h){return $e.isPlainObject(c)&&$e.isPlainObject(d)?$e.merge.call({caseless:h},c,d):$e.isPlainObject(d)?$e.merge({},d):$e.isArray(d)?d.slice():d}function s(c,d,h){if($e.isUndefined(d)){if(!$e.isUndefined(c))return o(void 0,c,h)}else return o(c,d,h)}function i(c,d){if(!$e.isUndefined(d))return o(void 0,d)}function n(c,d){if($e.isUndefined(d)){if(!$e.isUndefined(c))return o(void 0,c)}else return o(void 0,d)}function a(c,d,h){if(h in t)return o(c,d);if(h in e)return o(void 0,c)}let u={url:i,method:i,data:i,baseURL:n,transformRequest:n,transformResponse:n,paramsSerializer:n,timeout:n,timeoutMessage:n,withCredentials:n,withXSRFToken:n,adapter:n,responseType:n,xsrfCookieName:n,xsrfHeaderName:n,onUploadProgress:n,onDownloadProgress:n,decompress:n,maxContentLength:n,maxBodyLength:n,beforeRedirect:n,transport:n,httpAgent:n,httpsAgent:n,cancelToken:n,socketPath:n,responseEncoding:n,validateStatus:a,headers:(c,d)=>s(bQe(c),bQe(d),!0)};return $e.forEach(Object.keys(Object.assign({},e,t)),function(c){let d=u[c]||s,h=d(e[c],t[c],c);$e.isUndefined(h)&&d!==a||(r[c]=h)}),r}var bH=e=>{let t=ip({},e),{data:r,withXSRFToken:o,xsrfHeaderName:s,xsrfCookieName:i,headers:n,auth:a}=t;t.headers=n=Da.from(n),t.url=$P(iB(t.baseURL,t.url),e.params,e.paramsSerializer),a&&n.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let u;if($e.isFormData(r)){if(mc.hasStandardBrowserEnv||mc.hasStandardBrowserWebWorkerEnv)n.setContentType(void 0);else if((u=n.getContentType())!==!1){let[c,...d]=u?u.split(";").map(h=>h.trim()).filter(Boolean):[];n.setContentType([c||"multipart/form-data",...d].join("; "))}}if(mc.hasStandardBrowserEnv&&(o&&$e.isFunction(o)&&(o=o(t)),o||o!==!1&&yQe(t.url))){let c=s&&i&&mQe.read(i);c&&n.set(s,c)}return t},_tr=typeof XMLHttpRequest<"u",vQe=_tr&&function(e){return new Promise(function(t,r){let o=bH(e),s=o.data,i=Da.from(o.headers).normalize(),{responseType:n,onUploadProgress:a,onDownloadProgress:u}=o,c,d,h,y,C;function w(){y&&y(),C&&C(),o.cancelToken&&o.cancelToken.unsubscribe(c),o.signal&&o.signal.removeEventListener("abort",c)}let T=new XMLHttpRequest;T.open(o.method.toUpperCase(),o.url,!0),T.timeout=o.timeout;function A(){if(!T)return;let v=Da.from("getAllResponseHeaders"in T&&T.getAllResponseHeaders()),B={data:!n||n==="text"||n==="json"?T.responseText:T.response,status:T.status,statusText:T.statusText,headers:v,config:e,request:T};nB(function(R){t(R),w()},function(R){r(R),w()},B),T=null}"onloadend"in T?T.onloadend=A:T.onreadystatechange=function(){!T||T.readyState!==4||T.status===0&&!(T.responseURL&&T.responseURL.indexOf("file:")===0)||setTimeout(A)},T.onabort=function(){T&&(r(new an("Request aborted",an.ECONNABORTED,e,T)),T=null)},T.onerror=function(){r(new an("Network Error",an.ERR_NETWORK,e,T)),T=null},T.ontimeout=function(){let v=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded",B=o.transitional||gH;o.timeoutErrorMessage&&(v=o.timeoutErrorMessage),r(new an(v,B.clarifyTimeoutError?an.ETIMEDOUT:an.ECONNABORTED,e,T)),T=null},s===void 0&&i.setContentType(null),"setRequestHeader"in T&&$e.forEach(i.toJSON(),function(v,B){T.setRequestHeader(B,v)}),$e.isUndefined(o.withCredentials)||(T.withCredentials=!!o.withCredentials),n&&n!=="json"&&(T.responseType=o.responseType),u&&([h,C]=M4(u,!0),T.addEventListener("progress",h)),a&&T.upload&&([d,y]=M4(a),T.upload.addEventListener("progress",d),T.upload.addEventListener("loadend",y)),(o.cancelToken||o.signal)&&(c=v=>{T&&(r(!v||v.type?new Yg(null,e,T):v),T.abort(),T=null)},o.cancelToken&&o.cancelToken.subscribe(c),o.signal&&(o.signal.aborted?c():o.signal.addEventListener("abort",c)));let O=Pfe(o.url);if(O&&mc.protocols.indexOf(O)===-1){r(new an("Unsupported protocol "+O+":",an.ERR_BAD_REQUEST,e));return}T.send(s||null)})};m(),m();var Rtr=(e,t)=>{let r=new AbortController,o,s=function(u){if(!o){o=!0,n();let c=u instanceof Error?u:this.reason;r.abort(c instanceof an?c:new Yg(c instanceof Error?c.message:c))}},i=t&&setTimeout(()=>{s(new an(`timeout ${t} of ms exceeded`,an.ETIMEDOUT))},t),n=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u&&(u.removeEventListener?u.removeEventListener("abort",s):u.unsubscribe(s))}),e=null)};e.forEach(u=>u&&u.addEventListener&&u.addEventListener("abort",s));let{signal:a}=r;return a.unsubscribe=n,[a,()=>{i&&clearTimeout(i),i=null}]},wQe=Rtr;m();var Ntr=function*(e,t){let r=e.byteLength;if(!t||r<t){yield e;return}let o=0,s;for(;o<r;)s=o+t,yield e.slice(o,s),o=s},Dtr=async function*(e,t,r){for await(let o of e)yield*Ntr(ArrayBuffer.isView(o)?o:await r(String(o)),t)},Rfe=(e,t,r,o,s)=>{let i=Dtr(e,t,s),n=0,a,u=c=>{a||(a=!0,o&&o(c))};return new ReadableStream({async pull(c){try{let{done:d,value:h}=await i.next();if(d){u(),c.close();return}let y=h.byteLength;if(r){let C=n+=y;r(C)}c.enqueue(new Uint8Array(h))}catch(d){throw u(d),d}},cancel(c){return u(c),i.return()}},{highWaterMark:2})},wH=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",AQe=wH&&typeof ReadableStream=="function",Nfe=wH&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),EQe=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Utr=AQe&&EQe(()=>{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}),xQe=64*1024,Dfe=AQe&&EQe(()=>$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])?r=>r[t]():(r,o)=>{throw new an(`Response type '${t}' is not supported`,an.ERR_NOT_SUPPORT,o)})})})(new Response);var Ltr=async e=>{if(e==null)return 0;if($e.isBlob(e))return e.size;if($e.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if($e.isArrayBufferView(e)||$e.isArrayBuffer(e))return e.byteLength;if($e.isURLSearchParams(e)&&(e=e+""),$e.isString(e))return(await Nfe(e)).byteLength},Ftr=async(e,t)=>$e.toFiniteNumber(e.getContentLength())??Ltr(t),TQe=wH&&(async e=>{let{url:t,method:r,data:o,signal:s,cancelToken:i,timeout:n,onDownloadProgress:a,onUploadProgress:u,responseType:c,headers:d,withCredentials:h="same-origin",fetchOptions:y}=bH(e);c=c?(c+"").toLowerCase():"text";let[C,w]=s||i||n?wQe([s,i],n):[],T,A,O=()=>{!T&&setTimeout(()=>{C&&C.unsubscribe()}),T=!0},v;try{if(u&&Utr&&r!=="get"&&r!=="head"&&(v=await Ftr(d,o))!==0){let N=new Request(t,{method:"POST",body:o,duplex:"half"}),_;if($e.isFormData(o)&&(_=N.headers.get("content-type"))&&d.setContentType(_),N.body){let[L,H]=Bfe(v,M4(kfe(u)));o=Rfe(N.body,xQe,L,H,Nfe)}}$e.isString(h)||(h=h?"include":"omit"),A=new Request(t,{...y,signal:C,method:r.toUpperCase(),headers:d.normalize().toJSON(),body:o,duplex:"half",credentials:h});let B=await fetch(A),R=Dfe&&(c==="stream"||c==="response");if(Dfe&&(a||R)){let N={};["status","statusText","headers"].forEach(F=>{N[F]=B[F]});let _=$e.toFiniteNumber(B.headers.get("content-length")),[L,H]=a&&Bfe(_,M4(kfe(a),!0))||[];B=new Response(Rfe(B.body,xQe,L,()=>{H&&H(),R&&O()},Nfe),N)}c=c||"text";let U=await vH[$e.findKey(vH,c)||"text"](B,e);return!R&&O(),w&&w(),await new Promise((N,_)=>{nB(N,_,{data:U,headers:Da.from(B.headers),status:B.status,statusText:B.statusText,config:e,request:A})})}catch(B){throw O(),B&&B.name==="TypeError"&&/fetch/i.test(B.message)?Object.assign(new an("Network Error",an.ERR_NETWORK,e,A),{cause:B.cause||B}):an.from(B,B&&B.code,e,A)}}),Ufe={http:hH,xhr:vQe,fetch:TQe};$e.forEach(Ufe,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});var SQe=e=>`- ${e}`,Wtr=e=>$e.isFunction(e)||e===null||e===!1,xH={getAdapter:e=>{e=$e.isArray(e)?e:[e];let{length:t}=e,r,o,s={};for(let i=0;i<t;i++){r=e[i];let n;if(o=r,!Wtr(r)&&(o=Ufe[(n=String(r)).toLowerCase()],o===void 0))throw new an(`Unknown adapter '${n}'`);if(o)break;s[n||"#"+i]=o}if(!o){let i=Object.entries(s).map(([a,u])=>`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build")),n=t?i.length>1?`since :
`+i.map(SQe).join(`
`):" "+SQe(i[0]):"as no adapter specified";throw new an("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return o},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),["post","put","patch"].indexOf(e.method)!==-1&&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 CQe={};Ffe.transitional=function(e,t,r){function o(s,i){return"[Axios v"+EH+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,n)=>{if(e===!1)throw new an(o(i," has been removed"+(t?" in "+t:"")),an.ERR_DEPRECATED);return t&&!CQe[i]&&(CQe[i]=!0,console.warn(o(i," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(s,i,n):!0}};function ztr(e,t,r){if(typeof e!="object")throw new an("options must be an object",an.ERR_BAD_OPTION_VALUE);let o=Object.keys(e),s=o.length;for(;s-- >0;){let i=o[s],n=t[i];if(n){let a=e[i],u=a===void 0||n(a,i,e);if(u!==!0)throw new an("option "+i+" must be "+u,an.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new an("Unknown option "+i,an.ERR_BAD_OPTION)}}var TH={assertOptions:ztr,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(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;let s=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+s):r.stack=s}catch{}}throw r}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=ip(this.defaults,t);let{transitional:r,paramsSerializer:o,headers:s}=t;r!==void 0&&TH.assertOptions(r,{silentJSONParsing:vw.transitional(vw.boolean),forcedJSONParsing:vw.transitional(vw.boolean),clarifyTimeoutError:vw.transitional(vw.boolean)},!1),o!=null&&($e.isFunction(o)?t.paramsSerializer={serialize:o}:TH.assertOptions(o,{encode:vw.function,serialize:vw.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=s&&$e.merge(s.common,s[t.method]);s&&$e.forEach(["delete","get","head","post","put","patch","common"],C=>{delete s[C]}),t.headers=Da.concat(i,s);let n=[],a=!0;this.interceptors.request.forEach(function(C){typeof C.runWhen=="function"&&C.runWhen(t)===!1||(a=a&&C.synchronous,n.unshift(C.fulfilled,C.rejected))});let u=[];this.interceptors.response.forEach(function(C){u.push(C.fulfilled,C.rejected)});let c,d=0,h;if(!a){let C=[AH.bind(this),void 0];for(C.unshift.apply(C,n),C.push.apply(C,u),h=C.length,c=Promise.resolve(t);d<h;)c=c.then(C[d++],C[d++]);return c}h=n.length;let y=t;for(d=0;d<h;){let C=n[d++],w=n[d++];try{y=C(y)}catch(T){w.call(this,T);break}}try{c=AH.call(this,y)}catch(C){return Promise.reject(C)}for(d=0,h=u.length;d<h;)c=c.then(u[d++],u[d++]);return c}getUri(e){e=ip(this.defaults,e);let t=iB(e.baseURL,e.url);return $P(t,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(r){return function(o,s,i){return this.request(ip(i||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}_4.prototype[e]=t(),_4.prototype[e+"Form"]=t(!0)});var oB=_4;m();var Wfe=class l2{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(s){r=s});let o=this;this.promise.then(s=>{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](s);o._listeners=null}),this.promise.then=s=>{let i,n=new Promise(a=>{o.subscribe(a),i=a}).then(s);return n.cancel=function(){o.unsubscribe(i)},n},t(function(s,i,n){o.reason||(o.reason=new Yg(s,i,n),r(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new l2(function(r){t=r}),cancel:t}}},IQe=Wfe;m();function zfe(e){return function(t){return e.apply(null,t)}}m();function Kfe(e){return $e.isObject(e)&&e.isAxiosError===!0}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 OQe=Hfe;function PQe(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(o){return PQe(ip(e,o))},r}var ha=PQe(B4);ha.Axios=oB,ha.CanceledError=Yg,ha.CancelToken=IQe,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=OQe,ha.default=ha;var R4=ha,{Axios:h0n,AxiosError:p0n,CanceledError:g0n,isCancel:y0n,CancelToken:m0n,VERSION:b0n,all:v0n,Cancel:w0n,isAxiosError:x0n,spread:A0n,toFormData:E0n,AxiosHeaders:T0n,HttpStatusCode:S0n,formToJSON:C0n,getAdapter:I0n,mergeConfig:O0n}=R4;async function BQe(e){var t;let{params:r,method:o,url:s,headers:i,body:n,overrides:a}=e,u={headers:i,method:o,url:s,params:r,data:n,withCredentials:(t=a?.WITH_CREDENTIALS)!=null?t:!0};try{let c=await R4(u);return{status:c.status,statusText:c.statusText,data:c.data,headers:c.headers,config:c.config}}catch(c){let d=c;if(d.response)return d.response;throw c}}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:BQe},this.clientConfig=e?.clientConfig??{},this.fullnodeConfig=e?.fullnodeConfig??{},this.indexerConfig=e?.indexerConfig??{},this.faucetConfig=e?.faucetConfig??{}}getRequestUrl(e){switch(e){case"Fullnode":if(this.fullnode!==void 0)return this.fullnode;if(this.network==="custom")throw new Error("Please provide a custom full node url");return $le[this.network];case"Faucet":if(this.faucet!==void 0)return this.faucet;if(this.network==="custom")throw new Error("Please provide a custom faucet url");return efe[this.network];case"Indexer":if(this.indexer!==void 0)return this.indexer;if(this.network==="custom")throw new Error("Please provide a custom indexer url");return Zle[this.network];case"Pepper":if(this.pepper!==void 0)return this.pepper;if(this.network==="custom")throw new Error("Please provide a custom pepper service url");return GK[this.network];case"Prover":if(this.prover!==void 0)return this.prover;if(this.network==="custom")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 Ktr={typeParameters:[{constraints:[]}],parameters:[new Al,new Nu]};async function kQe(e){let{aptosConfig:t,sender:r,recipient:o,amount:s,coinType:i,options:n}=e;return ni({aptosConfig:t,sender:r,data:{function:"0x1::aptos_account::transfer_coins",typeArguments:[i??$1],functionArguments:[o,s],abi:Ktr},options:n})}var jfe=class{constructor(e){this.config=e}async transferCoinTransaction(e){return kQe({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 MQe(e){let{aptosConfig:t,digitalAssetAddress:r}=e,o={token_data_id:{_eq:st.from(r).toStringLong()}};return(await Pn({aptosConfig:t,query:{query:YVe,variables:{where_condition:o}},originMethod:"getDigitalAssetData"})).current_token_datas_v2[0]}async function _Qe(e){let{aptosConfig:t,digitalAssetAddress:r}=e,o={token_data_id:{_eq:st.from(r).toStringLong()},amount:{_gt:0}};return(await Pn({aptosConfig:t,query:{query:wue,variables:{where_condition:o}},originMethod:"getCurrentDigitalAssetOwnership"})).current_token_ownerships_v2[0]}async function RQe(e){let{aptosConfig:t,ownerAddress:r,options:o}=e,s={owner_address:{_eq:st.from(r).toStringLong()},amount:{_gt:0}},i={query:wue,variables:{where_condition:s,offset:o?.offset,limit:o?.limit,order_by:o?.orderBy}};return(await Pn({aptosConfig:t,query:i,originMethod:"getOwnedDigitalAssets"})).current_token_ownerships_v2}async function NQe(e){let{aptosConfig:t,digitalAssetAddress:r,options:o}=e,s={token_data_id:{_eq:st.from(r).toStringLong()}},i={query:XVe,variables:{where_condition:s,offset:o?.offset,limit:o?.limit,order_by:o?.orderBy}};return(await Pn({aptosConfig:t,query:i,originMethod:"getDigitalAssetActivity"})).token_activities_v2}var Htr={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 DQe(e){let{aptosConfig:t,options:r,creator:o}=e;return ni({aptosConfig:t,sender:o.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:Htr},options:r})}async function N4(e){let{aptosConfig:t,options:r}=e,o=r?.where;r?.tokenStandard&&(o.token_standard={_eq:r?.tokenStandard??"v2"});let s={query:zVe,variables:{where_condition:o,offset:r?.offset,limit:r?.limit}};return(await Pn({aptosConfig:t,query:s,originMethod:"getCollectionData"})).current_collections_v2[0]}async function UQe(e){let{aptosConfig:t,creatorAddress:r,collectionName:o,options:s}=e,i=st.from(r),n={collection_name:{_eq:o},creator_address:{_eq:i.toStringLong()}};return s?.tokenStandard&&(n.token_standard={_eq:s?.tokenStandard??"v2"}),N4({aptosConfig:t,options:{...s,where:n}})}async function LQe(e){let{aptosConfig:t,creatorAddress:r,options:o}=e,s={creator_address:{_eq:st.from(r).toStringLong()}};return o?.tokenStandard&&(s.token_standard={_eq:o?.tokenStandard??"v2"}),N4({aptosConfig:t,options:{...o,where:s}})}async function FQe(e){let{aptosConfig:t,collectionId:r,options:o}=e,s={collection_id:{_eq:st.from(r).toStringLong()}};return o?.tokenStandard&&(s.token_standard={_eq:o?.tokenStandard??"v2"}),N4({aptosConfig:t,options:{...o,where:s}})}async function WQe(e){let{creatorAddress:t,collectionName:r,options:o,aptosConfig:s}=e,i=st.from(t),n={collection_name:{_eq:r},creator_address:{_eq:i.toStringLong()}};return o?.tokenStandard&&(n.token_standard={_eq:o?.tokenStandard??"v2"}),(await N4({aptosConfig:s,options:{where:n}})).collection_id}var qtr={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 zQe(e){let{aptosConfig:t,options:r,creator:o,collection:s,description:i,name:n,uri:a,propertyKeys:u,propertyTypes:c,propertyValues:d}=e,h=c?.map(y=>ww[y]);return ni({aptosConfig:t,sender:o.accountAddress,data:{function:"0x4::aptos_token::mint",functionArguments:[new go(s),new go(i),new go(n),new go(a),Yn.MoveString(u??[]),Yn.MoveString(h??[]),tZe(d??[],h??[])],abi:qtr},options:r})}var jtr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0))),new Al]};async function KQe(e){let{aptosConfig:t,sender:r,digitalAssetAddress:o,recipient:s,digitalAssetType:i,options:n}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x1::object::transfer",typeArguments:[i??Bh],functionArguments:[st.from(o),st.from(s)],abi:jtr},options:n})}var Gtr={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 HQe(e){let{aptosConfig:t,account:r,collection:o,description:s,name:i,uri:n,recipient:a,propertyKeys:u,propertyTypes:c,propertyValues:d,options:h}=e;if(u?.length!==d?.length)throw new Error("Property keys and property values counts do not match");if(c?.length!==d?.length)throw new Error("Property types and property values counts do not match");let y=c?.map(C=>ww[C]);return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::mint_soul_bound",functionArguments:[o,s,i,n,Yn.MoveString(u??[]),Yn.MoveString(y??[]),tZe(d??[],y??[]),a],abi:Gtr},options:h})}var Vtr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0)))]};async function qQe(e){let{aptosConfig:t,creator:r,digitalAssetAddress:o,digitalAssetType:s,options:i}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::burn",typeArguments:[s??Bh],functionArguments:[st.from(o)],abi:Vtr},options:i})}var Jtr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0)))]};async function jQe(e){let{aptosConfig:t,creator:r,digitalAssetAddress:o,digitalAssetType:s,options:i}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::freeze_transfer",typeArguments:[s??Bh],functionArguments:[o],abi:Jtr},options:i})}var Xtr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0)))]};async function GQe(e){let{aptosConfig:t,creator:r,digitalAssetAddress:o,digitalAssetType:s,options:i}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::unfreeze_transfer",typeArguments:[s??Bh],functionArguments:[o],abi:Xtr},options:i})}var Ytr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0))),new fn(To())]};async function VQe(e){let{aptosConfig:t,creator:r,description:o,digitalAssetAddress:s,digitalAssetType:i,options:n}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::set_description",typeArguments:[i??Bh],functionArguments:[st.from(s),new go(o)],abi:Ytr},options:n})}var Qtr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0))),new fn(To())]};async function JQe(e){let{aptosConfig:t,creator:r,name:o,digitalAssetAddress:s,digitalAssetType:i,options:n}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::set_name",typeArguments:[i??Bh],functionArguments:[st.from(s),new go(o)],abi:Qtr},options:n})}var Ztr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0))),new fn(To())]};async function XQe(e){let{aptosConfig:t,creator:r,uri:o,digitalAssetAddress:s,digitalAssetType:i,options:n}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::set_uri",typeArguments:[i??Bh],functionArguments:[st.from(s),new go(o)],abi:Ztr},options:n})}var $tr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0))),new fn(To()),new fn(To()),Zo.u8()]};async function YQe(e){let{aptosConfig:t,creator:r,propertyKey:o,propertyType:s,propertyValue:i,digitalAssetAddress:n,digitalAssetType:a,options:u}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::add_property",typeArguments:[a??Bh],functionArguments:[st.from(n),new go(o),new go(ww[s]),Yn.U8(Gfe(i,ww[s]))],abi:$tr},options:u})}var err={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0))),new fn(To())]};async function QQe(e){let{aptosConfig:t,creator:r,propertyKey:o,digitalAssetAddress:s,digitalAssetType:i,options:n}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::remove_property",typeArguments:[i??Bh],functionArguments:[st.from(s),new go(o)],abi:err},options:n})}var trr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0))),new fn(To()),new fn(To()),Zo.u8()]};async function ZQe(e){let{aptosConfig:t,creator:r,propertyKey:o,propertyType:s,propertyValue:i,digitalAssetAddress:n,digitalAssetType:a,options:u}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::update_property",typeArguments:[a??Bh],functionArguments:[st.from(n),new go(o),new go(ww[s]),Gfe(i,ww[s])],abi:trr},options:u})}var rrr={typeParameters:[{constraints:["key"]},{constraints:[]}],parameters:[new fn(wf(new fa(0))),new fn(To()),new fa(1)]};async function $Qe(e){let{aptosConfig:t,creator:r,propertyKey:o,propertyType:s,propertyValue:i,digitalAssetAddress:n,digitalAssetType:a,options:u}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::add_typed_property",typeArguments:[a??Bh,ww[s]],functionArguments:[st.from(n),new go(o),i],abi:rrr},options:u})}var nrr={typeParameters:[{constraints:["key"]},{constraints:[]}],parameters:[new fn(wf(new fa(0))),new fn(To()),new fa(1)]};async function eZe(e){let{aptosConfig:t,creator:r,propertyKey:o,propertyType:s,propertyValue:i,digitalAssetAddress:n,digitalAssetType:a,options:u}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::update_typed_property",typeArguments:[a??Bh,ww[s]],functionArguments:[st.from(n),new go(o),i],abi:nrr},options:u})}function tZe(e,t){let r=new Array;return t.forEach((o,s)=>{r.push(Gfe(e[s],o))}),r}function Gfe(e,t){let r=Ug(t);return n2(e,r,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:o}=e,s=st.from(t),i={collection_name:{_eq:r},creator_address:{_eq:s.toStringLong()}};return o?.tokenStandard&&(i.token_standard={_eq:o?.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"}),UQe({aptosConfig:this.config,...e})}async getCollectionDataByCreatorAddress(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),LQe({aptosConfig:this.config,...e})}async getCollectionDataByCollectionId(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),FQe({aptosConfig:this.config,...e})}async getCollectionId(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),WQe({aptosConfig:this.config,...e})}async getDigitalAssetData(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),MQe({aptosConfig:this.config,...e})}async getCurrentDigitalAssetOwnership(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),_Qe({aptosConfig:this.config,...e})}async getOwnedDigitalAssets(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),RQe({aptosConfig:this.config,...e})}async getDigitalAssetActivity(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),NQe({aptosConfig:this.config,...e})}async createCollectionTransaction(e){return DQe({aptosConfig:this.config,...e})}async mintDigitalAssetTransaction(e){return zQe({aptosConfig:this.config,...e})}async transferDigitalAssetTransaction(e){return KQe({aptosConfig:this.config,...e})}async mintSoulBoundTransaction(e){return HQe({aptosConfig:this.config,...e})}async burnDigitalAssetTransaction(e){return qQe({aptosConfig:this.config,...e})}async freezeDigitalAssetTransaferTransaction(e){return jQe({aptosConfig:this.config,...e})}async unfreezeDigitalAssetTransaferTransaction(e){return GQe({aptosConfig:this.config,...e})}async setDigitalAssetDescriptionTransaction(e){return VQe({aptosConfig:this.config,...e})}async setDigitalAssetNameTransaction(e){return JQe({aptosConfig:this.config,...e})}async setDigitalAssetURITransaction(e){return XQe({aptosConfig:this.config,...e})}async addDigitalAssetPropertyTransaction(e){return YQe({aptosConfig:this.config,...e})}async removeDigitalAssetPropertyTransaction(e){return QQe({aptosConfig:this.config,...e})}async updateDigitalAssetPropertyTransaction(e){return ZQe({aptosConfig:this.config,...e})}async addDigitalAssetTypedPropertyTransaction(e){return $Qe({aptosConfig:this.config,...e})}async updateDigitalAssetTypedPropertyTransaction(e){return eZe({aptosConfig:this.config,...e})}};m(),m();var rZe=300,irr=e=>{if(e&&e.length>rZe)throw new Error(`Event type length exceeds the maximum length of ${rZe}`)};async function nZe(e){let{aptosConfig:t,eventType:r,options:o}=e,s={_or:[{account_address:{_eq:r.split("::")[0]}},{account_address:{_eq:"0x0000000000000000000000000000000000000000000000000000000000000000"},sequence_number:{_eq:0},creation_number:{_eq:0}}],indexed_type:{_eq:r}};return sB({aptosConfig:t,options:{...o,where:s}})}async function iZe(e){let{accountAddress:t,aptosConfig:r,creationNumber:o,options:s}=e,i={account_address:{_eq:st.from(t).toStringLong()},creation_number:{_eq:o}};return sB({aptosConfig:r,options:{...s,where:i}})}async function oZe(e){let{accountAddress:t,aptosConfig:r,eventType:o,options:s}=e,i={account_address:{_eq:st.from(t).toStringLong()},indexed_type:{_eq:o}};return sB({aptosConfig:r,options:{...s,where:i}})}async function sB(e){let{aptosConfig:t,options:r}=e;irr(r?.where?.indexed_type?._eq);let o={query:qVe,variables:{where_condition:r?.where,offset:r?.offset,limit:r?.limit,order_by:r?.orderBy}};return(await Pn({aptosConfig:t,query:o,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"}),nZe({aptosConfig:this.config,...e})}async getAccountEventsByCreationNumber(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"events_processor"}),iZe({aptosConfig:this.config,...e})}async getAccountEventsByEventType(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"events_processor"}),oZe({aptosConfig:this.config,...e})}async getEvents(e){return await zn({config:this.config,minimumLedgerVersion:e?.minimumLedgerVersion,processorType:"events_processor"}),sB({aptosConfig:this.config,...e})}};m(),m();async function sZe(e){let{aptosConfig:t,accountAddress:r,amount:o,options:s}=e,i=s?.timeoutSecs||20,{data:n}=await Bue({aptosConfig:t,path:"fund",body:{address:st.from(r).toString(),amount:o},originMethod:"fundAccount"}),a=n.txn_hashes[0],u=await T4({aptosConfig:t,transactionHash:a,options:{timeoutSecs:i,checkSuccess:s?.checkSuccess}});if(u.type==="user_transaction")return u;throw new Error(`Unexpected transaction received for fund account: ${u.type}`)}var Xfe=class{constructor(e){this.config=e}async fundAccount(e){let t=await sZe({aptosConfig:this.config,...e});return(e.options?.waitForIndexer===void 0||e.options?.waitForIndexer)&&await jK({aptosConfig:this.config,minimumLedgerVersion:BigInt(t.version),processorType:"fungible_asset_processor"}),t}};m(),m();async function SH(e){let{aptosConfig:t,options:r}=e,o={query:GVe,variables:{where_condition:r?.where,limit:r?.limit,offset:r?.offset}};return(await Pn({aptosConfig:t,query:o,originMethod:"getFungibleAssetMetadata"})).fungible_asset_metadata}async function aZe(e){let{aptosConfig:t,options:r}=e,o={query:jVe,variables:{where_condition:r?.where,limit:r?.limit,offset:r?.offset}};return(await Pn({aptosConfig:t,query:o,originMethod:"getFungibleAssetActivities"})).fungible_asset_activities}async function cZe(e){let{aptosConfig:t,options:r}=e,o={query:KVe,variables:{where_condition:r?.where,limit:r?.limit,offset:r?.offset}};return(await Pn({aptosConfig:t,query:o,originMethod:"getCurrentFungibleAssetBalances"})).current_fungible_asset_balances}var orr={typeParameters:[{constraints:[]}],parameters:[Ug("0x1::object::Object"),new Al,new Nu]};async function uZe(e){let{aptosConfig:t,sender:r,fungibleAssetMetadataAddress:o,recipient:s,amount:i,options:n}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x1::primary_fungible_store::transfer",typeArguments:["0x1::fungible_asset::Metadata"],functionArguments:[o,s,i],abi:orr},options:n})}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"}),aZe({aptosConfig:this.config,...e})}async getCurrentFungibleAssetBalances(e){return await zn({config:this.config,minimumLedgerVersion:e?.minimumLedgerVersion,processorType:"fungible_asset_processor"}),cZe({aptosConfig:this.config,...e})}async transferFungibleAsset(e){return uZe({aptosConfig:this.config,...e})}};m(),m();async function kh(e){let{aptosConfig:t,payload:r,options:o}=e,s=await tfe({...r,aptosConfig:t}),i=new Ru;s.serialize(i);let n=i.toUint8Array(),{data:a}=await jm({aptosConfig:t,path:"view",originMethod:"view",contentType:"application/x.aptos.view_function+bcs",params:{ledger_version:o?.ledgerVersion},body:n});return a}async function lZe(e){let{aptosConfig:t,payload:r,options:o}=e,{data:s}=await jm({aptosConfig:t,originMethod:"viewJson",path:"view",params:{ledger_version:o?.ledgerVersion},body:{function:r.function,type_arguments:r.typeArguments??[],arguments:r.functionArguments??[]}});return s}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 hYe({aptosConfig:this.config,...e})}async getBlockByHeight(e){return pYe({aptosConfig:this.config,...e})}async view(e){return kh({aptosConfig:this.config,...e})}async viewJson(e){return lZe({aptosConfig:this.config,...e})}async getChainTopUserTransactions(e){return uJe({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 ZXe({aptosConfig:this.config,...e})}async getAccountModule(e){return KK({aptosConfig:this.config,...e})}async getAccountTransactions(e){return $Xe({aptosConfig:this.config,...e})}async getAccountResources(e){return eYe({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"}),tYe({aptosConfig:this.config,...e})}async getAccountOwnedTokens(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),rYe({aptosConfig:this.config,...e})}async getAccountOwnedTokensFromCollectionAddress(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),nYe({aptosConfig:this.config,...e})}async getAccountCollectionsWithOwnedTokens(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),iYe({aptosConfig:this.config,...e})}async getAccountTransactionsCount(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"account_transactions_processor"}),oYe({aptosConfig:this.config,...e})}async getAccountCoinsData(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"fungible_asset_processor"}),sYe({aptosConfig:this.config,...e})}async getAccountCoinsCount(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"fungible_asset_processor"}),aYe({aptosConfig:this.config,...e})}async getAccountAPTAmount(e){return this.getAccountCoinAmount({coinType:$1,faMetadataAddress:Uue,...e})}async getAccountCoinAmount(e){let{accountAddress:t,coinType:r,faMetadataAddress:o,minimumLedgerVersion:s}=e;s&&console.warn(`minimumLedgerVersion is not used anymore, here for backward 
        compatibility see https://github.com/aptos-labs/aptos-ts-sdk/pull/519, 
        will be removed in the near future`);let i=r;r===void 0&&o!==void 0&&(i=await Gg(async()=>{try{let u=(await kh({aptosConfig:this.config,payload:{function:"0x1::coin::paired_coin",functionArguments:[o]}})).at(0);if(u.vec.length>0&&Sue(u.vec[0]))return Tue(u.vec[0])}catch{}},`coin-mapping-${o.toString()}`,1e3*60*5)());let n;if(r!==void 0&&o!==void 0)n=st.from(o).toStringLong();else if(r!==void 0&&o===void 0)r===$1?n=st.A.toStringLong():n=zK(st.A,r).toStringLong();else if(r===void 0&&o!==void 0){let u=st.from(o);n=u.toStringLong(),u===st.A&&(i=$1)}else throw new Error("Either coinType, faMetadataAddress, or both must be provided");if(i!==void 0){let[u]=await kh({aptosConfig:this.config,payload:{function:"0x1::coin::balance",typeArguments:[i],functionArguments:[t]}});return parseInt(u,10)}let[a]=await kh({aptosConfig:this.config,payload:{function:"0x1::primary_fungible_store::balance",typeArguments:["0x1::object::ObjectCore"],functionArguments:[t,n]}});return parseInt(a,10)}async getAccountOwnedObjects(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"default_processor"}),cYe({aptosConfig:this.config,...e})}async deriveAccountFromPrivateKey(e){return uYe({aptosConfig:this.config,...e})}};m(),m();var fZe=["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 dZe(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,...o]=e.replace(/\.apt$/,"").split(".");if(o.length>0)throw new Error(`${e} is invalid. A name can only have two parts, a domain and a subdomain separated by a "."`);if(!dZe(t))throw new Error(`${t} is not valid. ${fZe}`);if(r&&!dZe(r))throw new Error(`${r} is not valid. ${fZe}`);return{domainName:r||t,subdomainName:r?t:void 0}}var srr=(e=>(e[e.Independent=0]="Independent",e[e.FollowsDomain=1]="FollowsDomain",e))(srr||{});function hZe(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?!1:e.subdomain&&e.subdomain_expiration_policy===1?!0:!r}var arr="0x585fc9f0f0c54183b039ffc770ca282ebd87307916c215a3e692f2f8e4305e82",crr={testnet:"0x5f8fd2347449685cf41d4db97926ec3a096eaf381332be4f1318ad4d16a8497c",mainnet:"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c",local:arr,custom:null,devnet:null};function rb(e){let t=crr[e.network];if(!t)throw new Error(`The ANS contract is not deployed to ${e.network}`);return t}var CH=e=>{if(e&&typeof e=="object"&&"vec"in e&&Array.isArray(e.vec))return e.vec[0]};async function pZe(e){let{aptosConfig:t,name:r}=e,o=rb(t),{domainName:s,subdomainName:i}=xw(r),n=await kh({aptosConfig:t,payload:{function:`${o}::router::get_owner_addr`,functionArguments:[s,i]}}),a=CH(n[0]);return a?st.from(a):void 0}async function gZe(e){let{aptosConfig:t,expiration:r,name:o,sender:s,targetAddress:i,toAddress:n,options:a,transferable:u}=e,c=rb(t),{domainName:d,subdomainName:h}=xw(o),y=r.policy==="subdomain:independent"||r.policy==="subdomain:follow-domain";if(h&&!y)throw new Error("Subdomains must have an expiration policy of either 'subdomain:independent' or 'subdomain:follow-domain'");if(y&&!h)throw new Error(`Policy is set to ${r.policy} but no subdomain was provided`);if(r.policy==="domain"){let T=r.years??1;if(T!==1)throw new Error("For now, names can only be registered for 1 year at a time");let A=T*31536e3;return await ni({aptosConfig:t,sender:s.accountAddress.toString(),data:{function:`${c}::router::register_domain`,functionArguments:[d,A,i,n]},options:a})}if(!h)throw new Error(`${r.policy} requires a subdomain to be provided.`);let C=await $fe({aptosConfig:t,name:d});if(!C)throw new Error("The domain does not exist");let w=r.policy==="subdomain:independent"?r.expirationDate:C;if(w>C)throw new Error("The subdomain expiration time cannot be greater than the domain expiration time");return await ni({aptosConfig:t,sender:s.accountAddress.toString(),data:{function:`${c}::router::register_subdomain`,functionArguments:[d,h,Math.round(w/1e3),r.policy==="subdomain:follow-domain"?1:0,!!u,i,n]},options:a})}async function $fe(e){let{aptosConfig:t,name:r}=e,o=rb(t),{domainName:s,subdomainName:i}=xw(r);try{let n=await kh({aptosConfig:t,payload:{function:`${o}::router::get_expiration`,functionArguments:[s,i]}});return Number(n[0])*1e3}catch{return}}async function yZe(e){let{aptosConfig:t,address:r}=e,o=rb(t),s=await kh({aptosConfig:t,payload:{function:`${o}::router::get_primary_name`,functionArguments:[st.from(r).toString()]}}),i=CH(s[1]),n=CH(s[0]);if(i)return[n,i].filter(Boolean).join(".")}async function mZe(e){let{aptosConfig:t,sender:r,name:o,options:s}=e,i=rb(t);if(!o)return await ni({aptosConfig:t,sender:r.accountAddress.toString(),data:{function:`${i}::router::clear_primary_name`,functionArguments:[]},options:s});let{domainName:n,subdomainName:a}=xw(o);return await ni({aptosConfig:t,sender:r.accountAddress.toString(),data:{function:`${i}::router::set_primary_name`,functionArguments:[n,a]},options:s})}async function bZe(e){let{aptosConfig:t,name:r}=e,o=rb(t),{domainName:s,subdomainName:i}=xw(r),n=await kh({aptosConfig:t,payload:{function:`${o}::router::get_target_addr`,functionArguments:[s,i]}}),a=CH(n[0]);return a?st.from(a):void 0}async function vZe(e){let{aptosConfig:t,sender:r,name:o,address:s,options:i}=e,n=rb(t),{domainName:a,subdomainName:u}=xw(o);return await ni({aptosConfig:t,sender:r.accountAddress.toString(),data:{function:`${n}::router::set_target_addr`,functionArguments:[a,u,s]},options:i})}async function wZe(e){let{aptosConfig:t,name:r}=e,{domainName:o,subdomainName:s=""}=xw(r),i=(await Pn({aptosConfig:t,query:{query:t4,variables:{where_condition:{domain:{_eq:o},subdomain:{_eq:s}},limit:1}},originMethod:"getName"})).current_aptos_names[0];return i&&(i=aB(i)),hZe(i)?i:void 0}async function xZe(e){let{aptosConfig:t,options:r,accountAddress:o}=e,s=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:o.toString()},expiration_timestamp:{_gte:s}}}}})).current_aptos_names.map(aB)}async function AZe(e){let{aptosConfig:t,options:r,accountAddress:o}=e,s=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:o.toString()},expiration_timestamp:{_gte:s},subdomain:{_eq:""}}}}})).current_aptos_names.map(aB)}async function EZe(e){let{aptosConfig:t,options:r,accountAddress:o}=e,s=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:o.toString()},expiration_timestamp:{_gte:s},subdomain:{_neq:""}}}}})).current_aptos_names.map(aB)}async function TZe(e){let{aptosConfig:t,options:r,domain:o}=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:o},subdomain:{_neq:""}}}}})).current_aptos_names.map(aB).filter(hZe)}async function ede(e){let{aptosConfig:t}=e,r=rb(t),[o]=await kh({aptosConfig:t,payload:{function:`${r}::config::reregistration_grace_sec`,functionArguments:[]}}),s=o/60/60/24,i=()=>new Date;return new Date(i().setDate(i().getDate()-s)).toISOString()}async function SZe(e){let{aptosConfig:t,sender:r,name:o,years:s=1,options:i}=e,n=rb(t),a=s*31536e3,{domainName:u,subdomainName:c}=xw(o);if(c)throw new Error("Subdomains cannot be renewed");if(s!==1)throw new Error("Currently, only 1 year renewals are supported");return await ni({aptosConfig:t,sender:r.accountAddress.toString(),data:{function:`${n}::router::renew_domain`,functionArguments:[u,a]},options:i})}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 pZe({aptosConfig:this.config,...e})}async getExpiration(e){return $fe({aptosConfig:this.config,...e})}async getTargetAddress(e){return bZe({aptosConfig:this.config,...e})}async setTargetAddress(e){return vZe({aptosConfig:this.config,...e})}async getPrimaryName(e){return yZe({aptosConfig:this.config,...e})}async setPrimaryName(e){return mZe({aptosConfig:this.config,...e})}async registerName(e){return gZe({aptosConfig:this.config,...e})}async renewDomain(e){return SZe({aptosConfig:this.config,...e})}async getName(e){return wZe({aptosConfig:this.config,...e})}async getAccountNames(e){return xZe({aptosConfig:this.config,...e})}async getAccountDomains(e){return AZe({aptosConfig:this.config,...e})}async getAccountSubdomains(e){return EZe({aptosConfig:this.config,...e})}async getDomainSubdomains(e){return TZe({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(o=>{let s=Object.getOwnPropertyDescriptor(t.prototype,o);s&&(s.value=function(...i){return this[r][o](...i)},Object.defineProperty(e.prototype,o,s))})}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 CZe=(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))(CZe||{}),IZe=(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))(IZe||{}),OZe=(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))(OZe||{}),PZe=(e=>(e[e.Script=0]="Script",e[e.EntryFunction=2]="EntryFunction",e[e.Multisig=3]="Multisig",e))(PZe||{}),BZe=(e=>(e[e.MultiAgentTransaction=0]="MultiAgentTransaction",e[e.FeePayerTransaction=1]="FeePayerTransaction",e))(BZe||{}),kZe=(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))(kZe||{}),MZe=(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))(MZe||{}),_Ze=(e=>(e.Ed25519="ed25519",e.Secp256k1="secp256k1",e))(_Ze||{}),RZe=(e=>(e[e.Ed25519=0]="Ed25519",e[e.Secp256k1=1]="Secp256k1",e[e.Keyless=3]="Keyless",e[e.FederatedKeyless=4]="FederatedKeyless",e))(RZe||{}),NZe=(e=>(e[e.Ed25519=0]="Ed25519",e[e.Secp256k1=1]="Secp256k1",e[e.Keyless=3]="Keyless",e))(NZe||{}),DZe=(e=>(e[e.Ed25519=0]="Ed25519",e))(DZe||{}),UZe=(e=>(e[e.Ed25519=0]="Ed25519",e))(UZe||{}),LZe=(e=>(e[e.ZkProof=0]="ZkProof",e))(LZe||{}),FZe=(e=>(e[e.Groth16=0]="Groth16",e))(FZe||{}),WZe=(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))(WZe||{}),zZe=(e=>(e.PRIVATE="private",e.PUBLIC="public",e.FRIEND="friend",e))(zZe||{}),KZe=(e=>(e.STORE="store",e.DROP="drop",e.KEY="key",e.COPY="copy",e))(KZe||{}),HZe=(e=>(e.VALIDATOR="validator",e.FULL_NODE="full_node",e))(HZe||{}),rde=(e=>(e[e.Ed25519=0]="Ed25519",e[e.MultiEd25519=1]="MultiEd25519",e[e.SingleKey=2]="SingleKey",e[e.MultiKey=3]="MultiKey",e))(rde||{}),qZe=(e=>(e[e.Ed25519=0]="Ed25519",e[e.Secp256k1Ecdsa=2]="Secp256k1Ecdsa",e))(qZe||{}),jZe=(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))(jZe||{});m(),m();var nde="aptos:mainnet";m(),m();var urr=function(e,t,r,o){if(r==="a"&&!o)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?o:r==="a"?o.call(e):o?o.value:t.get(e)},lrr=function(e,t,r,o,s){if(o==="m")throw new TypeError("Private method is not writable");if(o==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return o==="a"?s.call(e,r):s?s.value=r:t.set(e,r),r},IH;function D4(e){let t=({register:r})=>r(e);try{window.dispatchEvent(new ide(t))}catch(r){console.error(`wallet-standard:register-wallet event could not be dispatched
`,r)}try{window.addEventListener("wallet-standard:app-ready",({detail:r})=>t(r))}catch(r){console.error(`wallet-standard:app-ready event listener could not be added
`,r)}}var ide=class extends Event{get detail(){return urr(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),lrr(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,o){if(r==="a"&&!o)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?o:r==="a"?o.call(e):o?o.value:t.get(e)},L4=function(e,t,r,o,s){if(o==="m")throw new TypeError("Private method is not writable");if(o==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return o==="a"?s.call(e,r):s?s.value=r:t.set(e,r),r},OH,PH,BH,kH,MH,_H,F4=class d2{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,kH,"f").slice()}get label(){return U4(this,MH,"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),kH.set(this,void 0),MH.set(this,void 0),_H.set(this,void 0),new.target===d2&&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,kH,t.features.slice(),"f"),L4(this,MH,t.label,"f"),L4(this,_H,t.icon,"f")}};OH=new WeakMap,PH=new WeakMap,BH=new WeakMap,kH=new WeakMap,MH=new WeakMap,_H=new WeakMap,m();var GZe=(e=>(e[e.Unauthorized=4100]="Unauthorized",e[e.Unsupported=4200]="Unsupported",e[e.InternalError=-30001]="InternalError",e))(GZe||{}),frr=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 VZe=(e=>(e.APPROVED="Approved",e.REJECTED="Rejected",e))(VZe||{});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+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+gDYE9eo0LPAd6wcArgioePadIPrpYIssgW04iiUpGbOE+7x/jcwbZtCokIznVqKBfdzSwUk93hQA0eU4FIEty4CioPl8XJzPzFqEOBkSJgDQzbjErir2Rsh6mFatAJ1DtHrWc4GjECHdZ3XG7HdRLu0iZ0s2kGvYmoimXZiQVuVE03dUcRcy0FpIpZQDaxN57pogNFH1iN52SyUUtF3hN3ZBGgsqOCbd4Ocw7O/UeIZWIRMeEUtSLlfFBnmHhk53FRlbWetkSCpmdI5bgaGTS48TsQ98poXGMT12a2cnkn+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(r){let o=jv(r);throw this.getLogger().error("signTransaction error",o),o}};signMessage=async e=>{try{let t=await this.provider.signMessage(e);if(!t)throw new Lo("signMessage error",4900);return t}catch(t){let r=jv(t);throw this.getLogger().error("signMessage error",r),r}};signAndSubmitTransaction=async e=>{try{let t=await this.provider.signAndSubmitTransaction(e);if(!t)throw new Lo("signMessage error",4900);return t}catch(t){let r=jv(t);throw this.getLogger().error("signAndSubmitTransaction error",r),r}};providerCallback(e,t){switch(e){case"connect":this.sessionUpdateCallback(t);break;case"session_update":this.sessionUpdateCallback(t);break;case"session_delete":this.sessionDeleteCallback(t);break;default:this.getLogger().warn(`provider callback not implemented: ${e}`);break}}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 t=await this.getAccount();this.emit("accountChanged",t),this.accounts=[t]}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)}},JZe=ode;m();var XZe=hi(yg()),sde=class Of 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:(this.provider=new Of,this.provider.setupClient(t),Of.initialized=!0,this.provider)}async request(t){return this.universalProvider?.request(t,"ton")}async connect(t){try{return await this.universalProvider.connect({tonItems:t})}catch(r){throw this.logger.error(r?.message),r}}async disconnect(){try{await this.universalProvider.disconnect()}catch(t){throw this.logger.error(t?.message),t}}setupClient(t){if(this.client){this.logger.info("client already initialized");return}let r=t.getClient();r&&(this.universalProvider=t,this.client=new XZe.OKXTonProvider(r))}getAccount(){if(!this.client)throw new Lo("Client not initialized",4900);return this.client.account()}async sendTransaction(t){if(!this.client)throw new Lo("Client not initialized",4900);try{return await this.client.sendTransaction(t)}catch(r){throw this.logger.error(r?.message),r}}},YZe=sde;m();var nb=hi(yg());m();var QZe={name:"@okxconnect/connect-kit",version:"1.6.7",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"}},hrr="okxTonWallet",ZZe="Unsupported protocol version",ade=2;function $Ze(){return{platform:"MiniApp",appName:hrr,appVersion:QZe.version,maxProtocolVersion:ade,features:["SendTransaction",{name:"SendTransaction",maxMessages:4}]}}function e$e(e=[]){return e.reduce((t,r)=>(t[r.name]={...r},t),{})}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 $Ze()}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 typeof t=="string"&&(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;break;default:break}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,ZZe):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(e$e(e?.items)||[]);return this.emitConnect([t?.namespaces?.ton?.payload?.ton_addr])}catch(t){return this.getLogger().error(`Requesting accounts error: ${t.message}`),this.emitConnectError(t?.code,t?.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}`);break}}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()}},t$e=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"},r$e=[Lu.SIGN_AND_SEND_TRANSACTION,Lu.SIGN_TRANSACTION,Lu.SIGN_MESSAGE];m(),m(),m(),m(),m();function prr(e){if(e.length>=255)throw new TypeError("Alphabet too long");let t=new Uint8Array(256);for(let c=0;c<t.length;c++)t[c]=255;for(let c=0;c<e.length;c++){let d=e.charAt(c),h=d.charCodeAt(0);if(t[h]!==255)throw new TypeError(d+" is ambiguous");t[h]=c}let r=e.length,o=e.charAt(0),s=Math.log(r)/Math.log(256),i=Math.log(256)/Math.log(r);function n(c){if(c instanceof Uint8Array||(ArrayBuffer.isView(c)?c=new Uint8Array(c.buffer,c.byteOffset,c.byteLength):Array.isArray(c)&&(c=Uint8Array.from(c))),!(c instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(c.length===0)return"";let d=0,h=0,y=0,C=c.length;for(;y!==C&&c[y]===0;)y++,d++;let w=(C-y)*i+1>>>0,T=new Uint8Array(w);for(;y!==C;){let v=c[y],B=0;for(let R=w-1;(v!==0||B<h)&&R!==-1;R--,B++)v+=256*T[R]>>>0,T[R]=v%r>>>0,v=v/r>>>0;if(v!==0)throw new Error("Non-zero carry");h=B,y++}let A=w-h;for(;A!==w&&T[A]===0;)A++;let O=o.repeat(d);for(;A<w;++A)O+=e.charAt(T[A]);return O}function a(c){if(typeof c!="string")throw new TypeError("Expected String");if(c.length===0)return new Uint8Array;let d=0,h=0,y=0;for(;c[d]===o;)h++,d++;let C=(c.length-d)*s+1>>>0,w=new Uint8Array(C);for(;c[d];){let v=t[c.charCodeAt(d)];if(v===255)return;let B=0;for(let R=C-1;(v!==0||B<y)&&R!==-1;R--,B++)v+=r*w[R]>>>0,w[R]=v%256>>>0,v=v/256>>>0;if(v!==0)throw new Error("Non-zero carry");y=B,d++}let T=C-y;for(;T!==C&&w[T]===0;)T++;let A=new Uint8Array(h+(C-T)),O=h;for(;T!==C;)A[O++]=w[T++];return A}function u(c){let d=a(c);if(d)return d;throw new Error("Non-base"+r+" character")}return{encode:n,decodeUnsafe:a,decode:u}}var n$e=prr,grr="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",a2=n$e(grr),c2=e=>a2.encode(e),u2=e=>a2.decode(e);m();function bc(e){return Uint8Array.from(atob(e),t=>t.charCodeAt(0))}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 o=e.slice(r,r+ude);t+=String.fromCharCode(...o)}return btoa(t)}m(),m();function W4(e){let t=e.startsWith("0x")?e.slice(2):e,r=(t.length%2===0?t:`0${t}}`).match(/.{2}/g)?.map(o=>parseInt(o,16))??[];return Uint8Array.from(r)}function Qg(e){return e.reduce((t,r)=>t+r.toString(16).padStart(2,"0"),"")}m(),m();function z4(e){let t=[],r=0;if(e===0)return[0];for(;e>0;)t[r]=e&127,(e>>=7)&&(t[r]|=128),r+=1;return t}function i$e(e){let t=0,r=0,o=0;for(;;){let s=e[o];if(o+=1,t|=(s&127)<<r,!(s&128))break;r+=7}return{value:t,length:o}}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:o}=i$e(t);return this.shift(o),r}readVec(e){let t=this.readULEB(),r=[];for(let o=0;o<t;o++)r.push(e(this,o,t));return r}};m(),m();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,o]=t,s=[],i="",n=0;for(let a=0;a<e.length;a++){let u=e[a];if(u===r&&n++,u===o&&n--,n===0&&u===","){s.push(i.trim()),i="";continue}i+=u}return s.push(i.trim()),s}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 r=Math.min(this.maxSize,this.size+this.allocateSize);if(t>r)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=r;let o=new ArrayBuffer(this.size);new Uint8Array(o).set(new Uint8Array(this.dataView.buffer)),this.dataView=new DataView(o)}}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(t=>this.write8(t)),this}write128(e){return dde(BigInt(e),16).forEach(t=>this.write8(t)),this}write256(e){return dde(BigInt(e),32).forEach(t=>this.write8(t)),this}writeULEB(e){return z4(e).forEach(t=>this.write8(t)),this}writeVec(e,t){return this.writeULEB(e.length),Array.from(e).forEach((r,o)=>t(this,r,o,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),o=0;for(;e>0;)r[o]=Number(e%BigInt(256)),e=e/BigInt(256),o+=1;return r}var o$e=e=>{throw TypeError(e)},s$e=(e,t,r)=>t.has(e)||o$e("Cannot "+r),op=(e,t,r)=>(s$e(e,t,"read from private field"),r?r.call(e):t.get(e)),zH=(e,t,r)=>t.has(e)?o$e("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),KH=(e,t,r,o)=>(s$e(e,t,"write to private field"),o?o.call(e,r):t.set(e,r),r),K4,cB,WH,Aw,yrr=class h2{constructor(t){zH(this,K4),zH(this,cB),this.name=t.name,this.read=t.read,this.serializedSize=t.serializedSize??(()=>null),KH(this,K4,t.write),KH(this,cB,t.serialize??((r,o)=>{let s=new FH({initialSize:this.serializedSize(r)??void 0,...o});return op(this,K4).call(this,r,s),s.toBytes()})),this.validate=t.validate??(()=>{})}write(t,r){this.validate(t),op(this,K4).call(this,t,r)}serialize(t,r){return this.validate(t),new hde(this,op(this,cB).call(this,t,r))}parse(t){let r=new LH(t);return this.read(r)}fromHex(t){return this.parse(W4(t))}fromBase58(t){return this.parse(u2(t))}fromBase64(t){return this.parse(bc(t))}transform({name:t,input:r,output:o,validate:s}){return new h2({name:t??this.name,read:i=>o(this.read(i)),write:(i,n)=>op(this,K4).call(this,r(i),n),serializedSize:i=>this.serializedSize(r(i)),serialize:(i,n)=>op(this,cB).call(this,r(i),n),validate:i=>{s?.(i),this.validate(r(i))}})}};K4=new WeakMap,cB=new WeakMap;var Zg=yrr,mrr=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[mrr](){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))}};WH=new WeakMap,Aw=new WeakMap;function uB({size:e,...t}){return new Zg({...t,serializedSize:()=>e})}function HH({readMethod:e,writeMethod:t,...r}){return uB({...r,read:o=>o[e](),write:(o,s)=>s[t](o),validate:o=>{if(o<0||o>r.maxValue)throw new TypeError(`Invalid ${r.name} value: ${o}. Expected value in range 0-${r.maxValue}`);r.validate?.(o)}})}function qH({readMethod:e,writeMethod:t,...r}){return uB({...r,read:o=>o[e](),write:(o,s)=>s[t](BigInt(o)),validate:o=>{let s=BigInt(o);if(s<0||s>r.maxValue)throw new TypeError(`Invalid ${r.name} value: ${s}. Expected value in range 0-${r.maxValue}`);r.validate?.(s)}})}function c$e({serialize:e,...t}){let r=new Zg({...t,serialize:e,write:(o,s)=>{for(let i of r.serialize(o).toBytes())s.write8(i)}});return r}function u$e({toBytes:e,fromBytes:t,...r}){return new Zg({...r,read:o=>{let s=o.readULEB(),i=o.readBytes(s);return t(i)},write:(o,s)=>{let i=e(o);s.writeULEB(i.length);for(let n=0;n<i.length;n++)s.write8(i[n])},serialize:o=>{let s=e(o),i=z4(s.length),n=new Uint8Array(i.length+s.length);return n.set(i,0),n.set(s,i.length),n},validate:o=>{if(typeof o!="string")throw new TypeError(`Invalid ${r.name} value: ${o}. Expected string`);r.validate?.(o)}})}function l$e(e){let t=null;function r(){return t||(t=e()),t}return new Zg({name:"lazy",read:o=>r().read(o),serializedSize:o=>r().serializedSize(o),write:(o,s)=>r().write(o,s),serialize:(o,s)=>r().serialize(o,s).toBytes()})}m();var ye={u8(e){return HH({name:"u8",readMethod:"read8",writeMethod:"write8",size:1,maxValue:2**8-1,...e})},u16(e){return HH({name:"u16",readMethod:"read16",writeMethod:"write16",size:2,maxValue:2**16-1,...e})},u32(e){return HH({name:"u32",readMethod:"read32",writeMethod:"write32",size:4,maxValue:2**32-1,...e})},u64(e){return qH({name:"u64",readMethod:"read64",writeMethod:"write64",size:8,maxValue:2n**64n-1n,...e})},u128(e){return qH({name:"u128",readMethod:"read128",writeMethod:"write128",size:16,maxValue:2n**128n-1n,...e})},u256(e){return qH({name:"u256",readMethod:"read256",writeMethod:"write256",size:32,maxValue:2n**256n-1n,...e})},bool(e){return uB({name:"bool",size:1,read:t=>t.read8()===1,write:(t,r)=>r.write8(t?1:0),...e,validate:t=>{if(e?.validate?.(t),typeof t!="boolean")throw new TypeError(`Expected boolean, found ${typeof t}`)}})},uleb128(e){return c$e({name:"uleb128",read:t=>t.readULEB(),serialize:t=>Uint8Array.from(z4(t)),...e})},bytes(e,t){return uB({name:`bytes[${e}]`,size:e,read:r=>r.readBytes(e),write:(r,o)=>{let s=new Uint8Array(r);for(let i=0;i<e;i++)o.write8(s[i]??0)},...t,validate:r=>{if(t?.validate?.(r),!r||typeof r!="object"||!("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){return u$e({name:"string",toBytes:t=>new TextEncoder().encode(t),fromBytes:t=>new TextDecoder().decode(t),...e})},fixedArray(e,t,r){return new Zg({name:`${t.name}[${e}]`,read:o=>{let s=new Array(e);for(let i=0;i<e;i++)s[i]=t.read(o);return s},write:(o,s)=>{for(let i of o)t.write(i,s)},...r,validate:o=>{if(r?.validate?.(o),!o||typeof o!="object"||!("length"in o))throw new TypeError(`Expected array, found ${typeof o}`);if(o.length!==e)throw new TypeError(`Expected array of length ${e}, found ${o.length}`)}})},option(e){return ye.enum(`Option<${e.name}>`,{None:null,Some:e}).transform({input:t=>t==null?{None:!0}:{Some:t},output:t=>t.$kind==="Some"?t.Some:null})},vector(e,t){return new Zg({name:`vector<${e.name}>`,read:r=>{let o=r.readULEB(),s=new Array(o);for(let i=0;i<o;i++)s[i]=e.read(r);return s},write:(r,o)=>{o.writeULEB(r.length);for(let s of r)e.write(s,o)},...t,validate:r=>{if(t?.validate?.(r),!r||typeof r!="object"||!("length"in r))throw new TypeError(`Expected array, found ${typeof r}`)}})},tuple(e,t){return new Zg({name:`(${e.map(r=>r.name).join(", ")})`,serializedSize:r=>{let o=0;for(let s=0;s<e.length;s++){let i=e[s].serializedSize(r[s]);if(i==null)return null;o+=i}return o},read:r=>{let o=[];for(let s of e)o.push(s.read(r));return o},write:(r,o)=>{for(let s=0;s<e.length;s++)e[s].write(r[s],o)},...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 o=Object.entries(t);return new Zg({name:e,serializedSize:s=>{let i=0;for(let[n,a]of o){let u=a.serializedSize(s[n]);if(u==null)return null;i+=u}return i},read:s=>{let i={};for(let[n,a]of o)i[n]=a.read(s);return i},write:(s,i)=>{for(let[n,a]of o)a.write(s[n],i)},...r,validate:s=>{if(r?.validate?.(s),typeof s!="object"||s==null)throw new TypeError(`Expected object, found ${typeof s}`)}})},enum(e,t,r){let o=Object.entries(t);return new Zg({name:e,read:s=>{let i=s.readULEB(),n=o[i];if(!n)throw new TypeError(`Unknown value ${i} for enum ${e}`);let[a,u]=n;return{[a]:u?.read(s)??!0,$kind:a}},write:(s,i)=>{let[n,a]=Object.entries(s).filter(([u])=>Object.hasOwn(t,u))[0];for(let u=0;u<o.length;u++){let[c,d]=o[u];if(c===n){i.writeULEB(u),d?.write(a,i);return}}},...r,validate:s=>{if(r?.validate?.(s),typeof s!="object"||s==null)throw new TypeError(`Expected object, found ${typeof s}`);let i=Object.keys(s).filter(a=>s[a]!==void 0&&Object.hasOwn(t,a));if(i.length!==1)throw new TypeError(`Expected object with one key, but found ${i.length} for type ${e}}`);let[n]=i;if(!Object.hasOwn(t,n))throw new TypeError(`Invalid enum variant ${n}`)}})},map(e,t){return ye.vector(ye.tuple([e,t])).transform({name:`Map<${e.name}, ${t.name}>`,input:r=>[...r.entries()],output:r=>{let o=new Map;for(let[s,i]of r)o.set(s,i);return o}})},lazy(e){return l$e(e)}};m(),m();var Ew=32;function f$e(e){return brr(e)&&vrr(e)===Ew}function $g(e,t=!1){let r=e.toLowerCase();return!t&&r.startsWith("0x")&&(r=r.slice(2)),`0x${r.padStart(Ew*2,"0")}`}function brr(e){return/^(0x|0X)?[a-fA-F0-9]+$/.test(e)&&e.length%2===0}function vrr(e){return/^(0x|0X)/.test(e)?(e.length-2)/2:e.length/2}m();var wrr=/^vector<(.+)>$/,xrr=/^([^:]+)::([^:]+)::([^<]+)(<(.+)>)?/,lB=class Pc{static parseFromStr(t,r=!1){if(t==="address")return{address:null};if(t==="bool")return{bool:null};if(t==="u8")return{u8:null};if(t==="u16")return{u16:null};if(t==="u32")return{u32:null};if(t==="u64")return{u64:null};if(t==="u128")return{u128:null};if(t==="u256")return{u256:null};if(t==="signer")return{signer:null};let o=t.match(wrr);if(o)return{vector:Pc.parseFromStr(o[1],r)};let s=t.match(xrr);if(s)return{struct:{address:r?$g(s[1]):s[1],module:s[2],name:s[3],typeParams:s[5]===void 0?[]:Pc.parseStructTypeArgs(s[5],r)}};throw new Error(`Encountered unexpected token when parsing type args for ${t}`)}static parseStructTypeArgs(t,r=!1){return fde(t).map(o=>Pc.parseFromStr(o,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<${Pc.tagToString(t.vector)}>`;if("struct"in t){let r=t.struct,o=r.typeParams.map(Pc.tagToString).join(", ");return`${r.address}::${r.module}::${r.name}${o?`<${o}>`:""}`}throw new Error("Invalid TypeTag")}};function Arr(e){return ye.u64({name:"unsafe_u64",...e}).transform({input:t=>t,output:t=>Number(t)})}function Err(e){return ye.enum("Option",{None:null,Some:e})}var Ko=ye.bytes(Ew).transform({validate:e=>{let t=typeof e=="string"?e:Qg(e);if(!t||!f$e($g(t)))throw new Error(`Invalid Sui address ${t}`)},input:e=>typeof e=="string"?W4($g(e)):e,output:e=>$g(Qg(e))}),Td=ye.vector(ye.u8()).transform({name:"ObjectDigest",input:e=>u2(e),output:e=>c2(new Uint8Array(e)),validate:e=>{if(u2(e).length!==32)throw new Error("ObjectDigest must be 32 bytes")}}),Cf=ye.struct("SuiObjectRef",{objectId:Ko,version:ye.u64(),digest:Td}),pde=ye.struct("SharedObjectRef",{objectId:Ko,initialSharedVersion:ye.u64(),mutable:ye.bool()}),gde=ye.enum("ObjectArg",{ImmOrOwnedObject:Cf,SharedObject:pde,Receiving:Cf}),yde=ye.enum("CallArg",{Pure:ye.struct("Pure",{bytes:ye.vector(ye.u8()).transform({input:e=>typeof e=="string"?bc(e):e,output:e=>Ua(new Uint8Array(e))})}),Object:gde}),mde=ye.enum("TypeTag",{bool:null,u8:null,u64:null,u128:null,address:null,signer:null,vector:ye.lazy(()=>mde),struct:ye.lazy(()=>Ede),u16:null,u32:null,u256:null}),jH=mde.transform({input:e=>typeof e=="string"?lB.parseFromStr(e,!0):e,output:e=>lB.tagToString(e)}),sp=ye.enum("Argument",{GasCoin:null,Input:ye.u16(),Result:ye.u16(),NestedResult:ye.tuple([ye.u16(),ye.u16()])}),bde=ye.struct("ProgrammableMoveCall",{package:Ko,module:ye.string(),function:ye.string(),typeArguments:ye.vector(jH),arguments:ye.vector(sp)}),vde=ye.enum("Command",{MoveCall:bde,TransferObjects:ye.struct("TransferObjects",{objects:ye.vector(sp),address:sp}),SplitCoins:ye.struct("SplitCoins",{coin:sp,amounts:ye.vector(sp)}),MergeCoins:ye.struct("MergeCoins",{destination:sp,sources:ye.vector(sp)}),Publish:ye.struct("Publish",{modules:ye.vector(ye.vector(ye.u8()).transform({input:e=>typeof e=="string"?bc(e):e,output:e=>Ua(new Uint8Array(e))})),dependencies:ye.vector(Ko)}),MakeMoveVec:ye.struct("MakeMoveVec",{type:Err(jH).transform({input:e=>e===null?{None:!0}:{Some:e},output:e=>e.Some??null}),elements:ye.vector(sp)}),Upgrade:ye.struct("Upgrade",{modules:ye.vector(ye.vector(ye.u8()).transform({input:e=>typeof e=="string"?bc(e):e,output:e=>Ua(new Uint8Array(e))})),dependencies:ye.vector(Ko),package:Ko,ticket:sp})}),wde=ye.struct("ProgrammableTransaction",{inputs:ye.vector(yde),commands:ye.vector(vde)}),xde=ye.enum("TransactionKind",{ProgrammableTransaction:wde,ChangeEpoch:null,Genesis:null,ConsensusCommitPrologue:null}),Ade=ye.enum("TransactionExpiration",{None:null,Epoch:Arr()}),Ede=ye.struct("StructTag",{address:Ko,module:ye.string(),name:ye.string(),typeParams:ye.vector(mde)}),Tde=ye.struct("GasData",{payment:ye.vector(Cf),owner:Ko,price:ye.u64(),budget:ye.u64()}),Sde=ye.struct("TransactionDataV1",{kind:xde,sender:Ko,gasData:Tde,expiration:Ade}),Cde=ye.enum("TransactionData",{V1:Sde}),Ide=ye.enum("IntentScope",{TransactionData:null,TransactionEffects:null,CheckpointSummary:null,PersonalMessage:null}),Ode=ye.enum("IntentVersion",{V0:null}),Pde=ye.enum("AppId",{Sui:null}),Bde=ye.struct("Intent",{scope:Ide,version:Ode,appId:Pde});function kde(e){return ye.struct(`IntentMessage<${e.name}>`,{intent:Bde,value:e})}var Mde=ye.enum("CompressedSignature",{ED25519:ye.fixedArray(64,ye.u8()),Secp256k1:ye.fixedArray(64,ye.u8()),Secp256r1:ye.fixedArray(64,ye.u8()),ZkLogin:ye.vector(ye.u8())}),_de=ye.enum("PublicKey",{ED25519:ye.fixedArray(32,ye.u8()),Secp256k1:ye.fixedArray(33,ye.u8()),Secp256r1:ye.fixedArray(33,ye.u8()),ZkLogin:ye.vector(ye.u8())}),Rde=ye.struct("MultiSigPkMap",{pubKey:_de,weight:ye.u8()}),Nde=ye.struct("MultiSigPublicKey",{pk_map:ye.vector(Rde),threshold:ye.u16()}),d$e=ye.struct("MultiSig",{sigs:ye.vector(Mde),bitmap:ye.u16(),multisig_pk:Nde}),Trr=ye.vector(ye.u8()).transform({input:e=>typeof e=="string"?bc(e):e,output:e=>Ua(new Uint8Array(e))}),Dde=ye.struct("SenderSignedTransaction",{intentMessage:kde(Cde),txSignatures:ye.vector(Trr)}),h$e=ye.vector(Dde,{name:"SenderSignedData"});m();var Srr=ye.enum("PackageUpgradeError",{UnableToFetchPackage:ye.struct("UnableToFetchPackage",{packageId:Ko}),NotAPackage:ye.struct("NotAPackage",{objectId:Ko}),IncompatibleUpgrade:null,DigestDoesNotMatch:ye.struct("DigestDoesNotMatch",{digest:ye.vector(ye.u8())}),UnknownUpgradePolicy:ye.struct("UnknownUpgradePolicy",{policy:ye.u8()}),PackageIDDoesNotMatch:ye.struct("PackageIDDoesNotMatch",{packageId:Ko,ticketId:Ko})}),Crr=ye.struct("ModuleId",{address:Ko,name:ye.string()}),p$e=ye.struct("MoveLocation",{module:Crr,function:ye.u16(),instruction:ye.u16(),functionName:ye.option(ye.string())}),Irr=ye.enum("CommandArgumentError",{TypeMismatch:null,InvalidBCSBytes:null,InvalidUsageOfPureArg:null,InvalidArgumentToPrivateEntryFunction:null,IndexOutOfBounds:ye.struct("IndexOutOfBounds",{idx:ye.u16()}),SecondaryIndexOutOfBounds:ye.struct("SecondaryIndexOutOfBounds",{resultIdx:ye.u16(),secondaryIdx:ye.u16()}),InvalidResultArity:ye.struct("InvalidResultArity",{resultIdx:ye.u16()}),InvalidGasCoinUsage:null,InvalidValueUsage:null,InvalidObjectByValue:null,InvalidObjectByMutRef:null,SharedObjectOperationNotAllowed:null}),Orr=ye.enum("TypeArgumentError",{TypeNotFound:null,ConstraintNotSatisfied:null}),Prr=ye.enum("ExecutionFailureStatus",{InsufficientGas:null,InvalidGasObject:null,InvariantViolation:null,FeatureNotYetSupported:null,MoveObjectTooBig:ye.struct("MoveObjectTooBig",{objectSize:ye.u64(),maxObjectSize:ye.u64()}),MovePackageTooBig:ye.struct("MovePackageTooBig",{objectSize:ye.u64(),maxObjectSize:ye.u64()}),CircularObjectOwnership:ye.struct("CircularObjectOwnership",{object:Ko}),InsufficientCoinBalance:null,CoinBalanceOverflow:null,PublishErrorNonZeroAddress:null,SuiMoveVerificationError:null,MovePrimitiveRuntimeError:ye.option(p$e),MoveAbort:ye.tuple([p$e,ye.u64()]),VMVerificationOrDeserializationError:null,VMInvariantViolation:null,FunctionNotFound:null,ArityMismatch:null,TypeArityMismatch:null,NonEntryFunctionInvoked:null,CommandArgumentError:ye.struct("CommandArgumentError",{argIdx:ye.u16(),kind:Irr}),TypeArgumentError:ye.struct("TypeArgumentError",{argumentIdx:ye.u16(),kind:Orr}),UnusedValueWithoutDrop:ye.struct("UnusedValueWithoutDrop",{resultIdx:ye.u16(),secondaryIdx:ye.u16()}),InvalidPublicFunctionReturnType:ye.struct("InvalidPublicFunctionReturnType",{idx:ye.u16()}),InvalidTransferObject:null,EffectsTooLarge:ye.struct("EffectsTooLarge",{currentSize:ye.u64(),maxSize:ye.u64()}),PublishUpgradeMissingDependency:null,PublishUpgradeDependencyDowngrade:null,PackageUpgradeError:ye.struct("PackageUpgradeError",{upgradeError:Srr}),WrittenObjectsTooLarge:ye.struct("WrittenObjectsTooLarge",{currentSize:ye.u64(),maxSize:ye.u64()}),CertificateDenied:null,SuiMoveVerificationTimedout:null,SharedObjectOperationNotAllowed:null,InputObjectDeleted:null,ExecutionCancelledDueToSharedObjectCongestion:ye.struct("ExecutionCancelledDueToSharedObjectCongestion",{congestedObjects:ye.vector(Ko)}),AddressDeniedForCoin:ye.struct("AddressDeniedForCoin",{address:Ko,coinType:ye.string()}),CoinTypeGlobalPause:ye.struct("CoinTypeGlobalPause",{coinType:ye.string()}),ExecutionCancelledDueToRandomnessUnavailable:null}),g$e=ye.enum("ExecutionStatus",{Success:null,Failed:ye.struct("ExecutionFailed",{error:Prr,command:ye.option(ye.u64())})}),y$e=ye.struct("GasCostSummary",{computationCost:ye.u64(),storageCost:ye.u64(),storageRebate:ye.u64(),nonRefundableStorageFee:ye.u64()}),H4=ye.enum("Owner",{AddressOwner:Ko,ObjectOwner:Ko,Shared:ye.struct("Shared",{initialSharedVersion:ye.u64()}),Immutable:null}),Brr=ye.struct("TransactionEffectsV1",{status:g$e,executedEpoch:ye.u64(),gasUsed:y$e,modifiedAtVersions:ye.vector(ye.tuple([Ko,ye.u64()])),sharedObjects:ye.vector(Cf),transactionDigest:Td,created:ye.vector(ye.tuple([Cf,H4])),mutated:ye.vector(ye.tuple([Cf,H4])),unwrapped:ye.vector(ye.tuple([Cf,H4])),deleted:ye.vector(Cf),unwrappedThenDeleted:ye.vector(Cf),wrapped:ye.vector(Cf),gasObject:ye.tuple([Cf,H4]),eventsDigest:ye.option(Td),dependencies:ye.vector(Td)}),Ude=ye.tuple([ye.u64(),Td]),krr=ye.enum("ObjectIn",{NotExist:null,Exist:ye.tuple([Ude,H4])}),Mrr=ye.enum("ObjectOut",{NotExist:null,ObjectWrite:ye.tuple([Td,H4]),PackageWrite:Ude}),_rr=ye.enum("IDOperation",{None:null,Created:null,Deleted:null}),Rrr=ye.struct("EffectsObjectChange",{inputState:krr,outputState:Mrr,idOperation:_rr}),Nrr=ye.enum("UnchangedSharedKind",{ReadOnlyRoot:Ude,MutateDeleted:ye.u64(),ReadDeleted:ye.u64(),Cancelled:ye.u64(),PerEpochConfig:null}),Drr=ye.struct("TransactionEffectsV2",{status:g$e,executedEpoch:ye.u64(),gasUsed:y$e,transactionDigest:Td,gasObjectIndex:ye.option(ye.u32()),eventsDigest:ye.option(Td),dependencies:ye.vector(Td),lamportVersion:ye.u64(),changedObjects:ye.vector(ye.tuple([Ko,Rrr])),unchangedSharedObjects:ye.vector(ye.tuple([Ko,Nrr])),auxDataDigest:ye.option(Td)}),m$e=ye.enum("TransactionEffects",{V1:Brr,V2:Drr}),ib={...ye,U8:ye.u8(),U16:ye.u16(),U32:ye.u32(),U64:ye.u64(),U128:ye.u128(),U256:ye.u256(),ULEB128:ye.uleb128(),Bool:ye.bool(),String:ye.string(),Address:Ko,AppId:Pde,Argument:sp,CallArg:yde,CompressedSignature:Mde,GasData:Tde,Intent:Bde,IntentMessage:kde,IntentScope:Ide,IntentVersion:Ode,MultiSig:d$e,MultiSigPkMap:Rde,MultiSigPublicKey:Nde,ObjectArg:gde,ObjectDigest:Td,ProgrammableMoveCall:bde,ProgrammableTransaction:wde,PublicKey:_de,SenderSignedData:h$e,SenderSignedTransaction:Dde,SharedObjectRef:pde,StructTag:Ede,SuiObjectRef:Cf,Command:vde,TransactionData:Cde,TransactionDataV1:Sde,TransactionExpiration:Ade,TransactionKind:xde,TypeTag:jH,TransactionEffects:m$e};m(),m();var b$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={},o,s,i){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(o),t<0||t>o)throw new Error("outputLen bigger than keyLen");if(r.key!==void 0&&(r.key.length<1||r.key.length>o))throw new Error("key length must be undefined or 1.."+o);if(r.salt!==void 0&&r.salt.length!==s)throw new Error("salt must be undefined or "+s);if(r.personalization!==void 0&&r.personalization.length!==i)throw new Error("personalization must be undefined or "+i);this.buffer=new Uint8Array(e),this.buffer32=H1(this.buffer)}update(e){Oh(this);let{blockLen:t,buffer:r,buffer32:o}=this;e=pc(e);let s=e.length,i=e.byteOffset,n=e.buffer;for(let a=0;a<s;){this.pos===t&&(X0||Dg(o),this.compress(o,0,!1),X0||Dg(o),this.pos=0);let u=Math.min(t-this.pos,s-a),c=i+a;if(u===t&&!(c%4)&&a+u<s){let d=new Uint32Array(n,c,Math.floor((s-a)/4));X0||Dg(d);for(let h=0;a+t<s;h+=o.length,a+=t)this.length+=t,this.compress(d,h,!1);X0||Dg(d);continue}r.set(e.subarray(a,a+u),this.pos),this.pos+=u,this.length+=u,a+=u}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 o=H1(e);this.get().forEach((s,i)=>o[i]=Y0(s))}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:o,destroyed:s,outputLen:i,pos:n}=this;return e||(e=new this.constructor({dkLen:i})),e.set(...this.get()),e.length=r,e.finished=o,e.destroyed=s,e.outputLen=i,e.buffer.set(t),e.pos=n,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,o,s,i){let n=s[i],a=s[i+1],u=cr[2*e],c=cr[2*e+1],d=cr[2*t],h=cr[2*t+1],y=cr[2*r],C=cr[2*r+1],w=cr[2*o],T=cr[2*o+1],A=Dr.add3L(u,d,n);c=Dr.add3H(A,c,h,a),u=A|0,{Dh:T,Dl:w}={Dh:T^c,Dl:w^u},{Dh:T,Dl:w}={Dh:Dr.rotr32H(T,w),Dl:Dr.rotr32L(T,w)},{h:C,l:y}=Dr.add(C,y,T,w),{Bh:h,Bl:d}={Bh:h^C,Bl:d^y},{Bh:h,Bl:d}={Bh:Dr.rotrSH(h,d,24),Bl:Dr.rotrSL(h,d,24)},cr[2*e]=u,cr[2*e+1]=c,cr[2*t]=d,cr[2*t+1]=h,cr[2*r]=y,cr[2*r+1]=C,cr[2*o]=w,cr[2*o+1]=T}function Sw(e,t,r,o,s,i){let n=s[i],a=s[i+1],u=cr[2*e],c=cr[2*e+1],d=cr[2*t],h=cr[2*t+1],y=cr[2*r],C=cr[2*r+1],w=cr[2*o],T=cr[2*o+1],A=Dr.add3L(u,d,n);c=Dr.add3H(A,c,h,a),u=A|0,{Dh:T,Dl:w}={Dh:T^c,Dl:w^u},{Dh:T,Dl:w}={Dh:Dr.rotrSH(T,w,16),Dl:Dr.rotrSL(T,w,16)},{h:C,l:y}=Dr.add(C,y,T,w),{Bh:h,Bl:d}={Bh:h^C,Bl:d^y},{Bh:h,Bl:d}={Bh:Dr.rotrBH(h,d,63),Bl:Dr.rotrBL(h,d,63)},cr[2*e]=u,cr[2*e+1]=c,cr[2*t]=d,cr[2*t+1]=h,cr[2*r]=y,cr[2*r+1]=C,cr[2*o]=w,cr[2*o+1]=T}var Lde=class extends GH{constructor(e={}){super(128,e.dkLen===void 0?64:e.dkLen,e,64,16,16),this.v0l=La[0]|0,this.v0h=La[1]|0,this.v1l=La[2]|0,this.v1h=La[3]|0,this.v2l=La[4]|0,this.v2h=La[5]|0,this.v3l=La[6]|0,this.v3h=La[7]|0,this.v4l=La[8]|0,this.v4h=La[9]|0,this.v5l=La[10]|0,this.v5h=La[11]|0,this.v6l=La[12]|0,this.v6h=La[13]|0,this.v7l=La[14]|0,this.v7h=La[15]|0;let t=e.key?e.key.length:0;if(this.v0l^=this.outputLen|t<<8|65536|1<<24,e.salt){let r=H1(pc(e.salt));this.v4l^=Y0(r[0]),this.v4h^=Y0(r[1]),this.v5l^=Y0(r[2]),this.v5h^=Y0(r[3])}if(e.personalization){let r=H1(pc(e.personalization));this.v6l^=Y0(r[0]),this.v6h^=Y0(r[1]),this.v7l^=Y0(r[2]),this.v7h^=Y0(r[3])}if(e.key){let r=new Uint8Array(this.blockLen);r.set(pc(e.key)),this.update(r)}}get(){let{v0l:e,v0h:t,v1l:r,v1h:o,v2l:s,v2h:i,v3l:n,v3h:a,v4l:u,v4h:c,v5l:d,v5h:h,v6l:y,v6h:C,v7l:w,v7h:T}=this;return[e,t,r,o,s,i,n,a,u,c,d,h,y,C,w,T]}set(e,t,r,o,s,i,n,a,u,c,d,h,y,C,w,T){this.v0l=e|0,this.v0h=t|0,this.v1l=r|0,this.v1h=o|0,this.v2l=s|0,this.v2h=i|0,this.v3l=n|0,this.v3h=a|0,this.v4l=u|0,this.v4h=c|0,this.v5l=d|0,this.v5h=h|0,this.v6l=y|0,this.v6h=C|0,this.v7l=w|0,this.v7h=T|0}compress(e,t,r){this.get().forEach((a,u)=>cr[u]=a),cr.set(La,16);let{h:o,l:s}=Dr.fromBig(BigInt(this.length));cr[24]=La[8]^s,cr[25]=La[9]^o,r&&(cr[28]=~cr[28],cr[29]=~cr[29]);let i=0,n=b$e;for(let a=0;a<12;a++)Tw(0,4,8,12,e,t+2*n[i++]),Sw(0,4,8,12,e,t+2*n[i++]),Tw(1,5,9,13,e,t+2*n[i++]),Sw(1,5,9,13,e,t+2*n[i++]),Tw(2,6,10,14,e,t+2*n[i++]),Sw(2,6,10,14,e,t+2*n[i++]),Tw(3,7,11,15,e,t+2*n[i++]),Sw(3,7,11,15,e,t+2*n[i++]),Tw(0,5,10,15,e,t+2*n[i++]),Sw(0,5,10,15,e,t+2*n[i++]),Tw(1,6,11,12,e,t+2*n[i++]),Sw(1,6,11,12,e,t+2*n[i++]),Tw(2,7,8,13,e,t+2*n[i++]),Sw(2,7,8,13,e,t+2*n[i++]),Tw(3,4,9,14,e,t+2*n[i++]),Sw(3,4,9,14,e,t+2*n[i++]);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=ZGe(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:r$e})]:[]}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);default:break}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}`);break}}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:[]})}},v$e=Fde;m();var htt=hi(dtt()),Lhe=class Pf extends $l{static provider;client;static initialized=!1;universalProvider;constructor(){super()}get isConnected(){return this.universalProvider.isConnected}get session(){return this.universalProvider.session?Mu(this.universalProvider.session,"solana"):null}get defaultChainId(){return this.universalProvider?.getDefaultChainIdByNetwork("solana")}static init(t){return this.initialized?this.provider:(this.provider=new Pf,this.provider.setupClient(t),Pf.initialized=!0,this.provider)}setupClient(t){if(this.client){this.logger.info("client already initialized");return}let r=t.getClient();r&&(this.client=new htt.OKXSolanaProvider(r),this.universalProvider=t)}async request(t){return Object.values(mP).includes(t.method)?await Fr(this.universalProvider.request(t,"solana")):await this.handleRpcRequest(t)}async connect(){return await Fr(this.universalProvider.connect())}async disconnect(){await Fr(this.universalProvider.disconnect())}async signMessage(t){if(!this.client){this.logger.error("client not initialized");return}return await Fr(this.client.signMessage(t,this.defaultChainId))}getAccount(){if(!this.client){this.logger.error("client not initialized");return}return this.client.getAccount(this.defaultChainId)}async signTransaction(t){if(!this.client){this.logger.error("client not initialized");return}return await Fr(this.client.signTransaction(t,this.defaultChainId))}async signAllTransactions(t){if(!this.client){this.logger.error("client not initialized");return}return await Fr(this.client.signAllTransactions(t,this.defaultChainId))}async signAndSendTransaction(t){if(!this.client){this.logger.error("client not initialized");return}return await Fr(this.client.signAndSendTransaction(t,this.defaultChainId))}parseResponse(t){}async handleRpcRequest(t){return await Fr((async r=>{let o={jsonrpc:r.jsonrpc||"2.0",id:r.id||1,method:r.method,params:r.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(o),method:"POST",mode:"cors"})).json()})(t))}},ptt=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"},gtt=[Fa.SIGN_AND_EXECUTE_TRANSACTION_BLOCK,Fa.SIGN_TRANSACTION_BLOCK,Fa.SIGN_MESSAGE,Fa.SIGN_PERSONAL_MESSAGE];m(),m(),m();function vtt(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();var o8={ED25519:0,Secp256k1:1,Secp256r1:2,MultiSig:3,ZkLogin:5},wtt={ED25519:32,Secp256k1:33,Secp256r1:33},xtt={0:"ED25519",1:"Secp256k1",2:"Secp256r1",3:"MultiSig",5:"ZkLogin"};m(),m(),m();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}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(){let e=this.toSuiBytes();return Ua(e)}verifyWithIntent(e,t,r){let o=vtt(r,e),s=fB(o,{dkLen:32});return this.verify(s,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,Ew*2))}};m(),m(),m();function Att(e,t){if(!e)throw new Error(t)}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"]},nsr=new Set(Object.keys(Khe));function Hhe(e){let t=e?.kind;return typeof t=="string"&&nsr.has(t)}var zhe;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(zhe||(zhe={})),m();var _B;(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();function qhe(e){return e===9||e===32}function Ett(e,t){let r=e.replace(/"""/g,'\\"""'),o=r.split(/\r\n|[\n\r]/g),s=o.length===1,i=o.length>1&&o.slice(1).every(C=>C.length===0||qhe(C.charCodeAt(0))),n=r.endsWith('\\"""'),a=e.endsWith('"')&&!n,u=e.endsWith("\\"),c=a||u,d=!(t!=null&&t.minimize)&&(!s||e.length>70||c||i||n),h="",y=s&&qhe(e.charCodeAt(0));return(d&&!y||i)&&(h+=`
`),h+=r,(d||c)&&(h+=`
`),'"""'+h+'"""'}m();function Ttt(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 isr(e,t);default:return String(e)}}function isr(e,t){if(e===null)return"null";if(t.includes(e))return"[Circular]";let r=[...t,e];if(osr(e)){let o=e.toJSON();if(o!==e)return typeof o=="string"?o:Jq(o,r)}else if(Array.isArray(e))return asr(e,r);return ssr(e,r)}function osr(e){return typeof e.toJSON=="function"}function ssr(e,t){let r=Object.entries(e);return r.length===0?"{}":t.length>2?"["+csr(e)+"]":"{ "+r.map(([o,s])=>o+": "+Jq(s,t)).join(", ")+" }"}function asr(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let r=Math.min(10,e.length),o=e.length-r,s=[];for(let i=0;i<r;++i)s.push(Jq(e[i],t));return o===1?s.push("... 1 more item"):o>1&&s.push(`... ${o} more items`),"["+s.join(", ")+"]"}function csr(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let r=e.constructor.name;if(typeof r=="string"&&r!=="")return r}return t}m(),m();function Stt(e){return`"${e.replace(usr,lsr)}"`}var usr=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function lsr(e){return fsr[e.charCodeAt(0)]}var fsr=["\\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 Ctt=Object.freeze({});function jhe(e,t,r=Khe){let o=new Map;for(let O of Object.values(_B))o.set(O,Itt(t,O));let s,i=Array.isArray(e),n=[e],a=-1,u=[],c=e,d,h,y=[],C=[];do{a++;let O=a===n.length,v=O&&u.length!==0;if(O){if(d=C.length===0?void 0:y[y.length-1],c=h,h=C.pop(),v)if(i){c=c.slice();let R=0;for(let[U,N]of u){let _=U-R;N===null?(c.splice(_,1),R++):c[_]=N}}else{c=Object.defineProperties({},Object.getOwnPropertyDescriptors(c));for(let[R,U]of u)c[R]=U}a=s.index,n=s.keys,u=s.edits,i=s.inArray,s=s.prev}else if(h){if(d=i?a:n[a],c=h[d],c==null)continue;y.push(d)}let B;if(!Array.isArray(c)){var w,T;if(Hhe(c)||Att(!1,`Invalid AST Node: ${Ttt(c)}.`),B=(O?(w=o.get(c.kind))===null||w===void 0?void 0:w.leave:(T=o.get(c.kind))===null||T===void 0?void 0:T.enter)?.call(t,c,d,h,y,C),B===Ctt)break;if(B===!1){if(!O){y.pop();continue}}else if(B!==void 0&&(u.push([d,B]),!O))if(Hhe(B))c=B;else{y.pop();continue}}if(B===void 0&&v&&u.push([d,c]),O)y.pop();else{var A;s={inArray:i,index:a,keys:n,edits:u,prev:s},i=Array.isArray(c),n=i?c:(A=r[c.kind])!==null&&A!==void 0?A:[],a=-1,u=[],h&&C.push(h),h=c}}while(s!==void 0);return u.length!==0?u[u.length-1][1]:e}function Itt(e,t){let r=e[t];return typeof r=="object"?r:typeof r=="function"?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}function Yq(e){return jhe(e,hsr)}var dsr=80,hsr={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>Tr(e.definitions,`

`)},OperationDefinition:{leave(e){let t=ii("(",Tr(e.variableDefinitions,", "),")"),r=Tr([e.operation,Tr([e.name,t]),Tr(e.directives," ")]," ");return(r==="query"?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:o})=>e+": "+t+ii(" = ",r)+ii(" ",Tr(o," "))},SelectionSet:{leave:({selections:e})=>ap(e)},Field:{leave({alias:e,name:t,arguments:r,directives:o,selectionSet:s}){let i=ii("",e,": ")+t,n=i+ii("(",Tr(r,", "),")");return n.length>dsr&&(n=i+ii(`(
`,Xq(Tr(r,`
`)),`
)`)),Tr([n,Tr(o," "),s]," ")}},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:o,selectionSet:s})=>`fragment ${e}${ii("(",Tr(r,", "),")")} on ${t} ${ii("",Tr(o," ")," ")}`+s},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?Ett(e):Stt(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,`
`)+Tr(["schema",Tr(t," "),ap(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>ii("",e,`
`)+Tr(["scalar",t,Tr(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:o,fields:s})=>ii("",e,`
`)+Tr(["type",t,ii("implements ",Tr(r," & ")),Tr(o," "),ap(s)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:o,directives:s})=>ii("",e,`
`)+t+(Ott(r)?ii(`(
`,Xq(Tr(r,`
`)),`
)`):ii("(",Tr(r,", "),")"))+": "+o+ii(" ",Tr(s," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:o,directives:s})=>ii("",e,`
`)+Tr([t+": "+r,ii("= ",o),Tr(s," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:o,fields:s})=>ii("",e,`
`)+Tr(["interface",t,ii("implements ",Tr(r," & ")),Tr(o," "),ap(s)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:o})=>ii("",e,`
`)+Tr(["union",t,Tr(r," "),ii("= ",Tr(o," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:o})=>ii("",e,`
`)+Tr(["enum",t,Tr(r," "),ap(o)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>ii("",e,`
`)+Tr([t,Tr(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:o})=>ii("",e,`
`)+Tr(["input",t,Tr(r," "),ap(o)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:o,locations:s})=>ii("",e,`
`)+"directive @"+t+(Ott(r)?ii(`(
`,Xq(Tr(r,`
`)),`
)`):ii("(",Tr(r,", "),")"))+(o?" repeatable":"")+" on "+Tr(s," | ")},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:o})=>Tr(["extend type",e,ii("implements ",Tr(t," & ")),Tr(r," "),ap(o)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:o})=>Tr(["extend interface",e,ii("implements ",Tr(t," & ")),Tr(r," "),ap(o)]," ")},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(r=e?.filter(o=>o).join(t))!==null&&r!==void 0?r:""}function ap(e){return ii(`{
`,Xq(Tr(e,`
`)),`
}`)}function ii(e,t,r=""){return t!=null&&t!==""?e+t+r:""}function Xq(e){return ii("  ",e.replace(/\n/g,`
  `))}function Ott(e){var t;return(t=e?.some(r=>r.includes(`
`)))!==null&&t!==void 0?t:!1}m();var Ptt=e=>{throw TypeError(e)},Btt=(e,t,r)=>t.has(e)||Ptt("Cannot "+r),Qq=(e,t,r)=>(Btt(e,t,"read from private field"),r?r.call(e):t.get(e)),Zq=(e,t,r)=>t.has(e)?Ptt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),$q=(e,t,r,o)=>(Btt(e,t,"write to private field"),o?o.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:o={}}){Zq(this,ej),Zq(this,tj),Zq(this,rj),Zq(this,nj),$q(this,ej,e),$q(this,tj,o),$q(this,rj,r),$q(this,nj,(...s)=>t(...s))}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:typeof e.query=="string"?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,o,s,i,n){super(e),this.name="GraphQLError",this.message=e,s&&(this.path=s),t&&(this.nodes=Array.isArray(t)?t:[t]),r&&(this.source=r),o&&(this.positions=o),i&&(this.originalError=i);var a=n;if(!a&&i){var u=i.extensions;u&&typeof u=="object"&&(a=u)}this.extensions=a||{}}toJSON(){return{...this,message:this.message}}toString(){return this.message}get[Symbol.toStringTag](){return"GraphQLError"}},kr,Ut;function Bf(e){return new Vhe(`Syntax Error: Unexpected token at ${Ut} in ${e}`)}function ktt(e){if(e.lastIndex=Ut,e.test(kr))return kr.slice(Ut,Ut=e.lastIndex)}var oj=/ +(?=[^\s])/y;function psr(e){for(var t=e.split(`
`),r="",o=0,s=0,i=t.length-1,n=0;n<t.length;n++)oj.lastIndex=0,oj.test(t[n])&&(n&&(!o||oj.lastIndex<o)&&(o=oj.lastIndex),s=s||n,i=n);for(var a=s;a<=i;a++)a!==s&&(r+=`
`),r+=t[a].slice(o).replace(/\\"""/g,'"""');return r}function ui(){for(var e=0|kr.charCodeAt(Ut++);e===9||e===10||e===13||e===32||e===35||e===44||e===65279;e=0|kr.charCodeAt(Ut++))if(e===35)for(;(e=kr.charCodeAt(Ut++))!==10&&e!==13;);Ut--}function Jhe(){for(var e=Ut,t=0|kr.charCodeAt(Ut++);t>=48&&t<=57||t>=65&&t<=90||t===95||t>=97&&t<=122;t=0|kr.charCodeAt(Ut++));if(e===Ut-1)throw Bf("Name");var r=kr.slice(e,--Ut);return ui(),r}function kf(){return{kind:"Name",value:Jhe()}}var gsr=/(?:"""|(?:[\s\S]*?[^\\])""")/y,ysr=/(?:(?:\.\d+)?[eE][+-]?\d+|\.\d+)/y;function sj(e){var t;switch(kr.charCodeAt(Ut)){case 91:Ut++,ui();for(var r=[];kr.charCodeAt(Ut)!==93;)r.push(sj(e));return Ut++,ui(),{kind:"ListValue",values:r};case 123:Ut++,ui();for(var o=[];kr.charCodeAt(Ut)!==125;){var s=kf();if(kr.charCodeAt(Ut++)!==58)throw Bf("ObjectField");ui(),o.push({kind:"ObjectField",name:s,value:sj(e)})}return Ut++,ui(),{kind:"ObjectValue",fields:o};case 36:if(e)throw Bf("Variable");return Ut++,{kind:"Variable",name:kf()};case 34:if(kr.charCodeAt(Ut+1)===34&&kr.charCodeAt(Ut+2)===34){if(Ut+=3,(t=ktt(gsr))==null)throw Bf("StringValue");return ui(),{kind:"StringValue",value:psr(t.slice(0,-3)),block:!0}}else{var i=Ut,n;Ut++;var a=!1;for(n=0|kr.charCodeAt(Ut++);n===92&&(Ut++,a=!0)||n!==10&&n!==13&&n!==34&&n;n=0|kr.charCodeAt(Ut++));if(n!==34)throw Bf("StringValue");return t=kr.slice(i,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 u=Ut++,c;(c=0|kr.charCodeAt(Ut++))>=48&&c<=57;);var d=kr.slice(u,--Ut);if((c=kr.charCodeAt(Ut))===46||c===69||c===101){if((t=ktt(ysr))==null)throw Bf("FloatValue");return ui(),{kind:"FloatValue",value:d+t}}else return ui(),{kind:"IntValue",value:d};case 110:if(kr.charCodeAt(Ut+1)===117&&kr.charCodeAt(Ut+2)===108&&kr.charCodeAt(Ut+3)===108)return Ut+=4,ui(),{kind:"NullValue"};break;case 116:if(kr.charCodeAt(Ut+1)===114&&kr.charCodeAt(Ut+2)===117&&kr.charCodeAt(Ut+3)===101)return Ut+=4,ui(),{kind:"BooleanValue",value:!0};break;case 102:if(kr.charCodeAt(Ut+1)===97&&kr.charCodeAt(Ut+2)===108&&kr.charCodeAt(Ut+3)===115&&kr.charCodeAt(Ut+4)===101)return Ut+=5,ui(),{kind:"BooleanValue",value:!1};break}return{kind:"EnumValue",value:Jhe()}}function _tt(e){if(kr.charCodeAt(Ut)===40){var t=[];Ut++,ui();do{var r=kf();if(kr.charCodeAt(Ut++)!==58)throw Bf("Argument");ui(),t.push({kind:"Argument",name:r,value:sj(e)})}while(kr.charCodeAt(Ut)!==41);return Ut++,ui(),t}}function _w(e){if(kr.charCodeAt(Ut)===64){var t=[];do Ut++,t.push({kind:"Directive",name:kf(),arguments:_tt(e)});while(kr.charCodeAt(Ut)===64);return t}}function msr(){for(var e=0;kr.charCodeAt(Ut)===91;)e++,Ut++,ui();var t={kind:"NamedType",name:kf()};do if(kr.charCodeAt(Ut)===33&&(Ut++,ui(),t={kind:"NonNullType",type:t}),e){if(kr.charCodeAt(Ut++)!==93)throw Bf("NamedType");ui(),t={kind:"ListType",type:t}}while(e--);return t}function aj(){if(kr.charCodeAt(Ut++)!==123)throw Bf("SelectionSet");return ui(),cj()}function cj(){var e=[];do if(kr.charCodeAt(Ut)===46){if(kr.charCodeAt(++Ut)!==46||kr.charCodeAt(++Ut)!==46)throw Bf("SelectionSet");switch(Ut++,ui(),kr.charCodeAt(Ut)){case 64:e.push({kind:"InlineFragment",typeCondition:void 0,directives:_w(!1),selectionSet:aj()});break;case 111:kr.charCodeAt(Ut+1)===110?(Ut+=2,ui(),e.push({kind:"InlineFragment",typeCondition:{kind:"NamedType",name:kf()},directives:_w(!1),selectionSet:aj()})):e.push({kind:"FragmentSpread",name:kf(),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:kf(),directives:_w(!1)})}}else{var t=kf(),r=void 0;kr.charCodeAt(Ut)===58&&(Ut++,ui(),r=t,t=kf());var o=_tt(!1),s=_w(!1),i=void 0;kr.charCodeAt(Ut)===123&&(Ut++,ui(),i=cj()),e.push({kind:"Field",alias:r,name:t,arguments:o,directives:s,selectionSet:i})}while(kr.charCodeAt(Ut)!==125);return Ut++,ui(),{kind:"SelectionSet",selections:e}}function bsr(){if(ui(),kr.charCodeAt(Ut)===40){var e=[];Ut++,ui();do{if(kr.charCodeAt(Ut++)!==36)throw Bf("Variable");var t=kf();if(kr.charCodeAt(Ut++)!==58)throw Bf("VariableDefinition");ui();var r=msr(),o=void 0;kr.charCodeAt(Ut)===61&&(Ut++,ui(),o=sj(!0)),ui(),e.push({kind:"VariableDefinition",variable:{kind:"Variable",name:t},type:r,defaultValue:o,directives:_w(!0)})}while(kr.charCodeAt(Ut)!==41);return Ut++,ui(),e}}function vsr(){var e=kf();if(kr.charCodeAt(Ut++)!==111||kr.charCodeAt(Ut++)!==110)throw Bf("FragmentDefinition");return ui(),{kind:"FragmentDefinition",name:e,typeCondition:{kind:"NamedType",name:kf()},directives:_w(!1),selectionSet:aj()}}function Mtt(){var e=[];do if(kr.charCodeAt(Ut)===123)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(vsr());break;case"query":case"mutation":case"subscription":var r,o=void 0;(r=kr.charCodeAt(Ut))!==40&&r!==64&&r!==123&&(o=kf()),e.push({kind:"OperationDefinition",operation:t,name:o,variableDefinitions:bsr(),directives:_w(!1),selectionSet:aj()});break;default:throw Bf("Document")}}while(Ut<kr.length);return e}function Rtt(e,t){return kr=e.body?e.body:e,Ut=0,ui(),t&&t.noLocation?{kind:"Document",definitions:Mtt()}:{kind:"Document",definitions:Mtt(),loc:{start:0,end:kr.length,startToken:void 0,endToken:void 0,source:{body:kr,name:"graphql.web",locationOffset:{line:1,column:1}}}}}var Ntt=0,Xhe=new Set;function Yhe(){function e(t,r){var o=Rtt(t).definitions,s=new Set;for(var i of r||[])for(var n of i.definitions)n.kind===RB.FRAGMENT_DEFINITION&&!s.has(n)&&(o.push(n),s.add(n));var a;(a=o[0].kind===RB.FRAGMENT_DEFINITION)&&o[0].directives&&(o[0].directives=o[0].directives.filter(c=>c.name.value!=="_unmask"));var u;return{kind:RB.DOCUMENT,definitions:o,get loc(){if(!u&&a){var c=t+(function(d){try{Ntt++;var h="";for(var y of d)if(!Xhe.has(y)){Xhe.add(y);var{loc:C}=y;C&&(h+=C.source.body)}return h}finally{--Ntt==0&&Xhe.clear()}})(r||[]);return{start:0,end:c.length,source:{body:c,name:"GraphQLTada",locationOffset:{line:1,column:1}}}}return u},set loc(c){u=c}}}return e.scalar=function(t,r){return r},e.persisted=function(t,r){return{kind:RB.DOCUMENT,definitions:r?r.definitions:[],documentId:t}},e}var Q2n=Yhe(),Dtt=Yhe();m();function wsr(e){if(e.length!==1)throw new Error("Invalid base64Url character: "+e);let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(e);if(t===-1)throw new Error("Invalid base64Url character: "+e);let r=t.toString(2).padStart(6,"0");return Array.from(r).map(Number)}function xsr(e){let t=[];for(let r=0;r<e.length;r++){let o=e.charAt(r),s=wsr(o);t=t.concat(s)}return t}function Asr(e,t){if(e.length<2)throw new Error(`Input (s = ${e}) is not tightly packed because s.length < 2`);let r=xsr(e),o=t%4;if(o!==0)if(o===1)r=r.slice(2);else if(o===2)r=r.slice(4);else throw new Error(`Input (s = ${e}) is not tightly packed because i%4 = 3 (i = ${t}))`);let s=(t+e.length-1)%4;if(s!==3)if(s===2)r=r.slice(0,r.length-2);else if(s===1)r=r.slice(0,r.length-4);else throw new Error(`Input (s = ${e}) is not tightly packed because (i + s.length - 1)%4 = 0 (i = ${t}))`);if(r.length%8!==0)throw new Error("We should never reach here...");let i=new Uint8Array(Math.floor(r.length/8)),n=0;for(let a=0;a<r.length;a+=8){let u=r.slice(a,a+8),c=parseInt(u.join(""),2);i[n++]=c}return new TextDecoder().decode(i)}function Esr(e){if(!(e.slice(-1)==="}"||e.slice(-1)===","))throw new Error("Invalid claim");let t=JSON.parse("{"+e.slice(0,-1)+"}");if(Object.keys(t).length!==1)throw new Error("Invalid claim");let r=Object.keys(t)[0];return[r,t[r]]}function Utt(e,t){let r=Asr(e.value,e.indexMod4),[o,s]=Esr(r);if(o!==t)throw new Error(`Invalid field name: found ${o} expected ${t}`);return s}m(),m();var Ltt=ye.struct("ZkLoginSignature",{inputs:ye.struct("ZkLoginSignatureInputs",{proofPoints:ye.struct("ZkLoginSignatureInputsProofPoints",{a:ye.vector(ye.string()),b:ye.vector(ye.vector(ye.string())),c:ye.vector(ye.string())}),issBase64Details:ye.struct("ZkLoginSignatureInputsClaim",{value:ye.string(),indexMod4:ye.u8()}),headerBase64:ye.string(),addressSeed:ye.string()}),maxEpoch:ye.u64(),userSignature:ye.vector(ye.u8())});function Ftt(e){return Ltt.parse(typeof e=="string"?bc(e):e)}m();function Tsr(e){for(let t=0;t<e.length;t++)if(e[t]!==0)return t;return-1}function uj(e,t){let r=e.toString(16);return q1(r.padStart(t*2,"0").slice(-t*2))}function Qhe(e,t){let r=uj(e,t),o=Tsr(r);return o===-1?new Uint8Array([0]):r.slice(o)}var Ktt=e=>{throw TypeError(e)},Htt=(e,t,r)=>t.has(e)||Ktt("Cannot "+r),db=(e,t,r)=>(Htt(e,t,"read from private field"),r?r.call(e):t.get(e)),Zhe=(e,t,r)=>t.has(e)?Ktt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),a8=(e,t,r,o)=>(Htt(e,t,"write to private field"),o?o.call(e,r):t.set(e,r),r),cp,NB,DB,Ssr=class Mf extends s8{constructor(t,{client:r}={}){super(),Zhe(this,cp),Zhe(this,NB),Zhe(this,DB),a8(this,NB,r),typeof t=="string"?a8(this,cp,bc(t)):t instanceof Uint8Array?a8(this,cp,t):a8(this,cp,Uint8Array.from(t)),a8(this,DB,db(this,cp).length!==db(this,cp)[0]+1+32),db(this,DB)&&a8(this,cp,Wtt(db(this,cp)))}equals(t){return super.equals(t)}toSuiAddress(){if(db(this,DB)){let t=Wtt(db(this,cp),!0),r=new Uint8Array(t.length+1);return r[0]=this.flag(),r.set(t,1),$g(Q0(fB(r,{dkLen:32})).slice(0,Ew*2))}return super.toSuiAddress()}toRawBytes(){return db(this,cp)}flag(){return o8.ZkLogin}async verify(t,r){throw Error("does not support")}verifyPersonalMessage(t,r){let o=lj(r),s=new Mf(o.publicKey).toSuiAddress();return ztt({address:s,bytes:Ua(t),signature:o.serializedSignature,intentScope:"PERSONAL_MESSAGE",client:db(this,NB)})}verifyTransaction(t,r){let o=lj(r),s=new Mf(o.publicKey).toSuiAddress();return ztt({address:s,bytes:Ua(t),signature:o.serializedSignature,intentScope:"TRANSACTION_DATA",client:db(this,NB)})}};cp=new WeakMap,NB=new WeakMap,DB=new WeakMap;var Csr=Ssr;function Isr(e,t,r){let o=r?.legacyAddress?Qhe(e,32):uj(e,32),s=new TextEncoder().encode(t),i=new Uint8Array(1+s.length+o.length);return i.set([s.length],0),i.set(s,1),i.set(o,1+s.length),new Csr(i,r)}var Osr=Dtt(`
	query Zklogin(
		$bytes: Base64!
		$signature: Base64!
		$intentScope: ZkLoginIntentScope!
		$author: SuiAddress!
	) {
		verifyZkloginSignature(
			bytes: $bytes
			signature: $signature
			intentScope: $intentScope
			author: $author
		) {
			success
			errors
		}
	}
`);function Wtt(e,t=!1){let r=e[0]+1,o=BigInt(`0x${Qg(e.slice(r))}`),s=t?Qhe(o,32):uj(o,32),i=new Uint8Array(r+s.length);return i.set(e.slice(0,r),0),i.set(s,r),i}async function ztt({address:e,bytes:t,signature:r,intentScope:o,client:s=new ij({url:"https://sui-mainnet.mystenlabs.com/graphql"})}){let i=await s.query({query:Osr,variables:{bytes:t,signature:r,intentScope:o,author:e}});return i.data?.verifyZkloginSignature.success===!0&&i.data?.verifyZkloginSignature.errors.length===0}function lj(e){let t=typeof e=="string"?bc(e):e;if(t[0]!==o8.ZkLogin)throw new Error("Invalid signature scheme");let r=t.slice(1),{inputs:o,maxEpoch:s,userSignature:i}=Ftt(r),{issBase64Details:n,addressSeed:a}=o,u=Utt(n,"iss"),c=Isr(BigInt(a),u);return{serializedSignature:Ua(t),signatureScheme:"ZkLogin",zkLogin:{inputs:o,maxEpoch:s,userSignature:i,iss:u,addressSeed:BigInt(a)},signature:t,publicKey:c.toRawBytes()}}function qtt(e){let t=bc(e),r=xtt[t[0]];switch(r){case"MultiSig":let o=ib.MultiSig.parse(t.slice(1));return{serializedSignature:e,signatureScheme:r,multisig:o,bytes:t};case"ZkLogin":return lj(e);case"ED25519":case"Secp256k1":case"Secp256r1":let s=wtt[r],i=t.slice(1,t.length-s),n=t.slice(1+i.length);return{serializedSignature:e,signatureScheme:r,signature:i,publicKey:n,bytes:t};default:throw new Error("Unsupported signature scheme")}}m();var jtt=hi(oh(),1),e0e=32,c8=class extends s8{constructor(e){if(super(),typeof e=="string"?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(typeof t=="string"){let o=qtt(t);if(o.signatureScheme!=="ED25519")throw new Error("Invalid signature scheme");if(!Whe(this.toRawBytes(),o.publicKey))throw new Error("Signature does not match public key");r=o.signature}else r=t;return jtt.default.sign.detached.verify(e,r,this.toRawBytes())}};c8.SIZE=e0e;var Gtt=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:Gtt(e.publicKey),chains:this.chains,features:gtt})]:[]}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===GGe.SUI_CONNECT)return this.handleConnect();try{let r=await this.suiProvider.request(e);return this.getLogger().debug(`Requesting ${t} result: `,r),r}catch(r){let o=jv(r);throw this.getLogger().error(`Requesting ${t} error: ${r.message}`),o}}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}`);break}}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:[]})}},Vtt=t0e;m();var ult=hi(clt()),Hge=class _f extends $l{static provider;client;static initialized=!1;universalProvider;constructor(){super()}get isConnected(){return this.universalProvider.isConnected}get session(){return this.universalProvider.session?Mu(this.universalProvider.session,"sui"):null}static init(t){return this.initialized?this.provider:(this.provider=new _f,this.provider.setupClient(t),_f.initialized=!0,this.provider)}setupClient(t){if(this.client){this.logger.info("client already initialized");return}let r=t.getClient();r&&(this.client=new ult.OKXSuiProvider(r),this.universalProvider=t)}async request(t){return await Fr(this.universalProvider.request(t,"sui"))}async connect(){return await Fr(this.universalProvider.connect())}async disconnect(){await Fr(this.universalProvider.disconnect())}getAccount(){if(!this.client){this.logger.error("client not initialized");return}return this.client.getAccount()}async signMessage(t){if(!this.client){this.logger.error("client not initialized");return}return await Fr(this.client.signMessage(t))}async signPersonalMessage(t){if(!this.client){this.logger.error("client not initialized");return}return await Fr(this.client.signPersonalMessage(t))}async signTransactionBlock(t){if(!this.client){this.logger.error("client not initialized");return}return await Fr(this.client.signTransaction(t))}async signAndExecuteTransactionBlock(t){if(!this.client){this.logger.error("client not initialized");return}return await Fr(this.client.signAndExecuteTransaction(t))}parseResponse(t){}},llt=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(){let e=await this.provider.connect(),t=this.checkChain(),r=await this.provider.getAccount(t),o=this.provider.session?.extra[t];return{address:r.address,publicKey:o?.publicKey,compressedPublicKey:o?.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 o=this.checkChain(!0);return await this.provider.sendBitcoin(o,e,t,r)}async sendInscription(e,t,r){let o=this.checkChain(!0);return await this.provider.sendInscription(o,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;break;default:}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 t=this.checkChain();this.emit("accountChanged",this.provider.getAccount(t))}}handleSessionDelete(){this.emit("accountChanged",null),this.emit("accountsChagned",[]),this.lastSession=null}},flt=qge;m(),m(),m(),m();var ga={messagePrefix:`Bitcoin Signed Message:
`,bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128};m(),m(),m(),m();function hlt(e){if(e.length<8||e.length>72||e[0]!==48||e[1]!==e.length-2||e[2]!==2)return!1;let t=e[3];if(t===0||5+t>=e.length||e[4+t]!==2)return!1;let r=e[5+t];return!(r===0||6+t+r!==e.length||e[4]&128||t>1&&e[4]===0&&!(e[5]&128)||e[t+6]&128||r>1&&e[t+6]===0&&!(e[t+7]&128))}function plt(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(e[0]!==48)throw new Error("Expected DER sequence");if(e[1]!==e.length-2)throw new Error("DER sequence length is invalid");if(e[2]!==2)throw new Error("Expected DER integer");let t=e[3];if(t===0)throw new Error("R length is zero");if(5+t>=e.length)throw new Error("R length is too long");if(e[4+t]!==2)throw new Error("Expected DER integer (2)");let r=e[5+t];if(r===0)throw new Error("S length is zero");if(6+t+r!==e.length)throw new Error("S length is invalid");if(e[4]&128)throw new Error("R value is negative");if(t>1&&e[4]===0&&!(e[5]&128))throw new Error("R value excessively padded");if(e[t+6]&128)throw new Error("S value is negative");if(r>1&&e[t+6]===0&&!(e[t+7]&128))throw new Error("S value excessively padded");return{r:e.slice(4,4+t),s:e.slice(6+t)}}function glt(e,t){let r=e.length,o=t.length;if(r===0)throw new Error("R length is zero");if(o===0)throw new Error("S length is zero");if(r>33)throw new Error("R length is too long");if(o>33)throw new Error("S length is too long");if(e[0]&128)throw new Error("R value is negative");if(t[0]&128)throw new Error("S value is negative");if(r>1&&e[0]===0&&!(e[1]&128))throw new Error("R value excessively padded");if(o>1&&t[0]===0&&!(t[1]&128))throw new Error("S value excessively padded");let s=new Uint8Array(6+r+o);return s[0]=48,s[1]=s.length-2,s[2]=2,s[3]=e.length,s.set(e,4),s[4+r]=2,s[5+r]=t.length,s.set(t,6+r),s}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),o=rG.indexOf(r);return o<0?void 0:o<16?o:o-6}),mlt=new TextEncoder,blt=new TextDecoder;function vlt(e){return blt.decode(e)}function wlt(e){return mlt.encode(e)}function Bn(e){let t=e.reduce((s,i)=>s+i.length,0),r=new Uint8Array(t),o=0;for(let s of e)r.set(s,o),o+=s.length;return r}function or(e){let t=e||new Uint8Array;return t.length>512?Gyr(t):jyr(t)}function jyr(e){let t="";for(let r=0;r<e.length;++r)t+=rG[iG[nG[e[r]>>4]]],t+=rG[iG[nG[e[r]&15]]];return t}function Gyr(e){let t=new Uint8Array(e.length*2);for(let r=0;r<e.length;++r)t[r*2]=nG[e[r]>>4],t[r*2+1]=nG[e[r]&15];return blt.decode(t)}function kl(e){let t=mlt.encode(e||""),r=new Uint8Array(Math.floor(t.length/2)),o;for(o=0;o<r.length;o++){let s=iG[t[o*2]],i=iG[t[o*2+1]];if(s===void 0||i===void 0)break;r[o]=s<<4|i}return o===r.length?r:r.slice(0,o)}function xlt(e){return btoa(String.fromCharCode(...e))}function oG(e){let t=atob(e),r=new Uint8Array(t.length);for(let o=0;o<t.length;o++)r[o]=t.charCodeAt(o);return r}function Lt(e,t){let r=Math.min(e.length,t.length);for(let o=0;o<r;++o)if(e[o]!==t[o])return e[o]<t[o]?-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 Alt(e,t,r,o){if(t+2>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(o=o.toUpperCase(),r>65535)throw new Error(`The value of "value" is out of range. It must be >= 0 and <= 65535. Received ${r}`);return o==="LE"?(e[t]=r&255,e[t+1]=r>>8&255):(e[t]=r>>8&255,e[t+1]=r&255),t+2}function yp(e,t,r,o){if(t+4>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(o=o.toUpperCase(),r>4294967295)throw new Error(`The value of "value" is out of range. It must be >= 0 and <= ${4294967295}. Received ${r}`);return o==="LE"?(e[t]=r&255,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]=r&255),t+4}function Elt(e,t,r,o){if(t+8>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(o=o.toUpperCase(),r>0xffffffffffffffffn)throw new Error(`The value of "value" is out of range. It must be >= 0 and <= ${0xffffffffffffffffn}. Received ${r}`);return o==="LE"?(e[t]=Number(r&0xffn),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(r&0xffn)),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 Tlt(e,t,r){if(t+2>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(r=r.toUpperCase(),r==="LE"){let o=0;return o=(o<<8)+e[t+1],o=(o<<8)+e[t],o}else{let o=0;return o=(o<<8)+e[t],o=(o<<8)+e[t+1],o}}function Od(e,t,r){if(t+4>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(r=r.toUpperCase(),r==="LE"){let o=0;return o=(o<<8)+e[t+3]>>>0,o=(o<<8)+e[t+2]>>>0,o=(o<<8)+e[t+1]>>>0,o=(o<<8)+e[t]>>>0,o}else{let o=0;return o=(o<<8)+e[t]>>>0,o=(o<<8)+e[t+1]>>>0,o=(o<<8)+e[t+2]>>>0,o=(o<<8)+e[t+3]>>>0,o}}function sG(e,t,r,o){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 o=o.toUpperCase(),o==="LE"?(e[t]=r&255,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]=r&255),t+4}function aG(e,t,r,o){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 >= ${-0x8000000000000000n} and <= ${0x7fffffffffffffffn}. Received ${r}`);return o=o.toUpperCase(),o==="LE"?(e[t]=Number(r&0xffn),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(r&0xffn)),t+8}function Slt(e,t,r){if(t+4>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(r=r.toUpperCase(),r==="LE"){let o=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24>>>0);return e[t+3]<=127?o:o-4294967296}else{let o=(e[t]<<24>>>0)+(e[t+1]<<16)+(e[t+2]<<8)+e[t+3];return e[t]<=127?o:o-4294967296}}function cG(e,t,r){if(t+8>e.length)throw new Error("Offset is outside the bounds of Uint8Array");r=r.toUpperCase();let o=0n;if(r==="LE")return o=(o<<8n)+BigInt(e[t+7]),o=(o<<8n)+BigInt(e[t+6]),o=(o<<8n)+BigInt(e[t+5]),o=(o<<8n)+BigInt(e[t+4]),o=(o<<8n)+BigInt(e[t+3]),o=(o<<8n)+BigInt(e[t+2]),o=(o<<8n)+BigInt(e[t+1]),o=(o<<8n)+BigInt(e[t]),e[t+7]<=127?o:o-0x10000000000000000n;{let s=0n;return s=(s<<8n)+BigInt(e[t]),s=(s<<8n)+BigInt(e[t+1]),s=(s<<8n)+BigInt(e[t+2]),s=(s<<8n)+BigInt(e[t+3]),s=(s<<8n)+BigInt(e[t+4]),s=(s<<8n)+BigInt(e[t+5]),s=(s<<8n)+BigInt(e[t+6]),s=(s<<8n)+BigInt(e[t+7]),e[t]<=127?s:s-0x10000000000000000n}}function Gge(e){return e<Fn.OP_PUSHDATA1?1:e<=255?2:e<=65535?3:5}function Clt(e,t,r){let o=Gge(t);return o===1?Zs(e,r,t):o===2?(Zs(e,r,Fn.OP_PUSHDATA1),Zs(e,r+1,t)):o===3?(Zs(e,r,Fn.OP_PUSHDATA2),Alt(e,r+1,t,"LE")):(Zs(e,r,Fn.OP_PUSHDATA4),yp(e,r+1,t,"LE")),o}function Ilt(e,t){let r=Qc(e,t),o,s;if(r<Fn.OP_PUSHDATA1)o=r,s=1;else if(r===Fn.OP_PUSHDATA1){if(t+2>e.length)return null;o=Qc(e,t+1),s=2}else if(r===Fn.OP_PUSHDATA2){if(t+3>e.length)return null;o=Tlt(e,t+1,"LE"),s=3}else{if(t+5>e.length)return null;if(r!==Fn.OP_PUSHDATA4)throw new Error("Unexpected opcode");o=Od(e,t+1,"LE"),s=5}return{opcode:r,number:o,size:s}}m();function Jyr(e){return e>2147483647?5:e>8388607?4:e>32767?3:e>127?2:e>0?1:0}function Olt(e){let t=Math.abs(e),r=Jyr(t),o=new Uint8Array(r),s=e<0;for(let i=0;i<r;++i)Zs(o,i,t&255),t>>=8;return o[r-1]&128?Zs(o,r-1,s?128:0):s&&(o[r-1]|=128),o}var sye={};Vr(sye,{decode:()=>smr,encode:()=>amr}),m(),m();var Vge;function Yyr(e){return{lang:e?.lang??Vge?.lang,message:e?.message,abortEarly:e?.abortEarly??Vge?.abortEarly,abortPipeEarly:e?.abortPipeEarly??Vge?.abortPipeEarly}}var Qyr;function Zyr(e){return Qyr?.get(e)}var $yr;function emr(e){return $yr?.get(e)}var tmr;function rmr(e,t){return tmr?.get(e)?.get(t)}function Ek(e){let t=typeof e;return t==="string"?`"${e}"`:t==="number"||t==="bigint"||t==="boolean"?`${e}`:t==="object"||t==="function"?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":t}function Gu(e,t,r,o,s){let i=s&&"input"in s?s.input:r.value,n=s?.expected??e.expects??null,a=s?.received??Ek(i),u={kind:e.kind,type:e.type,input:i,expected:n,received:a,message:`Invalid ${t}: ${n?`Expected ${n} but r`:"R"}eceived ${a}`,requirement:e.requirement,path:s?.path,issues:s?.issues,lang:o.lang,abortEarly:o.abortEarly,abortPipeEarly:o.abortPipeEarly},c=e.kind==="schema",d=s?.message??e.message??rmr(e.reference,u.lang)??(c?emr(u.lang):null)??o.message??Zyr(u.lang);d&&(u.message=typeof d=="function"?d(u):d),c&&(r.typed=!1),r.issues?r.issues.push(u):r.issues=[u]}function nmr(e,t){let r=[...new Set(e)];return r.length>1?`(${r.join(` ${t} `)})`:r[0]??"never"}var imr=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(r,o){return r.typed&&!r.value.every(this.requirement)&&Gu(this,"item",r,o),r}}}function uG(e){return{kind:"validation",type:"integer",reference:uG,async:!1,expects:null,requirement:Number.isInteger,message:e,_run(t,r){return t.typed&&!this.requirement(t.value)&&Gu(this,"integer",t,r),t}}}function Xge(e,t){return{kind:"validation",type:"length",reference:Xge,async:!1,expects:`${e}`,requirement:e,message:t,_run(r,o){return r.typed&&r.value.length!==this.requirement&&Gu(this,"length",r,o,{received:`${r.value.length}`}),r}}}function Tk(e,t){return{kind:"validation",type:"max_value",reference:Tk,async:!1,expects:`<=${e instanceof Date?e.toJSON():Ek(e)}`,requirement:e,message:t,_run(r,o){return r.typed&&r.value>this.requirement&&Gu(this,"value",r,o,{received:r.value instanceof Date?r.value.toJSON():Ek(r.value)}),r}}}function Sk(e,t){return{kind:"validation",type:"min_value",reference:Sk,async:!1,expects:`>=${e instanceof Date?e.toJSON():Ek(e)}`,requirement:e,message:t,_run(r,o){return r.typed&&r.value<this.requirement&&Gu(this,"value",r,o,{received:r.value instanceof Date?r.value.toJSON():Ek(r.value)}),r}}}function Yge(e,t){return{kind:"validation",type:"regex",reference:Yge,async:!1,expects:`${e}`,requirement:e,message:t,_run(r,o){return r.typed&&!this.requirement.test(r.value)&&Gu(this,"format",r,o),r}}}function Qge(e,t,r){return typeof e.default=="function"?e.default(t,r):e.default}function Ck(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){return e.typed=!0,e}}}function $s(e,t){return{kind:"schema",type:"array",reference:$s,expects:"Array",async:!1,item:e,message:t,_run(r,o){let s=r.value;if(Array.isArray(s)){r.typed=!0,r.value=[];for(let i=0;i<s.length;i++){let n=s[i],a=this.item._run({typed:!1,value:n},o);if(a.issues){let u={type:"array",origin:"value",input:s,key:i,value:n};for(let c of a.issues)c.path?c.path.unshift(u):c.path=[u],r.issues?.push(c);if(r.issues||(r.issues=a.issues),o.abortEarly){r.typed=!1;break}}a.typed||(r.typed=!1),r.value.push(a.value)}}else Gu(this,"type",r,o);return r}}}function $ge(e){return{kind:"schema",type:"bigint",reference:$ge,expects:"bigint",async:!1,message:e,_run(t,r){return typeof t.value=="bigint"?t.typed=!0:Gu(this,"type",t,r),t}}}function Zc(e,t){return{kind:"schema",type:"custom",reference:Zc,expects:"unknown",async:!1,check:e,message:t,_run(r,o){return this.check(r.value)?r.typed=!0:Gu(this,"type",r,o),r}}}function O8(e,t){return{kind:"schema",type:"instance",reference:O8,expects:e.name,async:!1,class:e,message:t,_run(r,o){return r.value instanceof this.class?r.typed=!0:Gu(this,"type",r,o),r}}}function lG(e,...t){let r={kind:"schema",type:"nullable",reference:lG,expects:`(${e.expects} | null)`,async:!1,wrapped:e,_run(o,s){return o.value===null&&("default"in this&&(o.value=Qge(this,o,s)),o.value===null)?(o.typed=!0,o):this.wrapped._run(o,s)}};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(o,s){return(o.value===null||o.value===void 0)&&("default"in this&&(o.value=Qge(this,o,s)),o.value===null||o.value===void 0)?(o.typed=!0,o):this.wrapped._run(o,s)}};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(t,r){return typeof t.value=="number"&&!isNaN(t.value)?t.typed=!0:Gu(this,"type",t,r),t}}}function io(e,t){return{kind:"schema",type:"object",reference:io,expects:"Object",async:!1,entries:e,message:t,_run(r,o){let s=r.value;if(s&&typeof s=="object"){r.typed=!0,r.value={};for(let i in this.entries){let n=s[i],a=this.entries[i]._run({typed:!1,value:n},o);if(a.issues){let u={type:"object",origin:"value",input:s,key:i,value:n};for(let c of a.issues)c.path?c.path.unshift(u):c.path=[u],r.issues?.push(c);if(r.issues||(r.issues=a.issues),o.abortEarly){r.typed=!1;break}}a.typed||(r.typed=!1),(a.value!==void 0||i in s)&&(r.value[i]=a.value)}}else Gu(this,"type",r,o);return r}}}function Ik(e,...t){let r={kind:"schema",type:"optional",reference:Ik,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,_run(o,s){return o.value===void 0&&("default"in this&&(o.value=Qge(this,o,s)),o.value===void 0)?(o.typed=!0,o):this.wrapped._run(o,s)}};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(t,r){return typeof t.value=="string"?t.typed=!0:Gu(this,"type",t,r),t}}}function Nh(e,t){return{kind:"schema",type:"tuple",reference:Nh,expects:"Array",async:!1,items:e,message:t,_run(r,o){let s=r.value;if(Array.isArray(s)){r.typed=!0,r.value=[];for(let i=0;i<this.items.length;i++){let n=s[i],a=this.items[i]._run({typed:!1,value:n},o);if(a.issues){let u={type:"array",origin:"value",input:s,key:i,value:n};for(let c of a.issues)c.path?c.path.unshift(u):c.path=[u],r.issues?.push(c);if(r.issues||(r.issues=a.issues),o.abortEarly){r.typed=!1;break}}a.typed||(r.typed=!1),r.value.push(a.value)}}else Gu(this,"type",r,o);return r}}}function Plt(e){let t;if(e)for(let r of e)t?t.push(...r.issues):t=r.issues;return t}function Ok(e,t){return{kind:"schema",type:"union",reference:Ok,expects:nmr(e.map(r=>r.expects),"|"),async:!1,options:e,message:t,_run(r,o){let s,i,n;for(let a of this.options){let u=a._run({typed:!1,value:r.value},o);if(u.typed)if(u.issues)i?i.push(u):i=[u];else{s=u;break}else n?n.push(u):n=[u]}if(s)return s;if(i){if(i.length===1)return i[0];Gu(this,"type",r,o,{issues:Plt(i)}),r.typed=!0}else{if(n?.length===1)return n[0];Gu(this,"type",r,o,{issues:Plt(n)})}return r}}}function Ai(e,t,r){let o=e._run({typed:!1,value:t},Yyr(r));if(o.issues)throw new imr(o.issues);return o.value}function Nf(e,t){let r={};for(let o in e.entries)r[o]=!t||t.includes(o)?Ik(e.entries[o]):e.entries[o];return{...e,entries:r}}function jw(...e){return{...e[0],pipe:e,_run(t,r){for(let o of e)if(o.kind!=="metadata"){if(t.issues&&(o.kind==="schema"||o.kind==="transformation")){t.typed=!1;break}(!t.issues||!r.abortEarly&&!r.abortPipeEarly)&&(t=o._run(t,r))}return t}}}m();var Blt=new Uint8Array(32),klt=kl("fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Ho=e=>jw(O8(Uint8Array),Xge(e));function yy(e,t){return e.length!==t.length?!1:e.every((r,o)=>Lt(r,t[o])===0)}function $c(e){if(!(e instanceof Uint8Array)||e.length<33)return!1;let t=e[0],r=e.slice(1,33);if(Lt(Blt,r)===0||Lt(r,klt)>=0)return!1;if((t===2||t===3)&&e.length===33)return!0;let o=e.slice(33);return Lt(Blt,o)===0||Lt(o,klt)>=0?!1:t===4&&e.length===65}var Pk=254;function Bk(e){return!e||!("output"in e)||!(e.output instanceof Uint8Array)?!1:e.version!==void 0?(e.version&Pk)===e.version:!0}function fG(e){return Array.isArray(e)?e.length!==2?!1:e.every(t=>fG(t)):Bk(e)}var Mlt=Ho(32),tye=Ho(20),rye=Ho(32),Wn=O8(Uint8Array),omr=jw(Rf(),Yge(/^([0-9a-f]{2})+$/i)),nye=jw(Ha(),uG(),Sk(0),Tk(255)),mp=jw(Ha(),uG(),Sk(0),Tk(4294967295)),dG=jw($ge(),Sk(0n),Tk(0x7fffffffffffffffn)),iye=e=>io(Object.entries(e).reduce((t,r)=>({...t,[r[0]]:eye(r[1])}),{})),_lt=new Uint8Array(1);function Rlt(e){let t=0;for(;e[t]===0;)++t;return t===e.length?_lt:(e=e.slice(t),e[0]&128?Bn([_lt,e]):e)}function Nlt(e){e[0]===0&&(e=e.slice(1));let t=new Uint8Array(32),r=Math.max(0,32-e.length);return t.set(e,r),t}function smr(e){let t=Qc(e,e.length-1);if(!hG(t))throw new Error("Invalid hashType "+t);let r=plt(e.subarray(0,-1)),o=Nlt(r.r),s=Nlt(r.s);return{signature:Bn([o,s]),hashType:t}}function amr(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);Zs(r,0,t);let o=Rlt(e.slice(0,32)),s=Rlt(e.slice(32,64));return Bn([glt(o,s),r])}var Dlt=Fn.OP_RESERVED,Ult=$s(Ok([O8(Uint8Array),Ha()]));function cmr(e){return Ck(Ha(),e)&&(e===Fn.OP_0||e>=Fn.OP_1&&e<=Fn.OP_16||e===Fn.OP_1NEGATE)}function Llt(e){return Ck(Wn,e)||cmr(e)}function kk(e){return Ck(jw(Zge(),Jge(Llt)),e)}function yG(e){return e.length-e.filter(Llt).length}function pG(e){if(e.length===0)return Fn.OP_0;if(e.length===1){if(e[0]>=1&&e[0]<=16)return Dlt+e[0];if(e[0]===129)return Fn.OP_1NEGATE}}function Flt(e){return e instanceof Uint8Array}function umr(e){return Ck(Ult,e)}function gG(e){return e instanceof Uint8Array}function os(e){if(Flt(e))return e;Ai(Ult,e);let t=e.reduce((s,i)=>gG(i)?i.length===1&&pG(i)!==void 0?s+1:s+Gge(i.length)+i.length:s+1,0),r=new Uint8Array(t),o=0;if(e.forEach(s=>{if(gG(s)){let i=pG(s);if(i!==void 0){Zs(r,o,i),o+=1;return}o+=Clt(r,s.length,o),r.set(s,o),o+=s.length}else Zs(r,o,s),o+=1}),o!==r.length)throw new Error("Could not decode chunks");return r}function Ui(e){if(umr(e))return e;Ai(Wn,e);let t=[],r=0;for(;r<e.length;){let o=e[r];if(o>Fn.OP_0&&o<=Fn.OP_PUSHDATA4){let s=Ilt(e,r);if(s===null||(r+=s.size,r+s.number>e.length))return null;let i=e.slice(r,r+s.number);r+=s.number;let n=pG(i);n!==void 0?t.push(n):t.push(i)}else t.push(o),r+=1}return t}function Wlt(e){if(Flt(e)&&(e=Ui(e)),!e)throw new Error("Could not convert invalid chunks to ASM");return e.map(t=>{if(gG(t)){let r=pG(t);if(r===void 0)return or(t);t=r}return jge[t]}).join(" ")}function zlt(e){return e=Ui(e),Ai(Zc(kk),e),e.map(t=>gG(t)?t:t===Fn.OP_0?new Uint8Array(0):Olt(t-Dlt))}function Klt(e){return $c(e)}function hG(e){let t=e&-129;return t>0&&t<4}function Ml(e){return!(e instanceof Uint8Array)||!hG(e[e.length-1])?!1:hlt(e.slice(0,-1))}var D2=sye;m();function Rr(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){let o=r.call(this);return this[t]=o,o},set(o){Object.defineProperty(this,t,{configurable:!0,enumerable:!0,value:o,writable:!0})}})}function xc(e){let t;return()=>(t!==void 0||(t=e()),t)}m();var P8=Fn,mG=P8.OP_RESERVED;function U2(e,t){if(!e.input&&!e.output&&!(e.pubkeys&&e.m!==void 0)&&!e.signatures)throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{});function r(a){return Ml(a)||(t.allowIncomplete&&a===P8.OP_0)!==void 0}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 o={network:e.network||ga},s=[],i=!1;function n(a){i||(i=!0,s=Ui(a),o.m=s[0]-mG,o.n=s[s.length-2]-mG,o.pubkeys=s.slice(1,-2))}if(Rr(o,"output",()=>{if(e.m&&o.n&&e.pubkeys)return os([].concat(mG+e.m,e.pubkeys,mG+o.n,P8.OP_CHECKMULTISIG))}),Rr(o,"m",()=>{if(o.output)return n(o.output),o.m}),Rr(o,"n",()=>{if(o.pubkeys)return o.pubkeys.length}),Rr(o,"pubkeys",()=>{if(e.output)return n(e.output),o.pubkeys}),Rr(o,"signatures",()=>{if(e.input)return Ui(e.input).slice(1)}),Rr(o,"input",()=>{if(e.signatures)return os([P8.OP_0].concat(e.signatures))}),Rr(o,"witness",()=>{if(o.input)return[]}),Rr(o,"name",()=>{if(!(!o.m||!o.n))return`p2ms(${o.m} of ${o.n})`}),t.validate){if(e.output){if(n(e.output),Ai(Ha(),s[0],{message:"Output is invalid"}),Ai(Ha(),s[s.length-2],{message:"Output is invalid"}),s[s.length-1]!==P8.OP_CHECKMULTISIG)throw new TypeError("Output is invalid");if(o.m<=0||o.n>16||o.m>o.n||o.n!==s.length-3)throw new TypeError("Output is invalid");if(!o.pubkeys.every(a=>$c(a)))throw new TypeError("Output is invalid");if(e.m!==void 0&&e.m!==o.m)throw new TypeError("m mismatch");if(e.n!==void 0&&e.n!==o.n)throw new TypeError("n mismatch");if(e.pubkeys&&!yy(e.pubkeys,o.pubkeys))throw new TypeError("Pubkeys mismatch")}if(e.pubkeys){if(e.n!==void 0&&e.n!==e.pubkeys.length)throw new TypeError("Pubkey count mismatch");if(o.n=e.pubkeys.length,o.n<o.m)throw new TypeError("Pubkey count cannot be less than m")}if(e.signatures){if(e.signatures.length<o.m)throw new TypeError("Not enough signatures provided");if(e.signatures.length>o.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(o.signatures.length===0||!o.signatures.every(r))throw new TypeError("Input has invalid signature(s)");if(e.signatures&&!yy(e.signatures,o.signatures))throw new TypeError("Signature mismatch");if(e.m!==void 0&&e.m!==e.signatures.length)throw new TypeError("Signature count mismatch")}}return Object.assign(o,e)}m();var Hlt=Fn;function Mk(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(Ml,"Expected signature to be of type isCanonicalScriptSignature"),input:Wn})),e);let r=xc(()=>Ui(e.input)),o={name:"p2pk",network:e.network||ga};if(Rr(o,"output",()=>{if(e.pubkey)return os([e.pubkey,Hlt.OP_CHECKSIG])}),Rr(o,"pubkey",()=>{if(e.output)return e.output.slice(1,-1)}),Rr(o,"signature",()=>{if(e.input)return r()[0]}),Rr(o,"input",()=>{if(e.signature)return os([e.signature])}),Rr(o,"witness",()=>{if(o.input)return[]}),t.validate){if(e.output){if(e.output[e.output.length-1]!==Hlt.OP_CHECKSIG)throw new TypeError("Output is invalid");if(!$c(o.pubkey))throw new TypeError("Output pubkey is invalid");if(e.pubkey&&Lt(e.pubkey,o.pubkey)!==0)throw new TypeError("Pubkey mismatch")}if(e.signature&&e.input&&Lt(e.input,o.input)!==0)throw new TypeError("Signature mismatch");if(e.input){if(r().length!==1)throw new TypeError("Input is invalid");if(!Ml(o.signature))throw new TypeError("Input has invalid signature")}}return Object.assign(o,e)}m(),m();function Bd(e){return _K(es(e))}function xb(e){return es(es(e))}var lmr={"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([lmr[e],t]))}m(),m();function qlt(e){function t(i){var n=Uint8Array.from(i),a=e(n),u=n.length+4,c=new Uint8Array(u);return c.set(n,0),c.set(a.subarray(0,4),n.length),a2.encode(c)}function r(i){var n=i.slice(0,-4),a=i.slice(-4),u=e(n);if(!(a[0]^u[0]|a[1]^u[1]|a[2]^u[2]|a[3]^u[3]))return n}function o(i){var n=a2.decodeUnsafe(i);if(n!=null)return r(n)}function s(i){var n=a2.decode(i),a=r(n);if(a==null)throw new Error("Invalid checksum");return a}return{encode:t,decode:s,decodeUnsafe:o}}function fmr(e){return es(es(e))}var Vw=qlt(fmr),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(Ml),input:Wn})),e);let r=xc(()=>{let n=Vw.decode(e.address),a=Qc(n,0),u=n.slice(1);return{version:a,hash:u}}),o=xc(()=>Ui(e.input)),s=e.network||ga,i={name:"p2pkh",network:s};if(Rr(i,"address",()=>{if(!i.hash)return;let n=new Uint8Array(21);return Zs(n,0,s.pubKeyHash),n.set(i.hash,1),Vw.encode(n)}),Rr(i,"hash",()=>{if(e.output)return e.output.slice(3,23);if(e.address)return r().hash;if(e.pubkey||i.pubkey)return Bd(e.pubkey||i.pubkey)}),Rr(i,"output",()=>{if(i.hash)return os([Jw.OP_DUP,Jw.OP_HASH160,i.hash,Jw.OP_EQUALVERIFY,Jw.OP_CHECKSIG])}),Rr(i,"pubkey",()=>{if(e.input)return o()[1]}),Rr(i,"signature",()=>{if(e.input)return o()[0]}),Rr(i,"input",()=>{if(e.pubkey&&e.signature)return os([e.signature,e.pubkey])}),Rr(i,"witness",()=>{if(i.input)return[]}),t.validate){let n=Uint8Array.from([]);if(e.address){if(r().version!==s.pubKeyHash)throw new TypeError("Invalid version or Network mismatch");if(r().hash.length!==20)throw new TypeError("Invalid address");n=r().hash}if(e.hash){if(n.length>0&&Lt(n,e.hash)!==0)throw new TypeError("Hash mismatch");n=e.hash}if(e.output){if(e.output.length!==25||e.output[0]!==Jw.OP_DUP||e.output[1]!==Jw.OP_HASH160||e.output[2]!==20||e.output[23]!==Jw.OP_EQUALVERIFY||e.output[24]!==Jw.OP_CHECKSIG)throw new TypeError("Output is invalid");let a=e.output.slice(3,23);if(n.length>0&&Lt(n,a)!==0)throw new TypeError("Hash mismatch");n=a}if(e.pubkey){let a=Bd(e.pubkey);if(n.length>0&&Lt(n,a)!==0)throw new TypeError("Hash mismatch");n=a}if(e.input){let a=o();if(a.length!==2)throw new TypeError("Input is invalid");if(!Ml(a[0]))throw new TypeError("Input has invalid signature");if(!$c(a[1]))throw new TypeError("Input has invalid pubkey");if(e.signature&&Lt(e.signature,a[0])!==0)throw new TypeError("Signature mismatch");if(e.pubkey&&Lt(e.pubkey,a[1])!==0)throw new TypeError("Pubkey mismatch");let u=Bd(a[1]);if(n.length>0&&Lt(n,u)!==0)throw new TypeError("Hash mismatch")}}return Object.assign(i,e)}m();var _k=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 o={network:r},s=xc(()=>{let a=Vw.decode(e.address),u=Qc(a,0),c=a.slice(1);return{version:u,hash:c}}),i=xc(()=>Ui(e.input)),n=xc(()=>{let a=i(),u=a[a.length-1];return{network:r,output:u===_k.OP_FALSE?Uint8Array.from([]):u,input:os(a.slice(0,-1)),witness:e.witness||[]}});if(Rr(o,"address",()=>{if(!o.hash)return;let a=new Uint8Array(21);return Zs(a,0,o.network.scriptHash),a.set(o.hash,1),Vw.encode(a)}),Rr(o,"hash",()=>{if(e.output)return e.output.slice(2,22);if(e.address)return s().hash;if(o.redeem&&o.redeem.output)return Bd(o.redeem.output)}),Rr(o,"output",()=>{if(o.hash)return os([_k.OP_HASH160,o.hash,_k.OP_EQUAL])}),Rr(o,"redeem",()=>{if(e.input)return n()}),Rr(o,"input",()=>{if(!(!e.redeem||!e.redeem.input||!e.redeem.output))return os([].concat(Ui(e.redeem.input),e.redeem.output))}),Rr(o,"witness",()=>{if(o.redeem&&o.redeem.witness)return o.redeem.witness;if(o.input)return[]}),Rr(o,"name",()=>{let a=["p2sh"];return o.redeem!==void 0&&o.redeem.name!==void 0&&a.push(o.redeem.name),a.join("-")}),t.validate){let a=Uint8Array.from([]);if(e.address){if(s().version!==r.scriptHash)throw new TypeError("Invalid version or Network mismatch");if(s().hash.length!==20)throw new TypeError("Invalid address");a=s().hash}if(e.hash){if(a.length>0&&Lt(a,e.hash)!==0)throw new TypeError("Hash mismatch");a=e.hash}if(e.output){if(e.output.length!==23||e.output[0]!==_k.OP_HASH160||e.output[1]!==20||e.output[22]!==_k.OP_EQUAL)throw new TypeError("Output is invalid");let c=e.output.slice(2,22);if(a.length>0&&Lt(a,c)!==0)throw new TypeError("Hash mismatch");a=c}let u=c=>{if(c.output){let d=Ui(c.output);if(!d||d.length<1)throw new TypeError("Redeem.output too short");if(c.output.byteLength>520)throw new TypeError("Redeem.output unspendable if larger than 520 bytes");if(yG(d)>201)throw new TypeError("Redeem.output unspendable with more than 201 non-push ops");let h=Bd(c.output);if(a.length>0&&Lt(a,h)!==0)throw new TypeError("Hash mismatch");a=h}if(c.input){let d=c.input.length>0,h=c.witness&&c.witness.length>0;if(!d&&!h)throw new TypeError("Empty input");if(d&&h)throw new TypeError("Input and witness provided");if(d){let y=Ui(c.input);if(!kk(y))throw new TypeError("Non push-only scriptSig")}}};if(e.input){let c=i();if(!c||c.length<1)throw new TypeError("Input too short");if(!(n().output instanceof Uint8Array))throw new TypeError("Input is invalid");u(n())}if(e.redeem){if(e.redeem.network&&e.redeem.network!==r)throw new TypeError("Network mismatch");if(e.input){let c=n();if(e.redeem.output&&Lt(e.redeem.output,c.output)!==0)throw new TypeError("Redeem.output mismatch");if(e.redeem.input&&Lt(e.redeem.input,c.input)!==0)throw new TypeError("Redeem.input mismatch")}u(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(o,e)}m();var Rk=hi(MB(),1),jlt=Fn,dmr=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(Ml),witness:$s(Wn)})),e);let r=xc(()=>{let i=Rk.bech32.decode(e.address),n=i.words.shift(),a=Rk.bech32.fromWords(i.words);return{version:n,prefix:i.prefix,data:Uint8Array.from(a)}}),o=e.network||ga,s={name:"p2wpkh",network:o};if(Rr(s,"address",()=>{if(!s.hash)return;let i=Rk.bech32.toWords(s.hash);return i.unshift(0),Rk.bech32.encode(o.bech32,i)}),Rr(s,"hash",()=>{if(e.output)return e.output.slice(2,22);if(e.address)return r().data;if(e.pubkey||s.pubkey)return Bd(e.pubkey||s.pubkey)}),Rr(s,"output",()=>{if(s.hash)return os([jlt.OP_0,s.hash])}),Rr(s,"pubkey",()=>{if(e.pubkey)return e.pubkey;if(e.witness)return e.witness[1]}),Rr(s,"signature",()=>{if(e.witness)return e.witness[0]}),Rr(s,"input",()=>{if(s.witness)return dmr}),Rr(s,"witness",()=>{if(e.pubkey&&e.signature)return[e.signature,e.pubkey]}),t.validate){let i=Uint8Array.from([]);if(e.address){if(o&&o.bech32!==r().prefix)throw new TypeError("Invalid prefix or Network mismatch");if(r().version!==0)throw new TypeError("Invalid address version");if(r().data.length!==20)throw new TypeError("Invalid address data");i=r().data}if(e.hash){if(i.length>0&&Lt(i,e.hash)!==0)throw new TypeError("Hash mismatch");i=e.hash}if(e.output){if(e.output.length!==22||e.output[0]!==jlt.OP_0||e.output[1]!==20)throw new TypeError("Output is invalid");if(i.length>0&&Lt(i,e.output.slice(2))!==0)throw new TypeError("Hash mismatch");i=e.output.slice(2)}if(e.pubkey){let n=Bd(e.pubkey);if(i.length>0&&Lt(i,n)!==0)throw new TypeError("Hash mismatch");if(i=n,!$c(e.pubkey)||e.pubkey.length!==33)throw new TypeError("Invalid pubkey for p2wpkh")}if(e.witness){if(e.witness.length!==2)throw new TypeError("Witness is invalid");if(!Ml(e.witness[0]))throw new TypeError("Witness has invalid signature");if(!$c(e.witness[1])||e.witness[1].length!==33)throw new TypeError("Witness has invalid pubkey");if(e.signature&&Lt(e.signature,e.witness[0])!==0)throw new TypeError("Signature mismatch");if(e.pubkey&&Lt(e.pubkey,e.witness[1])!==0)throw new TypeError("Pubkey mismatch");let n=Bd(e.witness[1]);if(i.length>0&&Lt(i,n)!==0)throw new TypeError("Hash mismatch")}}return Object.assign(s,e)}m();var Nk=hi(MB(),1),Glt=Fn,aye=new Uint8Array(0);function bG(e){return!!(e instanceof Uint8Array&&e.length===65&&e[0]===4&&$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:Mlt,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 n=Nk.bech32.decode(e.address),a=n.words.shift(),u=Nk.bech32.fromWords(n.words);return{version:a,prefix:n.prefix,data:Uint8Array.from(u)}}),o=xc(()=>Ui(e.redeem.input)),s=e.network;s||(s=e.redeem&&e.redeem.network||ga);let i={network:s};if(Rr(i,"address",()=>{if(!i.hash)return;let n=Nk.bech32.toWords(i.hash);return n.unshift(0),Nk.bech32.encode(s.bech32,n)}),Rr(i,"hash",()=>{if(e.output)return e.output.slice(2);if(e.address)return r().data;if(i.redeem&&i.redeem.output)return es(i.redeem.output)}),Rr(i,"output",()=>{if(i.hash)return os([Glt.OP_0,i.hash])}),Rr(i,"redeem",()=>{if(e.witness)return{output:e.witness[e.witness.length-1],input:aye,witness:e.witness.slice(0,-1)}}),Rr(i,"input",()=>{if(i.witness)return aye}),Rr(i,"witness",()=>{if(e.redeem&&e.redeem.input&&e.redeem.input.length>0&&e.redeem.output&&e.redeem.output.length>0){let n=zlt(o());return i.redeem=Object.assign({witness:n},e.redeem),i.redeem.input=aye,[].concat(n,e.redeem.output)}if(e.redeem&&e.redeem.output&&e.redeem.witness)return[].concat(e.redeem.witness,e.redeem.output)}),Rr(i,"name",()=>{let n=["p2wsh"];return i.redeem!==void 0&&i.redeem.name!==void 0&&n.push(i.redeem.name),n.join("-")}),t.validate){let n=Uint8Array.from([]);if(e.address){if(r().prefix!==s.bech32)throw new TypeError("Invalid prefix or Network mismatch");if(r().version!==0)throw new TypeError("Invalid address version");if(r().data.length!==32)throw new TypeError("Invalid address data");n=r().data}if(e.hash){if(n.length>0&&Lt(n,e.hash)!==0)throw new TypeError("Hash mismatch");n=e.hash}if(e.output){if(e.output.length!==34||e.output[0]!==Glt.OP_0||e.output[1]!==32)throw new TypeError("Output is invalid");let a=e.output.slice(2);if(n.length>0&&Lt(n,a)!==0)throw new TypeError("Hash mismatch");n=a}if(e.redeem){if(e.redeem.network&&e.redeem.network!==s)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 a=Ui(e.redeem.output);if(!a||a.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(a)>201)throw new TypeError("Redeem.output unspendable with more than 201 non-push ops");let u=es(e.redeem.output);if(n.length>0&&Lt(n,u)!==0)throw new TypeError("Hash mismatch");n=u}if(e.redeem.input&&!kk(o()))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&&o().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 a=e.witness[e.witness.length-1];if(e.redeem&&e.redeem.output&&Lt(e.redeem.output,a)!==0)throw new TypeError("Witness and redeem.output mismatch");if(e.witness.some(bG)||(Ui(a)||[]).some(bG))throw new TypeError("Witness contains uncompressed pubkey")}}return Object.assign(i,e)}m(),m();var Vlt={};function Dk(){if(!Vlt.eccLib)throw new Error("No ECC Library provided. You must call initEccLib() with a valid TinySecp256k1Interface instance");return Vlt.eccLib}m(),m();var Ac={};Vr(Ac,{decode:()=>kd,encode:()=>Df,encodingLength:()=>Md}),m(),m();var Jlt="0123456789abcdefABCDEF",t8n=Jlt.split("").map(e=>e.codePointAt(0)),r8n=Array(256).fill(!0).map((e,t)=>{let r=String.fromCodePoint(t),o=Jlt.indexOf(r);return o<0?void 0:o<16?o:o-6}),n8n=new TextEncoder,i8n=new TextDecoder;function Xlt(e,t,r,o){if(t+2>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(o=o.toUpperCase(),r>65535)throw new Error(`The value of "value" is out of range. It must be >= 0 and <= 65535. Received ${r}`);o==="LE"?(e[t]=r&255,e[t+1]=r>>8&255):(e[t]=r>>8&255,e[t+1]=r&255)}function Ylt(e,t,r,o){if(t+4>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(o=o.toUpperCase(),r>4294967295)throw new Error(`The value of "value" is out of range. It must be >= 0 and <= ${4294967295}. Received ${r}`);o==="LE"?(e[t]=r&255,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]=r&255)}function Qlt(e,t,r,o){if(t+8>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(o=o.toUpperCase(),r>0xffffffffffffffffn)throw new Error(`The value of "value" is out of range. It must be >= 0 and <= ${0xffffffffffffffffn}. Received ${r}`);o==="LE"?(e[t]=Number(r&0xffn),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(r&0xffn))}function Zlt(e,t,r){if(t+2>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(r=r.toUpperCase(),r==="LE"){let o=0;return o=(o<<8)+e[t+1],o=(o<<8)+e[t],o}else{let o=0;return o=(o<<8)+e[t],o=(o<<8)+e[t+1],o}}function $lt(e,t,r){if(t+4>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(r=r.toUpperCase(),r==="LE"){let o=0;return o=(o<<8)+e[t+3]>>>0,o=(o<<8)+e[t+2]>>>0,o=(o<<8)+e[t+1]>>>0,o=(o<<8)+e[t]>>>0,o}else{let o=0;return o=(o<<8)+e[t]>>>0,o=(o<<8)+e[t+1]>>>0,o=(o<<8)+e[t+2]>>>0,o=(o<<8)+e[t+3]>>>0,o}}function eft(e,t,r){if(t+8>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(r=r.toUpperCase(),r==="LE"){let o=0n;return o=(o<<8n)+BigInt(e[t+7]),o=(o<<8n)+BigInt(e[t+6]),o=(o<<8n)+BigInt(e[t+5]),o=(o<<8n)+BigInt(e[t+4]),o=(o<<8n)+BigInt(e[t+3]),o=(o<<8n)+BigInt(e[t+2]),o=(o<<8n)+BigInt(e[t+1]),o=(o<<8n)+BigInt(e[t]),o}else{let o=0n;return o=(o<<8n)+BigInt(e[t]),o=(o<<8n)+BigInt(e[t+1]),o=(o<<8n)+BigInt(e[t+2]),o=(o<<8n)+BigInt(e[t+3]),o=(o<<8n)+BigInt(e[t+4]),o=(o<<8n)+BigInt(e[t+5]),o=(o<<8n)+BigInt(e[t+6]),o=(o<<8n)+BigInt(e[t+7]),o}}var pmr=e=>{if(e<0||e>0xffffffffffffffffn)throw new RangeError("value out of range")};function gmr(e){if(e<0||e>Number.MAX_SAFE_INTEGER||e%1!==0)throw new RangeError("value out of range")}function tft(e){typeof e=="number"?gmr(e):pmr(e)}function Df(e,t,r){tft(e),r===void 0&&(r=0),t===void 0&&(t=new Uint8Array(Md(e)));let o=0;return e<253?(t.set([Number(e)],r),o=1):e<=65535?(t.set([253],r),Xlt(t,r+1,Number(e),"LE"),o=3):e<=4294967295?(t.set([254],r),Ylt(t,r+1,Number(e),"LE"),o=5):(t.set([255],r),Qlt(t,r+1,BigInt(e),"LE"),o=9),{buffer:t,bytes:o}}function kd(e,t){t===void 0&&(t=0);let r=e.at(t);if(r===void 0)throw new Error("buffer too small");if(r<253)return{numberValue:r,bigintValue:BigInt(r),bytes:1};if(r===253){let o=Zlt(e,t+1,"LE");return{numberValue:o,bigintValue:BigInt(o),bytes:3}}else if(r===254){let o=$lt(e,t+1,"LE");return{numberValue:o,bigintValue:BigInt(o),bytes:5}}else{let o=eft(e,t+1,"LE");return{numberValue:o<=Number.MAX_SAFE_INTEGER?Number(o):null,bigintValue:o,bytes:9}}}function Md(e){return tft(e),e<253?1:e<=65535?3:e<=4294967295?5:9}var ymr=9007199254740991;function mmr(e,t){if(typeof e!="number"&&typeof e!="bigint")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 k8(e){if(e.length<1)return e;let t=e.length-1,r=0;for(let o=0;o<e.length/2;o++)r=e[o],e[o]=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 f2{buffer;offset;static withCapacity(t){return new f2(new Uint8Array(t))}constructor(t,r=0){this.buffer=t,this.offset=r,Ai(Nh([Wn,mp]),[t,r])}writeUInt8(t){this.offset=Zs(this.buffer,this.offset,t)}writeInt32(t){this.offset=sG(this.buffer,this.offset,t,"LE")}writeInt64(t){this.offset=aG(this.buffer,this.offset,BigInt(t),"LE")}writeUInt32(t){this.offset=yp(this.buffer,this.offset,t,"LE")}writeUInt64(t){this.offset=Elt(this.buffer,this.offset,BigInt(t),"LE")}writeVarInt(t){let{bytes:r}=Df(t,this.buffer,this.offset);this.offset+=r}writeSlice(t){if(this.buffer.length<this.offset+t.length)throw new Error("Cannot write slice out of bounds");this.buffer.set(t,this.offset),this.offset+=t.length}writeVarSlice(t){this.writeVarInt(t.length),this.writeSlice(t)}writeVector(t){this.writeVarInt(t.length),t.forEach(r=>this.writeVarSlice(r))}end(){if(this.buffer.length===this.offset)return this.buffer;throw new Error(`buffer size ${this.buffer.length}, offset ${this.offset}`)}},Uk=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=Slt(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}=kd(this.buffer,this.offset);return this.offset+=t,e}readSlice(e){mmr(e,ymr);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,rft=128,bmr=e=>"left"in e&&"right"in e;function Fk(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,o=t;for(let s=0;s<r;s++){let i=e.slice(33+32*s,65+32*s);Lt(o,i)<0?o=uye(o,i):o=uye(i,o)}return o}function vG(e){if(Bk(e))return{hash:Uh(e)};let t=[vG(e[0]),vG(e[1])];t.sort((s,i)=>Lt(s.hash,i.hash));let[r,o]=t;return{hash:uye(r.hash,o.hash),left:r,right:o}}function Lk(e,t){if(bmr(e)){let r=Lk(e.left,t);if(r!==void 0)return[...r,e.right.hash];let o=Lk(e.right,t);if(o!==void 0)return[...o,e.left.hash]}else if(Lt(e.hash,t)===0)return[]}function Uh(e){let t=e.version||wG;return B8("TapLeaf",Bn([Uint8Array.from([t]),wmr(e.output)]))}function vmr(e,t){return B8("TapTweak",Bn(t?[e,t]:[e]))}function M8(e,t){if(!(e instanceof Uint8Array)||e.length!==32||t&&t.length!==32)return null;let r=vmr(e,t),o=Dk().xOnlyPointAddTweak(e,r);return!o||o.xOnlyPubkey===null?null:{parity:o.parity,x:Uint8Array.from(o.xOnlyPubkey)}}function uye(e,t){return B8("TapBranch",Bn([e,t]))}function wmr(e){let t=Ac.encodingLength(e.length),r=new Uint8Array(t);return Ac.encode(e.length,r),Bn([r,e])}var lye=hi(MB(),1),nft=Fn,ift=1,xmr=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:Ok([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)),o=xc(()=>{if(!(!e.witness||!e.witness.length))return e.witness.length>=2&&e.witness[e.witness.length-1][0]===xmr?e.witness.slice(0,-1):e.witness.slice()}),s=xc(()=>{if(e.scriptTree)return vG(e.scriptTree);if(e.hash)return{hash:e.hash}}),i=e.network||ga,n={name:"p2tr",network:i};if(Rr(n,"address",()=>{if(!n.pubkey)return;let a=lye.bech32m.toWords(n.pubkey);return a.unshift(ift),lye.bech32m.encode(i.bech32,a)}),Rr(n,"hash",()=>{let a=s();if(a)return a.hash;let u=o();if(u&&u.length>1){let c=u[u.length-1],d=c[0]&Pk,h=u[u.length-2],y=Uh({output:h,version:d});return Fk(c,y)}return null}),Rr(n,"output",()=>{if(n.pubkey)return os([nft.OP_1,n.pubkey])}),Rr(n,"redeemVersion",()=>e.redeemVersion?e.redeemVersion:e.redeem&&e.redeem.redeemVersion!==void 0&&e.redeem.redeemVersion!==null?e.redeem.redeemVersion:wG),Rr(n,"redeem",()=>{let a=o();if(!(!a||a.length<2))return{output:a[a.length-2],witness:a.slice(0,-2),redeemVersion:a[a.length-1][0]&Pk}}),Rr(n,"pubkey",()=>{if(e.pubkey)return e.pubkey;if(e.output)return e.output.slice(2);if(e.address)return r().data;if(n.internalPubkey){let a=M8(n.internalPubkey,n.hash);if(a)return a.x}}),Rr(n,"internalPubkey",()=>{if(e.internalPubkey)return e.internalPubkey;let a=o();if(a&&a.length>1)return a[a.length-1].slice(1,33)}),Rr(n,"signature",()=>{if(e.signature)return e.signature;let a=o();if(!(!a||a.length!==1))return a[0]}),Rr(n,"witness",()=>{if(e.witness)return e.witness;let a=s();if(a&&e.redeem&&e.redeem.output&&e.internalPubkey){let u=Uh({output:e.redeem.output,version:n.redeemVersion}),c=Lk(a,u);if(!c)return;let d=M8(e.internalPubkey,a.hash);if(!d)return;let h=Bn([Uint8Array.from([n.redeemVersion|d.parity]),e.internalPubkey].concat(c));return[e.redeem.output,h]}if(e.signature)return[e.signature]}),t.validate){let a=Uint8Array.from([]);if(e.address){if(i&&i.bech32!==r().prefix)throw new TypeError("Invalid prefix or Network mismatch");if(r().version!==ift)throw new TypeError("Invalid address version");if(r().data.length!==32)throw new TypeError("Invalid address data");a=r().data}if(e.pubkey){if(a.length>0&&Lt(a,e.pubkey)!==0)throw new TypeError("Pubkey mismatch");a=e.pubkey}if(e.output){if(e.output.length!==34||e.output[0]!==nft.OP_1||e.output[1]!==32)throw new TypeError("Output is invalid");if(a.length>0&&Lt(a,e.output.slice(2))!==0)throw new TypeError("Pubkey mismatch");a=e.output.slice(2)}if(e.internalPubkey){let d=M8(e.internalPubkey,n.hash);if(a.length>0&&Lt(a,d.x)!==0)throw new TypeError("Pubkey mismatch");a=d.x}if(a&&a.length&&!Dk().isXOnlyPoint(a))throw new TypeError("Invalid pubkey for p2tr");let u=s();if(e.hash&&u&&Lt(e.hash,u.hash)!==0)throw new TypeError("Hash mismatch");if(e.redeem&&e.redeem.output&&u){let d=Uh({output:e.redeem.output,version:n.redeemVersion});if(!Lk(u,d))throw new TypeError("Redeem script not in tree")}let c=o();if(e.redeem&&n.redeem){if(e.redeem.redeemVersion&&e.redeem.redeemVersion!==n.redeem.redeemVersion)throw new TypeError("Redeem.redeemVersion and witness mismatch");if(e.redeem.output){if(Ui(e.redeem.output).length===0)throw new TypeError("Redeem.output is invalid");if(n.redeem.output&&Lt(e.redeem.output,n.redeem.output)!==0)throw new TypeError("Redeem.output and witness mismatch")}if(e.redeem.witness&&n.redeem.witness&&!yy(e.redeem.witness,n.redeem.witness))throw new TypeError("Redeem.witness and witness mismatch")}if(c&&c.length)if(c.length===1){if(e.signature&&Lt(e.signature,c[0])!==0)throw new TypeError("Signature mismatch")}else{let d=c[c.length-1];if(d.length<33)throw new TypeError(`The control-block length is too small. Got ${d.length}, expected min 33.`);if((d.length-33)%32!==0)throw new TypeError(`The control-block length of ${d.length} is incorrect!`);let h=(d.length-33)/32;if(h>128)throw new TypeError(`The script path is too long. Got ${h}, expected max 128.`);let y=d.slice(1,33);if(e.internalPubkey&&Lt(e.internalPubkey,y)!==0)throw new TypeError("Internal pubkey mismatch");if(!Dk().isXOnlyPoint(y))throw new TypeError("Invalid internalPubkey for p2tr witness");let C=d[0]&Pk,w=c[c.length-2],T=Uh({output:w,version:C}),A=Fk(d,T),O=M8(y,A);if(!O)throw new TypeError("Invalid outputKey for p2tr witness");if(a.length&&Lt(a,O.x)!==0)throw new TypeError("Pubkey mismatch for p2tr witness");if(O.parity!==(d[0]&1))throw new Error("Incorrect parity")}}return Object.assign(n,e)}var Yw=hi(MB(),1),oft=40,sft=2,aft=16,cft=2,uft=80,lft="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 Amr(e,t){let r=e.slice(2);if(r.length<sft||r.length>oft)throw new TypeError("Invalid program length for segwit address");let o=e[0]-uft;if(o<cft||o>aft)throw new TypeError("Invalid version for segwit address");if(e[1]!==r.length)throw new TypeError("Invalid script for segwit address");return console.warn(lft),Tmr(r,o,t.bech32)}function Emr(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");let r=Qc(t,0),o=t.slice(1);return{version:r,hash:o}}function fye(e){let t,r;try{t=Yw.bech32.decode(e)}catch{}if(t){if(r=t.words[0],r!==0)throw new TypeError(e+" uses wrong encoding")}else if(t=Yw.bech32m.decode(e),r=t.words[0],r===0)throw new TypeError(e+" uses wrong encoding");let o=Yw.bech32.fromWords(t.words.slice(1));return{version:r,prefix:t.prefix,data:Uint8Array.from(o)}}function Tmr(e,t,r){let o=Yw.bech32.toWords(e);return o.unshift(t),t===0?Yw.bech32.encode(r,o):Yw.bech32m.encode(r,o)}function fft(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 Amr(e,t)}catch{}throw new Error(Wlt(e)+" has no matching Address")}function dft(e,t){t=t||ga;let r,o;try{r=Emr(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{o=fye(e)}catch{}if(o){if(o.prefix!==t.bech32)throw new Error(e+" has an invalid prefix");if(o.version===0){if(o.data.length===20)return Xw({hash:o.data}).output;if(o.data.length===32)return Tb({hash:o.data}).output}else if(o.version===1){if(o.data.length===32)return my({pubkey:o.data}).output}else if(o.version>=cft&&o.version<=aft&&o.data.length>=sft&&o.data.length<=oft)return console.warn(lft),os([o.version+uft,o.data])}}throw new Error(e+" has no matching Script")}m(),m(),m();function by(e){let t=e.length;return Ac.encodingLength(t)+t}function Cmr(e){let t=e.length;return Ac.encodingLength(t)+e.reduce((r,o)=>r+by(o),0)}var Qw=new Uint8Array(0),hft=[],dye=kl("0000000000000000000000000000000000000000000000000000000000000000"),pft=kl("0000000000000000000000000000000000000000000000000000000000000001"),Imr=kl("ffffffffffffffff"),Omr={script:Qw,valueBuffer:Imr};function Pmr(e){return e.value!==void 0}var bo=class Si{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 o=new Uk(t),s=new Si;s.version=o.readInt32();let i=o.readUInt8(),n=o.readUInt8(),a=!1;i===Si.ADVANCED_TRANSACTION_MARKER&&n===Si.ADVANCED_TRANSACTION_FLAG?a=!0:o.offset-=2;let u=o.readVarInt();for(let d=0;d<u;++d)s.ins.push({hash:o.readSlice(32),index:o.readUInt32(),script:o.readVarSlice(),sequence:o.readUInt32(),witness:hft});let c=o.readVarInt();for(let d=0;d<c;++d)s.outs.push({value:o.readInt64(),script:o.readVarSlice()});if(a){for(let d=0;d<u;++d)s.ins[d].witness=o.readVector();if(!s.hasWitnesses())throw new Error("Transaction has superfluous witness data")}if(s.locktime=o.readUInt32(),r)return s;if(o.offset!==t.length)throw new Error("Transaction has unexpected data");return s}static fromHex(t){return Si.fromBuffer(kl(t),!1)}static isCoinbaseHash(t){Ai(rye,t);for(let r=0;r<32;++r)if(t[r]!==0)return!1;return!0}version=1;locktime=0;ins=[];outs=[];isCoinbase(){return this.ins.length===1&&Si.isCoinbaseHash(this.ins[0].hash)}addInput(t,r,o,s){return Ai(Nh([rye,mp,lG(Ik(mp)),lG(Ik(Wn))]),[t,r,o,s]),o==null&&(o=Si.DEFAULT_SEQUENCE),this.ins.push({hash:t,index:r,script:s||Qw,sequence:o,witness:hft})-1}addOutput(t,r){return Ai(Nh([Wn,dG]),[t,r]),this.outs.push({script:t,value:r})-1}hasWitnesses(){return this.ins.some(t=>t.witness.length!==0)}weight(){let t=this.byteLength(!1),r=this.byteLength(!0);return t*3+r}virtualSize(){return Math.ceil(this.weight()/4)}byteLength(t=!0){let r=t&&this.hasWitnesses();return(r?10:8)+Ac.encodingLength(this.ins.length)+Ac.encodingLength(this.outs.length)+this.ins.reduce((o,s)=>o+40+by(s.script),0)+this.outs.reduce((o,s)=>o+8+by(s.script),0)+(r?this.ins.reduce((o,s)=>o+Cmr(s.witness),0):0)}clone(){let t=new Si;return t.version=this.version,t.locktime=this.locktime,t.ins=this.ins.map(r=>({hash:r.hash,index:r.index,script:r.script,sequence:r.sequence,witness:r.witness})),t.outs=this.outs.map(r=>({script:r.script,value:r.value})),t}hashForSignature(t,r,o){if(Ai(Nh([mp,Wn,Ha()]),[t,r,o]),t>=this.ins.length)return pft;let s=os(Ui(r).filter(a=>a!==Fn.OP_CODESEPARATOR)),i=this.clone();if((o&31)===Si.SIGHASH_NONE)i.outs=[],i.ins.forEach((a,u)=>{u!==t&&(a.sequence=0)});else if((o&31)===Si.SIGHASH_SINGLE){if(t>=this.outs.length)return pft;i.outs.length=t+1;for(let a=0;a<t;a++)i.outs[a]=Omr;i.ins.forEach((a,u)=>{u!==t&&(a.sequence=0)})}o&Si.SIGHASH_ANYONECANPAY?(i.ins=[i.ins[t]],i.ins[0].script=s):(i.ins.forEach(a=>{a.script=Qw}),i.ins[t].script=s);let n=new Uint8Array(i.byteLength(!1)+4);return sG(n,n.length-4,o,"LE"),i.__toBuffer(n,0,!1),xb(n)}hashForWitnessV1(t,r,o,s,i,n){if(Ai(Nh([mp,$s(Wn),$s(dG),mp]),[t,r,o,s]),o.length!==this.ins.length||r.length!==this.ins.length)throw new Error("Must supply prevout script and value for all inputs");let a=s===Si.SIGHASH_DEFAULT?Si.SIGHASH_ALL:s&Si.SIGHASH_OUTPUT_MASK,u=(s&Si.SIGHASH_INPUT_MASK)===Si.SIGHASH_ANYONECANPAY,c=a===Si.SIGHASH_NONE,d=a===Si.SIGHASH_SINGLE,h=Qw,y=Qw,C=Qw,w=Qw,T=Qw;if(!u){let B=Ec.withCapacity(36*this.ins.length);this.ins.forEach(R=>{B.writeSlice(R.hash),B.writeUInt32(R.index)}),h=es(B.end()),B=Ec.withCapacity(8*this.ins.length),o.forEach(R=>B.writeInt64(R)),y=es(B.end()),B=Ec.withCapacity(r.map(by).reduce((R,U)=>R+U)),r.forEach(R=>B.writeVarSlice(R)),C=es(B.end()),B=Ec.withCapacity(4*this.ins.length),this.ins.forEach(R=>B.writeUInt32(R.sequence)),w=es(B.end())}if(c||d){if(d&&t<this.outs.length){let B=this.outs[t],R=Ec.withCapacity(8+by(B.script));R.writeInt64(B.value),R.writeVarSlice(B.script),T=es(R.end())}}else{if(!this.outs.length)throw new Error("Add outputs to the transaction before signing.");let B=this.outs.map(U=>8+by(U.script)).reduce((U,N)=>U+N),R=Ec.withCapacity(B);this.outs.forEach(U=>{R.writeInt64(U.value),R.writeVarSlice(U.script)}),T=es(R.end())}let A=(i?2:0)+(n?1:0),O=174-(u?49:0)-(c?32:0)+(n?32:0)+(i?37:0),v=Ec.withCapacity(O);if(v.writeUInt8(s),v.writeInt32(this.version),v.writeUInt32(this.locktime),v.writeSlice(h),v.writeSlice(y),v.writeSlice(C),v.writeSlice(w),c||d||v.writeSlice(T),v.writeUInt8(A),u){let B=this.ins[t];v.writeSlice(B.hash),v.writeUInt32(B.index),v.writeInt64(o[t]),v.writeVarSlice(r[t]),v.writeUInt32(B.sequence)}else v.writeUInt32(t);if(n){let B=Ec.withCapacity(by(n));B.writeVarSlice(n),v.writeSlice(es(B.end()))}return d&&v.writeSlice(T),i&&(v.writeSlice(i),v.writeUInt8(0),v.writeUInt32(4294967295)),B8("TapSighash",Bn([Uint8Array.from([0]),v.end()]))}hashForWitnessV0(t,r,o,s){Ai(Nh([mp,Wn,dG,mp]),[t,r,o,s]);let i=Uint8Array.from([]),n,a=dye,u=dye,c=dye;if(s&Si.SIGHASH_ANYONECANPAY||(i=new Uint8Array(36*this.ins.length),n=new Ec(i,0),this.ins.forEach(h=>{n.writeSlice(h.hash),n.writeUInt32(h.index)}),u=xb(i)),!(s&Si.SIGHASH_ANYONECANPAY)&&(s&31)!==Si.SIGHASH_SINGLE&&(s&31)!==Si.SIGHASH_NONE&&(i=new Uint8Array(4*this.ins.length),n=new Ec(i,0),this.ins.forEach(h=>{n.writeUInt32(h.sequence)}),c=xb(i)),(s&31)!==Si.SIGHASH_SINGLE&&(s&31)!==Si.SIGHASH_NONE){let h=this.outs.reduce((y,C)=>y+8+by(C.script),0);i=new Uint8Array(h),n=new Ec(i,0),this.outs.forEach(y=>{n.writeInt64(y.value),n.writeVarSlice(y.script)}),a=xb(i)}else if((s&31)===Si.SIGHASH_SINGLE&&t<this.outs.length){let h=this.outs[t];i=new Uint8Array(8+by(h.script)),n=new Ec(i,0),n.writeInt64(h.value),n.writeVarSlice(h.script),a=xb(i)}i=new Uint8Array(156+by(r)),n=new Ec(i,0);let d=this.ins[t];return n.writeInt32(this.version),n.writeSlice(u),n.writeSlice(c),n.writeSlice(d.hash),n.writeUInt32(d.index),n.writeVarSlice(r),n.writeInt64(o),n.writeUInt32(d.sequence),n.writeSlice(a),n.writeUInt32(this.locktime),n.writeUInt32(s),xb(i)}getHash(t){return t&&this.isCoinbase()?new Uint8Array(32):xb(this.__toBuffer(void 0,void 0,t))}getId(){return or(k8(this.getHash(!1)))}toBuffer(t,r){return this.__toBuffer(t,r,!0)}toHex(){return or(this.toBuffer(void 0,void 0))}setInputScript(t,r){Ai(Nh([Ha(),Wn]),[t,r]),this.ins[t].script=r}setWitness(t,r){Ai(Nh([Ha(),$s(Wn)]),[t,r]),this.ins[t].witness=r}__toBuffer(t,r,o=!1){t||(t=new Uint8Array(this.byteLength(o)));let s=new Ec(t,r||0);s.writeInt32(this.version);let i=o&&this.hasWitnesses();return i&&(s.writeUInt8(Si.ADVANCED_TRANSACTION_MARKER),s.writeUInt8(Si.ADVANCED_TRANSACTION_FLAG)),s.writeVarInt(this.ins.length),this.ins.forEach(n=>{s.writeSlice(n.hash),s.writeUInt32(n.index),s.writeVarSlice(n.script),s.writeUInt32(n.sequence)}),s.writeVarInt(this.outs.length),this.outs.forEach(n=>{Pmr(n)?s.writeInt64(n.value):s.writeSlice(n.valueBuffer),s.writeVarSlice(n.script)}),i&&this.ins.forEach(n=>{s.writeVector(n.witness)}),s.writeUInt32(this.locktime),r!==void 0?t.slice(r,s.offset):t}},j8n=new TypeError("Cannot compute merkle root for zero transactions"),G8n=new TypeError("Cannot compute witness commit for non-segwit block");m(),m(),m(),m(),m();var Kk={};Vr(Kk,{globals:()=>zk,inputs:()=>ea,outputs:()=>bp}),m(),m();var Uf;(function(e){e[e.UNSIGNED_TX=0]="UNSIGNED_TX",e[e.GLOBAL_XPUB=1]="GLOBAL_XPUB"})(Uf||(Uf={}));var fr;(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={}));var qo;(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:()=>Nmr,check:()=>Rmr,decode:()=>kmr,encode:()=>Mmr,expected:()=>_mr}),m();var Bmr=e=>[...Array(e).keys()];function kmr(e){if(e.key[0]!==Uf.GLOBAL_XPUB)throw new Error("Decode Error: could not decode globalXpub with key 0x"+or(e.key));if(e.key.length!==79||![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 o of Bmr(e.value.length/4-1)){let s=Od(e.value,o*4+4,"LE"),i=!!(s&2147483648),n=s&2147483647;r.path+="/"+n.toString(10)+(i?"'":"")}return r}function Mmr(e){let t=new Uint8Array([Uf.GLOBAL_XPUB]),r=Bn([t,e.extendedPubkey]),o=e.path.split("/"),s=new Uint8Array(o.length*4);s.set(e.masterFingerprint,0);let i=4;return o.slice(1).forEach(n=>{let a=n.slice(-1)==="'",u=2147483647&parseInt(a?n.slice(0,-1):n,10);a&&(u+=2147483648),yp(s,i,u,"LE"),i+=4}),{key:r,value:s}}var _mr="{ masterFingerprint: Uint8Array; extendedPubkey: Uint8Array; path: string; }";function Rmr(e){let t=e.extendedPubkey,r=e.masterFingerprint,o=e.path;return t instanceof Uint8Array&&t.length===78&&[2,3].indexOf(t[45])>-1&&r instanceof Uint8Array&&r.length===4&&typeof o=="string"&&!!o.match(/^m(\/\d+'?)*$/)}function Nmr(e,t,r){let o=or(t.extendedPubkey);return r.has(o)?!1:(r.add(o),e.filter(s=>Lt(s.extendedPubkey,t.extendedPubkey)).length===0)}var pye={};Vr(pye,{encode:()=>Dmr}),m();function Dmr(e){return{key:new Uint8Array([Uf.UNSIGNED_TX]),value:e.toBuffer()}}var gye={};Vr(gye,{canAdd:()=>zmr,check:()=>Wmr,decode:()=>Umr,encode:()=>Lmr,expected:()=>Fmr}),m();function Umr(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 Lmr(e){return{key:new Uint8Array([fr.FINAL_SCRIPTSIG]),value:e}}var Fmr="Uint8Array";function Wmr(e){return e instanceof Uint8Array}function zmr(e,t){return!!e&&!!t&&e.finalScriptSig===void 0}var yye={};Vr(yye,{canAdd:()=>Gmr,check:()=>jmr,decode:()=>Kmr,encode:()=>Hmr,expected:()=>qmr}),m();function Kmr(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 Hmr(e){return{key:new Uint8Array([fr.FINAL_SCRIPTWITNESS]),value:e}}var qmr="Uint8Array";function jmr(e){return e instanceof Uint8Array}function Gmr(e,t){return!!e&&!!t&&e.finalScriptWitness===void 0}var mye={};Vr(mye,{canAdd:()=>Qmr,check:()=>Ymr,decode:()=>Vmr,encode:()=>Jmr,expected:()=>Xmr}),m();function Vmr(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 Jmr(e){return{key:new Uint8Array([fr.NON_WITNESS_UTXO]),value:e}}var Xmr="Uint8Array";function Ymr(e){return e instanceof Uint8Array}function Qmr(e,t){return!!e&&!!t&&e.nonWitnessUtxo===void 0}var bye={};Vr(bye,{canAddToArray:()=>nbr,check:()=>tbr,decode:()=>Zmr,encode:()=>$mr,expected:()=>ebr}),m();function Zmr(e){if(e.key[0]!==fr.PARTIAL_SIG)throw new Error("Decode Error: could not decode partialSig with key 0x"+or(e.key));if(!(e.key.length===34||e.key.length===66)||![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 $mr(e){let t=new Uint8Array([fr.PARTIAL_SIG]);return{key:Bn([t,e.pubkey]),value:e.signature}}var ebr="{ pubkey: Uint8Array; signature: Uint8Array; }";function tbr(e){return e.pubkey instanceof Uint8Array&&e.signature instanceof Uint8Array&&[33,65].includes(e.pubkey.length)&&[2,3,4].includes(e.pubkey[0])&&rbr(e.signature)}function rbr(e){if(!(e instanceof Uint8Array)||e.length<9||e[0]!==48||e.length!==e[1]+3||e[2]!==2)return!1;let t=e[3];if(t>33||t<1||e[3+t+1]!==2)return!1;let r=e[3+t+2];return!(r>33||r<1||e.length!==3+t+2+r+2)}function nbr(e,t,r){let o=or(t.pubkey);return r.has(o)?!1:(r.add(o),e.filter(s=>Lt(s.pubkey,t.pubkey)===0).length===0)}var vye={};Vr(vye,{canAdd:()=>cbr,check:()=>abr,decode:()=>ibr,encode:()=>obr,expected:()=>sbr}),m();function ibr(e){if(e.key[0]!==fr.POR_COMMITMENT)throw new Error("Decode Error: could not decode porCommitment with key 0x"+or(e.key));return vlt(e.value)}function obr(e){return{key:new Uint8Array([fr.POR_COMMITMENT]),value:wlt(e)}}var sbr="string";function abr(e){return typeof e=="string"}function cbr(e,t){return!!e&&!!t&&e.porCommitment===void 0}var wye={};Vr(wye,{canAdd:()=>hbr,check:()=>dbr,decode:()=>ubr,encode:()=>lbr,expected:()=>fbr}),m();function ubr(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 lbr(e){let t=Uint8Array.from([fr.SIGHASH_TYPE]),r=new Uint8Array(4);return yp(r,0,e,"LE"),{key:t,value:r}}var fbr="number";function dbr(e){return typeof e=="number"}function hbr(e,t){return!!e&&!!t&&e.sighashType===void 0}var xye={};Vr(xye,{canAdd:()=>mbr,check:()=>gft,decode:()=>pbr,encode:()=>gbr,expected:()=>ybr}),m();function pbr(e){if(e.key[0]!==fr.TAP_KEY_SIG||e.key.length!==1)throw new Error("Decode Error: could not decode tapKeySig with key 0x"+or(e.key));if(!gft(e.value))throw new Error("Decode Error: tapKeySig not a valid 64-65-byte BIP340 signature");return e.value}function gbr(e){return{key:Uint8Array.from([fr.TAP_KEY_SIG]),value:e}}var ybr="Uint8Array";function gft(e){return e instanceof Uint8Array&&(e.length===64||e.length===65)}function mbr(e,t){return!!e&&!!t&&e.tapKeySig===void 0}var Aye={};Vr(Aye,{canAddToArray:()=>Abr,check:()=>xbr,decode:()=>bbr,encode:()=>vbr,expected:()=>wbr}),m();function bbr(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((e.key[1]&254)!==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 vbr(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])}}var wbr="{ controlBlock: Uint8Array; leafVersion: number, script: Uint8Array; }";function xbr(e){return e.controlBlock instanceof Uint8Array&&(e.controlBlock.length-1)%32===0&&(e.controlBlock[0]&254)===e.leafVersion&&e.script instanceof Uint8Array}function Abr(e,t,r){let o=or(t.controlBlock);return r.has(o)?!1:(r.add(o),e.filter(s=>Lt(s.controlBlock,t.controlBlock)===0).length===0)}var Eye={};Vr(Eye,{canAdd:()=>Cbr,check:()=>yft,decode:()=>Ebr,encode:()=>Tbr,expected:()=>Sbr}),m();function Ebr(e){if(e.key[0]!==fr.TAP_MERKLE_ROOT||e.key.length!==1)throw new Error("Decode Error: could not decode tapMerkleRoot with key 0x"+or(e.key));if(!yft(e.value))throw new Error("Decode Error: tapMerkleRoot not a 32-byte hash");return e.value}function Tbr(e){return{key:Uint8Array.from([fr.TAP_MERKLE_ROOT]),value:e}}var Sbr="Uint8Array";function yft(e){return e instanceof Uint8Array&&e.length===32}function Cbr(e,t){return!!e&&!!t&&e.tapMerkleRoot===void 0}var Tye={};Vr(Tye,{canAddToArray:()=>kbr,check:()=>Bbr,decode:()=>Ibr,encode:()=>Obr,expected:()=>Pbr}),m();function Ibr(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(e.key.length!==65)throw new Error("Decode Error: tapScriptSig has invalid key 0x"+or(e.key));if(e.value.length!==64&&e.value.length!==65)throw new Error("Decode Error: tapScriptSig has invalid signature in key 0x"+or(e.key));let t=e.key.slice(1,33),r=e.key.slice(33);return{pubkey:t,leafHash:r,signature:e.value}}function Obr(e){let t=Uint8Array.from([fr.TAP_SCRIPT_SIG]);return{key:Bn([t,e.pubkey,e.leafHash]),value:e.signature}}var Pbr="{ pubkey: Uint8Array; leafHash: Uint8Array; signature: Uint8Array; }";function Bbr(e){return e.pubkey instanceof Uint8Array&&e.leafHash instanceof Uint8Array&&e.signature instanceof Uint8Array&&e.pubkey.length===32&&e.leafHash.length===32&&(e.signature.length===64||e.signature.length===65)}function kbr(e,t,r){let o=or(t.pubkey)+or(t.leafHash);return r.has(o)?!1:(r.add(o),e.filter(s=>Lt(s.pubkey,t.pubkey)===0&&Lt(s.leafHash,t.leafHash)===0).length===0)}var Sye={};Vr(Sye,{canAdd:()=>Dbr,check:()=>Nbr,decode:()=>Mbr,encode:()=>_br,expected:()=>Rbr}),m();function Mbr(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:o,bytes:s}=kd(e.value,r);r+=s;let i=e.value.slice(r);if(i.length!==o)throw new Error("Decode Error: WITNESS_UTXO script is not proper length");return{script:i,value:t}}function _br(e){let{script:t,value:r}=e,o=Md(t.length),s=new Uint8Array(8+o+t.length);return aG(s,0,BigInt(r),"LE"),Df(t.length,s,8),s.set(t,8+o),{key:Uint8Array.from([fr.WITNESS_UTXO]),value:s}}var Rbr="{ script: Uint8Array; value: bigint; }";function Nbr(e){return e.script instanceof Uint8Array&&typeof e.value=="bigint"}function Dbr(e,t){return!!e&&!!t&&e.witnessUtxo===void 0}var Cye={};Vr(Cye,{canAdd:()=>zbr,check:()=>Wbr,decode:()=>Ubr,encode:()=>Lbr,expected:()=>Fbr}),m();function Ubr(e){if(e.key[0]!==qo.TAP_TREE||e.key.length!==1)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 o=e.value[t++],s=e.value[t++],{numberValue:i,bytes:n}=kd(e.value,t);t+=n,r.push({depth:o,leafVersion:s,script:e.value.slice(t,t+i)}),t+=i}return{leaves:r}}function Lbr(e){let t=Uint8Array.from([qo.TAP_TREE]),r=[].concat(...e.leaves.map(o=>[Uint8Array.of(o.depth,o.leafVersion),Df(BigInt(o.script.length)).buffer,o.script]));return{key:t,value:Bn(r)}}var Fbr="{ leaves: [{ depth: number; leafVersion: number, script: Uint8Array; }] }";function Wbr(e){return Array.isArray(e.leaves)&&e.leaves.every(t=>t.depth>=0&&t.depth<=128&&(t.leafVersion&254)===t.leafVersion&&t.script instanceof Uint8Array)}function zbr(e,t){return!!e&&!!t&&e.tapTree===void 0}m();var Kbr=e=>[...Array(e).keys()],Hbr=e=>e.length===33&&[2,3].includes(e[0])||e.length===65&&e[0]===4;function Wk(e,t=Hbr){function r(a){if(a.key[0]!==e)throw new Error("Decode Error: could not decode bip32Derivation with key 0x"+or(a.key));let u=a.key.slice(1);if(!t(u))throw new Error("Decode Error: bip32Derivation has invalid pubkey in key 0x"+or(a.key));if(a.value.length/4%1!==0)throw new Error("Decode Error: Input BIP32_DERIVATION value length should be multiple of 4");let c={masterFingerprint:a.value.slice(0,4),pubkey:u,path:"m"};for(let d of Kbr(a.value.length/4-1)){let h=Od(a.value,d*4+4,"LE"),y=!!(h&2147483648),C=h&2147483647;c.path+="/"+C.toString(10)+(y?"'":"")}return c}function o(a){let u=Uint8Array.from([e]),c=Bn([u,a.pubkey]),d=a.path.split("/"),h=new Uint8Array(d.length*4);h.set(a.masterFingerprint,0);let y=4;return d.slice(1).forEach(C=>{let w=C.slice(-1)==="'",T=2147483647&parseInt(w?C.slice(0,-1):C,10);w&&(T+=2147483648),yp(h,y,T,"LE"),y+=4}),{key:c,value:h}}let s="{ masterFingerprint: Uint8Array; pubkey: Uint8Array; path: string; }";function i(a){return a.pubkey instanceof Uint8Array&&a.masterFingerprint instanceof Uint8Array&&typeof a.path=="string"&&t(a.pubkey)&&a.masterFingerprint.length===4}function n(a,u,c){let d=or(u.pubkey);return c.has(d)?!1:(c.add(d),a.filter(h=>Lt(h.pubkey,u.pubkey)===0).length===0)}return{decode:r,encode:o,check:i,expected:s,canAddToArray:n}}m();function AG(e){return t;function t(r){let o;if(e.includes(r.key[0])&&(o=r.key.slice(1),!(o.length===33||o.length===65)||![2,3,4].includes(o[0])))throw new Error("Format Error: invalid pubkey in key 0x"+or(r.key));return o}}m();function Iye(e){function t(n){if(n.key[0]!==e)throw new Error("Decode Error: could not decode redeemScript with key 0x"+or(n.key));return n.value}function r(n){return{key:Uint8Array.from([e]),value:n}}let o="Uint8Array";function s(n){return n instanceof Uint8Array}function i(n,a){return!!n&&!!a&&n.redeemScript===void 0}return{decode:t,encode:r,check:s,expected:o,canAdd:i}}m();var Gbr=e=>e.length===32;function Oye(e){let t=Wk(e,Gbr);function r(n){let{numberValue:a,bytes:u}=kd(n.value),c=t.decode({key:n.key,value:n.value.slice(u+Number(a)*32)}),d=new Array(Number(a));for(let h=0,y=u;h<a;h++,y+=32)d[h]=n.value.slice(y,y+32);return{...c,leafHashes:d}}function o(n){let a=t.encode(n),u=Md(n.leafHashes.length),c=new Uint8Array(u);Df(n.leafHashes.length,c);let d=Bn([c,...n.leafHashes,a.value]);return{...a,value:d}}let s="{ masterFingerprint: Uint8Array; pubkey: Uint8Array; path: string; leafHashes: Uint8Array[]; }";function i(n){return Array.isArray(n.leafHashes)&&n.leafHashes.every(a=>a instanceof Uint8Array&&a.length===32)&&t.check(n)}return{decode:r,encode:o,check:i,expected:s,canAddToArray:t.canAddToArray}}m();function Pye(e){function t(n){if(n.key[0]!==e||n.key.length!==1)throw new Error("Decode Error: could not decode tapInternalKey with key 0x"+or(n.key));if(n.value.length!==32)throw new Error("Decode Error: tapInternalKey not a 32-byte x-only pubkey");return n.value}function r(n){return{key:Uint8Array.from([e]),value:n}}let o="Uint8Array";function s(n){return n instanceof Uint8Array&&n.length===32}function i(n,a){return!!n&&!!a&&n.tapInternalKey===void 0}return{decode:t,encode:r,check:s,expected:o,canAdd:i}}m();function Bye(e){function t(n){if(n.key[0]!==e)throw new Error("Decode Error: could not decode witnessScript with key 0x"+or(n.key));return n.value}function r(n){return{key:Uint8Array.from([e]),value:n}}let o="Uint8Array";function s(n){return n instanceof Uint8Array}function i(n,a){return!!n&&!!a&&n.witnessScript===void 0}return{decode:t,encode:r,check:s,expected:o,canAdd:i}}var zk={unsignedTx:pye,globalXpub:hye,checkPubkey:AG([])},ea={nonWitnessUtxo:mye,partialSig:bye,sighashType:wye,finalScriptSig:gye,finalScriptWitness:yye,porCommitment:vye,witnessUtxo:Sye,bip32Derivation:Wk(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:Wk(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 Hk=e=>[...Array(e).keys()];function kye(e){let t=e.map(Ybr);return t.push(Uint8Array.from([0])),Bn(t)}function Ybr(e){let t=e.key.length,r=e.value.length,o=Md(t),s=Md(r),i=new Uint8Array(o+t+s+r);return Df(t,i,0),i.set(e.key,o),Df(r,i,o+t),i.set(e.value,o+t+s),i}function bft(e,t){let r=0;function o(){let{numberValue:A,bytes:O}=kd(e,r);r+=O;let v=e.slice(r,r+Number(A));return r+=Number(A),v}function s(){let A=Od(e,r,"BE");return r+=4,A}function i(){let A=Qc(e,r);return r+=1,A}function n(){let A=o(),O=o();return{key:A,value:O}}function a(){if(r>=e.length)throw new Error("Format Error: Unexpected End of PSBT");let A=Qc(e,r)===0;return A&&r++,A}if(s()!==1886610036)throw new Error("Format Error: Invalid Magic Number");if(i()!==255)throw new Error("Format Error: Magic Number must be followed by 0xff separator");let u=[],c={};for(;!a();){let A=n(),O=or(A.key);if(c[O])throw new Error("Format Error: Keys must be unique for global keymap: key "+O);c[O]=1,u.push(A)}let d=u.filter(A=>A.key[0]===Uf.UNSIGNED_TX);if(d.length!==1)throw new Error("Format Error: Only one UNSIGNED_TX allowed");let h=t(d[0].value),{inputCount:y,outputCount:C}=h.getInputOutputCounts(),w=[],T=[];for(let A of Hk(y)){let O={},v=[];for(;!a();){let B=n(),R=or(B.key);if(O[R])throw new Error("Format Error: Keys must be unique for each input: input index "+A+" key "+R);O[R]=1,v.push(B)}w.push(v)}for(let A of Hk(C)){let O={},v=[];for(;!a();){let B=n(),R=or(B.key);if(O[R])throw new Error("Format Error: Keys must be unique for each output: output index "+A+" key "+R);O[R]=1,v.push(B)}T.push(v)}return Mye(h,{globalMapKeyVals:u,inputKeyVals:w,outputKeyVals:T})}function Vu(e,t,r){if(Lt(t,Uint8Array.from([r])))throw new Error(`Format Error: Invalid ${e} key: ${or(t)}`)}function Mye(e,{globalMapKeyVals:t,inputKeyVals:r,outputKeyVals:o}){let s={unsignedTx:e},i=0;for(let d of t)switch(d.key[0]){case Uf.UNSIGNED_TX:if(Vu("global",d.key,Uf.UNSIGNED_TX),i>0)throw new Error("Format Error: GlobalMap has multiple UNSIGNED_TX");i++;break;case Uf.GLOBAL_XPUB:s.globalXpub===void 0&&(s.globalXpub=[]),s.globalXpub.push(zk.globalXpub.decode(d));break;default:s.unknownKeyVals||(s.unknownKeyVals=[]),s.unknownKeyVals.push(d)}let n=r.length,a=o.length,u=[],c=[];for(let d of Hk(n)){let h={};for(let y of r[d])switch(ea.checkPubkey(y),y.key[0]){case fr.NON_WITNESS_UTXO:if(Vu("input",y.key,fr.NON_WITNESS_UTXO),h.nonWitnessUtxo!==void 0)throw new Error("Format Error: Input has multiple NON_WITNESS_UTXO");h.nonWitnessUtxo=ea.nonWitnessUtxo.decode(y);break;case fr.WITNESS_UTXO:if(Vu("input",y.key,fr.WITNESS_UTXO),h.witnessUtxo!==void 0)throw new Error("Format Error: Input has multiple WITNESS_UTXO");h.witnessUtxo=ea.witnessUtxo.decode(y);break;case fr.PARTIAL_SIG:h.partialSig===void 0&&(h.partialSig=[]),h.partialSig.push(ea.partialSig.decode(y));break;case fr.SIGHASH_TYPE:if(Vu("input",y.key,fr.SIGHASH_TYPE),h.sighashType!==void 0)throw new Error("Format Error: Input has multiple SIGHASH_TYPE");h.sighashType=ea.sighashType.decode(y);break;case fr.REDEEM_SCRIPT:if(Vu("input",y.key,fr.REDEEM_SCRIPT),h.redeemScript!==void 0)throw new Error("Format Error: Input has multiple REDEEM_SCRIPT");h.redeemScript=ea.redeemScript.decode(y);break;case fr.WITNESS_SCRIPT:if(Vu("input",y.key,fr.WITNESS_SCRIPT),h.witnessScript!==void 0)throw new Error("Format Error: Input has multiple WITNESS_SCRIPT");h.witnessScript=ea.witnessScript.decode(y);break;case fr.BIP32_DERIVATION:h.bip32Derivation===void 0&&(h.bip32Derivation=[]),h.bip32Derivation.push(ea.bip32Derivation.decode(y));break;case fr.FINAL_SCRIPTSIG:Vu("input",y.key,fr.FINAL_SCRIPTSIG),h.finalScriptSig=ea.finalScriptSig.decode(y);break;case fr.FINAL_SCRIPTWITNESS:Vu("input",y.key,fr.FINAL_SCRIPTWITNESS),h.finalScriptWitness=ea.finalScriptWitness.decode(y);break;case fr.POR_COMMITMENT:Vu("input",y.key,fr.POR_COMMITMENT),h.porCommitment=ea.porCommitment.decode(y);break;case fr.TAP_KEY_SIG:Vu("input",y.key,fr.TAP_KEY_SIG),h.tapKeySig=ea.tapKeySig.decode(y);break;case fr.TAP_SCRIPT_SIG:h.tapScriptSig===void 0&&(h.tapScriptSig=[]),h.tapScriptSig.push(ea.tapScriptSig.decode(y));break;case fr.TAP_LEAF_SCRIPT:h.tapLeafScript===void 0&&(h.tapLeafScript=[]),h.tapLeafScript.push(ea.tapLeafScript.decode(y));break;case fr.TAP_BIP32_DERIVATION:h.tapBip32Derivation===void 0&&(h.tapBip32Derivation=[]),h.tapBip32Derivation.push(ea.tapBip32Derivation.decode(y));break;case fr.TAP_INTERNAL_KEY:Vu("input",y.key,fr.TAP_INTERNAL_KEY),h.tapInternalKey=ea.tapInternalKey.decode(y);break;case fr.TAP_MERKLE_ROOT:Vu("input",y.key,fr.TAP_MERKLE_ROOT),h.tapMerkleRoot=ea.tapMerkleRoot.decode(y);break;default:h.unknownKeyVals||(h.unknownKeyVals=[]),h.unknownKeyVals.push(y)}u.push(h)}for(let d of Hk(a)){let h={};for(let y of o[d])switch(bp.checkPubkey(y),y.key[0]){case qo.REDEEM_SCRIPT:if(Vu("output",y.key,qo.REDEEM_SCRIPT),h.redeemScript!==void 0)throw new Error("Format Error: Output has multiple REDEEM_SCRIPT");h.redeemScript=bp.redeemScript.decode(y);break;case qo.WITNESS_SCRIPT:if(Vu("output",y.key,qo.WITNESS_SCRIPT),h.witnessScript!==void 0)throw new Error("Format Error: Output has multiple WITNESS_SCRIPT");h.witnessScript=bp.witnessScript.decode(y);break;case qo.BIP32_DERIVATION:h.bip32Derivation===void 0&&(h.bip32Derivation=[]),h.bip32Derivation.push(bp.bip32Derivation.decode(y));break;case qo.TAP_INTERNAL_KEY:Vu("output",y.key,qo.TAP_INTERNAL_KEY),h.tapInternalKey=bp.tapInternalKey.decode(y);break;case qo.TAP_TREE:Vu("output",y.key,qo.TAP_TREE),h.tapTree=bp.tapTree.decode(y);break;case qo.TAP_BIP32_DERIVATION:h.tapBip32Derivation===void 0&&(h.tapBip32Derivation=[]),h.tapBip32Derivation.push(bp.tapBip32Derivation.decode(y));break;default:h.unknownKeyVals||(h.unknownKeyVals=[]),h.unknownKeyVals.push(y)}c.push(h)}return{globalMap:s,inputs:u,outputs:c}}m();function vft({globalMap:e,inputs:t,outputs:r}){let{globalKeyVals:o,inputKeyVals:s,outputKeyVals:i}=EG({globalMap:e,inputs:t,outputs:r}),n=kye(o),a=h=>h.length===0?[Uint8Array.from([0])]:h.map(kye),u=a(s),c=a(i),d=new Uint8Array(5);return d.set([112,115,98,116,255],0),Bn([d,n].concat(u,c))}var Qbr=(e,t)=>Lt(e.key,t.key);function _ye(e,t){let r=new Set,o=Object.entries(e).reduce((i,[n,a])=>{if(n==="unknownKeyVals")return i;let u=t[n];if(u===void 0)return i;let c=(Array.isArray(a)?a:[a]).map(u.encode);return c.map(d=>or(d.key)).forEach(d=>{if(r.has(d))throw new Error("Serialize Error: Duplicate key: "+d);r.add(d)}),i.concat(c)},[]),s=e.unknownKeyVals?e.unknownKeyVals.filter(i=>!r.has(or(i.key))):[];return o.concat(s).sort(Qbr)}function EG({globalMap:e,inputs:t,outputs:r}){return{globalKeyVals:_ye(e,zk),inputKeyVals:t.map(o=>_ye(o,ea)),outputKeyVals:r.map(o=>_ye(o,bp))}}function xft(e){let t=e[0],r=EG(t),o=e.slice(1);if(o.length===0)throw new Error("Combine: Nothing to combine");let s=wft(t);if(s===void 0)throw new Error("Combine: Self missing transaction");let i=_8(r.globalKeyVals),n=r.inputKeyVals.map(_8),a=r.outputKeyVals.map(_8);for(let u of o){let c=wft(u);if(c===void 0||Lt(c.toBuffer(),s.toBuffer())!==0)throw new Error("Combine: One of the Psbts does not have the same transaction.");let d=EG(u);_8(d.globalKeyVals).forEach(Rye(i,r.globalKeyVals,d.globalKeyVals)),d.inputKeyVals.map(_8).forEach((h,y)=>h.forEach(Rye(n[y],r.inputKeyVals[y],d.inputKeyVals[y]))),d.outputKeyVals.map(_8).forEach((h,y)=>h.forEach(Rye(a[y],r.outputKeyVals[y],d.outputKeyVals[y])))}return Mye(s,{globalMapKeyVals:r.globalKeyVals,inputKeyVals:r.inputKeyVals,outputKeyVals:r.outputKeyVals})}function Rye(e,t,r){return o=>{if(e.has(o))return;let s=r.filter(i=>or(i.key)===o)[0];t.push(s),e.add(o)}}function wft(e){return e.globalMap.unsignedTx}function _8(e){let t=new Set;return e.forEach(r=>{let o=or(r.key);if(t.has(o))throw new Error("Combine: KeyValue Map keys should be unique");t.add(o)}),t}m();function ya(e,t){let r=e[t];if(r===void 0)throw new Error(`No input #${t}`);return r}function Zw(e,t){let r=e[t];if(r===void 0)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&&t.filter(o=>Lt(o.key,e.key)===0).length!==0)throw new Error(`Duplicate Key: ${or(e.key)}`)}function SG(e){let t=0;return Object.keys(e).forEach(r=>{Number(isNaN(Number(r)))&&t++}),t}function Eft(e,t){let r=!1;if(t.nonWitnessUtxo||t.witnessUtxo){let o=!!t.redeemScript,s=!!t.witnessScript,i=!o||!!t.finalScriptSig,n=!s||!!t.finalScriptWitness,a=!!t.finalScriptSig||!!t.finalScriptWitness;r=i&&n&&a}if(r===!1)throw new Error(`Input #${e} has too much or too little data to clean`)}function Aft(e,t,r,o){throw new Error(`Data for ${e} key ${t} is incorrect: Expected ${r} and got ${JSON.stringify(o)}`)}function Nye(e){return(t,r)=>{for(let o of Object.keys(t)){let s=t[o],{canAdd:i,canAddToArray:n,check:a,expected:u}=Kk[e+"s"][o]||{},c=!!n;if(a)if(c){if(!Array.isArray(s)||r[o]&&!Array.isArray(r[o]))throw new Error(`Key type ${o} must be an array`);s.every(a)||Aft(e,o,u,s);let d=r[o]||[],h=new Set;if(!s.every(y=>n(d,y,h)))throw new Error("Can not add duplicate data to array");r[o]=d.concat(s)}else{if(a(s)||Aft(e,o,u,s),!i(r,s))throw new Error(`Can not add duplicate data to ${e}`);r[o]=s}}}}var Tft=Nye("global"),Dye=Nye("input"),Uye=Nye("output");function Sft(e,t){let r=e.length-1,o=ya(e,r);Dye(t,o)}function Cft(e,t){let r=e.length-1,o=Zw(e,r);Uye(t,o)}var qk=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=kl(e);return this.fromBuffer(r,t)}static fromBuffer(e,t){let r=bft(e,t),o=new this(r.globalMap.unsignedTx);return Object.assign(o,r),o}toBase64(){let e=this.toBuffer();return xlt(e)}toHex(){let e=this.toBuffer();return or(e)}toBuffer(){return vft(this)}updateGlobal(e){return Tft(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(o=>this.addUnknownKeyValToInput(r,o)),Sft(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(o=>this.addUnknownKeyValToOutput(r,o)),Cft(this.outputs,e),this}clearFinalizedInput(e){let t=ya(this.inputs,e);Eft(e,t);for(let r of Object.keys(t))["witnessUtxo","nonWitnessUtxo","finalScriptSig","finalScriptWitness","unknownKeyVals"].includes(r)||delete t[r];return this}combine(...e){let t=xft([this].concat(e));return Object.assign(this,t),this}getTransaction(){return this.globalMap.unsignedTx.toBuffer()}};m(),m();function F2(e){return t=>{try{return e({output:t}),!0}catch{return!1}}}var Ift=F2(U2),Oft=F2(Mk),Pft=F2(Ab),jk=F2(Xw),Lye=F2(Tb),Fye=F2(Eb),Gk=F2(my);function R8(e){let t=new Uint8Array(0);function r(n){t=Bn([t,n])}function o(n){let a=t.length,u=Md(n);t=Bn([t,new Uint8Array(u)]),Df(n,t,a)}function s(n){o(n.length),r(n)}function i(n){o(n.length),n.forEach(s)}return i(e),t}function Wye(e,t){let r=Bd(e),o=e.slice(1,33),s=Ui(t);if(s===null)throw new Error("Unknown script error");return s.findIndex(i=>typeof i=="number"?!1:Lt(e,i)===0||Lt(r,i)===0||Lt(o,i)===0)}function Vk(e,t){return Wye(e,t)!==-1}function Bft(e,t){return Zbr(e).some(r=>zye(r,D2.decode,t))}function zye(e,t,r){let{hashType:o}=t(e),s=[];switch(o&bo.SIGHASH_ANYONECANPAY&&s.push("addInput"),o&31){case bo.SIGHASH_ALL:break;case bo.SIGHASH_SINGLE:case bo.SIGHASH_NONE:s.push("addOutput"),s.push("setInputSequence");break}return s.indexOf(r)===-1}function Zbr(e){let t=[];if((e.partialSig||[]).length===0){if(!e.finalScriptSig&&!e.finalScriptWitness)return[];t=$br(e)}else t=e.partialSig;return t.map(r=>r.signature)}function $br(e){let t=e.finalScriptSig?Ui(e.finalScriptSig)||[]:[],r=e.finalScriptWitness?Ui(e.finalScriptWitness)||[]:[];return t.concat(r).filter(o=>o instanceof Uint8Array&&Ml(o)).map(o=>({signature:o}))}var Jk=e=>e.length===32?e:e.slice(1,33);function jye(e,t,r){let o=dvr(t,e,r);try{let s=lvr(t,o).concat(o.script).concat(o.controlBlock);return{finalScriptWitness:R8(s)}}catch(s){throw new Error(`Can not finalize taproot input #${e}: ${s}`)}}function Xk(e,t){let r=Uint8Array.from(t?[t]:[]);return Bn([e,r])}function Lh(e){return e&&!!(e.tapInternalKey||e.tapMerkleRoot||e.tapLeafScript&&e.tapLeafScript.length||e.tapBip32Derivation&&e.tapBip32Derivation.length||e.witnessUtxo&&Gk(e.witnessUtxo.script))}function Kye(e,t){return e&&!!(e.tapInternalKey||e.tapTree||e.tapBip32Derivation&&e.tapBip32Derivation.length||t&&Gk(t))}function Gye(e,t,r){avr(e,t,r),uvr(e,t,r)}function Vye(e,t,r){cvr(e,t,r),evr(e,t)}function evr(e,t){if(!t.tapTree&&!t.tapInternalKey)return;let r=t.tapInternalKey||e.tapInternalKey,o=t.tapTree||e.tapTree;if(r){let{script:s}=e,i=tvr(r,o);if(s&&Lt(i,s)!==0)throw new Error("Error adding output. Script or address mismatch.")}}function tvr(e,t){let r=t&&rvr(t.leaves),{output:o}=my({internalPubkey:e,scriptTree:r});return o}function rvr(e=[]){return e.length===1&&e[0].depth===0?{output:e[0].script,version:e[0].leafVersion}:svr(e)}function kft(e,t){return ivr(e).some(r=>zye(r,nvr,t))}function nvr(e){return{signature:e.slice(0,64),hashType:e.slice(64)[0]||bo.SIGHASH_DEFAULT}}function ivr(e){let t=[];if(e.tapKeySig&&t.push(e.tapKeySig),e.tapScriptSig&&t.push(...e.tapScriptSig.map(r=>r.signature)),!t.length){let r=ovr(e.finalScriptWitness);r&&t.push(r)}return t}function ovr(e){if(!e)return;let t=e.slice(2);if(t.length===64||t.length===65)return t}function svr(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>rft)throw new Error("Max taptree depth exceeded.");if(e.depth===r)return t?void 0:{output:e.script,version:e.leafVersion};if(Bk(t))return;let o=qye(e,t&&t[0],r+1);if(o)return[o,t&&t[1]];let s=qye(e,t&&t[1],r+1);if(s)return[t&&t[0],s]}function avr(e,t,r){let o=Lh(e)&&N8(t),s=N8(e)&&Lh(t),i=e===t&&Lh(t)&&N8(t);if(o||s||i)throw new Error(`Invalid arguments for Psbt.${r}. Cannot use both taproot and non-taproot fields.`)}function cvr(e,t,r){let o=Kye(e)&&N8(t),s=N8(e)&&Kye(t),i=e===t&&Kye(t)&&N8(t);if(o||s||i)throw new Error(`Invalid arguments for Psbt.${r}. Cannot use both taproot and non-taproot fields.`)}function uvr(e,t,r){if(t.tapMerkleRoot){let o=(t.tapLeafScript||[]).every(i=>Hye(i,t.tapMerkleRoot)),s=(e.tapLeafScript||[]).every(i=>Hye(i,t.tapMerkleRoot));if(!o||!s)throw new Error(`Invalid arguments for Psbt.${r}. Tapleaf not part of taptree.`)}else if(e.tapMerkleRoot&&!(t.tapLeafScript||[]).every(o=>Hye(o,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}),o=Fk(e.controlBlock,r);return Lt(o,t)===0}function lvr(e,t){let r=Uh({output:t.script,version:t.leafVersion});return(e.tapScriptSig||[]).filter(o=>Lt(o.leafHash,r)===0).map(o=>fvr(t.script,o)).sort((o,s)=>s.positionInScript-o.positionInScript).map(o=>o.signature)}function fvr(e,t){return Object.assign({positionInScript:Wye(t.pubkey,e)},t)}function dvr(e,t,r){if(!e.tapScriptSig||!e.tapScriptSig.length)throw new Error(`Can not finalize taproot input #${t}. No tapleaf script signature provided.`);let o=(e.tapLeafScript||[]).sort((s,i)=>s.controlBlock.length-i.controlBlock.length).find(s=>hvr(s,e.tapScriptSig,r));if(!o)throw new Error(`Can not finalize taproot input #${t}. Signature for tapleaf script not found.`);return o}function hvr(e,t,r){let o=Uh({output:e.script,version:e.leafVersion});return(!r||Lt(o,r)===0)&&t.find(s=>Lt(s.leafHash,o)===0)!==void 0}function N8(e){return e&&!!(e.redeemScript||e.witnessScript||e.bip32Derivation&&e.bip32Derivation.length)}var pvr={network:ga,maximumFeeRate:5e3},W2=class Wf{data;static fromBase64(t,r={}){let o=oG(t);return this.fromBuffer(o,r)}static fromHex(t,r={}){let o=kl(t);return this.fromBuffer(o,r)}static fromBuffer(t,r={}){let o=qk.fromBuffer(t,gvr),s=new Wf(r,o);return wvr(s.__CACHE.__TX,s.__CACHE),s}__CACHE;opts;constructor(t={},r=new qk(new IG)){this.data=r,this.opts=Object.assign({},pvr,t),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},this.data.inputs.length===0&&this.setVersion(2);let o=(s,i,n,a)=>Object.defineProperty(s,i,{enumerable:n,writable:a});o(this,"__CACHE",!1,!0),o(this,"opts",!1,!0)}get inputCount(){return this.data.inputs.length}get version(){return this.__CACHE.__TX.version}set version(t){this.setVersion(t)}get locktime(){return this.__CACHE.__TX.locktime}set locktime(t){this.setLocktime(t)}get txInputs(){return this.__CACHE.__TX.ins.map(t=>({hash:cye(t.hash),index:t.index,sequence:t.sequence}))}get txOutputs(){return this.__CACHE.__TX.outs.map(t=>{let r;try{r=fft(t.script,this.opts.network)}catch{}return{script:cye(t.script),value:t.value,address:r}})}combine(...t){return this.data.combine(...t.map(r=>r.data)),this}clone(){let t=Wf.fromBuffer(this.data.toBuffer());return t.opts=JSON.parse(JSON.stringify(this.opts)),t}setMaximumFeeRate(t){CG(t),this.opts.maximumFeeRate=t}setVersion(t){CG(t),Yk(this.data.inputs,"setVersion");let r=this.__CACHE;return r.__TX.version=t,r.__EXTRACTED_TX=void 0,this}setLocktime(t){CG(t),Yk(this.data.inputs,"setLocktime");let r=this.__CACHE;return r.__TX.locktime=t,r.__EXTRACTED_TX=void 0,this}setInputSequence(t,r){CG(r),Yk(this.data.inputs,"setInputSequence");let o=this.__CACHE;if(o.__TX.ins.length<=t)throw new Error("Input index too high");return o.__TX.ins[t].sequence=r,o.__EXTRACTED_TX=void 0,this}addInputs(t){return t.forEach(r=>this.addInput(r)),this}addInput(t){if(arguments.length>1||!t||t.hash===void 0||t.index===void 0)throw new Error("Invalid arguments for Psbt.addInput. Requires single object with at least [hash] and [index]");Gye(t,t,"addInput"),Yk(this.data.inputs,"addInput"),t.witnessScript&&OG(t.witnessScript);let r=this.__CACHE;this.data.addInput(t);let o=r.__TX.ins[r.__TX.ins.length-1];Kft(r,o);let s=this.data.inputs.length-1,i=this.data.inputs[s];return i.nonWitnessUtxo&&Yye(this.__CACHE,i,s),r.__FEE=void 0,r.__FEE_RATE=void 0,r.__EXTRACTED_TX=void 0,this}addOutputs(t){return t.forEach(r=>this.addOutput(r)),this}addOutput(t){if(arguments.length>1||!t||t.value===void 0||t.address===void 0&&t.script===void 0)throw new Error("Invalid arguments for Psbt.addOutput. Requires single object with at least [script or address] and [value]");Yk(this.data.inputs,"addOutput");let{address:r}=t;if(typeof r=="string"){let{network:s}=this.opts,i=dft(r,s);t=Object.assign({},t,{script:i})}Vye(t,t,"addOutput");let o=this.__CACHE;return this.data.addOutput(t),o.__FEE=void 0,o.__FEE_RATE=void 0,o.__EXTRACTED_TX=void 0,this}extractTransaction(t){if(!this.data.inputs.every(Wft))throw new Error("Not finalized");let r=this.__CACHE;if(t||mvr(this,r,this.opts),r.__EXTRACTED_TX)return r.__EXTRACTED_TX;let o=r.__TX.clone();return Jft(this.data.inputs,o,r,!0),o}getFeeRate(){return Dft("__FEE_RATE","fee rate",this.data.inputs,this.__CACHE)}getFee(){return Dft("__FEE","fee",this.data.inputs,this.__CACHE)}finalizeAllInputs(){return ya(this.data.inputs,0),Qk(this.data.inputs.length).forEach(t=>this.finalizeInput(t)),this}finalizeInput(t,r){let o=ya(this.data.inputs,t);return Lh(o)?this._finalizeTaprootInput(t,o,void 0,r):this._finalizeInput(t,o,r)}finalizeTaprootInput(t,r,o=jye){let s=ya(this.data.inputs,t);if(Lh(s))return this._finalizeTaprootInput(t,s,r,o);throw new Error(`Cannot finalize input #${t}. Not Taproot.`)}_finalizeInput(t,r,o=xvr){let{script:s,isP2SH:i,isP2WSH:n,isSegwit:a}=Svr(t,r,this.__CACHE);if(!s)throw new Error(`No script found for input #${t}`);bvr(r);let{finalScriptSig:u,finalScriptWitness:c}=o(t,r,s,a,i,n);if(u&&this.data.updateInput(t,{finalScriptSig:u}),c&&this.data.updateInput(t,{finalScriptWitness:c}),!u&&!c)throw new Error(`Unknown error finalizing input #${t}`);return this.data.clearFinalizedInput(t),this}_finalizeTaprootInput(t,r,o,s=jye){if(!r.witnessUtxo)throw new Error(`Cannot finalize input #${t}. Missing withness utxo.`);if(r.tapKeySig){let i=my({output:r.witnessUtxo.script,signature:r.tapKeySig}),n=R8(i.witness);this.data.updateInput(t,{finalScriptWitness:n})}else{let{finalScriptWitness:i}=s(t,r,o);this.data.updateInput(t,{finalScriptWitness:i})}return this.data.clearFinalizedInput(t),this}getInputType(t){let r=ya(this.data.inputs,t),o=Xft(t,r,this.__CACHE),s=BG(o,t,"input",r.redeemScript||Bvr(r.finalScriptSig),r.witnessScript||kvr(r.finalScriptWitness)),i=s.type==="raw"?"":s.type+"-",n=Qft(s.meaningfulScript);return i+n}inputHasPubkey(t,r){let o=ya(this.data.inputs,t);return Ovr(r,o,t,this.__CACHE)}inputHasHDKey(t,r){let o=ya(this.data.inputs,t),s=_ft(r);return!!o.bip32Derivation&&o.bip32Derivation.some(s)}outputHasPubkey(t,r){let o=Zw(this.data.outputs,t);return Pvr(r,o,t,this.__CACHE)}outputHasHDKey(t,r){let o=Zw(this.data.outputs,t),s=_ft(r);return!!o.bip32Derivation&&o.bip32Derivation.some(s)}validateSignaturesOfAllInputs(t){return ya(this.data.inputs,0),Qk(this.data.inputs.length).map(r=>this.validateSignaturesOfInput(r,t)).reduce((r,o)=>o===!0&&r,!0)}validateSignaturesOfInput(t,r,o){let s=this.data.inputs[t];return Lh(s)?this.validateSignaturesOfTaprootInput(t,r,o):this._validateSignaturesOfInput(t,r,o)}_validateSignaturesOfInput(t,r,o){let s=this.data.inputs[t],i=(s||{}).partialSig;if(!s||!i||i.length<1)throw new Error("No signatures to validate");if(typeof r!="function")throw new Error("Need validator function to validate signatures");let n=o?i.filter(h=>Lt(h.pubkey,o)===0):i;if(n.length<1)throw new Error("No signatures for this pubkey");let a=[],u,c,d;for(let h of n){let y=D2.decode(h.signature),{hash:C,script:w}=d!==y.hashType?qft(t,Object.assign({},s,{sighashType:y.hashType}),this.__CACHE,!0):{hash:u,script:c};d=y.hashType,u=C,c=w,zft(h.pubkey,w,"verify"),a.push(r(h.pubkey,C,y.signature))}return a.every(h=>h===!0)}validateSignaturesOfTaprootInput(t,r,o){let s=this.data.inputs[t],i=(s||{}).tapKeySig,n=(s||{}).tapScriptSig;if(!s&&!i&&!(n&&!n.length))throw new Error("No signatures to validate");if(typeof r!="function")throw new Error("Need validator function to validate signatures");o=o&&Jk(o);let a=o?Xye(t,s,this.data.inputs,o,this.__CACHE):Evr(t,s,this.data.inputs,this.__CACHE);if(!a.length)throw new Error("No signatures for this pubkey");let u=a.find(d=>!d.leafHash),c=0;if(i&&u){if(!r(u.pubkey,u.hash,Lft(i)))return!1;c++}if(n)for(let d of n){let h=a.find(y=>Lt(y.pubkey,d.pubkey)===0);if(h){if(!r(d.pubkey,h.hash,Lft(d.signature)))return!1;c++}}return c>0}signAllInputsHD(t,r=[bo.SIGHASH_ALL]){if(!t||!t.publicKey||!t.fingerprint)throw new Error("Need HDSigner to sign input");let o=[];for(let s of Qk(this.data.inputs.length))try{this.signInputHD(s,t,r),o.push(!0)}catch{o.push(!1)}if(o.every(s=>s===!1))throw new Error("No inputs were signed");return this}signAllInputsHDAsync(t,r=[bo.SIGHASH_ALL]){return new Promise((o,s)=>{if(!t||!t.publicKey||!t.fingerprint)return s(new Error("Need HDSigner to sign input"));let i=[],n=[];for(let a of Qk(this.data.inputs.length))n.push(this.signInputHDAsync(a,t,r).then(()=>{i.push(!0)},()=>{i.push(!1)}));return Promise.all(n).then(()=>{if(i.every(a=>a===!1))return s(new Error("No inputs were signed"));o()})})}signInputHD(t,r,o=[bo.SIGHASH_ALL]){if(!r||!r.publicKey||!r.fingerprint)throw new Error("Need HDSigner to sign input");return Fft(t,this.data.inputs,r).forEach(s=>this.signInput(t,s,o)),this}signInputHDAsync(t,r,o=[bo.SIGHASH_ALL]){return new Promise((s,i)=>{if(!r||!r.publicKey||!r.fingerprint)return i(new Error("Need HDSigner to sign input"));let n=Fft(t,this.data.inputs,r).map(a=>this.signInputAsync(t,a,o));return Promise.all(n).then(()=>{s()}).catch(i)})}signAllInputs(t,r){if(!t||!t.publicKey)throw new Error("Need Signer to sign input");let o=[];for(let s of Qk(this.data.inputs.length))try{this.signInput(s,t,r),o.push(!0)}catch{o.push(!1)}if(o.every(s=>s===!1))throw new Error("No inputs were signed");return this}signAllInputsAsync(t,r){return new Promise((o,s)=>{if(!t||!t.publicKey)return s(new Error("Need Signer to sign input"));let i=[],n=[];for(let[a]of this.data.inputs.entries())n.push(this.signInputAsync(a,t,r).then(()=>{i.push(!0)},()=>{i.push(!1)}));return Promise.all(n).then(()=>{if(i.every(a=>a===!1))return s(new Error("No inputs were signed"));o()})})}signInput(t,r,o){if(!r||!r.publicKey)throw new Error("Need Signer to sign input");let s=ya(this.data.inputs,t);return Lh(s)?this._signTaprootInput(t,s,r,void 0,o):this._signInput(t,r,o)}signTaprootInput(t,r,o,s){if(!r||!r.publicKey)throw new Error("Need Signer to sign input");let i=ya(this.data.inputs,t);if(Lh(i))return this._signTaprootInput(t,i,r,o,s);throw new Error(`Input #${t} is not of type Taproot.`)}_signInput(t,r,o=[bo.SIGHASH_ALL]){let{hash:s,sighashType:i}=Uft(this.data.inputs,t,r.publicKey,this.__CACHE,o),n=[{pubkey:r.publicKey,signature:D2.encode(r.sign(s),i)}];return this.data.updateInput(t,{partialSig:n}),this}_signTaprootInput(t,r,o,s,i=[bo.SIGHASH_DEFAULT]){let n=this.checkTaprootHashesForSig(t,r,o,s,i),a=n.filter(c=>!c.leafHash).map(c=>Xk(o.signSchnorr(c.hash),r.sighashType))[0],u=n.filter(c=>!!c.leafHash).map(c=>({pubkey:Jk(o.publicKey),signature:Xk(o.signSchnorr(c.hash),r.sighashType),leafHash:c.leafHash}));return a&&this.data.updateInput(t,{tapKeySig:a}),u.length&&this.data.updateInput(t,{tapScriptSig:u}),this}signInputAsync(t,r,o){return Promise.resolve().then(()=>{if(!r||!r.publicKey)throw new Error("Need Signer to sign input");let s=ya(this.data.inputs,t);return Lh(s)?this._signTaprootInputAsync(t,s,r,void 0,o):this._signInputAsync(t,r,o)})}signTaprootInputAsync(t,r,o,s){return Promise.resolve().then(()=>{if(!r||!r.publicKey)throw new Error("Need Signer to sign input");let i=ya(this.data.inputs,t);if(Lh(i))return this._signTaprootInputAsync(t,i,r,o,s);throw new Error(`Input #${t} is not of type Taproot.`)})}_signInputAsync(t,r,o=[bo.SIGHASH_ALL]){let{hash:s,sighashType:i}=Uft(this.data.inputs,t,r.publicKey,this.__CACHE,o);return Promise.resolve(r.sign(s)).then(n=>{let a=[{pubkey:r.publicKey,signature:D2.encode(n,i)}];this.data.updateInput(t,{partialSig:a})})}async _signTaprootInputAsync(t,r,o,s,i=[bo.SIGHASH_DEFAULT]){let n=this.checkTaprootHashesForSig(t,r,o,s,i),a=[],u=n.filter(d=>!d.leafHash)[0];if(u){let d=Promise.resolve(o.signSchnorr(u.hash)).then(h=>({tapKeySig:Xk(h,r.sighashType)}));a.push(d)}let c=n.filter(d=>!!d.leafHash);if(c.length){let d=c.map(h=>Promise.resolve(o.signSchnorr(h.hash)).then(y=>({tapScriptSig:[{pubkey:Jk(o.publicKey),signature:Xk(y,r.sighashType),leafHash:h.leafHash}]})));a.push(...d)}return Promise.all(a).then(d=>{d.forEach(h=>this.data.updateInput(t,h))})}checkTaprootHashesForSig(t,r,o,s,i){if(typeof o.signSchnorr!="function")throw new Error(`Need Schnorr Signer to sign taproot input #${t}.`);let n=Xye(t,r,this.data.inputs,o.publicKey,this.__CACHE,s,i);if(!n||!n.length)throw new Error(`Can not sign for input #${t} with the key ${or(o.publicKey)}`);return n}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(t){return this.data.updateGlobal(t),this}updateInput(t,r){return r.witnessScript&&OG(r.witnessScript),Gye(this.data.inputs[t],r,"updateInput"),this.data.updateInput(t,r),r.nonWitnessUtxo&&Yye(this.__CACHE,this.data.inputs[t],t),this}updateOutput(t,r){let o=this.data.outputs[t];return Vye(o,r,"updateOutput"),this.data.updateOutput(t,r),this}addUnknownKeyValToGlobal(t){return this.data.addUnknownKeyValToGlobal(t),this}addUnknownKeyValToInput(t,r){return this.data.addUnknownKeyValToInput(t,r),this}addUnknownKeyValToOutput(t,r){return this.data.addUnknownKeyValToOutput(t,r),this}clearFinalizedInput(t){return this.data.clearFinalizedInput(t),this}},gvr=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),vvr(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(e.hash===void 0||e.index===void 0||!(e.hash instanceof Uint8Array)&&typeof e.hash!="string"||typeof e.index!="number")throw new Error("Error adding input.");let t=typeof e.hash=="string"?k8(kl(e.hash)):e.hash;this.tx.addInput(t,e.index,e.sequence)}addOutput(e){if(e.script===void 0||e.value===void 0||!(e.script instanceof Uint8Array)||typeof e.value!="bigint")throw new Error("Error adding output.");this.tx.addOutput(e.script,e.value)}toBuffer(){return this.tx.toBuffer()}};function yvr(e,t,r){switch(r){case"pubkey":case"pubkeyhash":case"witnesspubkeyhash":return Mft(1,e.partialSig);case"multisig":let o=U2({output:t});return Mft(o.m,e.partialSig,o.pubkeys);default:return!1}}function Jye(e){if(e.__UNSAFE_SIGN_NONSEGWIT!==!1)throw new Error("Not BIP174 compliant, can not export")}function Mft(e,t,r){if(!t)return!1;let o;if(r?o=r.map(s=>{let i=Mvr(s);return t.find(n=>Lt(n.pubkey,i)===0)}).filter(s=>!!s):o=t,o.length>e)throw new Error("Too many signatures");return o.length===e}function Wft(e){return!!e.finalScriptSig||!!e.finalScriptWitness}function _ft(e){return t=>!(Lt(e.fingerprint,t.masterFingerprint)||Lt(e.derivePath(t.path).publicKey,t.pubkey))}function CG(e){if(typeof e!="number"||e!==Math.floor(e)||e>4294967295||e<0)throw new Error("Invalid 32 bit integer")}function mvr(e,t,r){let o=t.__FEE_RATE||e.getFeeRate(),s=t.__EXTRACTED_TX.virtualSize(),i=o*s;if(o>=r.maximumFeeRate)throw new Error(`Warning: You are paying around ${(i/1e8).toFixed(8)} in fees, which is ${o} satoshi per byte for a transaction with a VSize of ${s} 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 Yk(e,t){e.forEach(r=>{if(Lh(r)?kft(r,t):Bft(r,t))throw new Error("Can not modify transaction, signatures exist.")})}function bvr(e){if(!e.sighashType||!e.partialSig)return;let{partialSig:t,sighashType:r}=e;t.forEach(o=>{let{hashType:s}=D2.decode(o.signature);if(r!==s)throw new Error("Signature sighash does not match input sighash type")})}function zft(e,t,r){if(!Vk(e,t))throw new Error(`Can not ${r} for this input with the key ${or(e)}`)}function vvr(e){if(!e.ins.every(t=>t.script&&t.script.length===0&&t.witness&&t.witness.length===0))throw new Error("Format Error: Transaction ScriptSigs are not empty")}function wvr(e,t){e.ins.forEach(r=>{Kft(t,r)})}function Kft(e,t){let r=or(k8(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 Hft(e,t){return(r,o,s,i)=>{let n=e({redeem:{output:s}}).output;if(Lt(o,n))throw new Error(`${t} for ${i} #${r} doesn't match the scriptPubKey in the prevout`)}}var Rft=Hft(Eb,"Redeem script"),Nft=Hft(Tb,"Witness script");function Dft(e,t,r,o){if(!r.every(Wft))throw new Error(`PSBT must be finalized to calculate ${t}`);if(e==="__FEE_RATE"&&o.__FEE_RATE)return o.__FEE_RATE;if(e==="__FEE"&&o.__FEE)return o.__FEE;let s,i=!0;if(o.__EXTRACTED_TX?(s=o.__EXTRACTED_TX,i=!1):s=o.__TX.clone(),Jft(r,s,o,i),e==="__FEE_RATE")return o.__FEE_RATE;if(e==="__FEE")return o.__FEE}function xvr(e,t,r,o,s,i){let n=Qft(r);if(!yvr(t,r,n))throw new Error(`Can not finalize input #${e}`);return Avr(r,n,t.partialSig,o,s,i)}function Avr(e,t,r,o,s,i){let n,a,u=Tvr(e,t,r),c=i?Tb({redeem:u}):null,d=s?Eb({redeem:c||u}):null;return o?(c?a=R8(c.witness):a=R8(u.witness),d&&(n=d.input)):d?n=d.input:n=u.input,{finalScriptSig:n,finalScriptWitness:a}}function Uft(e,t,r,o,s){let i=ya(e,t),{hash:n,sighashType:a,script:u}=qft(t,i,o,!1,s);return zft(r,u,"sign"),{hash:n,sighashType:a}}function qft(e,t,r,o,s){let i=r.__TX,n=t.sighashType||bo.SIGHASH_ALL;Gft(n,s);let a,u;if(t.nonWitnessUtxo){let h=PG(r,t,e),y=i.ins[e].hash,C=h.getHash();if(Lt(y,C)!==0)throw new Error(`Non-witness UTXO hash for input #${e} doesn't match the hash specified in the prevout`);let w=i.ins[e].index;u=h.outs[w]}else if(t.witnessUtxo)u=t.witnessUtxo;else throw new Error("Need a Utxo input item for signing");let{meaningfulScript:c,type:d}=BG(u.script,e,"input",t.redeemScript,t.witnessScript);if(["p2sh-p2wsh","p2wsh"].indexOf(d)>=0)a=i.hashForWitnessV0(e,c,u.value,n);else if(jk(c)){let h=Ab({hash:c.slice(2)}).output;a=i.hashForWitnessV0(e,h,u.value,n)}else{if(t.nonWitnessUtxo===void 0&&r.__UNSAFE_SIGN_NONSEGWIT===!1)throw new Error(`Input #${e} has witnessUtxo but non-segwit script: ${or(c)}`);!o&&r.__UNSAFE_SIGN_NONSEGWIT!==!1&&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.
*********************
PROCEED WITH CAUTION!
*********************`),a=i.hashForSignature(e,c,n)}return{script:c,sighashType:n,hash:a}}function Evr(e,t,r,o){let s=[];if(t.tapInternalKey){let i=jft(e,t,o);i&&s.push(i)}if(t.tapScriptSig){let i=t.tapScriptSig.map(n=>n.pubkey);s.push(...i)}return s.map(i=>Xye(e,t,r,i,o)).flat()}function jft(e,t,r){let{script:o}=Qye(e,t,r);return Gk(o)?o.subarray(2,34):null}function Lft(e){return e.length===64?e:e.subarray(0,64)}function Xye(e,t,r,o,s,i,n){let a=s.__TX,u=t.sighashType||bo.SIGHASH_DEFAULT;Gft(u,n);let c=r.map((w,T)=>Qye(T,w,s)),d=c.map(w=>w.script),h=c.map(w=>w.value),y=[];if(t.tapInternalKey&&!i){let w=jft(e,t,s)||Uint8Array.from([]);if(Lt(Jk(o),w)===0){let T=a.hashForWitnessV1(e,d,h,u);y.push({pubkey:o,hash:T})}}let C=(t.tapLeafScript||[]).filter(w=>Vk(o,w.script)).map(w=>{let T=Uh({output:w.script,version:w.leafVersion});return Object.assign({hash:T},w)}).filter(w=>!i||Lt(i,w.hash)===0).map(w=>{let T=a.hashForWitnessV1(e,d,h,u,w.hash);return{pubkey:o,hash:T,leafHash:w.hash}});return y.concat(C)}function Gft(e,t){if(t&&t.indexOf(e)<0){let r=Ivr(e);throw new Error(`Sighash type is not allowed. Retry the sign method passing the sighashTypes array of whitelisted types. Sighash type: ${r}`)}}function Tvr(e,t,r){let o;switch(t){case"multisig":let s=Cvr(e,r);o=U2({output:e,signatures:s});break;case"pubkey":o=Mk({output:e,signature:r[0].signature});break;case"pubkeyhash":o=Ab({output:e,pubkey:r[0].pubkey,signature:r[0].signature});break;case"witnesspubkeyhash":o=Xw({output:e,pubkey:r[0].pubkey,signature:r[0].signature});break}return o}function Svr(e,t,r){let o=r.__TX,s={script:null,isSegwit:!1,isP2SH:!1,isP2WSH:!1};if(s.isP2SH=!!t.redeemScript,s.isP2WSH=!!t.witnessScript,t.witnessScript)s.script=t.witnessScript;else if(t.redeemScript)s.script=t.redeemScript;else if(t.nonWitnessUtxo){let i=PG(r,t,e),n=o.ins[e].index;s.script=i.outs[n].script}else t.witnessUtxo&&(s.script=t.witnessUtxo.script);return(t.witnessScript||jk(s.script))&&(s.isSegwit=!0),s}function Fft(e,t,r){let o=ya(t,e);if(!o.bip32Derivation||o.bip32Derivation.length===0)throw new Error("Need bip32Derivation to sign with HD");let s=o.bip32Derivation.map(i=>{if(Lt(i.masterFingerprint,r.fingerprint)===0)return i}).filter(i=>!!i);if(s.length===0)throw new Error("Need one bip32Derivation masterFingerprint to match the HDSigner fingerprint");return s.map(i=>{let n=r.derivePath(i.path);if(Lt(i.pubkey,n.publicKey)!==0)throw new Error("pubkey did not match bip32Derivation");return n})}function Cvr(e,t){return U2({output:e}).pubkeys.map(r=>(t.filter(o=>Lt(o.pubkey,r)===0)[0]||{}).signature).filter(r=>!!r)}function Vft(e){let t=0;function r(n){return t+=n,e.slice(t-n,t)}function o(){let n=kd(e,t);return t+=Md(n.bigintValue),n.numberValue}function s(){return r(o())}function i(){let n=o(),a=[];for(let u=0;u<n;u++)a.push(s());return a}return i()}function Ivr(e){let t=e&bo.SIGHASH_ANYONECANPAY?"SIGHASH_ANYONECANPAY | ":"";switch(e&31){case bo.SIGHASH_ALL:t+="SIGHASH_ALL";break;case bo.SIGHASH_SINGLE:t+="SIGHASH_SINGLE";break;case bo.SIGHASH_NONE:t+="SIGHASH_NONE";break}return t}function Yye(e,t,r){e.__NON_WITNESS_UTXO_BUF_CACHE[r]=t.nonWitnessUtxo;let o=bo.fromBuffer(t.nonWitnessUtxo);e.__NON_WITNESS_UTXO_TX_CACHE[r]=o;let s=e,i=r;delete t.nonWitnessUtxo,Object.defineProperty(t,"nonWitnessUtxo",{enumerable:!0,get(){let n=s.__NON_WITNESS_UTXO_BUF_CACHE[i],a=s.__NON_WITNESS_UTXO_TX_CACHE[i];if(n!==void 0)return n;{let u=a.toBuffer();return s.__NON_WITNESS_UTXO_BUF_CACHE[i]=u,u}},set(n){s.__NON_WITNESS_UTXO_BUF_CACHE[i]=n}})}function Jft(e,t,r,o){let s=0n;e.forEach((u,c)=>{if(o&&u.finalScriptSig&&(t.ins[c].script=u.finalScriptSig),o&&u.finalScriptWitness&&(t.ins[c].witness=Vft(u.finalScriptWitness)),u.witnessUtxo)s+=u.witnessUtxo.value;else if(u.nonWitnessUtxo){let d=PG(r,u,c),h=t.ins[c].index,y=d.outs[h];s+=y.value}});let i=t.outs.reduce((u,c)=>u+c.value,0n),n=s-i;if(n<0)throw new Error("Outputs are spending more than Inputs");let a=t.virtualSize();r.__FEE=n,r.__EXTRACTED_TX=t,r.__FEE_RATE=Math.floor(Number(n/BigInt(a)))}function PG(e,t,r){let o=e.__NON_WITNESS_UTXO_TX_CACHE;return o[r]||Yye(e,t,r),o[r]}function Xft(e,t,r){let{script:o}=Qye(e,t,r);return o}function Qye(e,t,r){if(t.witnessUtxo!==void 0)return{script:t.witnessUtxo.script,value:t.witnessUtxo.value};if(t.nonWitnessUtxo!==void 0){let o=PG(r,t,e).outs[r.__TX.ins[e].index];return{script:o.script,value:o.value}}else throw new Error("Can't find pubkey in input without Utxo data")}function Ovr(e,t,r,o){let s=Xft(r,t,o),{meaningfulScript:i}=BG(s,r,"input",t.redeemScript,t.witnessScript);return Vk(e,i)}function Pvr(e,t,r,o){let s=o.__TX.outs[r].script,{meaningfulScript:i}=BG(s,r,"output",t.redeemScript,t.witnessScript);return Vk(e,i)}function Bvr(e){if(!e)return;let t=Ui(e);if(!t)return;let r=t[t.length-1];if(!(!(r instanceof Uint8Array)||Yft(r)||_vr(r)||!Ui(r)))return r}function kvr(e){if(!e)return;let t=Vft(e),r=t[t.length-1];if(!(Yft(r)||!Ui(r)))return r}function Mvr(e){if(e.length===65){let t=e[64]&1,r=e.slice(0,33);return r[0]=2|t,r}return e.slice()}function Yft(e){return e.length===33&&Klt(e)}function _vr(e){return Ml(e)}function BG(e,t,r,o,s){let i=Fye(e),n=i&&o&&Lye(o),a=Lye(e);if(i&&o===void 0)throw new Error("scriptPubkey is P2SH but redeemScript missing");if((a||n)&&s===void 0)throw new Error("scriptPubkey or redeemScript is P2WSH but witnessScript missing");let u;return n?(u=s,Rft(t,e,o,r),Nft(t,o,s,r),OG(u)):a?(u=s,Nft(t,e,s,r),OG(u)):i?(u=o,Rft(t,e,o,r)):u=e,{meaningfulScript:u,type:n?"p2sh-p2wsh":i?"p2sh":a?"p2wsh":"raw"}}function OG(e){if(jk(e)||Fye(e))throw new Error("P2WPKH or P2SH can not be contained within P2WSH")}function Qft(e){return jk(e)?"witnesspubkeyhash":Pft(e)?"pubkeyhash":Ift(e)?"multisig":Oft(e)?"pubkey":"nonstandard"}function Qk(e){return[...Array(e).keys()]}var $ft=hi(yg());m();var Zft=e=>{let t=e;return/^[0-9a-fA-F]+$/.test(e)||(t=W2.fromBase64(e).toHex()),t},Zye=class Ff 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?Mu(this.universalProvider.session,"bitcoin"):null}constructor(){super()}static init(t){return this.initialized?this.provider:(this.provider=new Ff,this.provider.setupClient(t),Ff.initialized=!0,this.provider)}setupClient(t){if(this.client){this.logger.info("client already initialized");return}let r=t.getClient();r&&(this.client=new $ft.OKXBtcProvider(r),this.universalProvider=t,console.log("btcProvider - setupClient: ",this.client,this.universalProvider))}async request(t){return this.universalProvider?await Fr(this.universalProvider.request(t,"bitcoin")):Promise.reject("Universal provider is not initialized")}async connect(){return await Fr(this.universalProvider?.connect())}async disconnect(){await Fr(this.universalProvider?.disconnect())}getAccount(t){if(!this.client)throw new Lo("Client not initialized",4900);return this.client.getAccount(t)}async signMessage(t,r,o){if(!this.client){this.logger.error("client not initialized");return}return await Fr(this.client.signMessage(t,r,o))}async send(t,r){if(!this.client||this.defaultChainId===void 0){this.logger.error("client not initialized");return}return await Fr(this.client.send(t,r))}async sendBitcoin(t,r,o,s){if(!this.client){this.logger.error("client not initialized");return}return await Fr(this.client.sendBitcoin(t,r,o,s))}async signPsbt(t,r,o){if(!this.client)throw this.logger.error("client not initialized"),new Lo("Client not initialized",4900);return await Fr(this.client.signPsbt(t,r,o))}async signPsbts(t,r,o){if(!this.client)throw this.logger.error("client not initialized"),new Lo("Client not initialized",4900);return await Fr(this.client.signPsbts(t,r,o??[]))}async signAndPushPsbt(t,r,o){if(!this.client)throw this.logger.error("client not initialized"),new Lo("Client not initialized",4900);return await Fr(this.client.signAndPushPsbt(t,r,o))}async sendInscription(t,r,o,s){if(!this.client||this.defaultChainId===void 0){this.logger.error("client not initialized");return}return await Fr(this.client.sendInscription(t,r,o,s))}async pushPsbt(t,r){if(!this.client){this.logger.error("client not initialized");return}let o=Zft(r);if(!o){this.logger.error("Invalid psbt hex");return}let s=W2.fromHex(o).extractTransaction().toHex();return console.log("signedTx: ",s),await this.sendRawTransaction(t,s)}async sendRawTransaction(t,r){return this.client?await this.handleRpcRequest({method:"sendrawtransaction",params:[r]},t):(this.logger.error("client not initialized"),Promise.reject("Client not initialized"))}parseResponse(t){}async handleRpcRequest(t,r){return this.universalProvider?await Fr((async(o,s)=>{let i={jsonrpc:s.jsonrpc||"2.0",id:s.id||1,method:s.method,params:s.params};return(await fetch(o,{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(i),method:"POST",mode:"cors"})).json()})(r===CT?"https://wallet.okx.com/fullnode/btc/okxconnect/rpc":"https://wallet.okx.com/fullnode/fractal/discover/rpc",t)):Promise.reject("Universal provider is not initialized")}},edt=Zye;m(),m(),m();var Dvr=hi(rdt(),1),MG;(function(e){e.Loading="Loading",e.NotFound="NotFound",e.Found="Found"})(MG||(MG={}));var ndt;(function(e){e.Loading="Loading",e.NotFound="NotFound",e.Disconnect="Disconnected",e.Connected="Connected"})(ndt||(ndt={})),m(),m();var ixe={};Vr(ixe,{generateAccount:()=>UBr,generateAccountWithMnemonic:()=>FBr,generateRandom:()=>LBr}),m();var tme={};Vr(tme,{base64DecodeFromString:()=>Sb,base64EncodeToString:()=>eM,byte2hexStr:()=>D8,byteArray2hexStr:()=>qa,bytesToString:()=>_G,hextoString:()=>eme}),m(),m();var Xu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",$k=class{encode(e){let t="",r,o,s,i,n,a,u,c=0;for(;c<e.length;)r=e.charCodeAt(c++),o=e.charCodeAt(c++),s=e.charCodeAt(c++),i=r>>2,n=(r&3)<<4|o>>4,a=(o&15)<<2|s>>6,u=s&63,isNaN(o)?a=u=64:isNaN(s)&&(u=64),t=t+Xu.charAt(i)+Xu.charAt(n)+Xu.charAt(a)+Xu.charAt(u);return t}encodeIgnoreUtf8(e){let t="",r,o,s,i,n,a,u,c=0;for(;c<e.length;)r=e[c++],o=e[c++],s=e[c++],i=r>>2,n=(r&3)<<4|o>>4,a=(o&15)<<2|s>>6,u=s&63,isNaN(o)?a=u=64:isNaN(s)&&(u=64),t=t+Xu.charAt(i)+Xu.charAt(n)+Xu.charAt(a)+Xu.charAt(u);return t}decode(e){let t="",r,o,s,i,n,a,u,c=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");c<e.length;)i=Xu.indexOf(e.charAt(c++)),n=Xu.indexOf(e.charAt(c++)),a=Xu.indexOf(e.charAt(c++)),u=Xu.indexOf(e.charAt(c++)),r=i<<2|n>>4,o=(n&15)<<4|a>>2,s=(a&3)<<6|u,t=t+String.fromCharCode(r),a!=64&&(t=t+String.fromCharCode(o)),u!=64&&(t=t+String.fromCharCode(s));return this._utf8_decode(t)}decodeToByteArray(e){let t="",r,o,s,i,n,a,u,c=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");c<e.length;)i=Xu.indexOf(e.charAt(c++)),n=Xu.indexOf(e.charAt(c++)),a=Xu.indexOf(e.charAt(c++)),u=Xu.indexOf(e.charAt(c++)),r=i<<2|n>>4,o=(n&15)<<4|a>>2,s=(a&3)<<6|u,t=t+String.fromCharCode(r),a!=64&&(t=t+String.fromCharCode(o)),u!=64&&(t=t+String.fromCharCode(s));return this._out2ByteArray(t)}_out2ByteArray(e){let t=new Array(e.length),r=0,o=0;for(;r<e.length;)o=e.charCodeAt(r),t[r]=o,r++;return t}_utf8_encode(e){e=e.replace(/\r\n/g,`
`);let t="";for(let r=0;r<e.length;r++){let o=e.charCodeAt(r);o<128?t+=String.fromCharCode(o):o>127&&o<2048?(t+=String.fromCharCode(o>>6|192),t+=String.fromCharCode(o&63|128)):(t+=String.fromCharCode(o>>12|224),t+=String.fromCharCode(o>>6&63|128),t+=String.fromCharCode(o&63|128))}return t}_utf8_decode(e){let t="",r=0,o=0,s=0,i=0;for(;r<e.length;)o=e.charCodeAt(r),o<128?(t+=String.fromCharCode(o),r++):o>191&&o<224?(s=e.charCodeAt(r+1),t+=String.fromCharCode((o&31)<<6|s&63),r+=2):(s=e.charCodeAt(r+1),i=e.charCodeAt(r+2),t+=String.fromCharCode((o&15)<<12|(s&63)<<6|i&63),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(e&15),r}function _G(e){let t="";for(let r=0;r<e.length;r++){let o=e[r].toString(2),s=o.match(/^1+?(?=0)/);if(s&&o.length===8){let i=s[0].length,n=e[r].toString(2).slice(7-i);for(let a=1;a<i;a++)n+=e[a+r].toString(2).slice(2);t+=String.fromCharCode(parseInt(n,2)),r+=i-1}else t+=String.fromCharCode(e[r])}return t}function eme(e){let t=e.replace(/^0x/,"").split(""),r="";for(let o=0;o<t.length/2;o++){let s=`0x${t[o*2]}${t[o*2+1]}`;r+=String.fromCharCode(parseInt(s))}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 $k().decodeToByteArray(e)}function eM(e){return new $k().encodeIgnoreUtf8(e)}var nxe={};Vr(nxe,{ECKeySign:()=>rxe,SHA256:()=>Oy,_signTypedData:()=>PBr,arrayToBase64String:()=>IBr,computeAddress:()=>ZR,decode58Check:()=>kBr,decodeBase58Address:()=>G1e,ecRecover:()=>CJ,genPriKey:()=>txe,getAddressFromPriKey:()=>$R,getAddressFromPriKeyBase64String:()=>RBr,getBase58CheckAddress:()=>Ip,getBase58CheckAddressFromPriKeyBase64String:()=>MBr,getHexStrAddressFromPriKeyBase64String:()=>_Br,getPubKeyFromPriKey:()=>xT,getRowBytesFromTransactionBase64:()=>BBr,isAddressValid:()=>V1e,passwordToAddress:()=>NBr,pkToAddress:()=>hC,sha3:()=>Fwe,signBytes:()=>OBr,signTransaction:()=>CBr}),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:()=>Byt,fromHex:()=>K1e,fromPrivateKey:()=>q1e,isAddress:()=>cT,isChecksumAddress:()=>H1e,toChecksumAddress:()=>YV,toHex:()=>xr}),m();var nme={};Vr(nme,{arrayEquals:()=>Lvr,base64DecodeFromString:()=>Sb,base64EncodeToString:()=>eM,bin2String:()=>Uvr,byte2hexStr:()=>D8,byteArray2hexStr:()=>qa,bytesToString:()=>_G,getStringType:()=>zvr,hexChar2byte:()=>idt,hexStr2byteArray:()=>eu,hextoString:()=>eme,isHexChar:()=>rme,isNumber:()=>odt,strToDate:()=>Wvr,stringToBytes:()=>Fvr}),m();function Uvr(e){return _G(e)}function Lvr(e,t,r=!1){if(e.length!=t.length)return!1;for(let o=0;o<e.length;o++)if(r){if(e[o]!=t[o])return!1}else if(JSON.stringify(e[o])!=JSON.stringify(t[o]))return!1;return!0}function Fvr(e){let t=[],r=e.length,o;for(let s=0;s<r;s++)o=e.charCodeAt(s),o>=65536&&o<=1114111?(t.push(o>>18&7|240),t.push(o>>12&63|128),t.push(o>>6&63|128),t.push(o&63|128)):o>=2048&&o<=65535?(t.push(o>>12&15|224),t.push(o>>6&63|128),t.push(o&63|128)):o>=128&&o<=2047?(t.push(o>>6&31|192),t.push(o&63|128)):t.push(o&255);return t}function idt(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),typeof t=="number")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 o=[],s=0,i=0,n=0;for(let a=0;a<r;a++){let u=e.charAt(a);if(rme(u))s<<=4,s+=idt(u),i++,i%2===0&&(o[n++]=s,s=0);else throw new Error("The passed hex char is not a valid hex string")}return o}function Wvr(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("-"),o=parseInt(r[0],10),s=parseInt(r[1],10)-1,i=parseInt(r[2],10);if(t.length>1){let n=t[1].split("-"),a=parseInt(n[0],10),u=parseInt(n[1],10),c=parseInt(n[2],10);return new Date(o,s,i,a,u,c)}return new Date(o,s,i)}function odt(e){return e>="0"&&e<="9"?1:0}function zvr(e){if(e==null||e.length==0||e=="")return-1;let t=0;if(e.length==40)for(;t<40;t++){let r=e.charAt(t);if(!rme(r))break}if(t==40)return 1;for(t=0;t<e.length;t++){let r=e.charAt(t);if(!odt(r))break}if(t==e.length)return 2;for(t=0;t<e.length;t++)if(e.charAt(t)>" ")return 3;return-1}var Mve={};Vr(Mve,{hasProperties:()=>kve,hasProperty:()=>npt,isArray:()=>H2,isBigNumber:()=>q4r,isBoolean:()=>Bve,isFunction:()=>j4r,isHex:()=>Ib,isInteger:()=>Ay,isJson:()=>H4r,isNotNullOrUndefined:()=>ru,isObject:()=>tx,isString:()=>ja,isValidURL:()=>nR,mapEvent:()=>G4r,padLeft:()=>J4r,parseEvent:()=>V4r,sleep:()=>X4r}),m(),m();var Kvr=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,ime=Math.ceil,Wh=Math.floor,Lf="[BigNumber Error] ",sdt=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 adt(e){var t,r,o,s=v.prototype={constructor:v,toString:null,valueOf:null},i=new v(1),n=20,a=4,u=-7,c=21,d=-1e7,h=1e7,y=!1,C=1,w=0,T={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xA0",suffix:""},A="0123456789abcdefghijklmnopqrstuvwxyz",O=!0;function v(L,H){var F,G,l,p,E,g,b,k,x=this;if(!(x instanceof v))return new v(L,H);if(H==null){if(L&&L._isBigNumber===!0){x.s=L.s,!L.c||L.e>h?x.c=x.e=null:L.e<d?x.c=[x.e=0]:(x.e=L.e,x.c=L.c.slice());return}if((g=typeof L=="number")&&L*0==0){if(x.s=1/L<0?(L=-L,-1):1,L===~~L){for(p=0,E=L;E>=10;E/=10,p++);p>h?x.c=x.e=null:(x.e=p,x.c=[L]);return}k=String(L)}else{if(!Kvr.test(k=String(L)))return o(x,k,g);x.s=k.charCodeAt(0)==45?(k=k.slice(1),-1):1}(p=k.indexOf("."))>-1&&(k=k.replace(".","")),(E=k.search(/e/i))>0?(p<0&&(p=E),p+=+k.slice(E+1),k=k.substring(0,E)):p<0&&(p=k.length)}else{if(gs(H,2,A.length,"Base"),H==10&&O)return x=new v(L),N(x,n+x.e+1,a);if(k=String(L),g=typeof L=="number"){if(L*0!=0)return o(x,k,g,H);if(x.s=1/L<0?(k=k.slice(1),-1):1,v.DEBUG&&k.replace(/^0\.0*|\./,"").length>15)throw Error(sdt+L)}else x.s=k.charCodeAt(0)===45?(k=k.slice(1),-1):1;for(F=A.slice(0,H),p=E=0,b=k.length;E<b;E++)if(F.indexOf(G=k.charAt(E))<0){if(G=="."){if(E>p){p=b;continue}}else if(!l&&(k==k.toUpperCase()&&(k=k.toLowerCase())||k==k.toLowerCase()&&(k=k.toUpperCase()))){l=!0,E=-1,p=0;continue}return o(x,String(L),g,H)}g=!1,k=r(k,H,10,x.s),(p=k.indexOf("."))>-1?k=k.replace(".",""):p=k.length}for(E=0;k.charCodeAt(E)===48;E++);for(b=k.length;k.charCodeAt(--b)===48;);if(k=k.slice(E,++b)){if(b-=E,g&&v.DEBUG&&b>15&&(L>ome||L!==Wh(L)))throw Error(sdt+x.s*L);if((p=p-E-1)>h)x.c=x.e=null;else if(p<d)x.c=[x.e=0];else{if(x.e=p,x.c=[],E=(p+1)%wn,p<0&&(E+=wn),E<b){for(E&&x.c.push(+k.slice(0,E)),b-=wn;E<b;)x.c.push(+k.slice(E,E+=wn));E=wn-(k=k.slice(E)).length}else E-=b;for(;E--;k+="0");x.c.push(+k)}}else x.c=[x.e=0]}v.clone=adt,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(L){var H,F;if(L!=null)if(typeof L=="object"){if(L.hasOwnProperty(H="DECIMAL_PLACES")&&(F=L[H],gs(F,0,Tc,H),n=F),L.hasOwnProperty(H="ROUNDING_MODE")&&(F=L[H],gs(F,0,8,H),a=F),L.hasOwnProperty(H="EXPONENTIAL_AT")&&(F=L[H],F&&F.pop?(gs(F[0],-Tc,0,H),gs(F[1],0,Tc,H),u=F[0],c=F[1]):(gs(F,-Tc,Tc,H),u=-(c=F<0?-F:F))),L.hasOwnProperty(H="RANGE"))if(F=L[H],F&&F.pop)gs(F[0],-Tc,-1,H),gs(F[1],1,Tc,H),d=F[0],h=F[1];else if(gs(F,-Tc,Tc,H),F)d=-(h=F<0?-F:F);else throw Error(Lf+H+" cannot be zero: "+F);if(L.hasOwnProperty(H="CRYPTO"))if(F=L[H],F===!!F)if(F)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))y=F;else throw y=!F,Error(Lf+"crypto unavailable");else y=F;else throw Error(Lf+H+" not true or false: "+F);if(L.hasOwnProperty(H="MODULO_MODE")&&(F=L[H],gs(F,0,9,H),C=F),L.hasOwnProperty(H="POW_PRECISION")&&(F=L[H],gs(F,0,Tc,H),w=F),L.hasOwnProperty(H="FORMAT"))if(F=L[H],typeof F=="object")T=F;else throw Error(Lf+H+" not an object: "+F);if(L.hasOwnProperty(H="ALPHABET"))if(F=L[H],typeof F=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(F))O=F.slice(0,10)=="0123456789",A=F;else throw Error(Lf+H+" invalid: "+F)}else throw Error(Lf+"Object expected: "+L);return{DECIMAL_PLACES:n,ROUNDING_MODE:a,EXPONENTIAL_AT:[u,c],RANGE:[d,h],CRYPTO:y,MODULO_MODE:C,POW_PRECISION:w,FORMAT:T,ALPHABET:A}},v.isBigNumber=function(L){if(!L||L._isBigNumber!==!0)return!1;if(!v.DEBUG)return!0;var H,F,G=L.c,l=L.e,p=L.s;e:if({}.toString.call(G)=="[object Array]"){if((p===1||p===-1)&&l>=-Tc&&l<=Tc&&l===Wh(l)){if(G[0]===0){if(l===0&&G.length===1)return!0;break e}if(H=(l+1)%wn,H<1&&(H+=wn),String(G[0]).length==H){for(H=0;H<G.length;H++)if(F=G[H],F<0||F>=vp||F!==Wh(F))break e;if(F!==0)return!0}}}else if(G===null&&l===null&&(p===null||p===1||p===-1))return!0;throw Error(Lf+"Invalid BigNumber: "+L)},v.maximum=v.max=function(){return R(arguments,-1)},v.minimum=v.min=function(){return R(arguments,1)},v.random=(function(){var L=9007199254740992,H=Math.random()*L&2097151?function(){return Wh(Math.random()*L)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(F){var G,l,p,E,g,b=0,k=[],x=new v(i);if(F==null?F=n:gs(F,0,Tc),E=ime(F/wn),y)if(crypto.getRandomValues){for(G=crypto.getRandomValues(new Uint32Array(E*=2));b<E;)g=G[b]*131072+(G[b+1]>>>11),g>=9e15?(l=crypto.getRandomValues(new Uint32Array(2)),G[b]=l[0],G[b+1]=l[1]):(k.push(g%1e14),b+=2);b=E/2}else if(crypto.randomBytes){for(G=crypto.randomBytes(E*=7);b<E;)g=(G[b]&31)*281474976710656+G[b+1]*1099511627776+G[b+2]*4294967296+G[b+3]*16777216+(G[b+4]<<16)+(G[b+5]<<8)+G[b+6],g>=9e15?crypto.randomBytes(7).copy(G,b):(k.push(g%1e14),b+=7);b=E/7}else throw y=!1,Error(Lf+"crypto unavailable");if(!y)for(;b<E;)g=H(),g<9e15&&(k[b++]=g%1e14);for(E=k[--b],F%=wn,E&&F&&(g=sme[wn-F],k[b]=Wh(E/g)*g);k[b]===0;k.pop(),b--);if(b<0)k=[p=0];else{for(p=-1;k[0]===0;k.splice(0,1),p-=wn);for(b=1,g=k[0];g>=10;g/=10,b++);b<wn&&(p-=wn-b)}return x.e=p,x.c=k,x}})(),v.sum=function(){for(var L=1,H=arguments,F=new v(H[0]);L<H.length;)F=F.plus(H[L++]);return F},r=(function(){var L="0123456789";function H(F,G,l,p){for(var E,g=[0],b,k=0,x=F.length;k<x;){for(b=g.length;b--;g[b]*=G);for(g[0]+=p.indexOf(F.charAt(k++)),E=0;E<g.length;E++)g[E]>l-1&&(g[E+1]==null&&(g[E+1]=0),g[E+1]+=g[E]/l|0,g[E]%=l)}return g.reverse()}return function(F,G,l,p,E){var g,b,k,x,S,f,M,V,D=F.indexOf("."),j=n,Y=a;for(D>=0&&(x=w,w=0,F=F.replace(".",""),V=new v(G),f=V.pow(F.length-D),w=x,V.c=H(Cb(Fh(f.c),f.e,"0"),10,l,L),V.e=V.c.length),M=H(F,G,l,E?(g=A,L):(g=L,A)),k=x=M.length;M[--x]==0;M.pop());if(!M[0])return g.charAt(0);if(D<0?--k:(f.c=M,f.e=k,f.s=p,f=t(f,V,j,Y,l),M=f.c,S=f.r,k=f.e),b=k+j+1,D=M[b],x=l/2,S=S||b<0||M[b+1]!=null,S=Y<4?(D!=null||S)&&(Y==0||Y==(f.s<0?3:2)):D>x||D==x&&(Y==4||S||Y==6&&M[b-1]&1||Y==(f.s<0?8:7)),b<1||!M[0])F=S?Cb(g.charAt(1),-j,g.charAt(0)):g.charAt(0);else{if(M.length=b,S)for(--l;++M[--b]>l;)M[b]=0,b||(++k,M=[1].concat(M));for(x=M.length;!M[--x];);for(D=0,F="";D<=x;F+=g.charAt(M[D++]));F=Cb(F,k,g.charAt(0))}return F}})(),t=(function(){function L(G,l,p){var E,g,b,k,x=0,S=G.length,f=l%$w,M=l/$w|0;for(G=G.slice();S--;)b=G[S]%$w,k=G[S]/$w|0,E=M*b+k*f,g=f*b+E%$w*$w+x,x=(g/p|0)+(E/$w|0)+M*k,G[S]=g%p;return x&&(G=[x].concat(G)),G}function H(G,l,p,E){var g,b;if(p!=E)b=p>E?1:-1;else for(g=b=0;g<p;g++)if(G[g]!=l[g]){b=G[g]>l[g]?1:-1;break}return b}function F(G,l,p,E){for(var g=0;p--;)G[p]-=g,g=G[p]<l[p]?1:0,G[p]=g*E+G[p]-l[p];for(;!G[0]&&G.length>1;G.splice(0,1));}return function(G,l,p,E,g){var b,k,x,S,f,M,V,D,j,Y,oe,de,ue,ae,q,ne,me,ve=G.s==l.s?1:-1,ge=G.c,ce=l.c;if(!ge||!ge[0]||!ce||!ce[0])return new v(!G.s||!l.s||(ge?ce&&ge[0]==ce[0]:!ce)?NaN:ge&&ge[0]==0||!ce?ve*0:ve/0);for(D=new v(ve),j=D.c=[],k=G.e-l.e,ve=p+k+1,g||(g=vp,k=zh(G.e/wn)-zh(l.e/wn),ve=ve/wn|0),x=0;ce[x]==(ge[x]||0);x++);if(ce[x]>(ge[x]||0)&&k--,ve<0)j.push(1),S=!0;else{for(ae=ge.length,ne=ce.length,x=0,ve+=2,f=Wh(g/(ce[0]+1)),f>1&&(ce=L(ce,f,g),ge=L(ge,f,g),ne=ce.length,ae=ge.length),ue=ne,Y=ge.slice(0,ne),oe=Y.length;oe<ne;Y[oe++]=0);me=ce.slice(),me=[0].concat(me),q=ce[0],ce[1]>=g/2&&q++;do{if(f=0,b=H(ce,Y,ne,oe),b<0){if(de=Y[0],ne!=oe&&(de=de*g+(Y[1]||0)),f=Wh(de/q),f>1)for(f>=g&&(f=g-1),M=L(ce,f,g),V=M.length,oe=Y.length;H(M,Y,V,oe)==1;)f--,F(M,ne<V?me:ce,V,g),V=M.length,b=1;else f==0&&(b=f=1),M=ce.slice(),V=M.length;if(V<oe&&(M=[0].concat(M)),F(Y,M,oe,g),oe=Y.length,b==-1)for(;H(ce,Y,ne,oe)<1;)f++,F(Y,ne<oe?me:ce,oe,g),oe=Y.length}else b===0&&(f++,Y=[0]);j[x++]=f,Y[0]?Y[oe++]=ge[ue]||0:(Y=[ge[ue]],oe=1)}while((ue++<ae||Y[0]!=null)&&ve--);S=Y[0]!=null,j[0]||j.splice(0,1)}if(g==vp){for(x=1,ve=j[0];ve>=10;ve/=10,x++);N(D,p+(D.e=x+k*wn-1)+1,E,S)}else D.e=k,D.r=+S;return D}})();function B(L,H,F,G){var l,p,E,g,b;if(F==null?F=a:gs(F,0,8),!L.c)return L.toString();if(l=L.c[0],E=L.e,H==null)b=Fh(L.c),b=G==1||G==2&&(E<=u||E>=c)?NG(b,E):Cb(b,E,"0");else if(L=N(new v(L),H,F),p=L.e,b=Fh(L.c),g=b.length,G==1||G==2&&(H<=p||p<=u)){for(;g<H;b+="0",g++);b=NG(b,p)}else if(H-=E,b=Cb(b,p,"0"),p+1>g){if(--H>0)for(b+=".";H--;b+="0");}else if(H+=p-g,H>0)for(p+1==g&&(b+=".");H--;b+="0");return L.s<0&&l?"-"+b:b}function R(L,H){for(var F,G,l=1,p=new v(L[0]);l<L.length;l++)G=new v(L[l]),(!G.s||(F=z2(p,G))===H||F===0&&p.s===H)&&(p=G);return p}function U(L,H,F){for(var G=1,l=H.length;!H[--l];H.pop());for(l=H[0];l>=10;l/=10,G++);return(F=G+F*wn-1)>h?L.c=L.e=null:F<d?L.c=[L.e=0]:(L.e=F,L.c=H),L}o=(function(){var L=/^(-?)0([xbo])(?=\w[\w.]*$)/i,H=/^([^.]+)\.$/,F=/^\.([^.]+)$/,G=/^-?(Infinity|NaN)$/,l=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(p,E,g,b){var k,x=g?E:E.replace(l,"");if(G.test(x))p.s=isNaN(x)?null:x<0?-1:1;else{if(!g&&(x=x.replace(L,function(S,f,M){return k=(M=M.toLowerCase())=="x"?16:M=="b"?2:8,!b||b==k?f:S}),b&&(k=b,x=x.replace(H,"$1").replace(F,"0.$1")),E!=x))return new v(x,k);if(v.DEBUG)throw Error(Lf+"Not a"+(b?" base "+b:"")+" number: "+E);p.s=null}p.c=p.e=null}})();function N(L,H,F,G){var l,p,E,g,b,k,x,S=L.c,f=sme;if(S){e:{for(l=1,g=S[0];g>=10;g/=10,l++);if(p=H-l,p<0)p+=wn,E=H,b=S[k=0],x=Wh(b/f[l-E-1]%10);else if(k=ime((p+1)/wn),k>=S.length)if(G){for(;S.length<=k;S.push(0));b=x=0,l=1,p%=wn,E=p-wn+1}else break e;else{for(b=g=S[k],l=1;g>=10;g/=10,l++);p%=wn,E=p-wn+l,x=E<0?0:Wh(b/f[l-E-1]%10)}if(G=G||H<0||S[k+1]!=null||(E<0?b:b%f[l-E-1]),G=F<4?(x||G)&&(F==0||F==(L.s<0?3:2)):x>5||x==5&&(F==4||G||F==6&&(p>0?E>0?b/f[l-E]:0:S[k-1])%10&1||F==(L.s<0?8:7)),H<1||!S[0])return S.length=0,G?(H-=L.e+1,S[0]=f[(wn-H%wn)%wn],L.e=-H||0):S[0]=L.e=0,L;if(p==0?(S.length=k,g=1,k--):(S.length=k+1,g=f[wn-p],S[k]=E>0?Wh(b/f[l-E]%f[E])*g:0),G)for(;;)if(k==0){for(p=1,E=S[0];E>=10;E/=10,p++);for(E=S[0]+=g,g=1;E>=10;E/=10,g++);p!=g&&(L.e++,S[0]==vp&&(S[0]=1));break}else{if(S[k]+=g,S[k]!=vp)break;S[k--]=0,g=1}for(p=S.length;S[--p]===0;S.pop());}L.e>h?L.c=L.e=null:L.e<d&&(L.c=[L.e=0])}return L}function _(L){var H,F=L.e;return F===null?L.toString():(H=Fh(L.c),H=F<=u||F>=c?NG(H,F):Cb(H,F,"0"),L.s<0?"-"+H:H)}return s.absoluteValue=s.abs=function(){var L=new v(this);return L.s<0&&(L.s=1),L},s.comparedTo=function(L,H){return z2(this,new v(L,H))},s.decimalPlaces=s.dp=function(L,H){var F,G,l,p=this;if(L!=null)return gs(L,0,Tc),H==null?H=a:gs(H,0,8),N(new v(p),L+p.e+1,H);if(!(F=p.c))return null;if(G=((l=F.length-1)-zh(this.e/wn))*wn,l=F[l])for(;l%10==0;l/=10,G--);return G<0&&(G=0),G},s.dividedBy=s.div=function(L,H){return t(this,new v(L,H),n,a)},s.dividedToIntegerBy=s.idiv=function(L,H){return t(this,new v(L,H),0,1)},s.exponentiatedBy=s.pow=function(L,H){var F,G,l,p,E,g,b,k,x,S=this;if(L=new v(L),L.c&&!L.isInteger())throw Error(Lf+"Exponent not an integer: "+_(L));if(H!=null&&(H=new v(H)),g=L.e>14,!S.c||!S.c[0]||S.c[0]==1&&!S.e&&S.c.length==1||!L.c||!L.c[0])return x=new v(Math.pow(+_(S),g?L.s*(2-RG(L)):+_(L))),H?x.mod(H):x;if(b=L.s<0,H){if(H.c?!H.c[0]:!H.s)return new v(NaN);G=!b&&S.isInteger()&&H.isInteger(),G&&(S=S.mod(H))}else{if(L.e>9&&(S.e>0||S.e<-1||(S.e==0?S.c[0]>1||g&&S.c[1]>=24e7:S.c[0]<8e13||g&&S.c[0]<=9999975e7)))return p=S.s<0&&RG(L)?-0:0,S.e>-1&&(p=1/p),new v(b?1/p:p);w&&(p=ime(w/wn+2))}for(g?(F=new v(.5),b&&(L.s=1),k=RG(L)):(l=Math.abs(+_(L)),k=l%2),x=new v(i);;){if(k){if(x=x.times(S),!x.c)break;p?x.c.length>p&&(x.c.length=p):G&&(x=x.mod(H))}if(l){if(l=Wh(l/2),l===0)break;k=l%2}else if(L=L.times(F),N(L,L.e+1,1),L.e>14)k=RG(L);else{if(l=+_(L),l===0)break;k=l%2}S=S.times(S),p?S.c&&S.c.length>p&&(S.c.length=p):G&&(S=S.mod(H))}return G?x:(b&&(x=i.div(x)),H?x.mod(H):p?N(x,w,a,E):x)},s.integerValue=function(L){var H=new v(this);return L==null?L=a:gs(L,0,8),N(H,H.e+1,L)},s.isEqualTo=s.eq=function(L,H){return z2(this,new v(L,H))===0},s.isFinite=function(){return!!this.c},s.isGreaterThan=s.gt=function(L,H){return z2(this,new v(L,H))>0},s.isGreaterThanOrEqualTo=s.gte=function(L,H){return(H=z2(this,new v(L,H)))===1||H===0},s.isInteger=function(){return!!this.c&&zh(this.e/wn)>this.c.length-2},s.isLessThan=s.lt=function(L,H){return z2(this,new v(L,H))<0},s.isLessThanOrEqualTo=s.lte=function(L,H){return(H=z2(this,new v(L,H)))===-1||H===0},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&&this.c[0]==0},s.minus=function(L,H){var F,G,l,p,E=this,g=E.s;if(L=new v(L,H),H=L.s,!g||!H)return new v(NaN);if(g!=H)return L.s=-H,E.plus(L);var b=E.e/wn,k=L.e/wn,x=E.c,S=L.c;if(!b||!k){if(!x||!S)return x?(L.s=-H,L):new v(S?E:NaN);if(!x[0]||!S[0])return S[0]?(L.s=-H,L):new v(x[0]?E:a==3?-0:0)}if(b=zh(b),k=zh(k),x=x.slice(),g=b-k){for((p=g<0)?(g=-g,l=x):(k=b,l=S),l.reverse(),H=g;H--;l.push(0));l.reverse()}else for(G=(p=(g=x.length)<(H=S.length))?g:H,g=H=0;H<G;H++)if(x[H]!=S[H]){p=x[H]<S[H];break}if(p&&(l=x,x=S,S=l,L.s=-L.s),H=(G=S.length)-(F=x.length),H>0)for(;H--;x[F++]=0);for(H=vp-1;G>g;){if(x[--G]<S[G]){for(F=G;F&&!x[--F];x[F]=H);--x[F],x[G]+=vp}x[G]-=S[G]}for(;x[0]==0;x.splice(0,1),--k);return x[0]?U(L,x,k):(L.s=a==3?-1:1,L.c=[L.e=0],L)},s.modulo=s.mod=function(L,H){var F,G,l=this;return L=new v(L,H),!l.c||!L.s||L.c&&!L.c[0]?new v(NaN):!L.c||l.c&&!l.c[0]?new v(l):(C==9?(G=L.s,L.s=1,F=t(l,L,0,3),L.s=G,F.s*=G):F=t(l,L,0,C),L=l.minus(F.times(L)),!L.c[0]&&C==1&&(L.s=l.s),L)},s.multipliedBy=s.times=function(L,H){var F,G,l,p,E,g,b,k,x,S,f,M,V,D,j,Y=this,oe=Y.c,de=(L=new v(L,H)).c;if(!oe||!de||!oe[0]||!de[0])return!Y.s||!L.s||oe&&!oe[0]&&!de||de&&!de[0]&&!oe?L.c=L.e=L.s=null:(L.s*=Y.s,!oe||!de?L.c=L.e=null:(L.c=[0],L.e=0)),L;for(G=zh(Y.e/wn)+zh(L.e/wn),L.s*=Y.s,b=oe.length,S=de.length,b<S&&(V=oe,oe=de,de=V,l=b,b=S,S=l),l=b+S,V=[];l--;V.push(0));for(D=vp,j=$w,l=S;--l>=0;){for(F=0,f=de[l]%j,M=de[l]/j|0,E=b,p=l+E;p>l;)k=oe[--E]%j,x=oe[E]/j|0,g=M*k+x*f,k=f*k+g%j*j+V[p]+F,F=(k/D|0)+(g/j|0)+M*x,V[p--]=k%D;V[p]=F}return F?++G:V.splice(0,1),U(L,V,G)},s.negated=function(){var L=new v(this);return L.s=-L.s||null,L},s.plus=function(L,H){var F,G=this,l=G.s;if(L=new v(L,H),H=L.s,!l||!H)return new v(NaN);if(l!=H)return L.s=-H,G.minus(L);var p=G.e/wn,E=L.e/wn,g=G.c,b=L.c;if(!p||!E){if(!g||!b)return new v(l/0);if(!g[0]||!b[0])return b[0]?L:new v(g[0]?G:l*0)}if(p=zh(p),E=zh(E),g=g.slice(),l=p-E){for(l>0?(E=p,F=b):(l=-l,F=g),F.reverse();l--;F.push(0));F.reverse()}for(l=g.length,H=b.length,l-H<0&&(F=b,b=g,g=F,H=l),l=0;H;)l=(g[--H]=g[H]+b[H]+l)/vp|0,g[H]=vp===g[H]?0:g[H]%vp;return l&&(g=[l].concat(g),++E),U(L,g,E)},s.precision=s.sd=function(L,H){var F,G,l,p=this;if(L!=null&&L!==!!L)return gs(L,1,Tc),H==null?H=a:gs(H,0,8),N(new v(p),L,H);if(!(F=p.c))return null;if(l=F.length-1,G=l*wn+1,l=F[l]){for(;l%10==0;l/=10,G--);for(l=F[0];l>=10;l/=10,G++);}return L&&p.e+1>G&&(G=p.e+1),G},s.shiftedBy=function(L){return gs(L,-ome,ome),this.times("1e"+L)},s.squareRoot=s.sqrt=function(){var L,H,F,G,l,p=this,E=p.c,g=p.s,b=p.e,k=n+4,x=new v("0.5");if(g!==1||!E||!E[0])return new v(!g||g<0&&(!E||E[0])?NaN:E?p:1/0);if(g=Math.sqrt(+_(p)),g==0||g==1/0?(H=Fh(E),(H.length+b)%2==0&&(H+="0"),g=Math.sqrt(+H),b=zh((b+1)/2)-(b<0||b%2),g==1/0?H="5e"+b:(H=g.toExponential(),H=H.slice(0,H.indexOf("e")+1)+b),F=new v(H)):F=new v(g+""),F.c[0]){for(b=F.e,g=b+k,g<3&&(g=0);;)if(l=F,F=x.times(l.plus(t(p,l,k,1))),Fh(l.c).slice(0,g)===(H=Fh(F.c)).slice(0,g))if(F.e<b&&--g,H=H.slice(g-3,g+1),H=="9999"||!G&&H=="4999"){if(!G&&(N(l,l.e+n+2,0),l.times(l).eq(p))){F=l;break}k+=4,g+=4,G=1}else{(!+H||!+H.slice(1)&&H.charAt(0)=="5")&&(N(F,F.e+n+2,1),L=!F.times(F).eq(p));break}}return N(F,F.e+n+1,a,L)},s.toExponential=function(L,H){return L!=null&&(gs(L,0,Tc),L++),B(this,L,H,1)},s.toFixed=function(L,H){return L!=null&&(gs(L,0,Tc),L=L+this.e+1),B(this,L,H)},s.toFormat=function(L,H,F){var G,l=this;if(F==null)L!=null&&H&&typeof H=="object"?(F=H,H=null):L&&typeof L=="object"?(F=L,L=H=null):F=T;else if(typeof F!="object")throw Error(Lf+"Argument not an object: "+F);if(G=l.toFixed(L,H),l.c){var p,E=G.split("."),g=+F.groupSize,b=+F.secondaryGroupSize,k=F.groupSeparator||"",x=E[0],S=E[1],f=l.s<0,M=f?x.slice(1):x,V=M.length;if(b&&(p=g,g=b,b=p,V-=p),g>0&&V>0){for(p=V%g||g,x=M.substr(0,p);p<V;p+=g)x+=k+M.substr(p,g);b>0&&(x+=k+M.slice(p)),f&&(x="-"+x)}G=S?x+(F.decimalSeparator||"")+((b=+F.fractionGroupSize)?S.replace(new RegExp("\\d{"+b+"}\\B","g"),"$&"+(F.fractionGroupSeparator||"")):S):x}return(F.prefix||"")+G+(F.suffix||"")},s.toFraction=function(L){var H,F,G,l,p,E,g,b,k,x,S,f,M=this,V=M.c;if(L!=null&&(g=new v(L),!g.isInteger()&&(g.c||g.s!==1)||g.lt(i)))throw Error(Lf+"Argument "+(g.isInteger()?"out of range: ":"not an integer: ")+_(g));if(!V)return new v(M);for(H=new v(i),k=F=new v(i),G=b=new v(i),f=Fh(V),p=H.e=f.length-M.e-1,H.c[0]=sme[(E=p%wn)<0?wn+E:E],L=!L||g.comparedTo(H)>0?p>0?H:k:g,E=h,h=1/0,g=new v(f),b.c[0]=0;x=t(g,H,0,1),l=F.plus(x.times(G)),l.comparedTo(L)!=1;)F=G,G=l,k=b.plus(x.times(l=k)),b=l,H=g.minus(x.times(l=H)),g=l;return l=t(L.minus(F),G,0,1),b=b.plus(l.times(k)),F=F.plus(l.times(G)),b.s=k.s=M.s,p=p*2,S=t(k,G,p,a).minus(M).abs().comparedTo(t(b,F,p,a).minus(M).abs())<1?[k,G]:[b,F],h=E,S},s.toNumber=function(){return+_(this)},s.toPrecision=function(L,H){return L!=null&&gs(L,1,Tc),B(this,L,H,2)},s.toString=function(L){var H,F=this,G=F.s,l=F.e;return l===null?G?(H="Infinity",G<0&&(H="-"+H)):H="NaN":(L==null?H=l<=u||l>=c?NG(Fh(F.c),l):Cb(Fh(F.c),l,"0"):L===10&&O?(F=N(new v(F),n+l+1,a),H=Cb(Fh(F.c),F.e,"0")):(gs(L,2,A.length,"Base"),H=r(Cb(Fh(F.c),l,"0"),10,L,G,!0)),G<0&&F.c[0]&&(H="-"+H)),H},s.valueOf=s.toJSON=function(){return _(this)},s._isBigNumber=!0,s[Symbol.toStringTag]="BigNumber",s[Symbol.for("nodejs.util.inspect.custom")]=s.valueOf,e!=null&&v.set(e),v}function zh(e){var t=e|0;return e>0||e===t?t:t-1}function Fh(e){for(var t,r,o=1,s=e.length,i=e[0]+"";o<s;){for(t=e[o++]+"",r=wn-t.length;r--;t="0"+t);i+=t}for(s=i.length;i.charCodeAt(--s)===48;);return i.slice(0,s+1||1)}function z2(e,t){var r,o,s=e.c,i=t.c,n=e.s,a=t.s,u=e.e,c=t.e;if(!n||!a)return null;if(r=s&&!s[0],o=i&&!i[0],r||o)return r?o?0:-a:n;if(n!=a)return n;if(r=n<0,o=u==c,!s||!i)return o?0:!s^r?1:-1;if(!o)return u>c^r?1:-1;for(a=(u=s.length)<(c=i.length)?u:c,n=0;n<a;n++)if(s[n]!=i[n])return s[n]>i[n]^r?1:-1;return u==c?0:u>c^r?1:-1}function gs(e,t,r,o){if(e<t||e>r||e!==Wh(e))throw Error(Lf+(o||"Argument")+(typeof e=="number"?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 o,s;if(t<0){for(s=r+".";++t;s+=r);e=s+e}else if(o=e.length,++t>o){for(s=r,t-=o;--t;s+=r);e+=s}else t<o&&(e=e.slice(0,t)+"."+e.slice(t));return e}var K2=adt(),rpt=hi(tpt(),1);function nR(e){return typeof e!="string"?!1:rpt.default.isURL(e.toString(),{protocols:["http","https"],require_tld:!1})}function tx(e){return e===Object(e)&&Object.prototype.toString.call(e)!=="[object Array]"}function H2(e){return Array.isArray(e)}function H4r(e){try{return!!JSON.parse(e)}catch{return!1}}function Bve(e){return typeof e=="boolean"}function q4r(e){return!!e&&(e instanceof K2||e.constructor&&e.constructor.name==="BigNumber")}function ja(e){return typeof e=="string"||!!e&&e.constructor&&e.constructor.name==="String"}function j4r(e){return typeof e=="function"}function Ib(e){return typeof e=="string"&&!isNaN(parseInt(e,16))&&/^(0x|)[a-fA-F0-9]+$/.test(e)}function Ay(e){return e===null?!1:Number.isInteger(Number(e))}function npt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function kve(e,...t){return t.length&&!t.map(r=>npt(e,r)).includes(!1)}function G4r(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 V4r(e,{inputs:t}){if(!e.result)return e;if(tx(e.result))for(let r=0;r<t.length;r++){let o=t[r];o.type=="address"&&o.name in e.result&&(e.result[o.name]=tu+e.result[o.name].substr(2).toLowerCase())}else H2(e.result)&&(e.result=e.result.reduce((r,o,s)=>{let{name:i,type:n}=t[s];return n=="address"&&(o=tu+o.substr(2).toLowerCase()),r[i]=o,r},{}));return e}function J4r(e,t,r){let o=e.toString();for(;o.length<r;)o=t+o;return o}function ru(e){return e!==null&&typeof e<"u"}async function X4r(e=1e3){return new Promise(t=>setTimeout(t,e))}var F1e={};Vr(F1e,{AbiCoder:()=>Kf,FormatTypes:()=>yOr,Interface:()=>JV,Mnemonic:()=>jh,Signature:()=>Rs,SigningKey:()=>Ns,Wordlist:()=>vx,arrayify:()=>L1e,concat:()=>xn,ethersHDNodeWallet:()=>Fb,id:()=>Ja,isValidMnemonic:()=>mOr,joinSignature:()=>U1e,keccak256:()=>Wr,recoverAddress:()=>zf,sha256:()=>ls,splitSignature:()=>gOr,toUtf8Bytes:()=>us,toUtf8String:()=>Z8,wordlists:()=>qV}),m(),m(),m();var QG="6.13.5";m(),m(),m(),m(),m(),m(),m();function Y4r(e,t,r){let o=t.split("|").map(i=>i.trim());for(let i=0;i<o.length;i++)switch(t){case"any":return;case"bigint":case"boolean":case"number":case"string":if(typeof e===t)return}let s=new Error(`invalid value for type ${t}`);throw s.code="INVALID_ARGUMENT",s.argument=`value.${r}`,s.value=e,s}async function rx(e){let t=Object.keys(e);return(await Promise.all(t.map(r=>Promise.resolve(e[r])))).reduce((r,o,s)=>(r[t[s]]=o,r),{})}function Ur(e,t,r){for(let o in t){let s=t[o],i=r?r[o]:null;i&&Y4r(s,i,o),Object.defineProperty(e,o,{enumerable:!0,value:s,writable:!1})}}function q8(e){if(e==null)return"null";if(Array.isArray(e))return"[ "+e.map(q8).join(", ")+" ]";if(e instanceof Uint8Array){let t="0123456789abcdef",r="0x";for(let o=0;o<e.length;o++)r+=t[e[o]>>4],r+=t[e[o]&15];return r}if(typeof e=="object"&&typeof e.toJSON=="function")return q8(e.toJSON());switch(typeof e){case"boolean":case"symbol":return e.toString();case"bigint":return BigInt(e).toString();case"number":return e.toString();case"string":return JSON.stringify(e);case"object":{let t=Object.keys(e);return t.sort(),"{ "+t.map(r=>`${q8(r)}: ${q8(e[r])}`).join(", ")+" }"}}return"[ COULD NOT SERIALIZE ]"}function j8(e,t){return e&&e.code===t}function G8(e,t,r){let o=e;{let i=[];if(r){if("message"in r||"code"in r||"name"in r)throw new Error(`value will overwrite populated values: ${q8(r)}`);for(let n in r){if(n==="shortMessage")continue;let a=r[n];i.push(n+"="+q8(a))}}i.push(`code=${t}`),i.push(`version=${QG}`),i.length&&(e+=" ("+i.join(", ")+")")}let s;switch(t){case"INVALID_ARGUMENT":s=new TypeError(e);break;case"NUMERIC_FAULT":case"BUFFER_OVERRUN":s=new RangeError(e);break;default:s=new Error(e)}return Ur(s,{code:t}),r&&Object.assign(s,r),s.shortMessage==null&&Ur(s,{shortMessage:o}),s}function Ar(e,t,r,o){if(!e)throw G8(t,r,o)}function Te(e,t,r,o){Ar(e,t,"INVALID_ARGUMENT",{argument:r,value:o})}function V8(e,t,r){r==null&&(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})}var Q4r=["NFD","NFC","NFKD","NFKC"].reduce((e,t)=>{try{if("test".normalize(t)!=="test")throw new Error("bad");if(t==="NFD"&&"\xE9".normalize("NFD")!=="e\u0301")throw new Error("broken");e.push(t)}catch{}return e},[]);function J8(e){Ar(Q4r.indexOf(e)>=0,"platform missing String.prototype.normalize","UNSUPPORTED_OPERATION",{operation:"String.prototype.normalize",info:{form:e}})}function Qu(e,t,r){if(r==null&&(r=""),e!==t){let o=r,s="new";r&&(o+=".",s+=" "+r),Ar(!1,`private constructor; use ${o}from* methods`,"UNSUPPORTED_OPERATION",{operation:s})}}function opt(e,t,r){if(e instanceof Uint8Array)return r?new Uint8Array(e):e;if(typeof e=="string"&&e.match(/^0x(?:[0-9a-f][0-9a-f])*$/i)){let o=new Uint8Array((e.length-2)/2),s=2;for(let i=0;i<o.length;i++)o[i]=parseInt(e.substring(s,s+2),16),s+=2;return o}Te(!1,"invalid BytesLike value",t||"value",e)}function zt(e,t){return opt(e,t,!1)}function as(e,t){return opt(e,t,!0)}function cs(e,t){return!(typeof e!="string"||!e.match(/^0x[0-9A-Fa-f]*$/)||typeof t=="number"&&e.length!==2+2*t||t===!0&&e.length%2!==0)}function Ey(e){return cs(e,!0)||e instanceof Uint8Array}var ipt="0123456789abcdef";function Ct(e){let t=zt(e),r="0x";for(let o=0;o<t.length;o++){let s=t[o];r+=ipt[(s&240)>>4]+ipt[s&15]}return r}function xn(e){return"0x"+e.map(t=>Ct(t).substring(2)).join("")}function Ob(e){return cs(e,!0)?(e.length-2)/2:zt(e).length}function Rd(e,t,r){let o=zt(e);return r!=null&&r>o.length&&Ar(!1,"cannot slice beyond data bounds","BUFFER_OVERRUN",{buffer:o,length:o.length,offset:r}),Ct(o.slice(t??0,r??o.length))}function Z4r(e,t,r){let o=zt(e);Ar(t>=o.length,"padding exceeds data length","BUFFER_OVERRUN",{buffer:new Uint8Array(o),length:t,offset:t+1});let s=new Uint8Array(t);return s.fill(0),r?s.set(o,t-o.length):s.set(o,0),Ct(s)}function Ul(e,t){return Z4r(e,t,!0)}m();var ZG=BigInt(0),wp=BigInt(1),X8=9007199254740991;function $G(e,t){let r=Y8(e,"value"),o=BigInt(Mo(t,"width"));if(Ar(r>>o===ZG,"overflow","NUMERIC_FAULT",{operation:"fromTwos",fault:"overflow",value:e}),r>>o-wp){let s=(wp<<o)-wp;return-((~r&s)+wp)}return r}function nx(e,t){let r=kn(e,"value"),o=BigInt(Mo(t,"width")),s=wp<<o-wp;if(r<ZG){r=-r,Ar(r<=s,"too low","NUMERIC_FAULT",{operation:"toTwos",fault:"overflow",value:e});let i=(wp<<o)-wp;return(~r&i)+wp}else Ar(r<s,"too high","NUMERIC_FAULT",{operation:"toTwos",fault:"overflow",value:e});return r}function xp(e,t){let r=Y8(e,"value"),o=BigInt(Mo(t,"bits"));return r&(wp<<o)-wp}function kn(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=kn(e,t);return Ar(r>=ZG,"unsigned value cannot be negative","NUMERIC_FAULT",{fault:"overflow",operation:"getUint",value:e}),r}var spt="0123456789abcdef";function Pb(e){if(e instanceof Uint8Array){let t="0x0";for(let r of e)t+=spt[r>>4],t+=spt[r&15];return BigInt(t)}return kn(e)}function Mo(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 Mo(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 Mo(Pb(e))}function Ga(e,t){let r=Y8(e,"value").toString(16);if(t==null)r.length%2&&(r="0"+r);else{let o=Mo(t,"width");for(Ar(o*2>=r.length,`value exceeds width (${o} bytes)`,"NUMERIC_FAULT",{operation:"toBeHex",fault:"overflow",value:e});r.length<o*2;)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 o=new Uint8Array(r.length/2);for(let s=0;s<o.length;s++){let i=s*2;o[s]=parseInt(r.substring(i,i+2),16)}return o}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 $4r(e){if(tV==null){tV={};for(let r=0;r<rV.length;r++)tV[rV[r]]=BigInt(r)}let t=tV[e];return Te(t!=null,"invalid base58 value","letter",e),t}var e8r=BigInt(0),_ve=BigInt(58);function nV(e){let t=zt(e),r=Pb(t),o="";for(;r;)o=rV[Number(r%_ve)]+o,r/=_ve;for(let s=0;s<t.length&&!t[s];s++)o=rV[0]+o;return o}function iV(e){let t=e8r;for(let r=0;r<e.length;r++)t*=_ve,t+=$4r(e[r]);return t}m();function t8r(e,t,r,o,s){Te(!1,`invalid codepoint at offset ${t}; ${e}`,"bytes",r)}function apt(e,t,r,o,s){if(e==="BAD_PREFIX"||e==="UNEXPECTED_CONTINUE"){let i=0;for(let n=t+1;n<r.length&&r[n]>>6===2;n++)i++;return i}return e==="OVERRUN"?r.length-t-1:0}function r8r(e,t,r,o,s){return e==="OVERLONG"?(Te(typeof s=="number","invalid bad code point for replacement","badCodepoint",s),o.push(s),0):(o.push(65533),apt(e,t,r,o,s))}var Rve=Object.freeze({error:t8r,ignore:apt,replace:r8r});function n8r(e,t){t==null&&(t=Rve.error);let r=zt(e,"bytes"),o=[],s=0;for(;s<r.length;){let i=r[s++];if(!(i>>7)){o.push(i);continue}let n=null,a=null;if((i&224)===192)n=1,a=127;else if((i&240)===224)n=2,a=2047;else if((i&248)===240)n=3,a=65535;else{(i&192)===128?s+=t("UNEXPECTED_CONTINUE",s-1,r,o):s+=t("BAD_PREFIX",s-1,r,o);continue}if(s-1+n>=r.length){s+=t("OVERRUN",s-1,r,o);continue}let u=i&(1<<8-n-1)-1;for(let c=0;c<n;c++){let d=r[s];if((d&192)!=128){s+=t("MISSING_CONTINUE",s,r,o),u=null;break}u=u<<6|d&63,s++}if(u!==null){if(u>1114111){s+=t("OUT_OF_RANGE",s-1-n,r,o,u);continue}if(u>=55296&&u<=57343){s+=t("UTF16_SURROGATE",s-1-n,r,o,u);continue}if(u<=a){s+=t("OVERLONG",s-1-n,r,o,u);continue}o.push(u)}}return o}function us(e,t){Te(typeof e=="string","invalid string value","str",e),t!=null&&(J8(t),e=e.normalize(t));let r=[];for(let o=0;o<e.length;o++){let s=e.charCodeAt(o);if(s<128)r.push(s);else if(s<2048)r.push(s>>6|192),r.push(s&63|128);else if((s&64512)==55296){o++;let i=e.charCodeAt(o);Te(o<e.length&&(i&64512)===56320,"invalid surrogate pair","str",e);let n=65536+((s&1023)<<10)+(i&1023);r.push(n>>18|240),r.push(n>>12&63|128),r.push(n>>6&63|128),r.push(n&63|128)}else r.push(s>>12|224),r.push(s>>6&63|128),r.push(s&63|128)}return new Uint8Array(r)}function i8r(e){return e.map(t=>t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10&1023)+55296,(t&1023)+56320))).join("")}function Z8(e,t){return i8r(n8r(e,t))}m();function o8r(e){let t=e.toString(16);for(;t.length<2;)t="0"+t;return"0x"+t}function cpt(e,t,r){let o=0;for(let s=0;s<r;s++)o=o*256+e[t+s];return o}function upt(e,t,r,o){let s=[];for(;r<t+1+o;){let i=lpt(e,r);s.push(i.result),r+=i.consumed,Ar(r<=t+1+o,"child data too short","BUFFER_OVERRUN",{buffer:e,length:o,offset:t})}return{consumed:1+o,result:s}}function lpt(e,t){Ar(e.length!==0,"data too short","BUFFER_OVERRUN",{buffer:e,length:0,offset:1});let r=o=>{Ar(o<=e.length,"data short segment too short","BUFFER_OVERRUN",{buffer:e,length:e.length,offset:o})};if(e[t]>=248){let o=e[t]-247;r(t+1+o);let s=cpt(e,t+1,o);return r(t+1+o+s),upt(e,t,t+1+o,o+s)}else if(e[t]>=192){let o=e[t]-192;return r(t+1+o),upt(e,t,t+1,o)}else if(e[t]>=184){let o=e[t]-183;r(t+1+o);let s=cpt(e,t+1,o);r(t+1+o+s);let i=Ct(e.slice(t+1+o,t+1+o+s));return{consumed:1+o+s,result:i}}else if(e[t]>=128){let o=e[t]-128;r(t+1+o);let s=Ct(e.slice(t+1,t+1+o));return{consumed:1+o,result:s}}return{consumed:1,result:o8r(e[t])}}function q2(e){let t=zt(e,"data"),r=lpt(t,0);return Te(r.consumed===t.length,"unexpected junk after rlp payload","data",e),r.result}m();function fpt(e){let t=[];for(;e;)t.unshift(e&255),e>>=8;return t}function hpt(e){if(Array.isArray(e)){let o=[];if(e.forEach(function(i){o=o.concat(hpt(i))}),o.length<=55)return o.unshift(192+o.length),o;let s=fpt(o.length);return s.unshift(247+s.length),s.concat(o)}let t=Array.prototype.slice.call(zt(e,"object"));if(t.length===1&&t[0]<=127)return t;if(t.length<=55)return t.unshift(128+t.length),t;let r=fpt(t.length);return r.unshift(183+r.length),r.concat(t)}var dpt="0123456789abcdef";function Bb(e){let t="0x";for(let r of hpt(e))t+=dpt[r>>4],t+=dpt[r&15];return t}m();function oV(e){let t=zt(e,"randomBytes");t[6]=t[6]&15|64,t[8]=t[8]&63|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();var nu=32,Nve=new Uint8Array(nu),l8r=["then"],sV={},ypt=new WeakMap;function j2(e){return ypt.get(e)}function ppt(e,t){ypt.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((o,s)=>o instanceof Ap?Dve(j2(o),o,r):o):e.reduce((o,s,i)=>{let n=t.getValue(s);return s in o||(r&&n instanceof Ap&&(n=Dve(j2(n),n,r)),o[s]=n),o},{})}var Ap=class ll extends Array{#e;constructor(...t){let r=t[0],o=t[1],s=(t[2]||[]).slice(),i=!0;r!==sV&&(o=t,s=[],i=!1),super(o.length),o.forEach((u,c)=>{this[c]=u});let n=s.reduce((u,c)=>(typeof c=="string"&&u.set(c,(u.get(c)||0)+1),u),new Map);if(ppt(this,Object.freeze(o.map((u,c)=>{let d=s[c];return d!=null&&n.get(d)===1?d:null}))),this.#e=[],this.#e==null&&this.#e,!i)return;Object.freeze(this);let a=new Proxy(this,{get:(u,c,d)=>{if(typeof c=="string"){if(c.match(/^[0-9]+$/)){let y=Mo(c,"%index");if(y<0||y>=this.length)throw new RangeError("out of result range");let C=u[y];return C instanceof Error&&iR(`index ${y}`,C),C}if(l8r.indexOf(c)>=0)return Reflect.get(u,c,d);let h=u[c];if(h instanceof Function)return function(...y){return h.apply(this===d?u:this,y)};if(!(c in u))return u.getValue.apply(this===d?u:this,[c])}return Reflect.get(u,c,d)}});return ppt(a,j2(this)),a}toArray(t){let r=[];return this.forEach((o,s)=>{o instanceof Error&&iR(`index ${s}`,o),t&&o instanceof ll&&(o=o.toArray(t)),r.push(o)}),r}toObject(t){let r=j2(this);return r.reduce((o,s,i)=>(Ar(s!=null,`value at index ${i} unnamed`,"UNSUPPORTED_OPERATION",{operation:"toObject()"}),Dve(r,this,t)),{})}slice(t,r){t==null&&(t=0),t<0&&(t+=this.length,t<0&&(t=0)),r==null&&(r=this.length),r<0&&(r+=this.length,r<0&&(r=0)),r>this.length&&(r=this.length);let o=j2(this),s=[],i=[];for(let n=t;n<r;n++)s.push(this[n]),i.push(o[n]);return new ll(sV,s,i)}filter(t,r){let o=j2(this),s=[],i=[];for(let n=0;n<this.length;n++){let a=this[n];a instanceof Error&&iR(`index ${n}`,a),t.call(r,a,n,this)&&(s.push(a),i.push(o[n]))}return new ll(sV,s,i)}map(t,r){let o=[];for(let s=0;s<this.length;s++){let i=this[s];i instanceof Error&&iR(`index ${s}`,i),o.push(t.call(r,i,s,this))}return o}getValue(t){let r=j2(this).indexOf(t);if(r===-1)return;let o=this[r];return o instanceof Error&&iR(`property ${JSON.stringify(t)}`,o.error),o}static fromItems(t,r){return new ll(sV,t,r)}};function gpt(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,o){Ur(this,{name:e,type:t,localName:r,dynamic:o},{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(gpt(e))}writeUpdatableValue(){let e=this.#e.length;return this.#e.push(Nve),this.#t+=nu,t=>{this.#e[e]=gpt(t)}}},aV=class p2{allowLoose;#e;#t;#r;#n;#i;constructor(t,r,o){Ur(this,{allowLoose:!!r}),this.#e=as(t),this.#r=0,this.#n=null,this.#i=o??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(t){if(this.#n)return this.#n.#o(t);this.#r+=t,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:t,info:{bytesRead:this.#r,dataLength:this.dataLength}})}#a(t,r,o){let s=Math.ceil(r/nu)*nu;return this.#t+s>this.#e.length&&(this.allowLoose&&o&&this.#t+r<=this.#e.length?s=r:Ar(!1,"data out-of-bounds","BUFFER_OVERRUN",{buffer:as(this.#e),length:this.#e.length,offset:this.#t+s})),this.#e.slice(this.#t,this.#t+s)}subReader(t){let r=new p2(this.#e.slice(this.#t+t),this.allowLoose,this.#i);return r.#n=this,r}readBytes(t,r){let o=this.#a(0,t,!!r);return this.#o(t),this.#t+=o.length,o.slice(0,t)}readValue(){return Pb(this.readBytes(nu))}readIndex(){return eV(this.readBytes(nu))}};m(),m(),m(),m(),m(),m(),m(),m();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(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");Zu(e.outputLen),Zu(e.blockLen)}function kb(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();var lV=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0,mpt=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,f8r=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;if(!f8r)throw new Error("Non little-endian hardware is not supported");var d8r=async()=>{};async function fV(e,t,r){let o=Date.now();for(let s=0;s<e;s++){r(s);let i=Date.now()-o;i>=0&&i<t||(await d8r(),o+=i)}}function h8r(e){if(typeof e!="string")throw new Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}function Tp(e){if(typeof e=="string"&&(e=h8r(e)),!mpt(e))throw new Error(`expected Uint8Array, got ${typeof e}`);return e}function bpt(...e){let t=new Uint8Array(e.reduce((o,s)=>o+s.length,0)),r=0;return e.forEach(o=>{if(!mpt(o))throw new Error("Uint8Array expected");t.set(o,r),r+=o.length}),t}var ix=class{clone(){return this._cloneInto()}},p8r={}.toString;function dV(e,t){if(t!==void 0&&p8r.call(t)!=="[object Object]")throw new Error("Options should be object or undefined");return Object.assign(e,t)}function ox(e){let t=o=>e().update(Tp(o)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function vpt(e){let t=(o,s)=>e(s).update(Tp(o)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=o=>e(o),t}function wpt(e=32){if(lV&&typeof lV.getRandomValues=="function")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(),typeof this.iHash.update!="function")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(r.length>o?e.create().update(r).digest():r);for(let i=0;i<s.length;i++)s[i]^=54;this.iHash.update(s),this.oHash=e.create();for(let i=0;i<s.length;i++)s[i]^=106;this.oHash.update(s),s.fill(0)}update(e){return kb(this),this.iHash.update(e),this}digestInto(e){kb(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:o,destroyed:s,blockLen:i,outputLen:n}=this;return e=e,e.finished=o,e.destroyed=s,e.blockLen=i,e.outputLen=n,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();V2.create=(e,t)=>new hV(e,t),m();function g8r(e,t,r,o){cV(e);let s=dV({dkLen:32,asyncTick:10},o),{c:i,dkLen:n,asyncTick:a}=s;if(Zu(i),Zu(n),Zu(a),i<1)throw new Error("PBKDF2: iterations (c) should be >= 1");let u=Tp(t),c=Tp(r),d=new Uint8Array(n),h=V2.create(e,u),y=h._cloneInto().update(c);return{c:i,dkLen:n,asyncTick:a,DK:d,PRF:h,PRFSalt:y}}function y8r(e,t,r,o,s){return e.destroy(),t.destroy(),o&&o.destroy(),s.fill(0),r}function sR(e,t,r,o){let{c:s,dkLen:i,DK:n,PRF:a,PRFSalt:u}=g8r(e,t,r,o),c,d=new Uint8Array(4),h=eC(d),y=new Uint8Array(a.outputLen);for(let C=1,w=0;w<i;C++,w+=a.outputLen){let T=n.subarray(w,w+a.outputLen);h.setInt32(0,C,!1),(c=u._cloneInto(c)).update(d).digestInto(y),T.set(y.subarray(0,T.length));for(let A=1;A<s;A++){a._cloneInto(c).update(y).digestInto(y);for(let O=0;O<T.length;O++)T[O]^=y[O]}}return y8r(a,u,n,c,y)}m(),m();function m8r(e,t,r,o){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,r,o);let s=BigInt(32),i=BigInt(4294967295),n=Number(r>>s&i),a=Number(r&i),u=o?4:0,c=o?0:4;e.setUint32(t+u,n,o),e.setUint32(t+c,a,o)}var sx=class extends ix{constructor(e,t,r,o){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=eC(this.buffer)}update(e){kb(this);let{view:t,buffer:r,blockLen:o}=this;e=Tp(e);let s=e.length;for(let i=0;i<s;){let n=Math.min(o-this.pos,s-i);if(n===o){let a=eC(e);for(;o<=s-i;i+=o)this.process(a,i);continue}r.set(e.subarray(i,i+n),this.pos),this.pos+=n,i+=n,this.pos===o&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){kb(this),uV(e,this),this.finished=!0;let{buffer:t,view:r,blockLen:o,isLE:s}=this,{pos:i}=this;t[i++]=128,this.buffer.subarray(i).fill(0),this.padOffset>o-i&&(this.process(r,0),i=0);for(let d=i;d<o;d++)t[d]=0;m8r(r,o-8,BigInt(this.length*8),s),this.process(r,0);let n=eC(e),a=this.outputLen;if(a%4)throw new Error("_sha2: outputLen should be aligned to 32bit");let u=a/4,c=this.get();if(u>c.length)throw new Error("_sha2: outputLen bigger than state");for(let d=0;d<u;d++)n.setUint32(4*d,c[d],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:o,finished:s,destroyed:i,pos:n}=this;return e.length=o,e.pos=n,e.finished=s,e.destroyed=i,o%t&&e.buffer.set(r),e}},b8r=(e,t,r)=>e&t^~e&r,v8r=(e,t,r)=>e&t^e&r^t&r,w8r=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=ax[0]|0,this.B=ax[1]|0,this.C=ax[2]|0,this.D=ax[3]|0,this.E=ax[4]|0,this.F=ax[5]|0,this.G=ax[6]|0,this.H=ax[7]|0}get(){let{A:e,B:t,C:r,D:o,E:s,F:i,G:n,H:a}=this;return[e,t,r,o,s,i,n,a]}set(e,t,r,o,s,i,n,a){this.A=e|0,this.B=t|0,this.C=r|0,this.D=o|0,this.E=s|0,this.F=i|0,this.G=n|0,this.H=a|0}process(e,t){for(let d=0;d<16;d++,t+=4)cx[d]=e.getUint32(t,!1);for(let d=16;d<64;d++){let h=cx[d-15],y=cx[d-2],C=Ep(h,7)^Ep(h,18)^h>>>3,w=Ep(y,17)^Ep(y,19)^y>>>10;cx[d]=w+cx[d-7]+C+cx[d-16]|0}let{A:r,B:o,C:s,D:i,E:n,F:a,G:u,H:c}=this;for(let d=0;d<64;d++){let h=Ep(n,6)^Ep(n,11)^Ep(n,25),y=c+h+b8r(n,a,u)+w8r[d]+cx[d]|0,C=(Ep(r,2)^Ep(r,13)^Ep(r,22))+v8r(r,o,s)|0;c=u,u=a,a=n,n=i+y|0,i=s,s=o,o=r,r=y+C|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,i=i+this.D|0,n=n+this.E|0,a=a+this.F|0,u=u+this.G|0,c=c+this.H|0,this.set(r,o,s,i,n,a,u,c)}roundClean(){cx.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},Mb=ox(()=>new Uve);m(),m();var pV=BigInt(4294967295),Lve=BigInt(32);function xpt(e,t=!1){return t?{h:Number(e&pV),l:Number(e>>Lve&pV)}:{h:Number(e>>Lve&pV)|0,l:Number(e&pV)|0}}function Fve(e,t=!1){let r=new Uint32Array(e.length),o=new Uint32Array(e.length);for(let s=0;s<e.length;s++){let{h:i,l:n}=xpt(e[s],t);[r[s],o[s]]=[i,n]}return[r,o]}var x8r=(e,t)=>BigInt(e>>>0)<<Lve|BigInt(t>>>0),A8r=(e,t,r)=>e>>>r,E8r=(e,t,r)=>e<<32-r|t>>>r,T8r=(e,t,r)=>e>>>r|t<<32-r,S8r=(e,t,r)=>e<<32-r|t>>>r,C8r=(e,t,r)=>e<<64-r|t>>>r-32,I8r=(e,t,r)=>e>>>r-32|t<<64-r,O8r=(e,t)=>t,P8r=(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 B8r(e,t,r,o){let s=(t>>>0)+(o>>>0);return{h:e+r+(s/2**32|0)|0,l:s|0}}var k8r=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),M8r=(e,t,r,o)=>t+r+o+(e/2**32|0)|0,_8r=(e,t,r,o)=>(e>>>0)+(t>>>0)+(r>>>0)+(o>>>0),R8r=(e,t,r,o,s)=>t+r+o+s+(e/2**32|0)|0,N8r=(e,t,r,o,s)=>(e>>>0)+(t>>>0)+(r>>>0)+(o>>>0)+(s>>>0),D8r=(e,t,r,o,s,i)=>t+r+o+s+i+(e/2**32|0)|0,U8r={fromBig:xpt,split:Fve,toBig:x8r,shrSH:A8r,shrSL:E8r,rotrSH:T8r,rotrSL:S8r,rotrBH:C8r,rotrBL:I8r,rotr32H:O8r,rotr32L:P8r,rotlSH:Wve,rotlSL:zve,rotlBH:Kve,rotlBL:Hve,add:B8r,add3L:k8r,add3H:M8r,add4L:_8r,add4H:R8r,add5H:D8r,add5L:N8r},Mn=U8r,[L8r,F8r]=Mn.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:o,Ch:s,Cl:i,Dh:n,Dl:a,Eh:u,El:c,Fh:d,Fl:h,Gh:y,Gl:C,Hh:w,Hl:T}=this;return[e,t,r,o,s,i,n,a,u,c,d,h,y,C,w,T]}set(e,t,r,o,s,i,n,a,u,c,d,h,y,C,w,T){this.Ah=e|0,this.Al=t|0,this.Bh=r|0,this.Bl=o|0,this.Ch=s|0,this.Cl=i|0,this.Dh=n|0,this.Dl=a|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let E=Mn.add3L(H,G,p);r=Mn.add3H(E,L,F,l),o=E|0}({h:r,l:o}=Mn.add(this.Ah|0,this.Al|0,r|0,o|0)),{h:s,l:i}=Mn.add(this.Bh|0,this.Bl|0,s|0,i|0),{h:n,l:a}=Mn.add(this.Ch|0,this.Cl|0,n|0,a|0),{h:u,l:c}=Mn.add(this.Dh|0,this.Dl|0,u|0,c|0),{h:d,l:h}=Mn.add(this.Eh|0,this.El|0,d|0,h|0),{h:y,l:C}=Mn.add(this.Fh|0,this.Fl|0,y|0,C|0),{h:w,l:T}=Mn.add(this.Gh|0,this.Gl|0,w|0,T|0),{h:A,l:O}=Mn.add(this.Hh|0,this.Hl|0,A|0,O|0),this.set(r,o,s,i,n,a,u,c,d,h,y,C,w,T,A,O)}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 W8r(){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 Apt=W8r(),Ept=Apt.crypto||Apt.msCrypto;function jve(e){switch(e){case"sha256":return Mb.create();case"sha512":return gV.create()}Te(!1,"invalid hashing algorithm name","algorithm",e)}function Tpt(e,t){let r={sha256:Mb,sha512:gV}[e];return Te(r!=null,"invalid hmac algorithm","algorithm",e),V2.create(r,t)}function Spt(e,t,r,o,s){let i={sha256:Mb,sha512:gV}[s];return Te(i!=null,"invalid pbkdf2 algorithm","algorithm",s),sR(i,e,t,{c:r,dkLen:o})}function Cpt(e){Ar(Ept!=null,"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 Ept.getRandomValues(t),t}var Ipt=!1,Opt=function(e,t,r){return Tpt(e,t).update(r).digest()},Ppt=Opt;function Kh(e,t,r){let o=zt(t,"key"),s=zt(r,"data");return Ct(Ppt(e,o,s))}Kh._=Opt,Kh.lock=function(){Ipt=!0},Kh.register=function(e){if(Ipt)throw new Error("computeHmac is locked");Ppt=e},Object.freeze(Kh),m(),m();var[Mpt,_pt,Rpt]=[[],[],[]],z8r=BigInt(0),aR=BigInt(1),K8r=BigInt(2),H8r=BigInt(7),q8r=BigInt(256),j8r=BigInt(113);for(let e=0,t=aR,r=1,o=0;e<24;e++){[r,o]=[o,(2*r+3*o)%5],Mpt.push(2*(5*o+r)),_pt.push((e+1)*(e+2)/2%64);let s=z8r;for(let i=0;i<7;i++)t=(t<<aR^(t>>H8r)*j8r)%q8r,t&K8r&&(s^=aR<<(aR<<BigInt(i))-aR);Rpt.push(s)}var[G8r,V8r]=Fve(Rpt,!0),Bpt=(e,t,r)=>r>32?Kve(e,t,r):Wve(e,t,r),kpt=(e,t,r)=>r>32?Hve(e,t,r):zve(e,t,r);function J8r(e,t=24){let r=new Uint32Array(10);for(let o=24-t;o<24;o++){for(let n=0;n<10;n++)r[n]=e[n]^e[n+10]^e[n+20]^e[n+30]^e[n+40];for(let n=0;n<10;n+=2){let a=(n+8)%10,u=(n+2)%10,c=r[u],d=r[u+1],h=Bpt(c,d,1)^r[a],y=kpt(c,d,1)^r[a+1];for(let C=0;C<50;C+=10)e[n+C]^=h,e[n+C+1]^=y}let s=e[2],i=e[3];for(let n=0;n<24;n++){let a=_pt[n],u=Bpt(s,i,a),c=kpt(s,i,a),d=Mpt[n];s=e[d],i=e[d+1],e[d]=u,e[d+1]=c}for(let n=0;n<50;n+=10){for(let a=0;a<10;a++)r[a]=e[n+a];for(let a=0;a<10;a++)e[n+a]^=~r[(a+2)%10]&r[(a+4)%10]}e[0]^=G8r[o],e[1]^=V8r[o]}r.fill(0)}var yV=class g2 extends ix{constructor(t,r,o,s=!1,i=24){if(super(),this.blockLen=t,this.suffix=r,this.outputLen=o,this.enableXOF=s,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,Zu(o),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(){J8r(this.state32,this.rounds),this.posOut=0,this.pos=0}update(t){kb(this);let{blockLen:r,state:o}=this;t=Tp(t);let s=t.length;for(let i=0;i<s;){let n=Math.min(r-this.pos,s-i);for(let a=0;a<n;a++)o[this.pos++]^=t[i++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:t,suffix:r,pos:o,blockLen:s}=this;t[o]^=r,r&128&&o===s-1&&this.keccak(),t[s-1]^=128,this.keccak()}writeInto(t){kb(this,!1),oR(t),this.finish();let r=this.state,{blockLen:o}=this;for(let s=0,i=t.length;s<i;){this.posOut>=o&&this.keccak();let n=Math.min(o-this.posOut,i-s);t.set(r.subarray(this.posOut,this.posOut+n),s),this.posOut+=n,s+=n}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return Zu(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(uV(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){let{blockLen:r,suffix:o,outputLen:s,rounds:i,enableXOF:n}=this;return t||(t=new g2(r,o,s,n,i)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=i,t.suffix=o,t.outputLen=s,t.enableXOF=n,t.destroyed=this.destroyed,t}},fx=(e,t,r)=>ox(()=>new yV(t,e,r)),Akn=fx(6,144,224/8),Ekn=fx(6,136,256/8),Tkn=fx(6,104,384/8),Skn=fx(6,72,512/8),Ckn=fx(1,144,224/8),Npt=fx(1,136,256/8),Ikn=fx(1,104,384/8),Okn=fx(1,72,512/8),Dpt=(e,t,r)=>vpt((o={})=>new yV(t,e,o.dkLen===void 0?r:o.dkLen,!0)),Pkn=Dpt(31,168,128/8),Bkn=Dpt(31,136,256/8),Upt=!1,Lpt=function(e){return Npt(e)},Fpt=Lpt;function Wr(e){let t=zt(e,"data");return Ct(Fpt(t))}Wr._=Lpt,Wr.lock=function(){Upt=!0},Wr.register=function(e){if(Upt)throw new TypeError("keccak256 is locked");Fpt=e},Object.freeze(Wr),m(),m();var X8r=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),zpt=Uint8Array.from({length:16},(e,t)=>t),Y8r=zpt.map(e=>(9*e+5)%16),Vve=[zpt],Jve=[Y8r];for(let e=0;e<4;e++)for(let t of[Vve,Jve])t.push(t[e].map(r=>X8r[r]));var Kpt=[[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)),Q8r=Vve.map((e,t)=>e.map(r=>Kpt[t][r])),Z8r=Jve.map((e,t)=>e.map(r=>Kpt[t][r])),$8r=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),eCr=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),mV=(e,t)=>e<<t|e>>>32-t;function Wpt(e,t,r,o){return e===0?t^r^o:e===1?t&r|~t&o:e===2?(t|~r)^o:e===3?t&o|r&~o:t^(r|~o)}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:o,h4:s}=this;return[e,t,r,o,s]}set(e,t,r,o,s){this.h0=e|0,this.h1=t|0,this.h2=r|0,this.h3=o|0,this.h4=s|0}process(e,t){for(let y=0;y<16;y++,t+=4)bV[y]=e.getUint32(t,!0);let r=this.h0|0,o=r,s=this.h1|0,i=s,n=this.h2|0,a=n,u=this.h3|0,c=u,d=this.h4|0,h=d;for(let y=0;y<5;y++){let C=4-y,w=$8r[y],T=eCr[y],A=Vve[y],O=Jve[y],v=Q8r[y],B=Z8r[y];for(let R=0;R<16;R++){let U=mV(r+Wpt(y,s,n,u)+bV[A[R]]+w,v[R])+d|0;r=d,d=u,u=mV(n,10)|0,n=s,s=U}for(let R=0;R<16;R++){let U=mV(o+Wpt(C,i,a,c)+bV[O[R]]+T,B[R])+h|0;o=h,h=c,c=mV(a,10)|0,a=i,i=U}}this.set(this.h1+n+c|0,this.h2+u+h|0,this.h3+d+o|0,this.h4+r+i|0,this.h0+s+a|0)}roundClean(){bV.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}},Hpt=ox(()=>new Gve),qpt=!1,jpt=function(e){return Hpt(e)},Gpt=jpt;function _b(e){let t=zt(e,"data");return Ct(Gpt(t))}_b._=jpt,_b.lock=function(){qpt=!0},_b.register=function(e){if(qpt)throw new TypeError("ripemd160 is locked");Gpt=e},Object.freeze(_b),m();var Vpt=!1,Jpt=function(e,t,r,o,s){return Spt(e,t,r,o,s)},Xpt=Jpt;function Rb(e,t,r,o,s){let i=zt(e,"password"),n=zt(t,"salt");return Ct(Xpt(i,n,r,o,s))}Rb._=Jpt,Rb.lock=function(){Vpt=!0},Rb.register=function(e){if(Vpt)throw new Error("pbkdf2 is locked");Xpt=e},Object.freeze(Rb),m();var Ypt=!1,Qpt=function(e){return new Uint8Array(Cpt(e))},Zpt=Qpt;function Nd(e){return Zpt(e)}Nd._=Qpt,Nd.lock=function(){Ypt=!0},Nd.register=function(e){if(Ypt)throw new Error("randomBytes is locked");Zpt=e},Object.freeze(Nd),m(),m();var Li=(e,t)=>e<<t|e>>>32-t;function $pt(e,t,r,o,s,i){let n=e[t++]^r[o++],a=e[t++]^r[o++],u=e[t++]^r[o++],c=e[t++]^r[o++],d=e[t++]^r[o++],h=e[t++]^r[o++],y=e[t++]^r[o++],C=e[t++]^r[o++],w=e[t++]^r[o++],T=e[t++]^r[o++],A=e[t++]^r[o++],O=e[t++]^r[o++],v=e[t++]^r[o++],B=e[t++]^r[o++],R=e[t++]^r[o++],U=e[t++]^r[o++],N=n,_=a,L=u,H=c,F=d,G=h,l=y,p=C,E=w,g=T,b=A,k=O,x=v,S=B,f=R,M=U;for(let V=0;V<8;V+=2)F^=Li(N+x|0,7),E^=Li(F+N|0,9),x^=Li(E+F|0,13),N^=Li(x+E|0,18),g^=Li(G+_|0,7),S^=Li(g+G|0,9),_^=Li(S+g|0,13),G^=Li(_+S|0,18),f^=Li(b+l|0,7),L^=Li(f+b|0,9),l^=Li(L+f|0,13),b^=Li(l+L|0,18),H^=Li(M+k|0,7),p^=Li(H+M|0,9),k^=Li(p+H|0,13),M^=Li(k+p|0,18),_^=Li(N+H|0,7),L^=Li(_+N|0,9),H^=Li(L+_|0,13),N^=Li(H+L|0,18),l^=Li(G+F|0,7),p^=Li(l+G|0,9),F^=Li(p+l|0,13),G^=Li(F+p|0,18),k^=Li(b+g|0,7),E^=Li(k+b|0,9),g^=Li(E+k|0,13),b^=Li(g+E|0,18),x^=Li(M+f|0,7),S^=Li(x+M|0,9),f^=Li(S+x|0,13),M^=Li(f+S|0,18);s[i++]=n+N|0,s[i++]=a+_|0,s[i++]=u+L|0,s[i++]=c+H|0,s[i++]=d+F|0,s[i++]=h+G|0,s[i++]=y+l|0,s[i++]=C+p|0,s[i++]=w+E|0,s[i++]=T+g|0,s[i++]=A+b|0,s[i++]=O+k|0,s[i++]=v+x|0,s[i++]=B+S|0,s[i++]=R+f|0,s[i++]=U+M|0}function tC(e,t,r,o,s){let i=o+0,n=o+16*s;for(let a=0;a<16;a++)r[n+a]=e[t+(2*s-1)*16+a];for(let a=0;a<s;a++,i+=16,t+=16)$pt(r,n,e,t,r,i),a>0&&(n+=16),$pt(r,i,e,t+=16,r,n)}function egt(e,t,r){let o=dV({dkLen:32,asyncTick:10,maxmem:1073742848},r),{N:s,r:i,p:n,dkLen:a,asyncTick:u,maxmem:c,onProgress:d}=o;if(Zu(s),Zu(i),Zu(n),Zu(a),Zu(u),Zu(c),d!==void 0&&typeof d!="function")throw new Error("progressCb should be function");let h=128*i,y=h/4;if(s<=1||s&s-1||s>=2**(h/8)||s>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(n<0||n>(2**32-1)*32/h)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>(2**32-1)*32)throw new Error("Scrypt: dkLen should be positive integer less than or equal to (2^32 - 1) * 32");let C=h*(s+n);if(C>c)throw new Error(`Scrypt: parameters too large, ${C} (128 * r * (N + p)) > ${c} (maxmem)`);let w=sR(Mb,e,t,{c:1,dkLen:h*n}),T=$8(w),A=$8(new Uint8Array(h*s)),O=$8(new Uint8Array(h)),v=()=>{};if(d){let B=2*s*n,R=Math.max(Math.floor(B/1e4),1),U=0;v=()=>{U++,d&&(!(U%R)||U===B)&&d(U/B)}}return{N:s,r:i,p:n,dkLen:a,blockSize32:y,V:A,B32:T,B:w,tmp:O,blockMixCb:v,asyncTick:u}}function tgt(e,t,r,o,s){let i=sR(Mb,e,r,{c:1,dkLen:t});return r.fill(0),o.fill(0),s.fill(0),i}function rgt(e,t,r){let{N:o,r:s,p:i,dkLen:n,blockSize32:a,V:u,B32:c,B:d,tmp:h,blockMixCb:y}=egt(e,t,r);for(let C=0;C<i;C++){let w=a*C;for(let T=0;T<a;T++)u[T]=c[w+T];for(let T=0,A=0;T<o-1;T++)tC(u,A,u,A+=a,s),y();tC(u,(o-1)*a,c,w,s),y();for(let T=0;T<o;T++){let A=c[w+a-16]%o;for(let O=0;O<a;O++)h[O]=c[w+O]^u[A*a+O];tC(h,0,c,w,s),y()}}return tgt(e,n,d,u,h)}async function ngt(e,t,r){let{N:o,r:s,p:i,dkLen:n,blockSize32:a,V:u,B32:c,B:d,tmp:h,blockMixCb:y,asyncTick:C}=egt(e,t,r);for(let w=0;w<i;w++){let T=a*w;for(let O=0;O<a;O++)u[O]=c[T+O];let A=0;await fV(o-1,C,()=>{tC(u,A,u,A+=a,s),y()}),tC(u,(o-1)*a,c,T,s),y(),await fV(o,C,()=>{let O=c[T+a-16]%o;for(let v=0;v<a;v++)h[v]=c[T+v]^u[O*a+v];tC(h,0,c,T,s),y()})}return tgt(e,n,d,u,h)}var igt=!1,ogt=!1,sgt=async function(e,t,r,o,s,i,n){return await ngt(e,t,{N:r,r:o,p:s,dkLen:i,onProgress:n})},agt=function(e,t,r,o,s,i){return rgt(e,t,{N:r,r:o,p:s,dkLen:i})},cgt=sgt,ugt=agt;async function dx(e,t,r,o,s,i,n){let a=zt(e,"passwd"),u=zt(t,"salt");return Ct(await cgt(a,u,r,o,s,i,n))}dx._=sgt,dx.lock=function(){ogt=!0},dx.register=function(e){if(ogt)throw new Error("scrypt is locked");cgt=e},Object.freeze(dx);function hx(e,t,r,o,s,i){let n=zt(e,"passwd"),a=zt(t,"salt");return Ct(ugt(n,a,r,o,s,i))}hx._=agt,hx.lock=function(){igt=!0},hx.register=function(e){if(igt)throw new Error("scryptSync is locked");ugt=e},Object.freeze(hx),m();var lgt=function(e){return jve("sha256").update(e).digest()},fgt=function(e){return jve("sha512").update(e).digest()},dgt=lgt,hgt=fgt,pgt=!1,ggt=!1;function ls(e){let t=zt(e,"data");return Ct(dgt(t))}ls._=lgt,ls.lock=function(){pgt=!0},ls.register=function(e){if(pgt)throw new Error("sha256 is locked");dgt=e},Object.freeze(ls);function cR(e){let t=zt(e,"data");return Ct(hgt(t))}cR._=fgt,cR.lock=function(){ggt=!0},cR.register=function(e){if(ggt)throw new Error("sha512 is locked");hgt=e},Object.freeze(ls),m(),m(),m();var Zve={};Vr(Zve,{bitGet:()=>aCr,bitLen:()=>sCr,bitMask:()=>uR,bitSet:()=>cCr,bytesToHex:()=>J2,bytesToNumberBE:()=>Nb,bytesToNumberLE:()=>xV,concatBytes:()=>rC,createHmacDrbg:()=>Qve,ensureBytes:()=>Dd,equalBytes:()=>iCr,hexToBytes:()=>X2,hexToNumber:()=>Yve,numberToBytesBE:()=>px,numberToBytesLE:()=>AV,numberToHexUnpadded:()=>bgt,numberToVarBytesBE:()=>nCr,utf8ToBytes:()=>oCr,validateObject:()=>gx}),m();var mgt=BigInt(0),vV=BigInt(1),tCr=BigInt(2),wV=e=>e instanceof Uint8Array,rCr=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+=rCr[e[r]];return t}function bgt(e){let t=e.toString(16);return t.length&1?`0${t}`:t}function Yve(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);return BigInt(e===""?"0":`0x${e}`)}function X2(e){if(typeof e!="string")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 o=0;o<r.length;o++){let s=o*2,i=e.slice(s,s+2),n=Number.parseInt(i,16);if(Number.isNaN(n)||n<0)throw new Error("Invalid byte sequence");r[o]=n}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(t*2,"0"))}function AV(e,t){return px(e,t).reverse()}function nCr(e){return X2(bgt(e))}function Dd(e,t,r){let o;if(typeof t=="string")try{o=X2(t)}catch(i){throw new Error(`${e} must be valid hex string, got "${t}". Cause: ${i}`)}else if(wV(t))o=Uint8Array.from(t);else throw new Error(`${e} must be hex string or Uint8Array`);let s=o.length;if(typeof r=="number"&&s!==r)throw new Error(`${e} expected ${r} bytes, got ${s}`);return o}function rC(...e){let t=new Uint8Array(e.reduce((o,s)=>o+s.length,0)),r=0;return e.forEach(o=>{if(!wV(o))throw new Error("Uint8Array expected");t.set(o,r),r+=o.length}),t}function iCr(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 oCr(e){if(typeof e!="string")throw new Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}function sCr(e){let t;for(t=0;e>mgt;e>>=vV,t+=1);return t}function aCr(e,t){return e>>BigInt(t)&vV}var cCr=(e,t,r)=>e|(r?vV:mgt)<<BigInt(t),uR=e=>(tCr<<BigInt(e-1))-vV,Xve=e=>new Uint8Array(e),ygt=e=>Uint8Array.from(e);function Qve(e,t,r){if(typeof e!="number"||e<2)throw new Error("hashLen must be a number");if(typeof t!="number"||t<2)throw new Error("qByteLen must be a number");if(typeof r!="function")throw new Error("hmacFn must be a function");let o=Xve(e),s=Xve(e),i=0,n=()=>{o.fill(1),s.fill(0),i=0},a=(...d)=>r(s,o,...d),u=(d=Xve())=>{s=a(ygt([0]),d),o=a(),d.length!==0&&(s=a(ygt([1]),d),o=a())},c=()=>{if(i++>=1e3)throw new Error("drbg: tried 1000 values");let d=0,h=[];for(;d<t;){o=a();let y=o.slice();h.push(y),d+=o.length}return rC(...h)};return(d,h)=>{n(),u(d);let y;for(;!(y=h(c()));)u();return n(),y}}var uCr={bigint:e=>typeof e=="bigint",function:e=>typeof e=="function",boolean:e=>typeof e=="boolean",string:e=>typeof e=="string",stringOrUint8Array:e=>typeof e=="string"||e instanceof Uint8Array,isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e=="function"&&Number.isSafeInteger(e.outputLen)};function gx(e,t,r={}){let o=(s,i,n)=>{let a=uCr[i];if(typeof a!="function")throw new Error(`Invalid validator "${i}", expected function`);let u=e[s];if(!(n&&u===void 0)&&!a(u,e))throw new Error(`Invalid param ${String(s)}=${u} (${typeof u}), expected ${i}`)};for(let[s,i]of Object.entries(t))o(s,i,!1);for(let[s,i]of Object.entries(r))o(s,i,!0);return e}var Va=BigInt(0),_s=BigInt(1),Y2=BigInt(2),lCr=BigInt(3),$ve=BigInt(4),vgt=BigInt(5),wgt=BigInt(8),fCr=BigInt(9),dCr=BigInt(16);function $u(e,t){let r=e%t;return r>=Va?r:t+r}function hCr(e,t,r){if(r<=Va||t<Va)throw new Error("Expected power/modulo > 0");if(r===_s)return Va;let o=_s;for(;t>Va;)t&_s&&(o=o*e%r),e=e*e%r,t>>=_s;return o}function Ud(e,t,r){let o=e;for(;t-- >Va;)o*=o,o%=r;return o}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),o=t,s=Va,i=_s,n=_s,a=Va;for(;r!==Va;){let u=o/r,c=o%r,d=s-n*u,h=i-a*u;o=r,r=c,s=n,i=a,n=d,a=h}if(o!==_s)throw new Error("invert: does not exist");return $u(s,t)}function pCr(e){let t=(e-_s)/Y2,r,o,s;for(r=e-_s,o=0;r%Y2===Va;r/=Y2,o++);for(s=Y2;s<e&&hCr(s,t,e)!==e-_s;s++);if(o===1){let n=(e+_s)/$ve;return function(a,u){let c=a.pow(u,n);if(!a.eql(a.sqr(c),u))throw new Error("Cannot find square root");return c}}let i=(r+_s)/Y2;return function(n,a){if(n.pow(a,t)===n.neg(n.ONE))throw new Error("Cannot find square root");let u=o,c=n.pow(n.mul(n.ONE,s),r),d=n.pow(a,i),h=n.pow(a,r);for(;!n.eql(h,n.ONE);){if(n.eql(h,n.ZERO))return n.ZERO;let y=1;for(let w=n.sqr(h);y<u&&!n.eql(w,n.ONE);y++)w=n.sqr(w);let C=n.pow(c,_s<<BigInt(u-y-1));c=n.sqr(C),d=n.mul(d,C),h=n.mul(h,c),u=y}return d}}function gCr(e){if(e%$ve===lCr){let t=(e+_s)/$ve;return function(r,o){let s=r.pow(o,t);if(!r.eql(r.sqr(s),o))throw new Error("Cannot find square root");return s}}if(e%wgt===vgt){let t=(e-vgt)/wgt;return function(r,o){let s=r.mul(o,Y2),i=r.pow(s,t),n=r.mul(o,i),a=r.mul(r.mul(n,Y2),i),u=r.mul(n,r.sub(a,r.ONE));if(!r.eql(r.sqr(u),o))throw new Error("Cannot find square root");return u}}return e%dCr,pCr(e)}var yCr=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function e1e(e){let t={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},r=yCr.reduce((o,s)=>(o[s]="function",o),t);return gx(e,r)}function mCr(e,t,r){if(r<Va)throw new Error("Expected power > 0");if(r===Va)return e.ONE;if(r===_s)return t;let o=e.ONE,s=t;for(;r>Va;)r&_s&&(o=e.mul(o,s)),s=e.sqr(s),r>>=_s;return o}function bCr(e,t){let r=new Array(t.length),o=t.reduce((i,n,a)=>e.is0(n)?i:(r[a]=i,e.mul(i,n)),e.ONE),s=e.inv(o);return t.reduceRight((i,n,a)=>e.is0(n)?i:(r[a]=e.mul(i,r[a]),e.mul(i,n)),s),r}function t1e(e,t){let r=t!==void 0?t:e.toString(2).length,o=Math.ceil(r/8);return{nBitLength:r,nByteLength:o}}function xgt(e,t,r=!1,o={}){if(e<=Va)throw new Error(`Expected Field ORDER > 0, got ${e}`);let{nBitLength:s,nByteLength:i}=t1e(e,t);if(i>2048)throw new Error("Field lengths over 2048 bytes are not supported");let n=gCr(e),a=Object.freeze({ORDER:e,BITS:s,BYTES:i,MASK:uR(s),ZERO:Va,ONE:_s,create:u=>$u(u,e),isValid:u=>{if(typeof u!="bigint")throw new Error(`Invalid field element: expected bigint, got ${typeof u}`);return Va<=u&&u<e},is0:u=>u===Va,isOdd:u=>(u&_s)===_s,neg:u=>$u(-u,e),eql:(u,c)=>u===c,sqr:u=>$u(u*u,e),add:(u,c)=>$u(u+c,e),sub:(u,c)=>$u(u-c,e),mul:(u,c)=>$u(u*c,e),pow:(u,c)=>mCr(a,u,c),div:(u,c)=>$u(u*EV(c,e),e),sqrN:u=>u*u,addN:(u,c)=>u+c,subN:(u,c)=>u-c,mulN:(u,c)=>u*c,inv:u=>EV(u,e),sqrt:o.sqrt||(u=>n(a,u)),invertBatch:u=>bCr(a,u),cmov:(u,c,d)=>d?c:u,toBytes:u=>r?AV(u,i):px(u,i),fromBytes:u=>{if(u.length!==i)throw new Error(`Fp.fromBytes: expected ${i}, got ${u.length}`);return r?xV(u):Nb(u)}});return Object.freeze(a)}function Agt(e){if(typeof e!="bigint")throw new Error("field order must be bigint");let t=e.toString(2).length;return Math.ceil(t/8)}function r1e(e){let t=Agt(e);return t+Math.ceil(t/2)}function Egt(e,t,r=!1){let o=e.length,s=Agt(t),i=r1e(t);if(o<16||o<i||o>1024)throw new Error(`expected ${i}-1024 bytes of input, got ${o}`);let n=r?Nb(e):xV(e),a=$u(n,t-_s)+_s;return r?AV(a,s):px(a,s)}m(),m();var wCr=BigInt(0),n1e=BigInt(1);function Tgt(e,t){let r=(s,i)=>{let n=i.negate();return s?n:i},o=s=>{let i=Math.ceil(t/s)+1,n=2**(s-1);return{windows:i,windowSize:n}};return{constTimeNegate:r,unsafeLadder(s,i){let n=e.ZERO,a=s;for(;i>wCr;)i&n1e&&(n=n.add(a)),a=a.double(),i>>=n1e;return n},precomputeWindow(s,i){let{windows:n,windowSize:a}=o(i),u=[],c=s,d=c;for(let h=0;h<n;h++){d=c,u.push(d);for(let y=1;y<a;y++)d=d.add(c),u.push(d);c=d.double()}return u},wNAF(s,i,n){let{windows:a,windowSize:u}=o(s),c=e.ZERO,d=e.BASE,h=BigInt(2**s-1),y=2**s,C=BigInt(s);for(let w=0;w<a;w++){let T=w*u,A=Number(n&h);n>>=C,A>u&&(A-=y,n+=n1e);let O=T,v=T+Math.abs(A)-1,B=w%2!==0,R=A<0;A===0?d=d.add(r(B,i[O])):c=c.add(r(R,i[v]))}return{p:c,f:d}},wNAFCached(s,i,n,a){let u=s._WINDOW_SIZE||1,c=i.get(s);return c||(c=this.precomputeWindow(s,u),u!==1&&i.set(s,a(c))),this.wNAF(u,c,n)}}}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 xCr(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:o,a:s}=t;if(r){if(!o.eql(s,o.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if(typeof r!="object"||typeof r.beta!="bigint"||typeof r.splitScalar!="function")throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}var{bytesToNumberBE:ACr,hexToBytes:ECr}=Zve,Q2={Err:class extends Error{constructor(e=""){super(e)}},_parseInt(e){let{Err:t}=Q2;if(e.length<2||e[0]!==2)throw new t("Invalid signature integer tag");let r=e[1],o=e.subarray(2,r+2);if(!r||o.length!==r)throw new t("Invalid signature integer: wrong length");if(o[0]&128)throw new t("Invalid signature integer: negative");if(o[0]===0&&!(o[1]&128))throw new t("Invalid signature integer: unnecessary leading zero");return{d:ACr(o),l:e.subarray(r+2)}},toSig(e){let{Err:t}=Q2,r=typeof e=="string"?ECr(e):e;if(!(r instanceof Uint8Array))throw new Error("ui8a expected");let o=r.length;if(o<2||r[0]!=48)throw new t("Invalid signature tag");if(r[1]!==o-2)throw new t("Invalid signature: incorrect length");let{d:s,l:i}=Q2._parseInt(r.subarray(2)),{d:n,l:a}=Q2._parseInt(i);if(a.length)throw new t("Invalid signature: left bytes after parsing");return{r:s,s:n}},hexFromSig(e){let t=c=>Number.parseInt(c[0],16)&8?"00"+c:c,r=c=>{let d=c.toString(16);return d.length&1?`0${d}`:d},o=t(r(e.s)),s=t(r(e.r)),i=o.length/2,n=s.length/2,a=r(i),u=r(n);return`30${r(n+i+4)}02${u}${s}02${a}${o}`}},Db=BigInt(0),Hh=BigInt(1),AMn=BigInt(2),Sgt=BigInt(3),EMn=BigInt(4);function TCr(e){let t=xCr(e),{Fp:r}=t,o=t.toBytes||((w,T,A)=>{let O=T.toAffine();return rC(Uint8Array.from([4]),r.toBytes(O.x),r.toBytes(O.y))}),s=t.fromBytes||(w=>{let T=w.subarray(1),A=r.fromBytes(T.subarray(0,r.BYTES)),O=r.fromBytes(T.subarray(r.BYTES,2*r.BYTES));return{x:A,y:O}});function i(w){let{a:T,b:A}=t,O=r.sqr(w),v=r.mul(O,w);return r.add(r.add(v,r.mul(w,T)),A)}if(!r.eql(r.sqr(t.Gy),i(t.Gx)))throw new Error("bad generator point: equation left != right");function n(w){return typeof w=="bigint"&&Db<w&&w<t.n}function a(w){if(!n(w))throw new Error("Expected valid bigint: 0 < bigint < curve.n")}function u(w){let{allowedPrivateKeyLengths:T,nByteLength:A,wrapPrivateKey:O,n:v}=t;if(T&&typeof w!="bigint"){if(w instanceof Uint8Array&&(w=J2(w)),typeof w!="string"||!T.includes(w.length))throw new Error("Invalid key");w=w.padStart(A*2,"0")}let B;try{B=typeof w=="bigint"?w:Nb(Dd("private key",w,A))}catch{throw new Error(`private key must be ${A} bytes, hex or bigint, not ${typeof w}`)}return O&&(B=$u(B,v)),a(B),B}let c=new Map;function d(w){if(!(w instanceof h))throw new Error("ProjectivePoint expected")}class h{constructor(T,A,O){if(this.px=T,this.py=A,this.pz=O,T==null||!r.isValid(T))throw new Error("x required");if(A==null||!r.isValid(A))throw new Error("y required");if(O==null||!r.isValid(O))throw new Error("z required")}static fromAffine(T){let{x:A,y:O}=T||{};if(!T||!r.isValid(A)||!r.isValid(O))throw new Error("invalid affine point");if(T instanceof h)throw new Error("projective point not allowed");let v=B=>r.eql(B,r.ZERO);return v(A)&&v(O)?h.ZERO:new h(A,O,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(T){let A=r.invertBatch(T.map(O=>O.pz));return T.map((O,v)=>O.toAffine(A[v])).map(h.fromAffine)}static fromHex(T){let A=h.fromAffine(s(Dd("pointHex",T)));return A.assertValidity(),A}static fromPrivateKey(T){return h.BASE.multiply(u(T))}_setWindowSize(T){this._WINDOW_SIZE=T,c.delete(this)}assertValidity(){if(this.is0()){if(t.allowInfinityPoint&&!r.is0(this.py))return;throw new Error("bad point: ZERO")}let{x:T,y:A}=this.toAffine();if(!r.isValid(T)||!r.isValid(A))throw new Error("bad point: x or y not FE");let O=r.sqr(A),v=i(T);if(!r.eql(O,v))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){let{y:T}=this.toAffine();if(r.isOdd)return!r.isOdd(T);throw new Error("Field doesn't support isOdd")}equals(T){d(T);let{px:A,py:O,pz:v}=this,{px:B,py:R,pz:U}=T,N=r.eql(r.mul(A,U),r.mul(B,v)),_=r.eql(r.mul(O,U),r.mul(R,v));return N&&_}negate(){return new h(this.px,r.neg(this.py),this.pz)}double(){let{a:T,b:A}=t,O=r.mul(A,Sgt),{px:v,py:B,pz:R}=this,U=r.ZERO,N=r.ZERO,_=r.ZERO,L=r.mul(v,v),H=r.mul(B,B),F=r.mul(R,R),G=r.mul(v,B);return G=r.add(G,G),_=r.mul(v,R),_=r.add(_,_),U=r.mul(T,_),N=r.mul(O,F),N=r.add(U,N),U=r.sub(H,N),N=r.add(H,N),N=r.mul(U,N),U=r.mul(G,U),_=r.mul(O,_),F=r.mul(T,F),G=r.sub(L,F),G=r.mul(T,G),G=r.add(G,_),_=r.add(L,L),L=r.add(_,L),L=r.add(L,F),L=r.mul(L,G),N=r.add(N,L),F=r.mul(B,R),F=r.add(F,F),L=r.mul(F,G),U=r.sub(U,L),_=r.mul(F,H),_=r.add(_,_),_=r.add(_,_),new h(U,N,_)}add(T){d(T);let{px:A,py:O,pz:v}=this,{px:B,py:R,pz:U}=T,N=r.ZERO,_=r.ZERO,L=r.ZERO,H=t.a,F=r.mul(t.b,Sgt),G=r.mul(A,B),l=r.mul(O,R),p=r.mul(v,U),E=r.add(A,O),g=r.add(B,R);E=r.mul(E,g),g=r.add(G,l),E=r.sub(E,g),g=r.add(A,v);let b=r.add(B,U);return g=r.mul(g,b),b=r.add(G,p),g=r.sub(g,b),b=r.add(O,v),N=r.add(R,U),b=r.mul(b,N),N=r.add(l,p),b=r.sub(b,N),L=r.mul(H,g),N=r.mul(F,p),L=r.add(N,L),N=r.sub(l,L),L=r.add(l,L),_=r.mul(N,L),l=r.add(G,G),l=r.add(l,G),p=r.mul(H,p),g=r.mul(F,g),l=r.add(l,p),p=r.sub(G,p),p=r.mul(H,p),g=r.add(g,p),G=r.mul(l,g),_=r.add(_,G),G=r.mul(b,g),N=r.mul(E,N),N=r.sub(N,G),G=r.mul(E,l),L=r.mul(b,L),L=r.add(L,G),new h(N,_,L)}subtract(T){return this.add(T.negate())}is0(){return this.equals(h.ZERO)}wNAF(T){return C.wNAFCached(this,c,T,A=>{let O=r.invertBatch(A.map(v=>v.pz));return A.map((v,B)=>v.toAffine(O[B])).map(h.fromAffine)})}multiplyUnsafe(T){let A=h.ZERO;if(T===Db)return A;if(a(T),T===Hh)return this;let{endo:O}=t;if(!O)return C.unsafeLadder(this,T);let{k1neg:v,k1:B,k2neg:R,k2:U}=O.splitScalar(T),N=A,_=A,L=this;for(;B>Db||U>Db;)B&Hh&&(N=N.add(L)),U&Hh&&(_=_.add(L)),L=L.double(),B>>=Hh,U>>=Hh;return v&&(N=N.negate()),R&&(_=_.negate()),_=new h(r.mul(_.px,O.beta),_.py,_.pz),N.add(_)}multiply(T){a(T);let A=T,O,v,{endo:B}=t;if(B){let{k1neg:R,k1:U,k2neg:N,k2:_}=B.splitScalar(A),{p:L,f:H}=this.wNAF(U),{p:F,f:G}=this.wNAF(_);L=C.constTimeNegate(R,L),F=C.constTimeNegate(N,F),F=new h(r.mul(F.px,B.beta),F.py,F.pz),O=L.add(F),v=H.add(G)}else{let{p:R,f:U}=this.wNAF(A);O=R,v=U}return h.normalizeZ([O,v])[0]}multiplyAndAddUnsafe(T,A,O){let v=h.BASE,B=(U,N)=>N===Db||N===Hh||!U.equals(v)?U.multiplyUnsafe(N):U.multiply(N),R=B(this,A).add(B(T,O));return R.is0()?void 0:R}toAffine(T){let{px:A,py:O,pz:v}=this,B=this.is0();T==null&&(T=B?r.ONE:r.inv(v));let R=r.mul(A,T),U=r.mul(O,T),N=r.mul(v,T);if(B)return{x:r.ZERO,y:r.ZERO};if(!r.eql(N,r.ONE))throw new Error("invZ was invalid");return{x:R,y:U}}isTorsionFree(){let{h:T,isTorsionFree:A}=t;if(T===Hh)return!0;if(A)return A(h,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:T,clearCofactor:A}=t;return T===Hh?this:A?A(h,this):this.multiplyUnsafe(t.h)}toRawBytes(T=!0){return this.assertValidity(),o(h,this,T)}toHex(T=!0){return J2(this.toRawBytes(T))}}h.BASE=new h(t.Gx,t.Gy,r.ONE),h.ZERO=new h(r.ZERO,r.ONE,r.ZERO);let y=t.nBitLength,C=Tgt(h,t.endo?Math.ceil(y/2):y);return{CURVE:t,ProjectivePoint:h,normPrivateKeyToScalar:u,weierstrassEquation:i,isWithinCurveOrder:n}}function SCr(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 Cgt(e){let t=SCr(e),{Fp:r,n:o}=t,s=r.BYTES+1,i=2*r.BYTES+1;function n(g){return Db<g&&g<r.ORDER}function a(g){return $u(g,o)}function u(g){return EV(g,o)}let{ProjectivePoint:c,normPrivateKeyToScalar:d,weierstrassEquation:h,isWithinCurveOrder:y}=TCr({...t,toBytes(g,b,k){let x=b.toAffine(),S=r.toBytes(x.x),f=rC;return k?f(Uint8Array.from([b.hasEvenY()?2:3]),S):f(Uint8Array.from([4]),S,r.toBytes(x.y))},fromBytes(g){let b=g.length,k=g[0],x=g.subarray(1);if(b===s&&(k===2||k===3)){let S=Nb(x);if(!n(S))throw new Error("Point is not on curve");let f=h(S),M=r.sqrt(f),V=(M&Hh)===Hh;return(k&1)===1!==V&&(M=r.neg(M)),{x:S,y:M}}else if(b===i&&k===4){let S=r.fromBytes(x.subarray(0,r.BYTES)),f=r.fromBytes(x.subarray(r.BYTES,2*r.BYTES));return{x:S,y:f}}else throw new Error(`Point of length ${b} was invalid. Expected ${s} compressed bytes or ${i} uncompressed bytes`)}}),C=g=>J2(px(g,t.nByteLength));function w(g){let b=o>>Hh;return g>b}function T(g){return w(g)?a(-g):g}let A=(g,b,k)=>Nb(g.slice(b,k));class O{constructor(b,k,x){this.r=b,this.s=k,this.recovery=x,this.assertValidity()}static fromCompact(b){let k=t.nByteLength;return b=Dd("compactSignature",b,k*2),new O(A(b,0,k),A(b,k,2*k))}static fromDER(b){let{r:k,s:x}=Q2.toSig(Dd("DER",b));return new O(k,x)}assertValidity(){if(!y(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!y(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(b){return new O(this.r,this.s,b)}recoverPublicKey(b){let{r:k,s:x,recovery:S}=this,f=_(Dd("msgHash",b));if(S==null||![0,1,2,3].includes(S))throw new Error("recovery id invalid");let M=S===2||S===3?k+t.n:k;if(M>=r.ORDER)throw new Error("recovery id 2 or 3 invalid");let V=S&1?"03":"02",D=c.fromHex(V+C(M)),j=u(M),Y=a(-f*j),oe=a(x*j),de=c.BASE.multiplyAndAddUnsafe(D,Y,oe);if(!de)throw new Error("point at infinify");return de.assertValidity(),de}hasHighS(){return w(this.s)}normalizeS(){return this.hasHighS()?new O(this.r,a(-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 C(this.r)+C(this.s)}}let v={isValidPrivateKey(g){try{return d(g),!0}catch{return!1}},normPrivateKeyToScalar:d,randomPrivateKey:()=>{let g=r1e(t.n);return Egt(t.randomBytes(g),t.n)},precompute(g=8,b=c.BASE){return b._setWindowSize(g),b.multiply(BigInt(3)),b}};function B(g,b=!0){return c.fromPrivateKey(g).toRawBytes(b)}function R(g){let b=g instanceof Uint8Array,k=typeof g=="string",x=(b||k)&&g.length;return b?x===s||x===i:k?x===2*s||x===2*i:g instanceof c}function U(g,b,k=!0){if(R(g))throw new Error("first arg must be private key");if(!R(b))throw new Error("second arg must be public key");return c.fromHex(b).multiply(d(g)).toRawBytes(k)}let N=t.bits2int||function(g){let b=Nb(g),k=g.length*8-t.nBitLength;return k>0?b>>BigInt(k):b},_=t.bits2int_modN||function(g){return a(N(g))},L=uR(t.nBitLength);function H(g){if(typeof g!="bigint")throw new Error("bigint expected");if(!(Db<=g&&g<L))throw new Error(`bigint expected < 2^${t.nBitLength}`);return px(g,t.nByteLength)}function F(g,b,k=G){if(["recovered","canonical"].some(ae=>ae in k))throw new Error("sign() legacy options not supported");let{hash:x,randomBytes:S}=t,{lowS:f,prehash:M,extraEntropy:V}=k;f==null&&(f=!0),g=Dd("msgHash",g),M&&(g=Dd("prehashed msgHash",x(g)));let D=_(g),j=d(b),Y=[H(j),H(D)];if(V!=null){let ae=V===!0?S(r.BYTES):V;Y.push(Dd("extraEntropy",ae))}let oe=rC(...Y),de=D;function ue(ae){let q=N(ae);if(!y(q))return;let ne=u(q),me=c.BASE.multiply(q).toAffine(),ve=a(me.x);if(ve===Db)return;let ge=a(ne*a(de+ve*j));if(ge===Db)return;let ce=(me.x===ve?0:2)|Number(me.y&Hh),ee=ge;return f&&w(ge)&&(ee=T(ge),ce^=1),new O(ve,ee,ce)}return{seed:oe,k2sig:ue}}let G={lowS:t.lowS,prehash:!1},l={lowS:t.lowS,prehash:!1};function p(g,b,k=G){let{seed:x,k2sig:S}=F(g,b,k),f=t;return Qve(f.hash.outputLen,f.nByteLength,f.hmac)(x,S)}c.BASE._setWindowSize(8);function E(g,b,k,x=l){let S=g;if(b=Dd("msgHash",b),k=Dd("publicKey",k),"strict"in x)throw new Error("options.strict was renamed to lowS");let{lowS:f,prehash:M}=x,V,D;try{if(typeof S=="string"||S instanceof Uint8Array)try{V=O.fromDER(S)}catch(ne){if(!(ne instanceof Q2.Err))throw ne;V=O.fromCompact(S)}else if(typeof S=="object"&&typeof S.r=="bigint"&&typeof S.s=="bigint"){let{r:ne,s:me}=S;V=new O(ne,me)}else throw new Error("PARSE");D=c.fromHex(k)}catch(ne){if(ne.message==="PARSE")throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(f&&V.hasHighS())return!1;M&&(b=t.hash(b));let{r:j,s:Y}=V,oe=_(b),de=u(Y),ue=a(oe*de),ae=a(j*de),q=c.BASE.multiplyAndAddUnsafe(D,ue,ae)?.toAffine();return q?a(q.x)===j:!1}return{CURVE:t,getPublicKey:B,getSharedSecret:U,sign:p,verify:E,ProjectivePoint:c,Signature:O,utils:v}}m();function CCr(e){return{hash:e,hmac:(t,...r)=>V2(e,t,bpt(...r)),randomBytes:wpt}}function Igt(e,t){let r=o=>Cgt({...e,...CCr(o)});return Object.freeze({...r(t),create:r})}var Bgt=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Ogt=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),ICr=BigInt(1),o1e=BigInt(2),Pgt=(e,t)=>(e+t/o1e)/t;function OCr(e){let t=Bgt,r=BigInt(3),o=BigInt(6),s=BigInt(11),i=BigInt(22),n=BigInt(23),a=BigInt(44),u=BigInt(88),c=e*e*e%t,d=c*c*e%t,h=Ud(d,r,t)*d%t,y=Ud(h,r,t)*d%t,C=Ud(y,o1e,t)*c%t,w=Ud(C,s,t)*C%t,T=Ud(w,i,t)*w%t,A=Ud(T,a,t)*T%t,O=Ud(A,u,t)*A%t,v=Ud(O,a,t)*T%t,B=Ud(v,r,t)*d%t,R=Ud(B,n,t)*w%t,U=Ud(R,o,t)*c%t,N=Ud(U,o1e,t);if(!s1e.eql(s1e.sqr(N),e))throw new Error("Cannot find square root");return N}var s1e=xgt(Bgt,void 0,void 0,{sqrt:OCr}),Ub=Igt({a:BigInt(0),b:BigInt(7),Fp:s1e,n:Ogt,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=Ogt,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),o=-ICr*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),s=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),i=r,n=BigInt("0x100000000000000000000000000000000"),a=Pgt(i*e,t),u=Pgt(-o*e,t),c=$u(e-a*r-u*s,t),d=$u(-a*o-u*i,t),h=c>n,y=d>n;if(h&&(c=t-c),y&&(d=t-d),c>n||d>n)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:h,k1:c,k2neg:y,k2:d}}}},Mb),RMn=BigInt(0),NMn=Ub.ProjectivePoint;m(),m(),m();var a1e="0x0000000000000000000000000000000000000000";m();var TV="0x0000000000000000000000000000000000000000000000000000000000000000";m();var c1e=`Ethereum Signed Message:
`,kgt=BigInt(0),Mgt=BigInt(1),_gt=BigInt(2),Rgt=BigInt(27),Ngt=BigInt(28),SV=BigInt(35),nC={};function Dgt(e){return Ul(ta(e),32)}var Rs=class ka{#e;#t;#r;#n;get r(){return this.#e}set r(t){Te(Ob(t)===32,"invalid r","value",t),this.#e=Ct(t)}get s(){return this.#t}set s(t){Te(Ob(t)===32,"invalid s","value",t);let r=Ct(t);Te(parseInt(r.substring(0,3))<8,"non-canonical s","value",r),this.#t=r}get v(){return this.#r}set v(t){let r=Mo(t,"value");Te(r===27||r===28,"invalid v","v",t),this.#r=r}get networkV(){return this.#n}get legacyChainId(){let t=this.networkV;return t==null?null:ka.getChainId(t)}get yParity(){return this.v===27?0:1}get yParityAndS(){let t=zt(this.s);return this.yParity&&(t[0]|=128),Ct(t)}get compactSerialized(){return xn([this.r,this.yParityAndS])}get serialized(){return xn([this.r,this.s,this.yParity?"0x1c":"0x1b"])}constructor(t,r,o,s){Qu(t,nC,"Signature"),this.#e=r,this.#t=o,this.#r=s,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 ka(nC,this.r,this.s,this.v);return this.networkV&&(t.#n=this.networkV),t}toJSON(){let t=this.networkV;return{_type:"signature",networkV:t!=null?t.toString():null,r:this.r,s:this.s,v:this.v}}static getChainId(t){let r=kn(t,"v");return r==Rgt||r==Ngt?kgt:(Te(r>=SV,"invalid EIP-155 v","v",t),(r-SV)/_gt)}static getChainIdV(t,r){return kn(t)*_gt+BigInt(35+r-27)}static getNormalizedV(t){let r=kn(t);return r===kgt||r===Rgt?27:r===Mgt||r===Ngt?28:(Te(r>=SV,"invalid v","v",t),r&Mgt?27:28)}static from(t){function r(c,d){Te(c,d,"signature",t)}if(t==null)return new ka(nC,TV,TV,27);if(typeof t=="string"){let c=zt(t,"signature");if(c.length===64){let d=Ct(c.slice(0,32)),h=c.slice(32,64),y=h[0]&128?28:27;return h[0]&=127,new ka(nC,d,Ct(h),y)}if(c.length===65){let d=Ct(c.slice(0,32)),h=c.slice(32,64);r((h[0]&128)===0,"non-canonical s");let y=ka.getNormalizedV(c[64]);return new ka(nC,d,Ct(h),y)}r(!1,"invalid raw signature length")}if(t instanceof ka)return t.clone();let o=t.r;r(o!=null,"missing r");let s=Dgt(o),i=(function(c,d){if(c!=null)return Dgt(c);if(d!=null){r(cs(d,32),"invalid yParityAndS");let h=zt(d);return h[0]&=127,Ct(h)}r(!1,"missing s")})(t.s,t.yParityAndS);r((zt(i)[0]&128)==0,"non-canonical s");let{networkV:n,v:a}=(function(c,d,h){if(c!=null){let y=kn(c);return{networkV:y>=SV?y:void 0,v:ka.getNormalizedV(y)}}if(d!=null)return r(cs(d,32),"invalid yParityAndS"),{v:zt(d)[0]&128?28:27};if(h!=null){switch(Mo(h,"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),u=new ka(nC,s,i,a);return n&&(u.#n=n),r(t.yParity==null||Mo(t.yParity,"sig.yParity")===u.yParity,"yParity mismatch"),r(t.yParityAndS==null||t.yParityAndS===u.yParityAndS,"yParityAndS mismatch"),u}},Ns=class Mc{#e;constructor(t){Te(Ob(t)===32,"invalid private key","privateKey","[REDACTED]"),this.#e=Ct(t)}get privateKey(){return this.#e}get publicKey(){return Mc.computePublicKey(this.#e)}get compressedPublicKey(){return Mc.computePublicKey(this.#e,!0)}sign(t){Te(Ob(t)===32,"invalid digest length","digest",t);let r=Ub.sign(as(t),as(this.#e),{lowS:!0});return Rs.from({r:Ga(r.r,32),s:Ga(r.s,32),v:r.recovery?28:27})}computeSharedSecret(t){let r=Mc.computePublicKey(t);return Ct(Ub.getSharedSecret(as(this.#e),zt(r),!1))}static computePublicKey(t,r){let o=zt(t,"key");if(o.length===32){let i=Ub.getPublicKey(o,!!r);return Ct(i)}if(o.length===64){let i=new Uint8Array(65);i[0]=4,i.set(o,1),o=i}let s=Ub.ProjectivePoint.fromHex(o);return Ct(s.toRawBytes(r))}static recoverPublicKey(t,r){Te(Ob(t)===32,"invalid digest length","digest",t);let o=Rs.from(r),s=Ub.Signature.fromCompact(as(xn([o.r,o.s])));s=s.addRecoveryBit(o.yParity);let i=s.recoverPublicKey(as(t));return Te(i!=null,"invalid signautre for digest","signature",r),"0x"+i.toHex(!1)}static addPoints(t,r,o){let s=Ub.ProjectivePoint.fromHex(Mc.computePublicKey(t).substring(2)),i=Ub.ProjectivePoint.fromHex(Mc.computePublicKey(r).substring(2));return"0x"+s.add(i).toHex(!!o)}},PCr=BigInt(0),BCr=BigInt(36);function Ugt(e){e=e.toLowerCase();let t=e.substring(2).split(""),r=new Uint8Array(40);for(let s=0;s<40;s++)r[s]=t[s].charCodeAt(0);let o=zt(Wr(r));for(let s=0;s<40;s+=2)o[s>>1]>>4>=8&&(t[s]=t[s].toUpperCase()),(o[s>>1]&15)>=8&&(t[s+1]=t[s+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 Lgt=15;function kCr(e){e=e.toUpperCase(),e=e.substring(4)+e.substring(0,2)+"00";let t=e.split("").map(o=>u1e[o]).join("");for(;t.length>=Lgt;){let o=t.substring(0,Lgt);t=parseInt(o,10)%97+t.substring(o.length)}let r=String(98-parseInt(t,10)%97);for(;r.length<2;)r="0"+r;return r}var MCr=(function(){let e={};for(let t=0;t<36;t++){let r="0123456789abcdefghijklmnopqrstuvwxyz"[t];e[r]=BigInt(t)}return e})();function _Cr(e){e=e.toLowerCase();let t=PCr;for(let r=0;r<e.length;r++)t=t*BCr+MCr[e[r]];return t}function Ds(e){if(Te(typeof e=="string","invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/)){e.startsWith("0x")||(e="0x"+e);let t=Ugt(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)===kCr(e),"bad icap checksum","address",e);let t=_Cr(e.substring(4)).toString(16);for(;t.length<40;)t="0"+t;return Ugt("0x"+t)}Te(!1,"invalid address","address",e)}m();function Fgt(e){return e&&typeof e.getAddress=="function"}async function l1e(e,t){let r=await t;return(r==null||r==="0x0000000000000000000000000000000000000000")&&(Ar(typeof e!="string","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){if(typeof e=="string")return e.match(/^0x[0-9a-f]{40}$/i)?Ds(e):(Ar(t!=null,"ENS resolution requires a provider","UNSUPPORTED_OPERATION",{operation:"resolveName"}),l1e(e,t.resolveName(e)));if(Fgt(e))return l1e(e,e.getAddress());if(e&&typeof e.then=="function")return l1e(e,e);Te(!1,"unsupported addressable value","target",e)}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 Wgt=Symbol.for("_ethers_typed"),fs=class ku{type;value;#e;_typedSymbol;constructor(t,r,o,s){s==null&&(s=null),Qu(Sp,t,"Typed"),Ur(this,{_typedSymbol:Wgt,type:r,value:o}),this.#e=s,this.format()}format(){if(this.type==="array")throw new Error("");if(this.type==="dynamicArray")throw new Error("");return this.type==="tuple"?`tuple(${this.value.map(t=>t.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 this.type==="string"}get tupleName(){if(this.type!=="tuple")throw TypeError("not a tuple");return this.#e}get arrayLength(){if(this.type!=="array")throw TypeError("not an array");return this.#e===!0?-1:this.#e===!1?this.value.length:null}static from(t,r){return new ku(Sp,t,r)}static uint8(t){return vr(t,8)}static uint16(t){return vr(t,16)}static uint24(t){return vr(t,24)}static uint32(t){return vr(t,32)}static uint40(t){return vr(t,40)}static uint48(t){return vr(t,48)}static uint56(t){return vr(t,56)}static uint64(t){return vr(t,64)}static uint72(t){return vr(t,72)}static uint80(t){return vr(t,80)}static uint88(t){return vr(t,88)}static uint96(t){return vr(t,96)}static uint104(t){return vr(t,104)}static uint112(t){return vr(t,112)}static uint120(t){return vr(t,120)}static uint128(t){return vr(t,128)}static uint136(t){return vr(t,136)}static uint144(t){return vr(t,144)}static uint152(t){return vr(t,152)}static uint160(t){return vr(t,160)}static uint168(t){return vr(t,168)}static uint176(t){return vr(t,176)}static uint184(t){return vr(t,184)}static uint192(t){return vr(t,192)}static uint200(t){return vr(t,200)}static uint208(t){return vr(t,208)}static uint216(t){return vr(t,216)}static uint224(t){return vr(t,224)}static uint232(t){return vr(t,232)}static uint240(t){return vr(t,240)}static uint248(t){return vr(t,248)}static uint256(t){return vr(t,256)}static uint(t){return vr(t,256)}static int8(t){return vr(t,-8)}static int16(t){return vr(t,-16)}static int24(t){return vr(t,-24)}static int32(t){return vr(t,-32)}static int40(t){return vr(t,-40)}static int48(t){return vr(t,-48)}static int56(t){return vr(t,-56)}static int64(t){return vr(t,-64)}static int72(t){return vr(t,-72)}static int80(t){return vr(t,-80)}static int88(t){return vr(t,-88)}static int96(t){return vr(t,-96)}static int104(t){return vr(t,-104)}static int112(t){return vr(t,-112)}static int120(t){return vr(t,-120)}static int128(t){return vr(t,-128)}static int136(t){return vr(t,-136)}static int144(t){return vr(t,-144)}static int152(t){return vr(t,-152)}static int160(t){return vr(t,-160)}static int168(t){return vr(t,-168)}static int176(t){return vr(t,-176)}static int184(t){return vr(t,-184)}static int192(t){return vr(t,-192)}static int200(t){return vr(t,-200)}static int208(t){return vr(t,-208)}static int216(t){return vr(t,-216)}static int224(t){return vr(t,-224)}static int232(t){return vr(t,-232)}static int240(t){return vr(t,-240)}static int248(t){return vr(t,-248)}static int256(t){return vr(t,-256)}static int(t){return vr(t,-256)}static bytes1(t){return Fi(t,1)}static bytes2(t){return Fi(t,2)}static bytes3(t){return Fi(t,3)}static bytes4(t){return Fi(t,4)}static bytes5(t){return Fi(t,5)}static bytes6(t){return Fi(t,6)}static bytes7(t){return Fi(t,7)}static bytes8(t){return Fi(t,8)}static bytes9(t){return Fi(t,9)}static bytes10(t){return Fi(t,10)}static bytes11(t){return Fi(t,11)}static bytes12(t){return Fi(t,12)}static bytes13(t){return Fi(t,13)}static bytes14(t){return Fi(t,14)}static bytes15(t){return Fi(t,15)}static bytes16(t){return Fi(t,16)}static bytes17(t){return Fi(t,17)}static bytes18(t){return Fi(t,18)}static bytes19(t){return Fi(t,19)}static bytes20(t){return Fi(t,20)}static bytes21(t){return Fi(t,21)}static bytes22(t){return Fi(t,22)}static bytes23(t){return Fi(t,23)}static bytes24(t){return Fi(t,24)}static bytes25(t){return Fi(t,25)}static bytes26(t){return Fi(t,26)}static bytes27(t){return Fi(t,27)}static bytes28(t){return Fi(t,28)}static bytes29(t){return Fi(t,29)}static bytes30(t){return Fi(t,30)}static bytes31(t){return Fi(t,31)}static bytes32(t){return Fi(t,32)}static address(t){return new ku(Sp,"address",t)}static bool(t){return new ku(Sp,"bool",!!t)}static bytes(t){return new ku(Sp,"bytes",t)}static string(t){return new ku(Sp,"string",t)}static array(t,r){throw new Error("not implemented yet")}static tuple(t,r){throw new Error("not implemented yet")}static overrides(t){return new ku(Sp,"overrides",Object.assign({},t))}static isTyped(t){return t&&typeof t=="object"&&"_typedSymbol"in t&&t._typedSymbol===Wgt}static dereference(t,r){if(ku.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(o){return this._throwError(o.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 o=[];if(Array.isArray(r))o=r;else if(r&&typeof r=="object"){let u={};o=t.map(c=>{let d=c.localName;return Ar(d,"cannot encode object for signature with missing names","INVALID_ARGUMENT",{argument:"values",info:{coder:c},value:r}),Ar(!u[d],"cannot encode object for signature with duplicate names","INVALID_ARGUMENT",{argument:"values",info:{coder:c},value:r}),u[d]=!0,r[d]})}else Te(!1,"invalid tuple value","tuple",r);Te(t.length===o.length,"types/value length mismatch","tuple",r);let s=new G2,i=new G2,n=[];t.forEach((u,c)=>{let d=o[c];if(u.dynamic){let h=i.length;u.encode(i,d);let y=s.writeUpdatableValue();n.push(C=>{y(C+h)})}else u.encode(s,d)}),n.forEach(u=>{u(s.length)});let a=e.appendWriter(s);return a+=e.appendWriter(i),a}function d1e(e,t){let r=[],o=[],s=e.subReader(0);return t.forEach(i=>{let n=null;if(i.dynamic){let a=e.readIndex(),u=s.subReader(a);try{n=i.decode(u)}catch(c){if(j8(c,"BUFFER_OVERRUN"))throw c;n=c,n.baseType=i.name,n.name=i.localName,n.type=i.type}}else try{n=i.decode(e)}catch(a){if(j8(a,"BUFFER_OVERRUN"))throw a;n=a,n.baseType=i.name,n.name=i.localName,n.type=i.type}if(n==null)throw new Error("investigate");r.push(n),o.push(i.localName||null)}),Ap.fromItems(r,o)}var OV=class extends va{coder;length;constructor(e,t,r){let o=e.type+"["+(t>=0?t:"")+"]",s=t===-1||e.dynamic;super("array",o,r,s),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 o=this.length;o===-1&&(o=r.length,e.writeValue(r.length)),V8(r.length,o,"coder array"+(this.localName?" "+this.localName:""));let s=[];for(let i=0;i<r.length;i++)s.push(this.coder);return f1e(e,s,r)}decode(e){let t=this.length;t===-1&&(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 o=0;o<t;o++)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 kV=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+this.size*2)}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 RCr=new Uint8Array([]),MV=class extends va{constructor(e){super("null","",e,!1)}defaultValue(){return null}encode(e,t){return t!=null&&this._throwError("not null",t),e.writeBytes(RCr)}decode(e){return e.readBytes(0),null}};m();var NCr=BigInt(0),DCr=BigInt(1),UCr=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),_V=class extends va{size;signed;constructor(e,t,r){let o=(t?"int":"uint")+e*8;super(o,o,r,!1),Ur(this,{size:e,signed:t},{size:"number",signed:"boolean"})}defaultValue(){return 0}encode(e,t){let r=kn(fs.dereference(t,this.type)),o=xp(UCr,nu*8);if(this.signed){let s=xp(o,this.size*8-1);(r>s||r<-(s+DCr))&&this._throwError("value out-of-bounds",t),r=nx(r,8*nu)}else(r<NCr||r>xp(o,this.size*8))&&this._throwError("value out-of-bounds",t);return e.writeValue(r)}decode(e){let t=xp(e.readValue(),this.size*8);return this.signed&&(t=$G(t,this.size*8)),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,o=[];e.forEach(i=>{i.dynamic&&(r=!0),o.push(i.type)});let s="tuple("+o.join(",")+")";super("tuple",s,t,r),Ur(this,{coders:Object.freeze(e.slice())})}defaultValue(){let e=[];this.coders.forEach(r=>{e.push(r.defaultValue())});let t=this.coders.reduce((r,o)=>{let s=o.localName;return s&&(r[s]||(r[s]=0),r[s]++),r},{});return this.coders.forEach((r,o)=>{let s=r.localName;!s||t[s]!==1||(s==="length"&&(s="_length"),e[s]==null&&(e[s]=e[o]))}),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)}};m(),m(),m();function Ja(e){return Wr(us(e))}m(),m(),m();function h1e(e,t){return{address:Ds(e),storageKeys:t.map((r,o)=>(Te(cs(r,32),"invalid slot",`storageKeys[${o}]`,r),r.toLowerCase()))}}function yx(e){if(Array.isArray(e))return e.map((r,o)=>Array.isArray(r)?(Te(r.length===2,"invalid slot set",`value[${o}]`,r),h1e(r[0],r[1])):(Te(r!=null&&typeof r=="object","invalid address-slot set","value",e),h1e(r.address,r.storageKeys)));Te(e!=null&&typeof e=="object","invalid access list","value",e);let t=Object.keys(e).map(r=>{let o=e[r].reduce((s,i)=>(s[i]=!0,s),{});return h1e(r,Object.keys(o).sort())});return t.sort((r,o)=>r.address.localeCompare(o.address)),t}m();function mx(e){let t;return typeof e=="string"?t=Ns.computePublicKey(e,!1):t=e.publicKey,Ds(Wr("0x"+t.substring(4)).substring(26))}function zf(e,t){return mx(Ns.recoverPublicKey(e,t))}m();var Sc=BigInt(0),LCr=BigInt(2),FCr=BigInt(27),WCr=BigInt(28),zCr=BigInt(35),KCr=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),p1e=4096*32;function zgt(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 e==="0x"?null:Ds(e)}function g1e(e,t){try{return yx(e)}catch(r){Te(!1,r.message,t,e)}}function fR(e,t){return e==="0x"?0:Mo(e,t)}function ra(e,t){if(e==="0x")return Sc;let r=kn(e,t);return Te(r<=KCr,"value exceeds uint size",t,r),r}function jo(e,t){let r=kn(e,"value"),o=ta(r);return Te(o.length<=32,"value too large",`tx.${t}`,r),o}function y1e(e){return yx(e).map(t=>[t.address,t.storageKeys])}function HCr(e,t){Te(Array.isArray(e),`invalid ${t}`,"value",e);for(let r=0;r<e.length;r++)Te(cs(e[r],32),"invalid ${ param } hash",`value[${r}]`,e[r]);return e}function qCr(e){let t=q2(e);Te(Array.isArray(t)&&(t.length===9||t.length===6),"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(t.length===6)return r;let o=ra(t[6],"v"),s=ra(t[7],"r"),i=ra(t[8],"s");if(s===Sc&&i===Sc)r.chainId=o;else{let n=(o-zCr)/LCr;n<Sc&&(n=Sc),r.chainId=n,Te(n!==Sc||o===FCr||o===WCr,"non-canonical legacy v","v",t[6]),r.signature=Rs.from({r:Ul(t[7],32),s:Ul(t[8],32),v:o})}return r}function jCr(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],o=Sc;if(e.chainId!=Sc)o=kn(e.chainId,"tx.chainId"),Te(!t||t.networkV==null||t.legacyChainId===o,"tx.chainId/sig.v mismatch","sig",t);else if(e.signature){let i=e.signature.legacyChainId;i!=null&&(o=i)}if(!t)return o!==Sc&&(r.push(ta(o)),r.push("0x"),r.push("0x")),Bb(r);let s=BigInt(27+t.yParity);return o!==Sc?s=Rs.getChainIdV(o,t.v):BigInt(t.v)!==s&&Te(!1,"tx.chainId/sig.v mismatch","sig",t),r.push(ta(s)),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"),r!==0&&r!==1)throw new Error("bad yParity")}catch{Te(!1,"invalid yParity","yParity",t[0])}let o=Ul(t[1],32),s=Ul(t[2],32),i=Rs.from({r:o,s,yParity:r});e.signature=i}function GCr(e){let t=q2(zt(e).slice(1));Te(Array.isArray(t)&&(t.length===9||t.length===12),"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 t.length===9||m1e(r,t.slice(9)),r}function VCr(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 JCr(e){let t=q2(zt(e).slice(1));Te(Array.isArray(t)&&(t.length===8||t.length===11),"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 t.length===8||m1e(r,t.slice(8)),r}function XCr(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 YCr(e){let t=q2(zt(e).slice(1)),r="3",o=null;if(t.length===4&&Array.isArray(t[0])){r="3 (network format)";let i=t[1],n=t[2],a=t[3];Te(Array.isArray(i),"invalid network format: blobs not an array","fields[1]",i),Te(Array.isArray(n),"invalid network format: commitments not an array","fields[2]",n),Te(Array.isArray(a),"invalid network format: proofs not an array","fields[3]",a),Te(i.length===n.length,"invalid network format: blobs/commitments length mismatch","fields",t),Te(i.length===a.length,"invalid network format: blobs/proofs length mismatch","fields",t),o=[];for(let u=0;u<t[1].length;u++)o.push({data:i[u],commitment:n[u],proof:a[u]});t=t[0]}Te(Array.isArray(t)&&(t.length===11||t.length===14),`invalid field count for transaction type: ${r}`,"data",Ct(e));let s={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]};o&&(s.blobs=o),Te(s.to!=null,`invalid address for transaction type: ${r}`,"data",e),Te(Array.isArray(s.blobVersionedHashes),"invalid blobVersionedHashes: must be an array","data",e);for(let i=0;i<s.blobVersionedHashes.length;i++)Te(cs(s.blobVersionedHashes[i],32),`invalid blobVersionedHash at index ${i}: must be length 32`,"data",e);return t.length===11||m1e(s,t.slice(11)),s}function QCr(e,t,r){let o=[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"),HCr(e.blobVersionedHashes||[],"blobVersionedHashes")];return t&&(o.push(jo(t.yParity,"yParity")),o.push(ta(t.r)),o.push(ta(t.s)),r)?xn(["0x03",Bb([o,r.map(s=>s.data),r.map(s=>s.commitment),r.map(s=>s.proof)])]):xn(["0x03",Bb(o)])}var bx=class Pu{#e;#t;#r;#n;#i;#o;#a;#d;#h;#f;#p;#g;#l;#u;#s;#c;get type(){return this.#e}set type(t){switch(t){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",t)}}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 t=this.#t;return t==null&&this.type===3?a1e:t}set to(t){this.#t=t==null?null:Ds(t)}get nonce(){return this.#n}set nonce(t){this.#n=Mo(t,"value")}get gasLimit(){return this.#i}set gasLimit(t){this.#i=kn(t)}get gasPrice(){let t=this.#o;return t==null&&(this.type===0||this.type===1)?Sc:t}set gasPrice(t){this.#o=t==null?null:kn(t,"gasPrice")}get maxPriorityFeePerGas(){return this.#a??(this.type===2||this.type===3?Sc:null)}set maxPriorityFeePerGas(t){this.#a=t==null?null:kn(t,"maxPriorityFeePerGas")}get maxFeePerGas(){return this.#d??(this.type===2||this.type===3?Sc:null)}set maxFeePerGas(t){this.#d=t==null?null:kn(t,"maxFeePerGas")}get data(){return this.#r}set data(t){this.#r=Ct(t)}get value(){return this.#h}set value(t){this.#h=kn(t,"value")}get chainId(){return this.#f}set chainId(t){this.#f=kn(t)}get signature(){return this.#p||null}set signature(t){this.#p=t==null?null:Rs.from(t)}get accessList(){return(this.#g||null)??(this.type===1||this.type===2||this.type===3?[]:null)}set accessList(t){this.#g=t==null?null:yx(t)}get maxFeePerBlobGas(){let t=this.#l;return t==null&&this.type===3?Sc:t}set maxFeePerBlobGas(t){this.#l=t==null?null:kn(t,"maxFeePerBlobGas")}get blobVersionedHashes(){let t=this.#u;return t==null&&this.type===3?[]:t}set blobVersionedHashes(t){if(t!=null){Te(Array.isArray(t),"blobVersionedHashes must be an Array","value",t),t=t.slice();for(let r=0;r<t.length;r++)Te(cs(t[r],32),"invalid blobVersionedHash",`value[${r}]`,t[r])}this.#u=t}get blobs(){return this.#c==null?null:this.#c.map(t=>Object.assign({},t))}set blobs(t){if(t==null){this.#c=null;return}let r=[],o=[];for(let s=0;s<t.length;s++){let i=t[s];if(Ey(i)){Ar(this.#s,"adding a raw blob requires a KZG library","UNSUPPORTED_OPERATION",{operation:"set blobs()"});let n=zt(i);if(Te(n.length<=p1e,"blob is too large",`blobs[${s}]`,i),n.length!==p1e){let c=new Uint8Array(p1e);c.set(n),n=c}let a=this.#s.blobToKzgCommitment(n),u=Ct(this.#s.computeBlobKzgProof(n,a));r.push({data:Ct(n),commitment:Ct(a),proof:u}),o.push(zgt(1,a))}else{let n=Ct(i.commitment);r.push({data:Ct(i.data),commitment:n,proof:Ct(i.proof)}),o.push(zgt(1,n))}}this.#c=r,this.#u=o}get kzg(){return this.#s}set kzg(t){this.#s=t}constructor(){this.#e=null,this.#t=null,this.#n=0,this.#i=Sc,this.#o=null,this.#a=null,this.#d=null,this.#r="0x",this.#h=Sc,this.#f=Sc,this.#p=null,this.#g=null,this.#l=null,this.#u=null,this.#c=null,this.#s=null}get hash(){return this.signature==null?null:Wr(this.#y(!0,!1))}get unsignedHash(){return Wr(this.unsignedSerialized)}get from(){return this.signature==null?null:zf(this.unsignedHash,this.signature)}get fromPublicKey(){return this.signature==null?null:Ns.recoverPublicKey(this.unsignedHash,this.signature)}isSigned(){return this.signature!=null}#y(t,r){Ar(!t||this.signature!=null,"cannot serialize unsigned transaction; maybe you meant .unsignedSerialized","UNSUPPORTED_OPERATION",{operation:".serialized"});let o=t?this.signature:null;switch(this.inferType()){case 0:return jCr(this,o);case 1:return XCr(this,o);case 2:return VCr(this,o);case 3:return QCr(this,o,r?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 t=this.inferTypes();return t.indexOf(2)>=0?2:t.pop()}inferTypes(){let t=this.gasPrice!=null,r=this.maxFeePerGas!=null||this.maxPriorityFeePerGas!=null,o=this.accessList!=null,s=this.#l!=null||this.#u;this.maxFeePerGas!=null&&this.maxPriorityFeePerGas!=null&&Ar(this.maxFeePerGas>=this.maxPriorityFeePerGas,"priorityFee cannot be more than maxFee","BAD_DATA",{value:this}),Ar(!r||this.type!==0&&this.type!==1,"transaction type cannot have maxFeePerGas or maxPriorityFeePerGas","BAD_DATA",{value:this}),Ar(this.type!==0||!o,"legacy transaction cannot have accessList","BAD_DATA",{value:this});let i=[];return this.type!=null?i.push(this.type):r?i.push(2):t?(i.push(1),o||i.push(0)):o?(i.push(1),i.push(2)):(s&&this.to||(i.push(0),i.push(1),i.push(2)),i.push(3)),i.sort(),i}isLegacy(){return this.type===0}isBerlin(){return this.type===1}isLondon(){return this.type===2}isCancun(){return this.type===3}clone(){return Pu.from(this)}toJSON(){let t=r=>r==null?null:r.toString();return{type:this.type,to:this.to,data:this.data,nonce:this.nonce,gasLimit:t(this.gasLimit),gasPrice:t(this.gasPrice),maxPriorityFeePerGas:t(this.maxPriorityFeePerGas),maxFeePerGas:t(this.maxFeePerGas),value:t(this.value),chainId:t(this.chainId),sig:this.signature?this.signature.toJSON():null,accessList:this.accessList}}static from(t){if(t==null)return new Pu;if(typeof t=="string"){let o=zt(t);if(o[0]>=127)return Pu.from(qCr(o));switch(o[0]){case 1:return Pu.from(JCr(o));case 2:return Pu.from(GCr(o));case 3:return Pu.from(YCr(o))}Ar(!1,"unsupported transaction type","UNSUPPORTED_OPERATION",{operation:"from"})}let r=new Pu;return t.type!=null&&(r.type=t.type),t.to!=null&&(r.to=t.to),t.nonce!=null&&(r.nonce=t.nonce),t.gasLimit!=null&&(r.gasLimit=t.gasLimit),t.gasPrice!=null&&(r.gasPrice=t.gasPrice),t.maxPriorityFeePerGas!=null&&(r.maxPriorityFeePerGas=t.maxPriorityFeePerGas),t.maxFeePerGas!=null&&(r.maxFeePerGas=t.maxFeePerGas),t.maxFeePerBlobGas!=null&&(r.maxFeePerBlobGas=t.maxFeePerBlobGas),t.data!=null&&(r.data=t.data),t.value!=null&&(r.value=t.value),t.chainId!=null&&(r.chainId=t.chainId),t.signature!=null&&(r.signature=Rs.from(t.signature)),t.accessList!=null&&(r.accessList=t.accessList),t.blobVersionedHashes!=null&&(r.blobVersionedHashes=t.blobVersionedHashes),t.kzg!=null&&(r.kzg=t.kzg),t.blobs!=null&&(r.blobs=t.blobs),t.hash!=null&&(Te(r.isSigned(),"unsigned transaction cannot define '.hash'","tx",t),Te(r.hash===t.hash,"hash mismatch","tx",t)),t.from!=null&&(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 typeof e=="string"&&(e=us(e)),Wr(xn([us(c1e),us(String(e.length)),e]))}m();var jgt=new Uint8Array(32);jgt.fill(0);var ZCr=BigInt(-1),Ggt=BigInt(0),Vgt=BigInt(1),$Cr=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");function eIr(e){let t=zt(e),r=t.length%32;return r?xn([t,jgt.slice(r)]):Ct(t)}var tIr=Ga(Vgt,32),rIr=Ga(Ggt,32),Kgt={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},b1e=["name","version","chainId","verifyingContract","salt"];function Hgt(e){return function(t){return Te(typeof t=="string",`invalid domain value for ${JSON.stringify(e)}`,`domain.${e}`,t),t}}var nIr={name:Hgt("name"),version:Hgt("version"),chainId:function(e){let t=kn(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(t.length===32,'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]==="",o=parseInt(t[2]);Te(o%8===0&&o!==0&&o<=256&&t[2]===String(o),"invalid numeric width","type",e);let s=xp($Cr,r?o-1:o),i=r?(s+Vgt)*ZCr:Ggt;return function(n){let a=kn(n,"value");return Te(a>=i&&a<=s,`value out-of-bounds for ${e}`,"value",a),Ga(r?nx(a,256):a,32)}}}{let t=e.match(/^bytes(\d+)$/);if(t){let r=parseInt(t[1]);return Te(r!==0&&r<=32&&t[1]===String(r),"invalid bytes width","type",e),function(o){let s=zt(o);return Te(s.length===r,`invalid length for ${e}`,"value",o),eIr(o)}}}switch(e){case"address":return function(t){return Ul(Ds(t),32)};case"bool":return function(t){return t?tIr:rIr};case"bytes":return function(t){return Wr(t)};case"string":return function(t){return Ja(t)}}return null}function qgt(e,t){return`${e}(${t.map(({name:r,type:o})=>o+" "+r).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 aa{primaryType;#e;get types(){return JSON.parse(this.#e)}#t;#r;constructor(t){this.#t=new Map,this.#r=new Map;let r=new Map,o=new Map,s=new Map,i={};Object.keys(t).forEach(u=>{i[u]=t[u].map(({name:c,type:d})=>{let{base:h,index:y}=UV(d);return h==="int"&&!t.int&&(h="int256"),h==="uint"&&!t.uint&&(h="uint256"),{name:c,type:h+(y||"")}}),r.set(u,new Set),o.set(u,[]),s.set(u,new Set)}),this.#e=JSON.stringify(i);for(let u in i){let c=new Set;for(let d of i[u]){Te(!c.has(d.name),`duplicate variable name ${JSON.stringify(d.name)} in ${JSON.stringify(u)}`,"types",t),c.add(d.name);let h=UV(d.type).base;Te(h!==u,`circular type reference to ${JSON.stringify(h)}`,"types",t),!v1e(h)&&(Te(o.has(h),`unknown type ${JSON.stringify(h)}`,"types",t),o.get(h).push(u),r.get(u).add(h))}}let n=Array.from(o.keys()).filter(u=>o.get(u).length===0);Te(n.length!==0,"missing primary type","types",t),Te(n.length===1,`ambiguous primary types or unused types: ${n.map(u=>JSON.stringify(u)).join(", ")}`,"types",t),Ur(this,{primaryType:n[0]});function a(u,c){Te(!c.has(u),`circular type reference to ${JSON.stringify(u)}`,"types",t),c.add(u);for(let d of r.get(u))if(o.has(d)){a(d,c);for(let h of c)s.get(h).add(d)}c.delete(u)}a(this.primaryType,new Set);for(let[u,c]of s){let d=Array.from(c);d.sort(),this.#t.set(u,qgt(u,i[u])+d.map(h=>qgt(h,i[h])).join(""))}}getEncoder(t){let r=this.#r.get(t);return r||(r=this.#n(t),this.#r.set(t,r)),r}#n(t){{let s=v1e(t);if(s)return s}let r=UV(t).array;if(r){let s=r.prefix,i=this.getEncoder(s);return n=>{Te(r.count===-1||r.count===n.length,`array length mismatch; expected length ${r.count}`,"value",n);let a=n.map(i);return this.#t.has(s)&&(a=a.map(Wr)),Wr(xn(a))}}let o=this.types[t];if(o){let s=Ja(this.#t.get(t));return i=>{let n=o.map(({name:a,type:u})=>{let c=this.getEncoder(u)(i[a]);return this.#t.has(u)?Wr(c):c});return n.unshift(s),xn(n)}}Te(!1,`unknown type: ${t}`,"type",t)}encodeType(t){let r=this.#t.get(t);return Te(r,`unknown type: ${JSON.stringify(t)}`,"name",t),r}encodeData(t,r){return this.getEncoder(t)(r)}hashStruct(t,r){return Wr(this.encodeData(t,r))}encode(t){return this.encodeData(this.primaryType,t)}hash(t){return this.hashStruct(this.primaryType,t)}_visit(t,r,o){if(v1e(t))return o(t,r);let s=UV(t).array;if(s)return Te(s.count===-1||s.count===r.length,`array length mismatch; expected length ${s.count}`,"value",r),r.map(n=>this._visit(s.prefix,n,o));let i=this.types[t];if(i)return i.reduce((n,{name:a,type:u})=>(n[a]=this._visit(u,r[a],o),n),{});Te(!1,`unknown type: ${t}`,"type",t)}visit(t,r){return this._visit(this.primaryType,t,r)}static from(t){return new aa(t)}static getPrimaryType(t){return aa.from(t).primaryType}static hashStruct(t,r,o){return aa.from(r).hashStruct(t,o)}static hashDomain(t){let r=[];for(let o in t){if(t[o]==null)continue;let s=Kgt[o];Te(s,`invalid typed-data domain key: ${JSON.stringify(o)}`,"domain",t),r.push({name:o,type:s})}return r.sort((o,s)=>b1e.indexOf(o.name)-b1e.indexOf(s.name)),aa.hashStruct("EIP712Domain",{EIP712Domain:r},t)}static encode(t,r,o){return xn(["0x1901",aa.hashDomain(t),aa.from(r).hash(o)])}static hash(t,r,o){return Wr(aa.encode(t,r,o))}static async resolveNames(t,r,o,s){t=Object.assign({},t);for(let a in t)t[a]==null&&delete t[a];let i={};t.verifyingContract&&!cs(t.verifyingContract,20)&&(i[t.verifyingContract]="0x");let n=aa.from(r);n.visit(o,(a,u)=>(a==="address"&&!cs(u,20)&&(i[u]="0x"),u));for(let a in i)i[a]=await s(a);return t.verifyingContract&&i[t.verifyingContract]&&(t.verifyingContract=i[t.verifyingContract]),o=n.visit(o,(a,u)=>a==="address"&&i[u]?i[u]:u),{domain:t,value:o}}static getPayload(t,r,o){aa.hashDomain(t);let s={},i=[];b1e.forEach(u=>{let c=t[u];c!=null&&(s[u]=nIr[u](c),i.push({name:u,type:Kgt[u]}))});let n=aa.from(r);r=n.types;let a=Object.assign({},r);return Te(a.EIP712Domain==null,"types must not contain EIP712Domain type","types.EIP712Domain",r),a.EIP712Domain=i,n.encode(o),{types:a,domain:s,primaryType:n.primaryType,message:n.visit(o,(u,c)=>{if(u.match(/^bytes(\d*)/))return Ct(zt(c));if(u.match(/^u?int/))return kn(c).toString();switch(u){case"address":return c.toLowerCase();case"bool":return!!c;case"string":return Te(typeof c=="string","invalid string","value",c),c}Te(!1,"unsupported type","type",u)})}}};function oC(e){let t=new Set;return e.forEach(r=>t.add(r)),Object.freeze(t)}var sIr="external public payable override",hNn=oC(sIr.split(" ")),Zgt="constant external internal payable private public pure view override",pNn=oC(Zgt.split(" ")),$gt="constructor error event fallback function receive struct",gNn=oC($gt.split(" ")),eyt="calldata memory storage payable indexed",aIr=oC(eyt.split(" ")),cIr="tuple returns",uIr=[$gt,eyt,cIr,Zgt].join(" "),lIr=oC(uIr.split(" ")),fIr={"(":"OPEN_PAREN",")":"CLOSE_PAREN","[":"OPEN_BRACKET","]":"CLOSE_BRACKET",",":"COMMA","@":"AT"},dIr=new RegExp("^(\\s*)"),hIr=new RegExp("^([0-9]+)"),pIr=new RegExp("^([a-zA-Z$_][a-zA-Z0-9$_]*)"),gIr=new RegExp("^([a-zA-Z$_][a-zA-Z0-9$_]*)$"),tyt=new RegExp("^(address|bool|bytes([0-9]*)|string|u?int([0-9]*))$"),LV=class qf{#e;#t;get offset(){return this.#e}get length(){return this.#t.length-this.#e}constructor(t){this.#e=0,this.#t=t.slice()}clone(){return new qf(this.#t)}reset(){this.#e=0}#r(t=0,r=0){return new qf(this.#t.slice(t,r).map(o=>Object.freeze(Object.assign({},o,{match:o.match-t,linkBack:o.linkBack-t,linkNext:o.linkNext-t}))))}popKeyword(t){let r=this.peek();if(r.type!=="KEYWORD"||!t.has(r.text))throw new Error(`expected keyword ${r.text}`);return this.pop().text}popType(t){if(this.peek().type!==t){let r=this.peek();throw new Error(`expected ${t}; got ${r.type} ${JSON.stringify(r.text)}`)}return this.pop().text}popParen(){let t=this.peek();if(t.type!=="OPEN_PAREN")throw new Error("bad start");let r=this.#r(this.#e+1,t.match+1);return this.#e=t.match+1,r}popParams(){let t=this.peek();if(t.type!=="OPEN_PAREN")throw new Error("bad start");let r=[];for(;this.#e<t.match-1;){let o=this.peek().linkNext;r.push(this.#r(this.#e+1,o)),this.#e=o}return this.#e=t.match+1,r}peek(){if(this.#e>=this.#t.length)throw new Error("out-of-bounds");return this.#t[this.#e]}peekKeyword(t){let r=this.peekType("KEYWORD");return r!=null&&t.has(r)?r:null}peekType(t){if(this.length===0)return null;let r=this.peek();return r.type===t?r.text:null}pop(){let t=this.peek();return this.#e++,t}toString(){let t=[];for(let r=this.#e;r<this.#t.length;r++){let o=this.#t[r];t.push(`${o.type}:${o.text}`)}return`<TokenString ${t.join(" ")}>`}};function yIr(e){let t=[],r=n=>{let a=i<e.length?JSON.stringify(e[i]):"$EOI";throw new Error(`invalid token ${a} at ${i}: ${n}`)},o=[],s=[],i=0;for(;i<e.length;){let n=e.substring(i),a=n.match(dIr);a&&(i+=a[1].length,n=e.substring(i));let u={depth:o.length,linkBack:-1,linkNext:-1,match:-1,type:"",text:"",offset:i,value:-1};t.push(u);let c=fIr[n[0]]||"";if(c){if(u.type=c,u.text=n[0],i++,c==="OPEN_PAREN")o.push(t.length-1),s.push(t.length-1);else if(c=="CLOSE_PAREN")o.length===0&&r("no matching open bracket"),u.match=o.pop(),t[u.match].match=t.length-1,u.depth--,u.linkBack=s.pop(),t[u.linkBack].linkNext=t.length-1;else if(c==="COMMA")u.linkBack=s.pop(),t[u.linkBack].linkNext=t.length-1,s.push(t.length-1);else if(c==="OPEN_BRACKET")u.type="BRACKET";else if(c==="CLOSE_BRACKET"){let d=t.pop().text;if(t.length>0&&t[t.length-1].type==="NUMBER"){let h=t.pop().text;d=h+d,t[t.length-1].value=Mo(h)}if(t.length===0||t[t.length-1].type!=="BRACKET")throw new Error("missing opening bracket");t[t.length-1].text+=d}continue}if(a=n.match(pIr),a){if(u.text=a[1],i+=u.text.length,lIr.has(u.text)){u.type="KEYWORD";continue}if(u.text.match(tyt)){u.type="TYPE";continue}u.type="ID";continue}if(a=n.match(hIr),a){u.text=a[1],u.type="NUMBER",i+=u.text.length;continue}throw new Error(`unexpected token ${JSON.stringify(n[0])} at position ${i}`)}return new LV(t.map(n=>Object.freeze(n)))}function Jgt(e,t){let r=new Set;for(;;){let o=e.peekType("KEYWORD");if(o==null||t&&!t.has(o))break;if(e.pop(),r.has(o))throw new Error(`duplicate keywords: ${JSON.stringify(o)}`);r.add(o)}return Object.freeze(r)}var mIr=new RegExp(/^(.*)\[([0-9]*)\]$/);function Xgt(e){let t=e.match(tyt);if(Te(t,"invalid type","type",e),e==="uint")return"uint256";if(e==="int")return"int256";if(t[2]){let r=parseInt(t[2]);Te(r!==0&&r<=32,"invalid bytes length","type",e)}else if(t[3]){let r=parseInt(t[3]);Te(r!==0&&r<=256&&r%8===0,"invalid numeric width","type",e)}return e}var iC={},Ygt=Symbol.for("_ethers_internal"),Qgt="_ParamTypeInternal",tT=class ua{name;type;baseType;indexed;components;arrayLength;arrayChildren;constructor(t,r,o,s,i,n,a,u){if(Qu(t,iC,"ParamType"),Object.defineProperty(this,Ygt,{value:Qgt}),n&&(n=Object.freeze(n.slice())),s==="array"){if(a==null||u==null)throw new Error("")}else if(a!=null||u!=null)throw new Error("");if(s==="tuple"){if(n==null)throw new Error("")}else if(n!=null)throw new Error("");Ur(this,{name:r,type:o,baseType:s,indexed:i,components:n,arrayLength:a,arrayChildren:u})}format(t){if(t==null&&(t="sighash"),t==="json"){let o=this.name||"";if(this.isArray()){let i=JSON.parse(this.arrayChildren.format("json"));return i.name=o,i.type+=`[${this.arrayLength<0?"":String(this.arrayLength)}]`,JSON.stringify(i)}let s={type:this.baseType==="tuple"?"tuple":this.type,name:o};return typeof this.indexed=="boolean"&&(s.indexed=this.indexed),this.isTuple()&&(s.components=this.components.map(i=>JSON.parse(i.format(t)))),JSON.stringify(s)}let r="";return this.isArray()?(r+=this.arrayChildren.format(t),r+=`[${this.arrayLength<0?"":String(this.arrayLength)}]`):this.isTuple()?r+="("+this.components.map(o=>o.format(t)).join(t==="full"?", ":",")+")":r+=this.type,t!=="sighash"&&(this.indexed===!0&&(r+=" indexed"),t==="full"&&this.name&&(r+=" "+this.name)),r}isArray(){return this.baseType==="array"}isTuple(){return this.baseType==="tuple"}isIndexable(){return this.indexed!=null}walk(t,r){if(this.isArray()){if(!Array.isArray(t))throw new Error("invalid array value");if(this.arrayLength!==-1&&t.length!==this.arrayLength)throw new Error("array is wrong length");let o=this;return t.map(s=>o.arrayChildren.walk(s,r))}if(this.isTuple()){if(!Array.isArray(t))throw new Error("invalid tuple value");if(t.length!==this.components.length)throw new Error("array is wrong length");let o=this;return t.map((s,i)=>o.components[i].walk(s,r))}return r(this.type,t)}#e(t,r,o,s){if(this.isArray()){if(!Array.isArray(r))throw new Error("invalid array value");if(this.arrayLength!==-1&&r.length!==this.arrayLength)throw new Error("array is wrong length");let n=this.arrayChildren,a=r.slice();a.forEach((u,c)=>{n.#e(t,u,o,d=>{a[c]=d})}),s(a);return}if(this.isTuple()){let n=this.components,a;if(Array.isArray(r))a=r.slice();else{if(r==null||typeof r!="object")throw new Error("invalid tuple value");a=n.map(u=>{if(!u.name)throw new Error("cannot use object value with unnamed components");if(!(u.name in r))throw new Error(`missing value for component ${u.name}`);return r[u.name]})}if(a.length!==this.components.length)throw new Error("array is wrong length");a.forEach((u,c)=>{n[c].#e(t,u,o,d=>{a[c]=d})}),s(a);return}let i=o(this.type,r);i.then?t.push((async function(){s(await i)})()):s(i)}async walkAsync(t,r){let o=[],s=[t];return this.#e(o,t,r,i=>{s[0]=i}),o.length&&await Promise.all(o),s[0]}static from(t,r){if(ua.isParamType(t))return t;if(typeof t=="string")try{return ua.from(yIr(t),r)}catch{Te(!1,"invalid param type","obj",t)}else if(t instanceof LV){let a="",u="",c=null;Jgt(t,oC(["tuple"])).has("tuple")||t.peekType("OPEN_PAREN")?(u="tuple",c=t.popParams().map(w=>ua.from(w)),a=`tuple(${c.map(w=>w.format()).join(",")})`):(a=Xgt(t.popType("TYPE")),u=a);let d=null,h=null;for(;t.length&&t.peekType("BRACKET");){let w=t.pop();d=new ua(iC,"",a,u,null,c,h,d),h=w.value,a+=w.text,u="array",c=null}let y=null;if(Jgt(t,aIr).has("indexed")){if(!r)throw new Error("");y=!0}let C=t.peekType("ID")?t.pop().text:"";if(t.length)throw new Error("leftover tokens");return new ua(iC,C,a,u,y,c,h,d)}let o=t.name;Te(!o||typeof o=="string"&&o.match(gIr),"invalid name","obj.name",o);let s=t.indexed;s!=null&&(Te(r,"parameter cannot be indexed","obj.indexed",t.indexed),s=!!s);let i=t.type,n=i.match(mIr);if(n){let a=parseInt(n[2]||"-1"),u=ua.from({type:n[1],components:t.components});return new ua(iC,o||"",i,"array",s,null,a,u)}if(i==="tuple"||i.startsWith("tuple(")||i.startsWith("(")){let a=t.components!=null?t.components.map(u=>ua.from(u)):null;return new ua(iC,o||"",i,"tuple",s,a,null,null)}return i=Xgt(t.type),new ua(iC,o||"",i,i,s,null,null,null)}static isParamType(t){return t&&t[Ygt]===Qgt}},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 bIr=new RegExp(/^bytes([0-9]*)$/),vIr=new RegExp(/^(u?int)([0-9]*)$/),w1e=null,ryt=1024;function wIr(e,t,r,o){let s="missing revert data",i=null,n=null,a=null;if(r){s="execution reverted";let c=zt(r);if(r=Ct(r),c.length===0)s+=" (no data present; likely require(false) occurred",i="require(false)";else if(c.length%32!==4)s+=" (could not decode reason; invalid data length)";else if(Ct(c.slice(0,4))==="0x08c379a0")try{i=o.decode(["string"],c.slice(4))[0],a={signature:"Error(string)",name:"Error",args:[i]},s+=`: ${JSON.stringify(i)}`}catch{s+=" (could not decode reason; invalid string data)"}else if(Ct(c.slice(0,4))==="0x4e487b71")try{let d=Number(o.decode(["uint256"],c.slice(4))[0]);a={signature:"Panic(uint256)",name:"Panic",args:[d]},i=`Panic due to ${Cp.get(d)||"UNKNOWN"}(${d})`,s+=`: ${i}`}catch{s+=" (could not decode panic code)"}else s+=" (unknown custom error)"}let u={to:t.to?Ds(t.to):null,data:t.data||"0x"};return t.from&&(u.from=Ds(t.from)),G8(s,"CALL_EXCEPTION",{action:e,data:r,reason:i,transaction:u,invocation:n,revert:a})}var Kf=class Jf{#e(t){if(t.isArray())return new OV(this.#e(t.arrayChildren),t.arrayLength,t.name);if(t.isTuple())return new $2(t.components.map(o=>this.#e(o)),t.name);switch(t.baseType){case"address":return new CV(t.name);case"bool":return new PV(t.name);case"string":return new RV(t.name);case"bytes":return new BV(t.name);case"":return new MV(t.name)}let r=t.type.match(vIr);if(r){let o=parseInt(r[2]||"256");return Te(o!==0&&o<=256&&o%8===0,"invalid "+r[1]+" bit length","param",t),new _V(o/8,r[1]==="int",t.name)}if(r=t.type.match(bIr),r){let o=parseInt(r[1]);return Te(o!==0&&o<=32,"invalid bytes length","param",t),new kV(o,t.name)}Te(!1,"invalid type","type",t.type)}getDefaultValue(t){let r=t.map(o=>this.#e(tT.from(o)));return new $2(r,"_").defaultValue()}encode(t,r){V8(r.length,t.length,"types/values length mismatch");let o=t.map(n=>this.#e(tT.from(n))),s=new $2(o,"_"),i=new G2;return s.encode(i,r),i.data}decode(t,r,o){let s=t.map(i=>this.#e(tT.from(i)));return new $2(s,"_").decode(new aV(r,o,ryt))}static _setDefaultMaxInflation(t){Te(typeof t=="number"&&Number.isInteger(t),"invalid defaultMaxInflation factor","value",t),ryt=t}static defaultAbiCoder(){return w1e==null&&(w1e=new Jf),w1e}static getBuiltinCallException(t,r,o){return wIr(t,r,o,Jf.defaultAbiCoder())}};m(),m();var qNn=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 s of r)!(s in e)||e[s]==null||(t[s]=kn(e[s],`request.${s}`));let o="type,nonce".split(/,/);for(let s of o)!(s in e)||e[s]==null||(t[s]=Mo(e[s],`request.${s}`));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(s=>Ey(s)?Ct(s):Object.assign({},s))),t}m(),m();function sC(e,t){if(e.provider)return e.provider;Ar(!1,"missing provider","UNSUPPORTED_OPERATION",{operation:t})}async function nyt(e,t){let r=dR(t);if(r.to!=null&&(r.to=Z2(r.to,e)),r.from!=null){let o=r.from;r.from=Promise.all([e.getAddress(),Z2(o,e)]).then(([s,i])=>(Te(s.toLowerCase()===i.toLowerCase(),"transaction from mismatch","tx.from",i),s))}else r.from=e.getAddress();return await rx(r)}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 nyt(this,e)}async populateTransaction(e){let t=sC(this,"populateTransaction"),r=await nyt(this,e);r.nonce==null&&(r.nonce=await this.getNonce("pending")),r.gasLimit==null&&(r.gasLimit=await this.estimateGas(r));let o=await this.provider.getNetwork();if(r.chainId!=null){let i=kn(r.chainId);Te(i===o.chainId,"transaction chainId mismatch","tx.chainId",e.chainId)}else r.chainId=o.chainId;let s=r.maxFeePerGas!=null||r.maxPriorityFeePerGas!=null;if(r.gasPrice!=null&&(r.type===2||s)?Te(!1,"eip-1559 transaction do not support gasPrice","tx",e):(r.type===0||r.type===1)&&s&&Te(!1,"pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","tx",e),(r.type===2||r.type==null)&&r.maxFeePerGas!=null&&r.maxPriorityFeePerGas!=null)r.type=2;else if(r.type===0||r.type===1){let i=await t.getFeeData();Ar(i.gasPrice!=null,"network does not support gasPrice","UNSUPPORTED_OPERATION",{operation:"getGasPrice"}),r.gasPrice==null&&(r.gasPrice=i.gasPrice)}else{let i=await t.getFeeData();if(r.type==null)if(i.maxFeePerGas!=null&&i.maxPriorityFeePerGas!=null)if(r.type=2,r.gasPrice!=null){let n=r.gasPrice;delete r.gasPrice,r.maxFeePerGas=n,r.maxPriorityFeePerGas=n}else r.maxFeePerGas==null&&(r.maxFeePerGas=i.maxFeePerGas),r.maxPriorityFeePerGas==null&&(r.maxPriorityFeePerGas=i.maxPriorityFeePerGas);else i.gasPrice!=null?(Ar(!s,"network does not support EIP-1559","UNSUPPORTED_OPERATION",{operation:"populateTransaction"}),r.gasPrice==null&&(r.gasPrice=i.gasPrice),r.type=0):Ar(!1,"failed to get consistent fee data","UNSUPPORTED_OPERATION",{operation:"signer.getFeeData"});else(r.type===2||r.type===3)&&(r.maxFeePerGas==null&&(r.maxFeePerGas=i.maxFeePerGas),r.maxPriorityFeePerGas==null&&(r.maxPriorityFeePerGas=i.maxPriorityFeePerGas))}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 o=bx.from(r);return await t.broadcastTransaction(await this.signTransaction(o))}},hR=class y2 extends aC{address;constructor(t,r){super(r),Ur(this,{address:t})}async getAddress(){return this.address}connect(t){return new y2(this.address,t)}#e(t,r){Ar(!1,`VoidSigner cannot sign ${t}`,"UNSUPPORTED_OPERATION",{operation:r})}async signTransaction(t){this.#e("transactions","signTransaction")}async signMessage(t){this.#e("messages","signMessage")}async signTypedData(t,r,o){this.#e("typed-data","signTypedData")}};m(),m();var pR=class m2 extends aC{address;#e;constructor(t,r){super(r),Te(t&&typeof t.sign=="function","invalid private key","privateKey","[ REDACTED ]"),this.#e=t;let o=mx(this.signingKey.publicKey);Ur(this,{address:o})}get signingKey(){return this.#e}get privateKey(){return this.signingKey.privateKey}async getAddress(){return this.address}connect(t){return new m2(this.#e,t)}async signTransaction(t){t=dR(t);let{to:r,from:o}=await rx({to:t.to?Z2(t.to,this.provider):void 0,from:t.from?Z2(t.from,this.provider):void 0});r!=null&&(t.to=r),o!=null&&(t.from=o),t.from!=null&&(Te(Ds(t.from)===this.address,"transaction from address mismatch","tx.from",t.from),delete t.from);let s=bx.from(t);return s.signature=this.signingKey.sign(s.unsignedHash),s.serialized}async signMessage(t){return this.signMessageSync(t)}signMessageSync(t){return this.signingKey.sign(DV(t)).serialized}async signTypedData(t,r,o){let s=await eT.resolveNames(t,r,o,async i=>{Ar(this.provider!=null,"cannot resolve ENS names without a provider","UNSUPPORTED_OPERATION",{operation:"resolveName",info:{name:i}});let n=await this.provider.resolveName(i);return Ar(n!=null,"unconfigured ENS name","UNCONFIGURED_NAME",{value:i}),n});return this.signingKey.sign(eT.hash(s.domain,r,s.value)).serialized}};m(),m(),m(),m();var FV=" !#$%&'()*+,-./<=>?@[]^_`{|}~",CIr=/^[a-z]*$/i;function iyt(e,t){let r=97;return e.reduce((o,s)=>(s===t?r++:s.match(CIr)?o.push(String.fromCharCode(r)+s):(r=97,o.push(s)),o),[])}function IIr(e,t){for(let s=FV.length-1;s>=0;s--)e=e.split(FV[s]).join(t.substring(2*s,2*s+2));let r=[],o=e.replace(/(:|([0-9])|([A-Z][a-z]*))/g,(s,i,n,a)=>{if(n)for(let u=parseInt(n);u>=0;u--)r.push(";");else r.push(i.toLowerCase());return""});if(o)throw new Error(`leftovers: ${JSON.stringify(o)}`);return iyt(iyt(r,";"),":")}function oyt(e){return Te(e[0]==="0","unsupported auwl data","data",e),IIr(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 oyt(this.#e)}#r;#n(){if(this.#r==null){let e=this._decodeWords();if(Ja(e.join(`
`)+`
`)!==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)}},OIr="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+IefIghtIngIskOccoli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OgramOje@Omo>OofOp tyOsp O>@OudOvide2Bl-Dd(g~LpL'Mpk(N^PilPpyR^a'R.yRpo'R'ShTZz!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",PIr="0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60",A1e=null,qh=class b2 extends gR{constructor(){super("en",OIr,PIr)}static wordlist(){return A1e==null&&(A1e=new b2),A1e}};m();function syt(e){return(1<<e)-1<<8-e&255}function BIr(e){return(1<<e)-1&255}function E1e(e,t){J8("NFKD"),t==null&&(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 o=new Uint8Array(Math.ceil(11*r.length/8)),s=0;for(let c=0;c<r.length;c++){let d=t.getWordIndex(r[c].normalize("NFKD"));Te(d>=0,`invalid mnemonic word at index ${c}`,"mnemonic","[ REDACTED ]");for(let h=0;h<11;h++)d&1<<10-h&&(o[s>>3]|=1<<7-s%8),s++}let i=32*r.length/3,n=r.length/3,a=syt(n),u=zt(ls(o.slice(0,i/8)))[0]&a;return Te(u===(o[o.length-1]&a),"invalid mnemonic checksum","mnemonic","[ REDACTED ]"),Ct(o.slice(0,i/8))}function T1e(e,t){Te(e.length%4===0&&e.length>=16&&e.length<=32,"invalid entropy size","entropy","[ REDACTED ]"),t==null&&(t=qh.wordlist());let r=[0],o=11;for(let n=0;n<e.length;n++)o>8?(r[r.length-1]<<=8,r[r.length-1]|=e[n],o-=8):(r[r.length-1]<<=o,r[r.length-1]|=e[n]>>8-o,r.push(e[n]&BIr(8-o)),o+=3);let s=e.length/4,i=parseInt(ls(e).substring(2,4),16)&syt(s);return r[r.length-1]<<=s,r[r.length-1]|=i>>8-s,t.join(r.map(n=>t.getWord(n)))}var S1e={},jh=class Yf{phrase;password;wordlist;entropy;constructor(t,r,o,s,i){s==null&&(s=""),i==null&&(i=qh.wordlist()),Qu(t,S1e,"Mnemonic"),Ur(this,{phrase:o,password:s,wordlist:i,entropy:r})}computeSeed(){let t=us("mnemonic"+this.password,"NFKD");return Rb(us(this.phrase,"NFKD"),t,2048,64,"sha512")}static fromPhrase(t,r,o){let s=E1e(t,o);return t=T1e(zt(s),o),new Yf(S1e,s,t,r,o)}static fromEntropy(t,r,o){let s=zt(t,"entropy"),i=T1e(s,o);return new Yf(S1e,Ct(s),i,r,o)}static entropyToPhrase(t,r){let o=zt(t,"entropy");return T1e(o,r)}static phraseToEntropy(t,r){return E1e(t,r)}static isValidMnemonic(t,r){try{return E1e(t,r),!0}catch{}return!1}};m(),m(),m();var iu=function(e,t,r,o){if(r==="a"&&!o)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?o:r==="a"?o.call(e):o?o.value:t.get(e)},C1e=function(e,t,r,o,s){if(o==="m")throw new TypeError("Private method is not writable");if(o==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return o==="a"?s.call(e,r):s?s.value=r:t.set(e,r),r},zV,Vh,Ty,kIr={16:10,24:12,32:14},MIr=[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],_Ir=[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],RIr=[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],NIr=[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],DIr=[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],UIr=[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],LIr=[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],FIr=[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],WIr=[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],zIr=[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],KIr=[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],HIr=[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],qIr=[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 w2{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 w2))throw Error("AES must be instanitated with `new`");C1e(this,zV,new Uint8Array(t),"f");let r=kIr[this.key.length];if(r==null)throw new TypeError("invalid key size (must be 16, 24 or 32 bytes)");C1e(this,Ty,[],"f"),C1e(this,Vh,[],"f");for(let d=0;d<=r;d++)iu(this,Ty,"f").push([0,0,0,0]),iu(this,Vh,"f").push([0,0,0,0]);let o=(r+1)*4,s=this.key.length/4,i=I1e(this.key),n;for(let d=0;d<s;d++)n=d>>2,iu(this,Ty,"f")[n][d%4]=i[d],iu(this,Vh,"f")[r-n][d%4]=i[d];let a=0,u=s,c;for(;u<o;){if(c=i[s-1],i[0]^=Gh[c>>16&255]<<24^Gh[c>>8&255]<<16^Gh[c&255]<<8^Gh[c>>24&255]^MIr[a]<<24,a+=1,s!=8)for(let C=1;C<s;C++)i[C]^=i[C-1];else{for(let C=1;C<s/2;C++)i[C]^=i[C-1];c=i[s/2-1],i[s/2]^=Gh[c&255]^Gh[c>>8&255]<<8^Gh[c>>16&255]<<16^Gh[c>>24&255]<<24;for(let C=s/2+1;C<s;C++)i[C]^=i[C-1]}let d=0,h,y;for(;d<s&&u<o;)h=u>>2,y=u%4,iu(this,Ty,"f")[h][y]=i[d],iu(this,Vh,"f")[r-h][y]=i[d++],u++}for(let d=1;d<r;d++)for(let h=0;h<4;h++)c=iu(this,Vh,"f")[d][h],iu(this,Vh,"f")[d][h]=zIr[c>>24&255]^KIr[c>>16&255]^HIr[c>>8&255]^qIr[c&255]}encrypt(t){if(t.length!=16)throw new TypeError("invalid plaintext size (must be 16 bytes)");let r=iu(this,Ty,"f").length-1,o=[0,0,0,0],s=I1e(t);for(let a=0;a<4;a++)s[a]^=iu(this,Ty,"f")[0][a];for(let a=1;a<r;a++){for(let u=0;u<4;u++)o[u]=_Ir[s[u]>>24&255]^RIr[s[(u+1)%4]>>16&255]^NIr[s[(u+2)%4]>>8&255]^DIr[s[(u+3)%4]&255]^iu(this,Ty,"f")[a][u];s=o.slice()}let i=new Uint8Array(16),n=0;for(let a=0;a<4;a++)n=iu(this,Ty,"f")[r][a],i[4*a]=(Gh[s[a]>>24&255]^n>>24)&255,i[4*a+1]=(Gh[s[(a+1)%4]>>16&255]^n>>16)&255,i[4*a+2]=(Gh[s[(a+2)%4]>>8&255]^n>>8)&255,i[4*a+3]=(Gh[s[(a+3)%4]&255]^n)&255;return i}decrypt(t){if(t.length!=16)throw new TypeError("invalid ciphertext size (must be 16 bytes)");let r=iu(this,Vh,"f").length-1,o=[0,0,0,0],s=I1e(t);for(let a=0;a<4;a++)s[a]^=iu(this,Vh,"f")[0][a];for(let a=1;a<r;a++){for(let u=0;u<4;u++)o[u]=UIr[s[u]>>24&255]^LIr[s[(u+3)%4]>>16&255]^FIr[s[(u+2)%4]>>8&255]^WIr[s[(u+1)%4]&255]^iu(this,Vh,"f")[a][u];s=o.slice()}let i=new Uint8Array(16),n=0;for(let a=0;a<4;a++)n=iu(this,Vh,"f")[r][a],i[4*a]=(WV[s[a]>>24&255]^n>>24)&255,i[4*a+1]=(WV[s[(a+3)%4]>>16&255]^n>>16)&255,i[4*a+2]=(WV[s[(a+2)%4]>>8&255]^n>>8)&255,i[4*a+3]=(WV[s[(a+1)%4]&255]^n)&255;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}})}};m();var jIr,GIr;jIr=new WeakMap,GIr=new WeakMap,m();var O1e=function(e,t,r,o){if(r==="a"&&!o)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?o:r==="a"?o.call(e):o?o.value:t.get(e)},VIr,JIr,KV,XIr;JIr=new WeakMap,KV=new WeakMap,VIr=new WeakSet,XIr=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,o,s){if(o==="m")throw new TypeError("Private method is not writable");if(o==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return o==="a"?s.call(e,r):s?s.value=r:t.set(e,r),r},Jh=function(e,t,r,o){if(r==="a"&&!o)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?o:r==="a"?o.call(e):o?o.value:t.get(e)},mR,rT,Xh,uC=class v2 extends Lb{constructor(t,r){super("CTR",t,v2),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"),r==null&&(r=1),typeof r=="number"?this.setCounterValue(r):this.setCounterBytes(r)}get counter(){return new Uint8Array(Jh(this,Xh,"f"))}setCounterValue(t){if(!Number.isInteger(t)||t<0||t>Number.MAX_SAFE_INTEGER)throw new TypeError("invalid counter initial integer value");for(let r=15;r>=0;--r)Jh(this,Xh,"f")[r]=t%256,t=Math.floor(t/256)}setCounterBytes(t){if(t.length!==16)throw new TypeError("invalid counter initial Uint8Array value length");Jh(this,Xh,"f").set(t)}increment(){for(let t=15;t>=0;t--)if(Jh(this,Xh,"f")[t]===255)Jh(this,Xh,"f")[t]=0;else{Jh(this,Xh,"f")[t]++;break}}encrypt(t){var r,o;let s=new Uint8Array(t);for(let i=0;i<s.length;i++)Jh(this,rT,"f")===16&&(cC(this,mR,this.aes.encrypt(Jh(this,Xh,"f")),"f"),cC(this,rT,0,"f"),this.increment()),s[i]^=Jh(this,mR,"f")[cC(this,rT,(o=Jh(this,rT,"f"),r=o++,o),"f"),r];return s}decrypt(t){return this.encrypt(t)}};mR=new WeakMap,rT=new WeakMap,Xh=new WeakMap,m(),m();var YIr,QIr,ZIr;YIr=new WeakMap,QIr=new WeakMap,ZIr=new WeakMap,m(),m();function lC(e,t){for(e=String(e);e.length<t;)e="0"+e;return e}function P1e(e){return typeof e=="string"?us(e,"NFKC"):as(e)}var $Ir="m/44'/60'/0'/0/0";function ayt(e){let t=e.salt!=null?zt(e.salt,"options.salt"):Nd(32),r=1<<17,o=8,s=1;return e.scrypt&&(e.scrypt.N&&(r=e.scrypt.N),e.scrypt.r&&(o=e.scrypt.r),e.scrypt.p&&(s=e.scrypt.p)),Te(typeof r=="number"&&r>0&&Number.isSafeInteger(r)&&(BigInt(r)&BigInt(r-1))===BigInt(0),"invalid scrypt N parameter","options.N",r),Te(typeof o=="number"&&o>0&&Number.isSafeInteger(o),"invalid scrypt r parameter","options.r",o),Te(typeof s=="number"&&s>0&&Number.isSafeInteger(s),"invalid scrypt p parameter","options.p",s),{name:"scrypt",dkLen:32,salt:t,N:r,r:o,p:s}}function cyt(e,t,r,o){let s=zt(r.privateKey,"privateKey"),i=o.iv!=null?zt(o.iv,"options.iv"):Nd(16);Te(i.length===16,"invalid options.iv length","options.iv",o.iv);let n=o.uuid!=null?zt(o.uuid,"options.uuid"):Nd(16);Te(n.length===16,"invalid options.uuid length","options.uuid",o.iv);let a=e.slice(0,16),u=e.slice(16,32),c=new uC(a,i),d=zt(c.encrypt(s)),h=Wr(xn([u,d])),y={address:r.address.substring(2).toLowerCase(),id:oV(n),version:3,Crypto:{cipher:"aes-128-ctr",cipherparams:{iv:Ct(i).substring(2)},ciphertext:Ct(d).substring(2),kdf:"scrypt",kdfparams:{salt:Ct(t.salt).substring(2),n:t.N,dklen:32,p:t.p,r:t.r},mac:h.substring(2)}};if(r.mnemonic){let C=o.client!=null?o.client:`ethers/${QG}`,w=r.mnemonic.path||$Ir,T=r.mnemonic.locale||"en",A=e.slice(32,64),O=zt(r.mnemonic.entropy,"account.mnemonic.entropy"),v=Nd(16),B=new uC(A,v),R=zt(B.encrypt(O)),U=new Date,N="UTC--"+(U.getUTCFullYear()+"-"+lC(U.getUTCMonth()+1,2)+"-"+lC(U.getUTCDate(),2)+"T"+lC(U.getUTCHours(),2)+"-"+lC(U.getUTCMinutes(),2)+"-"+lC(U.getUTCSeconds(),2)+".0Z")+"--"+y.address;y["x-ethers"]={client:C,gethFilename:N,path:w,locale:T,mnemonicCounter:Ct(v).substring(2),mnemonicCiphertext:Ct(R).substring(2),version:"0.1"}}return JSON.stringify(y)}function B1e(e,t,r){r==null&&(r={});let o=P1e(t),s=ayt(r),i=hx(o,s.salt,s.N,s.r,s.p,64);return cyt(zt(i),s,e,r)}async function k1e(e,t,r){r==null&&(r={});let o=P1e(t),s=ayt(r),i=await dx(o,s.salt,s.N,s.r,s.p,64,r.progressCallback);return cyt(zt(i),s,e,r)}var bR="m/44'/60'/0'/0/0",eOr=new Uint8Array([66,105,116,99,111,105,110,32,115,101,101,100]),wx=2147483648,tOr=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),rOr="0123456789abcdef";function HV(e,t){let r="";for(;e;)r=rOr[e%16]+r,e=Math.trunc(e/16);for(;r.length<t*2;)r="0"+r;return"0x"+r}function M1e(e){let t=zt(e),r=Rd(ls(ls(t)),0,4),o=xn([t,r]);return nV(o)}var Sy={};function uyt(e,t,r,o){let s=new Uint8Array(37);e&wx?(Ar(o!=null,"cannot derive child of neutered node","UNSUPPORTED_OPERATION",{operation:"deriveChild"}),s.set(zt(o),1)):s.set(zt(r));for(let n=24;n>=0;n-=8)s[33+(n>>3)]=e>>24-n&255;let i=zt(Kh("sha512",t,s));return{IL:i.slice(0,32),IR:i.slice(32)}}function lyt(e,t){let r=t.split("/");Te(r.length>0,"invalid path","path",t),r[0]==="m"&&(Te(e.depth===0,`cannot derive root path (i.e. path starting with "m/") for a node at non-zero depth ${e.depth}`,"path",t),r.shift());let o=e;for(let s=0;s<r.length;s++){let i=r[s];if(i.match(/^[0-9]+'$/)){let n=parseInt(i.substring(0,i.length-1));Te(n<wx,"invalid path index",`path[${s}]`,i),o=o.deriveChild(wx+n)}else if(i.match(/^[0-9]+$/)){let n=parseInt(i);Te(n<wx,"invalid path index",`path[${s}]`,i),o=o.deriveChild(n)}else Te(!1,"invalid path component",`path[${s}]`,i)}return o}var Fb=class lu extends pR{publicKey;fingerprint;parentFingerprint;mnemonic;chainCode;path;index;depth;constructor(t,r,o,s,i,n,a,u,c){super(r,c),Qu(t,Sy,"HDNodeWallet"),Ur(this,{publicKey:r.compressedPublicKey});let d=Rd(_b(ls(this.publicKey)),0,4);Ur(this,{parentFingerprint:o,fingerprint:d,chainCode:s,path:i,index:n,depth:a}),Ur(this,{mnemonic:u})}connect(t){return new lu(Sy,this.signingKey,this.parentFingerprint,this.chainCode,this.path,this.index,this.depth,this.mnemonic,t)}#e(){let t={address:this.address,privateKey:this.privateKey},r=this.mnemonic;return this.path&&r&&r.wordlist.locale==="en"&&r.password===""&&(t.mnemonic={path:this.path,locale:"en",entropy:r.entropy}),t}async encrypt(t,r){return await k1e(this.#e(),t,{progressCallback:r})}encryptSync(t){return B1e(this.#e(),t)}get extendedKey(){return Ar(this.depth<256,"Depth too deep","UNSUPPORTED_OPERATION",{operation:"extendedKey"}),M1e(xn(["0x0488ADE4",HV(this.depth,1),this.parentFingerprint,HV(this.index,4),this.chainCode,xn(["0x00",this.privateKey])]))}hasPath(){return this.path!=null}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=Mo(t,"index");Te(r<=4294967295,"invalid index","index",r);let o=this.path;o&&(o+="/"+(r&~wx),r&wx&&(o+="'"));let{IR:s,IL:i}=uyt(r,this.chainCode,this.publicKey,this.privateKey),n=new Ns(Ga((Pb(i)+BigInt(this.privateKey))%tOr,32));return new lu(Sy,n,this.fingerprint,Ct(s),o,r,this.depth+1,this.mnemonic,this.provider)}derivePath(t){return lyt(this,t)}static#t(t,r){Te(Ey(t),"invalid seed","seed","[REDACTED]");let o=zt(t,"seed");Te(o.length>=16&&o.length<=64,"invalid seed","seed","[REDACTED]");let s=zt(Kh("sha512",eOr,o)),i=new Ns(Ct(s.slice(0,32)));return new lu(Sy,i,"0x00000000",Ct(s.slice(32)),"m",0,0,r,null)}static fromExtendedKey(t){let r=ta(iV(t));Te(r.length===82||M1e(r.slice(0,78))===t,"invalid extended key","extendedKey","[ REDACTED ]");let o=r[4],s=Ct(r.slice(5,9)),i=parseInt(Ct(r.slice(9,13)).substring(2),16),n=Ct(r.slice(13,45)),a=r.slice(45,78);switch(Ct(r.slice(0,4))){case"0x0488b21e":case"0x043587cf":{let u=Ct(a);return new fC(Sy,mx(u),u,s,n,null,i,o,null)}case"0x0488ade4":case"0x04358394 ":if(a[0]!==0)break;return new lu(Sy,new Ns(a.slice(1)),s,n,null,i,o,null,null)}Te(!1,"invalid extended key prefix","extendedKey","[ REDACTED ]")}static createRandom(t,r,o){t==null&&(t=""),r==null&&(r=bR),o==null&&(o=qh.wordlist());let s=jh.fromEntropy(Nd(16),t,o);return lu.#t(s.computeSeed(),s).derivePath(r)}static fromMnemonic(t,r){return r||(r=bR),lu.#t(t.computeSeed(),t).derivePath(r)}static fromPhrase(t,r,o,s){r==null&&(r=""),o==null&&(o=bR),s==null&&(s=qh.wordlist());let i=jh.fromPhrase(t,r,s);return lu.#t(i.computeSeed(),i).derivePath(o)}static fromSeed(t){return lu.#t(t,null)}},fC=class Xf extends hR{publicKey;fingerprint;parentFingerprint;chainCode;path;index;depth;constructor(t,r,o,s,i,n,a,u,c){super(r,c),Qu(t,Sy,"HDNodeVoidWallet"),Ur(this,{publicKey:o});let d=Rd(_b(ls(o)),0,4);Ur(this,{publicKey:o,fingerprint:d,parentFingerprint:s,chainCode:i,path:n,index:a,depth:u})}connect(t){return new Xf(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"}),M1e(xn(["0x0488B21E",HV(this.depth,1),this.parentFingerprint,HV(this.index,4),this.chainCode,this.publicKey]))}hasPath(){return this.path!=null}deriveChild(t){let r=Mo(t,"index");Te(r<=4294967295,"invalid index","index",r);let o=this.path;o&&(o+="/"+(r&~wx),r&wx&&(o+="'"));let{IR:s,IL:i}=uyt(r,this.chainCode,this.publicKey,null),n=Ns.addPoints(i,this.publicKey,!0),a=mx(n);return new Xf(Sy,a,n,this.fingerprint,Ct(s),o,r,this.depth+1,this.provider)}derivePath(t){return lyt(this,t)}};m(),m();var qV={en:qh.wordlist()};m(),m();var _1e;function Ll(e){let t=new Set;return e.forEach(r=>t.add(r)),Object.freeze(t)}var wyt="constant external internal payable private public pure view",oOr=Ll(wyt.split(" ")),xyt="constructor error event fallback function receive struct",Ayt=Ll(xyt.split(" ")),Eyt="calldata memory storage payable indexed",sOr=Ll(Eyt.split(" ")),aOr="tuple returns",cOr=[xyt,Eyt,aOr,wyt].join(" "),uOr=Ll(cOr.split(" ")),lOr={"(":"OPEN_PAREN",")":"CLOSE_PAREN","[":"OPEN_BRACKET","]":"CLOSE_BRACKET",",":"COMMA","@":"AT"},fOr=new RegExp("^(\\s*)"),dOr=new RegExp("^([0-9]+)"),hOr=new RegExp("^([a-zA-Z$_][a-zA-Z0-9$_]*)"),Tyt=new RegExp("^([a-zA-Z$_][a-zA-Z0-9$_]*)$"),Syt=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(r=>Object.freeze(Object.assign({},r,{match:r.match-e,linkBack:r.linkBack-e,linkNext:r.linkNext-e}))))}popKeyword(e){let t=this.peek();if(t.type!=="KEYWORD"||!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(e.type!=="OPEN_PAREN")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(e.type!=="OPEN_PAREN")throw new Error("bad start");let t=[];for(;this.#e<e.match-1;){let r=this.peek().linkNext;t.push(this.#r(this.#e+1,r)),this.#e=r}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 t!=null&&e.has(t)?t:null}peekType(e){if(this.length===0)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(" ")}>`}};_1e=Qh;function xx(e){let t=[],r=n=>{let a=i<e.length?JSON.stringify(e[i]):"$EOI";throw new Error(`invalid token ${a} at ${i}: ${n}`)},o=[],s=[],i=0;for(;i<e.length;){let n=e.substring(i),a=n.match(fOr);a&&(i+=a[1].length,n=e.substring(i));let u={depth:o.length,linkBack:-1,linkNext:-1,match:-1,type:"",text:"",offset:i,value:-1};t.push(u);let c=lOr[n[0]]||"";if(c){if(u.type=c,u.text=n[0],i++,c==="OPEN_PAREN")o.push(t.length-1),s.push(t.length-1);else if(c=="CLOSE_PAREN")o.length===0&&r("no matching open bracket"),u.match=o.pop(),t[u.match].match=t.length-1,u.depth--,u.linkBack=s.pop(),t[u.linkBack].linkNext=t.length-1;else if(c==="COMMA")u.linkBack=s.pop(),t[u.linkBack].linkNext=t.length-1,s.push(t.length-1);else if(c==="OPEN_BRACKET")u.type="BRACKET";else if(c==="CLOSE_BRACKET"){let d=t.pop().text;if(t.length>0&&t[t.length-1].type==="NUMBER"){let h=t.pop().text;d=h+d,t[t.length-1].value=Mo(h)}if(t.length===0||t[t.length-1].type!=="BRACKET")throw new Error("missing opening bracket");t[t.length-1].text+=d}continue}if(a=n.match(hOr),a){if(u.text=a[1],i+=u.text.length,uOr.has(u.text)){u.type="KEYWORD";continue}if(u.text.match(Syt)){u.type="TYPE";continue}u.type="ID";continue}if(a=n.match(dOr),a){u.text=a[1],u.type="NUMBER",i+=u.text.length;continue}throw new Error(`unexpected token ${JSON.stringify(n[0])} at position ${i}`)}return new Qh(t.map(n=>Object.freeze(n)))}function fyt(e,t){let r=[];for(let o in t.keys())e.has(o)&&r.push(o);if(r.length>1)throw new Error(`conflicting types: ${r.join(", ")}`)}function GV(e,t){if(t.peekKeyword(Ayt)){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 o=e.peekType("KEYWORD");if(o==null||t&&!t.has(o))break;if(e.pop(),r.has(o))throw new Error(`duplicate keywords: ${JSON.stringify(o)}`);r.add(o)}return Object.freeze(r)}function Cyt(e){let t=zb(e,oOr);return fyt(t,Ll("constant payable nonpayable".split(" "))),fyt(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(r=>Fl.from(r,t))}function Iyt(e){if(e.peekType("AT")){if(e.pop(),e.peekType("NUMBER"))return kn(e.pop().text);throw new Error("invalid gas")}return null}function sT(e){if(e.length)throw new Error(`unexpected tokens: ${e.toString()}`)}var pOr=new RegExp(/^(.*)\[([0-9]*)\]$/);function dyt(e){let t=e.match(Syt);if(Te(t,"invalid type","type",e),e==="uint")return"uint256";if(e==="int")return"int256";if(t[2]){let r=parseInt(t[2]);Te(r!==0&&r<=32,"invalid bytes length","type",e)}else if(t[3]){let r=parseInt(t[3]);Te(r!==0&&r<=256&&r%8===0,"invalid numeric width","type",e)}return e}var ys={},Hf=Symbol.for("_ethers_internal"),hyt="_ParamTypeInternal",pyt="_ErrorInternal",gyt="_EventInternal",yyt="_ConstructorInternal",myt="_FallbackInternal",byt="_FunctionInternal",vyt="_StructInternal",Fl=class ca{name;type;baseType;indexed;components;arrayLength;arrayChildren;constructor(t,r,o,s,i,n,a,u){if(Qu(t,ys,"ParamType"),Object.defineProperty(this,Hf,{value:hyt}),n&&(n=Object.freeze(n.slice())),s==="array"){if(a==null||u==null)throw new Error("")}else if(a!=null||u!=null)throw new Error("");if(s==="tuple"){if(n==null)throw new Error("")}else if(n!=null)throw new Error("");Ur(this,{name:r,type:o,baseType:s,indexed:i,components:n,arrayLength:a,arrayChildren:u})}format(t){if(t==null&&(t="sighash"),t==="json"){let o={type:this.baseType==="tuple"?"tuple":this.type,name:this.name||void 0};return typeof this.indexed=="boolean"&&(o.indexed=this.indexed),this.isTuple()&&(o.components=this.components.map(s=>JSON.parse(s.format(t)))),JSON.stringify(o)}let r="";return this.isArray()?(r+=this.arrayChildren.format(t),r+=`[${this.arrayLength<0?"":String(this.arrayLength)}]`):this.isTuple()?(t!=="sighash"&&(r+=this.type),r+="("+this.components.map(o=>o.format(t)).join(t==="full"?", ":",")+")"):r+=this.type,t!=="sighash"&&(this.indexed===!0&&(r+=" indexed"),t==="full"&&this.name&&(r+=" "+this.name)),r}isArray(){return this.baseType==="array"}isTuple(){return this.baseType==="tuple"}isIndexable(){return this.indexed!=null}walk(t,r){if(this.isArray()){if(!Array.isArray(t))throw new Error("invalid array value");if(this.arrayLength!==-1&&t.length!==this.arrayLength)throw new Error("array is wrong length");return t.map(o=>this.arrayChildren?.walk(o,r))}if(this.isTuple()){if(!Array.isArray(t))throw new Error("invalid tuple value");if(t.length!==this.components.length)throw new Error("array is wrong length");return t.map((o,s)=>this.components?.[s].walk(o,r))}return r(this.type,t)}#e(t,r,o,s){if(this.isArray()){if(!Array.isArray(r))throw new Error("invalid array value");if(this.arrayLength!==-1&&r.length!==this.arrayLength)throw new Error("array is wrong length");let n=this.arrayChildren,a=r.slice();a.forEach((u,c)=>{n.#e(t,u,o,d=>{a[c]=d})}),s(a);return}if(this.isTuple()){let n=this.components,a;if(Array.isArray(r))a=r.slice();else{if(r==null||typeof r!="object")throw new Error("invalid tuple value");a=n.map(u=>{if(!u.name)throw new Error("cannot use object value with unnamed components");if(!(u.name in r))throw new Error(`missing value for component ${u.name}`);return r[u.name]})}if(a.length!==this.components.length)throw new Error("array is wrong length");a.forEach((u,c)=>{n[c].#e(t,u,o,d=>{a[c]=d})}),s(a);return}let i=o(this.type,r);i.then?t.push((async function(){s(await i)})()):s(i)}async walkAsync(t,r){let o=[],s=[t];return this.#e(o,t,r,i=>{s[0]=i}),o.length&&await Promise.all(o),s[0]}static from(t,r){if(ca.isParamType(t))return t;if(typeof t=="string")return ca.from(xx(t),r);if(t instanceof Qh){let a="",u="",c=null;zb(t,Ll(["tuple"])).has("tuple")||t.peekType("OPEN_PAREN")?(u="tuple",c=t.popParams().map(w=>ca.from(w)),a=`tuple(${c.map(w=>w.format()).join(",")})`):(a=dyt(t.popType("TYPE")),u=a);let d=null,h=null;for(;t.length&&t.peekType("BRACKET");){let w=t.pop();d=new ca(ys,"",a,u,null,c,h,d),h=w.value,a+=w.text,u="array",c=null}let y=null;if(zb(t,sOr).has("indexed")){if(!r)throw new Error("");y=!0}let C=t.peekType("ID")?t.pop().text:"";if(t.length)throw new Error("leftover tokens");return new ca(ys,C,a,u,y,c,h,d)}let o=t.name;Te(!o||typeof o=="string"&&o.match(Tyt),"invalid name","obj.name",o);let s=t.indexed;s!=null&&(Te(r,"parameter cannot be indexed","obj.indexed",t.indexed),s=!!s);let i=t.type,n=i.match(pOr);if(n){let a=parseInt(n[2]||"-1"),u=ca.from({type:n[1],components:t.components});return new ca(ys,o||"",i,"array",s,null,a,u)}if(i==="tuple"||i.startsWith("tuple(")||i.startsWith("(")){let a=t.components!=null?t.components.map(u=>ca.from(u)):null;return new ca(ys,o||"",i,"tuple",s,a,null,null)}return i=dyt(t.type),new ca(ys,o||"",i,i,s,null,null,null)}static isParamType(t){return t&&t[Hf]===hyt}},aT=class $f{type;inputs;constructor(t,r,o){Qu(t,ys,"Fragment"),o=Object.freeze(o.slice()),Ur(this,{type:r,inputs:o})}static from(t){if(typeof t=="string"){try{$f.from(JSON.parse(t))}catch{}return $f.from(xx(t))}if(t instanceof Qh)switch(t.peekKeyword(Ayt)){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(typeof t=="object"){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(t){return iT.isFragment(t)}static isError(t){return Yh.isFragment(t)}static isEvent(t){return nT.isFragment(t)}static isFunction(t){return oT.isFragment(t)}static isStruct(t){return vR.isFragment(t)}},dC=class extends aT{name;constructor(e,t,r,o){super(e,t,o),Te(typeof r=="string"&&r.match(Tyt),"invalid identifier","name",r),o=Object.freeze(o.slice()),Ur(this,{name:r})}};function wR(e,t){return"("+t.map(r=>r.format(e)).join(e==="full"?", ":",")+")"}var Yh=class dl extends dC{constructor(t,r,o){super(t,"error",r,o),Object.defineProperty(this,Hf,{value:pyt})}get selector(){return Ja(this.format("sighash")).substring(0,10)}format(t){if(t==null&&(t="sighash"),t==="json")return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map(o=>JSON.parse(o.format(t)))});let r=[];return t!=="sighash"&&r.push("error"),r.push(this.name+wR(t,this.inputs)),r.join(" ")}static from(t){if(dl.isFragment(t))return t;if(typeof t=="string")return dl.from(xx(t));if(t instanceof Qh){let r=GV("error",t),o=Wb(t);return sT(t),new dl(ys,r,o)}return new dl(ys,t.name,t.inputs?t.inputs.map(Fl.from):[])}static isFragment(t){return t&&t[Hf]===pyt}},nT=class Bc extends dC{anonymous;constructor(t,r,o,s){super(t,"event",r,o),Object.defineProperty(this,Hf,{value:gyt}),Ur(this,{anonymous:s})}get topicHash(){return Ja(this.format("sighash"))}format(t){if(t==null&&(t="sighash"),t==="json")return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map(o=>JSON.parse(o.format(t)))});let r=[];return t!=="sighash"&&r.push("event"),r.push(this.name+wR(t,this.inputs)),t!=="sighash"&&this.anonymous&&r.push("anonymous"),r.join(" ")}static getTopicHash(t,r){return r=(r||[]).map(o=>Fl.from(o)),new Bc(ys,t,r,!1).topicHash}static from(t){if(Bc.isFragment(t))return t;if(typeof t=="string")return Bc.from(xx(t));if(t instanceof Qh){let r=GV("event",t),o=Wb(t,!0),s=!!zb(t,Ll(["anonymous"])).has("anonymous");return sT(t),new Bc(ys,r,o,s)}return new Bc(ys,t.name,t.inputs?t.inputs.map(r=>Fl.from(r,!0)):[],!!t.anonymous)}static isFragment(t){return t&&t[Hf]===gyt}},iT=class hl extends aT{payable;gas;constructor(t,r,o,s,i){super(t,r,o),Object.defineProperty(this,Hf,{value:yyt}),Ur(this,{payable:s,gas:i})}format(t){if(Ar(t!=null&&t!=="sighash","cannot format a constructor for sighash","UNSUPPORTED_OPERATION",{operation:"format(sighash)"}),t==="json")return JSON.stringify({type:"constructor",stateMutability:this.payable?"payable":"undefined",payable:this.payable,gas:this.gas!=null?this.gas:void 0,inputs:this.inputs.map(o=>JSON.parse(o.format(t)))});let r=[`constructor${wR(t,this.inputs)}`];return r.push(this.payable?"payable":"nonpayable"),this.gas!=null&&r.push(`@${this.gas.toString()}`),r.join(" ")}static from(t){if(hl.isFragment(t))return t;if(typeof t=="string")return hl.from(xx(t));if(t instanceof Qh){zb(t,Ll(["constructor"]));let r=Wb(t),o=!!zb(t,Ll(["payable"])).has("payable"),s=Iyt(t);return sT(t),new hl(ys,"constructor",r,o,s)}return new hl(ys,"constructor",t.inputs?t.inputs.map(Fl.from):[],!!t.payable,t.gas!=null?t.gas:null)}static isFragment(t){return t&&t[Hf]===yyt}},jV=class tc extends aT{payable;constructor(t,r,o){super(t,"fallback",r),Object.defineProperty(this,Hf,{value:myt}),Ur(this,{payable:o})}format(t){let r=this.inputs.length===0?"receive":"fallback";if(t==="json"){let o=this.payable?"payable":"nonpayable";return JSON.stringify({type:r,stateMutability:o})}return`${r}()${this.payable?" payable":""}`}static from(t){if(tc.isFragment(t))return t;if(typeof t=="string")return tc.from(xx(t));if(t instanceof Qh){let r=t.toString(),o=t.peekKeyword(Ll(["fallback","receive"]));if(Te(o,"type must be fallback or receive","obj",r),t.popKeyword(Ll(["fallback","receive"]))==="receive"){let n=Wb(t);return Te(n.length===0,"receive cannot have arguments","obj.inputs",n),zb(t,Ll(["payable"])),sT(t),new tc(ys,[],!0)}let s=Wb(t);s.length?Te(s.length===1&&s[0].type==="bytes","invalid fallback inputs","obj.inputs",s.map(n=>n.format("minimal")).join(", ")):s=[Fl.from("bytes")];let i=Cyt(t);if(Te(i==="nonpayable"||i==="payable","fallback cannot be constants","obj.stateMutability",i),zb(t,Ll(["returns"])).has("returns")){let n=Wb(t);Te(n.length===1&&n[0].type==="bytes","invalid fallback outputs","obj.outputs",n.map(a=>a.format("minimal")).join(", "))}return sT(t),new tc(ys,s,i==="payable")}if(t.type==="receive")return new tc(ys,[],!0);if(t.type==="fallback"){let r=[Fl.from("bytes")],o=t.stateMutability==="payable";return new tc(ys,r,o)}Te(!1,"invalid fallback description","obj",t)}static isFragment(t){return t&&t[Hf]===myt}},oT=class Nc extends dC{constant;outputs;stateMutability;payable;gas;constructor(t,r,o,s,i,n){super(t,"function",r,s),Object.defineProperty(this,Hf,{value:byt}),i=Object.freeze(i.slice()),Ur(this,{constant:o==="view"||o==="pure",gas:n,outputs:i,payable:o==="payable",stateMutability:o})}get selector(){return Ja(this.format("sighash")).substring(0,10)}format(t){if(t==null&&(t="sighash"),t==="json")return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:this.stateMutability!=="nonpayable"?this.stateMutability:void 0,payable:this.payable,gas:this.gas!=null?this.gas:void 0,inputs:this.inputs.map(o=>JSON.parse(o.format(t))),outputs:this.outputs.map(o=>JSON.parse(o.format(t)))});let r=[];return t!=="sighash"&&r.push("function"),r.push(this.name+wR(t,this.inputs)),t!=="sighash"&&(this.stateMutability!=="nonpayable"&&r.push(this.stateMutability),this.outputs&&this.outputs.length&&(r.push("returns"),r.push(wR(t,this.outputs))),this.gas!=null&&r.push(`@${this.gas.toString()}`)),r.join(" ")}static getSelector(t,r){return r=(r||[]).map(o=>Fl.from(o)),new Nc(ys,t,"view",r,[],null).selector}static from(t){if(Nc.isFragment(t))return t;if(typeof t=="string")return Nc.from(xx(t));if(t instanceof Qh){let o=GV("function",t),s=Wb(t),i=Cyt(t),n=[];zb(t,Ll(["returns"])).has("returns")&&(n=Wb(t));let a=Iyt(t);return sT(t),new Nc(ys,o,i,s,n,a)}let r=t.stateMutability;return r==null&&(r="payable",typeof t.constant=="boolean"?(r="view",t.constant||(r="payable",typeof t.payable=="boolean"&&!t.payable&&(r="nonpayable"))):typeof t.payable=="boolean"&&!t.payable&&(r="nonpayable")),new Nc(ys,t.name,r,t.inputs?t.inputs.map(Fl.from):[],t.outputs?t.outputs.map(Fl.from):[],t.gas!=null?t.gas:null)}static isFragment(t){return t&&t[Hf]===byt}},vR=class bd extends dC{constructor(t,r,o){super(t,"struct",r,o),Object.defineProperty(this,Hf,{value:vyt})}format(){throw new Error("@TODO")}static from(t){if(typeof t=="string")return bd.from(xx(t));if(t instanceof Qh){let r=GV("struct",t),o=Wb(t);return sT(t),new bd(ys,r,o)}return new bd(ys,t.name,t.inputs?t.inputs.map(Fl.from):[])}static isFragment(t){return t&&t[Hf]===vyt}},R1e=class{fragment;name;signature;topic;args;constructor(e,t,r){let o=e.name,s=e.format();Ur(this,{fragment:e,name:o,signature:s,topic:t,args:r})}},N1e=class{fragment;name;args;signature;selector;value;constructor(e,t,r,o){let s=e.name,i=e.format();Ur(this,{fragment:e,name:s,args:r,signature:i,selector:t,value:o})}},D1e=class{fragment;name;args;signature;selector;constructor(e,t,r){let o=e.name,s=e.format();Ur(this,{fragment:e,name:o,args:r,signature:s,selector:t})}},VV=class{hash;_isIndexed;static isIndexed(e){return!!(e&&e._isIndexed)}constructor(e){Ur(this,{hash:e,_isIndexed:!0})}},Oyt={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"},Pyt={"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&&Oyt[e.toString()]&&(t=Oyt[e.toString()]),`reverted with panic code 0x${e.toString(16)} (${t})`}}},JV=class fl{fragments;deploy;fallback;receive;#e;#t;#r;#n;constructor(t){let r=[];typeof t=="string"?r=JSON.parse(t):r=t,this.#r=new Map,this.#e=new Map,this.#t=new Map;let o=[];for(let n of r)try{o.push(aT.from(n))}catch(a){console.log("EE",a)}Ur(this,{fragments:Object.freeze(o)});let s=null,i=!1;this.#n=this.getAbiCoder(),this.fragments.forEach((n,a)=>{let u;switch(n.type){case"constructor":if(this.deploy){console.log("duplicate definition - constructor");return}Ur(this,{deploy:n});return;case"fallback":n.inputs.length===0?i=!0:(Te(!s||n.payable!==s.payable,"conflicting fallback fragments",`fragments[${a}]`,n),s=n,i=s.payable);return;case"function":u=this.#r;break;case"event":u=this.#t;break;case"error":u=this.#e;break;default:return}let c=n.format();u.has(c)||u.set(c,n)}),this.deploy||Ur(this,{deploy:iT.from("constructor()")}),Ur(this,{fallback:s,receive:i})}format(t){let r=t?"minimal":"full";return this.fragments.map(o=>o.format(r))}formatJson(){let t=this.fragments.map(r=>r.format("json"));return JSON.stringify(t.map(r=>JSON.parse(r)))}getAbiCoder(){return Kf.defaultAbiCoder()}#i(t,r,o){if(cs(t)){let i=t.toLowerCase();for(let n of this.#r.values())if(i===n.selector)return n;return null}if(t.indexOf("(")===-1){let i=[];for(let[n,a]of this.#r)n.split("(")[0]===t&&i.push(a);if(r){let n=r.length>0?r[r.length-1]:null,a=r.length,u=!0;fs.isTyped(n)&&n.type==="overrides"&&(u=!1,a--);for(let c=i.length-1;c>=0;c--){let d=i[c].inputs.length;d!==a&&(!u||d!==a-1)&&i.splice(c,1)}for(let c=i.length-1;c>=0;c--){let d=i[c].inputs;for(let h=0;h<r.length;h++)if(fs.isTyped(r[h])){if(h>=d.length){if(r[h].type==="overrides")continue;i.splice(c,1);break}if(r[h].type!==d[h].baseType){i.splice(c,1);break}}}}if(i.length===1&&r&&r.length!==i[0].inputs.length){let n=r[r.length-1];(n==null||Array.isArray(n)||typeof n!="object")&&i.splice(0,1)}if(i.length===0)return null;if(i.length>1&&o){let n=i.map(a=>JSON.stringify(a.format())).join(", ");Te(!1,`ambiguous function description (i.e. matches ${n})`,"key",t)}return i[0]}return this.#r.get(oT.from(t).format())||null}getFunctionName(t){let r=this.#i(t,null,!1);return Te(r,"no matching function","key",t),r.name}hasFunction(t){return!!this.#i(t,null,!1)}getFunction(t,r){return this.#i(t,r||null,!0)}forEachFunction(t){let r=Array.from(this.#r.keys());r.sort((o,s)=>o.localeCompare(s));for(let o=0;o<r.length;o++){let s=r[o];t(this.#r.get(s),o)}}#o(t,r,o){if(cs(t)){let i=t.toLowerCase();for(let n of this.#t.values())if(i===n.topicHash)return n;return null}if(t.indexOf("(")===-1){let i=[];for(let[n,a]of this.#t)n.split("(")[0]===t&&i.push(a);if(r){for(let n=i.length-1;n>=0;n--)i[n].inputs.length<r.length&&i.splice(n,1);for(let n=i.length-1;n>=0;n--){let a=i[n].inputs;for(let u=0;u<r.length;u++)if(fs.isTyped(r[u])&&r[u].type!==a[u].baseType){i.splice(n,1);break}}}if(i.length===0)return null;if(i.length>1&&o){let n=i.map(a=>JSON.stringify(a.format())).join(", ");Te(!1,`ambiguous event description (i.e. matches ${n})`,"key",t)}return i[0]}return this.#t.get(nT.from(t).format())||null}getEventName(t){let r=this.#o(t,null,!1);return Te(r,"no matching event","key",t),r.name}hasEvent(t){return!!this.#o(t,null,!1)}getEvent(t,r){return this.#o(t,r||null,!0)}forEachEvent(t){let r=Array.from(this.#t.keys());r.sort((o,s)=>o.localeCompare(s));for(let o=0;o<r.length;o++){let s=r[o];t(this.#t.get(s),o)}}getError(t,r){if(cs(t)){let s=t.toLowerCase();if(Pyt[s])return Yh.from(Pyt[s].signature);for(let i of this.#e.values())if(s===i.selector)return i;return null}if(t.indexOf("(")===-1){let s=[];for(let[i,n]of this.#e)i.split("(")[0]===t&&s.push(n);if(s.length===0)return t==="Error"?Yh.from("error Error(string)"):t==="Panic"?Yh.from("error Panic(uint256)"):null;if(s.length>1){let i=s.map(n=>JSON.stringify(n.format())).join(", ");Te(!1,`ambiguous error description (i.e. ${i})`,"name",t)}return s[0]}return t=Yh.from(t).format(),t==="Error(string)"?Yh.from("error Error(string)"):t==="Panic(uint256)"?Yh.from("error Panic(uint256)"):this.#e.get(t)||null}forEachError(t){let r=Array.from(this.#e.keys());r.sort((o,s)=>o.localeCompare(s));for(let o=0;o<r.length;o++){let s=r[o];t(this.#e.get(s),o)}}_decodeParams(t,r){return this.#n.decode(t,r)}_encodeParams(t,r){return this.#n.encode(t,r)}encodeDeploy(t){return this._encodeParams(this.deploy.inputs,t||[])}decodeErrorResult(t,r){if(typeof t=="string"){let o=this.getError(t);Te(o,"unknown error","fragment",t),t=o}return Te(Rd(r,0,4)===t.selector,`data signature does not match error ${t.name}.`,"data",r),this._decodeParams(t.inputs,Rd(r,4))}encodeErrorResult(t,r){if(typeof t=="string"){let o=this.getError(t);Te(o,"unknown error","fragment",t),t=o}return xn([t.selector,this._encodeParams(t.inputs,r||[])])}decodeFunctionData(t,r){if(typeof t=="string"){let o=this.getFunction(t);Te(o,"unknown function","fragment",t),t=o}return Te(Rd(r,0,4)===t.selector,`data signature does not match function ${t.name}.`,"data",r),this._decodeParams(t.inputs,Rd(r,4))}encodeFunctionData(t,r){if(typeof t=="string"){let o=this.getFunction(t);Te(o,"unknown function","fragment",t),t=o}return xn([t.selector,this._encodeParams(t.inputs,r||[])])}decodeFunctionResult(t,r){if(typeof t=="string"){let i=this.getFunction(t);Te(i,"unknown function","fragment",t),t=i}let o="invalid length for result data",s=as(r);if(s.length%32===0)try{return this.#n.decode(t.outputs,s)}catch{o="could not decode result data"}Ar(!1,o,"BAD_DATA",{value:Ct(s),info:{method:t.name,signature:t.format()}})}makeError(t,r){let o=zt(t,"data"),s=Kf.getBuiltinCallException("call",r,o);if(s.message.startsWith("execution reverted (unknown custom error)")){let n=Ct(o.slice(0,4)),a=this.getError(n);if(a)try{let u=this.#n.decode(a.inputs,o.slice(4));s.revert={name:a.name,signature:a.format(),args:u},s.reason=s.revert.signature,s.message=`execution reverted: ${s.reason}`}catch{s.message="execution reverted (coult not decode custom error)"}}let i=this.parseTransaction(r);return i&&(s.invocation={method:i.name,signature:i.signature,args:i.args}),s}encodeFunctionResult(t,r){if(typeof t=="string"){let o=this.getFunction(t);Te(o,"unknown function","fragment",t),t=o}return Ct(this.#n.encode(t.outputs,r||[]))}encodeFilterTopics(t,r){if(typeof t=="string"){let i=this.getEvent(t);Te(i,"unknown event","eventFragment",t),t=i}Ar(r.length<=t.inputs.length,`too many arguments for ${t.format()}`,"UNEXPECTED_ARGUMENT",{count:r.length,expectedCount:t.inputs.length});let o=[];t.anonymous||o.push(t.topicHash);let s=(i,n)=>i.type==="string"?Ja(n):i.type==="bytes"?Wr(Ct(n)):(i.type==="bool"&&typeof n=="boolean"&&(n=n?"0x01":"0x00"),i.type.match(/^u?int/)&&(n=Ga(n)),i.type==="address"&&this.#n.encode(["address"],[n]),Ul(Ct(n),32));for(r.forEach((i,n)=>{let a=t.inputs[n];if(!a.indexed){Te(i==null,"cannot filter non-indexed parameters; must be null","contract."+a.name,i);return}i==null?o.push(null):a.baseType==="array"||a.baseType==="tuple"?Te(!1,"filtering with tuples or arrays not supported","contract."+a.name,i):Array.isArray(i)?o.push(i.map(u=>s(a,u))):o.push(s(a,i))});o.length&&o[o.length-1]===null;)o.pop();return o}encodeEventLog(t,r){if(typeof t=="string"){let n=this.getEvent(t);Te(n,"unknown event","eventFragment",t),t=n}let o=[],s=[],i=[];return t.anonymous||o.push(t.topicHash),Te(r.length===t.inputs.length,"event arguments/values mismatch","values",r),t.inputs.forEach((n,a)=>{let u=r[a];if(n.indexed)if(n.type==="string")o.push(Ja(u));else if(n.type==="bytes")o.push(Wr(u));else{if(n.baseType==="tuple"||n.baseType==="array")throw new Error("not implemented");o.push(this.#n.encode([n.type],[u]))}else s.push(n),i.push(u)}),{data:this.#n.encode(s,i),topics:o}}decodeEventLog(t,r,o){if(typeof t=="string"){let C=this.getEvent(t);Te(C,"unknown event","eventFragment",t),t=C}if(o!=null&&!t.anonymous){let C=t.topicHash;Te(cs(o[0],32)&&o[0].toLowerCase()===C,"fragment/topic mismatch","topics[0]",o[0]),o=o.slice(1)}let s=[],i=[],n=[];t.inputs.forEach((C,w)=>{C.indexed?C.type==="string"||C.type==="bytes"||C.baseType==="tuple"||C.baseType==="array"?(s.push(Fl.from({type:"bytes32",name:C.name})),n.push(!0)):(s.push(C),n.push(!1)):(i.push(C),n.push(!1))});let a=o!=null?this.#n.decode(s,xn(o)):null,u=this.#n.decode(i,r,!0),c=[],d=[],h=0,y=0;return t.inputs.forEach((C,w)=>{let T=null;if(C.indexed)if(a==null)T=new VV(null);else if(n[w])T=new VV(a[y++]);else try{T=a[y++]}catch(A){T=A}else try{T=u[h++]}catch(A){T=A}c.push(T),d.push(C.name||null)}),Ap.fromItems(c,d)}parseTransaction(t){let r=zt(t.data,"tx.data"),o=kn(t.value!=null?t.value:0,"tx.value"),s=this.getFunction(Ct(r.slice(0,4)));if(!s)return null;let i=this.#n.decode(s.inputs,r.slice(4));return new N1e(s,s.selector,i,o)}parseCallResult(t){throw new Error("@TODO")}parseLog(t){let r=this.getEvent(t.topics[0]);return!r||r.anonymous?null:new R1e(r,r.topicHash,this.decodeEventLog(r,t.data,t.topics))}parseError(t){let r=Ct(t),o=this.getError(Rd(r,0,4));if(!o)return null;let s=this.#n.decode(o.inputs,Rd(r,4));return new D1e(o,o.selector,s)}static from(t){return t instanceof fl?t:typeof t=="string"?new fl(JSON.parse(t)):typeof t.format=="function"?new fl(t.format("json")):new fl(t)}},gOr=e=>Rs.from(e),U1e=e=>Rs.from(e).serialized,L1e=e=>zt(e),yOr={sighash:"sighash",minimal:"minimal",full:"full",json:"json"},mOr=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)/,Byt="m/44'/195'",XV=Byt+"/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 bOr(e){e=e.toLowerCase();let t=e.substring(2).split(""),r=new Uint8Array(40);for(let s=0;s<40;s++)r[s]=t[s].charCodeAt(0);let o=eu(Wr(r).slice(2));for(let s=0;s<40;s+=2)o[s>>1]>>4>=8&&(t[s]=t[s].toUpperCase()),(o[s>>1]&15)>=8&&(t[s+1]=t[s+1].toUpperCase());return tu+t.join("")}function YV(e){if(!cT(e))throw new Error(`'${e}' is not a valid address string`);return bOr(xr(e))}function H1e(e){if(!Ib(e)||e.length!==42)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(e.length===42)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(e.length===0)return"";let t,r,o=[0];for(t=0;t<e.length;t++){for(r=0;r<o.length;r++)o[r]<<=8;o[0]+=e[t];let s=0;for(r=0;r<o.length;++r)o[r]+=s,s=o[r]/xR|0,o[r]%=xR;for(;s;)o.push(s%xR),s=s/xR|0}for(t=0;e[t]===0&&t<e.length-1;t++)o.push(0);return o.reverse().map(s=>J1e[s]).join("")}function AR(e){if(e.length===0)return[];let t,r,o=[0];for(t=0;t<e.length;t++){let s=e[t];if(!(s in X1e))throw new Error("Non-base58 character");for(r=0;r<o.length;r++)o[r]*=xR;o[0]+=X1e[s];let i=0;for(r=0;r<o.length;++r)o[r]+=i,i=o[r]>>8,o[r]&=255;for(;i;)o.push(i&255),i>>=8}for(t=0;e[t]==="1"&&t<e.length-1;t++)o.push(0);return o.reverse()}m(),m(),m(),m();var uT=class{host;timeout;user;password;headers;statusPage;instance;constructor(e,t=3e4,r="",o="",s={},i="/"){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(s))throw new Error("Invalid headers object provided");e=e.replace(/\/+$/,""),this.host=e,this.timeout=t,this.user=r,this.password=o,this.headers=s,this.statusPage=i,this.instance=R4.create({baseURL:e,timeout:t,headers:s,auth:r?{username:r,password:o}:void 0})}setStatusPage(e="/"){this.statusPage=e}async isConnected(e=this.statusPage){return this.request(e).then(t=>kve(t,"blockID","block_header")).catch(()=>!1)}request(e,t={},r="get"){return r=r.toLowerCase(),this.instance.request({data:r=="post"&&Object.keys(t).length?t:null,params:r=="get"&&t,url:e,method:r}).then(({data:o})=>o)}},Wl={HttpProvider:uT},ybt=hi(Myt(),1),mbt=hi(mwe(),1);m();var vwe={};Vr(vwe,{decodeParams:()=>n5r,decodeParamsV2ByABI:()=>bwe,encodeParams:()=>i5r,encodeParamsV2ByABI:()=>xC}),m();var aJ=new Kf;function Xyt(e){return hn.address.toHex(e).replace(Kb,"0x")}function n5r(e,t,r,o=!1){if(o&&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(s=>(/trcToken/.test(s)&&(s=s.replace(/trcToken/,"uint256")),s)),aJ.decode(t,r).reduce((s,i,n)=>(t[n]=="address"&&(i=tu+i.substr(2).toLowerCase()),e.length?s[e[n]]=i:s.push(i),s),e.length?{}:[])}function i5r(e,t){for(let r=0;r<e.length;r++)e[r]==="address"&&(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 Yyt(e){return(PR(e).match(/\]\[/g)||[]).length+1}function xC(e,t){let r=[],o=u=>u&&u.type.indexOf("tuple")===0&&u.components?`tuple(${u.components.map(c=>o(c)).join(",")})${PR(u.type)}`:/trcToken/.test(u.type)?u.type.replace(/trcToken/,"uint256"):u.type,s=u=>{for(let c=0;c<u.length;c++){let d=u[c];/trcToken/.test(d)&&(u[c]=d.replace(/trcToken/,"uint256"))}},i=u=>Array.isArray(u)?(u.forEach((c,d)=>{u[d]=i(c)}),u):Xyt(u),n=(u,c,d)=>{d>1?c.length&&c.forEach(h=>{n(u,h,d-1)}):c.length&&d&&c.forEach(h=>{a(u,h)})},a=(u=[],c)=>{u.length&&u.forEach((d,h)=>{let y=d.type;if(c[h]){if(y==="address")c[h]=Xyt(c[h]);else if(y.match(/^([^\x5b]*)(\x5b|$)/)[0]==="address[")i(c[h]);else if(y.indexOf("tuple")===0)if(PR(y)){let C=Yyt(y);n(d.components,c[h],C)}else a(d.components,c[h])}})};if(e.inputs&&e.inputs.length)for(let u=0;u<e.inputs.length;u++){let c=e.inputs[u].type;c==="bool"&&t[u]==="false"&&(t[u]=!1),r.push(c.indexOf("tuple")===0?o(e.inputs[u]):c),t.length<r.length&&t.push("")}return a(e.inputs,t),s(r),aJ.encode(r,t)}function bwe(e,t){let r=a=>{for(let u=0;u<a.length;u++){let c=a[u];/^trcToken/.test(c)&&(a[u]=c.replace(/^trcToken/,"uint256"))}},o=a=>Array.isArray(a)?(a.forEach((u,c)=>{a[c]=o(u)}),a):hn.address.toHex(a),s=(a,u,c)=>{c>1?u.length&&u.forEach(d=>{s(a,d,c-1)}):u.length&&c&&u.forEach(d=>{n(a,d)})},i=a=>{let u=a.name?` ${a.name}`:"";return a&&a.type.indexOf("tuple")===0&&a.components?`tuple(${a.components.map(c=>i(c)).join(",")})${PR(a.type)}${u}`:/trcToken/.test(a.type)?a.type.replace(/trcToken/,"uint256")+u:a.type+u},n=(a,u)=>{a.length&&a.forEach((c,d)=>{let{type:h,name:y}=c;if(u[d])if(h==="address")u[d]=hn.address.toHex(u[d]),y&&(u[y]=hn.address.toHex(u[d]));else if(h.match(/^([^\x5b]*)(\x5b|$)/)[0]==="address[")o(u[d]),y&&(u[y]=o(u[d]));else if(h.indexOf("tuple")===0){if(PR(h)){let C=Yyt(h);s(c.components,u[d],C)}else n(c.components,u[d]);y&&(u[y]=u[d])}else y&&(u[y]=u[d]);else y&&(u[y]=u[d])})};if("outputs"in e&&e.outputs&&e.outputs.length>0){let a=[];for(let c=0;c<e.outputs.length;c++){let d=e.outputs[c].type,h=e.outputs[c].name?` ${e.outputs[c].name}`:"";a.push(d.indexOf("tuple")===0?i(e.outputs[c]):d+h)}r(a),(!t||!t.length)&&(t=new Uint8Array(32*e.outputs.length));let u=aJ.decode(a,t).toArray(!0);return n(e.outputs,u),u}return[]}m();var AC=class{invalid(e){return e.msg||`Invalid ${e.name}${e.type==="address"?" 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 o of e){let{name:s,names:i,value:n,type:a,gt:u,lt:c,gte:d,lte:h,optional:y}=o;if(!(y&&(!ru(n)||a!=="boolean"&&n===!1))){switch(t[s]=o.value,a){case"address":cT(n)?t[s]=xr(n):r=!0;break;case"integer":(!Ay(n)||typeof u=="number"&&n<=u||typeof c=="number"&&n>=c||typeof d=="number"&&n<d||typeof h=="number"&&n>h)&&(r=!0);break;case"positive-integer":if(!Ay(n)||n<=0)throw new Error(this.notPositive(o));break;case"tokenId":(!ja(n)||!n.length)&&(r=!0);break;case"notEmptyObject":(!tx(n)||!Object.keys(n).length)&&(r=!0);break;case"notEqual":if(i&&t[i[0]]===t[i[1]])throw new Error(this.notEqual(o));break;case"resource":["BANDWIDTH","ENERGY"].includes(n)||(r=!0);break;case"url":nR(n)||(r=!0);break;case"hex":Ib(n)||(r=!0);break;case"array":Array.isArray(n)||(r=!0);break;case"not-empty-string":(!ja(n)||!n.length)&&(r=!0);break;case"boolean":Bve(n)||(r=!0);break;case"string":(!ja(n)||typeof u=="number"&&n.length<=u||typeof c=="number"&&n.length>=c||typeof d=="number"&&n.length<d||typeof h=="number"&&n.length>h)&&(r=!0);break}if(r)throw new Error(this.invalid(o))}}return!1}};m();var Zn;(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={}));var Qyt;(function(e){e[e.Owner=0]="Owner",e[e.Witness=1]="Witness",e[e.Active=2]="Active",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"})(Qyt||(Qyt={}));var Zyt;(function(e){e[e.Normal=0]="Normal",e[e.AssetIssue=1]="AssetIssue",e[e.Contract=2]="Contract",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"})(Zyt||(Zyt={})),m();var Uwe={};Vr(Uwe,{txCheck:()=>HR,txCheckWithArgs:()=>EJ,txJsonToPb:()=>AJ,txJsonToPbWithArgs:()=>obt,txPbToRawDataHex:()=>Nwe,txPbToTxID:()=>Dwe}),m();var rbt=hi(Mwe(),1),eLn=hi(xJ(),1),tLn=hi(Fmt(),1),rLn=hi(zmt(),1),nLn=hi(Hmt(),1),iLn=hi(Rwe(),1),oLn=hi(jmt(),1),sLn=hi(Vmt(),1),aLn=hi(Xmt(),1),cLn=hi(Qmt(),1),uLn=hi($mt(),1),{Transaction:si,Permission:T5r,Key:S5r}=globalThis.TronWebProto,{TransferContract:C5r,FreezeBalanceContract:I5r,UnfreezeBalanceContract:O5r,WithdrawBalanceContract:P5r,FreezeBalanceV2Contract:B5r,UnfreezeBalanceV2Contract:k5r,WithdrawExpireUnfreezeContract:nbt,DelegateResourceContract:M5r,UnDelegateResourceContract:_5r}=globalThis.TronWebProto,{TransferAssetContract:R5r,ParticipateAssetIssueContract:N5r,AssetIssueContract:ebt,UpdateAssetContract:D5r}=globalThis.TronWebProto,{TriggerSmartContract:U5r,ClearABIContract:L5r,UpdateEnergyLimitContract:F5r,UpdateSettingContract:W5r,CreateSmartContract:z5r,SmartContract:MC}=globalThis.TronWebProto,{ResourceCode:_C}=globalThis.TronWebProto,{WitnessCreateContract:K5r,VoteWitnessContract:tbt}=globalThis.TronWebProto,{UpdateBrokerageContract:H5r}=globalThis.TronWebProto,{AccountCreateContract:q5r,AccountUpdateContract:j5r,SetAccountIdContract:G5r,AccountPermissionUpdateContract:V5r}=globalThis.TronWebProto,{ProposalCreateContract:J5r,ProposalDeleteContract:X5r,ProposalApproveContract:Y5r}=globalThis.TronWebProto,{ExchangeCreateContract:Q5r,ExchangeInjectContract:Z5r,ExchangeWithdrawContract:$5r,ExchangeTransactionContract:ePr}=globalThis.TronWebProto,nn=e=>!e||e.length===0?new Uint8Array([]):new Uint8Array(TJ.address.toHex(e).match(/.{1,2}/g).map(t=>parseInt(t,16))),na=e=>!e||e.length===0?new Uint8Array([]):new Uint8Array((Ib(e)?e:TJ.toHex(e)).replace(/^0x/,"").match(/.{1,2}/g).map(t=>parseInt(t,16))),yT=(e,t)=>na(t?TJ.fromUtf8(e).replace(/^0x/,""):e.replace(/^0x/,"")),tPr=(e,t=!0)=>(t?"0x":"")+Wr(P.Buffer.from(e,"utf-8")).toString().substring(2),Ci=(e,t,r,o)=>{let s=new rbt.default.Any;s.pack(e.serializeBinary(),"protocol."+r);let i=new si.Contract;i.setType(t),i.setParameter(s),o&&i.setPermissionId(o);let n=new si.raw;n.addContract(i);let a=new si;return a.setRawData(n),a},rPr=(e,t)=>{let{to_address:r,owner_address:o,amount:s}=e,i=new C5r;return i.setToAddress(nn(r)),i.setOwnerAddress(nn(o)),i.setAmount(s),Ci(i,si.Contract.ContractType.TRANSFERCONTRACT,"TransferContract",t.Permission_id)},nPr=(e,t)=>{let{to_address:r,owner_address:o,amount:s,asset_name:i}=e,n=new R5r;return n.setToAddress(nn(r)),n.setOwnerAddress(nn(o)),n.setAssetName(yT(i,t.visible)),n.setAmount(s),Ci(n,si.Contract.ContractType.TRANSFERASSETCONTRACT,"TransferAssetContract",t.Permission_id)},iPr=(e,t)=>{let r=new N5r;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)},oPr=(e,t)=>{let r=new U5r,{owner_address:o,contract_address:s,parameter:i="",function_selector:n,call_value:a,call_token_value:u,token_id:c,data:d}=e;if(r.setOwnerAddress(nn(o)),r.setContractAddress(nn(s)),r.setCallValue(a),d)r.setData(na(d));else if(n){let h=tPr(n).substring(2,10)+i;r.setData(na(h))}return c&&r.setTokenId(c),u&&r.setCallTokenValue(u),Ci(r,si.Contract.ContractType.TRIGGERSMARTCONTRACT,"TriggerSmartContract",t.Permission_id)},sPr=(e,t)=>{let r=new I5r,{owner_address:o,frozen_balance:s,frozen_duration:i,resource:n,receiver_address:a}=e;return r.setOwnerAddress(nn(o)),r.setFrozenBalance(s),r.setFrozenDuration(i),n&&r.setResource(_C[n]),a&&r.setReceiverAddress(nn(a)),Ci(r,si.Contract.ContractType.FREEZEBALANCECONTRACT,"FreezeBalanceContract",t.Permission_id)},aPr=(e,t)=>{let r=new O5r,{owner_address:o,resource:s,receiver_address:i}=e;return r.setOwnerAddress(nn(o)),s&&r.setResource(_C[s]),i&&r.setReceiverAddress(nn(i)),Ci(r,si.Contract.ContractType.UNFREEZEBALANCECONTRACT,"UnfreezeBalanceContract",t.Permission_id)},cPr=(e,t)=>{let r=new P5r,{owner_address:o}=e;return r.setOwnerAddress(nn(o)),Ci(r,si.Contract.ContractType.WITHDRAWBALANCECONTRACT,"WithdrawBalanceContract",t.Permission_id)},uPr=(e,t)=>{let r=new B5r,{owner_address:o,frozen_balance:s,resource:i}=e;return r.setOwnerAddress(nn(o)),r.setFrozenBalance(s),r.setResource(_C[i]),Ci(r,si.Contract.ContractType.FREEZEBALANCEV2CONTRACT,"FreezeBalanceV2Contract",t.Permission_id)},lPr=(e,t)=>{let r=new nbt,{owner_address:o}=e;return r.setOwnerAddress(nn(o)),Ci(r,si.Contract.ContractType.CANCELALLUNFREEZEV2CONTRACT,"CancelAllUnfreezeV2Contract",t.Permission_id)},fPr=(e,t)=>{let r=new k5r,{owner_address:o,unfreeze_balance:s,resource:i}=e;return r.setOwnerAddress(nn(o)),r.setUnfreezeBalance(s),r.setResource(_C[i]),Ci(r,si.Contract.ContractType.UNFREEZEBALANCEV2CONTRACT,"UnfreezeBalanceV2Contract",t.Permission_id)},dPr=(e,t)=>{let r=new M5r,{owner_address:o,receiver_address:s,balance:i,resource:n,lock:a=!1,lock_period:u}=e;return r.setOwnerAddress(nn(o)),r.setBalance(i),r.setResource(_C[n]),r.setLock(a),r.setLockPeriod(u),r.setReceiverAddress(nn(s)),Ci(r,si.Contract.ContractType.DELEGATERESOURCECONTRACT,"DelegateResourceContract",t.Permission_id)},hPr=(e,t)=>{let r=new _5r,{owner_address:o,receiver_address:s,balance:i,resource:n}=e;return r.setOwnerAddress(nn(o)),r.setBalance(i),r.setResource(_C[n]),r.setReceiverAddress(nn(s)),Ci(r,si.Contract.ContractType.UNDELEGATERESOURCECONTRACT,"UnDelegateResourceContract",t.Permission_id)},pPr=(e,t)=>{let r=new nbt,{owner_address:o}=e;return r.setOwnerAddress(nn(o)),Ci(r,si.Contract.ContractType.WITHDRAWEXPIREUNFREEZECONTRACT,"WithdrawExpireUnfreezeContract",t.Permission_id)},gPr=(e,t)=>{let r=new K5r,{owner_address:o,url:s}=e;return r.setOwnerAddress(nn(o)),r.setUrl(na(s.replace(/^0x/,""))),Ci(r,si.Contract.ContractType.WITNESSCREATECONTRACT,"WitnessCreateContract",t.Permission_id)},yPr=(e,t)=>{let r=new tbt,{owner_address:o,votes:s}=e;return r.setOwnerAddress(nn(o)),s.forEach(i=>{let n=new tbt.Vote,{vote_address:a,vote_count:u}=i;n.setVoteAddress(nn(a));let c=parseInt(u);n.setVoteCount(c),r.addVotes(n)}),Ci(r,si.Contract.ContractType.VOTEWITNESSCONTRACT,"VoteWitnessContract",t.Permission_id)},mPr=(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:o,consume_user_resource_percent:s,origin_energy_limit:i,abi:n,bytecode:a="",parameter:u="",call_value:c,call_token_value:d,token_id:h,name:y}=r,{origin_address:C}=r,w=new z5r;w.setOwnerAddress(nn(o)),h&&w.setTokenId(h),d&&w.setCallTokenValue(d);let T=new MC;if(n){let A;typeof n=="string"?A=JSON.parse(n):A=n?.entrys||[];let O=new MC.ABI,v=R=>{let U=new MC.ABI.Entry.Param,{indexed:N,name:_,type:L}=R;return N===!0&&U.setIndexed(!0),U.setName(_),U.setType(L),U},B=A.map(R=>{let{anonymous:U,constant:N,name:_,inputs:L,outputs:H,type:F,payable:G,stateMutability:l}=R,p=new MC.ABI.Entry;return p.setAnonymous(U),p.setConstant(N),p.setName(_),L&&p.setInputsList(L.map(E=>v(E))),H&&p.setOutputsList(H.map(E=>v(E))),F&&p.setType(MC.ABI.Entry.EntryType[F.toUpperCase()]),p.setPayable(G),l&&p.setStatemutability(MC.ABI.Entry.StateMutabilityType[l.toUpperCase()]),p});O.setEntrysList(B),T.setAbi(O)}if(c&&T.setCallValue(c),T.setConsumeUserResourcePercent(s),T.setOriginEnergyLimit(i),C||(C=o),T.setOriginAddress(nn(C)),a){let A=a.replace(/^0x/,"")+u.replace(/^0x/,"");T.setBytecode(na(A))}return T.setName(y),w.setNewContract(T),Ci(w,si.Contract.ContractType.CREATESMARTCONTRACT,"CreateSmartContract",t.Permission_id)},bPr=(e,t)=>{let{contract_address:r,owner_address:o}=e,s=new L5r;return s.setOwnerAddress(nn(o)),s.setContractAddress(nn(r)),Ci(s,si.Contract.ContractType.CLEARABICONTRACT,"ClearABIContract",t.Permission_id)},vPr=(e,t)=>{let{brokerage:r,owner_address:o}=e,s=new H5r;return s.setOwnerAddress(nn(o)),s.setBrokerage(r),Ci(s,si.Contract.ContractType.UPDATEBROKERAGECONTRACT,"UpdateBrokerageContract",t.Permission_id)},wPr=(e,t)=>{let{owner_address:r,name:o,abbr:s,description:i,url:n,total_supply:a,trx_num:u,num:c,start_time:d,end_time:h,precision:y,free_asset_net_limit:C,public_free_asset_net_limit:w,public_free_asset_net_usage:T=0,public_latest_free_net_time:A=0,vote_score:O=0,frozen_supply:v}=e,B=new ebt;if(B.setOwnerAddress(nn(r)),o&&B.setName(na(o.replace(/^0x/,""))),s&&B.setAbbr(na(s.replace(/^0x/,""))),B.setTotalSupply(a),B.setNum(c),B.setEndTime(h),B.setStartTime(d),B.setTrxNum(u),B.setVoteScore(O),y&&B.setPrecision(y),A&&B.setPublicLatestFreeNetTime(A),i&&B.setDescription(na(i.replace(/^0x/,""))),n&&B.setUrl(na(n.replace(/^0x/,""))),B.setPublicFreeAssetNetUsage(T),B.setFreeAssetNetLimit(C),B.setPublicFreeAssetNetLimit(w),v){let R=new ebt.FrozenSupply;R.setFrozenAmount(v.length?v[0].frozen_amount:v.frozen_amount),R.setFrozenDays(v.length?v[0].frozen_days:v.frozen_days),B.addFrozenSupply(R)}return Ci(B,si.Contract.ContractType.ASSETISSUECONTRACT,"AssetIssueContract",t.Permission_id)},xPr=(e,t)=>{let r=new q5r,{account_address:o,owner_address:s}=e;return r.setOwnerAddress(nn(s)),r.setAccountAddress(nn(o.replace(/^0x/,""))),Ci(r,si.Contract.ContractType.ACCOUNTCREATECONTRACT,"AccountCreateContract",t.Permission_id)},APr=(e,t)=>{let r=new j5r,{account_name:o,owner_address:s}=e;return r.setOwnerAddress(nn(s)),r.setAccountName(na(o.replace(/^0x/,""))),Ci(r,si.Contract.ContractType.ACCOUNTUPDATECONTRACT,"AccountUpdateContract",t.Permission_id)},EPr=(e,t)=>{let r=new G5r,{account_id:o,owner_address:s}=e;return r.setOwnerAddress(nn(s)),r.setAccountId(na(o.replace(/^0x/,""))),Ci(r,si.Contract.ContractType.SETACCOUNTIDCONTRACT,"SetAccountIdContract",t.Permission_id)},TPr=(e,t)=>{let r=new J5r,{owner_address:o,parameters:s}=e;return r.setOwnerAddress(nn(o)),s.forEach(i=>{r.getParametersMap().set(i.key,i.value)}),Ci(r,si.Contract.ContractType.PROPOSALCREATECONTRACT,"ProposalCreateContract",t.Permission_id)},SPr=(e,t)=>{let r=new X5r,{owner_address:o,proposal_id:s}=e;return r.setOwnerAddress(nn(o)),r.setProposalId(s),Ci(r,si.Contract.ContractType.PROPOSALDELETECONTRACT,"ProposalDeleteContract",t.Permission_id)},CPr=(e,t)=>{let r=new Y5r,{owner_address:o,proposal_id:s,is_add_approval:i}=e;return r.setOwnerAddress(nn(o)),r.setProposalId(s),r.setIsAddApproval(i),Ci(r,si.Contract.ContractType.PROPOSALAPPROVECONTRACT,"ProposalApproveContract",t.Permission_id)},IPr=(e,t)=>{let r=new Q5r,{owner_address:o,first_token_id:s,first_token_balance:i,second_token_id:n,second_token_balance:a}=e;return r.setOwnerAddress(nn(o)),r.setFirstTokenId(yT(s,t.visible)),r.setFirstTokenBalance(i),r.setSecondTokenId(yT(n,t.visible)),r.setSecondTokenBalance(a),Ci(r,si.Contract.ContractType.EXCHANGECREATECONTRACT,"ExchangeCreateContract",t.Permission_id)},OPr=(e,t)=>{let r=new Z5r,{owner_address:o,exchange_id:s,token_id:i,quant:n}=e;return r.setOwnerAddress(nn(o)),r.setExchangeId(s),r.setTokenId(yT(i,t.visible)),r.setQuant(n),Ci(r,si.Contract.ContractType.EXCHANGEINJECTCONTRACT,"ExchangeInjectContract",t.Permission_id)},PPr=(e,t)=>{let r=new $5r,{owner_address:o,exchange_id:s,token_id:i,quant:n}=e;return r.setOwnerAddress(nn(o)),r.setExchangeId(s),r.setTokenId(yT(i,t.visible)),r.setQuant(n),Ci(r,si.Contract.ContractType.EXCHANGEWITHDRAWCONTRACT,"ExchangeWithdrawContract",t.Permission_id)},BPr=(e,t)=>{let r=new ePr,{owner_address:o,exchange_id:s,token_id:i,quant:n,expected:a}=e;return r.setOwnerAddress(nn(o)),r.setExchangeId(s),r.setTokenId(yT(i,t.visible)),r.setQuant(n),r.setExpected(a),Ci(r,si.Contract.ContractType.EXCHANGETRANSACTIONCONTRACT,"ExchangeTransactionContract",t.Permission_id)},kPr=(e,t)=>{let r=new W5r,{owner_address:o,contract_address:s,consume_user_resource_percent:i}=e;return r.setOwnerAddress(nn(o)),r.setContractAddress(nn(s)),r.setConsumeUserResourcePercent(i),Ci(r,si.Contract.ContractType.UPDATESETTINGCONTRACT,"UpdateSettingContract",t.Permission_id)},MPr=(e,t)=>{let r=new F5r,{owner_address:o,contract_address:s,origin_energy_limit:i}=e;return r.setOwnerAddress(nn(o)),r.setContractAddress(nn(s)),r.setOriginEnergyLimit(i),Ci(r,si.Contract.ContractType.UPDATEENERGYLIMITCONTRACT,"UpdateEnergyLimitContract",t.Permission_id)},_Pr=(e,t)=>{let r=new V5r,{owner_address:o,owner:s,witness:i,actives:n}=e;r.setOwnerAddress(nn(o));let a=c=>isNaN(c)?c==="Active"?2:c==="Witness"?1:0:c,u=c=>{let d=new T5r,{type:h,id:y,permission_name:C,threshold:w,parentId:T,operations:A,keys:O}=c;return d.setType(a(h)),d.setId(y),d.setPermissionName(C),d.setThreshold(w),T&&d.setParentId(T),A&&d.setOperations(na(A)),O&&d.setKeysList(O.map(v=>{let B=new S5r;return B.setAddress(nn(v.address)),B.setWeight(v.weight),B})),d};return s&&r.setOwner(u(s)),i&&r.setWitness(u(i)),n&&(Array.isArray(n)?r.setActivesList(n.map(c=>u(c))):r.setActivesList([u(n)])),Ci(r,si.Contract.ContractType.ACCOUNTPERMISSIONUPDATECONTRACT,"AccountPermissionUpdateContract",t.Permission_id)},RPr=(e,t)=>{let r=new D5r,{owner_address:o,description:s,url:i,new_limit:n,new_public_limit:a}=e;return r.setOwnerAddress(nn(o)),s&&r.setDescription(na(s.replace(/^0x/,""))),i&&r.setUrl(na(i.replace(/^0x/,""))),n&&r.setNewLimit(n),a&&r.setNewPublicLimit(a),Ci(r,si.Contract.ContractType.UPDATEASSETCONTRACT,"UpdateAssetContract",t.Permission_id)},ibt=(e,t,r)=>{switch(e.type){case"TransferContract":return rPr(t,r);case"TransferAssetContract":return nPr(t,r);case"ParticipateAssetIssueContract":return iPr(t,r);case"TriggerSmartContract":return oPr(t,r);case"FreezeBalanceContract":return sPr(t,r);case"UnfreezeBalanceContract":return aPr(t,r);case"WithdrawBalanceContract":return cPr(t,r);case"FreezeBalanceV2Contract":return uPr(t,r);case"CancelAllUnfreezeV2Contract":return lPr(t,r);case"UnfreezeBalanceV2Contract":return fPr(t,r);case"DelegateResourceContract":return dPr(t,r);case"UnDelegateResourceContract":return hPr(t,r);case"WithdrawExpireUnfreezeContract":return pPr(t,r);case"WitnessCreateContract":return gPr(t,r);case"VoteWitnessContract":return yPr(t,r);case"CreateSmartContract":return mPr(t,r);case"ClearABIContract":return bPr(t,r);case"UpdateBrokerageContract":return vPr(t,r);case"AssetIssueContract":return wPr(t,r);case"AccountCreateContract":return xPr(t,r);case"AccountUpdateContract":return APr(t,r);case"SetAccountIdContract":return EPr(t,r);case"ProposalCreateContract":return TPr(t,r);case"ProposalDeleteContract":return SPr(t,r);case"ProposalApproveContract":return CPr(t,r);case"ExchangeCreateContract":return IPr(t,r);case"ExchangeInjectContract":return OPr(t,r);case"ExchangeWithdrawContract":return PPr(t,r);case"ExchangeTransactionContract":return BPr(t,r);case"UpdateSettingContract":return kPr(t,r);case"UpdateEnergyLimitContract":return MPr(t,r);case"AccountPermissionUpdateContract":return _Pr(t,r);case"UpdateAssetContract":return RPr(t,r)}},AJ=e=>{let t=e.raw_data,r=t.contract[0],o=r.parameter.value,s={Permission_id:r.Permission_id,visible:e.visible},i=ibt(r,o,s),n=i.getRawData();return n.setRefBlockBytes(na(t.ref_block_bytes)),n.setRefBlockHash(na(t.ref_block_hash)),t.data&&n.setData(na(t.data)),t.fee_limit&&n.setFeeLimit(t.fee_limit),t.expiration&&n.setExpiration(t.expiration),t.timestamp&&n.setTimestamp(t.timestamp),i.setRawData(n),i},obt=(e,t={},r={})=>{let o=e.raw_data,s=o.contract[0],i=ibt(s,t,{Permission_id:t?.Permission_id}),n=i.getRawData();return n.setRefBlockBytes(na(o.ref_block_bytes)),n.setRefBlockHash(na(o.ref_block_hash)),r.data&&n.setData(na(r.data.replace(/^0x/,""))),(r.fee_limit||t.fee_limit)&&n.setFeeLimit(r.fee_limit||t.fee_limit),o.expiration&&n.setExpiration(o.expiration),o.timestamp&&n.setTimestamp(o.timestamp),i.setRawData(n),i},sbt=(e,t)=>{let r=t.getRawData().serializeBinary(),o=qa(r),s=ls(r);return o.toLowerCase()===e.raw_data_hex.toLowerCase()&&s.replace(/^0x/,"").toLowerCase()===e.txID.replace(/^0x/,"").toLowerCase()},Nwe=e=>qa(e.getRawData().serializeBinary()),HR=e=>{let t=AJ(e);return sbt(e,t)},EJ=(e,t,r)=>{let o=obt(e,t,r);return sbt(e,o)},Dwe=e=>{let t=e.getRawData().serializeBinary();return ls(t)};function nl(e){return hn.fromUtf8(e).replace(/^0x/,"")}function SJ(e){return JSON.parse(JSON.stringify(e))}function abt(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 cbt(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 ubt(e,t){return"41"+Wr(P.Buffer.from(t+e,"hex")).toString().substring(2).slice(24)}function NPr(e){return e.request("wallet/getblock",{detail:!1},"post").then(t=>({ref_block_bytes:t.block_header.raw_data.number.toString(16).slice(-4).padStart(4,"0"),ref_block_hash:t.blockID.slice(16,32),expiration:t.block_header.raw_data.timestamp+60*1e3,timestamp:t.block_header.raw_data.timestamp}))}function lbt(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(typeof e.ref_block_bytes!="string")throw new Error("Invalid ref_block_bytes provided.");if(typeof e.ref_block_hash!="string")throw new Error("Invalid ref_block_hash provided.");if(typeof e.expiration!="number")throw new Error("Invalid expiration provided.");if(typeof e.timestamp!="number")throw new Error("Invalid timestamp provided.");return!0}async function ai(e,t,r,o,s={}){let i={visible:!1,txID:"",raw_data_hex:"",raw_data:{contract:[{parameter:{value:r,type_url:`type.googleapis.com/protocol.${t}`},type:t}],...lbt(s)?{}:await NPr(e.fullNode),...s}};o&&(i.raw_data.contract[0].Permission_id=o);let n=AJ(i);return i.txID=Dwe(n).replace(/^0x/,""),i.raw_data_hex=Nwe(n).toLowerCase(),i}function fi(e={}){let t={};return lbt(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,o={}){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 s={to_address:xr(e),owner_address:xr(r),amount:t},i=fi(o);return ai(this.tronWeb,Zn.TransferContract,s,o?.permissionId,i)}async sendToken(e,t=0,r,o=this.tronWeb.defaultAddress.hex,s={}){t=parseInt(t),this.validator.notValid([{name:"recipient",type:"address",value:e},{name:"origin",type:"address",value:o},{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 i={to_address:xr(e),owner_address:xr(o),asset_name:nl(r),amount:t},n=fi(s);return ai(this.tronWeb,Zn.TransferAssetContract,i,s?.permissionId,n)}async purchaseToken(e,t,r=0,o=this.tronWeb.defaultAddress.hex,s={}){this.validator.notValid([{name:"buyer",type:"address",value:o},{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 i={to_address:xr(e),owner_address:xr(o),asset_name:nl(t),amount:parseInt(r)},n=fi(s);return ai(this.tronWeb,Zn.ParticipateAssetIssueContract,i,s?.permissionId,n)}async freezeBalance(e=0,t=3,r="BANDWIDTH",o=this.tronWeb.defaultAddress.hex,s,i={}){this.validator.notValid([{name:"origin",type:"address",value:o},{name:"receiver",type:"address",value:s,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 n={owner_address:xr(o),frozen_balance:parseInt(e),frozen_duration:parseInt(String(t))};r!=="BANDWIDTH"&&(n.resource=r),ru(s)&&xr(s)!==xr(o)&&(n.receiver_address=xr(s));let a=fi(i);return ai(this.tronWeb,Zn.FreezeBalanceContract,n,i?.permissionId,a)}async unfreezeBalance(e="BANDWIDTH",t=this.tronWeb.defaultAddress.hex,r,o={}){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 s={owner_address:xr(t)};e!=="BANDWIDTH"&&(s.resource=e),ru(r)&&xr(r)!==xr(t)&&(s.receiver_address=xr(r));let i=fi(o);return ai(this.tronWeb,Zn.UnfreezeBalanceContract,s,o?.permissionId,i)}async freezeBalanceV2(e=0,t="BANDWIDTH",r=this.tronWeb.defaultAddress.hex,o={}){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 s={owner_address:xr(r),frozen_balance:parseInt(e)};t!=="BANDWIDTH"&&(s.resource=t);let i=fi(o);return ai(this.tronWeb,Zn.FreezeBalanceV2Contract,s,o?.permissionId,i)}async unfreezeBalanceV2(e=0,t="BANDWIDTH",r=this.tronWeb.defaultAddress.hex,o={}){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 s={owner_address:xr(r),unfreeze_balance:parseInt(e)};t!=="BANDWIDTH"&&(s.resource=t);let i=fi(o);return ai(this.tronWeb,Zn.UnfreezeBalanceV2Contract,s,o?.permissionId,i)}async cancelUnfreezeBalanceV2(e=this.tronWeb.defaultAddress.hex,t={}){this.validator.notValid([{name:"origin",type:"address",value:e}]);let r={owner_address:xr(e)},o=fi(t);return ai(this.tronWeb,Zn.CancelAllUnfreezeV2Contract,r,t?.permissionId,o)}async delegateResource(e=0,t,r="BANDWIDTH",o=this.tronWeb.defaultAddress.hex,s=!1,i,n={}){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:o},{name:"lock",type:"boolean",value:s},{name:"lock period",type:"integer",gte:0,value:i,optional:!0}]),xr(t)===xr(o))throw new Error("Receiver address must not be the same as owner address");let a={owner_address:xr(o),receiver_address:xr(t),balance:parseInt(e)};r!=="BANDWIDTH"&&(a.resource=r),s&&(a.lock=s,ru(i)&&(a.lock_period=i));let u=fi(n);return ai(this.tronWeb,Zn.DelegateResourceContract,a,n?.permissionId,u)}async undelegateResource(e=0,t,r="BANDWIDTH",o=this.tronWeb.defaultAddress.hex,s={}){if(this.validator.notValid([{name:"origin",type:"address",value:o},{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(o))throw new Error("Receiver address must not be the same as owner address");let i={owner_address:xr(o),receiver_address:xr(t),balance:parseInt(e)};r!=="BANDWIDTH"&&(i.resource=r);let n=fi(s);return ai(this.tronWeb,Zn.UnDelegateResourceContract,i,s?.permissionId,n)}async withdrawExpireUnfreeze(e=this.tronWeb.defaultAddress.hex,t={}){this.validator.notValid([{name:"origin",type:"address",value:e}]);let r={owner_address:xr(e)},o=fi(t);return ai(this.tronWeb,Zn.WithdrawExpireUnfreezeContract,r,t?.permissionId,o)}async withdrawBlockRewards(e=this.tronWeb.defaultAddress.hex,t={}){this.validator.notValid([{name:"origin",type:"address",value:e}]);let r={owner_address:xr(e)},o=fi(t);return ai(this.tronWeb,Zn.WithdrawBalanceContract,r,t?.permissionId,o)}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 o={owner_address:xr(e),url:nl(t)},s=fi(r);return ai(this.tronWeb,Zn.WitnessCreateContract,o,r?.permissionId,s)}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 o=Object.entries(e);for(let[a,u]of o)this.validator.notValid([{name:"SR",type:"address",value:a},{name:"vote count",type:"integer",gt:0,value:u,msg:"Invalid vote count provided for SR: "+a}]);let s=o.map(([a,u])=>({vote_address:xr(a),vote_count:parseInt(u)})),i={owner_address:xr(t),votes:s},n=fi(r);return ai(this.tronWeb,Zn.VoteWitnessContract,i,r?.permissionId,n)}async createSmartContract(e={},t=this.tronWeb.defaultAddress.hex){let r=e.feeLimit||this.tronWeb.feeLimit,o=e.userFeePercentage;typeof o!="number"&&!o&&(o=100);let s=e.originEnergyLimit||1e7,i=e.callValue||0,n=e.tokenValue,a=e.tokenId||e.token_id,{abi:u}=e,{parameters:c=[]}=e,d="",{bytecode:h=!1,name:y=""}=e;if(u&&ja(u))try{u=JSON.parse(u)}catch{throw new Error("Invalid options.abi provided")}let C=u,w=C;if(C.entrys&&(w=C.entrys),!H2(w))throw new Error("Invalid options.abi provided");let T=w.some(L=>L.type==="constructor"&&L.stateMutability.toLowerCase()==="payable");if(this.validator.notValid([{name:"bytecode",type:"hex",value:h},{name:"feeLimit",type:"integer",value:r,gt:0},{name:"callValue",type:"integer",value:i,gte:0},{name:"userFeePercentage",type:"integer",value:o,gte:0,lte:100},{name:"originEnergyLimit",type:"integer",value:s,gte:0,lte:1e7},{name:"parameters",type:"array",value:c},{name:"issuer",type:"address",value:t},{name:"tokenValue",type:"integer",value:n,gte:0,optional:!0},{name:"tokenId",type:"integer",value:a,gte:0,optional:!0}]),!T&&(i>0||n>0))throw new Error("When contract is not payable, options.callValue and options.tokenValue must be 0");let{rawParameter:A,funcABIV2:O,parametersV2:v}=e;if(A&&ja(A))d=A.replace(/^(0x)/,"");else if(O)d=xC(O,v).replace(/^(0x)/,"");else{let L=w.find(H=>H.type==="constructor");if(typeof L<"u"&&L){let H=new Kf,F=[],G=[];if(L=L.inputs,c.length!=L.length)throw new Error(`constructor needs ${L.length} but ${c.length} provided`);for(let l=0;l<c.length;l++){let p=L[l].type,E=c[l];if(!p||!ja(p)||!p.length)throw new Error("Invalid parameter type provided: "+p);let g=b=>H2(b)?b.map(k=>g(k)):xr(b).replace(Kb,"0x");p==="address"||p.match(/^([^\x5b]*)(\x5b|$)/)?.[0]==="address["?E=g(E):/trcToken/.test(p)&&(p=p.replace(/trcToken/,"uint256")),F.push(p),G.push(E)}try{d=H.encode(F,G).replace(/^(0x)/,"")}catch(l){throw new Error(l)}}else d=""}let B={owner_address:xr(t),fee_limit:parseInt(r),call_value:parseInt(i),consume_user_resource_percent:o,origin_energy_limit:s,abi:JSON.stringify(u),bytecode:h,parameter:d,name:y};ru(n)&&(B.call_token_value=parseInt(n)),ru(a)&&(B.token_id=parseInt(a));let R={};R.owner_address=B.owner_address,ru(B.call_token_value)&&(R.call_token_value=B.call_token_value),ru(B.token_id)&&(R.token_id=B.token_id);let U=R.new_contract={};B.abi?U.abi={entrys:JSON.parse(B.abi)}:U.abi={},B.call_value&&(U.call_value=B.call_value),U.consume_user_resource_percent=B.consume_user_resource_percent,U.origin_energy_limit=B.origin_energy_limit,U.origin_address=B.origin_address??B.owner_address,B.bytecode+B.parameter&&(U.bytecode=(B.bytecode+B.parameter).replace(/^0x/,"")),ru(B.name)&&(U.name=B.name);let N=fi(e),_=await ai(this.tronWeb,Zn.CreateSmartContract,R,e?.permissionId,{...N,fee_limit:B.fee_limit});return _.contract_address=ubt(B.owner_address,_.txID),_}async triggerSmartContract(e,t,r,o,s){let i=[e,t,r,o,s];return typeof i[2]!="object"&&(i[2]={feeLimit:i[2],callValue:i[3]},i.splice(3,1)),i[2]?.txLocal?this._triggerSmartContractLocal(...i):this._triggerSmartContract(...i)}async triggerConstantContract(e,t,r={},o=[],s=this.tronWeb.defaultAddress.hex){return r._isConstant=!0,this._triggerSmartContract(e,t,r,o,s)}async triggerConfirmedConstantContract(e,t,r={},o=[],s=this.tronWeb.defaultAddress.hex){return r._isConstant=!0,r.confirmed=!0,this._triggerSmartContract(e,t,r,o,s)}async estimateEnergy(e,t,r={},o=[],s=this.tronWeb.defaultAddress.hex){return r.estimateEnergy=!0,await this._triggerSmartContract(e,t,r,o,s)}async deployConstantContract(e={input:"",ownerAddress:""}){let{input:t,ownerAddress:r,tokenId:o,tokenValue:s,callValue:i=0}=e;this.validator.notValid([{name:"input",type:"not-empty-string",value:t},{name:"callValue",type:"integer",value:i,gte:0},{name:"owner",type:"address",value:r},{name:"tokenValue",type:"integer",value:s,gte:0,optional:!0},{name:"tokenId",type:"integer",value:o,gte:0,optional:!0}]);let n={data:t,owner_address:xr(r),call_value:i};o&&(n.token_id=o),s&&(n.call_token_value=s);let a=`wallet${e.confirmed?"solidity":""}/estimateenergy`,u=await this.tronWeb[e.confirmed?"solidityNode":"fullNode"].request(a,n,"post");if(u.Error)throw new Error(u.Error);if(u.result&&u.result.message)throw new Error(this.tronWeb.toUtf8(u.result.message));return u}_getTriggerSmartContractArgs(e,t,r,o,s,i,n,a,u){let c={contract_address:xr(e),owner_address:xr(s)};if(t&&ja(t)){t=t.replace(/\s*/g,"");let d;if(o.length){let h=new Kf,y=[],C=[];for(let w=0;w<o.length;w++){let{value:T}=o[w],{type:A}=o[w];if(!A||!ja(A)||!A.length)throw new Error("Invalid parameter type provided: "+A);let O=v=>H2(v)?v.map(B=>O(B)):xr(v).replace(Kb,"0x");(A==="address"||A.match(/^([^\x5b]*)(\x5b|$)/)?.[0]==="address[")&&(T=O(T)),y.push(A),C.push(T)}try{y=y.map(w=>(/trcToken/.test(w)&&(w=w.replace(/trcToken/,"uint256")),w)),d=h.encode(y,C).replace(/^(0x)/,"")}catch(w){throw new Error(w)}}else d="";r.funcABIV2&&(d=xC(r.funcABIV2,r.parametersV2).replace(/^(0x)/,"")),r.shieldedParameter&&ja(r.shieldedParameter)&&(d=r.shieldedParameter.replace(/^(0x)/,"")),r.rawParameter&&ja(r.rawParameter)&&(d=r.rawParameter.replace(/^(0x)/,"")),c.function_selector=t,c.parameter=d}else r.input&&(c.data=r.input);return c.call_value=parseInt(a),ru(i)&&(c.call_token_value=parseInt(i)),ru(n)&&(c.token_id=parseInt(n)),r._isConstant||r.estimateEnergy||(c.fee_limit=parseInt(u)),r.permissionId&&(c.Permission_id=r.permissionId),c}async _triggerSmartContractLocal(e,t,r={},o=[],s=this.tronWeb.defaultAddress.hex){let{tokenValue:i,tokenId:n,callValue:a,feeLimit:u}=Object.assign({callValue:0,feeLimit:this.tronWeb.feeLimit},r);this.validator.notValid([{name:"feeLimit",type:"integer",value:u,gt:0},{name:"callValue",type:"integer",value:a,gte:0},{name:"parameters",type:"array",value:o},{name:"contract",type:"address",value:e},{name:"issuer",type:"address",value:s,optional:!0},{name:"tokenValue",type:"integer",value:i,gte:0,optional:!0},{name:"tokenId",type:"integer",value:n,gte:0,optional:!0}]);let c=this._getTriggerSmartContractArgs(e,t,r,o,s,i,n,a,u);c.function_selector&&(c.data=Wr(P.Buffer.from(c.function_selector,"utf-8")).toString().substring(2,10)+c.parameter);let d={data:c.data,owner_address:c.owner_address,contract_address:c.contract_address};c.call_value&&(d.call_value=c.call_value),c.call_token_value&&(d.call_token_value=c.call_token_value),c.token_id&&(d.token_id=c.token_id);let h=fi(r),y=await ai(this.tronWeb,Zn.TriggerSmartContract,d,r.permissionId,{...h,fee_limit:c.fee_limit});return{result:{result:!0},transaction:y}}async _triggerSmartContract(e,t,r={},o=[],s=this.tronWeb.defaultAddress.hex){let{tokenValue:i,tokenId:n,callValue:a,feeLimit:u}=Object.assign({callValue:0,feeLimit:this.tronWeb.feeLimit},r);this.validator.notValid([{name:"feeLimit",type:"integer",value:u,gt:0},{name:"callValue",type:"integer",value:a,gte:0},{name:"parameters",type:"array",value:o},{name:"contract",type:"address",value:e},{name:"issuer",type:"address",value:s,optional:!0},{name:"tokenValue",type:"integer",value:i,gte:0,optional:!0},{name:"tokenId",type:"integer",value:n,gte:0,optional:!0}]);let c=this._getTriggerSmartContractArgs(e,t,r,o,s,i,n,a,u),d="triggersmartcontract";r._isConstant?d="triggerconstantcontract":r.estimateEnergy&&(d="estimateenergy"),d=`wallet${r.confirmed?"solidity":""}/${d}`;let h=await this.tronWeb[r.confirmed?"solidityNode":"fullNode"].request(d,c,"post");return cbt(h,c,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 o={contract_address:xr(e),owner_address:xr(t)};this.tronWeb.trx.cache.contracts[e]&&delete this.tronWeb.trx.cache.contracts[e];let s=fi(r);return ai(this.tronWeb,Zn.ClearABIContract,o,r?.permissionId,s)}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 o={brokerage:parseInt(e),owner_address:xr(t)},s=fi(r);return ai(this.tronWeb,Zn.UpdateBrokerageContract,o,r?.permissionId,s)}async createToken(e={},t=this.tronWeb.defaultAddress.hex){let{name:r=!1,abbreviation:o=!1,description:s="",url:i=!1,totalSupply:n=0,trxRatio:a=1,tokenRatio:u=1,saleStart:c=Date.now(),saleEnd:d=!1,freeBandwidth:h=0,freeBandwidthLimit:y=0,frozenAmount:C=0,frozenDuration:w=0,voteScore:T,precision:A}=e;if(this.validator.notValid([{name:"Supply amount",type:"positive-integer",value:n},{name:"TRX ratio",type:"positive-integer",value:a},{name:"Token ratio",type:"positive-integer",value:u},{name:"token abbreviation",type:"string",value:o,lte:32,gt:0},{name:"token name",type:"not-empty-string",value:r},{name:"token description",type:"string",value:s,lte:200},{name:"token url",type:"url",value:i},{name:"token url",type:"string",value:i,lte:256},{name:"issuer",type:"address",value:t},{name:"sale start timestamp",type:"integer",value:c,gte:Date.now()},{name:"sale end timestamp",type:"integer",value:d,gt:c},{name:"Frozen supply",type:"integer",value:C,gte:0},{name:"Frozen duration",type:"integer",value:w,gte:0}]),ru(T)&&(!Ay(T)||T<=0))throw new Error("voteScore must be a positive integer greater than 0");if(ru(A)&&(!Ay(A)||A<0||A>6))throw new Error("precision must be a positive integer >= 0 and <= 6");let O={owner_address:xr(t),name:nl(r),abbr:nl(o),description:nl(s),url:nl(i),total_supply:parseInt(n),trx_num:parseInt(a),num:parseInt(u),start_time:parseInt(c),end_time:parseInt(d),frozen_supply:[{frozen_amount:parseInt(C),frozen_days:parseInt(w)}]};["name","abbr","description","url"].forEach(B=>{O[B]||delete O[B]}),parseInt(C)>0||delete O.frozen_supply,h&&!isNaN(parseInt(h))&&parseInt(h)>=0&&(O.free_asset_net_limit=parseInt(h)),y&&!isNaN(parseInt(y))&&parseInt(y)>=0&&(O.public_free_asset_net_limit=parseInt(y)),A&&!isNaN(parseInt(A))&&(O.precision=parseInt(A)),T&&!isNaN(parseInt(T))&&(O.vote_score=parseInt(T));let v=fi(e);return ai(this.tronWeb,Zn.AssetIssueContract,O,e?.permissionId,v)}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 o={owner_address:xr(t),account_address:xr(e)},s=fi(r);return ai(this.tronWeb,Zn.AccountCreateContract,o,r?.permissionId,s)}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 o={account_name:nl(e),owner_address:xr(t)},s=fi(r);return ai(this.tronWeb,Zn.AccountUpdateContract,o,r?.permissionId,s)}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 o={account_id:e,owner_address:xr(t)},s=fi(r);return ai(this.tronWeb,Zn.SetAccountIdContract,o,r?.permissionId,s)}async updateToken(e={},t=this.tronWeb.defaultAddress.hex){let{description:r="",url:o=!1,freeBandwidth:s=0,freeBandwidthLimit:i=0}=e;this.validator.notValid([{name:"token description",type:"string",value:r,lte:200},{name:"token url",type:"url",value:o},{name:"token url",type:"string",value:o,lte:256},{name:"issuer",type:"address",value:t}]);let n={owner_address:xr(t),description:nl(r),url:nl(o)};s&&!isNaN(parseInt(s))&&parseInt(s)>=0&&(n.new_limit=parseInt(s)),i&&!isNaN(parseInt(i))&&parseInt(i)>=0&&(n.new_public_limit=parseInt(i));let a=fi(e);return ai(this.tronWeb,Zn.UpdateAssetContract,n,e?.permissionId,a)}async sendAsset(e,t=0,r,o=this.tronWeb.defaultAddress.hex,s={}){return this.sendToken(e,t,r,o,s)}async purchaseAsset(e,t,r=0,o=this.tronWeb.defaultAddress.hex,s={}){return this.purchaseToken(e,t,r,o,s)}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 o="Invalid proposal parameters provided";if(!e)throw new Error(o);let s=H2(e)?e:[e];for(let a of s)if(!tx(a))throw new Error(o);let i={owner_address:xr(t),parameters:s},n=fi(r);return ai(this.tronWeb,Zn.ProposalCreateContract,i,r?.permissionId,n)}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 o={owner_address:xr(t),proposal_id:parseInt(e)},s=fi(r);return ai(this.tronWeb,Zn.ProposalDeleteContract,o,r?.permissionId,s)}async voteProposal(e,t=!1,r=this.tronWeb.defaultAddress.hex,o={}){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 s={owner_address:xr(r),proposal_id:parseInt(e),is_add_approval:t},i=fi(o);return ai(this.tronWeb,Zn.ProposalApproveContract,s,o?.permissionId,i)}async createTRXExchange(e,t,r,o=this.tronWeb.defaultAddress.hex,s={}){this.validator.notValid([{name:"owner",type:"address",value:o},{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 i={owner_address:xr(o),first_token_id:nl(e),first_token_balance:t,second_token_id:"5f",second_token_balance:r},n=fi(s);return ai(this.tronWeb,Zn.ExchangeCreateContract,i,s?.permissionId,n)}async createTokenExchange(e,t,r,o,s=this.tronWeb.defaultAddress.hex,i={}){this.validator.notValid([{name:"owner",type:"address",value:s},{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:o}]);let n={owner_address:xr(s),first_token_id:nl(e),first_token_balance:t,second_token_id:nl(r),second_token_balance:o},a=fi(i);return ai(this.tronWeb,Zn.ExchangeCreateContract,n,i?.permissionId,a)}async injectExchangeTokens(e,t,r,o=this.tronWeb.defaultAddress.hex,s={}){this.validator.notValid([{name:"owner",type:"address",value:o},{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 i={owner_address:xr(o),exchange_id:parseInt(e),token_id:nl(t),quant:parseInt(r)},n=fi(s);return ai(this.tronWeb,Zn.ExchangeInjectContract,i,s?.permissionId,n)}async withdrawExchangeTokens(e,t,r,o=this.tronWeb.defaultAddress.hex,s={}){this.validator.notValid([{name:"owner",type:"address",value:o},{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 i={owner_address:xr(o),exchange_id:parseInt(e),token_id:nl(t),quant:parseInt(r)},n=fi(s);return ai(this.tronWeb,Zn.ExchangeWithdrawContract,i,s?.permissionId,n)}async tradeExchangeTokens(e,t,r,o,s=this.tronWeb.defaultAddress.hex,i={}){this.validator.notValid([{name:"owner",type:"address",value:s},{name:"token name",type:"not-empty-string",value:t},{name:"tokenAmountSold",type:"integer",value:r,gte:1},{name:"tokenAmountExpected",type:"integer",value:o,gte:1},{name:"exchangeID",type:"integer",value:e,gte:0}]);let n={owner_address:xr(s),exchange_id:parseInt(e),token_id:hn.fromAscii(t).replace(/^0x/,""),quant:parseInt(r),expected:parseInt(o)},a=fi(i);return ai(this.tronWeb,Zn.ExchangeTransactionContract,n,i?.permissionId,a)}async updateSetting(e,t,r=this.tronWeb.defaultAddress.hex,o={}){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 s={owner_address:xr(r),contract_address:xr(e),consume_user_resource_percent:t},i=fi(o);return ai(this.tronWeb,Zn.UpdateSettingContract,s,o?.permissionId,i)}async updateEnergyLimit(e,t=0,r=this.tronWeb.defaultAddress.hex,o={}){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 s={owner_address:xr(r),contract_address:xr(e),origin_energy_limit:t},i=fi(o);return ai(this.tronWeb,Zn.UpdateEnergyLimitContract,s,o?.permissionId,i)}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||t===2&&!e.operations)return!1}return!0}async updateAccountPermissions(e=this.tronWeb.defaultAddress.hex,t,r,o,s={}){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(o)||(o=[o]);for(let a of o)if(!this.checkPermissions(a,2))throw new Error("Invalid activesPermissions provided");let i={owner_address:xr(e)};if(t){let a=SJ(t);"type"in a&&delete a.type,a.keys=a.keys?.map(({address:u,weight:c})=>({address:this.tronWeb.address.toHex(u),weight:c})),i.owner=a}if(r){let a=SJ(r);a.type="Witness",a.keys=a.keys.map(({address:u,weight:c})=>({address:this.tronWeb.address.toHex(u),weight:c})),i.witness=a}if(o){let a=SJ(o);a.forEach(u=>{u.type="Active"}),a.forEach(u=>{u.keys=u.keys.map(({address:c,weight:d})=>({address:this.tronWeb.address.toHex(c),weight:d}))}),i.actives=a}let n=fi(s);return ai(this.tronWeb,Zn.AccountPermissionUpdateContract,i,s?.permissionId,n)}async newTxID(e,t={}){if(t?.txLocal){let r=e.raw_data.contract[0];try{let o=await ai(this.tronWeb,r.type,r.parameter.value,r.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 o.signature=e.signature,o.visible=e.visible,o}catch{throw new Error("Error generating a new transaction id.")}}try{let r=await this.tronWeb.fullNode.request("wallet/getsignweight",e,"post");return typeof e.visible=="boolean"&&(r.transaction.transaction.visible=e.visible),abt(r.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(t.dataFormat!=="hex"&&(t.data=hn.toHex(t.data)),t.data=t.data.replace(/^0x/,""),t.data.length===0)throw new Error("Invalid data provided");e.raw_data.data=t.data}if(t.extension){if(t.extension=parseInt(t.extension*1e3),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",o={}){return this.alterTransaction(e,{data:t,dataFormat:r,txLocal:o?.txLocal})}};m();var fbt=`TRON Signed Message:
32`,dbt=`Ethereum Signed Message:
32`;function Sx(e){return hn.address.toHex(e)}var jR=class Bu{tronWeb;cache;validator;signMessage;sendAsset;send;sendTrx;broadcast;broadcastHex;signTransaction;constructor(t){this.tronWeb=t,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(t){return{...t,name:this.tronWeb.toUtf8(t.name),abbr:t.abbr&&this.tronWeb.toUtf8(t.abbr),description:t.description&&this.tronWeb.toUtf8(t.description),url:t.url&&this.tronWeb.toUtf8(t.url)}}getCurrentBlock(){return this.tronWeb.fullNode.request("wallet/getnowblock")}getConfirmedCurrentBlock(){return this.tronWeb.solidityNode.request("walletsolidity/getnowblock")}async getBlock(t=this.tronWeb.defaultBlock){if(t===!1)throw new Error("No block identifier provided");return t=="earliest"&&(t=0),t=="latest"?this.getCurrentBlock():isNaN(+t)&&Jt.isHex(t.toString())?this.getBlockByHash(t):this.getBlockByNumber(t)}async getBlockByHash(t){let r=await this.tronWeb.fullNode.request("wallet/getblockbyid",{value:t},"post");if(!Object.keys(r).length)throw new Error("Block not found");return r}async getBlockByNumber(t){if(!Jt.isInteger(t)||t<0)throw new Error("Invalid block number provided");return this.tronWeb.fullNode.request("wallet/getblockbynum",{num:parseInt(t)},"post").then(r=>{if(!Object.keys(r).length)throw new Error("Block not found");return r})}async getBlockTransactionCount(t=this.tronWeb.defaultBlock){let{transactions:r=[]}=await this.getBlock(t);return r.length}async getTransactionFromBlock(t=this.tronWeb.defaultBlock,r){let{transactions:o}=await this.getBlock(t);if(!o)throw new Error("Transaction not found in block");if(r>=0&&r<o.length)return o[r];throw new Error("Invalid transaction index provided")}async getTransactionsFromBlock(t=this.tronWeb.defaultBlock){let{transactions:r}=await this.getBlock(t);if(!r)throw new Error("Transaction not found in block");return r}async getTransaction(t){let r=await this.tronWeb.fullNode.request("wallet/gettransactionbyid",{value:t},"post");if(!Object.keys(r).length)throw new Error("Transaction not found");return r}async getConfirmedTransaction(t){let r=await this.tronWeb.solidityNode.request("walletsolidity/gettransactionbyid",{value:t},"post");if(!Object.keys(r).length)throw new Error("Transaction not found");return r}getUnconfirmedTransactionInfo(t){return this.tronWeb.fullNode.request("wallet/gettransactioninfobyid",{value:t},"post")}getTransactionInfo(t){return this.tronWeb.solidityNode.request("walletsolidity/gettransactioninfobyid",{value:t},"post")}getTransactionsToAddress(t=this.tronWeb.defaultAddress.hex,r=30,o=0){return this.getTransactionsRelated(this.tronWeb.address.toHex(t),"to",r,o)}getTransactionsFromAddress(t=this.tronWeb.defaultAddress.hex,r=30,o=0){return this.getTransactionsRelated(this.tronWeb.address.toHex(t),"from",r,o)}async getTransactionsRelated(t=this.tronWeb.defaultAddress.hex,r="all",o=30,s=0){if(!["to","from","all"].includes(r))throw new Error('Invalid direction provided: Expected "to", "from" or "all"');if(r=="all"){let[i,n]=await Promise.all([this.getTransactionsRelated(t,"from",o,s),this.getTransactionsRelated(t,"to",o,s)]);return[...i.map(a=>(a.direction="from",a)),...n.map(a=>(a.direction="to",a))].sort((a,u)=>u.raw_data.timestamp-a.raw_data.timestamp)}if(!this.tronWeb.isAddress(t))throw new Error("Invalid address provided");if(!Jt.isInteger(o)||o<0||s&&o<1)throw new Error("Invalid limit provided");if(!Jt.isInteger(s)||s<0)throw new Error("Invalid offset provided");return t=this.tronWeb.address.toHex(t),this.tronWeb.solidityNode.request(`walletextension/gettransactions${r}this`,{account:{address:t},offset:s,limit:o},"post").then(({transaction:i})=>i)}async getAccount(t=this.tronWeb.defaultAddress.hex){if(!this.tronWeb.isAddress(t))throw new Error("Invalid address provided");return t=this.tronWeb.address.toHex(t),this.tronWeb.solidityNode.request("walletsolidity/getaccount",{address:t},"post")}getAccountById(t){return this.getAccountInfoById(t,{confirmed:!0})}async getAccountInfoById(t,r){return this.validator.notValid([{name:"accountId",type:"hex",value:t},{name:"accountId",type:"string",lte:32,gte:8,value:t}]),t.startsWith("0x")&&(t=t.slice(2)),this.tronWeb[r.confirmed?"solidityNode":"fullNode"].request(`wallet${r.confirmed?"solidity":""}/getaccountbyid`,{account_id:t},"post")}async getBalance(t=this.tronWeb.defaultAddress.hex){let{balance:r=0}=await this.getAccount(t);return r}async getUnconfirmedAccount(t=this.tronWeb.defaultAddress.hex){if(!this.tronWeb.isAddress(t))throw new Error("Invalid address provided");return t=this.tronWeb.address.toHex(t),this.tronWeb.fullNode.request("wallet/getaccount",{address:t},"post")}getUnconfirmedAccountById(t){return this.getAccountInfoById(t,{confirmed:!1})}async getUnconfirmedBalance(t=this.tronWeb.defaultAddress.hex){let{balance:r=0}=await this.getUnconfirmedAccount(t);return r}async getBandwidth(t=this.tronWeb.defaultAddress.hex){if(!this.tronWeb.isAddress(t))throw new Error("Invalid address provided");return t=this.tronWeb.address.toHex(t),this.tronWeb.fullNode.request("wallet/getaccountnet",{address:t},"post").then(({freeNetUsed:r=0,freeNetLimit:o=0,NetUsed:s=0,NetLimit:i=0})=>o-r+(i-s))}async getTokensIssuedByAddress(t=this.tronWeb.defaultAddress.hex){if(!this.tronWeb.isAddress(t))throw new Error("Invalid address provided");return t=this.tronWeb.address.toHex(t),this.tronWeb.fullNode.request("wallet/getassetissuebyaccount",{address:t},"post").then(({assetIssue:r})=>r?r.map(o=>this._parseToken(o)).reduce((o,s)=>(o[s.name]=s,o),{}):{})}async getTokenFromID(t){if(Jt.isInteger(t)&&(t=t.toString()),!Jt.isString(t)||!t.length)throw new Error("Invalid token ID provided");return this.tronWeb.fullNode.request("wallet/getassetissuebyname",{value:this.tronWeb.fromUtf8(t)},"post").then(r=>{if(!r.name)throw new Error("Token does not exist");return this._parseToken(r)})}async listNodes(){let{nodes:t=[]}=await this.tronWeb.fullNode.request("wallet/listnodes");return t.map(({address:{host:r,port:o}})=>`${this.tronWeb.toUtf8(r)}:${o}`)}async getBlockRange(t=0,r=30){if(!Jt.isInteger(t)||t<0)throw new Error("Invalid start of range provided");if(!Jt.isInteger(r)||r<t)throw new Error("Invalid end of range provided");if(r+1-t>100)throw new Error("Invalid range size, which should be no more than 100.");return this.tronWeb.fullNode.request("wallet/getblockbylimitnext",{startNum:parseInt(t),endNum:parseInt(r)+1},"post").then(({block:o=[]})=>o)}async listSuperRepresentatives(){let{witnesses:t=[]}=await this.tronWeb.fullNode.request("wallet/listwitnesses");return t}async listTokens(t=0,r=0){if(!Jt.isInteger(t)||t<0||r&&t<1)throw new Error("Invalid limit provided");if(!Jt.isInteger(r)||r<0)throw new Error("Invalid offset provided");return t?this.tronWeb.fullNode.request("wallet/getpaginatedassetissuelist",{offset:parseInt(r),limit:parseInt(t)},"post").then(({assetIssue:o=[]})=>o.map(s=>this._parseToken(s))):this.tronWeb.fullNode.request("wallet/getassetissuelist").then(({assetIssue:o=[]})=>o.map(s=>this._parseToken(s)))}async timeUntilNextVoteCycle(){let{num:t=-1}=await this.tronWeb.fullNode.request("wallet/getnextmaintenancetime");if(t==-1)throw new Error("Failed to get time until next vote cycle");return Math.floor(t/1e3)}async getContract(t){if(!this.tronWeb.isAddress(t))throw new Error("Invalid contract address provided");if(this.cache.contracts[t])return this.cache.contracts[t];t=this.tronWeb.address.toHex(t);let r=await this.tronWeb.fullNode.request("wallet/getcontract",{value:t});if(r.Error)throw new Error("Contract does not exist");return this.cache.contracts[t]=r,r}ecRecover(t){return Bu.ecRecover(t)}static ecRecover(t){if(!HR(t))throw new Error("Invalid transaction");if(!t.signature?.length)throw new Error("Transaction is not signed");if(t.signature.length===1){let r=CJ(t.txID,t.signature[0]);return hn.address.fromHex(r)}return t.signature.map(r=>{let o=CJ(t.txID,r);return hn.address.fromHex(o)})}async verifyMessage(t,r,o=this.tronWeb.defaultAddress.base58,s=!0){if(!Jt.isHex(t))throw new Error("Expected hex message input");if(Bu.verifySignature(t,o,r,s))return!0;throw new Error("Signature does not match")}static verifySignature(t,r,o,s=!0){t=t.replace(/^0x/,"");let i=[...us(s?fbt:dbt),...Jt.code.hexStr2byteArray(t)],n=Wr(new Uint8Array(i)),a=zf(n,Rs.from(`0x${o.replace(/^0x/,"")}`)),u=tu+a.substr(2);return hn.address.fromHex(u)==hn.address.fromHex(r)}async verifyMessageV2(t,r){return Bu.verifyMessageV2(t,r)}static verifyMessageV2(t,r){return Jt.message.verifyMessage(t,r)}verifyTypedData(t,r,o,s,i=this.tronWeb.defaultAddress.base58){if(Bu.verifyTypedData(t,r,o,s,i))return!0;throw new Error("Signature does not match")}static verifyTypedData(t,r,o,s,i){let n=Jt._TypedDataEncoder.hash(t,r,o),a=zf(n,Rs.from(`0x${s.replace(/^0x/,"")}`)),u=tu+a.substr(2);return hn.address.fromHex(u)==hn.address.fromHex(i)}async sign(t,r=this.tronWeb.defaultPrivateKey,o=!0,s=!1){if(Jt.isString(t)){if(!Jt.isHex(t))throw new Error("Expected hex message input");return Bu.signString(t,r,o)}if(!Jt.isObject(t))throw new Error("Invalid transaction provided");if(!s&&t.signature)throw new Error("Transaction is already signed");if(!s){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(t,r,o=!0){t=t.replace(/^0x/,"");let s=`0x${r.replace(/^0x/,"")}`,i=new Ns(s),n=[...us(o?fbt:dbt),...Jt.code.hexStr2byteArray(t)],a=Wr(new Uint8Array(n)),u=i.sign(a);return["0x",u.r.substring(2),u.s.substring(2),Number(u.v).toString(16)].join("")}signMessageV2(t,r=this.tronWeb.defaultPrivateKey){return Bu.signMessageV2(t,r)}static signMessageV2(t,r){return Jt.message.signMessage(t,r)}_signTypedData(t,r,o,s=this.tronWeb.defaultPrivateKey){return Bu._signTypedData(t,r,o,s)}static _signTypedData(t,r,o,s){return Jt.crypto._signTypedData(t,r,o,s)}async multiSign(t,r=this.tronWeb.defaultPrivateKey,o=0){if(!Jt.isObject(t)||!t.raw_data||!t.raw_data.contract)throw new Error("Invalid transaction provided");if(!t.raw_data.contract[0].Permission_id&&o>0){t.raw_data.contract[0].Permission_id=o;let s=this.tronWeb.address.toHex(this.tronWeb.address.fromPrivateKey(r)).toLowerCase(),i=await this.getSignWeight(t,o);if(i.result.code==="PERMISSION_ERROR")throw new Error(i.result.message);let n=!1;if(i.permission.keys.map(a=>{a.address===s&&(n=!0)}),!n)throw new Error(r+" has no permission to sign");if(i.approved_list&&i.approved_list.indexOf(s)!=-1)throw new Error(r+" already sign transaction");if(i.transaction&&i.transaction.transaction)t=i.transaction.transaction,o>0&&(t.raw_data.contract[0].Permission_id=o);else throw new Error("Invalid transaction provided")}if(!HR(t))throw new Error("Invalid transaction");return Jt.crypto.signTransaction(r,t)}async getApprovedList(t){if(!Jt.isObject(t))throw new Error("Invalid transaction provided");return this.tronWeb.fullNode.request("wallet/getapprovedlist",t,"post")}async getSignWeight(t,r){if(!Jt.isObject(t)||!t.raw_data||!t.raw_data.contract)throw new Error("Invalid transaction provided");return Jt.isInteger(r)?t.raw_data.contract[0].Permission_id=parseInt(r):typeof t.raw_data.contract[0].Permission_id!="number"&&(t.raw_data.contract[0].Permission_id=0),this.tronWeb.fullNode.request("wallet/getsignweight",t,"post")}async sendRawTransaction(t){if(!Jt.isObject(t))throw new Error("Invalid transaction provided");if(!t.signature||!Jt.isArray(t.signature))throw new Error("Transaction is not signed");return{...await this.tronWeb.fullNode.request("wallet/broadcasttransaction",t,"post"),transaction:t}}async sendHexTransaction(t){if(!Jt.isHex(t))throw new Error("Invalid hex transaction provided");let r={transaction:t},o=await this.tronWeb.fullNode.request("wallet/broadcasthex",r,"post");return o.result?{...o,transaction:JSON.parse(o.transaction),hexTransaction:t}:o}async sendTransaction(t,r,o={}){if(typeof o=="string"&&(o={privateKey:o}),!this.tronWeb.isAddress(t))throw new Error("Invalid recipient provided");if(!Jt.isInteger(r)||r<=0)throw new Error("Invalid amount provided");if(o={privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex,...o},!o.privateKey&&!o.address)throw new Error("Function requires either a private key or address to be set");let s=o.privateKey?this.tronWeb.address.fromPrivateKey(o.privateKey):o.address,i=await this.tronWeb.transactionBuilder.sendTrx(t,r,s),n=await this.sign(i,o.privateKey);return await this.sendRawTransaction(n)}async sendToken(t,r,o,s={}){if(typeof s=="string"&&(s={privateKey:s}),!this.tronWeb.isAddress(t))throw new Error("Invalid recipient provided");if(!Jt.isInteger(r)||r<=0)throw new Error("Invalid amount provided");if(Jt.isInteger(o)&&(o=o.toString()),!Jt.isString(o))throw new Error("Invalid token ID provided");if(s={privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex,...s},!s.privateKey&&!s.address)throw new Error("Function requires either a private key or address to be set");let i=s.privateKey?this.tronWeb.address.fromPrivateKey(s.privateKey):s.address,n=await this.tronWeb.transactionBuilder.sendToken(t,r,o,i),a=await this.sign(n,s.privateKey);return await this.sendRawTransaction(a)}async freezeBalance(t=0,r=3,o="BANDWIDTH",s={},i){if(typeof s=="string"&&(s={privateKey:s}),!["BANDWIDTH","ENERGY"].includes(o))throw new Error('Invalid resource provided: Expected "BANDWIDTH" or "ENERGY"');if(!Jt.isInteger(t)||t<=0)throw new Error("Invalid amount provided");if(!Jt.isInteger(r)||r<3)throw new Error("Invalid duration provided, minimum of 3 days");if(s={privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex,...s},!s.privateKey&&!s.address)throw new Error("Function requires either a private key or address to be set");let n=s.privateKey?this.tronWeb.address.fromPrivateKey(s.privateKey):s.address,a=await this.tronWeb.transactionBuilder.freezeBalance(t,r,o,n,i),u=await this.sign(a,s.privateKey);return await this.sendRawTransaction(u)}async unfreezeBalance(t="BANDWIDTH",r={},o){if(typeof r=="string"&&(r={privateKey:r}),!["BANDWIDTH","ENERGY"].includes(t))throw new Error('Invalid resource provided: Expected "BANDWIDTH" or "ENERGY"');if(r={privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex,...r},!r.privateKey&&!r.address)throw new Error("Function requires either a private key or address to be set");let s=r.privateKey?this.tronWeb.address.fromPrivateKey(r.privateKey):r.address,i=await this.tronWeb.transactionBuilder.unfreezeBalance(t,s,o),n=await this.sign(i,r.privateKey);return await this.sendRawTransaction(n)}async updateAccount(t,r={}){if(typeof r=="string"&&(r={privateKey:r}),!Jt.isString(t)||!t.length)throw new Error("Name must be a string");if(r={privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex,...r},!r.privateKey&&!r.address)throw Error("Function requires either a private key or address to be set");let o=r.privateKey?this.tronWeb.address.fromPrivateKey(r.privateKey):r.address,s=await this.tronWeb.transactionBuilder.updateAccount(t,o),i=await this.sign(s,r.privateKey);return await this.sendRawTransaction(i)}async getProposal(t){if(!Jt.isInteger(t)||t<0)throw new Error("Invalid proposalID provided");return this.tronWeb.fullNode.request("wallet/getproposalbyid",{id:parseInt(t)},"post")}async listProposals(){let{proposals:t=[]}=await this.tronWeb.fullNode.request("wallet/listproposals",{},"post");return t}async getChainParameters(){let{chainParameter:t=[]}=await this.tronWeb.fullNode.request("wallet/getchainparameters",{},"post");return t}async getAccountResources(t=this.tronWeb.defaultAddress.hex){if(!this.tronWeb.isAddress(t))throw new Error("Invalid address provided");return this.tronWeb.fullNode.request("wallet/getaccountresource",{address:this.tronWeb.address.toHex(t)},"post")}async getDelegatedResourceV2(t=this.tronWeb.defaultAddress.hex,r=this.tronWeb.defaultAddress.hex,o={confirmed:!0}){if(!this.tronWeb.isAddress(t))throw new Error("Invalid address provided");if(!this.tronWeb.isAddress(r))throw new Error("Invalid address provided");return this.tronWeb[o.confirmed?"solidityNode":"fullNode"].request(`wallet${o.confirmed?"solidity":""}/getdelegatedresourcev2`,{fromAddress:Sx(t),toAddress:Sx(r)},"post")}async getDelegatedResourceAccountIndexV2(t=this.tronWeb.defaultAddress.hex,r={confirmed:!0}){if(!this.tronWeb.isAddress(t))throw new Error("Invalid address provided");return this.tronWeb[r.confirmed?"solidityNode":"fullNode"].request(`wallet${r.confirmed?"solidity":""}/getdelegatedresourceaccountindexv2`,{value:Sx(t)},"post")}async getCanDelegatedMaxSize(t=this.tronWeb.defaultAddress.hex,r="BANDWIDTH",o={confirmed:!0}){if(!this.tronWeb.isAddress(t))throw new Error("Invalid address provided");return this.validator.notValid([{name:"resource",type:"resource",value:r,msg:'Invalid resource provided: Expected "BANDWIDTH" or "ENERGY"'}]),this.tronWeb[o.confirmed?"solidityNode":"fullNode"].request(`wallet${o.confirmed?"solidity":""}/getcandelegatedmaxsize`,{owner_address:Sx(t),type:r==="ENERGY"?1:0},"post")}async getAvailableUnfreezeCount(t=this.tronWeb.defaultAddress.hex,r={confirmed:!0}){if(!this.tronWeb.isAddress(t))throw new Error("Invalid address provided");return this.tronWeb[r.confirmed?"solidityNode":"fullNode"].request(`wallet${r.confirmed?"solidity":""}/getavailableunfreezecount`,{owner_address:Sx(t)},"post")}async getCanWithdrawUnfreezeAmount(t=this.tronWeb.defaultAddress.hex,r=Date.now(),o={confirmed:!0}){if(!this.tronWeb.isAddress(t))throw new Error("Invalid address provided");if(!Jt.isInteger(r)||r<0)throw new Error("Invalid timestamp provided");return this.tronWeb[o.confirmed?"solidityNode":"fullNode"].request(`wallet${o.confirmed?"solidity":""}/getcanwithdrawunfreezeamount`,{owner_address:Sx(t),timestamp:r},"post")}async getExchangeByID(t){if(!Jt.isInteger(t)||t<0)throw new Error("Invalid exchangeID provided");return this.tronWeb.fullNode.request("wallet/getexchangebyid",{id:t},"post")}async listExchanges(){return this.tronWeb.fullNode.request("wallet/listexchanges",{},"post").then(({exchanges:t=[]})=>t)}async listExchangesPaginated(t=10,r=0){return this.tronWeb.fullNode.request("wallet/getpaginatedexchangelist",{limit:t,offset:r},"post").then(({exchanges:o=[]})=>o)}async getNodeInfo(){return this.tronWeb.fullNode.request("wallet/getnodeinfo",{},"post")}async getTokenListByName(t){if(Jt.isInteger(t)&&(t=t.toString()),!Jt.isString(t)||!t.length)throw new Error("Invalid token ID provided");return this.tronWeb.fullNode.request("wallet/getassetissuelistbyname",{value:this.tronWeb.fromUtf8(t)},"post").then(r=>{if(Array.isArray(r.assetIssue))return r.assetIssue.map(o=>this._parseToken(o));if(!r.name)throw new Error("Token does not exist");return this._parseToken(r)})}getTokenByID(t){if(Jt.isInteger(t)&&(t=t.toString()),!Jt.isString(t)||!t.length)throw new Error("Invalid token ID provided");return this.tronWeb.fullNode.request("wallet/getassetissuebyid",{value:t},"post").then(r=>{if(!r.name)throw new Error("Token does not exist");return this._parseToken(r)})}async getReward(t,r={}){return r.confirmed=!0,this._getReward(t,r)}async getUnconfirmedReward(t,r={}){return r.confirmed=!1,this._getReward(t,r)}async getBrokerage(t,r={}){return r.confirmed=!0,this._getBrokerage(t,r)}async getUnconfirmedBrokerage(t,r={}){return r.confirmed=!1,this._getBrokerage(t,r)}async _getReward(t=this.tronWeb.defaultAddress.hex,r){this.validator.notValid([{name:"origin",type:"address",value:t}]);let o={address:Sx(t)};return this.tronWeb[r.confirmed?"solidityNode":"fullNode"].request(`wallet${r.confirmed?"solidity":""}/getReward`,o,"post").then((s={reward:void 0})=>{if(typeof s.reward>"u")throw new Error("Not found.");return s.reward})}async _getBrokerage(t=this.tronWeb.defaultAddress.hex,r){this.validator.notValid([{name:"origin",type:"address",value:t}]);let o={address:Sx(t)};return this.tronWeb[r.confirmed?"solidityNode":"fullNode"].request(`wallet${r.confirmed?"solidity":""}/getBrokerage`,o,"post").then((s={})=>{if(typeof s.brokerage>"u")throw new Error("Not found.");return s.brokerage})}async getBandwidthPrices(){return this.tronWeb.fullNode.request("wallet/getbandwidthprices",{},"post").then((t={})=>{if(typeof t.prices>"u")throw new Error("Not found.");return t.prices})}async getEnergyPrices(){return this.tronWeb.fullNode.request("wallet/getenergyprices",{},"post").then((t={})=>{if(typeof t.prices>"u")throw new Error("Not found.");return t.prices})}};m(),m();var DPr=e=>{if("stateMutability"in e&&(e.stateMutability=e.stateMutability?e.stateMutability.toLowerCase():"nonpayable"),e.type=e.type?e.type.toLowerCase():"",e.type==="fallback"||e.type==="receive")return"0x";let t=new Jt.ethersUtils.Interface([e]),r;if(e.type==="event"?r=t.getEvent(e.name):r=t.getFunction(e.name),r)return r.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=DPr(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(r={})=>(r={...r,rawParameter:t},await this._call([],[],r)),send:async(r={},o=this.tronWeb.defaultPrivateKey)=>(r={...r,rawParameter:t},await this._send([],[],r,o))}}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:a}=this.abi;if(a&&!["pure","view"].includes(a.toLowerCase()))throw new Error(`Methods with state mutability "${a}" must use send()`)}r={...this.defaultOptions,from:this.tronWeb.defaultAddress.hex,...r,_isConstant:!0};let o=t.map((a,u)=>({type:e[u],value:a})),s=await this.tronWeb.transactionBuilder.triggerSmartContract(this.contract.address,this.functionSelector,r,o,r.from?this.tronWeb.address.toHex(r.from):void 0);if(!Jt.hasProperty(s,"constant_result"))throw new Error("Failed to execute");let i=s.constant_result[0].length;if(i===0||i%64===8){let a="The call has been reverted or has thrown an error.";if(i!==0){a+=" Error message: ";let u="",c=s.constant_result[0].substring(8);for(let d=0;d<i-8;d+=64)u+=this.tronWeb.toUtf8(c.substring(d,d+64));a+=u.replace(/(\u0000|\u000b|\f)+/g," ").replace(/ +/g," ").replace(/\s+$/g,"")}throw new Error(a)}let n=Lwe(this.abi,"0x"+s.constant_result[0]);return n.length===1&&Object.keys(n).length===1&&(n=n[0]),n}async _send(e,t,r={},o=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:s}=this.abi;if(["pure","view"].includes(s.toLowerCase()))throw new Error(`Methods with state mutability "${s}" must use call()`);["payable"].includes(s.toLowerCase())||(r.callValue=0),r={...this.defaultOptions,from:this.tronWeb.defaultAddress.hex,...r};let i=t.map((h,y)=>({type:e[y],value:h})),n=o?this.tronWeb.address.fromPrivateKey(o):this.tronWeb.defaultAddress.base58,a=await this.tronWeb.transactionBuilder.triggerSmartContract(this.contract.address,this.functionSelector,r,i,this.tronWeb.address.toHex(n));if(!a.result||!a.result.result)throw new Error("Unknown error: "+JSON.stringify(a,null,2));let u=await this.tronWeb.trx.sign(a.transaction,o);if(!u.signature)throw o?new Error("Invalid private key provided"):new Error("Transaction was not signed properly");let c=await this.tronWeb.trx.sendRawTransaction(u);if(c.code){let h={error:c.code,message:c.code};c.message&&(h.message=this.tronWeb.toUtf8(c.message));let y=new Error(h.message);throw y.error=c.code,y}if(!r.shouldPollResponse)return u.txID;let d=async h=>{if(h===(r.pollTimes||20)){let w=new Error("Cannot find result in solidity node");throw w.error="Cannot find result in solidity node",w.transaction=u,w}let y=await this.tronWeb.trx.getTransactionInfo(u.txID);if(!Object.keys(y).length)return await new Promise(w=>setTimeout(w,3e3)),d(h+1);if(y.result&&y.result==="FAILED"){let w=new Error(this.tronWeb.toUtf8(y.resMessage));throw w.error=this.tronWeb.toUtf8(y.resMessage),w.transaction=u,w.output=y,w}if(!Jt.hasProperty(y,"contractResult")){let w=new Error("Failed to execute: "+JSON.stringify(y,null,2));throw w.error="Failed to execute: "+JSON.stringify(y,null,2),w.transaction=u,w.output=y,w}if(r.rawResponse)return y;let C=Lwe(this.abi,"0x"+y.contractResult[0]);return C.length===1&&Object.keys(C).length===1&&(C=C[0]),r.keepTxID?[u.txID,C]:C};return d(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(t=>delete this[t]),e.forEach(t=>{if(!t.type||/constructor|error/i.test(t.type))return;let r=new GR(this,t),o=r.onMethod.bind(r),{name:s,functionSelector:i,signature:n}=r;this.methods[s]=o,this.methods[i]=o,this.methods[n]=o,this.methodInstances[s]=r,this.methodInstances[i]=r,this.methodInstances[n]=r,this.hasProperty(s)||(this[s]=o,this.props.push(s)),this.hasProperty(i)||(this[i]=o,this.props.push(i)),this.hasProperty(n)||(this[n]=o,this.props.push(n))})}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),o=await this.tronWeb.transactionBuilder.createSmartContract(e,r),s=await this.tronWeb.trx.sign(o,t),i=await this.tronWeb.trx.sendRawTransaction(s);if(i.code)throw{error:i.code,message:this.tronWeb.toUtf8(i.message)};return await Jt.sleep(3e3),this.at(s.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(t){throw t.toString().includes("does not exist")?new Error("Contract has not been deployed on the network"):new Error(t)}}};m();var hbt=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:{}},o={libs:[],plugged:[],skipped:[],error:void 0};if(this.disablePlugins)return o.error="This instance of TronWeb has plugins disabled.",o;let s=new e(this.tronWeb);if(Jt.isFunction(s.pluginInterface)&&(r=s.pluginInterface(t)),hbt.default.satisfies(hn.version,r.requires))if(r.fullClass){let i=s.constructor.name,n=i.substring(0,1).toLowerCase()+i.substring(1);i!==n&&(Object.assign(hn,{[i]:e}),Object.assign(this.tronWeb,{[n]:s}),o.libs.push(i))}else for(let i in r.components){if(!this.tronWeb.hasOwnProperty(i))continue;let n=r.components[i],a=this.tronWeb[i].pluginNoOverride||[];for(let u in n){if(u==="constructor"||this.tronWeb[i][u]&&(a.includes(u)||/^_/.test(u))){o.skipped.push(u);continue}this.tronWeb[i][u]=n[u].bind(this.tronWeb[i]),o.plugged.push(u)}}else throw new Error("The plugin is not compatible with this version of TronWeb");return o}};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:o,blockNumber:s,onlyUnconfirmed:i,onlyConfirmed:n,minBlockTimestamp:a,maxBlockTimestamp:u,orderBy:c,fingerprint:d}=r,{limit:h}=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 u<"u"&&!Jt.isInteger(u))throw new Error("Invalid maxBlockTimestamp provided");Jt.isInteger(h)&&h>200&&(console.warn("Defaulting to maximum accepted limit: 200"),h=200);let y={};o&&(y.event_name=o),s&&(y.block_number=s),typeof i=="boolean"&&(y.only_unconfirmed=i),typeof n=="boolean"&&(y.only_confirmed=n),a&&(y.min_block_timestamp=a),u&&(y.max_block_timestamp=u),c&&(y.order_by=c),d&&(y.fingerprint=d),Jt.isInteger(h)&&(y.limit=h);let C=await this.tronWeb.eventServer.request(`v1/contracts/${this.tronWeb.address.fromHex(e)}/events?${new URLSearchParams(y).toString()}`);if(C.success)return C;throw new Error(C.error)}async getEventsByTransactionID(e,t={}){if(!this.tronWeb.eventServer)throw new Error("No event server configured");let r={};return typeof t.only_unconfirmed=="boolean"&&(r.only_unconfirmed=t.only_unconfirmed),typeof t.only_confirmed=="boolean"&&(r.only_confirmed=t.only_confirmed),this.tronWeb.eventServer.request(`v1/transactions/${e}/events?${new URLSearchParams(r).toString()}`).then(o=>{if(o.success)return o;throw new Error(JSON.parse(o.error).message)})}async getEventsByBlockNumber(e,t={}){if(!this.tronWeb.eventServer)throw new Error("No event server configured");let r={};return typeof t.only_confirmed=="boolean"&&(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(o=>{if(o.success)return o;throw new Error(o.error)})}async getEventsOfLatestBlock(e={}){if(!this.tronWeb.eventServer)throw new Error("No event server configured");let t={};return typeof e.only_confirmed=="boolean"&&(t.only_confirmed=e.only_confirmed),this.tronWeb.eventServer.request(`v1/blocks/latest/events?${new URLSearchParams(t).toString()}`).then(r=>{if(r.success)return r;throw new Error(r.error)})}},pbt="4.7.1",UPr=15e7,LPr="6.0.0";function gbt(e){return!!e&&typeof e=="object"&&(!!e.fullNode||!!e.fullHost)}var hn=class oi extends ybt.default{providers;BigNumber;transactionBuilder;trx;plugin;event;version;static version=LPr;utils;defaultBlock;defaultPrivateKey;defaultAddress;fullnodeVersion;feeLimit;fullNode;solidityNode;eventServer;constructor(t,r="",o,s=""){super();let i,n=!1,a=!1;gbt(t)?(i=t.fullNode||t.fullHost,r=t.solidityNode||t.fullHost,o=t.eventServer||t.fullHost,n=t.headers||!1,a=t.eventHeaders||n,s=t.privateKey):i=t,Jt.isString(i)&&(i=new Wl.HttpProvider(i)),Jt.isString(r)&&(r=new Wl.HttpProvider(r)),Jt.isString(o)&&(o=new Wl.HttpProvider(o)),this.event=new XR(this),this.transactionBuilder=new qR(this),this.trx=new jR(this),this.plugin=new JR(this,{disablePlugins:gbt(t)?t.disablePlugins:!1}),this.utils=Jt,this.setFullNode(i),this.setSolidityNode(r),this.setEventServer(o),this.providers=Wl,this.BigNumber=K2,this.defaultBlock=!1,this.defaultPrivateKey=!1,this.defaultAddress={hex:!1,base58:!1},this.version=oi.version,this.sha3=oi.sha3,this.fromUtf8=oi.fromUtf8,this.address=oi.address,this.toAscii=oi.toAscii,this.toUtf8=oi.toUtf8,this.isAddress=oi.isAddress,this.fromAscii=oi.fromAscii,this.toHex=oi.toHex,this.toBigNumber=oi.toBigNumber,this.toDecimal=oi.toDecimal,this.fromDecimal=oi.fromDecimal,this.toSun=oi.toSun,this.fromSun=oi.fromSun,this.createAccount=oi.createAccount,this.createRandom=oi.createRandom,this.fromMnemonic=oi.fromMnemonic,s&&this.setPrivateKey(s),this.fullnodeVersion=pbt,this.feeLimit=UPr,n&&this.setFullNodeHeader(n),a&&this.setEventHeader(a)}async getFullnodeVersion(){try{let t=await this.trx.getNodeInfo();this.fullnodeVersion=t.configNodeInfo.codeVersion,this.fullnodeVersion.split(".").length===2&&(this.fullnodeVersion+=".0")}catch{this.fullnodeVersion=pbt}}setDefaultBlock(t=!1){if([!1,"latest","earliest",0].includes(t))return this.defaultBlock=t;if(!Jt.isInteger(t)||!t)throw new Error("Invalid block ID provided");return this.defaultBlock=Math.abs(t)}setPrivateKey(t){try{this.setAddress(oi.address.fromPrivateKey(t))}catch{throw new Error("Invalid private key provided")}this.defaultPrivateKey=t,this.emit("privateKeyChanged",t)}setAddress(t){if(!oi.isAddress(t))throw new Error("Invalid address provided");let r=oi.address.toHex(t),o=oi.address.fromHex(t);this.defaultPrivateKey&&oi.address.fromPrivateKey(this.defaultPrivateKey)!==o&&(this.defaultPrivateKey=!1),this.defaultAddress={hex:r,base58:o},this.emit("addressChanged",{hex:r,base58:o})}fullnodeSatisfies(t){return mbt.default.satisfies(this.fullnodeVersion,t)}isValidProvider(t){return Object.values(Wl).some(r=>t instanceof r)}setFullNode(t){if(ja(t)&&(t=new Wl.HttpProvider(t)),!this.isValidProvider(t))throw new Error("Invalid full node provided");this.fullNode=t,this.fullNode.setStatusPage("wallet/getnowblock")}setSolidityNode(t){if(Jt.isString(t)&&(t=new Wl.HttpProvider(t)),!this.isValidProvider(t))throw new Error("Invalid solidity node provided");this.solidityNode=t,this.solidityNode.setStatusPage("walletsolidity/getnowblock")}setEventServer(t,r){this.event.setServer(t,r)}setHeader(t={}){let r=new Wl.HttpProvider(this.fullNode.host,3e4,"","",t),o=new Wl.HttpProvider(this.solidityNode.host,3e4,"","",t),s=new Wl.HttpProvider(this.eventServer.host,3e4,"","",t);this.setFullNode(r),this.setSolidityNode(o),this.setEventServer(s)}setFullNodeHeader(t={}){let r=new Wl.HttpProvider(this.fullNode.host,3e4,"","",t),o=new Wl.HttpProvider(this.solidityNode.host,3e4,"","",t);this.setFullNode(r),this.setSolidityNode(o)}setEventHeader(t={}){let r=new Wl.HttpProvider(this.eventServer.host,3e4,"","",t);this.setEventServer(r)}currentProviders(){return{fullNode:this.fullNode,solidityNode:this.solidityNode,eventServer:this.eventServer}}currentProvider(){return this.currentProviders()}getEventResult(...t){return this.event.getEventsByContractAddress(...t)}getEventByTransactionID(...t){return this.event.getEventsByTransactionID(...t)}contract(t=[],r){return new VR(this,t,r)}address;static get address(){return{fromHex(t){return K1e(t)},toHex(t){return xr(t)},toChecksumAddress(t){return YV(t)},isChecksumAddress(t){return H1e(t)},fromPrivateKey(t,r=!1){return q1e(t,r)}}}sha3;static sha3(t,r=!0){return(r?"0x":"")+Wr(P.Buffer.from(t,"utf-8")).toString().substring(2)}toHex;static toHex(t){if(Jt.isBoolean(t))return oi.fromDecimal(+t);if(Jt.isBigNumber(t))return oi.fromDecimal(t);if(typeof t=="object")return oi.fromUtf8(JSON.stringify(t));if(Jt.isString(t)){if(/^(-|)0x/.test(t))return t;if(!isFinite(t)||/^\s*$/.test(t))return oi.fromUtf8(t)}let r=oi.fromDecimal(t);if(r==="0xNaN")throw new Error("The passed value is not convertible to a hex string");return r}toUtf8;static toUtf8(t){if(Jt.isHex(t))return t=t.replace(/^0x/,""),P.Buffer.from(t,"hex").toString("utf8");throw new Error("The passed value is not a valid hex string")}fromUtf8;static fromUtf8(t){if(!Jt.isString(t))throw new Error("The passed value is not a valid utf-8 string");return"0x"+P.Buffer.from(t,"utf8").toString("hex")}toAscii;static toAscii(t){if(Jt.isHex(t)){let r="",o=0,s=t.length;for(t.substring(0,2)==="0x"&&(o=2);o<s;o+=2){let i=parseInt(t.substr(o,2),16);r+=String.fromCharCode(i)}return r}else throw new Error("The passed value is not a valid hex string")}fromAscii;static fromAscii(t,r){if(!Jt.isString(t))throw new Error("The passed value is not a valid utf-8 string");return"0x"+P.Buffer.from(t,"ascii").toString("hex").padEnd(r,"0")}toDecimal;static toDecimal(t){return oi.toBigNumber(t).toNumber()}fromDecimal;static fromDecimal(t){let r=oi.toBigNumber(t),o=r.toString(16);return r.isLessThan(0)?"-0x"+o.substr(1):"0x"+o}fromSun;static fromSun(t){let r=oi.toBigNumber(t).div(1e6);return Jt.isBigNumber(t)?r:r.toString(10)}toSun;static toSun(t){let r=oi.toBigNumber(t).times(1e6);return Jt.isBigNumber(t)?r:r.toString(10)}toBigNumber;static toBigNumber(t=0){return Jt.isBigNumber(t)?t:Jt.isString(t)&&/^(-|)0x/.test(t)?new K2(t.replace("0x",""),16):new K2(t.toString(10),10)}isAddress;static isAddress(t=""){return cT(t)}createAccount;static async createAccount(){return Jt.accounts.generateAccount()}createRandom;static createRandom(...t){return Jt.accounts.generateRandom(...t)}fromMnemonic;static fromMnemonic(...t){return Jt.accounts.generateAccountWithMnemonic(...t)}async isConnected(){return{fullNode:await this.fullNode.isConnected(),solidityNode:await this.solidityNode.isConnected(),eventServer:this.eventServer&&await this.eventServer.isConnected()}}},TJ=hn;function FPr(e){return hn.address.toHex(e).replace(Kb,"0x")}function WPr(e){return hn.address.toHex(e)}var xbt=new Uint8Array(32);xbt.fill(0);var zPr=BigInt(-1),Abt=BigInt(0),Ebt=BigInt(1),KPr=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");function HPr(e){let t=zt(e),r=t.length%32;return r?xn([t,xbt.slice(r)]):Ct(t)}var qPr=Ga(Ebt,32),jPr=Ga(Abt,32),bbt={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},Wwe=["name","version","chainId","verifyingContract","salt"];function vbt(e){return function(t){return Te(typeof t=="string",`invalid domain value for ${JSON.stringify(e)}`,`domain.${e}`,t),t}}var GPr={name:vbt("name"),version:vbt("version"),chainId:function(e){let t=kn(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 WPr(e).toLowerCase()}catch{}Te(!1,'invalid domain value "verifyingContract"',"domain.verifyingContract",e)},salt:function(e){let t=zt(e,"domain.salt");return Te(t.length===32,'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]==="",o=parseInt(t[2]||"256");Te(o%8===0&&o!==0&&o<=256&&(t[2]==null||t[2]===String(o)),"invalid numeric width","type",e);let s=xp(KPr,r?o-1:o),i=r?(s+Ebt)*zPr:Abt;return function(n){let a=kn(n,"value");return Te(a>=i&&a<=s,`value out-of-bounds for ${e}`,"value",a),Ga(r?nx(a,256):a,32)}}}{let t=e.match(/^bytes(\d+)$/);if(t){let r=parseInt(t[1]);return Te(r!==0&&r<=32&&t[1]===String(r),"invalid bytes width","type",e),function(o){let s=zt(o);return Te(s.length===r,`invalid length for ${e}`,"value",o),HPr(o)}}}switch(e){case"trcToken":return IJ("uint256");case"address":return function(t){return Ul(FPr(t),32)};case"bool":return function(t){return t?qPr:jPr};case"bytes":return function(t){return Wr(t)};case"string":return function(t){return Ja(t)}}return null}function wbt(e,t){return`${e}(${t.map(({name:r,type:o})=>o+" "+r).join(",")})`}var RC=class pa{primaryType;#e;get types(){return JSON.parse(this.#e)}#t;#r;constructor(t){this.#e=JSON.stringify(t),this.#t=new Map,this.#r=new Map;let r=new Map,o=new Map,s=new Map;Object.keys(t).forEach(a=>{r.set(a,new Set),o.set(a,[]),s.set(a,new Set)});for(let a in t){let u=new Set;for(let c of t[a]){Te(!u.has(c.name),`duplicate variable name ${JSON.stringify(c.name)} in ${JSON.stringify(a)}`,"types",t),u.add(c.name);let d=c.type.match(/^([^\x5b]*)(\x5b|$)/)[1]||null;Te(d!==a,`circular type reference to ${JSON.stringify(d)}`,"types",t),!IJ(d)&&(Te(o.has(d),`unknown type ${JSON.stringify(d)}`,"types",t),o.get(d).push(a),r.get(a).add(d))}}let i=Array.from(o.keys()).filter(a=>o.get(a).length===0);Te(i.length!==0,"missing primary type","types",t),Te(i.length===1,`ambiguous primary types or unused types: ${i.map(a=>JSON.stringify(a)).join(", ")}`,"types",t),Ur(this,{primaryType:i[0]});function n(a,u){Te(!u.has(a),`circular type reference to ${JSON.stringify(a)}`,"types",t),u.add(a);for(let c of r.get(a))if(o.has(c)){n(c,u);for(let d of u)s.get(d).add(c)}u.delete(a)}n(this.primaryType,new Set);for(let[a,u]of s){let c=Array.from(u);c.sort(),this.#t.set(a,wbt(a,t[a])+c.map(d=>wbt(d,t[d])).join(""))}}getEncoder(t){let r=this.#r.get(t);return r||(r=this.#n(t),this.#r.set(t,r)),r}#n(t){{let s=IJ(t);if(s)return s}let r=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(r){let s=r[1],i=this.getEncoder(s);return n=>{Te(!r[3]||parseInt(r[3])===n.length,`array length mismatch; expected length ${parseInt(r[3])}`,"value",n);let a=n.map(i);return this.#t.has(s)&&(a=a.map(Wr)),Wr(xn(a))}}let o=this.types[t];if(o){let s=Ja(this.#t.get(t));return i=>{let n=o.map(({name:a,type:u})=>{let c=this.getEncoder(u)(i[a]);return this.#t.has(u)?Wr(c):c});return n.unshift(s),xn(n)}}Te(!1,`unknown type: ${t}`,"type",t)}encodeType(t){let r=this.#t.get(t);return Te(r,`unknown type: ${JSON.stringify(t)}`,"name",t),r}encodeData(t,r){return this.getEncoder(t)(r)}hashStruct(t,r){return Wr(this.encodeData(t,r))}encode(t){return this.encodeData(this.primaryType,t)}hash(t){return this.hashStruct(this.primaryType,t)}_visit(t,r,o){if(IJ(t))return o(t,r);let s=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(s)return Te(!s[3]||parseInt(s[3])===r.length,`array length mismatch; expected length ${parseInt(s[3])}`,"value",r),r.map(n=>this._visit(s[1],n,o));let i=this.types[t];if(i)return i.reduce((n,{name:a,type:u})=>(n[a]=this._visit(u,r[a],o),n),{});Te(!1,`unknown type: ${t}`,"type",t)}visit(t,r){return this._visit(this.primaryType,t,r)}static from(t){return new pa(t)}static getPrimaryType(t){return pa.from(t).primaryType}static hashStruct(t,r,o){return pa.from(r).hashStruct(t,o)}static hashDomain(t){let r=[];for(let o in t){if(t[o]==null)continue;let s=bbt[o];Te(s,`invalid typed-data domain key: ${JSON.stringify(o)}`,"domain",t),r.push({name:o,type:s})}return r.sort((o,s)=>Wwe.indexOf(o.name)-Wwe.indexOf(s.name)),pa.hashStruct("EIP712Domain",{EIP712Domain:r},t)}static encode(t,r,o){return xn(["0x1901",pa.hashDomain(t),pa.from(r).hash(o)])}static hash(t,r,o){return Wr(pa.encode(t,r,o))}static async resolveNames(t,r,o,s){t=Object.assign({},t);for(let a in t)t[a]==null&&delete t[a];let i={};t.verifyingContract&&!cs(t.verifyingContract,20)&&(i[t.verifyingContract]="0x");let n=pa.from(r);n.visit(o,(a,u)=>(a==="address"&&!cs(u,20)&&(i[u]="0x"),u));for(let a in i)i[a]=await s(a);return t.verifyingContract&&i[t.verifyingContract]&&(t.verifyingContract=i[t.verifyingContract]),o=n.visit(o,(a,u)=>a==="address"&&i[u]?i[u]:u),{domain:t,value:o}}static getPayload(t,r,o){pa.hashDomain(t);let s={},i=[];Wwe.forEach(u=>{let c=t[u];c!=null&&(s[u]=GPr[u](c),i.push({name:u,type:bbt[u]}))});let n=pa.from(r),a=Object.assign({},r);return Te(a.EIP712Domain==null,"types must not contain EIP712Domain type","types.EIP712Domain",r),a.EIP712Domain=i,n.encode(o),{types:a,domain:s,primaryType:n.primaryType,message:n.visit(o,(u,c)=>{if(u.match(/^bytes(\d*)/))return Ct(zt(c));if(u.match(/^u?int/))return kn(c).toString();switch(u){case"trcToken":return kn(c).toString();case"address":return c.toLowerCase();case"bool":return!!c;case"string":return Te(typeof c=="string","invalid string","value",c),c}Te(!1,"unsupported type","type",u)})}}};m(),m(),m(),m(),m();function Tbt(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}function VPr(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function NC(e,...t){if(!VPr(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 Sbt(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");Tbt(e.outputLen),Tbt(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 Cbt(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();var OJ=typeof globalThis=="object"&&"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,PFn=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function JPr(e){if(typeof e!="string")throw new Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}function YR(e){return typeof e=="string"&&(e=JPr(e)),NC(e),e}function Ibt(...e){let t=0;for(let o=0;o<e.length;o++){let s=e[o];NC(s),t+=s.length}let r=new Uint8Array(t);for(let o=0,s=0;o<e.length;o++){let i=e[o];r.set(i,s),s+=i.length}return r}var UC=class{clone(){return this._cloneInto()}},BFn={}.toString;function Obt(e){let t=o=>e().update(YR(o)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function Pbt(e=32){if(OJ&&typeof OJ.getRandomValues=="function")return OJ.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}function XPr(e,t,r,o){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,r,o);let s=BigInt(32),i=BigInt(4294967295),n=Number(r>>s&i),a=Number(r&i),u=o?4:0,c=o?0:4;e.setUint32(t+u,n,o),e.setUint32(t+c,a,o)}var Bbt=(e,t,r)=>e&t^~e&r,kbt=(e,t,r)=>e&t^e&r^t&r,BJ=class extends UC{constructor(e,t,r,o){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=o,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:o}=this;e=YR(e);let s=e.length;for(let i=0;i<s;){let n=Math.min(o-this.pos,s-i);if(n===o){let a=PJ(e);for(;o<=s-i;i+=o)this.process(a,i);continue}r.set(e.subarray(i,i+n),this.pos),this.pos+=n,i+=n,this.pos===o&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){DC(this),Cbt(e,this),this.finished=!0;let{buffer:t,view:r,blockLen:o,isLE:s}=this,{pos:i}=this;t[i++]=128,this.buffer.subarray(i).fill(0),this.padOffset>o-i&&(this.process(r,0),i=0);for(let d=i;d<o;d++)t[d]=0;XPr(r,o-8,BigInt(this.length*8),s),this.process(r,0);let n=PJ(e),a=this.outputLen;if(a%4)throw new Error("_sha2: outputLen should be aligned to 32bit");let u=a/4,c=this.get();if(u>c.length)throw new Error("_sha2: outputLen bigger than state");for(let d=0;d<u;d++)n.setUint32(4*d,c[d],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:o,finished:s,destroyed:i,pos:n}=this;return e.length=o,e.pos=n,e.finished=s,e.destroyed=i,o%t&&e.buffer.set(r),e}},YPr=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=Cx[0]|0,this.B=Cx[1]|0,this.C=Cx[2]|0,this.D=Cx[3]|0,this.E=Cx[4]|0,this.F=Cx[5]|0,this.G=Cx[6]|0,this.H=Cx[7]|0}get(){let{A:e,B:t,C:r,D:o,E:s,F:i,G:n,H:a}=this;return[e,t,r,o,s,i,n,a]}set(e,t,r,o,s,i,n,a){this.A=e|0,this.B=t|0,this.C=r|0,this.D=o|0,this.E=s|0,this.F=i|0,this.G=n|0,this.H=a|0}process(e,t){for(let d=0;d<16;d++,t+=4)Ix[d]=e.getUint32(t,!1);for(let d=16;d<64;d++){let h=Ix[d-15],y=Ix[d-2],C=Bp(h,7)^Bp(h,18)^h>>>3,w=Bp(y,17)^Bp(y,19)^y>>>10;Ix[d]=w+Ix[d-7]+C+Ix[d-16]|0}let{A:r,B:o,C:s,D:i,E:n,F:a,G:u,H:c}=this;for(let d=0;d<64;d++){let h=Bp(n,6)^Bp(n,11)^Bp(n,25),y=c+h+Bbt(n,a,u)+YPr[d]+Ix[d]|0,C=(Bp(r,2)^Bp(r,13)^Bp(r,22))+kbt(r,o,s)|0;c=u,u=a,a=n,n=i+y|0,i=s,s=o,o=r,r=y+C|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,i=i+this.D|0,n=n+this.E|0,a=a+this.F|0,u=u+this.G|0,c=c+this.H|0,this.set(r,o,s,i,n,a,u,c)}roundClean(){Ix.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},Mbt=Obt(()=>new zwe);m(),m();var kJ=class extends UC{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,Sbt(e);let r=YR(t);if(this.iHash=e.create(),typeof this.iHash.update!="function")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(r.length>o?e.create().update(r).digest():r);for(let i=0;i<s.length;i++)s[i]^=54;this.iHash.update(s),this.oHash=e.create();for(let i=0;i<s.length;i++)s[i]^=106;this.oHash.update(s),s.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:o,destroyed:s,blockLen:i,outputLen:n}=this;return e=e,e.finished=o,e.destroyed=s,e.blockLen=i,e.outputLen=n,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 kJ(e,t).update(r).digest();Kwe.create=(e,t)=>new kJ(e,t),m(),m(),m();var Gwe={};Vr(Gwe,{abytes:()=>LC,bitGet:()=>nBr,bitLen:()=>rBr,bitMask:()=>QR,bitSet:()=>iBr,bytesToHex:()=>mT,bytesToNumberBE:()=>Vb,bytesToNumberLE:()=>_J,concatBytes:()=>FC,createHmacDrbg:()=>jwe,ensureBytes:()=>Hd,equalBytes:()=>eBr,hexToBytes:()=>bT,hexToNumber:()=>qwe,isBytes:()=>Ox,numberToBytesBE:()=>Px,numberToBytesLE:()=>RJ,numberToHexUnpadded:()=>Dbt,numberToVarBytesBE:()=>$Pr,utf8ToBytes:()=>tBr,validateObject:()=>Bx}),m();var Nbt=BigInt(0),MJ=BigInt(1),QPr=BigInt(2);function Ox(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function LC(e){if(!Ox(e))throw new Error("Uint8Array expected")}var ZPr=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+=ZPr[e[r]];return t}function Dbt(e){let t=e.toString(16);return t.length&1?`0${t}`:t}function qwe(e){if(typeof e!="string")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 _bt(e){if(e>=Gb._0&&e<=Gb._9)return e-Gb._0;if(e>=Gb._A&&e<=Gb._F)return e-(Gb._A-10);if(e>=Gb._a&&e<=Gb._f)return e-(Gb._a-10)}function bT(e){if(typeof e!="string")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 o=new Uint8Array(r);for(let s=0,i=0;s<r;s++,i+=2){let n=_bt(e.charCodeAt(i)),a=_bt(e.charCodeAt(i+1));if(n===void 0||a===void 0){let u=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+u+'" at index '+i)}o[s]=n*16+a}return o}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(t*2,"0"))}function RJ(e,t){return Px(e,t).reverse()}function $Pr(e){return bT(Dbt(e))}function Hd(e,t,r){let o;if(typeof t=="string")try{o=bT(t)}catch(i){throw new Error(`${e} must be valid hex string, got "${t}". Cause: ${i}`)}else if(Ox(t))o=Uint8Array.from(t);else throw new Error(`${e} must be hex string or Uint8Array`);let s=o.length;if(typeof r=="number"&&s!==r)throw new Error(`${e} expected ${r} bytes, got ${s}`);return o}function FC(...e){let t=0;for(let o=0;o<e.length;o++){let s=e[o];LC(s),t+=s.length}let r=new Uint8Array(t);for(let o=0,s=0;o<e.length;o++){let i=e[o];r.set(i,s),s+=i.length}return r}function eBr(e,t){if(e.length!==t.length)return!1;let r=0;for(let o=0;o<e.length;o++)r|=e[o]^t[o];return r===0}function tBr(e){if(typeof e!="string")throw new Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}function rBr(e){let t;for(t=0;e>Nbt;e>>=MJ,t+=1);return t}function nBr(e,t){return e>>BigInt(t)&MJ}function iBr(e,t,r){return e|(r?MJ:Nbt)<<BigInt(t)}var QR=e=>(QPr<<BigInt(e-1))-MJ,Hwe=e=>new Uint8Array(e),Rbt=e=>Uint8Array.from(e);function jwe(e,t,r){if(typeof e!="number"||e<2)throw new Error("hashLen must be a number");if(typeof t!="number"||t<2)throw new Error("qByteLen must be a number");if(typeof r!="function")throw new Error("hmacFn must be a function");let o=Hwe(e),s=Hwe(e),i=0,n=()=>{o.fill(1),s.fill(0),i=0},a=(...d)=>r(s,o,...d),u=(d=Hwe())=>{s=a(Rbt([0]),d),o=a(),d.length!==0&&(s=a(Rbt([1]),d),o=a())},c=()=>{if(i++>=1e3)throw new Error("drbg: tried 1000 values");let d=0,h=[];for(;d<t;){o=a();let y=o.slice();h.push(y),d+=o.length}return FC(...h)};return(d,h)=>{n(),u(d);let y;for(;!(y=h(c()));)u();return n(),y}}var oBr={bigint:e=>typeof e=="bigint",function:e=>typeof e=="function",boolean:e=>typeof e=="boolean",string:e=>typeof e=="string",stringOrUint8Array:e=>typeof e=="string"||Ox(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e=="function"&&Number.isSafeInteger(e.outputLen)};function Bx(e,t,r={}){let o=(s,i,n)=>{let a=oBr[i];if(typeof a!="function")throw new Error(`Invalid validator "${i}", expected function`);let u=e[s];if(!(n&&u===void 0)&&!a(u,e))throw new Error(`Invalid param ${String(s)}=${u} (${typeof u}), expected ${i}`)};for(let[s,i]of Object.entries(t))o(s,i,!1);for(let[s,i]of Object.entries(r))o(s,i,!0);return e}var Ya=BigInt(0),Fs=BigInt(1),vT=BigInt(2),sBr=BigInt(3),Vwe=BigInt(4),Ubt=BigInt(5),Lbt=BigInt(8),aBr=BigInt(9),cBr=BigInt(16);function il(e,t){let r=e%t;return r>=Ya?r:t+r}function uBr(e,t,r){if(r<=Ya||t<Ya)throw new Error("Expected power/modulo > 0");if(r===Fs)return Ya;let o=Fs;for(;t>Ya;)t&Fs&&(o=o*e%r),e=e*e%r,t>>=Fs;return o}function qd(e,t,r){let o=e;for(;t-- >Ya;)o*=o,o%=r;return o}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),o=t,s=Ya,i=Fs,n=Fs,a=Ya;for(;r!==Ya;){let u=o/r,c=o%r,d=s-n*u,h=i-a*u;o=r,r=c,s=n,i=a,n=d,a=h}if(o!==Fs)throw new Error("invert: does not exist");return il(s,t)}function lBr(e){let t=(e-Fs)/vT,r,o,s;for(r=e-Fs,o=0;r%vT===Ya;r/=vT,o++);for(s=vT;s<e&&uBr(s,t,e)!==e-Fs;s++);if(o===1){let n=(e+Fs)/Vwe;return function(a,u){let c=a.pow(u,n);if(!a.eql(a.sqr(c),u))throw new Error("Cannot find square root");return c}}let i=(r+Fs)/vT;return function(n,a){if(n.pow(a,t)===n.neg(n.ONE))throw new Error("Cannot find square root");let u=o,c=n.pow(n.mul(n.ONE,s),r),d=n.pow(a,i),h=n.pow(a,r);for(;!n.eql(h,n.ONE);){if(n.eql(h,n.ZERO))return n.ZERO;let y=1;for(let w=n.sqr(h);y<u&&!n.eql(w,n.ONE);y++)w=n.sqr(w);let C=n.pow(c,Fs<<BigInt(u-y-1));c=n.sqr(C),d=n.mul(d,C),h=n.mul(h,c),u=y}return d}}function fBr(e){if(e%Vwe===sBr){let t=(e+Fs)/Vwe;return function(r,o){let s=r.pow(o,t);if(!r.eql(r.sqr(s),o))throw new Error("Cannot find square root");return s}}if(e%Lbt===Ubt){let t=(e-Ubt)/Lbt;return function(r,o){let s=r.mul(o,vT),i=r.pow(s,t),n=r.mul(o,i),a=r.mul(r.mul(n,vT),i),u=r.mul(n,r.sub(a,r.ONE));if(!r.eql(r.sqr(u),o))throw new Error("Cannot find square root");return u}}return e%cBr,lBr(e)}var dBr=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Jwe(e){let t={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},r=dBr.reduce((o,s)=>(o[s]="function",o),t);return Bx(e,r)}function hBr(e,t,r){if(r<Ya)throw new Error("Expected power > 0");if(r===Ya)return e.ONE;if(r===Fs)return t;let o=e.ONE,s=t;for(;r>Ya;)r&Fs&&(o=e.mul(o,s)),s=e.sqr(s),r>>=Fs;return o}function pBr(e,t){let r=new Array(t.length),o=t.reduce((i,n,a)=>e.is0(n)?i:(r[a]=i,e.mul(i,n)),e.ONE),s=e.inv(o);return t.reduceRight((i,n,a)=>e.is0(n)?i:(r[a]=e.mul(i,r[a]),e.mul(i,n)),s),r}function Xwe(e,t){let r=t!==void 0?t:e.toString(2).length,o=Math.ceil(r/8);return{nBitLength:r,nByteLength:o}}function Fbt(e,t,r=!1,o={}){if(e<=Ya)throw new Error(`Expected Field ORDER > 0, got ${e}`);let{nBitLength:s,nByteLength:i}=Xwe(e,t);if(i>2048)throw new Error("Field lengths over 2048 bytes are not supported");let n=fBr(e),a=Object.freeze({ORDER:e,BITS:s,BYTES:i,MASK:QR(s),ZERO:Ya,ONE:Fs,create:u=>il(u,e),isValid:u=>{if(typeof u!="bigint")throw new Error(`Invalid field element: expected bigint, got ${typeof u}`);return Ya<=u&&u<e},is0:u=>u===Ya,isOdd:u=>(u&Fs)===Fs,neg:u=>il(-u,e),eql:(u,c)=>u===c,sqr:u=>il(u*u,e),add:(u,c)=>il(u+c,e),sub:(u,c)=>il(u-c,e),mul:(u,c)=>il(u*c,e),pow:(u,c)=>hBr(a,u,c),div:(u,c)=>il(u*NJ(c,e),e),sqrN:u=>u*u,addN:(u,c)=>u+c,subN:(u,c)=>u-c,mulN:(u,c)=>u*c,inv:u=>NJ(u,e),sqrt:o.sqrt||(u=>n(a,u)),invertBatch:u=>pBr(a,u),cmov:(u,c,d)=>d?c:u,toBytes:u=>r?RJ(u,i):Px(u,i),fromBytes:u=>{if(u.length!==i)throw new Error(`Fp.fromBytes: expected ${i}, got ${u.length}`);return r?_J(u):Vb(u)}});return Object.freeze(a)}function Wbt(e){if(typeof e!="bigint")throw new Error("field order must be bigint");let t=e.toString(2).length;return Math.ceil(t/8)}function Ywe(e){let t=Wbt(e);return t+Math.ceil(t/2)}function zbt(e,t,r=!1){let o=e.length,s=Wbt(t),i=Ywe(t);if(o<16||o<i||o>1024)throw new Error(`expected ${i}-1024 bytes of input, got ${o}`);let n=r?Vb(e):_J(e),a=il(n,t-Fs)+Fs;return r?RJ(a,s):Px(a,s)}var yBr=BigInt(0),Qwe=BigInt(1);function Kbt(e,t){let r=(s,i)=>{let n=i.negate();return s?n:i},o=s=>{let i=Math.ceil(t/s)+1,n=2**(s-1);return{windows:i,windowSize:n}};return{constTimeNegate:r,unsafeLadder(s,i){let n=e.ZERO,a=s;for(;i>yBr;)i&Qwe&&(n=n.add(a)),a=a.double(),i>>=Qwe;return n},precomputeWindow(s,i){let{windows:n,windowSize:a}=o(i),u=[],c=s,d=c;for(let h=0;h<n;h++){d=c,u.push(d);for(let y=1;y<a;y++)d=d.add(c),u.push(d);c=d.double()}return u},wNAF(s,i,n){let{windows:a,windowSize:u}=o(s),c=e.ZERO,d=e.BASE,h=BigInt(2**s-1),y=2**s,C=BigInt(s);for(let w=0;w<a;w++){let T=w*u,A=Number(n&h);n>>=C,A>u&&(A-=y,n+=Qwe);let O=T,v=T+Math.abs(A)-1,B=w%2!==0,R=A<0;A===0?d=d.add(r(B,i[O])):c=c.add(r(R,i[v]))}return{p:c,f:d}},wNAFCached(s,i,n,a){let u=s._WINDOW_SIZE||1,c=i.get(s);return c||(c=this.precomputeWindow(s,u),u!==1&&i.set(s,a(c))),this.wNAF(u,c,n)}}}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 mBr(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:o,a:s}=t;if(r){if(!o.eql(s,o.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if(typeof r!="object"||typeof r.beta!="bigint"||typeof r.splitScalar!="function")throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}var{bytesToNumberBE:bBr,hexToBytes:vBr}=Gwe,wT={Err:class extends Error{constructor(e=""){super(e)}},_parseInt(e){let{Err:t}=wT;if(e.length<2||e[0]!==2)throw new t("Invalid signature integer tag");let r=e[1],o=e.subarray(2,r+2);if(!r||o.length!==r)throw new t("Invalid signature integer: wrong length");if(o[0]&128)throw new t("Invalid signature integer: negative");if(o[0]===0&&!(o[1]&128))throw new t("Invalid signature integer: unnecessary leading zero");return{d:bBr(o),l:e.subarray(r+2)}},toSig(e){let{Err:t}=wT,r=typeof e=="string"?vBr(e):e;LC(r);let o=r.length;if(o<2||r[0]!=48)throw new t("Invalid signature tag");if(r[1]!==o-2)throw new t("Invalid signature: incorrect length");let{d:s,l:i}=wT._parseInt(r.subarray(2)),{d:n,l:a}=wT._parseInt(i);if(a.length)throw new t("Invalid signature: left bytes after parsing");return{r:s,s:n}},hexFromSig(e){let t=c=>Number.parseInt(c[0],16)&8?"00"+c:c,r=c=>{let d=c.toString(16);return d.length&1?`0${d}`:d},o=t(r(e.s)),s=t(r(e.r)),i=o.length/2,n=s.length/2,a=r(i),u=r(n);return`30${r(n+i+4)}02${u}${s}02${a}${o}`}},Jb=BigInt(0),e0=BigInt(1),tWn=BigInt(2),Hbt=BigInt(3),rWn=BigInt(4);function wBr(e){let t=mBr(e),{Fp:r}=t,o=t.toBytes||((w,T,A)=>{let O=T.toAffine();return FC(Uint8Array.from([4]),r.toBytes(O.x),r.toBytes(O.y))}),s=t.fromBytes||(w=>{let T=w.subarray(1),A=r.fromBytes(T.subarray(0,r.BYTES)),O=r.fromBytes(T.subarray(r.BYTES,2*r.BYTES));return{x:A,y:O}});function i(w){let{a:T,b:A}=t,O=r.sqr(w),v=r.mul(O,w);return r.add(r.add(v,r.mul(w,T)),A)}if(!r.eql(r.sqr(t.Gy),i(t.Gx)))throw new Error("bad generator point: equation left != right");function n(w){return typeof w=="bigint"&&Jb<w&&w<t.n}function a(w){if(!n(w))throw new Error("Expected valid bigint: 0 < bigint < curve.n")}function u(w){let{allowedPrivateKeyLengths:T,nByteLength:A,wrapPrivateKey:O,n:v}=t;if(T&&typeof w!="bigint"){if(Ox(w)&&(w=mT(w)),typeof w!="string"||!T.includes(w.length))throw new Error("Invalid key");w=w.padStart(A*2,"0")}let B;try{B=typeof w=="bigint"?w:Vb(Hd("private key",w,A))}catch{throw new Error(`private key must be ${A} bytes, hex or bigint, not ${typeof w}`)}return O&&(B=il(B,v)),a(B),B}let c=new Map;function d(w){if(!(w instanceof h))throw new Error("ProjectivePoint expected")}class h{constructor(T,A,O){if(this.px=T,this.py=A,this.pz=O,T==null||!r.isValid(T))throw new Error("x required");if(A==null||!r.isValid(A))throw new Error("y required");if(O==null||!r.isValid(O))throw new Error("z required")}static fromAffine(T){let{x:A,y:O}=T||{};if(!T||!r.isValid(A)||!r.isValid(O))throw new Error("invalid affine point");if(T instanceof h)throw new Error("projective point not allowed");let v=B=>r.eql(B,r.ZERO);return v(A)&&v(O)?h.ZERO:new h(A,O,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(T){let A=r.invertBatch(T.map(O=>O.pz));return T.map((O,v)=>O.toAffine(A[v])).map(h.fromAffine)}static fromHex(T){let A=h.fromAffine(s(Hd("pointHex",T)));return A.assertValidity(),A}static fromPrivateKey(T){return h.BASE.multiply(u(T))}_setWindowSize(T){this._WINDOW_SIZE=T,c.delete(this)}assertValidity(){if(this.is0()){if(t.allowInfinityPoint&&!r.is0(this.py))return;throw new Error("bad point: ZERO")}let{x:T,y:A}=this.toAffine();if(!r.isValid(T)||!r.isValid(A))throw new Error("bad point: x or y not FE");let O=r.sqr(A),v=i(T);if(!r.eql(O,v))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){let{y:T}=this.toAffine();if(r.isOdd)return!r.isOdd(T);throw new Error("Field doesn't support isOdd")}equals(T){d(T);let{px:A,py:O,pz:v}=this,{px:B,py:R,pz:U}=T,N=r.eql(r.mul(A,U),r.mul(B,v)),_=r.eql(r.mul(O,U),r.mul(R,v));return N&&_}negate(){return new h(this.px,r.neg(this.py),this.pz)}double(){let{a:T,b:A}=t,O=r.mul(A,Hbt),{px:v,py:B,pz:R}=this,U=r.ZERO,N=r.ZERO,_=r.ZERO,L=r.mul(v,v),H=r.mul(B,B),F=r.mul(R,R),G=r.mul(v,B);return G=r.add(G,G),_=r.mul(v,R),_=r.add(_,_),U=r.mul(T,_),N=r.mul(O,F),N=r.add(U,N),U=r.sub(H,N),N=r.add(H,N),N=r.mul(U,N),U=r.mul(G,U),_=r.mul(O,_),F=r.mul(T,F),G=r.sub(L,F),G=r.mul(T,G),G=r.add(G,_),_=r.add(L,L),L=r.add(_,L),L=r.add(L,F),L=r.mul(L,G),N=r.add(N,L),F=r.mul(B,R),F=r.add(F,F),L=r.mul(F,G),U=r.sub(U,L),_=r.mul(F,H),_=r.add(_,_),_=r.add(_,_),new h(U,N,_)}add(T){d(T);let{px:A,py:O,pz:v}=this,{px:B,py:R,pz:U}=T,N=r.ZERO,_=r.ZERO,L=r.ZERO,H=t.a,F=r.mul(t.b,Hbt),G=r.mul(A,B),l=r.mul(O,R),p=r.mul(v,U),E=r.add(A,O),g=r.add(B,R);E=r.mul(E,g),g=r.add(G,l),E=r.sub(E,g),g=r.add(A,v);let b=r.add(B,U);return g=r.mul(g,b),b=r.add(G,p),g=r.sub(g,b),b=r.add(O,v),N=r.add(R,U),b=r.mul(b,N),N=r.add(l,p),b=r.sub(b,N),L=r.mul(H,g),N=r.mul(F,p),L=r.add(N,L),N=r.sub(l,L),L=r.add(l,L),_=r.mul(N,L),l=r.add(G,G),l=r.add(l,G),p=r.mul(H,p),g=r.mul(F,g),l=r.add(l,p),p=r.sub(G,p),p=r.mul(H,p),g=r.add(g,p),G=r.mul(l,g),_=r.add(_,G),G=r.mul(b,g),N=r.mul(E,N),N=r.sub(N,G),G=r.mul(E,l),L=r.mul(b,L),L=r.add(L,G),new h(N,_,L)}subtract(T){return this.add(T.negate())}is0(){return this.equals(h.ZERO)}wNAF(T){return C.wNAFCached(this,c,T,A=>{let O=r.invertBatch(A.map(v=>v.pz));return A.map((v,B)=>v.toAffine(O[B])).map(h.fromAffine)})}multiplyUnsafe(T){let A=h.ZERO;if(T===Jb)return A;if(a(T),T===e0)return this;let{endo:O}=t;if(!O)return C.unsafeLadder(this,T);let{k1neg:v,k1:B,k2neg:R,k2:U}=O.splitScalar(T),N=A,_=A,L=this;for(;B>Jb||U>Jb;)B&e0&&(N=N.add(L)),U&e0&&(_=_.add(L)),L=L.double(),B>>=e0,U>>=e0;return v&&(N=N.negate()),R&&(_=_.negate()),_=new h(r.mul(_.px,O.beta),_.py,_.pz),N.add(_)}multiply(T){a(T);let A=T,O,v,{endo:B}=t;if(B){let{k1neg:R,k1:U,k2neg:N,k2:_}=B.splitScalar(A),{p:L,f:H}=this.wNAF(U),{p:F,f:G}=this.wNAF(_);L=C.constTimeNegate(R,L),F=C.constTimeNegate(N,F),F=new h(r.mul(F.px,B.beta),F.py,F.pz),O=L.add(F),v=H.add(G)}else{let{p:R,f:U}=this.wNAF(A);O=R,v=U}return h.normalizeZ([O,v])[0]}multiplyAndAddUnsafe(T,A,O){let v=h.BASE,B=(U,N)=>N===Jb||N===e0||!U.equals(v)?U.multiplyUnsafe(N):U.multiply(N),R=B(this,A).add(B(T,O));return R.is0()?void 0:R}toAffine(T){let{px:A,py:O,pz:v}=this,B=this.is0();T==null&&(T=B?r.ONE:r.inv(v));let R=r.mul(A,T),U=r.mul(O,T),N=r.mul(v,T);if(B)return{x:r.ZERO,y:r.ZERO};if(!r.eql(N,r.ONE))throw new Error("invZ was invalid");return{x:R,y:U}}isTorsionFree(){let{h:T,isTorsionFree:A}=t;if(T===e0)return!0;if(A)return A(h,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:T,clearCofactor:A}=t;return T===e0?this:A?A(h,this):this.multiplyUnsafe(t.h)}toRawBytes(T=!0){return this.assertValidity(),o(h,this,T)}toHex(T=!0){return mT(this.toRawBytes(T))}}h.BASE=new h(t.Gx,t.Gy,r.ONE),h.ZERO=new h(r.ZERO,r.ONE,r.ZERO);let y=t.nBitLength,C=Kbt(h,t.endo?Math.ceil(y/2):y);return{CURVE:t,ProjectivePoint:h,normPrivateKeyToScalar:u,weierstrassEquation:i,isWithinCurveOrder:n}}function xBr(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 qbt(e){let t=xBr(e),{Fp:r,n:o}=t,s=r.BYTES+1,i=2*r.BYTES+1;function n(g){return Jb<g&&g<r.ORDER}function a(g){return il(g,o)}function u(g){return NJ(g,o)}let{ProjectivePoint:c,normPrivateKeyToScalar:d,weierstrassEquation:h,isWithinCurveOrder:y}=wBr({...t,toBytes(g,b,k){let x=b.toAffine(),S=r.toBytes(x.x),f=FC;return k?f(Uint8Array.from([b.hasEvenY()?2:3]),S):f(Uint8Array.from([4]),S,r.toBytes(x.y))},fromBytes(g){let b=g.length,k=g[0],x=g.subarray(1);if(b===s&&(k===2||k===3)){let S=Vb(x);if(!n(S))throw new Error("Point is not on curve");let f=h(S),M;try{M=r.sqrt(f)}catch(D){let j=D instanceof Error?": "+D.message:"";throw new Error("Point is not on curve"+j)}let V=(M&e0)===e0;return(k&1)===1!==V&&(M=r.neg(M)),{x:S,y:M}}else if(b===i&&k===4){let S=r.fromBytes(x.subarray(0,r.BYTES)),f=r.fromBytes(x.subarray(r.BYTES,2*r.BYTES));return{x:S,y:f}}else throw new Error(`Point of length ${b} was invalid. Expected ${s} compressed bytes or ${i} uncompressed bytes`)}}),C=g=>mT(Px(g,t.nByteLength));function w(g){let b=o>>e0;return g>b}function T(g){return w(g)?a(-g):g}let A=(g,b,k)=>Vb(g.slice(b,k));class O{constructor(b,k,x){this.r=b,this.s=k,this.recovery=x,this.assertValidity()}static fromCompact(b){let k=t.nByteLength;return b=Hd("compactSignature",b,k*2),new O(A(b,0,k),A(b,k,2*k))}static fromDER(b){let{r:k,s:x}=wT.toSig(Hd("DER",b));return new O(k,x)}assertValidity(){if(!y(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!y(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(b){return new O(this.r,this.s,b)}recoverPublicKey(b){let{r:k,s:x,recovery:S}=this,f=_(Hd("msgHash",b));if(S==null||![0,1,2,3].includes(S))throw new Error("recovery id invalid");let M=S===2||S===3?k+t.n:k;if(M>=r.ORDER)throw new Error("recovery id 2 or 3 invalid");let V=S&1?"03":"02",D=c.fromHex(V+C(M)),j=u(M),Y=a(-f*j),oe=a(x*j),de=c.BASE.multiplyAndAddUnsafe(D,Y,oe);if(!de)throw new Error("point at infinify");return de.assertValidity(),de}hasHighS(){return w(this.s)}normalizeS(){return this.hasHighS()?new O(this.r,a(-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 C(this.r)+C(this.s)}}let v={isValidPrivateKey(g){try{return d(g),!0}catch{return!1}},normPrivateKeyToScalar:d,randomPrivateKey:()=>{let g=Ywe(t.n);return zbt(t.randomBytes(g),t.n)},precompute(g=8,b=c.BASE){return b._setWindowSize(g),b.multiply(BigInt(3)),b}};function B(g,b=!0){return c.fromPrivateKey(g).toRawBytes(b)}function R(g){let b=Ox(g),k=typeof g=="string",x=(b||k)&&g.length;return b?x===s||x===i:k?x===2*s||x===2*i:g instanceof c}function U(g,b,k=!0){if(R(g))throw new Error("first arg must be private key");if(!R(b))throw new Error("second arg must be public key");return c.fromHex(b).multiply(d(g)).toRawBytes(k)}let N=t.bits2int||function(g){let b=Vb(g),k=g.length*8-t.nBitLength;return k>0?b>>BigInt(k):b},_=t.bits2int_modN||function(g){return a(N(g))},L=QR(t.nBitLength);function H(g){if(typeof g!="bigint")throw new Error("bigint expected");if(!(Jb<=g&&g<L))throw new Error(`bigint expected < 2^${t.nBitLength}`);return Px(g,t.nByteLength)}function F(g,b,k=G){if(["recovered","canonical"].some(ae=>ae in k))throw new Error("sign() legacy options not supported");let{hash:x,randomBytes:S}=t,{lowS:f,prehash:M,extraEntropy:V}=k;f==null&&(f=!0),g=Hd("msgHash",g),M&&(g=Hd("prehashed msgHash",x(g)));let D=_(g),j=d(b),Y=[H(j),H(D)];if(V!=null&&V!==!1){let ae=V===!0?S(r.BYTES):V;Y.push(Hd("extraEntropy",ae))}let oe=FC(...Y),de=D;function ue(ae){let q=N(ae);if(!y(q))return;let ne=u(q),me=c.BASE.multiply(q).toAffine(),ve=a(me.x);if(ve===Jb)return;let ge=a(ne*a(de+ve*j));if(ge===Jb)return;let ce=(me.x===ve?0:2)|Number(me.y&e0),ee=ge;return f&&w(ge)&&(ee=T(ge),ce^=1),new O(ve,ee,ce)}return{seed:oe,k2sig:ue}}let G={lowS:t.lowS,prehash:!1},l={lowS:t.lowS,prehash:!1};function p(g,b,k=G){let{seed:x,k2sig:S}=F(g,b,k),f=t;return jwe(f.hash.outputLen,f.nByteLength,f.hmac)(x,S)}c.BASE._setWindowSize(8);function E(g,b,k,x=l){let S=g;if(b=Hd("msgHash",b),k=Hd("publicKey",k),"strict"in x)throw new Error("options.strict was renamed to lowS");let{lowS:f,prehash:M}=x,V,D;try{if(typeof S=="string"||Ox(S))try{V=O.fromDER(S)}catch(ne){if(!(ne instanceof wT.Err))throw ne;V=O.fromCompact(S)}else if(typeof S=="object"&&typeof S.r=="bigint"&&typeof S.s=="bigint"){let{r:ne,s:me}=S;V=new O(ne,me)}else throw new Error("PARSE");D=c.fromHex(k)}catch(ne){if(ne.message==="PARSE")throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(f&&V.hasHighS())return!1;M&&(b=t.hash(b));let{r:j,s:Y}=V,oe=_(b),de=u(Y),ue=a(oe*de),ae=a(j*de),q=c.BASE.multiplyAndAddUnsafe(D,ue,ae)?.toAffine();return q?a(q.x)===j:!1}return{CURVE:t,getPublicKey:B,getSharedSecret:U,sign:p,verify:E,ProjectivePoint:c,Signature:O,utils:v}}function ABr(e){return{hash:e,hmac:(t,...r)=>Kwe(e,t,Ibt(...r)),randomBytes:Pbt}}function jbt(e,t){let r=o=>qbt({...e,...ABr(o)});return Object.freeze({...r(t),create:r})}var Jbt=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Gbt=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),EBr=BigInt(1),$we=BigInt(2),Vbt=(e,t)=>(e+t/$we)/t;function TBr(e){let t=Jbt,r=BigInt(3),o=BigInt(6),s=BigInt(11),i=BigInt(22),n=BigInt(23),a=BigInt(44),u=BigInt(88),c=e*e*e%t,d=c*c*e%t,h=qd(d,r,t)*d%t,y=qd(h,r,t)*d%t,C=qd(y,$we,t)*c%t,w=qd(C,s,t)*C%t,T=qd(w,i,t)*w%t,A=qd(T,a,t)*T%t,O=qd(A,u,t)*A%t,v=qd(O,a,t)*T%t,B=qd(v,r,t)*d%t,R=qd(B,n,t)*w%t,U=qd(R,o,t)*c%t,N=qd(U,$we,t);if(!exe.eql(exe.sqr(N),e))throw new Error("Cannot find square root");return N}var exe=Fbt(Jbt,void 0,void 0,{sqrt:TBr}),WC=jbt({a:BigInt(0),b:BigInt(7),Fp:exe,n:Gbt,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=Gbt,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),o=-EBr*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),s=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),i=r,n=BigInt("0x100000000000000000000000000000000"),a=Vbt(i*e,t),u=Vbt(-o*e,t),c=il(e-a*r-u*s,t),d=il(-a*o-u*i,t),h=c>n,y=d>n;if(h&&(c=t-c),y&&(d=t-d),c>n||d>n)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:h,k1:c,k2neg:y,k2:d}}}},Mbt),hWn=BigInt(0),pWn=WC.ProjectivePoint;function SBr(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(typeof e!="string"||e.length<=4)return!1;let t=AR(e);if(e.length<=4)return!1;let r=t.length-4,o=t.slice(r);t=t.slice(0,r);let s=Oy(t),i=Oy(s).slice(0,4);if(o[0]==i[0]&&o[1]==i[1]&&o[2]==i[2]&&o[3]==i[3])return t;throw new Error("Invalid address provided")}function CBr(e,t){typeof e=="string"&&(e=eu(e));let r=t.txID,o=rxe(eu(r),e);return Array.isArray(t.signature)?t.signature.includes(o)||t.signature.push(o):t.signature=[o],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 IBr(e){return btoa(String.fromCharCode(...e))}function OBr(e,t){typeof e=="string"&&(e=eu(e));let r=Oy(t);return rxe(r,e)}function PBr(e,t,r,o){let s=`0x${o.replace(/^0x/,"")}`,i=new Ns(s),n=RC.hash(e,t,r),a=i.sign(n);return["0x",a.r.substring(2),a.s.substring(2),Number(a.v).toString(16)].join("")}function BBr(e){let t=Sb(e);return globalThis.proto.protocol.Transaction.deserializeBinary(t).getRawData().serializeBinary()}function txe(){let e=WC.utils.randomPrivateKey(),t=qa(e);return t=t.padStart(64,"0"),eu(t)}function ZR(e){e.length===65&&(e=e.slice(1));let t=Wr(new Uint8Array(e)).toString().substring(2),r=tu+t.substring(24);return eu(r)}function $R(e){let t=xT(e);return ZR(t)}function kBr(e){let t=AR(e);if(t.length<=4)return!1;let r=t.slice(0,t.length-4),o=Oy(r),s=Oy(o);return s[0]===t[r.length]&&s[1]===t[r.length+1]&&s[2]===t[r.length+2]&&s[3]===t[r.length+3]?r:!1}function V1e(e){if(typeof e!="string"||e.length!==W1e)return!1;let t=AR(e);if(t.length!==25||t[0]!==z1e)return!1;let r=t.slice(21);t=t.slice(0,21);let o=Oy(t),s=Oy(o).slice(0,4);return r[0]==s[0]&&r[1]==s[1]&&r[2]==s[2]&&r[3]==s[3]}function MBr(e){let t=Sb(e),r=xT(t),o=ZR(r);return Ip(o)}function _Br(e){let t=Sb(e),r=xT(t),o=ZR(r);return qa(o)}function RBr(e){let t=Sb(e),r=xT(t),o=ZR(r);return eM(o)}function xT(e){let t=WC.ProjectivePoint.fromPrivateKey(new Uint8Array(SBr(e))),r=t.x,o=t.y,s=r.toString(16).padStart(64,"0"),i=o.toString(16).padStart(64,"0"),n=`04${s}${i}`;return eu(n)}function rxe(e,t){let r=WC.sign(qa(e),qa(t)),o=r.r.toString(16),s=r.s.toString(16),i=r.recovery+27;return o.padStart(64,"0")+s.padStart(64,"0")+D8(i)}function Oy(e){let t=qa(e),r=ls("0x"+t).replace(/^0x/,"");return eu(r)}function NBr(e){let t=Sb(e),r=$R(t);return Ip(r)}function hC(e,t=!1){let r=eu(e,t),o=$R(r);return Ip(o)}function Fwe(e,t=!0){return(t?"0x":"")+Wr(P.Buffer.from(e,"utf-8")).toString().substring(2)}var DBr="Invalid tron path provided";function UBr(){let e=txe(),t=xT(e),r=$R(e),o=qa(e),s=qa(t);return{privateKey:o,publicKey:s,address:{base58:Ip(r),hex:qa(r)}}}function LBr(e="",t=XV,r){let o=Fb.createRandom(e,t,r);return{mnemonic:o.mnemonic,privateKey:o.privateKey,publicKey:o.signingKey.publicKey,address:hC(o.privateKey.replace(/^0x/,"")),path:o.path}}function FBr(e,t=XV,r="",o=null){if(!String(t).match(/^m\/44\'\/195\'/))throw new Error(DBr);let s=Fb.fromMnemonic(jh.fromPhrase(e,r,o),t);return{mnemonic:s.mnemonic,privateKey:s.privateKey,publicKey:s.signingKey.publicKey,address:hC(s.privateKey.replace(/^0x/,""))}}var sxe={};Vr(sxe,{TRON_MESSAGE_PREFIX:()=>Xbt,hashMessage:()=>oxe,signMessage:()=>WBr,verifyMessage:()=>zBr}),m();var Xbt=`TRON Signed Message:
`;function oxe(e){return typeof e=="string"?e=us(e):Array.isArray(e)&&(e=new Uint8Array(e)),Wr(xn([us(Xbt),us(String(e.length)),e]))}function WBr(e,t){t.match(/^0x/)||(t="0x"+t);let r=new Ns(t),o=oxe(e),s=r.sign(o);return U1e(s)}function zBr(e,t){t.match(/^0x/)||(t="0x"+t);let r=zf(oxe(e),t);return Ip(eu(r.replace(/^0x/,tu)))}var KBr={...Mve,address:j1e,code:nme,accounts:ixe,base58:Q1e,bytes:tme,crypto:nxe,abi:vwe,message:sxe,_TypedDataEncoder:RC,transaction:Uwe,ethersUtils:F1e},Jt=KBr;m(),m(),m(),m(),m(),m(),m(),m();var Ybt;(function(e){e[e.BANDWIDTH=0]="BANDWIDTH",e[e.ENERGY=1]="ENERGY",e[e.TRON_POWER=2]="TRON_POWER"})(Ybt||(Ybt={}));var Qbt;(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"})(Qbt||(Qbt={}));var Zbt;(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"})(Zbt||(Zbt={}));var $bt;(function(e){e[e.PENDING=0]="PENDING",e[e.DISAPPROVED=1]="DISAPPROVED",e[e.APPROVED=2]="APPROVED",e[e.CANCELED=3]="CANCELED"})($bt||($bt={})),m();function qBr(){this.fullnodeVersion="3.5.0"}hn.prototype.getFullnodeVersion=qBr;var t0=new hn({fullHost:"https://api.trongrid.io",headers:{}}),DJ={ready:!1,get tronWeb(){return this.ready?t0:!1},request:async()=>{}},axe=class extends mf{tronProvider;lastSession=null;_connecting=!1;_readyState=MG.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(t){this.getLogger().error(`Inject tronLink and TronWeb error: ${t.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 typeof e=="string"?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}`);break}}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:!1,t0.defaultAddress.hex=this.isConnectAndHasAddress?t0.address.toHex(this.address):!1}setTronLinkReady(){DJ.ready=this.isConnectAndHasAddress}},evt=axe;m();var tvt=hi(yg()),cxe=class up 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:(this.provider=new up,this.provider.setupClient(t),up.initialized=!0,this.provider)}setupClient(t){if(this.client){this.logger.info("client already initialized");return}let r=t.getClient();r&&(this.client=new tvt.OKXTronProvider(r),this.universalProvider=t)}async request(t){return Object.values(bP).includes(t?.method)?Fr(this.universalProvider?.request(t,"tronWeb")):this.handleRpcRequest(t)}async connect(){return Fr(this.universalProvider.connect())}async disconnect(){await Fr(this.universalProvider.disconnect())}getAccount(){if(!this.client){this.logger.error("client not initialized");return}return this.client.getAccount(Nx[0])}async signMessage(t){if(!this.client){this.logger.error("client not initialized");return}return Fr(this.client.signMessage(t,Nx[0]))}async signMessageV2(t){if(!this.client){this.logger.error("client not initialized");return}return Fr(this.client.signMessageV2(t,Nx[0]))}async signTransaction(t){if(!this.client){this.logger.error("client not initialized");return}return Fr(this.client.signTransaction(t,Nx[0]))}async signAndSendTransaction(t){if(!this.client){this.logger.error("client not initialized");return}return Fr(this.client.signAndSendTransaction(t,Nx[0]))}async handleRpcRequest(t){let{method:r,params:o}=t;if(Object.values(bP).includes(r))return this.logger.error(`Method should not go through RPC request: ${r}`),Promise.reject(new Error("Method not supported"));let s={jsonrpc:"2.0",id:Date.now(),method:r,params:o};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(s),method:"POST",mode:"cors"})).json()}parseResponse(t){}},rvt=cxe,zC={appIconUrl:"data:image/png;base64,PHN2ZyB3aWR0aD0iMTkyIiBoZWlnaHQ9IjE5MiIgdmlld0JveD0iMCAwIDE5MiAxOTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxjaXJjbGUgb3BhY2l0eT0iMC4xIiBjeD0iOTYiIGN5PSI5NiIgcj0iOTYiIGZpbGw9IiM5MjkyOTIiLz4KPGcgb3BhY2l0eT0iMC4zIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03OS42MDM2IDExOS40MTRIMTA4LjMzQzExMC40OTUgMTE5LjQxNCAxMTIuMjkgMTE3LjYgMTEyLjI5IDExNS40MTRDMTEyLjI5IDExMy4yMjcgMTEwLjQ5NSAxMTEuNDY3IDEwOC4zMyAxMTEuNDY3SDc5LjYwMzZDNzcuNDM4NiAxMTEuNDY3IDc1LjY0MzIgMTEzLjIyNyA3NS42NDMyIDExNS40MTRDNzUuNjQzMiAxMTcuNiA3Ny40Mzg2IDExOS40MTQgNzkuNjAzNiAxMTkuNDE0Wk05Ny40NTE4IDg0LjgwMDNINzkuNjAzNkM3Ny40Mzg2IDg0LjgwMDMgNzUuNjQzMiA4Ni42MTM2IDc1LjY0MzIgODguODAwM0M3NS42NDMyIDkwLjk4NjkgNzcuNDM4NiA5Mi43NDY5IDc5LjYwMzYgOTIuNzQ2OUg5Ny40NTE4Qzk5LjYxNjggOTIuNzQ2OSAxMDEuNDEyIDkwLjk4NjkgMTAxLjQxMiA4OC44MDAzQzEwMS40MTIgODYuNjEzNiA5OS42MTY4IDg0LjgwMDMgOTcuNDUxOCA4NC44MDAzWk0xMzUuMTM2IDgwLjEzNjZDMTM2LjM3NyA4MC4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i4zNDczIDEzNi41OTIgNzIuMzUyNloiIGZpbGw9IiM5MjkyOTIiLz4KPC9nPgo8L3N2Zz4K",canInjectProxies:!0,namespaces:{networks:["ethereum","solana","sui","bitcoin","aptos","ton","tronWeb"]},useMini:!0},uxe=class xu 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.sdk:(this.options={...zC,...t},eAe(this.options.evmChainsData),this.sdk=new xu,await this.sdk.initialize(this.options),this.sdk)}getSession(){return this.universalProvider?.getClient()?.session}getSessionConfig(){if(!this.universalProvider){this.logger.error("OKX Universal Provider not initialized");return}return this.universalProvider.getSessionConfig()}setSessionConfig(t){if(!this.universalProvider){this.logger.error("OKX Universal Provider not initialized");return}this.universalProvider.setSessionConfig(t)}getProxyProviderByNetwork(t){if(t==="bitcoin"){let r=this.adapters.bitcoin;return{bitcoin:r?.createProxy("okxwallet.bitcoin"),fractalBitcoin:r?.createProxy("okxwallet.fractalBitcoin")}}return this.providers.get(t)}async getUri(){if(!this.universalProvider){this.logger.error("Universal provider is not initialized");return}return this.universalProvider.isConnected&&await Fr(this.universalProvider.disconnect()),xu.options.canInjectProxies&&this.injectProxyProvider(),await this.universalProvider.getUri()}async connectOKXAppWallet(){if(!this.universalProvider){this.logger.error("Universal provider is not initialized");return}this.universalProvider.isConnected&&await Fr(this.universalProvider.disconnect()),xu.options.canInjectProxies&&this.injectProxyProvider(),await Fr(this.universalProvider.connectOKXAppWallet())}async connectOKXMiniWallet(){if(!this.universalProvider){this.logger.error("Universal provider is not initialized");return}this.universalProvider.isConnected&&await Fr(this.universalProvider.disconnect()),xu.options.canInjectProxies&&this.injectProxyProvider(),await Fr(this.universalProvider.connectOKXMiniWallet())}async connect(){if(!this.universalProvider){this.logger.error("Universal provider is not initialized");return}this.logger.debug("Connecting to universal provider"),await Fr(this.universalProvider.connect())}async getAllAddresses(){if(!this.universalProvider){this.logger.error("Universal provider is not initialized");return}return await this.universalProvider.getAllAddresses()}async disconnect(){if(!this.universalProvider){this.logger.error("OKX Connect SDK not initialized");return}await Fr(this.universalProvider.disconnect()),this.removeInjectedProxies()}removeInjectedProxies(){let t=!1;return this.providers.forEach((r,o)=>{window[o]&&window[o]===r&&(delete window[o],t=!0)}),t}async request(t,r){if(!this.universalProvider){this.logger.error("OKX Universal Provider not initialized");return}let o=this.providers.get(r||"ethereum");if(!o)throw new Error(`Provider not found for network: ${r}`);if(!o.request)throw new Error("Provider request method not implemented");return this.logger.debug(`sdk - request - ${t.method}: `,o),await o.request(t,r)}getLogger(){return this.logger}async initialize(t){try{await this.setupClient(t),this.setupConnectProvider(t?.namespaces?.networks),this.initAdapters(t),this.createProxyProviders(),xu.options.canInjectProxies&&this.injectProxyProvider(),xu.initialized=!0}catch(r){throw this.logger.error(`Failed to initialize OKX Connect SDK: ${r}`),r}}async setupClient({appName:t,appIconUrl:r,...o}){if(this.universalProvider){this.logger.error("SDK already initialized");return}this.universalProvider=ZMe.init(),await this.universalProvider.setupClient(t,r,o),await this.universalProvider.subscribe(this.triggerToAdapter)}setupConnectProvider(t=[]){if(!this.universalProvider){this.logger.error("OKX Universal Provider not initialized");return}let r=this.universalProvider.getClient();for(let o of t){let s=JGe[o],i;switch(s){case"universal":i=this.universalProvider;break;case"solana":if(!r){this.logger.error("OKX Universal Provider not initialized");return}i=ptt.init(this.universalProvider);break;case"sui":if(!r){this.logger.error("OKX Universal Provider not initialized");return}i=llt.init(this.universalProvider);break;case"aptos":if(!r){this.logger.error("OKX Universal Provider not initialized");return}i=HGe.init(this.universalProvider);break;case"ton":if(!r){this.logger.error("OKX Universal Provider not initialized");return}i=YZe.init(this.universalProvider);break;case"bitcoin":if(!r){this.logger.error("OKX Universal Provider not initialized");return}i=edt.init(this.universalProvider);break;case"tron":if(!r){this.logger.error("OKX Universal Provider not initialized");return}i=rvt.init(this.universalProvider);break;default:}this.connectProvider.set(o,i)}}triggerToAdapter(t,r){if(this.logger.debug(`Triggering to adapter: ${t}: `,r),t==="connect_error"){this.emit("connect_error",r);return}if(t==="session_connecting"){this.emit("session_connecting");return}t==="connect"&&this.emit("connect",r.session),Object.keys(this.adapters).forEach(o=>{let s=this.adapters[o];s&&s.providerCallback&&(t==="connect"?s.providerCallback(t,Mu(r.session,o)):s.providerCallback(t,Mu(r,o)))})}initAdapters(t){if(xu.initialized){this.logger.error("OKX Connect SDK already initialized");return}for(let r of t?.namespaces?.networks||[])switch(r){case"ethereum":this.adapters.ethereum=new VGe(this.connectProvider.get("ethereum"));break;case"solana":this.adapters.solana=new v$e(this.connectProvider.get("solana"));break;case"bitcoin":this.adapters.bitcoin=new flt(this.connectProvider.get("bitcoin"));break;case"sui":this.adapters.sui=new Vtt(this.connectProvider.get("sui"));break;case"aptos":this.adapters.aptos=new JZe(this.connectProvider.get("aptos"));break;case"ton":this.adapters.ton=new t$e(this.connectProvider.get("ton"));break;case"tronWeb":this.adapters.tronWeb=new evt(this.connectProvider.get("tronWeb"));break;default:this.logger.error(`Unsupported network: ${r}`)}}createProxyProviders(){Object.keys(this.adapters).forEach(t=>{let r=this.adapters[t].createProxy();r&&this.providers.set(t,r)})}injectProxyProvider(){this.providers.forEach((t,r)=>{if(t)if(r==="bitcoin"){let o=this.adapters.bitcoin;window.okxwallet||Object.defineProperty(window,"okxwallet",{value:{unisat:o?.createProxy("okxwallet.unisat"),bitcoin:o?.createProxy("okxwallet.bitcoin"),fractalBitcoin:o?.createProxy("okxwallet.fractalBitcoin")},writable:!1,configurable:!0}),window.unisat||Object.defineProperty(window,"unisat",{value:o?.createProxy("unisat"),writable:!1,configurable:!0})}else{if(window[r])return;Object.defineProperty(window,r,{value:t,writable:!1,configurable:!0})}})}initializeLogger(){let t=mh.getInstance();return mh.setLevel(1),t.createScopedLogger("OKXConnectSdk")}},nvt=uxe;m();var ivt=()=>{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},ovt=()=>{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,AKn=async e=>{let t=e||zC,r=ivt();r&&(t.appName=r);let o=ovt();return o&&(t.appIconUrl=o),so=await nvt.init(t),so.setSessionConfig({useMini:t?.useMini??zC.useMini}),so},EKn=()=>{if(!so){console.error("OKX Connect SDK not initialized");return}return so.getSessionConfig()},TKn=e=>{if(!so){console.error("OKX Connect SDK not initialized");return}so.setSessionConfig(e)},SKn=async()=>{if(!so){console.error("OKX Connect SDK not initialized");return}return await so.getUri()},CKn=async()=>{if(!so){console.error("OKX Connect SDK not initialized");return}return await so.connectOKXAppWallet()},IKn=async()=>{if(!so){console.error("OKX Connect SDK not initialized");return}return await so.connectOKXMiniWallet()},OKn=async()=>{if(!so){console.error("OKX Connect SDK not initialized");return}return await so.connect()},PKn=async()=>{if(!so){console.error("OKX Connect SDK not initialized");return}await so.disconnect()},BKn=async(e,t)=>{if(!so){console.error("OKX Connect SDK not initialized");return}return await so.request(e,t)},kKn=()=>{if(!so){console.error("OKX Connect SDK not initialized");return}return so.isConnected?so.getSession():null},MKn=()=>{if(!so){console.error("OKX Connect SDK not initialized");return}return so.isConnected},_Kn=()=>so,RKn=e=>{if(!so){console.error("OKX Connect SDK not initialized");return}return so.getProxyProviderByNetwork(e)},NKn=async()=>{if(!so){console.error("OKX Connect SDK not initialized");return}return await so.getAllAddresses()};export{Xb as ConnectKitErrorCodes,jl as SupportedNetworks,OKn as connect,CKn as connectOKXAppWallet,IKn as connectOKXMiniWallet,PKn as disconnect,NKn as getAllAddresses,l1t as getAllSupportedChains,EKn as getConfig,_Kn as getConnectKit,RKn as getProvider,kKn as getSession,Jvt as getSupportWalletList,SKn as getUri,AKn as init,MKn as isConnected,ST as isTelegram,BKn as request,d1t as restoreTGParam,TKn 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/e2628255d5664ca4d98350309aeb011ca61334249ac071c5f74aedd95d063f20.map