@reown/walletkit 1.4.1 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(Ve,Jt){typeof exports=="object"&&typeof module<"u"?Jt(exports):typeof define=="function"&&define.amd?define(["exports"],Jt):(Ve=typeof globalThis<"u"?globalThis:Ve||self,Jt(Ve["@reown/walletkit"]={}))})(this,function(Ve){"use strict";var Jt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wl(t){var e=t.default;if(typeof e=="function"){var n=function(){return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var Ke={exports:{}},ei=typeof Reflect=="object"?Reflect:null,Zl=ei&&typeof ei.apply=="function"?ei.apply:function(e,n,r){return Function.prototype.apply.call(e,n,r)},Ls;ei&&typeof ei.ownKeys=="function"?Ls=ei.ownKeys:Object.getOwnPropertySymbols?Ls=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Ls=function(e){return Object.getOwnPropertyNames(e)};function Xy(t){console&&console.warn&&console.warn(t)}var Yl=Number.isNaN||function(e){return e!==e};function de(){de.init.call(this)}Ke.exports=de,Ke.exports.once=tb,de.EventEmitter=de,de.prototype._events=void 0,de.prototype._eventsCount=0,de.prototype._maxListeners=void 0;var Xl=10;function ks(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(de,"defaultMaxListeners",{enumerable:!0,get:function(){return Xl},set:function(t){if(typeof t!="number"||t<0||Yl(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");Xl=t}}),de.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},de.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||Yl(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Jl(t){return t._maxListeners===void 0?de.defaultMaxListeners:t._maxListeners}de.prototype.getMaxListeners=function(){return Jl(this)},de.prototype.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n.push(arguments[r]);var i=e==="error",s=this._events;if(s!==void 0)i=i&&s.error===void 0;else if(!i)return!1;if(i){var o;if(n.length>0&&(o=n[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var c=s[e];if(c===void 0)return!1;if(typeof c=="function")Zl(c,this,n);else for(var u=c.length,l=rf(c,u),r=0;r<u;++r)Zl(l[r],this,n);return!0};function Ql(t,e,n,r){var i,s,o;if(ks(n),s=t._events,s===void 0?(s=t._events=Object.create(null),t._eventsCount=0):(s.newListener!==void 0&&(t.emit("newListener",e,n.listener?n.listener:n),s=t._events),o=s[e]),o===void 0)o=s[e]=n,++t._eventsCount;else if(typeof o=="function"?o=s[e]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),i=Jl(t),i>0&&o.length>i&&!o.warned){o.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=o.length,Xy(a)}return t}de.prototype.addListener=function(e,n){return Ql(this,e,n,!1)},de.prototype.on=de.prototype.addListener,de.prototype.prependListener=function(e,n){return Ql(this,e,n,!0)};function Jy(){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 ef(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=Jy.bind(r);return i.listener=n,r.wrapFn=i,i}de.prototype.once=function(e,n){return ks(n),this.on(e,ef(this,e,n)),this},de.prototype.prependOnceListener=function(e,n){return ks(n),this.prependListener(e,ef(this,e,n)),this},de.prototype.removeListener=function(e,n){var r,i,s,o,a;if(ks(n),i=this._events,i===void 0)return this;if(r=i[e],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||n));else if(typeof r!="function"){for(s=-1,o=r.length-1;o>=0;o--)if(r[o]===n||r[o].listener===n){a=r[o].listener,s=o;break}if(s<0)return this;s===0?r.shift():Qy(r,s),r.length===1&&(i[e]=r[0]),i.removeListener!==void 0&&this.emit("removeListener",e,a||n)}return this},de.prototype.off=de.prototype.removeListener,de.prototype.removeAllListeners=function(e){var n,r,i;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[e]),this;if(arguments.length===0){var s=Object.keys(r),o;for(i=0;i<s.length;++i)o=s[i],o!=="removeListener"&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=r[e],typeof n=="function")this.removeListener(e,n);else if(n!==void 0)for(i=n.length-1;i>=0;i--)this.removeListener(e,n[i]);return this};function tf(t,e,n){var r=t._events;if(r===void 0)return[];var i=r[e];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?eb(i):rf(i,i.length)}de.prototype.listeners=function(e){return tf(this,e,!0)},de.prototype.rawListeners=function(e){return tf(this,e,!1)},de.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):nf.call(t,e)},de.prototype.listenerCount=nf;function nf(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}de.prototype.eventNames=function(){return this._eventsCount>0?Ls(this._events):[]};function rf(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function Qy(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function eb(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}function tb(t,e){return new Promise(function(n,r){function i(o){t.removeListener(e,s),r(o)}function s(){typeof t.removeListener=="function"&&t.removeListener("error",i),n([].slice.call(arguments))}sf(t,e,s,{once:!0}),e!=="error"&&nb(t,i,{once:!0})})}function nb(t,e,n){typeof t.on=="function"&&sf(t,"error",e,n)}function sf(t,e,n,r){if(typeof t.on=="function")r.once?t.once(e,n):t.on(e,n);else if(typeof t.addEventListener=="function")t.addEventListener(e,function i(s){r.once&&t.removeEventListener(e,i),n(s)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}const of="wc",rb=2,Da="WalletKit",ib=`${of}@2:${Da}:`,sb={database:":memory:"},ob="request";var K={};/*! *****************************************************************************
1
+ (function(_e,Bn){typeof exports=="object"&&typeof module<"u"?Bn(exports):typeof define=="function"&&define.amd?define(["exports"],Bn):(_e=typeof globalThis<"u"?globalThis:_e||self,Bn(_e["@reown/walletkit"]={}))})(this,function(_e){"use strict";var Bn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ch(t){var e=t.default;if(typeof e=="function"){var n=function(){return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var ut={exports:{}},Ki=typeof Reflect=="object"?Reflect:null,Fh=Ki&&typeof Ki.apply=="function"?Ki.apply:function(e,n,r){return Function.prototype.apply.call(e,n,r)},Yo;Ki&&typeof Ki.ownKeys=="function"?Yo=Ki.ownKeys:Object.getOwnPropertySymbols?Yo=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Yo=function(e){return Object.getOwnPropertyNames(e)};function vm(t){console&&console.warn&&console.warn(t)}var qh=Number.isNaN||function(e){return e!==e};function Ie(){Ie.init.call(this)}ut.exports=Ie,ut.exports.once=Sm,Ie.EventEmitter=Ie,Ie.prototype._events=void 0,Ie.prototype._eventsCount=0,Ie.prototype._maxListeners=void 0;var kh=10;function Xo(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(Ie,"defaultMaxListeners",{enumerable:!0,get:function(){return kh},set:function(t){if(typeof t!="number"||t<0||qh(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");kh=t}}),Ie.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},Ie.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||qh(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Lh(t){return t._maxListeners===void 0?Ie.defaultMaxListeners:t._maxListeners}Ie.prototype.getMaxListeners=function(){return Lh(this)},Ie.prototype.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n.push(arguments[r]);var i=e==="error",s=this._events;if(s!==void 0)i=i&&s.error===void 0;else if(!i)return!1;if(i){var o;if(n.length>0&&(o=n[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var c=s[e];if(c===void 0)return!1;if(typeof c=="function")Fh(c,this,n);else for(var u=c.length,l=Vh(c,u),r=0;r<u;++r)Fh(l[r],this,n);return!0};function Mh(t,e,n,r){var i,s,o;if(Xo(n),s=t._events,s===void 0?(s=t._events=Object.create(null),t._eventsCount=0):(s.newListener!==void 0&&(t.emit("newListener",e,n.listener?n.listener:n),s=t._events),o=s[e]),o===void 0)o=s[e]=n,++t._eventsCount;else if(typeof o=="function"?o=s[e]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),i=Lh(t),i>0&&o.length>i&&!o.warned){o.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=o.length,vm(a)}return t}Ie.prototype.addListener=function(e,n){return Mh(this,e,n,!1)},Ie.prototype.on=Ie.prototype.addListener,Ie.prototype.prependListener=function(e,n){return Mh(this,e,n,!0)};function Em(){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 jh(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=Em.bind(r);return i.listener=n,r.wrapFn=i,i}Ie.prototype.once=function(e,n){return Xo(n),this.on(e,jh(this,e,n)),this},Ie.prototype.prependOnceListener=function(e,n){return Xo(n),this.prependListener(e,jh(this,e,n)),this},Ie.prototype.removeListener=function(e,n){var r,i,s,o,a;if(Xo(n),i=this._events,i===void 0)return this;if(r=i[e],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||n));else if(typeof r!="function"){for(s=-1,o=r.length-1;o>=0;o--)if(r[o]===n||r[o].listener===n){a=r[o].listener,s=o;break}if(s<0)return this;s===0?r.shift():xm(r,s),r.length===1&&(i[e]=r[0]),i.removeListener!==void 0&&this.emit("removeListener",e,a||n)}return this},Ie.prototype.off=Ie.prototype.removeListener,Ie.prototype.removeAllListeners=function(e){var n,r,i;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[e]),this;if(arguments.length===0){var s=Object.keys(r),o;for(i=0;i<s.length;++i)o=s[i],o!=="removeListener"&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=r[e],typeof n=="function")this.removeListener(e,n);else if(n!==void 0)for(i=n.length-1;i>=0;i--)this.removeListener(e,n[i]);return this};function zh(t,e,n){var r=t._events;if(r===void 0)return[];var i=r[e];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?Im(i):Vh(i,i.length)}Ie.prototype.listeners=function(e){return zh(this,e,!0)},Ie.prototype.rawListeners=function(e){return zh(this,e,!1)},Ie.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):Kh.call(t,e)},Ie.prototype.listenerCount=Kh;function Kh(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}Ie.prototype.eventNames=function(){return this._eventsCount>0?Yo(this._events):[]};function Vh(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function xm(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function Im(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}function Sm(t,e){return new Promise(function(n,r){function i(o){t.removeListener(e,s),r(o)}function s(){typeof t.removeListener=="function"&&t.removeListener("error",i),n([].slice.call(arguments))}Hh(t,e,s,{once:!0}),e!=="error"&&Bm(t,i,{once:!0})})}function Bm(t,e,n){typeof t.on=="function"&&Hh(t,"error",e,n)}function Hh(t,e,n,r){if(typeof t.on=="function")r.once?t.once(e,n):t.on(e,n);else if(typeof t.addEventListener=="function")t.addEventListener(e,function i(s){r.once&&t.removeEventListener(e,i),n(s)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}var On={exports:{}};function Om(t){try{return JSON.stringify(t)}catch{return'"[Circular]"'}}var Am=Pm;function Pm(t,e,n){var r=n&&n.stringify||Om,i=1;if(typeof t=="object"&&t!==null){var s=e.length+i;if(s===1)return t;var o=new Array(s);o[0]=r(t);for(var a=1;a<s;a++)o[a]=r(e[a]);return o.join(" ")}if(typeof t!="string")return t;var c=e.length;if(c===0)return t;for(var u="",l=1-i,f=-1,d=t&&t.length||0,h=0;h<d;){if(t.charCodeAt(h)===37&&h+1<d){switch(f=f>-1?f:0,t.charCodeAt(h+1)){case 100:case 102:if(l>=c||e[l]==null)break;f<h&&(u+=t.slice(f,h)),u+=Number(e[l]),f=h+2,h++;break;case 105:if(l>=c||e[l]==null)break;f<h&&(u+=t.slice(f,h)),u+=Math.floor(Number(e[l])),f=h+2,h++;break;case 79:case 111:case 106:if(l>=c||e[l]===void 0)break;f<h&&(u+=t.slice(f,h));var p=typeof e[l];if(p==="string"){u+="'"+e[l]+"'",f=h+2,h++;break}if(p==="function"){u+=e[l].name||"<anonymous>",f=h+2,h++;break}u+=r(e[l]),f=h+2,h++;break;case 115:if(l>=c)break;f<h&&(u+=t.slice(f,h)),u+=String(e[l]),f=h+2,h++;break;case 37:f<h&&(u+=t.slice(f,h)),u+="%",f=h+2,h++,l--;break}++l}++h}return f===-1?t:(f<d&&(u+=t.slice(f)),u)}const Gh=Am;On.exports=zn;const Ns=Vm().console||{},Dm={mapHttpRequest:Jo,mapHttpResponse:Jo,wrapRequestSerializer:Yc,wrapResponseSerializer:Yc,wrapErrorSerializer:Yc,req:Jo,res:Jo,err:Zh,errWithCause:Zh};function gr(t,e){return t==="silent"?1/0:e.levels.values[t]}const Hc=Symbol("pino.logFuncs"),Gc=Symbol("pino.hierarchy"),Rm={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function Wh(t,e){const n={logger:e,parent:t[Gc]};e[Gc]=n}function Tm(t,e,n){const r={};e.forEach(i=>{r[i]=n[i]?n[i]:Ns[i]||Ns[Rm[i]||"log"]||Vi}),t[Hc]=r}function Nm(t,e){return Array.isArray(t)?t.filter(function(n){return n!=="!stdSerializers.err"}):t===!0?Object.keys(e):!1}function zn(t){t=t||{},t.browser=t.browser||{};const e=t.browser.transmit;if(e&&typeof e.send!="function")throw Error("pino: transmit option must have a send function");const n=t.browser.write||Ns;t.browser.write&&(t.browser.asObject=!0);const r=t.serializers||{},i=Nm(t.browser.serialize,r);let s=t.browser.serialize;Array.isArray(t.browser.serialize)&&t.browser.serialize.indexOf("!stdSerializers.err")>-1&&(s=!1);const o=Object.keys(t.customLevels||{}),a=["error","fatal","warn","info","debug","trace"].concat(o);typeof n=="function"&&a.forEach(function(w){n[w]=n}),(t.enabled===!1||t.browser.disabled)&&(t.level="silent");const c=t.level||"info",u=Object.create(n);u.log||(u.log=Vi),Tm(u,a,n),Wh({},u),Object.defineProperty(u,"levelVal",{get:f}),Object.defineProperty(u,"level",{get:d,set:h});const l={transmit:e,serialize:i,asObject:t.browser.asObject,asObjectBindingsOnly:t.browser.asObjectBindingsOnly,formatters:t.browser.formatters,levels:a,timestamp:jm(t),messageKey:t.messageKey||"msg",onChild:t.onChild||Vi};u.levels=Um(t),u.level=c,u.isLevelEnabled=function(w){return this.levels.values[w]?this.levels.values[w]>=this.levels.values[this.level]:!1},u.setMaxListeners=u.getMaxListeners=u.emit=u.addListener=u.on=u.prependListener=u.once=u.prependOnceListener=u.removeListener=u.removeAllListeners=u.listeners=u.listenerCount=u.eventNames=u.write=u.flush=Vi,u.serializers=r,u._serialize=i,u._stdErrSerialize=s,u.child=function(...w){return p.call(this,l,...w)},e&&(u._logEvent=Zc());function f(){return gr(this.level,this)}function d(){return this._level}function h(w){if(w!=="silent"&&!this.levels.values[w])throw Error("unknown level "+w);this._level=w,si(this,l,u,"error"),si(this,l,u,"fatal"),si(this,l,u,"warn"),si(this,l,u,"info"),si(this,l,u,"debug"),si(this,l,u,"trace"),o.forEach(m=>{si(this,l,u,m)})}function p(w,m,P){if(!m)throw new Error("missing bindings for child Pino");P=P||{},i&&m.serializers&&(P.serializers=m.serializers);const T=P.serializers;if(i&&T){var I=Object.assign({},r,T),x=t.browser.serialize===!0?Object.keys(I):i;delete m.serializers,Wc([m],x,I,this._stdErrSerialize)}function S(k){this._childLevel=(k._childLevel|0)+1,this.bindings=m,I&&(this.serializers=I,this._serialize=x),e&&(this._logEvent=Zc([].concat(k._logEvent.bindings,m)))}S.prototype=this;const U=new S(this);return Wh(this,U),U.child=function(...k){return p.call(this,w,...k)},U.level=P.level||this.level,w.onChild(U),U}return u}function Um(t){const e=t.customLevels||{},n=Object.assign({},zn.levels.values,e),r=Object.assign({},zn.levels.labels,Cm(e));return{values:n,labels:r}}function Cm(t){const e={};return Object.keys(t).forEach(function(n){e[t[n]]=n}),e}zn.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},zn.stdSerializers=Dm,zn.stdTimeFunctions=Object.assign({},{nullTime:Yh,epochTime:Xh,unixTime:zm,isoTime:Km});function Fm(t){const e=[];t.bindings&&e.push(t.bindings);let n=t[Gc];for(;n.parent;)n=n.parent,n.logger.bindings&&e.push(n.logger.bindings);return e.reverse()}function si(t,e,n,r){if(Object.defineProperty(t,r,{value:gr(t.level,n)>gr(r,n)?Vi:n[Hc][r],writable:!0,enumerable:!0,configurable:!0}),t[r]===Vi){if(!e.transmit)return;const s=e.transmit.level||t.level,o=gr(s,n);if(gr(r,n)<o)return}t[r]=km(t,e,n,r);const i=Fm(t);i.length!==0&&(t[r]=qm(i,t[r]))}function qm(t,e){return function(){return e.apply(this,[...t,...arguments])}}function km(t,e,n,r){return function(i){return function(){const s=e.timestamp(),o=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===Ns?Ns:this;for(var c=0;c<o.length;c++)o[c]=arguments[c];var u=!1;if(e.serialize&&(Wc(o,this._serialize,this.serializers,this._stdErrSerialize),u=!0),e.asObject||e.formatters?i.call(a,...Lm(this,r,o,s,e)):i.apply(a,o),e.transmit){const l=e.transmit.level||t._level,f=gr(l,n),d=gr(r,n);if(d<f)return;Mm(this,{ts:s,methodLevel:r,methodValue:d,transmitLevel:l,transmitValue:n.levels.values[e.transmit.level||t._level],send:e.transmit.send,val:gr(t._level,n)},o,u)}}}(t[Hc][r])}function Lm(t,e,n,r,i){const{level:s,log:o=f=>f}=i.formatters||{},a=n.slice();let c=a[0];const u={};let l=(t._childLevel|0)+1;if(l<1&&(l=1),r&&(u.time=r),s){const f=s(e,t.levels.values[e]);Object.assign(u,f)}else u.level=t.levels.values[e];if(i.asObjectBindingsOnly){if(c!==null&&typeof c=="object")for(;l--&&typeof a[0]=="object";)Object.assign(u,a.shift());return[o(u),...a]}else{if(c!==null&&typeof c=="object"){for(;l--&&typeof a[0]=="object";)Object.assign(u,a.shift());c=a.length?Gh(a.shift(),a):void 0}else typeof c=="string"&&(c=Gh(a.shift(),a));return c!==void 0&&(u[i.messageKey]=c),[o(u)]}}function Wc(t,e,n,r){for(const i in t)if(r&&t[i]instanceof Error)t[i]=zn.stdSerializers.err(t[i]);else if(typeof t[i]=="object"&&!Array.isArray(t[i])&&e)for(const s in t[i])e.indexOf(s)>-1&&s in n&&(t[i][s]=n[s](t[i][s]))}function Mm(t,e,n,r=!1){const i=e.send,s=e.ts,o=e.methodLevel,a=e.methodValue,c=e.val,u=t._logEvent.bindings;r||Wc(n,t._serialize||Object.keys(t.serializers),t.serializers,t._stdErrSerialize===void 0?!0:t._stdErrSerialize),t._logEvent.ts=s,t._logEvent.messages=n.filter(function(l){return u.indexOf(l)===-1}),t._logEvent.level.label=o,t._logEvent.level.value=a,i(o,t._logEvent,c),t._logEvent=Zc(u)}function Zc(t){return{ts:0,messages:[],bindings:t||[],level:{label:"",value:0}}}function Zh(t){const e={type:t.constructor.name,msg:t.message,stack:t.stack};for(const n in t)e[n]===void 0&&(e[n]=t[n]);return e}function jm(t){return typeof t.timestamp=="function"?t.timestamp:t.timestamp===!1?Yh:Xh}function Jo(){return{}}function Yc(t){return t}function Vi(){}function Yh(){return!1}function Xh(){return Date.now()}function zm(){return Math.round(Date.now()/1e3)}function Km(){return new Date(Date.now()).toISOString()}function Vm(){function t(e){return typeof e<"u"&&e}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return t(self)||t(window)||t(this)||{}}}On.exports.default=zn;var Jh=On.exports.pino=zn;const Hm={level:"info"},Qo="custom_context",Xc=1e3*1024;var Gm=Object.defineProperty,Wm=(t,e,n)=>e in t?Gm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,br=(t,e,n)=>Wm(t,typeof e!="symbol"?e+"":e,n);class Zm{constructor(e){br(this,"nodeValue"),br(this,"sizeInBytes"),br(this,"next"),this.nodeValue=e,this.sizeInBytes=new TextEncoder().encode(this.nodeValue).length,this.next=null}get value(){return this.nodeValue}get size(){return this.sizeInBytes}}class Qh{constructor(e){br(this,"lengthInNodes"),br(this,"sizeInBytes"),br(this,"head"),br(this,"tail"),br(this,"maxSizeInBytes"),this.head=null,this.tail=null,this.lengthInNodes=0,this.maxSizeInBytes=e,this.sizeInBytes=0}append(e){const n=new Zm(e);if(n.size>this.maxSizeInBytes)throw new Error(`[LinkedList] Value too big to insert into list: ${e} with size ${n.size}`);for(;this.size+n.size>this.maxSizeInBytes;)this.shift();this.head?(this.tail&&(this.tail.next=n),this.tail=n):(this.head=n,this.tail=n),this.lengthInNodes++,this.sizeInBytes+=n.size}shift(){if(!this.head)return;const e=this.head;this.head=this.head.next,this.head||(this.tail=null),this.lengthInNodes--,this.sizeInBytes-=e.size}toArray(){const e=[];let n=this.head;for(;n!==null;)e.push(n.value),n=n.next;return e}get length(){return this.lengthInNodes}get size(){return this.sizeInBytes}toOrderedArray(){return Array.from(this)}[Symbol.iterator](){let e=this.head;return{next:()=>{if(!e)return{done:!0,value:null};const n=e.value;return e=e.next,{done:!1,value:n}}}}}const Ym=t=>JSON.stringify(t,(e,n)=>typeof n=="bigint"?n.toString()+"n":n);function _h(t){return typeof t=="string"?t:Ym(t)||""}var Xm=Object.defineProperty,Jm=(t,e,n)=>e in t?Xm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,_o=(t,e,n)=>Jm(t,typeof e!="symbol"?e+"":e,n);class $h{constructor(e,n=Xc){_o(this,"logs"),_o(this,"level"),_o(this,"levelValue"),_o(this,"MAX_LOG_SIZE_IN_BYTES"),this.level=e??"error",this.levelValue=On.exports.levels.values[this.level],this.MAX_LOG_SIZE_IN_BYTES=n,this.logs=new Qh(this.MAX_LOG_SIZE_IN_BYTES)}forwardToConsole(e,n){n===On.exports.levels.values.error?console.error(e):n===On.exports.levels.values.warn?console.warn(e):n===On.exports.levels.values.debug?console.debug(e):n===On.exports.levels.values.trace?console.trace(e):console.log(e)}appendToLogs(e){this.logs.append(_h({timestamp:new Date().toISOString(),log:e}));const n=typeof e=="string"?JSON.parse(e).level:e.level;n>=this.levelValue&&this.forwardToConsole(e,n)}getLogs(){return this.logs}clearLogs(){this.logs=new Qh(this.MAX_LOG_SIZE_IN_BYTES)}getLogArray(){return Array.from(this.logs)}logsToBlob(e){const n=this.getLogArray();return n.push(_h({extraMetadata:e})),new Blob(n,{type:"application/json"})}}var Qm=Object.defineProperty,_m=(t,e,n)=>e in t?Qm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,$m=(t,e,n)=>_m(t,typeof e!="symbol"?e+"":e,n);class e2{constructor(e,n=Xc){$m(this,"baseChunkLogger"),this.baseChunkLogger=new $h(e,n)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}downloadLogsBlobInBrowser(e){const n=URL.createObjectURL(this.logsToBlob(e)),r=document.createElement("a");r.href=n,r.download=`walletconnect-logs-${new Date().toISOString()}.txt`,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(n)}}var t2=Object.defineProperty,n2=(t,e,n)=>e in t?t2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,r2=(t,e,n)=>n2(t,typeof e!="symbol"?e+"":e,n);class i2{constructor(e,n=Xc){r2(this,"baseChunkLogger"),this.baseChunkLogger=new $h(e,n)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}}var s2=Object.defineProperty,o2=Object.defineProperties,a2=Object.getOwnPropertyDescriptors,ed=Object.getOwnPropertySymbols,c2=Object.prototype.hasOwnProperty,u2=Object.prototype.propertyIsEnumerable,td=(t,e,n)=>e in t?s2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,wr=(t,e)=>{for(var n in e||(e={}))c2.call(e,n)&&td(t,n,e[n]);if(ed)for(var n of ed(e))u2.call(e,n)&&td(t,n,e[n]);return t},yr=(t,e)=>o2(t,a2(e));function Jc(t){return yr(wr({},t),{level:t?.level||Hm.level})}function l2(t,e,n=Qo){return t[n]=e,t}function Rt(t,e=Qo){return t[e]||""}function f2(t,e,n=Qo){const r=Rt(t,n);return r.trim()?`${r}/${e}`:e}function Gt(t,e,n=Qo){const r=f2(t,e,n),i=t.child({context:r});return l2(i,r,n)}function h2(t){var e,n;const r=new e2((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:On.exports(yr(wr({},t.opts),{level:"trace",browser:yr(wr({},(n=t.opts)==null?void 0:n.browser),{write:i=>r.write(i)})})),chunkLoggerController:r}}function d2(t){var e,n;const r=new i2((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:On.exports(yr(wr({},t.opts),{level:"trace",browser:yr(wr({},(n=t.opts)==null?void 0:n.browser),{write:i=>r.write(i)})}),r),chunkLoggerController:r}}function nd(t){var e;if(typeof t.loggerOverride<"u"&&typeof t.loggerOverride!="string")return{logger:t.loggerOverride,chunkLoggerController:null};const n=yr(wr({},t.opts),{level:typeof t.loggerOverride=="string"?t.loggerOverride:(e=t.opts)==null?void 0:e.level});return typeof window<"u"?h2(yr(wr({},t),{opts:n})):d2(yr(wr({},t),{opts:n}))}var rd=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,s;r<i;r++)(s||!(r in e))&&(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))},p2=function(){function t(e,n,r){this.name=e,this.version=n,this.os=r,this.type="browser"}return t}(),g2=function(){function t(e){this.version=e,this.type="node",this.name="node",this.os=process.platform}return t}(),b2=function(){function t(e,n,r,i){this.name=e,this.version=n,this.os=r,this.bot=i,this.type="bot-device"}return t}(),w2=function(){function t(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}return t}(),y2=function(){function t(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}return t}(),m2=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,v2=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,id=3,E2=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",m2]],sd=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function x2(t){return t?od(t):typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new y2:typeof navigator<"u"?od(navigator.userAgent):B2()}function I2(t){return t!==""&&E2.reduce(function(e,n){var r=n[0],i=n[1];if(e)return e;var s=i.exec(t);return!!s&&[r,s]},!1)}function od(t){var e=I2(t);if(!e)return null;var n=e[0],r=e[1];if(n==="searchbot")return new w2;var i=r[1]&&r[1].split(".").join("_").split("_").slice(0,3);i?i.length<id&&(i=rd(rd([],i,!0),O2(id-i.length),!0)):i=[];var s=i.join("."),o=S2(t),a=v2.exec(t);return a&&a[1]?new b2(n,s,o,a[1]):new p2(n,s,o)}function S2(t){for(var e=0,n=sd.length;e<n;e++){var r=sd[e],i=r[0],s=r[1],o=s.exec(t);if(o)return i}return null}function B2(){var t=typeof process<"u"&&process.version;return t?new g2(process.version.slice(1)):null}function O2(t){for(var e=[],n=0;n<t;n++)e.push("0");return e}var J={};/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -11,20 +11,22 @@
11
11
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
12
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
13
  PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */var $a=function(t,e){return $a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])},$a(t,e)};function ab(t,e){$a(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var Pa=function(){return Pa=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Pa.apply(this,arguments)};function cb(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function ub(t,e,n,r){var i=arguments.length,s=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function lb(t,e){return function(n,r){e(n,r,t)}}function fb(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function hb(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(l){try{u(r.next(l))}catch(f){o(f)}}function c(l){try{u(r.throw(l))}catch(f){o(f)}}function u(l){l.done?s(l.value):i(l.value).then(a,c)}u((r=r.apply(t,e||[])).next())})}function db(t,e){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(u){return function(l){return c([u,l])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){n.label=u[1];break}if(u[0]===6&&n.label<s[1]){n.label=s[1],s=u;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(u);break}s[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(l){u=[6,l],i=0}finally{r=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function pb(t,e,n,r){r===void 0&&(r=n),t[r]=e[n]}function gb(t,e){for(var n in t)n!=="default"&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ta(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function af(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function yb(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(af(arguments[e]));return t}function bb(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,i++)r[i]=s[o];return r}function Ci(t){return this instanceof Ci?(this.v=t,this):new Ci(t)}function wb(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){r[d]&&(i[d]=function(h){return new Promise(function(p,y){s.push([d,h,p,y])>1||a(d,h)})})}function a(d,h){try{c(r[d](h))}catch(p){f(s[0][3],p)}}function c(d){d.value instanceof Ci?Promise.resolve(d.value.v).then(u,l):f(s[0][2],d)}function u(d){a("next",d)}function l(d){a("throw",d)}function f(d,h){d(h),s.shift(),s.length&&a(s[0][0],s[0][1])}}function mb(t){var e,n;return e={},r("next"),r("throw",function(i){throw i}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(i,s){e[i]=t[i]?function(o){return(n=!n)?{value:Ci(t[i](o)),done:i==="return"}:s?s(o):o}:s}}function vb(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof Ta=="function"?Ta(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=t[s]&&function(o){return new Promise(function(a,c){o=t[s](o),i(a,c,o.done,o.value)})}}function i(s,o,a,c){Promise.resolve(c).then(function(u){s({value:u,done:a})},o)}}function Eb(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function xb(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function _b(t){return t&&t.__esModule?t:{default:t}}function Sb(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function Ib(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}var Ab=Object.freeze({__proto__:null,__extends:ab,get __assign(){return Pa},__rest:cb,__decorate:ub,__param:lb,__metadata:fb,__awaiter:hb,__generator:db,__createBinding:pb,__exportStar:gb,__values:Ta,__read:af,__spread:yb,__spreadArrays:bb,__await:Ci,__asyncGenerator:wb,__asyncDelegator:mb,__asyncValues:vb,__makeTemplateObject:Eb,__importStar:xb,__importDefault:_b,__classPrivateFieldGet:Sb,__classPrivateFieldSet:Ib}),qs=Wl(Ab),Ra={},Ui={},cf;function Bb(){if(cf)return Ui;cf=1,Object.defineProperty(Ui,"__esModule",{value:!0}),Ui.delay=void 0;function t(e){return new Promise(n=>{setTimeout(()=>{n(!0)},e)})}return Ui.delay=t,Ui}var xr={},Na={},_r={},uf;function Ob(){return uf||(uf=1,Object.defineProperty(_r,"__esModule",{value:!0}),_r.ONE_THOUSAND=_r.ONE_HUNDRED=void 0,_r.ONE_HUNDRED=100,_r.ONE_THOUSAND=1e3),_r}var Ca={},lf;function Db(){return lf||(lf=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ONE_YEAR=t.FOUR_WEEKS=t.THREE_WEEKS=t.TWO_WEEKS=t.ONE_WEEK=t.THIRTY_DAYS=t.SEVEN_DAYS=t.FIVE_DAYS=t.THREE_DAYS=t.ONE_DAY=t.TWENTY_FOUR_HOURS=t.TWELVE_HOURS=t.SIX_HOURS=t.THREE_HOURS=t.ONE_HOUR=t.SIXTY_MINUTES=t.THIRTY_MINUTES=t.TEN_MINUTES=t.FIVE_MINUTES=t.ONE_MINUTE=t.SIXTY_SECONDS=t.THIRTY_SECONDS=t.TEN_SECONDS=t.FIVE_SECONDS=t.ONE_SECOND=void 0,t.ONE_SECOND=1,t.FIVE_SECONDS=5,t.TEN_SECONDS=10,t.THIRTY_SECONDS=30,t.SIXTY_SECONDS=60,t.ONE_MINUTE=t.SIXTY_SECONDS,t.FIVE_MINUTES=t.ONE_MINUTE*5,t.TEN_MINUTES=t.ONE_MINUTE*10,t.THIRTY_MINUTES=t.ONE_MINUTE*30,t.SIXTY_MINUTES=t.ONE_MINUTE*60,t.ONE_HOUR=t.SIXTY_MINUTES,t.THREE_HOURS=t.ONE_HOUR*3,t.SIX_HOURS=t.ONE_HOUR*6,t.TWELVE_HOURS=t.ONE_HOUR*12,t.TWENTY_FOUR_HOURS=t.ONE_HOUR*24,t.ONE_DAY=t.TWENTY_FOUR_HOURS,t.THREE_DAYS=t.ONE_DAY*3,t.FIVE_DAYS=t.ONE_DAY*5,t.SEVEN_DAYS=t.ONE_DAY*7,t.THIRTY_DAYS=t.ONE_DAY*30,t.ONE_WEEK=t.SEVEN_DAYS,t.TWO_WEEKS=t.ONE_WEEK*2,t.THREE_WEEKS=t.ONE_WEEK*3,t.FOUR_WEEKS=t.ONE_WEEK*4,t.ONE_YEAR=t.ONE_DAY*365}(Ca)),Ca}var ff;function hf(){return ff||(ff=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=qs;e.__exportStar(Ob(),t),e.__exportStar(Db(),t)}(Na)),Na}var df;function $b(){if(df)return xr;df=1,Object.defineProperty(xr,"__esModule",{value:!0}),xr.fromMiliseconds=xr.toMiliseconds=void 0;const t=hf();function e(r){return r*t.ONE_THOUSAND}xr.toMiliseconds=e;function n(r){return Math.floor(r/t.ONE_THOUSAND)}return xr.fromMiliseconds=n,xr}var pf;function Pb(){return pf||(pf=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=qs;e.__exportStar(Bb(),t),e.__exportStar($b(),t)}(Ra)),Ra}var ti={},gf;function Tb(){if(gf)return ti;gf=1,Object.defineProperty(ti,"__esModule",{value:!0}),ti.Watch=void 0;class t{constructor(){this.timestamps=new Map}start(n){if(this.timestamps.has(n))throw new Error(`Watch already started for label: ${n}`);this.timestamps.set(n,{started:Date.now()})}stop(n){const r=this.get(n);if(typeof r.elapsed<"u")throw new Error(`Watch already stopped for label: ${n}`);const i=Date.now()-r.started;this.timestamps.set(n,{started:r.started,elapsed:i})}get(n){const r=this.timestamps.get(n);if(typeof r>"u")throw new Error(`No timestamp found for label: ${n}`);return r}elapsed(n){const r=this.get(n);return r.elapsed||Date.now()-r.started}}return ti.Watch=t,ti.default=t,ti}var Ua={},Fi={},yf;function Rb(){if(yf)return Fi;yf=1,Object.defineProperty(Fi,"__esModule",{value:!0}),Fi.IWatch=void 0;class t{}return Fi.IWatch=t,Fi}var bf;function Nb(){return bf||(bf=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),qs.__exportStar(Rb(),t)}(Ua)),Ua}(function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=qs;e.__exportStar(Pb(),t),e.__exportStar(Tb(),t),e.__exportStar(Nb(),t),e.__exportStar(hf(),t)})(K);class Sr{}class Cb extends Sr{constructor(e){super()}}const wf=K.FIVE_SECONDS,Ir={pulse:"heartbeat_pulse"};class Fa extends Cb{constructor(e){super(e),this.events=new Ke.exports.EventEmitter,this.interval=wf,this.interval=e?.interval||wf}static async init(e){const n=new Fa(e);return await n.init(),n}async init(){await this.initialize()}stop(){clearInterval(this.intervalRef)}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async initialize(){this.intervalRef=setInterval(()=>this.pulse(),K.toMiliseconds(this.interval))}pulse(){this.events.emit(Ir.pulse)}}const Ub=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Fb=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Lb=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function kb(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){qb(t);return}return e}function qb(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function Ms(t,e={}){if(typeof t!="string")return t;const n=t.trim();if(t[0]==='"'&&t.endsWith('"')&&!t.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!Lb.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(Ub.test(t)||Fb.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,kb)}return JSON.parse(t)}catch(r){if(e.strict)throw r;return t}}function Mb(t){return!t||typeof t.then!="function"?Promise.resolve(t):t}function Te(t,...e){try{return Mb(t(...e))}catch(n){return Promise.reject(n)}}function jb(t){const e=typeof t;return t===null||e!=="object"&&e!=="function"}function zb(t){const e=Object.getPrototypeOf(t);return!e||e.isPrototypeOf(Object)}function js(t){if(jb(t))return String(t);if(zb(t)||Array.isArray(t))return JSON.stringify(t);if(typeof t.toJSON=="function")return js(t.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function mf(){if(typeof Buffer>"u")throw new TypeError("[unstorage] Buffer is not supported!")}const La="base64:";function Hb(t){if(typeof t=="string")return t;mf();const e=Buffer.from(t).toString("base64");return La+e}function Vb(t){return typeof t!="string"||!t.startsWith(La)?t:(mf(),Buffer.from(t.slice(La.length),"base64"))}function lt(t){return t?t.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function Kb(...t){return lt(t.join(":"))}function zs(t){return t=lt(t),t?t+":":""}function u$(t){return t}const Gb="memory",Wb=()=>{const t=new Map;return{name:Gb,getInstance:()=>t,hasItem(e){return t.has(e)},getItem(e){return t.get(e)??null},getItemRaw(e){return t.get(e)??null},setItem(e,n){t.set(e,n)},setItemRaw(e,n){t.set(e,n)},removeItem(e){t.delete(e)},getKeys(){return[...t.keys()]},clear(){t.clear()},dispose(){t.clear()}}};function Zb(t={}){const e={mounts:{"":t.driver||Wb()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=u=>{for(const l of e.mountpoints)if(u.startsWith(l))return{base:l,relativeKey:u.slice(l.length),driver:e.mounts[l]};return{base:"",relativeKey:u,driver:e.mounts[""]}},r=(u,l)=>e.mountpoints.filter(f=>f.startsWith(u)||l&&u.startsWith(f)).map(f=>({relativeBase:u.length>f.length?u.slice(f.length):void 0,mountpoint:f,driver:e.mounts[f]})),i=(u,l)=>{if(e.watching){l=lt(l);for(const f of e.watchListeners)f(u,l)}},s=async()=>{if(!e.watching){e.watching=!0;for(const u in e.mounts)e.unwatch[u]=await vf(e.mounts[u],i,u)}},o=async()=>{if(e.watching){for(const u in e.unwatch)await e.unwatch[u]();e.unwatch={},e.watching=!1}},a=(u,l,f)=>{const d=new Map,h=p=>{let y=d.get(p.base);return y||(y={driver:p.driver,base:p.base,items:[]},d.set(p.base,y)),y};for(const p of u){const y=typeof p=="string",m=lt(y?p:p.key),B=y?void 0:p.value,$=y||!p.options?l:{...l,...p.options},_=n(m);h(_).items.push({key:m,value:B,relativeKey:_.relativeKey,options:$})}return Promise.all([...d.values()].map(p=>f(p))).then(p=>p.flat())},c={hasItem(u,l={}){u=lt(u);const{relativeKey:f,driver:d}=n(u);return Te(d.hasItem,f,l)},getItem(u,l={}){u=lt(u);const{relativeKey:f,driver:d}=n(u);return Te(d.getItem,f,l).then(h=>Ms(h))},getItems(u,l){return a(u,l,f=>f.driver.getItems?Te(f.driver.getItems,f.items.map(d=>({key:d.relativeKey,options:d.options})),l).then(d=>d.map(h=>({key:Kb(f.base,h.key),value:Ms(h.value)}))):Promise.all(f.items.map(d=>Te(f.driver.getItem,d.relativeKey,d.options).then(h=>({key:d.key,value:Ms(h)})))))},getItemRaw(u,l={}){u=lt(u);const{relativeKey:f,driver:d}=n(u);return d.getItemRaw?Te(d.getItemRaw,f,l):Te(d.getItem,f,l).then(h=>Vb(h))},async setItem(u,l,f={}){if(l===void 0)return c.removeItem(u);u=lt(u);const{relativeKey:d,driver:h}=n(u);h.setItem&&(await Te(h.setItem,d,js(l),f),h.watch||i("update",u))},async setItems(u,l){await a(u,l,async f=>{if(f.driver.setItems)return Te(f.driver.setItems,f.items.map(d=>({key:d.relativeKey,value:js(d.value),options:d.options})),l);f.driver.setItem&&await Promise.all(f.items.map(d=>Te(f.driver.setItem,d.relativeKey,js(d.value),d.options)))})},async setItemRaw(u,l,f={}){if(l===void 0)return c.removeItem(u,f);u=lt(u);const{relativeKey:d,driver:h}=n(u);if(h.setItemRaw)await Te(h.setItemRaw,d,l,f);else if(h.setItem)await Te(h.setItem,d,Hb(l),f);else return;h.watch||i("update",u)},async removeItem(u,l={}){typeof l=="boolean"&&(l={removeMeta:l}),u=lt(u);const{relativeKey:f,driver:d}=n(u);d.removeItem&&(await Te(d.removeItem,f,l),(l.removeMeta||l.removeMata)&&await Te(d.removeItem,f+"$",l),d.watch||i("remove",u))},async getMeta(u,l={}){typeof l=="boolean"&&(l={nativeOnly:l}),u=lt(u);const{relativeKey:f,driver:d}=n(u),h=Object.create(null);if(d.getMeta&&Object.assign(h,await Te(d.getMeta,f,l)),!l.nativeOnly){const p=await Te(d.getItem,f+"$",l).then(y=>Ms(y));p&&typeof p=="object"&&(typeof p.atime=="string"&&(p.atime=new Date(p.atime)),typeof p.mtime=="string"&&(p.mtime=new Date(p.mtime)),Object.assign(h,p))}return h},setMeta(u,l,f={}){return this.setItem(u+"$",l,f)},removeMeta(u,l={}){return this.removeItem(u+"$",l)},async getKeys(u,l={}){u=zs(u);const f=r(u,!0);let d=[];const h=[];for(const p of f){const y=await Te(p.driver.getKeys,p.relativeBase,l);for(const m of y){const B=p.mountpoint+lt(m);d.some($=>B.startsWith($))||h.push(B)}d=[p.mountpoint,...d.filter(m=>!m.startsWith(p.mountpoint))]}return u?h.filter(p=>p.startsWith(u)&&p[p.length-1]!=="$"):h.filter(p=>p[p.length-1]!=="$")},async clear(u,l={}){u=zs(u),await Promise.all(r(u,!1).map(async f=>{if(f.driver.clear)return Te(f.driver.clear,f.relativeBase,l);if(f.driver.removeItem){const d=await f.driver.getKeys(f.relativeBase||"",l);return Promise.all(d.map(h=>f.driver.removeItem(h,l)))}}))},async dispose(){await Promise.all(Object.values(e.mounts).map(u=>Ef(u)))},async watch(u){return await s(),e.watchListeners.push(u),async()=>{e.watchListeners=e.watchListeners.filter(l=>l!==u),e.watchListeners.length===0&&await o()}},async unwatch(){e.watchListeners=[],await o()},mount(u,l){if(u=zs(u),u&&e.mounts[u])throw new Error(`already mounted at ${u}`);return u&&(e.mountpoints.push(u),e.mountpoints.sort((f,d)=>d.length-f.length)),e.mounts[u]=l,e.watching&&Promise.resolve(vf(l,i,u)).then(f=>{e.unwatch[u]=f}).catch(console.error),c},async unmount(u,l=!0){u=zs(u),!(!u||!e.mounts[u])&&(e.watching&&u in e.unwatch&&(e.unwatch[u](),delete e.unwatch[u]),l&&await Ef(e.mounts[u]),e.mountpoints=e.mountpoints.filter(f=>f!==u),delete e.mounts[u])},getMount(u=""){u=lt(u)+":";const l=n(u);return{driver:l.driver,base:l.base}},getMounts(u="",l={}){return u=lt(u),r(u,l.parents).map(d=>({driver:d.driver,base:d.mountpoint}))},keys:(u,l={})=>c.getKeys(u,l),get:(u,l={})=>c.getItem(u,l),set:(u,l,f={})=>c.setItem(u,l,f),has:(u,l={})=>c.hasItem(u,l),del:(u,l={})=>c.removeItem(u,l),remove:(u,l={})=>c.removeItem(u,l)};return c}function vf(t,e,n){return t.watch?t.watch((r,i)=>e(r,n+i)):()=>{}}async function Ef(t){typeof t.dispose=="function"&&await Te(t.dispose)}function Ar(t){return new Promise((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)})}function xf(t,e){const n=indexedDB.open(t);n.onupgradeneeded=()=>n.result.createObjectStore(e);const r=Ar(n);return(i,s)=>r.then(o=>s(o.transaction(e,i).objectStore(e)))}let ka;function Li(){return ka||(ka=xf("keyval-store","keyval")),ka}function _f(t,e=Li()){return e("readonly",n=>Ar(n.get(t)))}function Yb(t,e,n=Li()){return n("readwrite",r=>(r.put(e,t),Ar(r.transaction)))}function Xb(t,e=Li()){return e("readwrite",n=>(n.delete(t),Ar(n.transaction)))}function Jb(t=Li()){return t("readwrite",e=>(e.clear(),Ar(e.transaction)))}function Qb(t,e){return t.openCursor().onsuccess=function(){this.result&&(e(this.result),this.result.continue())},Ar(t.transaction)}function ew(t=Li()){return t("readonly",e=>{if(e.getAllKeys)return Ar(e.getAllKeys());const n=[];return Qb(e,r=>n.push(r.key)).then(()=>n)})}const tw=t=>JSON.stringify(t,(e,n)=>typeof n=="bigint"?n.toString()+"n":n),nw=t=>{const e=/([\[:])?(\d{17,}|(?:[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,n=t.replace(e,'$1"$2n"$3');return JSON.parse(n,(r,i)=>typeof i=="string"&&i.match(/^\d+n$/)?BigInt(i.substring(0,i.length-1)):i)};function ni(t){if(typeof t!="string")throw new Error(`Cannot safe json parse value of type ${typeof t}`);try{return nw(t)}catch{return t}}function Br(t){return typeof t=="string"?t:tw(t)||""}const rw="idb-keyval";var iw=(t={})=>{const e=t.base&&t.base.length>0?`${t.base}:`:"",n=i=>e+i;let r;return t.dbName&&t.storeName&&(r=xf(t.dbName,t.storeName)),{name:rw,options:t,async hasItem(i){return!(typeof await _f(n(i),r)>"u")},async getItem(i){return await _f(n(i),r)??null},setItem(i,s){return Yb(n(i),s,r)},removeItem(i){return Xb(n(i),r)},getKeys(){return ew(r)},clear(){return Jb(r)}}};const sw="WALLET_CONNECT_V2_INDEXED_DB",ow="keyvaluestorage";class aw{constructor(){this.indexedDb=Zb({driver:iw({dbName:sw,storeName:ow})})}async getKeys(){return this.indexedDb.getKeys()}async getEntries(){return(await this.indexedDb.getItems(await this.indexedDb.getKeys())).map(e=>[e.key,e.value])}async getItem(e){const n=await this.indexedDb.getItem(e);if(n!==null)return n}async setItem(e,n){await this.indexedDb.setItem(e,Br(n))}async removeItem(e){await this.indexedDb.removeItem(e)}}var qa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Hs={exports:{}};(function(){let t;function e(){}t=e,t.prototype.getItem=function(n){return this.hasOwnProperty(n)?String(this[n]):null},t.prototype.setItem=function(n,r){this[n]=String(r)},t.prototype.removeItem=function(n){delete this[n]},t.prototype.clear=function(){const n=this;Object.keys(n).forEach(function(r){n[r]=void 0,delete n[r]})},t.prototype.key=function(n){return n=n||0,Object.keys(this)[n]},t.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof qa<"u"&&qa.localStorage?Hs.exports=qa.localStorage:typeof window<"u"&&window.localStorage?Hs.exports=window.localStorage:Hs.exports=new e})();function cw(t){var e;return[t[0],ni((e=t[1])!=null?e:"")]}class uw{constructor(){this.localStorage=Hs.exports}async getKeys(){return Object.keys(this.localStorage)}async getEntries(){return Object.entries(this.localStorage).map(cw)}async getItem(e){const n=this.localStorage.getItem(e);if(n!==null)return ni(n)}async setItem(e,n){this.localStorage.setItem(e,Br(n))}async removeItem(e){this.localStorage.removeItem(e)}}const lw="wc_storage_version",Sf=1,fw=async(t,e,n)=>{const r=lw,i=await e.getItem(r);if(i&&i>=Sf){n(e);return}const s=await t.getKeys();if(!s.length){n(e);return}const o=[];for(;s.length;){const a=s.shift();if(!a)continue;const c=a.toLowerCase();if(c.includes("wc@")||c.includes("walletconnect")||c.includes("wc_")||c.includes("wallet_connect")){const u=await t.getItem(a);await e.setItem(a,u),o.push(a)}}await e.setItem(r,Sf),n(e),hw(t,o)},hw=async(t,e)=>{e.length&&e.forEach(async n=>{await t.removeItem(n)})};class dw{constructor(){this.initialized=!1,this.setInitialized=n=>{this.storage=n,this.initialized=!0};const e=new uw;this.storage=e;try{const n=new aw;fw(e,n,this.setInitialized)}catch{this.initialized=!0}}async getKeys(){return await this.initialize(),this.storage.getKeys()}async getEntries(){return await this.initialize(),this.storage.getEntries()}async getItem(e){return await this.initialize(),this.storage.getItem(e)}async setItem(e,n){return await this.initialize(),this.storage.setItem(e,n)}async removeItem(e){return await this.initialize(),this.storage.removeItem(e)}async initialize(){this.initialized||await new Promise(e=>{const n=setInterval(()=>{this.initialized&&(clearInterval(n),e())},20)})}}var Qt={exports:{}};function pw(t){try{return JSON.stringify(t)}catch{return'"[Circular]"'}}var gw=yw;function yw(t,e,n){var r=n&&n.stringify||pw,i=1;if(typeof t=="object"&&t!==null){var s=e.length+i;if(s===1)return t;var o=new Array(s);o[0]=r(t);for(var a=1;a<s;a++)o[a]=r(e[a]);return o.join(" ")}if(typeof t!="string")return t;var c=e.length;if(c===0)return t;for(var u="",l=1-i,f=-1,d=t&&t.length||0,h=0;h<d;){if(t.charCodeAt(h)===37&&h+1<d){switch(f=f>-1?f:0,t.charCodeAt(h+1)){case 100:case 102:if(l>=c||e[l]==null)break;f<h&&(u+=t.slice(f,h)),u+=Number(e[l]),f=h+2,h++;break;case 105:if(l>=c||e[l]==null)break;f<h&&(u+=t.slice(f,h)),u+=Math.floor(Number(e[l])),f=h+2,h++;break;case 79:case 111:case 106:if(l>=c||e[l]===void 0)break;f<h&&(u+=t.slice(f,h));var p=typeof e[l];if(p==="string"){u+="'"+e[l]+"'",f=h+2,h++;break}if(p==="function"){u+=e[l].name||"<anonymous>",f=h+2,h++;break}u+=r(e[l]),f=h+2,h++;break;case 115:if(l>=c)break;f<h&&(u+=t.slice(f,h)),u+=String(e[l]),f=h+2,h++;break;case 37:f<h&&(u+=t.slice(f,h)),u+="%",f=h+2,h++,l--;break}++l}++h}return f===-1?t:(f<d&&(u+=t.slice(f)),u)}const If=gw;Qt.exports=dn;const ki=Pw().console||{},bw={mapHttpRequest:Vs,mapHttpResponse:Vs,wrapRequestSerializer:Va,wrapResponseSerializer:Va,wrapErrorSerializer:Va,req:Vs,res:Vs,err:Bf,errWithCause:Bf};function kn(t,e){return t==="silent"?1/0:e.levels.values[t]}const Ma=Symbol("pino.logFuncs"),ja=Symbol("pino.hierarchy"),ww={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function Af(t,e){const n={logger:e,parent:t[ja]};e[ja]=n}function mw(t,e,n){const r={};e.forEach(i=>{r[i]=n[i]?n[i]:ki[i]||ki[ww[i]||"log"]||ri}),t[Ma]=r}function vw(t,e){return Array.isArray(t)?t.filter(function(r){return r!=="!stdSerializers.err"}):t===!0?Object.keys(e):!1}function dn(t){t=t||{},t.browser=t.browser||{};const e=t.browser.transmit;if(e&&typeof e.send!="function")throw Error("pino: transmit option must have a send function");const n=t.browser.write||ki;t.browser.write&&(t.browser.asObject=!0);const r=t.serializers||{},i=vw(t.browser.serialize,r);let s=t.browser.serialize;Array.isArray(t.browser.serialize)&&t.browser.serialize.indexOf("!stdSerializers.err")>-1&&(s=!1);const o=Object.keys(t.customLevels||{}),a=["error","fatal","warn","info","debug","trace"].concat(o);typeof n=="function"&&a.forEach(function(y){n[y]=n}),(t.enabled===!1||t.browser.disabled)&&(t.level="silent");const c=t.level||"info",u=Object.create(n);u.log||(u.log=ri),mw(u,a,n),Af({},u),Object.defineProperty(u,"levelVal",{get:f}),Object.defineProperty(u,"level",{get:d,set:h});const l={transmit:e,serialize:i,asObject:t.browser.asObject,asObjectBindingsOnly:t.browser.asObjectBindingsOnly,formatters:t.browser.formatters,levels:a,timestamp:Ow(t),messageKey:t.messageKey||"msg",onChild:t.onChild||ri};u.levels=Ew(t),u.level=c,u.isLevelEnabled=function(y){return this.levels.values[y]?this.levels.values[y]>=this.levels.values[this.level]:!1},u.setMaxListeners=u.getMaxListeners=u.emit=u.addListener=u.on=u.prependListener=u.once=u.prependOnceListener=u.removeListener=u.removeAllListeners=u.listeners=u.listenerCount=u.eventNames=u.write=u.flush=ri,u.serializers=r,u._serialize=i,u._stdErrSerialize=s,u.child=function(...y){return p.call(this,l,...y)},e&&(u._logEvent=Ha());function f(){return kn(this.level,this)}function d(){return this._level}function h(y){if(y!=="silent"&&!this.levels.values[y])throw Error("unknown level "+y);this._level=y,Or(this,l,u,"error"),Or(this,l,u,"fatal"),Or(this,l,u,"warn"),Or(this,l,u,"info"),Or(this,l,u,"debug"),Or(this,l,u,"trace"),o.forEach(m=>{Or(this,l,u,m)})}function p(y,m,B){if(!m)throw new Error("missing bindings for child Pino");B=B||{},i&&m.serializers&&(B.serializers=m.serializers);const $=B.serializers;if(i&&$){var _=Object.assign({},r,$),x=t.browser.serialize===!0?Object.keys(_):i;delete m.serializers,za([m],x,_,this._stdErrSerialize)}function P(U){this._childLevel=(U._childLevel|0)+1,this.bindings=m,_&&(this.serializers=_,this._serialize=x),e&&(this._logEvent=Ha([].concat(U._logEvent.bindings,m)))}P.prototype=this;const R=new P(this);return Af(this,R),R.child=function(...U){return p.call(this,y,...U)},R.level=B.level||this.level,y.onChild(R),R}return u}function Ew(t){const e=t.customLevels||{},n=Object.assign({},dn.levels.values,e),r=Object.assign({},dn.levels.labels,xw(e));return{values:n,labels:r}}function xw(t){const e={};return Object.keys(t).forEach(function(n){e[t[n]]=n}),e}dn.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},dn.stdSerializers=bw,dn.stdTimeFunctions=Object.assign({},{nullTime:Of,epochTime:Df,unixTime:Dw,isoTime:$w});function _w(t){const e=[];t.bindings&&e.push(t.bindings);let n=t[ja];for(;n.parent;)n=n.parent,n.logger.bindings&&e.push(n.logger.bindings);return e.reverse()}function Or(t,e,n,r){if(Object.defineProperty(t,r,{value:kn(t.level,n)>kn(r,n)?ri:n[Ma][r],writable:!0,enumerable:!0,configurable:!0}),t[r]===ri){if(!e.transmit)return;const s=e.transmit.level||t.level,o=kn(s,n);if(kn(r,n)<o)return}t[r]=Iw(t,e,n,r);const i=_w(t);i.length!==0&&(t[r]=Sw(i,t[r]))}function Sw(t,e){return function(){return e.apply(this,[...t,...arguments])}}function Iw(t,e,n,r){return function(i){return function(){const o=e.timestamp(),a=new Array(arguments.length),c=Object.getPrototypeOf&&Object.getPrototypeOf(this)===ki?ki:this;for(var u=0;u<a.length;u++)a[u]=arguments[u];var l=!1;if(e.serialize&&(za(a,this._serialize,this.serializers,this._stdErrSerialize),l=!0),e.asObject||e.formatters?i.call(c,...Aw(this,r,a,o,e)):i.apply(c,a),e.transmit){const f=e.transmit.level||t._level,d=kn(f,n),h=kn(r,n);if(h<d)return;Bw(this,{ts:o,methodLevel:r,methodValue:h,transmitLevel:f,transmitValue:n.levels.values[e.transmit.level||t._level],send:e.transmit.send,val:kn(t._level,n)},a,l)}}}(t[Ma][r])}function Aw(t,e,n,r,i){const{level:s,log:o=f=>f}=i.formatters||{},a=n.slice();let c=a[0];const u={};let l=(t._childLevel|0)+1;if(l<1&&(l=1),r&&(u.time=r),s){const f=s(e,t.levels.values[e]);Object.assign(u,f)}else u.level=t.levels.values[e];if(i.asObjectBindingsOnly){if(c!==null&&typeof c=="object")for(;l--&&typeof a[0]=="object";)Object.assign(u,a.shift());return[o(u),...a]}else{if(c!==null&&typeof c=="object"){for(;l--&&typeof a[0]=="object";)Object.assign(u,a.shift());c=a.length?If(a.shift(),a):void 0}else typeof c=="string"&&(c=If(a.shift(),a));return c!==void 0&&(u[i.messageKey]=c),[o(u)]}}function za(t,e,n,r){for(const i in t)if(r&&t[i]instanceof Error)t[i]=dn.stdSerializers.err(t[i]);else if(typeof t[i]=="object"&&!Array.isArray(t[i])&&e)for(const s in t[i])e.indexOf(s)>-1&&s in n&&(t[i][s]=n[s](t[i][s]))}function Bw(t,e,n,r=!1){const i=e.send,s=e.ts,o=e.methodLevel,a=e.methodValue,c=e.val,u=t._logEvent.bindings;r||za(n,t._serialize||Object.keys(t.serializers),t.serializers,t._stdErrSerialize===void 0?!0:t._stdErrSerialize),t._logEvent.ts=s,t._logEvent.messages=n.filter(function(l){return u.indexOf(l)===-1}),t._logEvent.level.label=o,t._logEvent.level.value=a,i(o,t._logEvent,c),t._logEvent=Ha(u)}function Ha(t){return{ts:0,messages:[],bindings:t||[],level:{label:"",value:0}}}function Bf(t){const e={type:t.constructor.name,msg:t.message,stack:t.stack};for(const n in t)e[n]===void 0&&(e[n]=t[n]);return e}function Ow(t){return typeof t.timestamp=="function"?t.timestamp:t.timestamp===!1?Of:Df}function Vs(){return{}}function Va(t){return t}function ri(){}function Of(){return!1}function Df(){return Date.now()}function Dw(){return Math.round(Date.now()/1e3)}function $w(){return new Date(Date.now()).toISOString()}function Pw(){function t(e){return typeof e<"u"&&e}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return t(self)||t(window)||t(this)||{}}}Qt.exports.default=dn,Qt.exports.pino=dn;const Tw={level:"info"},Ks="custom_context",Ka=1e3*1024;var Rw=Object.defineProperty,Nw=(t,e,n)=>e in t?Rw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,qn=(t,e,n)=>Nw(t,typeof e!="symbol"?e+"":e,n);class Cw{constructor(e){qn(this,"nodeValue"),qn(this,"sizeInBytes"),qn(this,"next"),this.nodeValue=e,this.sizeInBytes=new TextEncoder().encode(this.nodeValue).length,this.next=null}get value(){return this.nodeValue}get size(){return this.sizeInBytes}}class $f{constructor(e){qn(this,"lengthInNodes"),qn(this,"sizeInBytes"),qn(this,"head"),qn(this,"tail"),qn(this,"maxSizeInBytes"),this.head=null,this.tail=null,this.lengthInNodes=0,this.maxSizeInBytes=e,this.sizeInBytes=0}append(e){const n=new Cw(e);if(n.size>this.maxSizeInBytes)throw new Error(`[LinkedList] Value too big to insert into list: ${e} with size ${n.size}`);for(;this.size+n.size>this.maxSizeInBytes;)this.shift();this.head?(this.tail&&(this.tail.next=n),this.tail=n):(this.head=n,this.tail=n),this.lengthInNodes++,this.sizeInBytes+=n.size}shift(){if(!this.head)return;const e=this.head;this.head=this.head.next,this.head||(this.tail=null),this.lengthInNodes--,this.sizeInBytes-=e.size}toArray(){const e=[];let n=this.head;for(;n!==null;)e.push(n.value),n=n.next;return e}get length(){return this.lengthInNodes}get size(){return this.sizeInBytes}toOrderedArray(){return Array.from(this)}[Symbol.iterator](){let e=this.head;return{next:()=>{if(!e)return{done:!0,value:null};const n=e.value;return e=e.next,{done:!1,value:n}}}}}var Uw=Object.defineProperty,Fw=(t,e,n)=>e in t?Uw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Gs=(t,e,n)=>Fw(t,typeof e!="symbol"?e+"":e,n);class Pf{constructor(e,n=Ka){Gs(this,"logs"),Gs(this,"level"),Gs(this,"levelValue"),Gs(this,"MAX_LOG_SIZE_IN_BYTES"),this.level=e??"error",this.levelValue=Qt.exports.levels.values[this.level],this.MAX_LOG_SIZE_IN_BYTES=n,this.logs=new $f(this.MAX_LOG_SIZE_IN_BYTES)}forwardToConsole(e,n){n===Qt.exports.levels.values.error?console.error(e):n===Qt.exports.levels.values.warn?console.warn(e):n===Qt.exports.levels.values.debug?console.debug(e):n===Qt.exports.levels.values.trace?console.trace(e):console.log(e)}appendToLogs(e){this.logs.append(Br({timestamp:new Date().toISOString(),log:e}));const n=typeof e=="string"?JSON.parse(e).level:e.level;n>=this.levelValue&&this.forwardToConsole(e,n)}getLogs(){return this.logs}clearLogs(){this.logs=new $f(this.MAX_LOG_SIZE_IN_BYTES)}getLogArray(){return Array.from(this.logs)}logsToBlob(e){const n=this.getLogArray();return n.push(Br({extraMetadata:e})),new Blob(n,{type:"application/json"})}}var Lw=Object.defineProperty,kw=(t,e,n)=>e in t?Lw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,qw=(t,e,n)=>kw(t,typeof e!="symbol"?e+"":e,n);class Mw{constructor(e,n=Ka){qw(this,"baseChunkLogger"),this.baseChunkLogger=new Pf(e,n)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}downloadLogsBlobInBrowser(e){const n=URL.createObjectURL(this.logsToBlob(e)),r=document.createElement("a");r.href=n,r.download=`walletconnect-logs-${new Date().toISOString()}.txt`,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(n)}}var jw=Object.defineProperty,zw=(t,e,n)=>e in t?jw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Hw=(t,e,n)=>zw(t,typeof e!="symbol"?e+"":e,n);class Vw{constructor(e,n=Ka){Hw(this,"baseChunkLogger"),this.baseChunkLogger=new Pf(e,n)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}}var Kw=Object.defineProperty,Gw=Object.defineProperties,Ww=Object.getOwnPropertyDescriptors,Tf=Object.getOwnPropertySymbols,Zw=Object.prototype.hasOwnProperty,Yw=Object.prototype.propertyIsEnumerable,Rf=(t,e,n)=>e in t?Kw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ws=(t,e)=>{for(var n in e||(e={}))Zw.call(e,n)&&Rf(t,n,e[n]);if(Tf)for(var n of Tf(e))Yw.call(e,n)&&Rf(t,n,e[n]);return t},Zs=(t,e)=>Gw(t,Ww(e));function Xw(t){return Zs(Ws({},t),{level:t?.level||Tw.level})}function Jw(t,e,n=Ks){return t[n]=e,t}function ft(t,e=Ks){return t[e]||""}function Qw(t,e,n=Ks){const r=ft(t,n);return r.trim()?`${r}/${e}`:e}function _t(t,e,n=Ks){const r=Qw(t,e,n),i=t.child({context:r});return Jw(i,r,n)}function em(t){var e,n;const r=new Mw((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:Qt.exports(Zs(Ws({},t.opts),{level:"trace",browser:Zs(Ws({},(n=t.opts)==null?void 0:n.browser),{write:i=>r.write(i)})})),chunkLoggerController:r}}function tm(t){var e;const n=new Vw((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:Qt.exports(Zs(Ws({},t.opts),{level:"trace"}),n),chunkLoggerController:n}}function Nf(t){return typeof t.loggerOverride<"u"&&typeof t.loggerOverride!="string"?{logger:t.loggerOverride,chunkLoggerController:null}:typeof window<"u"?em(t):tm(t)}var nm=Object.defineProperty,rm=(t,e,n)=>e in t?nm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Cf=(t,e,n)=>rm(t,typeof e!="symbol"?e+"":e,n);class im extends Sr{constructor(e){super(),this.opts=e,Cf(this,"protocol","wc"),Cf(this,"version",2)}}var sm=Object.defineProperty,om=(t,e,n)=>e in t?sm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,am=(t,e,n)=>om(t,typeof e!="symbol"?e+"":e,n);class cm extends Sr{constructor(e,n){super(),this.core=e,this.logger=n,am(this,"records",new Map)}}class um{constructor(e,n){this.logger=e,this.core=n}}class lm extends Sr{constructor(e,n){super(),this.relayer=e,this.logger=n}}class fm extends Sr{constructor(e){super()}}class hm{constructor(e,n,r,i){this.core=e,this.logger=n,this.name=r}}class dm extends Sr{constructor(e,n){super(),this.relayer=e,this.logger=n}}class pm extends Sr{constructor(e,n){super(),this.core=e,this.logger=n}}class gm{constructor(e,n,r){this.core=e,this.logger=n,this.store=r}}class ym{constructor(e,n){this.projectId=e,this.logger=n}}class bm{constructor(e,n,r){this.core=e,this.logger=n,this.telemetryEnabled=r}}var wm=Object.defineProperty,mm=(t,e,n)=>e in t?wm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Uf=(t,e,n)=>mm(t,typeof e!="symbol"?e+"":e,n);class vm{constructor(e){this.opts=e,Uf(this,"protocol","wc"),Uf(this,"version",2)}}class Em{constructor(e){this.client=e}}function xm(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Ff(t,...e){if(!xm(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function Lf(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function _m(t,e){Ff(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}const ii=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Ga=t=>new DataView(t.buffer,t.byteOffset,t.byteLength);function Sm(t){if(typeof t!="string")throw new Error("utf8ToBytes expected string, got "+typeof t);return new Uint8Array(new TextEncoder().encode(t))}function kf(t){return typeof t=="string"&&(t=Sm(t)),Ff(t),t}class Im{clone(){return this._cloneInto()}}function Am(t){const e=r=>t().update(kf(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function qf(t=32){if(ii&&typeof ii.getRandomValues=="function")return ii.getRandomValues(new Uint8Array(t));if(ii&&typeof ii.randomBytes=="function")return ii.randomBytes(t);throw new Error("crypto.getRandomValues must be defined")}function Bm(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}class Om extends Im{constructor(e,n,r,i){super(),this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=Ga(this.buffer)}update(e){Lf(this);const{view:n,buffer:r,blockLen:i}=this;e=kf(e);const s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=Ga(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){Lf(this),_m(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,this.buffer.subarray(o).fill(0),this.padOffset>i-o&&(this.process(r,0),o=0);for(let f=o;f<i;f++)n[f]=0;Bm(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=Ga(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=c/4,l=this.get();if(u>l.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f<u;f++)a.setUint32(4*f,l[f],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.length=i,e.pos=a,e.finished=s,e.destroyed=o,i%n&&e.buffer.set(r),e}}const Ys=BigInt(2**32-1),Wa=BigInt(32);function Mf(t,e=!1){return e?{h:Number(t&Ys),l:Number(t>>Wa&Ys)}:{h:Number(t>>Wa&Ys)|0,l:Number(t&Ys)|0}}function Dm(t,e=!1){let n=new Uint32Array(t.length),r=new Uint32Array(t.length);for(let i=0;i<t.length;i++){const{h:s,l:o}=Mf(t[i],e);[n[i],r[i]]=[s,o]}return[n,r]}const $m=(t,e)=>BigInt(t>>>0)<<Wa|BigInt(e>>>0),Pm=(t,e,n)=>t>>>n,Tm=(t,e,n)=>t<<32-n|e>>>n,Rm=(t,e,n)=>t>>>n|e<<32-n,Nm=(t,e,n)=>t<<32-n|e>>>n,Cm=(t,e,n)=>t<<64-n|e>>>n-32,Um=(t,e,n)=>t>>>n-32|e<<64-n,Fm=(t,e)=>e,Lm=(t,e)=>t,km=(t,e,n)=>t<<n|e>>>32-n,qm=(t,e,n)=>e<<n|t>>>32-n,Mm=(t,e,n)=>e<<n-32|t>>>64-n,jm=(t,e,n)=>t<<n-32|e>>>64-n;function zm(t,e,n,r){const i=(e>>>0)+(r>>>0);return{h:t+n+(i/2**32|0)|0,l:i|0}}const Hm=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),Vm=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,Km=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),Gm=(t,e,n,r,i)=>e+n+r+i+(t/2**32|0)|0,Wm=(t,e,n,r,i)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0),Zm=(t,e,n,r,i,s)=>e+n+r+i+s+(t/2**32|0)|0,ne={fromBig:Mf,split:Dm,toBig:$m,shrSH:Pm,shrSL:Tm,rotrSH:Rm,rotrSL:Nm,rotrBH:Cm,rotrBL:Um,rotr32H:Fm,rotr32L:Lm,rotlSH:km,rotlSL:qm,rotlBH:Mm,rotlBL:jm,add:zm,add3L:Hm,add3H:Vm,add4L:Km,add4H:Gm,add5H:Zm,add5L:Wm},[Ym,Xm]=(()=>ne.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(t=>BigInt(t))))(),Mn=new Uint32Array(80),jn=new Uint32Array(80);class Jm extends Om{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(){const{Ah:e,Al:n,Bh:r,Bl:i,Ch:s,Cl:o,Dh:a,Dl:c,Eh:u,El:l,Fh:f,Fl:d,Gh:h,Gl:p,Hh:y,Hl:m}=this;return[e,n,r,i,s,o,a,c,u,l,f,d,h,p,y,m]}set(e,n,r,i,s,o,a,c,u,l,f,d,h,p,y,m){this.Ah=e|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=c|0,this.Eh=u|0,this.El=l|0,this.Fh=f|0,this.Fl=d|0,this.Gh=h|0,this.Gl=p|0,this.Hh=y|0,this.Hl=m|0}process(e,n){for(let _=0;_<16;_++,n+=4)Mn[_]=e.getUint32(n),jn[_]=e.getUint32(n+=4);for(let _=16;_<80;_++){const x=Mn[_-15]|0,P=jn[_-15]|0,R=ne.rotrSH(x,P,1)^ne.rotrSH(x,P,8)^ne.shrSH(x,P,7),U=ne.rotrSL(x,P,1)^ne.rotrSL(x,P,8)^ne.shrSL(x,P,7),F=Mn[_-2]|0,D=jn[_-2]|0,j=ne.rotrSH(F,D,19)^ne.rotrBH(F,D,61)^ne.shrSH(F,D,6),M=ne.rotrSL(F,D,19)^ne.rotrBL(F,D,61)^ne.shrSL(F,D,6),E=ne.add4L(U,M,jn[_-7],jn[_-16]),b=ne.add4H(E,R,j,Mn[_-7],Mn[_-16]);Mn[_]=b|0,jn[_]=E|0}let{Ah:r,Al:i,Bh:s,Bl:o,Ch:a,Cl:c,Dh:u,Dl:l,Eh:f,El:d,Fh:h,Fl:p,Gh:y,Gl:m,Hh:B,Hl:$}=this;for(let _=0;_<80;_++){const x=ne.rotrSH(f,d,14)^ne.rotrSH(f,d,18)^ne.rotrBH(f,d,41),P=ne.rotrSL(f,d,14)^ne.rotrSL(f,d,18)^ne.rotrBL(f,d,41),R=f&h^~f&y,U=d&p^~d&m,F=ne.add5L($,P,U,Xm[_],jn[_]),D=ne.add5H(F,B,x,R,Ym[_],Mn[_]),j=F|0,M=ne.rotrSH(r,i,28)^ne.rotrBH(r,i,34)^ne.rotrBH(r,i,39),E=ne.rotrSL(r,i,28)^ne.rotrBL(r,i,34)^ne.rotrBL(r,i,39),b=r&s^r&a^s&a,v=i&o^i&c^o&c;B=y|0,$=m|0,y=h|0,m=p|0,h=f|0,p=d|0,{h:f,l:d}=ne.add(u|0,l|0,D|0,j|0),u=a|0,l=c|0,a=s|0,c=o|0,s=r|0,o=i|0;const g=ne.add3L(j,E,v);r=ne.add3H(g,D,M,b),i=g|0}({h:r,l:i}=ne.add(this.Ah|0,this.Al|0,r|0,i|0)),{h:s,l:o}=ne.add(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l:c}=ne.add(this.Ch|0,this.Cl|0,a|0,c|0),{h:u,l}=ne.add(this.Dh|0,this.Dl|0,u|0,l|0),{h:f,l:d}=ne.add(this.Eh|0,this.El|0,f|0,d|0),{h,l:p}=ne.add(this.Fh|0,this.Fl|0,h|0,p|0),{h:y,l:m}=ne.add(this.Gh|0,this.Gl|0,y|0,m|0),{h:B,l:$}=ne.add(this.Hh|0,this.Hl|0,B|0,$|0),this.set(r,i,s,o,a,c,u,l,f,d,h,p,y,m,B,$)}roundClean(){Mn.fill(0),jn.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)}}const Qm=Am(()=>new Jm);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Za=BigInt(0),jf=BigInt(1),e2=BigInt(2);function Ya(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Xa(t){if(!Ya(t))throw new Error("Uint8Array expected")}function Ja(t,e){if(typeof e!="boolean")throw new Error(t+" boolean expected, got "+e)}const t2=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function Qa(t){Xa(t);let e="";for(let n=0;n<t.length;n++)e+=t2[t[n]];return e}function zf(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?Za:BigInt("0x"+t)}const pn={_0:48,_9:57,A:65,F:70,a:97,f:102};function Hf(t){if(t>=pn._0&&t<=pn._9)return t-pn._0;if(t>=pn.A&&t<=pn.F)return t-(pn.A-10);if(t>=pn.a&&t<=pn.f)return t-(pn.a-10)}function Vf(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=Hf(t.charCodeAt(s)),a=Hf(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function n2(t){return zf(Qa(t))}function Xs(t){return Xa(t),zf(Qa(Uint8Array.from(t).reverse()))}function Kf(t,e){return Vf(t.toString(16).padStart(e*2,"0"))}function ec(t,e){return Kf(t,e).reverse()}function gn(t,e,n){let r;if(typeof e=="string")try{r=Vf(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(Ya(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}function Gf(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];Xa(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}const tc=t=>typeof t=="bigint"&&Za<=t;function r2(t,e,n){return tc(t)&&tc(e)&&tc(n)&&e<=t&&t<n}function qi(t,e,n,r){if(!r2(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function i2(t){let e;for(e=0;t>Za;t>>=jf,e+=1);return e}const s2=t=>(e2<<BigInt(t-1))-jf,o2={bigint:t=>typeof t=="bigint",function:t=>typeof t=="function",boolean:t=>typeof t=="boolean",string:t=>typeof t=="string",stringOrUint8Array:t=>typeof t=="string"||Ya(t),isSafeInteger:t=>Number.isSafeInteger(t),array:t=>Array.isArray(t),field:(t,e)=>e.Fp.isValid(t),hash:t=>typeof t=="function"&&Number.isSafeInteger(t.outputLen)};function nc(t,e,n={}){const r=(i,s,o)=>{const a=o2[s];if(typeof a!="function")throw new Error("invalid validator function");const c=t[i];if(!(o&&c===void 0)&&!a(c,t))throw new Error("param "+String(i)+" is invalid. Expected "+s+", got "+c)};for(const[i,s]of Object.entries(e))r(i,s,!1);for(const[i,s]of Object.entries(n))r(i,s,!0);return t}function Wf(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}const Re=BigInt(0),xe=BigInt(1),Dr=BigInt(2),a2=BigInt(3),rc=BigInt(4),Zf=BigInt(5),Yf=BigInt(8);function Be(t,e){const n=t%e;return n>=Re?n:e+n}function c2(t,e,n){if(e<Re)throw new Error("invalid exponent, negatives unsupported");if(n<=Re)throw new Error("invalid modulus");if(n===xe)return Re;let r=xe;for(;e>Re;)e&xe&&(r=r*t%n),t=t*t%n,e>>=xe;return r}function en(t,e,n){let r=t;for(;e-- >Re;)r*=r,r%=n;return r}function Xf(t,e){if(t===Re)throw new Error("invert: expected non-zero number");if(e<=Re)throw new Error("invert: expected positive modulus, got "+e);let n=Be(t,e),r=e,i=Re,s=xe;for(;n!==Re;){const o=r/n,a=r%n,c=i-s*o;r=n,n=a,i=s,s=c}if(r!==xe)throw new Error("invert: does not exist");return Be(i,e)}function u2(t){const e=(t-xe)/Dr;let n,r,i;for(n=t-xe,r=0;n%Dr===Re;n/=Dr,r++);for(i=Dr;i<t&&c2(i,e,t)!==t-xe;i++)if(i>1e3)throw new Error("Cannot find square root: likely non-prime P");if(r===1){const o=(t+xe)/rc;return function(a,c){const u=a.pow(c,o);if(!a.eql(a.sqr(u),c))throw new Error("Cannot find square root");return u}}const s=(n+xe)/Dr;return function(o,a){if(o.pow(a,e)===o.neg(o.ONE))throw new Error("Cannot find square root");let c=r,u=o.pow(o.mul(o.ONE,i),n),l=o.pow(a,s),f=o.pow(a,n);for(;!o.eql(f,o.ONE);){if(o.eql(f,o.ZERO))return o.ZERO;let d=1;for(let p=o.sqr(f);d<c&&!o.eql(p,o.ONE);d++)p=o.sqr(p);const h=o.pow(u,xe<<BigInt(c-d-1));u=o.sqr(h),l=o.mul(l,h),f=o.mul(f,u),c=d}return l}}function l2(t){if(t%rc===a2){const e=(t+xe)/rc;return function(n,r){const i=n.pow(r,e);if(!n.eql(n.sqr(i),r))throw new Error("Cannot find square root");return i}}if(t%Yf===Zf){const e=(t-Zf)/Yf;return function(n,r){const i=n.mul(r,Dr),s=n.pow(i,e),o=n.mul(r,s),a=n.mul(n.mul(o,Dr),s),c=n.mul(o,n.sub(a,n.ONE));if(!n.eql(n.sqr(c),r))throw new Error("Cannot find square root");return c}}return u2(t)}const f2=(t,e)=>(Be(t,e)&xe)===xe,h2=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function d2(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},n=h2.reduce((r,i)=>(r[i]="function",r),e);return nc(t,n)}function p2(t,e,n){if(n<Re)throw new Error("invalid exponent, negatives unsupported");if(n===Re)return t.ONE;if(n===xe)return e;let r=t.ONE,i=e;for(;n>Re;)n&xe&&(r=t.mul(r,i)),i=t.sqr(i),n>>=xe;return r}function g2(t,e){const n=new Array(e.length),r=e.reduce((s,o,a)=>t.is0(o)?s:(n[a]=s,t.mul(s,o)),t.ONE),i=t.inv(r);return e.reduceRight((s,o,a)=>t.is0(o)?s:(n[a]=t.mul(s,n[a]),t.mul(s,o)),i),n}function Jf(t,e){const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function Qf(t,e,n=!1,r={}){if(t<=Re)throw new Error("invalid field: expected ORDER > 0, got "+t);const{nBitLength:i,nByteLength:s}=Jf(t,e);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let o;const a=Object.freeze({ORDER:t,isLE:n,BITS:i,BYTES:s,MASK:s2(i),ZERO:Re,ONE:xe,create:c=>Be(c,t),isValid:c=>{if(typeof c!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof c);return Re<=c&&c<t},is0:c=>c===Re,isOdd:c=>(c&xe)===xe,neg:c=>Be(-c,t),eql:(c,u)=>c===u,sqr:c=>Be(c*c,t),add:(c,u)=>Be(c+u,t),sub:(c,u)=>Be(c-u,t),mul:(c,u)=>Be(c*u,t),pow:(c,u)=>p2(a,c,u),div:(c,u)=>Be(c*Xf(u,t),t),sqrN:c=>c*c,addN:(c,u)=>c+u,subN:(c,u)=>c-u,mulN:(c,u)=>c*u,inv:c=>Xf(c,t),sqrt:r.sqrt||(c=>(o||(o=l2(t)),o(a,c))),invertBatch:c=>g2(a,c),cmov:(c,u,l)=>l?u:c,toBytes:c=>n?ec(c,s):Kf(c,s),fromBytes:c=>{if(c.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+c.length);return n?Xs(c):n2(c)}});return Object.freeze(a)}const eh=BigInt(0),Js=BigInt(1);function ic(t,e){const n=e.negate();return t?n:e}function th(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function sc(t,e){th(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1);return{windows:n,windowSize:r}}function y2(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function b2(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const oc=new WeakMap,nh=new WeakMap;function ac(t){return nh.get(t)||1}function w2(t,e){return{constTimeNegate:ic,hasPrecomputes(n){return ac(n)!==1},unsafeLadder(n,r,i=t.ZERO){let s=n;for(;r>eh;)r&Js&&(i=i.add(s)),s=s.double(),r>>=Js;return i},precomputeWindow(n,r){const{windows:i,windowSize:s}=sc(r,e),o=[];let a=n,c=a;for(let u=0;u<i;u++){c=a,o.push(c);for(let l=1;l<s;l++)c=c.add(a),o.push(c);a=c.double()}return o},wNAF(n,r,i){const{windows:s,windowSize:o}=sc(n,e);let a=t.ZERO,c=t.BASE;const u=BigInt(2**n-1),l=2**n,f=BigInt(n);for(let d=0;d<s;d++){const h=d*o;let p=Number(i&u);i>>=f,p>o&&(p-=l,i+=Js);const y=h,m=h+Math.abs(p)-1,B=d%2!==0,$=p<0;p===0?c=c.add(ic(B,r[y])):a=a.add(ic($,r[m]))}return{p:a,f:c}},wNAFUnsafe(n,r,i,s=t.ZERO){const{windows:o,windowSize:a}=sc(n,e),c=BigInt(2**n-1),u=2**n,l=BigInt(n);for(let f=0;f<o;f++){const d=f*a;if(i===eh)break;let h=Number(i&c);if(i>>=l,h>a&&(h-=u,i+=Js),h===0)continue;let p=r[d+Math.abs(h)-1];h<0&&(p=p.negate()),s=s.add(p)}return s},getPrecomputes(n,r,i){let s=oc.get(r);return s||(s=this.precomputeWindow(r,n),n!==1&&oc.set(r,i(s))),s},wNAFCached(n,r,i){const s=ac(n);return this.wNAF(s,this.getPrecomputes(s,n,i),r)},wNAFCachedUnsafe(n,r,i,s){const o=ac(n);return o===1?this.unsafeLadder(n,r,s):this.wNAFUnsafe(o,this.getPrecomputes(o,n,i),r,s)},setWindowSize(n,r){th(r,e),nh.set(n,r),oc.delete(n)}}}function m2(t,e,n,r){if(y2(n,t),b2(r,e),n.length!==r.length)throw new Error("arrays of points and scalars must have equal length");const i=t.ZERO,s=i2(BigInt(n.length)),o=s>12?s-3:s>4?s-2:s?2:1,a=(1<<o)-1,c=new Array(a+1).fill(i),u=Math.floor((e.BITS-1)/o)*o;let l=i;for(let f=u;f>=0;f-=o){c.fill(i);for(let h=0;h<r.length;h++){const p=r[h],y=Number(p>>BigInt(f)&BigInt(a));c[y]=c[y].add(n[h])}let d=i;for(let h=c.length-1,p=i;h>0;h--)p=p.add(c[h]),d=d.add(p);if(l=l.add(d),f!==0)for(let h=0;h<o;h++)l=l.double()}return l}function v2(t){return d2(t.Fp),nc(t,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...Jf(t.n,t.nBitLength),...t,p:t.Fp.ORDER})}const jt=BigInt(0),ht=BigInt(1),Qs=BigInt(2),E2=BigInt(8),x2={zip215:!0};function _2(t){const e=v2(t);return nc(t,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...e})}function S2(t){const e=_2(t),{Fp:n,n:r,prehash:i,hash:s,randomBytes:o,nByteLength:a,h:c}=e,u=Qs<<BigInt(a*8)-ht,l=n.create,f=Qf(e.n,e.nBitLength),d=e.uvRatio||((g,w)=>{try{return{isValid:!0,value:n.sqrt(g*n.inv(w))}}catch{return{isValid:!1,value:jt}}}),h=e.adjustScalarBytes||(g=>g),p=e.domain||((g,w,S)=>{if(Ja("phflag",S),w.length||S)throw new Error("Contexts/pre-hash are not supported");return g});function y(g,w){qi("coordinate "+g,w,jt,u)}function m(g){if(!(g instanceof _))throw new Error("ExtendedPoint expected")}const B=Wf((g,w)=>{const{ex:S,ey:A,ez:I}=g,O=g.is0();w==null&&(w=O?E2:n.inv(I));const T=l(S*w),L=l(A*w),C=l(I*w);if(O)return{x:jt,y:ht};if(C!==ht)throw new Error("invZ was invalid");return{x:T,y:L}}),$=Wf(g=>{const{a:w,d:S}=e;if(g.is0())throw new Error("bad point: ZERO");const{ex:A,ey:I,ez:O,et:T}=g,L=l(A*A),C=l(I*I),k=l(O*O),N=l(k*k),q=l(L*w),z=l(k*l(q+C)),W=l(N+l(S*l(L*C)));if(z!==W)throw new Error("bad point: equation left != right (1)");const V=l(A*I),Z=l(O*T);if(V!==Z)throw new Error("bad point: equation left != right (2)");return!0});class _{constructor(w,S,A,I){this.ex=w,this.ey=S,this.ez=A,this.et=I,y("x",w),y("y",S),y("z",A),y("t",I),Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(w){if(w instanceof _)throw new Error("extended point not allowed");const{x:S,y:A}=w||{};return y("x",S),y("y",A),new _(S,A,ht,l(S*A))}static normalizeZ(w){const S=n.invertBatch(w.map(A=>A.ez));return w.map((A,I)=>A.toAffine(S[I])).map(_.fromAffine)}static msm(w,S){return m2(_,f,w,S)}_setWindowSize(w){R.setWindowSize(this,w)}assertValidity(){$(this)}equals(w){m(w);const{ex:S,ey:A,ez:I}=this,{ex:O,ey:T,ez:L}=w,C=l(S*L),k=l(O*I),N=l(A*L),q=l(T*I);return C===k&&N===q}is0(){return this.equals(_.ZERO)}negate(){return new _(l(-this.ex),this.ey,this.ez,l(-this.et))}double(){const{a:w}=e,{ex:S,ey:A,ez:I}=this,O=l(S*S),T=l(A*A),L=l(Qs*l(I*I)),C=l(w*O),k=S+A,N=l(l(k*k)-O-T),q=C+T,z=q-L,W=C-T,V=l(N*z),Z=l(q*W),Q=l(N*W),ee=l(z*q);return new _(V,Z,ee,Q)}add(w){m(w);const{a:S,d:A}=e,{ex:I,ey:O,ez:T,et:L}=this,{ex:C,ey:k,ez:N,et:q}=w;if(S===BigInt(-1)){const Hy=l((O-I)*(k+C)),Vy=l((O+I)*(k-C)),Gl=l(Vy-Hy);if(Gl===jt)return this.double();const Ky=l(T*Qs*q),Gy=l(L*Qs*N),Wy=Gy+Ky,Zy=Vy+Hy,Yy=Gy-Ky,s$=l(Wy*Gl),o$=l(Zy*Yy),a$=l(Wy*Yy),c$=l(Gl*Zy);return new _(s$,o$,c$,a$)}const z=l(I*C),W=l(O*k),V=l(L*A*q),Z=l(T*N),Q=l((I+O)*(C+k)-z-W),ee=Z-V,ie=Z+V,fe=l(W-S*z),ve=l(Q*ee),Ln=l(ie*fe),Oa=l(Q*fe),i$=l(ee*ie);return new _(ve,Ln,i$,Oa)}subtract(w){return this.add(w.negate())}wNAF(w){return R.wNAFCached(this,w,_.normalizeZ)}multiply(w){const S=w;qi("scalar",S,ht,r);const{p:A,f:I}=this.wNAF(S);return _.normalizeZ([A,I])[0]}multiplyUnsafe(w,S=_.ZERO){const A=w;return qi("scalar",A,jt,r),A===jt?P:this.is0()||A===ht?this:R.wNAFCachedUnsafe(this,A,_.normalizeZ,S)}isSmallOrder(){return this.multiplyUnsafe(c).is0()}isTorsionFree(){return R.unsafeLadder(this,r).is0()}toAffine(w){return B(this,w)}clearCofactor(){const{h:w}=e;return w===ht?this:this.multiplyUnsafe(w)}static fromHex(w,S=!1){const{d:A,a:I}=e,O=n.BYTES;w=gn("pointHex",w,O),Ja("zip215",S);const T=w.slice(),L=w[O-1];T[O-1]=L&-129;const C=Xs(T),k=S?u:n.ORDER;qi("pointHex.y",C,jt,k);const N=l(C*C),q=l(N-ht),z=l(A*N-I);let{isValid:W,value:V}=d(q,z);if(!W)throw new Error("Point.fromHex: invalid y coordinate");const Z=(V&ht)===ht,Q=(L&128)!==0;if(!S&&V===jt&&Q)throw new Error("Point.fromHex: x=0 and x_0=1");return Q!==Z&&(V=l(-V)),_.fromAffine({x:V,y:C})}static fromPrivateKey(w){return D(w).point}toRawBytes(){const{x:w,y:S}=this.toAffine(),A=ec(S,n.BYTES);return A[A.length-1]|=w&ht?128:0,A}toHex(){return Qa(this.toRawBytes())}}_.BASE=new _(e.Gx,e.Gy,ht,l(e.Gx*e.Gy)),_.ZERO=new _(jt,ht,ht,jt);const{BASE:x,ZERO:P}=_,R=w2(_,a*8);function U(g){return Be(g,r)}function F(g){return U(Xs(g))}function D(g){const w=n.BYTES;g=gn("private key",g,w);const S=gn("hashed private key",s(g),2*w),A=h(S.slice(0,w)),I=S.slice(w,2*w),O=F(A),T=x.multiply(O),L=T.toRawBytes();return{head:A,prefix:I,scalar:O,point:T,pointBytes:L}}function j(g){return D(g).pointBytes}function M(g=new Uint8Array,...w){const S=Gf(...w);return F(s(p(S,gn("context",g),!!i)))}function E(g,w,S={}){g=gn("message",g),i&&(g=i(g));const{prefix:A,scalar:I,pointBytes:O}=D(w),T=M(S.context,A,g),L=x.multiply(T).toRawBytes(),C=M(S.context,L,O,g),k=U(T+C*I);qi("signature.s",k,jt,r);const N=Gf(L,ec(k,n.BYTES));return gn("result",N,n.BYTES*2)}const b=x2;function v(g,w,S,A=b){const{context:I,zip215:O}=A,T=n.BYTES;g=gn("signature",g,2*T),w=gn("message",w),S=gn("publicKey",S,T),O!==void 0&&Ja("zip215",O),i&&(w=i(w));const L=Xs(g.slice(T,2*T));let C,k,N;try{C=_.fromHex(S,O),k=_.fromHex(g.slice(0,T),O),N=x.multiplyUnsafe(L)}catch{return!1}if(!O&&C.isSmallOrder())return!1;const q=M(I,k.toRawBytes(),C.toRawBytes(),w);return k.add(C.multiplyUnsafe(q)).subtract(N).clearCofactor().equals(_.ZERO)}return x._setWindowSize(8),{CURVE:e,getPublicKey:j,sign:E,verify:v,ExtendedPoint:_,utils:{getExtendedPublicKey:D,randomPrivateKey:()=>o(n.BYTES),precompute(g=8,w=_.BASE){return w._setWindowSize(g),w.multiply(BigInt(3)),w}}}}BigInt(0),BigInt(1);const cc=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),rh=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");BigInt(0);const I2=BigInt(1),ih=BigInt(2);BigInt(3);const A2=BigInt(5),B2=BigInt(8);function O2(t){const e=BigInt(10),n=BigInt(20),r=BigInt(40),i=BigInt(80),s=cc,o=t*t%s*t%s,a=en(o,ih,s)*o%s,c=en(a,I2,s)*t%s,u=en(c,A2,s)*c%s,l=en(u,e,s)*u%s,f=en(l,n,s)*l%s,d=en(f,r,s)*f%s,h=en(d,i,s)*d%s,p=en(h,i,s)*d%s,y=en(p,e,s)*u%s;return{pow_p_5_8:en(y,ih,s)*t%s,b2:o}}function D2(t){return t[0]&=248,t[31]&=127,t[31]|=64,t}function $2(t,e){const n=cc,r=Be(e*e*e,n),i=Be(r*r*e,n),s=O2(t*i).pow_p_5_8;let o=Be(t*r*s,n);const a=Be(e*o*o,n),c=o,u=Be(o*rh,n),l=a===t,f=a===Be(-t,n),d=a===Be(-t*rh,n);return l&&(o=c),(f||d)&&(o=u),f2(o,n)&&(o=Be(-o,n)),{isValid:l||f,value:o}}const P2=(()=>Qf(cc,void 0,!0))(),T2=(()=>({a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:P2,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:B2,Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:Qm,randomBytes:qf,adjustScalarBytes:D2,uvRatio:$2}))(),sh=(()=>S2(T2))(),R2="EdDSA",N2="JWT",eo=".",to="base64url",oh="utf8",ah="utf8",C2=":",U2="did",F2="key",ch="base58btc",L2="z",k2="K36",q2=32;function uc(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function uh(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?uc(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function lh(t,e){e||(e=t.reduce((i,s)=>i+s.length,0));const n=uh(e);let r=0;for(const i of t)n.set(i,r),r+=i.length;return uc(n)}function M2(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<t.length;i++){var s=t.charAt(i),o=s.charCodeAt(0);if(n[o]!==255)throw new TypeError(s+" is ambiguous");n[o]=i}var a=t.length,c=t.charAt(0),u=Math.log(a)/Math.log(256),l=Math.log(256)/Math.log(a);function f(p){if(p instanceof Uint8Array||(ArrayBuffer.isView(p)?p=new Uint8Array(p.buffer,p.byteOffset,p.byteLength):Array.isArray(p)&&(p=Uint8Array.from(p))),!(p instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(p.length===0)return"";for(var y=0,m=0,B=0,$=p.length;B!==$&&p[B]===0;)B++,y++;for(var _=($-B)*l+1>>>0,x=new Uint8Array(_);B!==$;){for(var P=p[B],R=0,U=_-1;(P!==0||R<m)&&U!==-1;U--,R++)P+=256*x[U]>>>0,x[U]=P%a>>>0,P=P/a>>>0;if(P!==0)throw new Error("Non-zero carry");m=R,B++}for(var F=_-m;F!==_&&x[F]===0;)F++;for(var D=c.repeat(y);F<_;++F)D+=t.charAt(x[F]);return D}function d(p){if(typeof p!="string")throw new TypeError("Expected String");if(p.length===0)return new Uint8Array;var y=0;if(p[y]!==" "){for(var m=0,B=0;p[y]===c;)m++,y++;for(var $=(p.length-y)*u+1>>>0,_=new Uint8Array($);p[y];){var x=n[p.charCodeAt(y)];if(x===255)return;for(var P=0,R=$-1;(x!==0||P<B)&&R!==-1;R--,P++)x+=a*_[R]>>>0,_[R]=x%256>>>0,x=x/256>>>0;if(x!==0)throw new Error("Non-zero carry");B=P,y++}if(p[y]!==" "){for(var U=$-B;U!==$&&_[U]===0;)U++;for(var F=new Uint8Array(m+($-U)),D=m;U!==$;)F[D++]=_[U++];return F}}}function h(p){var y=d(p);if(y)return y;throw new Error(`Non-${e} character`)}return{encode:f,decodeUnsafe:d,decode:h}}var j2=M2,z2=j2;const fh=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},H2=t=>new TextEncoder().encode(t),V2=t=>new TextDecoder().decode(t);class K2{constructor(e,n,r){this.name=e,this.prefix=n,this.baseEncode=r}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class G2{constructor(e,n,r){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=r}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return hh(this,e)}}class W2{constructor(e){this.decoders=e}or(e){return hh(this,e)}decode(e){const n=e[0],r=this.decoders[n];if(r)return r.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const hh=(t,e)=>new W2({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}});class Z2{constructor(e,n,r,i){this.name=e,this.prefix=n,this.baseEncode=r,this.baseDecode=i,this.encoder=new K2(e,n,r),this.decoder=new G2(e,n,i)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const no=({name:t,prefix:e,encode:n,decode:r})=>new Z2(t,e,n,r),Mi=({prefix:t,name:e,alphabet:n})=>{const{encode:r,decode:i}=z2(n,e);return no({prefix:t,name:e,encode:r,decode:s=>fh(i(s))})},Y2=(t,e,n,r)=>{const i={};for(let l=0;l<e.length;++l)i[e[l]]=l;let s=t.length;for(;t[s-1]==="=";)--s;const o=new Uint8Array(s*n/8|0);let a=0,c=0,u=0;for(let l=0;l<s;++l){const f=i[t[l]];if(f===void 0)throw new SyntaxError(`Non-${r} character`);c=c<<n|f,a+=n,a>=8&&(a-=8,o[u++]=255&c>>a)}if(a>=n||255&c<<8-a)throw new SyntaxError("Unexpected end of data");return o},X2=(t,e,n)=>{const r=e[e.length-1]==="=",i=(1<<n)-1;let s="",o=0,a=0;for(let c=0;c<t.length;++c)for(a=a<<8|t[c],o+=8;o>n;)o-=n,s+=e[i&a>>o];if(o&&(s+=e[i&a<<n-o]),r)for(;s.length*n&7;)s+="=";return s},Fe=({name:t,prefix:e,bitsPerChar:n,alphabet:r})=>no({prefix:e,name:t,encode(i){return X2(i,r,n)},decode(i){return Y2(i,r,n,t)}}),J2=no({prefix:"\0",name:"identity",encode:t=>V2(t),decode:t=>H2(t)});var Q2=Object.freeze({__proto__:null,identity:J2});const ev=Fe({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var tv=Object.freeze({__proto__:null,base2:ev});const nv=Fe({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var rv=Object.freeze({__proto__:null,base8:nv});const iv=Mi({prefix:"9",name:"base10",alphabet:"0123456789"});var sv=Object.freeze({__proto__:null,base10:iv});const ov=Fe({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),av=Fe({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var cv=Object.freeze({__proto__:null,base16:ov,base16upper:av});const uv=Fe({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),lv=Fe({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),fv=Fe({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),hv=Fe({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),dv=Fe({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),pv=Fe({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),gv=Fe({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),yv=Fe({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),bv=Fe({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var wv=Object.freeze({__proto__:null,base32:uv,base32upper:lv,base32pad:fv,base32padupper:hv,base32hex:dv,base32hexupper:pv,base32hexpad:gv,base32hexpadupper:yv,base32z:bv});const mv=Mi({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),vv=Mi({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var Ev=Object.freeze({__proto__:null,base36:mv,base36upper:vv});const xv=Mi({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),_v=Mi({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var Sv=Object.freeze({__proto__:null,base58btc:xv,base58flickr:_v});const Iv=Fe({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Av=Fe({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),Bv=Fe({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),Ov=Fe({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var Dv=Object.freeze({__proto__:null,base64:Iv,base64pad:Av,base64url:Bv,base64urlpad:Ov});const dh=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),$v=dh.reduce((t,e,n)=>(t[n]=e,t),[]),Pv=dh.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);function Tv(t){return t.reduce((e,n)=>(e+=$v[n],e),"")}function Rv(t){const e=[];for(const n of t){const r=Pv[n.codePointAt(0)];if(r===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(r)}return new Uint8Array(e)}const Nv=no({prefix:"\u{1F680}",name:"base256emoji",encode:Tv,decode:Rv});var Cv=Object.freeze({__proto__:null,base256emoji:Nv}),Uv=gh,ph=128,Fv=127,Lv=~Fv,kv=Math.pow(2,31);function gh(t,e,n){e=e||[],n=n||0;for(var r=n;t>=kv;)e[n++]=t&255|ph,t/=128;for(;t&Lv;)e[n++]=t&255|ph,t>>>=7;return e[n]=t|0,gh.bytes=n-r+1,e}var qv=lc,Mv=128,yh=127;function lc(t,r){var n=0,r=r||0,i=0,s=r,o,a=t.length;do{if(s>=a)throw lc.bytes=0,new RangeError("Could not decode varint");o=t[s++],n+=i<28?(o&yh)<<i:(o&yh)*Math.pow(2,i),i+=7}while(o>=Mv);return lc.bytes=s-r,n}var jv=Math.pow(2,7),zv=Math.pow(2,14),Hv=Math.pow(2,21),Vv=Math.pow(2,28),Kv=Math.pow(2,35),Gv=Math.pow(2,42),Wv=Math.pow(2,49),Zv=Math.pow(2,56),Yv=Math.pow(2,63),Xv=function(t){return t<jv?1:t<zv?2:t<Hv?3:t<Vv?4:t<Kv?5:t<Gv?6:t<Wv?7:t<Zv?8:t<Yv?9:10},Jv={encode:Uv,decode:qv,encodingLength:Xv},bh=Jv;const wh=(t,e,n=0)=>(bh.encode(t,e,n),e),mh=t=>bh.encodingLength(t),fc=(t,e)=>{const n=e.byteLength,r=mh(t),i=r+mh(n),s=new Uint8Array(i+n);return wh(t,s,0),wh(n,s,r),s.set(e,i),new Qv(t,n,e,s)};class Qv{constructor(e,n,r,i){this.code=e,this.size=n,this.digest=r,this.bytes=i}}const vh=({name:t,code:e,encode:n})=>new e3(t,e,n);class e3{constructor(e,n,r){this.name=e,this.code=n,this.encode=r}digest(e){if(e instanceof Uint8Array){const n=this.encode(e);return n instanceof Uint8Array?fc(this.code,n):n.then(r=>fc(this.code,r))}else throw Error("Unknown type, must be binary type")}}const Eh=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),t3=vh({name:"sha2-256",code:18,encode:Eh("SHA-256")}),n3=vh({name:"sha2-512",code:19,encode:Eh("SHA-512")});var r3=Object.freeze({__proto__:null,sha256:t3,sha512:n3});const xh=0,i3="identity",_h=fh;var s3=Object.freeze({__proto__:null,identity:{code:xh,name:i3,encode:_h,digest:t=>fc(xh,_h(t))}});new TextEncoder,new TextDecoder;const Sh={...Q2,...tv,...rv,...sv,...cv,...wv,...Ev,...Sv,...Dv,...Cv};({...r3,...s3});function Ih(t,e,n,r){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:r}}}const Ah=Ih("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),hc=Ih("ascii","a",t=>{let e="a";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},t=>{t=t.substring(1);const e=uh(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}),Bh={utf8:Ah,"utf-8":Ah,hex:Sh.base16,latin1:hc,ascii:hc,binary:hc,...Sh};function ro(t,e="utf8"){const n=Bh[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("utf8"):n.encoder.encode(t).substring(1)}function si(t,e="utf8"){const n=Bh[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?uc(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}function Oh(t){return ni(ro(si(t,to),oh))}function io(t){return ro(si(Br(t),oh),to)}function Dh(t){const e=si(k2,ch),n=L2+ro(lh([e,t]),ch);return[U2,F2,n].join(C2)}function o3(t){return ro(t,to)}function a3(t){return si(t,to)}function c3(t){return si([io(t.header),io(t.payload)].join(eo),ah)}function u3(t){return[io(t.header),io(t.payload),o3(t.signature)].join(eo)}function dc(t){const e=t.split(eo),n=Oh(e[0]),r=Oh(e[1]),i=a3(e[2]),s=si(e.slice(0,2).join(eo),ah);return{header:n,payload:r,signature:i,data:s}}function $h(t=qf(q2)){const e=sh.getPublicKey(t);return{secretKey:lh([t,e]),publicKey:e}}async function l3(t,e,n,r,i=K.fromMiliseconds(Date.now())){const s={alg:R2,typ:N2},o=Dh(r.publicKey),a=i+n,c={iss:o,sub:t,aud:e,iat:i,exp:a},u=c3({header:s,payload:c}),l=sh.sign(u,r.secretKey.slice(0,32));return u3({header:s,payload:c,signature:l})}var Ph=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,s;r<i;r++)(s||!(r in e))&&(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))},f3=function(){function t(e,n,r){this.name=e,this.version=n,this.os=r,this.type="browser"}return t}(),h3=function(){function t(e){this.version=e,this.type="node",this.name="node",this.os=process.platform}return t}(),d3=function(){function t(e,n,r,i){this.name=e,this.version=n,this.os=r,this.bot=i,this.type="bot-device"}return t}(),p3=function(){function t(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}return t}(),g3=function(){function t(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}return t}(),y3=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,b3=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,Th=3,w3=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",y3]],Rh=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function m3(t){return t?Nh(t):typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new g3:typeof navigator<"u"?Nh(navigator.userAgent):x3()}function v3(t){return t!==""&&w3.reduce(function(e,n){var r=n[0],i=n[1];if(e)return e;var s=i.exec(t);return!!s&&[r,s]},!1)}function Nh(t){var e=v3(t);if(!e)return null;var n=e[0],r=e[1];if(n==="searchbot")return new p3;var i=r[1]&&r[1].split(".").join("_").split("_").slice(0,3);i?i.length<Th&&(i=Ph(Ph([],i,!0),_3(Th-i.length),!0)):i=[];var s=i.join("."),o=E3(t),a=b3.exec(t);return a&&a[1]?new d3(n,s,o,a[1]):new f3(n,s,o)}function E3(t){for(var e=0,n=Rh.length;e<n;e++){var r=Rh[e],i=r[0],s=r[1],o=s.exec(t);if(o)return i}return null}function x3(){var t=typeof process<"u"&&process.version;return t?new h3(process.version.slice(1)):null}function _3(t){for(var e=[],n=0;n<t;n++)e.push("0");return e}var be={};Object.defineProperty(be,"__esModule",{value:!0}),be.getLocalStorage=be.getLocalStorageOrThrow=be.getCrypto=be.getCryptoOrThrow=Ch=be.getLocation=be.getLocationOrThrow=pc=be.getNavigator=be.getNavigatorOrThrow=Pr=be.getDocument=be.getDocumentOrThrow=be.getFromWindowOrThrow=be.getFromWindow=void 0;function $r(t){let e;return typeof window<"u"&&typeof window[t]<"u"&&(e=window[t]),e}be.getFromWindow=$r;function oi(t){const e=$r(t);if(!e)throw new Error(`${t} is not defined in Window`);return e}be.getFromWindowOrThrow=oi;function S3(){return oi("document")}be.getDocumentOrThrow=S3;function I3(){return $r("document")}var Pr=be.getDocument=I3;function A3(){return oi("navigator")}be.getNavigatorOrThrow=A3;function B3(){return $r("navigator")}var pc=be.getNavigator=B3;function O3(){return oi("location")}be.getLocationOrThrow=O3;function D3(){return $r("location")}var Ch=be.getLocation=D3;function $3(){return oi("crypto")}be.getCryptoOrThrow=$3;function P3(){return $r("crypto")}be.getCrypto=P3;function T3(){return oi("localStorage")}be.getLocalStorageOrThrow=T3;function R3(){return $r("localStorage")}be.getLocalStorage=R3;var gc={};Object.defineProperty(gc,"__esModule",{value:!0});var Uh=gc.getWindowMetadata=void 0;const Fh=be;function N3(){let t,e;try{t=Fh.getDocumentOrThrow(),e=Fh.getLocationOrThrow()}catch{return null}function n(){const f=t.getElementsByTagName("link"),d=[];for(let h=0;h<f.length;h++){const p=f[h],y=p.getAttribute("rel");if(y&&y.toLowerCase().indexOf("icon")>-1){const m=p.getAttribute("href");if(m)if(m.toLowerCase().indexOf("https:")===-1&&m.toLowerCase().indexOf("http:")===-1&&m.indexOf("//")!==0){let B=e.protocol+"//"+e.host;if(m.indexOf("/")===0)B+=m;else{const $=e.pathname.split("/");$.pop();const _=$.join("/");B+=_+"/"+m}d.push(B)}else if(m.indexOf("//")===0){const B=e.protocol+m;d.push(B)}else d.push(m)}}return d}function r(...f){const d=t.getElementsByTagName("meta");for(let h=0;h<d.length;h++){const p=d[h],y=["itemprop","property","name"].map(m=>p.getAttribute(m)).filter(m=>m?f.includes(m):!1);if(y.length&&y){const m=p.getAttribute("content");if(m)return m}}return""}function i(){let f=r("name","og:site_name","og:title","twitter:title");return f||(f=t.title),f}function s(){return r("description","og:description","twitter:description","keywords")}const o=i(),a=s(),c=e.origin,u=n();return{description:a,url:c,icons:u,name:o}}Uh=gc.getWindowMetadata=N3;const C3="0.1.1";function U3(){return C3}class ge extends Error{constructor(e,n={}){const r=(()=>{if(n.cause instanceof ge){if(n.cause.details)return n.cause.details;if(n.cause.shortMessage)return n.cause.shortMessage}return n.cause&&"details"in n.cause&&typeof n.cause.details=="string"?n.cause.details:n.cause?.message?n.cause.message:n.details})(),i=(()=>n.cause instanceof ge&&n.cause.docsPath||n.docsPath)(),o=`https://oxlib.sh${i??""}`,a=[e||"An error occurred.",...n.metaMessages?["",...n.metaMessages]:[],...r||i?["",r?`Details: ${r}`:void 0,i?`See: ${o}`:void 0]:[]].filter(c=>typeof c=="string").join(`
15
- `);super(a,n.cause?{cause:n.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:`ox@${U3()}`}),this.cause=n.cause,this.details=r,this.docs=o,this.docsPath=i,this.shortMessage=e}walk(e){return Lh(this,e)}}function Lh(t,e){return e?.(t)?t:t&&typeof t=="object"&&"cause"in t&&t.cause?Lh(t.cause,e):e?null:t}const ai=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function F3(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function ji(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function Tr(t,...e){if(!F3(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function L3(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");ji(t.outputLen),ji(t.blockLen)}function ci(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function kh(t,e){Tr(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function k3(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function zn(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function yc(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function tn(t,e){return t<<32-e|t>>>e}const q3=(()=>new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68)();function M3(t){return t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}function j3(t){for(let e=0;e<t.length;e++)t[e]=M3(t[e]);return t}const qh=q3?t=>t:j3;function z3(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function so(t){return typeof t=="string"&&(t=z3(t)),Tr(t),t}function H3(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];Tr(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}class bc{}function oo(t){const e=r=>t().update(so(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function Mh(t=32){if(ai&&typeof ai.getRandomValues=="function")return ai.getRandomValues(new Uint8Array(t));if(ai&&typeof ai.randomBytes=="function")return Uint8Array.from(ai.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}function V3(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}function K3(t,e,n){return t&e^~t&n}function G3(t,e,n){return t&e^t&n^e&n}class jh extends bc{constructor(e,n,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=yc(this.buffer)}update(e){ci(this),e=so(e),Tr(e);const{view:n,buffer:r,blockLen:i}=this,s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=yc(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){ci(this),kh(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,zn(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(r,0),o=0);for(let f=o;f<i;f++)n[f]=0;V3(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=yc(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=c/4,l=this.get();if(u>l.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f<u;f++)a.setUint32(4*f,l[f],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=s,e.length=i,e.pos=a,i%n&&e.buffer.set(r),e}clone(){return this._cloneInto()}}const yn=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Ge=Uint32Array.from([3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]),We=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),ao=BigInt(2**32-1),zh=BigInt(32);function W3(t,e=!1){return e?{h:Number(t&ao),l:Number(t>>zh&ao)}:{h:Number(t>>zh&ao)|0,l:Number(t&ao)|0}}function Hh(t,e=!1){const n=t.length;let r=new Uint32Array(n),i=new Uint32Array(n);for(let s=0;s<n;s++){const{h:o,l:a}=W3(t[s],e);[r[s],i[s]]=[o,a]}return[r,i]}const Vh=(t,e,n)=>t>>>n,Kh=(t,e,n)=>t<<32-n|e>>>n,ui=(t,e,n)=>t>>>n|e<<32-n,li=(t,e,n)=>t<<32-n|e>>>n,co=(t,e,n)=>t<<64-n|e>>>n-32,uo=(t,e,n)=>t>>>n-32|e<<64-n,Z3=(t,e,n)=>t<<n|e>>>32-n,Y3=(t,e,n)=>e<<n|t>>>32-n,X3=(t,e,n)=>e<<n-32|t>>>64-n,J3=(t,e,n)=>t<<n-32|e>>>64-n;function bn(t,e,n,r){const i=(e>>>0)+(r>>>0);return{h:t+n+(i/2**32|0)|0,l:i|0}}const Q3=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),eE=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,tE=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),nE=(t,e,n,r,i)=>e+n+r+i+(t/2**32|0)|0,rE=(t,e,n,r,i)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0),iE=(t,e,n,r,i,s)=>e+n+r+i+s+(t/2**32|0)|0,sE=BigInt(0),zi=BigInt(1),oE=BigInt(2),aE=BigInt(7),cE=BigInt(256),uE=BigInt(113),Gh=[],Wh=[],Zh=[];for(let t=0,e=zi,n=1,r=0;t<24;t++){[n,r]=[r,(2*n+3*r)%5],Gh.push(2*(5*r+n)),Wh.push((t+1)*(t+2)/2%64);let i=sE;for(let s=0;s<7;s++)e=(e<<zi^(e>>aE)*uE)%cE,e&oE&&(i^=zi<<(zi<<BigInt(s))-zi);Zh.push(i)}const Yh=Hh(Zh,!0),lE=Yh[0],fE=Yh[1],Xh=(t,e,n)=>n>32?X3(t,e,n):Z3(t,e,n),Jh=(t,e,n)=>n>32?J3(t,e,n):Y3(t,e,n);function hE(t,e=24){const n=new Uint32Array(10);for(let r=24-e;r<24;r++){for(let o=0;o<10;o++)n[o]=t[o]^t[o+10]^t[o+20]^t[o+30]^t[o+40];for(let o=0;o<10;o+=2){const a=(o+8)%10,c=(o+2)%10,u=n[c],l=n[c+1],f=Xh(u,l,1)^n[a],d=Jh(u,l,1)^n[a+1];for(let h=0;h<50;h+=10)t[o+h]^=f,t[o+h+1]^=d}let i=t[2],s=t[3];for(let o=0;o<24;o++){const a=Wh[o],c=Xh(i,s,a),u=Jh(i,s,a),l=Gh[o];i=t[l],s=t[l+1],t[l]=c,t[l+1]=u}for(let o=0;o<50;o+=10){for(let a=0;a<10;a++)n[a]=t[o+a];for(let a=0;a<10;a++)t[o+a]^=~n[(a+2)%10]&n[(a+4)%10]}t[0]^=lE[r],t[1]^=fE[r]}zn(n)}class wc extends bc{constructor(e,n,r,i=!1,s=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=n,this.outputLen=r,this.enableXOF=i,this.rounds=s,ji(r),!(0<e&&e<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=k3(this.state)}clone(){return this._cloneInto()}keccak(){qh(this.state32),hE(this.state32,this.rounds),qh(this.state32),this.posOut=0,this.pos=0}update(e){ci(this),e=so(e),Tr(e);const{blockLen:n,state:r}=this,i=e.length;for(let s=0;s<i;){const o=Math.min(n-this.pos,i-s);for(let a=0;a<o;a++)r[this.pos++]^=e[s++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:n,pos:r,blockLen:i}=this;e[r]^=n,n&128&&r===i-1&&this.keccak(),e[i-1]^=128,this.keccak()}writeInto(e){ci(this,!1),Tr(e),this.finish();const n=this.state,{blockLen:r}=this;for(let i=0,s=e.length;i<s;){this.posOut>=r&&this.keccak();const o=Math.min(r-this.posOut,s-i);e.set(n.subarray(this.posOut,this.posOut+o),i),this.posOut+=o,i+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return ji(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(kh(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,zn(this.state)}_cloneInto(e){const{blockLen:n,suffix:r,outputLen:i,rounds:s,enableXOF:o}=this;return e||(e=new wc(n,r,i,o,s)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=s,e.suffix=r,e.outputLen=i,e.enableXOF=o,e.destroyed=this.destroyed,e}}const dE=(t,e,n)=>oo(()=>new wc(e,t,n)),pE=(()=>dE(1,136,256/8))(),gE=Uint32Array.from([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]),Hn=new Uint32Array(64);class yE extends jh{constructor(e=32){super(64,e,8,!1),this.A=yn[0]|0,this.B=yn[1]|0,this.C=yn[2]|0,this.D=yn[3]|0,this.E=yn[4]|0,this.F=yn[5]|0,this.G=yn[6]|0,this.H=yn[7]|0}get(){const{A:e,B:n,C:r,D:i,E:s,F:o,G:a,H:c}=this;return[e,n,r,i,s,o,a,c]}set(e,n,r,i,s,o,a,c){this.A=e|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=s|0,this.F=o|0,this.G=a|0,this.H=c|0}process(e,n){for(let f=0;f<16;f++,n+=4)Hn[f]=e.getUint32(n,!1);for(let f=16;f<64;f++){const d=Hn[f-15],h=Hn[f-2],p=tn(d,7)^tn(d,18)^d>>>3,y=tn(h,17)^tn(h,19)^h>>>10;Hn[f]=y+Hn[f-7]+p+Hn[f-16]|0}let{A:r,B:i,C:s,D:o,E:a,F:c,G:u,H:l}=this;for(let f=0;f<64;f++){const d=tn(a,6)^tn(a,11)^tn(a,25),h=l+d+K3(a,c,u)+gE[f]+Hn[f]|0,y=(tn(r,2)^tn(r,13)^tn(r,22))+G3(r,i,s)|0;l=u,u=c,c=a,a=o+h|0,o=s,s=i,i=r,r=h+y|0}r=r+this.A|0,i=i+this.B|0,s=s+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,u=u+this.G|0,l=l+this.H|0,this.set(r,i,s,o,a,c,u,l)}roundClean(){zn(Hn)}destroy(){this.set(0,0,0,0,0,0,0,0),zn(this.buffer)}}const Qh=(()=>Hh(["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(t=>BigInt(t))))(),bE=(()=>Qh[0])(),wE=(()=>Qh[1])(),Vn=new Uint32Array(80),Kn=new Uint32Array(80);class ed extends jh{constructor(e=64){super(128,e,16,!1),this.Ah=We[0]|0,this.Al=We[1]|0,this.Bh=We[2]|0,this.Bl=We[3]|0,this.Ch=We[4]|0,this.Cl=We[5]|0,this.Dh=We[6]|0,this.Dl=We[7]|0,this.Eh=We[8]|0,this.El=We[9]|0,this.Fh=We[10]|0,this.Fl=We[11]|0,this.Gh=We[12]|0,this.Gl=We[13]|0,this.Hh=We[14]|0,this.Hl=We[15]|0}get(){const{Ah:e,Al:n,Bh:r,Bl:i,Ch:s,Cl:o,Dh:a,Dl:c,Eh:u,El:l,Fh:f,Fl:d,Gh:h,Gl:p,Hh:y,Hl:m}=this;return[e,n,r,i,s,o,a,c,u,l,f,d,h,p,y,m]}set(e,n,r,i,s,o,a,c,u,l,f,d,h,p,y,m){this.Ah=e|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=c|0,this.Eh=u|0,this.El=l|0,this.Fh=f|0,this.Fl=d|0,this.Gh=h|0,this.Gl=p|0,this.Hh=y|0,this.Hl=m|0}process(e,n){for(let _=0;_<16;_++,n+=4)Vn[_]=e.getUint32(n),Kn[_]=e.getUint32(n+=4);for(let _=16;_<80;_++){const x=Vn[_-15]|0,P=Kn[_-15]|0,R=ui(x,P,1)^ui(x,P,8)^Vh(x,P,7),U=li(x,P,1)^li(x,P,8)^Kh(x,P,7),F=Vn[_-2]|0,D=Kn[_-2]|0,j=ui(F,D,19)^co(F,D,61)^Vh(F,D,6),M=li(F,D,19)^uo(F,D,61)^Kh(F,D,6),E=tE(U,M,Kn[_-7],Kn[_-16]),b=nE(E,R,j,Vn[_-7],Vn[_-16]);Vn[_]=b|0,Kn[_]=E|0}let{Ah:r,Al:i,Bh:s,Bl:o,Ch:a,Cl:c,Dh:u,Dl:l,Eh:f,El:d,Fh:h,Fl:p,Gh:y,Gl:m,Hh:B,Hl:$}=this;for(let _=0;_<80;_++){const x=ui(f,d,14)^ui(f,d,18)^co(f,d,41),P=li(f,d,14)^li(f,d,18)^uo(f,d,41),R=f&h^~f&y,U=d&p^~d&m,F=rE($,P,U,wE[_],Kn[_]),D=iE(F,B,x,R,bE[_],Vn[_]),j=F|0,M=ui(r,i,28)^co(r,i,34)^co(r,i,39),E=li(r,i,28)^uo(r,i,34)^uo(r,i,39),b=r&s^r&a^s&a,v=i&o^i&c^o&c;B=y|0,$=m|0,y=h|0,m=p|0,h=f|0,p=d|0,{h:f,l:d}=bn(u|0,l|0,D|0,j|0),u=a|0,l=c|0,a=s|0,c=o|0,s=r|0,o=i|0;const g=Q3(j,E,v);r=eE(g,D,M,b),i=g|0}({h:r,l:i}=bn(this.Ah|0,this.Al|0,r|0,i|0)),{h:s,l:o}=bn(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l:c}=bn(this.Ch|0,this.Cl|0,a|0,c|0),{h:u,l}=bn(this.Dh|0,this.Dl|0,u|0,l|0),{h:f,l:d}=bn(this.Eh|0,this.El|0,f|0,d|0),{h,l:p}=bn(this.Fh|0,this.Fl|0,h|0,p|0),{h:y,l:m}=bn(this.Gh|0,this.Gl|0,y|0,m|0),{h:B,l:$}=bn(this.Hh|0,this.Hl|0,B|0,$|0),this.set(r,i,s,o,a,c,u,l,f,d,h,p,y,m,B,$)}roundClean(){zn(Vn,Kn)}destroy(){zn(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class mE extends ed{constructor(){super(48),this.Ah=Ge[0]|0,this.Al=Ge[1]|0,this.Bh=Ge[2]|0,this.Bl=Ge[3]|0,this.Ch=Ge[4]|0,this.Cl=Ge[5]|0,this.Dh=Ge[6]|0,this.Dl=Ge[7]|0,this.Eh=Ge[8]|0,this.El=Ge[9]|0,this.Fh=Ge[10]|0,this.Fl=Ge[11]|0,this.Gh=Ge[12]|0,this.Gl=Ge[13]|0,this.Hh=Ge[14]|0,this.Hl=Ge[15]|0}}const lo=oo(()=>new yE),vE=oo(()=>new ed),EE=oo(()=>new mE);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const mc=BigInt(0),fo=BigInt(1);function Hi(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Gn(t){if(!Hi(t))throw new Error("Uint8Array expected")}function Vi(t,e){if(typeof e!="boolean")throw new Error(t+" boolean expected, got "+e)}function ho(t){const e=t.toString(16);return e.length&1?"0"+e:e}function td(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?mc:BigInt("0x"+t)}const nd=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",xE=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function Rr(t){if(Gn(t),nd)return t.toHex();let e="";for(let n=0;n<t.length;n++)e+=xE[t[n]];return e}const wn={_0:48,_9:57,A:65,F:70,a:97,f:102};function rd(t){if(t>=wn._0&&t<=wn._9)return t-wn._0;if(t>=wn.A&&t<=wn.F)return t-(wn.A-10);if(t>=wn.a&&t<=wn.f)return t-(wn.a-10)}function po(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(nd)return Uint8Array.fromHex(t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=rd(t.charCodeAt(s)),a=rd(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function rt(t){return td(Rr(t))}function id(t){return Gn(t),td(Rr(Uint8Array.from(t).reverse()))}function Oe(t,e){return po(t.toString(16).padStart(e*2,"0"))}function sd(t,e){return Oe(t,e).reverse()}function Ze(t,e,n){let r;if(typeof e=="string")try{r=po(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(Hi(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}function _e(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];Gn(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}function vc(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}const Ec=t=>typeof t=="bigint"&&mc<=t;function xc(t,e,n){return Ec(t)&&Ec(e)&&Ec(n)&&e<=t&&t<n}function fi(t,e,n,r){if(!xc(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function Ki(t){let e;for(e=0;t>mc;t>>=fo,e+=1);return e}function _E(t,e){return t>>BigInt(e)&fo}const Nr=t=>(fo<<BigInt(t))-fo,_c=t=>new Uint8Array(t),od=t=>Uint8Array.from(t);function SE(t,e,n){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");let r=_c(t),i=_c(t),s=0;const o=()=>{r.fill(1),i.fill(0),s=0},a=(...f)=>n(i,r,...f),c=(f=_c(0))=>{i=a(od([0]),f),r=a(),f.length!==0&&(i=a(od([1]),f),r=a())},u=()=>{if(s++>=1e3)throw new Error("drbg: tried 1000 values");let f=0;const d=[];for(;f<e;){r=a();const h=r.slice();d.push(h),f+=r.length}return _e(...d)};return(f,d)=>{o(),c(f);let h;for(;!(h=d(u()));)c();return o(),h}}const IE={bigint:t=>typeof t=="bigint",function:t=>typeof t=="function",boolean:t=>typeof t=="boolean",string:t=>typeof t=="string",stringOrUint8Array:t=>typeof t=="string"||Hi(t),isSafeInteger:t=>Number.isSafeInteger(t),array:t=>Array.isArray(t),field:(t,e)=>e.Fp.isValid(t),hash:t=>typeof t=="function"&&Number.isSafeInteger(t.outputLen)};function Gi(t,e,n={}){const r=(i,s,o)=>{const a=IE[s];if(typeof a!="function")throw new Error("invalid validator function");const c=t[i];if(!(o&&c===void 0)&&!a(c,t))throw new Error("param "+String(i)+" is invalid. Expected "+s+", got "+c)};for(const[i,s]of Object.entries(e))r(i,s,!1);for(const[i,s]of Object.entries(n))r(i,s,!0);return t}const ad=()=>{throw new Error("not implemented")};function Sc(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}function AE(t,e){if(dd(t)>e)throw new WE({givenSize:dd(t),maxSize:e})}const mn={zero:48,nine:57,A:65,F:70,a:97,f:102};function cd(t){if(t>=mn.zero&&t<=mn.nine)return t-mn.zero;if(t>=mn.A&&t<=mn.F)return t-(mn.A-10);if(t>=mn.a&&t<=mn.f)return t-(mn.a-10)}function BE(t,e={}){const{dir:n,size:r=32}=e;if(r===0)return t;if(t.length>r)throw new ZE({size:t.length,targetSize:r,type:"Bytes"});const i=new Uint8Array(r);for(let s=0;s<r;s++){const o=n==="right";i[o?s:r-s-1]=t[o?s:t.length-s-1]}return i}function Ic(t,e){if(En(t)>e)throw new LE({givenSize:En(t),maxSize:e})}function OE(t,e){if(typeof e=="number"&&e>0&&e>En(t)-1)throw new hd({offset:e,position:"start",size:En(t)})}function DE(t,e,n){if(typeof e=="number"&&typeof n=="number"&&En(t)!==n-e)throw new hd({offset:n,position:"end",size:En(t)})}function ud(t,e={}){const{dir:n,size:r=32}=e;if(r===0)return t;const i=t.replace("0x","");if(i.length>r*2)throw new kE({size:Math.ceil(i.length/2),targetSize:r,type:"Hex"});return`0x${i[n==="right"?"padEnd":"padStart"](r*2,"0")}`}const $E="#__bigint";function Ac(t,e,n){return JSON.stringify(t,(r,i)=>typeof e=="function"?e(r,i):typeof i=="bigint"?i.toString()+$E:i,n)}const PE=new TextEncoder,TE=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function RE(t,e={}){const{strict:n=!1}=e;if(!t)throw new ld(t);if(typeof t!="string")throw new ld(t);if(n&&!/^0x[0-9a-fA-F]*$/.test(t))throw new fd(t);if(!t.startsWith("0x"))throw new fd(t)}function Bc(...t){return`0x${t.reduce((e,n)=>e+n.replace("0x",""),"")}`}function Oc(t){return t instanceof Uint8Array?Wi(t):Array.isArray(t)?Wi(new Uint8Array(t)):t}function NE(t,e={}){const n=`0x${Number(t)}`;return typeof e.size=="number"?(Ic(n,e.size),yo(n,e.size)):n}function Wi(t,e={}){let n="";for(let i=0;i<t.length;i++)n+=TE[t[i]];const r=`0x${n}`;return typeof e.size=="number"?(Ic(r,e.size),Dc(r,e.size)):r}function go(t,e={}){const{signed:n,size:r}=e,i=BigInt(t);let s;r?n?s=(1n<<BigInt(r)*8n-1n)-1n:s=2n**(BigInt(r)*8n)-1n:typeof t=="number"&&(s=BigInt(Number.MAX_SAFE_INTEGER));const o=typeof s=="bigint"&&n?-s-1n:0;if(s&&i>s||i<o){const u=typeof t=="bigint"?"n":"";throw new FE({max:s?`${s}${u}`:void 0,min:`${o}${u}`,signed:n,size:r,value:`${t}${u}`})}const c=`0x${(n&&i<0?(1n<<BigInt(r*8))+BigInt(i):i).toString(16)}`;return r?yo(c,r):c}function CE(t,e={}){return Wi(PE.encode(t),e)}function yo(t,e){return ud(t,{dir:"left",size:e})}function Dc(t,e){return ud(t,{dir:"right",size:e})}function vn(t,e,n,r={}){const{strict:i}=r;OE(t,e);const s=`0x${t.replace("0x","").slice((e??0)*2,(n??t.length)*2)}`;return i&&DE(s,e,n),s}function En(t){return Math.ceil((t.length-2)/2)}function UE(t,e={}){const{strict:n=!1}=e;try{return RE(t,{strict:n}),!0}catch{return!1}}class FE extends ge{constructor({max:e,min:n,signed:r,size:i,value:s}){super(`Number \`${s}\` is not in safe${i?` ${i*8}-bit`:""}${r?" signed":" unsigned"} integer range ${e?`(\`${n}\` to \`${e}\`)`:`(above \`${n}\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}}class ld extends ge{constructor(e){super(`Value \`${typeof e=="object"?Ac(e):e}\` of type \`${typeof e}\` is an invalid hex type.`,{metaMessages:['Hex types must be represented as `"0x${string}"`.']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class fd extends ge{constructor(e){super(`Value \`${e}\` is an invalid hex value.`,{metaMessages:['Hex values must start with `"0x"` and contain only hexadecimal characters (0-9, a-f, A-F).']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexValueError"})}}class LE extends ge{constructor({givenSize:e,maxSize:n}){super(`Size cannot exceed \`${n}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeOverflowError"})}}class hd extends ge{constructor({offset:e,position:n,size:r}){super(`Slice ${n==="start"?"starting":"ending"} at offset \`${e}\` is out-of-bounds (size: \`${r}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}}class kE extends ge{constructor({size:e,targetSize:n,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}}const qE=new TextEncoder;function ME(t){if(!(t instanceof Uint8Array)){if(!t)throw new bo(t);if(typeof t!="object")throw new bo(t);if(!("BYTES_PER_ELEMENT"in t))throw new bo(t);if(t.BYTES_PER_ELEMENT!==1||t.constructor.name!=="Uint8Array")throw new bo(t)}}function jE(t){return t instanceof Uint8Array?t:typeof t=="string"?HE(t):zE(t)}function zE(t){return t instanceof Uint8Array?t:new Uint8Array(t)}function HE(t,e={}){const{size:n}=e;let r=t;n&&(Ic(t,n),r=Dc(t,n));let i=r.slice(2);i.length%2&&(i=`0${i}`);const s=i.length/2,o=new Uint8Array(s);for(let a=0,c=0;a<s;a++){const u=cd(i.charCodeAt(c++)),l=cd(i.charCodeAt(c++));if(u===void 0||l===void 0)throw new ge(`Invalid byte sequence ("${i[c-2]}${i[c-1]}" in "${i}").`);o[a]=u*16+l}return o}function VE(t,e={}){const{size:n}=e,r=qE.encode(t);return typeof n=="number"?(AE(r,n),KE(r,n)):r}function KE(t,e){return BE(t,{dir:"right",size:e})}function dd(t){return t.length}function GE(t){try{return ME(t),!0}catch{return!1}}class bo extends ge{constructor(e){super(`Value \`${typeof e=="object"?Ac(e):e}\` of type \`${typeof e}\` is an invalid Bytes value.`,{metaMessages:["Bytes values must be of type `Bytes`."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.InvalidBytesTypeError"})}}class WE extends ge{constructor({givenSize:e,maxSize:n}){super(`Size cannot exceed \`${n}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeOverflowError"})}}class ZE extends ge{constructor({size:e,targetSize:n,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeExceedsPaddingSizeError"})}}function pd(t,e={}){const{as:n=typeof t=="string"?"Hex":"Bytes"}=e,r=pE(jE(t));return n==="Bytes"?r:Wi(r)}class YE extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){const n=super.get(e);return super.has(e)&&n!==void 0&&(this.delete(e),super.set(e,n)),n}set(e,n){if(super.set(e,n),this.maxSize&&this.size>this.maxSize){const r=this.keys().next().value;r&&this.delete(r)}return this}}const $c={checksum:new YE(8192)}.checksum;function gd(t,e={}){const{compressed:n}=e,{prefix:r,x:i,y:s}=t;if(n===!1||typeof i=="bigint"&&typeof s=="bigint"){if(r!==4)throw new bd({prefix:r,cause:new n8});return}if(n===!0||typeof i=="bigint"&&typeof s>"u"){if(r!==3&&r!==2)throw new bd({prefix:r,cause:new t8});return}throw new e8({publicKey:t})}function XE(t){const e=(()=>{if(UE(t))return yd(t);if(GE(t))return JE(t);const{prefix:n,x:r,y:i}=t;return typeof r=="bigint"&&typeof i=="bigint"?{prefix:n??4,x:r,y:i}:{prefix:n,x:r}})();return gd(e),e}function JE(t){return yd(Wi(t))}function yd(t){if(t.length!==132&&t.length!==130&&t.length!==68)throw new r8({publicKey:t});if(t.length===130){const r=BigInt(vn(t,0,32)),i=BigInt(vn(t,32,64));return{prefix:4,x:r,y:i}}if(t.length===132){const r=Number(vn(t,0,1)),i=BigInt(vn(t,1,33)),s=BigInt(vn(t,33,65));return{prefix:r,x:i,y:s}}const e=Number(vn(t,0,1)),n=BigInt(vn(t,1,33));return{prefix:e,x:n}}function QE(t,e={}){gd(t);const{prefix:n,x:r,y:i}=t,{includePrefix:s=!0}=e;return Bc(s?go(n,{size:1}):"0x",go(r,{size:32}),typeof i=="bigint"?go(i,{size:32}):"0x")}class e8 extends ge{constructor({publicKey:e}){super(`Value \`${Ac(e)}\` is not a valid public key.`,{metaMessages:["Public key must contain:","- an `x` and `prefix` value (compressed)","- an `x`, `y`, and `prefix` value (uncompressed)"]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidError"})}}class bd extends ge{constructor({prefix:e,cause:n}){super(`Prefix "${e}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidPrefixError"})}}class t8 extends ge{constructor(){super("Prefix must be 2 or 3 for compressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidCompressedPrefixError"})}}class n8 extends ge{constructor(){super("Prefix must be 4 for uncompressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidUncompressedPrefixError"})}}class r8 extends ge{constructor({publicKey:e}){super(`Value \`${e}\` is an invalid public key size.`,{metaMessages:["Expected: 33 bytes (compressed + prefix), 64 bytes (uncompressed) or 65 bytes (uncompressed + prefix).",`Received ${En(Oc(e))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidSerializedSizeError"})}}const i8=/^0x[a-fA-F0-9]{40}$/;function Pc(t,e={}){const{strict:n=!0}=e;if(!i8.test(t))throw new md({address:t,cause:new a8});if(n){if(t.toLowerCase()===t)return;if(wd(t)!==t)throw new md({address:t,cause:new c8})}}function wd(t){if($c.has(t))return $c.get(t);Pc(t,{strict:!1});const e=t.substring(2).toLowerCase(),n=pd(VE(e),{as:"Bytes"}),r=e.split("");for(let s=0;s<40;s+=2)n[s>>1]>>4>=8&&r[s]&&(r[s]=r[s].toUpperCase()),(n[s>>1]&15)>=8&&r[s+1]&&(r[s+1]=r[s+1].toUpperCase());const i=`0x${r.join("")}`;return $c.set(t,i),i}function s8(t,e={}){const{checksum:n=!1}=e;return Pc(t),n?wd(t):t}function o8(t,e={}){const n=pd(`0x${QE(t).slice(4)}`).substring(26);return s8(`0x${n}`,e)}class md extends ge{constructor({address:e,cause:n}){super(`Address "${e}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidAddressError"})}}class a8 extends ge{constructor(){super("Address is not a 20 byte (40 hexadecimal character) value."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidInputError"})}}class c8 extends ge{constructor(){super("Address does not match its checksum counterpart."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidChecksumError"})}}const u8=/^(.*)\[([0-9]*)\]$/,l8=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,f8=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;function Tc(t,e){if(t.length!==e.length)throw new d8({expectedLength:t.length,givenLength:e.length});const n=[];for(let r=0;r<t.length;r++){const i=t[r],s=e[r];n.push(Tc.encode(i,s))}return Bc(...n)}(function(t){function e(n,r,i=!1){if(n==="address"){const c=r;return Pc(c),yo(c.toLowerCase(),i?32:0)}if(n==="string")return CE(r);if(n==="bytes")return r;if(n==="bool")return yo(NE(r),i?32:1);const s=n.match(f8);if(s){const[c,u,l="256"]=s,f=Number.parseInt(l,10)/8;return go(r,{size:i?32:f,signed:u==="int"})}const o=n.match(l8);if(o){const[c,u]=o;if(Number.parseInt(u,10)!==(r.length-2)/2)throw new h8({expectedSize:Number.parseInt(u,10),value:r});return Dc(r,i?32:0)}const a=n.match(u8);if(a&&Array.isArray(r)){const[c,u]=a,l=[];for(let f=0;f<r.length;f++)l.push(e(u,r[f],!0));return l.length===0?"0x":Bc(...l)}throw new p8(n)}t.encode=e})(Tc||(Tc={}));class h8 extends ge{constructor({expectedSize:e,value:n}){super(`Size of bytes "${n}" (bytes${En(n)}) does not match expected size (bytes${e}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.BytesSizeMismatchError"})}}class d8 extends ge{constructor({expectedLength:e,givenLength:n}){super(["ABI encoding parameters/values length mismatch.",`Expected length (parameters): ${e}`,`Given length (values): ${n}`].join(`
16
- `)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.LengthMismatchError"})}}class p8 extends ge{constructor(e){super(`Type \`${e}\` is not a valid ABI Type.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidTypeError"})}}class vd extends bc{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,L3(e);const r=so(n);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;const i=this.blockLen,s=new Uint8Array(i);s.set(r.length>i?e.create().update(r).digest():r);for(let o=0;o<s.length;o++)s[o]^=54;this.iHash.update(s),this.oHash=e.create();for(let o=0;o<s.length;o++)s[o]^=106;this.oHash.update(s),zn(s)}update(e){return ci(this),this.iHash.update(e),this}digestInto(e){ci(this),Tr(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:r,finished:i,destroyed:s,blockLen:o,outputLen:a}=this;return e=e,e.finished=i,e.destroyed=s,e.blockLen=o,e.outputLen=a,e.oHash=n._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const Ed=(t,e,n)=>new vd(t,e).update(n).digest();Ed.create=(t,e)=>new vd(t,e);const dt=BigInt(0),it=BigInt(1),Cr=BigInt(2),g8=BigInt(3),xd=BigInt(4),_d=BigInt(5),Sd=BigInt(8);function st(t,e){const n=t%e;return n>=dt?n:e+n}function Pt(t,e,n){let r=t;for(;e-- >dt;)r*=r,r%=n;return r}function Rc(t,e){if(t===dt)throw new Error("invert: expected non-zero number");if(e<=dt)throw new Error("invert: expected positive modulus, got "+e);let n=st(t,e),r=e,i=dt,s=it;for(;n!==dt;){const a=r/n,c=r%n,u=i-s*a;r=n,n=c,i=s,s=u}if(r!==it)throw new Error("invert: does not exist");return st(i,e)}function Id(t,e){const n=(t.ORDER+it)/xd,r=t.pow(e,n);if(!t.eql(t.sqr(r),e))throw new Error("Cannot find square root");return r}function y8(t,e){const n=(t.ORDER-_d)/Sd,r=t.mul(e,Cr),i=t.pow(r,n),s=t.mul(e,i),o=t.mul(t.mul(s,Cr),i),a=t.mul(s,t.sub(o,t.ONE));if(!t.eql(t.sqr(a),e))throw new Error("Cannot find square root");return a}function b8(t){if(t<BigInt(3))throw new Error("sqrt is not defined for small field");let e=t-it,n=0;for(;e%Cr===dt;)e/=Cr,n++;let r=Cr;const i=Wn(t);for(;mo(i,r)===1;)if(r++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return Id;let s=i.pow(r,e);const o=(e+it)/Cr;return function(c,u){if(c.is0(u))return u;if(mo(c,u)!==1)throw new Error("Cannot find square root");let l=n,f=c.mul(c.ONE,s),d=c.pow(u,e),h=c.pow(u,o);for(;!c.eql(d,c.ONE);){if(c.is0(d))return c.ZERO;let p=1,y=c.sqr(d);for(;!c.eql(y,c.ONE);)if(p++,y=c.sqr(y),p===l)throw new Error("Cannot find square root");const m=it<<BigInt(l-p-1),B=c.pow(f,m);l=p,f=c.sqr(B),d=c.mul(d,f),h=c.mul(h,B)}return h}}function w8(t){return t%xd===g8?Id:t%Sd===_d?y8:b8(t)}const m8=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Ad(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},n=m8.reduce((r,i)=>(r[i]="function",r),e);return Gi(t,n)}function wo(t,e,n){if(n<dt)throw new Error("invalid exponent, negatives unsupported");if(n===dt)return t.ONE;if(n===it)return e;let r=t.ONE,i=e;for(;n>dt;)n&it&&(r=t.mul(r,i)),i=t.sqr(i),n>>=it;return r}function Ur(t,e,n=!1){const r=new Array(e.length).fill(n?t.ZERO:void 0),i=e.reduce((o,a,c)=>t.is0(a)?o:(r[c]=o,t.mul(o,a)),t.ONE),s=t.inv(i);return e.reduceRight((o,a,c)=>t.is0(a)?o:(r[c]=t.mul(o,r[c]),t.mul(o,a)),s),r}function mo(t,e){const n=(t.ORDER-it)/Cr,r=t.pow(e,n),i=t.eql(r,t.ONE),s=t.eql(r,t.ZERO),o=t.eql(r,t.neg(t.ONE));if(!i&&!s&&!o)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function Bd(t,e){e!==void 0&&ji(e);const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function Wn(t,e,n=!1,r={}){if(t<=dt)throw new Error("invalid field: expected ORDER > 0, got "+t);const{nBitLength:i,nByteLength:s}=Bd(t,e);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let o;const a=Object.freeze({ORDER:t,isLE:n,BITS:i,BYTES:s,MASK:Nr(i),ZERO:dt,ONE:it,create:c=>st(c,t),isValid:c=>{if(typeof c!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof c);return dt<=c&&c<t},is0:c=>c===dt,isOdd:c=>(c&it)===it,neg:c=>st(-c,t),eql:(c,u)=>c===u,sqr:c=>st(c*c,t),add:(c,u)=>st(c+u,t),sub:(c,u)=>st(c-u,t),mul:(c,u)=>st(c*u,t),pow:(c,u)=>wo(a,c,u),div:(c,u)=>st(c*Rc(u,t),t),sqrN:c=>c*c,addN:(c,u)=>c+u,subN:(c,u)=>c-u,mulN:(c,u)=>c*u,inv:c=>Rc(c,t),sqrt:r.sqrt||(c=>(o||(o=w8(t)),o(a,c))),toBytes:c=>n?sd(c,s):Oe(c,s),fromBytes:c=>{if(c.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+c.length);return n?id(c):rt(c)},invertBatch:c=>Ur(a,c),cmov:(c,u,l)=>l?u:c});return Object.freeze(a)}function Od(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const e=t.toString(2).length;return Math.ceil(e/8)}function Nc(t){const e=Od(t);return e+Math.ceil(e/2)}function Dd(t,e,n=!1){const r=t.length,i=Od(e),s=Nc(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const o=n?id(t):rt(t),a=st(o,e-it)+it;return n?sd(a,i):Oe(a,i)}const $d=BigInt(0),Cc=BigInt(1);function Uc(t,e){const n=e.negate();return t?n:e}function Pd(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function Fc(t,e){Pd(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1),i=2**t,s=Nr(t),o=BigInt(t);return{windows:n,windowSize:r,mask:s,maxNumber:i,shiftBy:o}}function Td(t,e,n){const{windowSize:r,mask:i,maxNumber:s,shiftBy:o}=n;let a=Number(t&i),c=t>>o;a>r&&(a-=s,c+=Cc);const u=e*r,l=u+Math.abs(a)-1,f=a===0,d=a<0,h=e%2!==0;return{nextN:c,offset:l,isZero:f,isNeg:d,isNegF:h,offsetF:u}}function v8(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function E8(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const Lc=new WeakMap,Rd=new WeakMap;function kc(t){return Rd.get(t)||1}function x8(t,e){return{constTimeNegate:Uc,hasPrecomputes(n){return kc(n)!==1},unsafeLadder(n,r,i=t.ZERO){let s=n;for(;r>$d;)r&Cc&&(i=i.add(s)),s=s.double(),r>>=Cc;return i},precomputeWindow(n,r){const{windows:i,windowSize:s}=Fc(r,e),o=[];let a=n,c=a;for(let u=0;u<i;u++){c=a,o.push(c);for(let l=1;l<s;l++)c=c.add(a),o.push(c);a=c.double()}return o},wNAF(n,r,i){let s=t.ZERO,o=t.BASE;const a=Fc(n,e);for(let c=0;c<a.windows;c++){const{nextN:u,offset:l,isZero:f,isNeg:d,isNegF:h,offsetF:p}=Td(i,c,a);i=u,f?o=o.add(Uc(h,r[p])):s=s.add(Uc(d,r[l]))}return{p:s,f:o}},wNAFUnsafe(n,r,i,s=t.ZERO){const o=Fc(n,e);for(let a=0;a<o.windows&&i!==$d;a++){const{nextN:c,offset:u,isZero:l,isNeg:f}=Td(i,a,o);if(i=c,!l){const d=r[u];s=s.add(f?d.negate():d)}}return s},getPrecomputes(n,r,i){let s=Lc.get(r);return s||(s=this.precomputeWindow(r,n),n!==1&&Lc.set(r,i(s))),s},wNAFCached(n,r,i){const s=kc(n);return this.wNAF(s,this.getPrecomputes(s,n,i),r)},wNAFCachedUnsafe(n,r,i,s){const o=kc(n);return o===1?this.unsafeLadder(n,r,s):this.wNAFUnsafe(o,this.getPrecomputes(o,n,i),r,s)},setWindowSize(n,r){Pd(r,e),Rd.set(n,r),Lc.delete(n)}}}function _8(t,e,n,r){v8(n,t),E8(r,e);const i=n.length,s=r.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const o=t.ZERO,a=Ki(BigInt(i));let c=1;a>12?c=a-3:a>4?c=a-2:a>0&&(c=2);const u=Nr(c),l=new Array(Number(u)+1).fill(o),f=Math.floor((e.BITS-1)/c)*c;let d=o;for(let h=f;h>=0;h-=c){l.fill(o);for(let y=0;y<s;y++){const m=r[y],B=Number(m>>BigInt(h)&u);l[B]=l[B].add(n[y])}let p=o;for(let y=l.length-1,m=o;y>0;y--)m=m.add(l[y]),p=p.add(m);if(d=d.add(p),h!==0)for(let y=0;y<c;y++)d=d.double()}return d}function Nd(t){return Ad(t.Fp),Gi(t,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...Bd(t.n,t.nBitLength),...t,p:t.Fp.ORDER})}function Cd(t){t.lowS!==void 0&&Vi("lowS",t.lowS),t.prehash!==void 0&&Vi("prehash",t.prehash)}function S8(t){const e=Nd(t);Gi(e,{a:"field",b:"field"},{allowInfinityPoint:"boolean",allowedPrivateKeyLengths:"array",clearCofactor:"function",fromBytes:"function",isTorsionFree:"function",toBytes:"function",wrapPrivateKey:"boolean"});const{endo:n,Fp:r,a:i}=e;if(n){if(!r.eql(i,r.ZERO))throw new Error("invalid endo: CURVE.a must be 0");if(typeof n!="object"||typeof n.beta!="bigint"||typeof n.splitScalar!="function")throw new Error('invalid endo: expected "beta": bigint and "splitScalar": function')}return Object.freeze({...e})}class I8 extends Error{constructor(e=""){super(e)}}const xn={Err:I8,_tlv:{encode:(t,e)=>{const{Err:n}=xn;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length&1)throw new n("tlv.encode: unpadded data");const r=e.length/2,i=ho(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const s=r>127?ho(i.length/2|128):"";return ho(t)+s+i+e},decode(t,e){const{Err:n}=xn;let r=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length<2||e[r++]!==t)throw new n("tlv.decode: wrong tlv");const i=e[r++],s=!!(i&128);let o=0;if(!s)o=i;else{const c=i&127;if(!c)throw new n("tlv.decode(long): indefinite length not supported");if(c>4)throw new n("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+c);if(u.length!==c)throw new n("tlv.decode: length bytes not complete");if(u[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const l of u)o=o<<8|l;if(r+=c,o<128)throw new n("tlv.decode(long): not minimal encoding")}const a=e.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:e.subarray(r+o)}}},_int:{encode(t){const{Err:e}=xn;if(t<zt)throw new e("integer: negative integers are not allowed");let n=ho(t);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return n},decode(t){const{Err:e}=xn;if(t[0]&128)throw new e("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return rt(t)}},toSig(t){const{Err:e,_int:n,_tlv:r}=xn,i=Ze("signature",t),{v:s,l:o}=r.decode(48,i);if(o.length)throw new e("invalid signature: left bytes after parsing");const{v:a,l:c}=r.decode(2,s),{v:u,l}=r.decode(2,c);if(l.length)throw new e("invalid signature: left bytes after parsing");return{r:n.decode(a),s:n.decode(u)}},hexFromSig(t){const{_tlv:e,_int:n}=xn,r=e.encode(2,n.encode(t.r)),i=e.encode(2,n.encode(t.s)),s=r+i;return e.encode(48,s)}};function qc(t,e){return Rr(Oe(t,e))}const zt=BigInt(0),pe=BigInt(1),Zn=BigInt(2),Zi=BigInt(3),Mc=BigInt(4);function jc(t){const e=S8(t),{Fp:n}=e,r=Wn(e.n,e.nBitLength),i=e.toBytes||((_,x,P)=>{const R=x.toAffine();return _e(Uint8Array.from([4]),n.toBytes(R.x),n.toBytes(R.y))}),s=e.fromBytes||(_=>{const x=_.subarray(1),P=n.fromBytes(x.subarray(0,n.BYTES)),R=n.fromBytes(x.subarray(n.BYTES,2*n.BYTES));return{x:P,y:R}});function o(_){const{a:x,b:P}=e,R=n.sqr(_),U=n.mul(R,_);return n.add(n.add(U,n.mul(_,x)),P)}function a(_,x){const P=n.sqr(x),R=o(_);return n.eql(P,R)}if(!a(e.Gx,e.Gy))throw new Error("bad curve params: generator point");const c=n.mul(n.pow(e.a,Zi),Mc),u=n.mul(n.sqr(e.b),BigInt(27));if(n.is0(n.add(c,u)))throw new Error("bad curve params: a or b");function l(_){return xc(_,pe,e.n)}function f(_){const{allowedPrivateKeyLengths:x,nByteLength:P,wrapPrivateKey:R,n:U}=e;if(x&&typeof _!="bigint"){if(Hi(_)&&(_=Rr(_)),typeof _!="string"||!x.includes(_.length))throw new Error("invalid private key");_=_.padStart(P*2,"0")}let F;try{F=typeof _=="bigint"?_:rt(Ze("private key",_,P))}catch{throw new Error("invalid private key, expected hex or "+P+" bytes, got "+typeof _)}return R&&(F=st(F,U)),fi("private key",F,pe,U),F}function d(_){if(!(_ instanceof y))throw new Error("ProjectivePoint expected")}const h=Sc((_,x)=>{const{px:P,py:R,pz:U}=_;if(n.eql(U,n.ONE))return{x:P,y:R};const F=_.is0();x==null&&(x=F?n.ONE:n.inv(U));const D=n.mul(P,x),j=n.mul(R,x),M=n.mul(U,x);if(F)return{x:n.ZERO,y:n.ZERO};if(!n.eql(M,n.ONE))throw new Error("invZ was invalid");return{x:D,y:j}}),p=Sc(_=>{if(_.is0()){if(e.allowInfinityPoint&&!n.is0(_.py))return;throw new Error("bad point: ZERO")}const{x,y:P}=_.toAffine();if(!n.isValid(x)||!n.isValid(P))throw new Error("bad point: x or y not FE");if(!a(x,P))throw new Error("bad point: equation left != right");if(!_.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class y{constructor(x,P,R){if(x==null||!n.isValid(x))throw new Error("x required");if(P==null||!n.isValid(P)||n.is0(P))throw new Error("y required");if(R==null||!n.isValid(R))throw new Error("z required");this.px=x,this.py=P,this.pz=R,Object.freeze(this)}static fromAffine(x){const{x:P,y:R}=x||{};if(!x||!n.isValid(P)||!n.isValid(R))throw new Error("invalid affine point");if(x instanceof y)throw new Error("projective point not allowed");const U=F=>n.eql(F,n.ZERO);return U(P)&&U(R)?y.ZERO:new y(P,R,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(x){const P=Ur(n,x.map(R=>R.pz));return x.map((R,U)=>R.toAffine(P[U])).map(y.fromAffine)}static fromHex(x){const P=y.fromAffine(s(Ze("pointHex",x)));return P.assertValidity(),P}static fromPrivateKey(x){return y.BASE.multiply(f(x))}static msm(x,P){return _8(y,r,x,P)}_setWindowSize(x){$.setWindowSize(this,x)}assertValidity(){p(this)}hasEvenY(){const{y:x}=this.toAffine();if(n.isOdd)return!n.isOdd(x);throw new Error("Field doesn't support isOdd")}equals(x){d(x);const{px:P,py:R,pz:U}=this,{px:F,py:D,pz:j}=x,M=n.eql(n.mul(P,j),n.mul(F,U)),E=n.eql(n.mul(R,j),n.mul(D,U));return M&&E}negate(){return new y(this.px,n.neg(this.py),this.pz)}double(){const{a:x,b:P}=e,R=n.mul(P,Zi),{px:U,py:F,pz:D}=this;let j=n.ZERO,M=n.ZERO,E=n.ZERO,b=n.mul(U,U),v=n.mul(F,F),g=n.mul(D,D),w=n.mul(U,F);return w=n.add(w,w),E=n.mul(U,D),E=n.add(E,E),j=n.mul(x,E),M=n.mul(R,g),M=n.add(j,M),j=n.sub(v,M),M=n.add(v,M),M=n.mul(j,M),j=n.mul(w,j),E=n.mul(R,E),g=n.mul(x,g),w=n.sub(b,g),w=n.mul(x,w),w=n.add(w,E),E=n.add(b,b),b=n.add(E,b),b=n.add(b,g),b=n.mul(b,w),M=n.add(M,b),g=n.mul(F,D),g=n.add(g,g),b=n.mul(g,w),j=n.sub(j,b),E=n.mul(g,v),E=n.add(E,E),E=n.add(E,E),new y(j,M,E)}add(x){d(x);const{px:P,py:R,pz:U}=this,{px:F,py:D,pz:j}=x;let M=n.ZERO,E=n.ZERO,b=n.ZERO;const v=e.a,g=n.mul(e.b,Zi);let w=n.mul(P,F),S=n.mul(R,D),A=n.mul(U,j),I=n.add(P,R),O=n.add(F,D);I=n.mul(I,O),O=n.add(w,S),I=n.sub(I,O),O=n.add(P,U);let T=n.add(F,j);return O=n.mul(O,T),T=n.add(w,A),O=n.sub(O,T),T=n.add(R,U),M=n.add(D,j),T=n.mul(T,M),M=n.add(S,A),T=n.sub(T,M),b=n.mul(v,O),M=n.mul(g,A),b=n.add(M,b),M=n.sub(S,b),b=n.add(S,b),E=n.mul(M,b),S=n.add(w,w),S=n.add(S,w),A=n.mul(v,A),O=n.mul(g,O),S=n.add(S,A),A=n.sub(w,A),A=n.mul(v,A),O=n.add(O,A),w=n.mul(S,O),E=n.add(E,w),w=n.mul(T,O),M=n.mul(I,M),M=n.sub(M,w),w=n.mul(I,S),b=n.mul(T,b),b=n.add(b,w),new y(M,E,b)}subtract(x){return this.add(x.negate())}is0(){return this.equals(y.ZERO)}wNAF(x){return $.wNAFCached(this,x,y.normalizeZ)}multiplyUnsafe(x){const{endo:P,n:R}=e;fi("scalar",x,zt,R);const U=y.ZERO;if(x===zt)return U;if(this.is0()||x===pe)return this;if(!P||$.hasPrecomputes(this))return $.wNAFCachedUnsafe(this,x,y.normalizeZ);let{k1neg:F,k1:D,k2neg:j,k2:M}=P.splitScalar(x),E=U,b=U,v=this;for(;D>zt||M>zt;)D&pe&&(E=E.add(v)),M&pe&&(b=b.add(v)),v=v.double(),D>>=pe,M>>=pe;return F&&(E=E.negate()),j&&(b=b.negate()),b=new y(n.mul(b.px,P.beta),b.py,b.pz),E.add(b)}multiply(x){const{endo:P,n:R}=e;fi("scalar",x,pe,R);let U,F;if(P){const{k1neg:D,k1:j,k2neg:M,k2:E}=P.splitScalar(x);let{p:b,f:v}=this.wNAF(j),{p:g,f:w}=this.wNAF(E);b=$.constTimeNegate(D,b),g=$.constTimeNegate(M,g),g=new y(n.mul(g.px,P.beta),g.py,g.pz),U=b.add(g),F=v.add(w)}else{const{p:D,f:j}=this.wNAF(x);U=D,F=j}return y.normalizeZ([U,F])[0]}multiplyAndAddUnsafe(x,P,R){const U=y.BASE,F=(j,M)=>M===zt||M===pe||!j.equals(U)?j.multiplyUnsafe(M):j.multiply(M),D=F(this,P).add(F(x,R));return D.is0()?void 0:D}toAffine(x){return h(this,x)}isTorsionFree(){const{h:x,isTorsionFree:P}=e;if(x===pe)return!0;if(P)return P(y,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:x,clearCofactor:P}=e;return x===pe?this:P?P(y,this):this.multiplyUnsafe(e.h)}toRawBytes(x=!0){return Vi("isCompressed",x),this.assertValidity(),i(y,this,x)}toHex(x=!0){return Vi("isCompressed",x),Rr(this.toRawBytes(x))}}y.BASE=new y(e.Gx,e.Gy,n.ONE),y.ZERO=new y(n.ZERO,n.ONE,n.ZERO);const{endo:m,nBitLength:B}=e,$=x8(y,m?Math.ceil(B/2):B);return{CURVE:e,ProjectivePoint:y,normPrivateKeyToScalar:f,weierstrassEquation:o,isWithinCurveOrder:l}}function A8(t){const e=Nd(t);return Gi(e,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...e})}function B8(t){const e=A8(t),{Fp:n,n:r,nByteLength:i,nBitLength:s}=e,o=n.BYTES+1,a=2*n.BYTES+1;function c(g){return st(g,r)}function u(g){return Rc(g,r)}const{ProjectivePoint:l,normPrivateKeyToScalar:f,weierstrassEquation:d,isWithinCurveOrder:h}=jc({...e,toBytes(g,w,S){const A=w.toAffine(),I=n.toBytes(A.x),O=_e;return Vi("isCompressed",S),S?O(Uint8Array.from([w.hasEvenY()?2:3]),I):O(Uint8Array.from([4]),I,n.toBytes(A.y))},fromBytes(g){const w=g.length,S=g[0],A=g.subarray(1);if(w===o&&(S===2||S===3)){const I=rt(A);if(!xc(I,pe,n.ORDER))throw new Error("Point is not on curve");const O=d(I);let T;try{T=n.sqrt(O)}catch(k){const N=k instanceof Error?": "+k.message:"";throw new Error("Point is not on curve"+N)}const L=(T&pe)===pe;return(S&1)===1!==L&&(T=n.neg(T)),{x:I,y:T}}else if(w===a&&S===4){const I=n.fromBytes(A.subarray(0,n.BYTES)),O=n.fromBytes(A.subarray(n.BYTES,2*n.BYTES));return{x:I,y:O}}else{const I=o,O=a;throw new Error("invalid Point, expected length of "+I+", or uncompressed "+O+", got "+w)}}});function p(g){const w=r>>pe;return g>w}function y(g){return p(g)?c(-g):g}const m=(g,w,S)=>rt(g.slice(w,S));class B{constructor(w,S,A){fi("r",w,pe,r),fi("s",S,pe,r),this.r=w,this.s=S,A!=null&&(this.recovery=A),Object.freeze(this)}static fromCompact(w){const S=i;return w=Ze("compactSignature",w,S*2),new B(m(w,0,S),m(w,S,2*S))}static fromDER(w){const{r:S,s:A}=xn.toSig(Ze("DER",w));return new B(S,A)}assertValidity(){}addRecoveryBit(w){return new B(this.r,this.s,w)}recoverPublicKey(w){const{r:S,s:A,recovery:I}=this,O=U(Ze("msgHash",w));if(I==null||![0,1,2,3].includes(I))throw new Error("recovery id invalid");const T=I===2||I===3?S+e.n:S;if(T>=n.ORDER)throw new Error("recovery id 2 or 3 invalid");const L=I&1?"03":"02",C=l.fromHex(L+qc(T,n.BYTES)),k=u(T),N=c(-O*k),q=c(A*k),z=l.BASE.multiplyAndAddUnsafe(C,N,q);if(!z)throw new Error("point at infinify");return z.assertValidity(),z}hasHighS(){return p(this.s)}normalizeS(){return this.hasHighS()?new B(this.r,c(-this.s),this.recovery):this}toDERRawBytes(){return po(this.toDERHex())}toDERHex(){return xn.hexFromSig(this)}toCompactRawBytes(){return po(this.toCompactHex())}toCompactHex(){const w=i;return qc(this.r,w)+qc(this.s,w)}}const $={isValidPrivateKey(g){try{return f(g),!0}catch{return!1}},normPrivateKeyToScalar:f,randomPrivateKey:()=>{const g=Nc(e.n);return Dd(e.randomBytes(g),e.n)},precompute(g=8,w=l.BASE){return w._setWindowSize(g),w.multiply(BigInt(3)),w}};function _(g,w=!0){return l.fromPrivateKey(g).toRawBytes(w)}function x(g){if(typeof g=="bigint")return!1;if(g instanceof l)return!0;const S=Ze("key",g).length,A=n.BYTES,I=A+1,O=2*A+1;if(!(e.allowedPrivateKeyLengths||i===I))return S===I||S===O}function P(g,w,S=!0){if(x(g)===!0)throw new Error("first arg must be private key");if(x(w)===!1)throw new Error("second arg must be public key");return l.fromHex(w).multiply(f(g)).toRawBytes(S)}const R=e.bits2int||function(g){if(g.length>8192)throw new Error("input is too large");const w=rt(g),S=g.length*8-s;return S>0?w>>BigInt(S):w},U=e.bits2int_modN||function(g){return c(R(g))},F=Nr(s);function D(g){return fi("num < 2^"+s,g,zt,F),Oe(g,i)}function j(g,w,S=M){if(["recovered","canonical"].some(V=>V in S))throw new Error("sign() legacy options not supported");const{hash:A,randomBytes:I}=e;let{lowS:O,prehash:T,extraEntropy:L}=S;O==null&&(O=!0),g=Ze("msgHash",g),Cd(S),T&&(g=Ze("prehashed msgHash",A(g)));const C=U(g),k=f(w),N=[D(k),D(C)];if(L!=null&&L!==!1){const V=L===!0?I(n.BYTES):L;N.push(Ze("extraEntropy",V))}const q=_e(...N),z=C;function W(V){const Z=R(V);if(!h(Z))return;const Q=u(Z),ee=l.BASE.multiply(Z).toAffine(),ie=c(ee.x);if(ie===zt)return;const fe=c(Q*c(z+ie*k));if(fe===zt)return;let ve=(ee.x===ie?0:2)|Number(ee.y&pe),Ln=fe;return O&&p(fe)&&(Ln=y(fe),ve^=1),new B(ie,Ln,ve)}return{seed:q,k2sig:W}}const M={lowS:e.lowS,prehash:!1},E={lowS:e.lowS,prehash:!1};function b(g,w,S=M){const{seed:A,k2sig:I}=j(g,w,S),O=e;return SE(O.hash.outputLen,O.nByteLength,O.hmac)(A,I)}l.BASE._setWindowSize(8);function v(g,w,S,A=E){const I=g;w=Ze("msgHash",w),S=Ze("publicKey",S);const{lowS:O,prehash:T,format:L}=A;if(Cd(A),"strict"in A)throw new Error("options.strict was renamed to lowS");if(L!==void 0&&L!=="compact"&&L!=="der")throw new Error("format must be compact or der");const C=typeof I=="string"||Hi(I),k=!C&&!L&&typeof I=="object"&&I!==null&&typeof I.r=="bigint"&&typeof I.s=="bigint";if(!C&&!k)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let N,q;try{if(k&&(N=new B(I.r,I.s)),C){try{L!=="compact"&&(N=B.fromDER(I))}catch(ve){if(!(ve instanceof xn.Err))throw ve}!N&&L!=="der"&&(N=B.fromCompact(I))}q=l.fromHex(S)}catch{return!1}if(!N||O&&N.hasHighS())return!1;T&&(w=e.hash(w));const{r:z,s:W}=N,V=U(w),Z=u(W),Q=c(V*Z),ee=c(z*Z),ie=l.BASE.multiplyAndAddUnsafe(q,Q,ee)?.toAffine();return ie?c(ie.x)===z:!1}return{CURVE:e,getPublicKey:_,getSharedSecret:P,sign:b,verify:v,ProjectivePoint:l,Signature:B,utils:$}}function O8(t,e){const n=t.ORDER;let r=zt;for(let p=n-pe;p%Zn===zt;p/=Zn)r+=pe;const i=r,s=Zn<<i-pe-pe,o=s*Zn,a=(n-pe)/o,c=(a-pe)/Zn,u=o-pe,l=s,f=t.pow(e,a),d=t.pow(e,(a+pe)/Zn);let h=(p,y)=>{let m=f,B=t.pow(y,u),$=t.sqr(B);$=t.mul($,y);let _=t.mul(p,$);_=t.pow(_,c),_=t.mul(_,B),B=t.mul(_,y),$=t.mul(_,p);let x=t.mul($,B);_=t.pow(x,l);let P=t.eql(_,t.ONE);B=t.mul($,d),_=t.mul(x,m),$=t.cmov(B,$,P),x=t.cmov(_,x,P);for(let R=i;R>pe;R--){let U=R-Zn;U=Zn<<U-pe;let F=t.pow(x,U);const D=t.eql(F,t.ONE);B=t.mul($,m),m=t.mul(m,m),F=t.mul(x,m),$=t.cmov(B,$,D),x=t.cmov(F,x,D)}return{isValid:P,value:$}};if(t.ORDER%Mc===Zi){const p=(t.ORDER-Zi)/Mc,y=t.sqrt(t.neg(e));h=(m,B)=>{let $=t.sqr(B);const _=t.mul(m,B);$=t.mul($,_);let x=t.pow($,p);x=t.mul(x,_);const P=t.mul(x,y),R=t.mul(t.sqr(x),B),U=t.eql(R,m);let F=t.cmov(P,x,U);return{isValid:U,value:F}}}return h}function Ud(t,e){if(Ad(t),!t.isValid(e.A)||!t.isValid(e.B)||!t.isValid(e.Z))throw new Error("mapToCurveSimpleSWU: invalid opts");const n=O8(t,e.Z);if(!t.isOdd)throw new Error("Fp.isOdd is not implemented!");return r=>{let i,s,o,a,c,u,l,f;i=t.sqr(r),i=t.mul(i,e.Z),s=t.sqr(i),s=t.add(s,i),o=t.add(s,t.ONE),o=t.mul(o,e.B),a=t.cmov(e.Z,t.neg(s),!t.eql(s,t.ZERO)),a=t.mul(a,e.A),s=t.sqr(o),u=t.sqr(a),c=t.mul(u,e.A),s=t.add(s,c),s=t.mul(s,o),u=t.mul(u,a),c=t.mul(u,e.B),s=t.add(s,c),l=t.mul(i,o);const{isValid:d,value:h}=n(s,u);f=t.mul(i,r),f=t.mul(f,h),l=t.cmov(l,o,d),f=t.cmov(f,h,d);const p=t.isOdd(r)===t.isOdd(f);f=t.cmov(t.neg(f),f,p);const y=Ur(t,[a],!0)[0];return l=t.mul(l,y),{x:l,y:f}}}function D8(t){return{hash:t,hmac:(e,...n)=>Ed(t,e,H3(...n)),randomBytes:Mh}}function vo(t,e){const n=r=>B8({...t,...D8(r)});return{...n(e),create:n}}const $8=rt;function Yn(t,e){if(Yi(t),Yi(e),t<0||t>=1<<8*e)throw new Error("invalid I2OSP input: "+t);const n=Array.from({length:e}).fill(0);for(let r=e-1;r>=0;r--)n[r]=t&255,t>>>=8;return new Uint8Array(n)}function P8(t,e){const n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t[r]^e[r];return n}function Yi(t){if(!Number.isSafeInteger(t))throw new Error("number expected")}function T8(t,e,n,r){Gn(t),Gn(e),Yi(n),e.length>255&&(e=r(_e(vc("H2C-OVERSIZE-DST-"),e)));const{outputLen:i,blockLen:s}=r,o=Math.ceil(n/i);if(n>65535||o>255)throw new Error("expand_message_xmd: invalid lenInBytes");const a=_e(e,Yn(e.length,1)),c=Yn(0,s),u=Yn(n,2),l=new Array(o),f=r(_e(c,t,u,Yn(0,1),a));l[0]=r(_e(f,Yn(1,1),a));for(let h=1;h<=o;h++){const p=[P8(f,l[h-1]),Yn(h+1,1),a];l[h]=r(_e(...p))}return _e(...l).slice(0,n)}function R8(t,e,n,r,i){if(Gn(t),Gn(e),Yi(n),e.length>255){const s=Math.ceil(2*r/8);e=i.create({dkLen:s}).update(vc("H2C-OVERSIZE-DST-")).update(e).digest()}if(n>65535||e.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return i.create({dkLen:n}).update(t).update(Yn(n,2)).update(e).update(Yn(e.length,1)).digest()}function Fd(t,e,n){Gi(n,{DST:"stringOrUint8Array",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});const{p:r,k:i,m:s,hash:o,expand:a,DST:c}=n;Gn(t),Yi(e);const u=typeof c=="string"?vc(c):c,l=r.toString(2).length,f=Math.ceil((l+i)/8),d=e*s*f;let h;if(a==="xmd")h=T8(t,u,d,o);else if(a==="xof")h=R8(t,u,d,i,o);else if(a==="_internal_pass")h=t;else throw new Error('expand must be "xmd" or "xof"');const p=new Array(e);for(let y=0;y<e;y++){const m=new Array(s);for(let B=0;B<s;B++){const $=f*(B+y*s),_=h.subarray($,$+f);m[B]=st($8(_),r)}p[y]=m}return p}function Ld(t,e){const n=e.map(r=>Array.from(r).reverse());return(r,i)=>{const[s,o,a,c]=n.map(f=>f.reduce((d,h)=>t.add(t.mul(d,r),h))),[u,l]=Ur(t,[o,c],!0);return r=t.mul(s,u),i=t.mul(i,t.mul(a,l)),{x:r,y:i}}}function kd(t,e,n){if(typeof e!="function")throw new Error("mapToCurve() must be defined");function r(s){return t.fromAffine(e(s))}function i(s){const o=s.clearCofactor();return o.equals(t.ZERO)?t.ZERO:(o.assertValidity(),o)}return{defaults:n,hashToCurve(s,o){const a=Fd(s,2,{...n,DST:n.DST,...o}),c=r(a[0]),u=r(a[1]);return i(c.add(u))},encodeToCurve(s,o){const a=Fd(s,1,{...n,DST:n.encodeDST,...o});return i(r(a[0]))},mapToCurve(s){if(!Array.isArray(s))throw new Error("expected array of bigints");for(const o of s)if(typeof o!="bigint")throw new Error("expected array of bigints");return i(r(s))}}}const qd=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Md=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),N8=BigInt(0),C8=BigInt(1),zc=BigInt(2),jd=(t,e)=>(t+e/zc)/e;function U8(t){const e=qd,n=BigInt(3),r=BigInt(6),i=BigInt(11),s=BigInt(22),o=BigInt(23),a=BigInt(44),c=BigInt(88),u=t*t*t%e,l=u*u*t%e,f=Pt(l,n,e)*l%e,d=Pt(f,n,e)*l%e,h=Pt(d,zc,e)*u%e,p=Pt(h,i,e)*h%e,y=Pt(p,s,e)*p%e,m=Pt(y,a,e)*y%e,B=Pt(m,c,e)*m%e,$=Pt(B,a,e)*y%e,_=Pt($,n,e)*l%e,x=Pt(_,o,e)*p%e,P=Pt(x,r,e)*u%e,R=Pt(P,zc,e);if(!Hc.eql(Hc.sqr(R),t))throw new Error("Cannot find square root");return R}const Hc=Wn(qd,void 0,void 0,{sqrt:U8}),F8=vo({a:N8,b:BigInt(7),Fp:Hc,n:Md,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:t=>{const e=Md,n=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-C8*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=n,o=BigInt("0x100000000000000000000000000000000"),a=jd(s*t,e),c=jd(-r*t,e);let u=st(t-a*n-c*i,e),l=st(-a*r-c*s,e);const f=u>o,d=l>o;if(f&&(u=e-u),d&&(l=e-l),u>o||l>o)throw new Error("splitScalar: Endomorphism failed, k="+t);return{k1neg:f,k1:u,k2neg:d,k2:l}}}},lo);function L8(t){if(t.length!==130&&t.length!==132)throw new q8({signature:t});const e=BigInt(vn(t,0,32)),n=BigInt(vn(t,32,64)),r=(()=>{const i=+`0x${t.slice(130)}`;if(!Number.isNaN(i))try{return k8(i)}catch{throw new M8({value:i})}})();return typeof r>"u"?{r:e,s:n}:{r:e,s:n,yParity:r}}function k8(t){if(t===0||t===27)return 0;if(t===1||t===28)return 1;if(t>=35)return t%2===0?1:0;throw new j8({value:t})}class q8 extends ge{constructor({signature:e}){super(`Value \`${e}\` is an invalid signature size.`,{metaMessages:["Expected: 64 bytes or 65 bytes.",`Received ${En(Oc(e))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSerializedSizeError"})}}class M8 extends ge{constructor({value:e}){super(`Value \`${e}\` is an invalid y-parity value. Y-parity must be 0 or 1.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidYParityError"})}}class j8 extends ge{constructor({value:e}){super(`Value \`${e}\` is an invalid v value. v must be 27, 28 or >=35.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidVError"})}}Object.freeze({1:0n,2:1n,3:2n,4:3n,5:4n,6:5n,7:6n,8:7n,9:8n,A:9n,B:10n,C:11n,D:12n,E:13n,F:14n,G:15n,H:16n,J:17n,K:18n,L:19n,M:20n,N:21n,P:22n,Q:23n,R:24n,S:25n,T:26n,U:27n,V:28n,W:29n,X:30n,Y:31n,Z:32n,a:33n,b:34n,c:35n,d:36n,e:37n,f:38n,g:39n,h:40n,i:41n,j:42n,k:43n,m:44n,n:45n,o:46n,p:47n,q:48n,r:49n,s:50n,t:51n,u:52n,v:53n,w:54n,x:55n,y:56n,z:57n}),Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((t,e)=>[e,t.charCodeAt(0)]),{...Object.fromEntries(Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((t,e)=>[t.charCodeAt(0),e])),["=".charCodeAt(0)]:0,["-".charCodeAt(0)]:0,["_".charCodeAt(0)]:0},yn.slice();const z8=BigInt(0),Eo=BigInt(1),zd=BigInt(2),hi=BigInt(3);function H8(t){const e=[];for(;t>Eo;t>>=Eo)(t&Eo)===z8?e.unshift(0):(t&hi)===hi?(e.unshift(-1),t+=Eo):e.unshift(1);return e}function V8(t){const{Fp:e,Fr:n,Fp2:r,Fp6:i,Fp12:s}=t.fields,o=t.params.xNegative,a=t.params.twistType,c=jc({n:n.ORDER,...t.G1}),u=Object.assign(c,kd(c.ProjectivePoint,t.G1.mapToCurve,{...t.htfDefaults,...t.G1.htfDefaults})),l=jc({n:n.ORDER,...t.G2}),f=Object.assign(l,kd(l.ProjectivePoint,t.G2.mapToCurve,{...t.htfDefaults,...t.G2.htfDefaults}));let d;if(a==="multiplicative")d=(C,k,N,q,z,W)=>s.mul014(q,C,r.mul(k,z),r.mul(N,W));else if(a==="divisive")d=(C,k,N,q,z,W)=>s.mul034(q,r.mul(N,W),r.mul(k,z),C);else throw new Error("bls: unknown twist type");const h=r.div(r.ONE,r.mul(r.ONE,zd));function p(C,k,N,q){const z=r.sqr(N),W=r.sqr(q),V=r.mulByB(r.mul(W,hi)),Z=r.mul(V,hi),Q=r.sub(r.sub(r.sqr(r.add(N,q)),W),z),ee=r.sub(V,z),ie=r.mul(r.sqr(k),hi),fe=r.neg(Q);return C.push([ee,ie,fe]),k=r.mul(r.mul(r.mul(r.sub(z,Z),k),N),h),N=r.sub(r.sqr(r.mul(r.add(z,Z),h)),r.mul(r.sqr(V),hi)),q=r.mul(z,Q),{Rx:k,Ry:N,Rz:q}}function y(C,k,N,q,z,W){const V=r.sub(N,r.mul(W,q)),Z=r.sub(k,r.mul(z,q)),Q=r.sub(r.mul(V,z),r.mul(Z,W)),ee=r.neg(V),ie=Z;C.push([Q,ee,ie]);const fe=r.sqr(Z),ve=r.mul(fe,Z),Ln=r.mul(fe,k),Oa=r.add(r.sub(ve,r.mul(Ln,zd)),r.mul(r.sqr(V),q));return k=r.mul(Z,Oa),N=r.sub(r.mul(r.sub(Ln,Oa),V),r.mul(ve,N)),q=r.mul(q,ve),{Rx:k,Ry:N,Rz:q}}const m=H8(t.params.ateLoopSize),B=Sc(C=>{const k=C,{x:N,y:q}=k.toAffine(),z=N,W=q,V=r.neg(q);let Z=z,Q=W,ee=r.ONE;const ie=[];for(const fe of m){const ve=[];({Rx:Z,Ry:Q,Rz:ee}=p(ve,Z,Q,ee)),fe&&({Rx:Z,Ry:Q,Rz:ee}=y(ve,Z,Q,ee,z,fe===-1?V:W)),ie.push(ve)}if(t.postPrecompute){const fe=ie[ie.length-1];t.postPrecompute(Z,Q,ee,z,W,y.bind(null,fe))}return ie});function $(C,k=!1){let N=s.ONE;if(C.length){const q=C[0][0].length;for(let z=0;z<q;z++){N=s.sqr(N);for(const[W,V,Z]of C)for(const[Q,ee,ie]of W[z])N=d(Q,ee,ie,N,V,Z)}}return o&&(N=s.conjugate(N)),k?s.finalExponentiate(N):N}function _(C,k=!0){const N=[];u.ProjectivePoint.normalizeZ(C.map(({g1:q})=>q)),f.ProjectivePoint.normalizeZ(C.map(({g2:q})=>q));for(const{g1:q,g2:z}of C){if(q.equals(u.ProjectivePoint.ZERO)||z.equals(f.ProjectivePoint.ZERO))throw new Error("pairing is not available for ZERO point");q.assertValidity(),z.assertValidity();const W=q.toAffine();N.push([B(z),W.x,W.y])}return $(N,k)}function x(C,k,N=!0){return _([{g1:C,g2:k}],N)}const P={randomPrivateKey:()=>{const C=Nc(n.ORDER);return Dd(t.randomBytes(C),n.ORDER)},calcPairingPrecomputes:B},{ShortSignature:R}=t.G1,{Signature:U}=t.G2;function F(C){return C instanceof u.ProjectivePoint?C:u.ProjectivePoint.fromHex(C)}function D(C,k){return C instanceof u.ProjectivePoint?C:u.hashToCurve(Ze("point",C),k)}function j(C){return C instanceof f.ProjectivePoint?C:U.fromHex(C)}function M(C,k){return C instanceof f.ProjectivePoint?C:f.hashToCurve(Ze("point",C),k)}function E(C){return u.ProjectivePoint.fromPrivateKey(C).toRawBytes(!0)}function b(C){return f.ProjectivePoint.fromPrivateKey(C).toRawBytes(!0)}function v(C,k,N){const q=M(C,N);q.assertValidity();const z=q.multiply(u.normPrivateKeyToScalar(k));return C instanceof f.ProjectivePoint?z:U.toRawBytes(z)}function g(C,k,N){const q=D(C,N);q.assertValidity();const z=q.multiply(u.normPrivateKeyToScalar(k));return C instanceof u.ProjectivePoint?z:R.toRawBytes(z)}function w(C,k,N,q){const z=F(N),W=M(k,q),V=u.ProjectivePoint.BASE,Z=j(C),Q=_([{g1:z.negate(),g2:W},{g1:V,g2:Z}]);return s.eql(Q,s.ONE)}function S(C,k,N,q){const z=j(N),W=D(k,q),V=f.ProjectivePoint.BASE,Z=F(C),Q=_([{g1:W,g2:z},{g1:Z,g2:V.negate()}]);return s.eql(Q,s.ONE)}function A(C){if(!Array.isArray(C)||C.length===0)throw new Error("expected non-empty array")}function I(C){A(C);const N=C.map(F).reduce((q,z)=>q.add(z),u.ProjectivePoint.ZERO);return C[0]instanceof u.ProjectivePoint?(N.assertValidity(),N):N.toRawBytes(!0)}function O(C){A(C);const N=C.map(j).reduce((q,z)=>q.add(z),f.ProjectivePoint.ZERO);return C[0]instanceof f.ProjectivePoint?(N.assertValidity(),N):U.toRawBytes(N)}function T(C){A(C);const N=C.map(F).reduce((q,z)=>q.add(z),u.ProjectivePoint.ZERO);return C[0]instanceof u.ProjectivePoint?(N.assertValidity(),N):R.toRawBytes(N)}function L(C,k,N,q){if(A(k),N.length!==k.length)throw new Error("amount of public keys and messages should be equal");const z=j(C),W=k.map(ee=>M(ee,q)),V=N.map(F),Z=new Map;for(let ee=0;ee<V.length;ee++){const ie=V[ee],fe=W[ee];let ve=Z.get(fe);ve===void 0&&(ve=[],Z.set(fe,ve)),ve.push(ie)}const Q=[];try{for(const[ee,ie]of Z){const fe=ie.reduce((ve,Ln)=>ve.add(Ln));Q.push({g1:fe,g2:ee})}return Q.push({g1:u.ProjectivePoint.BASE.negate(),g2:z}),s.eql(_(Q),s.ONE)}catch{return!1}}return u.ProjectivePoint.BASE._setWindowSize(4),{getPublicKey:E,getPublicKeyForShortSignatures:b,sign:v,signShortSignature:g,verify:w,verifyBatch:L,verifyShortSignature:S,aggregatePublicKeys:I,aggregateSignatures:O,aggregateShortSignatures:T,millerLoopBatch:$,pairing:x,pairingBatch:_,G1:u,G2:f,Signature:U,ShortSignature:R,fields:{Fr:n,Fp:e,Fp2:r,Fp6:i,Fp12:s},params:{ateLoopSize:t.params.ateLoopSize,r:t.params.r,G1b:t.G1.b,G2b:t.G2.b},utils:P}}const K8=BigInt(0),di=BigInt(1),_n=BigInt(2),Hd=BigInt(3);function Vc(t,e,n,r,i=1,s){const o=BigInt(s===void 0?r:s),a=n**BigInt(r),c=[];for(let u=0;u<i;u++){const l=BigInt(u+1),f=[];for(let d=0,h=di;d<r;d++){const p=(l*h-l)/o%a;f.push(t.pow(e,p)),h*=n}c.push(f)}return c}function G8(t,e,n){const r=e.pow(n,(t.ORDER-di)/Hd),i=e.pow(n,(t.ORDER-di)/_n);function s(d,h){const p=e.mul(e.frobeniusMap(d,1),r),y=e.mul(e.frobeniusMap(h,1),i);return[p,y]}const o=e.pow(n,(t.ORDER**_n-di)/Hd),a=e.pow(n,(t.ORDER**_n-di)/_n);if(!e.eql(a,e.neg(e.ONE)))throw new Error("psiFrobenius: PSI2_Y!==-1");function c(d,h){return[e.mul(d,o),e.neg(h)]}const u=d=>(h,p)=>{const y=p.toAffine(),m=d(y.x,y.y);return h.fromAffine({x:m[0],y:m[1]})},l=u(s),f=u(c);return{psi:s,psi2:c,G2psi:l,G2psi2:f,PSI_X:r,PSI_Y:i,PSI2_X:o,PSI2_Y:a}}function W8(t){const{ORDER:e}=t,n=Wn(e),r=n.create(t.NONRESIDUE||BigInt(-1)),i=n.div(n.ONE,_n),s=Vc(n,r,n.ORDER,2)[0],o=({c0:E,c1:b},{c0:v,c1:g})=>({c0:n.add(E,v),c1:n.add(b,g)}),a=({c0:E,c1:b},{c0:v,c1:g})=>({c0:n.sub(E,v),c1:n.sub(b,g)}),c=({c0:E,c1:b},v)=>{if(typeof v=="bigint")return{c0:n.mul(E,v),c1:n.mul(b,v)};const{c0:g,c1:w}=v;let S=n.mul(E,g),A=n.mul(b,w);const I=n.sub(S,A),O=n.sub(n.mul(n.add(E,b),n.add(g,w)),n.add(S,A));return{c0:I,c1:O}},u=({c0:E,c1:b})=>{const v=n.add(E,b),g=n.sub(E,b),w=n.add(E,E);return{c0:n.mul(v,g),c1:n.mul(w,b)}},l=E=>{if(E.length!==2)throw new Error("invalid tuple");const b=E.map(v=>n.create(v));return{c0:b[0],c1:b[1]}},f=e*e,d=l(t.FP2_NONRESIDUE),h={ORDER:f,isLE:n.isLE,NONRESIDUE:d,BITS:Ki(f),BYTES:Math.ceil(Ki(f)/8),MASK:Nr(Ki(f)),ZERO:{c0:n.ZERO,c1:n.ZERO},ONE:{c0:n.ONE,c1:n.ZERO},create:E=>E,isValid:({c0:E,c1:b})=>typeof E=="bigint"&&typeof b=="bigint",is0:({c0:E,c1:b})=>n.is0(E)&&n.is0(b),eql:({c0:E,c1:b},{c0:v,c1:g})=>n.eql(E,v)&&n.eql(b,g),neg:({c0:E,c1:b})=>({c0:n.neg(E),c1:n.neg(b)}),pow:(E,b)=>wo(h,E,b),invertBatch:E=>Ur(h,E),add:o,sub:a,mul:c,sqr:u,addN:o,subN:a,mulN:c,sqrN:u,div:(E,b)=>h.mul(E,typeof b=="bigint"?n.inv(n.create(b)):h.inv(b)),inv:({c0:E,c1:b})=>{const v=n.inv(n.create(E*E+b*b));return{c0:n.mul(v,n.create(E)),c1:n.mul(v,n.create(-b))}},sqrt:E=>{if(t.Fp2sqrt)return t.Fp2sqrt(E);const{c0:b,c1:v}=E;if(n.is0(v))return mo(n,b)===1?h.create({c0:n.sqrt(b),c1:n.ZERO}):h.create({c0:n.ZERO,c1:n.sqrt(n.div(b,r))});const g=n.sqrt(n.sub(n.sqr(b),n.mul(n.sqr(v),r)));let w=n.mul(n.add(g,b),i);mo(n,w)===-1&&(w=n.sub(w,g));const A=n.sqrt(w),I=h.create({c0:A,c1:n.div(n.mul(v,i),A)});if(!h.eql(h.sqr(I),E))throw new Error("Cannot find square root");const O=I,T=h.neg(O),{re:L,im:C}=h.reim(O),{re:k,im:N}=h.reim(T);return C>N||C===N&&L>k?O:T},isOdd:E=>{const{re:b,im:v}=h.reim(E),g=b%_n,w=b===K8,S=v%_n;return BigInt(g||w&&S)==di},fromBytes(E){if(E.length!==h.BYTES)throw new Error("fromBytes invalid length="+E.length);return{c0:n.fromBytes(E.subarray(0,n.BYTES)),c1:n.fromBytes(E.subarray(n.BYTES))}},toBytes:({c0:E,c1:b})=>_e(n.toBytes(E),n.toBytes(b)),cmov:({c0:E,c1:b},{c0:v,c1:g},w)=>({c0:n.cmov(E,v,w),c1:n.cmov(b,g,w)}),reim:({c0:E,c1:b})=>({re:E,im:b}),mulByNonresidue:({c0:E,c1:b})=>h.mul({c0:E,c1:b},d),mulByB:t.Fp2mulByB,fromBigTuple:l,frobeniusMap:({c0:E,c1:b},v)=>({c0:E,c1:n.mul(b,s[v%2])})},p=({c0:E,c1:b,c2:v},{c0:g,c1:w,c2:S})=>({c0:h.add(E,g),c1:h.add(b,w),c2:h.add(v,S)}),y=({c0:E,c1:b,c2:v},{c0:g,c1:w,c2:S})=>({c0:h.sub(E,g),c1:h.sub(b,w),c2:h.sub(v,S)}),m=({c0:E,c1:b,c2:v},g)=>{if(typeof g=="bigint")return{c0:h.mul(E,g),c1:h.mul(b,g),c2:h.mul(v,g)};const{c0:w,c1:S,c2:A}=g,I=h.mul(E,w),O=h.mul(b,S),T=h.mul(v,A);return{c0:h.add(I,h.mulByNonresidue(h.sub(h.mul(h.add(b,v),h.add(S,A)),h.add(O,T)))),c1:h.add(h.sub(h.mul(h.add(E,b),h.add(w,S)),h.add(I,O)),h.mulByNonresidue(T)),c2:h.sub(h.add(O,h.mul(h.add(E,v),h.add(w,A))),h.add(I,T))}},B=({c0:E,c1:b,c2:v})=>{let g=h.sqr(E),w=h.mul(h.mul(E,b),_n),S=h.mul(h.mul(b,v),_n),A=h.sqr(v);return{c0:h.add(h.mulByNonresidue(S),g),c1:h.add(h.mulByNonresidue(A),w),c2:h.sub(h.sub(h.add(h.add(w,h.sqr(h.add(h.sub(E,b),v))),S),g),A)}},[$,_]=Vc(h,d,n.ORDER,6,2,3),x={ORDER:h.ORDER,isLE:h.isLE,BITS:3*h.BITS,BYTES:3*h.BYTES,MASK:Nr(3*h.BITS),ZERO:{c0:h.ZERO,c1:h.ZERO,c2:h.ZERO},ONE:{c0:h.ONE,c1:h.ZERO,c2:h.ZERO},create:E=>E,isValid:({c0:E,c1:b,c2:v})=>h.isValid(E)&&h.isValid(b)&&h.isValid(v),is0:({c0:E,c1:b,c2:v})=>h.is0(E)&&h.is0(b)&&h.is0(v),neg:({c0:E,c1:b,c2:v})=>({c0:h.neg(E),c1:h.neg(b),c2:h.neg(v)}),eql:({c0:E,c1:b,c2:v},{c0:g,c1:w,c2:S})=>h.eql(E,g)&&h.eql(b,w)&&h.eql(v,S),sqrt:ad,div:(E,b)=>x.mul(E,typeof b=="bigint"?n.inv(n.create(b)):x.inv(b)),pow:(E,b)=>wo(x,E,b),invertBatch:E=>Ur(x,E),add:p,sub:y,mul:m,sqr:B,addN:p,subN:y,mulN:m,sqrN:B,inv:({c0:E,c1:b,c2:v})=>{let g=h.sub(h.sqr(E),h.mulByNonresidue(h.mul(v,b))),w=h.sub(h.mulByNonresidue(h.sqr(v)),h.mul(E,b)),S=h.sub(h.sqr(b),h.mul(E,v)),A=h.inv(h.add(h.mulByNonresidue(h.add(h.mul(v,w),h.mul(b,S))),h.mul(E,g)));return{c0:h.mul(A,g),c1:h.mul(A,w),c2:h.mul(A,S)}},fromBytes:E=>{if(E.length!==x.BYTES)throw new Error("fromBytes invalid length="+E.length);return{c0:h.fromBytes(E.subarray(0,h.BYTES)),c1:h.fromBytes(E.subarray(h.BYTES,2*h.BYTES)),c2:h.fromBytes(E.subarray(2*h.BYTES))}},toBytes:({c0:E,c1:b,c2:v})=>_e(h.toBytes(E),h.toBytes(b),h.toBytes(v)),cmov:({c0:E,c1:b,c2:v},{c0:g,c1:w,c2:S},A)=>({c0:h.cmov(E,g,A),c1:h.cmov(b,w,A),c2:h.cmov(v,S,A)}),fromBigSix:E=>{if(!Array.isArray(E)||E.length!==6)throw new Error("invalid Fp6 usage");return{c0:h.fromBigTuple(E.slice(0,2)),c1:h.fromBigTuple(E.slice(2,4)),c2:h.fromBigTuple(E.slice(4,6))}},frobeniusMap:({c0:E,c1:b,c2:v},g)=>({c0:h.frobeniusMap(E,g),c1:h.mul(h.frobeniusMap(b,g),$[g%6]),c2:h.mul(h.frobeniusMap(v,g),_[g%6])}),mulByFp2:({c0:E,c1:b,c2:v},g)=>({c0:h.mul(E,g),c1:h.mul(b,g),c2:h.mul(v,g)}),mulByNonresidue:({c0:E,c1:b,c2:v})=>({c0:h.mulByNonresidue(v),c1:E,c2:b}),mul1:({c0:E,c1:b,c2:v},g)=>({c0:h.mulByNonresidue(h.mul(v,g)),c1:h.mul(E,g),c2:h.mul(b,g)}),mul01({c0:E,c1:b,c2:v},g,w){let S=h.mul(E,g),A=h.mul(b,w);return{c0:h.add(h.mulByNonresidue(h.sub(h.mul(h.add(b,v),w),A)),S),c1:h.sub(h.sub(h.mul(h.add(g,w),h.add(E,b)),S),A),c2:h.add(h.sub(h.mul(h.add(E,v),g),S),A)}}},P=Vc(h,d,n.ORDER,12,1,6)[0],R=({c0:E,c1:b},{c0:v,c1:g})=>({c0:x.add(E,v),c1:x.add(b,g)}),U=({c0:E,c1:b},{c0:v,c1:g})=>({c0:x.sub(E,v),c1:x.sub(b,g)}),F=({c0:E,c1:b},v)=>{if(typeof v=="bigint")return{c0:x.mul(E,v),c1:x.mul(b,v)};let{c0:g,c1:w}=v,S=x.mul(E,g),A=x.mul(b,w);return{c0:x.add(S,x.mulByNonresidue(A)),c1:x.sub(x.mul(x.add(E,b),x.add(g,w)),x.add(S,A))}},D=({c0:E,c1:b})=>{let v=x.mul(E,b);return{c0:x.sub(x.sub(x.mul(x.add(x.mulByNonresidue(b),E),x.add(E,b)),v),x.mulByNonresidue(v)),c1:x.add(v,v)}};function j(E,b){const v=h.sqr(E),g=h.sqr(b);return{first:h.add(h.mulByNonresidue(g),v),second:h.sub(h.sub(h.sqr(h.add(E,b)),v),g)}}const M={ORDER:h.ORDER,isLE:x.isLE,BITS:2*x.BITS,BYTES:2*x.BYTES,MASK:Nr(2*x.BITS),ZERO:{c0:x.ZERO,c1:x.ZERO},ONE:{c0:x.ONE,c1:x.ZERO},create:E=>E,isValid:({c0:E,c1:b})=>x.isValid(E)&&x.isValid(b),is0:({c0:E,c1:b})=>x.is0(E)&&x.is0(b),neg:({c0:E,c1:b})=>({c0:x.neg(E),c1:x.neg(b)}),eql:({c0:E,c1:b},{c0:v,c1:g})=>x.eql(E,v)&&x.eql(b,g),sqrt:ad,inv:({c0:E,c1:b})=>{let v=x.inv(x.sub(x.sqr(E),x.mulByNonresidue(x.sqr(b))));return{c0:x.mul(E,v),c1:x.neg(x.mul(b,v))}},div:(E,b)=>M.mul(E,typeof b=="bigint"?n.inv(n.create(b)):M.inv(b)),pow:(E,b)=>wo(M,E,b),invertBatch:E=>Ur(M,E),add:R,sub:U,mul:F,sqr:D,addN:R,subN:U,mulN:F,sqrN:D,fromBytes:E=>{if(E.length!==M.BYTES)throw new Error("fromBytes invalid length="+E.length);return{c0:x.fromBytes(E.subarray(0,x.BYTES)),c1:x.fromBytes(E.subarray(x.BYTES))}},toBytes:({c0:E,c1:b})=>_e(x.toBytes(E),x.toBytes(b)),cmov:({c0:E,c1:b},{c0:v,c1:g},w)=>({c0:x.cmov(E,v,w),c1:x.cmov(b,g,w)}),fromBigTwelve:E=>({c0:x.fromBigSix(E.slice(0,6)),c1:x.fromBigSix(E.slice(6,12))}),frobeniusMap(E,b){const{c0:v,c1:g,c2:w}=x.frobeniusMap(E.c1,b),S=P[b%12];return{c0:x.frobeniusMap(E.c0,b),c1:x.create({c0:h.mul(v,S),c1:h.mul(g,S),c2:h.mul(w,S)})}},mulByFp2:({c0:E,c1:b},v)=>({c0:x.mulByFp2(E,v),c1:x.mulByFp2(b,v)}),conjugate:({c0:E,c1:b})=>({c0:E,c1:x.neg(b)}),mul014:({c0:E,c1:b},v,g,w)=>{let S=x.mul01(E,v,g),A=x.mul1(b,w);return{c0:x.add(x.mulByNonresidue(A),S),c1:x.sub(x.sub(x.mul01(x.add(b,E),v,h.add(g,w)),S),A)}},mul034:({c0:E,c1:b},v,g,w)=>{const S=x.create({c0:h.mul(E.c0,v),c1:h.mul(E.c1,v),c2:h.mul(E.c2,v)}),A=x.mul01(b,g,w),I=x.mul01(x.add(E,b),h.add(v,g),w);return{c0:x.add(x.mulByNonresidue(A),S),c1:x.sub(I,x.add(S,A))}},_cyclotomicSquare:t.Fp12cyclotomicSquare,_cyclotomicExp:t.Fp12cyclotomicExp,finalExponentiate:t.Fp12finalExponentiate};return{Fp:n,Fp2:h,Fp6:x,Fp4Square:j,Fp12:M}}const ot=BigInt(0),xo=BigInt(1),Ne=BigInt(2),_o=BigInt(3),Xi=BigInt(4),Xn=BigInt("0xd201000000010000"),Z8=Ki(Xn),{Fp:X,Fp2:J,Fp6:Kc,Fp4Square:Gc,Fp12:re}=W8({ORDER:BigInt("0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaab"),FP2_NONRESIDUE:[xo,xo],Fp2mulByB:({c0:t,c1:e})=>{const n=X.mul(t,Xi),r=X.mul(e,Xi);return{c0:X.sub(n,r),c1:X.add(n,r)}},Fp12cyclotomicSquare:({c0:t,c1:e})=>{const{c0:n,c1:r,c2:i}=t,{c0:s,c1:o,c2:a}=e,{first:c,second:u}=Gc(n,o),{first:l,second:f}=Gc(s,i),{first:d,second:h}=Gc(r,a),p=J.mulByNonresidue(h);return{c0:Kc.create({c0:J.add(J.mul(J.sub(c,n),Ne),c),c1:J.add(J.mul(J.sub(l,r),Ne),l),c2:J.add(J.mul(J.sub(d,i),Ne),d)}),c1:Kc.create({c0:J.add(J.mul(J.add(p,s),Ne),p),c1:J.add(J.mul(J.add(u,o),Ne),u),c2:J.add(J.mul(J.add(f,a),Ne),f)})}},Fp12cyclotomicExp(t,e){let n=re.ONE;for(let r=Z8-1;r>=0;r--)n=re._cyclotomicSquare(n),_E(e,r)&&(n=re.mul(n,t));return n},Fp12finalExponentiate:t=>{const e=Xn,n=re.div(re.frobeniusMap(t,6),t),r=re.mul(re.frobeniusMap(n,2),n),i=re.conjugate(re._cyclotomicExp(r,e)),s=re.mul(re.conjugate(re._cyclotomicSquare(r)),i),o=re.conjugate(re._cyclotomicExp(s,e)),a=re.conjugate(re._cyclotomicExp(o,e)),c=re.mul(re.conjugate(re._cyclotomicExp(a,e)),re._cyclotomicSquare(i)),u=re.conjugate(re._cyclotomicExp(c,e)),l=re.frobeniusMap(re.mul(i,a),2),f=re.frobeniusMap(re.mul(o,r),3),d=re.frobeniusMap(re.mul(c,re.conjugate(r)),1),h=re.mul(re.mul(u,re.conjugate(s)),r);return re.mul(re.mul(re.mul(l,f),d),h)}}),Vd=Wn(BigInt("0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001")),Y8=Ld(J,[[["0x5c759507e8e333ebb5b7a9a47d7ed8532c52d39fd3a042a88b58423c50ae15d5c2638e343d9c71c6238aaaaaaaa97d6","0x5c759507e8e333ebb5b7a9a47d7ed8532c52d39fd3a042a88b58423c50ae15d5c2638e343d9c71c6238aaaaaaaa97d6"],["0x0","0x11560bf17baa99bc32126fced787c88f984f87adf7ae0c7f9a208c6b4f20a4181472aaa9cb8d555526a9ffffffffc71a"],["0x11560bf17baa99bc32126fced787c88f984f87adf7ae0c7f9a208c6b4f20a4181472aaa9cb8d555526a9ffffffffc71e","0x8ab05f8bdd54cde190937e76bc3e447cc27c3d6fbd7063fcd104635a790520c0a395554e5c6aaaa9354ffffffffe38d"],["0x171d6541fa38ccfaed6dea691f5fb614cb14b4e7f4e810aa22d6108f142b85757098e38d0f671c7188e2aaaaaaaa5ed1","0x0"]],[["0x0","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaa63"],["0xc","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaa9f"],["0x1","0x0"]],[["0x1530477c7ab4113b59a4c18b076d11930f7da5d4a07f649bf54439d87d27e500fc8c25ebf8c92f6812cfc71c71c6d706","0x1530477c7ab4113b59a4c18b076d11930f7da5d4a07f649bf54439d87d27e500fc8c25ebf8c92f6812cfc71c71c6d706"],["0x0","0x5c759507e8e333ebb5b7a9a47d7ed8532c52d39fd3a042a88b58423c50ae15d5c2638e343d9c71c6238aaaaaaaa97be"],["0x11560bf17baa99bc32126fced787c88f984f87adf7ae0c7f9a208c6b4f20a4181472aaa9cb8d555526a9ffffffffc71c","0x8ab05f8bdd54cde190937e76bc3e447cc27c3d6fbd7063fcd104635a790520c0a395554e5c6aaaa9354ffffffffe38f"],["0x124c9ad43b6cf79bfbf7043de3811ad0761b0f37a1e26286b0e977c69aa274524e79097a56dc4bd9e1b371c71c718b10","0x0"]],[["0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffa8fb","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffa8fb"],["0x0","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffa9d3"],["0x12","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaa99"],["0x1","0x0"]]].map(t=>t.map(e=>J.fromBigTuple(e.map(BigInt))))),X8=Ld(X,[["0x11a05f2b1e833340b809101dd99815856b303e88a2d7005ff2627b56cdb4e2c85610c2d5f2e62d6eaeac1662734649b7","0x17294ed3e943ab2f0588bab22147a81c7c17e75b2f6a8417f565e33c70d1e86b4838f2a6f318c356e834eef1b3cb83bb","0xd54005db97678ec1d1048c5d10a9a1bce032473295983e56878e501ec68e25c958c3e3d2a09729fe0179f9dac9edcb0","0x1778e7166fcc6db74e0609d307e55412d7f5e4656a8dbf25f1b33289f1b330835336e25ce3107193c5b388641d9b6861","0xe99726a3199f4436642b4b3e4118e5499db995a1257fb3f086eeb65982fac18985a286f301e77c451154ce9ac8895d9","0x1630c3250d7313ff01d1201bf7a74ab5db3cb17dd952799b9ed3ab9097e68f90a0870d2dcae73d19cd13c1c66f652983","0xd6ed6553fe44d296a3726c38ae652bfb11586264f0f8ce19008e218f9c86b2a8da25128c1052ecaddd7f225a139ed84","0x17b81e7701abdbe2e8743884d1117e53356de5ab275b4db1a682c62ef0f2753339b7c8f8c8f475af9ccb5618e3f0c88e","0x80d3cf1f9a78fc47b90b33563be990dc43b756ce79f5574a2c596c928c5d1de4fa295f296b74e956d71986a8497e317","0x169b1f8e1bcfa7c42e0c37515d138f22dd2ecb803a0c5c99676314baf4bb1b7fa3190b2edc0327797f241067be390c9e","0x10321da079ce07e272d8ec09d2565b0dfa7dccdde6787f96d50af36003b14866f69b771f8c285decca67df3f1605fb7b","0x6e08c248e260e70bd1e962381edee3d31d79d7e22c837bc23c0bf1bc24c6b68c24b1b80b64d391fa9c8ba2e8ba2d229"],["0x8ca8d548cff19ae18b2e62f4bd3fa6f01d5ef4ba35b48ba9c9588617fc8ac62b558d681be343df8993cf9fa40d21b1c","0x12561a5deb559c4348b4711298e536367041e8ca0cf0800c0126c2588c48bf5713daa8846cb026e9e5c8276ec82b3bff","0xb2962fe57a3225e8137e629bff2991f6f89416f5a718cd1fca64e00b11aceacd6a3d0967c94fedcfcc239ba5cb83e19","0x3425581a58ae2fec83aafef7c40eb545b08243f16b1655154cca8abc28d6fd04976d5243eecf5c4130de8938dc62cd8","0x13a8e162022914a80a6f1d5f43e7a07dffdfc759a12062bb8d6b44e833b306da9bd29ba81f35781d539d395b3532a21e","0xe7355f8e4e667b955390f7f0506c6e9395735e9ce9cad4d0a43bcef24b8982f7400d24bc4228f11c02df9a29f6304a5","0x772caacf16936190f3e0c63e0596721570f5799af53a1894e2e073062aede9cea73b3538f0de06cec2574496ee84a3a","0x14a7ac2a9d64a8b230b3f5b074cf01996e7f63c21bca68a81996e1cdf9822c580fa5b9489d11e2d311f7d99bbdcc5a5e","0xa10ecf6ada54f825e920b3dafc7a3cce07f8d1d7161366b74100da67f39883503826692abba43704776ec3a79a1d641","0x95fc13ab9e92ad4476d6e3eb3a56680f682b4ee96f7d03776df533978f31c1593174e4b4b7865002d6384d168ecdd0a","0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"],["0x90d97c81ba24ee0259d1f094980dcfa11ad138e48a869522b52af6c956543d3cd0c7aee9b3ba3c2be9845719707bb33","0x134996a104ee5811d51036d776fb46831223e96c254f383d0f906343eb67ad34d6c56711962fa8bfe097e75a2e41c696","0xcc786baa966e66f4a384c86a3b49942552e2d658a31ce2c344be4b91400da7d26d521628b00523b8dfe240c72de1f6","0x1f86376e8981c217898751ad8746757d42aa7b90eeb791c09e4a3ec03251cf9de405aba9ec61deca6355c77b0e5f4cb","0x8cc03fdefe0ff135caf4fe2a21529c4195536fbe3ce50b879833fd221351adc2ee7f8dc099040a841b6daecf2e8fedb","0x16603fca40634b6a2211e11db8f0a6a074a7d0d4afadb7bd76505c3d3ad5544e203f6326c95a807299b23ab13633a5f0","0x4ab0b9bcfac1bbcb2c977d027796b3ce75bb8ca2be184cb5231413c4d634f3747a87ac2460f415ec961f8855fe9d6f2","0x987c8d5333ab86fde9926bd2ca6c674170a05bfe3bdd81ffd038da6c26c842642f64550fedfe935a15e4ca31870fb29","0x9fc4018bd96684be88c9e221e4da1bb8f3abd16679dc26c1e8b6e6a1f20cabe69d65201c78607a360370e577bdba587","0xe1bba7a1186bdb5223abde7ada14a23c42a0ca7915af6fe06985e7ed1e4d43b9b3f7055dd4eba6f2bafaaebca731c30","0x19713e47937cd1be0dfd0b8f1d43fb93cd2fcbcb6caf493fd1183e416389e61031bf3a5cce3fbafce813711ad011c132","0x18b46a908f36f6deb918c143fed2edcc523559b8aaf0c2462e6bfe7f911f643249d9cdf41b44d606ce07c8a4d0074d8e","0xb182cac101b9399d155096004f53f447aa7b12a3426b08ec02710e807b4633f06c851c1919211f20d4c04f00b971ef8","0x245a394ad1eca9b72fc00ae7be315dc757b3b080d4c158013e6632d3c40659cc6cf90ad1c232a6442d9d3f5db980133","0x5c129645e44cf1102a159f748c4a3fc5e673d81d7e86568d9ab0f5d396a7ce46ba1049b6579afb7866b1e715475224b","0x15e6be4e990f03ce4ea50b3b42df2eb5cb181d8f84965a3957add4fa95af01b2b665027efec01c7704b456be69c8b604"],["0x16112c4c3a9c98b252181140fad0eae9601a6de578980be6eec3232b5be72e7a07f3688ef60c206d01479253b03663c1","0x1962d75c2381201e1a0cbd6c43c348b885c84ff731c4d59ca4a10356f453e01f78a4260763529e3532f6102c2e49a03d","0x58df3306640da276faaae7d6e8eb15778c4855551ae7f310c35a5dd279cd2eca6757cd636f96f891e2538b53dbf67f2","0x16b7d288798e5395f20d23bf89edb4d1d115c5dbddbcd30e123da489e726af41727364f2c28297ada8d26d98445f5416","0xbe0e079545f43e4b00cc912f8228ddcc6d19c9f0f69bbb0542eda0fc9dec916a20b15dc0fd2ededda39142311a5001d","0x8d9e5297186db2d9fb266eaac783182b70152c65550d881c5ecd87b6f0f5a6449f38db9dfa9cce202c6477faaf9b7ac","0x166007c08a99db2fc3ba8734ace9824b5eecfdfa8d0cf8ef5dd365bc400a0051d5fa9c01a58b1fb93d1a1399126a775c","0x16a3ef08be3ea7ea03bcddfabba6ff6ee5a4375efa1f4fd7feb34fd206357132b920f5b00801dee460ee415a15812ed9","0x1866c8ed336c61231a1be54fd1d74cc4f9fb0ce4c6af5920abc5750c4bf39b4852cfe2f7bb9248836b233d9d55535d4a","0x167a55cda70a6e1cea820597d94a84903216f763e13d87bb5308592e7ea7d4fbc7385ea3d529b35e346ef48bb8913f55","0x4d2f259eea405bd48f010a01ad2911d9c6dd039bb61a6290e591b36e636a5c871a5c29f4f83060400f8b49cba8f6aa8","0xaccbb67481d033ff5852c1e48c50c477f94ff8aefce42d28c0f9a88cea7913516f968986f7ebbea9684b529e2561092","0xad6b9514c767fe3c3613144b45f1496543346d98adf02267d5ceef9a00d9b8693000763e3b90ac11e99b138573345cc","0x2660400eb2e4f3b628bdd0d53cd76f2bf565b94e72927c1cb748df27942480e420517bd8714cc80d1fadc1326ed06f7","0xe0fa1d816ddc03e6b24255e0d7819c171c40f65e273b853324efcd6356caa205ca2f570f13497804415473a1d634b8f","0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"]].map(t=>t.map(e=>BigInt(e)))),J8=Ud(J,{A:J.create({c0:X.create(ot),c1:X.create(BigInt(240))}),B:J.create({c0:X.create(BigInt(1012)),c1:X.create(BigInt(1012))}),Z:J.create({c0:X.create(BigInt(-2)),c1:X.create(BigInt(-1))})}),Q8=Ud(X,{A:X.create(BigInt("0x144698a3b8e9433d693a02c96d4982b0ea985383ee66a8d8e8981aefd881ac98936f8da0e0f97f5cf428082d584c1d")),B:X.create(BigInt("0x12e2908d11688030018b12e8753eee3b2016c1f0f24f4070a0b9c14fcef35ef55a23215a316ceaa5d1cc48e98e172be0")),Z:X.create(BigInt(11))}),{G2psi:Kd,G2psi2:ex}=G8(X,J,J.div(J.ONE,J.NONRESIDUE)),Wc=Object.freeze({DST:"BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_NUL_",encodeDST:"BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_NUL_",p:X.ORDER,m:2,k:128,expand:"xmd",hash:lo}),So=Ji(X.toBytes(ot),{infinity:!0,compressed:!0});function Io(t){t=t.slice();const e=t[0]&224,n=!!(e>>7&1),r=!!(e>>6&1),i=!!(e>>5&1);return t[0]&=31,{compressed:n,infinity:r,sort:i,value:t}}function Ji(t,e){if(t[0]&224)throw new Error("setMask: non-empty mask");return e.compressed&&(t[0]|=128),e.infinity&&(t[0]|=64),e.sort&&(t[0]|=32),t}function Gd(t){t.assertValidity();const e=t.equals(Ht.G1.ProjectivePoint.ZERO),{x:n,y:r}=t.toAffine();if(e)return So.slice();const i=X.ORDER,s=!!(r*Ne/i);return Ji(Oe(n,X.BYTES),{compressed:!0,sort:s})}function Wd(t){t.assertValidity();const e=X.BYTES;if(t.equals(Ht.G2.ProjectivePoint.ZERO))return _e(So,Oe(ot,e));const{x:n,y:r}=t.toAffine(),{re:i,im:s}=J.reim(n),{re:o,im:a}=J.reim(r),u=!!((a>ot?a*Ne:o*Ne)/X.ORDER&xo),l=i;return _e(Ji(Oe(s,e),{sort:u,compressed:!0}),Oe(l,e))}const Ht=V8({fields:{Fp:X,Fp2:J,Fp6:Kc,Fp12:re,Fr:Vd},G1:{Fp:X,h:BigInt("0x396c8c005555e1568c00aaab0000aaab"),Gx:BigInt("0x17f1d3a73197d7942695638c4fa9ac0fc3688c4f9774b905a14e3a3f171bac586c55e83ff97a1aeffb3af00adb22c6bb"),Gy:BigInt("0x08b3f481e3aaa0f1a09e30ed741d8ae4fcf5e095d5d00af600db18cb2c04b3edd03cc744a2888ae40caa232946c5e7e1"),a:X.ZERO,b:Xi,htfDefaults:{...Wc,m:1,DST:"BLS_SIG_BLS12381G1_XMD:SHA-256_SSWU_RO_NUL_"},wrapPrivateKey:!0,allowInfinityPoint:!0,isTorsionFree:(t,e)=>{const n=BigInt("0x5f19672fdf76ce51ba69c6076a0f77eaddb3a93be6f89688de17d813620a00022e01fffffffefffe"),r=new t(X.mul(e.px,n),e.py,e.pz);return e.multiplyUnsafe(Xn).negate().multiplyUnsafe(Xn).equals(r)},clearCofactor:(t,e)=>e.multiplyUnsafe(Xn).add(e),mapToCurve:t=>{const{x:e,y:n}=Q8(X.create(t[0]));return X8(e,n)},fromBytes:t=>{const{compressed:e,infinity:n,sort:r,value:i}=Io(t);if(i.length===48&&e){const s=X.ORDER,o=rt(i),a=X.create(o&X.MASK);if(n){if(a!==ot)throw new Error("G1: non-empty compressed point at infinity");return{x:ot,y:ot}}const c=X.add(X.pow(a,_o),X.create(Ht.params.G1b));let u=X.sqrt(c);if(!u)throw new Error("invalid compressed G1 point");return u*Ne/s!==BigInt(r)&&(u=X.neg(u)),{x:X.create(a),y:X.create(u)}}else if(i.length===96&&!e){const s=rt(i.subarray(0,X.BYTES)),o=rt(i.subarray(X.BYTES));if(n){if(s!==ot||o!==ot)throw new Error("G1: non-empty point at infinity");return Ht.G1.ProjectivePoint.ZERO.toAffine()}return{x:X.create(s),y:X.create(o)}}else throw new Error("invalid point G1, expected 48/96 bytes")},toBytes:(t,e,n)=>{const r=e.equals(t.ZERO),{x:i,y:s}=e.toAffine();if(n){if(r)return So.slice();const o=X.ORDER,a=!!(s*Ne/o);return Ji(Oe(i,X.BYTES),{compressed:!0,sort:a})}else return r?_e(new Uint8Array([64]),new Uint8Array(2*X.BYTES-1)):_e(Oe(i,X.BYTES),Oe(s,X.BYTES))},ShortSignature:{fromHex(t){const{infinity:e,sort:n,value:r}=Io(Ze("signatureHex",t,48)),i=X.ORDER,s=rt(r);if(e)return Ht.G1.ProjectivePoint.ZERO;const o=X.create(s&X.MASK),a=X.add(X.pow(o,_o),X.create(Ht.params.G1b));let c=X.sqrt(a);if(!c)throw new Error("invalid compressed G1 point");const u=BigInt(n);c*Ne/i!==u&&(c=X.neg(c));const l=Ht.G1.ProjectivePoint.fromAffine({x:o,y:c});return l.assertValidity(),l},toRawBytes(t){return Gd(t)},toHex(t){return Rr(Gd(t))}}},G2:{Fp:J,h:BigInt("0x5d543a95414e7f1091d50792876a202cd91de4547085abaa68a205b2e5a7ddfa628f1cb4d9e82ef21537e293a6691ae1616ec6e786f0c70cf1c38e31c7238e5"),Gx:J.fromBigTuple([BigInt("0x024aa2b2f08f0a91260805272dc51051c6e47ad4fa403b02b4510b647ae3d1770bac0326a805bbefd48056c8c121bdb8"),BigInt("0x13e02b6052719f607dacd3a088274f65596bd0d09920b61ab5da61bbdc7f5049334cf11213945d57e5ac7d055d042b7e")]),Gy:J.fromBigTuple([BigInt("0x0ce5d527727d6e118cc9cdc6da2e351aadfd9baa8cbdd3a76d429a695160d12c923ac9cc3baca289e193548608b82801"),BigInt("0x0606c4a02ea734cc32acd2b02bc28b99cb3e287e85a763af267492ab572e99ab3f370d275cec1da1aaa9075ff05f79be")]),a:J.ZERO,b:J.fromBigTuple([Xi,Xi]),hEff:BigInt("0xbc69f08f2ee75b3584c6a0ea91b352888e2a8e9145ad7689986ff031508ffe1329c2f178731db956d82bf015d1212b02ec0ec69d7477c1ae954cbc06689f6a359894c0adebbf6b4e8020005aaa95551"),htfDefaults:{...Wc},wrapPrivateKey:!0,allowInfinityPoint:!0,mapToCurve:t=>{const{x:e,y:n}=J8(J.fromBigTuple(t));return Y8(e,n)},isTorsionFree:(t,e)=>e.multiplyUnsafe(Xn).negate().equals(Kd(t,e)),clearCofactor:(t,e)=>{const n=Xn;let r=e.multiplyUnsafe(n).negate(),i=Kd(t,e),s=e.double();return s=ex(t,s),s=s.subtract(i),i=r.add(i),i=i.multiplyUnsafe(n).negate(),s=s.add(i),s=s.subtract(r),s.subtract(e)},fromBytes:t=>{const{compressed:e,infinity:n,sort:r,value:i}=Io(t);if(!e&&!n&&r||!e&&n&&r||r&&n&&e)throw new Error("invalid encoding flag: "+(t[0]&224));const s=X.BYTES,o=(a,c,u)=>rt(a.slice(c,u));if(i.length===96&&e){const a=Ht.params.G2b,c=X.ORDER;if(n){if(i.reduce((y,m)=>y!==0?m+1:m,0)>0)throw new Error("invalid compressed G2 point");return{x:J.ZERO,y:J.ZERO}}const u=o(i,0,s),l=o(i,s,2*s),f=J.create({c0:X.create(l),c1:X.create(u)}),d=J.add(J.pow(f,_o),a);let h=J.sqrt(d);const p=h.c1===ot?h.c0*Ne/c:h.c1*Ne/c?xo:ot;return h=r&&p>0?h:J.neg(h),{x:f,y:h}}else if(i.length===192&&!e){if(n){if(i.reduce((f,d)=>f!==0?d+1:d,0)>0)throw new Error("invalid uncompressed G2 point");return{x:J.ZERO,y:J.ZERO}}const a=o(i,0,s),c=o(i,s,2*s),u=o(i,2*s,3*s),l=o(i,3*s,4*s);return{x:J.fromBigTuple([c,a]),y:J.fromBigTuple([l,u])}}else throw new Error("invalid point G2, expected 96/192 bytes")},toBytes:(t,e,n)=>{const{BYTES:r,ORDER:i}=X,s=e.equals(t.ZERO),{x:o,y:a}=e.toAffine();if(n){if(s)return _e(So,Oe(ot,r));const c=!!(a.c1===ot?a.c0*Ne/i:a.c1*Ne/i);return _e(Ji(Oe(o.c1,r),{compressed:!0,sort:c}),Oe(o.c0,r))}else{if(s)return _e(new Uint8Array([64]),new Uint8Array(4*r-1));const{re:c,im:u}=J.reim(o),{re:l,im:f}=J.reim(a);return _e(Oe(u,r),Oe(c,r),Oe(f,r),Oe(l,r))}},Signature:{fromHex(t){const{infinity:e,sort:n,value:r}=Io(Ze("signatureHex",t)),i=X.ORDER,s=r.length/2;if(s!==48&&s!==96)throw new Error("invalid compressed signature length, must be 96 or 192");const o=rt(r.slice(0,s)),a=rt(r.slice(s));if(e)return Ht.G2.ProjectivePoint.ZERO;const c=X.create(o&X.MASK),u=X.create(a),l=J.create({c0:u,c1:c}),f=J.add(J.pow(l,_o),Ht.params.G2b);let d=J.sqrt(f);if(!d)throw new Error("Failed to find a square root");const{re:h,im:p}=J.reim(d),y=BigInt(n),m=p>ot&&p*Ne/i!==y,B=p===ot&&h*Ne/i!==y;(m||B)&&(d=J.neg(d));const $=Ht.G2.ProjectivePoint.fromAffine({x:l,y:d});return $.assertValidity(),$},toRawBytes(t){return Wd(t)},toHex(t){return Rr(Wd(t))}}},params:{ateLoopSize:Xn,r:Vd.ORDER,xNegative:!0,twistType:"multiplicative"},htfDefaults:Wc,hash:lo,randomBytes:Mh});BigInt(0),BigInt(1),BigInt(2),BigInt(8),BigInt(0),BigInt(1),BigInt(2),BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),BigInt(0),BigInt(1),BigInt(2),BigInt(3),BigInt(5),BigInt(8);const pi=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function Ao(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Zc(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function Fr(t,...e){if(!Ao(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function Zd(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");Zc(t.outputLen),Zc(t.blockLen)}function Bo(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function tx(t,e){Fr(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function Oo(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function Yc(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function nn(t,e){return t<<32-e|t>>>e}const Yd=(()=>typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function")(),nx=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function gi(t){if(Fr(t),Yd)return t.toHex();let e="";for(let n=0;n<t.length;n++)e+=nx[t[n]];return e}const Sn={_0:48,_9:57,A:65,F:70,a:97,f:102};function Xd(t){if(t>=Sn._0&&t<=Sn._9)return t-Sn._0;if(t>=Sn.A&&t<=Sn.F)return t-(Sn.A-10);if(t>=Sn.a&&t<=Sn.f)return t-(Sn.a-10)}function Do(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(Yd)return Uint8Array.fromHex(t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=Xd(t.charCodeAt(s)),a=Xd(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function Xc(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function Jc(t){return typeof t=="string"&&(t=Xc(t)),Fr(t),t}function Jn(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];Fr(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}class Jd{}function rx(t){const e=r=>t().update(Jc(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function Qd(t=32){if(pi&&typeof pi.getRandomValues=="function")return pi.getRandomValues(new Uint8Array(t));if(pi&&typeof pi.randomBytes=="function")return Uint8Array.from(pi.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}const Qc=BigInt(0),eu=BigInt(1);function $o(t,e=""){if(typeof t!="boolean"){const n=e&&`"${e}"`;throw new Error(n+"expected boolean, got type="+typeof t)}return t}function Lr(t,e,n=""){const r=Ao(t),i=t?.length,s=e!==void 0;if(!r||s&&i!==e){const o=n&&`"${n}" `,a=s?` of length ${e}`:"",c=r?`length=${i}`:`type=${typeof t}`;throw new Error(o+"expected Uint8Array"+a+", got "+c)}return t}function Po(t){const e=t.toString(16);return e.length&1?"0"+e:e}function ep(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?Qc:BigInt("0x"+t)}function To(t){return ep(gi(t))}function tp(t){return Fr(t),ep(gi(Uint8Array.from(t).reverse()))}function tu(t,e){return Do(t.toString(16).padStart(e*2,"0"))}function np(t,e){return tu(t,e).reverse()}function pt(t,e,n){let r;if(typeof e=="string")try{r=Do(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(Ao(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}const nu=t=>typeof t=="bigint"&&Qc<=t;function ix(t,e,n){return nu(t)&&nu(e)&&nu(n)&&e<=t&&t<n}function sx(t,e,n,r){if(!ix(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function rp(t){let e;for(e=0;t>Qc;t>>=eu,e+=1);return e}const Qi=t=>(eu<<BigInt(t))-eu;function ox(t,e,n){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");const r=h=>new Uint8Array(h),i=h=>Uint8Array.of(h);let s=r(t),o=r(t),a=0;const c=()=>{s.fill(1),o.fill(0),a=0},u=(...h)=>n(o,s,...h),l=(h=r(0))=>{o=u(i(0),h),s=u(),h.length!==0&&(o=u(i(1),h),s=u())},f=()=>{if(a++>=1e3)throw new Error("drbg: tried 1000 values");let h=0;const p=[];for(;h<e;){s=u();const y=s.slice();p.push(y),h+=s.length}return Jn(...p)};return(h,p)=>{c(),l(h);let y;for(;!(y=p(f()));)l();return c(),y}}function ru(t,e,n={}){if(!t||typeof t!="object")throw new Error("expected valid options object");function r(i,s,o){const a=t[i];if(o&&a===void 0)return;const c=typeof a;if(c!==s||a===null)throw new Error(`param "${i}" is invalid: expected ${s}, got ${c}`)}Object.entries(e).forEach(([i,s])=>r(i,s,!1)),Object.entries(n).forEach(([i,s])=>r(i,s,!0))}function ip(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}const gt=BigInt(0),at=BigInt(1),kr=BigInt(2),sp=BigInt(3),op=BigInt(4),ap=BigInt(5),ax=BigInt(7),cp=BigInt(8),cx=BigInt(9),up=BigInt(16);function Vt(t,e){const n=t%e;return n>=gt?n:e+n}function Tt(t,e,n){let r=t;for(;e-- >gt;)r*=r,r%=n;return r}function lp(t,e){if(t===gt)throw new Error("invert: expected non-zero number");if(e<=gt)throw new Error("invert: expected positive modulus, got "+e);let n=Vt(t,e),r=e,i=gt,s=at;for(;n!==gt;){const a=r/n,c=r%n,u=i-s*a;r=n,n=c,i=s,s=u}if(r!==at)throw new Error("invert: does not exist");return Vt(i,e)}function iu(t,e,n){if(!t.eql(t.sqr(e),n))throw new Error("Cannot find square root")}function fp(t,e){const n=(t.ORDER+at)/op,r=t.pow(e,n);return iu(t,r,e),r}function ux(t,e){const n=(t.ORDER-ap)/cp,r=t.mul(e,kr),i=t.pow(r,n),s=t.mul(e,i),o=t.mul(t.mul(s,kr),i),a=t.mul(s,t.sub(o,t.ONE));return iu(t,a,e),a}function lx(t){const e=es(t),n=hp(t),r=n(e,e.neg(e.ONE)),i=n(e,r),s=n(e,e.neg(r)),o=(t+ax)/up;return(a,c)=>{let u=a.pow(c,o),l=a.mul(u,r);const f=a.mul(u,i),d=a.mul(u,s),h=a.eql(a.sqr(l),c),p=a.eql(a.sqr(f),c);u=a.cmov(u,l,h),l=a.cmov(d,f,p);const y=a.eql(a.sqr(l),c),m=a.cmov(u,l,y);return iu(a,m,c),m}}function hp(t){if(t<sp)throw new Error("sqrt is not defined for small field");let e=t-at,n=0;for(;e%kr===gt;)e/=kr,n++;let r=kr;const i=es(t);for(;pp(i,r)===1;)if(r++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return fp;let s=i.pow(r,e);const o=(e+at)/kr;return function(c,u){if(c.is0(u))return u;if(pp(c,u)!==1)throw new Error("Cannot find square root");let l=n,f=c.mul(c.ONE,s),d=c.pow(u,e),h=c.pow(u,o);for(;!c.eql(d,c.ONE);){if(c.is0(d))return c.ZERO;let p=1,y=c.sqr(d);for(;!c.eql(y,c.ONE);)if(p++,y=c.sqr(y),p===l)throw new Error("Cannot find square root");const m=at<<BigInt(l-p-1),B=c.pow(f,m);l=p,f=c.sqr(B),d=c.mul(d,f),h=c.mul(h,B)}return h}}function fx(t){return t%op===sp?fp:t%cp===ap?ux:t%up===cx?lx(t):hp(t)}const hx=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function dx(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},n=hx.reduce((r,i)=>(r[i]="function",r),e);return ru(t,n),t}function px(t,e,n){if(n<gt)throw new Error("invalid exponent, negatives unsupported");if(n===gt)return t.ONE;if(n===at)return e;let r=t.ONE,i=e;for(;n>gt;)n&at&&(r=t.mul(r,i)),i=t.sqr(i),n>>=at;return r}function dp(t,e,n=!1){const r=new Array(e.length).fill(n?t.ZERO:void 0),i=e.reduce((o,a,c)=>t.is0(a)?o:(r[c]=o,t.mul(o,a)),t.ONE),s=t.inv(i);return e.reduceRight((o,a,c)=>t.is0(a)?o:(r[c]=t.mul(o,r[c]),t.mul(o,a)),s),r}function pp(t,e){const n=(t.ORDER-at)/kr,r=t.pow(e,n),i=t.eql(r,t.ONE),s=t.eql(r,t.ZERO),o=t.eql(r,t.neg(t.ONE));if(!i&&!s&&!o)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function gp(t,e){e!==void 0&&Zc(e);const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function es(t,e,n=!1,r={}){if(t<=gt)throw new Error("invalid field: expected ORDER > 0, got "+t);let i,s,o=!1,a;if(typeof e=="object"&&e!=null){if(r.sqrt||n)throw new Error("cannot specify opts in two arguments");const d=e;d.BITS&&(i=d.BITS),d.sqrt&&(s=d.sqrt),typeof d.isLE=="boolean"&&(n=d.isLE),typeof d.modFromBytes=="boolean"&&(o=d.modFromBytes),a=d.allowedLengths}else typeof e=="number"&&(i=e),r.sqrt&&(s=r.sqrt);const{nBitLength:c,nByteLength:u}=gp(t,i);if(u>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let l;const f=Object.freeze({ORDER:t,isLE:n,BITS:c,BYTES:u,MASK:Qi(c),ZERO:gt,ONE:at,allowedLengths:a,create:d=>Vt(d,t),isValid:d=>{if(typeof d!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof d);return gt<=d&&d<t},is0:d=>d===gt,isValidNot0:d=>!f.is0(d)&&f.isValid(d),isOdd:d=>(d&at)===at,neg:d=>Vt(-d,t),eql:(d,h)=>d===h,sqr:d=>Vt(d*d,t),add:(d,h)=>Vt(d+h,t),sub:(d,h)=>Vt(d-h,t),mul:(d,h)=>Vt(d*h,t),pow:(d,h)=>px(f,d,h),div:(d,h)=>Vt(d*lp(h,t),t),sqrN:d=>d*d,addN:(d,h)=>d+h,subN:(d,h)=>d-h,mulN:(d,h)=>d*h,inv:d=>lp(d,t),sqrt:s||(d=>(l||(l=fx(t)),l(f,d))),toBytes:d=>n?np(d,u):tu(d,u),fromBytes:(d,h=!0)=>{if(a){if(!a.includes(d.length)||d.length>u)throw new Error("Field.fromBytes: expected "+a+" bytes, got "+d.length);const y=new Uint8Array(u);y.set(d,n?0:y.length-d.length),d=y}if(d.length!==u)throw new Error("Field.fromBytes: expected "+u+" bytes, got "+d.length);let p=n?tp(d):To(d);if(o&&(p=Vt(p,t)),!h&&!f.isValid(p))throw new Error("invalid field element: outside of range 0..ORDER");return p},invertBatch:d=>dp(f,d),cmov:(d,h,p)=>p?h:d});return Object.freeze(f)}function yp(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const e=t.toString(2).length;return Math.ceil(e/8)}function bp(t){const e=yp(t);return e+Math.ceil(e/2)}function gx(t,e,n=!1){const r=t.length,i=yp(e),s=bp(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const o=n?tp(t):To(t),a=Vt(o,e-at)+at;return n?np(a,i):tu(a,i)}function yx(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}function bx(t,e,n){return t&e^~t&n}function wx(t,e,n){return t&e^t&n^e&n}class mx extends Jd{constructor(e,n,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=Yc(this.buffer)}update(e){Bo(this),e=Jc(e),Fr(e);const{view:n,buffer:r,blockLen:i}=this,s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=Yc(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){Bo(this),tx(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,Oo(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(r,0),o=0);for(let f=o;f<i;f++)n[f]=0;yx(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=Yc(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=c/4,l=this.get();if(u>l.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f<u;f++)a.setUint32(4*f,l[f],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=s,e.length=i,e.pos=a,i%n&&e.buffer.set(r),e}clone(){return this._cloneInto()}}const Qn=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),vx=Uint32Array.from([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]),er=new Uint32Array(64);class Ex extends mx{constructor(e=32){super(64,e,8,!1),this.A=Qn[0]|0,this.B=Qn[1]|0,this.C=Qn[2]|0,this.D=Qn[3]|0,this.E=Qn[4]|0,this.F=Qn[5]|0,this.G=Qn[6]|0,this.H=Qn[7]|0}get(){const{A:e,B:n,C:r,D:i,E:s,F:o,G:a,H:c}=this;return[e,n,r,i,s,o,a,c]}set(e,n,r,i,s,o,a,c){this.A=e|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=s|0,this.F=o|0,this.G=a|0,this.H=c|0}process(e,n){for(let f=0;f<16;f++,n+=4)er[f]=e.getUint32(n,!1);for(let f=16;f<64;f++){const d=er[f-15],h=er[f-2],p=nn(d,7)^nn(d,18)^d>>>3,y=nn(h,17)^nn(h,19)^h>>>10;er[f]=y+er[f-7]+p+er[f-16]|0}let{A:r,B:i,C:s,D:o,E:a,F:c,G:u,H:l}=this;for(let f=0;f<64;f++){const d=nn(a,6)^nn(a,11)^nn(a,25),h=l+d+bx(a,c,u)+vx[f]+er[f]|0,y=(nn(r,2)^nn(r,13)^nn(r,22))+wx(r,i,s)|0;l=u,u=c,c=a,a=o+h|0,o=s,s=i,i=r,r=h+y|0}r=r+this.A|0,i=i+this.B|0,s=s+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,u=u+this.G|0,l=l+this.H|0,this.set(r,i,s,o,a,c,u,l)}roundClean(){Oo(er)}destroy(){this.set(0,0,0,0,0,0,0,0),Oo(this.buffer)}}const wp=rx(()=>new Ex);class mp extends Jd{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,Zd(e);const r=Jc(n);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;const i=this.blockLen,s=new Uint8Array(i);s.set(r.length>i?e.create().update(r).digest():r);for(let o=0;o<s.length;o++)s[o]^=54;this.iHash.update(s),this.oHash=e.create();for(let o=0;o<s.length;o++)s[o]^=106;this.oHash.update(s),Oo(s)}update(e){return Bo(this),this.iHash.update(e),this}digestInto(e){Bo(this),Fr(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:r,finished:i,destroyed:s,blockLen:o,outputLen:a}=this;return e=e,e.finished=i,e.destroyed=s,e.blockLen=o,e.outputLen=a,e.oHash=n._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const vp=(t,e,n)=>new mp(t,e).update(n).digest();vp.create=(t,e)=>new mp(t,e);const yi=BigInt(0),qr=BigInt(1);function Ro(t,e){const n=e.negate();return t?n:e}function su(t,e){const n=dp(t.Fp,e.map(r=>r.Z));return e.map((r,i)=>t.fromAffine(r.toAffine(n[i])))}function Ep(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function ou(t,e){Ep(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1),i=2**t,s=Qi(t),o=BigInt(t);return{windows:n,windowSize:r,mask:s,maxNumber:i,shiftBy:o}}function xp(t,e,n){const{windowSize:r,mask:i,maxNumber:s,shiftBy:o}=n;let a=Number(t&i),c=t>>o;a>r&&(a-=s,c+=qr);const u=e*r,l=u+Math.abs(a)-1,f=a===0,d=a<0,h=e%2!==0;return{nextN:c,offset:l,isZero:f,isNeg:d,isNegF:h,offsetF:u}}function xx(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function _x(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const au=new WeakMap,_p=new WeakMap;function cu(t){return _p.get(t)||1}function Sp(t){if(t!==yi)throw new Error("invalid wNAF")}class Sx{constructor(e,n){this.BASE=e.BASE,this.ZERO=e.ZERO,this.Fn=e.Fn,this.bits=n}_unsafeLadder(e,n,r=this.ZERO){let i=e;for(;n>yi;)n&qr&&(r=r.add(i)),i=i.double(),n>>=qr;return r}precomputeWindow(e,n){const{windows:r,windowSize:i}=ou(n,this.bits),s=[];let o=e,a=o;for(let c=0;c<r;c++){a=o,s.push(a);for(let u=1;u<i;u++)a=a.add(o),s.push(a);o=a.double()}return s}wNAF(e,n,r){if(!this.Fn.isValid(r))throw new Error("invalid scalar");let i=this.ZERO,s=this.BASE;const o=ou(e,this.bits);for(let a=0;a<o.windows;a++){const{nextN:c,offset:u,isZero:l,isNeg:f,isNegF:d,offsetF:h}=xp(r,a,o);r=c,l?s=s.add(Ro(d,n[h])):i=i.add(Ro(f,n[u]))}return Sp(r),{p:i,f:s}}wNAFUnsafe(e,n,r,i=this.ZERO){const s=ou(e,this.bits);for(let o=0;o<s.windows&&r!==yi;o++){const{nextN:a,offset:c,isZero:u,isNeg:l}=xp(r,o,s);if(r=a,!u){const f=n[c];i=i.add(l?f.negate():f)}}return Sp(r),i}getPrecomputes(e,n,r){let i=au.get(n);return i||(i=this.precomputeWindow(n,e),e!==1&&(typeof r=="function"&&(i=r(i)),au.set(n,i))),i}cached(e,n,r){const i=cu(e);return this.wNAF(i,this.getPrecomputes(i,e,r),n)}unsafe(e,n,r,i){const s=cu(e);return s===1?this._unsafeLadder(e,n,i):this.wNAFUnsafe(s,this.getPrecomputes(s,e,r),n,i)}createCache(e,n){Ep(n,this.bits),_p.set(e,n),au.delete(e)}hasCache(e){return cu(e)!==1}}function Ix(t,e,n,r){let i=e,s=t.ZERO,o=t.ZERO;for(;n>yi||r>yi;)n&qr&&(s=s.add(i)),r&qr&&(o=o.add(i)),i=i.double(),n>>=qr,r>>=qr;return{p1:s,p2:o}}function Ax(t,e,n,r){xx(n,t),_x(r,e);const i=n.length,s=r.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const o=t.ZERO,a=rp(BigInt(i));let c=1;a>12?c=a-3:a>4?c=a-2:a>0&&(c=2);const u=Qi(c),l=new Array(Number(u)+1).fill(o),f=Math.floor((e.BITS-1)/c)*c;let d=o;for(let h=f;h>=0;h-=c){l.fill(o);for(let y=0;y<s;y++){const m=r[y],B=Number(m>>BigInt(h)&u);l[B]=l[B].add(n[y])}let p=o;for(let y=l.length-1,m=o;y>0;y--)m=m.add(l[y]),p=p.add(m);if(d=d.add(p),h!==0)for(let y=0;y<c;y++)d=d.double()}return d}function Ip(t,e,n){if(e){if(e.ORDER!==t)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return dx(e),e}else return es(t,{isLE:n})}function Bx(t,e,n={},r){if(r===void 0&&(r=t==="edwards"),!e||typeof e!="object")throw new Error(`expected valid ${t} CURVE object`);for(const c of["p","n","h"]){const u=e[c];if(!(typeof u=="bigint"&&u>yi))throw new Error(`CURVE.${c} must be positive bigint`)}const i=Ip(e.p,n.Fp,r),s=Ip(e.n,n.Fn,r),a=["Gx","Gy","a",t==="weierstrass"?"b":"d"];for(const c of a)if(!i.isValid(e[c]))throw new Error(`CURVE.${c} must be valid field element of CURVE.Fp`);return e=Object.freeze(Object.assign({},e)),{CURVE:e,Fp:i,Fn:s}}const Ap=(t,e)=>(t+(t>=0?e:-e)/Bp)/e;function Ox(t,e,n){const[[r,i],[s,o]]=e,a=Ap(o*t,n),c=Ap(-i*t,n);let u=t-a*r-c*s,l=-a*i-c*o;const f=u<An,d=l<An;f&&(u=-u),d&&(l=-l);const h=Qi(Math.ceil(rp(n)/2))+bi;if(u<An||u>=h||l<An||l>=h)throw new Error("splitScalar (endomorphism): failed, k="+t);return{k1neg:f,k1:u,k2neg:d,k2:l}}function uu(t){if(!["compact","recovered","der"].includes(t))throw new Error('Signature format must be "compact", "recovered", or "der"');return t}function lu(t,e){const n={};for(let r of Object.keys(e))n[r]=t[r]===void 0?e[r]:t[r];return $o(n.lowS,"lowS"),$o(n.prehash,"prehash"),n.format!==void 0&&uu(n.format),n}class Dx extends Error{constructor(e=""){super(e)}}const In={Err:Dx,_tlv:{encode:(t,e)=>{const{Err:n}=In;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length&1)throw new n("tlv.encode: unpadded data");const r=e.length/2,i=Po(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const s=r>127?Po(i.length/2|128):"";return Po(t)+s+i+e},decode(t,e){const{Err:n}=In;let r=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length<2||e[r++]!==t)throw new n("tlv.decode: wrong tlv");const i=e[r++],s=!!(i&128);let o=0;if(!s)o=i;else{const c=i&127;if(!c)throw new n("tlv.decode(long): indefinite length not supported");if(c>4)throw new n("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+c);if(u.length!==c)throw new n("tlv.decode: length bytes not complete");if(u[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const l of u)o=o<<8|l;if(r+=c,o<128)throw new n("tlv.decode(long): not minimal encoding")}const a=e.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:e.subarray(r+o)}}},_int:{encode(t){const{Err:e}=In;if(t<An)throw new e("integer: negative integers are not allowed");let n=Po(t);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return n},decode(t){const{Err:e}=In;if(t[0]&128)throw new e("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return To(t)}},toSig(t){const{Err:e,_int:n,_tlv:r}=In,i=pt("signature",t),{v:s,l:o}=r.decode(48,i);if(o.length)throw new e("invalid signature: left bytes after parsing");const{v:a,l:c}=r.decode(2,s),{v:u,l}=r.decode(2,c);if(l.length)throw new e("invalid signature: left bytes after parsing");return{r:n.decode(a),s:n.decode(u)}},hexFromSig(t){const{_tlv:e,_int:n}=In,r=e.encode(2,n.encode(t.r)),i=e.encode(2,n.encode(t.s)),s=r+i;return e.encode(48,s)}},An=BigInt(0),bi=BigInt(1),Bp=BigInt(2),No=BigInt(3),$x=BigInt(4);function wi(t,e){const{BYTES:n}=t;let r;if(typeof e=="bigint")r=e;else{let i=pt("private key",e);try{r=t.fromBytes(i)}catch{throw new Error(`invalid private key: expected ui8a of size ${n}, got ${typeof e}`)}}if(!t.isValidNot0(r))throw new Error("invalid private key: out of range [1..N-1]");return r}function Px(t,e={}){const n=Bx("weierstrass",t,e),{Fp:r,Fn:i}=n;let s=n.CURVE;const{h:o,n:a}=s;ru(e,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:c}=e;if(c&&(!r.is0(s.a)||typeof c.beta!="bigint"||!Array.isArray(c.basises)))throw new Error('invalid endo: expected "beta": bigint and "basises": array');const u=Dp(r,i);function l(){if(!r.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}function f(E,b,v){const{x:g,y:w}=b.toAffine(),S=r.toBytes(g);if($o(v,"isCompressed"),v){l();const A=!r.isOdd(w);return Jn(Op(A),S)}else return Jn(Uint8Array.of(4),S,r.toBytes(w))}function d(E){Lr(E,void 0,"Point");const{publicKey:b,publicKeyUncompressed:v}=u,g=E.length,w=E[0],S=E.subarray(1);if(g===b&&(w===2||w===3)){const A=r.fromBytes(S);if(!r.isValid(A))throw new Error("bad point: is not on curve, wrong x");const I=y(A);let O;try{O=r.sqrt(I)}catch(C){const k=C instanceof Error?": "+C.message:"";throw new Error("bad point: is not on curve, sqrt error"+k)}l();const T=r.isOdd(O);return(w&1)===1!==T&&(O=r.neg(O)),{x:A,y:O}}else if(g===v&&w===4){const A=r.BYTES,I=r.fromBytes(S.subarray(0,A)),O=r.fromBytes(S.subarray(A,A*2));if(!m(I,O))throw new Error("bad point: is not on curve");return{x:I,y:O}}else throw new Error(`bad point: got length ${g}, expected compressed=${b} or uncompressed=${v}`)}const h=e.toBytes||f,p=e.fromBytes||d;function y(E){const b=r.sqr(E),v=r.mul(b,E);return r.add(r.add(v,r.mul(E,s.a)),s.b)}function m(E,b){const v=r.sqr(b),g=y(E);return r.eql(v,g)}if(!m(s.Gx,s.Gy))throw new Error("bad curve params: generator point");const B=r.mul(r.pow(s.a,No),$x),$=r.mul(r.sqr(s.b),BigInt(27));if(r.is0(r.add(B,$)))throw new Error("bad curve params: a or b");function _(E,b,v=!1){if(!r.isValid(b)||v&&r.is0(b))throw new Error(`bad point coordinate ${E}`);return b}function x(E){if(!(E instanceof D))throw new Error("ProjectivePoint expected")}function P(E){if(!c||!c.basises)throw new Error("no endo");return Ox(E,c.basises,i.ORDER)}const R=ip((E,b)=>{const{X:v,Y:g,Z:w}=E;if(r.eql(w,r.ONE))return{x:v,y:g};const S=E.is0();b==null&&(b=S?r.ONE:r.inv(w));const A=r.mul(v,b),I=r.mul(g,b),O=r.mul(w,b);if(S)return{x:r.ZERO,y:r.ZERO};if(!r.eql(O,r.ONE))throw new Error("invZ was invalid");return{x:A,y:I}}),U=ip(E=>{if(E.is0()){if(e.allowInfinityPoint&&!r.is0(E.Y))return;throw new Error("bad point: ZERO")}const{x:b,y:v}=E.toAffine();if(!r.isValid(b)||!r.isValid(v))throw new Error("bad point: x or y not field elements");if(!m(b,v))throw new Error("bad point: equation left != right");if(!E.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function F(E,b,v,g,w){return v=new D(r.mul(v.X,E),v.Y,v.Z),b=Ro(g,b),v=Ro(w,v),b.add(v)}class D{constructor(b,v,g){this.X=_("x",b),this.Y=_("y",v,!0),this.Z=_("z",g),Object.freeze(this)}static CURVE(){return s}static fromAffine(b){const{x:v,y:g}=b||{};if(!b||!r.isValid(v)||!r.isValid(g))throw new Error("invalid affine point");if(b instanceof D)throw new Error("projective point not allowed");return r.is0(v)&&r.is0(g)?D.ZERO:new D(v,g,r.ONE)}static fromBytes(b){const v=D.fromAffine(p(Lr(b,void 0,"point")));return v.assertValidity(),v}static fromHex(b){return D.fromBytes(pt("pointHex",b))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(b=8,v=!0){return M.createCache(this,b),v||this.multiply(No),this}assertValidity(){U(this)}hasEvenY(){const{y:b}=this.toAffine();if(!r.isOdd)throw new Error("Field doesn't support isOdd");return!r.isOdd(b)}equals(b){x(b);const{X:v,Y:g,Z:w}=this,{X:S,Y:A,Z:I}=b,O=r.eql(r.mul(v,I),r.mul(S,w)),T=r.eql(r.mul(g,I),r.mul(A,w));return O&&T}negate(){return new D(this.X,r.neg(this.Y),this.Z)}double(){const{a:b,b:v}=s,g=r.mul(v,No),{X:w,Y:S,Z:A}=this;let I=r.ZERO,O=r.ZERO,T=r.ZERO,L=r.mul(w,w),C=r.mul(S,S),k=r.mul(A,A),N=r.mul(w,S);return N=r.add(N,N),T=r.mul(w,A),T=r.add(T,T),I=r.mul(b,T),O=r.mul(g,k),O=r.add(I,O),I=r.sub(C,O),O=r.add(C,O),O=r.mul(I,O),I=r.mul(N,I),T=r.mul(g,T),k=r.mul(b,k),N=r.sub(L,k),N=r.mul(b,N),N=r.add(N,T),T=r.add(L,L),L=r.add(T,L),L=r.add(L,k),L=r.mul(L,N),O=r.add(O,L),k=r.mul(S,A),k=r.add(k,k),L=r.mul(k,N),I=r.sub(I,L),T=r.mul(k,C),T=r.add(T,T),T=r.add(T,T),new D(I,O,T)}add(b){x(b);const{X:v,Y:g,Z:w}=this,{X:S,Y:A,Z:I}=b;let O=r.ZERO,T=r.ZERO,L=r.ZERO;const C=s.a,k=r.mul(s.b,No);let N=r.mul(v,S),q=r.mul(g,A),z=r.mul(w,I),W=r.add(v,g),V=r.add(S,A);W=r.mul(W,V),V=r.add(N,q),W=r.sub(W,V),V=r.add(v,w);let Z=r.add(S,I);return V=r.mul(V,Z),Z=r.add(N,z),V=r.sub(V,Z),Z=r.add(g,w),O=r.add(A,I),Z=r.mul(Z,O),O=r.add(q,z),Z=r.sub(Z,O),L=r.mul(C,V),O=r.mul(k,z),L=r.add(O,L),O=r.sub(q,L),L=r.add(q,L),T=r.mul(O,L),q=r.add(N,N),q=r.add(q,N),z=r.mul(C,z),V=r.mul(k,V),q=r.add(q,z),z=r.sub(N,z),z=r.mul(C,z),V=r.add(V,z),N=r.mul(q,V),T=r.add(T,N),N=r.mul(Z,V),O=r.mul(W,O),O=r.sub(O,N),N=r.mul(W,q),L=r.mul(Z,L),L=r.add(L,N),new D(O,T,L)}subtract(b){return this.add(b.negate())}is0(){return this.equals(D.ZERO)}multiply(b){const{endo:v}=e;if(!i.isValidNot0(b))throw new Error("invalid scalar: out of range");let g,w;const S=A=>M.cached(this,A,I=>su(D,I));if(v){const{k1neg:A,k1:I,k2neg:O,k2:T}=P(b),{p:L,f:C}=S(I),{p:k,f:N}=S(T);w=C.add(N),g=F(v.beta,L,k,A,O)}else{const{p:A,f:I}=S(b);g=A,w=I}return su(D,[g,w])[0]}multiplyUnsafe(b){const{endo:v}=e,g=this;if(!i.isValid(b))throw new Error("invalid scalar: out of range");if(b===An||g.is0())return D.ZERO;if(b===bi)return g;if(M.hasCache(this))return this.multiply(b);if(v){const{k1neg:w,k1:S,k2neg:A,k2:I}=P(b),{p1:O,p2:T}=Ix(D,g,S,I);return F(v.beta,O,T,w,A)}else return M.unsafe(g,b)}multiplyAndAddUnsafe(b,v,g){const w=this.multiplyUnsafe(v).add(b.multiplyUnsafe(g));return w.is0()?void 0:w}toAffine(b){return R(this,b)}isTorsionFree(){const{isTorsionFree:b}=e;return o===bi?!0:b?b(D,this):M.unsafe(this,a).is0()}clearCofactor(){const{clearCofactor:b}=e;return o===bi?this:b?b(D,this):this.multiplyUnsafe(o)}isSmallOrder(){return this.multiplyUnsafe(o).is0()}toBytes(b=!0){return $o(b,"isCompressed"),this.assertValidity(),h(D,this,b)}toHex(b=!0){return gi(this.toBytes(b))}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(b=!0){return this.toBytes(b)}_setWindowSize(b){this.precompute(b)}static normalizeZ(b){return su(D,b)}static msm(b,v){return Ax(D,i,b,v)}static fromPrivateKey(b){return D.BASE.multiply(wi(i,b))}}D.BASE=new D(s.Gx,s.Gy,r.ONE),D.ZERO=new D(r.ZERO,r.ONE,r.ZERO),D.Fp=r,D.Fn=i;const j=i.BITS,M=new Sx(D,e.endo?Math.ceil(j/2):j);return D.BASE.precompute(8),D}function Op(t){return Uint8Array.of(t?2:3)}function Dp(t,e){return{secretKey:e.BYTES,publicKey:1+t.BYTES,publicKeyUncompressed:1+2*t.BYTES,publicKeyHasPrefix:!0,signature:2*e.BYTES}}function Tx(t,e={}){const{Fn:n}=t,r=e.randomBytes||Qd,i=Object.assign(Dp(t.Fp,n),{seed:bp(n.ORDER)});function s(h){try{return!!wi(n,h)}catch{return!1}}function o(h,p){const{publicKey:y,publicKeyUncompressed:m}=i;try{const B=h.length;return p===!0&&B!==y||p===!1&&B!==m?!1:!!t.fromBytes(h)}catch{return!1}}function a(h=r(i.seed)){return gx(Lr(h,i.seed,"seed"),n.ORDER)}function c(h,p=!0){return t.BASE.multiply(wi(n,h)).toBytes(p)}function u(h){const p=a(h);return{secretKey:p,publicKey:c(p)}}function l(h){if(typeof h=="bigint")return!1;if(h instanceof t)return!0;const{secretKey:p,publicKey:y,publicKeyUncompressed:m}=i;if(n.allowedLengths||p===y)return;const B=pt("key",h).length;return B===y||B===m}function f(h,p,y=!0){if(l(h)===!0)throw new Error("first arg must be private key");if(l(p)===!1)throw new Error("second arg must be public key");const m=wi(n,h);return t.fromHex(p).multiply(m).toBytes(y)}return Object.freeze({getPublicKey:c,getSharedSecret:f,keygen:u,Point:t,utils:{isValidSecretKey:s,isValidPublicKey:o,randomSecretKey:a,isValidPrivateKey:s,randomPrivateKey:a,normPrivateKeyToScalar:h=>wi(n,h),precompute(h=8,p=t.BASE){return p.precompute(h,!1)}},lengths:i})}function Rx(t,e,n={}){Zd(e),ru(n,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});const r=n.randomBytes||Qd,i=n.hmac||((v,...g)=>vp(e,v,Jn(...g))),{Fp:s,Fn:o}=t,{ORDER:a,BITS:c}=o,{keygen:u,getPublicKey:l,getSharedSecret:f,utils:d,lengths:h}=Tx(t,n),p={prehash:!1,lowS:typeof n.lowS=="boolean"?n.lowS:!1,format:void 0,extraEntropy:!1},y="compact";function m(v){const g=a>>bi;return v>g}function B(v,g){if(!o.isValidNot0(g))throw new Error(`invalid signature ${v}: out of range 1..Point.Fn.ORDER`);return g}function $(v,g){uu(g);const w=h.signature,S=g==="compact"?w:g==="recovered"?w+1:void 0;return Lr(v,S,`${g} signature`)}class _{constructor(g,w,S){this.r=B("r",g),this.s=B("s",w),S!=null&&(this.recovery=S),Object.freeze(this)}static fromBytes(g,w=y){$(g,w);let S;if(w==="der"){const{r:T,s:L}=In.toSig(Lr(g));return new _(T,L)}w==="recovered"&&(S=g[0],w="compact",g=g.subarray(1));const A=o.BYTES,I=g.subarray(0,A),O=g.subarray(A,A*2);return new _(o.fromBytes(I),o.fromBytes(O),S)}static fromHex(g,w){return this.fromBytes(Do(g),w)}addRecoveryBit(g){return new _(this.r,this.s,g)}recoverPublicKey(g){const w=s.ORDER,{r:S,s:A,recovery:I}=this;if(I==null||![0,1,2,3].includes(I))throw new Error("recovery id invalid");if(a*Bp<w&&I>1)throw new Error("recovery id is ambiguous for h>1 curve");const T=I===2||I===3?S+a:S;if(!s.isValid(T))throw new Error("recovery id 2 or 3 invalid");const L=s.toBytes(T),C=t.fromBytes(Jn(Op((I&1)===0),L)),k=o.inv(T),N=P(pt("msgHash",g)),q=o.create(-N*k),z=o.create(A*k),W=t.BASE.multiplyUnsafe(q).add(C.multiplyUnsafe(z));if(W.is0())throw new Error("point at infinify");return W.assertValidity(),W}hasHighS(){return m(this.s)}toBytes(g=y){if(uu(g),g==="der")return Do(In.hexFromSig(this));const w=o.toBytes(this.r),S=o.toBytes(this.s);if(g==="recovered"){if(this.recovery==null)throw new Error("recovery bit must be present");return Jn(Uint8Array.of(this.recovery),w,S)}return Jn(w,S)}toHex(g){return gi(this.toBytes(g))}assertValidity(){}static fromCompact(g){return _.fromBytes(pt("sig",g),"compact")}static fromDER(g){return _.fromBytes(pt("sig",g),"der")}normalizeS(){return this.hasHighS()?new _(this.r,o.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return gi(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return gi(this.toBytes("compact"))}}const x=n.bits2int||function(g){if(g.length>8192)throw new Error("input is too large");const w=To(g),S=g.length*8-c;return S>0?w>>BigInt(S):w},P=n.bits2int_modN||function(g){return o.create(x(g))},R=Qi(c);function U(v){return sx("num < 2^"+c,v,An,R),o.toBytes(v)}function F(v,g){return Lr(v,void 0,"message"),g?Lr(e(v),void 0,"prehashed message"):v}function D(v,g,w){if(["recovered","canonical"].some(q=>q in w))throw new Error("sign() legacy options not supported");const{lowS:S,prehash:A,extraEntropy:I}=lu(w,p);v=F(v,A);const O=P(v),T=wi(o,g),L=[U(T),U(O)];if(I!=null&&I!==!1){const q=I===!0?r(h.secretKey):I;L.push(pt("extraEntropy",q))}const C=Jn(...L),k=O;function N(q){const z=x(q);if(!o.isValidNot0(z))return;const W=o.inv(z),V=t.BASE.multiply(z).toAffine(),Z=o.create(V.x);if(Z===An)return;const Q=o.create(W*o.create(k+Z*T));if(Q===An)return;let ee=(V.x===Z?0:2)|Number(V.y&bi),ie=Q;return S&&m(Q)&&(ie=o.neg(Q),ee^=1),new _(Z,ie,ee)}return{seed:C,k2sig:N}}function j(v,g,w={}){v=pt("message",v);const{seed:S,k2sig:A}=D(v,g,w);return ox(e.outputLen,o.BYTES,i)(S,A)}function M(v){let g;const w=typeof v=="string"||Ao(v),S=!w&&v!==null&&typeof v=="object"&&typeof v.r=="bigint"&&typeof v.s=="bigint";if(!w&&!S)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(S)g=new _(v.r,v.s);else if(w){try{g=_.fromBytes(pt("sig",v),"der")}catch(A){if(!(A instanceof In.Err))throw A}if(!g)try{g=_.fromBytes(pt("sig",v),"compact")}catch{return!1}}return g||!1}function E(v,g,w,S={}){const{lowS:A,prehash:I,format:O}=lu(S,p);if(w=pt("publicKey",w),g=F(pt("message",g),I),"strict"in S)throw new Error("options.strict was renamed to lowS");const T=O===void 0?M(v):_.fromBytes(pt("sig",v),O);if(T===!1)return!1;try{const L=t.fromBytes(w);if(A&&T.hasHighS())return!1;const{r:C,s:k}=T,N=P(g),q=o.inv(k),z=o.create(N*q),W=o.create(C*q),V=t.BASE.multiplyUnsafe(z).add(L.multiplyUnsafe(W));return V.is0()?!1:o.create(V.x)===C}catch{return!1}}function b(v,g,w={}){const{prehash:S}=lu(w,p);return g=F(g,S),_.fromBytes(v,"recovered").recoverPublicKey(g).toBytes()}return Object.freeze({keygen:u,getPublicKey:l,getSharedSecret:f,utils:d,lengths:h,Point:t,sign:j,verify:E,recoverPublicKey:b,Signature:_,hash:e})}function Nx(t){const e={a:t.a,b:t.b,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},n=t.Fp;let r=t.allowedPrivateKeyLengths?Array.from(new Set(t.allowedPrivateKeyLengths.map(o=>Math.ceil(o/2)))):void 0;const i=es(e.n,{BITS:t.nBitLength,allowedLengths:r,modFromBytes:t.wrapPrivateKey}),s={Fp:n,Fn:i,allowInfinityPoint:t.allowInfinityPoint,endo:t.endo,isTorsionFree:t.isTorsionFree,clearCofactor:t.clearCofactor,fromBytes:t.fromBytes,toBytes:t.toBytes};return{CURVE:e,curveOpts:s}}function Cx(t){const{CURVE:e,curveOpts:n}=Nx(t),r={hmac:t.hmac,randomBytes:t.randomBytes,lowS:t.lowS,bits2int:t.bits2int,bits2int_modN:t.bits2int_modN};return{CURVE:e,curveOpts:n,hash:t.hash,ecdsaOpts:r}}function Ux(t,e){const n=e.Point;return Object.assign({},e,{ProjectivePoint:n,CURVE:Object.assign({},t,gp(n.Fn.ORDER,n.Fn.BITS))})}function Fx(t){const{CURVE:e,curveOpts:n,hash:r,ecdsaOpts:i}=Cx(t),s=Px(e,n),o=Rx(s,r,i);return Ux(t,o)}function Lx(t,e){const n=r=>Fx({...t,hash:r});return{...n(e),create:n}}Xc("HashToScalar-");const fu={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:BigInt(1),a:BigInt(0),b:BigInt(7),Gx:BigInt("0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),Gy:BigInt("0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8")},kx={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),basises:[[BigInt("0x3086d221a7d46bcde86c90e49284eb15"),-BigInt("0xe4437ed6010e88286f547fa90abfe4c3")],[BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),BigInt("0x3086d221a7d46bcde86c90e49284eb15")]]},$p=BigInt(2);function qx(t){const e=fu.p,n=BigInt(3),r=BigInt(6),i=BigInt(11),s=BigInt(22),o=BigInt(23),a=BigInt(44),c=BigInt(88),u=t*t*t%e,l=u*u*t%e,f=Tt(l,n,e)*l%e,d=Tt(f,n,e)*l%e,h=Tt(d,$p,e)*u%e,p=Tt(h,i,e)*h%e,y=Tt(p,s,e)*p%e,m=Tt(y,a,e)*y%e,B=Tt(m,c,e)*m%e,$=Tt(B,a,e)*y%e,_=Tt($,n,e)*l%e,x=Tt(_,o,e)*p%e,P=Tt(x,r,e)*u%e,R=Tt(P,$p,e);if(!hu.eql(hu.sqr(R),t))throw new Error("Cannot find square root");return R}const hu=es(fu.p,{sqrt:qx});Lx({...fu,Fp:hu,lowS:!0,endo:kx},wp);/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function mi(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function du(t,...e){if(!mi(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function Pp(t,e){return Array.isArray(e)?e.length===0?!0:t?e.every(n=>typeof n=="string"):e.every(n=>Number.isSafeInteger(n)):!1}function pu(t){if(typeof t!="function")throw new Error("function expected");return!0}function tr(t,e){if(typeof e!="string")throw new Error(`${t}: string expected`);return!0}function vi(t){if(!Number.isSafeInteger(t))throw new Error(`invalid integer: ${t}`)}function Co(t){if(!Array.isArray(t))throw new Error("array expected")}function Uo(t,e){if(!Pp(!0,e))throw new Error(`${t}: array of strings expected`)}function gu(t,e){if(!Pp(!1,e))throw new Error(`${t}: array of numbers expected`)}function yt(...t){const e=s=>s,n=(s,o)=>a=>s(o(a)),r=t.map(s=>s.encode).reduceRight(n,e),i=t.map(s=>s.decode).reduce(n,e);return{encode:r,decode:i}}function St(t){const e=typeof t=="string"?t.split(""):t,n=e.length;Uo("alphabet",e);const r=new Map(e.map((i,s)=>[i,s]));return{encode:i=>(Co(i),i.map(s=>{if(!Number.isSafeInteger(s)||s<0||s>=n)throw new Error(`alphabet.encode: digit index outside alphabet "${s}". Allowed: ${t}`);return e[s]})),decode:i=>(Co(i),i.map(s=>{tr("alphabet.decode",s);const o=r.get(s);if(o===void 0)throw new Error(`Unknown letter: "${s}". Allowed: ${t}`);return o}))}}function It(t=""){return tr("join",t),{encode:e=>(Uo("join.decode",e),e.join(t)),decode:e=>(tr("join.decode",e),e.split(t))}}function Fo(t,e="="){return vi(t),tr("padding",e),{encode(n){for(Uo("padding.encode",n);n.length*t%8;)n.push(e);return n},decode(n){Uo("padding.decode",n);let r=n.length;if(r*t%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;r>0&&n[r-1]===e;r--)if((r-1)*t%8===0)throw new Error("padding: invalid, string has too much padding");return n.slice(0,r)}}}function Tp(t){return pu(t),{encode:e=>e,decode:e=>t(e)}}function Rp(t,e,n){if(e<2)throw new Error(`convertRadix: invalid from=${e}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: invalid to=${n}, base cannot be less than 2`);if(Co(t),!t.length)return[];let r=0;const i=[],s=Array.from(t,a=>{if(vi(a),a<0||a>=e)throw new Error(`invalid integer: ${a}`);return a}),o=s.length;for(;;){let a=0,c=!0;for(let u=r;u<o;u++){const l=s[u],f=e*a,d=f+l;if(!Number.isSafeInteger(d)||f/e!==a||d-l!==f)throw new Error("convertRadix: carry overflow");const h=d/n;a=d%n;const p=Math.floor(h);if(s[u]=p,!Number.isSafeInteger(p)||p*n+a!==d)throw new Error("convertRadix: carry overflow");if(c)p?c=!1:r=u;else continue}if(i.push(a),c)break}for(let a=0;a<t.length-1&&t[a]===0;a++)i.push(0);return i.reverse()}const Np=(t,e)=>e===0?t:Np(e,t%e),Lo=(t,e)=>t+(e-Np(t,e)),ko=(()=>{let t=[];for(let e=0;e<40;e++)t.push(2**e);return t})();function yu(t,e,n,r){if(Co(t),e<=0||e>32)throw new Error(`convertRadix2: wrong from=${e}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if(Lo(e,n)>32)throw new Error(`convertRadix2: carry overflow from=${e} to=${n} carryBits=${Lo(e,n)}`);let i=0,s=0;const o=ko[e],a=ko[n]-1,c=[];for(const u of t){if(vi(u),u>=o)throw new Error(`convertRadix2: invalid data word=${u} from=${e}`);if(i=i<<e|u,s+e>32)throw new Error(`convertRadix2: carry overflow pos=${s} from=${e}`);for(s+=e;s>=n;s-=n)c.push((i>>s-n&a)>>>0);const l=ko[s];if(l===void 0)throw new Error("invalid carry");i&=l-1}if(i=i<<n-s&a,!r&&s>=e)throw new Error("Excess padding");if(!r&&i>0)throw new Error(`Non-zero padding: ${i}`);return r&&s>0&&c.push(i>>>0),c}function Mx(t){vi(t);const e=2**8;return{encode:n=>{if(!mi(n))throw new Error("radix.encode input should be Uint8Array");return Rp(Array.from(n),e,t)},decode:n=>(gu("radix.decode",n),Uint8Array.from(Rp(n,t,e)))}}function Rt(t,e=!1){if(vi(t),t<=0||t>32)throw new Error("radix2: bits should be in (0..32]");if(Lo(8,t)>32||Lo(t,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!mi(n))throw new Error("radix2.encode input should be Uint8Array");return yu(Array.from(n),8,t,!e)},decode:n=>(gu("radix2.decode",n),Uint8Array.from(yu(n,t,8,e)))}}function Cp(t){return pu(t),function(...e){try{return t.apply(null,e)}catch{}}}function jx(t,e){return vi(t),pu(e),{encode(n){if(!mi(n))throw new Error("checksum.encode: input should be Uint8Array");const r=e(n).slice(0,t),i=new Uint8Array(n.length+t);return i.set(n),i.set(r,n.length),i},decode(n){if(!mi(n))throw new Error("checksum.decode: input should be Uint8Array");const r=n.slice(0,-t),i=n.slice(-t),s=e(r).slice(0,t);for(let o=0;o<t;o++)if(s[o]!==i[o])throw new Error("Invalid checksum");return r}}}yt(Rt(4),St("0123456789ABCDEF"),It(""));const zx=yt(Rt(5),St("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),Fo(5),It(""));yt(Rt(5),St("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),It("")),yt(Rt(5),St("0123456789ABCDEFGHIJKLMNOPQRSTUV"),Fo(5),It("")),yt(Rt(5),St("0123456789ABCDEFGHIJKLMNOPQRSTUV"),It("")),yt(Rt(5),St("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),It(""),Tp(t=>t.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1")));const Up=(()=>typeof Uint8Array.from([]).toBase64=="function"&&typeof Uint8Array.fromBase64=="function")(),Fp=(t,e)=>{tr("base64",t);const n=e?/^[A-Za-z0-9=_-]+$/:/^[A-Za-z0-9=+/]+$/,r=e?"base64url":"base64";if(t.length>0&&!n.test(t))throw new Error("invalid base64");return Uint8Array.fromBase64(t,{alphabet:r,lastChunkHandling:"strict"})};Up||yt(Rt(6),St("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),Fo(6),It("")),yt(Rt(6),St("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),It("")),Up||yt(Rt(6),St("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),Fo(6),It("")),yt(Rt(6),St("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),It(""));const bu=t=>yt(Mx(58),St(t),It("")),Hx=bu("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");bu("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),bu("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const Vx=t=>yt(jx(4,e=>t(t(e))),Hx),wu=yt(St("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),It("")),Lp=[996825010,642813549,513874426,1027748829,705979059];function ts(t){const e=t>>25;let n=(t&33554431)<<5;for(let r=0;r<Lp.length;r++)(e>>r&1)===1&&(n^=Lp[r]);return n}function kp(t,e,n=1){const r=t.length;let i=1;for(let s=0;s<r;s++){const o=t.charCodeAt(s);if(o<33||o>126)throw new Error(`Invalid prefix (${t})`);i=ts(i)^o>>5}i=ts(i);for(let s=0;s<r;s++)i=ts(i)^t.charCodeAt(s)&31;for(let s of e)i=ts(i)^s;for(let s=0;s<6;s++)i=ts(i);return i^=n,wu.encode(yu([i%ko[30]],30,5,!1))}function qp(t){const e=t==="bech32"?1:734539939,n=Rt(5),r=n.decode,i=n.encode,s=Cp(r);function o(f,d,h=90){tr("bech32.encode prefix",f),mi(d)&&(d=Array.from(d)),gu("bech32.encode",d);const p=f.length;if(p===0)throw new TypeError(`Invalid prefix length ${p}`);const y=p+7+d.length;if(h!==!1&&y>h)throw new TypeError(`Length ${y} exceeds limit ${h}`);const m=f.toLowerCase(),B=kp(m,d,e);return`${m}1${wu.encode(d)}${B}`}function a(f,d=90){tr("bech32.decode input",f);const h=f.length;if(h<8||d!==!1&&h>d)throw new TypeError(`invalid string length: ${h} (${f}). Expected (8..${d})`);const p=f.toLowerCase();if(f!==p&&f!==f.toUpperCase())throw new Error("String must be lowercase or uppercase");const y=p.lastIndexOf("1");if(y===0||y===-1)throw new Error('Letter "1" must be present between prefix and data only');const m=p.slice(0,y),B=p.slice(y+1);if(B.length<6)throw new Error("Data must be at least 6 characters long");const $=wu.decode(B).slice(0,-6),_=kp(m,$,e);if(!B.endsWith(_))throw new Error(`Invalid checksum in ${f}: expected "${_}"`);return{prefix:m,words:$}}const c=Cp(a);function u(f){const{prefix:d,words:h}=a(f,!1);return{prefix:d,words:h,bytes:r(h)}}function l(f,d){return o(f,i(d))}return{encode:o,decode:a,encodeFromBytes:l,decodeToBytes:u,decodeUnsafe:c,fromWords:r,fromWordsUnsafe:s,toWords:i}}qp("bech32"),qp("bech32m");const Kx=(()=>typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function")(),Gx={encode(t){return du(t),t.toHex()},decode(t){return tr("hex",t),Uint8Array.fromHex(t)}};Kx||yt(Rt(4),St("0123456789abcdef"),It(""),Tp(t=>{if(typeof t!="string"||t.length%2!==0)throw new TypeError(`hex.decode: expected string, got ${typeof t} with length ${t.length}`);return t.toLowerCase()})),Vx(wp),Xc("Bitcoin seed");function Wx(t){return o8(Zx(t))}function Zx(t){const{payload:e,signature:n}=t,{r,s:i,yParity:s}=n,a=new F8.Signature(BigInt(r),BigInt(i)).addRecoveryBit(s).recoverPublicKey(Oc(e).substring(2));return XE(a)}/*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) */function Mp(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function qo(t,...e){if(!Mp(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function Mo(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function jp(t,e){qo(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function ns(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function mu(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function Yx(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function Xx(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function rs(t){if(typeof t=="string")t=Xx(t);else if(Mp(t))t=zp(t);else throw new Error("Uint8Array expected, got "+typeof t);return t}function zp(t){return Uint8Array.from(t)}const Bn=16,vu=new Uint8Array(16),rn=ns(vu),Jx=225,Qx=(t,e,n,r)=>{const i=r&1;return{s3:n<<31|r>>>1,s2:e<<31|n>>>1,s1:t<<31|e>>>1,s0:t>>>1^Jx<<24&-(i&1)}},Nt=t=>(t>>>0&255)<<24|(t>>>8&255)<<16|(t>>>16&255)<<8|t>>>24&255|0;function e6(t){t.reverse();const e=t[15]&1;let n=0;for(let r=0;r<t.length;r++){const i=t[r];t[r]=i>>>1|n,n=(i&1)<<7}return t[0]^=-e&225,t}const t6=t=>t>64*1024?8:t>1024?4:2;class Hp{constructor(e,n){this.blockLen=Bn,this.outputLen=Bn,this.s0=0,this.s1=0,this.s2=0,this.s3=0,this.finished=!1,e=rs(e),qo(e,16);const r=Yx(e);let i=r.getUint32(0,!1),s=r.getUint32(4,!1),o=r.getUint32(8,!1),a=r.getUint32(12,!1);const c=[];for(let p=0;p<128;p++)c.push({s0:Nt(i),s1:Nt(s),s2:Nt(o),s3:Nt(a)}),{s0:i,s1:s,s2:o,s3:a}=Qx(i,s,o,a);const u=t6(n||1024);if(![1,2,4,8].includes(u))throw new Error("ghash: invalid window size, expected 2, 4 or 8");this.W=u;const f=128/u,d=this.windowSize=2**u,h=[];for(let p=0;p<f;p++)for(let y=0;y<d;y++){let m=0,B=0,$=0,_=0;for(let x=0;x<u;x++){if(!(y>>>u-x-1&1))continue;const{s0:R,s1:U,s2:F,s3:D}=c[u*p+x];m^=R,B^=U,$^=F,_^=D}h.push({s0:m,s1:B,s2:$,s3:_})}this.t=h}_updateBlock(e,n,r,i){e^=this.s0,n^=this.s1,r^=this.s2,i^=this.s3;const{W:s,t:o,windowSize:a}=this;let c=0,u=0,l=0,f=0;const d=(1<<s)-1;let h=0;for(const p of[e,n,r,i])for(let y=0;y<4;y++){const m=p>>>8*y&255;for(let B=8/s-1;B>=0;B--){const $=m>>>s*B&d,{s0:_,s1:x,s2:P,s3:R}=o[h*a+$];c^=_,u^=x,l^=P,f^=R,h+=1}}this.s0=c,this.s1=u,this.s2=l,this.s3=f}update(e){Mo(this),e=rs(e),qo(e);const n=ns(e),r=Math.floor(e.length/Bn),i=e.length%Bn;for(let s=0;s<r;s++)this._updateBlock(n[s*4+0],n[s*4+1],n[s*4+2],n[s*4+3]);return i&&(vu.set(e.subarray(r*Bn)),this._updateBlock(rn[0],rn[1],rn[2],rn[3]),mu(rn)),this}destroy(){const{t:e}=this;for(const n of e)n.s0=0,n.s1=0,n.s2=0,n.s3=0}digestInto(e){Mo(this),jp(e,this),this.finished=!0;const{s0:n,s1:r,s2:i,s3:s}=this,o=ns(e);return o[0]=n,o[1]=r,o[2]=i,o[3]=s,e}digest(){const e=new Uint8Array(Bn);return this.digestInto(e),this.destroy(),e}}class n6 extends Hp{constructor(e,n){e=rs(e),qo(e);const r=e6(zp(e));super(r,n),mu(r)}update(e){e=rs(e),Mo(this);const n=ns(e),r=e.length%Bn,i=Math.floor(e.length/Bn);for(let s=0;s<i;s++)this._updateBlock(Nt(n[s*4+3]),Nt(n[s*4+2]),Nt(n[s*4+1]),Nt(n[s*4+0]));return r&&(vu.set(e.subarray(i*Bn)),this._updateBlock(Nt(rn[3]),Nt(rn[2]),Nt(rn[1]),Nt(rn[0])),mu(rn)),this}digestInto(e){Mo(this),jp(e,this),this.finished=!0;const{s0:n,s1:r,s2:i,s3:s}=this,o=ns(e);return o[0]=n,o[1]=r,o[2]=i,o[3]=s,e.reverse()}}function Vp(t){const e=(r,i)=>t(i,r.length).update(rs(r)).digest(),n=t(new Uint8Array(16),0);return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=(r,i)=>t(r,i),e}Vp((t,e)=>new Hp(t,e)),Vp((t,e)=>new n6(t,e));const Kp=Wn(BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff")),r6=Kp.create(BigInt("-3")),i6=BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b");vo({a:r6,b:i6,Fp:Kp,n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"),h:BigInt(1),lowS:!1},lo);const Gp=Wn(BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff")),s6=Gp.create(BigInt("-3")),o6=BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef");vo({a:s6,b:o6,Fp:Gp,n:BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973"),Gx:BigInt("0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"),Gy:BigInt("0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f"),h:BigInt(1),lowS:!1},EE);const Wp=Wn(BigInt("0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")),a6=Wp.create(BigInt("-3")),c6=BigInt("0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00");vo({a:a6,b:c6,Fp:Wp,n:BigInt("0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409"),Gx:BigInt("0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66"),Gy:BigInt("0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650"),h:BigInt(1),lowS:!1,allowedPrivateKeyLengths:[130,131,132]},vE);var u6={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(c,u,l){this.fn=c,this.context=u,this.once=l||!1}function s(c,u,l,f,d){if(typeof l!="function")throw new TypeError("The listener must be a function");var h=new i(l,f||c,d),p=n?n+u:u;return c._events[p]?c._events[p].fn?c._events[p]=[c._events[p],h]:c._events[p].push(h):(c._events[p]=h,c._eventsCount++),c}function o(c,u){--c._eventsCount===0?c._events=new r:delete c._events[u]}function a(){this._events=new r,this._eventsCount=0}a.prototype.eventNames=function(){var u=[],l,f;if(this._eventsCount===0)return u;for(f in l=this._events)e.call(l,f)&&u.push(n?f.slice(1):f);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(l)):u},a.prototype.listeners=function(u){var l=n?n+u:u,f=this._events[l];if(!f)return[];if(f.fn)return[f.fn];for(var d=0,h=f.length,p=new Array(h);d<h;d++)p[d]=f[d].fn;return p},a.prototype.listenerCount=function(u){var l=n?n+u:u,f=this._events[l];return f?f.fn?1:f.length:0},a.prototype.emit=function(u,l,f,d,h,p){var y=n?n+u:u;if(!this._events[y])return!1;var m=this._events[y],B=arguments.length,$,_;if(m.fn){switch(m.once&&this.removeListener(u,m.fn,void 0,!0),B){case 1:return m.fn.call(m.context),!0;case 2:return m.fn.call(m.context,l),!0;case 3:return m.fn.call(m.context,l,f),!0;case 4:return m.fn.call(m.context,l,f,d),!0;case 5:return m.fn.call(m.context,l,f,d,h),!0;case 6:return m.fn.call(m.context,l,f,d,h,p),!0}for(_=1,$=new Array(B-1);_<B;_++)$[_-1]=arguments[_];m.fn.apply(m.context,$)}else{var x=m.length,P;for(_=0;_<x;_++)switch(m[_].once&&this.removeListener(u,m[_].fn,void 0,!0),B){case 1:m[_].fn.call(m[_].context);break;case 2:m[_].fn.call(m[_].context,l);break;case 3:m[_].fn.call(m[_].context,l,f);break;case 4:m[_].fn.call(m[_].context,l,f,d);break;default:if(!$)for(P=1,$=new Array(B-1);P<B;P++)$[P-1]=arguments[P];m[_].fn.apply(m[_].context,$)}}return!0},a.prototype.on=function(u,l,f){return s(this,u,l,f,!1)},a.prototype.once=function(u,l,f){return s(this,u,l,f,!0)},a.prototype.removeListener=function(u,l,f,d){var h=n?n+u:u;if(!this._events[h])return this;if(!l)return o(this,h),this;var p=this._events[h];if(p.fn)p.fn===l&&(!d||p.once)&&(!f||p.context===f)&&o(this,h);else{for(var y=0,m=[],B=p.length;y<B;y++)(p[y].fn!==l||d&&!p[y].once||f&&p[y].context!==f)&&m.push(p[y]);m.length?this._events[h]=m.length===1?m[0]:m:o(this,h)}return this},a.prototype.removeAllListeners=function(u){var l;return u?(l=n?n+u:u,this._events[l]&&o(this,l)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,t.exports=a})(u6);function l6(t){if(t.length>=255)throw new TypeError("Alphabet too long");const e=new Uint8Array(256);for(let u=0;u<e.length;u++)e[u]=255;for(let u=0;u<t.length;u++){const l=t.charAt(u),f=l.charCodeAt(0);if(e[f]!==255)throw new TypeError(l+" is ambiguous");e[f]=u}const n=t.length,r=t.charAt(0),i=Math.log(n)/Math.log(256),s=Math.log(256)/Math.log(n);function o(u){if(u instanceof Uint8Array||(ArrayBuffer.isView(u)?u=new Uint8Array(u.buffer,u.byteOffset,u.byteLength):Array.isArray(u)&&(u=Uint8Array.from(u))),!(u instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(u.length===0)return"";let l=0,f=0,d=0;const h=u.length;for(;d!==h&&u[d]===0;)d++,l++;const p=(h-d)*s+1>>>0,y=new Uint8Array(p);for(;d!==h;){let $=u[d],_=0;for(let x=p-1;($!==0||_<f)&&x!==-1;x--,_++)$+=256*y[x]>>>0,y[x]=$%n>>>0,$=$/n>>>0;if($!==0)throw new Error("Non-zero carry");f=_,d++}let m=p-f;for(;m!==p&&y[m]===0;)m++;let B=r.repeat(l);for(;m<p;++m)B+=t.charAt(y[m]);return B}function a(u){if(typeof u!="string")throw new TypeError("Expected String");if(u.length===0)return new Uint8Array;let l=0,f=0,d=0;for(;u[l]===r;)f++,l++;const h=(u.length-l)*i+1>>>0,p=new Uint8Array(h);for(;l<u.length;){const $=u.charCodeAt(l);if($>255)return;let _=e[$];if(_===255)return;let x=0;for(let P=h-1;(_!==0||x<d)&&P!==-1;P--,x++)_+=n*p[P]>>>0,p[P]=_%256>>>0,_=_/256>>>0;if(_!==0)throw new Error("Non-zero carry");d=x,l++}let y=h-d;for(;y!==h&&p[y]===0;)y++;const m=new Uint8Array(f+(h-y));let B=f;for(;y!==h;)m[B++]=p[y++];return m}function c(u){const l=a(u);if(l)return l;throw new Error("Non-base"+n+" character")}return{encode:o,decodeUnsafe:a,decode:c}}var f6="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",is=l6(f6);function h6(t){const e=t.length;let n=0,r=0;for(;r<e;){let i=t.charCodeAt(r++);if(i&4294967168)if(!(i&4294965248))n+=2;else{if(i>=55296&&i<=56319&&r<e){const s=t.charCodeAt(r);(s&64512)===56320&&(++r,i=((i&1023)<<10)+(s&1023)+65536)}i&4294901760?n+=4:n+=3}else{n++;continue}}return n}function d6(t,e,n){const r=t.length;let i=n,s=0;for(;s<r;){let o=t.charCodeAt(s++);if(o&4294967168)if(!(o&4294965248))e[i++]=o>>6&31|192;else{if(o>=55296&&o<=56319&&s<r){const a=t.charCodeAt(s);(a&64512)===56320&&(++s,o=((o&1023)<<10)+(a&1023)+65536)}o&4294901760?(e[i++]=o>>18&7|240,e[i++]=o>>12&63|128,e[i++]=o>>6&63|128):(e[i++]=o>>12&15|224,e[i++]=o>>6&63|128)}else{e[i++]=o;continue}e[i++]=o&63|128}}const p6=new TextEncoder,g6=50;function y6(t,e,n){p6.encodeInto(t,e.subarray(n))}function b6(t,e,n){t.length>g6?y6(t,e,n):d6(t,e,n)}const w6=4096;function Zp(t,e,n){let r=e;const i=r+n,s=[];let o="";for(;r<i;){const a=t[r++];if(!(a&128))s.push(a);else if((a&224)===192){const c=t[r++]&63;s.push((a&31)<<6|c)}else if((a&240)===224){const c=t[r++]&63,u=t[r++]&63;s.push((a&31)<<12|c<<6|u)}else if((a&248)===240){const c=t[r++]&63,u=t[r++]&63,l=t[r++]&63;let f=(a&7)<<18|c<<12|u<<6|l;f>65535&&(f-=65536,s.push(f>>>10&1023|55296),f=56320|f&1023),s.push(f)}else s.push(a);s.length>=w6&&(o+=String.fromCharCode(...s),s.length=0)}return s.length>0&&(o+=String.fromCharCode(...s)),o}const m6=new TextDecoder,v6=200;function E6(t,e,n){const r=t.subarray(e,e+n);return m6.decode(r)}function x6(t,e,n){return n>v6?E6(t,e,n):Zp(t,e,n)}class jo{constructor(e,n){this.type=e,this.data=n}}class At extends Error{constructor(e){super(e);const n=Object.create(At.prototype);Object.setPrototypeOf(this,n),Object.defineProperty(this,"name",{configurable:!0,enumerable:!1,value:At.name})}}const ss=4294967295;function _6(t,e,n){const r=n/4294967296,i=n;t.setUint32(e,r),t.setUint32(e+4,i)}function Yp(t,e,n){const r=Math.floor(n/4294967296),i=n;t.setUint32(e,r),t.setUint32(e+4,i)}function Xp(t,e){const n=t.getInt32(e),r=t.getUint32(e+4);return n*4294967296+r}function S6(t,e){const n=t.getUint32(e),r=t.getUint32(e+4);return n*4294967296+r}const I6=-1,A6=4294967296-1,B6=17179869184-1;function O6({sec:t,nsec:e}){if(t>=0&&e>=0&&t<=B6)if(e===0&&t<=A6){const n=new Uint8Array(4);return new DataView(n.buffer).setUint32(0,t),n}else{const n=t/4294967296,r=t&4294967295,i=new Uint8Array(8),s=new DataView(i.buffer);return s.setUint32(0,e<<2|n&3),s.setUint32(4,r),i}else{const n=new Uint8Array(12),r=new DataView(n.buffer);return r.setUint32(0,e),Yp(r,4,t),n}}function D6(t){const e=t.getTime(),n=Math.floor(e/1e3),r=(e-n*1e3)*1e6,i=Math.floor(r/1e9);return{sec:n+i,nsec:r-i*1e9}}function $6(t){if(t instanceof Date){const e=D6(t);return O6(e)}else return null}function P6(t){const e=new DataView(t.buffer,t.byteOffset,t.byteLength);switch(t.byteLength){case 4:return{sec:e.getUint32(0),nsec:0};case 8:{const n=e.getUint32(0),r=e.getUint32(4),i=(n&3)*4294967296+r,s=n>>>2;return{sec:i,nsec:s}}case 12:{const n=Xp(e,4),r=e.getUint32(0);return{sec:n,nsec:r}}default:throw new At(`Unrecognized data size for timestamp (expected 4, 8, or 12): ${t.length}`)}}function T6(t){const e=P6(t);return new Date(e.sec*1e3+e.nsec/1e6)}const R6={type:I6,encode:$6,decode:T6};class zo{constructor(){this.builtInEncoders=[],this.builtInDecoders=[],this.encoders=[],this.decoders=[],this.register(R6)}register({type:e,encode:n,decode:r}){if(e>=0)this.encoders[e]=n,this.decoders[e]=r;else{const i=-1-e;this.builtInEncoders[i]=n,this.builtInDecoders[i]=r}}tryToEncode(e,n){for(let r=0;r<this.builtInEncoders.length;r++){const i=this.builtInEncoders[r];if(i!=null){const s=i(e,n);if(s!=null){const o=-1-r;return new jo(o,s)}}}for(let r=0;r<this.encoders.length;r++){const i=this.encoders[r];if(i!=null){const s=i(e,n);if(s!=null){const o=r;return new jo(o,s)}}}return e instanceof jo?e:null}decode(e,n,r){const i=n<0?this.builtInDecoders[-1-n]:this.decoders[n];return i?i(e,n,r):new jo(n,e)}}zo.defaultCodec=new zo;function N6(t){return t instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer}function Eu(t){return t instanceof Uint8Array?t:ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):N6(t)?new Uint8Array(t):Uint8Array.from(t)}const C6=100,U6=2048;class xu{constructor(e){this.entered=!1,this.extensionCodec=e?.extensionCodec??zo.defaultCodec,this.context=e?.context,this.useBigInt64=e?.useBigInt64??!1,this.maxDepth=e?.maxDepth??C6,this.initialBufferSize=e?.initialBufferSize??U6,this.sortKeys=e?.sortKeys??!1,this.forceFloat32=e?.forceFloat32??!1,this.ignoreUndefined=e?.ignoreUndefined??!1,this.forceIntegerToFloat=e?.forceIntegerToFloat??!1,this.pos=0,this.view=new DataView(new ArrayBuffer(this.initialBufferSize)),this.bytes=new Uint8Array(this.view.buffer)}clone(){return new xu({extensionCodec:this.extensionCodec,context:this.context,useBigInt64:this.useBigInt64,maxDepth:this.maxDepth,initialBufferSize:this.initialBufferSize,sortKeys:this.sortKeys,forceFloat32:this.forceFloat32,ignoreUndefined:this.ignoreUndefined,forceIntegerToFloat:this.forceIntegerToFloat})}reinitializeState(){this.pos=0}encodeSharedRef(e){if(this.entered)return this.clone().encodeSharedRef(e);try{return this.entered=!0,this.reinitializeState(),this.doEncode(e,1),this.bytes.subarray(0,this.pos)}finally{this.entered=!1}}encode(e){if(this.entered)return this.clone().encode(e);try{return this.entered=!0,this.reinitializeState(),this.doEncode(e,1),this.bytes.slice(0,this.pos)}finally{this.entered=!1}}doEncode(e,n){if(n>this.maxDepth)throw new Error(`Too deep objects in depth ${n}`);e==null?this.encodeNil():typeof e=="boolean"?this.encodeBoolean(e):typeof e=="number"?this.forceIntegerToFloat?this.encodeNumberAsFloat(e):this.encodeNumber(e):typeof e=="string"?this.encodeString(e):this.useBigInt64&&typeof e=="bigint"?this.encodeBigInt64(e):this.encodeObject(e,n)}ensureBufferSizeToWrite(e){const n=this.pos+e;this.view.byteLength<n&&this.resizeBuffer(n*2)}resizeBuffer(e){const n=new ArrayBuffer(e),r=new Uint8Array(n),i=new DataView(n);r.set(this.bytes),this.view=i,this.bytes=r}encodeNil(){this.writeU8(192)}encodeBoolean(e){e===!1?this.writeU8(194):this.writeU8(195)}encodeNumber(e){!this.forceIntegerToFloat&&Number.isSafeInteger(e)?e>=0?e<128?this.writeU8(e):e<256?(this.writeU8(204),this.writeU8(e)):e<65536?(this.writeU8(205),this.writeU16(e)):e<4294967296?(this.writeU8(206),this.writeU32(e)):this.useBigInt64?this.encodeNumberAsFloat(e):(this.writeU8(207),this.writeU64(e)):e>=-32?this.writeU8(224|e+32):e>=-128?(this.writeU8(208),this.writeI8(e)):e>=-32768?(this.writeU8(209),this.writeI16(e)):e>=-2147483648?(this.writeU8(210),this.writeI32(e)):this.useBigInt64?this.encodeNumberAsFloat(e):(this.writeU8(211),this.writeI64(e)):this.encodeNumberAsFloat(e)}encodeNumberAsFloat(e){this.forceFloat32?(this.writeU8(202),this.writeF32(e)):(this.writeU8(203),this.writeF64(e))}encodeBigInt64(e){e>=BigInt(0)?(this.writeU8(207),this.writeBigUint64(e)):(this.writeU8(211),this.writeBigInt64(e))}writeStringHeader(e){if(e<32)this.writeU8(160+e);else if(e<256)this.writeU8(217),this.writeU8(e);else if(e<65536)this.writeU8(218),this.writeU16(e);else if(e<4294967296)this.writeU8(219),this.writeU32(e);else throw new Error(`Too long string: ${e} bytes in UTF-8`)}encodeString(e){const r=h6(e);this.ensureBufferSizeToWrite(5+r),this.writeStringHeader(r),b6(e,this.bytes,this.pos),this.pos+=r}encodeObject(e,n){const r=this.extensionCodec.tryToEncode(e,this.context);if(r!=null)this.encodeExtension(r);else if(Array.isArray(e))this.encodeArray(e,n);else if(ArrayBuffer.isView(e))this.encodeBinary(e);else if(typeof e=="object")this.encodeMap(e,n);else throw new Error(`Unrecognized object: ${Object.prototype.toString.apply(e)}`)}encodeBinary(e){const n=e.byteLength;if(n<256)this.writeU8(196),this.writeU8(n);else if(n<65536)this.writeU8(197),this.writeU16(n);else if(n<4294967296)this.writeU8(198),this.writeU32(n);else throw new Error(`Too large binary: ${n}`);const r=Eu(e);this.writeU8a(r)}encodeArray(e,n){const r=e.length;if(r<16)this.writeU8(144+r);else if(r<65536)this.writeU8(220),this.writeU16(r);else if(r<4294967296)this.writeU8(221),this.writeU32(r);else throw new Error(`Too large array: ${r}`);for(const i of e)this.doEncode(i,n+1)}countWithoutUndefined(e,n){let r=0;for(const i of n)e[i]!==void 0&&r++;return r}encodeMap(e,n){const r=Object.keys(e);this.sortKeys&&r.sort();const i=this.ignoreUndefined?this.countWithoutUndefined(e,r):r.length;if(i<16)this.writeU8(128+i);else if(i<65536)this.writeU8(222),this.writeU16(i);else if(i<4294967296)this.writeU8(223),this.writeU32(i);else throw new Error(`Too large map object: ${i}`);for(const s of r){const o=e[s];this.ignoreUndefined&&o===void 0||(this.encodeString(s),this.doEncode(o,n+1))}}encodeExtension(e){if(typeof e.data=="function"){const r=e.data(this.pos+6),i=r.length;if(i>=4294967296)throw new Error(`Too large extension object: ${i}`);this.writeU8(201),this.writeU32(i),this.writeI8(e.type),this.writeU8a(r);return}const n=e.data.length;if(n===1)this.writeU8(212);else if(n===2)this.writeU8(213);else if(n===4)this.writeU8(214);else if(n===8)this.writeU8(215);else if(n===16)this.writeU8(216);else if(n<256)this.writeU8(199),this.writeU8(n);else if(n<65536)this.writeU8(200),this.writeU16(n);else if(n<4294967296)this.writeU8(201),this.writeU32(n);else throw new Error(`Too large extension object: ${n}`);this.writeI8(e.type),this.writeU8a(e.data)}writeU8(e){this.ensureBufferSizeToWrite(1),this.view.setUint8(this.pos,e),this.pos++}writeU8a(e){const n=e.length;this.ensureBufferSizeToWrite(n),this.bytes.set(e,this.pos),this.pos+=n}writeI8(e){this.ensureBufferSizeToWrite(1),this.view.setInt8(this.pos,e),this.pos++}writeU16(e){this.ensureBufferSizeToWrite(2),this.view.setUint16(this.pos,e),this.pos+=2}writeI16(e){this.ensureBufferSizeToWrite(2),this.view.setInt16(this.pos,e),this.pos+=2}writeU32(e){this.ensureBufferSizeToWrite(4),this.view.setUint32(this.pos,e),this.pos+=4}writeI32(e){this.ensureBufferSizeToWrite(4),this.view.setInt32(this.pos,e),this.pos+=4}writeF32(e){this.ensureBufferSizeToWrite(4),this.view.setFloat32(this.pos,e),this.pos+=4}writeF64(e){this.ensureBufferSizeToWrite(8),this.view.setFloat64(this.pos,e),this.pos+=8}writeU64(e){this.ensureBufferSizeToWrite(8),_6(this.view,this.pos,e),this.pos+=8}writeI64(e){this.ensureBufferSizeToWrite(8),Yp(this.view,this.pos,e),this.pos+=8}writeBigUint64(e){this.ensureBufferSizeToWrite(8),this.view.setBigUint64(this.pos,e),this.pos+=8}writeBigInt64(e){this.ensureBufferSizeToWrite(8),this.view.setBigInt64(this.pos,e),this.pos+=8}}function F6(t,e){return new xu(e).encodeSharedRef(t)}function _u(t){return`${t<0?"-":""}0x${Math.abs(t).toString(16).padStart(2,"0")}`}const L6=16,k6=16;class q6{constructor(e=L6,n=k6){this.hit=0,this.miss=0,this.maxKeyLength=e,this.maxLengthPerKey=n,this.caches=[];for(let r=0;r<this.maxKeyLength;r++)this.caches.push([])}canBeCached(e){return e>0&&e<=this.maxKeyLength}find(e,n,r){const i=this.caches[r-1];e:for(const s of i){const o=s.bytes;for(let a=0;a<r;a++)if(o[a]!==e[n+a])continue e;return s.str}return null}store(e,n){const r=this.caches[e.length-1],i={bytes:e,str:n};r.length>=this.maxLengthPerKey?r[Math.random()*r.length|0]=i:r.push(i)}decode(e,n,r){const i=this.find(e,n,r);if(i!=null)return this.hit++,i;this.miss++;const s=Zp(e,n,r),o=Uint8Array.prototype.slice.call(e,n,n+r);return this.store(o,s),s}}const Su="array",os="map_key",Jp="map_value",M6=t=>{if(typeof t=="string"||typeof t=="number")return t;throw new At("The type of key must be string or number but "+typeof t)};class j6{constructor(){this.stack=[],this.stackHeadPosition=-1}get length(){return this.stackHeadPosition+1}top(){return this.stack[this.stackHeadPosition]}pushArrayState(e){const n=this.getUninitializedStateFromPool();n.type=Su,n.position=0,n.size=e,n.array=new Array(e)}pushMapState(e){const n=this.getUninitializedStateFromPool();n.type=os,n.readCount=0,n.size=e,n.map={}}getUninitializedStateFromPool(){if(this.stackHeadPosition++,this.stackHeadPosition===this.stack.length){const e={type:void 0,size:0,array:void 0,position:0,readCount:0,map:void 0,key:null};this.stack.push(e)}return this.stack[this.stackHeadPosition]}release(e){if(this.stack[this.stackHeadPosition]!==e)throw new Error("Invalid stack state. Released state is not on top of the stack.");if(e.type===Su){const r=e;r.size=0,r.array=void 0,r.position=0,r.type=void 0}if(e.type===os||e.type===Jp){const r=e;r.size=0,r.map=void 0,r.readCount=0,r.type=void 0}this.stackHeadPosition--}reset(){this.stack.length=0,this.stackHeadPosition=-1}}const as=-1,Iu=new DataView(new ArrayBuffer(0)),z6=new Uint8Array(Iu.buffer);try{Iu.getInt8(0)}catch(t){if(!(t instanceof RangeError))throw new Error("This module is not supported in the current JavaScript engine because DataView does not throw RangeError on out-of-bounds access")}const Qp=new RangeError("Insufficient data"),H6=new q6;class Au{constructor(e){this.totalPos=0,this.pos=0,this.view=Iu,this.bytes=z6,this.headByte=as,this.stack=new j6,this.entered=!1,this.extensionCodec=e?.extensionCodec??zo.defaultCodec,this.context=e?.context,this.useBigInt64=e?.useBigInt64??!1,this.rawStrings=e?.rawStrings??!1,this.maxStrLength=e?.maxStrLength??ss,this.maxBinLength=e?.maxBinLength??ss,this.maxArrayLength=e?.maxArrayLength??ss,this.maxMapLength=e?.maxMapLength??ss,this.maxExtLength=e?.maxExtLength??ss,this.keyDecoder=e?.keyDecoder!==void 0?e.keyDecoder:H6,this.mapKeyConverter=e?.mapKeyConverter??M6}clone(){return new Au({extensionCodec:this.extensionCodec,context:this.context,useBigInt64:this.useBigInt64,rawStrings:this.rawStrings,maxStrLength:this.maxStrLength,maxBinLength:this.maxBinLength,maxArrayLength:this.maxArrayLength,maxMapLength:this.maxMapLength,maxExtLength:this.maxExtLength,keyDecoder:this.keyDecoder})}reinitializeState(){this.totalPos=0,this.headByte=as,this.stack.reset()}setBuffer(e){const n=Eu(e);this.bytes=n,this.view=new DataView(n.buffer,n.byteOffset,n.byteLength),this.pos=0}appendBuffer(e){if(this.headByte===as&&!this.hasRemaining(1))this.setBuffer(e);else{const n=this.bytes.subarray(this.pos),r=Eu(e),i=new Uint8Array(n.length+r.length);i.set(n),i.set(r,n.length),this.setBuffer(i)}}hasRemaining(e){return this.view.byteLength-this.pos>=e}createExtraByteError(e){const{view:n,pos:r}=this;return new RangeError(`Extra ${n.byteLength-r} of ${n.byteLength} byte(s) found at buffer[${e}]`)}decode(e){if(this.entered)return this.clone().decode(e);try{this.entered=!0,this.reinitializeState(),this.setBuffer(e);const n=this.doDecodeSync();if(this.hasRemaining(1))throw this.createExtraByteError(this.pos);return n}finally{this.entered=!1}}*decodeMulti(e){if(this.entered){yield*this.clone().decodeMulti(e);return}try{for(this.entered=!0,this.reinitializeState(),this.setBuffer(e);this.hasRemaining(1);)yield this.doDecodeSync()}finally{this.entered=!1}}async decodeAsync(e){if(this.entered)return this.clone().decodeAsync(e);try{this.entered=!0;let n=!1,r;for await(const a of e){if(n)throw this.entered=!1,this.createExtraByteError(this.totalPos);this.appendBuffer(a);try{r=this.doDecodeSync(),n=!0}catch(c){if(!(c instanceof RangeError))throw c}this.totalPos+=this.pos}if(n){if(this.hasRemaining(1))throw this.createExtraByteError(this.totalPos);return r}const{headByte:i,pos:s,totalPos:o}=this;throw new RangeError(`Insufficient data in parsing ${_u(i)} at ${o} (${s} in the current buffer)`)}finally{this.entered=!1}}decodeArrayStream(e){return this.decodeMultiAsync(e,!0)}decodeStream(e){return this.decodeMultiAsync(e,!1)}async*decodeMultiAsync(e,n){if(this.entered){yield*this.clone().decodeMultiAsync(e,n);return}try{this.entered=!0;let r=n,i=-1;for await(const s of e){if(n&&i===0)throw this.createExtraByteError(this.totalPos);this.appendBuffer(s),r&&(i=this.readArraySize(),r=!1,this.complete());try{for(;yield this.doDecodeSync(),--i!==0;);}catch(o){if(!(o instanceof RangeError))throw o}this.totalPos+=this.pos}}finally{this.entered=!1}}doDecodeSync(){e:for(;;){const e=this.readHeadByte();let n;if(e>=224)n=e-256;else if(e<192)if(e<128)n=e;else if(e<144){const i=e-128;if(i!==0){this.pushMapState(i),this.complete();continue e}else n={}}else if(e<160){const i=e-144;if(i!==0){this.pushArrayState(i),this.complete();continue e}else n=[]}else{const i=e-160;n=this.decodeString(i,0)}else if(e===192)n=null;else if(e===194)n=!1;else if(e===195)n=!0;else if(e===202)n=this.readF32();else if(e===203)n=this.readF64();else if(e===204)n=this.readU8();else if(e===205)n=this.readU16();else if(e===206)n=this.readU32();else if(e===207)this.useBigInt64?n=this.readU64AsBigInt():n=this.readU64();else if(e===208)n=this.readI8();else if(e===209)n=this.readI16();else if(e===210)n=this.readI32();else if(e===211)this.useBigInt64?n=this.readI64AsBigInt():n=this.readI64();else if(e===217){const i=this.lookU8();n=this.decodeString(i,1)}else if(e===218){const i=this.lookU16();n=this.decodeString(i,2)}else if(e===219){const i=this.lookU32();n=this.decodeString(i,4)}else if(e===220){const i=this.readU16();if(i!==0){this.pushArrayState(i),this.complete();continue e}else n=[]}else if(e===221){const i=this.readU32();if(i!==0){this.pushArrayState(i),this.complete();continue e}else n=[]}else if(e===222){const i=this.readU16();if(i!==0){this.pushMapState(i),this.complete();continue e}else n={}}else if(e===223){const i=this.readU32();if(i!==0){this.pushMapState(i),this.complete();continue e}else n={}}else if(e===196){const i=this.lookU8();n=this.decodeBinary(i,1)}else if(e===197){const i=this.lookU16();n=this.decodeBinary(i,2)}else if(e===198){const i=this.lookU32();n=this.decodeBinary(i,4)}else if(e===212)n=this.decodeExtension(1,0);else if(e===213)n=this.decodeExtension(2,0);else if(e===214)n=this.decodeExtension(4,0);else if(e===215)n=this.decodeExtension(8,0);else if(e===216)n=this.decodeExtension(16,0);else if(e===199){const i=this.lookU8();n=this.decodeExtension(i,1)}else if(e===200){const i=this.lookU16();n=this.decodeExtension(i,2)}else if(e===201){const i=this.lookU32();n=this.decodeExtension(i,4)}else throw new At(`Unrecognized type byte: ${_u(e)}`);this.complete();const r=this.stack;for(;r.length>0;){const i=r.top();if(i.type===Su)if(i.array[i.position]=n,i.position++,i.position===i.size)n=i.array,r.release(i);else continue e;else if(i.type===os){if(n==="__proto__")throw new At("The key __proto__ is not allowed");i.key=this.mapKeyConverter(n),i.type=Jp;continue e}else if(i.map[i.key]=n,i.readCount++,i.readCount===i.size)n=i.map,r.release(i);else{i.key=null,i.type=os;continue e}}return n}}readHeadByte(){return this.headByte===as&&(this.headByte=this.readU8()),this.headByte}complete(){this.headByte=as}readArraySize(){const e=this.readHeadByte();switch(e){case 220:return this.readU16();case 221:return this.readU32();default:{if(e<160)return e-144;throw new At(`Unrecognized array type byte: ${_u(e)}`)}}}pushMapState(e){if(e>this.maxMapLength)throw new At(`Max length exceeded: map length (${e}) > maxMapLengthLength (${this.maxMapLength})`);this.stack.pushMapState(e)}pushArrayState(e){if(e>this.maxArrayLength)throw new At(`Max length exceeded: array length (${e}) > maxArrayLength (${this.maxArrayLength})`);this.stack.pushArrayState(e)}decodeString(e,n){return!this.rawStrings||this.stateIsMapKey()?this.decodeUtf8String(e,n):this.decodeBinary(e,n)}decodeUtf8String(e,n){if(e>this.maxStrLength)throw new At(`Max length exceeded: UTF-8 byte length (${e}) > maxStrLength (${this.maxStrLength})`);if(this.bytes.byteLength<this.pos+n+e)throw Qp;const r=this.pos+n;let i;return this.stateIsMapKey()&&this.keyDecoder?.canBeCached(e)?i=this.keyDecoder.decode(this.bytes,r,e):i=x6(this.bytes,r,e),this.pos+=n+e,i}stateIsMapKey(){return this.stack.length>0?this.stack.top().type===os:!1}decodeBinary(e,n){if(e>this.maxBinLength)throw new At(`Max length exceeded: bin length (${e}) > maxBinLength (${this.maxBinLength})`);if(!this.hasRemaining(e+n))throw Qp;const r=this.pos+n,i=this.bytes.subarray(r,r+e);return this.pos+=n+e,i}decodeExtension(e,n){if(e>this.maxExtLength)throw new At(`Max length exceeded: ext length (${e}) > maxExtLength (${this.maxExtLength})`);const r=this.view.getInt8(this.pos+n),i=this.decodeBinary(e,n+1);return this.extensionCodec.decode(i,r,this.context)}lookU8(){return this.view.getUint8(this.pos)}lookU16(){return this.view.getUint16(this.pos)}lookU32(){return this.view.getUint32(this.pos)}readU8(){const e=this.view.getUint8(this.pos);return this.pos++,e}readI8(){const e=this.view.getInt8(this.pos);return this.pos++,e}readU16(){const e=this.view.getUint16(this.pos);return this.pos+=2,e}readI16(){const e=this.view.getInt16(this.pos);return this.pos+=2,e}readU32(){const e=this.view.getUint32(this.pos);return this.pos+=4,e}readI32(){const e=this.view.getInt32(this.pos);return this.pos+=4,e}readU64(){const e=S6(this.view,this.pos);return this.pos+=8,e}readI64(){const e=Xp(this.view,this.pos);return this.pos+=8,e}readU64AsBigInt(){const e=this.view.getBigUint64(this.pos);return this.pos+=8,e}readI64AsBigInt(){const e=this.view.getBigInt64(this.pos);return this.pos+=8,e}readF32(){const e=this.view.getFloat32(this.pos);return this.pos+=4,e}readF64(){const e=this.view.getFloat64(this.pos);return this.pos+=8,e}}function V6(t,e){return new Au(e).decode(t)}function Bu(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function e0(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?Bu(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function cs(t,e){e||(e=t.reduce((i,s)=>i+s.length,0));const n=e0(e);let r=0;for(const i of t)n.set(i,r),r+=i.length;return Bu(n)}function K6(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<t.length;i++){var s=t.charAt(i),o=s.charCodeAt(0);if(n[o]!==255)throw new TypeError(s+" is ambiguous");n[o]=i}var a=t.length,c=t.charAt(0),u=Math.log(a)/Math.log(256),l=Math.log(256)/Math.log(a);function f(p){if(p instanceof Uint8Array||(ArrayBuffer.isView(p)?p=new Uint8Array(p.buffer,p.byteOffset,p.byteLength):Array.isArray(p)&&(p=Uint8Array.from(p))),!(p instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(p.length===0)return"";for(var y=0,m=0,B=0,$=p.length;B!==$&&p[B]===0;)B++,y++;for(var _=($-B)*l+1>>>0,x=new Uint8Array(_);B!==$;){for(var P=p[B],R=0,U=_-1;(P!==0||R<m)&&U!==-1;U--,R++)P+=256*x[U]>>>0,x[U]=P%a>>>0,P=P/a>>>0;if(P!==0)throw new Error("Non-zero carry");m=R,B++}for(var F=_-m;F!==_&&x[F]===0;)F++;for(var D=c.repeat(y);F<_;++F)D+=t.charAt(x[F]);return D}function d(p){if(typeof p!="string")throw new TypeError("Expected String");if(p.length===0)return new Uint8Array;var y=0;if(p[y]!==" "){for(var m=0,B=0;p[y]===c;)m++,y++;for(var $=(p.length-y)*u+1>>>0,_=new Uint8Array($);p[y];){var x=n[p.charCodeAt(y)];if(x===255)return;for(var P=0,R=$-1;(x!==0||P<B)&&R!==-1;R--,P++)x+=a*_[R]>>>0,_[R]=x%256>>>0,x=x/256>>>0;if(x!==0)throw new Error("Non-zero carry");B=P,y++}if(p[y]!==" "){for(var U=$-B;U!==$&&_[U]===0;)U++;for(var F=new Uint8Array(m+($-U)),D=m;U!==$;)F[D++]=_[U++];return F}}}function h(p){var y=d(p);if(y)return y;throw new Error(`Non-${e} character`)}return{encode:f,decodeUnsafe:d,decode:h}}var G6=K6,W6=G6;const t0=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},Z6=t=>new TextEncoder().encode(t),Y6=t=>new TextDecoder().decode(t);class X6{constructor(e,n,r){this.name=e,this.prefix=n,this.baseEncode=r}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class J6{constructor(e,n,r){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=r}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return n0(this,e)}}class Q6{constructor(e){this.decoders=e}or(e){return n0(this,e)}decode(e){const n=e[0],r=this.decoders[n];if(r)return r.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const n0=(t,e)=>new Q6({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}});class e4{constructor(e,n,r,i){this.name=e,this.prefix=n,this.baseEncode=r,this.baseDecode=i,this.encoder=new X6(e,n,r),this.decoder=new J6(e,n,i)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const Ho=({name:t,prefix:e,encode:n,decode:r})=>new e4(t,e,n,r),us=({prefix:t,name:e,alphabet:n})=>{const{encode:r,decode:i}=W6(n,e);return Ho({prefix:t,name:e,encode:r,decode:s=>t0(i(s))})},t4=(t,e,n,r)=>{const i={};for(let l=0;l<e.length;++l)i[e[l]]=l;let s=t.length;for(;t[s-1]==="=";)--s;const o=new Uint8Array(s*n/8|0);let a=0,c=0,u=0;for(let l=0;l<s;++l){const f=i[t[l]];if(f===void 0)throw new SyntaxError(`Non-${r} character`);c=c<<n|f,a+=n,a>=8&&(a-=8,o[u++]=255&c>>a)}if(a>=n||255&c<<8-a)throw new SyntaxError("Unexpected end of data");return o},n4=(t,e,n)=>{const r=e[e.length-1]==="=",i=(1<<n)-1;let s="",o=0,a=0;for(let c=0;c<t.length;++c)for(a=a<<8|t[c],o+=8;o>n;)o-=n,s+=e[i&a>>o];if(o&&(s+=e[i&a<<n-o]),r)for(;s.length*n&7;)s+="=";return s},Le=({name:t,prefix:e,bitsPerChar:n,alphabet:r})=>Ho({prefix:e,name:t,encode(i){return n4(i,r,n)},decode(i){return t4(i,r,n,t)}}),r4=Ho({prefix:"\0",name:"identity",encode:t=>Y6(t),decode:t=>Z6(t)});var i4=Object.freeze({__proto__:null,identity:r4});const s4=Le({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var o4=Object.freeze({__proto__:null,base2:s4});const a4=Le({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var c4=Object.freeze({__proto__:null,base8:a4});const u4=us({prefix:"9",name:"base10",alphabet:"0123456789"});var l4=Object.freeze({__proto__:null,base10:u4});const f4=Le({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),h4=Le({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var d4=Object.freeze({__proto__:null,base16:f4,base16upper:h4});const p4=Le({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),g4=Le({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),y4=Le({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),b4=Le({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),w4=Le({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),m4=Le({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),v4=Le({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),E4=Le({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),x4=Le({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var _4=Object.freeze({__proto__:null,base32:p4,base32upper:g4,base32pad:y4,base32padupper:b4,base32hex:w4,base32hexupper:m4,base32hexpad:v4,base32hexpadupper:E4,base32z:x4});const S4=us({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),I4=us({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var A4=Object.freeze({__proto__:null,base36:S4,base36upper:I4});const B4=us({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),O4=us({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var D4=Object.freeze({__proto__:null,base58btc:B4,base58flickr:O4});const $4=Le({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),P4=Le({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),T4=Le({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),R4=Le({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var N4=Object.freeze({__proto__:null,base64:$4,base64pad:P4,base64url:T4,base64urlpad:R4});const r0=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),C4=r0.reduce((t,e,n)=>(t[n]=e,t),[]),U4=r0.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);function F4(t){return t.reduce((e,n)=>(e+=C4[n],e),"")}function L4(t){const e=[];for(const n of t){const r=U4[n.codePointAt(0)];if(r===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(r)}return new Uint8Array(e)}const k4=Ho({prefix:"\u{1F680}",name:"base256emoji",encode:F4,decode:L4});var q4=Object.freeze({__proto__:null,base256emoji:k4}),M4=s0,i0=128,j4=127,z4=~j4,H4=Math.pow(2,31);function s0(t,e,n){e=e||[],n=n||0;for(var r=n;t>=H4;)e[n++]=t&255|i0,t/=128;for(;t&z4;)e[n++]=t&255|i0,t>>>=7;return e[n]=t|0,s0.bytes=n-r+1,e}var V4=Ou,K4=128,o0=127;function Ou(t,r){var n=0,r=r||0,i=0,s=r,o,a=t.length;do{if(s>=a)throw Ou.bytes=0,new RangeError("Could not decode varint");o=t[s++],n+=i<28?(o&o0)<<i:(o&o0)*Math.pow(2,i),i+=7}while(o>=K4);return Ou.bytes=s-r,n}var G4=Math.pow(2,7),W4=Math.pow(2,14),Z4=Math.pow(2,21),Y4=Math.pow(2,28),X4=Math.pow(2,35),J4=Math.pow(2,42),Q4=Math.pow(2,49),e_=Math.pow(2,56),t_=Math.pow(2,63),n_=function(t){return t<G4?1:t<W4?2:t<Z4?3:t<Y4?4:t<X4?5:t<J4?6:t<Q4?7:t<e_?8:t<t_?9:10},r_={encode:M4,decode:V4,encodingLength:n_},a0=r_;const c0=(t,e,n=0)=>(a0.encode(t,e,n),e),u0=t=>a0.encodingLength(t),Du=(t,e)=>{const n=e.byteLength,r=u0(t),i=r+u0(n),s=new Uint8Array(i+n);return c0(t,s,0),c0(n,s,r),s.set(e,i),new i_(t,n,e,s)};class i_{constructor(e,n,r,i){this.code=e,this.size=n,this.digest=r,this.bytes=i}}const l0=({name:t,code:e,encode:n})=>new s_(t,e,n);class s_{constructor(e,n,r){this.name=e,this.code=n,this.encode=r}digest(e){if(e instanceof Uint8Array){const n=this.encode(e);return n instanceof Uint8Array?Du(this.code,n):n.then(r=>Du(this.code,r))}else throw Error("Unknown type, must be binary type")}}const f0=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),o_=l0({name:"sha2-256",code:18,encode:f0("SHA-256")}),a_=l0({name:"sha2-512",code:19,encode:f0("SHA-512")});var c_=Object.freeze({__proto__:null,sha256:o_,sha512:a_});const h0=0,u_="identity",d0=t0;var l_=Object.freeze({__proto__:null,identity:{code:h0,name:u_,encode:d0,digest:t=>Du(h0,d0(t))}});new TextEncoder,new TextDecoder;const p0={...i4,...o4,...c4,...l4,...d4,..._4,...A4,...D4,...N4,...q4};({...c_,...l_});function g0(t,e,n,r){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:r}}}const y0=g0("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),$u=g0("ascii","a",t=>{let e="a";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},t=>{t=t.substring(1);const e=e0(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}),b0={utf8:y0,"utf-8":y0,hex:p0.base16,latin1:$u,ascii:$u,binary:$u,...p0};function Ct(t,e="utf8"){const n=b0[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?Bu(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}function bt(t,e="utf8"){const n=b0[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("utf8"):n.encoder.encode(t).substring(1)}const f_={waku:{publish:"waku_publish",batchPublish:"waku_batchPublish",subscribe:"waku_subscribe",batchSubscribe:"waku_batchSubscribe",subscription:"waku_subscription",unsubscribe:"waku_unsubscribe",batchUnsubscribe:"waku_batchUnsubscribe",batchFetchMessages:"waku_batchFetchMessages"},irn:{publish:"irn_publish",batchPublish:"irn_batchPublish",subscribe:"irn_subscribe",batchSubscribe:"irn_batchSubscribe",subscription:"irn_subscription",unsubscribe:"irn_unsubscribe",batchUnsubscribe:"irn_batchUnsubscribe",batchFetchMessages:"irn_batchFetchMessages"},iridium:{publish:"iridium_publish",batchPublish:"iridium_batchPublish",subscribe:"iridium_subscribe",batchSubscribe:"iridium_batchSubscribe",subscription:"iridium_subscription",unsubscribe:"iridium_unsubscribe",batchUnsubscribe:"iridium_batchUnsubscribe",batchFetchMessages:"iridium_batchFetchMessages"}},h_="Input must be an string, Buffer or Uint8Array";function d_(t){let e;if(t instanceof Uint8Array)e=t;else if(typeof t=="string")e=new TextEncoder().encode(t);else throw new Error(h_);return e}function p_(t){return Array.prototype.map.call(t,function(e){return(e<16?"0":"")+e.toString(16)}).join("")}function Vo(t){return(4294967296+t).toString(16).substring(1)}function g_(t,e,n){let r=`
17
- `+t+" = ";for(let i=0;i<e.length;i+=2){if(n===32)r+=Vo(e[i]).toUpperCase(),r+=" ",r+=Vo(e[i+1]).toUpperCase();else if(n===64)r+=Vo(e[i+1]).toUpperCase(),r+=Vo(e[i]).toUpperCase();else throw new Error("Invalid size "+n);i%6===4?r+=`
18
- `+new Array(t.length+4).join(" "):i<e.length-2&&(r+=" ")}console.log(r)}function y_(t,e,n){let r=new Date().getTime();const i=new Uint8Array(e);for(let o=0;o<e;o++)i[o]=o%256;const s=new Date().getTime();console.log("Generated random input in "+(s-r)+"ms"),r=s;for(let o=0;o<n;o++){const a=t(i),c=new Date().getTime(),u=c-r;r=c,console.log("Hashed in "+u+"ms: "+a.substring(0,20)+"..."),console.log(Math.round(e/(1<<20)/(u/1e3)*100)/100+" MB PER SECOND")}}var w0={normalizeInput:d_,toHex:p_,debugPrint:g_,testSpeed:y_};const Ko=w0;function Go(t,e,n){const r=t[e]+t[n];let i=t[e+1]+t[n+1];r>=4294967296&&i++,t[e]=r,t[e+1]=i}function m0(t,e,n,r){let i=t[e]+n;n<0&&(i+=4294967296);let s=t[e+1]+r;i>=4294967296&&s++,t[e]=i,t[e+1]=s}function v0(t,e){return t[e]^t[e+1]<<8^t[e+2]<<16^t[e+3]<<24}function nr(t,e,n,r,i,s){const o=ls[i],a=ls[i+1],c=ls[s],u=ls[s+1];Go(te,t,e),m0(te,t,o,a);let l=te[r]^te[t],f=te[r+1]^te[t+1];te[r]=f,te[r+1]=l,Go(te,n,r),l=te[e]^te[n],f=te[e+1]^te[n+1],te[e]=l>>>24^f<<8,te[e+1]=f>>>24^l<<8,Go(te,t,e),m0(te,t,c,u),l=te[r]^te[t],f=te[r+1]^te[t+1],te[r]=l>>>16^f<<16,te[r+1]=f>>>16^l<<16,Go(te,n,r),l=te[e]^te[n],f=te[e+1]^te[n+1],te[e]=f>>>31^l<<1,te[e+1]=l>>>31^f<<1}const E0=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),b_=[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],Ye=new Uint8Array(b_.map(function(t){return t*2})),te=new Uint32Array(32),ls=new Uint32Array(32);function x0(t,e){let n=0;for(n=0;n<16;n++)te[n]=t.h[n],te[n+16]=E0[n];for(te[24]=te[24]^t.t,te[25]=te[25]^t.t/4294967296,e&&(te[28]=~te[28],te[29]=~te[29]),n=0;n<32;n++)ls[n]=v0(t.b,4*n);for(n=0;n<12;n++)nr(0,8,16,24,Ye[n*16+0],Ye[n*16+1]),nr(2,10,18,26,Ye[n*16+2],Ye[n*16+3]),nr(4,12,20,28,Ye[n*16+4],Ye[n*16+5]),nr(6,14,22,30,Ye[n*16+6],Ye[n*16+7]),nr(0,10,20,30,Ye[n*16+8],Ye[n*16+9]),nr(2,12,22,24,Ye[n*16+10],Ye[n*16+11]),nr(4,14,16,26,Ye[n*16+12],Ye[n*16+13]),nr(6,8,18,28,Ye[n*16+14],Ye[n*16+15]);for(n=0;n<16;n++)t.h[n]=t.h[n]^te[n]^te[n+16]}const rr=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function _0(t,e,n,r){if(t===0||t>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(e&&e.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(n&&n.length!==16)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(r&&r.length!==16)throw new Error("Illegal personal, expected Uint8Array with length is 16");const i={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:t};rr.fill(0),rr[0]=t,e&&(rr[1]=e.length),rr[2]=1,rr[3]=1,n&&rr.set(n,32),r&&rr.set(r,48);for(let s=0;s<16;s++)i.h[s]=E0[s]^v0(rr,s*4);return e&&(Pu(i,e),i.c=128),i}function Pu(t,e){for(let n=0;n<e.length;n++)t.c===128&&(t.t+=t.c,x0(t,!1),t.c=0),t.b[t.c++]=e[n]}function S0(t){for(t.t+=t.c;t.c<128;)t.b[t.c++]=0;x0(t,!0);const e=new Uint8Array(t.outlen);for(let n=0;n<t.outlen;n++)e[n]=t.h[n>>2]>>8*(n&3);return e}function I0(t,e,n,r,i){n=n||64,t=Ko.normalizeInput(t),r&&(r=Ko.normalizeInput(r)),i&&(i=Ko.normalizeInput(i));const s=_0(n,e,r,i);return Pu(s,t),S0(s)}function w_(t,e,n,r,i){const s=I0(t,e,n,r,i);return Ko.toHex(s)}var m_={blake2b:I0,blake2bHex:w_,blake2bInit:_0,blake2bUpdate:Pu,blake2bFinal:S0};const A0=w0;function v_(t,e){return t[e]^t[e+1]<<8^t[e+2]<<16^t[e+3]<<24}function ir(t,e,n,r,i,s){ae[t]=ae[t]+ae[e]+i,ae[r]=Wo(ae[r]^ae[t],16),ae[n]=ae[n]+ae[r],ae[e]=Wo(ae[e]^ae[n],12),ae[t]=ae[t]+ae[e]+s,ae[r]=Wo(ae[r]^ae[t],8),ae[n]=ae[n]+ae[r],ae[e]=Wo(ae[e]^ae[n],7)}function Wo(t,e){return t>>>e^t<<32-e}const B0=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Xe=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]),ae=new Uint32Array(16),ke=new Uint32Array(16);function O0(t,e){let n=0;for(n=0;n<8;n++)ae[n]=t.h[n],ae[n+8]=B0[n];for(ae[12]^=t.t,ae[13]^=t.t/4294967296,e&&(ae[14]=~ae[14]),n=0;n<16;n++)ke[n]=v_(t.b,4*n);for(n=0;n<10;n++)ir(0,4,8,12,ke[Xe[n*16+0]],ke[Xe[n*16+1]]),ir(1,5,9,13,ke[Xe[n*16+2]],ke[Xe[n*16+3]]),ir(2,6,10,14,ke[Xe[n*16+4]],ke[Xe[n*16+5]]),ir(3,7,11,15,ke[Xe[n*16+6]],ke[Xe[n*16+7]]),ir(0,5,10,15,ke[Xe[n*16+8]],ke[Xe[n*16+9]]),ir(1,6,11,12,ke[Xe[n*16+10]],ke[Xe[n*16+11]]),ir(2,7,8,13,ke[Xe[n*16+12]],ke[Xe[n*16+13]]),ir(3,4,9,14,ke[Xe[n*16+14]],ke[Xe[n*16+15]]);for(n=0;n<8;n++)t.h[n]^=ae[n]^ae[n+8]}function D0(t,e){if(!(t>0&&t<=32))throw new Error("Incorrect output length, should be in [1, 32]");const n=e?e.length:0;if(e&&!(n>0&&n<=32))throw new Error("Incorrect key length, should be in [1, 32]");const r={h:new Uint32Array(B0),b:new Uint8Array(64),c:0,t:0,outlen:t};return r.h[0]^=16842752^n<<8^t,n>0&&(Tu(r,e),r.c=64),r}function Tu(t,e){for(let n=0;n<e.length;n++)t.c===64&&(t.t+=t.c,O0(t,!1),t.c=0),t.b[t.c++]=e[n]}function $0(t){for(t.t+=t.c;t.c<64;)t.b[t.c++]=0;O0(t,!0);const e=new Uint8Array(t.outlen);for(let n=0;n<t.outlen;n++)e[n]=t.h[n>>2]>>8*(n&3)&255;return e}function P0(t,e,n){n=n||32,t=A0.normalizeInput(t);const r=D0(n,e);return Tu(r,t),$0(r)}function E_(t,e,n){const r=P0(t,e,n);return A0.toHex(r)}var x_={blake2s:P0,blake2sHex:E_,blake2sInit:D0,blake2sUpdate:Tu,blake2sFinal:$0};const fs=m_,hs=x_;var __={blake2b:fs.blake2b,blake2bHex:fs.blake2bHex,blake2bInit:fs.blake2bInit,blake2bUpdate:fs.blake2bUpdate,blake2bFinal:fs.blake2bFinal,blake2s:hs.blake2s,blake2sHex:hs.blake2sHex,blake2sInit:hs.blake2sInit,blake2sUpdate:hs.blake2sUpdate,blake2sFinal:hs.blake2sFinal};const S_=":";function Zo(t){const[e,n]=t.split(S_);return{namespace:e,reference:n}}function T0(t,e){return t.includes(":")?[t]:e.chains||[]}var I_=Object.defineProperty,A_=Object.defineProperties,B_=Object.getOwnPropertyDescriptors,R0=Object.getOwnPropertySymbols,O_=Object.prototype.hasOwnProperty,D_=Object.prototype.propertyIsEnumerable,Ru=(t,e,n)=>e in t?I_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,N0=(t,e)=>{for(var n in e||(e={}))O_.call(e,n)&&Ru(t,n,e[n]);if(R0)for(var n of R0(e))D_.call(e,n)&&Ru(t,n,e[n]);return t},$_=(t,e)=>A_(t,B_(e)),C0=(t,e,n)=>Ru(t,typeof e!="symbol"?e+"":e,n);const P_="ReactNative",Bt={reactNative:"react-native",node:"node",browser:"browser",unknown:"unknown"},T_="js";function Yo(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}function sr(){return!Pr()&&!!pc()&&navigator.product===P_}function R_(){return sr()&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"&&(global==null?void 0:global.Platform.OS)==="android"}function N_(){return sr()&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"&&(global==null?void 0:global.Platform.OS)==="ios"}function Ei(){return!Yo()&&!!pc()&&!!Pr()}function ds(){return sr()?Bt.reactNative:Yo()?Bt.node:Ei()?Bt.browser:Bt.unknown}function U0(){var t;try{return sr()&&typeof global<"u"&&typeof(global==null?void 0:global.Application)<"u"?(t=global.Application)==null?void 0:t.applicationId:void 0}catch{return}}function C_(t,e){const n=new URLSearchParams(t);return Object.entries(e).sort(([r],[i])=>r.localeCompare(i)).forEach(([r,i])=>{i!=null&&n.set(r,String(i))}),n.toString()}function U_(t){var e,n;const r=F0();try{return t!=null&&t.url&&r.url&&new URL(t.url).host!==new URL(r.url).host&&(console.warn(`The configured WalletConnect 'metadata.url':${t.url} differs from the actual page url:${r.url}. This is probably unintended and can lead to issues.`),t.url=r.url),(e=t?.icons)!=null&&e.length&&t.icons.length>0&&(t.icons=t.icons.filter(i=>i!=="")),$_(N0(N0({},r),t),{url:t?.url||r.url,name:t?.name||r.name,description:t?.description||r.description,icons:(n=t?.icons)!=null&&n.length&&t.icons.length>0?t.icons:r.icons})}catch(i){return console.warn("Error populating app metadata",i),t||r}}function F0(){return Uh()||{name:"",description:"",url:"",icons:[""]}}function F_(){if(ds()===Bt.reactNative&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"){const{OS:n,Version:r}=global.Platform;return[n,r].join("-")}const t=m3();if(t===null)return"unknown";const e=t.os?t.os.replace(" ","").toLowerCase():"unknown";return t.type==="browser"?[e,t.name,t.version].join("-"):[e,t.version].join("-")}function L_(){var t;const e=ds();return e===Bt.browser?[e,((t=Ch())==null?void 0:t.host)||"unknown"].join(":"):e}function L0(t,e,n){const r=F_(),i=L_();return[[t,e].join("-"),[T_,n].join("-"),r,i].join("/")}function k_({protocol:t,version:e,relayUrl:n,sdkVersion:r,auth:i,projectId:s,useOnCloseEvent:o,bundleId:a,packageName:c}){const u=n.split("?"),l=L0(t,e,r),f={auth:i,ua:l,projectId:s,useOnCloseEvent:o||void 0,packageName:c||void 0,bundleId:a||void 0},d=C_(u[1]||"",f);return u[0]+"?"+d}function Mr(t,e){return t.filter(n=>e.includes(n)).length===t.length}function Nu(t){return Object.fromEntries(t.entries())}function Cu(t){return new Map(Object.entries(t))}function jr(t=K.FIVE_MINUTES,e){const n=K.toMiliseconds(t||K.FIVE_MINUTES);let r,i,s,o;return{resolve:a=>{s&&r&&(clearTimeout(s),r(a),o=Promise.resolve(a))},reject:a=>{s&&i&&(clearTimeout(s),i(a))},done:()=>new Promise((a,c)=>{if(o)return a(o);s=setTimeout(()=>{const u=new Error(e);o=Promise.reject(u),c(u)},n),r=a,i=c})}}function sn(t,e,n){return new Promise(async(r,i)=>{const s=setTimeout(()=>i(new Error(n)),e);try{const o=await t;r(o)}catch(o){i(o)}clearTimeout(s)})}function k0(t,e){if(typeof e=="string"&&e.startsWith(`${t}:`))return e;if(t.toLowerCase()==="topic"){if(typeof e!="string")throw new Error('Value must be "string" for expirer target type: topic');return`topic:${e}`}else if(t.toLowerCase()==="id"){if(typeof e!="number")throw new Error('Value must be "number" for expirer target type: id');return`id:${e}`}throw new Error(`Unknown expirer target type: ${t}`)}function q_(t){return k0("topic",t)}function M_(t){return k0("id",t)}function q0(t){const[e,n]=t.split(":"),r={id:void 0,topic:void 0};if(e==="topic"&&typeof n=="string")r.topic=n;else if(e==="id"&&Number.isInteger(Number(n)))r.id=Number(n);else throw new Error(`Invalid target, expected id:number or topic:string, got ${e}:${n}`);return r}function De(t,e){return K.fromMiliseconds((e||Date.now())+K.toMiliseconds(t))}function or(t){return Date.now()>=K.toMiliseconds(t)}function he(t,e){return`${t}${e?`:${e}`:""}`}function zr(t=[],e=[]){return[...new Set([...t,...e])]}async function j_({id:t,topic:e,wcDeepLink:n}){var r;try{if(!n)return;const i=typeof n=="string"?JSON.parse(n):n,s=i?.href;if(typeof s!="string")return;const o=z_(s,t,e),a=ds();if(a===Bt.browser){if(!((r=Pr())!=null&&r.hasFocus())){console.warn("Document does not have focus, skipping deeplink.");return}H_(o)}else a===Bt.reactNative&&typeof(global==null?void 0:global.Linking)<"u"&&await global.Linking.openURL(o)}catch(i){console.error(i)}}function z_(t,e,n){const r=`requestId=${e}&sessionTopic=${n}`;t.endsWith("/")&&(t=t.slice(0,-1));let i=`${t}`;if(t.startsWith("https://t.me")){const s=t.includes("?")?"&startapp=":"?startapp=";i=`${i}${s}${W_(r,!0)}`}else i=`${i}/wc?${r}`;return i}function H_(t){let e="_self";G_()?e="_top":(K_()||t.startsWith("https://")||t.startsWith("http://"))&&(e="_blank"),window.open(t,e,"noreferrer noopener")}async function V_(t,e){let n="";try{if(Ei()&&(n=localStorage.getItem(e),n))return n;n=await t.getItem(e)}catch(r){console.error(r)}return n}function M0(t,e){if(!t.includes(e))return null;const n=t.split(/([&,?,=])/),r=n.indexOf(e);return n[r+2]}function j0(){return typeof crypto<"u"&&crypto!=null&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/gu,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}function Uu(){return typeof process<"u"&&process.env.IS_VITEST==="true"}function K_(){return typeof window<"u"&&(!!window.TelegramWebviewProxy||!!window.Telegram||!!window.TelegramWebviewProxyProto)}function G_(){try{return window.self!==window.top}catch{return!1}}function W_(t,e=!1){const n=Buffer.from(t).toString("base64");return e?n.replace(/[=]/g,""):n}function z0(t){return Buffer.from(t,"base64").toString("utf-8")}function Z_(t){return new Promise(e=>setTimeout(e,t))}class Y_{constructor({limit:e}){C0(this,"limit"),C0(this,"set"),this.limit=e,this.set=new Set}add(e){if(!this.set.has(e)){if(this.set.size>=this.limit){const n=this.set.values().next().value;n&&this.set.delete(n)}this.set.add(e)}}has(e){return this.set.has(e)}}const Xo=BigInt(2**32-1),H0=BigInt(32);function V0(t,e=!1){return e?{h:Number(t&Xo),l:Number(t>>H0&Xo)}:{h:Number(t>>H0&Xo)|0,l:Number(t&Xo)|0}}function K0(t,e=!1){const n=t.length;let r=new Uint32Array(n),i=new Uint32Array(n);for(let s=0;s<n;s++){const{h:o,l:a}=V0(t[s],e);[r[s],i[s]]=[o,a]}return[r,i]}const G0=(t,e,n)=>t>>>n,W0=(t,e,n)=>t<<32-n|e>>>n,ar=(t,e,n)=>t>>>n|e<<32-n,cr=(t,e,n)=>t<<32-n|e>>>n,ps=(t,e,n)=>t<<64-n|e>>>n-32,gs=(t,e,n)=>t>>>n-32|e<<64-n,X_=(t,e)=>e,J_=(t,e)=>t,Q_=(t,e,n)=>t<<n|e>>>32-n,e5=(t,e,n)=>e<<n|t>>>32-n,t5=(t,e,n)=>e<<n-32|t>>>64-n,n5=(t,e,n)=>t<<n-32|e>>>64-n;function Kt(t,e,n,r){const i=(e>>>0)+(r>>>0);return{h:t+n+(i/2**32|0)|0,l:i|0}}const Fu=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),Lu=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,r5=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),i5=(t,e,n,r,i)=>e+n+r+i+(t/2**32|0)|0,s5=(t,e,n,r,i)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0),o5=(t,e,n,r,i,s)=>e+n+r+i+s+(t/2**32|0)|0,xi=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function Jo(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function On(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function Gt(t,...e){if(!Jo(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function Qo(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");On(t.outputLen),On(t.blockLen)}function ur(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function ku(t,e){Gt(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function ys(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function Ut(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function qu(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function on(t,e){return t<<32-e|t>>>e}const Z0=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function Y0(t){return t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}const Dn=Z0?t=>t:t=>Y0(t);function a5(t){for(let e=0;e<t.length;e++)t[e]=Y0(t[e]);return t}const lr=Z0?t=>t:a5,X0=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",c5=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function _i(t){if(Gt(t),X0)return t.toHex();let e="";for(let n=0;n<t.length;n++)e+=c5[t[n]];return e}const $n={_0:48,_9:57,A:65,F:70,a:97,f:102};function J0(t){if(t>=$n._0&&t<=$n._9)return t-$n._0;if(t>=$n.A&&t<=$n.F)return t-($n.A-10);if(t>=$n.a&&t<=$n.f)return t-($n.a-10)}function ea(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(X0)return Uint8Array.fromHex(t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=J0(t.charCodeAt(s)),a=J0(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function Q0(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function Wt(t){return typeof t=="string"&&(t=Q0(t)),Gt(t),t}function fr(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];Gt(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}class ta{}function bs(t){const e=r=>t().update(Wt(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function u5(t){const e=(r,i)=>t(i).update(Wt(r)).digest(),n=t({});return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=r=>t(r),e}function Hr(t=32){if(xi&&typeof xi.getRandomValues=="function")return xi.getRandomValues(new Uint8Array(t));if(xi&&typeof xi.randomBytes=="function")return Uint8Array.from(xi.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}const l5=BigInt(0),ws=BigInt(1),f5=BigInt(2),h5=BigInt(7),d5=BigInt(256),p5=BigInt(113),eg=[],tg=[],ng=[];for(let t=0,e=ws,n=1,r=0;t<24;t++){[n,r]=[r,(2*n+3*r)%5],eg.push(2*(5*r+n)),tg.push((t+1)*(t+2)/2%64);let i=l5;for(let s=0;s<7;s++)e=(e<<ws^(e>>h5)*p5)%d5,e&f5&&(i^=ws<<(ws<<BigInt(s))-ws);ng.push(i)}const rg=K0(ng,!0),g5=rg[0],y5=rg[1],ig=(t,e,n)=>n>32?t5(t,e,n):Q_(t,e,n),sg=(t,e,n)=>n>32?n5(t,e,n):e5(t,e,n);function b5(t,e=24){const n=new Uint32Array(10);for(let r=24-e;r<24;r++){for(let o=0;o<10;o++)n[o]=t[o]^t[o+10]^t[o+20]^t[o+30]^t[o+40];for(let o=0;o<10;o+=2){const a=(o+8)%10,c=(o+2)%10,u=n[c],l=n[c+1],f=ig(u,l,1)^n[a],d=sg(u,l,1)^n[a+1];for(let h=0;h<50;h+=10)t[o+h]^=f,t[o+h+1]^=d}let i=t[2],s=t[3];for(let o=0;o<24;o++){const a=tg[o],c=ig(i,s,a),u=sg(i,s,a),l=eg[o];i=t[l],s=t[l+1],t[l]=c,t[l+1]=u}for(let o=0;o<50;o+=10){for(let a=0;a<10;a++)n[a]=t[o+a];for(let a=0;a<10;a++)t[o+a]^=~n[(a+2)%10]&n[(a+4)%10]}t[0]^=g5[r],t[1]^=y5[r]}Ut(n)}class Mu extends ta{constructor(e,n,r,i=!1,s=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=n,this.outputLen=r,this.enableXOF=i,this.rounds=s,On(r),!(0<e&&e<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=ys(this.state)}clone(){return this._cloneInto()}keccak(){lr(this.state32),b5(this.state32,this.rounds),lr(this.state32),this.posOut=0,this.pos=0}update(e){ur(this),e=Wt(e),Gt(e);const{blockLen:n,state:r}=this,i=e.length;for(let s=0;s<i;){const o=Math.min(n-this.pos,i-s);for(let a=0;a<o;a++)r[this.pos++]^=e[s++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:n,pos:r,blockLen:i}=this;e[r]^=n,n&128&&r===i-1&&this.keccak(),e[i-1]^=128,this.keccak()}writeInto(e){ur(this,!1),Gt(e),this.finish();const n=this.state,{blockLen:r}=this;for(let i=0,s=e.length;i<s;){this.posOut>=r&&this.keccak();const o=Math.min(r-this.posOut,s-i);e.set(n.subarray(this.posOut,this.posOut+o),i),this.posOut+=o,i+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return On(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(ku(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,Ut(this.state)}_cloneInto(e){const{blockLen:n,suffix:r,outputLen:i,rounds:s,enableXOF:o}=this;return e||(e=new Mu(n,r,i,o,s)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=s,e.suffix=r,e.outputLen=i,e.enableXOF=o,e.destroyed=this.destroyed,e}}const w5=(t,e,n)=>bs(()=>new Mu(e,t,n)),m5=w5(1,136,256/8);function v5(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}function E5(t,e,n){return t&e^~t&n}function x5(t,e,n){return t&e^t&n^e&n}class og extends ta{constructor(e,n,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=qu(this.buffer)}update(e){ur(this),e=Wt(e),Gt(e);const{view:n,buffer:r,blockLen:i}=this,s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=qu(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){ur(this),ku(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,Ut(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(r,0),o=0);for(let f=o;f<i;f++)n[f]=0;v5(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=qu(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=c/4,l=this.get();if(u>l.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f<u;f++)a.setUint32(4*f,l[f],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=s,e.length=i,e.pos=a,i%n&&e.buffer.set(r),e}clone(){return this._cloneInto()}}const hr=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Je=Uint32Array.from([3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]),Qe=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),_5=Uint32Array.from([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]),dr=new Uint32Array(64);class S5 extends og{constructor(e=32){super(64,e,8,!1),this.A=hr[0]|0,this.B=hr[1]|0,this.C=hr[2]|0,this.D=hr[3]|0,this.E=hr[4]|0,this.F=hr[5]|0,this.G=hr[6]|0,this.H=hr[7]|0}get(){const{A:e,B:n,C:r,D:i,E:s,F:o,G:a,H:c}=this;return[e,n,r,i,s,o,a,c]}set(e,n,r,i,s,o,a,c){this.A=e|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=s|0,this.F=o|0,this.G=a|0,this.H=c|0}process(e,n){for(let f=0;f<16;f++,n+=4)dr[f]=e.getUint32(n,!1);for(let f=16;f<64;f++){const d=dr[f-15],h=dr[f-2],p=on(d,7)^on(d,18)^d>>>3,y=on(h,17)^on(h,19)^h>>>10;dr[f]=y+dr[f-7]+p+dr[f-16]|0}let{A:r,B:i,C:s,D:o,E:a,F:c,G:u,H:l}=this;for(let f=0;f<64;f++){const d=on(a,6)^on(a,11)^on(a,25),h=l+d+E5(a,c,u)+_5[f]+dr[f]|0,p=(on(r,2)^on(r,13)^on(r,22))+x5(r,i,s)|0;l=u,u=c,c=a,a=o+h|0,o=s,s=i,i=r,r=h+p|0}r=r+this.A|0,i=i+this.B|0,s=s+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,u=u+this.G|0,l=l+this.H|0,this.set(r,i,s,o,a,c,u,l)}roundClean(){Ut(dr)}destroy(){this.set(0,0,0,0,0,0,0,0),Ut(this.buffer)}}const ag=K0(["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(t=>BigInt(t))),I5=ag[0],A5=ag[1],pr=new Uint32Array(80),gr=new Uint32Array(80);class ju extends og{constructor(e=64){super(128,e,16,!1),this.Ah=Qe[0]|0,this.Al=Qe[1]|0,this.Bh=Qe[2]|0,this.Bl=Qe[3]|0,this.Ch=Qe[4]|0,this.Cl=Qe[5]|0,this.Dh=Qe[6]|0,this.Dl=Qe[7]|0,this.Eh=Qe[8]|0,this.El=Qe[9]|0,this.Fh=Qe[10]|0,this.Fl=Qe[11]|0,this.Gh=Qe[12]|0,this.Gl=Qe[13]|0,this.Hh=Qe[14]|0,this.Hl=Qe[15]|0}get(){const{Ah:e,Al:n,Bh:r,Bl:i,Ch:s,Cl:o,Dh:a,Dl:c,Eh:u,El:l,Fh:f,Fl:d,Gh:h,Gl:p,Hh:y,Hl:m}=this;return[e,n,r,i,s,o,a,c,u,l,f,d,h,p,y,m]}set(e,n,r,i,s,o,a,c,u,l,f,d,h,p,y,m){this.Ah=e|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=c|0,this.Eh=u|0,this.El=l|0,this.Fh=f|0,this.Fl=d|0,this.Gh=h|0,this.Gl=p|0,this.Hh=y|0,this.Hl=m|0}process(e,n){for(let _=0;_<16;_++,n+=4)pr[_]=e.getUint32(n),gr[_]=e.getUint32(n+=4);for(let _=16;_<80;_++){const x=pr[_-15]|0,P=gr[_-15]|0,R=ar(x,P,1)^ar(x,P,8)^G0(x,P,7),U=cr(x,P,1)^cr(x,P,8)^W0(x,P,7),F=pr[_-2]|0,D=gr[_-2]|0,j=ar(F,D,19)^ps(F,D,61)^G0(F,D,6),M=cr(F,D,19)^gs(F,D,61)^W0(F,D,6),E=r5(U,M,gr[_-7],gr[_-16]),b=i5(E,R,j,pr[_-7],pr[_-16]);pr[_]=b|0,gr[_]=E|0}let{Ah:r,Al:i,Bh:s,Bl:o,Ch:a,Cl:c,Dh:u,Dl:l,Eh:f,El:d,Fh:h,Fl:p,Gh:y,Gl:m,Hh:B,Hl:$}=this;for(let _=0;_<80;_++){const x=ar(f,d,14)^ar(f,d,18)^ps(f,d,41),P=cr(f,d,14)^cr(f,d,18)^gs(f,d,41),R=f&h^~f&y,U=d&p^~d&m,F=s5($,P,U,A5[_],gr[_]),D=o5(F,B,x,R,I5[_],pr[_]),j=F|0,M=ar(r,i,28)^ps(r,i,34)^ps(r,i,39),E=cr(r,i,28)^gs(r,i,34)^gs(r,i,39),b=r&s^r&a^s&a,v=i&o^i&c^o&c;B=y|0,$=m|0,y=h|0,m=p|0,h=f|0,p=d|0,{h:f,l:d}=Kt(u|0,l|0,D|0,j|0),u=a|0,l=c|0,a=s|0,c=o|0,s=r|0,o=i|0;const g=Fu(j,E,v);r=Lu(g,D,M,b),i=g|0}({h:r,l:i}=Kt(this.Ah|0,this.Al|0,r|0,i|0)),{h:s,l:o}=Kt(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l:c}=Kt(this.Ch|0,this.Cl|0,a|0,c|0),{h:u,l}=Kt(this.Dh|0,this.Dl|0,u|0,l|0),{h:f,l:d}=Kt(this.Eh|0,this.El|0,f|0,d|0),{h,l:p}=Kt(this.Fh|0,this.Fl|0,h|0,p|0),{h:y,l:m}=Kt(this.Gh|0,this.Gl|0,y|0,m|0),{h:B,l:$}=Kt(this.Hh|0,this.Hl|0,B|0,$|0),this.set(r,i,s,o,a,c,u,l,f,d,h,p,y,m,B,$)}roundClean(){Ut(pr,gr)}destroy(){Ut(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class B5 extends ju{constructor(){super(48),this.Ah=Je[0]|0,this.Al=Je[1]|0,this.Bh=Je[2]|0,this.Bl=Je[3]|0,this.Ch=Je[4]|0,this.Cl=Je[5]|0,this.Dh=Je[6]|0,this.Dl=Je[7]|0,this.Eh=Je[8]|0,this.El=Je[9]|0,this.Fh=Je[10]|0,this.Fl=Je[11]|0,this.Gh=Je[12]|0,this.Gl=Je[13]|0,this.Hh=Je[14]|0,this.Hl=Je[15]|0}}const et=Uint32Array.from([573645204,4230739756,2673172387,3360449730,596883563,1867755857,2520282905,1497426621,2519219938,2827943907,3193839141,1401305490,721525244,746961066,246885852,2177182882]);class O5 extends ju{constructor(){super(32),this.Ah=et[0]|0,this.Al=et[1]|0,this.Bh=et[2]|0,this.Bl=et[3]|0,this.Ch=et[4]|0,this.Cl=et[5]|0,this.Dh=et[6]|0,this.Dl=et[7]|0,this.Eh=et[8]|0,this.El=et[9]|0,this.Fh=et[10]|0,this.Fl=et[11]|0,this.Gh=et[12]|0,this.Gl=et[13]|0,this.Hh=et[14]|0,this.Hl=et[15]|0}}const na=bs(()=>new S5),D5=bs(()=>new ju),$5=bs(()=>new B5),P5=bs(()=>new O5),T5=Uint8Array.from([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]),$e=Uint32Array.from([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),Y=new Uint32Array(32);function yr(t,e,n,r,i,s){const o=i[s],a=i[s+1];let c=Y[2*t],u=Y[2*t+1],l=Y[2*e],f=Y[2*e+1],d=Y[2*n],h=Y[2*n+1],p=Y[2*r],y=Y[2*r+1],m=Fu(c,l,o);u=Lu(m,u,f,a),c=m|0,{Dh:y,Dl:p}={Dh:y^u,Dl:p^c},{Dh:y,Dl:p}={Dh:X_(y,p),Dl:J_(y)},{h,l:d}=Kt(h,d,y,p),{Bh:f,Bl:l}={Bh:f^h,Bl:l^d},{Bh:f,Bl:l}={Bh:ar(f,l,24),Bl:cr(f,l,24)},Y[2*t]=c,Y[2*t+1]=u,Y[2*e]=l,Y[2*e+1]=f,Y[2*n]=d,Y[2*n+1]=h,Y[2*r]=p,Y[2*r+1]=y}function br(t,e,n,r,i,s){const o=i[s],a=i[s+1];let c=Y[2*t],u=Y[2*t+1],l=Y[2*e],f=Y[2*e+1],d=Y[2*n],h=Y[2*n+1],p=Y[2*r],y=Y[2*r+1],m=Fu(c,l,o);u=Lu(m,u,f,a),c=m|0,{Dh:y,Dl:p}={Dh:y^u,Dl:p^c},{Dh:y,Dl:p}={Dh:ar(y,p,16),Dl:cr(y,p,16)},{h,l:d}=Kt(h,d,y,p),{Bh:f,Bl:l}={Bh:f^h,Bl:l^d},{Bh:f,Bl:l}={Bh:ps(f,l,63),Bl:gs(f,l,63)},Y[2*t]=c,Y[2*t+1]=u,Y[2*e]=l,Y[2*e+1]=f,Y[2*n]=d,Y[2*n+1]=h,Y[2*r]=p,Y[2*r+1]=y}function R5(t,e={},n,r,i){if(On(n),t<0||t>n)throw new Error("outputLen bigger than keyLen");const{key:s,salt:o,personalization:a}=e;if(s!==void 0&&(s.length<1||s.length>n))throw new Error("key length must be undefined or 1.."+n);if(o!==void 0&&o.length!==r)throw new Error("salt must be undefined or "+r);if(a!==void 0&&a.length!==i)throw new Error("personalization must be undefined or "+i)}class N5 extends ta{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,this.length=0,this.pos=0,On(e),On(n),this.blockLen=e,this.outputLen=n,this.buffer=new Uint8Array(e),this.buffer32=ys(this.buffer)}update(e){ur(this),e=Wt(e),Gt(e);const{blockLen:n,buffer:r,buffer32:i}=this,s=e.length,o=e.byteOffset,a=e.buffer;for(let c=0;c<s;){this.pos===n&&(lr(i),this.compress(i,0,!1),lr(i),this.pos=0);const u=Math.min(n-this.pos,s-c),l=o+c;if(u===n&&!(l%4)&&c+u<s){const f=new Uint32Array(a,l,Math.floor((s-c)/4));lr(f);for(let d=0;c+n<s;d+=i.length,c+=n)this.length+=n,this.compress(f,d,!1);lr(f);continue}r.set(e.subarray(c,c+u),this.pos),this.pos+=u,this.length+=u,c+=u}return this}digestInto(e){ur(this),ku(e,this);const{pos:n,buffer32:r}=this;this.finished=!0,Ut(this.buffer.subarray(n)),lr(r),this.compress(r,0,!0),lr(r);const i=ys(e);this.get().forEach((s,o)=>i[o]=Dn(s))}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){const{buffer:n,length:r,finished:i,destroyed:s,outputLen:o,pos:a}=this;return e||(e=new this.constructor({dkLen:o})),e.set(...this.get()),e.buffer.set(n),e.destroyed=s,e.finished=i,e.length=r,e.pos=a,e.outputLen=o,e}clone(){return this._cloneInto()}}class C5 extends N5{constructor(e={}){const n=e.dkLen===void 0?64:e.dkLen;super(128,n),this.v0l=$e[0]|0,this.v0h=$e[1]|0,this.v1l=$e[2]|0,this.v1h=$e[3]|0,this.v2l=$e[4]|0,this.v2h=$e[5]|0,this.v3l=$e[6]|0,this.v3h=$e[7]|0,this.v4l=$e[8]|0,this.v4h=$e[9]|0,this.v5l=$e[10]|0,this.v5h=$e[11]|0,this.v6l=$e[12]|0,this.v6h=$e[13]|0,this.v7l=$e[14]|0,this.v7h=$e[15]|0,R5(n,e,64,16,16);let{key:r,personalization:i,salt:s}=e,o=0;if(r!==void 0&&(r=Wt(r),o=r.length),this.v0l^=this.outputLen|o<<8|65536|1<<24,s!==void 0){s=Wt(s);const a=ys(s);this.v4l^=Dn(a[0]),this.v4h^=Dn(a[1]),this.v5l^=Dn(a[2]),this.v5h^=Dn(a[3])}if(i!==void 0){i=Wt(i);const a=ys(i);this.v6l^=Dn(a[0]),this.v6h^=Dn(a[1]),this.v7l^=Dn(a[2]),this.v7h^=Dn(a[3])}if(r!==void 0){const a=new Uint8Array(this.blockLen);a.set(r),this.update(a)}}get(){let{v0l:e,v0h:n,v1l:r,v1h:i,v2l:s,v2h:o,v3l:a,v3h:c,v4l:u,v4h:l,v5l:f,v5h:d,v6l:h,v6h:p,v7l:y,v7h:m}=this;return[e,n,r,i,s,o,a,c,u,l,f,d,h,p,y,m]}set(e,n,r,i,s,o,a,c,u,l,f,d,h,p,y,m){this.v0l=e|0,this.v0h=n|0,this.v1l=r|0,this.v1h=i|0,this.v2l=s|0,this.v2h=o|0,this.v3l=a|0,this.v3h=c|0,this.v4l=u|0,this.v4h=l|0,this.v5l=f|0,this.v5h=d|0,this.v6l=h|0,this.v6h=p|0,this.v7l=y|0,this.v7h=m|0}compress(e,n,r){this.get().forEach((c,u)=>Y[u]=c),Y.set($e,16);let{h:i,l:s}=V0(BigInt(this.length));Y[24]=$e[8]^s,Y[25]=$e[9]^i,r&&(Y[28]=~Y[28],Y[29]=~Y[29]);let o=0;const a=T5;for(let c=0;c<12;c++)yr(0,4,8,12,e,n+2*a[o++]),br(0,4,8,12,e,n+2*a[o++]),yr(1,5,9,13,e,n+2*a[o++]),br(1,5,9,13,e,n+2*a[o++]),yr(2,6,10,14,e,n+2*a[o++]),br(2,6,10,14,e,n+2*a[o++]),yr(3,7,11,15,e,n+2*a[o++]),br(3,7,11,15,e,n+2*a[o++]),yr(0,5,10,15,e,n+2*a[o++]),br(0,5,10,15,e,n+2*a[o++]),yr(1,6,11,12,e,n+2*a[o++]),br(1,6,11,12,e,n+2*a[o++]),yr(2,7,8,13,e,n+2*a[o++]),br(2,7,8,13,e,n+2*a[o++]),yr(3,4,9,14,e,n+2*a[o++]),br(3,4,9,14,e,n+2*a[o++]);this.v0l^=Y[0]^Y[16],this.v0h^=Y[1]^Y[17],this.v1l^=Y[2]^Y[18],this.v1h^=Y[3]^Y[19],this.v2l^=Y[4]^Y[20],this.v2h^=Y[5]^Y[21],this.v3l^=Y[6]^Y[22],this.v3h^=Y[7]^Y[23],this.v4l^=Y[8]^Y[24],this.v4h^=Y[9]^Y[25],this.v5l^=Y[10]^Y[26],this.v5h^=Y[11]^Y[27],this.v6l^=Y[12]^Y[28],this.v6h^=Y[13]^Y[29],this.v7l^=Y[14]^Y[30],this.v7h^=Y[15]^Y[31],Ut(Y)}destroy(){this.destroyed=!0,Ut(this.buffer32),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const U5=u5(t=>new C5(t)),F5="https://rpc.walletconnect.org/v1";function cg(t){const e=`Ethereum Signed Message:
19
- ${t.length}`,n=new TextEncoder().encode(e+t);return"0x"+Buffer.from(m5(n)).toString("hex")}async function L5(t,e,n,r,i,s){switch(n.t){case"eip191":return await k5(t,e,n.s);case"eip1271":return await q5(t,e,n.s,r,i,s);default:throw new Error(`verifySignature failed: Attempted to verify CacaoSignature with unknown type: ${n.t}`)}}function k5(t,e,n){const r=L8(n);return Wx({payload:cg(e),signature:r}).toLowerCase()===t.toLowerCase()}async function q5(t,e,n,r,i,s){const o=Zo(r);if(!o.namespace||!o.reference)throw new Error(`isValidEip1271Signature failed: chainId must be in CAIP-2 format, received: ${r}`);try{const a="0x1626ba7e",c="0000000000000000000000000000000000000000000000000000000000000040",u=n.substring(2),l=(u.length/2).toString(16).padStart(64,"0"),f=(e.startsWith("0x")?e:cg(e)).substring(2),d=a+f+c+l+u,h=await fetch(`${s||F5}/?chainId=${r}&projectId=${i}`,{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify({id:M5(),jsonrpc:"2.0",method:"eth_call",params:[{to:t,data:d},"latest"]})}),{result:p}=await h.json();return p?p.slice(0,a.length).toLowerCase()===a.toLowerCase():!1}catch(a){return console.error("isValidEip1271Signature: ",a),!1}}function M5(){return Date.now()+Math.floor(Math.random()*1e3)}function j5(t){const e=atob(t),n=new Uint8Array(e.length);for(let o=0;o<e.length;o++)n[o]=e.charCodeAt(o);const r=n[0];if(r===0)throw new Error("No signatures found");const i=1+r*64;if(n.length<i)throw new Error("Transaction data too short for claimed signature count");if(n.length<100)throw new Error("Transaction too short");const s=Buffer.from(t,"base64").slice(1,65);return is.encode(s)}function z5(t){const e=new Uint8Array(Buffer.from(t,"base64")),n=Array.from("TransactionData::").map(s=>s.charCodeAt(0)),r=new Uint8Array(n.length+e.length);r.set(n),r.set(e,n.length);const i=U5(r,{dkLen:32});return is.encode(i)}function ug(t){const e=new Uint8Array(na(H5(t)));return is.encode(e)}function H5(t){if(t instanceof Uint8Array)return t;if(Array.isArray(t))return new Uint8Array(t);if(typeof t=="object"&&t!=null&&t.data)return new Uint8Array(Object.values(t.data));if(typeof t=="object"&&t)return new Uint8Array(Object.values(t));throw new Error("getNearUint8ArrayFromBytes: Unexpected result type from bytes array")}function lg(t){const e=Buffer.from(t,"base64"),n=V6(e).txn;if(!n)throw new Error("Invalid signed transaction: missing 'txn' field");const r=F6(n),i=Buffer.from("TX"),s=Buffer.concat([i,Buffer.from(r)]),o=P5(s);return zx.encode(o).replace(/=+$/,"")}function zu(t){const e=[];let n=BigInt(t);for(;n>=BigInt(128);)e.push(Number(n&BigInt(127)|BigInt(128))),n>>=BigInt(7);return e.push(Number(n)),Buffer.from(e)}function V5(t){const e=Buffer.from(t.signed.bodyBytes,"base64"),n=Buffer.from(t.signed.authInfoBytes,"base64"),r=Buffer.from(t.signature.signature,"base64"),i=[];i.push(Buffer.from([10])),i.push(zu(e.length)),i.push(e),i.push(Buffer.from([18])),i.push(zu(n.length)),i.push(n),i.push(Buffer.from([26])),i.push(zu(r.length)),i.push(r);const s=Buffer.concat(i),o=na(s);return Buffer.from(o).toString("hex").toUpperCase()}function K5(t){var e,n;const r=[];try{if(typeof t=="string")return r.push(t),r;if(typeof t!="object")return r;t!=null&&t.id&&r.push(t.id);const i=(n=(e=t?.capabilities)==null?void 0:e.caip345)==null?void 0:n.transactionHashes;i&&r.push(...i)}catch(i){console.warn("getWalletSendCallsHashes failed: ",i)}return r}var G5=Object.defineProperty,W5=Object.defineProperties,Z5=Object.getOwnPropertyDescriptors,fg=Object.getOwnPropertySymbols,Y5=Object.prototype.hasOwnProperty,X5=Object.prototype.propertyIsEnumerable,hg=(t,e,n)=>e in t?G5(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,J5=(t,e)=>{for(var n in e||(e={}))Y5.call(e,n)&&hg(t,n,e[n]);if(fg)for(var n of fg(e))X5.call(e,n)&&hg(t,n,e[n]);return t},Q5=(t,e)=>W5(t,Z5(e));const dg="did:pkh:",eS={eip155:"Ethereum",solana:"Solana",bip122:"Bitcoin"},tS=t=>t?eS[t]||t:"",ra=t=>t?.split(":"),nS=t=>{const e=t&&ra(t);if(e)return t.includes(dg)?e[3]:e[1]},rS=t=>{const e=t&&ra(t);if(e)return t.includes(dg)?e[2]:e[0]},Hu=t=>{const e=t&&ra(t);if(e)return e[2]+":"+e[3]},ia=t=>{const e=t&&ra(t);if(e)return e.pop()};async function pg(t){const{cacao:e,projectId:n}=t,{s:r,p:i}=e,s=gg(i,i.iss),o=ia(i.iss);return await L5(o,s,r,Hu(i.iss),n)}const gg=(t,e)=>{const n=rS(e);if(!n)throw new Error("Invalid issuer: "+e);const r=`${t.domain} wants you to sign in with your ${tS(n)} account:`,i=ia(e);if(!t.aud&&!t.uri)throw new Error("Either `aud` or `uri` is required to construct the message");let s=t.statement||void 0;const o=`URI: ${t.aud||t.uri}`,a=`Version: ${t.version}`,c=`Chain ID: ${nS(e)}`,u=`Nonce: ${t.nonce}`,l=`Issued At: ${t.iat}`,f=t.exp?`Expiration Time: ${t.exp}`:void 0,d=t.nbf?`Not Before: ${t.nbf}`:void 0,h=t.requestId?`Request ID: ${t.requestId}`:void 0,p=t.resources?`Resources:${t.resources.map(m=>`
20
- - ${m}`).join("")}`:void 0,y=sa(t.resources);if(y){const m=ms(y);s=hS(s,m)}return[r,i,"",s,"",o,a,c,u,l,f,d,h,p].filter(m=>m!=null).join(`
21
- `)};function iS(t){return Buffer.from(JSON.stringify(t)).toString("base64")}function sS(t){return JSON.parse(Buffer.from(t,"base64").toString("utf-8"))}function Vr(t){if(!t)throw new Error("No recap provided, value is undefined");if(!t.att)throw new Error("No `att` property found");const e=Object.keys(t.att);if(!(e!=null&&e.length))throw new Error("No resources found in `att` property");e.forEach(n=>{const r=t.att[n];if(Array.isArray(r))throw new Error(`Resource must be an object: ${n}`);if(typeof r!="object")throw new Error(`Resource must be an object: ${n}`);if(!Object.keys(r).length)throw new Error(`Resource object is empty: ${n}`);Object.keys(r).forEach(i=>{const s=r[i];if(!Array.isArray(s))throw new Error(`Ability limits ${i} must be an array of objects, found: ${s}`);if(!s.length)throw new Error(`Value of ${i} is empty array, must be an array with objects`);s.forEach(o=>{if(typeof o!="object")throw new Error(`Ability limits (${i}) must be an array of objects, found: ${o}`)})})})}function oS(t,e,n,r={}){return n?.sort((i,s)=>i.localeCompare(s)),{att:{[t]:aS(e,n,r)}}}function aS(t,e,n={}){e=e?.sort((i,s)=>i.localeCompare(s));const r=e.map(i=>({[`${t}/${i}`]:[n]}));return Object.assign({},...r)}function yg(t){return Vr(t),`urn:recap:${iS(t).replace(/=/g,"")}`}function ms(t){const e=sS(t.replace("urn:recap:",""));return Vr(e),e}function cS(t,e,n){const r=oS(t,e,n);return yg(r)}function uS(t){return t&&t.includes("urn:recap:")}function lS(t,e){const n=ms(t),r=ms(e),i=fS(n,r);return yg(i)}function fS(t,e){Vr(t),Vr(e);const n=Object.keys(t.att).concat(Object.keys(e.att)).sort((i,s)=>i.localeCompare(s)),r={att:{}};return n.forEach(i=>{var s,o;Object.keys(((s=t.att)==null?void 0:s[i])||{}).concat(Object.keys(((o=e.att)==null?void 0:o[i])||{})).sort((a,c)=>a.localeCompare(c)).forEach(a=>{var c,u;r.att[i]=Q5(J5({},r.att[i]),{[a]:((c=t.att[i])==null?void 0:c[a])||((u=e.att[i])==null?void 0:u[a])})})}),r}function hS(t="",e){Vr(e);const n="I further authorize the stated URI to perform the following actions on my behalf: ";if(t.includes(n))return t;const r=[];let i=0;Object.keys(e.att).forEach(a=>{const c=Object.keys(e.att[a]).map(f=>({ability:f.split("/")[0],action:f.split("/")[1]}));c.sort((f,d)=>f.action.localeCompare(d.action));const u={};c.forEach(f=>{u[f.ability]||(u[f.ability]=[]),u[f.ability].push(f.action)});const l=Object.keys(u).map(f=>(i++,`(${i}) '${f}': '${u[f].join("', '")}' for '${a}'.`));r.push(l.join(", ").replace(".,","."))});const s=r.join(" "),o=`${n}${s}`;return`${t?t+" ":""}${o}`}function bg(t){var e;const n=ms(t);Vr(n);const r=(e=n.att)==null?void 0:e.eip155;return r?Object.keys(r).map(i=>i.split("/")[1]):[]}function wg(t){const e=ms(t);Vr(e);const n=[];return Object.values(e.att).forEach(r=>{Object.values(r).forEach(i=>{var s;(s=i?.[0])!=null&&s.chains&&n.push(i[0].chains)})}),[...new Set(n.flat())]}function sa(t){if(!t)return;const e=t?.[t.length-1];return uS(e)?e:void 0}/*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) */function mg(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Vu(t){if(typeof t!="boolean")throw new Error(`boolean expected, not ${t}`)}function Ku(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function wt(t,...e){if(!mg(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function vg(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function dS(t,e){wt(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function wr(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function Si(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function pS(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}const gS=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function yS(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function Gu(t){if(typeof t=="string")t=yS(t);else if(mg(t))t=Wu(t);else throw new Error("Uint8Array expected, got "+typeof t);return t}function bS(t,e){if(e==null||typeof e!="object")throw new Error("options must be defined");return Object.assign(t,e)}function wS(t,e){if(t.length!==e.length)return!1;let n=0;for(let r=0;r<t.length;r++)n|=t[r]^e[r];return n===0}const mS=(t,e)=>{function n(r,...i){if(wt(r),!gS)throw new Error("Non little-endian hardware is not yet supported");if(t.nonceLength!==void 0){const u=i[0];if(!u)throw new Error("nonce / iv required");t.varSizeNonce?wt(u):wt(u,t.nonceLength)}const s=t.tagLength;s&&i[1]!==void 0&&wt(i[1]);const o=e(r,...i),a=(u,l)=>{if(l!==void 0){if(u!==2)throw new Error("cipher output not supported");wt(l)}};let c=!1;return{encrypt(u,l){if(c)throw new Error("cannot encrypt() twice with same key + nonce");return c=!0,wt(u),a(o.encrypt.length,l),o.encrypt(u,l)},decrypt(u,l){if(wt(u),s&&u.length<s)throw new Error("invalid ciphertext length: smaller than tagLength="+s);return a(o.decrypt.length,l),o.decrypt(u,l)}}}return Object.assign(n,t),n};function Eg(t,e,n=!0){if(e===void 0)return new Uint8Array(t);if(e.length!==t)throw new Error("invalid output length, expected "+t+", got: "+e.length);if(n&&!ES(e))throw new Error("invalid output, must be aligned");return e}function xg(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}function vS(t,e,n){Vu(n);const r=new Uint8Array(16),i=pS(r);return xg(i,0,BigInt(e),n),xg(i,8,BigInt(t),n),r}function ES(t){return t.byteOffset%4===0}function Wu(t){return Uint8Array.from(t)}const _g=t=>Uint8Array.from(t.split("").map(e=>e.charCodeAt(0))),xS=_g("expand 16-byte k"),_S=_g("expand 32-byte k"),SS=wr(xS),IS=wr(_S);function ce(t,e){return t<<e|t>>>32-e}function Zu(t){return t.byteOffset%4===0}const oa=64,AS=16,Sg=2**32-1,Ig=new Uint32Array;function BS(t,e,n,r,i,s,o,a){const c=i.length,u=new Uint8Array(oa),l=wr(u),f=Zu(i)&&Zu(s),d=f?wr(i):Ig,h=f?wr(s):Ig;for(let p=0;p<c;o++){if(t(e,n,r,l,o,a),o>=Sg)throw new Error("arx: counter overflow");const y=Math.min(oa,c-p);if(f&&y===oa){const m=p/4;if(p%4!==0)throw new Error("arx: invalid block position");for(let B=0,$;B<AS;B++)$=m+B,h[$]=d[$]^l[B];p+=oa;continue}for(let m=0,B;m<y;m++)B=p+m,s[B]=i[B]^u[m];p+=y}}function OS(t,e){const{allowShortKeys:n,extendNonceFn:r,counterLength:i,counterRight:s,rounds:o}=bS({allowShortKeys:!1,counterLength:8,counterRight:!1,rounds:20},e);if(typeof t!="function")throw new Error("core must be a function");return Ku(i),Ku(o),Vu(s),Vu(n),(a,c,u,l,f=0)=>{wt(a),wt(c),wt(u);const d=u.length;if(l===void 0&&(l=new Uint8Array(d)),wt(l),Ku(f),f<0||f>=Sg)throw new Error("arx: counter overflow");if(l.length<d)throw new Error(`arx: output (${l.length}) is shorter than data (${d})`);const h=[];let p=a.length,y,m;if(p===32)h.push(y=Wu(a)),m=IS;else if(p===16&&n)y=new Uint8Array(32),y.set(a),y.set(a,16),m=SS,h.push(y);else throw new Error(`arx: invalid 32-byte key, got length=${p}`);Zu(c)||h.push(c=Wu(c));const B=wr(y);if(r){if(c.length!==24)throw new Error("arx: extended nonce must be 24 bytes");r(m,B,wr(c.subarray(0,16)),B),c=c.subarray(16)}const $=16-i;if($!==c.length)throw new Error(`arx: nonce must be ${$} or 16 bytes`);if($!==12){const x=new Uint8Array(12);x.set(c,s?0:12-c.length),c=x,h.push(c)}const _=wr(c);return BS(t,m,B,_,u,l,f,o),Si(...h),l}}const qe=(t,e)=>t[e++]&255|(t[e++]&255)<<8;class DS{constructor(e){this.blockLen=16,this.outputLen=16,this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.pos=0,this.finished=!1,e=Gu(e),wt(e,32);const n=qe(e,0),r=qe(e,2),i=qe(e,4),s=qe(e,6),o=qe(e,8),a=qe(e,10),c=qe(e,12),u=qe(e,14);this.r[0]=n&8191,this.r[1]=(n>>>13|r<<3)&8191,this.r[2]=(r>>>10|i<<6)&7939,this.r[3]=(i>>>7|s<<9)&8191,this.r[4]=(s>>>4|o<<12)&255,this.r[5]=o>>>1&8190,this.r[6]=(o>>>14|a<<2)&8191,this.r[7]=(a>>>11|c<<5)&8065,this.r[8]=(c>>>8|u<<8)&8191,this.r[9]=u>>>5&127;for(let l=0;l<8;l++)this.pad[l]=qe(e,16+2*l)}process(e,n,r=!1){const i=r?0:2048,{h:s,r:o}=this,a=o[0],c=o[1],u=o[2],l=o[3],f=o[4],d=o[5],h=o[6],p=o[7],y=o[8],m=o[9],B=qe(e,n+0),$=qe(e,n+2),_=qe(e,n+4),x=qe(e,n+6),P=qe(e,n+8),R=qe(e,n+10),U=qe(e,n+12),F=qe(e,n+14);let D=s[0]+(B&8191),j=s[1]+((B>>>13|$<<3)&8191),M=s[2]+(($>>>10|_<<6)&8191),E=s[3]+((_>>>7|x<<9)&8191),b=s[4]+((x>>>4|P<<12)&8191),v=s[5]+(P>>>1&8191),g=s[6]+((P>>>14|R<<2)&8191),w=s[7]+((R>>>11|U<<5)&8191),S=s[8]+((U>>>8|F<<8)&8191),A=s[9]+(F>>>5|i),I=0,O=I+D*a+j*(5*m)+M*(5*y)+E*(5*p)+b*(5*h);I=O>>>13,O&=8191,O+=v*(5*d)+g*(5*f)+w*(5*l)+S*(5*u)+A*(5*c),I+=O>>>13,O&=8191;let T=I+D*c+j*a+M*(5*m)+E*(5*y)+b*(5*p);I=T>>>13,T&=8191,T+=v*(5*h)+g*(5*d)+w*(5*f)+S*(5*l)+A*(5*u),I+=T>>>13,T&=8191;let L=I+D*u+j*c+M*a+E*(5*m)+b*(5*y);I=L>>>13,L&=8191,L+=v*(5*p)+g*(5*h)+w*(5*d)+S*(5*f)+A*(5*l),I+=L>>>13,L&=8191;let C=I+D*l+j*u+M*c+E*a+b*(5*m);I=C>>>13,C&=8191,C+=v*(5*y)+g*(5*p)+w*(5*h)+S*(5*d)+A*(5*f),I+=C>>>13,C&=8191;let k=I+D*f+j*l+M*u+E*c+b*a;I=k>>>13,k&=8191,k+=v*(5*m)+g*(5*y)+w*(5*p)+S*(5*h)+A*(5*d),I+=k>>>13,k&=8191;let N=I+D*d+j*f+M*l+E*u+b*c;I=N>>>13,N&=8191,N+=v*a+g*(5*m)+w*(5*y)+S*(5*p)+A*(5*h),I+=N>>>13,N&=8191;let q=I+D*h+j*d+M*f+E*l+b*u;I=q>>>13,q&=8191,q+=v*c+g*a+w*(5*m)+S*(5*y)+A*(5*p),I+=q>>>13,q&=8191;let z=I+D*p+j*h+M*d+E*f+b*l;I=z>>>13,z&=8191,z+=v*u+g*c+w*a+S*(5*m)+A*(5*y),I+=z>>>13,z&=8191;let W=I+D*y+j*p+M*h+E*d+b*f;I=W>>>13,W&=8191,W+=v*l+g*u+w*c+S*a+A*(5*m),I+=W>>>13,W&=8191;let V=I+D*m+j*y+M*p+E*h+b*d;I=V>>>13,V&=8191,V+=v*f+g*l+w*u+S*c+A*a,I+=V>>>13,V&=8191,I=(I<<2)+I|0,I=I+O|0,O=I&8191,I=I>>>13,T+=I,s[0]=O,s[1]=T,s[2]=L,s[3]=C,s[4]=k,s[5]=N,s[6]=q,s[7]=z,s[8]=W,s[9]=V}finalize(){const{h:e,pad:n}=this,r=new Uint16Array(10);let i=e[1]>>>13;e[1]&=8191;for(let a=2;a<10;a++)e[a]+=i,i=e[a]>>>13,e[a]&=8191;e[0]+=i*5,i=e[0]>>>13,e[0]&=8191,e[1]+=i,i=e[1]>>>13,e[1]&=8191,e[2]+=i,r[0]=e[0]+5,i=r[0]>>>13,r[0]&=8191;for(let a=1;a<10;a++)r[a]=e[a]+i,i=r[a]>>>13,r[a]&=8191;r[9]-=8192;let s=(i^1)-1;for(let a=0;a<10;a++)r[a]&=s;s=~s;for(let a=0;a<10;a++)e[a]=e[a]&s|r[a];e[0]=(e[0]|e[1]<<13)&65535,e[1]=(e[1]>>>3|e[2]<<10)&65535,e[2]=(e[2]>>>6|e[3]<<7)&65535,e[3]=(e[3]>>>9|e[4]<<4)&65535,e[4]=(e[4]>>>12|e[5]<<1|e[6]<<14)&65535,e[5]=(e[6]>>>2|e[7]<<11)&65535,e[6]=(e[7]>>>5|e[8]<<8)&65535,e[7]=(e[8]>>>8|e[9]<<5)&65535;let o=e[0]+n[0];e[0]=o&65535;for(let a=1;a<8;a++)o=(e[a]+n[a]|0)+(o>>>16)|0,e[a]=o&65535;Si(r)}update(e){vg(this),e=Gu(e),wt(e);const{buffer:n,blockLen:r}=this,i=e.length;for(let s=0;s<i;){const o=Math.min(r-this.pos,i-s);if(o===r){for(;r<=i-s;s+=r)this.process(e,s);continue}n.set(e.subarray(s,s+o),this.pos),this.pos+=o,s+=o,this.pos===r&&(this.process(n,0,!1),this.pos=0)}return this}destroy(){Si(this.h,this.r,this.buffer,this.pad)}digestInto(e){vg(this),dS(e,this),this.finished=!0;const{buffer:n,h:r}=this;let{pos:i}=this;if(i){for(n[i++]=1;i<16;i++)n[i]=0;this.process(n,0,!0)}this.finalize();let s=0;for(let o=0;o<8;o++)e[s++]=r[o]>>>0,e[s++]=r[o]>>>8;return e}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}}function $S(t){const e=(r,i)=>t(i).update(Gu(r)).digest(),n=t(new Uint8Array(32));return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=r=>t(r),e}const PS=$S(t=>new DS(t));function TS(t,e,n,r,i,s=20){let o=t[0],a=t[1],c=t[2],u=t[3],l=e[0],f=e[1],d=e[2],h=e[3],p=e[4],y=e[5],m=e[6],B=e[7],$=i,_=n[0],x=n[1],P=n[2],R=o,U=a,F=c,D=u,j=l,M=f,E=d,b=h,v=p,g=y,w=m,S=B,A=$,I=_,O=x,T=P;for(let C=0;C<s;C+=2)R=R+j|0,A=ce(A^R,16),v=v+A|0,j=ce(j^v,12),R=R+j|0,A=ce(A^R,8),v=v+A|0,j=ce(j^v,7),U=U+M|0,I=ce(I^U,16),g=g+I|0,M=ce(M^g,12),U=U+M|0,I=ce(I^U,8),g=g+I|0,M=ce(M^g,7),F=F+E|0,O=ce(O^F,16),w=w+O|0,E=ce(E^w,12),F=F+E|0,O=ce(O^F,8),w=w+O|0,E=ce(E^w,7),D=D+b|0,T=ce(T^D,16),S=S+T|0,b=ce(b^S,12),D=D+b|0,T=ce(T^D,8),S=S+T|0,b=ce(b^S,7),R=R+M|0,T=ce(T^R,16),w=w+T|0,M=ce(M^w,12),R=R+M|0,T=ce(T^R,8),w=w+T|0,M=ce(M^w,7),U=U+E|0,A=ce(A^U,16),S=S+A|0,E=ce(E^S,12),U=U+E|0,A=ce(A^U,8),S=S+A|0,E=ce(E^S,7),F=F+b|0,I=ce(I^F,16),v=v+I|0,b=ce(b^v,12),F=F+b|0,I=ce(I^F,8),v=v+I|0,b=ce(b^v,7),D=D+j|0,O=ce(O^D,16),g=g+O|0,j=ce(j^g,12),D=D+j|0,O=ce(O^D,8),g=g+O|0,j=ce(j^g,7);let L=0;r[L++]=o+R|0,r[L++]=a+U|0,r[L++]=c+F|0,r[L++]=u+D|0,r[L++]=l+j|0,r[L++]=f+M|0,r[L++]=d+E|0,r[L++]=h+b|0,r[L++]=p+v|0,r[L++]=y+g|0,r[L++]=m+w|0,r[L++]=B+S|0,r[L++]=$+A|0,r[L++]=_+I|0,r[L++]=x+O|0,r[L++]=P+T|0}const RS=OS(TS,{counterRight:!1,counterLength:4,allowShortKeys:!1}),NS=new Uint8Array(16),Ag=(t,e)=>{t.update(e);const n=e.length%16;n&&t.update(NS.subarray(n))},CS=new Uint8Array(32);function Bg(t,e,n,r,i){const s=t(e,n,CS),o=PS.create(s);i&&Ag(o,i),Ag(o,r);const a=vS(r.length,i?i.length:0,!0);o.update(a);const c=o.digest();return Si(s,a),c}const US=t=>(e,n,r)=>({encrypt(i,s){const o=i.length;s=Eg(o+16,s,!1),s.set(i);const a=s.subarray(0,-16);t(e,n,a,a,1);const c=Bg(t,e,n,a,r);return s.set(c,o),Si(c),s},decrypt(i,s){s=Eg(i.length-16,s,!1);const o=i.subarray(0,-16),a=i.subarray(-16),c=Bg(t,e,n,o,r);if(!wS(a,c))throw new Error("invalid tag");return s.set(i.subarray(0,-16)),t(e,n,s,s,1),Si(c),s}}),Og=mS({blockSize:64,nonceLength:12,tagLength:16},US(RS));class Dg extends ta{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,Qo(e);const r=Wt(n);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;const i=this.blockLen,s=new Uint8Array(i);s.set(r.length>i?e.create().update(r).digest():r);for(let o=0;o<s.length;o++)s[o]^=54;this.iHash.update(s),this.oHash=e.create();for(let o=0;o<s.length;o++)s[o]^=106;this.oHash.update(s),Ut(s)}update(e){return ur(this),this.iHash.update(e),this}digestInto(e){ur(this),Gt(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:r,finished:i,destroyed:s,blockLen:o,outputLen:a}=this;return e=e,e.finished=i,e.destroyed=s,e.blockLen=o,e.outputLen=a,e.oHash=n._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const aa=(t,e,n)=>new Dg(t,e).update(n).digest();aa.create=(t,e)=>new Dg(t,e);function FS(t,e,n){return Qo(t),n===void 0&&(n=new Uint8Array(t.outputLen)),aa(t,Wt(n),Wt(e))}const Yu=Uint8Array.from([0]),$g=Uint8Array.of();function LS(t,e,n,r=32){Qo(t),On(r);const i=t.outputLen;if(r>255*i)throw new Error("Length should be <= 255*HashLen");const s=Math.ceil(r/i);n===void 0&&(n=$g);const o=new Uint8Array(s*i),a=aa.create(t,e),c=a._cloneInto(),u=new Uint8Array(a.outputLen);for(let l=0;l<s;l++)Yu[0]=l+1,c.update(l===0?$g:u).update(n).update(Yu).digestInto(u),o.set(u,i*l),a._cloneInto(c);return a.destroy(),c.destroy(),Ut(u,Yu),o.slice(0,r)}const kS=(t,e,n,r,i)=>LS(t,FS(t,e,n),r,i),ca=na,Xu=BigInt(0),Ju=BigInt(1);function ua(t,e=""){if(typeof t!="boolean"){const n=e&&`"${e}"`;throw new Error(n+"expected boolean, got type="+typeof t)}return t}function Kr(t,e,n=""){const r=Jo(t),i=t?.length,s=e!==void 0;if(!r||s&&i!==e){const o=n&&`"${n}" `,a=s?` of length ${e}`:"",c=r?`length=${i}`:`type=${typeof t}`;throw new Error(o+"expected Uint8Array"+a+", got "+c)}return t}function la(t){const e=t.toString(16);return e.length&1?"0"+e:e}function Pg(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?Xu:BigInt("0x"+t)}function fa(t){return Pg(_i(t))}function ha(t){return Gt(t),Pg(_i(Uint8Array.from(t).reverse()))}function Qu(t,e){return ea(t.toString(16).padStart(e*2,"0"))}function el(t,e){return Qu(t,e).reverse()}function tt(t,e,n){let r;if(typeof e=="string")try{r=ea(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(Jo(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}const tl=t=>typeof t=="bigint"&&Xu<=t;function qS(t,e,n){return tl(t)&&tl(e)&&tl(n)&&e<=t&&t<n}function nl(t,e,n,r){if(!qS(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function Tg(t){let e;for(e=0;t>Xu;t>>=Ju,e+=1);return e}const vs=t=>(Ju<<BigInt(t))-Ju;function MS(t,e,n){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");const r=d=>new Uint8Array(d),i=d=>Uint8Array.of(d);let s=r(t),o=r(t),a=0;const c=()=>{s.fill(1),o.fill(0),a=0},u=(...d)=>n(o,s,...d),l=(d=r(0))=>{o=u(i(0),d),s=u(),d.length!==0&&(o=u(i(1),d),s=u())},f=()=>{if(a++>=1e3)throw new Error("drbg: tried 1000 values");let d=0;const h=[];for(;d<e;){s=u();const p=s.slice();h.push(p),d+=s.length}return fr(...h)};return(d,h)=>{c(),l(d);let p;for(;!(p=h(f()));)l();return c(),p}}function da(t,e,n={}){if(!t||typeof t!="object")throw new Error("expected valid options object");function r(i,s,o){const a=t[i];if(o&&a===void 0)return;const c=typeof a;if(c!==s||a===null)throw new Error(`param "${i}" is invalid: expected ${s}, got ${c}`)}Object.entries(e).forEach(([i,s])=>r(i,s,!1)),Object.entries(n).forEach(([i,s])=>r(i,s,!0))}function Rg(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}const mt=BigInt(0),ct=BigInt(1),Gr=BigInt(2),Ng=BigInt(3),Cg=BigInt(4),Ug=BigInt(5),jS=BigInt(7),Fg=BigInt(8),zS=BigInt(9),Lg=BigInt(16);function Ot(t,e){const n=t%e;return n>=mt?n:e+n}function Zt(t,e,n){let r=t;for(;e-- >mt;)r*=r,r%=n;return r}function kg(t,e){if(t===mt)throw new Error("invert: expected non-zero number");if(e<=mt)throw new Error("invert: expected positive modulus, got "+e);let n=Ot(t,e),r=e,i=mt,s=ct;for(;n!==mt;){const o=r/n,a=r%n,c=i-s*o;r=n,n=a,i=s,s=c}if(r!==ct)throw new Error("invert: does not exist");return Ot(i,e)}function rl(t,e,n){if(!t.eql(t.sqr(e),n))throw new Error("Cannot find square root")}function qg(t,e){const n=(t.ORDER+ct)/Cg,r=t.pow(e,n);return rl(t,r,e),r}function HS(t,e){const n=(t.ORDER-Ug)/Fg,r=t.mul(e,Gr),i=t.pow(r,n),s=t.mul(e,i),o=t.mul(t.mul(s,Gr),i),a=t.mul(s,t.sub(o,t.ONE));return rl(t,a,e),a}function VS(t){const e=mr(t),n=Mg(t),r=n(e,e.neg(e.ONE)),i=n(e,r),s=n(e,e.neg(r)),o=(t+jS)/Lg;return(a,c)=>{let u=a.pow(c,o),l=a.mul(u,r);const f=a.mul(u,i),d=a.mul(u,s),h=a.eql(a.sqr(l),c),p=a.eql(a.sqr(f),c);u=a.cmov(u,l,h),l=a.cmov(d,f,p);const y=a.eql(a.sqr(l),c),m=a.cmov(u,l,y);return rl(a,m,c),m}}function Mg(t){if(t<Ng)throw new Error("sqrt is not defined for small field");let e=t-ct,n=0;for(;e%Gr===mt;)e/=Gr,n++;let r=Gr;const i=mr(t);for(;zg(i,r)===1;)if(r++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return qg;let s=i.pow(r,e);const o=(e+ct)/Gr;return function(a,c){if(a.is0(c))return c;if(zg(a,c)!==1)throw new Error("Cannot find square root");let u=n,l=a.mul(a.ONE,s),f=a.pow(c,e),d=a.pow(c,o);for(;!a.eql(f,a.ONE);){if(a.is0(f))return a.ZERO;let h=1,p=a.sqr(f);for(;!a.eql(p,a.ONE);)if(h++,p=a.sqr(p),h===u)throw new Error("Cannot find square root");const y=ct<<BigInt(u-h-1),m=a.pow(l,y);u=h,l=a.sqr(m),f=a.mul(f,l),d=a.mul(d,m)}return d}}function KS(t){return t%Cg===Ng?qg:t%Fg===Ug?HS:t%Lg===zS?VS(t):Mg(t)}const GS=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function WS(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},n=GS.reduce((r,i)=>(r[i]="function",r),e);return da(t,n),t}function ZS(t,e,n){if(n<mt)throw new Error("invalid exponent, negatives unsupported");if(n===mt)return t.ONE;if(n===ct)return e;let r=t.ONE,i=e;for(;n>mt;)n&ct&&(r=t.mul(r,i)),i=t.sqr(i),n>>=ct;return r}function jg(t,e,n=!1){const r=new Array(e.length).fill(n?t.ZERO:void 0),i=e.reduce((o,a,c)=>t.is0(a)?o:(r[c]=o,t.mul(o,a)),t.ONE),s=t.inv(i);return e.reduceRight((o,a,c)=>t.is0(a)?o:(r[c]=t.mul(o,r[c]),t.mul(o,a)),s),r}function zg(t,e){const n=(t.ORDER-ct)/Gr,r=t.pow(e,n),i=t.eql(r,t.ONE),s=t.eql(r,t.ZERO),o=t.eql(r,t.neg(t.ONE));if(!i&&!s&&!o)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function Hg(t,e){e!==void 0&&On(e);const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function mr(t,e,n=!1,r={}){if(t<=mt)throw new Error("invalid field: expected ORDER > 0, got "+t);let i,s,o=!1,a;if(typeof e=="object"&&e!=null){if(r.sqrt||n)throw new Error("cannot specify opts in two arguments");const d=e;d.BITS&&(i=d.BITS),d.sqrt&&(s=d.sqrt),typeof d.isLE=="boolean"&&(n=d.isLE),typeof d.modFromBytes=="boolean"&&(o=d.modFromBytes),a=d.allowedLengths}else typeof e=="number"&&(i=e),r.sqrt&&(s=r.sqrt);const{nBitLength:c,nByteLength:u}=Hg(t,i);if(u>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let l;const f=Object.freeze({ORDER:t,isLE:n,BITS:c,BYTES:u,MASK:vs(c),ZERO:mt,ONE:ct,allowedLengths:a,create:d=>Ot(d,t),isValid:d=>{if(typeof d!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof d);return mt<=d&&d<t},is0:d=>d===mt,isValidNot0:d=>!f.is0(d)&&f.isValid(d),isOdd:d=>(d&ct)===ct,neg:d=>Ot(-d,t),eql:(d,h)=>d===h,sqr:d=>Ot(d*d,t),add:(d,h)=>Ot(d+h,t),sub:(d,h)=>Ot(d-h,t),mul:(d,h)=>Ot(d*h,t),pow:(d,h)=>ZS(f,d,h),div:(d,h)=>Ot(d*kg(h,t),t),sqrN:d=>d*d,addN:(d,h)=>d+h,subN:(d,h)=>d-h,mulN:(d,h)=>d*h,inv:d=>kg(d,t),sqrt:s||(d=>(l||(l=KS(t)),l(f,d))),toBytes:d=>n?el(d,u):Qu(d,u),fromBytes:(d,h=!0)=>{if(a){if(!a.includes(d.length)||d.length>u)throw new Error("Field.fromBytes: expected "+a+" bytes, got "+d.length);const y=new Uint8Array(u);y.set(d,n?0:y.length-d.length),d=y}if(d.length!==u)throw new Error("Field.fromBytes: expected "+u+" bytes, got "+d.length);let p=n?ha(d):fa(d);if(o&&(p=Ot(p,t)),!h&&!f.isValid(p))throw new Error("invalid field element: outside of range 0..ORDER");return p},invertBatch:d=>jg(f,d),cmov:(d,h,p)=>p?h:d});return Object.freeze(f)}function Vg(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const e=t.toString(2).length;return Math.ceil(e/8)}function Kg(t){const e=Vg(t);return e+Math.ceil(e/2)}function YS(t,e,n=!1){const r=t.length,i=Vg(e),s=Kg(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const o=n?ha(t):fa(t),a=Ot(o,e-ct)+ct;return n?el(a,i):Qu(a,i)}const Ii=BigInt(0),Wr=BigInt(1);function pa(t,e){const n=e.negate();return t?n:e}function il(t,e){const n=jg(t.Fp,e.map(r=>r.Z));return e.map((r,i)=>t.fromAffine(r.toAffine(n[i])))}function Gg(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function sl(t,e){Gg(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1),i=2**t,s=vs(t),o=BigInt(t);return{windows:n,windowSize:r,mask:s,maxNumber:i,shiftBy:o}}function Wg(t,e,n){const{windowSize:r,mask:i,maxNumber:s,shiftBy:o}=n;let a=Number(t&i),c=t>>o;a>r&&(a-=s,c+=Wr);const u=e*r,l=u+Math.abs(a)-1,f=a===0,d=a<0,h=e%2!==0;return{nextN:c,offset:l,isZero:f,isNeg:d,isNegF:h,offsetF:u}}function XS(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function JS(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const ol=new WeakMap,Zg=new WeakMap;function al(t){return Zg.get(t)||1}function Yg(t){if(t!==Ii)throw new Error("invalid wNAF")}class QS{constructor(e,n){this.BASE=e.BASE,this.ZERO=e.ZERO,this.Fn=e.Fn,this.bits=n}_unsafeLadder(e,n,r=this.ZERO){let i=e;for(;n>Ii;)n&Wr&&(r=r.add(i)),i=i.double(),n>>=Wr;return r}precomputeWindow(e,n){const{windows:r,windowSize:i}=sl(n,this.bits),s=[];let o=e,a=o;for(let c=0;c<r;c++){a=o,s.push(a);for(let u=1;u<i;u++)a=a.add(o),s.push(a);o=a.double()}return s}wNAF(e,n,r){if(!this.Fn.isValid(r))throw new Error("invalid scalar");let i=this.ZERO,s=this.BASE;const o=sl(e,this.bits);for(let a=0;a<o.windows;a++){const{nextN:c,offset:u,isZero:l,isNeg:f,isNegF:d,offsetF:h}=Wg(r,a,o);r=c,l?s=s.add(pa(d,n[h])):i=i.add(pa(f,n[u]))}return Yg(r),{p:i,f:s}}wNAFUnsafe(e,n,r,i=this.ZERO){const s=sl(e,this.bits);for(let o=0;o<s.windows&&r!==Ii;o++){const{nextN:a,offset:c,isZero:u,isNeg:l}=Wg(r,o,s);if(r=a,!u){const f=n[c];i=i.add(l?f.negate():f)}}return Yg(r),i}getPrecomputes(e,n,r){let i=ol.get(n);return i||(i=this.precomputeWindow(n,e),e!==1&&(typeof r=="function"&&(i=r(i)),ol.set(n,i))),i}cached(e,n,r){const i=al(e);return this.wNAF(i,this.getPrecomputes(i,e,r),n)}unsafe(e,n,r,i){const s=al(e);return s===1?this._unsafeLadder(e,n,i):this.wNAFUnsafe(s,this.getPrecomputes(s,e,r),n,i)}createCache(e,n){Gg(n,this.bits),Zg.set(e,n),ol.delete(e)}hasCache(e){return al(e)!==1}}function eI(t,e,n,r){let i=e,s=t.ZERO,o=t.ZERO;for(;n>Ii||r>Ii;)n&Wr&&(s=s.add(i)),r&Wr&&(o=o.add(i)),i=i.double(),n>>=Wr,r>>=Wr;return{p1:s,p2:o}}function tI(t,e,n,r){XS(n,t),JS(r,e);const i=n.length,s=r.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const o=t.ZERO,a=Tg(BigInt(i));let c=1;a>12?c=a-3:a>4?c=a-2:a>0&&(c=2);const u=vs(c),l=new Array(Number(u)+1).fill(o),f=Math.floor((e.BITS-1)/c)*c;let d=o;for(let h=f;h>=0;h-=c){l.fill(o);for(let y=0;y<s;y++){const m=r[y],B=Number(m>>BigInt(h)&u);l[B]=l[B].add(n[y])}let p=o;for(let y=l.length-1,m=o;y>0;y--)m=m.add(l[y]),p=p.add(m);if(d=d.add(p),h!==0)for(let y=0;y<c;y++)d=d.double()}return d}function Xg(t,e,n){if(e){if(e.ORDER!==t)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return WS(e),e}else return mr(t,{isLE:n})}function nI(t,e,n={},r){if(r===void 0&&(r=t==="edwards"),!e||typeof e!="object")throw new Error(`expected valid ${t} CURVE object`);for(const a of["p","n","h"]){const c=e[a];if(!(typeof c=="bigint"&&c>Ii))throw new Error(`CURVE.${a} must be positive bigint`)}const i=Xg(e.p,n.Fp,r),s=Xg(e.n,n.Fn,r),o=["Gx","Gy","a",t==="weierstrass"?"b":"d"];for(const a of o)if(!i.isValid(e[a]))throw new Error(`CURVE.${a} must be valid field element of CURVE.Fp`);return e=Object.freeze(Object.assign({},e)),{CURVE:e,Fp:i,Fn:s}}BigInt(0),BigInt(1),BigInt(2),BigInt(8),Q0("HashToScalar-");const Es=BigInt(0),Ai=BigInt(1),ga=BigInt(2);function rI(t){return da(t,{adjustScalarBytes:"function",powPminus2:"function"}),Object.freeze({...t})}function iI(t){const e=rI(t),{P:n,type:r,adjustScalarBytes:i,powPminus2:s,randomBytes:o}=e,a=r==="x25519";if(!a&&r!=="x448")throw new Error("invalid type");const c=o||Hr,u=a?255:448,l=a?32:56,f=BigInt(a?9:5),d=BigInt(a?121665:39081),h=a?ga**BigInt(254):ga**BigInt(447),p=a?BigInt(8)*ga**BigInt(251)-Ai:BigInt(4)*ga**BigInt(445)-Ai,y=h+p+Ai,m=E=>Ot(E,n),B=$(f);function $(E){return el(m(E),l)}function _(E){const b=tt("u coordinate",E,l);return a&&(b[31]&=127),m(ha(b))}function x(E){return ha(i(tt("scalar",E,l)))}function P(E,b){const v=F(_(b),x(E));if(v===Es)throw new Error("invalid private or public key received");return $(v)}function R(E){return P(E,B)}function U(E,b,v){const g=m(E*(b-v));return b=m(b-g),v=m(v+g),{x_2:b,x_3:v}}function F(E,b){nl("u",E,Es,n),nl("scalar",b,h,y);const v=b,g=E;let w=Ai,S=Es,A=E,I=Ai,O=Es;for(let L=BigInt(u-1);L>=Es;L--){const C=v>>L&Ai;O^=C,{x_2:w,x_3:A}=U(O,w,A),{x_2:S,x_3:I}=U(O,S,I),O=C;const k=w+S,N=m(k*k),q=w-S,z=m(q*q),W=N-z,V=A+I,Z=A-I,Q=m(Z*k),ee=m(V*q),ie=Q+ee,fe=Q-ee;A=m(ie*ie),I=m(g*m(fe*fe)),w=m(N*z),S=m(W*(N+m(d*W)))}({x_2:w,x_3:A}=U(O,w,A)),{x_2:S,x_3:I}=U(O,S,I);const T=s(S);return m(w*T)}const D={secretKey:l,publicKey:l,seed:l},j=(E=c(l))=>(Gt(E,D.seed),E);function M(E){const b=j(E);return{secretKey:b,publicKey:R(b)}}return{keygen:M,getSharedSecret:(E,b)=>P(E,b),getPublicKey:E=>R(E),scalarMult:P,scalarMultBase:R,utils:{randomSecretKey:j,randomPrivateKey:j},GuBytes:B.slice(),lengths:D}}const sI=BigInt(1),Jg=BigInt(2),oI=BigInt(3),aI=BigInt(5),cI=BigInt(8),Qg=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed"),uI={p:Qg,n:BigInt("0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed"),h:cI,a:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec"),d:BigInt("0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3"),Gx:BigInt("0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a"),Gy:BigInt("0x6666666666666666666666666666666666666666666666666666666666666658")};function lI(t){const e=BigInt(10),n=BigInt(20),r=BigInt(40),i=BigInt(80),s=Qg,o=t*t%s*t%s,a=Zt(o,Jg,s)*o%s,c=Zt(a,sI,s)*t%s,u=Zt(c,aI,s)*c%s,l=Zt(u,e,s)*u%s,f=Zt(l,n,s)*l%s,d=Zt(f,r,s)*f%s,h=Zt(d,i,s)*d%s,p=Zt(h,i,s)*d%s,y=Zt(p,e,s)*u%s;return{pow_p_5_8:Zt(y,Jg,s)*t%s,b2:o}}function fI(t){return t[0]&=248,t[31]&=127,t[31]|=64,t}const hI=mr(uI.p,{isLE:!0}),cl=(()=>{const t=hI.ORDER;return iI({P:t,type:"x25519",powPminus2:e=>{const{pow_p_5_8:n,b2:r}=lI(e);return Ot(Zt(n,oI,t)*r,t)},adjustScalarBytes:fI})})(),e1=(t,e)=>(t+(t>=0?e:-e)/t1)/e;function dI(t,e,n){const[[r,i],[s,o]]=e,a=e1(o*t,n),c=e1(-i*t,n);let u=t-a*r-c*s,l=-a*i-c*o;const f=u<Tn,d=l<Tn;f&&(u=-u),d&&(l=-l);const h=vs(Math.ceil(Tg(n)/2))+Bi;if(u<Tn||u>=h||l<Tn||l>=h)throw new Error("splitScalar (endomorphism): failed, k="+t);return{k1neg:f,k1:u,k2neg:d,k2:l}}function ul(t){if(!["compact","recovered","der"].includes(t))throw new Error('Signature format must be "compact", "recovered", or "der"');return t}function ll(t,e){const n={};for(let r of Object.keys(e))n[r]=t[r]===void 0?e[r]:t[r];return ua(n.lowS,"lowS"),ua(n.prehash,"prehash"),n.format!==void 0&&ul(n.format),n}class pI extends Error{constructor(e=""){super(e)}}const Pn={Err:pI,_tlv:{encode:(t,e)=>{const{Err:n}=Pn;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length&1)throw new n("tlv.encode: unpadded data");const r=e.length/2,i=la(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const s=r>127?la(i.length/2|128):"";return la(t)+s+i+e},decode(t,e){const{Err:n}=Pn;let r=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length<2||e[r++]!==t)throw new n("tlv.decode: wrong tlv");const i=e[r++],s=!!(i&128);let o=0;if(!s)o=i;else{const c=i&127;if(!c)throw new n("tlv.decode(long): indefinite length not supported");if(c>4)throw new n("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+c);if(u.length!==c)throw new n("tlv.decode: length bytes not complete");if(u[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const l of u)o=o<<8|l;if(r+=c,o<128)throw new n("tlv.decode(long): not minimal encoding")}const a=e.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:e.subarray(r+o)}}},_int:{encode(t){const{Err:e}=Pn;if(t<Tn)throw new e("integer: negative integers are not allowed");let n=la(t);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return n},decode(t){const{Err:e}=Pn;if(t[0]&128)throw new e("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return fa(t)}},toSig(t){const{Err:e,_int:n,_tlv:r}=Pn,i=tt("signature",t),{v:s,l:o}=r.decode(48,i);if(o.length)throw new e("invalid signature: left bytes after parsing");const{v:a,l:c}=r.decode(2,s),{v:u,l}=r.decode(2,c);if(l.length)throw new e("invalid signature: left bytes after parsing");return{r:n.decode(a),s:n.decode(u)}},hexFromSig(t){const{_tlv:e,_int:n}=Pn,r=e.encode(2,n.encode(t.r)),i=e.encode(2,n.encode(t.s)),s=r+i;return e.encode(48,s)}},Tn=BigInt(0),Bi=BigInt(1),t1=BigInt(2),ya=BigInt(3),gI=BigInt(4);function Oi(t,e){const{BYTES:n}=t;let r;if(typeof e=="bigint")r=e;else{let i=tt("private key",e);try{r=t.fromBytes(i)}catch{throw new Error(`invalid private key: expected ui8a of size ${n}, got ${typeof e}`)}}if(!t.isValidNot0(r))throw new Error("invalid private key: out of range [1..N-1]");return r}function yI(t,e={}){const n=nI("weierstrass",t,e),{Fp:r,Fn:i}=n;let s=n.CURVE;const{h:o,n:a}=s;da(e,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:c}=e;if(c&&(!r.is0(s.a)||typeof c.beta!="bigint"||!Array.isArray(c.basises)))throw new Error('invalid endo: expected "beta": bigint and "basises": array');const u=r1(r,i);function l(){if(!r.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}function f(E,b,v){const{x:g,y:w}=b.toAffine(),S=r.toBytes(g);if(ua(v,"isCompressed"),v){l();const A=!r.isOdd(w);return fr(n1(A),S)}else return fr(Uint8Array.of(4),S,r.toBytes(w))}function d(E){Kr(E,void 0,"Point");const{publicKey:b,publicKeyUncompressed:v}=u,g=E.length,w=E[0],S=E.subarray(1);if(g===b&&(w===2||w===3)){const A=r.fromBytes(S);if(!r.isValid(A))throw new Error("bad point: is not on curve, wrong x");const I=y(A);let O;try{O=r.sqrt(I)}catch(L){const C=L instanceof Error?": "+L.message:"";throw new Error("bad point: is not on curve, sqrt error"+C)}l();const T=r.isOdd(O);return(w&1)===1!==T&&(O=r.neg(O)),{x:A,y:O}}else if(g===v&&w===4){const A=r.BYTES,I=r.fromBytes(S.subarray(0,A)),O=r.fromBytes(S.subarray(A,A*2));if(!m(I,O))throw new Error("bad point: is not on curve");return{x:I,y:O}}else throw new Error(`bad point: got length ${g}, expected compressed=${b} or uncompressed=${v}`)}const h=e.toBytes||f,p=e.fromBytes||d;function y(E){const b=r.sqr(E),v=r.mul(b,E);return r.add(r.add(v,r.mul(E,s.a)),s.b)}function m(E,b){const v=r.sqr(b),g=y(E);return r.eql(v,g)}if(!m(s.Gx,s.Gy))throw new Error("bad curve params: generator point");const B=r.mul(r.pow(s.a,ya),gI),$=r.mul(r.sqr(s.b),BigInt(27));if(r.is0(r.add(B,$)))throw new Error("bad curve params: a or b");function _(E,b,v=!1){if(!r.isValid(b)||v&&r.is0(b))throw new Error(`bad point coordinate ${E}`);return b}function x(E){if(!(E instanceof D))throw new Error("ProjectivePoint expected")}function P(E){if(!c||!c.basises)throw new Error("no endo");return dI(E,c.basises,i.ORDER)}const R=Rg((E,b)=>{const{X:v,Y:g,Z:w}=E;if(r.eql(w,r.ONE))return{x:v,y:g};const S=E.is0();b==null&&(b=S?r.ONE:r.inv(w));const A=r.mul(v,b),I=r.mul(g,b),O=r.mul(w,b);if(S)return{x:r.ZERO,y:r.ZERO};if(!r.eql(O,r.ONE))throw new Error("invZ was invalid");return{x:A,y:I}}),U=Rg(E=>{if(E.is0()){if(e.allowInfinityPoint&&!r.is0(E.Y))return;throw new Error("bad point: ZERO")}const{x:b,y:v}=E.toAffine();if(!r.isValid(b)||!r.isValid(v))throw new Error("bad point: x or y not field elements");if(!m(b,v))throw new Error("bad point: equation left != right");if(!E.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function F(E,b,v,g,w){return v=new D(r.mul(v.X,E),v.Y,v.Z),b=pa(g,b),v=pa(w,v),b.add(v)}class D{constructor(b,v,g){this.X=_("x",b),this.Y=_("y",v,!0),this.Z=_("z",g),Object.freeze(this)}static CURVE(){return s}static fromAffine(b){const{x:v,y:g}=b||{};if(!b||!r.isValid(v)||!r.isValid(g))throw new Error("invalid affine point");if(b instanceof D)throw new Error("projective point not allowed");return r.is0(v)&&r.is0(g)?D.ZERO:new D(v,g,r.ONE)}static fromBytes(b){const v=D.fromAffine(p(Kr(b,void 0,"point")));return v.assertValidity(),v}static fromHex(b){return D.fromBytes(tt("pointHex",b))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(b=8,v=!0){return M.createCache(this,b),v||this.multiply(ya),this}assertValidity(){U(this)}hasEvenY(){const{y:b}=this.toAffine();if(!r.isOdd)throw new Error("Field doesn't support isOdd");return!r.isOdd(b)}equals(b){x(b);const{X:v,Y:g,Z:w}=this,{X:S,Y:A,Z:I}=b,O=r.eql(r.mul(v,I),r.mul(S,w)),T=r.eql(r.mul(g,I),r.mul(A,w));return O&&T}negate(){return new D(this.X,r.neg(this.Y),this.Z)}double(){const{a:b,b:v}=s,g=r.mul(v,ya),{X:w,Y:S,Z:A}=this;let I=r.ZERO,O=r.ZERO,T=r.ZERO,L=r.mul(w,w),C=r.mul(S,S),k=r.mul(A,A),N=r.mul(w,S);return N=r.add(N,N),T=r.mul(w,A),T=r.add(T,T),I=r.mul(b,T),O=r.mul(g,k),O=r.add(I,O),I=r.sub(C,O),O=r.add(C,O),O=r.mul(I,O),I=r.mul(N,I),T=r.mul(g,T),k=r.mul(b,k),N=r.sub(L,k),N=r.mul(b,N),N=r.add(N,T),T=r.add(L,L),L=r.add(T,L),L=r.add(L,k),L=r.mul(L,N),O=r.add(O,L),k=r.mul(S,A),k=r.add(k,k),L=r.mul(k,N),I=r.sub(I,L),T=r.mul(k,C),T=r.add(T,T),T=r.add(T,T),new D(I,O,T)}add(b){x(b);const{X:v,Y:g,Z:w}=this,{X:S,Y:A,Z:I}=b;let O=r.ZERO,T=r.ZERO,L=r.ZERO;const C=s.a,k=r.mul(s.b,ya);let N=r.mul(v,S),q=r.mul(g,A),z=r.mul(w,I),W=r.add(v,g),V=r.add(S,A);W=r.mul(W,V),V=r.add(N,q),W=r.sub(W,V),V=r.add(v,w);let Z=r.add(S,I);return V=r.mul(V,Z),Z=r.add(N,z),V=r.sub(V,Z),Z=r.add(g,w),O=r.add(A,I),Z=r.mul(Z,O),O=r.add(q,z),Z=r.sub(Z,O),L=r.mul(C,V),O=r.mul(k,z),L=r.add(O,L),O=r.sub(q,L),L=r.add(q,L),T=r.mul(O,L),q=r.add(N,N),q=r.add(q,N),z=r.mul(C,z),V=r.mul(k,V),q=r.add(q,z),z=r.sub(N,z),z=r.mul(C,z),V=r.add(V,z),N=r.mul(q,V),T=r.add(T,N),N=r.mul(Z,V),O=r.mul(W,O),O=r.sub(O,N),N=r.mul(W,q),L=r.mul(Z,L),L=r.add(L,N),new D(O,T,L)}subtract(b){return this.add(b.negate())}is0(){return this.equals(D.ZERO)}multiply(b){const{endo:v}=e;if(!i.isValidNot0(b))throw new Error("invalid scalar: out of range");let g,w;const S=A=>M.cached(this,A,I=>il(D,I));if(v){const{k1neg:A,k1:I,k2neg:O,k2:T}=P(b),{p:L,f:C}=S(I),{p:k,f:N}=S(T);w=C.add(N),g=F(v.beta,L,k,A,O)}else{const{p:A,f:I}=S(b);g=A,w=I}return il(D,[g,w])[0]}multiplyUnsafe(b){const{endo:v}=e,g=this;if(!i.isValid(b))throw new Error("invalid scalar: out of range");if(b===Tn||g.is0())return D.ZERO;if(b===Bi)return g;if(M.hasCache(this))return this.multiply(b);if(v){const{k1neg:w,k1:S,k2neg:A,k2:I}=P(b),{p1:O,p2:T}=eI(D,g,S,I);return F(v.beta,O,T,w,A)}else return M.unsafe(g,b)}multiplyAndAddUnsafe(b,v,g){const w=this.multiplyUnsafe(v).add(b.multiplyUnsafe(g));return w.is0()?void 0:w}toAffine(b){return R(this,b)}isTorsionFree(){const{isTorsionFree:b}=e;return o===Bi?!0:b?b(D,this):M.unsafe(this,a).is0()}clearCofactor(){const{clearCofactor:b}=e;return o===Bi?this:b?b(D,this):this.multiplyUnsafe(o)}isSmallOrder(){return this.multiplyUnsafe(o).is0()}toBytes(b=!0){return ua(b,"isCompressed"),this.assertValidity(),h(D,this,b)}toHex(b=!0){return _i(this.toBytes(b))}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(b=!0){return this.toBytes(b)}_setWindowSize(b){this.precompute(b)}static normalizeZ(b){return il(D,b)}static msm(b,v){return tI(D,i,b,v)}static fromPrivateKey(b){return D.BASE.multiply(Oi(i,b))}}D.BASE=new D(s.Gx,s.Gy,r.ONE),D.ZERO=new D(r.ZERO,r.ONE,r.ZERO),D.Fp=r,D.Fn=i;const j=i.BITS,M=new QS(D,e.endo?Math.ceil(j/2):j);return D.BASE.precompute(8),D}function n1(t){return Uint8Array.of(t?2:3)}function r1(t,e){return{secretKey:e.BYTES,publicKey:1+t.BYTES,publicKeyUncompressed:1+2*t.BYTES,publicKeyHasPrefix:!0,signature:2*e.BYTES}}function bI(t,e={}){const{Fn:n}=t,r=e.randomBytes||Hr,i=Object.assign(r1(t.Fp,n),{seed:Kg(n.ORDER)});function s(d){try{return!!Oi(n,d)}catch{return!1}}function o(d,h){const{publicKey:p,publicKeyUncompressed:y}=i;try{const m=d.length;return h===!0&&m!==p||h===!1&&m!==y?!1:!!t.fromBytes(d)}catch{return!1}}function a(d=r(i.seed)){return YS(Kr(d,i.seed,"seed"),n.ORDER)}function c(d,h=!0){return t.BASE.multiply(Oi(n,d)).toBytes(h)}function u(d){const h=a(d);return{secretKey:h,publicKey:c(h)}}function l(d){if(typeof d=="bigint")return!1;if(d instanceof t)return!0;const{secretKey:h,publicKey:p,publicKeyUncompressed:y}=i;if(n.allowedLengths||h===p)return;const m=tt("key",d).length;return m===p||m===y}function f(d,h,p=!0){if(l(d)===!0)throw new Error("first arg must be private key");if(l(h)===!1)throw new Error("second arg must be public key");const y=Oi(n,d);return t.fromHex(h).multiply(y).toBytes(p)}return Object.freeze({getPublicKey:c,getSharedSecret:f,keygen:u,Point:t,utils:{isValidSecretKey:s,isValidPublicKey:o,randomSecretKey:a,isValidPrivateKey:s,randomPrivateKey:a,normPrivateKeyToScalar:d=>Oi(n,d),precompute(d=8,h=t.BASE){return h.precompute(d,!1)}},lengths:i})}function wI(t,e,n={}){Qo(e),da(n,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});const r=n.randomBytes||Hr,i=n.hmac||((v,...g)=>aa(e,v,fr(...g))),{Fp:s,Fn:o}=t,{ORDER:a,BITS:c}=o,{keygen:u,getPublicKey:l,getSharedSecret:f,utils:d,lengths:h}=bI(t,n),p={prehash:!1,lowS:typeof n.lowS=="boolean"?n.lowS:!1,format:void 0,extraEntropy:!1},y="compact";function m(v){const g=a>>Bi;return v>g}function B(v,g){if(!o.isValidNot0(g))throw new Error(`invalid signature ${v}: out of range 1..Point.Fn.ORDER`);return g}function $(v,g){ul(g);const w=h.signature,S=g==="compact"?w:g==="recovered"?w+1:void 0;return Kr(v,S,`${g} signature`)}class _{constructor(g,w,S){this.r=B("r",g),this.s=B("s",w),S!=null&&(this.recovery=S),Object.freeze(this)}static fromBytes(g,w=y){$(g,w);let S;if(w==="der"){const{r:T,s:L}=Pn.toSig(Kr(g));return new _(T,L)}w==="recovered"&&(S=g[0],w="compact",g=g.subarray(1));const A=o.BYTES,I=g.subarray(0,A),O=g.subarray(A,A*2);return new _(o.fromBytes(I),o.fromBytes(O),S)}static fromHex(g,w){return this.fromBytes(ea(g),w)}addRecoveryBit(g){return new _(this.r,this.s,g)}recoverPublicKey(g){const w=s.ORDER,{r:S,s:A,recovery:I}=this;if(I==null||![0,1,2,3].includes(I))throw new Error("recovery id invalid");if(a*t1<w&&I>1)throw new Error("recovery id is ambiguous for h>1 curve");const O=I===2||I===3?S+a:S;if(!s.isValid(O))throw new Error("recovery id 2 or 3 invalid");const T=s.toBytes(O),L=t.fromBytes(fr(n1((I&1)===0),T)),C=o.inv(O),k=P(tt("msgHash",g)),N=o.create(-k*C),q=o.create(A*C),z=t.BASE.multiplyUnsafe(N).add(L.multiplyUnsafe(q));if(z.is0())throw new Error("point at infinify");return z.assertValidity(),z}hasHighS(){return m(this.s)}toBytes(g=y){if(ul(g),g==="der")return ea(Pn.hexFromSig(this));const w=o.toBytes(this.r),S=o.toBytes(this.s);if(g==="recovered"){if(this.recovery==null)throw new Error("recovery bit must be present");return fr(Uint8Array.of(this.recovery),w,S)}return fr(w,S)}toHex(g){return _i(this.toBytes(g))}assertValidity(){}static fromCompact(g){return _.fromBytes(tt("sig",g),"compact")}static fromDER(g){return _.fromBytes(tt("sig",g),"der")}normalizeS(){return this.hasHighS()?new _(this.r,o.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return _i(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return _i(this.toBytes("compact"))}}const x=n.bits2int||function(v){if(v.length>8192)throw new Error("input is too large");const g=fa(v),w=v.length*8-c;return w>0?g>>BigInt(w):g},P=n.bits2int_modN||function(v){return o.create(x(v))},R=vs(c);function U(v){return nl("num < 2^"+c,v,Tn,R),o.toBytes(v)}function F(v,g){return Kr(v,void 0,"message"),g?Kr(e(v),void 0,"prehashed message"):v}function D(v,g,w){if(["recovered","canonical"].some(q=>q in w))throw new Error("sign() legacy options not supported");const{lowS:S,prehash:A,extraEntropy:I}=ll(w,p);v=F(v,A);const O=P(v),T=Oi(o,g),L=[U(T),U(O)];if(I!=null&&I!==!1){const q=I===!0?r(h.secretKey):I;L.push(tt("extraEntropy",q))}const C=fr(...L),k=O;function N(q){const z=x(q);if(!o.isValidNot0(z))return;const W=o.inv(z),V=t.BASE.multiply(z).toAffine(),Z=o.create(V.x);if(Z===Tn)return;const Q=o.create(W*o.create(k+Z*T));if(Q===Tn)return;let ee=(V.x===Z?0:2)|Number(V.y&Bi),ie=Q;return S&&m(Q)&&(ie=o.neg(Q),ee^=1),new _(Z,ie,ee)}return{seed:C,k2sig:N}}function j(v,g,w={}){v=tt("message",v);const{seed:S,k2sig:A}=D(v,g,w);return MS(e.outputLen,o.BYTES,i)(S,A)}function M(v){let g;const w=typeof v=="string"||Jo(v),S=!w&&v!==null&&typeof v=="object"&&typeof v.r=="bigint"&&typeof v.s=="bigint";if(!w&&!S)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(S)g=new _(v.r,v.s);else if(w){try{g=_.fromBytes(tt("sig",v),"der")}catch(A){if(!(A instanceof Pn.Err))throw A}if(!g)try{g=_.fromBytes(tt("sig",v),"compact")}catch{return!1}}return g||!1}function E(v,g,w,S={}){const{lowS:A,prehash:I,format:O}=ll(S,p);if(w=tt("publicKey",w),g=F(tt("message",g),I),"strict"in S)throw new Error("options.strict was renamed to lowS");const T=O===void 0?M(v):_.fromBytes(tt("sig",v),O);if(T===!1)return!1;try{const L=t.fromBytes(w);if(A&&T.hasHighS())return!1;const{r:C,s:k}=T,N=P(g),q=o.inv(k),z=o.create(N*q),W=o.create(C*q),V=t.BASE.multiplyUnsafe(z).add(L.multiplyUnsafe(W));return V.is0()?!1:o.create(V.x)===C}catch{return!1}}function b(v,g,w={}){const{prehash:S}=ll(w,p);return g=F(g,S),_.fromBytes(v,"recovered").recoverPublicKey(g).toBytes()}return Object.freeze({keygen:u,getPublicKey:l,getSharedSecret:f,utils:d,lengths:h,Point:t,sign:j,verify:E,recoverPublicKey:b,Signature:_,hash:e})}function mI(t){const e={a:t.a,b:t.b,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},n=t.Fp;let r=t.allowedPrivateKeyLengths?Array.from(new Set(t.allowedPrivateKeyLengths.map(o=>Math.ceil(o/2)))):void 0;const i=mr(e.n,{BITS:t.nBitLength,allowedLengths:r,modFromBytes:t.wrapPrivateKey}),s={Fp:n,Fn:i,allowInfinityPoint:t.allowInfinityPoint,endo:t.endo,isTorsionFree:t.isTorsionFree,clearCofactor:t.clearCofactor,fromBytes:t.fromBytes,toBytes:t.toBytes};return{CURVE:e,curveOpts:s}}function vI(t){const{CURVE:e,curveOpts:n}=mI(t),r={hmac:t.hmac,randomBytes:t.randomBytes,lowS:t.lowS,bits2int:t.bits2int,bits2int_modN:t.bits2int_modN};return{CURVE:e,curveOpts:n,hash:t.hash,ecdsaOpts:r}}function EI(t,e){const n=e.Point;return Object.assign({},e,{ProjectivePoint:n,CURVE:Object.assign({},t,Hg(n.Fn.ORDER,n.Fn.BITS))})}function xI(t){const{CURVE:e,curveOpts:n,hash:r,ecdsaOpts:i}=vI(t),s=yI(e,n),o=wI(s,r,i);return EI(t,o)}function fl(t,e){const n=r=>xI({...t,hash:r});return{...n(e),create:n}}const i1={p:BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff"),n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),h:BigInt(1),a:BigInt("0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc"),b:BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5")},s1={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff"),n:BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973"),h:BigInt(1),a:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffc"),b:BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef"),Gx:BigInt("0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"),Gy:BigInt("0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f")},o1={p:BigInt("0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),n:BigInt("0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409"),h:BigInt(1),a:BigInt("0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc"),b:BigInt("0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00"),Gx:BigInt("0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66"),Gy:BigInt("0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650")},_I=mr(i1.p),SI=mr(s1.p),II=mr(o1.p),AI=fl({...i1,Fp:_I,lowS:!1},na);fl({...s1,Fp:SI,lowS:!1},$5),fl({...o1,Fp:II,lowS:!1,allowedPrivateKeyLengths:[130,131,132]},D5);const BI=AI,a1="base10",ut="base16",vt="base64pad",vr="base64url",xs="utf8",c1=0,Rn=1,_s=2,OI=0,u1=1,Ss=12,hl=32;function DI(){const t=cl.utils.randomPrivateKey(),e=cl.getPublicKey(t);return{privateKey:bt(t,ut),publicKey:bt(e,ut)}}function dl(){const t=Hr(hl);return bt(t,ut)}function $I(t,e){const n=cl.getSharedSecret(Ct(t,ut),Ct(e,ut)),r=kS(ca,n,void 0,void 0,hl);return bt(r,ut)}function ba(t){const e=ca(Ct(t,ut));return bt(e,ut)}function Ft(t){const e=ca(Ct(t,xs));return bt(e,ut)}function l1(t){return Ct(`${t}`,a1)}function Zr(t){return Number(bt(t,a1))}function f1(t){return t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function h1(t){const e=t.replace(/-/g,"+").replace(/_/g,"/"),n=(4-e.length%4)%4;return e+"=".repeat(n)}function PI(t){const e=l1(typeof t.type<"u"?t.type:c1);if(Zr(e)===Rn&&typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");const n=typeof t.senderPublicKey<"u"?Ct(t.senderPublicKey,ut):void 0,r=typeof t.iv<"u"?Ct(t.iv,ut):Hr(Ss),i=Ct(t.symKey,ut),s=Og(i,r).encrypt(Ct(t.message,xs)),o=d1({type:e,sealed:s,iv:r,senderPublicKey:n});return t.encoding===vr?f1(o):o}function TI(t){const e=Ct(t.symKey,ut),{sealed:n,iv:r}=Is({encoded:t.encoded,encoding:t.encoding}),i=Og(e,r).decrypt(n);if(i===null)throw new Error("Failed to decrypt");return bt(i,xs)}function RI(t,e){const n=l1(_s),r=Hr(Ss),i=Ct(t,xs),s=d1({type:n,sealed:i,iv:r});return e===vr?f1(s):s}function NI(t,e){const{sealed:n}=Is({encoded:t,encoding:e});return bt(n,xs)}function d1(t){if(Zr(t.type)===_s)return bt(cs([t.type,t.sealed]),vt);if(Zr(t.type)===Rn){if(typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");return bt(cs([t.type,t.senderPublicKey,t.iv,t.sealed]),vt)}return bt(cs([t.type,t.iv,t.sealed]),vt)}function Is(t){const e=(t.encoding||vt)===vr?h1(t.encoded):t.encoded,n=Ct(e,vt),r=n.slice(OI,u1),i=u1;if(Zr(r)===Rn){const c=i+hl,u=c+Ss,l=n.slice(i,c),f=n.slice(c,u),d=n.slice(u);return{type:r,sealed:d,iv:f,senderPublicKey:l}}if(Zr(r)===_s){const c=n.slice(i),u=Hr(Ss);return{type:r,sealed:c,iv:u}}const s=i+Ss,o=n.slice(i,s),a=n.slice(s);return{type:r,sealed:a,iv:o}}function CI(t,e){const n=Is({encoded:t,encoding:e?.encoding});return p1({type:Zr(n.type),senderPublicKey:typeof n.senderPublicKey<"u"?bt(n.senderPublicKey,ut):void 0,receiverPublicKey:e?.receiverPublicKey})}function p1(t){const e=t?.type||c1;if(e===Rn){if(typeof t?.senderPublicKey>"u")throw new Error("missing sender public key");if(typeof t?.receiverPublicKey>"u")throw new Error("missing receiver public key")}return{type:e,senderPublicKey:t?.senderPublicKey,receiverPublicKey:t?.receiverPublicKey}}function g1(t){return t.type===Rn&&typeof t.senderPublicKey=="string"&&typeof t.receiverPublicKey=="string"}function y1(t){return t.type===_s}function UI(t){const e=Buffer.from(t.x,"base64"),n=Buffer.from(t.y,"base64");return cs([new Uint8Array([4]),e,n])}function FI(t,e){const[n,r,i]=t.split("."),s=Buffer.from(h1(i),"base64");if(s.length!==64)throw new Error("Invalid signature length");const o=s.slice(0,32),a=s.slice(32,64),c=`${n}.${r}`,u=ca(c),l=UI(e);if(!BI.verify(cs([o,a]),u,l))throw new Error("Invalid signature");return dc(t).payload}const LI="irn";function wa(t){return t?.relay||{protocol:LI}}function Di(t){const e=f_[t];if(typeof e>"u")throw new Error(`Relay Protocol not supported: ${t}`);return e}var kI=Object.defineProperty,qI=Object.defineProperties,MI=Object.getOwnPropertyDescriptors,b1=Object.getOwnPropertySymbols,jI=Object.prototype.hasOwnProperty,zI=Object.prototype.propertyIsEnumerable,w1=(t,e,n)=>e in t?kI(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,pl=(t,e)=>{for(var n in e||(e={}))jI.call(e,n)&&w1(t,n,e[n]);if(b1)for(var n of b1(e))zI.call(e,n)&&w1(t,n,e[n]);return t},HI=(t,e)=>qI(t,MI(e));function VI(t,e="-"){const n={},r="relay"+e;return Object.keys(t).forEach(i=>{if(i.startsWith(r)){const s=i.replace(r,""),o=t[i];n[s]=o}}),n}function m1(t){if(!t.includes("wc:")){const u=z0(t);u!=null&&u.includes("wc:")&&(t=u)}t=t.includes("wc://")?t.replace("wc://",""):t,t=t.includes("wc:")?t.replace("wc:",""):t;const e=t.indexOf(":"),n=t.indexOf("?")!==-1?t.indexOf("?"):void 0,r=t.substring(0,e),i=t.substring(e+1,n).split("@"),s=typeof n<"u"?t.substring(n):"",o=new URLSearchParams(s),a=Object.fromEntries(o.entries()),c=typeof a.methods=="string"?a.methods.split(","):void 0;return{protocol:r,topic:KI(i[0]),version:parseInt(i[1],10),symKey:a.symKey,relay:VI(a),methods:c,expiryTimestamp:a.expiryTimestamp?parseInt(a.expiryTimestamp,10):void 0}}function KI(t){return t.startsWith("//")?t.substring(2):t}function GI(t,e="-"){const n="relay",r={};return Object.keys(t).forEach(i=>{const s=i,o=n+e+s;t[s]&&(r[o]=t[s])}),r}function v1(t){const e=new URLSearchParams,n=pl(pl(HI(pl({},GI(t.relay)),{symKey:t.symKey}),t.expiryTimestamp&&{expiryTimestamp:t.expiryTimestamp.toString()}),t.methods&&{methods:t.methods.join(",")});return Object.entries(n).sort(([r],[i])=>r.localeCompare(i)).forEach(([r,i])=>{i!==void 0&&e.append(r,String(i))}),`${t.protocol}:${t.topic}@${t.version}?${e}`}function ma(t,e,n){return`${t}?wc_ev=${n}&topic=${e}`}var WI=Object.defineProperty,ZI=Object.defineProperties,YI=Object.getOwnPropertyDescriptors,E1=Object.getOwnPropertySymbols,XI=Object.prototype.hasOwnProperty,JI=Object.prototype.propertyIsEnumerable,x1=(t,e,n)=>e in t?WI(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,QI=(t,e)=>{for(var n in e||(e={}))XI.call(e,n)&&x1(t,n,e[n]);if(E1)for(var n of E1(e))JI.call(e,n)&&x1(t,n,e[n]);return t},e9=(t,e)=>ZI(t,YI(e));function $i(t){const e=[];return t.forEach(n=>{const[r,i]=n.split(":");e.push(`${r}:${i}`)}),e}function _1(t){const e=[];return Object.values(t).forEach(n=>{e.push(...$i(n.accounts))}),[...new Set(e)]}function t9(t){const e=[];return Object.values(t).forEach(n=>{e.push(...n.methods)}),[...new Set(e)]}function n9(t){const e=[];return Object.values(t).forEach(n=>{e.push(...n.events)}),[...new Set(e)]}function r9(t,e){const n=[];return Object.values(t).forEach(r=>{$i(r.accounts).includes(e)&&n.push(...r.methods)}),n}function i9(t,e){const n=[];return Object.values(t).forEach(r=>{$i(r.accounts).includes(e)&&n.push(...r.events)}),n}function S1(t){return t.includes(":")}function s9(t){return S1(t)?t.split(":")[0]:t}function I1(t){var e,n,r;const i={};if(!As(t))return i;for(const[s,o]of Object.entries(t)){const a=S1(s)?[s]:o.chains,c=o.methods||[],u=o.events||[],l=s9(s);i[l]=e9(QI({},i[l]),{chains:zr(a,(e=i[l])==null?void 0:e.chains),methods:zr(c,(n=i[l])==null?void 0:n.methods),events:zr(u,(r=i[l])==null?void 0:r.events)})}return i}function o9(t){const e={};return t?.forEach(n=>{var r;const[i,s]=n.split(":");e[i]||(e[i]={accounts:[],chains:[],events:[],methods:[]}),e[i].accounts.push(n),(r=e[i].chains)==null||r.push(`${i}:${s}`)}),e}function A1(t,e){e=e.map(r=>r.replace("did:pkh:",""));const n=o9(e);for(const[r,i]of Object.entries(n))i.methods?i.methods=zr(i.methods,t):i.methods=t,i.events=["chainChanged","accountsChanged"];return n}function a9(t,e){var n,r,i,s,o,a;const c=I1(t),u=I1(e),l={},f=Object.keys(c).concat(Object.keys(u));for(const d of f)l[d]={chains:zr((n=c[d])==null?void 0:n.chains,(r=u[d])==null?void 0:r.chains),methods:zr((i=c[d])==null?void 0:i.methods,(s=u[d])==null?void 0:s.methods),events:zr((o=c[d])==null?void 0:o.events,(a=u[d])==null?void 0:a.events)};return l}const c9={INVALID_METHOD:{message:"Invalid method.",code:1001},INVALID_EVENT:{message:"Invalid event.",code:1002},INVALID_UPDATE_REQUEST:{message:"Invalid update request.",code:1003},INVALID_EXTEND_REQUEST:{message:"Invalid extend request.",code:1004},INVALID_SESSION_SETTLE_REQUEST:{message:"Invalid session settle request.",code:1005},UNAUTHORIZED_METHOD:{message:"Unauthorized method.",code:3001},UNAUTHORIZED_EVENT:{message:"Unauthorized event.",code:3002},UNAUTHORIZED_UPDATE_REQUEST:{message:"Unauthorized update request.",code:3003},UNAUTHORIZED_EXTEND_REQUEST:{message:"Unauthorized extend request.",code:3004},USER_REJECTED:{message:"User rejected.",code:5e3},USER_REJECTED_CHAINS:{message:"User rejected chains.",code:5001},USER_REJECTED_METHODS:{message:"User rejected methods.",code:5002},USER_REJECTED_EVENTS:{message:"User rejected events.",code:5003},UNSUPPORTED_CHAINS:{message:"Unsupported chains.",code:5100},UNSUPPORTED_METHODS:{message:"Unsupported methods.",code:5101},UNSUPPORTED_EVENTS:{message:"Unsupported events.",code:5102},UNSUPPORTED_ACCOUNTS:{message:"Unsupported accounts.",code:5103},UNSUPPORTED_NAMESPACE_KEY:{message:"Unsupported namespace key.",code:5104},USER_DISCONNECTED:{message:"User disconnected.",code:6e3},SESSION_SETTLEMENT_FAILED:{message:"Session settlement failed.",code:7e3},WC_METHOD_UNSUPPORTED:{message:"Unsupported wc_ method.",code:10001}},u9={NOT_INITIALIZED:{message:"Not initialized.",code:1},NO_MATCHING_KEY:{message:"No matching key.",code:2},RESTORE_WILL_OVERRIDE:{message:"Restore will override.",code:3},RESUBSCRIBED:{message:"Resubscribed.",code:4},MISSING_OR_INVALID:{message:"Missing or invalid.",code:5},EXPIRED:{message:"Expired.",code:6},UNKNOWN_TYPE:{message:"Unknown type.",code:7},MISMATCHED_TOPIC:{message:"Mismatched topic.",code:8},NON_CONFORMING_NAMESPACES:{message:"Non conforming namespaces.",code:9}};function G(t,e){const{message:n,code:r}=u9[t];return{message:e?`${n} ${e}`:n,code:r}}function Ee(t,e){const{message:n,code:r}=c9[t];return{message:e?`${n} ${e}`:n,code:r}}function Pi(t,e){return Array.isArray(t)?typeof e<"u"&&t.length?t.every(e):!0:!1}function As(t){return Object.getPrototypeOf(t)===Object.prototype&&Object.keys(t).length}function Pe(t){return typeof t>"u"}function Se(t,e){return e&&Pe(t)?!0:typeof t=="string"&&!!t.trim().length}function gl(t,e){return e&&Pe(t)?!0:typeof t=="number"&&!isNaN(t)}function l9(t,e){const{requiredNamespaces:n}=e,r=Object.keys(t.namespaces),i=Object.keys(n);let s=!0;return Mr(i,r)?(r.forEach(o=>{const{accounts:a,methods:c,events:u}=t.namespaces[o],l=$i(a),f=n[o];(!Mr(T0(o,f),l)||!Mr(f.methods,c)||!Mr(f.events,u))&&(s=!1)}),s):!1}function va(t){return Se(t,!1)&&t.includes(":")?t.split(":").length===2:!1}function f9(t){if(Se(t,!1)&&t.includes(":")){const e=t.split(":");if(e.length===3){const n=e[0]+":"+e[1];return!!e[2]&&va(n)}}return!1}function h9(t){function e(n){try{return typeof new URL(n)<"u"}catch{return!1}}try{if(Se(t,!1)){if(e(t))return!0;const n=z0(t);return e(n)}}catch{}return!1}function d9(t){var e;return(e=t?.proposer)==null?void 0:e.publicKey}function p9(t){return t?.topic}function g9(t,e){let n=null;return Se(t?.publicKey,!1)||(n=G("MISSING_OR_INVALID",`${e} controller public key should be a string`)),n}function B1(t){let e=!0;return Pi(t)?t.length&&(e=t.every(n=>Se(n,!1))):e=!1,e}function y9(t,e,n){let r=null;return Pi(e)&&e.length?e.forEach(i=>{r||va(i)||(r=Ee("UNSUPPORTED_CHAINS",`${n}, chain ${i} should be a string and conform to "namespace:chainId" format`))}):va(t)||(r=Ee("UNSUPPORTED_CHAINS",`${n}, chains must be defined as "namespace:chainId" e.g. "eip155:1": {...} in the namespace key OR as an array of CAIP-2 chainIds e.g. eip155: { chains: ["eip155:1", "eip155:5"] }`)),r}function b9(t,e,n){let r=null;return Object.entries(t).forEach(([i,s])=>{if(r)return;const o=y9(i,T0(i,s),`${e} ${n}`);o&&(r=o)}),r}function w9(t,e){let n=null;return Pi(t)?t.forEach(r=>{n||f9(r)||(n=Ee("UNSUPPORTED_ACCOUNTS",`${e}, account ${r} should be a string and conform to "namespace:chainId:address" format`))}):n=Ee("UNSUPPORTED_ACCOUNTS",`${e}, accounts should be an array of strings conforming to "namespace:chainId:address" format`),n}function m9(t,e){let n=null;return Object.values(t).forEach(r=>{if(n)return;const i=w9(r?.accounts,`${e} namespace`);i&&(n=i)}),n}function v9(t,e){let n=null;return B1(t?.methods)?B1(t?.events)||(n=Ee("UNSUPPORTED_EVENTS",`${e}, events should be an array of strings or empty array for no events`)):n=Ee("UNSUPPORTED_METHODS",`${e}, methods should be an array of strings or empty array for no methods`),n}function O1(t,e){let n=null;return Object.values(t).forEach(r=>{if(n)return;const i=v9(r,`${e}, namespace`);i&&(n=i)}),n}function E9(t,e,n){let r=null;if(t&&As(t)){const i=O1(t,e);i&&(r=i);const s=b9(t,e,n);s&&(r=s)}else r=G("MISSING_OR_INVALID",`${e}, ${n} should be an object with data`);return r}function yl(t,e){let n=null;if(t&&As(t)){const r=O1(t,e);r&&(n=r);const i=m9(t,e);i&&(n=i)}else n=G("MISSING_OR_INVALID",`${e}, namespaces should be an object with data`);return n}function D1(t){return Se(t.protocol,!0)}function x9(t,e){let n=!1;return e&&!t?n=!0:t&&Pi(t)&&t.length&&t.forEach(r=>{n=D1(r)}),n}function _9(t){return typeof t=="number"}function Et(t){return typeof t<"u"&&typeof t!==null}function S9(t){return!(!t||typeof t!="object"||!t.code||!gl(t.code,!1)||!t.message||!Se(t.message,!1))}function I9(t){return!(Pe(t)||!Se(t.method,!1))}function A9(t){return!(Pe(t)||Pe(t.result)&&Pe(t.error)||!gl(t.id,!1)||!Se(t.jsonrpc,!1))}function B9(t){return!(Pe(t)||!Se(t.name,!1))}function $1(t,e){return!(!va(e)||!_1(t).includes(e))}function O9(t,e,n){return Se(n,!1)?r9(t,e).includes(n):!1}function D9(t,e,n){return Se(n,!1)?i9(t,e).includes(n):!1}function P1(t,e,n){let r=null;const i=$9(t),s=P9(e),o=Object.keys(i),a=Object.keys(s),c=T1(Object.keys(t)),u=T1(Object.keys(e)),l=c.filter(f=>!u.includes(f));return l.length&&(r=G("NON_CONFORMING_NAMESPACES",`${n} namespaces keys don't satisfy requiredNamespaces.
14
+ ***************************************************************************** */var Qc=function(t,e){return Qc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])},Qc(t,e)};function A2(t,e){Qc(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var _c=function(){return _c=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},_c.apply(this,arguments)};function P2(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function D2(t,e,n,r){var i=arguments.length,s=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function R2(t,e){return function(n,r){e(n,r,t)}}function T2(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function N2(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(l){try{u(r.next(l))}catch(f){o(f)}}function c(l){try{u(r.throw(l))}catch(f){o(f)}}function u(l){l.done?s(l.value):i(l.value).then(a,c)}u((r=r.apply(t,e||[])).next())})}function U2(t,e){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(u){return function(l){return c([u,l])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){n.label=u[1];break}if(u[0]===6&&n.label<s[1]){n.label=s[1],s=u;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(u);break}s[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(l){u=[6,l],i=0}finally{r=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function C2(t,e,n,r){r===void 0&&(r=n),t[r]=e[n]}function F2(t,e){for(var n in t)n!=="default"&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function $c(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function ad(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function q2(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(ad(arguments[e]));return t}function k2(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,i++)r[i]=s[o];return r}function Us(t){return this instanceof Us?(this.v=t,this):new Us(t)}function L2(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){r[d]&&(i[d]=function(h){return new Promise(function(p,w){s.push([d,h,p,w])>1||a(d,h)})})}function a(d,h){try{c(r[d](h))}catch(p){f(s[0][3],p)}}function c(d){d.value instanceof Us?Promise.resolve(d.value.v).then(u,l):f(s[0][2],d)}function u(d){a("next",d)}function l(d){a("throw",d)}function f(d,h){d(h),s.shift(),s.length&&a(s[0][0],s[0][1])}}function M2(t){var e,n;return e={},r("next"),r("throw",function(i){throw i}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(i,s){e[i]=t[i]?function(o){return(n=!n)?{value:Us(t[i](o)),done:i==="return"}:s?s(o):o}:s}}function j2(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof $c=="function"?$c(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=t[s]&&function(o){return new Promise(function(a,c){o=t[s](o),i(a,c,o.done,o.value)})}}function i(s,o,a,c){Promise.resolve(c).then(function(u){s({value:u,done:a})},o)}}function z2(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function K2(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function V2(t){return t&&t.__esModule?t:{default:t}}function H2(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function G2(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}var W2=Object.freeze({__proto__:null,__extends:A2,get __assign(){return _c},__rest:P2,__decorate:D2,__param:R2,__metadata:T2,__awaiter:N2,__generator:U2,__createBinding:C2,__exportStar:F2,__values:$c,__read:ad,__spread:q2,__spreadArrays:k2,__await:Us,__asyncGenerator:L2,__asyncDelegator:M2,__asyncValues:j2,__makeTemplateObject:z2,__importStar:K2,__importDefault:V2,__classPrivateFieldGet:H2,__classPrivateFieldSet:G2}),$o=Ch(W2),eu={},Cs={},cd;function Z2(){if(cd)return Cs;cd=1,Object.defineProperty(Cs,"__esModule",{value:!0}),Cs.delay=void 0;function t(e){return new Promise(n=>{setTimeout(()=>{n(!0)},e)})}return Cs.delay=t,Cs}var oi={},tu={},ai={},ud;function Y2(){return ud||(ud=1,Object.defineProperty(ai,"__esModule",{value:!0}),ai.ONE_THOUSAND=ai.ONE_HUNDRED=void 0,ai.ONE_HUNDRED=100,ai.ONE_THOUSAND=1e3),ai}var nu={},ld;function X2(){return ld||(ld=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ONE_YEAR=t.FOUR_WEEKS=t.THREE_WEEKS=t.TWO_WEEKS=t.ONE_WEEK=t.THIRTY_DAYS=t.SEVEN_DAYS=t.FIVE_DAYS=t.THREE_DAYS=t.ONE_DAY=t.TWENTY_FOUR_HOURS=t.TWELVE_HOURS=t.SIX_HOURS=t.THREE_HOURS=t.ONE_HOUR=t.SIXTY_MINUTES=t.THIRTY_MINUTES=t.TEN_MINUTES=t.FIVE_MINUTES=t.ONE_MINUTE=t.SIXTY_SECONDS=t.THIRTY_SECONDS=t.TEN_SECONDS=t.FIVE_SECONDS=t.ONE_SECOND=void 0,t.ONE_SECOND=1,t.FIVE_SECONDS=5,t.TEN_SECONDS=10,t.THIRTY_SECONDS=30,t.SIXTY_SECONDS=60,t.ONE_MINUTE=t.SIXTY_SECONDS,t.FIVE_MINUTES=t.ONE_MINUTE*5,t.TEN_MINUTES=t.ONE_MINUTE*10,t.THIRTY_MINUTES=t.ONE_MINUTE*30,t.SIXTY_MINUTES=t.ONE_MINUTE*60,t.ONE_HOUR=t.SIXTY_MINUTES,t.THREE_HOURS=t.ONE_HOUR*3,t.SIX_HOURS=t.ONE_HOUR*6,t.TWELVE_HOURS=t.ONE_HOUR*12,t.TWENTY_FOUR_HOURS=t.ONE_HOUR*24,t.ONE_DAY=t.TWENTY_FOUR_HOURS,t.THREE_DAYS=t.ONE_DAY*3,t.FIVE_DAYS=t.ONE_DAY*5,t.SEVEN_DAYS=t.ONE_DAY*7,t.THIRTY_DAYS=t.ONE_DAY*30,t.ONE_WEEK=t.SEVEN_DAYS,t.TWO_WEEKS=t.ONE_WEEK*2,t.THREE_WEEKS=t.ONE_WEEK*3,t.FOUR_WEEKS=t.ONE_WEEK*4,t.ONE_YEAR=t.ONE_DAY*365}(nu)),nu}var fd;function hd(){return fd||(fd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=$o;e.__exportStar(Y2(),t),e.__exportStar(X2(),t)}(tu)),tu}var dd;function J2(){if(dd)return oi;dd=1,Object.defineProperty(oi,"__esModule",{value:!0}),oi.fromMiliseconds=oi.toMiliseconds=void 0;const t=hd();function e(r){return r*t.ONE_THOUSAND}oi.toMiliseconds=e;function n(r){return Math.floor(r/t.ONE_THOUSAND)}return oi.fromMiliseconds=n,oi}var pd;function Q2(){return pd||(pd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=$o;e.__exportStar(Z2(),t),e.__exportStar(J2(),t)}(eu)),eu}var Hi={},gd;function _2(){if(gd)return Hi;gd=1,Object.defineProperty(Hi,"__esModule",{value:!0}),Hi.Watch=void 0;class t{constructor(){this.timestamps=new Map}start(n){if(this.timestamps.has(n))throw new Error(`Watch already started for label: ${n}`);this.timestamps.set(n,{started:Date.now()})}stop(n){const r=this.get(n);if(typeof r.elapsed<"u")throw new Error(`Watch already stopped for label: ${n}`);const i=Date.now()-r.started;this.timestamps.set(n,{started:r.started,elapsed:i})}get(n){const r=this.timestamps.get(n);if(typeof r>"u")throw new Error(`No timestamp found for label: ${n}`);return r}elapsed(n){const r=this.get(n);return r.elapsed||Date.now()-r.started}}return Hi.Watch=t,Hi.default=t,Hi}var ru={},Fs={},bd;function $2(){if(bd)return Fs;bd=1,Object.defineProperty(Fs,"__esModule",{value:!0}),Fs.IWatch=void 0;class t{}return Fs.IWatch=t,Fs}var wd;function e3(){return wd||(wd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),$o.__exportStar($2(),t)}(ru)),ru}(function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=$o;e.__exportStar(Q2(),t),e.__exportStar(_2(),t),e.__exportStar(e3(),t),e.__exportStar(hd(),t)})(J);var De={};Object.defineProperty(De,"__esModule",{value:!0}),De.getLocalStorage=De.getLocalStorageOrThrow=De.getCrypto=De.getCryptoOrThrow=yd=De.getLocation=De.getLocationOrThrow=iu=De.getNavigator=De.getNavigatorOrThrow=ui=De.getDocument=De.getDocumentOrThrow=De.getFromWindowOrThrow=De.getFromWindow=void 0;function ci(t){let e;return typeof window<"u"&&typeof window[t]<"u"&&(e=window[t]),e}De.getFromWindow=ci;function Gi(t){const e=ci(t);if(!e)throw new Error(`${t} is not defined in Window`);return e}De.getFromWindowOrThrow=Gi;function t3(){return Gi("document")}De.getDocumentOrThrow=t3;function n3(){return ci("document")}var ui=De.getDocument=n3;function r3(){return Gi("navigator")}De.getNavigatorOrThrow=r3;function i3(){return ci("navigator")}var iu=De.getNavigator=i3;function s3(){return Gi("location")}De.getLocationOrThrow=s3;function o3(){return ci("location")}var yd=De.getLocation=o3;function a3(){return Gi("crypto")}De.getCryptoOrThrow=a3;function c3(){return ci("crypto")}De.getCrypto=c3;function u3(){return Gi("localStorage")}De.getLocalStorageOrThrow=u3;function l3(){return ci("localStorage")}De.getLocalStorage=l3;var su={};Object.defineProperty(su,"__esModule",{value:!0});var md=su.getWindowMetadata=void 0;const vd=De;function f3(){let t,e;try{t=vd.getDocumentOrThrow(),e=vd.getLocationOrThrow()}catch{return null}function n(){const f=t.getElementsByTagName("link"),d=[];for(let h=0;h<f.length;h++){const p=f[h],w=p.getAttribute("rel");if(w&&w.toLowerCase().indexOf("icon")>-1){const m=p.getAttribute("href");if(m)if(m.toLowerCase().indexOf("https:")===-1&&m.toLowerCase().indexOf("http:")===-1&&m.indexOf("//")!==0){let P=e.protocol+"//"+e.host;if(m.indexOf("/")===0)P+=m;else{const T=e.pathname.split("/");T.pop();const I=T.join("/");P+=I+"/"+m}d.push(P)}else if(m.indexOf("//")===0){const P=e.protocol+m;d.push(P)}else d.push(m)}}return d}function r(...f){const d=t.getElementsByTagName("meta");for(let h=0;h<d.length;h++){const p=d[h],w=["itemprop","property","name"].map(m=>p.getAttribute(m)).filter(m=>m?f.includes(m):!1);if(w.length&&w){const m=p.getAttribute("content");if(m)return m}}return""}function i(){let f=r("name","og:site_name","og:title","twitter:title");return f||(f=t.title),f}function s(){return r("description","og:description","twitter:description","keywords")}const o=i(),a=s(),c=e.origin,u=n();return{description:a,url:c,icons:u,name:o}}md=su.getWindowMetadata=f3;const h3="0.1.1";function d3(){return h3}class Ae extends Error{constructor(e,n={}){const r=(()=>{if(n.cause instanceof Ae){if(n.cause.details)return n.cause.details;if(n.cause.shortMessage)return n.cause.shortMessage}return n.cause&&"details"in n.cause&&typeof n.cause.details=="string"?n.cause.details:n.cause?.message?n.cause.message:n.details})(),i=n.cause instanceof Ae&&n.cause.docsPath||n.docsPath,o=`https://oxlib.sh${i??""}`,a=[e||"An error occurred.",...n.metaMessages?["",...n.metaMessages]:[],...r||i?["",r?`Details: ${r}`:void 0,i?`See: ${o}`:void 0]:[]].filter(c=>typeof c=="string").join(`
15
+ `);super(a,n.cause?{cause:n.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:`ox@${d3()}`}),this.cause=n.cause,this.details=r,this.docs=o,this.docsPath=i,this.shortMessage=e}walk(e){return Ed(this,e)}}function Ed(t,e){return e?.(t)?t:t&&typeof t=="object"&&"cause"in t&&t.cause?Ed(t.cause,e):e?null:t}const Wi=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function p3(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function qs(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function li(t,...e){if(!p3(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function g3(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");qs(t.outputLen),qs(t.blockLen)}function Zi(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function xd(t,e){li(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function b3(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function mr(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function ou(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function An(t,e){return t<<32-e|t>>>e}const w3=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function y3(t){return t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}function m3(t){for(let e=0;e<t.length;e++)t[e]=y3(t[e]);return t}const Id=w3?t=>t:m3;function v3(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function ea(t){return typeof t=="string"&&(t=v3(t)),li(t),t}function E3(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];li(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}class au{}function ta(t){const e=r=>t().update(ea(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function Sd(t=32){if(Wi&&typeof Wi.getRandomValues=="function")return Wi.getRandomValues(new Uint8Array(t));if(Wi&&typeof Wi.randomBytes=="function")return Uint8Array.from(Wi.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}function x3(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}function I3(t,e,n){return t&e^~t&n}function S3(t,e,n){return t&e^t&n^e&n}class Bd extends au{constructor(e,n,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=ou(this.buffer)}update(e){Zi(this),e=ea(e),li(e);const{view:n,buffer:r,blockLen:i}=this,s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=ou(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){Zi(this),xd(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,mr(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(r,0),o=0);for(let f=o;f<i;f++)n[f]=0;x3(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=ou(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=c/4,l=this.get();if(u>l.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f<u;f++)a.setUint32(4*f,l[f],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=s,e.length=i,e.pos=a,i%n&&e.buffer.set(r),e}clone(){return this._cloneInto()}}const Kn=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),lt=Uint32Array.from([3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]),ft=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),na=BigInt(2**32-1),Od=BigInt(32);function B3(t,e=!1){return e?{h:Number(t&na),l:Number(t>>Od&na)}:{h:Number(t>>Od&na)|0,l:Number(t&na)|0}}function Ad(t,e=!1){const n=t.length;let r=new Uint32Array(n),i=new Uint32Array(n);for(let s=0;s<n;s++){const{h:o,l:a}=B3(t[s],e);[r[s],i[s]]=[o,a]}return[r,i]}const Pd=(t,e,n)=>t>>>n,Dd=(t,e,n)=>t<<32-n|e>>>n,Yi=(t,e,n)=>t>>>n|e<<32-n,Xi=(t,e,n)=>t<<32-n|e>>>n,ra=(t,e,n)=>t<<64-n|e>>>n-32,ia=(t,e,n)=>t>>>n-32|e<<64-n,O3=(t,e,n)=>t<<n|e>>>32-n,A3=(t,e,n)=>e<<n|t>>>32-n,P3=(t,e,n)=>e<<n-32|t>>>64-n,D3=(t,e,n)=>t<<n-32|e>>>64-n;function Vn(t,e,n,r){const i=(e>>>0)+(r>>>0);return{h:t+n+(i/2**32|0)|0,l:i|0}}const R3=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),T3=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,N3=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),U3=(t,e,n,r,i)=>e+n+r+i+(t/2**32|0)|0,C3=(t,e,n,r,i)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0),F3=(t,e,n,r,i,s)=>e+n+r+i+s+(t/2**32|0)|0,q3=BigInt(0),ks=BigInt(1),k3=BigInt(2),L3=BigInt(7),M3=BigInt(256),j3=BigInt(113),Rd=[],Td=[],Nd=[];for(let t=0,e=ks,n=1,r=0;t<24;t++){[n,r]=[r,(2*n+3*r)%5],Rd.push(2*(5*r+n)),Td.push((t+1)*(t+2)/2%64);let i=q3;for(let s=0;s<7;s++)e=(e<<ks^(e>>L3)*j3)%M3,e&k3&&(i^=ks<<(ks<<BigInt(s))-ks);Nd.push(i)}const Ud=Ad(Nd,!0),z3=Ud[0],K3=Ud[1],Cd=(t,e,n)=>n>32?P3(t,e,n):O3(t,e,n),Fd=(t,e,n)=>n>32?D3(t,e,n):A3(t,e,n);function V3(t,e=24){const n=new Uint32Array(10);for(let r=24-e;r<24;r++){for(let o=0;o<10;o++)n[o]=t[o]^t[o+10]^t[o+20]^t[o+30]^t[o+40];for(let o=0;o<10;o+=2){const a=(o+8)%10,c=(o+2)%10,u=n[c],l=n[c+1],f=Cd(u,l,1)^n[a],d=Fd(u,l,1)^n[a+1];for(let h=0;h<50;h+=10)t[o+h]^=f,t[o+h+1]^=d}let i=t[2],s=t[3];for(let o=0;o<24;o++){const a=Td[o],c=Cd(i,s,a),u=Fd(i,s,a),l=Rd[o];i=t[l],s=t[l+1],t[l]=c,t[l+1]=u}for(let o=0;o<50;o+=10){for(let a=0;a<10;a++)n[a]=t[o+a];for(let a=0;a<10;a++)t[o+a]^=~n[(a+2)%10]&n[(a+4)%10]}t[0]^=z3[r],t[1]^=K3[r]}mr(n)}class cu extends au{constructor(e,n,r,i=!1,s=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=n,this.outputLen=r,this.enableXOF=i,this.rounds=s,qs(r),!(0<e&&e<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=b3(this.state)}clone(){return this._cloneInto()}keccak(){Id(this.state32),V3(this.state32,this.rounds),Id(this.state32),this.posOut=0,this.pos=0}update(e){Zi(this),e=ea(e),li(e);const{blockLen:n,state:r}=this,i=e.length;for(let s=0;s<i;){const o=Math.min(n-this.pos,i-s);for(let a=0;a<o;a++)r[this.pos++]^=e[s++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:n,pos:r,blockLen:i}=this;e[r]^=n,(n&128)!==0&&r===i-1&&this.keccak(),e[i-1]^=128,this.keccak()}writeInto(e){Zi(this,!1),li(e),this.finish();const n=this.state,{blockLen:r}=this;for(let i=0,s=e.length;i<s;){this.posOut>=r&&this.keccak();const o=Math.min(r-this.posOut,s-i);e.set(n.subarray(this.posOut,this.posOut+o),i),this.posOut+=o,i+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return qs(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(xd(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,mr(this.state)}_cloneInto(e){const{blockLen:n,suffix:r,outputLen:i,rounds:s,enableXOF:o}=this;return e||(e=new cu(n,r,i,o,s)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=s,e.suffix=r,e.outputLen=i,e.enableXOF=o,e.destroyed=this.destroyed,e}}const H3=(t,e,n)=>ta(()=>new cu(e,t,n)),G3=H3(1,136,256/8),W3=Uint32Array.from([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]),vr=new Uint32Array(64);class Z3 extends Bd{constructor(e=32){super(64,e,8,!1),this.A=Kn[0]|0,this.B=Kn[1]|0,this.C=Kn[2]|0,this.D=Kn[3]|0,this.E=Kn[4]|0,this.F=Kn[5]|0,this.G=Kn[6]|0,this.H=Kn[7]|0}get(){const{A:e,B:n,C:r,D:i,E:s,F:o,G:a,H:c}=this;return[e,n,r,i,s,o,a,c]}set(e,n,r,i,s,o,a,c){this.A=e|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=s|0,this.F=o|0,this.G=a|0,this.H=c|0}process(e,n){for(let f=0;f<16;f++,n+=4)vr[f]=e.getUint32(n,!1);for(let f=16;f<64;f++){const d=vr[f-15],h=vr[f-2],p=An(d,7)^An(d,18)^d>>>3,w=An(h,17)^An(h,19)^h>>>10;vr[f]=w+vr[f-7]+p+vr[f-16]|0}let{A:r,B:i,C:s,D:o,E:a,F:c,G:u,H:l}=this;for(let f=0;f<64;f++){const d=An(a,6)^An(a,11)^An(a,25),h=l+d+I3(a,c,u)+W3[f]+vr[f]|0,w=(An(r,2)^An(r,13)^An(r,22))+S3(r,i,s)|0;l=u,u=c,c=a,a=o+h|0,o=s,s=i,i=r,r=h+w|0}r=r+this.A|0,i=i+this.B|0,s=s+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,u=u+this.G|0,l=l+this.H|0,this.set(r,i,s,o,a,c,u,l)}roundClean(){mr(vr)}destroy(){this.set(0,0,0,0,0,0,0,0),mr(this.buffer)}}const qd=Ad(["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(t=>BigInt(t))),Y3=qd[0],X3=qd[1],Er=new Uint32Array(80),xr=new Uint32Array(80);class kd extends Bd{constructor(e=64){super(128,e,16,!1),this.Ah=ft[0]|0,this.Al=ft[1]|0,this.Bh=ft[2]|0,this.Bl=ft[3]|0,this.Ch=ft[4]|0,this.Cl=ft[5]|0,this.Dh=ft[6]|0,this.Dl=ft[7]|0,this.Eh=ft[8]|0,this.El=ft[9]|0,this.Fh=ft[10]|0,this.Fl=ft[11]|0,this.Gh=ft[12]|0,this.Gl=ft[13]|0,this.Hh=ft[14]|0,this.Hl=ft[15]|0}get(){const{Ah:e,Al:n,Bh:r,Bl:i,Ch:s,Cl:o,Dh:a,Dl:c,Eh:u,El:l,Fh:f,Fl:d,Gh:h,Gl:p,Hh:w,Hl:m}=this;return[e,n,r,i,s,o,a,c,u,l,f,d,h,p,w,m]}set(e,n,r,i,s,o,a,c,u,l,f,d,h,p,w,m){this.Ah=e|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=c|0,this.Eh=u|0,this.El=l|0,this.Fh=f|0,this.Fl=d|0,this.Gh=h|0,this.Gl=p|0,this.Hh=w|0,this.Hl=m|0}process(e,n){for(let I=0;I<16;I++,n+=4)Er[I]=e.getUint32(n),xr[I]=e.getUint32(n+=4);for(let I=16;I<80;I++){const x=Er[I-15]|0,S=xr[I-15]|0,U=Yi(x,S,1)^Yi(x,S,8)^Pd(x,S,7),k=Xi(x,S,1)^Xi(x,S,8)^Dd(x,S,7),F=Er[I-2]|0,R=xr[I-2]|0,G=Yi(F,R,19)^ra(F,R,61)^Pd(F,R,6),H=Xi(F,R,19)^ia(F,R,61)^Dd(F,R,6),E=N3(k,H,xr[I-7],xr[I-16]),b=U3(E,U,G,Er[I-7],Er[I-16]);Er[I]=b|0,xr[I]=E|0}let{Ah:r,Al:i,Bh:s,Bl:o,Ch:a,Cl:c,Dh:u,Dl:l,Eh:f,El:d,Fh:h,Fl:p,Gh:w,Gl:m,Hh:P,Hl:T}=this;for(let I=0;I<80;I++){const x=Yi(f,d,14)^Yi(f,d,18)^ra(f,d,41),S=Xi(f,d,14)^Xi(f,d,18)^ia(f,d,41),U=f&h^~f&w,k=d&p^~d&m,F=C3(T,S,k,X3[I],xr[I]),R=F3(F,P,x,U,Y3[I],Er[I]),G=F|0,H=Yi(r,i,28)^ra(r,i,34)^ra(r,i,39),E=Xi(r,i,28)^ia(r,i,34)^ia(r,i,39),b=r&s^r&a^s&a,v=i&o^i&c^o&c;P=w|0,T=m|0,w=h|0,m=p|0,h=f|0,p=d|0,{h:f,l:d}=Vn(u|0,l|0,R|0,G|0),u=a|0,l=c|0,a=s|0,c=o|0,s=r|0,o=i|0;const g=R3(G,E,v);r=T3(g,R,H,b),i=g|0}({h:r,l:i}=Vn(this.Ah|0,this.Al|0,r|0,i|0)),{h:s,l:o}=Vn(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l:c}=Vn(this.Ch|0,this.Cl|0,a|0,c|0),{h:u,l}=Vn(this.Dh|0,this.Dl|0,u|0,l|0),{h:f,l:d}=Vn(this.Eh|0,this.El|0,f|0,d|0),{h,l:p}=Vn(this.Fh|0,this.Fl|0,h|0,p|0),{h:w,l:m}=Vn(this.Gh|0,this.Gl|0,w|0,m|0),{h:P,l:T}=Vn(this.Hh|0,this.Hl|0,P|0,T|0),this.set(r,i,s,o,a,c,u,l,f,d,h,p,w,m,P,T)}roundClean(){mr(Er,xr)}destroy(){mr(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class J3 extends kd{constructor(){super(48),this.Ah=lt[0]|0,this.Al=lt[1]|0,this.Bh=lt[2]|0,this.Bl=lt[3]|0,this.Ch=lt[4]|0,this.Cl=lt[5]|0,this.Dh=lt[6]|0,this.Dl=lt[7]|0,this.Eh=lt[8]|0,this.El=lt[9]|0,this.Fh=lt[10]|0,this.Fl=lt[11]|0,this.Gh=lt[12]|0,this.Gl=lt[13]|0,this.Hh=lt[14]|0,this.Hl=lt[15]|0}}const sa=ta(()=>new Z3),Q3=ta(()=>new kd),_3=ta(()=>new J3);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const uu=BigInt(0),oa=BigInt(1);function Ls(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Ir(t){if(!Ls(t))throw new Error("Uint8Array expected")}function Ms(t,e){if(typeof e!="boolean")throw new Error(t+" boolean expected, got "+e)}function aa(t){const e=t.toString(16);return e.length&1?"0"+e:e}function Ld(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?uu:BigInt("0x"+t)}const Md=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",$3=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function fi(t){if(Ir(t),Md)return t.toHex();let e="";for(let n=0;n<t.length;n++)e+=$3[t[n]];return e}const Hn={_0:48,_9:57,A:65,F:70,a:97,f:102};function jd(t){if(t>=Hn._0&&t<=Hn._9)return t-Hn._0;if(t>=Hn.A&&t<=Hn.F)return t-(Hn.A-10);if(t>=Hn.a&&t<=Hn.f)return t-(Hn.a-10)}function ca(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(Md)return Uint8Array.fromHex(t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=jd(t.charCodeAt(s)),a=jd(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function Et(t){return Ld(fi(t))}function zd(t){return Ir(t),Ld(fi(Uint8Array.from(t).reverse()))}function ze(t,e){return ca(t.toString(16).padStart(e*2,"0"))}function Kd(t,e){return ze(t,e).reverse()}function ht(t,e,n){let r;if(typeof e=="string")try{r=ca(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(Ls(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}function Fe(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];Ir(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}function lu(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}const fu=t=>typeof t=="bigint"&&uu<=t;function hu(t,e,n){return fu(t)&&fu(e)&&fu(n)&&e<=t&&t<n}function Ji(t,e,n,r){if(!hu(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function js(t){let e;for(e=0;t>uu;t>>=oa,e+=1);return e}function ev(t,e){return t>>BigInt(e)&oa}const hi=t=>(oa<<BigInt(t))-oa,du=t=>new Uint8Array(t),Vd=t=>Uint8Array.from(t);function tv(t,e,n){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");let r=du(t),i=du(t),s=0;const o=()=>{r.fill(1),i.fill(0),s=0},a=(...f)=>n(i,r,...f),c=(f=du(0))=>{i=a(Vd([0]),f),r=a(),f.length!==0&&(i=a(Vd([1]),f),r=a())},u=()=>{if(s++>=1e3)throw new Error("drbg: tried 1000 values");let f=0;const d=[];for(;f<e;){r=a();const h=r.slice();d.push(h),f+=r.length}return Fe(...d)};return(f,d)=>{o(),c(f);let h;for(;!(h=d(u()));)c();return o(),h}}const nv={bigint:t=>typeof t=="bigint",function:t=>typeof t=="function",boolean:t=>typeof t=="boolean",string:t=>typeof t=="string",stringOrUint8Array:t=>typeof t=="string"||Ls(t),isSafeInteger:t=>Number.isSafeInteger(t),array:t=>Array.isArray(t),field:(t,e)=>e.Fp.isValid(t),hash:t=>typeof t=="function"&&Number.isSafeInteger(t.outputLen)};function zs(t,e,n={}){const r=(i,s,o)=>{const a=nv[s];if(typeof a!="function")throw new Error("invalid validator function");const c=t[i];if(!(o&&c===void 0)&&!a(c,t))throw new Error("param "+String(i)+" is invalid. Expected "+s+", got "+c)};for(const[i,s]of Object.entries(e))r(i,s,!1);for(const[i,s]of Object.entries(n))r(i,s,!0);return t}const Hd=()=>{throw new Error("not implemented")};function pu(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}function rv(t,e){if(Jd(t)>e)throw new Bv({givenSize:Jd(t),maxSize:e})}const Gn={zero:48,nine:57,A:65,F:70,a:97,f:102};function Gd(t){if(t>=Gn.zero&&t<=Gn.nine)return t-Gn.zero;if(t>=Gn.A&&t<=Gn.F)return t-(Gn.A-10);if(t>=Gn.a&&t<=Gn.f)return t-(Gn.a-10)}function iv(t,e={}){const{dir:n,size:r=32}=e;if(r===0)return t;if(t.length>r)throw new Ov({size:t.length,targetSize:r,type:"Bytes"});const i=new Uint8Array(r);for(let s=0;s<r;s++){const o=n==="right";i[o?s:r-s-1]=t[o?s:t.length-s-1]}return i}function gu(t,e){if(Zn(t)>e)throw new gv({givenSize:Zn(t),maxSize:e})}function sv(t,e){if(typeof e=="number"&&e>0&&e>Zn(t)-1)throw new Xd({offset:e,position:"start",size:Zn(t)})}function ov(t,e,n){if(typeof e=="number"&&typeof n=="number"&&Zn(t)!==n-e)throw new Xd({offset:n,position:"end",size:Zn(t)})}function Wd(t,e={}){const{dir:n,size:r=32}=e;if(r===0)return t;const i=t.replace("0x","");if(i.length>r*2)throw new bv({size:Math.ceil(i.length/2),targetSize:r,type:"Hex"});return`0x${i[n==="right"?"padEnd":"padStart"](r*2,"0")}`}const av="#__bigint";function bu(t,e,n){return JSON.stringify(t,(r,i)=>typeof e=="function"?e(r,i):typeof i=="bigint"?i.toString()+av:i,n)}const cv=new TextEncoder,uv=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function lv(t,e={}){const{strict:n=!1}=e;if(!t)throw new Zd(t);if(typeof t!="string")throw new Zd(t);if(n&&!/^0x[0-9a-fA-F]*$/.test(t))throw new Yd(t);if(!t.startsWith("0x"))throw new Yd(t)}function wu(...t){return`0x${t.reduce((e,n)=>e+n.replace("0x",""),"")}`}function yu(t){return t instanceof Uint8Array?Ks(t):Array.isArray(t)?Ks(new Uint8Array(t)):t}function fv(t,e={}){const n=`0x${Number(t)}`;return typeof e.size=="number"?(gu(n,e.size),la(n,e.size)):n}function Ks(t,e={}){let n="";for(let i=0;i<t.length;i++)n+=uv[t[i]];const r=`0x${n}`;return typeof e.size=="number"?(gu(r,e.size),mu(r,e.size)):r}function ua(t,e={}){const{signed:n,size:r}=e,i=BigInt(t);let s;r?n?s=(1n<<BigInt(r)*8n-1n)-1n:s=2n**(BigInt(r)*8n)-1n:typeof t=="number"&&(s=BigInt(Number.MAX_SAFE_INTEGER));const o=typeof s=="bigint"&&n?-s-1n:0;if(s&&i>s||i<o){const u=typeof t=="bigint"?"n":"";throw new pv({max:s?`${s}${u}`:void 0,min:`${o}${u}`,signed:n,size:r,value:`${t}${u}`})}const c=`0x${(n&&i<0?(1n<<BigInt(r*8))+BigInt(i):i).toString(16)}`;return r?la(c,r):c}function hv(t,e={}){return Ks(cv.encode(t),e)}function la(t,e){return Wd(t,{dir:"left",size:e})}function mu(t,e){return Wd(t,{dir:"right",size:e})}function Wn(t,e,n,r={}){const{strict:i}=r;sv(t,e);const s=`0x${t.replace("0x","").slice((e??0)*2,(n??t.length)*2)}`;return i&&ov(s,e,n),s}function Zn(t){return Math.ceil((t.length-2)/2)}function dv(t,e={}){const{strict:n=!1}=e;try{return lv(t,{strict:n}),!0}catch{return!1}}class pv extends Ae{constructor({max:e,min:n,signed:r,size:i,value:s}){super(`Number \`${s}\` is not in safe${i?` ${i*8}-bit`:""}${r?" signed":" unsigned"} integer range ${e?`(\`${n}\` to \`${e}\`)`:`(above \`${n}\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}}class Zd extends Ae{constructor(e){super(`Value \`${typeof e=="object"?bu(e):e}\` of type \`${typeof e}\` is an invalid hex type.`,{metaMessages:['Hex types must be represented as `"0x${string}"`.']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class Yd extends Ae{constructor(e){super(`Value \`${e}\` is an invalid hex value.`,{metaMessages:['Hex values must start with `"0x"` and contain only hexadecimal characters (0-9, a-f, A-F).']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexValueError"})}}class gv extends Ae{constructor({givenSize:e,maxSize:n}){super(`Size cannot exceed \`${n}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeOverflowError"})}}class Xd extends Ae{constructor({offset:e,position:n,size:r}){super(`Slice ${n==="start"?"starting":"ending"} at offset \`${e}\` is out-of-bounds (size: \`${r}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}}class bv extends Ae{constructor({size:e,targetSize:n,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}}const wv=new TextEncoder;function yv(t){if(!(t instanceof Uint8Array)){if(!t)throw new fa(t);if(typeof t!="object")throw new fa(t);if(!("BYTES_PER_ELEMENT"in t))throw new fa(t);if(t.BYTES_PER_ELEMENT!==1||t.constructor.name!=="Uint8Array")throw new fa(t)}}function mv(t){return t instanceof Uint8Array?t:typeof t=="string"?Ev(t):vv(t)}function vv(t){return t instanceof Uint8Array?t:new Uint8Array(t)}function Ev(t,e={}){const{size:n}=e;let r=t;n&&(gu(t,n),r=mu(t,n));let i=r.slice(2);i.length%2&&(i=`0${i}`);const s=i.length/2,o=new Uint8Array(s);for(let a=0,c=0;a<s;a++){const u=Gd(i.charCodeAt(c++)),l=Gd(i.charCodeAt(c++));if(u===void 0||l===void 0)throw new Ae(`Invalid byte sequence ("${i[c-2]}${i[c-1]}" in "${i}").`);o[a]=u*16+l}return o}function xv(t,e={}){const{size:n}=e,r=wv.encode(t);return typeof n=="number"?(rv(r,n),Iv(r,n)):r}function Iv(t,e){return iv(t,{dir:"right",size:e})}function Jd(t){return t.length}function Sv(t){try{return yv(t),!0}catch{return!1}}class fa extends Ae{constructor(e){super(`Value \`${typeof e=="object"?bu(e):e}\` of type \`${typeof e}\` is an invalid Bytes value.`,{metaMessages:["Bytes values must be of type `Bytes`."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.InvalidBytesTypeError"})}}class Bv extends Ae{constructor({givenSize:e,maxSize:n}){super(`Size cannot exceed \`${n}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeOverflowError"})}}class Ov extends Ae{constructor({size:e,targetSize:n,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeExceedsPaddingSizeError"})}}function Qd(t,e={}){const{as:n=typeof t=="string"?"Hex":"Bytes"}=e,r=G3(mv(t));return n==="Bytes"?r:Ks(r)}class Av extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){const n=super.get(e);return super.has(e)&&n!==void 0&&(this.delete(e),super.set(e,n)),n}set(e,n){if(super.set(e,n),this.maxSize&&this.size>this.maxSize){const r=this.keys().next().value;r&&this.delete(r)}return this}}const vu={checksum:new Av(8192)}.checksum;function _d(t,e={}){const{compressed:n}=e,{prefix:r,x:i,y:s}=t;if(n===!1||typeof i=="bigint"&&typeof s=="bigint"){if(r!==4)throw new e0({prefix:r,cause:new Uv});return}if(n===!0||typeof i=="bigint"&&typeof s>"u"){if(r!==3&&r!==2)throw new e0({prefix:r,cause:new Nv});return}throw new Tv({publicKey:t})}function Pv(t){const e=(()=>{if(dv(t))return $d(t);if(Sv(t))return Dv(t);const{prefix:n,x:r,y:i}=t;return typeof r=="bigint"&&typeof i=="bigint"?{prefix:n??4,x:r,y:i}:{prefix:n,x:r}})();return _d(e),e}function Dv(t){return $d(Ks(t))}function $d(t){if(t.length!==132&&t.length!==130&&t.length!==68)throw new Cv({publicKey:t});if(t.length===130){const r=BigInt(Wn(t,0,32)),i=BigInt(Wn(t,32,64));return{prefix:4,x:r,y:i}}if(t.length===132){const r=Number(Wn(t,0,1)),i=BigInt(Wn(t,1,33)),s=BigInt(Wn(t,33,65));return{prefix:r,x:i,y:s}}const e=Number(Wn(t,0,1)),n=BigInt(Wn(t,1,33));return{prefix:e,x:n}}function Rv(t,e={}){_d(t);const{prefix:n,x:r,y:i}=t,{includePrefix:s=!0}=e;return wu(s?ua(n,{size:1}):"0x",ua(r,{size:32}),typeof i=="bigint"?ua(i,{size:32}):"0x")}class Tv extends Ae{constructor({publicKey:e}){super(`Value \`${bu(e)}\` is not a valid public key.`,{metaMessages:["Public key must contain:","- an `x` and `prefix` value (compressed)","- an `x`, `y`, and `prefix` value (uncompressed)"]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidError"})}}class e0 extends Ae{constructor({prefix:e,cause:n}){super(`Prefix "${e}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidPrefixError"})}}class Nv extends Ae{constructor(){super("Prefix must be 2 or 3 for compressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidCompressedPrefixError"})}}class Uv extends Ae{constructor(){super("Prefix must be 4 for uncompressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidUncompressedPrefixError"})}}class Cv extends Ae{constructor({publicKey:e}){super(`Value \`${e}\` is an invalid public key size.`,{metaMessages:["Expected: 33 bytes (compressed + prefix), 64 bytes (uncompressed) or 65 bytes (uncompressed + prefix).",`Received ${Zn(yu(e))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidSerializedSizeError"})}}const Fv=/^0x[a-fA-F0-9]{40}$/;function Eu(t,e={}){const{strict:n=!0}=e;if(!Fv.test(t))throw new n0({address:t,cause:new Lv});if(n){if(t.toLowerCase()===t)return;if(t0(t)!==t)throw new n0({address:t,cause:new Mv})}}function t0(t){if(vu.has(t))return vu.get(t);Eu(t,{strict:!1});const e=t.substring(2).toLowerCase(),n=Qd(xv(e),{as:"Bytes"}),r=e.split("");for(let s=0;s<40;s+=2)n[s>>1]>>4>=8&&r[s]&&(r[s]=r[s].toUpperCase()),(n[s>>1]&15)>=8&&r[s+1]&&(r[s+1]=r[s+1].toUpperCase());const i=`0x${r.join("")}`;return vu.set(t,i),i}function qv(t,e={}){const{checksum:n=!1}=e;return Eu(t),n?t0(t):t}function kv(t,e={}){const n=Qd(`0x${Rv(t).slice(4)}`).substring(26);return qv(`0x${n}`,e)}class n0 extends Ae{constructor({address:e,cause:n}){super(`Address "${e}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidAddressError"})}}class Lv extends Ae{constructor(){super("Address is not a 20 byte (40 hexadecimal character) value."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidInputError"})}}class Mv extends Ae{constructor(){super("Address does not match its checksum counterpart."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidChecksumError"})}}const jv=/^(.*)\[([0-9]*)\]$/,zv=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,Kv=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;function xu(t,e){if(t.length!==e.length)throw new Hv({expectedLength:t.length,givenLength:e.length});const n=[];for(let r=0;r<t.length;r++){const i=t[r],s=e[r];n.push(xu.encode(i,s))}return wu(...n)}(function(t){function e(n,r,i=!1){if(n==="address"){const c=r;return Eu(c),la(c.toLowerCase(),i?32:0)}if(n==="string")return hv(r);if(n==="bytes")return r;if(n==="bool")return la(fv(r),i?32:1);const s=n.match(Kv);if(s){const[c,u,l="256"]=s,f=Number.parseInt(l,10)/8;return ua(r,{size:i?32:f,signed:u==="int"})}const o=n.match(zv);if(o){const[c,u]=o;if(Number.parseInt(u,10)!==(r.length-2)/2)throw new Vv({expectedSize:Number.parseInt(u,10),value:r});return mu(r,i?32:0)}const a=n.match(jv);if(a&&Array.isArray(r)){const[c,u]=a,l=[];for(let f=0;f<r.length;f++)l.push(e(u,r[f],!0));return l.length===0?"0x":wu(...l)}throw new Gv(n)}t.encode=e})(xu||(xu={}));class Vv extends Ae{constructor({expectedSize:e,value:n}){super(`Size of bytes "${n}" (bytes${Zn(n)}) does not match expected size (bytes${e}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.BytesSizeMismatchError"})}}class Hv extends Ae{constructor({expectedLength:e,givenLength:n}){super(["ABI encoding parameters/values length mismatch.",`Expected length (parameters): ${e}`,`Given length (values): ${n}`].join(`
16
+ `)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.LengthMismatchError"})}}class Gv extends Ae{constructor(e){super(`Type \`${e}\` is not a valid ABI Type.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidTypeError"})}}class r0 extends au{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,g3(e);const r=ea(n);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;const i=this.blockLen,s=new Uint8Array(i);s.set(r.length>i?e.create().update(r).digest():r);for(let o=0;o<s.length;o++)s[o]^=54;this.iHash.update(s),this.oHash=e.create();for(let o=0;o<s.length;o++)s[o]^=106;this.oHash.update(s),mr(s)}update(e){return Zi(this),this.iHash.update(e),this}digestInto(e){Zi(this),li(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:r,finished:i,destroyed:s,blockLen:o,outputLen:a}=this;return e=e,e.finished=i,e.destroyed=s,e.blockLen=o,e.outputLen=a,e.oHash=n._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const i0=(t,e,n)=>new r0(t,e).update(n).digest();i0.create=(t,e)=>new r0(t,e);const Tt=BigInt(0),xt=BigInt(1),di=BigInt(2),Wv=BigInt(3),s0=BigInt(4),o0=BigInt(5),a0=BigInt(8);function It(t,e){const n=t%e;return n>=Tt?n:e+n}function en(t,e,n){let r=t;for(;e-- >Tt;)r*=r,r%=n;return r}function Iu(t,e){if(t===Tt)throw new Error("invert: expected non-zero number");if(e<=Tt)throw new Error("invert: expected positive modulus, got "+e);let n=It(t,e),r=e,i=Tt,s=xt;for(;n!==Tt;){const a=r/n,c=r%n,u=i-s*a;r=n,n=c,i=s,s=u}if(r!==xt)throw new Error("invert: does not exist");return It(i,e)}function c0(t,e){const n=(t.ORDER+xt)/s0,r=t.pow(e,n);if(!t.eql(t.sqr(r),e))throw new Error("Cannot find square root");return r}function Zv(t,e){const n=(t.ORDER-o0)/a0,r=t.mul(e,di),i=t.pow(r,n),s=t.mul(e,i),o=t.mul(t.mul(s,di),i),a=t.mul(s,t.sub(o,t.ONE));if(!t.eql(t.sqr(a),e))throw new Error("Cannot find square root");return a}function Yv(t){if(t<BigInt(3))throw new Error("sqrt is not defined for small field");let e=t-xt,n=0;for(;e%di===Tt;)e/=di,n++;let r=di;const i=Sr(t);for(;da(i,r)===1;)if(r++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return c0;let s=i.pow(r,e);const o=(e+xt)/di;return function(c,u){if(c.is0(u))return u;if(da(c,u)!==1)throw new Error("Cannot find square root");let l=n,f=c.mul(c.ONE,s),d=c.pow(u,e),h=c.pow(u,o);for(;!c.eql(d,c.ONE);){if(c.is0(d))return c.ZERO;let p=1,w=c.sqr(d);for(;!c.eql(w,c.ONE);)if(p++,w=c.sqr(w),p===l)throw new Error("Cannot find square root");const m=xt<<BigInt(l-p-1),P=c.pow(f,m);l=p,f=c.sqr(P),d=c.mul(d,f),h=c.mul(h,P)}return h}}function Xv(t){return t%s0===Wv?c0:t%a0===o0?Zv:Yv(t)}const Jv=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function u0(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},n=Jv.reduce((r,i)=>(r[i]="function",r),e);return zs(t,n)}function ha(t,e,n){if(n<Tt)throw new Error("invalid exponent, negatives unsupported");if(n===Tt)return t.ONE;if(n===xt)return e;let r=t.ONE,i=e;for(;n>Tt;)n&xt&&(r=t.mul(r,i)),i=t.sqr(i),n>>=xt;return r}function pi(t,e,n=!1){const r=new Array(e.length).fill(n?t.ZERO:void 0),i=e.reduce((o,a,c)=>t.is0(a)?o:(r[c]=o,t.mul(o,a)),t.ONE),s=t.inv(i);return e.reduceRight((o,a,c)=>t.is0(a)?o:(r[c]=t.mul(o,r[c]),t.mul(o,a)),s),r}function da(t,e){const n=(t.ORDER-xt)/di,r=t.pow(e,n),i=t.eql(r,t.ONE),s=t.eql(r,t.ZERO),o=t.eql(r,t.neg(t.ONE));if(!i&&!s&&!o)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function l0(t,e){e!==void 0&&qs(e);const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function Sr(t,e,n=!1,r={}){if(t<=Tt)throw new Error("invalid field: expected ORDER > 0, got "+t);const{nBitLength:i,nByteLength:s}=l0(t,e);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let o;const a=Object.freeze({ORDER:t,isLE:n,BITS:i,BYTES:s,MASK:hi(i),ZERO:Tt,ONE:xt,create:c=>It(c,t),isValid:c=>{if(typeof c!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof c);return Tt<=c&&c<t},is0:c=>c===Tt,isOdd:c=>(c&xt)===xt,neg:c=>It(-c,t),eql:(c,u)=>c===u,sqr:c=>It(c*c,t),add:(c,u)=>It(c+u,t),sub:(c,u)=>It(c-u,t),mul:(c,u)=>It(c*u,t),pow:(c,u)=>ha(a,c,u),div:(c,u)=>It(c*Iu(u,t),t),sqrN:c=>c*c,addN:(c,u)=>c+u,subN:(c,u)=>c-u,mulN:(c,u)=>c*u,inv:c=>Iu(c,t),sqrt:r.sqrt||(c=>(o||(o=Xv(t)),o(a,c))),toBytes:c=>n?Kd(c,s):ze(c,s),fromBytes:c=>{if(c.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+c.length);return n?zd(c):Et(c)},invertBatch:c=>pi(a,c),cmov:(c,u,l)=>l?u:c});return Object.freeze(a)}function f0(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const e=t.toString(2).length;return Math.ceil(e/8)}function Su(t){const e=f0(t);return e+Math.ceil(e/2)}function h0(t,e,n=!1){const r=t.length,i=f0(e),s=Su(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const o=n?zd(t):Et(t),a=It(o,e-xt)+xt;return n?Kd(a,i):ze(a,i)}const d0=BigInt(0),Bu=BigInt(1);function Ou(t,e){const n=e.negate();return t?n:e}function p0(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function Au(t,e){p0(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1),i=2**t,s=hi(t),o=BigInt(t);return{windows:n,windowSize:r,mask:s,maxNumber:i,shiftBy:o}}function g0(t,e,n){const{windowSize:r,mask:i,maxNumber:s,shiftBy:o}=n;let a=Number(t&i),c=t>>o;a>r&&(a-=s,c+=Bu);const u=e*r,l=u+Math.abs(a)-1,f=a===0,d=a<0,h=e%2!==0;return{nextN:c,offset:l,isZero:f,isNeg:d,isNegF:h,offsetF:u}}function Qv(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function _v(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const Pu=new WeakMap,b0=new WeakMap;function Du(t){return b0.get(t)||1}function $v(t,e){return{constTimeNegate:Ou,hasPrecomputes(n){return Du(n)!==1},unsafeLadder(n,r,i=t.ZERO){let s=n;for(;r>d0;)r&Bu&&(i=i.add(s)),s=s.double(),r>>=Bu;return i},precomputeWindow(n,r){const{windows:i,windowSize:s}=Au(r,e),o=[];let a=n,c=a;for(let u=0;u<i;u++){c=a,o.push(c);for(let l=1;l<s;l++)c=c.add(a),o.push(c);a=c.double()}return o},wNAF(n,r,i){let s=t.ZERO,o=t.BASE;const a=Au(n,e);for(let c=0;c<a.windows;c++){const{nextN:u,offset:l,isZero:f,isNeg:d,isNegF:h,offsetF:p}=g0(i,c,a);i=u,f?o=o.add(Ou(h,r[p])):s=s.add(Ou(d,r[l]))}return{p:s,f:o}},wNAFUnsafe(n,r,i,s=t.ZERO){const o=Au(n,e);for(let a=0;a<o.windows&&i!==d0;a++){const{nextN:c,offset:u,isZero:l,isNeg:f}=g0(i,a,o);if(i=c,!l){const d=r[u];s=s.add(f?d.negate():d)}}return s},getPrecomputes(n,r,i){let s=Pu.get(r);return s||(s=this.precomputeWindow(r,n),n!==1&&Pu.set(r,i(s))),s},wNAFCached(n,r,i){const s=Du(n);return this.wNAF(s,this.getPrecomputes(s,n,i),r)},wNAFCachedUnsafe(n,r,i,s){const o=Du(n);return o===1?this.unsafeLadder(n,r,s):this.wNAFUnsafe(o,this.getPrecomputes(o,n,i),r,s)},setWindowSize(n,r){p0(r,e),b0.set(n,r),Pu.delete(n)}}}function eE(t,e,n,r){Qv(n,t),_v(r,e);const i=n.length,s=r.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const o=t.ZERO,a=js(BigInt(i));let c=1;a>12?c=a-3:a>4?c=a-2:a>0&&(c=2);const u=hi(c),l=new Array(Number(u)+1).fill(o),f=Math.floor((e.BITS-1)/c)*c;let d=o;for(let h=f;h>=0;h-=c){l.fill(o);for(let w=0;w<s;w++){const m=r[w],P=Number(m>>BigInt(h)&u);l[P]=l[P].add(n[w])}let p=o;for(let w=l.length-1,m=o;w>0;w--)m=m.add(l[w]),p=p.add(m);if(d=d.add(p),h!==0)for(let w=0;w<c;w++)d=d.double()}return d}function w0(t){return u0(t.Fp),zs(t,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...l0(t.n,t.nBitLength),...t,p:t.Fp.ORDER})}function y0(t){t.lowS!==void 0&&Ms("lowS",t.lowS),t.prehash!==void 0&&Ms("prehash",t.prehash)}function tE(t){const e=w0(t);zs(e,{a:"field",b:"field"},{allowInfinityPoint:"boolean",allowedPrivateKeyLengths:"array",clearCofactor:"function",fromBytes:"function",isTorsionFree:"function",toBytes:"function",wrapPrivateKey:"boolean"});const{endo:n,Fp:r,a:i}=e;if(n){if(!r.eql(i,r.ZERO))throw new Error("invalid endo: CURVE.a must be 0");if(typeof n!="object"||typeof n.beta!="bigint"||typeof n.splitScalar!="function")throw new Error('invalid endo: expected "beta": bigint and "splitScalar": function')}return Object.freeze({...e})}class nE extends Error{constructor(e=""){super(e)}}const Yn={Err:nE,_tlv:{encode:(t,e)=>{const{Err:n}=Yn;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length&1)throw new n("tlv.encode: unpadded data");const r=e.length/2,i=aa(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const s=r>127?aa(i.length/2|128):"";return aa(t)+s+i+e},decode(t,e){const{Err:n}=Yn;let r=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length<2||e[r++]!==t)throw new n("tlv.decode: wrong tlv");const i=e[r++],s=!!(i&128);let o=0;if(!s)o=i;else{const c=i&127;if(!c)throw new n("tlv.decode(long): indefinite length not supported");if(c>4)throw new n("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+c);if(u.length!==c)throw new n("tlv.decode: length bytes not complete");if(u[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const l of u)o=o<<8|l;if(r+=c,o<128)throw new n("tlv.decode(long): not minimal encoding")}const a=e.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:e.subarray(r+o)}}},_int:{encode(t){const{Err:e}=Yn;if(t<dn)throw new e("integer: negative integers are not allowed");let n=aa(t);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return n},decode(t){const{Err:e}=Yn;if(t[0]&128)throw new e("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return Et(t)}},toSig(t){const{Err:e,_int:n,_tlv:r}=Yn,i=ht("signature",t),{v:s,l:o}=r.decode(48,i);if(o.length)throw new e("invalid signature: left bytes after parsing");const{v:a,l:c}=r.decode(2,s),{v:u,l}=r.decode(2,c);if(l.length)throw new e("invalid signature: left bytes after parsing");return{r:n.decode(a),s:n.decode(u)}},hexFromSig(t){const{_tlv:e,_int:n}=Yn,r=e.encode(2,n.encode(t.r)),i=e.encode(2,n.encode(t.s)),s=r+i;return e.encode(48,s)}};function Ru(t,e){return fi(ze(t,e))}const dn=BigInt(0),Se=BigInt(1),Br=BigInt(2),Vs=BigInt(3),Tu=BigInt(4);function Nu(t){const e=tE(t),{Fp:n}=e,r=Sr(e.n,e.nBitLength),i=e.toBytes||((I,x,S)=>{const U=x.toAffine();return Fe(Uint8Array.from([4]),n.toBytes(U.x),n.toBytes(U.y))}),s=e.fromBytes||(I=>{const x=I.subarray(1),S=n.fromBytes(x.subarray(0,n.BYTES)),U=n.fromBytes(x.subarray(n.BYTES,2*n.BYTES));return{x:S,y:U}});function o(I){const{a:x,b:S}=e,U=n.sqr(I),k=n.mul(U,I);return n.add(n.add(k,n.mul(I,x)),S)}function a(I,x){const S=n.sqr(x),U=o(I);return n.eql(S,U)}if(!a(e.Gx,e.Gy))throw new Error("bad curve params: generator point");const c=n.mul(n.pow(e.a,Vs),Tu),u=n.mul(n.sqr(e.b),BigInt(27));if(n.is0(n.add(c,u)))throw new Error("bad curve params: a or b");function l(I){return hu(I,Se,e.n)}function f(I){const{allowedPrivateKeyLengths:x,nByteLength:S,wrapPrivateKey:U,n:k}=e;if(x&&typeof I!="bigint"){if(Ls(I)&&(I=fi(I)),typeof I!="string"||!x.includes(I.length))throw new Error("invalid private key");I=I.padStart(S*2,"0")}let F;try{F=typeof I=="bigint"?I:Et(ht("private key",I,S))}catch{throw new Error("invalid private key, expected hex or "+S+" bytes, got "+typeof I)}return U&&(F=It(F,k)),Ji("private key",F,Se,k),F}function d(I){if(!(I instanceof w))throw new Error("ProjectivePoint expected")}const h=pu((I,x)=>{const{px:S,py:U,pz:k}=I;if(n.eql(k,n.ONE))return{x:S,y:U};const F=I.is0();x==null&&(x=F?n.ONE:n.inv(k));const R=n.mul(S,x),G=n.mul(U,x),H=n.mul(k,x);if(F)return{x:n.ZERO,y:n.ZERO};if(!n.eql(H,n.ONE))throw new Error("invZ was invalid");return{x:R,y:G}}),p=pu(I=>{if(I.is0()){if(e.allowInfinityPoint&&!n.is0(I.py))return;throw new Error("bad point: ZERO")}const{x,y:S}=I.toAffine();if(!n.isValid(x)||!n.isValid(S))throw new Error("bad point: x or y not FE");if(!a(x,S))throw new Error("bad point: equation left != right");if(!I.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class w{constructor(x,S,U){if(x==null||!n.isValid(x))throw new Error("x required");if(S==null||!n.isValid(S)||n.is0(S))throw new Error("y required");if(U==null||!n.isValid(U))throw new Error("z required");this.px=x,this.py=S,this.pz=U,Object.freeze(this)}static fromAffine(x){const{x:S,y:U}=x||{};if(!x||!n.isValid(S)||!n.isValid(U))throw new Error("invalid affine point");if(x instanceof w)throw new Error("projective point not allowed");const k=F=>n.eql(F,n.ZERO);return k(S)&&k(U)?w.ZERO:new w(S,U,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(x){const S=pi(n,x.map(U=>U.pz));return x.map((U,k)=>U.toAffine(S[k])).map(w.fromAffine)}static fromHex(x){const S=w.fromAffine(s(ht("pointHex",x)));return S.assertValidity(),S}static fromPrivateKey(x){return w.BASE.multiply(f(x))}static msm(x,S){return eE(w,r,x,S)}_setWindowSize(x){T.setWindowSize(this,x)}assertValidity(){p(this)}hasEvenY(){const{y:x}=this.toAffine();if(n.isOdd)return!n.isOdd(x);throw new Error("Field doesn't support isOdd")}equals(x){d(x);const{px:S,py:U,pz:k}=this,{px:F,py:R,pz:G}=x,H=n.eql(n.mul(S,G),n.mul(F,k)),E=n.eql(n.mul(U,G),n.mul(R,k));return H&&E}negate(){return new w(this.px,n.neg(this.py),this.pz)}double(){const{a:x,b:S}=e,U=n.mul(S,Vs),{px:k,py:F,pz:R}=this;let G=n.ZERO,H=n.ZERO,E=n.ZERO,b=n.mul(k,k),v=n.mul(F,F),g=n.mul(R,R),y=n.mul(k,F);return y=n.add(y,y),E=n.mul(k,R),E=n.add(E,E),G=n.mul(x,E),H=n.mul(U,g),H=n.add(G,H),G=n.sub(v,H),H=n.add(v,H),H=n.mul(G,H),G=n.mul(y,G),E=n.mul(U,E),g=n.mul(x,g),y=n.sub(b,g),y=n.mul(x,y),y=n.add(y,E),E=n.add(b,b),b=n.add(E,b),b=n.add(b,g),b=n.mul(b,y),H=n.add(H,b),g=n.mul(F,R),g=n.add(g,g),b=n.mul(g,y),G=n.sub(G,b),E=n.mul(g,v),E=n.add(E,E),E=n.add(E,E),new w(G,H,E)}add(x){d(x);const{px:S,py:U,pz:k}=this,{px:F,py:R,pz:G}=x;let H=n.ZERO,E=n.ZERO,b=n.ZERO;const v=e.a,g=n.mul(e.b,Vs);let y=n.mul(S,F),B=n.mul(U,R),A=n.mul(k,G),O=n.add(S,U),D=n.add(F,R);O=n.mul(O,D),D=n.add(y,B),O=n.sub(O,D),D=n.add(S,k);let C=n.add(F,G);return D=n.mul(D,C),C=n.add(y,A),D=n.sub(D,C),C=n.add(U,k),H=n.add(R,G),C=n.mul(C,H),H=n.add(B,A),C=n.sub(C,H),b=n.mul(v,D),H=n.mul(g,A),b=n.add(H,b),H=n.sub(B,b),b=n.add(B,b),E=n.mul(H,b),B=n.add(y,y),B=n.add(B,y),A=n.mul(v,A),D=n.mul(g,D),B=n.add(B,A),A=n.sub(y,A),A=n.mul(v,A),D=n.add(D,A),y=n.mul(B,D),E=n.add(E,y),y=n.mul(C,D),H=n.mul(O,H),H=n.sub(H,y),y=n.mul(O,B),b=n.mul(C,b),b=n.add(b,y),new w(H,E,b)}subtract(x){return this.add(x.negate())}is0(){return this.equals(w.ZERO)}wNAF(x){return T.wNAFCached(this,x,w.normalizeZ)}multiplyUnsafe(x){const{endo:S,n:U}=e;Ji("scalar",x,dn,U);const k=w.ZERO;if(x===dn)return k;if(this.is0()||x===Se)return this;if(!S||T.hasPrecomputes(this))return T.wNAFCachedUnsafe(this,x,w.normalizeZ);let{k1neg:F,k1:R,k2neg:G,k2:H}=S.splitScalar(x),E=k,b=k,v=this;for(;R>dn||H>dn;)R&Se&&(E=E.add(v)),H&Se&&(b=b.add(v)),v=v.double(),R>>=Se,H>>=Se;return F&&(E=E.negate()),G&&(b=b.negate()),b=new w(n.mul(b.px,S.beta),b.py,b.pz),E.add(b)}multiply(x){const{endo:S,n:U}=e;Ji("scalar",x,Se,U);let k,F;if(S){const{k1neg:R,k1:G,k2neg:H,k2:E}=S.splitScalar(x);let{p:b,f:v}=this.wNAF(G),{p:g,f:y}=this.wNAF(E);b=T.constTimeNegate(R,b),g=T.constTimeNegate(H,g),g=new w(n.mul(g.px,S.beta),g.py,g.pz),k=b.add(g),F=v.add(y)}else{const{p:R,f:G}=this.wNAF(x);k=R,F=G}return w.normalizeZ([k,F])[0]}multiplyAndAddUnsafe(x,S,U){const k=w.BASE,F=(G,H)=>H===dn||H===Se||!G.equals(k)?G.multiplyUnsafe(H):G.multiply(H),R=F(this,S).add(F(x,U));return R.is0()?void 0:R}toAffine(x){return h(this,x)}isTorsionFree(){const{h:x,isTorsionFree:S}=e;if(x===Se)return!0;if(S)return S(w,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:x,clearCofactor:S}=e;return x===Se?this:S?S(w,this):this.multiplyUnsafe(e.h)}toRawBytes(x=!0){return Ms("isCompressed",x),this.assertValidity(),i(w,this,x)}toHex(x=!0){return Ms("isCompressed",x),fi(this.toRawBytes(x))}}w.BASE=new w(e.Gx,e.Gy,n.ONE),w.ZERO=new w(n.ZERO,n.ONE,n.ZERO);const{endo:m,nBitLength:P}=e,T=$v(w,m?Math.ceil(P/2):P);return{CURVE:e,ProjectivePoint:w,normPrivateKeyToScalar:f,weierstrassEquation:o,isWithinCurveOrder:l}}function rE(t){const e=w0(t);return zs(e,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...e})}function iE(t){const e=rE(t),{Fp:n,n:r,nByteLength:i,nBitLength:s}=e,o=n.BYTES+1,a=2*n.BYTES+1;function c(g){return It(g,r)}function u(g){return Iu(g,r)}const{ProjectivePoint:l,normPrivateKeyToScalar:f,weierstrassEquation:d,isWithinCurveOrder:h}=Nu({...e,toBytes(g,y,B){const A=y.toAffine(),O=n.toBytes(A.x),D=Fe;return Ms("isCompressed",B),B?D(Uint8Array.from([y.hasEvenY()?2:3]),O):D(Uint8Array.from([4]),O,n.toBytes(A.y))},fromBytes(g){const y=g.length,B=g[0],A=g.subarray(1);if(y===o&&(B===2||B===3)){const O=Et(A);if(!hu(O,Se,n.ORDER))throw new Error("Point is not on curve");const D=d(O);let C;try{C=n.sqrt(D)}catch(V){const q=V instanceof Error?": "+V.message:"";throw new Error("Point is not on curve"+q)}const M=(C&Se)===Se;return(B&1)===1!==M&&(C=n.neg(C)),{x:O,y:C}}else if(y===a&&B===4){const O=n.fromBytes(A.subarray(0,n.BYTES)),D=n.fromBytes(A.subarray(n.BYTES,2*n.BYTES));return{x:O,y:D}}else{const O=o,D=a;throw new Error("invalid Point, expected length of "+O+", or uncompressed "+D+", got "+y)}}});function p(g){const y=r>>Se;return g>y}function w(g){return p(g)?c(-g):g}const m=(g,y,B)=>Et(g.slice(y,B));class P{constructor(y,B,A){Ji("r",y,Se,r),Ji("s",B,Se,r),this.r=y,this.s=B,A!=null&&(this.recovery=A),Object.freeze(this)}static fromCompact(y){const B=i;return y=ht("compactSignature",y,B*2),new P(m(y,0,B),m(y,B,2*B))}static fromDER(y){const{r:B,s:A}=Yn.toSig(ht("DER",y));return new P(B,A)}assertValidity(){}addRecoveryBit(y){return new P(this.r,this.s,y)}recoverPublicKey(y){const{r:B,s:A,recovery:O}=this,D=k(ht("msgHash",y));if(O==null||![0,1,2,3].includes(O))throw new Error("recovery id invalid");const C=O===2||O===3?B+e.n:B;if(C>=n.ORDER)throw new Error("recovery id 2 or 3 invalid");const M=(O&1)===0?"02":"03",L=l.fromHex(M+Ru(C,n.BYTES)),V=u(C),q=c(-D*V),W=c(A*V),Z=l.BASE.multiplyAndAddUnsafe(L,q,W);if(!Z)throw new Error("point at infinify");return Z.assertValidity(),Z}hasHighS(){return p(this.s)}normalizeS(){return this.hasHighS()?new P(this.r,c(-this.s),this.recovery):this}toDERRawBytes(){return ca(this.toDERHex())}toDERHex(){return Yn.hexFromSig(this)}toCompactRawBytes(){return ca(this.toCompactHex())}toCompactHex(){const y=i;return Ru(this.r,y)+Ru(this.s,y)}}const T={isValidPrivateKey(g){try{return f(g),!0}catch{return!1}},normPrivateKeyToScalar:f,randomPrivateKey:()=>{const g=Su(e.n);return h0(e.randomBytes(g),e.n)},precompute(g=8,y=l.BASE){return y._setWindowSize(g),y.multiply(BigInt(3)),y}};function I(g,y=!0){return l.fromPrivateKey(g).toRawBytes(y)}function x(g){if(typeof g=="bigint")return!1;if(g instanceof l)return!0;const B=ht("key",g).length,A=n.BYTES,O=A+1,D=2*A+1;if(!(e.allowedPrivateKeyLengths||i===O))return B===O||B===D}function S(g,y,B=!0){if(x(g)===!0)throw new Error("first arg must be private key");if(x(y)===!1)throw new Error("second arg must be public key");return l.fromHex(y).multiply(f(g)).toRawBytes(B)}const U=e.bits2int||function(g){if(g.length>8192)throw new Error("input is too large");const y=Et(g),B=g.length*8-s;return B>0?y>>BigInt(B):y},k=e.bits2int_modN||function(g){return c(U(g))},F=hi(s);function R(g){return Ji("num < 2^"+s,g,dn,F),ze(g,i)}function G(g,y,B=H){if(["recovered","canonical"].some(N=>N in B))throw new Error("sign() legacy options not supported");const{hash:A,randomBytes:O}=e;let{lowS:D,prehash:C,extraEntropy:M}=B;D==null&&(D=!0),g=ht("msgHash",g),y0(B),C&&(g=ht("prehashed msgHash",A(g)));const L=k(g),V=f(y),q=[R(V),R(L)];if(M!=null&&M!==!1){const N=M===!0?O(n.BYTES):M;q.push(ht("extraEntropy",N))}const W=Fe(...q),Z=L;function z(N){const j=U(N);if(!h(j))return;const K=u(j),X=l.BASE.multiply(j).toAffine(),ee=c(X.x);if(ee===dn)return;const $=c(K*c(Z+ee*V));if($===dn)return;let re=(X.x===ee?0:2)|Number(X.y&Se),le=$;return D&&p($)&&(le=w($),re^=1),new P(ee,le,re)}return{seed:W,k2sig:z}}const H={lowS:e.lowS,prehash:!1},E={lowS:e.lowS,prehash:!1};function b(g,y,B=H){const{seed:A,k2sig:O}=G(g,y,B),D=e;return tv(D.hash.outputLen,D.nByteLength,D.hmac)(A,O)}l.BASE._setWindowSize(8);function v(g,y,B,A=E){const O=g;y=ht("msgHash",y),B=ht("publicKey",B);const{lowS:D,prehash:C,format:M}=A;if(y0(A),"strict"in A)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");const L=typeof O=="string"||Ls(O),V=!L&&!M&&typeof O=="object"&&O!==null&&typeof O.r=="bigint"&&typeof O.s=="bigint";if(!L&&!V)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let q,W;try{if(V&&(q=new P(O.r,O.s)),L){try{M!=="compact"&&(q=P.fromDER(O))}catch(re){if(!(re instanceof Yn.Err))throw re}!q&&M!=="der"&&(q=P.fromCompact(O))}W=l.fromHex(B)}catch{return!1}if(!q||D&&q.hasHighS())return!1;C&&(y=e.hash(y));const{r:Z,s:z}=q,N=k(y),j=u(z),K=c(N*j),X=c(Z*j),ee=l.BASE.multiplyAndAddUnsafe(W,K,X)?.toAffine();return ee?c(ee.x)===Z:!1}return{CURVE:e,getPublicKey:I,getSharedSecret:S,sign:b,verify:v,ProjectivePoint:l,Signature:P,utils:T}}function sE(t,e){const n=t.ORDER;let r=dn;for(let p=n-Se;p%Br===dn;p/=Br)r+=Se;const i=r,s=Br<<i-Se-Se,o=s*Br,a=(n-Se)/o,c=(a-Se)/Br,u=o-Se,l=s,f=t.pow(e,a),d=t.pow(e,(a+Se)/Br);let h=(p,w)=>{let m=f,P=t.pow(w,u),T=t.sqr(P);T=t.mul(T,w);let I=t.mul(p,T);I=t.pow(I,c),I=t.mul(I,P),P=t.mul(I,w),T=t.mul(I,p);let x=t.mul(T,P);I=t.pow(x,l);let S=t.eql(I,t.ONE);P=t.mul(T,d),I=t.mul(x,m),T=t.cmov(P,T,S),x=t.cmov(I,x,S);for(let U=i;U>Se;U--){let k=U-Br;k=Br<<k-Se;let F=t.pow(x,k);const R=t.eql(F,t.ONE);P=t.mul(T,m),m=t.mul(m,m),F=t.mul(x,m),T=t.cmov(P,T,R),x=t.cmov(F,x,R)}return{isValid:S,value:T}};if(t.ORDER%Tu===Vs){const p=(t.ORDER-Vs)/Tu,w=t.sqrt(t.neg(e));h=(m,P)=>{let T=t.sqr(P);const I=t.mul(m,P);T=t.mul(T,I);let x=t.pow(T,p);x=t.mul(x,I);const S=t.mul(x,w),U=t.mul(t.sqr(x),P),k=t.eql(U,m);let F=t.cmov(S,x,k);return{isValid:k,value:F}}}return h}function m0(t,e){if(u0(t),!t.isValid(e.A)||!t.isValid(e.B)||!t.isValid(e.Z))throw new Error("mapToCurveSimpleSWU: invalid opts");const n=sE(t,e.Z);if(!t.isOdd)throw new Error("Fp.isOdd is not implemented!");return r=>{let i,s,o,a,c,u,l,f;i=t.sqr(r),i=t.mul(i,e.Z),s=t.sqr(i),s=t.add(s,i),o=t.add(s,t.ONE),o=t.mul(o,e.B),a=t.cmov(e.Z,t.neg(s),!t.eql(s,t.ZERO)),a=t.mul(a,e.A),s=t.sqr(o),u=t.sqr(a),c=t.mul(u,e.A),s=t.add(s,c),s=t.mul(s,o),u=t.mul(u,a),c=t.mul(u,e.B),s=t.add(s,c),l=t.mul(i,o);const{isValid:d,value:h}=n(s,u);f=t.mul(i,r),f=t.mul(f,h),l=t.cmov(l,o,d),f=t.cmov(f,h,d);const p=t.isOdd(r)===t.isOdd(f);f=t.cmov(t.neg(f),f,p);const w=pi(t,[a],!0)[0];return l=t.mul(l,w),{x:l,y:f}}}function oE(t){return{hash:t,hmac:(e,...n)=>i0(t,e,E3(...n)),randomBytes:Sd}}function pa(t,e){const n=r=>iE({...t,...oE(r)});return{...n(e),create:n}}const aE=Et;function Or(t,e){if(Hs(t),Hs(e),t<0||t>=1<<8*e)throw new Error("invalid I2OSP input: "+t);const n=Array.from({length:e}).fill(0);for(let r=e-1;r>=0;r--)n[r]=t&255,t>>>=8;return new Uint8Array(n)}function cE(t,e){const n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t[r]^e[r];return n}function Hs(t){if(!Number.isSafeInteger(t))throw new Error("number expected")}function uE(t,e,n,r){Ir(t),Ir(e),Hs(n),e.length>255&&(e=r(Fe(lu("H2C-OVERSIZE-DST-"),e)));const{outputLen:i,blockLen:s}=r,o=Math.ceil(n/i);if(n>65535||o>255)throw new Error("expand_message_xmd: invalid lenInBytes");const a=Fe(e,Or(e.length,1)),c=Or(0,s),u=Or(n,2),l=new Array(o),f=r(Fe(c,t,u,Or(0,1),a));l[0]=r(Fe(f,Or(1,1),a));for(let h=1;h<=o;h++){const p=[cE(f,l[h-1]),Or(h+1,1),a];l[h]=r(Fe(...p))}return Fe(...l).slice(0,n)}function lE(t,e,n,r,i){if(Ir(t),Ir(e),Hs(n),e.length>255){const s=Math.ceil(2*r/8);e=i.create({dkLen:s}).update(lu("H2C-OVERSIZE-DST-")).update(e).digest()}if(n>65535||e.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return i.create({dkLen:n}).update(t).update(Or(n,2)).update(e).update(Or(e.length,1)).digest()}function v0(t,e,n){zs(n,{DST:"stringOrUint8Array",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});const{p:r,k:i,m:s,hash:o,expand:a,DST:c}=n;Ir(t),Hs(e);const u=typeof c=="string"?lu(c):c,l=r.toString(2).length,f=Math.ceil((l+i)/8),d=e*s*f;let h;if(a==="xmd")h=uE(t,u,d,o);else if(a==="xof")h=lE(t,u,d,i,o);else if(a==="_internal_pass")h=t;else throw new Error('expand must be "xmd" or "xof"');const p=new Array(e);for(let w=0;w<e;w++){const m=new Array(s);for(let P=0;P<s;P++){const T=f*(P+w*s),I=h.subarray(T,T+f);m[P]=It(aE(I),r)}p[w]=m}return p}function E0(t,e){const n=e.map(r=>Array.from(r).reverse());return(r,i)=>{const[s,o,a,c]=n.map(f=>f.reduce((d,h)=>t.add(t.mul(d,r),h))),[u,l]=pi(t,[o,c],!0);return r=t.mul(s,u),i=t.mul(i,t.mul(a,l)),{x:r,y:i}}}function x0(t,e,n){if(typeof e!="function")throw new Error("mapToCurve() must be defined");function r(s){return t.fromAffine(e(s))}function i(s){const o=s.clearCofactor();return o.equals(t.ZERO)?t.ZERO:(o.assertValidity(),o)}return{defaults:n,hashToCurve(s,o){const a=v0(s,2,{...n,DST:n.DST,...o}),c=r(a[0]),u=r(a[1]);return i(c.add(u))},encodeToCurve(s,o){const a=v0(s,1,{...n,DST:n.encodeDST,...o});return i(r(a[0]))},mapToCurve(s){if(!Array.isArray(s))throw new Error("expected array of bigints");for(const o of s)if(typeof o!="bigint")throw new Error("expected array of bigints");return i(r(s))}}}const I0=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),S0=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),fE=BigInt(0),hE=BigInt(1),Uu=BigInt(2),B0=(t,e)=>(t+e/Uu)/e;function dE(t){const e=I0,n=BigInt(3),r=BigInt(6),i=BigInt(11),s=BigInt(22),o=BigInt(23),a=BigInt(44),c=BigInt(88),u=t*t*t%e,l=u*u*t%e,f=en(l,n,e)*l%e,d=en(f,n,e)*l%e,h=en(d,Uu,e)*u%e,p=en(h,i,e)*h%e,w=en(p,s,e)*p%e,m=en(w,a,e)*w%e,P=en(m,c,e)*m%e,T=en(P,a,e)*w%e,I=en(T,n,e)*l%e,x=en(I,o,e)*p%e,S=en(x,r,e)*u%e,U=en(S,Uu,e);if(!Cu.eql(Cu.sqr(U),t))throw new Error("Cannot find square root");return U}const Cu=Sr(I0,void 0,void 0,{sqrt:dE}),pE=pa({a:fE,b:BigInt(7),Fp:Cu,n:S0,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:t=>{const e=S0,n=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-hE*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=n,o=BigInt("0x100000000000000000000000000000000"),a=B0(s*t,e),c=B0(-r*t,e);let u=It(t-a*n-c*i,e),l=It(-a*r-c*s,e);const f=u>o,d=l>o;if(f&&(u=e-u),d&&(l=e-l),u>o||l>o)throw new Error("splitScalar: Endomorphism failed, k="+t);return{k1neg:f,k1:u,k2neg:d,k2:l}}}},sa);function gE(t){if(t.length!==130&&t.length!==132)throw new wE({signature:t});const e=BigInt(Wn(t,0,32)),n=BigInt(Wn(t,32,64)),r=(()=>{const i=+`0x${t.slice(130)}`;if(!Number.isNaN(i))try{return bE(i)}catch{throw new yE({value:i})}})();return typeof r>"u"?{r:e,s:n}:{r:e,s:n,yParity:r}}function bE(t){if(t===0||t===27)return 0;if(t===1||t===28)return 1;if(t>=35)return t%2===0?1:0;throw new mE({value:t})}class wE extends Ae{constructor({signature:e}){super(`Value \`${e}\` is an invalid signature size.`,{metaMessages:["Expected: 64 bytes or 65 bytes.",`Received ${Zn(yu(e))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSerializedSizeError"})}}class yE extends Ae{constructor({value:e}){super(`Value \`${e}\` is an invalid y-parity value. Y-parity must be 0 or 1.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidYParityError"})}}class mE extends Ae{constructor({value:e}){super(`Value \`${e}\` is an invalid v value. v must be 27, 28 or >=35.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidVError"})}}Object.freeze({1:0n,2:1n,3:2n,4:3n,5:4n,6:5n,7:6n,8:7n,9:8n,A:9n,B:10n,C:11n,D:12n,E:13n,F:14n,G:15n,H:16n,J:17n,K:18n,L:19n,M:20n,N:21n,P:22n,Q:23n,R:24n,S:25n,T:26n,U:27n,V:28n,W:29n,X:30n,Y:31n,Z:32n,a:33n,b:34n,c:35n,d:36n,e:37n,f:38n,g:39n,h:40n,i:41n,j:42n,k:43n,m:44n,n:45n,o:46n,p:47n,q:48n,r:49n,s:50n,t:51n,u:52n,v:53n,w:54n,x:55n,y:56n,z:57n}),Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((t,e)=>[e,t.charCodeAt(0)]),{...Object.fromEntries(Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((t,e)=>[t.charCodeAt(0),e]))},Kn.slice();const vE=BigInt(0),ga=BigInt(1),O0=BigInt(2),Qi=BigInt(3);function EE(t){const e=[];for(;t>ga;t>>=ga)(t&ga)===vE?e.unshift(0):(t&Qi)===Qi?(e.unshift(-1),t+=ga):e.unshift(1);return e}function xE(t){const{Fp:e,Fr:n,Fp2:r,Fp6:i,Fp12:s}=t.fields,o=t.params.xNegative,a=t.params.twistType,c=Nu({n:n.ORDER,...t.G1}),u=Object.assign(c,x0(c.ProjectivePoint,t.G1.mapToCurve,{...t.htfDefaults,...t.G1.htfDefaults})),l=Nu({n:n.ORDER,...t.G2}),f=Object.assign(l,x0(l.ProjectivePoint,t.G2.mapToCurve,{...t.htfDefaults,...t.G2.htfDefaults}));let d;if(a==="multiplicative")d=(L,V,q,W,Z,z)=>s.mul014(W,L,r.mul(V,Z),r.mul(q,z));else if(a==="divisive")d=(L,V,q,W,Z,z)=>s.mul034(W,r.mul(q,z),r.mul(V,Z),L);else throw new Error("bls: unknown twist type");const h=r.div(r.ONE,r.mul(r.ONE,O0));function p(L,V,q,W){const Z=r.sqr(q),z=r.sqr(W),N=r.mulByB(r.mul(z,Qi)),j=r.mul(N,Qi),K=r.sub(r.sub(r.sqr(r.add(q,W)),z),Z),X=r.sub(N,Z),ee=r.mul(r.sqr(V),Qi),$=r.neg(K);return L.push([X,ee,$]),V=r.mul(r.mul(r.mul(r.sub(Z,j),V),q),h),q=r.sub(r.sqr(r.mul(r.add(Z,j),h)),r.mul(r.sqr(N),Qi)),W=r.mul(Z,K),{Rx:V,Ry:q,Rz:W}}function w(L,V,q,W,Z,z){const N=r.sub(q,r.mul(z,W)),j=r.sub(V,r.mul(Z,W)),K=r.sub(r.mul(N,Z),r.mul(j,z)),X=r.neg(N),ee=j;L.push([K,X,ee]);const $=r.sqr(j),re=r.mul($,j),le=r.mul($,V),ce=r.add(r.sub(re,r.mul(le,O0)),r.mul(r.sqr(N),W));return V=r.mul(j,ce),q=r.sub(r.mul(r.sub(le,ce),N),r.mul(re,q)),W=r.mul(W,re),{Rx:V,Ry:q,Rz:W}}const m=EE(t.params.ateLoopSize),P=pu(L=>{const V=L,{x:q,y:W}=V.toAffine(),Z=q,z=W,N=r.neg(W);let j=Z,K=z,X=r.ONE;const ee=[];for(const $ of m){const re=[];({Rx:j,Ry:K,Rz:X}=p(re,j,K,X)),$&&({Rx:j,Ry:K,Rz:X}=w(re,j,K,X,Z,$===-1?N:z)),ee.push(re)}if(t.postPrecompute){const $=ee[ee.length-1];t.postPrecompute(j,K,X,Z,z,w.bind(null,$))}return ee});function T(L,V=!1){let q=s.ONE;if(L.length){const W=L[0][0].length;for(let Z=0;Z<W;Z++){q=s.sqr(q);for(const[z,N,j]of L)for(const[K,X,ee]of z[Z])q=d(K,X,ee,q,N,j)}}return o&&(q=s.conjugate(q)),V?s.finalExponentiate(q):q}function I(L,V=!0){const q=[];u.ProjectivePoint.normalizeZ(L.map(({g1:W})=>W)),f.ProjectivePoint.normalizeZ(L.map(({g2:W})=>W));for(const{g1:W,g2:Z}of L){if(W.equals(u.ProjectivePoint.ZERO)||Z.equals(f.ProjectivePoint.ZERO))throw new Error("pairing is not available for ZERO point");W.assertValidity(),Z.assertValidity();const z=W.toAffine();q.push([P(Z),z.x,z.y])}return T(q,V)}function x(L,V,q=!0){return I([{g1:L,g2:V}],q)}const S={randomPrivateKey:()=>{const L=Su(n.ORDER);return h0(t.randomBytes(L),n.ORDER)},calcPairingPrecomputes:P},{ShortSignature:U}=t.G1,{Signature:k}=t.G2;function F(L){return L instanceof u.ProjectivePoint?L:u.ProjectivePoint.fromHex(L)}function R(L,V){return L instanceof u.ProjectivePoint?L:u.hashToCurve(ht("point",L),V)}function G(L){return L instanceof f.ProjectivePoint?L:k.fromHex(L)}function H(L,V){return L instanceof f.ProjectivePoint?L:f.hashToCurve(ht("point",L),V)}function E(L){return u.ProjectivePoint.fromPrivateKey(L).toRawBytes(!0)}function b(L){return f.ProjectivePoint.fromPrivateKey(L).toRawBytes(!0)}function v(L,V,q){const W=H(L,q);W.assertValidity();const Z=W.multiply(u.normPrivateKeyToScalar(V));return L instanceof f.ProjectivePoint?Z:k.toRawBytes(Z)}function g(L,V,q){const W=R(L,q);W.assertValidity();const Z=W.multiply(u.normPrivateKeyToScalar(V));return L instanceof u.ProjectivePoint?Z:U.toRawBytes(Z)}function y(L,V,q,W){const Z=F(q),z=H(V,W),N=u.ProjectivePoint.BASE,j=G(L),K=I([{g1:Z.negate(),g2:z},{g1:N,g2:j}]);return s.eql(K,s.ONE)}function B(L,V,q,W){const Z=G(q),z=R(V,W),N=f.ProjectivePoint.BASE,j=F(L),K=I([{g1:z,g2:Z},{g1:j,g2:N.negate()}]);return s.eql(K,s.ONE)}function A(L){if(!Array.isArray(L)||L.length===0)throw new Error("expected non-empty array")}function O(L){A(L);const q=L.map(F).reduce((W,Z)=>W.add(Z),u.ProjectivePoint.ZERO);return L[0]instanceof u.ProjectivePoint?(q.assertValidity(),q):q.toRawBytes(!0)}function D(L){A(L);const q=L.map(G).reduce((W,Z)=>W.add(Z),f.ProjectivePoint.ZERO);return L[0]instanceof f.ProjectivePoint?(q.assertValidity(),q):k.toRawBytes(q)}function C(L){A(L);const q=L.map(F).reduce((W,Z)=>W.add(Z),u.ProjectivePoint.ZERO);return L[0]instanceof u.ProjectivePoint?(q.assertValidity(),q):U.toRawBytes(q)}function M(L,V,q,W){if(A(V),q.length!==V.length)throw new Error("amount of public keys and messages should be equal");const Z=G(L),z=V.map(X=>H(X,W)),N=q.map(F),j=new Map;for(let X=0;X<N.length;X++){const ee=N[X],$=z[X];let re=j.get($);re===void 0&&(re=[],j.set($,re)),re.push(ee)}const K=[];try{for(const[X,ee]of j){const $=ee.reduce((re,le)=>re.add(le));K.push({g1:$,g2:X})}return K.push({g1:u.ProjectivePoint.BASE.negate(),g2:Z}),s.eql(I(K),s.ONE)}catch{return!1}}return u.ProjectivePoint.BASE._setWindowSize(4),{getPublicKey:E,getPublicKeyForShortSignatures:b,sign:v,signShortSignature:g,verify:y,verifyBatch:M,verifyShortSignature:B,aggregatePublicKeys:O,aggregateSignatures:D,aggregateShortSignatures:C,millerLoopBatch:T,pairing:x,pairingBatch:I,G1:u,G2:f,Signature:k,ShortSignature:U,fields:{Fr:n,Fp:e,Fp2:r,Fp6:i,Fp12:s},params:{ateLoopSize:t.params.ateLoopSize,r:t.params.r,G1b:t.G1.b,G2b:t.G2.b},utils:S}}const IE=BigInt(0),_i=BigInt(1),Xn=BigInt(2),A0=BigInt(3);function Fu(t,e,n,r,i=1,s){const o=BigInt(s===void 0?r:s),a=n**BigInt(r),c=[];for(let u=0;u<i;u++){const l=BigInt(u+1),f=[];for(let d=0,h=_i;d<r;d++){const p=(l*h-l)/o%a;f.push(t.pow(e,p)),h*=n}c.push(f)}return c}function SE(t,e,n){const r=e.pow(n,(t.ORDER-_i)/A0),i=e.pow(n,(t.ORDER-_i)/Xn);function s(d,h){const p=e.mul(e.frobeniusMap(d,1),r),w=e.mul(e.frobeniusMap(h,1),i);return[p,w]}const o=e.pow(n,(t.ORDER**Xn-_i)/A0),a=e.pow(n,(t.ORDER**Xn-_i)/Xn);if(!e.eql(a,e.neg(e.ONE)))throw new Error("psiFrobenius: PSI2_Y!==-1");function c(d,h){return[e.mul(d,o),e.neg(h)]}const u=d=>(h,p)=>{const w=p.toAffine(),m=d(w.x,w.y);return h.fromAffine({x:m[0],y:m[1]})},l=u(s),f=u(c);return{psi:s,psi2:c,G2psi:l,G2psi2:f,PSI_X:r,PSI_Y:i,PSI2_X:o,PSI2_Y:a}}function BE(t){const{ORDER:e}=t,n=Sr(e),r=n.create(t.NONRESIDUE||BigInt(-1)),i=n.div(n.ONE,Xn),s=Fu(n,r,n.ORDER,2)[0],o=({c0:E,c1:b},{c0:v,c1:g})=>({c0:n.add(E,v),c1:n.add(b,g)}),a=({c0:E,c1:b},{c0:v,c1:g})=>({c0:n.sub(E,v),c1:n.sub(b,g)}),c=({c0:E,c1:b},v)=>{if(typeof v=="bigint")return{c0:n.mul(E,v),c1:n.mul(b,v)};const{c0:g,c1:y}=v;let B=n.mul(E,g),A=n.mul(b,y);const O=n.sub(B,A),D=n.sub(n.mul(n.add(E,b),n.add(g,y)),n.add(B,A));return{c0:O,c1:D}},u=({c0:E,c1:b})=>{const v=n.add(E,b),g=n.sub(E,b),y=n.add(E,E);return{c0:n.mul(v,g),c1:n.mul(y,b)}},l=E=>{if(E.length!==2)throw new Error("invalid tuple");const b=E.map(v=>n.create(v));return{c0:b[0],c1:b[1]}},f=e*e,d=l(t.FP2_NONRESIDUE),h={ORDER:f,isLE:n.isLE,NONRESIDUE:d,BITS:js(f),BYTES:Math.ceil(js(f)/8),MASK:hi(js(f)),ZERO:{c0:n.ZERO,c1:n.ZERO},ONE:{c0:n.ONE,c1:n.ZERO},create:E=>E,isValid:({c0:E,c1:b})=>typeof E=="bigint"&&typeof b=="bigint",is0:({c0:E,c1:b})=>n.is0(E)&&n.is0(b),eql:({c0:E,c1:b},{c0:v,c1:g})=>n.eql(E,v)&&n.eql(b,g),neg:({c0:E,c1:b})=>({c0:n.neg(E),c1:n.neg(b)}),pow:(E,b)=>ha(h,E,b),invertBatch:E=>pi(h,E),add:o,sub:a,mul:c,sqr:u,addN:o,subN:a,mulN:c,sqrN:u,div:(E,b)=>h.mul(E,typeof b=="bigint"?n.inv(n.create(b)):h.inv(b)),inv:({c0:E,c1:b})=>{const v=n.inv(n.create(E*E+b*b));return{c0:n.mul(v,n.create(E)),c1:n.mul(v,n.create(-b))}},sqrt:E=>{if(t.Fp2sqrt)return t.Fp2sqrt(E);const{c0:b,c1:v}=E;if(n.is0(v))return da(n,b)===1?h.create({c0:n.sqrt(b),c1:n.ZERO}):h.create({c0:n.ZERO,c1:n.sqrt(n.div(b,r))});const g=n.sqrt(n.sub(n.sqr(b),n.mul(n.sqr(v),r)));let y=n.mul(n.add(g,b),i);da(n,y)===-1&&(y=n.sub(y,g));const A=n.sqrt(y),O=h.create({c0:A,c1:n.div(n.mul(v,i),A)});if(!h.eql(h.sqr(O),E))throw new Error("Cannot find square root");const D=O,C=h.neg(D),{re:M,im:L}=h.reim(D),{re:V,im:q}=h.reim(C);return L>q||L===q&&M>V?D:C},isOdd:E=>{const{re:b,im:v}=h.reim(E),g=b%Xn,y=b===IE,B=v%Xn;return BigInt(g||y&&B)==_i},fromBytes(E){if(E.length!==h.BYTES)throw new Error("fromBytes invalid length="+E.length);return{c0:n.fromBytes(E.subarray(0,n.BYTES)),c1:n.fromBytes(E.subarray(n.BYTES))}},toBytes:({c0:E,c1:b})=>Fe(n.toBytes(E),n.toBytes(b)),cmov:({c0:E,c1:b},{c0:v,c1:g},y)=>({c0:n.cmov(E,v,y),c1:n.cmov(b,g,y)}),reim:({c0:E,c1:b})=>({re:E,im:b}),mulByNonresidue:({c0:E,c1:b})=>h.mul({c0:E,c1:b},d),mulByB:t.Fp2mulByB,fromBigTuple:l,frobeniusMap:({c0:E,c1:b},v)=>({c0:E,c1:n.mul(b,s[v%2])})},p=({c0:E,c1:b,c2:v},{c0:g,c1:y,c2:B})=>({c0:h.add(E,g),c1:h.add(b,y),c2:h.add(v,B)}),w=({c0:E,c1:b,c2:v},{c0:g,c1:y,c2:B})=>({c0:h.sub(E,g),c1:h.sub(b,y),c2:h.sub(v,B)}),m=({c0:E,c1:b,c2:v},g)=>{if(typeof g=="bigint")return{c0:h.mul(E,g),c1:h.mul(b,g),c2:h.mul(v,g)};const{c0:y,c1:B,c2:A}=g,O=h.mul(E,y),D=h.mul(b,B),C=h.mul(v,A);return{c0:h.add(O,h.mulByNonresidue(h.sub(h.mul(h.add(b,v),h.add(B,A)),h.add(D,C)))),c1:h.add(h.sub(h.mul(h.add(E,b),h.add(y,B)),h.add(O,D)),h.mulByNonresidue(C)),c2:h.sub(h.add(D,h.mul(h.add(E,v),h.add(y,A))),h.add(O,C))}},P=({c0:E,c1:b,c2:v})=>{let g=h.sqr(E),y=h.mul(h.mul(E,b),Xn),B=h.mul(h.mul(b,v),Xn),A=h.sqr(v);return{c0:h.add(h.mulByNonresidue(B),g),c1:h.add(h.mulByNonresidue(A),y),c2:h.sub(h.sub(h.add(h.add(y,h.sqr(h.add(h.sub(E,b),v))),B),g),A)}},[T,I]=Fu(h,d,n.ORDER,6,2,3),x={ORDER:h.ORDER,isLE:h.isLE,BITS:3*h.BITS,BYTES:3*h.BYTES,MASK:hi(3*h.BITS),ZERO:{c0:h.ZERO,c1:h.ZERO,c2:h.ZERO},ONE:{c0:h.ONE,c1:h.ZERO,c2:h.ZERO},create:E=>E,isValid:({c0:E,c1:b,c2:v})=>h.isValid(E)&&h.isValid(b)&&h.isValid(v),is0:({c0:E,c1:b,c2:v})=>h.is0(E)&&h.is0(b)&&h.is0(v),neg:({c0:E,c1:b,c2:v})=>({c0:h.neg(E),c1:h.neg(b),c2:h.neg(v)}),eql:({c0:E,c1:b,c2:v},{c0:g,c1:y,c2:B})=>h.eql(E,g)&&h.eql(b,y)&&h.eql(v,B),sqrt:Hd,div:(E,b)=>x.mul(E,typeof b=="bigint"?n.inv(n.create(b)):x.inv(b)),pow:(E,b)=>ha(x,E,b),invertBatch:E=>pi(x,E),add:p,sub:w,mul:m,sqr:P,addN:p,subN:w,mulN:m,sqrN:P,inv:({c0:E,c1:b,c2:v})=>{let g=h.sub(h.sqr(E),h.mulByNonresidue(h.mul(v,b))),y=h.sub(h.mulByNonresidue(h.sqr(v)),h.mul(E,b)),B=h.sub(h.sqr(b),h.mul(E,v)),A=h.inv(h.add(h.mulByNonresidue(h.add(h.mul(v,y),h.mul(b,B))),h.mul(E,g)));return{c0:h.mul(A,g),c1:h.mul(A,y),c2:h.mul(A,B)}},fromBytes:E=>{if(E.length!==x.BYTES)throw new Error("fromBytes invalid length="+E.length);return{c0:h.fromBytes(E.subarray(0,h.BYTES)),c1:h.fromBytes(E.subarray(h.BYTES,2*h.BYTES)),c2:h.fromBytes(E.subarray(2*h.BYTES))}},toBytes:({c0:E,c1:b,c2:v})=>Fe(h.toBytes(E),h.toBytes(b),h.toBytes(v)),cmov:({c0:E,c1:b,c2:v},{c0:g,c1:y,c2:B},A)=>({c0:h.cmov(E,g,A),c1:h.cmov(b,y,A),c2:h.cmov(v,B,A)}),fromBigSix:E=>{if(!Array.isArray(E)||E.length!==6)throw new Error("invalid Fp6 usage");return{c0:h.fromBigTuple(E.slice(0,2)),c1:h.fromBigTuple(E.slice(2,4)),c2:h.fromBigTuple(E.slice(4,6))}},frobeniusMap:({c0:E,c1:b,c2:v},g)=>({c0:h.frobeniusMap(E,g),c1:h.mul(h.frobeniusMap(b,g),T[g%6]),c2:h.mul(h.frobeniusMap(v,g),I[g%6])}),mulByFp2:({c0:E,c1:b,c2:v},g)=>({c0:h.mul(E,g),c1:h.mul(b,g),c2:h.mul(v,g)}),mulByNonresidue:({c0:E,c1:b,c2:v})=>({c0:h.mulByNonresidue(v),c1:E,c2:b}),mul1:({c0:E,c1:b,c2:v},g)=>({c0:h.mulByNonresidue(h.mul(v,g)),c1:h.mul(E,g),c2:h.mul(b,g)}),mul01({c0:E,c1:b,c2:v},g,y){let B=h.mul(E,g),A=h.mul(b,y);return{c0:h.add(h.mulByNonresidue(h.sub(h.mul(h.add(b,v),y),A)),B),c1:h.sub(h.sub(h.mul(h.add(g,y),h.add(E,b)),B),A),c2:h.add(h.sub(h.mul(h.add(E,v),g),B),A)}}},S=Fu(h,d,n.ORDER,12,1,6)[0],U=({c0:E,c1:b},{c0:v,c1:g})=>({c0:x.add(E,v),c1:x.add(b,g)}),k=({c0:E,c1:b},{c0:v,c1:g})=>({c0:x.sub(E,v),c1:x.sub(b,g)}),F=({c0:E,c1:b},v)=>{if(typeof v=="bigint")return{c0:x.mul(E,v),c1:x.mul(b,v)};let{c0:g,c1:y}=v,B=x.mul(E,g),A=x.mul(b,y);return{c0:x.add(B,x.mulByNonresidue(A)),c1:x.sub(x.mul(x.add(E,b),x.add(g,y)),x.add(B,A))}},R=({c0:E,c1:b})=>{let v=x.mul(E,b);return{c0:x.sub(x.sub(x.mul(x.add(x.mulByNonresidue(b),E),x.add(E,b)),v),x.mulByNonresidue(v)),c1:x.add(v,v)}};function G(E,b){const v=h.sqr(E),g=h.sqr(b);return{first:h.add(h.mulByNonresidue(g),v),second:h.sub(h.sub(h.sqr(h.add(E,b)),v),g)}}const H={ORDER:h.ORDER,isLE:x.isLE,BITS:2*x.BITS,BYTES:2*x.BYTES,MASK:hi(2*x.BITS),ZERO:{c0:x.ZERO,c1:x.ZERO},ONE:{c0:x.ONE,c1:x.ZERO},create:E=>E,isValid:({c0:E,c1:b})=>x.isValid(E)&&x.isValid(b),is0:({c0:E,c1:b})=>x.is0(E)&&x.is0(b),neg:({c0:E,c1:b})=>({c0:x.neg(E),c1:x.neg(b)}),eql:({c0:E,c1:b},{c0:v,c1:g})=>x.eql(E,v)&&x.eql(b,g),sqrt:Hd,inv:({c0:E,c1:b})=>{let v=x.inv(x.sub(x.sqr(E),x.mulByNonresidue(x.sqr(b))));return{c0:x.mul(E,v),c1:x.neg(x.mul(b,v))}},div:(E,b)=>H.mul(E,typeof b=="bigint"?n.inv(n.create(b)):H.inv(b)),pow:(E,b)=>ha(H,E,b),invertBatch:E=>pi(H,E),add:U,sub:k,mul:F,sqr:R,addN:U,subN:k,mulN:F,sqrN:R,fromBytes:E=>{if(E.length!==H.BYTES)throw new Error("fromBytes invalid length="+E.length);return{c0:x.fromBytes(E.subarray(0,x.BYTES)),c1:x.fromBytes(E.subarray(x.BYTES))}},toBytes:({c0:E,c1:b})=>Fe(x.toBytes(E),x.toBytes(b)),cmov:({c0:E,c1:b},{c0:v,c1:g},y)=>({c0:x.cmov(E,v,y),c1:x.cmov(b,g,y)}),fromBigTwelve:E=>({c0:x.fromBigSix(E.slice(0,6)),c1:x.fromBigSix(E.slice(6,12))}),frobeniusMap(E,b){const{c0:v,c1:g,c2:y}=x.frobeniusMap(E.c1,b),B=S[b%12];return{c0:x.frobeniusMap(E.c0,b),c1:x.create({c0:h.mul(v,B),c1:h.mul(g,B),c2:h.mul(y,B)})}},mulByFp2:({c0:E,c1:b},v)=>({c0:x.mulByFp2(E,v),c1:x.mulByFp2(b,v)}),conjugate:({c0:E,c1:b})=>({c0:E,c1:x.neg(b)}),mul014:({c0:E,c1:b},v,g,y)=>{let B=x.mul01(E,v,g),A=x.mul1(b,y);return{c0:x.add(x.mulByNonresidue(A),B),c1:x.sub(x.sub(x.mul01(x.add(b,E),v,h.add(g,y)),B),A)}},mul034:({c0:E,c1:b},v,g,y)=>{const B=x.create({c0:h.mul(E.c0,v),c1:h.mul(E.c1,v),c2:h.mul(E.c2,v)}),A=x.mul01(b,g,y),O=x.mul01(x.add(E,b),h.add(v,g),y);return{c0:x.add(x.mulByNonresidue(A),B),c1:x.sub(O,x.add(B,A))}},_cyclotomicSquare:t.Fp12cyclotomicSquare,_cyclotomicExp:t.Fp12cyclotomicExp,finalExponentiate:t.Fp12finalExponentiate};return{Fp:n,Fp2:h,Fp6:x,Fp4Square:G,Fp12:H}}const St=BigInt(0),ba=BigInt(1),Ze=BigInt(2),wa=BigInt(3),Gs=BigInt(4),Ar=BigInt("0xd201000000010000"),OE=js(Ar),{Fp:se,Fp2:ae,Fp6:qu,Fp4Square:ku,Fp12:ge}=BE({ORDER:BigInt("0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaab"),FP2_NONRESIDUE:[ba,ba],Fp2mulByB:({c0:t,c1:e})=>{const n=se.mul(t,Gs),r=se.mul(e,Gs);return{c0:se.sub(n,r),c1:se.add(n,r)}},Fp12cyclotomicSquare:({c0:t,c1:e})=>{const{c0:n,c1:r,c2:i}=t,{c0:s,c1:o,c2:a}=e,{first:c,second:u}=ku(n,o),{first:l,second:f}=ku(s,i),{first:d,second:h}=ku(r,a),p=ae.mulByNonresidue(h);return{c0:qu.create({c0:ae.add(ae.mul(ae.sub(c,n),Ze),c),c1:ae.add(ae.mul(ae.sub(l,r),Ze),l),c2:ae.add(ae.mul(ae.sub(d,i),Ze),d)}),c1:qu.create({c0:ae.add(ae.mul(ae.add(p,s),Ze),p),c1:ae.add(ae.mul(ae.add(u,o),Ze),u),c2:ae.add(ae.mul(ae.add(f,a),Ze),f)})}},Fp12cyclotomicExp(t,e){let n=ge.ONE;for(let r=OE-1;r>=0;r--)n=ge._cyclotomicSquare(n),ev(e,r)&&(n=ge.mul(n,t));return n},Fp12finalExponentiate:t=>{const e=Ar,n=ge.div(ge.frobeniusMap(t,6),t),r=ge.mul(ge.frobeniusMap(n,2),n),i=ge.conjugate(ge._cyclotomicExp(r,e)),s=ge.mul(ge.conjugate(ge._cyclotomicSquare(r)),i),o=ge.conjugate(ge._cyclotomicExp(s,e)),a=ge.conjugate(ge._cyclotomicExp(o,e)),c=ge.mul(ge.conjugate(ge._cyclotomicExp(a,e)),ge._cyclotomicSquare(i)),u=ge.conjugate(ge._cyclotomicExp(c,e)),l=ge.frobeniusMap(ge.mul(i,a),2),f=ge.frobeniusMap(ge.mul(o,r),3),d=ge.frobeniusMap(ge.mul(c,ge.conjugate(r)),1),h=ge.mul(ge.mul(u,ge.conjugate(s)),r);return ge.mul(ge.mul(ge.mul(l,f),d),h)}}),P0=Sr(BigInt("0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001")),AE=E0(ae,[[["0x5c759507e8e333ebb5b7a9a47d7ed8532c52d39fd3a042a88b58423c50ae15d5c2638e343d9c71c6238aaaaaaaa97d6","0x5c759507e8e333ebb5b7a9a47d7ed8532c52d39fd3a042a88b58423c50ae15d5c2638e343d9c71c6238aaaaaaaa97d6"],["0x0","0x11560bf17baa99bc32126fced787c88f984f87adf7ae0c7f9a208c6b4f20a4181472aaa9cb8d555526a9ffffffffc71a"],["0x11560bf17baa99bc32126fced787c88f984f87adf7ae0c7f9a208c6b4f20a4181472aaa9cb8d555526a9ffffffffc71e","0x8ab05f8bdd54cde190937e76bc3e447cc27c3d6fbd7063fcd104635a790520c0a395554e5c6aaaa9354ffffffffe38d"],["0x171d6541fa38ccfaed6dea691f5fb614cb14b4e7f4e810aa22d6108f142b85757098e38d0f671c7188e2aaaaaaaa5ed1","0x0"]],[["0x0","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaa63"],["0xc","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaa9f"],["0x1","0x0"]],[["0x1530477c7ab4113b59a4c18b076d11930f7da5d4a07f649bf54439d87d27e500fc8c25ebf8c92f6812cfc71c71c6d706","0x1530477c7ab4113b59a4c18b076d11930f7da5d4a07f649bf54439d87d27e500fc8c25ebf8c92f6812cfc71c71c6d706"],["0x0","0x5c759507e8e333ebb5b7a9a47d7ed8532c52d39fd3a042a88b58423c50ae15d5c2638e343d9c71c6238aaaaaaaa97be"],["0x11560bf17baa99bc32126fced787c88f984f87adf7ae0c7f9a208c6b4f20a4181472aaa9cb8d555526a9ffffffffc71c","0x8ab05f8bdd54cde190937e76bc3e447cc27c3d6fbd7063fcd104635a790520c0a395554e5c6aaaa9354ffffffffe38f"],["0x124c9ad43b6cf79bfbf7043de3811ad0761b0f37a1e26286b0e977c69aa274524e79097a56dc4bd9e1b371c71c718b10","0x0"]],[["0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffa8fb","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffa8fb"],["0x0","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffa9d3"],["0x12","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaa99"],["0x1","0x0"]]].map(t=>t.map(e=>ae.fromBigTuple(e.map(BigInt))))),PE=E0(se,[["0x11a05f2b1e833340b809101dd99815856b303e88a2d7005ff2627b56cdb4e2c85610c2d5f2e62d6eaeac1662734649b7","0x17294ed3e943ab2f0588bab22147a81c7c17e75b2f6a8417f565e33c70d1e86b4838f2a6f318c356e834eef1b3cb83bb","0xd54005db97678ec1d1048c5d10a9a1bce032473295983e56878e501ec68e25c958c3e3d2a09729fe0179f9dac9edcb0","0x1778e7166fcc6db74e0609d307e55412d7f5e4656a8dbf25f1b33289f1b330835336e25ce3107193c5b388641d9b6861","0xe99726a3199f4436642b4b3e4118e5499db995a1257fb3f086eeb65982fac18985a286f301e77c451154ce9ac8895d9","0x1630c3250d7313ff01d1201bf7a74ab5db3cb17dd952799b9ed3ab9097e68f90a0870d2dcae73d19cd13c1c66f652983","0xd6ed6553fe44d296a3726c38ae652bfb11586264f0f8ce19008e218f9c86b2a8da25128c1052ecaddd7f225a139ed84","0x17b81e7701abdbe2e8743884d1117e53356de5ab275b4db1a682c62ef0f2753339b7c8f8c8f475af9ccb5618e3f0c88e","0x80d3cf1f9a78fc47b90b33563be990dc43b756ce79f5574a2c596c928c5d1de4fa295f296b74e956d71986a8497e317","0x169b1f8e1bcfa7c42e0c37515d138f22dd2ecb803a0c5c99676314baf4bb1b7fa3190b2edc0327797f241067be390c9e","0x10321da079ce07e272d8ec09d2565b0dfa7dccdde6787f96d50af36003b14866f69b771f8c285decca67df3f1605fb7b","0x6e08c248e260e70bd1e962381edee3d31d79d7e22c837bc23c0bf1bc24c6b68c24b1b80b64d391fa9c8ba2e8ba2d229"],["0x8ca8d548cff19ae18b2e62f4bd3fa6f01d5ef4ba35b48ba9c9588617fc8ac62b558d681be343df8993cf9fa40d21b1c","0x12561a5deb559c4348b4711298e536367041e8ca0cf0800c0126c2588c48bf5713daa8846cb026e9e5c8276ec82b3bff","0xb2962fe57a3225e8137e629bff2991f6f89416f5a718cd1fca64e00b11aceacd6a3d0967c94fedcfcc239ba5cb83e19","0x3425581a58ae2fec83aafef7c40eb545b08243f16b1655154cca8abc28d6fd04976d5243eecf5c4130de8938dc62cd8","0x13a8e162022914a80a6f1d5f43e7a07dffdfc759a12062bb8d6b44e833b306da9bd29ba81f35781d539d395b3532a21e","0xe7355f8e4e667b955390f7f0506c6e9395735e9ce9cad4d0a43bcef24b8982f7400d24bc4228f11c02df9a29f6304a5","0x772caacf16936190f3e0c63e0596721570f5799af53a1894e2e073062aede9cea73b3538f0de06cec2574496ee84a3a","0x14a7ac2a9d64a8b230b3f5b074cf01996e7f63c21bca68a81996e1cdf9822c580fa5b9489d11e2d311f7d99bbdcc5a5e","0xa10ecf6ada54f825e920b3dafc7a3cce07f8d1d7161366b74100da67f39883503826692abba43704776ec3a79a1d641","0x95fc13ab9e92ad4476d6e3eb3a56680f682b4ee96f7d03776df533978f31c1593174e4b4b7865002d6384d168ecdd0a","0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"],["0x90d97c81ba24ee0259d1f094980dcfa11ad138e48a869522b52af6c956543d3cd0c7aee9b3ba3c2be9845719707bb33","0x134996a104ee5811d51036d776fb46831223e96c254f383d0f906343eb67ad34d6c56711962fa8bfe097e75a2e41c696","0xcc786baa966e66f4a384c86a3b49942552e2d658a31ce2c344be4b91400da7d26d521628b00523b8dfe240c72de1f6","0x1f86376e8981c217898751ad8746757d42aa7b90eeb791c09e4a3ec03251cf9de405aba9ec61deca6355c77b0e5f4cb","0x8cc03fdefe0ff135caf4fe2a21529c4195536fbe3ce50b879833fd221351adc2ee7f8dc099040a841b6daecf2e8fedb","0x16603fca40634b6a2211e11db8f0a6a074a7d0d4afadb7bd76505c3d3ad5544e203f6326c95a807299b23ab13633a5f0","0x4ab0b9bcfac1bbcb2c977d027796b3ce75bb8ca2be184cb5231413c4d634f3747a87ac2460f415ec961f8855fe9d6f2","0x987c8d5333ab86fde9926bd2ca6c674170a05bfe3bdd81ffd038da6c26c842642f64550fedfe935a15e4ca31870fb29","0x9fc4018bd96684be88c9e221e4da1bb8f3abd16679dc26c1e8b6e6a1f20cabe69d65201c78607a360370e577bdba587","0xe1bba7a1186bdb5223abde7ada14a23c42a0ca7915af6fe06985e7ed1e4d43b9b3f7055dd4eba6f2bafaaebca731c30","0x19713e47937cd1be0dfd0b8f1d43fb93cd2fcbcb6caf493fd1183e416389e61031bf3a5cce3fbafce813711ad011c132","0x18b46a908f36f6deb918c143fed2edcc523559b8aaf0c2462e6bfe7f911f643249d9cdf41b44d606ce07c8a4d0074d8e","0xb182cac101b9399d155096004f53f447aa7b12a3426b08ec02710e807b4633f06c851c1919211f20d4c04f00b971ef8","0x245a394ad1eca9b72fc00ae7be315dc757b3b080d4c158013e6632d3c40659cc6cf90ad1c232a6442d9d3f5db980133","0x5c129645e44cf1102a159f748c4a3fc5e673d81d7e86568d9ab0f5d396a7ce46ba1049b6579afb7866b1e715475224b","0x15e6be4e990f03ce4ea50b3b42df2eb5cb181d8f84965a3957add4fa95af01b2b665027efec01c7704b456be69c8b604"],["0x16112c4c3a9c98b252181140fad0eae9601a6de578980be6eec3232b5be72e7a07f3688ef60c206d01479253b03663c1","0x1962d75c2381201e1a0cbd6c43c348b885c84ff731c4d59ca4a10356f453e01f78a4260763529e3532f6102c2e49a03d","0x58df3306640da276faaae7d6e8eb15778c4855551ae7f310c35a5dd279cd2eca6757cd636f96f891e2538b53dbf67f2","0x16b7d288798e5395f20d23bf89edb4d1d115c5dbddbcd30e123da489e726af41727364f2c28297ada8d26d98445f5416","0xbe0e079545f43e4b00cc912f8228ddcc6d19c9f0f69bbb0542eda0fc9dec916a20b15dc0fd2ededda39142311a5001d","0x8d9e5297186db2d9fb266eaac783182b70152c65550d881c5ecd87b6f0f5a6449f38db9dfa9cce202c6477faaf9b7ac","0x166007c08a99db2fc3ba8734ace9824b5eecfdfa8d0cf8ef5dd365bc400a0051d5fa9c01a58b1fb93d1a1399126a775c","0x16a3ef08be3ea7ea03bcddfabba6ff6ee5a4375efa1f4fd7feb34fd206357132b920f5b00801dee460ee415a15812ed9","0x1866c8ed336c61231a1be54fd1d74cc4f9fb0ce4c6af5920abc5750c4bf39b4852cfe2f7bb9248836b233d9d55535d4a","0x167a55cda70a6e1cea820597d94a84903216f763e13d87bb5308592e7ea7d4fbc7385ea3d529b35e346ef48bb8913f55","0x4d2f259eea405bd48f010a01ad2911d9c6dd039bb61a6290e591b36e636a5c871a5c29f4f83060400f8b49cba8f6aa8","0xaccbb67481d033ff5852c1e48c50c477f94ff8aefce42d28c0f9a88cea7913516f968986f7ebbea9684b529e2561092","0xad6b9514c767fe3c3613144b45f1496543346d98adf02267d5ceef9a00d9b8693000763e3b90ac11e99b138573345cc","0x2660400eb2e4f3b628bdd0d53cd76f2bf565b94e72927c1cb748df27942480e420517bd8714cc80d1fadc1326ed06f7","0xe0fa1d816ddc03e6b24255e0d7819c171c40f65e273b853324efcd6356caa205ca2f570f13497804415473a1d634b8f","0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"]].map(t=>t.map(e=>BigInt(e)))),DE=m0(ae,{A:ae.create({c0:se.create(St),c1:se.create(BigInt(240))}),B:ae.create({c0:se.create(BigInt(1012)),c1:se.create(BigInt(1012))}),Z:ae.create({c0:se.create(BigInt(-2)),c1:se.create(BigInt(-1))})}),RE=m0(se,{A:se.create(BigInt("0x144698a3b8e9433d693a02c96d4982b0ea985383ee66a8d8e8981aefd881ac98936f8da0e0f97f5cf428082d584c1d")),B:se.create(BigInt("0x12e2908d11688030018b12e8753eee3b2016c1f0f24f4070a0b9c14fcef35ef55a23215a316ceaa5d1cc48e98e172be0")),Z:se.create(BigInt(11))}),{G2psi:D0,G2psi2:TE}=SE(se,ae,ae.div(ae.ONE,ae.NONRESIDUE)),Lu=Object.freeze({DST:"BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_NUL_",encodeDST:"BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_NUL_",p:se.ORDER,m:2,k:128,expand:"xmd",hash:sa}),ya=Ws(se.toBytes(St),{infinity:!0,compressed:!0});function ma(t){t=t.slice();const e=t[0]&224,n=!!(e>>7&1),r=!!(e>>6&1),i=!!(e>>5&1);return t[0]&=31,{compressed:n,infinity:r,sort:i,value:t}}function Ws(t,e){if(t[0]&224)throw new Error("setMask: non-empty mask");return e.compressed&&(t[0]|=128),e.infinity&&(t[0]|=64),e.sort&&(t[0]|=32),t}function R0(t){t.assertValidity();const e=t.equals(pn.G1.ProjectivePoint.ZERO),{x:n,y:r}=t.toAffine();if(e)return ya.slice();const i=se.ORDER,s=!!(r*Ze/i);return Ws(ze(n,se.BYTES),{compressed:!0,sort:s})}function T0(t){t.assertValidity();const e=se.BYTES;if(t.equals(pn.G2.ProjectivePoint.ZERO))return Fe(ya,ze(St,e));const{x:n,y:r}=t.toAffine(),{re:i,im:s}=ae.reim(n),{re:o,im:a}=ae.reim(r),u=!!((a>St?a*Ze:o*Ze)/se.ORDER&ba),l=i;return Fe(Ws(ze(s,e),{sort:u,compressed:!0}),ze(l,e))}const pn=xE({fields:{Fp:se,Fp2:ae,Fp6:qu,Fp12:ge,Fr:P0},G1:{Fp:se,h:BigInt("0x396c8c005555e1568c00aaab0000aaab"),Gx:BigInt("0x17f1d3a73197d7942695638c4fa9ac0fc3688c4f9774b905a14e3a3f171bac586c55e83ff97a1aeffb3af00adb22c6bb"),Gy:BigInt("0x08b3f481e3aaa0f1a09e30ed741d8ae4fcf5e095d5d00af600db18cb2c04b3edd03cc744a2888ae40caa232946c5e7e1"),a:se.ZERO,b:Gs,htfDefaults:{...Lu,m:1,DST:"BLS_SIG_BLS12381G1_XMD:SHA-256_SSWU_RO_NUL_"},wrapPrivateKey:!0,allowInfinityPoint:!0,isTorsionFree:(t,e)=>{const n=BigInt("0x5f19672fdf76ce51ba69c6076a0f77eaddb3a93be6f89688de17d813620a00022e01fffffffefffe"),r=new t(se.mul(e.px,n),e.py,e.pz);return e.multiplyUnsafe(Ar).negate().multiplyUnsafe(Ar).equals(r)},clearCofactor:(t,e)=>e.multiplyUnsafe(Ar).add(e),mapToCurve:t=>{const{x:e,y:n}=RE(se.create(t[0]));return PE(e,n)},fromBytes:t=>{const{compressed:e,infinity:n,sort:r,value:i}=ma(t);if(i.length===48&&e){const s=se.ORDER,o=Et(i),a=se.create(o&se.MASK);if(n){if(a!==St)throw new Error("G1: non-empty compressed point at infinity");return{x:St,y:St}}const c=se.add(se.pow(a,wa),se.create(pn.params.G1b));let u=se.sqrt(c);if(!u)throw new Error("invalid compressed G1 point");return u*Ze/s!==BigInt(r)&&(u=se.neg(u)),{x:se.create(a),y:se.create(u)}}else if(i.length===96&&!e){const s=Et(i.subarray(0,se.BYTES)),o=Et(i.subarray(se.BYTES));if(n){if(s!==St||o!==St)throw new Error("G1: non-empty point at infinity");return pn.G1.ProjectivePoint.ZERO.toAffine()}return{x:se.create(s),y:se.create(o)}}else throw new Error("invalid point G1, expected 48/96 bytes")},toBytes:(t,e,n)=>{const r=e.equals(t.ZERO),{x:i,y:s}=e.toAffine();if(n){if(r)return ya.slice();const o=se.ORDER,a=!!(s*Ze/o);return Ws(ze(i,se.BYTES),{compressed:!0,sort:a})}else return r?Fe(new Uint8Array([64]),new Uint8Array(2*se.BYTES-1)):Fe(ze(i,se.BYTES),ze(s,se.BYTES))},ShortSignature:{fromHex(t){const{infinity:e,sort:n,value:r}=ma(ht("signatureHex",t,48)),i=se.ORDER,s=Et(r);if(e)return pn.G1.ProjectivePoint.ZERO;const o=se.create(s&se.MASK),a=se.add(se.pow(o,wa),se.create(pn.params.G1b));let c=se.sqrt(a);if(!c)throw new Error("invalid compressed G1 point");const u=BigInt(n);c*Ze/i!==u&&(c=se.neg(c));const l=pn.G1.ProjectivePoint.fromAffine({x:o,y:c});return l.assertValidity(),l},toRawBytes(t){return R0(t)},toHex(t){return fi(R0(t))}}},G2:{Fp:ae,h:BigInt("0x5d543a95414e7f1091d50792876a202cd91de4547085abaa68a205b2e5a7ddfa628f1cb4d9e82ef21537e293a6691ae1616ec6e786f0c70cf1c38e31c7238e5"),Gx:ae.fromBigTuple([BigInt("0x024aa2b2f08f0a91260805272dc51051c6e47ad4fa403b02b4510b647ae3d1770bac0326a805bbefd48056c8c121bdb8"),BigInt("0x13e02b6052719f607dacd3a088274f65596bd0d09920b61ab5da61bbdc7f5049334cf11213945d57e5ac7d055d042b7e")]),Gy:ae.fromBigTuple([BigInt("0x0ce5d527727d6e118cc9cdc6da2e351aadfd9baa8cbdd3a76d429a695160d12c923ac9cc3baca289e193548608b82801"),BigInt("0x0606c4a02ea734cc32acd2b02bc28b99cb3e287e85a763af267492ab572e99ab3f370d275cec1da1aaa9075ff05f79be")]),a:ae.ZERO,b:ae.fromBigTuple([Gs,Gs]),hEff:BigInt("0xbc69f08f2ee75b3584c6a0ea91b352888e2a8e9145ad7689986ff031508ffe1329c2f178731db956d82bf015d1212b02ec0ec69d7477c1ae954cbc06689f6a359894c0adebbf6b4e8020005aaa95551"),htfDefaults:{...Lu},wrapPrivateKey:!0,allowInfinityPoint:!0,mapToCurve:t=>{const{x:e,y:n}=DE(ae.fromBigTuple(t));return AE(e,n)},isTorsionFree:(t,e)=>e.multiplyUnsafe(Ar).negate().equals(D0(t,e)),clearCofactor:(t,e)=>{const n=Ar;let r=e.multiplyUnsafe(n).negate(),i=D0(t,e),s=e.double();return s=TE(t,s),s=s.subtract(i),i=r.add(i),i=i.multiplyUnsafe(n).negate(),s=s.add(i),s=s.subtract(r),s.subtract(e)},fromBytes:t=>{const{compressed:e,infinity:n,sort:r,value:i}=ma(t);if(!e&&!n&&r||!e&&n&&r||r&&n&&e)throw new Error("invalid encoding flag: "+(t[0]&224));const s=se.BYTES,o=(a,c,u)=>Et(a.slice(c,u));if(i.length===96&&e){const a=pn.params.G2b,c=se.ORDER;if(n){if(i.reduce((w,m)=>w!==0?m+1:m,0)>0)throw new Error("invalid compressed G2 point");return{x:ae.ZERO,y:ae.ZERO}}const u=o(i,0,s),l=o(i,s,2*s),f=ae.create({c0:se.create(l),c1:se.create(u)}),d=ae.add(ae.pow(f,wa),a);let h=ae.sqrt(d);const p=h.c1===St?h.c0*Ze/c:h.c1*Ze/c?ba:St;return h=r&&p>0?h:ae.neg(h),{x:f,y:h}}else if(i.length===192&&!e){if(n){if(i.reduce((f,d)=>f!==0?d+1:d,0)>0)throw new Error("invalid uncompressed G2 point");return{x:ae.ZERO,y:ae.ZERO}}const a=o(i,0,s),c=o(i,s,2*s),u=o(i,2*s,3*s),l=o(i,3*s,4*s);return{x:ae.fromBigTuple([c,a]),y:ae.fromBigTuple([l,u])}}else throw new Error("invalid point G2, expected 96/192 bytes")},toBytes:(t,e,n)=>{const{BYTES:r,ORDER:i}=se,s=e.equals(t.ZERO),{x:o,y:a}=e.toAffine();if(n){if(s)return Fe(ya,ze(St,r));const c=!!(a.c1===St?a.c0*Ze/i:a.c1*Ze/i);return Fe(Ws(ze(o.c1,r),{compressed:!0,sort:c}),ze(o.c0,r))}else{if(s)return Fe(new Uint8Array([64]),new Uint8Array(4*r-1));const{re:c,im:u}=ae.reim(o),{re:l,im:f}=ae.reim(a);return Fe(ze(u,r),ze(c,r),ze(f,r),ze(l,r))}},Signature:{fromHex(t){const{infinity:e,sort:n,value:r}=ma(ht("signatureHex",t)),i=se.ORDER,s=r.length/2;if(s!==48&&s!==96)throw new Error("invalid compressed signature length, must be 96 or 192");const o=Et(r.slice(0,s)),a=Et(r.slice(s));if(e)return pn.G2.ProjectivePoint.ZERO;const c=se.create(o&se.MASK),u=se.create(a),l=ae.create({c0:u,c1:c}),f=ae.add(ae.pow(l,wa),pn.params.G2b);let d=ae.sqrt(f);if(!d)throw new Error("Failed to find a square root");const{re:h,im:p}=ae.reim(d),w=BigInt(n),m=p>St&&p*Ze/i!==w,P=p===St&&h*Ze/i!==w;(m||P)&&(d=ae.neg(d));const T=pn.G2.ProjectivePoint.fromAffine({x:l,y:d});return T.assertValidity(),T},toRawBytes(t){return T0(t)},toHex(t){return fi(T0(t))}}},params:{ateLoopSize:Ar,r:P0.ORDER,xNegative:!0,twistType:"multiplicative"},htfDefaults:Lu,hash:sa,randomBytes:Sd});BigInt(0),BigInt(1),BigInt(2),BigInt(8),BigInt(0),BigInt(1),BigInt(2),BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),BigInt(0),BigInt(1),BigInt(2),BigInt(3),BigInt(5),BigInt(8);const $i=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function va(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Mu(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function gi(t,...e){if(!va(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function N0(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");Mu(t.outputLen),Mu(t.blockLen)}function Ea(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function NE(t,e){gi(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function xa(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function ju(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function Pn(t,e){return t<<32-e|t>>>e}const U0=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",UE=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function es(t){if(gi(t),U0)return t.toHex();let e="";for(let n=0;n<t.length;n++)e+=UE[t[n]];return e}const Jn={_0:48,_9:57,A:65,F:70,a:97,f:102};function C0(t){if(t>=Jn._0&&t<=Jn._9)return t-Jn._0;if(t>=Jn.A&&t<=Jn.F)return t-(Jn.A-10);if(t>=Jn.a&&t<=Jn.f)return t-(Jn.a-10)}function Ia(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(U0)return Uint8Array.fromHex(t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=C0(t.charCodeAt(s)),a=C0(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function zu(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function Ku(t){return typeof t=="string"&&(t=zu(t)),gi(t),t}function Pr(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];gi(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}class F0{}function CE(t){const e=r=>t().update(Ku(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function q0(t=32){if($i&&typeof $i.getRandomValues=="function")return $i.getRandomValues(new Uint8Array(t));if($i&&typeof $i.randomBytes=="function")return Uint8Array.from($i.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}const Vu=BigInt(0),Hu=BigInt(1);function Sa(t,e=""){if(typeof t!="boolean"){const n=e&&`"${e}"`;throw new Error(n+"expected boolean, got type="+typeof t)}return t}function bi(t,e,n=""){const r=va(t),i=t?.length,s=e!==void 0;if(!r||s&&i!==e){const o=n&&`"${n}" `,a=s?` of length ${e}`:"",c=r?`length=${i}`:`type=${typeof t}`;throw new Error(o+"expected Uint8Array"+a+", got "+c)}return t}function Ba(t){const e=t.toString(16);return e.length&1?"0"+e:e}function k0(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?Vu:BigInt("0x"+t)}function Oa(t){return k0(es(t))}function L0(t){return gi(t),k0(es(Uint8Array.from(t).reverse()))}function Gu(t,e){return Ia(t.toString(16).padStart(e*2,"0"))}function M0(t,e){return Gu(t,e).reverse()}function Nt(t,e,n){let r;if(typeof e=="string")try{r=Ia(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(va(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}const Wu=t=>typeof t=="bigint"&&Vu<=t;function FE(t,e,n){return Wu(t)&&Wu(e)&&Wu(n)&&e<=t&&t<n}function qE(t,e,n,r){if(!FE(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function j0(t){let e;for(e=0;t>Vu;t>>=Hu,e+=1);return e}const Zs=t=>(Hu<<BigInt(t))-Hu;function kE(t,e,n){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");const r=h=>new Uint8Array(h),i=h=>Uint8Array.of(h);let s=r(t),o=r(t),a=0;const c=()=>{s.fill(1),o.fill(0),a=0},u=(...h)=>n(o,s,...h),l=(h=r(0))=>{o=u(i(0),h),s=u(),h.length!==0&&(o=u(i(1),h),s=u())},f=()=>{if(a++>=1e3)throw new Error("drbg: tried 1000 values");let h=0;const p=[];for(;h<e;){s=u();const w=s.slice();p.push(w),h+=s.length}return Pr(...p)};return(h,p)=>{c(),l(h);let w;for(;!(w=p(f()));)l();return c(),w}}function Zu(t,e,n={}){if(!t||typeof t!="object")throw new Error("expected valid options object");function r(i,s,o){const a=t[i];if(o&&a===void 0)return;const c=typeof a;if(c!==s||a===null)throw new Error(`param "${i}" is invalid: expected ${s}, got ${c}`)}Object.entries(e).forEach(([i,s])=>r(i,s,!1)),Object.entries(n).forEach(([i,s])=>r(i,s,!0))}function z0(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}const Ut=BigInt(0),Bt=BigInt(1),wi=BigInt(2),K0=BigInt(3),V0=BigInt(4),H0=BigInt(5),LE=BigInt(7),G0=BigInt(8),ME=BigInt(9),W0=BigInt(16);function gn(t,e){const n=t%e;return n>=Ut?n:e+n}function tn(t,e,n){let r=t;for(;e-- >Ut;)r*=r,r%=n;return r}function Z0(t,e){if(t===Ut)throw new Error("invert: expected non-zero number");if(e<=Ut)throw new Error("invert: expected positive modulus, got "+e);let n=gn(t,e),r=e,i=Ut,s=Bt;for(;n!==Ut;){const a=r/n,c=r%n,u=i-s*a;r=n,n=c,i=s,s=u}if(r!==Bt)throw new Error("invert: does not exist");return gn(i,e)}function Yu(t,e,n){if(!t.eql(t.sqr(e),n))throw new Error("Cannot find square root")}function Y0(t,e){const n=(t.ORDER+Bt)/V0,r=t.pow(e,n);return Yu(t,r,e),r}function jE(t,e){const n=(t.ORDER-H0)/G0,r=t.mul(e,wi),i=t.pow(r,n),s=t.mul(e,i),o=t.mul(t.mul(s,wi),i),a=t.mul(s,t.sub(o,t.ONE));return Yu(t,a,e),a}function zE(t){const e=Ys(t),n=X0(t),r=n(e,e.neg(e.ONE)),i=n(e,r),s=n(e,e.neg(r)),o=(t+LE)/W0;return(a,c)=>{let u=a.pow(c,o),l=a.mul(u,r);const f=a.mul(u,i),d=a.mul(u,s),h=a.eql(a.sqr(l),c),p=a.eql(a.sqr(f),c);u=a.cmov(u,l,h),l=a.cmov(d,f,p);const w=a.eql(a.sqr(l),c),m=a.cmov(u,l,w);return Yu(a,m,c),m}}function X0(t){if(t<K0)throw new Error("sqrt is not defined for small field");let e=t-Bt,n=0;for(;e%wi===Ut;)e/=wi,n++;let r=wi;const i=Ys(t);for(;Q0(i,r)===1;)if(r++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return Y0;let s=i.pow(r,e);const o=(e+Bt)/wi;return function(c,u){if(c.is0(u))return u;if(Q0(c,u)!==1)throw new Error("Cannot find square root");let l=n,f=c.mul(c.ONE,s),d=c.pow(u,e),h=c.pow(u,o);for(;!c.eql(d,c.ONE);){if(c.is0(d))return c.ZERO;let p=1,w=c.sqr(d);for(;!c.eql(w,c.ONE);)if(p++,w=c.sqr(w),p===l)throw new Error("Cannot find square root");const m=Bt<<BigInt(l-p-1),P=c.pow(f,m);l=p,f=c.sqr(P),d=c.mul(d,f),h=c.mul(h,P)}return h}}function KE(t){return t%V0===K0?Y0:t%G0===H0?jE:t%W0===ME?zE(t):X0(t)}const VE=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function HE(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},n=VE.reduce((r,i)=>(r[i]="function",r),e);return Zu(t,n),t}function GE(t,e,n){if(n<Ut)throw new Error("invalid exponent, negatives unsupported");if(n===Ut)return t.ONE;if(n===Bt)return e;let r=t.ONE,i=e;for(;n>Ut;)n&Bt&&(r=t.mul(r,i)),i=t.sqr(i),n>>=Bt;return r}function J0(t,e,n=!1){const r=new Array(e.length).fill(n?t.ZERO:void 0),i=e.reduce((o,a,c)=>t.is0(a)?o:(r[c]=o,t.mul(o,a)),t.ONE),s=t.inv(i);return e.reduceRight((o,a,c)=>t.is0(a)?o:(r[c]=t.mul(o,r[c]),t.mul(o,a)),s),r}function Q0(t,e){const n=(t.ORDER-Bt)/wi,r=t.pow(e,n),i=t.eql(r,t.ONE),s=t.eql(r,t.ZERO),o=t.eql(r,t.neg(t.ONE));if(!i&&!s&&!o)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function _0(t,e){e!==void 0&&Mu(e);const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function Ys(t,e,n=!1,r={}){if(t<=Ut)throw new Error("invalid field: expected ORDER > 0, got "+t);let i,s,o=!1,a;if(typeof e=="object"&&e!=null){if(r.sqrt||n)throw new Error("cannot specify opts in two arguments");const d=e;d.BITS&&(i=d.BITS),d.sqrt&&(s=d.sqrt),typeof d.isLE=="boolean"&&(n=d.isLE),typeof d.modFromBytes=="boolean"&&(o=d.modFromBytes),a=d.allowedLengths}else typeof e=="number"&&(i=e),r.sqrt&&(s=r.sqrt);const{nBitLength:c,nByteLength:u}=_0(t,i);if(u>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let l;const f=Object.freeze({ORDER:t,isLE:n,BITS:c,BYTES:u,MASK:Zs(c),ZERO:Ut,ONE:Bt,allowedLengths:a,create:d=>gn(d,t),isValid:d=>{if(typeof d!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof d);return Ut<=d&&d<t},is0:d=>d===Ut,isValidNot0:d=>!f.is0(d)&&f.isValid(d),isOdd:d=>(d&Bt)===Bt,neg:d=>gn(-d,t),eql:(d,h)=>d===h,sqr:d=>gn(d*d,t),add:(d,h)=>gn(d+h,t),sub:(d,h)=>gn(d-h,t),mul:(d,h)=>gn(d*h,t),pow:(d,h)=>GE(f,d,h),div:(d,h)=>gn(d*Z0(h,t),t),sqrN:d=>d*d,addN:(d,h)=>d+h,subN:(d,h)=>d-h,mulN:(d,h)=>d*h,inv:d=>Z0(d,t),sqrt:s||(d=>(l||(l=KE(t)),l(f,d))),toBytes:d=>n?M0(d,u):Gu(d,u),fromBytes:(d,h=!0)=>{if(a){if(!a.includes(d.length)||d.length>u)throw new Error("Field.fromBytes: expected "+a+" bytes, got "+d.length);const w=new Uint8Array(u);w.set(d,n?0:w.length-d.length),d=w}if(d.length!==u)throw new Error("Field.fromBytes: expected "+u+" bytes, got "+d.length);let p=n?L0(d):Oa(d);if(o&&(p=gn(p,t)),!h&&!f.isValid(p))throw new Error("invalid field element: outside of range 0..ORDER");return p},invertBatch:d=>J0(f,d),cmov:(d,h,p)=>p?h:d});return Object.freeze(f)}function $0(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const e=t.toString(2).length;return Math.ceil(e/8)}function ep(t){const e=$0(t);return e+Math.ceil(e/2)}function WE(t,e,n=!1){const r=t.length,i=$0(e),s=ep(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const o=n?L0(t):Oa(t),a=gn(o,e-Bt)+Bt;return n?M0(a,i):Gu(a,i)}function ZE(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}function YE(t,e,n){return t&e^~t&n}function XE(t,e,n){return t&e^t&n^e&n}class JE extends F0{constructor(e,n,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=ju(this.buffer)}update(e){Ea(this),e=Ku(e),gi(e);const{view:n,buffer:r,blockLen:i}=this,s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=ju(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){Ea(this),NE(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,xa(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(r,0),o=0);for(let f=o;f<i;f++)n[f]=0;ZE(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=ju(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=c/4,l=this.get();if(u>l.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f<u;f++)a.setUint32(4*f,l[f],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=s,e.length=i,e.pos=a,i%n&&e.buffer.set(r),e}clone(){return this._cloneInto()}}const Dr=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),QE=Uint32Array.from([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]),Rr=new Uint32Array(64);class _E extends JE{constructor(e=32){super(64,e,8,!1),this.A=Dr[0]|0,this.B=Dr[1]|0,this.C=Dr[2]|0,this.D=Dr[3]|0,this.E=Dr[4]|0,this.F=Dr[5]|0,this.G=Dr[6]|0,this.H=Dr[7]|0}get(){const{A:e,B:n,C:r,D:i,E:s,F:o,G:a,H:c}=this;return[e,n,r,i,s,o,a,c]}set(e,n,r,i,s,o,a,c){this.A=e|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=s|0,this.F=o|0,this.G=a|0,this.H=c|0}process(e,n){for(let f=0;f<16;f++,n+=4)Rr[f]=e.getUint32(n,!1);for(let f=16;f<64;f++){const d=Rr[f-15],h=Rr[f-2],p=Pn(d,7)^Pn(d,18)^d>>>3,w=Pn(h,17)^Pn(h,19)^h>>>10;Rr[f]=w+Rr[f-7]+p+Rr[f-16]|0}let{A:r,B:i,C:s,D:o,E:a,F:c,G:u,H:l}=this;for(let f=0;f<64;f++){const d=Pn(a,6)^Pn(a,11)^Pn(a,25),h=l+d+YE(a,c,u)+QE[f]+Rr[f]|0,w=(Pn(r,2)^Pn(r,13)^Pn(r,22))+XE(r,i,s)|0;l=u,u=c,c=a,a=o+h|0,o=s,s=i,i=r,r=h+w|0}r=r+this.A|0,i=i+this.B|0,s=s+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,u=u+this.G|0,l=l+this.H|0,this.set(r,i,s,o,a,c,u,l)}roundClean(){xa(Rr)}destroy(){this.set(0,0,0,0,0,0,0,0),xa(this.buffer)}}const tp=CE(()=>new _E);class np extends F0{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,N0(e);const r=Ku(n);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;const i=this.blockLen,s=new Uint8Array(i);s.set(r.length>i?e.create().update(r).digest():r);for(let o=0;o<s.length;o++)s[o]^=54;this.iHash.update(s),this.oHash=e.create();for(let o=0;o<s.length;o++)s[o]^=106;this.oHash.update(s),xa(s)}update(e){return Ea(this),this.iHash.update(e),this}digestInto(e){Ea(this),gi(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:r,finished:i,destroyed:s,blockLen:o,outputLen:a}=this;return e=e,e.finished=i,e.destroyed=s,e.blockLen=o,e.outputLen=a,e.oHash=n._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const rp=(t,e,n)=>new np(t,e).update(n).digest();rp.create=(t,e)=>new np(t,e);const ts=BigInt(0),yi=BigInt(1);function Aa(t,e){const n=e.negate();return t?n:e}function Xu(t,e){const n=J0(t.Fp,e.map(r=>r.Z));return e.map((r,i)=>t.fromAffine(r.toAffine(n[i])))}function ip(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function Ju(t,e){ip(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1),i=2**t,s=Zs(t),o=BigInt(t);return{windows:n,windowSize:r,mask:s,maxNumber:i,shiftBy:o}}function sp(t,e,n){const{windowSize:r,mask:i,maxNumber:s,shiftBy:o}=n;let a=Number(t&i),c=t>>o;a>r&&(a-=s,c+=yi);const u=e*r,l=u+Math.abs(a)-1,f=a===0,d=a<0,h=e%2!==0;return{nextN:c,offset:l,isZero:f,isNeg:d,isNegF:h,offsetF:u}}function $E(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function e8(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const Qu=new WeakMap,op=new WeakMap;function _u(t){return op.get(t)||1}function ap(t){if(t!==ts)throw new Error("invalid wNAF")}class t8{constructor(e,n){this.BASE=e.BASE,this.ZERO=e.ZERO,this.Fn=e.Fn,this.bits=n}_unsafeLadder(e,n,r=this.ZERO){let i=e;for(;n>ts;)n&yi&&(r=r.add(i)),i=i.double(),n>>=yi;return r}precomputeWindow(e,n){const{windows:r,windowSize:i}=Ju(n,this.bits),s=[];let o=e,a=o;for(let c=0;c<r;c++){a=o,s.push(a);for(let u=1;u<i;u++)a=a.add(o),s.push(a);o=a.double()}return s}wNAF(e,n,r){if(!this.Fn.isValid(r))throw new Error("invalid scalar");let i=this.ZERO,s=this.BASE;const o=Ju(e,this.bits);for(let a=0;a<o.windows;a++){const{nextN:c,offset:u,isZero:l,isNeg:f,isNegF:d,offsetF:h}=sp(r,a,o);r=c,l?s=s.add(Aa(d,n[h])):i=i.add(Aa(f,n[u]))}return ap(r),{p:i,f:s}}wNAFUnsafe(e,n,r,i=this.ZERO){const s=Ju(e,this.bits);for(let o=0;o<s.windows&&r!==ts;o++){const{nextN:a,offset:c,isZero:u,isNeg:l}=sp(r,o,s);if(r=a,!u){const f=n[c];i=i.add(l?f.negate():f)}}return ap(r),i}getPrecomputes(e,n,r){let i=Qu.get(n);return i||(i=this.precomputeWindow(n,e),e!==1&&(typeof r=="function"&&(i=r(i)),Qu.set(n,i))),i}cached(e,n,r){const i=_u(e);return this.wNAF(i,this.getPrecomputes(i,e,r),n)}unsafe(e,n,r,i){const s=_u(e);return s===1?this._unsafeLadder(e,n,i):this.wNAFUnsafe(s,this.getPrecomputes(s,e,r),n,i)}createCache(e,n){ip(n,this.bits),op.set(e,n),Qu.delete(e)}hasCache(e){return _u(e)!==1}}function n8(t,e,n,r){let i=e,s=t.ZERO,o=t.ZERO;for(;n>ts||r>ts;)n&yi&&(s=s.add(i)),r&yi&&(o=o.add(i)),i=i.double(),n>>=yi,r>>=yi;return{p1:s,p2:o}}function r8(t,e,n,r){$E(n,t),e8(r,e);const i=n.length,s=r.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const o=t.ZERO,a=j0(BigInt(i));let c=1;a>12?c=a-3:a>4?c=a-2:a>0&&(c=2);const u=Zs(c),l=new Array(Number(u)+1).fill(o),f=Math.floor((e.BITS-1)/c)*c;let d=o;for(let h=f;h>=0;h-=c){l.fill(o);for(let w=0;w<s;w++){const m=r[w],P=Number(m>>BigInt(h)&u);l[P]=l[P].add(n[w])}let p=o;for(let w=l.length-1,m=o;w>0;w--)m=m.add(l[w]),p=p.add(m);if(d=d.add(p),h!==0)for(let w=0;w<c;w++)d=d.double()}return d}function cp(t,e,n){if(e){if(e.ORDER!==t)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return HE(e),e}else return Ys(t,{isLE:n})}function i8(t,e,n={},r){if(r===void 0&&(r=t==="edwards"),!e||typeof e!="object")throw new Error(`expected valid ${t} CURVE object`);for(const c of["p","n","h"]){const u=e[c];if(!(typeof u=="bigint"&&u>ts))throw new Error(`CURVE.${c} must be positive bigint`)}const i=cp(e.p,n.Fp,r),s=cp(e.n,n.Fn,r),a=["Gx","Gy","a",t==="weierstrass"?"b":"d"];for(const c of a)if(!i.isValid(e[c]))throw new Error(`CURVE.${c} must be valid field element of CURVE.Fp`);return e=Object.freeze(Object.assign({},e)),{CURVE:e,Fp:i,Fn:s}}const up=(t,e)=>(t+(t>=0?e:-e)/lp)/e;function s8(t,e,n){const[[r,i],[s,o]]=e,a=up(o*t,n),c=up(-i*t,n);let u=t-a*r-c*s,l=-a*i-c*o;const f=u<_n,d=l<_n;f&&(u=-u),d&&(l=-l);const h=Zs(Math.ceil(j0(n)/2))+ns;if(u<_n||u>=h||l<_n||l>=h)throw new Error("splitScalar (endomorphism): failed, k="+t);return{k1neg:f,k1:u,k2neg:d,k2:l}}function $u(t){if(!["compact","recovered","der"].includes(t))throw new Error('Signature format must be "compact", "recovered", or "der"');return t}function el(t,e){const n={};for(let r of Object.keys(e))n[r]=t[r]===void 0?e[r]:t[r];return Sa(n.lowS,"lowS"),Sa(n.prehash,"prehash"),n.format!==void 0&&$u(n.format),n}class o8 extends Error{constructor(e=""){super(e)}}const Qn={Err:o8,_tlv:{encode:(t,e)=>{const{Err:n}=Qn;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length&1)throw new n("tlv.encode: unpadded data");const r=e.length/2,i=Ba(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const s=r>127?Ba(i.length/2|128):"";return Ba(t)+s+i+e},decode(t,e){const{Err:n}=Qn;let r=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length<2||e[r++]!==t)throw new n("tlv.decode: wrong tlv");const i=e[r++],s=!!(i&128);let o=0;if(!s)o=i;else{const c=i&127;if(!c)throw new n("tlv.decode(long): indefinite length not supported");if(c>4)throw new n("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+c);if(u.length!==c)throw new n("tlv.decode: length bytes not complete");if(u[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const l of u)o=o<<8|l;if(r+=c,o<128)throw new n("tlv.decode(long): not minimal encoding")}const a=e.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:e.subarray(r+o)}}},_int:{encode(t){const{Err:e}=Qn;if(t<_n)throw new e("integer: negative integers are not allowed");let n=Ba(t);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return n},decode(t){const{Err:e}=Qn;if(t[0]&128)throw new e("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return Oa(t)}},toSig(t){const{Err:e,_int:n,_tlv:r}=Qn,i=Nt("signature",t),{v:s,l:o}=r.decode(48,i);if(o.length)throw new e("invalid signature: left bytes after parsing");const{v:a,l:c}=r.decode(2,s),{v:u,l}=r.decode(2,c);if(l.length)throw new e("invalid signature: left bytes after parsing");return{r:n.decode(a),s:n.decode(u)}},hexFromSig(t){const{_tlv:e,_int:n}=Qn,r=e.encode(2,n.encode(t.r)),i=e.encode(2,n.encode(t.s)),s=r+i;return e.encode(48,s)}},_n=BigInt(0),ns=BigInt(1),lp=BigInt(2),Pa=BigInt(3),a8=BigInt(4);function rs(t,e){const{BYTES:n}=t;let r;if(typeof e=="bigint")r=e;else{let i=Nt("private key",e);try{r=t.fromBytes(i)}catch{throw new Error(`invalid private key: expected ui8a of size ${n}, got ${typeof e}`)}}if(!t.isValidNot0(r))throw new Error("invalid private key: out of range [1..N-1]");return r}function c8(t,e={}){const n=i8("weierstrass",t,e),{Fp:r,Fn:i}=n;let s=n.CURVE;const{h:o,n:a}=s;Zu(e,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:c}=e;if(c&&(!r.is0(s.a)||typeof c.beta!="bigint"||!Array.isArray(c.basises)))throw new Error('invalid endo: expected "beta": bigint and "basises": array');const u=hp(r,i);function l(){if(!r.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}function f(E,b,v){const{x:g,y}=b.toAffine(),B=r.toBytes(g);if(Sa(v,"isCompressed"),v){l();const A=!r.isOdd(y);return Pr(fp(A),B)}else return Pr(Uint8Array.of(4),B,r.toBytes(y))}function d(E){bi(E,void 0,"Point");const{publicKey:b,publicKeyUncompressed:v}=u,g=E.length,y=E[0],B=E.subarray(1);if(g===b&&(y===2||y===3)){const A=r.fromBytes(B);if(!r.isValid(A))throw new Error("bad point: is not on curve, wrong x");const O=w(A);let D;try{D=r.sqrt(O)}catch(L){const V=L instanceof Error?": "+L.message:"";throw new Error("bad point: is not on curve, sqrt error"+V)}l();const C=r.isOdd(D);return(y&1)===1!==C&&(D=r.neg(D)),{x:A,y:D}}else if(g===v&&y===4){const A=r.BYTES,O=r.fromBytes(B.subarray(0,A)),D=r.fromBytes(B.subarray(A,A*2));if(!m(O,D))throw new Error("bad point: is not on curve");return{x:O,y:D}}else throw new Error(`bad point: got length ${g}, expected compressed=${b} or uncompressed=${v}`)}const h=e.toBytes||f,p=e.fromBytes||d;function w(E){const b=r.sqr(E),v=r.mul(b,E);return r.add(r.add(v,r.mul(E,s.a)),s.b)}function m(E,b){const v=r.sqr(b),g=w(E);return r.eql(v,g)}if(!m(s.Gx,s.Gy))throw new Error("bad curve params: generator point");const P=r.mul(r.pow(s.a,Pa),a8),T=r.mul(r.sqr(s.b),BigInt(27));if(r.is0(r.add(P,T)))throw new Error("bad curve params: a or b");function I(E,b,v=!1){if(!r.isValid(b)||v&&r.is0(b))throw new Error(`bad point coordinate ${E}`);return b}function x(E){if(!(E instanceof R))throw new Error("ProjectivePoint expected")}function S(E){if(!c||!c.basises)throw new Error("no endo");return s8(E,c.basises,i.ORDER)}const U=z0((E,b)=>{const{X:v,Y:g,Z:y}=E;if(r.eql(y,r.ONE))return{x:v,y:g};const B=E.is0();b==null&&(b=B?r.ONE:r.inv(y));const A=r.mul(v,b),O=r.mul(g,b),D=r.mul(y,b);if(B)return{x:r.ZERO,y:r.ZERO};if(!r.eql(D,r.ONE))throw new Error("invZ was invalid");return{x:A,y:O}}),k=z0(E=>{if(E.is0()){if(e.allowInfinityPoint&&!r.is0(E.Y))return;throw new Error("bad point: ZERO")}const{x:b,y:v}=E.toAffine();if(!r.isValid(b)||!r.isValid(v))throw new Error("bad point: x or y not field elements");if(!m(b,v))throw new Error("bad point: equation left != right");if(!E.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function F(E,b,v,g,y){return v=new R(r.mul(v.X,E),v.Y,v.Z),b=Aa(g,b),v=Aa(y,v),b.add(v)}class R{constructor(b,v,g){this.X=I("x",b),this.Y=I("y",v,!0),this.Z=I("z",g),Object.freeze(this)}static CURVE(){return s}static fromAffine(b){const{x:v,y:g}=b||{};if(!b||!r.isValid(v)||!r.isValid(g))throw new Error("invalid affine point");if(b instanceof R)throw new Error("projective point not allowed");return r.is0(v)&&r.is0(g)?R.ZERO:new R(v,g,r.ONE)}static fromBytes(b){const v=R.fromAffine(p(bi(b,void 0,"point")));return v.assertValidity(),v}static fromHex(b){return R.fromBytes(Nt("pointHex",b))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(b=8,v=!0){return H.createCache(this,b),v||this.multiply(Pa),this}assertValidity(){k(this)}hasEvenY(){const{y:b}=this.toAffine();if(!r.isOdd)throw new Error("Field doesn't support isOdd");return!r.isOdd(b)}equals(b){x(b);const{X:v,Y:g,Z:y}=this,{X:B,Y:A,Z:O}=b,D=r.eql(r.mul(v,O),r.mul(B,y)),C=r.eql(r.mul(g,O),r.mul(A,y));return D&&C}negate(){return new R(this.X,r.neg(this.Y),this.Z)}double(){const{a:b,b:v}=s,g=r.mul(v,Pa),{X:y,Y:B,Z:A}=this;let O=r.ZERO,D=r.ZERO,C=r.ZERO,M=r.mul(y,y),L=r.mul(B,B),V=r.mul(A,A),q=r.mul(y,B);return q=r.add(q,q),C=r.mul(y,A),C=r.add(C,C),O=r.mul(b,C),D=r.mul(g,V),D=r.add(O,D),O=r.sub(L,D),D=r.add(L,D),D=r.mul(O,D),O=r.mul(q,O),C=r.mul(g,C),V=r.mul(b,V),q=r.sub(M,V),q=r.mul(b,q),q=r.add(q,C),C=r.add(M,M),M=r.add(C,M),M=r.add(M,V),M=r.mul(M,q),D=r.add(D,M),V=r.mul(B,A),V=r.add(V,V),M=r.mul(V,q),O=r.sub(O,M),C=r.mul(V,L),C=r.add(C,C),C=r.add(C,C),new R(O,D,C)}add(b){x(b);const{X:v,Y:g,Z:y}=this,{X:B,Y:A,Z:O}=b;let D=r.ZERO,C=r.ZERO,M=r.ZERO;const L=s.a,V=r.mul(s.b,Pa);let q=r.mul(v,B),W=r.mul(g,A),Z=r.mul(y,O),z=r.add(v,g),N=r.add(B,A);z=r.mul(z,N),N=r.add(q,W),z=r.sub(z,N),N=r.add(v,y);let j=r.add(B,O);return N=r.mul(N,j),j=r.add(q,Z),N=r.sub(N,j),j=r.add(g,y),D=r.add(A,O),j=r.mul(j,D),D=r.add(W,Z),j=r.sub(j,D),M=r.mul(L,N),D=r.mul(V,Z),M=r.add(D,M),D=r.sub(W,M),M=r.add(W,M),C=r.mul(D,M),W=r.add(q,q),W=r.add(W,q),Z=r.mul(L,Z),N=r.mul(V,N),W=r.add(W,Z),Z=r.sub(q,Z),Z=r.mul(L,Z),N=r.add(N,Z),q=r.mul(W,N),C=r.add(C,q),q=r.mul(j,N),D=r.mul(z,D),D=r.sub(D,q),q=r.mul(z,W),M=r.mul(j,M),M=r.add(M,q),new R(D,C,M)}subtract(b){return this.add(b.negate())}is0(){return this.equals(R.ZERO)}multiply(b){const{endo:v}=e;if(!i.isValidNot0(b))throw new Error("invalid scalar: out of range");let g,y;const B=A=>H.cached(this,A,O=>Xu(R,O));if(v){const{k1neg:A,k1:O,k2neg:D,k2:C}=S(b),{p:M,f:L}=B(O),{p:V,f:q}=B(C);y=L.add(q),g=F(v.beta,M,V,A,D)}else{const{p:A,f:O}=B(b);g=A,y=O}return Xu(R,[g,y])[0]}multiplyUnsafe(b){const{endo:v}=e,g=this;if(!i.isValid(b))throw new Error("invalid scalar: out of range");if(b===_n||g.is0())return R.ZERO;if(b===ns)return g;if(H.hasCache(this))return this.multiply(b);if(v){const{k1neg:y,k1:B,k2neg:A,k2:O}=S(b),{p1:D,p2:C}=n8(R,g,B,O);return F(v.beta,D,C,y,A)}else return H.unsafe(g,b)}multiplyAndAddUnsafe(b,v,g){const y=this.multiplyUnsafe(v).add(b.multiplyUnsafe(g));return y.is0()?void 0:y}toAffine(b){return U(this,b)}isTorsionFree(){const{isTorsionFree:b}=e;return o===ns?!0:b?b(R,this):H.unsafe(this,a).is0()}clearCofactor(){const{clearCofactor:b}=e;return o===ns?this:b?b(R,this):this.multiplyUnsafe(o)}isSmallOrder(){return this.multiplyUnsafe(o).is0()}toBytes(b=!0){return Sa(b,"isCompressed"),this.assertValidity(),h(R,this,b)}toHex(b=!0){return es(this.toBytes(b))}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(b=!0){return this.toBytes(b)}_setWindowSize(b){this.precompute(b)}static normalizeZ(b){return Xu(R,b)}static msm(b,v){return r8(R,i,b,v)}static fromPrivateKey(b){return R.BASE.multiply(rs(i,b))}}R.BASE=new R(s.Gx,s.Gy,r.ONE),R.ZERO=new R(r.ZERO,r.ONE,r.ZERO),R.Fp=r,R.Fn=i;const G=i.BITS,H=new t8(R,e.endo?Math.ceil(G/2):G);return R.BASE.precompute(8),R}function fp(t){return Uint8Array.of(t?2:3)}function hp(t,e){return{secretKey:e.BYTES,publicKey:1+t.BYTES,publicKeyUncompressed:1+2*t.BYTES,publicKeyHasPrefix:!0,signature:2*e.BYTES}}function u8(t,e={}){const{Fn:n}=t,r=e.randomBytes||q0,i=Object.assign(hp(t.Fp,n),{seed:ep(n.ORDER)});function s(h){try{return!!rs(n,h)}catch{return!1}}function o(h,p){const{publicKey:w,publicKeyUncompressed:m}=i;try{const P=h.length;return p===!0&&P!==w||p===!1&&P!==m?!1:!!t.fromBytes(h)}catch{return!1}}function a(h=r(i.seed)){return WE(bi(h,i.seed,"seed"),n.ORDER)}function c(h,p=!0){return t.BASE.multiply(rs(n,h)).toBytes(p)}function u(h){const p=a(h);return{secretKey:p,publicKey:c(p)}}function l(h){if(typeof h=="bigint")return!1;if(h instanceof t)return!0;const{secretKey:p,publicKey:w,publicKeyUncompressed:m}=i;if(n.allowedLengths||p===w)return;const P=Nt("key",h).length;return P===w||P===m}function f(h,p,w=!0){if(l(h)===!0)throw new Error("first arg must be private key");if(l(p)===!1)throw new Error("second arg must be public key");const m=rs(n,h);return t.fromHex(p).multiply(m).toBytes(w)}return Object.freeze({getPublicKey:c,getSharedSecret:f,keygen:u,Point:t,utils:{isValidSecretKey:s,isValidPublicKey:o,randomSecretKey:a,isValidPrivateKey:s,randomPrivateKey:a,normPrivateKeyToScalar:h=>rs(n,h),precompute(h=8,p=t.BASE){return p.precompute(h,!1)}},lengths:i})}function l8(t,e,n={}){N0(e),Zu(n,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});const r=n.randomBytes||q0,i=n.hmac||((v,...g)=>rp(e,v,Pr(...g))),{Fp:s,Fn:o}=t,{ORDER:a,BITS:c}=o,{keygen:u,getPublicKey:l,getSharedSecret:f,utils:d,lengths:h}=u8(t,n),p={prehash:!1,lowS:typeof n.lowS=="boolean"?n.lowS:!1,format:void 0,extraEntropy:!1},w="compact";function m(v){const g=a>>ns;return v>g}function P(v,g){if(!o.isValidNot0(g))throw new Error(`invalid signature ${v}: out of range 1..Point.Fn.ORDER`);return g}function T(v,g){$u(g);const y=h.signature,B=g==="compact"?y:g==="recovered"?y+1:void 0;return bi(v,B,`${g} signature`)}class I{constructor(g,y,B){this.r=P("r",g),this.s=P("s",y),B!=null&&(this.recovery=B),Object.freeze(this)}static fromBytes(g,y=w){T(g,y);let B;if(y==="der"){const{r:C,s:M}=Qn.toSig(bi(g));return new I(C,M)}y==="recovered"&&(B=g[0],y="compact",g=g.subarray(1));const A=o.BYTES,O=g.subarray(0,A),D=g.subarray(A,A*2);return new I(o.fromBytes(O),o.fromBytes(D),B)}static fromHex(g,y){return this.fromBytes(Ia(g),y)}addRecoveryBit(g){return new I(this.r,this.s,g)}recoverPublicKey(g){const y=s.ORDER,{r:B,s:A,recovery:O}=this;if(O==null||![0,1,2,3].includes(O))throw new Error("recovery id invalid");if(a*lp<y&&O>1)throw new Error("recovery id is ambiguous for h>1 curve");const C=O===2||O===3?B+a:B;if(!s.isValid(C))throw new Error("recovery id 2 or 3 invalid");const M=s.toBytes(C),L=t.fromBytes(Pr(fp((O&1)===0),M)),V=o.inv(C),q=S(Nt("msgHash",g)),W=o.create(-q*V),Z=o.create(A*V),z=t.BASE.multiplyUnsafe(W).add(L.multiplyUnsafe(Z));if(z.is0())throw new Error("point at infinify");return z.assertValidity(),z}hasHighS(){return m(this.s)}toBytes(g=w){if($u(g),g==="der")return Ia(Qn.hexFromSig(this));const y=o.toBytes(this.r),B=o.toBytes(this.s);if(g==="recovered"){if(this.recovery==null)throw new Error("recovery bit must be present");return Pr(Uint8Array.of(this.recovery),y,B)}return Pr(y,B)}toHex(g){return es(this.toBytes(g))}assertValidity(){}static fromCompact(g){return I.fromBytes(Nt("sig",g),"compact")}static fromDER(g){return I.fromBytes(Nt("sig",g),"der")}normalizeS(){return this.hasHighS()?new I(this.r,o.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return es(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return es(this.toBytes("compact"))}}const x=n.bits2int||function(g){if(g.length>8192)throw new Error("input is too large");const y=Oa(g),B=g.length*8-c;return B>0?y>>BigInt(B):y},S=n.bits2int_modN||function(g){return o.create(x(g))},U=Zs(c);function k(v){return qE("num < 2^"+c,v,_n,U),o.toBytes(v)}function F(v,g){return bi(v,void 0,"message"),g?bi(e(v),void 0,"prehashed message"):v}function R(v,g,y){if(["recovered","canonical"].some(W=>W in y))throw new Error("sign() legacy options not supported");const{lowS:B,prehash:A,extraEntropy:O}=el(y,p);v=F(v,A);const D=S(v),C=rs(o,g),M=[k(C),k(D)];if(O!=null&&O!==!1){const W=O===!0?r(h.secretKey):O;M.push(Nt("extraEntropy",W))}const L=Pr(...M),V=D;function q(W){const Z=x(W);if(!o.isValidNot0(Z))return;const z=o.inv(Z),N=t.BASE.multiply(Z).toAffine(),j=o.create(N.x);if(j===_n)return;const K=o.create(z*o.create(V+j*C));if(K===_n)return;let X=(N.x===j?0:2)|Number(N.y&ns),ee=K;return B&&m(K)&&(ee=o.neg(K),X^=1),new I(j,ee,X)}return{seed:L,k2sig:q}}function G(v,g,y={}){v=Nt("message",v);const{seed:B,k2sig:A}=R(v,g,y);return kE(e.outputLen,o.BYTES,i)(B,A)}function H(v){let g;const y=typeof v=="string"||va(v),B=!y&&v!==null&&typeof v=="object"&&typeof v.r=="bigint"&&typeof v.s=="bigint";if(!y&&!B)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(B)g=new I(v.r,v.s);else if(y){try{g=I.fromBytes(Nt("sig",v),"der")}catch(A){if(!(A instanceof Qn.Err))throw A}if(!g)try{g=I.fromBytes(Nt("sig",v),"compact")}catch{return!1}}return g||!1}function E(v,g,y,B={}){const{lowS:A,prehash:O,format:D}=el(B,p);if(y=Nt("publicKey",y),g=F(Nt("message",g),O),"strict"in B)throw new Error("options.strict was renamed to lowS");const C=D===void 0?H(v):I.fromBytes(Nt("sig",v),D);if(C===!1)return!1;try{const M=t.fromBytes(y);if(A&&C.hasHighS())return!1;const{r:L,s:V}=C,q=S(g),W=o.inv(V),Z=o.create(q*W),z=o.create(L*W),N=t.BASE.multiplyUnsafe(Z).add(M.multiplyUnsafe(z));return N.is0()?!1:o.create(N.x)===L}catch{return!1}}function b(v,g,y={}){const{prehash:B}=el(y,p);return g=F(g,B),I.fromBytes(v,"recovered").recoverPublicKey(g).toBytes()}return Object.freeze({keygen:u,getPublicKey:l,getSharedSecret:f,utils:d,lengths:h,Point:t,sign:G,verify:E,recoverPublicKey:b,Signature:I,hash:e})}function f8(t){const e={a:t.a,b:t.b,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},n=t.Fp;let r=t.allowedPrivateKeyLengths?Array.from(new Set(t.allowedPrivateKeyLengths.map(o=>Math.ceil(o/2)))):void 0;const i=Ys(e.n,{BITS:t.nBitLength,allowedLengths:r,modFromBytes:t.wrapPrivateKey}),s={Fp:n,Fn:i,allowInfinityPoint:t.allowInfinityPoint,endo:t.endo,isTorsionFree:t.isTorsionFree,clearCofactor:t.clearCofactor,fromBytes:t.fromBytes,toBytes:t.toBytes};return{CURVE:e,curveOpts:s}}function h8(t){const{CURVE:e,curveOpts:n}=f8(t),r={hmac:t.hmac,randomBytes:t.randomBytes,lowS:t.lowS,bits2int:t.bits2int,bits2int_modN:t.bits2int_modN};return{CURVE:e,curveOpts:n,hash:t.hash,ecdsaOpts:r}}function d8(t,e){const n=e.Point;return Object.assign({},e,{ProjectivePoint:n,CURVE:Object.assign({},t,_0(n.Fn.ORDER,n.Fn.BITS))})}function p8(t){const{CURVE:e,curveOpts:n,hash:r,ecdsaOpts:i}=h8(t),s=c8(e,n),o=l8(s,r,i);return d8(t,o)}function g8(t,e){const n=r=>p8({...t,hash:r});return{...n(e),create:n}}zu("HashToScalar-");const tl={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:BigInt(1),a:BigInt(0),b:BigInt(7),Gx:BigInt("0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),Gy:BigInt("0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8")},b8={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),basises:[[BigInt("0x3086d221a7d46bcde86c90e49284eb15"),-BigInt("0xe4437ed6010e88286f547fa90abfe4c3")],[BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),BigInt("0x3086d221a7d46bcde86c90e49284eb15")]]},dp=BigInt(2);function w8(t){const e=tl.p,n=BigInt(3),r=BigInt(6),i=BigInt(11),s=BigInt(22),o=BigInt(23),a=BigInt(44),c=BigInt(88),u=t*t*t%e,l=u*u*t%e,f=tn(l,n,e)*l%e,d=tn(f,n,e)*l%e,h=tn(d,dp,e)*u%e,p=tn(h,i,e)*h%e,w=tn(p,s,e)*p%e,m=tn(w,a,e)*w%e,P=tn(m,c,e)*m%e,T=tn(P,a,e)*w%e,I=tn(T,n,e)*l%e,x=tn(I,o,e)*p%e,S=tn(x,r,e)*u%e,U=tn(S,dp,e);if(!nl.eql(nl.sqr(U),t))throw new Error("Cannot find square root");return U}const nl=Ys(tl.p,{sqrt:w8});g8({...tl,Fp:nl,lowS:!0,endo:b8},tp);/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function is(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function rl(t,...e){if(!is(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function pp(t,e){return Array.isArray(e)?e.length===0?!0:t?e.every(n=>typeof n=="string"):e.every(n=>Number.isSafeInteger(n)):!1}function il(t){if(typeof t!="function")throw new Error("function expected");return!0}function Tr(t,e){if(typeof e!="string")throw new Error(`${t}: string expected`);return!0}function ss(t){if(!Number.isSafeInteger(t))throw new Error(`invalid integer: ${t}`)}function Da(t){if(!Array.isArray(t))throw new Error("array expected")}function Ra(t,e){if(!pp(!0,e))throw new Error(`${t}: array of strings expected`)}function sl(t,e){if(!pp(!1,e))throw new Error(`${t}: array of numbers expected`)}function Ct(...t){const e=s=>s,n=(s,o)=>a=>s(o(a)),r=t.map(s=>s.encode).reduceRight(n,e),i=t.map(s=>s.decode).reduce(n,e);return{encode:r,decode:i}}function Wt(t){const e=typeof t=="string"?t.split(""):t,n=e.length;Ra("alphabet",e);const r=new Map(e.map((i,s)=>[i,s]));return{encode:i=>(Da(i),i.map(s=>{if(!Number.isSafeInteger(s)||s<0||s>=n)throw new Error(`alphabet.encode: digit index outside alphabet "${s}". Allowed: ${t}`);return e[s]})),decode:i=>(Da(i),i.map(s=>{Tr("alphabet.decode",s);const o=r.get(s);if(o===void 0)throw new Error(`Unknown letter: "${s}". Allowed: ${t}`);return o}))}}function Zt(t=""){return Tr("join",t),{encode:e=>(Ra("join.decode",e),e.join(t)),decode:e=>(Tr("join.decode",e),e.split(t))}}function Ta(t,e="="){return ss(t),Tr("padding",e),{encode(n){for(Ra("padding.encode",n);n.length*t%8;)n.push(e);return n},decode(n){Ra("padding.decode",n);let r=n.length;if(r*t%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;r>0&&n[r-1]===e;r--)if((r-1)*t%8===0)throw new Error("padding: invalid, string has too much padding");return n.slice(0,r)}}}function gp(t){return il(t),{encode:e=>e,decode:e=>t(e)}}function bp(t,e,n){if(e<2)throw new Error(`convertRadix: invalid from=${e}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: invalid to=${n}, base cannot be less than 2`);if(Da(t),!t.length)return[];let r=0;const i=[],s=Array.from(t,a=>{if(ss(a),a<0||a>=e)throw new Error(`invalid integer: ${a}`);return a}),o=s.length;for(;;){let a=0,c=!0;for(let u=r;u<o;u++){const l=s[u],f=e*a,d=f+l;if(!Number.isSafeInteger(d)||f/e!==a||d-l!==f)throw new Error("convertRadix: carry overflow");const h=d/n;a=d%n;const p=Math.floor(h);if(s[u]=p,!Number.isSafeInteger(p)||p*n+a!==d)throw new Error("convertRadix: carry overflow");if(c)p?c=!1:r=u;else continue}if(i.push(a),c)break}for(let a=0;a<t.length-1&&t[a]===0;a++)i.push(0);return i.reverse()}const wp=(t,e)=>e===0?t:wp(e,t%e),Na=(t,e)=>t+(e-wp(t,e)),Ua=(()=>{let t=[];for(let e=0;e<40;e++)t.push(2**e);return t})();function ol(t,e,n,r){if(Da(t),e<=0||e>32)throw new Error(`convertRadix2: wrong from=${e}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if(Na(e,n)>32)throw new Error(`convertRadix2: carry overflow from=${e} to=${n} carryBits=${Na(e,n)}`);let i=0,s=0;const o=Ua[e],a=Ua[n]-1,c=[];for(const u of t){if(ss(u),u>=o)throw new Error(`convertRadix2: invalid data word=${u} from=${e}`);if(i=i<<e|u,s+e>32)throw new Error(`convertRadix2: carry overflow pos=${s} from=${e}`);for(s+=e;s>=n;s-=n)c.push((i>>s-n&a)>>>0);const l=Ua[s];if(l===void 0)throw new Error("invalid carry");i&=l-1}if(i=i<<n-s&a,!r&&s>=e)throw new Error("Excess padding");if(!r&&i>0)throw new Error(`Non-zero padding: ${i}`);return r&&s>0&&c.push(i>>>0),c}function y8(t){ss(t);const e=2**8;return{encode:n=>{if(!is(n))throw new Error("radix.encode input should be Uint8Array");return bp(Array.from(n),e,t)},decode:n=>(sl("radix.decode",n),Uint8Array.from(bp(n,t,e)))}}function nn(t,e=!1){if(ss(t),t<=0||t>32)throw new Error("radix2: bits should be in (0..32]");if(Na(8,t)>32||Na(t,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!is(n))throw new Error("radix2.encode input should be Uint8Array");return ol(Array.from(n),8,t,!e)},decode:n=>(sl("radix2.decode",n),Uint8Array.from(ol(n,t,8,e)))}}function yp(t){return il(t),function(...e){try{return t.apply(null,e)}catch{}}}function m8(t,e){return ss(t),il(e),{encode(n){if(!is(n))throw new Error("checksum.encode: input should be Uint8Array");const r=e(n).slice(0,t),i=new Uint8Array(n.length+t);return i.set(n),i.set(r,n.length),i},decode(n){if(!is(n))throw new Error("checksum.decode: input should be Uint8Array");const r=n.slice(0,-t),i=n.slice(-t),s=e(r).slice(0,t);for(let o=0;o<t;o++)if(s[o]!==i[o])throw new Error("Invalid checksum");return r}}}const v8=Ct(nn(5),Wt("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),Ta(5),Zt("")),mp=typeof Uint8Array.from([]).toBase64=="function"&&typeof Uint8Array.fromBase64=="function",vp=(t,e)=>{Tr("base64",t);const n=e?/^[A-Za-z0-9=_-]+$/:/^[A-Za-z0-9=+/]+$/,r=e?"base64url":"base64";if(t.length>0&&!n.test(t))throw new Error("invalid base64");return Uint8Array.fromBase64(t,{alphabet:r,lastChunkHandling:"strict"})},al=t=>Ct(y8(58),Wt(t),Zt("")),os=al("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),E8=t=>Ct(m8(4,e=>t(t(e))),os),cl=Ct(Wt("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),Zt("")),Ep=[996825010,642813549,513874426,1027748829,705979059];function Xs(t){const e=t>>25;let n=(t&33554431)<<5;for(let r=0;r<Ep.length;r++)(e>>r&1)===1&&(n^=Ep[r]);return n}function xp(t,e,n=1){const r=t.length;let i=1;for(let s=0;s<r;s++){const o=t.charCodeAt(s);if(o<33||o>126)throw new Error(`Invalid prefix (${t})`);i=Xs(i)^o>>5}i=Xs(i);for(let s=0;s<r;s++)i=Xs(i)^t.charCodeAt(s)&31;for(let s of e)i=Xs(i)^s;for(let s=0;s<6;s++)i=Xs(i);return i^=n,cl.encode(ol([i%Ua[30]],30,5,!1))}function Ip(t){const e=t==="bech32"?1:734539939,n=nn(5),r=n.decode,i=n.encode,s=yp(r);function o(f,d,h=90){Tr("bech32.encode prefix",f),is(d)&&(d=Array.from(d)),sl("bech32.encode",d);const p=f.length;if(p===0)throw new TypeError(`Invalid prefix length ${p}`);const w=p+7+d.length;if(h!==!1&&w>h)throw new TypeError(`Length ${w} exceeds limit ${h}`);const m=f.toLowerCase(),P=xp(m,d,e);return`${m}1${cl.encode(d)}${P}`}function a(f,d=90){Tr("bech32.decode input",f);const h=f.length;if(h<8||d!==!1&&h>d)throw new TypeError(`invalid string length: ${h} (${f}). Expected (8..${d})`);const p=f.toLowerCase();if(f!==p&&f!==f.toUpperCase())throw new Error("String must be lowercase or uppercase");const w=p.lastIndexOf("1");if(w===0||w===-1)throw new Error('Letter "1" must be present between prefix and data only');const m=p.slice(0,w),P=p.slice(w+1);if(P.length<6)throw new Error("Data must be at least 6 characters long");const T=cl.decode(P).slice(0,-6),I=xp(m,T,e);if(!P.endsWith(I))throw new Error(`Invalid checksum in ${f}: expected "${I}"`);return{prefix:m,words:T}}const c=yp(a);function u(f){const{prefix:d,words:h}=a(f,!1);return{prefix:d,words:h,bytes:r(h)}}function l(f,d){return o(f,i(d))}return{encode:o,decode:a,encodeFromBytes:l,decodeToBytes:u,decodeUnsafe:c,fromWords:r,fromWordsUnsafe:s,toWords:i}}const x8=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",I8={encode(t){return rl(t),t.toHex()},decode(t){return Tr("hex",t),Uint8Array.fromHex(t)}};E8(tp),zu("Bitcoin seed");function S8(t){return kv(B8(t))}function B8(t){const{payload:e,signature:n}=t,{r,s:i,yParity:s}=n,a=new pE.Signature(BigInt(r),BigInt(i)).addRecoveryBit(s).recoverPublicKey(yu(e).substring(2));return Pv(a)}/*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) */function Sp(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Ca(t,...e){if(!Sp(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function Fa(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function Bp(t,e){Ca(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function Js(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function ul(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function O8(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function A8(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function Qs(t){if(typeof t=="string")t=A8(t);else if(Sp(t))t=Op(t);else throw new Error("Uint8Array expected, got "+typeof t);return t}function Op(t){return Uint8Array.from(t)}const $n=16,ll=new Uint8Array(16),Dn=Js(ll),P8=225,D8=(t,e,n,r)=>{const i=r&1;return{s3:n<<31|r>>>1,s2:e<<31|n>>>1,s1:t<<31|e>>>1,s0:t>>>1^P8<<24&-(i&1)}},rn=t=>(t>>>0&255)<<24|(t>>>8&255)<<16|(t>>>16&255)<<8|t>>>24&255|0;function R8(t){t.reverse();const e=t[15]&1;let n=0;for(let r=0;r<t.length;r++){const i=t[r];t[r]=i>>>1|n,n=(i&1)<<7}return t[0]^=-e&225,t}const T8=t=>t>64*1024?8:t>1024?4:2;class Ap{constructor(e,n){this.blockLen=$n,this.outputLen=$n,this.s0=0,this.s1=0,this.s2=0,this.s3=0,this.finished=!1,e=Qs(e),Ca(e,16);const r=O8(e);let i=r.getUint32(0,!1),s=r.getUint32(4,!1),o=r.getUint32(8,!1),a=r.getUint32(12,!1);const c=[];for(let p=0;p<128;p++)c.push({s0:rn(i),s1:rn(s),s2:rn(o),s3:rn(a)}),{s0:i,s1:s,s2:o,s3:a}=D8(i,s,o,a);const u=T8(n||1024);if(![1,2,4,8].includes(u))throw new Error("ghash: invalid window size, expected 2, 4 or 8");this.W=u;const f=128/u,d=this.windowSize=2**u,h=[];for(let p=0;p<f;p++)for(let w=0;w<d;w++){let m=0,P=0,T=0,I=0;for(let x=0;x<u;x++){if(!(w>>>u-x-1&1))continue;const{s0:U,s1:k,s2:F,s3:R}=c[u*p+x];m^=U,P^=k,T^=F,I^=R}h.push({s0:m,s1:P,s2:T,s3:I})}this.t=h}_updateBlock(e,n,r,i){e^=this.s0,n^=this.s1,r^=this.s2,i^=this.s3;const{W:s,t:o,windowSize:a}=this;let c=0,u=0,l=0,f=0;const d=(1<<s)-1;let h=0;for(const p of[e,n,r,i])for(let w=0;w<4;w++){const m=p>>>8*w&255;for(let P=8/s-1;P>=0;P--){const T=m>>>s*P&d,{s0:I,s1:x,s2:S,s3:U}=o[h*a+T];c^=I,u^=x,l^=S,f^=U,h+=1}}this.s0=c,this.s1=u,this.s2=l,this.s3=f}update(e){Fa(this),e=Qs(e),Ca(e);const n=Js(e),r=Math.floor(e.length/$n),i=e.length%$n;for(let s=0;s<r;s++)this._updateBlock(n[s*4+0],n[s*4+1],n[s*4+2],n[s*4+3]);return i&&(ll.set(e.subarray(r*$n)),this._updateBlock(Dn[0],Dn[1],Dn[2],Dn[3]),ul(Dn)),this}destroy(){const{t:e}=this;for(const n of e)n.s0=0,n.s1=0,n.s2=0,n.s3=0}digestInto(e){Fa(this),Bp(e,this),this.finished=!0;const{s0:n,s1:r,s2:i,s3:s}=this,o=Js(e);return o[0]=n,o[1]=r,o[2]=i,o[3]=s,e}digest(){const e=new Uint8Array($n);return this.digestInto(e),this.destroy(),e}}class N8 extends Ap{constructor(e,n){e=Qs(e),Ca(e);const r=R8(Op(e));super(r,n),ul(r)}update(e){e=Qs(e),Fa(this);const n=Js(e),r=e.length%$n,i=Math.floor(e.length/$n);for(let s=0;s<i;s++)this._updateBlock(rn(n[s*4+3]),rn(n[s*4+2]),rn(n[s*4+1]),rn(n[s*4+0]));return r&&(ll.set(e.subarray(i*$n)),this._updateBlock(rn(Dn[3]),rn(Dn[2]),rn(Dn[1]),rn(Dn[0])),ul(Dn)),this}digestInto(e){Fa(this),Bp(e,this),this.finished=!0;const{s0:n,s1:r,s2:i,s3:s}=this,o=Js(e);return o[0]=n,o[1]=r,o[2]=i,o[3]=s,e.reverse()}}function Pp(t){const e=(r,i)=>t(i,r.length).update(Qs(r)).digest(),n=t(new Uint8Array(16),0);return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=(r,i)=>t(r,i),e}Pp((t,e)=>new Ap(t,e)),Pp((t,e)=>new N8(t,e));const Dp=Sr(BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff")),U8=Dp.create(BigInt("-3")),C8=BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b");pa({a:U8,b:C8,Fp:Dp,n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"),h:BigInt(1),lowS:!1},sa);const Rp=Sr(BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff")),F8=Rp.create(BigInt("-3")),q8=BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef");pa({a:F8,b:q8,Fp:Rp,n:BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973"),Gx:BigInt("0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"),Gy:BigInt("0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f"),h:BigInt(1),lowS:!1},_3);const Tp=Sr(BigInt("0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")),k8=Tp.create(BigInt("-3")),L8=BigInt("0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00");pa({a:k8,b:L8,Fp:Tp,n:BigInt("0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409"),Gx:BigInt("0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66"),Gy:BigInt("0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650"),h:BigInt(1),lowS:!1,allowedPrivateKeyLengths:[130,131,132]},Q3);var M8={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(c,u,l){this.fn=c,this.context=u,this.once=l||!1}function s(c,u,l,f,d){if(typeof l!="function")throw new TypeError("The listener must be a function");var h=new i(l,f||c,d),p=n?n+u:u;return c._events[p]?c._events[p].fn?c._events[p]=[c._events[p],h]:c._events[p].push(h):(c._events[p]=h,c._eventsCount++),c}function o(c,u){--c._eventsCount===0?c._events=new r:delete c._events[u]}function a(){this._events=new r,this._eventsCount=0}a.prototype.eventNames=function(){var u=[],l,f;if(this._eventsCount===0)return u;for(f in l=this._events)e.call(l,f)&&u.push(n?f.slice(1):f);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(l)):u},a.prototype.listeners=function(u){var l=n?n+u:u,f=this._events[l];if(!f)return[];if(f.fn)return[f.fn];for(var d=0,h=f.length,p=new Array(h);d<h;d++)p[d]=f[d].fn;return p},a.prototype.listenerCount=function(u){var l=n?n+u:u,f=this._events[l];return f?f.fn?1:f.length:0},a.prototype.emit=function(u,l,f,d,h,p){var w=n?n+u:u;if(!this._events[w])return!1;var m=this._events[w],P=arguments.length,T,I;if(m.fn){switch(m.once&&this.removeListener(u,m.fn,void 0,!0),P){case 1:return m.fn.call(m.context),!0;case 2:return m.fn.call(m.context,l),!0;case 3:return m.fn.call(m.context,l,f),!0;case 4:return m.fn.call(m.context,l,f,d),!0;case 5:return m.fn.call(m.context,l,f,d,h),!0;case 6:return m.fn.call(m.context,l,f,d,h,p),!0}for(I=1,T=new Array(P-1);I<P;I++)T[I-1]=arguments[I];m.fn.apply(m.context,T)}else{var x=m.length,S;for(I=0;I<x;I++)switch(m[I].once&&this.removeListener(u,m[I].fn,void 0,!0),P){case 1:m[I].fn.call(m[I].context);break;case 2:m[I].fn.call(m[I].context,l);break;case 3:m[I].fn.call(m[I].context,l,f);break;case 4:m[I].fn.call(m[I].context,l,f,d);break;default:if(!T)for(S=1,T=new Array(P-1);S<P;S++)T[S-1]=arguments[S];m[I].fn.apply(m[I].context,T)}}return!0},a.prototype.on=function(u,l,f){return s(this,u,l,f,!1)},a.prototype.once=function(u,l,f){return s(this,u,l,f,!0)},a.prototype.removeListener=function(u,l,f,d){var h=n?n+u:u;if(!this._events[h])return this;if(!l)return o(this,h),this;var p=this._events[h];if(p.fn)p.fn===l&&(!d||p.once)&&(!f||p.context===f)&&o(this,h);else{for(var w=0,m=[],P=p.length;w<P;w++)(p[w].fn!==l||d&&!p[w].once||f&&p[w].context!==f)&&m.push(p[w]);m.length?this._events[h]=m.length===1?m[0]:m:o(this,h)}return this},a.prototype.removeAllListeners=function(u){var l;return u?(l=n?n+u:u,this._events[l]&&o(this,l)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,t.exports=a})(M8);function j8(t){const e=t.length;let n=0,r=0;for(;r<e;){let i=t.charCodeAt(r++);if((i&4294967168)===0){n++;continue}else if((i&4294965248)===0)n+=2;else{if(i>=55296&&i<=56319&&r<e){const s=t.charCodeAt(r);(s&64512)===56320&&(++r,i=((i&1023)<<10)+(s&1023)+65536)}(i&4294901760)===0?n+=3:n+=4}}return n}function z8(t,e,n){const r=t.length;let i=n,s=0;for(;s<r;){let o=t.charCodeAt(s++);if((o&4294967168)===0){e[i++]=o;continue}else if((o&4294965248)===0)e[i++]=o>>6&31|192;else{if(o>=55296&&o<=56319&&s<r){const a=t.charCodeAt(s);(a&64512)===56320&&(++s,o=((o&1023)<<10)+(a&1023)+65536)}(o&4294901760)===0?(e[i++]=o>>12&15|224,e[i++]=o>>6&63|128):(e[i++]=o>>18&7|240,e[i++]=o>>12&63|128,e[i++]=o>>6&63|128)}e[i++]=o&63|128}}const K8=new TextEncoder,V8=50;function H8(t,e,n){K8.encodeInto(t,e.subarray(n))}function G8(t,e,n){t.length>V8?H8(t,e,n):z8(t,e,n)}const W8=4096;function Np(t,e,n){let r=e;const i=r+n,s=[];let o="";for(;r<i;){const a=t[r++];if((a&128)===0)s.push(a);else if((a&224)===192){const c=t[r++]&63;s.push((a&31)<<6|c)}else if((a&240)===224){const c=t[r++]&63,u=t[r++]&63;s.push((a&31)<<12|c<<6|u)}else if((a&248)===240){const c=t[r++]&63,u=t[r++]&63,l=t[r++]&63;let f=(a&7)<<18|c<<12|u<<6|l;f>65535&&(f-=65536,s.push(f>>>10&1023|55296),f=56320|f&1023),s.push(f)}else s.push(a);s.length>=W8&&(o+=String.fromCharCode(...s),s.length=0)}return s.length>0&&(o+=String.fromCharCode(...s)),o}const Z8=new TextDecoder,Y8=200;function X8(t,e,n){const r=t.subarray(e,e+n);return Z8.decode(r)}function J8(t,e,n){return n>Y8?X8(t,e,n):Np(t,e,n)}class qa{type;data;constructor(e,n){this.type=e,this.data=n}}class Yt extends Error{constructor(e){super(e);const n=Object.create(Yt.prototype);Object.setPrototypeOf(this,n),Object.defineProperty(this,"name",{configurable:!0,enumerable:!1,value:Yt.name})}}const _s=4294967295;function Q8(t,e,n){const r=n/4294967296,i=n;t.setUint32(e,r),t.setUint32(e+4,i)}function Up(t,e,n){const r=Math.floor(n/4294967296),i=n;t.setUint32(e,r),t.setUint32(e+4,i)}function Cp(t,e){const n=t.getInt32(e),r=t.getUint32(e+4);return n*4294967296+r}function _8(t,e){const n=t.getUint32(e),r=t.getUint32(e+4);return n*4294967296+r}const $8=-1,e6=4294967296-1,t6=17179869184-1;function n6({sec:t,nsec:e}){if(t>=0&&e>=0&&t<=t6)if(e===0&&t<=e6){const n=new Uint8Array(4);return new DataView(n.buffer).setUint32(0,t),n}else{const n=t/4294967296,r=t&4294967295,i=new Uint8Array(8),s=new DataView(i.buffer);return s.setUint32(0,e<<2|n&3),s.setUint32(4,r),i}else{const n=new Uint8Array(12),r=new DataView(n.buffer);return r.setUint32(0,e),Up(r,4,t),n}}function r6(t){const e=t.getTime(),n=Math.floor(e/1e3),r=(e-n*1e3)*1e6,i=Math.floor(r/1e9);return{sec:n+i,nsec:r-i*1e9}}function i6(t){if(t instanceof Date){const e=r6(t);return n6(e)}else return null}function s6(t){const e=new DataView(t.buffer,t.byteOffset,t.byteLength);switch(t.byteLength){case 4:return{sec:e.getUint32(0),nsec:0};case 8:{const n=e.getUint32(0),r=e.getUint32(4),i=(n&3)*4294967296+r,s=n>>>2;return{sec:i,nsec:s}}case 12:{const n=Cp(e,4),r=e.getUint32(0);return{sec:n,nsec:r}}default:throw new Yt(`Unrecognized data size for timestamp (expected 4, 8, or 12): ${t.length}`)}}function o6(t){const e=s6(t);return new Date(e.sec*1e3+e.nsec/1e6)}const a6={type:$8,encode:i6,decode:o6};class ka{static defaultCodec=new ka;__brand;builtInEncoders=[];builtInDecoders=[];encoders=[];decoders=[];constructor(){this.register(a6)}register({type:e,encode:n,decode:r}){if(e>=0)this.encoders[e]=n,this.decoders[e]=r;else{const i=-1-e;this.builtInEncoders[i]=n,this.builtInDecoders[i]=r}}tryToEncode(e,n){for(let r=0;r<this.builtInEncoders.length;r++){const i=this.builtInEncoders[r];if(i!=null){const s=i(e,n);if(s!=null){const o=-1-r;return new qa(o,s)}}}for(let r=0;r<this.encoders.length;r++){const i=this.encoders[r];if(i!=null){const s=i(e,n);if(s!=null){const o=r;return new qa(o,s)}}}return e instanceof qa?e:null}decode(e,n,r){const i=n<0?this.builtInDecoders[-1-n]:this.decoders[n];return i?i(e,n,r):new qa(n,e)}}function c6(t){return t instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer}function fl(t){return t instanceof Uint8Array?t:ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):c6(t)?new Uint8Array(t):Uint8Array.from(t)}const u6=100,l6=2048;class hl{extensionCodec;context;useBigInt64;maxDepth;initialBufferSize;sortKeys;forceFloat32;ignoreUndefined;forceIntegerToFloat;pos;view;bytes;entered=!1;constructor(e){this.extensionCodec=e?.extensionCodec??ka.defaultCodec,this.context=e?.context,this.useBigInt64=e?.useBigInt64??!1,this.maxDepth=e?.maxDepth??u6,this.initialBufferSize=e?.initialBufferSize??l6,this.sortKeys=e?.sortKeys??!1,this.forceFloat32=e?.forceFloat32??!1,this.ignoreUndefined=e?.ignoreUndefined??!1,this.forceIntegerToFloat=e?.forceIntegerToFloat??!1,this.pos=0,this.view=new DataView(new ArrayBuffer(this.initialBufferSize)),this.bytes=new Uint8Array(this.view.buffer)}clone(){return new hl({extensionCodec:this.extensionCodec,context:this.context,useBigInt64:this.useBigInt64,maxDepth:this.maxDepth,initialBufferSize:this.initialBufferSize,sortKeys:this.sortKeys,forceFloat32:this.forceFloat32,ignoreUndefined:this.ignoreUndefined,forceIntegerToFloat:this.forceIntegerToFloat})}reinitializeState(){this.pos=0}encodeSharedRef(e){if(this.entered)return this.clone().encodeSharedRef(e);try{return this.entered=!0,this.reinitializeState(),this.doEncode(e,1),this.bytes.subarray(0,this.pos)}finally{this.entered=!1}}encode(e){if(this.entered)return this.clone().encode(e);try{return this.entered=!0,this.reinitializeState(),this.doEncode(e,1),this.bytes.slice(0,this.pos)}finally{this.entered=!1}}doEncode(e,n){if(n>this.maxDepth)throw new Error(`Too deep objects in depth ${n}`);e==null?this.encodeNil():typeof e=="boolean"?this.encodeBoolean(e):typeof e=="number"?this.forceIntegerToFloat?this.encodeNumberAsFloat(e):this.encodeNumber(e):typeof e=="string"?this.encodeString(e):this.useBigInt64&&typeof e=="bigint"?this.encodeBigInt64(e):this.encodeObject(e,n)}ensureBufferSizeToWrite(e){const n=this.pos+e;this.view.byteLength<n&&this.resizeBuffer(n*2)}resizeBuffer(e){const n=new ArrayBuffer(e),r=new Uint8Array(n),i=new DataView(n);r.set(this.bytes),this.view=i,this.bytes=r}encodeNil(){this.writeU8(192)}encodeBoolean(e){e===!1?this.writeU8(194):this.writeU8(195)}encodeNumber(e){!this.forceIntegerToFloat&&Number.isSafeInteger(e)?e>=0?e<128?this.writeU8(e):e<256?(this.writeU8(204),this.writeU8(e)):e<65536?(this.writeU8(205),this.writeU16(e)):e<4294967296?(this.writeU8(206),this.writeU32(e)):this.useBigInt64?this.encodeNumberAsFloat(e):(this.writeU8(207),this.writeU64(e)):e>=-32?this.writeU8(224|e+32):e>=-128?(this.writeU8(208),this.writeI8(e)):e>=-32768?(this.writeU8(209),this.writeI16(e)):e>=-2147483648?(this.writeU8(210),this.writeI32(e)):this.useBigInt64?this.encodeNumberAsFloat(e):(this.writeU8(211),this.writeI64(e)):this.encodeNumberAsFloat(e)}encodeNumberAsFloat(e){this.forceFloat32?(this.writeU8(202),this.writeF32(e)):(this.writeU8(203),this.writeF64(e))}encodeBigInt64(e){e>=BigInt(0)?(this.writeU8(207),this.writeBigUint64(e)):(this.writeU8(211),this.writeBigInt64(e))}writeStringHeader(e){if(e<32)this.writeU8(160+e);else if(e<256)this.writeU8(217),this.writeU8(e);else if(e<65536)this.writeU8(218),this.writeU16(e);else if(e<4294967296)this.writeU8(219),this.writeU32(e);else throw new Error(`Too long string: ${e} bytes in UTF-8`)}encodeString(e){const r=j8(e);this.ensureBufferSizeToWrite(5+r),this.writeStringHeader(r),G8(e,this.bytes,this.pos),this.pos+=r}encodeObject(e,n){const r=this.extensionCodec.tryToEncode(e,this.context);if(r!=null)this.encodeExtension(r);else if(Array.isArray(e))this.encodeArray(e,n);else if(ArrayBuffer.isView(e))this.encodeBinary(e);else if(typeof e=="object")this.encodeMap(e,n);else throw new Error(`Unrecognized object: ${Object.prototype.toString.apply(e)}`)}encodeBinary(e){const n=e.byteLength;if(n<256)this.writeU8(196),this.writeU8(n);else if(n<65536)this.writeU8(197),this.writeU16(n);else if(n<4294967296)this.writeU8(198),this.writeU32(n);else throw new Error(`Too large binary: ${n}`);const r=fl(e);this.writeU8a(r)}encodeArray(e,n){const r=e.length;if(r<16)this.writeU8(144+r);else if(r<65536)this.writeU8(220),this.writeU16(r);else if(r<4294967296)this.writeU8(221),this.writeU32(r);else throw new Error(`Too large array: ${r}`);for(const i of e)this.doEncode(i,n+1)}countWithoutUndefined(e,n){let r=0;for(const i of n)e[i]!==void 0&&r++;return r}encodeMap(e,n){const r=Object.keys(e);this.sortKeys&&r.sort();const i=this.ignoreUndefined?this.countWithoutUndefined(e,r):r.length;if(i<16)this.writeU8(128+i);else if(i<65536)this.writeU8(222),this.writeU16(i);else if(i<4294967296)this.writeU8(223),this.writeU32(i);else throw new Error(`Too large map object: ${i}`);for(const s of r){const o=e[s];this.ignoreUndefined&&o===void 0||(this.encodeString(s),this.doEncode(o,n+1))}}encodeExtension(e){if(typeof e.data=="function"){const r=e.data(this.pos+6),i=r.length;if(i>=4294967296)throw new Error(`Too large extension object: ${i}`);this.writeU8(201),this.writeU32(i),this.writeI8(e.type),this.writeU8a(r);return}const n=e.data.length;if(n===1)this.writeU8(212);else if(n===2)this.writeU8(213);else if(n===4)this.writeU8(214);else if(n===8)this.writeU8(215);else if(n===16)this.writeU8(216);else if(n<256)this.writeU8(199),this.writeU8(n);else if(n<65536)this.writeU8(200),this.writeU16(n);else if(n<4294967296)this.writeU8(201),this.writeU32(n);else throw new Error(`Too large extension object: ${n}`);this.writeI8(e.type),this.writeU8a(e.data)}writeU8(e){this.ensureBufferSizeToWrite(1),this.view.setUint8(this.pos,e),this.pos++}writeU8a(e){const n=e.length;this.ensureBufferSizeToWrite(n),this.bytes.set(e,this.pos),this.pos+=n}writeI8(e){this.ensureBufferSizeToWrite(1),this.view.setInt8(this.pos,e),this.pos++}writeU16(e){this.ensureBufferSizeToWrite(2),this.view.setUint16(this.pos,e),this.pos+=2}writeI16(e){this.ensureBufferSizeToWrite(2),this.view.setInt16(this.pos,e),this.pos+=2}writeU32(e){this.ensureBufferSizeToWrite(4),this.view.setUint32(this.pos,e),this.pos+=4}writeI32(e){this.ensureBufferSizeToWrite(4),this.view.setInt32(this.pos,e),this.pos+=4}writeF32(e){this.ensureBufferSizeToWrite(4),this.view.setFloat32(this.pos,e),this.pos+=4}writeF64(e){this.ensureBufferSizeToWrite(8),this.view.setFloat64(this.pos,e),this.pos+=8}writeU64(e){this.ensureBufferSizeToWrite(8),Q8(this.view,this.pos,e),this.pos+=8}writeI64(e){this.ensureBufferSizeToWrite(8),Up(this.view,this.pos,e),this.pos+=8}writeBigUint64(e){this.ensureBufferSizeToWrite(8),this.view.setBigUint64(this.pos,e),this.pos+=8}writeBigInt64(e){this.ensureBufferSizeToWrite(8),this.view.setBigInt64(this.pos,e),this.pos+=8}}function f6(t,e){return new hl(e).encodeSharedRef(t)}function dl(t){return`${t<0?"-":""}0x${Math.abs(t).toString(16).padStart(2,"0")}`}const h6=16,d6=16;class p6{hit=0;miss=0;caches;maxKeyLength;maxLengthPerKey;constructor(e=h6,n=d6){this.maxKeyLength=e,this.maxLengthPerKey=n,this.caches=[];for(let r=0;r<this.maxKeyLength;r++)this.caches.push([])}canBeCached(e){return e>0&&e<=this.maxKeyLength}find(e,n,r){const i=this.caches[r-1];e:for(const s of i){const o=s.bytes;for(let a=0;a<r;a++)if(o[a]!==e[n+a])continue e;return s.str}return null}store(e,n){const r=this.caches[e.length-1],i={bytes:e,str:n};r.length>=this.maxLengthPerKey?r[Math.random()*r.length|0]=i:r.push(i)}decode(e,n,r){const i=this.find(e,n,r);if(i!=null)return this.hit++,i;this.miss++;const s=Np(e,n,r),o=Uint8Array.prototype.slice.call(e,n,n+r);return this.store(o,s),s}}const pl="array",$s="map_key",Fp="map_value",g6=t=>{if(typeof t=="string"||typeof t=="number")return t;throw new Yt("The type of key must be string or number but "+typeof t)};class b6{stack=[];stackHeadPosition=-1;get length(){return this.stackHeadPosition+1}top(){return this.stack[this.stackHeadPosition]}pushArrayState(e){const n=this.getUninitializedStateFromPool();n.type=pl,n.position=0,n.size=e,n.array=new Array(e)}pushMapState(e){const n=this.getUninitializedStateFromPool();n.type=$s,n.readCount=0,n.size=e,n.map={}}getUninitializedStateFromPool(){if(this.stackHeadPosition++,this.stackHeadPosition===this.stack.length){const e={type:void 0,size:0,array:void 0,position:0,readCount:0,map:void 0,key:null};this.stack.push(e)}return this.stack[this.stackHeadPosition]}release(e){if(this.stack[this.stackHeadPosition]!==e)throw new Error("Invalid stack state. Released state is not on top of the stack.");if(e.type===pl){const r=e;r.size=0,r.array=void 0,r.position=0,r.type=void 0}if(e.type===$s||e.type===Fp){const r=e;r.size=0,r.map=void 0,r.readCount=0,r.type=void 0}this.stackHeadPosition--}reset(){this.stack.length=0,this.stackHeadPosition=-1}}const eo=-1,gl=new DataView(new ArrayBuffer(0)),w6=new Uint8Array(gl.buffer);try{gl.getInt8(0)}catch(t){if(!(t instanceof RangeError))throw new Error("This module is not supported in the current JavaScript engine because DataView does not throw RangeError on out-of-bounds access")}const qp=new RangeError("Insufficient data"),y6=new p6;class bl{extensionCodec;context;useBigInt64;rawStrings;maxStrLength;maxBinLength;maxArrayLength;maxMapLength;maxExtLength;keyDecoder;mapKeyConverter;totalPos=0;pos=0;view=gl;bytes=w6;headByte=eo;stack=new b6;entered=!1;constructor(e){this.extensionCodec=e?.extensionCodec??ka.defaultCodec,this.context=e?.context,this.useBigInt64=e?.useBigInt64??!1,this.rawStrings=e?.rawStrings??!1,this.maxStrLength=e?.maxStrLength??_s,this.maxBinLength=e?.maxBinLength??_s,this.maxArrayLength=e?.maxArrayLength??_s,this.maxMapLength=e?.maxMapLength??_s,this.maxExtLength=e?.maxExtLength??_s,this.keyDecoder=e?.keyDecoder!==void 0?e.keyDecoder:y6,this.mapKeyConverter=e?.mapKeyConverter??g6}clone(){return new bl({extensionCodec:this.extensionCodec,context:this.context,useBigInt64:this.useBigInt64,rawStrings:this.rawStrings,maxStrLength:this.maxStrLength,maxBinLength:this.maxBinLength,maxArrayLength:this.maxArrayLength,maxMapLength:this.maxMapLength,maxExtLength:this.maxExtLength,keyDecoder:this.keyDecoder})}reinitializeState(){this.totalPos=0,this.headByte=eo,this.stack.reset()}setBuffer(e){const n=fl(e);this.bytes=n,this.view=new DataView(n.buffer,n.byteOffset,n.byteLength),this.pos=0}appendBuffer(e){if(this.headByte===eo&&!this.hasRemaining(1))this.setBuffer(e);else{const n=this.bytes.subarray(this.pos),r=fl(e),i=new Uint8Array(n.length+r.length);i.set(n),i.set(r,n.length),this.setBuffer(i)}}hasRemaining(e){return this.view.byteLength-this.pos>=e}createExtraByteError(e){const{view:n,pos:r}=this;return new RangeError(`Extra ${n.byteLength-r} of ${n.byteLength} byte(s) found at buffer[${e}]`)}decode(e){if(this.entered)return this.clone().decode(e);try{this.entered=!0,this.reinitializeState(),this.setBuffer(e);const n=this.doDecodeSync();if(this.hasRemaining(1))throw this.createExtraByteError(this.pos);return n}finally{this.entered=!1}}*decodeMulti(e){if(this.entered){yield*this.clone().decodeMulti(e);return}try{for(this.entered=!0,this.reinitializeState(),this.setBuffer(e);this.hasRemaining(1);)yield this.doDecodeSync()}finally{this.entered=!1}}async decodeAsync(e){if(this.entered)return this.clone().decodeAsync(e);try{this.entered=!0;let n=!1,r;for await(const a of e){if(n)throw this.entered=!1,this.createExtraByteError(this.totalPos);this.appendBuffer(a);try{r=this.doDecodeSync(),n=!0}catch(c){if(!(c instanceof RangeError))throw c}this.totalPos+=this.pos}if(n){if(this.hasRemaining(1))throw this.createExtraByteError(this.totalPos);return r}const{headByte:i,pos:s,totalPos:o}=this;throw new RangeError(`Insufficient data in parsing ${dl(i)} at ${o} (${s} in the current buffer)`)}finally{this.entered=!1}}decodeArrayStream(e){return this.decodeMultiAsync(e,!0)}decodeStream(e){return this.decodeMultiAsync(e,!1)}async*decodeMultiAsync(e,n){if(this.entered){yield*this.clone().decodeMultiAsync(e,n);return}try{this.entered=!0;let r=n,i=-1;for await(const s of e){if(n&&i===0)throw this.createExtraByteError(this.totalPos);this.appendBuffer(s),r&&(i=this.readArraySize(),r=!1,this.complete());try{for(;yield this.doDecodeSync(),--i!==0;);}catch(o){if(!(o instanceof RangeError))throw o}this.totalPos+=this.pos}}finally{this.entered=!1}}doDecodeSync(){e:for(;;){const e=this.readHeadByte();let n;if(e>=224)n=e-256;else if(e<192)if(e<128)n=e;else if(e<144){const i=e-128;if(i!==0){this.pushMapState(i),this.complete();continue e}else n={}}else if(e<160){const i=e-144;if(i!==0){this.pushArrayState(i),this.complete();continue e}else n=[]}else{const i=e-160;n=this.decodeString(i,0)}else if(e===192)n=null;else if(e===194)n=!1;else if(e===195)n=!0;else if(e===202)n=this.readF32();else if(e===203)n=this.readF64();else if(e===204)n=this.readU8();else if(e===205)n=this.readU16();else if(e===206)n=this.readU32();else if(e===207)this.useBigInt64?n=this.readU64AsBigInt():n=this.readU64();else if(e===208)n=this.readI8();else if(e===209)n=this.readI16();else if(e===210)n=this.readI32();else if(e===211)this.useBigInt64?n=this.readI64AsBigInt():n=this.readI64();else if(e===217){const i=this.lookU8();n=this.decodeString(i,1)}else if(e===218){const i=this.lookU16();n=this.decodeString(i,2)}else if(e===219){const i=this.lookU32();n=this.decodeString(i,4)}else if(e===220){const i=this.readU16();if(i!==0){this.pushArrayState(i),this.complete();continue e}else n=[]}else if(e===221){const i=this.readU32();if(i!==0){this.pushArrayState(i),this.complete();continue e}else n=[]}else if(e===222){const i=this.readU16();if(i!==0){this.pushMapState(i),this.complete();continue e}else n={}}else if(e===223){const i=this.readU32();if(i!==0){this.pushMapState(i),this.complete();continue e}else n={}}else if(e===196){const i=this.lookU8();n=this.decodeBinary(i,1)}else if(e===197){const i=this.lookU16();n=this.decodeBinary(i,2)}else if(e===198){const i=this.lookU32();n=this.decodeBinary(i,4)}else if(e===212)n=this.decodeExtension(1,0);else if(e===213)n=this.decodeExtension(2,0);else if(e===214)n=this.decodeExtension(4,0);else if(e===215)n=this.decodeExtension(8,0);else if(e===216)n=this.decodeExtension(16,0);else if(e===199){const i=this.lookU8();n=this.decodeExtension(i,1)}else if(e===200){const i=this.lookU16();n=this.decodeExtension(i,2)}else if(e===201){const i=this.lookU32();n=this.decodeExtension(i,4)}else throw new Yt(`Unrecognized type byte: ${dl(e)}`);this.complete();const r=this.stack;for(;r.length>0;){const i=r.top();if(i.type===pl)if(i.array[i.position]=n,i.position++,i.position===i.size)n=i.array,r.release(i);else continue e;else if(i.type===$s){if(n==="__proto__")throw new Yt("The key __proto__ is not allowed");i.key=this.mapKeyConverter(n),i.type=Fp;continue e}else if(i.map[i.key]=n,i.readCount++,i.readCount===i.size)n=i.map,r.release(i);else{i.key=null,i.type=$s;continue e}}return n}}readHeadByte(){return this.headByte===eo&&(this.headByte=this.readU8()),this.headByte}complete(){this.headByte=eo}readArraySize(){const e=this.readHeadByte();switch(e){case 220:return this.readU16();case 221:return this.readU32();default:{if(e<160)return e-144;throw new Yt(`Unrecognized array type byte: ${dl(e)}`)}}}pushMapState(e){if(e>this.maxMapLength)throw new Yt(`Max length exceeded: map length (${e}) > maxMapLengthLength (${this.maxMapLength})`);this.stack.pushMapState(e)}pushArrayState(e){if(e>this.maxArrayLength)throw new Yt(`Max length exceeded: array length (${e}) > maxArrayLength (${this.maxArrayLength})`);this.stack.pushArrayState(e)}decodeString(e,n){return!this.rawStrings||this.stateIsMapKey()?this.decodeUtf8String(e,n):this.decodeBinary(e,n)}decodeUtf8String(e,n){if(e>this.maxStrLength)throw new Yt(`Max length exceeded: UTF-8 byte length (${e}) > maxStrLength (${this.maxStrLength})`);if(this.bytes.byteLength<this.pos+n+e)throw qp;const r=this.pos+n;let i;return this.stateIsMapKey()&&this.keyDecoder?.canBeCached(e)?i=this.keyDecoder.decode(this.bytes,r,e):i=J8(this.bytes,r,e),this.pos+=n+e,i}stateIsMapKey(){return this.stack.length>0?this.stack.top().type===$s:!1}decodeBinary(e,n){if(e>this.maxBinLength)throw new Yt(`Max length exceeded: bin length (${e}) > maxBinLength (${this.maxBinLength})`);if(!this.hasRemaining(e+n))throw qp;const r=this.pos+n,i=this.bytes.subarray(r,r+e);return this.pos+=n+e,i}decodeExtension(e,n){if(e>this.maxExtLength)throw new Yt(`Max length exceeded: ext length (${e}) > maxExtLength (${this.maxExtLength})`);const r=this.view.getInt8(this.pos+n),i=this.decodeBinary(e,n+1);return this.extensionCodec.decode(i,r,this.context)}lookU8(){return this.view.getUint8(this.pos)}lookU16(){return this.view.getUint16(this.pos)}lookU32(){return this.view.getUint32(this.pos)}readU8(){const e=this.view.getUint8(this.pos);return this.pos++,e}readI8(){const e=this.view.getInt8(this.pos);return this.pos++,e}readU16(){const e=this.view.getUint16(this.pos);return this.pos+=2,e}readI16(){const e=this.view.getInt16(this.pos);return this.pos+=2,e}readU32(){const e=this.view.getUint32(this.pos);return this.pos+=4,e}readI32(){const e=this.view.getInt32(this.pos);return this.pos+=4,e}readU64(){const e=_8(this.view,this.pos);return this.pos+=8,e}readI64(){const e=Cp(this.view,this.pos);return this.pos+=8,e}readU64AsBigInt(){const e=this.view.getBigUint64(this.pos);return this.pos+=8,e}readI64AsBigInt(){const e=this.view.getBigInt64(this.pos);return this.pos+=8,e}readF32(){const e=this.view.getFloat32(this.pos);return this.pos+=4,e}readF64(){const e=this.view.getFloat64(this.pos);return this.pos+=8,e}}function m6(t,e){return new bl(e).decode(t)}const v6=t=>JSON.stringify(t,(e,n)=>typeof n=="bigint"?n.toString()+"n":n),E6=t=>{const e=/([\[:])?(\d{17,}|(?:[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,n=t.replace(e,'$1"$2n"$3');return JSON.parse(n,(r,i)=>typeof i=="string"&&i.match(/^\d+n$/)?BigInt(i.substring(0,i.length-1)):i)};function as(t){if(typeof t!="string")throw new Error(`Cannot safe json parse value of type ${typeof t}`);try{return E6(t)}catch{return t}}function to(t){return typeof t=="string"?t:v6(t)||""}function x6(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function kp(t,...e){if(!x6(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function Lp(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function I6(t,e){kp(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}const cs=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const wl=t=>new DataView(t.buffer,t.byteOffset,t.byteLength);function S6(t){if(typeof t!="string")throw new Error("utf8ToBytes expected string, got "+typeof t);return new Uint8Array(new TextEncoder().encode(t))}function Mp(t){return typeof t=="string"&&(t=S6(t)),kp(t),t}class B6{clone(){return this._cloneInto()}}function O6(t){const e=r=>t().update(Mp(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function jp(t=32){if(cs&&typeof cs.getRandomValues=="function")return cs.getRandomValues(new Uint8Array(t));if(cs&&typeof cs.randomBytes=="function")return cs.randomBytes(t);throw new Error("crypto.getRandomValues must be defined")}function A6(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}class P6 extends B6{constructor(e,n,r,i){super(),this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=wl(this.buffer)}update(e){Lp(this);const{view:n,buffer:r,blockLen:i}=this;e=Mp(e);const s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=wl(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){Lp(this),I6(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,this.buffer.subarray(o).fill(0),this.padOffset>i-o&&(this.process(r,0),o=0);for(let f=o;f<i;f++)n[f]=0;A6(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=wl(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=c/4,l=this.get();if(u>l.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f<u;f++)a.setUint32(4*f,l[f],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.length=i,e.pos=a,e.finished=s,e.destroyed=o,i%n&&e.buffer.set(r),e}}const La=BigInt(2**32-1),yl=BigInt(32);function zp(t,e=!1){return e?{h:Number(t&La),l:Number(t>>yl&La)}:{h:Number(t>>yl&La)|0,l:Number(t&La)|0}}function D6(t,e=!1){let n=new Uint32Array(t.length),r=new Uint32Array(t.length);for(let i=0;i<t.length;i++){const{h:s,l:o}=zp(t[i],e);[n[i],r[i]]=[s,o]}return[n,r]}const R6=(t,e)=>BigInt(t>>>0)<<yl|BigInt(e>>>0),T6=(t,e,n)=>t>>>n,N6=(t,e,n)=>t<<32-n|e>>>n,U6=(t,e,n)=>t>>>n|e<<32-n,C6=(t,e,n)=>t<<32-n|e>>>n,F6=(t,e,n)=>t<<64-n|e>>>n-32,q6=(t,e,n)=>t>>>n-32|e<<64-n,k6=(t,e)=>e,L6=(t,e)=>t,M6=(t,e,n)=>t<<n|e>>>32-n,j6=(t,e,n)=>e<<n|t>>>32-n,z6=(t,e,n)=>e<<n-32|t>>>64-n,K6=(t,e,n)=>t<<n-32|e>>>64-n;function V6(t,e,n,r){const i=(e>>>0)+(r>>>0);return{h:t+n+(i/2**32|0)|0,l:i|0}}const H6=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),G6=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,W6=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),Z6=(t,e,n,r,i)=>e+n+r+i+(t/2**32|0)|0,Y6=(t,e,n,r,i)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0),X6=(t,e,n,r,i,s)=>e+n+r+i+s+(t/2**32|0)|0,fe={fromBig:zp,split:D6,toBig:R6,shrSH:T6,shrSL:N6,rotrSH:U6,rotrSL:C6,rotrBH:F6,rotrBL:q6,rotr32H:k6,rotr32L:L6,rotlSH:M6,rotlSL:j6,rotlBH:z6,rotlBL:K6,add:V6,add3L:H6,add3H:G6,add4L:W6,add4H:Z6,add5H:X6,add5L:Y6},[J6,Q6]=fe.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(t=>BigInt(t))),Nr=new Uint32Array(80),Ur=new Uint32Array(80);class _6 extends P6{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(){const{Ah:e,Al:n,Bh:r,Bl:i,Ch:s,Cl:o,Dh:a,Dl:c,Eh:u,El:l,Fh:f,Fl:d,Gh:h,Gl:p,Hh:w,Hl:m}=this;return[e,n,r,i,s,o,a,c,u,l,f,d,h,p,w,m]}set(e,n,r,i,s,o,a,c,u,l,f,d,h,p,w,m){this.Ah=e|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=c|0,this.Eh=u|0,this.El=l|0,this.Fh=f|0,this.Fl=d|0,this.Gh=h|0,this.Gl=p|0,this.Hh=w|0,this.Hl=m|0}process(e,n){for(let I=0;I<16;I++,n+=4)Nr[I]=e.getUint32(n),Ur[I]=e.getUint32(n+=4);for(let I=16;I<80;I++){const x=Nr[I-15]|0,S=Ur[I-15]|0,U=fe.rotrSH(x,S,1)^fe.rotrSH(x,S,8)^fe.shrSH(x,S,7),k=fe.rotrSL(x,S,1)^fe.rotrSL(x,S,8)^fe.shrSL(x,S,7),F=Nr[I-2]|0,R=Ur[I-2]|0,G=fe.rotrSH(F,R,19)^fe.rotrBH(F,R,61)^fe.shrSH(F,R,6),H=fe.rotrSL(F,R,19)^fe.rotrBL(F,R,61)^fe.shrSL(F,R,6),E=fe.add4L(k,H,Ur[I-7],Ur[I-16]),b=fe.add4H(E,U,G,Nr[I-7],Nr[I-16]);Nr[I]=b|0,Ur[I]=E|0}let{Ah:r,Al:i,Bh:s,Bl:o,Ch:a,Cl:c,Dh:u,Dl:l,Eh:f,El:d,Fh:h,Fl:p,Gh:w,Gl:m,Hh:P,Hl:T}=this;for(let I=0;I<80;I++){const x=fe.rotrSH(f,d,14)^fe.rotrSH(f,d,18)^fe.rotrBH(f,d,41),S=fe.rotrSL(f,d,14)^fe.rotrSL(f,d,18)^fe.rotrBL(f,d,41),U=f&h^~f&w,k=d&p^~d&m,F=fe.add5L(T,S,k,Q6[I],Ur[I]),R=fe.add5H(F,P,x,U,J6[I],Nr[I]),G=F|0,H=fe.rotrSH(r,i,28)^fe.rotrBH(r,i,34)^fe.rotrBH(r,i,39),E=fe.rotrSL(r,i,28)^fe.rotrBL(r,i,34)^fe.rotrBL(r,i,39),b=r&s^r&a^s&a,v=i&o^i&c^o&c;P=w|0,T=m|0,w=h|0,m=p|0,h=f|0,p=d|0,{h:f,l:d}=fe.add(u|0,l|0,R|0,G|0),u=a|0,l=c|0,a=s|0,c=o|0,s=r|0,o=i|0;const g=fe.add3L(G,E,v);r=fe.add3H(g,R,H,b),i=g|0}({h:r,l:i}=fe.add(this.Ah|0,this.Al|0,r|0,i|0)),{h:s,l:o}=fe.add(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l:c}=fe.add(this.Ch|0,this.Cl|0,a|0,c|0),{h:u,l}=fe.add(this.Dh|0,this.Dl|0,u|0,l|0),{h:f,l:d}=fe.add(this.Eh|0,this.El|0,f|0,d|0),{h,l:p}=fe.add(this.Fh|0,this.Fl|0,h|0,p|0),{h:w,l:m}=fe.add(this.Gh|0,this.Gl|0,w|0,m|0),{h:P,l:T}=fe.add(this.Hh|0,this.Hl|0,P|0,T|0),this.set(r,i,s,o,a,c,u,l,f,d,h,p,w,m,P,T)}roundClean(){Nr.fill(0),Ur.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)}}const $6=O6(()=>new _6);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const ml=BigInt(0),Kp=BigInt(1),e4=BigInt(2);function vl(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function El(t){if(!vl(t))throw new Error("Uint8Array expected")}function xl(t,e){if(typeof e!="boolean")throw new Error(t+" boolean expected, got "+e)}const t4=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function Il(t){El(t);let e="";for(let n=0;n<t.length;n++)e+=t4[t[n]];return e}function Vp(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?ml:BigInt("0x"+t)}const er={_0:48,_9:57,A:65,F:70,a:97,f:102};function Hp(t){if(t>=er._0&&t<=er._9)return t-er._0;if(t>=er.A&&t<=er.F)return t-(er.A-10);if(t>=er.a&&t<=er.f)return t-(er.a-10)}function Gp(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=Hp(t.charCodeAt(s)),a=Hp(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function n4(t){return Vp(Il(t))}function Ma(t){return El(t),Vp(Il(Uint8Array.from(t).reverse()))}function Wp(t,e){return Gp(t.toString(16).padStart(e*2,"0"))}function Sl(t,e){return Wp(t,e).reverse()}function tr(t,e,n){let r;if(typeof e=="string")try{r=Gp(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(vl(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}function Zp(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];El(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}const Bl=t=>typeof t=="bigint"&&ml<=t;function r4(t,e,n){return Bl(t)&&Bl(e)&&Bl(n)&&e<=t&&t<n}function no(t,e,n,r){if(!r4(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function i4(t){let e;for(e=0;t>ml;t>>=Kp,e+=1);return e}const s4=t=>(e4<<BigInt(t-1))-Kp,o4={bigint:t=>typeof t=="bigint",function:t=>typeof t=="function",boolean:t=>typeof t=="boolean",string:t=>typeof t=="string",stringOrUint8Array:t=>typeof t=="string"||vl(t),isSafeInteger:t=>Number.isSafeInteger(t),array:t=>Array.isArray(t),field:(t,e)=>e.Fp.isValid(t),hash:t=>typeof t=="function"&&Number.isSafeInteger(t.outputLen)};function Ol(t,e,n={}){const r=(i,s,o)=>{const a=o4[s];if(typeof a!="function")throw new Error("invalid validator function");const c=t[i];if(!(o&&c===void 0)&&!a(c,t))throw new Error("param "+String(i)+" is invalid. Expected "+s+", got "+c)};for(const[i,s]of Object.entries(e))r(i,s,!1);for(const[i,s]of Object.entries(n))r(i,s,!0);return t}function Yp(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}const Ye=BigInt(0),qe=BigInt(1),mi=BigInt(2),a4=BigInt(3),Al=BigInt(4),Xp=BigInt(5),Jp=BigInt(8);function Ke(t,e){const n=t%e;return n>=Ye?n:e+n}function c4(t,e,n){if(e<Ye)throw new Error("invalid exponent, negatives unsupported");if(n<=Ye)throw new Error("invalid modulus");if(n===qe)return Ye;let r=qe;for(;e>Ye;)e&qe&&(r=r*t%n),t=t*t%n,e>>=qe;return r}function Rn(t,e,n){let r=t;for(;e-- >Ye;)r*=r,r%=n;return r}function Qp(t,e){if(t===Ye)throw new Error("invert: expected non-zero number");if(e<=Ye)throw new Error("invert: expected positive modulus, got "+e);let n=Ke(t,e),r=e,i=Ye,s=qe;for(;n!==Ye;){const o=r/n,a=r%n,c=i-s*o;r=n,n=a,i=s,s=c}if(r!==qe)throw new Error("invert: does not exist");return Ke(i,e)}function u4(t){const e=(t-qe)/mi;let n,r,i;for(n=t-qe,r=0;n%mi===Ye;n/=mi,r++);for(i=mi;i<t&&c4(i,e,t)!==t-qe;i++)if(i>1e3)throw new Error("Cannot find square root: likely non-prime P");if(r===1){const o=(t+qe)/Al;return function(a,c){const u=a.pow(c,o);if(!a.eql(a.sqr(u),c))throw new Error("Cannot find square root");return u}}const s=(n+qe)/mi;return function(o,a){if(o.pow(a,e)===o.neg(o.ONE))throw new Error("Cannot find square root");let c=r,u=o.pow(o.mul(o.ONE,i),n),l=o.pow(a,s),f=o.pow(a,n);for(;!o.eql(f,o.ONE);){if(o.eql(f,o.ZERO))return o.ZERO;let d=1;for(let p=o.sqr(f);d<c&&!o.eql(p,o.ONE);d++)p=o.sqr(p);const h=o.pow(u,qe<<BigInt(c-d-1));u=o.sqr(h),l=o.mul(l,h),f=o.mul(f,u),c=d}return l}}function l4(t){if(t%Al===a4){const e=(t+qe)/Al;return function(n,r){const i=n.pow(r,e);if(!n.eql(n.sqr(i),r))throw new Error("Cannot find square root");return i}}if(t%Jp===Xp){const e=(t-Xp)/Jp;return function(n,r){const i=n.mul(r,mi),s=n.pow(i,e),o=n.mul(r,s),a=n.mul(n.mul(o,mi),s),c=n.mul(o,n.sub(a,n.ONE));if(!n.eql(n.sqr(c),r))throw new Error("Cannot find square root");return c}}return u4(t)}const f4=(t,e)=>(Ke(t,e)&qe)===qe,h4=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function d4(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},n=h4.reduce((r,i)=>(r[i]="function",r),e);return Ol(t,n)}function p4(t,e,n){if(n<Ye)throw new Error("invalid exponent, negatives unsupported");if(n===Ye)return t.ONE;if(n===qe)return e;let r=t.ONE,i=e;for(;n>Ye;)n&qe&&(r=t.mul(r,i)),i=t.sqr(i),n>>=qe;return r}function g4(t,e){const n=new Array(e.length),r=e.reduce((s,o,a)=>t.is0(o)?s:(n[a]=s,t.mul(s,o)),t.ONE),i=t.inv(r);return e.reduceRight((s,o,a)=>t.is0(o)?s:(n[a]=t.mul(s,n[a]),t.mul(s,o)),i),n}function _p(t,e){const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function $p(t,e,n=!1,r={}){if(t<=Ye)throw new Error("invalid field: expected ORDER > 0, got "+t);const{nBitLength:i,nByteLength:s}=_p(t,e);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let o;const a=Object.freeze({ORDER:t,isLE:n,BITS:i,BYTES:s,MASK:s4(i),ZERO:Ye,ONE:qe,create:c=>Ke(c,t),isValid:c=>{if(typeof c!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof c);return Ye<=c&&c<t},is0:c=>c===Ye,isOdd:c=>(c&qe)===qe,neg:c=>Ke(-c,t),eql:(c,u)=>c===u,sqr:c=>Ke(c*c,t),add:(c,u)=>Ke(c+u,t),sub:(c,u)=>Ke(c-u,t),mul:(c,u)=>Ke(c*u,t),pow:(c,u)=>p4(a,c,u),div:(c,u)=>Ke(c*Qp(u,t),t),sqrN:c=>c*c,addN:(c,u)=>c+u,subN:(c,u)=>c-u,mulN:(c,u)=>c*u,inv:c=>Qp(c,t),sqrt:r.sqrt||(c=>(o||(o=l4(t)),o(a,c))),invertBatch:c=>g4(a,c),cmov:(c,u,l)=>l?u:c,toBytes:c=>n?Sl(c,s):Wp(c,s),fromBytes:c=>{if(c.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+c.length);return n?Ma(c):n4(c)}});return Object.freeze(a)}const eg=BigInt(0),ja=BigInt(1);function Pl(t,e){const n=e.negate();return t?n:e}function tg(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function Dl(t,e){tg(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1);return{windows:n,windowSize:r}}function b4(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function w4(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const Rl=new WeakMap,ng=new WeakMap;function Tl(t){return ng.get(t)||1}function y4(t,e){return{constTimeNegate:Pl,hasPrecomputes(n){return Tl(n)!==1},unsafeLadder(n,r,i=t.ZERO){let s=n;for(;r>eg;)r&ja&&(i=i.add(s)),s=s.double(),r>>=ja;return i},precomputeWindow(n,r){const{windows:i,windowSize:s}=Dl(r,e),o=[];let a=n,c=a;for(let u=0;u<i;u++){c=a,o.push(c);for(let l=1;l<s;l++)c=c.add(a),o.push(c);a=c.double()}return o},wNAF(n,r,i){const{windows:s,windowSize:o}=Dl(n,e);let a=t.ZERO,c=t.BASE;const u=BigInt(2**n-1),l=2**n,f=BigInt(n);for(let d=0;d<s;d++){const h=d*o;let p=Number(i&u);i>>=f,p>o&&(p-=l,i+=ja);const w=h,m=h+Math.abs(p)-1,P=d%2!==0,T=p<0;p===0?c=c.add(Pl(P,r[w])):a=a.add(Pl(T,r[m]))}return{p:a,f:c}},wNAFUnsafe(n,r,i,s=t.ZERO){const{windows:o,windowSize:a}=Dl(n,e),c=BigInt(2**n-1),u=2**n,l=BigInt(n);for(let f=0;f<o;f++){const d=f*a;if(i===eg)break;let h=Number(i&c);if(i>>=l,h>a&&(h-=u,i+=ja),h===0)continue;let p=r[d+Math.abs(h)-1];h<0&&(p=p.negate()),s=s.add(p)}return s},getPrecomputes(n,r,i){let s=Rl.get(r);return s||(s=this.precomputeWindow(r,n),n!==1&&Rl.set(r,i(s))),s},wNAFCached(n,r,i){const s=Tl(n);return this.wNAF(s,this.getPrecomputes(s,n,i),r)},wNAFCachedUnsafe(n,r,i,s){const o=Tl(n);return o===1?this.unsafeLadder(n,r,s):this.wNAFUnsafe(o,this.getPrecomputes(o,n,i),r,s)},setWindowSize(n,r){tg(r,e),ng.set(n,r),Rl.delete(n)}}}function m4(t,e,n,r){if(b4(n,t),w4(r,e),n.length!==r.length)throw new Error("arrays of points and scalars must have equal length");const i=t.ZERO,s=i4(BigInt(n.length)),o=s>12?s-3:s>4?s-2:s?2:1,a=(1<<o)-1,c=new Array(a+1).fill(i),u=Math.floor((e.BITS-1)/o)*o;let l=i;for(let f=u;f>=0;f-=o){c.fill(i);for(let h=0;h<r.length;h++){const p=r[h],w=Number(p>>BigInt(f)&BigInt(a));c[w]=c[w].add(n[h])}let d=i;for(let h=c.length-1,p=i;h>0;h--)p=p.add(c[h]),d=d.add(p);if(l=l.add(d),f!==0)for(let h=0;h<o;h++)l=l.double()}return l}function v4(t){return d4(t.Fp),Ol(t,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({..._p(t.n,t.nBitLength),...t,p:t.Fp.ORDER})}const bn=BigInt(0),Ft=BigInt(1),za=BigInt(2),E4=BigInt(8),x4={zip215:!0};function I4(t){const e=v4(t);return Ol(t,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...e})}function S4(t){const e=I4(t),{Fp:n,n:r,prehash:i,hash:s,randomBytes:o,nByteLength:a,h:c}=e,u=za<<BigInt(a*8)-Ft,l=n.create,f=$p(e.n,e.nBitLength),d=e.uvRatio||((g,y)=>{try{return{isValid:!0,value:n.sqrt(g*n.inv(y))}}catch{return{isValid:!1,value:bn}}}),h=e.adjustScalarBytes||(g=>g),p=e.domain||((g,y,B)=>{if(xl("phflag",B),y.length||B)throw new Error("Contexts/pre-hash are not supported");return g});function w(g,y){no("coordinate "+g,y,bn,u)}function m(g){if(!(g instanceof I))throw new Error("ExtendedPoint expected")}const P=Yp((g,y)=>{const{ex:B,ey:A,ez:O}=g,D=g.is0();y==null&&(y=D?E4:n.inv(O));const C=l(B*y),M=l(A*y),L=l(O*y);if(D)return{x:bn,y:Ft};if(L!==Ft)throw new Error("invZ was invalid");return{x:C,y:M}}),T=Yp(g=>{const{a:y,d:B}=e;if(g.is0())throw new Error("bad point: ZERO");const{ex:A,ey:O,ez:D,et:C}=g,M=l(A*A),L=l(O*O),V=l(D*D),q=l(V*V),W=l(M*y),Z=l(V*l(W+L)),z=l(q+l(B*l(M*L)));if(Z!==z)throw new Error("bad point: equation left != right (1)");const N=l(A*O),j=l(D*C);if(N!==j)throw new Error("bad point: equation left != right (2)");return!0});class I{constructor(y,B,A,O){this.ex=y,this.ey=B,this.ez=A,this.et=O,w("x",y),w("y",B),w("z",A),w("t",O),Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(y){if(y instanceof I)throw new Error("extended point not allowed");const{x:B,y:A}=y||{};return w("x",B),w("y",A),new I(B,A,Ft,l(B*A))}static normalizeZ(y){const B=n.invertBatch(y.map(A=>A.ez));return y.map((A,O)=>A.toAffine(B[O])).map(I.fromAffine)}static msm(y,B){return m4(I,f,y,B)}_setWindowSize(y){U.setWindowSize(this,y)}assertValidity(){T(this)}equals(y){m(y);const{ex:B,ey:A,ez:O}=this,{ex:D,ey:C,ez:M}=y,L=l(B*M),V=l(D*O),q=l(A*M),W=l(C*O);return L===V&&q===W}is0(){return this.equals(I.ZERO)}negate(){return new I(l(-this.ex),this.ey,this.ez,l(-this.et))}double(){const{a:y}=e,{ex:B,ey:A,ez:O}=this,D=l(B*B),C=l(A*A),M=l(za*l(O*O)),L=l(y*D),V=B+A,q=l(l(V*V)-D-C),W=L+C,Z=W-M,z=L-C,N=l(q*Z),j=l(W*z),K=l(q*z),X=l(Z*W);return new I(N,j,X,K)}add(y){m(y);const{a:B,d:A}=e,{ex:O,ey:D,ez:C,et:M}=this,{ex:L,ey:V,ez:q,et:W}=y;if(B===BigInt(-1)){const xe=l((D-O)*(V+L)),at=l((D+O)*(V-L)),Vt=l(at-xe);if(Vt===bn)return this.double();const Pt=l(C*za*W),vt=l(M*za*q),Ce=vt+Pt,ct=at+xe,Dt=vt-Pt,he=l(Ce*Vt),xh=l(ct*Dt),Ps=l(Ce*Dt),We=l(Vt*ct);return new I(he,xh,We,Ps)}const Z=l(O*L),z=l(D*V),N=l(M*A*W),j=l(C*q),K=l((O+D)*(L+V)-Z-z),X=j-N,ee=j+N,$=l(z-B*Z),re=l(K*X),le=l(ee*$),ce=l(K*$),ie=l(X*ee);return new I(re,le,ie,ce)}subtract(y){return this.add(y.negate())}wNAF(y){return U.wNAFCached(this,y,I.normalizeZ)}multiply(y){const B=y;no("scalar",B,Ft,r);const{p:A,f:O}=this.wNAF(B);return I.normalizeZ([A,O])[0]}multiplyUnsafe(y,B=I.ZERO){const A=y;return no("scalar",A,bn,r),A===bn?S:this.is0()||A===Ft?this:U.wNAFCachedUnsafe(this,A,I.normalizeZ,B)}isSmallOrder(){return this.multiplyUnsafe(c).is0()}isTorsionFree(){return U.unsafeLadder(this,r).is0()}toAffine(y){return P(this,y)}clearCofactor(){const{h:y}=e;return y===Ft?this:this.multiplyUnsafe(y)}static fromHex(y,B=!1){const{d:A,a:O}=e,D=n.BYTES;y=tr("pointHex",y,D),xl("zip215",B);const C=y.slice(),M=y[D-1];C[D-1]=M&-129;const L=Ma(C),V=B?u:n.ORDER;no("pointHex.y",L,bn,V);const q=l(L*L),W=l(q-Ft),Z=l(A*q-O);let{isValid:z,value:N}=d(W,Z);if(!z)throw new Error("Point.fromHex: invalid y coordinate");const j=(N&Ft)===Ft,K=(M&128)!==0;if(!B&&N===bn&&K)throw new Error("Point.fromHex: x=0 and x_0=1");return K!==j&&(N=l(-N)),I.fromAffine({x:N,y:L})}static fromPrivateKey(y){return R(y).point}toRawBytes(){const{x:y,y:B}=this.toAffine(),A=Sl(B,n.BYTES);return A[A.length-1]|=y&Ft?128:0,A}toHex(){return Il(this.toRawBytes())}}I.BASE=new I(e.Gx,e.Gy,Ft,l(e.Gx*e.Gy)),I.ZERO=new I(bn,Ft,Ft,bn);const{BASE:x,ZERO:S}=I,U=y4(I,a*8);function k(g){return Ke(g,r)}function F(g){return k(Ma(g))}function R(g){const y=n.BYTES;g=tr("private key",g,y);const B=tr("hashed private key",s(g),2*y),A=h(B.slice(0,y)),O=B.slice(y,2*y),D=F(A),C=x.multiply(D),M=C.toRawBytes();return{head:A,prefix:O,scalar:D,point:C,pointBytes:M}}function G(g){return R(g).pointBytes}function H(g=new Uint8Array,...y){const B=Zp(...y);return F(s(p(B,tr("context",g),!!i)))}function E(g,y,B={}){g=tr("message",g),i&&(g=i(g));const{prefix:A,scalar:O,pointBytes:D}=R(y),C=H(B.context,A,g),M=x.multiply(C).toRawBytes(),L=H(B.context,M,D,g),V=k(C+L*O);no("signature.s",V,bn,r);const q=Zp(M,Sl(V,n.BYTES));return tr("result",q,n.BYTES*2)}const b=x4;function v(g,y,B,A=b){const{context:O,zip215:D}=A,C=n.BYTES;g=tr("signature",g,2*C),y=tr("message",y),B=tr("publicKey",B,C),D!==void 0&&xl("zip215",D),i&&(y=i(y));const M=Ma(g.slice(C,2*C));let L,V,q;try{L=I.fromHex(B,D),V=I.fromHex(g.slice(0,C),D),q=x.multiplyUnsafe(M)}catch{return!1}if(!D&&L.isSmallOrder())return!1;const W=H(O,V.toRawBytes(),L.toRawBytes(),y);return V.add(L.multiplyUnsafe(W)).subtract(q).clearCofactor().equals(I.ZERO)}return x._setWindowSize(8),{CURVE:e,getPublicKey:G,sign:E,verify:v,ExtendedPoint:I,utils:{getExtendedPublicKey:R,randomPrivateKey:()=>o(n.BYTES),precompute(g=8,y=I.BASE){return y._setWindowSize(g),y.multiply(BigInt(3)),y}}}}BigInt(0),BigInt(1);const Nl=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),rg=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");BigInt(0);const B4=BigInt(1),ig=BigInt(2);BigInt(3);const O4=BigInt(5),A4=BigInt(8);function P4(t){const e=BigInt(10),n=BigInt(20),r=BigInt(40),i=BigInt(80),s=Nl,o=t*t%s*t%s,a=Rn(o,ig,s)*o%s,c=Rn(a,B4,s)*t%s,u=Rn(c,O4,s)*c%s,l=Rn(u,e,s)*u%s,f=Rn(l,n,s)*l%s,d=Rn(f,r,s)*f%s,h=Rn(d,i,s)*d%s,p=Rn(h,i,s)*d%s,w=Rn(p,e,s)*u%s;return{pow_p_5_8:Rn(w,ig,s)*t%s,b2:o}}function D4(t){return t[0]&=248,t[31]&=127,t[31]|=64,t}function R4(t,e){const n=Nl,r=Ke(e*e*e,n),i=Ke(r*r*e,n),s=P4(t*i).pow_p_5_8;let o=Ke(t*r*s,n);const a=Ke(e*o*o,n),c=o,u=Ke(o*rg,n),l=a===t,f=a===Ke(-t,n),d=a===Ke(-t*rg,n);return l&&(o=c),(f||d)&&(o=u),f4(o,n)&&(o=Ke(-o,n)),{isValid:l||f,value:o}}const T4=$p(Nl,void 0,!0),N4={a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:T4,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:A4,Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:$6,randomBytes:jp,adjustScalarBytes:D4,uvRatio:R4},sg=S4(N4),U4="EdDSA",C4="JWT",Ka=".",Va="base64url",og="utf8",ag="utf8",F4=":",q4="did",k4="key",cg="base58btc",L4="z",M4="K36",j4=32;function Ul(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function ug(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?Ul(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function lg(t,e){e||(e=t.reduce((i,s)=>i+s.length,0));const n=ug(e);let r=0;for(const i of t)n.set(i,r),r+=i.length;return Ul(n)}function z4(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<t.length;i++){var s=t.charAt(i),o=s.charCodeAt(0);if(n[o]!==255)throw new TypeError(s+" is ambiguous");n[o]=i}var a=t.length,c=t.charAt(0),u=Math.log(a)/Math.log(256),l=Math.log(256)/Math.log(a);function f(p){if(p instanceof Uint8Array||(ArrayBuffer.isView(p)?p=new Uint8Array(p.buffer,p.byteOffset,p.byteLength):Array.isArray(p)&&(p=Uint8Array.from(p))),!(p instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(p.length===0)return"";for(var w=0,m=0,P=0,T=p.length;P!==T&&p[P]===0;)P++,w++;for(var I=(T-P)*l+1>>>0,x=new Uint8Array(I);P!==T;){for(var S=p[P],U=0,k=I-1;(S!==0||U<m)&&k!==-1;k--,U++)S+=256*x[k]>>>0,x[k]=S%a>>>0,S=S/a>>>0;if(S!==0)throw new Error("Non-zero carry");m=U,P++}for(var F=I-m;F!==I&&x[F]===0;)F++;for(var R=c.repeat(w);F<I;++F)R+=t.charAt(x[F]);return R}function d(p){if(typeof p!="string")throw new TypeError("Expected String");if(p.length===0)return new Uint8Array;var w=0;if(p[w]!==" "){for(var m=0,P=0;p[w]===c;)m++,w++;for(var T=(p.length-w)*u+1>>>0,I=new Uint8Array(T);p[w];){var x=n[p.charCodeAt(w)];if(x===255)return;for(var S=0,U=T-1;(x!==0||S<P)&&U!==-1;U--,S++)x+=a*I[U]>>>0,I[U]=x%256>>>0,x=x/256>>>0;if(x!==0)throw new Error("Non-zero carry");P=S,w++}if(p[w]!==" "){for(var k=T-P;k!==T&&I[k]===0;)k++;for(var F=new Uint8Array(m+(T-k)),R=m;k!==T;)F[R++]=I[k++];return F}}}function h(p){var w=d(p);if(w)return w;throw new Error(`Non-${e} character`)}return{encode:f,decodeUnsafe:d,decode:h}}var K4=z4,V4=K4;const fg=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},H4=t=>new TextEncoder().encode(t),G4=t=>new TextDecoder().decode(t);class W4{constructor(e,n,r){this.name=e,this.prefix=n,this.baseEncode=r}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class Z4{constructor(e,n,r){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=r}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return hg(this,e)}}class Y4{constructor(e){this.decoders=e}or(e){return hg(this,e)}decode(e){const n=e[0],r=this.decoders[n];if(r)return r.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const hg=(t,e)=>new Y4({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}});class X4{constructor(e,n,r,i){this.name=e,this.prefix=n,this.baseEncode=r,this.baseDecode=i,this.encoder=new W4(e,n,r),this.decoder=new Z4(e,n,i)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const Ha=({name:t,prefix:e,encode:n,decode:r})=>new X4(t,e,n,r),ro=({prefix:t,name:e,alphabet:n})=>{const{encode:r,decode:i}=V4(n,e);return Ha({prefix:t,name:e,encode:r,decode:s=>fg(i(s))})},J4=(t,e,n,r)=>{const i={};for(let l=0;l<e.length;++l)i[e[l]]=l;let s=t.length;for(;t[s-1]==="=";)--s;const o=new Uint8Array(s*n/8|0);let a=0,c=0,u=0;for(let l=0;l<s;++l){const f=i[t[l]];if(f===void 0)throw new SyntaxError(`Non-${r} character`);c=c<<n|f,a+=n,a>=8&&(a-=8,o[u++]=255&c>>a)}if(a>=n||255&c<<8-a)throw new SyntaxError("Unexpected end of data");return o},Q4=(t,e,n)=>{const r=e[e.length-1]==="=",i=(1<<n)-1;let s="",o=0,a=0;for(let c=0;c<t.length;++c)for(a=a<<8|t[c],o+=8;o>n;)o-=n,s+=e[i&a>>o];if(o&&(s+=e[i&a<<n-o]),r)for(;s.length*n&7;)s+="=";return s},$e=({name:t,prefix:e,bitsPerChar:n,alphabet:r})=>Ha({prefix:e,name:t,encode(i){return Q4(i,r,n)},decode(i){return J4(i,r,n,t)}}),_4=Ha({prefix:"\0",name:"identity",encode:t=>G4(t),decode:t=>H4(t)});var $4=Object.freeze({__proto__:null,identity:_4});const e5=$e({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var t5=Object.freeze({__proto__:null,base2:e5});const n5=$e({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var r5=Object.freeze({__proto__:null,base8:n5});const i5=ro({prefix:"9",name:"base10",alphabet:"0123456789"});var s5=Object.freeze({__proto__:null,base10:i5});const o5=$e({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),a5=$e({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var c5=Object.freeze({__proto__:null,base16:o5,base16upper:a5});const u5=$e({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),l5=$e({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),f5=$e({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),h5=$e({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),d5=$e({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),p5=$e({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),g5=$e({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),b5=$e({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),w5=$e({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var y5=Object.freeze({__proto__:null,base32:u5,base32upper:l5,base32pad:f5,base32padupper:h5,base32hex:d5,base32hexupper:p5,base32hexpad:g5,base32hexpadupper:b5,base32z:w5});const m5=ro({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),v5=ro({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var E5=Object.freeze({__proto__:null,base36:m5,base36upper:v5});const x5=ro({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),I5=ro({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var S5=Object.freeze({__proto__:null,base58btc:x5,base58flickr:I5});const B5=$e({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),O5=$e({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),A5=$e({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),P5=$e({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var D5=Object.freeze({__proto__:null,base64:B5,base64pad:O5,base64url:A5,base64urlpad:P5});const dg=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),R5=dg.reduce((t,e,n)=>(t[n]=e,t),[]),T5=dg.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);function N5(t){return t.reduce((e,n)=>(e+=R5[n],e),"")}function U5(t){const e=[];for(const n of t){const r=T5[n.codePointAt(0)];if(r===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(r)}return new Uint8Array(e)}const C5=Ha({prefix:"\u{1F680}",name:"base256emoji",encode:N5,decode:U5});var F5=Object.freeze({__proto__:null,base256emoji:C5}),q5=gg,pg=128,k5=127,L5=~k5,M5=Math.pow(2,31);function gg(t,e,n){e=e||[],n=n||0;for(var r=n;t>=M5;)e[n++]=t&255|pg,t/=128;for(;t&L5;)e[n++]=t&255|pg,t>>>=7;return e[n]=t|0,gg.bytes=n-r+1,e}var j5=Cl,z5=128,bg=127;function Cl(t,r){var n=0,r=r||0,i=0,s=r,o,a=t.length;do{if(s>=a)throw Cl.bytes=0,new RangeError("Could not decode varint");o=t[s++],n+=i<28?(o&bg)<<i:(o&bg)*Math.pow(2,i),i+=7}while(o>=z5);return Cl.bytes=s-r,n}var K5=Math.pow(2,7),V5=Math.pow(2,14),H5=Math.pow(2,21),G5=Math.pow(2,28),W5=Math.pow(2,35),Z5=Math.pow(2,42),Y5=Math.pow(2,49),X5=Math.pow(2,56),J5=Math.pow(2,63),Q5=function(t){return t<K5?1:t<V5?2:t<H5?3:t<G5?4:t<W5?5:t<Z5?6:t<Y5?7:t<X5?8:t<J5?9:10},_5={encode:q5,decode:j5,encodingLength:Q5},wg=_5;const yg=(t,e,n=0)=>(wg.encode(t,e,n),e),mg=t=>wg.encodingLength(t),Fl=(t,e)=>{const n=e.byteLength,r=mg(t),i=r+mg(n),s=new Uint8Array(i+n);return yg(t,s,0),yg(n,s,r),s.set(e,i),new $5(t,n,e,s)};class $5{constructor(e,n,r,i){this.code=e,this.size=n,this.digest=r,this.bytes=i}}const vg=({name:t,code:e,encode:n})=>new ex(t,e,n);class ex{constructor(e,n,r){this.name=e,this.code=n,this.encode=r}digest(e){if(e instanceof Uint8Array){const n=this.encode(e);return n instanceof Uint8Array?Fl(this.code,n):n.then(r=>Fl(this.code,r))}else throw Error("Unknown type, must be binary type")}}const Eg=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),tx=vg({name:"sha2-256",code:18,encode:Eg("SHA-256")}),nx=vg({name:"sha2-512",code:19,encode:Eg("SHA-512")});var rx=Object.freeze({__proto__:null,sha256:tx,sha512:nx});const xg=0,ix="identity",Ig=fg;var sx=Object.freeze({__proto__:null,identity:{code:xg,name:ix,encode:Ig,digest:t=>Fl(xg,Ig(t))}});new TextEncoder,new TextDecoder;const Sg={...$4,...t5,...r5,...s5,...c5,...y5,...E5,...S5,...D5,...F5};({...rx,...sx});function Bg(t,e,n,r){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:r}}}const Og=Bg("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),ql=Bg("ascii","a",t=>{let e="a";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},t=>{t=t.substring(1);const e=ug(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}),Ag={utf8:Og,"utf-8":Og,hex:Sg.base16,latin1:ql,ascii:ql,binary:ql,...Sg};function Ga(t,e="utf8"){const n=Ag[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("utf8"):n.encoder.encode(t).substring(1)}function us(t,e="utf8"){const n=Ag[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?Ul(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}function Pg(t){return as(Ga(us(t,Va),og))}function Wa(t){return Ga(us(to(t),og),Va)}function Dg(t){const e=us(M4,cg),n=L4+Ga(lg([e,t]),cg);return[q4,k4,n].join(F4)}function ox(t){return Ga(t,Va)}function ax(t){return us(t,Va)}function cx(t){return us([Wa(t.header),Wa(t.payload)].join(Ka),ag)}function ux(t){return[Wa(t.header),Wa(t.payload),ox(t.signature)].join(Ka)}function kl(t){const e=t.split(Ka),n=Pg(e[0]),r=Pg(e[1]),i=ax(e[2]),s=us(e.slice(0,2).join(Ka),ag);return{header:n,payload:r,signature:i,data:s}}function Rg(t=jp(j4)){const e=sg.getPublicKey(t);return{secretKey:lg([t,e]),publicKey:e}}async function lx(t,e,n,r,i=J.fromMiliseconds(Date.now())){const s={alg:U4,typ:C4},o=Dg(r.publicKey),a=i+n,c={iss:o,sub:t,aud:e,iat:i,exp:a},u=cx({header:s,payload:c}),l=sg.sign(u,r.secretKey.slice(0,32));return ux({header:s,payload:c,signature:l})}function Ll(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function Tg(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?Ll(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function io(t,e){e||(e=t.reduce((i,s)=>i+s.length,0));const n=Tg(e);let r=0;for(const i of t)n.set(i,r),r+=i.length;return Ll(n)}function fx(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<t.length;i++){var s=t.charAt(i),o=s.charCodeAt(0);if(n[o]!==255)throw new TypeError(s+" is ambiguous");n[o]=i}var a=t.length,c=t.charAt(0),u=Math.log(a)/Math.log(256),l=Math.log(256)/Math.log(a);function f(p){if(p instanceof Uint8Array||(ArrayBuffer.isView(p)?p=new Uint8Array(p.buffer,p.byteOffset,p.byteLength):Array.isArray(p)&&(p=Uint8Array.from(p))),!(p instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(p.length===0)return"";for(var w=0,m=0,P=0,T=p.length;P!==T&&p[P]===0;)P++,w++;for(var I=(T-P)*l+1>>>0,x=new Uint8Array(I);P!==T;){for(var S=p[P],U=0,k=I-1;(S!==0||U<m)&&k!==-1;k--,U++)S+=256*x[k]>>>0,x[k]=S%a>>>0,S=S/a>>>0;if(S!==0)throw new Error("Non-zero carry");m=U,P++}for(var F=I-m;F!==I&&x[F]===0;)F++;for(var R=c.repeat(w);F<I;++F)R+=t.charAt(x[F]);return R}function d(p){if(typeof p!="string")throw new TypeError("Expected String");if(p.length===0)return new Uint8Array;var w=0;if(p[w]!==" "){for(var m=0,P=0;p[w]===c;)m++,w++;for(var T=(p.length-w)*u+1>>>0,I=new Uint8Array(T);p[w];){var x=n[p.charCodeAt(w)];if(x===255)return;for(var S=0,U=T-1;(x!==0||S<P)&&U!==-1;U--,S++)x+=a*I[U]>>>0,I[U]=x%256>>>0,x=x/256>>>0;if(x!==0)throw new Error("Non-zero carry");P=S,w++}if(p[w]!==" "){for(var k=T-P;k!==T&&I[k]===0;)k++;for(var F=new Uint8Array(m+(T-k)),R=m;k!==T;)F[R++]=I[k++];return F}}}function h(p){var w=d(p);if(w)return w;throw new Error(`Non-${e} character`)}return{encode:f,decodeUnsafe:d,decode:h}}var hx=fx,dx=hx;const Ng=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},px=t=>new TextEncoder().encode(t),gx=t=>new TextDecoder().decode(t);class bx{constructor(e,n,r){this.name=e,this.prefix=n,this.baseEncode=r}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class wx{constructor(e,n,r){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=r}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return Ug(this,e)}}class yx{constructor(e){this.decoders=e}or(e){return Ug(this,e)}decode(e){const n=e[0],r=this.decoders[n];if(r)return r.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const Ug=(t,e)=>new yx({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}});class mx{constructor(e,n,r,i){this.name=e,this.prefix=n,this.baseEncode=r,this.baseDecode=i,this.encoder=new bx(e,n,r),this.decoder=new wx(e,n,i)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const Za=({name:t,prefix:e,encode:n,decode:r})=>new mx(t,e,n,r),so=({prefix:t,name:e,alphabet:n})=>{const{encode:r,decode:i}=dx(n,e);return Za({prefix:t,name:e,encode:r,decode:s=>Ng(i(s))})},vx=(t,e,n,r)=>{const i={};for(let l=0;l<e.length;++l)i[e[l]]=l;let s=t.length;for(;t[s-1]==="=";)--s;const o=new Uint8Array(s*n/8|0);let a=0,c=0,u=0;for(let l=0;l<s;++l){const f=i[t[l]];if(f===void 0)throw new SyntaxError(`Non-${r} character`);c=c<<n|f,a+=n,a>=8&&(a-=8,o[u++]=255&c>>a)}if(a>=n||255&c<<8-a)throw new SyntaxError("Unexpected end of data");return o},Ex=(t,e,n)=>{const r=e[e.length-1]==="=",i=(1<<n)-1;let s="",o=0,a=0;for(let c=0;c<t.length;++c)for(a=a<<8|t[c],o+=8;o>n;)o-=n,s+=e[i&a>>o];if(o&&(s+=e[i&a<<n-o]),r)for(;s.length*n&7;)s+="=";return s},et=({name:t,prefix:e,bitsPerChar:n,alphabet:r})=>Za({prefix:e,name:t,encode(i){return Ex(i,r,n)},decode(i){return vx(i,r,n,t)}}),xx=Za({prefix:"\0",name:"identity",encode:t=>gx(t),decode:t=>px(t)});var Ix=Object.freeze({__proto__:null,identity:xx});const Sx=et({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var Bx=Object.freeze({__proto__:null,base2:Sx});const Ox=et({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var Ax=Object.freeze({__proto__:null,base8:Ox});const Px=so({prefix:"9",name:"base10",alphabet:"0123456789"});var Dx=Object.freeze({__proto__:null,base10:Px});const Rx=et({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),Tx=et({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var Nx=Object.freeze({__proto__:null,base16:Rx,base16upper:Tx});const Ux=et({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),Cx=et({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),Fx=et({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),qx=et({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),kx=et({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),Lx=et({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),Mx=et({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),jx=et({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),zx=et({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var Kx=Object.freeze({__proto__:null,base32:Ux,base32upper:Cx,base32pad:Fx,base32padupper:qx,base32hex:kx,base32hexupper:Lx,base32hexpad:Mx,base32hexpadupper:jx,base32z:zx});const Vx=so({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),Hx=so({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var Gx=Object.freeze({__proto__:null,base36:Vx,base36upper:Hx});const Wx=so({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),Zx=so({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var Yx=Object.freeze({__proto__:null,base58btc:Wx,base58flickr:Zx});const Xx=et({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Jx=et({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),Qx=et({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),_x=et({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var $x=Object.freeze({__proto__:null,base64:Xx,base64pad:Jx,base64url:Qx,base64urlpad:_x});const Cg=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),e7=Cg.reduce((t,e,n)=>(t[n]=e,t),[]),t7=Cg.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);function n7(t){return t.reduce((e,n)=>(e+=e7[n],e),"")}function r7(t){const e=[];for(const n of t){const r=t7[n.codePointAt(0)];if(r===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(r)}return new Uint8Array(e)}const i7=Za({prefix:"\u{1F680}",name:"base256emoji",encode:n7,decode:r7});var s7=Object.freeze({__proto__:null,base256emoji:i7}),o7=qg,Fg=128,a7=127,c7=~a7,u7=Math.pow(2,31);function qg(t,e,n){e=e||[],n=n||0;for(var r=n;t>=u7;)e[n++]=t&255|Fg,t/=128;for(;t&c7;)e[n++]=t&255|Fg,t>>>=7;return e[n]=t|0,qg.bytes=n-r+1,e}var l7=Ml,f7=128,kg=127;function Ml(t,r){var n=0,r=r||0,i=0,s=r,o,a=t.length;do{if(s>=a)throw Ml.bytes=0,new RangeError("Could not decode varint");o=t[s++],n+=i<28?(o&kg)<<i:(o&kg)*Math.pow(2,i),i+=7}while(o>=f7);return Ml.bytes=s-r,n}var h7=Math.pow(2,7),d7=Math.pow(2,14),p7=Math.pow(2,21),g7=Math.pow(2,28),b7=Math.pow(2,35),w7=Math.pow(2,42),y7=Math.pow(2,49),m7=Math.pow(2,56),v7=Math.pow(2,63),E7=function(t){return t<h7?1:t<d7?2:t<p7?3:t<g7?4:t<b7?5:t<w7?6:t<y7?7:t<m7?8:t<v7?9:10},x7={encode:o7,decode:l7,encodingLength:E7},Lg=x7;const Mg=(t,e,n=0)=>(Lg.encode(t,e,n),e),jg=t=>Lg.encodingLength(t),jl=(t,e)=>{const n=e.byteLength,r=jg(t),i=r+jg(n),s=new Uint8Array(i+n);return Mg(t,s,0),Mg(n,s,r),s.set(e,i),new I7(t,n,e,s)};class I7{constructor(e,n,r,i){this.code=e,this.size=n,this.digest=r,this.bytes=i}}const zg=({name:t,code:e,encode:n})=>new S7(t,e,n);class S7{constructor(e,n,r){this.name=e,this.code=n,this.encode=r}digest(e){if(e instanceof Uint8Array){const n=this.encode(e);return n instanceof Uint8Array?jl(this.code,n):n.then(r=>jl(this.code,r))}else throw Error("Unknown type, must be binary type")}}const Kg=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),B7=zg({name:"sha2-256",code:18,encode:Kg("SHA-256")}),O7=zg({name:"sha2-512",code:19,encode:Kg("SHA-512")});var A7=Object.freeze({__proto__:null,sha256:B7,sha512:O7});const Vg=0,P7="identity",Hg=Ng;var D7=Object.freeze({__proto__:null,identity:{code:Vg,name:P7,encode:Hg,digest:t=>jl(Vg,Hg(t))}});new TextEncoder,new TextDecoder;const Gg={...Ix,...Bx,...Ax,...Dx,...Nx,...Kx,...Gx,...Yx,...$x,...s7};({...A7,...D7});function Wg(t,e,n,r){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:r}}}const Zg=Wg("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),zl=Wg("ascii","a",t=>{let e="a";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},t=>{t=t.substring(1);const e=Tg(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}),Yg={utf8:Zg,"utf-8":Zg,hex:Gg.base16,latin1:zl,ascii:zl,binary:zl,...Gg};function sn(t,e="utf8"){const n=Yg[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?Ll(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}function qt(t,e="utf8"){const n=Yg[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("utf8"):n.encoder.encode(t).substring(1)}const R7={waku:{publish:"waku_publish",batchPublish:"waku_batchPublish",subscribe:"waku_subscribe",batchSubscribe:"waku_batchSubscribe",subscription:"waku_subscription",unsubscribe:"waku_unsubscribe",batchUnsubscribe:"waku_batchUnsubscribe",batchFetchMessages:"waku_batchFetchMessages"},irn:{publish:"irn_publish",batchPublish:"irn_batchPublish",subscribe:"irn_subscribe",batchSubscribe:"irn_batchSubscribe",subscription:"irn_subscription",unsubscribe:"irn_unsubscribe",batchUnsubscribe:"irn_batchUnsubscribe",batchFetchMessages:"irn_batchFetchMessages"},iridium:{publish:"iridium_publish",batchPublish:"iridium_batchPublish",subscribe:"iridium_subscribe",batchSubscribe:"iridium_batchSubscribe",subscription:"iridium_subscription",unsubscribe:"iridium_unsubscribe",batchUnsubscribe:"iridium_batchUnsubscribe",batchFetchMessages:"iridium_batchFetchMessages"}},T7="Input must be an string, Buffer or Uint8Array";function N7(t){let e;if(t instanceof Uint8Array)e=t;else if(typeof t=="string")e=new TextEncoder().encode(t);else throw new Error(T7);return e}function U7(t){return Array.prototype.map.call(t,function(e){return(e<16?"0":"")+e.toString(16)}).join("")}function Ya(t){return(4294967296+t).toString(16).substring(1)}function C7(t,e,n){let r=`
17
+ `+t+" = ";for(let i=0;i<e.length;i+=2){if(n===32)r+=Ya(e[i]).toUpperCase(),r+=" ",r+=Ya(e[i+1]).toUpperCase();else if(n===64)r+=Ya(e[i+1]).toUpperCase(),r+=Ya(e[i]).toUpperCase();else throw new Error("Invalid size "+n);i%6===4?r+=`
18
+ `+new Array(t.length+4).join(" "):i<e.length-2&&(r+=" ")}console.log(r)}function F7(t,e,n){let r=new Date().getTime();const i=new Uint8Array(e);for(let o=0;o<e;o++)i[o]=o%256;const s=new Date().getTime();console.log("Generated random input in "+(s-r)+"ms"),r=s;for(let o=0;o<n;o++){const a=t(i),c=new Date().getTime(),u=c-r;r=c,console.log("Hashed in "+u+"ms: "+a.substring(0,20)+"..."),console.log(Math.round(e/(1<<20)/(u/1e3)*100)/100+" MB PER SECOND")}}var Xg={normalizeInput:N7,toHex:U7,debugPrint:C7,testSpeed:F7};const Xa=Xg;function Ja(t,e,n){const r=t[e]+t[n];let i=t[e+1]+t[n+1];r>=4294967296&&i++,t[e]=r,t[e+1]=i}function Jg(t,e,n,r){let i=t[e]+n;n<0&&(i+=4294967296);let s=t[e+1]+r;i>=4294967296&&s++,t[e]=i,t[e+1]=s}function Qg(t,e){return t[e]^t[e+1]<<8^t[e+2]<<16^t[e+3]<<24}function Cr(t,e,n,r,i,s){const o=oo[i],a=oo[i+1],c=oo[s],u=oo[s+1];Ja(ue,t,e),Jg(ue,t,o,a);let l=ue[r]^ue[t],f=ue[r+1]^ue[t+1];ue[r]=f,ue[r+1]=l,Ja(ue,n,r),l=ue[e]^ue[n],f=ue[e+1]^ue[n+1],ue[e]=l>>>24^f<<8,ue[e+1]=f>>>24^l<<8,Ja(ue,t,e),Jg(ue,t,c,u),l=ue[r]^ue[t],f=ue[r+1]^ue[t+1],ue[r]=l>>>16^f<<16,ue[r+1]=f>>>16^l<<16,Ja(ue,n,r),l=ue[e]^ue[n],f=ue[e+1]^ue[n+1],ue[e]=f>>>31^l<<1,ue[e+1]=l>>>31^f<<1}const _g=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),q7=[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],dt=new Uint8Array(q7.map(function(t){return t*2})),ue=new Uint32Array(32),oo=new Uint32Array(32);function $g(t,e){let n=0;for(n=0;n<16;n++)ue[n]=t.h[n],ue[n+16]=_g[n];for(ue[24]=ue[24]^t.t,ue[25]=ue[25]^t.t/4294967296,e&&(ue[28]=~ue[28],ue[29]=~ue[29]),n=0;n<32;n++)oo[n]=Qg(t.b,4*n);for(n=0;n<12;n++)Cr(0,8,16,24,dt[n*16+0],dt[n*16+1]),Cr(2,10,18,26,dt[n*16+2],dt[n*16+3]),Cr(4,12,20,28,dt[n*16+4],dt[n*16+5]),Cr(6,14,22,30,dt[n*16+6],dt[n*16+7]),Cr(0,10,20,30,dt[n*16+8],dt[n*16+9]),Cr(2,12,22,24,dt[n*16+10],dt[n*16+11]),Cr(4,14,16,26,dt[n*16+12],dt[n*16+13]),Cr(6,8,18,28,dt[n*16+14],dt[n*16+15]);for(n=0;n<16;n++)t.h[n]=t.h[n]^ue[n]^ue[n+16]}const Fr=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function e1(t,e,n,r){if(t===0||t>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(e&&e.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(n&&n.length!==16)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(r&&r.length!==16)throw new Error("Illegal personal, expected Uint8Array with length is 16");const i={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:t};Fr.fill(0),Fr[0]=t,e&&(Fr[1]=e.length),Fr[2]=1,Fr[3]=1,n&&Fr.set(n,32),r&&Fr.set(r,48);for(let s=0;s<16;s++)i.h[s]=_g[s]^Qg(Fr,s*4);return e&&(Kl(i,e),i.c=128),i}function Kl(t,e){for(let n=0;n<e.length;n++)t.c===128&&(t.t+=t.c,$g(t,!1),t.c=0),t.b[t.c++]=e[n]}function t1(t){for(t.t+=t.c;t.c<128;)t.b[t.c++]=0;$g(t,!0);const e=new Uint8Array(t.outlen);for(let n=0;n<t.outlen;n++)e[n]=t.h[n>>2]>>8*(n&3);return e}function n1(t,e,n,r,i){n=n||64,t=Xa.normalizeInput(t),r&&(r=Xa.normalizeInput(r)),i&&(i=Xa.normalizeInput(i));const s=e1(n,e,r,i);return Kl(s,t),t1(s)}function k7(t,e,n,r,i){const s=n1(t,e,n,r,i);return Xa.toHex(s)}var L7={blake2b:n1,blake2bHex:k7,blake2bInit:e1,blake2bUpdate:Kl,blake2bFinal:t1};const r1=Xg;function M7(t,e){return t[e]^t[e+1]<<8^t[e+2]<<16^t[e+3]<<24}function qr(t,e,n,r,i,s){ye[t]=ye[t]+ye[e]+i,ye[r]=Qa(ye[r]^ye[t],16),ye[n]=ye[n]+ye[r],ye[e]=Qa(ye[e]^ye[n],12),ye[t]=ye[t]+ye[e]+s,ye[r]=Qa(ye[r]^ye[t],8),ye[n]=ye[n]+ye[r],ye[e]=Qa(ye[e]^ye[n],7)}function Qa(t,e){return t>>>e^t<<32-e}const i1=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),pt=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]),ye=new Uint32Array(16),tt=new Uint32Array(16);function s1(t,e){let n=0;for(n=0;n<8;n++)ye[n]=t.h[n],ye[n+8]=i1[n];for(ye[12]^=t.t,ye[13]^=t.t/4294967296,e&&(ye[14]=~ye[14]),n=0;n<16;n++)tt[n]=M7(t.b,4*n);for(n=0;n<10;n++)qr(0,4,8,12,tt[pt[n*16+0]],tt[pt[n*16+1]]),qr(1,5,9,13,tt[pt[n*16+2]],tt[pt[n*16+3]]),qr(2,6,10,14,tt[pt[n*16+4]],tt[pt[n*16+5]]),qr(3,7,11,15,tt[pt[n*16+6]],tt[pt[n*16+7]]),qr(0,5,10,15,tt[pt[n*16+8]],tt[pt[n*16+9]]),qr(1,6,11,12,tt[pt[n*16+10]],tt[pt[n*16+11]]),qr(2,7,8,13,tt[pt[n*16+12]],tt[pt[n*16+13]]),qr(3,4,9,14,tt[pt[n*16+14]],tt[pt[n*16+15]]);for(n=0;n<8;n++)t.h[n]^=ye[n]^ye[n+8]}function o1(t,e){if(!(t>0&&t<=32))throw new Error("Incorrect output length, should be in [1, 32]");const n=e?e.length:0;if(e&&!(n>0&&n<=32))throw new Error("Incorrect key length, should be in [1, 32]");const r={h:new Uint32Array(i1),b:new Uint8Array(64),c:0,t:0,outlen:t};return r.h[0]^=16842752^n<<8^t,n>0&&(Vl(r,e),r.c=64),r}function Vl(t,e){for(let n=0;n<e.length;n++)t.c===64&&(t.t+=t.c,s1(t,!1),t.c=0),t.b[t.c++]=e[n]}function a1(t){for(t.t+=t.c;t.c<64;)t.b[t.c++]=0;s1(t,!0);const e=new Uint8Array(t.outlen);for(let n=0;n<t.outlen;n++)e[n]=t.h[n>>2]>>8*(n&3)&255;return e}function c1(t,e,n){n=n||32,t=r1.normalizeInput(t);const r=o1(n,e);return Vl(r,t),a1(r)}function j7(t,e,n){const r=c1(t,e,n);return r1.toHex(r)}var z7={blake2s:c1,blake2sHex:j7,blake2sInit:o1,blake2sUpdate:Vl,blake2sFinal:a1};const ao=L7,co=z7;var K7={blake2b:ao.blake2b,blake2bHex:ao.blake2bHex,blake2bInit:ao.blake2bInit,blake2bUpdate:ao.blake2bUpdate,blake2bFinal:ao.blake2bFinal,blake2s:co.blake2s,blake2sHex:co.blake2sHex,blake2sInit:co.blake2sInit,blake2sUpdate:co.blake2sUpdate,blake2sFinal:co.blake2sFinal};const V7=":";function _a(t){const[e,n]=t.split(V7);return{namespace:e,reference:n}}function u1(t,e){return t.includes(":")?[t]:e.chains||[]}var H7=Object.defineProperty,G7=Object.defineProperties,W7=Object.getOwnPropertyDescriptors,l1=Object.getOwnPropertySymbols,Z7=Object.prototype.hasOwnProperty,Y7=Object.prototype.propertyIsEnumerable,Hl=(t,e,n)=>e in t?H7(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,f1=(t,e)=>{for(var n in e||(e={}))Z7.call(e,n)&&Hl(t,n,e[n]);if(l1)for(var n of l1(e))Y7.call(e,n)&&Hl(t,n,e[n]);return t},X7=(t,e)=>G7(t,W7(e)),h1=(t,e,n)=>Hl(t,typeof e!="symbol"?e+"":e,n);const J7="ReactNative",Xt={reactNative:"react-native",node:"node",browser:"browser",unknown:"unknown"},Q7="js";function uo(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}function kr(){return!ui()&&!!iu()&&navigator.product===J7}function d1(){return kr()&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"&&(global==null?void 0:global.Platform.OS)==="android"}function p1(){return kr()&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"&&(global==null?void 0:global.Platform.OS)==="ios"}function vi(){return!uo()&&!!iu()&&!!ui()}function lo(){return kr()?Xt.reactNative:uo()?Xt.node:vi()?Xt.browser:Xt.unknown}function Gl(){var t;try{return kr()&&typeof global<"u"&&typeof(global==null?void 0:global.Application)<"u"?(t=global.Application)==null?void 0:t.applicationId:void 0}catch{return}}function _7(t,e){const n=new URLSearchParams(t);return Object.entries(e).sort(([r],[i])=>r.localeCompare(i)).forEach(([r,i])=>{i!=null&&n.set(r,String(i))}),n.toString()}function $7(t){var e,n;const r=g1();try{return t!=null&&t.url&&r.url&&new URL(t.url).host!==new URL(r.url).host&&(console.warn(`The configured WalletConnect 'metadata.url':${t.url} differs from the actual page url:${r.url}. This is probably unintended and can lead to issues.`),t.url=r.url),(e=t?.icons)!=null&&e.length&&t.icons.length>0&&(t.icons=t.icons.filter(i=>i!=="")),X7(f1(f1({},r),t),{url:t?.url||r.url,name:t?.name||r.name,description:t?.description||r.description,icons:(n=t?.icons)!=null&&n.length&&t.icons.length>0?t.icons:r.icons})}catch(i){return console.warn("Error populating app metadata",i),t||r}}function g1(){return md()||{name:"",description:"",url:"",icons:[""]}}function eI(){if(lo()===Xt.reactNative&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"){const{OS:n,Version:r}=global.Platform;return[n,r].join("-")}const t=x2();if(t===null)return"unknown";const e=t.os?t.os.replace(" ","").toLowerCase():"unknown";return t.type==="browser"?[e,t.name,t.version].join("-"):[e,t.version].join("-")}function tI(){var t;const e=lo();return e===Xt.browser?[e,((t=yd())==null?void 0:t.host)||"unknown"].join(":"):e}function b1(t,e,n){const r=eI(),i=tI();return[[t,e].join("-"),[Q7,n].join("-"),r,i].join("/")}function nI({protocol:t,version:e,relayUrl:n,sdkVersion:r,auth:i,projectId:s,useOnCloseEvent:o,bundleId:a,packageName:c}){const u=n.split("?"),l=b1(t,e,r),f={auth:i,ua:l,projectId:s,useOnCloseEvent:o||void 0,packageName:c||void 0,bundleId:a||void 0},d=_7(u[1]||"",f);return u[0]+"?"+d}function Ei(t,e){return t.filter(n=>e.includes(n)).length===t.length}function Wl(t){return Object.fromEntries(t.entries())}function Zl(t){return new Map(Object.entries(t))}function xi(t=J.FIVE_MINUTES,e){const n=J.toMiliseconds(t||J.FIVE_MINUTES);let r,i,s,o;return{resolve:a=>{s&&r&&(clearTimeout(s),r(a),o=Promise.resolve(a))},reject:a=>{s&&i&&(clearTimeout(s),i(a))},done:()=>new Promise((a,c)=>{if(o)return a(o);s=setTimeout(()=>{const u=new Error(e);o=Promise.reject(u),c(u)},n),r=a,i=c})}}function Tn(t,e,n){return new Promise(async(r,i)=>{const s=setTimeout(()=>i(new Error(n)),e);try{const o=await t;r(o)}catch(o){i(o)}clearTimeout(s)})}function w1(t,e){if(typeof e=="string"&&e.startsWith(`${t}:`))return e;if(t.toLowerCase()==="topic"){if(typeof e!="string")throw new Error('Value must be "string" for expirer target type: topic');return`topic:${e}`}else if(t.toLowerCase()==="id"){if(typeof e!="number")throw new Error('Value must be "number" for expirer target type: id');return`id:${e}`}throw new Error(`Unknown expirer target type: ${t}`)}function rI(t){return w1("topic",t)}function iI(t){return w1("id",t)}function y1(t){const[e,n]=t.split(":"),r={id:void 0,topic:void 0};if(e==="topic"&&typeof n=="string")r.topic=n;else if(e==="id"&&Number.isInteger(Number(n)))r.id=Number(n);else throw new Error(`Invalid target, expected id:number or topic:string, got ${e}:${n}`);return r}function Ve(t,e){return J.fromMiliseconds((e||Date.now())+J.toMiliseconds(t))}function Lr(t){return Date.now()>=J.toMiliseconds(t)}function Ee(t,e){return`${t}${e?`:${e}`:""}`}function Ii(t=[],e=[]){return[...new Set([...t,...e])]}async function sI({id:t,topic:e,wcDeepLink:n}){var r;try{if(!n)return;const i=typeof n=="string"?JSON.parse(n):n,s=i?.href;if(typeof s!="string")return;const o=oI(s,t,e),a=lo();if(a===Xt.browser){if(!((r=ui())!=null&&r.hasFocus())){console.warn("Document does not have focus, skipping deeplink.");return}aI(o)}else a===Xt.reactNative&&typeof(global==null?void 0:global.Linking)<"u"&&await global.Linking.openURL(o)}catch(i){console.error(i)}}function oI(t,e,n){const r=`requestId=${e}&sessionTopic=${n}`;t.endsWith("/")&&(t=t.slice(0,-1));let i=`${t}`;if(t.startsWith("https://t.me")){const s=t.includes("?")?"&startapp=":"?startapp=";i=`${i}${s}${fI(r,!0)}`}else i=`${i}/wc?${r}`;return i}function aI(t){let e="_self";lI()?e="_top":(uI()||t.startsWith("https://")||t.startsWith("http://"))&&(e="_blank"),window.open(t,e,"noreferrer noopener")}async function cI(t,e){let n="";try{if(vi()&&(n=localStorage.getItem(e),n))return n;n=await t.getItem(e)}catch(r){console.error(r)}return n}function m1(t,e){if(!t.includes(e))return null;const n=t.split(/([&,?,=])/),r=n.indexOf(e);return n[r+2]}function v1(){return typeof crypto<"u"&&crypto!=null&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/gu,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}function Yl(){return typeof process<"u"&&process.env.IS_VITEST==="true"}function uI(){return typeof window<"u"&&(!!window.TelegramWebviewProxy||!!window.Telegram||!!window.TelegramWebviewProxyProto)}function lI(){try{return window.self!==window.top}catch{return!1}}function fI(t,e=!1){const n=Buffer.from(t).toString("base64");return e?n.replace(/[=]/g,""):n}function E1(t){return Buffer.from(t,"base64").toString("utf-8")}function hI(t){return new Promise(e=>setTimeout(e,t))}class dI{constructor({limit:e}){h1(this,"limit"),h1(this,"set"),this.limit=e,this.set=new Set}add(e){if(!this.set.has(e)){if(this.set.size>=this.limit){const n=this.set.values().next().value;n&&this.set.delete(n)}this.set.add(e)}}has(e){return this.set.has(e)}}const $a=BigInt(2**32-1),x1=BigInt(32);function I1(t,e=!1){return e?{h:Number(t&$a),l:Number(t>>x1&$a)}:{h:Number(t>>x1&$a)|0,l:Number(t&$a)|0}}function S1(t,e=!1){const n=t.length;let r=new Uint32Array(n),i=new Uint32Array(n);for(let s=0;s<n;s++){const{h:o,l:a}=I1(t[s],e);[r[s],i[s]]=[o,a]}return[r,i]}const B1=(t,e,n)=>t>>>n,O1=(t,e,n)=>t<<32-n|e>>>n,Mr=(t,e,n)=>t>>>n|e<<32-n,jr=(t,e,n)=>t<<32-n|e>>>n,fo=(t,e,n)=>t<<64-n|e>>>n-32,ho=(t,e,n)=>t>>>n-32|e<<64-n,pI=(t,e)=>e,gI=(t,e)=>t,bI=(t,e,n)=>t<<n|e>>>32-n,wI=(t,e,n)=>e<<n|t>>>32-n,yI=(t,e,n)=>e<<n-32|t>>>64-n,mI=(t,e,n)=>t<<n-32|e>>>64-n;function wn(t,e,n,r){const i=(e>>>0)+(r>>>0);return{h:t+n+(i/2**32|0)|0,l:i|0}}const Xl=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),Jl=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,vI=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),EI=(t,e,n,r,i)=>e+n+r+i+(t/2**32|0)|0,xI=(t,e,n,r,i)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0),II=(t,e,n,r,i,s)=>e+n+r+i+s+(t/2**32|0)|0,ls=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function ec(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function nr(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function yn(t,...e){if(!ec(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function tc(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");nr(t.outputLen),nr(t.blockLen)}function zr(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function Ql(t,e){yn(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function po(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function on(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function _l(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function Nn(t,e){return t<<32-e|t>>>e}const A1=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function P1(t){return t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}const rr=A1?t=>t:t=>P1(t);function SI(t){for(let e=0;e<t.length;e++)t[e]=P1(t[e]);return t}const Kr=A1?t=>t:SI,D1=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",BI=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function fs(t){if(yn(t),D1)return t.toHex();let e="";for(let n=0;n<t.length;n++)e+=BI[t[n]];return e}const ir={_0:48,_9:57,A:65,F:70,a:97,f:102};function R1(t){if(t>=ir._0&&t<=ir._9)return t-ir._0;if(t>=ir.A&&t<=ir.F)return t-(ir.A-10);if(t>=ir.a&&t<=ir.f)return t-(ir.a-10)}function nc(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(D1)return Uint8Array.fromHex(t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=R1(t.charCodeAt(s)),a=R1(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function T1(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function mn(t){return typeof t=="string"&&(t=T1(t)),yn(t),t}function Vr(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];yn(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}class rc{}function go(t){const e=r=>t().update(mn(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function OI(t){const e=(r,i)=>t(i).update(mn(r)).digest(),n=t({});return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=r=>t(r),e}function Si(t=32){if(ls&&typeof ls.getRandomValues=="function")return ls.getRandomValues(new Uint8Array(t));if(ls&&typeof ls.randomBytes=="function")return Uint8Array.from(ls.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}const AI=BigInt(0),bo=BigInt(1),PI=BigInt(2),DI=BigInt(7),RI=BigInt(256),TI=BigInt(113),N1=[],U1=[],C1=[];for(let t=0,e=bo,n=1,r=0;t<24;t++){[n,r]=[r,(2*n+3*r)%5],N1.push(2*(5*r+n)),U1.push((t+1)*(t+2)/2%64);let i=AI;for(let s=0;s<7;s++)e=(e<<bo^(e>>DI)*TI)%RI,e&PI&&(i^=bo<<(bo<<BigInt(s))-bo);C1.push(i)}const F1=S1(C1,!0),NI=F1[0],UI=F1[1],q1=(t,e,n)=>n>32?yI(t,e,n):bI(t,e,n),k1=(t,e,n)=>n>32?mI(t,e,n):wI(t,e,n);function CI(t,e=24){const n=new Uint32Array(10);for(let r=24-e;r<24;r++){for(let o=0;o<10;o++)n[o]=t[o]^t[o+10]^t[o+20]^t[o+30]^t[o+40];for(let o=0;o<10;o+=2){const a=(o+8)%10,c=(o+2)%10,u=n[c],l=n[c+1],f=q1(u,l,1)^n[a],d=k1(u,l,1)^n[a+1];for(let h=0;h<50;h+=10)t[o+h]^=f,t[o+h+1]^=d}let i=t[2],s=t[3];for(let o=0;o<24;o++){const a=U1[o],c=q1(i,s,a),u=k1(i,s,a),l=N1[o];i=t[l],s=t[l+1],t[l]=c,t[l+1]=u}for(let o=0;o<50;o+=10){for(let a=0;a<10;a++)n[a]=t[o+a];for(let a=0;a<10;a++)t[o+a]^=~n[(a+2)%10]&n[(a+4)%10]}t[0]^=NI[r],t[1]^=UI[r]}on(n)}class $l extends rc{constructor(e,n,r,i=!1,s=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=n,this.outputLen=r,this.enableXOF=i,this.rounds=s,nr(r),!(0<e&&e<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=po(this.state)}clone(){return this._cloneInto()}keccak(){Kr(this.state32),CI(this.state32,this.rounds),Kr(this.state32),this.posOut=0,this.pos=0}update(e){zr(this),e=mn(e),yn(e);const{blockLen:n,state:r}=this,i=e.length;for(let s=0;s<i;){const o=Math.min(n-this.pos,i-s);for(let a=0;a<o;a++)r[this.pos++]^=e[s++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:n,pos:r,blockLen:i}=this;e[r]^=n,(n&128)!==0&&r===i-1&&this.keccak(),e[i-1]^=128,this.keccak()}writeInto(e){zr(this,!1),yn(e),this.finish();const n=this.state,{blockLen:r}=this;for(let i=0,s=e.length;i<s;){this.posOut>=r&&this.keccak();const o=Math.min(r-this.posOut,s-i);e.set(n.subarray(this.posOut,this.posOut+o),i),this.posOut+=o,i+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return nr(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(Ql(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,on(this.state)}_cloneInto(e){const{blockLen:n,suffix:r,outputLen:i,rounds:s,enableXOF:o}=this;return e||(e=new $l(n,r,i,o,s)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=s,e.suffix=r,e.outputLen=i,e.enableXOF=o,e.destroyed=this.destroyed,e}}const FI=(t,e,n)=>go(()=>new $l(e,t,n)),qI=FI(1,136,256/8);function kI(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}function LI(t,e,n){return t&e^~t&n}function MI(t,e,n){return t&e^t&n^e&n}class L1 extends rc{constructor(e,n,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=_l(this.buffer)}update(e){zr(this),e=mn(e),yn(e);const{view:n,buffer:r,blockLen:i}=this,s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=_l(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){zr(this),Ql(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,on(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(r,0),o=0);for(let f=o;f<i;f++)n[f]=0;kI(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=_l(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=c/4,l=this.get();if(u>l.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f<u;f++)a.setUint32(4*f,l[f],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=s,e.length=i,e.pos=a,i%n&&e.buffer.set(r),e}clone(){return this._cloneInto()}}const Hr=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),gt=Uint32Array.from([3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]),bt=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),jI=Uint32Array.from([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]),Gr=new Uint32Array(64);class zI extends L1{constructor(e=32){super(64,e,8,!1),this.A=Hr[0]|0,this.B=Hr[1]|0,this.C=Hr[2]|0,this.D=Hr[3]|0,this.E=Hr[4]|0,this.F=Hr[5]|0,this.G=Hr[6]|0,this.H=Hr[7]|0}get(){const{A:e,B:n,C:r,D:i,E:s,F:o,G:a,H:c}=this;return[e,n,r,i,s,o,a,c]}set(e,n,r,i,s,o,a,c){this.A=e|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=s|0,this.F=o|0,this.G=a|0,this.H=c|0}process(e,n){for(let f=0;f<16;f++,n+=4)Gr[f]=e.getUint32(n,!1);for(let f=16;f<64;f++){const d=Gr[f-15],h=Gr[f-2],p=Nn(d,7)^Nn(d,18)^d>>>3,w=Nn(h,17)^Nn(h,19)^h>>>10;Gr[f]=w+Gr[f-7]+p+Gr[f-16]|0}let{A:r,B:i,C:s,D:o,E:a,F:c,G:u,H:l}=this;for(let f=0;f<64;f++){const d=Nn(a,6)^Nn(a,11)^Nn(a,25),h=l+d+LI(a,c,u)+jI[f]+Gr[f]|0,p=(Nn(r,2)^Nn(r,13)^Nn(r,22))+MI(r,i,s)|0;l=u,u=c,c=a,a=o+h|0,o=s,s=i,i=r,r=h+p|0}r=r+this.A|0,i=i+this.B|0,s=s+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,u=u+this.G|0,l=l+this.H|0,this.set(r,i,s,o,a,c,u,l)}roundClean(){on(Gr)}destroy(){this.set(0,0,0,0,0,0,0,0),on(this.buffer)}}const M1=S1(["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(t=>BigInt(t))),KI=M1[0],VI=M1[1],Wr=new Uint32Array(80),Zr=new Uint32Array(80);class ef extends L1{constructor(e=64){super(128,e,16,!1),this.Ah=bt[0]|0,this.Al=bt[1]|0,this.Bh=bt[2]|0,this.Bl=bt[3]|0,this.Ch=bt[4]|0,this.Cl=bt[5]|0,this.Dh=bt[6]|0,this.Dl=bt[7]|0,this.Eh=bt[8]|0,this.El=bt[9]|0,this.Fh=bt[10]|0,this.Fl=bt[11]|0,this.Gh=bt[12]|0,this.Gl=bt[13]|0,this.Hh=bt[14]|0,this.Hl=bt[15]|0}get(){const{Ah:e,Al:n,Bh:r,Bl:i,Ch:s,Cl:o,Dh:a,Dl:c,Eh:u,El:l,Fh:f,Fl:d,Gh:h,Gl:p,Hh:w,Hl:m}=this;return[e,n,r,i,s,o,a,c,u,l,f,d,h,p,w,m]}set(e,n,r,i,s,o,a,c,u,l,f,d,h,p,w,m){this.Ah=e|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=c|0,this.Eh=u|0,this.El=l|0,this.Fh=f|0,this.Fl=d|0,this.Gh=h|0,this.Gl=p|0,this.Hh=w|0,this.Hl=m|0}process(e,n){for(let I=0;I<16;I++,n+=4)Wr[I]=e.getUint32(n),Zr[I]=e.getUint32(n+=4);for(let I=16;I<80;I++){const x=Wr[I-15]|0,S=Zr[I-15]|0,U=Mr(x,S,1)^Mr(x,S,8)^B1(x,S,7),k=jr(x,S,1)^jr(x,S,8)^O1(x,S,7),F=Wr[I-2]|0,R=Zr[I-2]|0,G=Mr(F,R,19)^fo(F,R,61)^B1(F,R,6),H=jr(F,R,19)^ho(F,R,61)^O1(F,R,6),E=vI(k,H,Zr[I-7],Zr[I-16]),b=EI(E,U,G,Wr[I-7],Wr[I-16]);Wr[I]=b|0,Zr[I]=E|0}let{Ah:r,Al:i,Bh:s,Bl:o,Ch:a,Cl:c,Dh:u,Dl:l,Eh:f,El:d,Fh:h,Fl:p,Gh:w,Gl:m,Hh:P,Hl:T}=this;for(let I=0;I<80;I++){const x=Mr(f,d,14)^Mr(f,d,18)^fo(f,d,41),S=jr(f,d,14)^jr(f,d,18)^ho(f,d,41),U=f&h^~f&w,k=d&p^~d&m,F=xI(T,S,k,VI[I],Zr[I]),R=II(F,P,x,U,KI[I],Wr[I]),G=F|0,H=Mr(r,i,28)^fo(r,i,34)^fo(r,i,39),E=jr(r,i,28)^ho(r,i,34)^ho(r,i,39),b=r&s^r&a^s&a,v=i&o^i&c^o&c;P=w|0,T=m|0,w=h|0,m=p|0,h=f|0,p=d|0,{h:f,l:d}=wn(u|0,l|0,R|0,G|0),u=a|0,l=c|0,a=s|0,c=o|0,s=r|0,o=i|0;const g=Xl(G,E,v);r=Jl(g,R,H,b),i=g|0}({h:r,l:i}=wn(this.Ah|0,this.Al|0,r|0,i|0)),{h:s,l:o}=wn(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l:c}=wn(this.Ch|0,this.Cl|0,a|0,c|0),{h:u,l}=wn(this.Dh|0,this.Dl|0,u|0,l|0),{h:f,l:d}=wn(this.Eh|0,this.El|0,f|0,d|0),{h,l:p}=wn(this.Fh|0,this.Fl|0,h|0,p|0),{h:w,l:m}=wn(this.Gh|0,this.Gl|0,w|0,m|0),{h:P,l:T}=wn(this.Hh|0,this.Hl|0,P|0,T|0),this.set(r,i,s,o,a,c,u,l,f,d,h,p,w,m,P,T)}roundClean(){on(Wr,Zr)}destroy(){on(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class HI extends ef{constructor(){super(48),this.Ah=gt[0]|0,this.Al=gt[1]|0,this.Bh=gt[2]|0,this.Bl=gt[3]|0,this.Ch=gt[4]|0,this.Cl=gt[5]|0,this.Dh=gt[6]|0,this.Dl=gt[7]|0,this.Eh=gt[8]|0,this.El=gt[9]|0,this.Fh=gt[10]|0,this.Fl=gt[11]|0,this.Gh=gt[12]|0,this.Gl=gt[13]|0,this.Hh=gt[14]|0,this.Hl=gt[15]|0}}const wt=Uint32Array.from([573645204,4230739756,2673172387,3360449730,596883563,1867755857,2520282905,1497426621,2519219938,2827943907,3193839141,1401305490,721525244,746961066,246885852,2177182882]);class GI extends ef{constructor(){super(32),this.Ah=wt[0]|0,this.Al=wt[1]|0,this.Bh=wt[2]|0,this.Bl=wt[3]|0,this.Ch=wt[4]|0,this.Cl=wt[5]|0,this.Dh=wt[6]|0,this.Dl=wt[7]|0,this.Eh=wt[8]|0,this.El=wt[9]|0,this.Fh=wt[10]|0,this.Fl=wt[11]|0,this.Gh=wt[12]|0,this.Gl=wt[13]|0,this.Hh=wt[14]|0,this.Hl=wt[15]|0}}const ic=go(()=>new zI),WI=go(()=>new ef),ZI=go(()=>new HI),YI=go(()=>new GI),XI=Uint8Array.from([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]),He=Uint32Array.from([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),ne=new Uint32Array(32);function Yr(t,e,n,r,i,s){const o=i[s],a=i[s+1];let c=ne[2*t],u=ne[2*t+1],l=ne[2*e],f=ne[2*e+1],d=ne[2*n],h=ne[2*n+1],p=ne[2*r],w=ne[2*r+1],m=Xl(c,l,o);u=Jl(m,u,f,a),c=m|0,{Dh:w,Dl:p}={Dh:w^u,Dl:p^c},{Dh:w,Dl:p}={Dh:pI(w,p),Dl:gI(w)},{h,l:d}=wn(h,d,w,p),{Bh:f,Bl:l}={Bh:f^h,Bl:l^d},{Bh:f,Bl:l}={Bh:Mr(f,l,24),Bl:jr(f,l,24)},ne[2*t]=c,ne[2*t+1]=u,ne[2*e]=l,ne[2*e+1]=f,ne[2*n]=d,ne[2*n+1]=h,ne[2*r]=p,ne[2*r+1]=w}function Xr(t,e,n,r,i,s){const o=i[s],a=i[s+1];let c=ne[2*t],u=ne[2*t+1],l=ne[2*e],f=ne[2*e+1],d=ne[2*n],h=ne[2*n+1],p=ne[2*r],w=ne[2*r+1],m=Xl(c,l,o);u=Jl(m,u,f,a),c=m|0,{Dh:w,Dl:p}={Dh:w^u,Dl:p^c},{Dh:w,Dl:p}={Dh:Mr(w,p,16),Dl:jr(w,p,16)},{h,l:d}=wn(h,d,w,p),{Bh:f,Bl:l}={Bh:f^h,Bl:l^d},{Bh:f,Bl:l}={Bh:fo(f,l,63),Bl:ho(f,l,63)},ne[2*t]=c,ne[2*t+1]=u,ne[2*e]=l,ne[2*e+1]=f,ne[2*n]=d,ne[2*n+1]=h,ne[2*r]=p,ne[2*r+1]=w}function JI(t,e={},n,r,i){if(nr(n),t<0||t>n)throw new Error("outputLen bigger than keyLen");const{key:s,salt:o,personalization:a}=e;if(s!==void 0&&(s.length<1||s.length>n))throw new Error("key length must be undefined or 1.."+n);if(o!==void 0&&o.length!==r)throw new Error("salt must be undefined or "+r);if(a!==void 0&&a.length!==i)throw new Error("personalization must be undefined or "+i)}class QI extends rc{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,this.length=0,this.pos=0,nr(e),nr(n),this.blockLen=e,this.outputLen=n,this.buffer=new Uint8Array(e),this.buffer32=po(this.buffer)}update(e){zr(this),e=mn(e),yn(e);const{blockLen:n,buffer:r,buffer32:i}=this,s=e.length,o=e.byteOffset,a=e.buffer;for(let c=0;c<s;){this.pos===n&&(Kr(i),this.compress(i,0,!1),Kr(i),this.pos=0);const u=Math.min(n-this.pos,s-c),l=o+c;if(u===n&&!(l%4)&&c+u<s){const f=new Uint32Array(a,l,Math.floor((s-c)/4));Kr(f);for(let d=0;c+n<s;d+=i.length,c+=n)this.length+=n,this.compress(f,d,!1);Kr(f);continue}r.set(e.subarray(c,c+u),this.pos),this.pos+=u,this.length+=u,c+=u}return this}digestInto(e){zr(this),Ql(e,this);const{pos:n,buffer32:r}=this;this.finished=!0,on(this.buffer.subarray(n)),Kr(r),this.compress(r,0,!0),Kr(r);const i=po(e);this.get().forEach((s,o)=>i[o]=rr(s))}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){const{buffer:n,length:r,finished:i,destroyed:s,outputLen:o,pos:a}=this;return e||(e=new this.constructor({dkLen:o})),e.set(...this.get()),e.buffer.set(n),e.destroyed=s,e.finished=i,e.length=r,e.pos=a,e.outputLen=o,e}clone(){return this._cloneInto()}}class _I extends QI{constructor(e={}){const n=e.dkLen===void 0?64:e.dkLen;super(128,n),this.v0l=He[0]|0,this.v0h=He[1]|0,this.v1l=He[2]|0,this.v1h=He[3]|0,this.v2l=He[4]|0,this.v2h=He[5]|0,this.v3l=He[6]|0,this.v3h=He[7]|0,this.v4l=He[8]|0,this.v4h=He[9]|0,this.v5l=He[10]|0,this.v5h=He[11]|0,this.v6l=He[12]|0,this.v6h=He[13]|0,this.v7l=He[14]|0,this.v7h=He[15]|0,JI(n,e,64,16,16);let{key:r,personalization:i,salt:s}=e,o=0;if(r!==void 0&&(r=mn(r),o=r.length),this.v0l^=this.outputLen|o<<8|65536|1<<24,s!==void 0){s=mn(s);const a=po(s);this.v4l^=rr(a[0]),this.v4h^=rr(a[1]),this.v5l^=rr(a[2]),this.v5h^=rr(a[3])}if(i!==void 0){i=mn(i);const a=po(i);this.v6l^=rr(a[0]),this.v6h^=rr(a[1]),this.v7l^=rr(a[2]),this.v7h^=rr(a[3])}if(r!==void 0){const a=new Uint8Array(this.blockLen);a.set(r),this.update(a)}}get(){let{v0l:e,v0h:n,v1l:r,v1h:i,v2l:s,v2h:o,v3l:a,v3h:c,v4l:u,v4h:l,v5l:f,v5h:d,v6l:h,v6h:p,v7l:w,v7h:m}=this;return[e,n,r,i,s,o,a,c,u,l,f,d,h,p,w,m]}set(e,n,r,i,s,o,a,c,u,l,f,d,h,p,w,m){this.v0l=e|0,this.v0h=n|0,this.v1l=r|0,this.v1h=i|0,this.v2l=s|0,this.v2h=o|0,this.v3l=a|0,this.v3h=c|0,this.v4l=u|0,this.v4h=l|0,this.v5l=f|0,this.v5h=d|0,this.v6l=h|0,this.v6h=p|0,this.v7l=w|0,this.v7h=m|0}compress(e,n,r){this.get().forEach((c,u)=>ne[u]=c),ne.set(He,16);let{h:i,l:s}=I1(BigInt(this.length));ne[24]=He[8]^s,ne[25]=He[9]^i,r&&(ne[28]=~ne[28],ne[29]=~ne[29]);let o=0;const a=XI;for(let c=0;c<12;c++)Yr(0,4,8,12,e,n+2*a[o++]),Xr(0,4,8,12,e,n+2*a[o++]),Yr(1,5,9,13,e,n+2*a[o++]),Xr(1,5,9,13,e,n+2*a[o++]),Yr(2,6,10,14,e,n+2*a[o++]),Xr(2,6,10,14,e,n+2*a[o++]),Yr(3,7,11,15,e,n+2*a[o++]),Xr(3,7,11,15,e,n+2*a[o++]),Yr(0,5,10,15,e,n+2*a[o++]),Xr(0,5,10,15,e,n+2*a[o++]),Yr(1,6,11,12,e,n+2*a[o++]),Xr(1,6,11,12,e,n+2*a[o++]),Yr(2,7,8,13,e,n+2*a[o++]),Xr(2,7,8,13,e,n+2*a[o++]),Yr(3,4,9,14,e,n+2*a[o++]),Xr(3,4,9,14,e,n+2*a[o++]);this.v0l^=ne[0]^ne[16],this.v0h^=ne[1]^ne[17],this.v1l^=ne[2]^ne[18],this.v1h^=ne[3]^ne[19],this.v2l^=ne[4]^ne[20],this.v2h^=ne[5]^ne[21],this.v3l^=ne[6]^ne[22],this.v3h^=ne[7]^ne[23],this.v4l^=ne[8]^ne[24],this.v4h^=ne[9]^ne[25],this.v5l^=ne[10]^ne[26],this.v5h^=ne[11]^ne[27],this.v6l^=ne[12]^ne[28],this.v6h^=ne[13]^ne[29],this.v7l^=ne[14]^ne[30],this.v7h^=ne[15]^ne[31],on(ne)}destroy(){this.destroyed=!0,on(this.buffer32),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const $I=OI(t=>new _I(t)),e9="https://rpc.walletconnect.org/v1";function j1(t){const e=`Ethereum Signed Message:
19
+ ${t.length}`,n=new TextEncoder().encode(e+t);return"0x"+Buffer.from(qI(n)).toString("hex")}async function t9(t,e,n,r,i,s){switch(n.t){case"eip191":return await n9(t,e,n.s);case"eip1271":return await r9(t,e,n.s,r,i,s);default:throw new Error(`verifySignature failed: Attempted to verify CacaoSignature with unknown type: ${n.t}`)}}function n9(t,e,n){const r=gE(n);return S8({payload:j1(e),signature:r}).toLowerCase()===t.toLowerCase()}async function r9(t,e,n,r,i,s){const o=_a(r);if(!o.namespace||!o.reference)throw new Error(`isValidEip1271Signature failed: chainId must be in CAIP-2 format, received: ${r}`);try{const a="0x1626ba7e",c="0000000000000000000000000000000000000000000000000000000000000040",u=n.substring(2),l=(u.length/2).toString(16).padStart(64,"0"),f=(e.startsWith("0x")?e:j1(e)).substring(2),d=a+f+c+l+u,h=await fetch(`${s||e9}/?chainId=${r}&projectId=${i}`,{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify({id:i9(),jsonrpc:"2.0",method:"eth_call",params:[{to:t,data:d},"latest"]})}),{result:p}=await h.json();return p?p.slice(0,a.length).toLowerCase()===a.toLowerCase():!1}catch(a){return console.error("isValidEip1271Signature: ",a),!1}}function i9(){return Date.now()+Math.floor(Math.random()*1e3)}function s9(t){const e=atob(t),n=new Uint8Array(e.length);for(let o=0;o<e.length;o++)n[o]=e.charCodeAt(o);const r=n[0];if(r===0)throw new Error("No signatures found");const i=1+r*64;if(n.length<i)throw new Error("Transaction data too short for claimed signature count");if(n.length<100)throw new Error("Transaction too short");const s=Buffer.from(t,"base64").slice(1,65);return os.encode(s)}function o9(t){const e=new Uint8Array(Buffer.from(t,"base64")),n=Array.from("TransactionData::").map(s=>s.charCodeAt(0)),r=new Uint8Array(n.length+e.length);r.set(n),r.set(e,n.length);const i=$I(r,{dkLen:32});return os.encode(i)}function z1(t){const e=new Uint8Array(ic(a9(t)));return os.encode(e)}function a9(t){if(t instanceof Uint8Array)return t;if(Array.isArray(t))return new Uint8Array(t);if(typeof t=="object"&&t!=null&&t.data)return new Uint8Array(Object.values(t.data));if(typeof t=="object"&&t)return new Uint8Array(Object.values(t));throw new Error("getNearUint8ArrayFromBytes: Unexpected result type from bytes array")}function K1(t){const e=Buffer.from(t,"base64"),n=m6(e).txn;if(!n)throw new Error("Invalid signed transaction: missing 'txn' field");const r=f6(n),i=Buffer.from("TX"),s=Buffer.concat([i,Buffer.from(r)]),o=YI(s);return v8.encode(o).replace(/=+$/,"")}function tf(t){const e=[];let n=BigInt(t);for(;n>=BigInt(128);)e.push(Number(n&BigInt(127)|BigInt(128))),n>>=BigInt(7);return e.push(Number(n)),Buffer.from(e)}function c9(t){const e=Buffer.from(t.signed.bodyBytes,"base64"),n=Buffer.from(t.signed.authInfoBytes,"base64"),r=Buffer.from(t.signature.signature,"base64"),i=[];i.push(Buffer.from([10])),i.push(tf(e.length)),i.push(e),i.push(Buffer.from([18])),i.push(tf(n.length)),i.push(n),i.push(Buffer.from([26])),i.push(tf(r.length)),i.push(r);const s=Buffer.concat(i),o=ic(s);return Buffer.from(o).toString("hex").toUpperCase()}function u9(t){var e,n;const r=[];try{if(typeof t=="string")return r.push(t),r;if(typeof t!="object")return r;t!=null&&t.id&&r.push(t.id);const i=(n=(e=t?.capabilities)==null?void 0:e.caip345)==null?void 0:n.transactionHashes;i&&r.push(...i)}catch(i){console.warn("getWalletSendCallsHashes failed: ",i)}return r}var l9=Object.defineProperty,f9=Object.defineProperties,h9=Object.getOwnPropertyDescriptors,V1=Object.getOwnPropertySymbols,d9=Object.prototype.hasOwnProperty,p9=Object.prototype.propertyIsEnumerable,H1=(t,e,n)=>e in t?l9(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,g9=(t,e)=>{for(var n in e||(e={}))d9.call(e,n)&&H1(t,n,e[n]);if(V1)for(var n of V1(e))p9.call(e,n)&&H1(t,n,e[n]);return t},b9=(t,e)=>f9(t,h9(e));const G1="did:pkh:",w9={eip155:"Ethereum",solana:"Solana",bip122:"Bitcoin"},y9=t=>t?w9[t]||t:"",sc=t=>t?.split(":"),m9=t=>{const e=t&&sc(t);if(e)return t.includes(G1)?e[3]:e[1]},v9=t=>{const e=t&&sc(t);if(e)return t.includes(G1)?e[2]:e[0]},nf=t=>{const e=t&&sc(t);if(e)return e[2]+":"+e[3]},oc=t=>{const e=t&&sc(t);if(e)return e.pop()};async function W1(t){const{cacao:e,projectId:n}=t,{s:r,p:i}=e,s=Z1(i,i.iss),o=oc(i.iss);return await t9(o,s,r,nf(i.iss),n)}const Z1=(t,e)=>{const n=v9(e);if(!n)throw new Error("Invalid issuer: "+e);const r=`${t.domain} wants you to sign in with your ${y9(n)} account:`,i=oc(e);if(!t.aud&&!t.uri)throw new Error("Either `aud` or `uri` is required to construct the message");let s=t.statement||void 0;const o=`URI: ${t.aud||t.uri}`,a=`Version: ${t.version}`,c=`Chain ID: ${m9(e)}`,u=`Nonce: ${t.nonce}`,l=`Issued At: ${t.iat}`,f=t.exp?`Expiration Time: ${t.exp}`:void 0,d=t.nbf?`Not Before: ${t.nbf}`:void 0,h=t.requestId?`Request ID: ${t.requestId}`:void 0,p=t.resources?`Resources:${t.resources.map(m=>`
20
+ - ${m}`).join("")}`:void 0,w=ac(t.resources);if(w){const m=wo(w);s=D9(s,m)}return[r,i,"",s,"",o,a,c,u,l,f,d,h,p].filter(m=>m!=null).join(`
21
+ `)};function E9(t){return Buffer.from(JSON.stringify(t)).toString("base64")}function x9(t){return JSON.parse(Buffer.from(t,"base64").toString("utf-8"))}function Bi(t){if(!t)throw new Error("No recap provided, value is undefined");if(!t.att)throw new Error("No `att` property found");const e=Object.keys(t.att);if(!(e!=null&&e.length))throw new Error("No resources found in `att` property");e.forEach(n=>{const r=t.att[n];if(Array.isArray(r))throw new Error(`Resource must be an object: ${n}`);if(typeof r!="object")throw new Error(`Resource must be an object: ${n}`);if(!Object.keys(r).length)throw new Error(`Resource object is empty: ${n}`);Object.keys(r).forEach(i=>{const s=r[i];if(!Array.isArray(s))throw new Error(`Ability limits ${i} must be an array of objects, found: ${s}`);if(!s.length)throw new Error(`Value of ${i} is empty array, must be an array with objects`);s.forEach(o=>{if(typeof o!="object")throw new Error(`Ability limits (${i}) must be an array of objects, found: ${o}`)})})})}function I9(t,e,n,r={}){return n?.sort((i,s)=>i.localeCompare(s)),{att:{[t]:S9(e,n,r)}}}function S9(t,e,n={}){e=e?.sort((i,s)=>i.localeCompare(s));const r=e.map(i=>({[`${t}/${i}`]:[n]}));return Object.assign({},...r)}function Y1(t){return Bi(t),`urn:recap:${E9(t).replace(/=/g,"")}`}function wo(t){const e=x9(t.replace("urn:recap:",""));return Bi(e),e}function B9(t,e,n){const r=I9(t,e,n);return Y1(r)}function O9(t){return t&&t.includes("urn:recap:")}function A9(t,e){const n=wo(t),r=wo(e),i=P9(n,r);return Y1(i)}function P9(t,e){Bi(t),Bi(e);const n=Object.keys(t.att).concat(Object.keys(e.att)).sort((i,s)=>i.localeCompare(s)),r={att:{}};return n.forEach(i=>{var s,o;Object.keys(((s=t.att)==null?void 0:s[i])||{}).concat(Object.keys(((o=e.att)==null?void 0:o[i])||{})).sort((a,c)=>a.localeCompare(c)).forEach(a=>{var c,u;r.att[i]=b9(g9({},r.att[i]),{[a]:((c=t.att[i])==null?void 0:c[a])||((u=e.att[i])==null?void 0:u[a])})})}),r}function D9(t="",e){Bi(e);const n="I further authorize the stated URI to perform the following actions on my behalf: ";if(t.includes(n))return t;const r=[];let i=0;Object.keys(e.att).forEach(a=>{const c=Object.keys(e.att[a]).map(f=>({ability:f.split("/")[0],action:f.split("/")[1]}));c.sort((f,d)=>f.action.localeCompare(d.action));const u={};c.forEach(f=>{u[f.ability]||(u[f.ability]=[]),u[f.ability].push(f.action)});const l=Object.keys(u).map(f=>(i++,`(${i}) '${f}': '${u[f].join("', '")}' for '${a}'.`));r.push(l.join(", ").replace(".,","."))});const s=r.join(" "),o=`${n}${s}`;return`${t?t+" ":""}${o}`}function X1(t){var e;const n=wo(t);Bi(n);const r=(e=n.att)==null?void 0:e.eip155;return r?Object.keys(r).map(i=>i.split("/")[1]):[]}function J1(t){const e=wo(t);Bi(e);const n=[];return Object.values(e.att).forEach(r=>{Object.values(r).forEach(i=>{var s;(s=i?.[0])!=null&&s.chains&&n.push(i[0].chains)})}),[...new Set(n.flat())]}function ac(t){if(!t)return;const e=t?.[t.length-1];return O9(e)?e:void 0}/*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) */function Q1(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function rf(t){if(typeof t!="boolean")throw new Error(`boolean expected, not ${t}`)}function sf(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function kt(t,...e){if(!Q1(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function _1(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function R9(t,e){kt(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function Jr(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function hs(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function T9(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}const N9=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function U9(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function of(t){if(typeof t=="string")t=U9(t);else if(Q1(t))t=af(t);else throw new Error("Uint8Array expected, got "+typeof t);return t}function C9(t,e){if(e==null||typeof e!="object")throw new Error("options must be defined");return Object.assign(t,e)}function F9(t,e){if(t.length!==e.length)return!1;let n=0;for(let r=0;r<t.length;r++)n|=t[r]^e[r];return n===0}const q9=(t,e)=>{function n(r,...i){if(kt(r),!N9)throw new Error("Non little-endian hardware is not yet supported");if(t.nonceLength!==void 0){const u=i[0];if(!u)throw new Error("nonce / iv required");t.varSizeNonce?kt(u):kt(u,t.nonceLength)}const s=t.tagLength;s&&i[1]!==void 0&&kt(i[1]);const o=e(r,...i),a=(u,l)=>{if(l!==void 0){if(u!==2)throw new Error("cipher output not supported");kt(l)}};let c=!1;return{encrypt(u,l){if(c)throw new Error("cannot encrypt() twice with same key + nonce");return c=!0,kt(u),a(o.encrypt.length,l),o.encrypt(u,l)},decrypt(u,l){if(kt(u),s&&u.length<s)throw new Error("invalid ciphertext length: smaller than tagLength="+s);return a(o.decrypt.length,l),o.decrypt(u,l)}}}return Object.assign(n,t),n};function $1(t,e,n=!0){if(e===void 0)return new Uint8Array(t);if(e.length!==t)throw new Error("invalid output length, expected "+t+", got: "+e.length);if(n&&!L9(e))throw new Error("invalid output, must be aligned");return e}function eb(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}function k9(t,e,n){rf(n);const r=new Uint8Array(16),i=T9(r);return eb(i,0,BigInt(e),n),eb(i,8,BigInt(t),n),r}function L9(t){return t.byteOffset%4===0}function af(t){return Uint8Array.from(t)}const tb=t=>Uint8Array.from(t.split("").map(e=>e.charCodeAt(0))),M9=tb("expand 16-byte k"),j9=tb("expand 32-byte k"),z9=Jr(M9),K9=Jr(j9);function me(t,e){return t<<e|t>>>32-e}function cf(t){return t.byteOffset%4===0}const cc=64,V9=16,nb=2**32-1,rb=new Uint32Array;function H9(t,e,n,r,i,s,o,a){const c=i.length,u=new Uint8Array(cc),l=Jr(u),f=cf(i)&&cf(s),d=f?Jr(i):rb,h=f?Jr(s):rb;for(let p=0;p<c;o++){if(t(e,n,r,l,o,a),o>=nb)throw new Error("arx: counter overflow");const w=Math.min(cc,c-p);if(f&&w===cc){const m=p/4;if(p%4!==0)throw new Error("arx: invalid block position");for(let P=0,T;P<V9;P++)T=m+P,h[T]=d[T]^l[P];p+=cc;continue}for(let m=0,P;m<w;m++)P=p+m,s[P]=i[P]^u[m];p+=w}}function G9(t,e){const{allowShortKeys:n,extendNonceFn:r,counterLength:i,counterRight:s,rounds:o}=C9({allowShortKeys:!1,counterLength:8,counterRight:!1,rounds:20},e);if(typeof t!="function")throw new Error("core must be a function");return sf(i),sf(o),rf(s),rf(n),(a,c,u,l,f=0)=>{kt(a),kt(c),kt(u);const d=u.length;if(l===void 0&&(l=new Uint8Array(d)),kt(l),sf(f),f<0||f>=nb)throw new Error("arx: counter overflow");if(l.length<d)throw new Error(`arx: output (${l.length}) is shorter than data (${d})`);const h=[];let p=a.length,w,m;if(p===32)h.push(w=af(a)),m=K9;else if(p===16&&n)w=new Uint8Array(32),w.set(a),w.set(a,16),m=z9,h.push(w);else throw new Error(`arx: invalid 32-byte key, got length=${p}`);cf(c)||h.push(c=af(c));const P=Jr(w);if(r){if(c.length!==24)throw new Error("arx: extended nonce must be 24 bytes");r(m,P,Jr(c.subarray(0,16)),P),c=c.subarray(16)}const T=16-i;if(T!==c.length)throw new Error(`arx: nonce must be ${T} or 16 bytes`);if(T!==12){const x=new Uint8Array(12);x.set(c,s?0:12-c.length),c=x,h.push(c)}const I=Jr(c);return H9(t,m,P,I,u,l,f,o),hs(...h),l}}const nt=(t,e)=>t[e++]&255|(t[e++]&255)<<8;class W9{constructor(e){this.blockLen=16,this.outputLen=16,this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.pos=0,this.finished=!1,e=of(e),kt(e,32);const n=nt(e,0),r=nt(e,2),i=nt(e,4),s=nt(e,6),o=nt(e,8),a=nt(e,10),c=nt(e,12),u=nt(e,14);this.r[0]=n&8191,this.r[1]=(n>>>13|r<<3)&8191,this.r[2]=(r>>>10|i<<6)&7939,this.r[3]=(i>>>7|s<<9)&8191,this.r[4]=(s>>>4|o<<12)&255,this.r[5]=o>>>1&8190,this.r[6]=(o>>>14|a<<2)&8191,this.r[7]=(a>>>11|c<<5)&8065,this.r[8]=(c>>>8|u<<8)&8191,this.r[9]=u>>>5&127;for(let l=0;l<8;l++)this.pad[l]=nt(e,16+2*l)}process(e,n,r=!1){const i=r?0:2048,{h:s,r:o}=this,a=o[0],c=o[1],u=o[2],l=o[3],f=o[4],d=o[5],h=o[6],p=o[7],w=o[8],m=o[9],P=nt(e,n+0),T=nt(e,n+2),I=nt(e,n+4),x=nt(e,n+6),S=nt(e,n+8),U=nt(e,n+10),k=nt(e,n+12),F=nt(e,n+14);let R=s[0]+(P&8191),G=s[1]+((P>>>13|T<<3)&8191),H=s[2]+((T>>>10|I<<6)&8191),E=s[3]+((I>>>7|x<<9)&8191),b=s[4]+((x>>>4|S<<12)&8191),v=s[5]+(S>>>1&8191),g=s[6]+((S>>>14|U<<2)&8191),y=s[7]+((U>>>11|k<<5)&8191),B=s[8]+((k>>>8|F<<8)&8191),A=s[9]+(F>>>5|i),O=0,D=O+R*a+G*(5*m)+H*(5*w)+E*(5*p)+b*(5*h);O=D>>>13,D&=8191,D+=v*(5*d)+g*(5*f)+y*(5*l)+B*(5*u)+A*(5*c),O+=D>>>13,D&=8191;let C=O+R*c+G*a+H*(5*m)+E*(5*w)+b*(5*p);O=C>>>13,C&=8191,C+=v*(5*h)+g*(5*d)+y*(5*f)+B*(5*l)+A*(5*u),O+=C>>>13,C&=8191;let M=O+R*u+G*c+H*a+E*(5*m)+b*(5*w);O=M>>>13,M&=8191,M+=v*(5*p)+g*(5*h)+y*(5*d)+B*(5*f)+A*(5*l),O+=M>>>13,M&=8191;let L=O+R*l+G*u+H*c+E*a+b*(5*m);O=L>>>13,L&=8191,L+=v*(5*w)+g*(5*p)+y*(5*h)+B*(5*d)+A*(5*f),O+=L>>>13,L&=8191;let V=O+R*f+G*l+H*u+E*c+b*a;O=V>>>13,V&=8191,V+=v*(5*m)+g*(5*w)+y*(5*p)+B*(5*h)+A*(5*d),O+=V>>>13,V&=8191;let q=O+R*d+G*f+H*l+E*u+b*c;O=q>>>13,q&=8191,q+=v*a+g*(5*m)+y*(5*w)+B*(5*p)+A*(5*h),O+=q>>>13,q&=8191;let W=O+R*h+G*d+H*f+E*l+b*u;O=W>>>13,W&=8191,W+=v*c+g*a+y*(5*m)+B*(5*w)+A*(5*p),O+=W>>>13,W&=8191;let Z=O+R*p+G*h+H*d+E*f+b*l;O=Z>>>13,Z&=8191,Z+=v*u+g*c+y*a+B*(5*m)+A*(5*w),O+=Z>>>13,Z&=8191;let z=O+R*w+G*p+H*h+E*d+b*f;O=z>>>13,z&=8191,z+=v*l+g*u+y*c+B*a+A*(5*m),O+=z>>>13,z&=8191;let N=O+R*m+G*w+H*p+E*h+b*d;O=N>>>13,N&=8191,N+=v*f+g*l+y*u+B*c+A*a,O+=N>>>13,N&=8191,O=(O<<2)+O|0,O=O+D|0,D=O&8191,O=O>>>13,C+=O,s[0]=D,s[1]=C,s[2]=M,s[3]=L,s[4]=V,s[5]=q,s[6]=W,s[7]=Z,s[8]=z,s[9]=N}finalize(){const{h:e,pad:n}=this,r=new Uint16Array(10);let i=e[1]>>>13;e[1]&=8191;for(let a=2;a<10;a++)e[a]+=i,i=e[a]>>>13,e[a]&=8191;e[0]+=i*5,i=e[0]>>>13,e[0]&=8191,e[1]+=i,i=e[1]>>>13,e[1]&=8191,e[2]+=i,r[0]=e[0]+5,i=r[0]>>>13,r[0]&=8191;for(let a=1;a<10;a++)r[a]=e[a]+i,i=r[a]>>>13,r[a]&=8191;r[9]-=8192;let s=(i^1)-1;for(let a=0;a<10;a++)r[a]&=s;s=~s;for(let a=0;a<10;a++)e[a]=e[a]&s|r[a];e[0]=(e[0]|e[1]<<13)&65535,e[1]=(e[1]>>>3|e[2]<<10)&65535,e[2]=(e[2]>>>6|e[3]<<7)&65535,e[3]=(e[3]>>>9|e[4]<<4)&65535,e[4]=(e[4]>>>12|e[5]<<1|e[6]<<14)&65535,e[5]=(e[6]>>>2|e[7]<<11)&65535,e[6]=(e[7]>>>5|e[8]<<8)&65535,e[7]=(e[8]>>>8|e[9]<<5)&65535;let o=e[0]+n[0];e[0]=o&65535;for(let a=1;a<8;a++)o=(e[a]+n[a]|0)+(o>>>16)|0,e[a]=o&65535;hs(r)}update(e){_1(this),e=of(e),kt(e);const{buffer:n,blockLen:r}=this,i=e.length;for(let s=0;s<i;){const o=Math.min(r-this.pos,i-s);if(o===r){for(;r<=i-s;s+=r)this.process(e,s);continue}n.set(e.subarray(s,s+o),this.pos),this.pos+=o,s+=o,this.pos===r&&(this.process(n,0,!1),this.pos=0)}return this}destroy(){hs(this.h,this.r,this.buffer,this.pad)}digestInto(e){_1(this),R9(e,this),this.finished=!0;const{buffer:n,h:r}=this;let{pos:i}=this;if(i){for(n[i++]=1;i<16;i++)n[i]=0;this.process(n,0,!0)}this.finalize();let s=0;for(let o=0;o<8;o++)e[s++]=r[o]>>>0,e[s++]=r[o]>>>8;return e}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}}function Z9(t){const e=(r,i)=>t(i).update(of(r)).digest(),n=t(new Uint8Array(32));return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=r=>t(r),e}const Y9=Z9(t=>new W9(t));function X9(t,e,n,r,i,s=20){let o=t[0],a=t[1],c=t[2],u=t[3],l=e[0],f=e[1],d=e[2],h=e[3],p=e[4],w=e[5],m=e[6],P=e[7],T=i,I=n[0],x=n[1],S=n[2],U=o,k=a,F=c,R=u,G=l,H=f,E=d,b=h,v=p,g=w,y=m,B=P,A=T,O=I,D=x,C=S;for(let L=0;L<s;L+=2)U=U+G|0,A=me(A^U,16),v=v+A|0,G=me(G^v,12),U=U+G|0,A=me(A^U,8),v=v+A|0,G=me(G^v,7),k=k+H|0,O=me(O^k,16),g=g+O|0,H=me(H^g,12),k=k+H|0,O=me(O^k,8),g=g+O|0,H=me(H^g,7),F=F+E|0,D=me(D^F,16),y=y+D|0,E=me(E^y,12),F=F+E|0,D=me(D^F,8),y=y+D|0,E=me(E^y,7),R=R+b|0,C=me(C^R,16),B=B+C|0,b=me(b^B,12),R=R+b|0,C=me(C^R,8),B=B+C|0,b=me(b^B,7),U=U+H|0,C=me(C^U,16),y=y+C|0,H=me(H^y,12),U=U+H|0,C=me(C^U,8),y=y+C|0,H=me(H^y,7),k=k+E|0,A=me(A^k,16),B=B+A|0,E=me(E^B,12),k=k+E|0,A=me(A^k,8),B=B+A|0,E=me(E^B,7),F=F+b|0,O=me(O^F,16),v=v+O|0,b=me(b^v,12),F=F+b|0,O=me(O^F,8),v=v+O|0,b=me(b^v,7),R=R+G|0,D=me(D^R,16),g=g+D|0,G=me(G^g,12),R=R+G|0,D=me(D^R,8),g=g+D|0,G=me(G^g,7);let M=0;r[M++]=o+U|0,r[M++]=a+k|0,r[M++]=c+F|0,r[M++]=u+R|0,r[M++]=l+G|0,r[M++]=f+H|0,r[M++]=d+E|0,r[M++]=h+b|0,r[M++]=p+v|0,r[M++]=w+g|0,r[M++]=m+y|0,r[M++]=P+B|0,r[M++]=T+A|0,r[M++]=I+O|0,r[M++]=x+D|0,r[M++]=S+C|0}const J9=G9(X9,{counterRight:!1,counterLength:4,allowShortKeys:!1}),Q9=new Uint8Array(16),ib=(t,e)=>{t.update(e);const n=e.length%16;n&&t.update(Q9.subarray(n))},_9=new Uint8Array(32);function sb(t,e,n,r,i){const s=t(e,n,_9),o=Y9.create(s);i&&ib(o,i),ib(o,r);const a=k9(r.length,i?i.length:0,!0);o.update(a);const c=o.digest();return hs(s,a),c}const $9=t=>(e,n,r)=>({encrypt(i,s){const o=i.length;s=$1(o+16,s,!1),s.set(i);const a=s.subarray(0,-16);t(e,n,a,a,1);const c=sb(t,e,n,a,r);return s.set(c,o),hs(c),s},decrypt(i,s){s=$1(i.length-16,s,!1);const o=i.subarray(0,-16),a=i.subarray(-16),c=sb(t,e,n,o,r);if(!F9(a,c))throw new Error("invalid tag");return s.set(i.subarray(0,-16)),t(e,n,s,s,1),hs(c),s}}),ob=q9({blockSize:64,nonceLength:12,tagLength:16},$9(J9));class ab extends rc{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,tc(e);const r=mn(n);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;const i=this.blockLen,s=new Uint8Array(i);s.set(r.length>i?e.create().update(r).digest():r);for(let o=0;o<s.length;o++)s[o]^=54;this.iHash.update(s),this.oHash=e.create();for(let o=0;o<s.length;o++)s[o]^=106;this.oHash.update(s),on(s)}update(e){return zr(this),this.iHash.update(e),this}digestInto(e){zr(this),yn(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:r,finished:i,destroyed:s,blockLen:o,outputLen:a}=this;return e=e,e.finished=i,e.destroyed=s,e.blockLen=o,e.outputLen=a,e.oHash=n._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const uc=(t,e,n)=>new ab(t,e).update(n).digest();uc.create=(t,e)=>new ab(t,e);function eS(t,e,n){return tc(t),n===void 0&&(n=new Uint8Array(t.outputLen)),uc(t,mn(n),mn(e))}const uf=Uint8Array.from([0]),cb=Uint8Array.of();function tS(t,e,n,r=32){tc(t),nr(r);const i=t.outputLen;if(r>255*i)throw new Error("Length should be <= 255*HashLen");const s=Math.ceil(r/i);n===void 0&&(n=cb);const o=new Uint8Array(s*i),a=uc.create(t,e),c=a._cloneInto(),u=new Uint8Array(a.outputLen);for(let l=0;l<s;l++)uf[0]=l+1,c.update(l===0?cb:u).update(n).update(uf).digestInto(u),o.set(u,i*l),a._cloneInto(c);return a.destroy(),c.destroy(),on(u,uf),o.slice(0,r)}const nS=(t,e,n,r,i)=>tS(t,eS(t,e,n),r,i),lc=ic,lf=BigInt(0),ff=BigInt(1);function fc(t,e=""){if(typeof t!="boolean"){const n=e&&`"${e}"`;throw new Error(n+"expected boolean, got type="+typeof t)}return t}function Oi(t,e,n=""){const r=ec(t),i=t?.length,s=e!==void 0;if(!r||s&&i!==e){const o=n&&`"${n}" `,a=s?` of length ${e}`:"",c=r?`length=${i}`:`type=${typeof t}`;throw new Error(o+"expected Uint8Array"+a+", got "+c)}return t}function hc(t){const e=t.toString(16);return e.length&1?"0"+e:e}function ub(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?lf:BigInt("0x"+t)}function dc(t){return ub(fs(t))}function pc(t){return yn(t),ub(fs(Uint8Array.from(t).reverse()))}function hf(t,e){return nc(t.toString(16).padStart(e*2,"0"))}function df(t,e){return hf(t,e).reverse()}function yt(t,e,n){let r;if(typeof e=="string")try{r=nc(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(ec(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}const pf=t=>typeof t=="bigint"&&lf<=t;function rS(t,e,n){return pf(t)&&pf(e)&&pf(n)&&e<=t&&t<n}function gf(t,e,n,r){if(!rS(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function lb(t){let e;for(e=0;t>lf;t>>=ff,e+=1);return e}const yo=t=>(ff<<BigInt(t))-ff;function iS(t,e,n){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");const r=d=>new Uint8Array(d),i=d=>Uint8Array.of(d);let s=r(t),o=r(t),a=0;const c=()=>{s.fill(1),o.fill(0),a=0},u=(...d)=>n(o,s,...d),l=(d=r(0))=>{o=u(i(0),d),s=u(),d.length!==0&&(o=u(i(1),d),s=u())},f=()=>{if(a++>=1e3)throw new Error("drbg: tried 1000 values");let d=0;const h=[];for(;d<e;){s=u();const p=s.slice();h.push(p),d+=s.length}return Vr(...h)};return(d,h)=>{c(),l(d);let p;for(;!(p=h(f()));)l();return c(),p}}function gc(t,e,n={}){if(!t||typeof t!="object")throw new Error("expected valid options object");function r(i,s,o){const a=t[i];if(o&&a===void 0)return;const c=typeof a;if(c!==s||a===null)throw new Error(`param "${i}" is invalid: expected ${s}, got ${c}`)}Object.entries(e).forEach(([i,s])=>r(i,s,!1)),Object.entries(n).forEach(([i,s])=>r(i,s,!0))}function fb(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}const Lt=BigInt(0),Ot=BigInt(1),Ai=BigInt(2),hb=BigInt(3),db=BigInt(4),pb=BigInt(5),sS=BigInt(7),gb=BigInt(8),oS=BigInt(9),bb=BigInt(16);function Jt(t,e){const n=t%e;return n>=Lt?n:e+n}function vn(t,e,n){let r=t;for(;e-- >Lt;)r*=r,r%=n;return r}function wb(t,e){if(t===Lt)throw new Error("invert: expected non-zero number");if(e<=Lt)throw new Error("invert: expected positive modulus, got "+e);let n=Jt(t,e),r=e,i=Lt,s=Ot;for(;n!==Lt;){const o=r/n,a=r%n,c=i-s*o;r=n,n=a,i=s,s=c}if(r!==Ot)throw new Error("invert: does not exist");return Jt(i,e)}function bf(t,e,n){if(!t.eql(t.sqr(e),n))throw new Error("Cannot find square root")}function yb(t,e){const n=(t.ORDER+Ot)/db,r=t.pow(e,n);return bf(t,r,e),r}function aS(t,e){const n=(t.ORDER-pb)/gb,r=t.mul(e,Ai),i=t.pow(r,n),s=t.mul(e,i),o=t.mul(t.mul(s,Ai),i),a=t.mul(s,t.sub(o,t.ONE));return bf(t,a,e),a}function cS(t){const e=Qr(t),n=mb(t),r=n(e,e.neg(e.ONE)),i=n(e,r),s=n(e,e.neg(r)),o=(t+sS)/bb;return(a,c)=>{let u=a.pow(c,o),l=a.mul(u,r);const f=a.mul(u,i),d=a.mul(u,s),h=a.eql(a.sqr(l),c),p=a.eql(a.sqr(f),c);u=a.cmov(u,l,h),l=a.cmov(d,f,p);const w=a.eql(a.sqr(l),c),m=a.cmov(u,l,w);return bf(a,m,c),m}}function mb(t){if(t<hb)throw new Error("sqrt is not defined for small field");let e=t-Ot,n=0;for(;e%Ai===Lt;)e/=Ai,n++;let r=Ai;const i=Qr(t);for(;Eb(i,r)===1;)if(r++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return yb;let s=i.pow(r,e);const o=(e+Ot)/Ai;return function(a,c){if(a.is0(c))return c;if(Eb(a,c)!==1)throw new Error("Cannot find square root");let u=n,l=a.mul(a.ONE,s),f=a.pow(c,e),d=a.pow(c,o);for(;!a.eql(f,a.ONE);){if(a.is0(f))return a.ZERO;let h=1,p=a.sqr(f);for(;!a.eql(p,a.ONE);)if(h++,p=a.sqr(p),h===u)throw new Error("Cannot find square root");const w=Ot<<BigInt(u-h-1),m=a.pow(l,w);u=h,l=a.sqr(m),f=a.mul(f,l),d=a.mul(d,m)}return d}}function uS(t){return t%db===hb?yb:t%gb===pb?aS:t%bb===oS?cS(t):mb(t)}const lS=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function fS(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},n=lS.reduce((r,i)=>(r[i]="function",r),e);return gc(t,n),t}function hS(t,e,n){if(n<Lt)throw new Error("invalid exponent, negatives unsupported");if(n===Lt)return t.ONE;if(n===Ot)return e;let r=t.ONE,i=e;for(;n>Lt;)n&Ot&&(r=t.mul(r,i)),i=t.sqr(i),n>>=Ot;return r}function vb(t,e,n=!1){const r=new Array(e.length).fill(n?t.ZERO:void 0),i=e.reduce((o,a,c)=>t.is0(a)?o:(r[c]=o,t.mul(o,a)),t.ONE),s=t.inv(i);return e.reduceRight((o,a,c)=>t.is0(a)?o:(r[c]=t.mul(o,r[c]),t.mul(o,a)),s),r}function Eb(t,e){const n=(t.ORDER-Ot)/Ai,r=t.pow(e,n),i=t.eql(r,t.ONE),s=t.eql(r,t.ZERO),o=t.eql(r,t.neg(t.ONE));if(!i&&!s&&!o)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function xb(t,e){e!==void 0&&nr(e);const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function Qr(t,e,n=!1,r={}){if(t<=Lt)throw new Error("invalid field: expected ORDER > 0, got "+t);let i,s,o=!1,a;if(typeof e=="object"&&e!=null){if(r.sqrt||n)throw new Error("cannot specify opts in two arguments");const d=e;d.BITS&&(i=d.BITS),d.sqrt&&(s=d.sqrt),typeof d.isLE=="boolean"&&(n=d.isLE),typeof d.modFromBytes=="boolean"&&(o=d.modFromBytes),a=d.allowedLengths}else typeof e=="number"&&(i=e),r.sqrt&&(s=r.sqrt);const{nBitLength:c,nByteLength:u}=xb(t,i);if(u>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let l;const f=Object.freeze({ORDER:t,isLE:n,BITS:c,BYTES:u,MASK:yo(c),ZERO:Lt,ONE:Ot,allowedLengths:a,create:d=>Jt(d,t),isValid:d=>{if(typeof d!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof d);return Lt<=d&&d<t},is0:d=>d===Lt,isValidNot0:d=>!f.is0(d)&&f.isValid(d),isOdd:d=>(d&Ot)===Ot,neg:d=>Jt(-d,t),eql:(d,h)=>d===h,sqr:d=>Jt(d*d,t),add:(d,h)=>Jt(d+h,t),sub:(d,h)=>Jt(d-h,t),mul:(d,h)=>Jt(d*h,t),pow:(d,h)=>hS(f,d,h),div:(d,h)=>Jt(d*wb(h,t),t),sqrN:d=>d*d,addN:(d,h)=>d+h,subN:(d,h)=>d-h,mulN:(d,h)=>d*h,inv:d=>wb(d,t),sqrt:s||(d=>(l||(l=uS(t)),l(f,d))),toBytes:d=>n?df(d,u):hf(d,u),fromBytes:(d,h=!0)=>{if(a){if(!a.includes(d.length)||d.length>u)throw new Error("Field.fromBytes: expected "+a+" bytes, got "+d.length);const w=new Uint8Array(u);w.set(d,n?0:w.length-d.length),d=w}if(d.length!==u)throw new Error("Field.fromBytes: expected "+u+" bytes, got "+d.length);let p=n?pc(d):dc(d);if(o&&(p=Jt(p,t)),!h&&!f.isValid(p))throw new Error("invalid field element: outside of range 0..ORDER");return p},invertBatch:d=>vb(f,d),cmov:(d,h,p)=>p?h:d});return Object.freeze(f)}function Ib(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const e=t.toString(2).length;return Math.ceil(e/8)}function Sb(t){const e=Ib(t);return e+Math.ceil(e/2)}function dS(t,e,n=!1){const r=t.length,i=Ib(e),s=Sb(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const o=n?pc(t):dc(t),a=Jt(o,e-Ot)+Ot;return n?df(a,i):hf(a,i)}const ds=BigInt(0),Pi=BigInt(1);function bc(t,e){const n=e.negate();return t?n:e}function wf(t,e){const n=vb(t.Fp,e.map(r=>r.Z));return e.map((r,i)=>t.fromAffine(r.toAffine(n[i])))}function Bb(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function yf(t,e){Bb(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1),i=2**t,s=yo(t),o=BigInt(t);return{windows:n,windowSize:r,mask:s,maxNumber:i,shiftBy:o}}function Ob(t,e,n){const{windowSize:r,mask:i,maxNumber:s,shiftBy:o}=n;let a=Number(t&i),c=t>>o;a>r&&(a-=s,c+=Pi);const u=e*r,l=u+Math.abs(a)-1,f=a===0,d=a<0,h=e%2!==0;return{nextN:c,offset:l,isZero:f,isNeg:d,isNegF:h,offsetF:u}}function pS(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function gS(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const mf=new WeakMap,Ab=new WeakMap;function vf(t){return Ab.get(t)||1}function Pb(t){if(t!==ds)throw new Error("invalid wNAF")}class bS{constructor(e,n){this.BASE=e.BASE,this.ZERO=e.ZERO,this.Fn=e.Fn,this.bits=n}_unsafeLadder(e,n,r=this.ZERO){let i=e;for(;n>ds;)n&Pi&&(r=r.add(i)),i=i.double(),n>>=Pi;return r}precomputeWindow(e,n){const{windows:r,windowSize:i}=yf(n,this.bits),s=[];let o=e,a=o;for(let c=0;c<r;c++){a=o,s.push(a);for(let u=1;u<i;u++)a=a.add(o),s.push(a);o=a.double()}return s}wNAF(e,n,r){if(!this.Fn.isValid(r))throw new Error("invalid scalar");let i=this.ZERO,s=this.BASE;const o=yf(e,this.bits);for(let a=0;a<o.windows;a++){const{nextN:c,offset:u,isZero:l,isNeg:f,isNegF:d,offsetF:h}=Ob(r,a,o);r=c,l?s=s.add(bc(d,n[h])):i=i.add(bc(f,n[u]))}return Pb(r),{p:i,f:s}}wNAFUnsafe(e,n,r,i=this.ZERO){const s=yf(e,this.bits);for(let o=0;o<s.windows&&r!==ds;o++){const{nextN:a,offset:c,isZero:u,isNeg:l}=Ob(r,o,s);if(r=a,!u){const f=n[c];i=i.add(l?f.negate():f)}}return Pb(r),i}getPrecomputes(e,n,r){let i=mf.get(n);return i||(i=this.precomputeWindow(n,e),e!==1&&(typeof r=="function"&&(i=r(i)),mf.set(n,i))),i}cached(e,n,r){const i=vf(e);return this.wNAF(i,this.getPrecomputes(i,e,r),n)}unsafe(e,n,r,i){const s=vf(e);return s===1?this._unsafeLadder(e,n,i):this.wNAFUnsafe(s,this.getPrecomputes(s,e,r),n,i)}createCache(e,n){Bb(n,this.bits),Ab.set(e,n),mf.delete(e)}hasCache(e){return vf(e)!==1}}function wS(t,e,n,r){let i=e,s=t.ZERO,o=t.ZERO;for(;n>ds||r>ds;)n&Pi&&(s=s.add(i)),r&Pi&&(o=o.add(i)),i=i.double(),n>>=Pi,r>>=Pi;return{p1:s,p2:o}}function yS(t,e,n,r){pS(n,t),gS(r,e);const i=n.length,s=r.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const o=t.ZERO,a=lb(BigInt(i));let c=1;a>12?c=a-3:a>4?c=a-2:a>0&&(c=2);const u=yo(c),l=new Array(Number(u)+1).fill(o),f=Math.floor((e.BITS-1)/c)*c;let d=o;for(let h=f;h>=0;h-=c){l.fill(o);for(let w=0;w<s;w++){const m=r[w],P=Number(m>>BigInt(h)&u);l[P]=l[P].add(n[w])}let p=o;for(let w=l.length-1,m=o;w>0;w--)m=m.add(l[w]),p=p.add(m);if(d=d.add(p),h!==0)for(let w=0;w<c;w++)d=d.double()}return d}function Db(t,e,n){if(e){if(e.ORDER!==t)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return fS(e),e}else return Qr(t,{isLE:n})}function mS(t,e,n={},r){if(r===void 0&&(r=t==="edwards"),!e||typeof e!="object")throw new Error(`expected valid ${t} CURVE object`);for(const a of["p","n","h"]){const c=e[a];if(!(typeof c=="bigint"&&c>ds))throw new Error(`CURVE.${a} must be positive bigint`)}const i=Db(e.p,n.Fp,r),s=Db(e.n,n.Fn,r),o=["Gx","Gy","a",t==="weierstrass"?"b":"d"];for(const a of o)if(!i.isValid(e[a]))throw new Error(`CURVE.${a} must be valid field element of CURVE.Fp`);return e=Object.freeze(Object.assign({},e)),{CURVE:e,Fp:i,Fn:s}}BigInt(0),BigInt(1),BigInt(2),BigInt(8),T1("HashToScalar-");const mo=BigInt(0),ps=BigInt(1),wc=BigInt(2);function vS(t){return gc(t,{adjustScalarBytes:"function",powPminus2:"function"}),Object.freeze({...t})}function ES(t){const e=vS(t),{P:n,type:r,adjustScalarBytes:i,powPminus2:s,randomBytes:o}=e,a=r==="x25519";if(!a&&r!=="x448")throw new Error("invalid type");const c=o||Si,u=a?255:448,l=a?32:56,f=BigInt(a?9:5),d=BigInt(a?121665:39081),h=a?wc**BigInt(254):wc**BigInt(447),p=a?BigInt(8)*wc**BigInt(251)-ps:BigInt(4)*wc**BigInt(445)-ps,w=h+p+ps,m=E=>Jt(E,n),P=T(f);function T(E){return df(m(E),l)}function I(E){const b=yt("u coordinate",E,l);return a&&(b[31]&=127),m(pc(b))}function x(E){return pc(i(yt("scalar",E,l)))}function S(E,b){const v=F(I(b),x(E));if(v===mo)throw new Error("invalid private or public key received");return T(v)}function U(E){return S(E,P)}function k(E,b,v){const g=m(E*(b-v));return b=m(b-g),v=m(v+g),{x_2:b,x_3:v}}function F(E,b){gf("u",E,mo,n),gf("scalar",b,h,w);const v=b,g=E;let y=ps,B=mo,A=E,O=ps,D=mo;for(let M=BigInt(u-1);M>=mo;M--){const L=v>>M&ps;D^=L,{x_2:y,x_3:A}=k(D,y,A),{x_2:B,x_3:O}=k(D,B,O),D=L;const V=y+B,q=m(V*V),W=y-B,Z=m(W*W),z=q-Z,N=A+O,j=A-O,K=m(j*V),X=m(N*W),ee=K+X,$=K-X;A=m(ee*ee),O=m(g*m($*$)),y=m(q*Z),B=m(z*(q+m(d*z)))}({x_2:y,x_3:A}=k(D,y,A)),{x_2:B,x_3:O}=k(D,B,O);const C=s(B);return m(y*C)}const R={secretKey:l,publicKey:l,seed:l},G=(E=c(l))=>(yn(E,R.seed),E);function H(E){const b=G(E);return{secretKey:b,publicKey:U(b)}}return{keygen:H,getSharedSecret:(E,b)=>S(E,b),getPublicKey:E=>U(E),scalarMult:S,scalarMultBase:U,utils:{randomSecretKey:G,randomPrivateKey:G},GuBytes:P.slice(),lengths:R}}const xS=BigInt(1),Rb=BigInt(2),IS=BigInt(3),SS=BigInt(5),BS=BigInt(8),Tb=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed"),OS={p:Tb,n:BigInt("0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed"),h:BS,a:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec"),d:BigInt("0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3"),Gx:BigInt("0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a"),Gy:BigInt("0x6666666666666666666666666666666666666666666666666666666666666658")};function AS(t){const e=BigInt(10),n=BigInt(20),r=BigInt(40),i=BigInt(80),s=Tb,o=t*t%s*t%s,a=vn(o,Rb,s)*o%s,c=vn(a,xS,s)*t%s,u=vn(c,SS,s)*c%s,l=vn(u,e,s)*u%s,f=vn(l,n,s)*l%s,d=vn(f,r,s)*f%s,h=vn(d,i,s)*d%s,p=vn(h,i,s)*d%s,w=vn(p,e,s)*u%s;return{pow_p_5_8:vn(w,Rb,s)*t%s,b2:o}}function PS(t){return t[0]&=248,t[31]&=127,t[31]|=64,t}const DS=Qr(OS.p,{isLE:!0}),Ef=(()=>{const t=DS.ORDER;return ES({P:t,type:"x25519",powPminus2:e=>{const{pow_p_5_8:n,b2:r}=AS(e);return Jt(vn(n,IS,t)*r,t)},adjustScalarBytes:PS})})(),Nb=(t,e)=>(t+(t>=0?e:-e)/Ub)/e;function RS(t,e,n){const[[r,i],[s,o]]=e,a=Nb(o*t,n),c=Nb(-i*t,n);let u=t-a*r-c*s,l=-a*i-c*o;const f=u<or,d=l<or;f&&(u=-u),d&&(l=-l);const h=yo(Math.ceil(lb(n)/2))+gs;if(u<or||u>=h||l<or||l>=h)throw new Error("splitScalar (endomorphism): failed, k="+t);return{k1neg:f,k1:u,k2neg:d,k2:l}}function xf(t){if(!["compact","recovered","der"].includes(t))throw new Error('Signature format must be "compact", "recovered", or "der"');return t}function If(t,e){const n={};for(let r of Object.keys(e))n[r]=t[r]===void 0?e[r]:t[r];return fc(n.lowS,"lowS"),fc(n.prehash,"prehash"),n.format!==void 0&&xf(n.format),n}class TS extends Error{constructor(e=""){super(e)}}const sr={Err:TS,_tlv:{encode:(t,e)=>{const{Err:n}=sr;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length&1)throw new n("tlv.encode: unpadded data");const r=e.length/2,i=hc(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const s=r>127?hc(i.length/2|128):"";return hc(t)+s+i+e},decode(t,e){const{Err:n}=sr;let r=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length<2||e[r++]!==t)throw new n("tlv.decode: wrong tlv");const i=e[r++],s=!!(i&128);let o=0;if(!s)o=i;else{const c=i&127;if(!c)throw new n("tlv.decode(long): indefinite length not supported");if(c>4)throw new n("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+c);if(u.length!==c)throw new n("tlv.decode: length bytes not complete");if(u[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const l of u)o=o<<8|l;if(r+=c,o<128)throw new n("tlv.decode(long): not minimal encoding")}const a=e.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:e.subarray(r+o)}}},_int:{encode(t){const{Err:e}=sr;if(t<or)throw new e("integer: negative integers are not allowed");let n=hc(t);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return n},decode(t){const{Err:e}=sr;if(t[0]&128)throw new e("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return dc(t)}},toSig(t){const{Err:e,_int:n,_tlv:r}=sr,i=yt("signature",t),{v:s,l:o}=r.decode(48,i);if(o.length)throw new e("invalid signature: left bytes after parsing");const{v:a,l:c}=r.decode(2,s),{v:u,l}=r.decode(2,c);if(l.length)throw new e("invalid signature: left bytes after parsing");return{r:n.decode(a),s:n.decode(u)}},hexFromSig(t){const{_tlv:e,_int:n}=sr,r=e.encode(2,n.encode(t.r)),i=e.encode(2,n.encode(t.s)),s=r+i;return e.encode(48,s)}},or=BigInt(0),gs=BigInt(1),Ub=BigInt(2),yc=BigInt(3),NS=BigInt(4);function bs(t,e){const{BYTES:n}=t;let r;if(typeof e=="bigint")r=e;else{let i=yt("private key",e);try{r=t.fromBytes(i)}catch{throw new Error(`invalid private key: expected ui8a of size ${n}, got ${typeof e}`)}}if(!t.isValidNot0(r))throw new Error("invalid private key: out of range [1..N-1]");return r}function US(t,e={}){const n=mS("weierstrass",t,e),{Fp:r,Fn:i}=n;let s=n.CURVE;const{h:o,n:a}=s;gc(e,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:c}=e;if(c&&(!r.is0(s.a)||typeof c.beta!="bigint"||!Array.isArray(c.basises)))throw new Error('invalid endo: expected "beta": bigint and "basises": array');const u=Fb(r,i);function l(){if(!r.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}function f(E,b,v){const{x:g,y}=b.toAffine(),B=r.toBytes(g);if(fc(v,"isCompressed"),v){l();const A=!r.isOdd(y);return Vr(Cb(A),B)}else return Vr(Uint8Array.of(4),B,r.toBytes(y))}function d(E){Oi(E,void 0,"Point");const{publicKey:b,publicKeyUncompressed:v}=u,g=E.length,y=E[0],B=E.subarray(1);if(g===b&&(y===2||y===3)){const A=r.fromBytes(B);if(!r.isValid(A))throw new Error("bad point: is not on curve, wrong x");const O=w(A);let D;try{D=r.sqrt(O)}catch(M){const L=M instanceof Error?": "+M.message:"";throw new Error("bad point: is not on curve, sqrt error"+L)}l();const C=r.isOdd(D);return(y&1)===1!==C&&(D=r.neg(D)),{x:A,y:D}}else if(g===v&&y===4){const A=r.BYTES,O=r.fromBytes(B.subarray(0,A)),D=r.fromBytes(B.subarray(A,A*2));if(!m(O,D))throw new Error("bad point: is not on curve");return{x:O,y:D}}else throw new Error(`bad point: got length ${g}, expected compressed=${b} or uncompressed=${v}`)}const h=e.toBytes||f,p=e.fromBytes||d;function w(E){const b=r.sqr(E),v=r.mul(b,E);return r.add(r.add(v,r.mul(E,s.a)),s.b)}function m(E,b){const v=r.sqr(b),g=w(E);return r.eql(v,g)}if(!m(s.Gx,s.Gy))throw new Error("bad curve params: generator point");const P=r.mul(r.pow(s.a,yc),NS),T=r.mul(r.sqr(s.b),BigInt(27));if(r.is0(r.add(P,T)))throw new Error("bad curve params: a or b");function I(E,b,v=!1){if(!r.isValid(b)||v&&r.is0(b))throw new Error(`bad point coordinate ${E}`);return b}function x(E){if(!(E instanceof R))throw new Error("ProjectivePoint expected")}function S(E){if(!c||!c.basises)throw new Error("no endo");return RS(E,c.basises,i.ORDER)}const U=fb((E,b)=>{const{X:v,Y:g,Z:y}=E;if(r.eql(y,r.ONE))return{x:v,y:g};const B=E.is0();b==null&&(b=B?r.ONE:r.inv(y));const A=r.mul(v,b),O=r.mul(g,b),D=r.mul(y,b);if(B)return{x:r.ZERO,y:r.ZERO};if(!r.eql(D,r.ONE))throw new Error("invZ was invalid");return{x:A,y:O}}),k=fb(E=>{if(E.is0()){if(e.allowInfinityPoint&&!r.is0(E.Y))return;throw new Error("bad point: ZERO")}const{x:b,y:v}=E.toAffine();if(!r.isValid(b)||!r.isValid(v))throw new Error("bad point: x or y not field elements");if(!m(b,v))throw new Error("bad point: equation left != right");if(!E.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function F(E,b,v,g,y){return v=new R(r.mul(v.X,E),v.Y,v.Z),b=bc(g,b),v=bc(y,v),b.add(v)}class R{constructor(b,v,g){this.X=I("x",b),this.Y=I("y",v,!0),this.Z=I("z",g),Object.freeze(this)}static CURVE(){return s}static fromAffine(b){const{x:v,y:g}=b||{};if(!b||!r.isValid(v)||!r.isValid(g))throw new Error("invalid affine point");if(b instanceof R)throw new Error("projective point not allowed");return r.is0(v)&&r.is0(g)?R.ZERO:new R(v,g,r.ONE)}static fromBytes(b){const v=R.fromAffine(p(Oi(b,void 0,"point")));return v.assertValidity(),v}static fromHex(b){return R.fromBytes(yt("pointHex",b))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(b=8,v=!0){return H.createCache(this,b),v||this.multiply(yc),this}assertValidity(){k(this)}hasEvenY(){const{y:b}=this.toAffine();if(!r.isOdd)throw new Error("Field doesn't support isOdd");return!r.isOdd(b)}equals(b){x(b);const{X:v,Y:g,Z:y}=this,{X:B,Y:A,Z:O}=b,D=r.eql(r.mul(v,O),r.mul(B,y)),C=r.eql(r.mul(g,O),r.mul(A,y));return D&&C}negate(){return new R(this.X,r.neg(this.Y),this.Z)}double(){const{a:b,b:v}=s,g=r.mul(v,yc),{X:y,Y:B,Z:A}=this;let O=r.ZERO,D=r.ZERO,C=r.ZERO,M=r.mul(y,y),L=r.mul(B,B),V=r.mul(A,A),q=r.mul(y,B);return q=r.add(q,q),C=r.mul(y,A),C=r.add(C,C),O=r.mul(b,C),D=r.mul(g,V),D=r.add(O,D),O=r.sub(L,D),D=r.add(L,D),D=r.mul(O,D),O=r.mul(q,O),C=r.mul(g,C),V=r.mul(b,V),q=r.sub(M,V),q=r.mul(b,q),q=r.add(q,C),C=r.add(M,M),M=r.add(C,M),M=r.add(M,V),M=r.mul(M,q),D=r.add(D,M),V=r.mul(B,A),V=r.add(V,V),M=r.mul(V,q),O=r.sub(O,M),C=r.mul(V,L),C=r.add(C,C),C=r.add(C,C),new R(O,D,C)}add(b){x(b);const{X:v,Y:g,Z:y}=this,{X:B,Y:A,Z:O}=b;let D=r.ZERO,C=r.ZERO,M=r.ZERO;const L=s.a,V=r.mul(s.b,yc);let q=r.mul(v,B),W=r.mul(g,A),Z=r.mul(y,O),z=r.add(v,g),N=r.add(B,A);z=r.mul(z,N),N=r.add(q,W),z=r.sub(z,N),N=r.add(v,y);let j=r.add(B,O);return N=r.mul(N,j),j=r.add(q,Z),N=r.sub(N,j),j=r.add(g,y),D=r.add(A,O),j=r.mul(j,D),D=r.add(W,Z),j=r.sub(j,D),M=r.mul(L,N),D=r.mul(V,Z),M=r.add(D,M),D=r.sub(W,M),M=r.add(W,M),C=r.mul(D,M),W=r.add(q,q),W=r.add(W,q),Z=r.mul(L,Z),N=r.mul(V,N),W=r.add(W,Z),Z=r.sub(q,Z),Z=r.mul(L,Z),N=r.add(N,Z),q=r.mul(W,N),C=r.add(C,q),q=r.mul(j,N),D=r.mul(z,D),D=r.sub(D,q),q=r.mul(z,W),M=r.mul(j,M),M=r.add(M,q),new R(D,C,M)}subtract(b){return this.add(b.negate())}is0(){return this.equals(R.ZERO)}multiply(b){const{endo:v}=e;if(!i.isValidNot0(b))throw new Error("invalid scalar: out of range");let g,y;const B=A=>H.cached(this,A,O=>wf(R,O));if(v){const{k1neg:A,k1:O,k2neg:D,k2:C}=S(b),{p:M,f:L}=B(O),{p:V,f:q}=B(C);y=L.add(q),g=F(v.beta,M,V,A,D)}else{const{p:A,f:O}=B(b);g=A,y=O}return wf(R,[g,y])[0]}multiplyUnsafe(b){const{endo:v}=e,g=this;if(!i.isValid(b))throw new Error("invalid scalar: out of range");if(b===or||g.is0())return R.ZERO;if(b===gs)return g;if(H.hasCache(this))return this.multiply(b);if(v){const{k1neg:y,k1:B,k2neg:A,k2:O}=S(b),{p1:D,p2:C}=wS(R,g,B,O);return F(v.beta,D,C,y,A)}else return H.unsafe(g,b)}multiplyAndAddUnsafe(b,v,g){const y=this.multiplyUnsafe(v).add(b.multiplyUnsafe(g));return y.is0()?void 0:y}toAffine(b){return U(this,b)}isTorsionFree(){const{isTorsionFree:b}=e;return o===gs?!0:b?b(R,this):H.unsafe(this,a).is0()}clearCofactor(){const{clearCofactor:b}=e;return o===gs?this:b?b(R,this):this.multiplyUnsafe(o)}isSmallOrder(){return this.multiplyUnsafe(o).is0()}toBytes(b=!0){return fc(b,"isCompressed"),this.assertValidity(),h(R,this,b)}toHex(b=!0){return fs(this.toBytes(b))}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(b=!0){return this.toBytes(b)}_setWindowSize(b){this.precompute(b)}static normalizeZ(b){return wf(R,b)}static msm(b,v){return yS(R,i,b,v)}static fromPrivateKey(b){return R.BASE.multiply(bs(i,b))}}R.BASE=new R(s.Gx,s.Gy,r.ONE),R.ZERO=new R(r.ZERO,r.ONE,r.ZERO),R.Fp=r,R.Fn=i;const G=i.BITS,H=new bS(R,e.endo?Math.ceil(G/2):G);return R.BASE.precompute(8),R}function Cb(t){return Uint8Array.of(t?2:3)}function Fb(t,e){return{secretKey:e.BYTES,publicKey:1+t.BYTES,publicKeyUncompressed:1+2*t.BYTES,publicKeyHasPrefix:!0,signature:2*e.BYTES}}function CS(t,e={}){const{Fn:n}=t,r=e.randomBytes||Si,i=Object.assign(Fb(t.Fp,n),{seed:Sb(n.ORDER)});function s(d){try{return!!bs(n,d)}catch{return!1}}function o(d,h){const{publicKey:p,publicKeyUncompressed:w}=i;try{const m=d.length;return h===!0&&m!==p||h===!1&&m!==w?!1:!!t.fromBytes(d)}catch{return!1}}function a(d=r(i.seed)){return dS(Oi(d,i.seed,"seed"),n.ORDER)}function c(d,h=!0){return t.BASE.multiply(bs(n,d)).toBytes(h)}function u(d){const h=a(d);return{secretKey:h,publicKey:c(h)}}function l(d){if(typeof d=="bigint")return!1;if(d instanceof t)return!0;const{secretKey:h,publicKey:p,publicKeyUncompressed:w}=i;if(n.allowedLengths||h===p)return;const m=yt("key",d).length;return m===p||m===w}function f(d,h,p=!0){if(l(d)===!0)throw new Error("first arg must be private key");if(l(h)===!1)throw new Error("second arg must be public key");const w=bs(n,d);return t.fromHex(h).multiply(w).toBytes(p)}return Object.freeze({getPublicKey:c,getSharedSecret:f,keygen:u,Point:t,utils:{isValidSecretKey:s,isValidPublicKey:o,randomSecretKey:a,isValidPrivateKey:s,randomPrivateKey:a,normPrivateKeyToScalar:d=>bs(n,d),precompute(d=8,h=t.BASE){return h.precompute(d,!1)}},lengths:i})}function FS(t,e,n={}){tc(e),gc(n,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});const r=n.randomBytes||Si,i=n.hmac||((v,...g)=>uc(e,v,Vr(...g))),{Fp:s,Fn:o}=t,{ORDER:a,BITS:c}=o,{keygen:u,getPublicKey:l,getSharedSecret:f,utils:d,lengths:h}=CS(t,n),p={prehash:!1,lowS:typeof n.lowS=="boolean"?n.lowS:!1,format:void 0,extraEntropy:!1},w="compact";function m(v){const g=a>>gs;return v>g}function P(v,g){if(!o.isValidNot0(g))throw new Error(`invalid signature ${v}: out of range 1..Point.Fn.ORDER`);return g}function T(v,g){xf(g);const y=h.signature,B=g==="compact"?y:g==="recovered"?y+1:void 0;return Oi(v,B,`${g} signature`)}class I{constructor(g,y,B){this.r=P("r",g),this.s=P("s",y),B!=null&&(this.recovery=B),Object.freeze(this)}static fromBytes(g,y=w){T(g,y);let B;if(y==="der"){const{r:C,s:M}=sr.toSig(Oi(g));return new I(C,M)}y==="recovered"&&(B=g[0],y="compact",g=g.subarray(1));const A=o.BYTES,O=g.subarray(0,A),D=g.subarray(A,A*2);return new I(o.fromBytes(O),o.fromBytes(D),B)}static fromHex(g,y){return this.fromBytes(nc(g),y)}addRecoveryBit(g){return new I(this.r,this.s,g)}recoverPublicKey(g){const y=s.ORDER,{r:B,s:A,recovery:O}=this;if(O==null||![0,1,2,3].includes(O))throw new Error("recovery id invalid");if(a*Ub<y&&O>1)throw new Error("recovery id is ambiguous for h>1 curve");const D=O===2||O===3?B+a:B;if(!s.isValid(D))throw new Error("recovery id 2 or 3 invalid");const C=s.toBytes(D),M=t.fromBytes(Vr(Cb((O&1)===0),C)),L=o.inv(D),V=S(yt("msgHash",g)),q=o.create(-V*L),W=o.create(A*L),Z=t.BASE.multiplyUnsafe(q).add(M.multiplyUnsafe(W));if(Z.is0())throw new Error("point at infinify");return Z.assertValidity(),Z}hasHighS(){return m(this.s)}toBytes(g=w){if(xf(g),g==="der")return nc(sr.hexFromSig(this));const y=o.toBytes(this.r),B=o.toBytes(this.s);if(g==="recovered"){if(this.recovery==null)throw new Error("recovery bit must be present");return Vr(Uint8Array.of(this.recovery),y,B)}return Vr(y,B)}toHex(g){return fs(this.toBytes(g))}assertValidity(){}static fromCompact(g){return I.fromBytes(yt("sig",g),"compact")}static fromDER(g){return I.fromBytes(yt("sig",g),"der")}normalizeS(){return this.hasHighS()?new I(this.r,o.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return fs(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return fs(this.toBytes("compact"))}}const x=n.bits2int||function(v){if(v.length>8192)throw new Error("input is too large");const g=dc(v),y=v.length*8-c;return y>0?g>>BigInt(y):g},S=n.bits2int_modN||function(v){return o.create(x(v))},U=yo(c);function k(v){return gf("num < 2^"+c,v,or,U),o.toBytes(v)}function F(v,g){return Oi(v,void 0,"message"),g?Oi(e(v),void 0,"prehashed message"):v}function R(v,g,y){if(["recovered","canonical"].some(W=>W in y))throw new Error("sign() legacy options not supported");const{lowS:B,prehash:A,extraEntropy:O}=If(y,p);v=F(v,A);const D=S(v),C=bs(o,g),M=[k(C),k(D)];if(O!=null&&O!==!1){const W=O===!0?r(h.secretKey):O;M.push(yt("extraEntropy",W))}const L=Vr(...M),V=D;function q(W){const Z=x(W);if(!o.isValidNot0(Z))return;const z=o.inv(Z),N=t.BASE.multiply(Z).toAffine(),j=o.create(N.x);if(j===or)return;const K=o.create(z*o.create(V+j*C));if(K===or)return;let X=(N.x===j?0:2)|Number(N.y&gs),ee=K;return B&&m(K)&&(ee=o.neg(K),X^=1),new I(j,ee,X)}return{seed:L,k2sig:q}}function G(v,g,y={}){v=yt("message",v);const{seed:B,k2sig:A}=R(v,g,y);return iS(e.outputLen,o.BYTES,i)(B,A)}function H(v){let g;const y=typeof v=="string"||ec(v),B=!y&&v!==null&&typeof v=="object"&&typeof v.r=="bigint"&&typeof v.s=="bigint";if(!y&&!B)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(B)g=new I(v.r,v.s);else if(y){try{g=I.fromBytes(yt("sig",v),"der")}catch(A){if(!(A instanceof sr.Err))throw A}if(!g)try{g=I.fromBytes(yt("sig",v),"compact")}catch{return!1}}return g||!1}function E(v,g,y,B={}){const{lowS:A,prehash:O,format:D}=If(B,p);if(y=yt("publicKey",y),g=F(yt("message",g),O),"strict"in B)throw new Error("options.strict was renamed to lowS");const C=D===void 0?H(v):I.fromBytes(yt("sig",v),D);if(C===!1)return!1;try{const M=t.fromBytes(y);if(A&&C.hasHighS())return!1;const{r:L,s:V}=C,q=S(g),W=o.inv(V),Z=o.create(q*W),z=o.create(L*W),N=t.BASE.multiplyUnsafe(Z).add(M.multiplyUnsafe(z));return N.is0()?!1:o.create(N.x)===L}catch{return!1}}function b(v,g,y={}){const{prehash:B}=If(y,p);return g=F(g,B),I.fromBytes(v,"recovered").recoverPublicKey(g).toBytes()}return Object.freeze({keygen:u,getPublicKey:l,getSharedSecret:f,utils:d,lengths:h,Point:t,sign:G,verify:E,recoverPublicKey:b,Signature:I,hash:e})}function qS(t){const e={a:t.a,b:t.b,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},n=t.Fp;let r=t.allowedPrivateKeyLengths?Array.from(new Set(t.allowedPrivateKeyLengths.map(o=>Math.ceil(o/2)))):void 0;const i=Qr(e.n,{BITS:t.nBitLength,allowedLengths:r,modFromBytes:t.wrapPrivateKey}),s={Fp:n,Fn:i,allowInfinityPoint:t.allowInfinityPoint,endo:t.endo,isTorsionFree:t.isTorsionFree,clearCofactor:t.clearCofactor,fromBytes:t.fromBytes,toBytes:t.toBytes};return{CURVE:e,curveOpts:s}}function kS(t){const{CURVE:e,curveOpts:n}=qS(t),r={hmac:t.hmac,randomBytes:t.randomBytes,lowS:t.lowS,bits2int:t.bits2int,bits2int_modN:t.bits2int_modN};return{CURVE:e,curveOpts:n,hash:t.hash,ecdsaOpts:r}}function LS(t,e){const n=e.Point;return Object.assign({},e,{ProjectivePoint:n,CURVE:Object.assign({},t,xb(n.Fn.ORDER,n.Fn.BITS))})}function MS(t){const{CURVE:e,curveOpts:n,hash:r,ecdsaOpts:i}=kS(t),s=US(e,n),o=FS(s,r,i);return LS(t,o)}function Sf(t,e){const n=r=>MS({...t,hash:r});return{...n(e),create:n}}const qb={p:BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff"),n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),h:BigInt(1),a:BigInt("0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc"),b:BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5")},kb={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff"),n:BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973"),h:BigInt(1),a:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffc"),b:BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef"),Gx:BigInt("0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"),Gy:BigInt("0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f")},Lb={p:BigInt("0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),n:BigInt("0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409"),h:BigInt(1),a:BigInt("0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc"),b:BigInt("0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00"),Gx:BigInt("0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66"),Gy:BigInt("0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650")},jS=Qr(qb.p),zS=Qr(kb.p),KS=Qr(Lb.p),VS=Sf({...qb,Fp:jS,lowS:!1},ic);Sf({...kb,Fp:zS,lowS:!1},ZI),Sf({...Lb,Fp:KS,lowS:!1,allowedPrivateKeyLengths:[130,131,132]},WI);const HS=VS,Mb="base10",At="base16",Mt="base64pad",_r="base64url",vo="utf8",jb=0,ar=1,Eo=2,GS=0,zb=1,xo=12,Bf=32;function WS(){const t=Ef.utils.randomPrivateKey(),e=Ef.getPublicKey(t);return{privateKey:qt(t,At),publicKey:qt(e,At)}}function Of(){const t=Si(Bf);return qt(t,At)}function ZS(t,e){const n=Ef.getSharedSecret(sn(t,At),sn(e,At)),r=nS(lc,n,void 0,void 0,Bf);return qt(r,At)}function mc(t){const e=lc(sn(t,At));return qt(e,At)}function an(t){const e=lc(sn(t,vo));return qt(e,At)}function Kb(t){return sn(`${t}`,Mb)}function Di(t){return Number(qt(t,Mb))}function Vb(t){return t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function Hb(t){const e=t.replace(/-/g,"+").replace(/_/g,"/"),n=(4-e.length%4)%4;return e+"=".repeat(n)}function YS(t){const e=Kb(typeof t.type<"u"?t.type:jb);if(Di(e)===ar&&typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");const n=typeof t.senderPublicKey<"u"?sn(t.senderPublicKey,At):void 0,r=typeof t.iv<"u"?sn(t.iv,At):Si(xo),i=sn(t.symKey,At),s=ob(i,r).encrypt(sn(t.message,vo)),o=Gb({type:e,sealed:s,iv:r,senderPublicKey:n});return t.encoding===_r?Vb(o):o}function XS(t){const e=sn(t.symKey,At),{sealed:n,iv:r}=Io({encoded:t.encoded,encoding:t.encoding}),i=ob(e,r).decrypt(n);if(i===null)throw new Error("Failed to decrypt");return qt(i,vo)}function JS(t,e){const n=Kb(Eo),r=Si(xo),i=sn(t,vo),s=Gb({type:n,sealed:i,iv:r});return e===_r?Vb(s):s}function QS(t,e){const{sealed:n}=Io({encoded:t,encoding:e});return qt(n,vo)}function Gb(t){if(Di(t.type)===Eo)return qt(io([t.type,t.sealed]),Mt);if(Di(t.type)===ar){if(typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");return qt(io([t.type,t.senderPublicKey,t.iv,t.sealed]),Mt)}return qt(io([t.type,t.iv,t.sealed]),Mt)}function Io(t){const e=(t.encoding||Mt)===_r?Hb(t.encoded):t.encoded,n=sn(e,Mt),r=n.slice(GS,zb),i=zb;if(Di(r)===ar){const c=i+Bf,u=c+xo,l=n.slice(i,c),f=n.slice(c,u),d=n.slice(u);return{type:r,sealed:d,iv:f,senderPublicKey:l}}if(Di(r)===Eo){const c=n.slice(i),u=Si(xo);return{type:r,sealed:c,iv:u}}const s=i+xo,o=n.slice(i,s),a=n.slice(s);return{type:r,sealed:a,iv:o}}function _S(t,e){const n=Io({encoded:t,encoding:e?.encoding});return Wb({type:Di(n.type),senderPublicKey:typeof n.senderPublicKey<"u"?qt(n.senderPublicKey,At):void 0,receiverPublicKey:e?.receiverPublicKey})}function Wb(t){const e=t?.type||jb;if(e===ar){if(typeof t?.senderPublicKey>"u")throw new Error("missing sender public key");if(typeof t?.receiverPublicKey>"u")throw new Error("missing receiver public key")}return{type:e,senderPublicKey:t?.senderPublicKey,receiverPublicKey:t?.receiverPublicKey}}function Zb(t){return t.type===ar&&typeof t.senderPublicKey=="string"&&typeof t.receiverPublicKey=="string"}function Yb(t){return t.type===Eo}function $S(t){const e=Buffer.from(t.x,"base64"),n=Buffer.from(t.y,"base64");return io([new Uint8Array([4]),e,n])}function eB(t,e){const[n,r,i]=t.split("."),s=Buffer.from(Hb(i),"base64");if(s.length!==64)throw new Error("Invalid signature length");const o=s.slice(0,32),a=s.slice(32,64),c=`${n}.${r}`,u=lc(c),l=$S(e);if(!HS.verify(io([o,a]),u,l))throw new Error("Invalid signature");return kl(t).payload}const tB="irn";function vc(t){return t?.relay||{protocol:tB}}function ws(t){const e=R7[t];if(typeof e>"u")throw new Error(`Relay Protocol not supported: ${t}`);return e}var nB=Object.defineProperty,rB=Object.defineProperties,iB=Object.getOwnPropertyDescriptors,Xb=Object.getOwnPropertySymbols,sB=Object.prototype.hasOwnProperty,oB=Object.prototype.propertyIsEnumerable,Jb=(t,e,n)=>e in t?nB(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Af=(t,e)=>{for(var n in e||(e={}))sB.call(e,n)&&Jb(t,n,e[n]);if(Xb)for(var n of Xb(e))oB.call(e,n)&&Jb(t,n,e[n]);return t},aB=(t,e)=>rB(t,iB(e));function cB(t,e="-"){const n={},r="relay"+e;return Object.keys(t).forEach(i=>{if(i.startsWith(r)){const s=i.replace(r,""),o=t[i];n[s]=o}}),n}function Qb(t){if(!t.includes("wc:")){const u=E1(t);u!=null&&u.includes("wc:")&&(t=u)}t=t.includes("wc://")?t.replace("wc://",""):t,t=t.includes("wc:")?t.replace("wc:",""):t;const e=t.indexOf(":"),n=t.indexOf("?")!==-1?t.indexOf("?"):void 0,r=t.substring(0,e),i=t.substring(e+1,n).split("@"),s=typeof n<"u"?t.substring(n):"",o=new URLSearchParams(s),a=Object.fromEntries(o.entries()),c=typeof a.methods=="string"?a.methods.split(","):void 0;return{protocol:r,topic:uB(i[0]),version:parseInt(i[1],10),symKey:a.symKey,relay:cB(a),methods:c,expiryTimestamp:a.expiryTimestamp?parseInt(a.expiryTimestamp,10):void 0}}function uB(t){return t.startsWith("//")?t.substring(2):t}function lB(t,e="-"){const n="relay",r={};return Object.keys(t).forEach(i=>{const s=i,o=n+e+s;t[s]&&(r[o]=t[s])}),r}function _b(t){const e=new URLSearchParams,n=Af(Af(aB(Af({},lB(t.relay)),{symKey:t.symKey}),t.expiryTimestamp&&{expiryTimestamp:t.expiryTimestamp.toString()}),t.methods&&{methods:t.methods.join(",")});return Object.entries(n).sort(([r],[i])=>r.localeCompare(i)).forEach(([r,i])=>{i!==void 0&&e.append(r,String(i))}),`${t.protocol}:${t.topic}@${t.version}?${e}`}function Ec(t,e,n){return`${t}?wc_ev=${n}&topic=${e}`}var fB=Object.defineProperty,hB=Object.defineProperties,dB=Object.getOwnPropertyDescriptors,$b=Object.getOwnPropertySymbols,pB=Object.prototype.hasOwnProperty,gB=Object.prototype.propertyIsEnumerable,ew=(t,e,n)=>e in t?fB(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,bB=(t,e)=>{for(var n in e||(e={}))pB.call(e,n)&&ew(t,n,e[n]);if($b)for(var n of $b(e))gB.call(e,n)&&ew(t,n,e[n]);return t},wB=(t,e)=>hB(t,dB(e));function ys(t){const e=[];return t.forEach(n=>{const[r,i]=n.split(":");e.push(`${r}:${i}`)}),e}function tw(t){const e=[];return Object.values(t).forEach(n=>{e.push(...ys(n.accounts))}),[...new Set(e)]}function yB(t){const e=[];return Object.values(t).forEach(n=>{e.push(...n.methods)}),[...new Set(e)]}function mB(t){const e=[];return Object.values(t).forEach(n=>{e.push(...n.events)}),[...new Set(e)]}function vB(t,e){const n=[];return Object.values(t).forEach(r=>{ys(r.accounts).includes(e)&&n.push(...r.methods)}),n}function EB(t,e){const n=[];return Object.values(t).forEach(r=>{ys(r.accounts).includes(e)&&n.push(...r.events)}),n}function nw(t){return t.includes(":")}function xB(t){return nw(t)?t.split(":")[0]:t}function rw(t){var e,n,r;const i={};if(!So(t))return i;for(const[s,o]of Object.entries(t)){const a=nw(s)?[s]:o.chains,c=o.methods||[],u=o.events||[],l=xB(s);i[l]=wB(bB({},i[l]),{chains:Ii(a,(e=i[l])==null?void 0:e.chains),methods:Ii(c,(n=i[l])==null?void 0:n.methods),events:Ii(u,(r=i[l])==null?void 0:r.events)})}return i}function IB(t){const e={};return t?.forEach(n=>{var r;const[i,s]=n.split(":");e[i]||(e[i]={accounts:[],chains:[],events:[],methods:[]}),e[i].accounts.push(n),(r=e[i].chains)==null||r.push(`${i}:${s}`)}),e}function iw(t,e){e=e.map(r=>r.replace("did:pkh:",""));const n=IB(e);for(const[r,i]of Object.entries(n))i.methods?i.methods=Ii(i.methods,t):i.methods=t,i.events=["chainChanged","accountsChanged"];return n}function SB(t,e){var n,r,i,s,o,a;const c=rw(t),u=rw(e),l={},f=Object.keys(c).concat(Object.keys(u));for(const d of f)l[d]={chains:Ii((n=c[d])==null?void 0:n.chains,(r=u[d])==null?void 0:r.chains),methods:Ii((i=c[d])==null?void 0:i.methods,(s=u[d])==null?void 0:s.methods),events:Ii((o=c[d])==null?void 0:o.events,(a=u[d])==null?void 0:a.events)};return l}const BB={INVALID_METHOD:{message:"Invalid method.",code:1001},INVALID_EVENT:{message:"Invalid event.",code:1002},INVALID_UPDATE_REQUEST:{message:"Invalid update request.",code:1003},INVALID_EXTEND_REQUEST:{message:"Invalid extend request.",code:1004},INVALID_SESSION_SETTLE_REQUEST:{message:"Invalid session settle request.",code:1005},UNAUTHORIZED_METHOD:{message:"Unauthorized method.",code:3001},UNAUTHORIZED_EVENT:{message:"Unauthorized event.",code:3002},UNAUTHORIZED_UPDATE_REQUEST:{message:"Unauthorized update request.",code:3003},UNAUTHORIZED_EXTEND_REQUEST:{message:"Unauthorized extend request.",code:3004},USER_REJECTED:{message:"User rejected.",code:5e3},USER_REJECTED_CHAINS:{message:"User rejected chains.",code:5001},USER_REJECTED_METHODS:{message:"User rejected methods.",code:5002},USER_REJECTED_EVENTS:{message:"User rejected events.",code:5003},UNSUPPORTED_CHAINS:{message:"Unsupported chains.",code:5100},UNSUPPORTED_METHODS:{message:"Unsupported methods.",code:5101},UNSUPPORTED_EVENTS:{message:"Unsupported events.",code:5102},UNSUPPORTED_ACCOUNTS:{message:"Unsupported accounts.",code:5103},UNSUPPORTED_NAMESPACE_KEY:{message:"Unsupported namespace key.",code:5104},USER_DISCONNECTED:{message:"User disconnected.",code:6e3},SESSION_SETTLEMENT_FAILED:{message:"Session settlement failed.",code:7e3},WC_METHOD_UNSUPPORTED:{message:"Unsupported wc_ method.",code:10001}},OB={NOT_INITIALIZED:{message:"Not initialized.",code:1},NO_MATCHING_KEY:{message:"No matching key.",code:2},RESTORE_WILL_OVERRIDE:{message:"Restore will override.",code:3},RESUBSCRIBED:{message:"Resubscribed.",code:4},MISSING_OR_INVALID:{message:"Missing or invalid.",code:5},EXPIRED:{message:"Expired.",code:6},UNKNOWN_TYPE:{message:"Unknown type.",code:7},MISMATCHED_TOPIC:{message:"Mismatched topic.",code:8},NON_CONFORMING_NAMESPACES:{message:"Non conforming namespaces.",code:9}};function _(t,e){const{message:n,code:r}=OB[t];return{message:e?`${n} ${e}`:n,code:r}}function Ue(t,e){const{message:n,code:r}=BB[t];return{message:e?`${n} ${e}`:n,code:r}}function ms(t,e){return Array.isArray(t)?typeof e<"u"&&t.length?t.every(e):!0:!1}function So(t){return Object.getPrototypeOf(t)===Object.prototype&&Object.keys(t).length}function Ge(t){return typeof t>"u"}function Me(t,e){return e&&Ge(t)?!0:typeof t=="string"&&!!t.trim().length}function Pf(t,e){return e&&Ge(t)?!0:typeof t=="number"&&!isNaN(t)}function AB(t,e){const{requiredNamespaces:n}=e,r=Object.keys(t.namespaces),i=Object.keys(n);let s=!0;return Ei(i,r)?(r.forEach(o=>{const{accounts:a,methods:c,events:u}=t.namespaces[o],l=ys(a),f=n[o];(!Ei(u1(o,f),l)||!Ei(f.methods,c)||!Ei(f.events,u))&&(s=!1)}),s):!1}function xc(t){return Me(t,!1)&&t.includes(":")?t.split(":").length===2:!1}function PB(t){if(Me(t,!1)&&t.includes(":")){const e=t.split(":");if(e.length===3){const n=e[0]+":"+e[1];return!!e[2]&&xc(n)}}return!1}function DB(t){function e(n){try{return typeof new URL(n)<"u"}catch{return!1}}try{if(Me(t,!1)){if(e(t))return!0;const n=E1(t);return e(n)}}catch{}return!1}function RB(t){var e;return(e=t?.proposer)==null?void 0:e.publicKey}function TB(t){return t?.topic}function NB(t,e){let n=null;return Me(t?.publicKey,!1)||(n=_("MISSING_OR_INVALID",`${e} controller public key should be a string`)),n}function sw(t){let e=!0;return ms(t)?t.length&&(e=t.every(n=>Me(n,!1))):e=!1,e}function UB(t,e,n){let r=null;return ms(e)&&e.length?e.forEach(i=>{r||xc(i)||(r=Ue("UNSUPPORTED_CHAINS",`${n}, chain ${i} should be a string and conform to "namespace:chainId" format`))}):xc(t)||(r=Ue("UNSUPPORTED_CHAINS",`${n}, chains must be defined as "namespace:chainId" e.g. "eip155:1": {...} in the namespace key OR as an array of CAIP-2 chainIds e.g. eip155: { chains: ["eip155:1", "eip155:5"] }`)),r}function CB(t,e,n){let r=null;return Object.entries(t).forEach(([i,s])=>{if(r)return;const o=UB(i,u1(i,s),`${e} ${n}`);o&&(r=o)}),r}function FB(t,e){let n=null;return ms(t)?t.forEach(r=>{n||PB(r)||(n=Ue("UNSUPPORTED_ACCOUNTS",`${e}, account ${r} should be a string and conform to "namespace:chainId:address" format`))}):n=Ue("UNSUPPORTED_ACCOUNTS",`${e}, accounts should be an array of strings conforming to "namespace:chainId:address" format`),n}function qB(t,e){let n=null;return Object.values(t).forEach(r=>{if(n)return;const i=FB(r?.accounts,`${e} namespace`);i&&(n=i)}),n}function kB(t,e){let n=null;return sw(t?.methods)?sw(t?.events)||(n=Ue("UNSUPPORTED_EVENTS",`${e}, events should be an array of strings or empty array for no events`)):n=Ue("UNSUPPORTED_METHODS",`${e}, methods should be an array of strings or empty array for no methods`),n}function ow(t,e){let n=null;return Object.values(t).forEach(r=>{if(n)return;const i=kB(r,`${e}, namespace`);i&&(n=i)}),n}function LB(t,e,n){let r=null;if(t&&So(t)){const i=ow(t,e);i&&(r=i);const s=CB(t,e,n);s&&(r=s)}else r=_("MISSING_OR_INVALID",`${e}, ${n} should be an object with data`);return r}function Df(t,e){let n=null;if(t&&So(t)){const r=ow(t,e);r&&(n=r);const i=qB(t,e);i&&(n=i)}else n=_("MISSING_OR_INVALID",`${e}, namespaces should be an object with data`);return n}function aw(t){return Me(t.protocol,!0)}function MB(t,e){let n=!1;return e&&!t?n=!0:t&&ms(t)&&t.length&&t.forEach(r=>{n=aw(r)}),n}function jB(t){return typeof t=="number"}function jt(t){return typeof t<"u"&&typeof t!==null}function zB(t){return!(!t||typeof t!="object"||!t.code||!Pf(t.code,!1)||!t.message||!Me(t.message,!1))}function KB(t){return!(Ge(t)||!Me(t.method,!1))}function VB(t){return!(Ge(t)||Ge(t.result)&&Ge(t.error)||!Pf(t.id,!1)||!Me(t.jsonrpc,!1))}function HB(t){return!(Ge(t)||!Me(t.name,!1))}function cw(t,e){return!(!xc(e)||!tw(t).includes(e))}function GB(t,e,n){return Me(n,!1)?vB(t,e).includes(n):!1}function WB(t,e,n){return Me(n,!1)?EB(t,e).includes(n):!1}function uw(t,e,n){let r=null;const i=ZB(t),s=YB(e),o=Object.keys(i),a=Object.keys(s),c=lw(Object.keys(t)),u=lw(Object.keys(e)),l=c.filter(f=>!u.includes(f));return l.length&&(r=_("NON_CONFORMING_NAMESPACES",`${n} namespaces keys don't satisfy requiredNamespaces.
22
22
  Required: ${l.toString()}
23
- Received: ${Object.keys(e).toString()}`)),Mr(o,a)||(r=G("NON_CONFORMING_NAMESPACES",`${n} namespaces chains don't satisfy required namespaces.
23
+ Received: ${Object.keys(e).toString()}`)),Ei(o,a)||(r=_("NON_CONFORMING_NAMESPACES",`${n} namespaces chains don't satisfy required namespaces.
24
24
  Required: ${o.toString()}
25
- Approved: ${a.toString()}`)),Object.keys(e).forEach(f=>{if(!f.includes(":")||r)return;const d=$i(e[f].accounts);d.includes(f)||(r=G("NON_CONFORMING_NAMESPACES",`${n} namespaces accounts don't satisfy namespace accounts for ${f}
25
+ Approved: ${a.toString()}`)),Object.keys(e).forEach(f=>{if(!f.includes(":")||r)return;const d=ys(e[f].accounts);d.includes(f)||(r=_("NON_CONFORMING_NAMESPACES",`${n} namespaces accounts don't satisfy namespace accounts for ${f}
26
26
  Required: ${f}
27
- Approved: ${d.toString()}`))}),o.forEach(f=>{r||(Mr(i[f].methods,s[f].methods)?Mr(i[f].events,s[f].events)||(r=G("NON_CONFORMING_NAMESPACES",`${n} namespaces events don't satisfy namespace events for ${f}`)):r=G("NON_CONFORMING_NAMESPACES",`${n} namespaces methods don't satisfy namespace methods for ${f}`))}),r}function $9(t){const e={};return Object.keys(t).forEach(n=>{var r;n.includes(":")?e[n]=t[n]:(r=t[n].chains)==null||r.forEach(i=>{e[i]={methods:t[n].methods,events:t[n].events}})}),e}function T1(t){return[...new Set(t.map(e=>e.includes(":")?e.split(":")[0]:e))]}function P9(t){const e={};return Object.keys(t).forEach(n=>{n.includes(":")?e[n]=t[n]:$i(t[n].accounts)?.forEach(i=>{e[i]={accounts:t[n].accounts.filter(s=>s.includes(`${i}:`)),methods:t[n].methods,events:t[n].events}})}),e}function T9(t,e){return gl(t,!1)&&t<=e.max&&t>=e.min}function R1(){const t=ds();return new Promise(e=>{switch(t){case Bt.browser:e(R9());break;case Bt.reactNative:e(N9());break;case Bt.node:e(C9());break;default:e(!0)}})}function R9(){return Ei()&&navigator?.onLine}async function N9(){return sr()&&typeof global<"u"&&global!=null&&global.NetInfo?(await(global==null?void 0:global.NetInfo.fetch()))?.isConnected:!0}function C9(){return!0}function U9(t){switch(ds()){case Bt.browser:F9(t);break;case Bt.reactNative:L9(t);break}}function F9(t){!sr()&&Ei()&&(window.addEventListener("online",()=>t(!0)),window.addEventListener("offline",()=>t(!1)))}function L9(t){sr()&&typeof global<"u"&&global!=null&&global.NetInfo&&global?.NetInfo.addEventListener(e=>t(e?.isConnected))}function k9(){var t;return Ei()&&Pr()?((t=Pr())==null?void 0:t.visibilityState)==="visible":!0}const bl={};class Bs{static get(e){return bl[e]}static set(e,n){bl[e]=n}static delete(e){delete bl[e]}}function q9(t){const e=is.decode(t);if(e.length<33)throw new Error("Too short to contain a public key");return e.slice(1,33)}function M9({publicKey:t,signature:e,payload:n}){var r;const i=wl(n.method),s=128|parseInt(((r=n.version)==null?void 0:r.toString())||"4"),o=H9(n.address),a=n.era==="00"?new Uint8Array([0]):wl(n.era);if(a.length!==1&&a.length!==2)throw new Error("Invalid era length");const c=parseInt(n.nonce,16),u=new Uint8Array([c&255,c>>8&255]),l=BigInt(`0x${z9(n.tip)}`),f=K9(l),d=new Uint8Array([0,...t,o,...e,...a,...u,...f,...i]),h=V9(d.length+1);return new Uint8Array([...h,s,...d])}function j9(t){const e=wl(t),n=__.blake2b(e,void 0,32);return"0x"+Buffer.from(n).toString("hex")}function wl(t){return new Uint8Array(t.replace(/^0x/,"").match(/.{1,2}/g).map(e=>parseInt(e,16)))}function z9(t){return t.startsWith("0x")?t.slice(2):t}function H9(t){const e=is.decode(t)[0];return e===42?0:e===60?2:1}function V9(t){if(t<64)return new Uint8Array([t<<2]);if(t<16384){const e=t<<2|1;return new Uint8Array([e&255,e>>8&255])}else if(t<1<<30){const e=t<<2|2;return new Uint8Array([e&255,e>>8&255,e>>16&255,e>>24&255])}else throw new Error("Compact encoding > 2^30 not supported")}function K9(t){if(t<BigInt(1)<<BigInt(6))return new Uint8Array([Number(t<<BigInt(2))]);if(t<BigInt(1)<<BigInt(14)){const e=t<<BigInt(2)|BigInt(1);return new Uint8Array([Number(e&BigInt(255)),Number(e>>BigInt(8)&BigInt(255))])}else if(t<BigInt(1)<<BigInt(30)){const e=t<<BigInt(2)|BigInt(2);return new Uint8Array([Number(e&BigInt(255)),Number(e>>BigInt(8)&BigInt(255)),Number(e>>BigInt(16)&BigInt(255)),Number(e>>BigInt(24)&BigInt(255))])}else throw new Error("BigInt compact encoding not supported > 2^30")}function G9(t){const e=Uint8Array.from(Buffer.from(t.signature,"hex")),n=q9(t.transaction.address),r=M9({publicKey:n,signature:e,payload:t.transaction}),i=Buffer.from(r).toString("hex");return j9(i)}function N1({logger:t,name:e}){const n=typeof t=="string"?Nf({opts:{level:t,name:e}}).logger:t;return n.level=typeof t=="string"?t:t.level,n}const W9="PARSE_ERROR",Z9="INVALID_REQUEST",Y9="METHOD_NOT_FOUND",X9="INVALID_PARAMS",C1="INTERNAL_ERROR",ml="SERVER_ERROR",J9=[-32700,-32600,-32601,-32602,-32603],Os={[W9]:{code:-32700,message:"Parse error"},[Z9]:{code:-32600,message:"Invalid Request"},[Y9]:{code:-32601,message:"Method not found"},[X9]:{code:-32602,message:"Invalid params"},[C1]:{code:-32603,message:"Internal error"},[ml]:{code:-32e3,message:"Server error"}},U1=ml;function Q9(t){return J9.includes(t)}function F1(t){return Object.keys(Os).includes(t)?Os[t]:Os[U1]}function e7(t){const e=Object.values(Os).find(n=>n.code===t);return e||Os[U1]}function t7(t,e,n){return t.message.includes("getaddrinfo ENOTFOUND")||t.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${n} RPC url at ${e}`):t}var L1={};/*! *****************************************************************************
27
+ Approved: ${d.toString()}`))}),o.forEach(f=>{r||(Ei(i[f].methods,s[f].methods)?Ei(i[f].events,s[f].events)||(r=_("NON_CONFORMING_NAMESPACES",`${n} namespaces events don't satisfy namespace events for ${f}`)):r=_("NON_CONFORMING_NAMESPACES",`${n} namespaces methods don't satisfy namespace methods for ${f}`))}),r}function ZB(t){const e={};return Object.keys(t).forEach(n=>{var r;n.includes(":")?e[n]=t[n]:(r=t[n].chains)==null||r.forEach(i=>{e[i]={methods:t[n].methods,events:t[n].events}})}),e}function lw(t){return[...new Set(t.map(e=>e.includes(":")?e.split(":")[0]:e))]}function YB(t){const e={};return Object.keys(t).forEach(n=>{n.includes(":")?e[n]=t[n]:ys(t[n].accounts)?.forEach(i=>{e[i]={accounts:t[n].accounts.filter(s=>s.includes(`${i}:`)),methods:t[n].methods,events:t[n].events}})}),e}function XB(t,e){return Pf(t,!1)&&t<=e.max&&t>=e.min}function fw(){const t=lo();return new Promise(e=>{switch(t){case Xt.browser:e(JB());break;case Xt.reactNative:e(QB());break;case Xt.node:e(_B());break;default:e(!0)}})}function JB(){return vi()&&navigator?.onLine}async function QB(){return kr()&&typeof global<"u"&&global!=null&&global.NetInfo?(await(global==null?void 0:global.NetInfo.fetch()))?.isConnected:!0}function _B(){return!0}function $B(t){switch(lo()){case Xt.browser:eO(t);break;case Xt.reactNative:tO(t);break}}function eO(t){!kr()&&vi()&&(window.addEventListener("online",()=>t(!0)),window.addEventListener("offline",()=>t(!1)))}function tO(t){kr()&&typeof global<"u"&&global!=null&&global.NetInfo&&global?.NetInfo.addEventListener(e=>t(e?.isConnected))}function nO(){var t;return vi()&&ui()?((t=ui())==null?void 0:t.visibilityState)==="visible":!0}const Rf={};class Bo{static get(e){return Rf[e]}static set(e,n){Rf[e]=n}static delete(e){delete Rf[e]}}function rO(t){const e=os.decode(t);if(e.length<33)throw new Error("Too short to contain a public key");return e.slice(1,33)}function iO({publicKey:t,signature:e,payload:n}){var r;const i=Tf(n.method),s=128|parseInt(((r=n.version)==null?void 0:r.toString())||"4"),o=aO(n.address),a=n.era==="00"?new Uint8Array([0]):Tf(n.era);if(a.length!==1&&a.length!==2)throw new Error("Invalid era length");const c=parseInt(n.nonce,16),u=new Uint8Array([c&255,c>>8&255]),l=BigInt(`0x${oO(n.tip)}`),f=uO(l),d=new Uint8Array([0,...t,o,...e,...a,...u,...f,...i]),h=cO(d.length+1);return new Uint8Array([...h,s,...d])}function sO(t){const e=Tf(t),n=K7.blake2b(e,void 0,32);return"0x"+Buffer.from(n).toString("hex")}function Tf(t){return new Uint8Array(t.replace(/^0x/,"").match(/.{1,2}/g).map(e=>parseInt(e,16)))}function oO(t){return t.startsWith("0x")?t.slice(2):t}function aO(t){const e=os.decode(t)[0];return e===42?0:e===60?2:1}function cO(t){if(t<64)return new Uint8Array([t<<2]);if(t<16384){const e=t<<2|1;return new Uint8Array([e&255,e>>8&255])}else if(t<1<<30){const e=t<<2|2;return new Uint8Array([e&255,e>>8&255,e>>16&255,e>>24&255])}else throw new Error("Compact encoding > 2^30 not supported")}function uO(t){if(t<BigInt(1)<<BigInt(6))return new Uint8Array([Number(t<<BigInt(2))]);if(t<BigInt(1)<<BigInt(14)){const e=t<<BigInt(2)|BigInt(1);return new Uint8Array([Number(e&BigInt(255)),Number(e>>BigInt(8)&BigInt(255))])}else if(t<BigInt(1)<<BigInt(30)){const e=t<<BigInt(2)|BigInt(2);return new Uint8Array([Number(e&BigInt(255)),Number(e>>BigInt(8)&BigInt(255)),Number(e>>BigInt(16)&BigInt(255)),Number(e>>BigInt(24)&BigInt(255))])}else throw new Error("BigInt compact encoding not supported > 2^30")}function lO(t){const e=Uint8Array.from(Buffer.from(t.signature,"hex")),n=rO(t.transaction.address),r=iO({publicKey:n,signature:e,payload:t.transaction}),i=Buffer.from(r).toString("hex");return sO(i)}function hw({logger:t,name:e}){const n=typeof t=="string"?nd({opts:{level:t,name:e}}).logger:t;return n.level=typeof t=="string"?t:t.level,n}const fO="https://api.pay.walletconnect.com",hO="js-walletconnect-pay",dO="1.0.3",En="WalletConnectPay";function pO(){return p1()?"rn-ios":d1()?"rn-android":vi()?"browser":uo()?"node":"unknown"}var gO=Object.defineProperty,bO=(t,e,n)=>e in t?gO(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,dw=(t,e,n)=>bO(t,typeof e!="symbol"?e+"":e,n);class Ne extends Error{constructor(e,n,r){super(n),dw(this,"code"),dw(this,"originalMessage"),this.name="PayError",this.code=e,this.originalMessage=r??n,Object.setPrototypeOf(this,Ne.prototype)}static fromNativeError(e){if(e instanceof Ne)return e;const n=e instanceof Error?e.message:String(e);return n.includes("JSON parse error")?new Ne("JSON_PARSE",n):n.includes("JSON serialize error")?new Ne("JSON_SERIALIZE",n):n.includes("Payment options error")?new Ne("PAYMENT_OPTIONS",n):n.includes("Payment request error")?new Ne("PAYMENT_REQUEST",n):n.includes("Confirm payment error")?new Ne("CONFIRM_PAYMENT",n):new Ne("UNKNOWN",n)}}class Nf extends Ne{constructor(){super("NATIVE_MODULE_NOT_FOUND","WalletConnect Pay native module not found. Make sure @walletconnect/react-native-compat is installed and linked."),this.name="NativeModuleNotFoundError",Object.setPrototypeOf(this,Nf.prototype)}}class Uf extends Ne{constructor(e){super("PAYMENT_OPTIONS",`Failed to get payment options: ${e}`,e),this.name="PaymentOptionsError",Object.setPrototypeOf(this,Uf.prototype)}}class Cf extends Ne{constructor(e){super("PAYMENT_REQUEST",`Failed to get payment actions: ${e}`,e),this.name="PaymentActionsError",Object.setPrototypeOf(this,Cf.prototype)}}class Ff extends Ne{constructor(e){super("CONFIRM_PAYMENT",`Failed to confirm payment: ${e}`,e),this.name="ConfirmPaymentError",Object.setPrototypeOf(this,Ff.prototype)}}function wO(t){var e;return JSON.stringify({paymentLink:t.paymentLink,accounts:t.accounts,includePaymentInfo:(e=t.includePaymentInfo)!=null?e:!1})}function yO(t){return JSON.stringify({paymentId:t.paymentId,optionId:t.optionId})}function mO(t){return JSON.stringify({paymentId:t.paymentId,optionId:t.optionId,signatures:t.signatures,collectedData:t.collectedData})}function vO(t){const e=JSON.parse(t);if(!e||typeof e!="object")throw new Ne("JSON_PARSE","Invalid payment options response format");return e}function EO(t){const e=JSON.parse(t);if(!Array.isArray(e))throw new Ne("JSON_PARSE","Invalid required actions response format: expected array");return e}function xO(t){const e=JSON.parse(t);if(!e||typeof e!="object")throw new Ne("JSON_PARSE","Invalid confirm payment response format");return e}function qf(t){return Ne.fromNativeError(t)}var IO=Object.defineProperty,SO=(t,e,n)=>e in t?IO(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,BO=(t,e,n)=>SO(t,typeof e!="symbol"?e+"":e,n);class pw{constructor(e){BO(this,"backend"),this.backend=e}async getPaymentOptions(e){try{const n=await this.backend.getPaymentOptions(wO(e));return vO(n)}catch(n){throw qf(n)}}async getRequiredPaymentActions(e){try{const n=await this.backend.getRequiredPaymentActions(yO(e));return EO(n)}catch(n){throw qf(n)}}async confirmPayment(e){try{const n=await this.backend.confirmPayment(mO(e));return xO(n)}catch(n){throw qf(n)}}}let $r;function gw(){var t,e;if($r!==void 0)return $r;try{const n=globalThis.ReactNative;if((t=n?.NativeModules)!=null&&t.RNWalletConnectPay)return $r=n.NativeModules.RNWalletConnectPay,$r;const r=(e=globalThis.expo)==null?void 0:e.modules;return r!=null&&r.RNWalletConnectPay?($r=r.RNWalletConnectPay,$r):($r=null,null)}catch{return $r=null,null}}function OO(){return gw()!==null}function AO(t){const e=gw();if(!e)throw new Nf;if(e.initialize)try{e.initialize(JSON.stringify(t))}catch(n){throw new Ne("INITIALIZATION_ERROR",`Failed to initialize native Pay module: ${n instanceof Error?n.message:String(n)}`)}return{getPaymentOptions:n=>e.getPaymentOptions(n),getRequiredPaymentActions:n=>e.getRequiredPaymentActions(n),confirmPayment:n=>e.confirmPayment(n)}}function PO(t){const e=AO(t);return new pw(e)}const DO="W2FGuATCZLjPaQyE1gheW1ihm5tq14hm7iJqFdH96+ZDxZDmsHi5NCsk/KOGtvqtrSMatVuFDvxvL0vn2I8RqCRqruyMrTmK/X/ilDigqqqqqqqqqqpqA8keya2fSdZ5yVZYYJEqdKWIwontmv5/EMwjRC9LPnVmOWLhLFFWrcKj7WuuuuORdZEFSVKFTs+44f4tddg8ROKBX/Azuh06RoPxsDVBRl0VGGNEoUuaku5mmC/ukCKHlhivYLM4HMbQDLMQM6254A1XfttkApfccN99/4A7w24qrIX9wVzHR2SnFLblJ8yQ05RTZOrgWWcL5mjx+YLU0Dv0UKmBGUwo+tRCKhRVQ1Et5FhxjlSRaxQK6CJH0OkOP+xlj2sj6VVBd03qqPEDmtIsvfWJ3HkTBjn6jj73HUfKE+gPYBzfyXx2eGAbk1wR44l2qMicV7GJnkUmkuhDPKLwOUU+fUULcg35woOS1kZBI/VEKX8aQnuLS5ZCPwu0ON7PbfrY6kXPCy8rM9UvIZAphp6mMUoKMgiZTBNFDbVVKpJ8x4MLie6cqyNkCRf+XUddFdb9VWeItc7XQ7X7jWIjfswM29mpv8GErJ3jUF8RaphB/WUIQonWdY4rFvgjLPDwMZ6mjiK45f3S8zpw54TGsOiSJDRGpgYXtJGKBjqn0ajBjFNELbFWdD2ix4Pxfuoof1J6M9sSC/1Ab3pFCl2cSiKH8PGX2u6a89aIa59x0iVKbvy+ZltckHcrXWFQ2/AtsbFxPSe5A++pqpBTQwX9XHlWEISFl7nM631NhmdEm51DgHDlJ/XikrbnTNlRt6I3pVXvOErRtiyN1IE4vlO3j/4lc1TIcWo9BVHa/gz5Fb+esU3zE77oa0HKMYcg7F8qZMhwLdcP+egT3Wx2mVKIk+PmgedzGD50L6d2+H0f6bcKpXKV0LndDciCweTM9uZY7LwfE/nP5/vgJUcYuvq9Ba83tGXzNfTZHEY5m5GJTLTjjzYJK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SWkDifPxxw/NhCRSz8Wls3azbvhiES6MTFd6F6d7phUgOWf1jqWDCtbWgAymm3tqy/31e0imZQirp9b6O8sEa2r2XSCOpl5u9NXpQ0bSIdJBPDb8h/OTk7/XoWbp++b1blxMz5wxEB+gVFv55w/xiJksYp6bjPpMV1wlfHUGn6blr2KbfdnvzU9C7ZE5UKpvpq31Vgc5Qae9rn5Kbj1r70VmypGxrfJRQsXAT/UQylM0trJQ/L31Ef9LmSnL/17z27NW4RVOP67lV5qvSTYKER07SNuC9n2uUqbDASVKVZGXdQoXMW3eSI+2fFp67hHEdoTgFSrvRErdXvoszG6dGW5924Mizyu824fQof4XSf2rl0bxhnBFhZE5l1QbD549xltS25fXZwiebqn/hKPQo5vnF4KHSj9J4lgrgPyAOcBjgHe57rYwmoDYdAbK1DuxSPsDLX6vgykmLkZAf6aoAkPK1I80bG7n1GA+AKB1bs/SHKSA7SvSru57jlkjy0ttmI1UPf924IzqDH3/cfW1gU7LhcZyG0nsHBEAS9JF3xp3L4TWPHmZsk1876XQvIDSYcUP6Ycm94LAzGt1HJjvVTOQVd39j3UHK7d2h4Qj36Q1f//meaQ24F6dm2DOfg39e/zqz74+rBILnncb9BQaaqCq5R5QArsgNuft+2esKkolt4yUuoAoq2XCFFcjldv+H/ZRbIwdSUzPHn/moO56ehsUudljT6Yz0rAyv7fn0dKxNTtfMKDF2ACV5kKF5J0gR61/fyG2GQohnahAoreJAsedcrXvz+uaNgAnTfAOwdailwekRR77x+2HWys4dtyvf88+c4tR7Pw2/KkH8w38yxvBxj9kLZBWP/0GAv06879Dc6sk/";let de;const cr=new Array(128).fill(void 0);cr.push(void 0,null,!0,!1);function Q(t){return cr[t]}const bw=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};typeof TextDecoder<"u"&&bw.decode();let Oo=null;function Ao(){return(Oo===null||Oo.byteLength===0)&&(Oo=new Uint8Array(de.memory.buffer)),Oo}function ur(t,e){return t=t>>>0,bw.decode(Ao().subarray(t,t+e))}let Po=cr.length;function oe(t){Po===cr.length&&cr.push(cr.length+1);const e=Po;return Po=cr[e],cr[e]=t,e}function ke(t,e){try{return t.apply(this,e)}catch(n){de.__wbindgen_export_0(oe(n))}}function Ri(t){return t==null}function RO(t){t<132||(cr[t]=Po,Po=t)}function ei(t){const e=Q(t);return RO(t),e}function TO(t,e){return t=t>>>0,Ao().subarray(t/1,t/1+e)}let ti=0;const Ic=typeof TextEncoder<"u"?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},NO=typeof Ic.encodeInto=="function"?function(t,e){return Ic.encodeInto(t,e)}:function(t,e){const n=Ic.encode(t);return e.set(n),{read:t.length,written:n.length}};function vs(t,e,n){if(n===void 0){const a=Ic.encode(t),c=e(a.length,1)>>>0;return Ao().subarray(c,c+a.length).set(a),ti=a.length,c}let r=t.length,i=e(r,1)>>>0;const s=Ao();let o=0;for(;o<r;o++){const a=t.charCodeAt(o);if(a>127)break;s[i+o]=a}if(o!==r){o!==0&&(t=t.slice(o)),i=n(i,r,r=o+t.length*3,1)>>>0;const a=Ao().subarray(i+o,i+r),c=NO(t,a);o+=c.written,i=n(i,r,o,1)>>>0}return ti=o,i}let Ti=null;function Ni(){return(Ti===null||Ti.buffer.detached===!0||Ti.buffer.detached===void 0&&Ti.buffer!==de.memory.buffer)&&(Ti=new DataView(de.memory.buffer)),Ti}const ww=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>{de.__wbindgen_export_3.get(t.dtor)(t.a,t.b)});function kf(t,e,n,r){const i={a:t,b:e,cnt:1,dtor:n},s=(...o)=>{i.cnt++;const a=i.a;i.a=0;try{return r(a,i.b,...o)}finally{--i.cnt===0?(de.__wbindgen_export_3.get(i.dtor)(a,i.b),ww.unregister(i)):i.a=a}};return s.original=i,ww.register(s,i,i),s}function UO(t,e){de.__wbindgen_export_4(t,e)}function CO(t,e){de.__wbindgen_export_5(t,e)}function FO(t,e,n){de.__wbindgen_export_6(t,e,oe(n))}function qO(t,e,n,r){de.__wbindgen_export_7(t,e,oe(n),oe(r))}const kO=["default","no-store","reload","no-cache","force-cache","only-if-cached"],LO=["omit","same-origin","include"],MO=["same-origin","no-cors","cors","navigate"];typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>de.__wbg_intounderlyingbytesource_free(t>>>0,1)),typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>de.__wbg_intounderlyingsink_free(t>>>0,1)),typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>de.__wbg_intounderlyingsource_free(t>>>0,1));const yw=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>de.__wbg_payjson_free(t>>>0,1));class jO{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,yw.unregister(this),e}free(){const e=this.__destroy_into_raw();de.__wbg_payjson_free(e,0)}confirm_payment(e){const n=vs(e,de.__wbindgen_export_1,de.__wbindgen_export_2),r=ti,i=de.payjson_confirm_payment(this.__wbg_ptr,n,r);return ei(i)}get_payment_options(e){const n=vs(e,de.__wbindgen_export_1,de.__wbindgen_export_2),r=ti,i=de.payjson_get_payment_options(this.__wbg_ptr,n,r);return ei(i)}get_required_payment_actions(e){const n=vs(e,de.__wbindgen_export_1,de.__wbindgen_export_2),r=ti,i=de.payjson_get_required_payment_actions(this.__wbg_ptr,n,r);return ei(i)}constructor(e){try{const s=de.__wbindgen_add_to_stack_pointer(-16),o=vs(e,de.__wbindgen_export_1,de.__wbindgen_export_2),a=ti;de.payjson_new(s,o,a);var n=Ni().getInt32(s+4*0,!0),r=Ni().getInt32(s+4*1,!0),i=Ni().getInt32(s+4*2,!0);if(i)throw ei(r);return this.__wbg_ptr=n>>>0,yw.register(this,this.__wbg_ptr,this),this}finally{de.__wbindgen_add_to_stack_pointer(16)}}}function zO(){const t={};return t.wbg={},t.wbg.__wbg_abort_410ec47a64ac6117=function(e,n){Q(e).abort(Q(n))},t.wbg.__wbg_abort_775ef1d17fc65868=function(e){Q(e).abort()},t.wbg.__wbg_append_8c7dd8d641a5f01b=function(){return ke(function(e,n,r,i,s){Q(e).append(ur(n,r),ur(i,s))},arguments)},t.wbg.__wbg_arrayBuffer_d1b44c4390db422f=function(){return ke(function(e){const n=Q(e).arrayBuffer();return oe(n)},arguments)},t.wbg.__wbg_buffer_09165b52af8c5237=function(e){const n=Q(e).buffer;return oe(n)},t.wbg.__wbg_buffer_609cc3eee51ed158=function(e){const n=Q(e).buffer;return oe(n)},t.wbg.__wbg_byobRequest_77d9adf63337edfb=function(e){const n=Q(e).byobRequest;return Ri(n)?0:oe(n)},t.wbg.__wbg_byteLength_e674b853d9c77e1d=function(e){return Q(e).byteLength},t.wbg.__wbg_byteOffset_fd862df290ef848d=function(e){return Q(e).byteOffset},t.wbg.__wbg_call_672a4d21634d4a24=function(){return ke(function(e,n){const r=Q(e).call(Q(n));return oe(r)},arguments)},t.wbg.__wbg_call_7cccdd69e0791ae2=function(){return ke(function(e,n,r){const i=Q(e).call(Q(n),Q(r));return oe(i)},arguments)},t.wbg.__wbg_clearTimeout_3b6a9a13d4bde075=function(e){const n=clearTimeout(ei(e));return oe(n)},t.wbg.__wbg_close_304cc1fef3466669=function(){return ke(function(e){Q(e).close()},arguments)},t.wbg.__wbg_close_5ce03e29be453811=function(){return ke(function(e){Q(e).close()},arguments)},t.wbg.__wbg_crypto_574e78ad8b13b65f=function(e){const n=Q(e).crypto;return oe(n)},t.wbg.__wbg_done_769e5ede4b31c67b=function(e){return Q(e).done},t.wbg.__wbg_enqueue_bb16ba72f537dc9e=function(){return ke(function(e,n){Q(e).enqueue(Q(n))},arguments)},t.wbg.__wbg_fetch_509096533071c657=function(e,n){const r=Q(e).fetch(Q(n));return oe(r)},t.wbg.__wbg_fetch_df3fa17a5772dafb=function(e){const n=fetch(Q(e));return oe(n)},t.wbg.__wbg_getRandomValues_3c9c0d586e575a16=function(){return ke(function(e,n){globalThis.crypto.getRandomValues(TO(e,n))},arguments)},t.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e=function(){return ke(function(e,n){Q(e).getRandomValues(Q(n))},arguments)},t.wbg.__wbg_get_67b2ba62fc30de12=function(){return ke(function(e,n){const r=Reflect.get(Q(e),Q(n));return oe(r)},arguments)},t.wbg.__wbg_has_a5ea9117f258a0ec=function(){return ke(function(e,n){return Reflect.has(Q(e),Q(n))},arguments)},t.wbg.__wbg_headers_9cb51cfd2ac780a4=function(e){const n=Q(e).headers;return oe(n)},t.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644=function(e){let n;try{n=Q(e)instanceof Response}catch{n=!1}return n},t.wbg.__wbg_iterator_9a24c88df860dc65=function(){return oe(Symbol.iterator)},t.wbg.__wbg_length_a446193dc22c12f8=function(e){return Q(e).length},t.wbg.__wbg_msCrypto_a61aeb35a24c1329=function(e){const n=Q(e).msCrypto;return oe(n)},t.wbg.__wbg_new_018dcc2d6c8c2f6a=function(){return ke(function(){const e=new Headers;return oe(e)},arguments)},t.wbg.__wbg_new_23a2665fac83c611=function(e,n){try{var r={a:e,b:n},i=(o,a)=>{const c=r.a;r.a=0;try{return qO(c,r.b,o,a)}finally{r.a=c}};const s=new Promise(i);return oe(s)}finally{r.a=r.b=0}},t.wbg.__wbg_new_405e22f390576ce2=function(){const e=new Object;return oe(e)},t.wbg.__wbg_new_a12002a7f91c75be=function(e){const n=new Uint8Array(Q(e));return oe(n)},t.wbg.__wbg_new_c68d7209be747379=function(e,n){const r=new Error(ur(e,n));return oe(r)},t.wbg.__wbg_new_e25e5aab09ff45db=function(){return ke(function(){const e=new AbortController;return oe(e)},arguments)},t.wbg.__wbg_newnoargs_105ed471475aaf50=function(e,n){const r=new Function(ur(e,n));return oe(r)},t.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a=function(e,n,r){const i=new Uint8Array(Q(e),n>>>0,r>>>0);return oe(i)},t.wbg.__wbg_newwithlength_a381634e90c276d4=function(e){const n=new Uint8Array(e>>>0);return oe(n)},t.wbg.__wbg_newwithstrandinit_06c535e0a867c635=function(){return ke(function(e,n,r){const i=new Request(ur(e,n),Q(r));return oe(i)},arguments)},t.wbg.__wbg_next_25feadfc0913fea9=function(e){const n=Q(e).next;return oe(n)},t.wbg.__wbg_next_6574e1a8a62d1055=function(){return ke(function(e){const n=Q(e).next();return oe(n)},arguments)},t.wbg.__wbg_node_905d3e251edff8a2=function(e){const n=Q(e).node;return oe(n)},t.wbg.__wbg_now_807e54c39636c349=function(){return Date.now()},t.wbg.__wbg_now_e1163c67115ff874=function(e){return Q(e).now()},t.wbg.__wbg_performance_7fe0928f3ab059e5=function(e){const n=Q(e).performance;return oe(n)},t.wbg.__wbg_process_dc0fbacc7c1c06f7=function(e){const n=Q(e).process;return oe(n)},t.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5=function(e){queueMicrotask(Q(e))},t.wbg.__wbg_queueMicrotask_d3219def82552485=function(e){const n=Q(e).queueMicrotask;return oe(n)},t.wbg.__wbg_randomFillSync_ac0988aba3254290=function(){return ke(function(e,n){Q(e).randomFillSync(ei(n))},arguments)},t.wbg.__wbg_require_60cc747a6bc5215a=function(){return ke(function(){const e=module.require;return oe(e)},arguments)},t.wbg.__wbg_resolve_4851785c9c5f573d=function(e){const n=Promise.resolve(Q(e));return oe(n)},t.wbg.__wbg_respond_1f279fa9f8edcb1c=function(){return ke(function(e,n){Q(e).respond(n>>>0)},arguments)},t.wbg.__wbg_setTimeout_35a07631c669fbee=function(e,n){const r=setTimeout(Q(e),n);return oe(r)},t.wbg.__wbg_setTimeout_42370cb3051b8c2c=function(){return ke(function(e,n,r){const i=Q(e).setTimeout(Q(n),r);return oe(i)},arguments)},t.wbg.__wbg_set_65595bdd868b3009=function(e,n,r){Q(e).set(Q(n),r>>>0)},t.wbg.__wbg_setbody_5923b78a95eedf29=function(e,n){Q(e).body=Q(n)},t.wbg.__wbg_setcache_12f17c3a980650e4=function(e,n){Q(e).cache=kO[n]},t.wbg.__wbg_setcredentials_c3a22f1cd105a2c6=function(e,n){Q(e).credentials=LO[n]},t.wbg.__wbg_setheaders_834c0bdb6a8949ad=function(e,n){Q(e).headers=Q(n)},t.wbg.__wbg_setmethod_3c5280fe5d890842=function(e,n,r){Q(e).method=ur(n,r)},t.wbg.__wbg_setmode_5dc300b865044b65=function(e,n){Q(e).mode=MO[n]},t.wbg.__wbg_setsignal_75b21ef3a81de905=function(e,n){Q(e).signal=Q(n)},t.wbg.__wbg_signal_aaf9ad74119f20a4=function(e){const n=Q(e).signal;return oe(n)},t.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07=function(){const e=typeof global>"u"?null:global;return Ri(e)?0:oe(e)},t.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0=function(){const e=typeof globalThis>"u"?null:globalThis;return Ri(e)?0:oe(e)},t.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819=function(){const e=typeof self>"u"?null:self;return Ri(e)?0:oe(e)},t.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40=function(){const e=typeof window>"u"?null:window;return Ri(e)?0:oe(e)},t.wbg.__wbg_status_f6360336ca686bf0=function(e){return Q(e).status},t.wbg.__wbg_stringify_f7ed6987935b4a24=function(){return ke(function(e){const n=JSON.stringify(Q(e));return oe(n)},arguments)},t.wbg.__wbg_subarray_aa9065fa9dc5df96=function(e,n,r){const i=Q(e).subarray(n>>>0,r>>>0);return oe(i)},t.wbg.__wbg_text_7805bea50de2af49=function(){return ke(function(e){const n=Q(e).text();return oe(n)},arguments)},t.wbg.__wbg_then_44b73946d2fb3e7d=function(e,n){const r=Q(e).then(Q(n));return oe(r)},t.wbg.__wbg_then_48b406749878a531=function(e,n,r){const i=Q(e).then(Q(n),Q(r));return oe(i)},t.wbg.__wbg_url_ae10c34ca209681d=function(e,n){const r=Q(n).url,i=vs(r,de.__wbindgen_export_1,de.__wbindgen_export_2),s=ti;Ni().setInt32(e+4*1,s,!0),Ni().setInt32(e+4*0,i,!0)},t.wbg.__wbg_value_cd1ffa7b1ab794f1=function(e){const n=Q(e).value;return oe(n)},t.wbg.__wbg_versions_c01dfd4722a88165=function(e){const n=Q(e).versions;return oe(n)},t.wbg.__wbg_view_fd8a56e8983f448d=function(e){const n=Q(e).view;return Ri(n)?0:oe(n)},t.wbg.__wbindgen_cb_drop=function(e){const n=ei(e).original;return n.cnt--==1?(n.a=0,!0):!1},t.wbg.__wbindgen_closure_wrapper1265=function(e,n,r){const i=kf(e,n,145,UO);return oe(i)},t.wbg.__wbindgen_closure_wrapper1473=function(e,n,r){const i=kf(e,n,168,CO);return oe(i)},t.wbg.__wbindgen_closure_wrapper1754=function(e,n,r){const i=kf(e,n,226,FO);return oe(i)},t.wbg.__wbindgen_error_new=function(e,n){const r=new Error(ur(e,n));return oe(r)},t.wbg.__wbindgen_is_function=function(e){return typeof Q(e)=="function"},t.wbg.__wbindgen_is_object=function(e){const n=Q(e);return typeof n=="object"&&n!==null},t.wbg.__wbindgen_is_string=function(e){return typeof Q(e)=="string"},t.wbg.__wbindgen_is_undefined=function(e){return Q(e)===void 0},t.wbg.__wbindgen_memory=function(){const e=de.memory;return oe(e)},t.wbg.__wbindgen_object_clone_ref=function(e){const n=Q(e);return oe(n)},t.wbg.__wbindgen_object_drop_ref=function(e){ei(e)},t.wbg.__wbindgen_string_get=function(e,n){const r=Q(n),i=typeof r=="string"?r:void 0;var s=Ri(i)?0:vs(i,de.__wbindgen_export_1,de.__wbindgen_export_2),o=ti;Ni().setInt32(e+4*1,o,!0),Ni().setInt32(e+4*0,s,!0)},t.wbg.__wbindgen_string_new=function(e,n){const r=ur(e,n);return oe(r)},t.wbg.__wbindgen_throw=function(e,n){throw new Error(ur(e,n))},t}function KO(t,e){return de=t.exports,Ti=null,Oo=null,de}function VO(t){if(de!==void 0)return de;typeof t<"u"&&(Object.getPrototypeOf(t)===Object.prototype?{module:t}=t:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const e=zO();t instanceof WebAssembly.Module||(t=new WebAssembly.Module(t));const n=new WebAssembly.Instance(t,e);return KO(n)}var Do={},Sc={};function mw(t){this.buffer=t,this.pos=0}mw.prototype.read=function(t,e,n){this.pos+n>this.buffer.length&&(n=this.buffer.length-this.pos);for(var r=0;r<n;r++)t[e+r]=this.buffer[this.pos+r];return this.pos+=n,n},Sc.BrotliInput=mw;function vw(t){this.buffer=t,this.pos=0}vw.prototype.write=function(t,e){if(this.pos+e>this.buffer.length)throw new Error("Output buffer is not large enough");return this.buffer.set(t.subarray(0,e),this.pos),this.pos+=e,e},Sc.BrotliOutput=vw;var Ui=4096,HO=2*Ui+32,Ew=2*Ui-1,GO=new Uint32Array([0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215]);function Ci(t){this.buf_=new Uint8Array(HO),this.input_=t,this.reset()}Ci.READ_SIZE=Ui,Ci.IBUF_MASK=Ew,Ci.prototype.reset=function(){this.buf_ptr_=0,this.val_=0,this.pos_=0,this.bit_pos_=0,this.bit_end_pos_=0,this.eos_=0,this.readMoreInput();for(var t=0;t<4;t++)this.val_|=this.buf_[this.pos_]<<8*t,++this.pos_;return this.bit_end_pos_>0},Ci.prototype.readMoreInput=function(){if(!(this.bit_end_pos_>256))if(this.eos_){if(this.bit_pos_>this.bit_end_pos_)throw new Error("Unexpected end of input "+this.bit_pos_+" "+this.bit_end_pos_)}else{var t=this.buf_ptr_,e=this.input_.read(this.buf_,t,Ui);if(e<0)throw new Error("Unexpected end of input");if(e<Ui){this.eos_=1;for(var n=0;n<32;n++)this.buf_[t+e+n]=0}if(t===0){for(var n=0;n<32;n++)this.buf_[(Ui<<1)+n]=this.buf_[n];this.buf_ptr_=Ui}else this.buf_ptr_=0;this.bit_end_pos_+=e<<3}},Ci.prototype.fillBitWindow=function(){for(;this.bit_pos_>=8;)this.val_>>>=8,this.val_|=this.buf_[this.pos_&Ew]<<24,++this.pos_,this.bit_pos_=this.bit_pos_-8>>>0,this.bit_end_pos_=this.bit_end_pos_-8>>>0},Ci.prototype.readBits=function(t){32-this.bit_pos_<t&&this.fillBitWindow();var e=this.val_>>>this.bit_pos_&GO[t];return this.bit_pos_+=t,e};var WO=Ci,ni={},Lf={},Bc={};Bc.byteLength=XO,Bc.toByteArray=QO,Bc.fromByteArray=eA;for(var Un=[],cn=[],ZO=typeof Uint8Array<"u"?Uint8Array:Array,Mf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Es=0,YO=Mf.length;Es<YO;++Es)Un[Es]=Mf[Es],cn[Mf.charCodeAt(Es)]=Es;cn[45]=62,cn[95]=63;function xw(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");n===-1&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function XO(t){var e=xw(t),n=e[0],r=e[1];return(n+r)*3/4-r}function JO(t,e,n){return(e+n)*3/4-n}function QO(t){var e,n=xw(t),r=n[0],i=n[1],s=new ZO(JO(t,r,i)),o=0,a=i>0?r-4:r,c;for(c=0;c<a;c+=4)e=cn[t.charCodeAt(c)]<<18|cn[t.charCodeAt(c+1)]<<12|cn[t.charCodeAt(c+2)]<<6|cn[t.charCodeAt(c+3)],s[o++]=e>>16&255,s[o++]=e>>8&255,s[o++]=e&255;return i===2&&(e=cn[t.charCodeAt(c)]<<2|cn[t.charCodeAt(c+1)]>>4,s[o++]=e&255),i===1&&(e=cn[t.charCodeAt(c)]<<10|cn[t.charCodeAt(c+1)]<<4|cn[t.charCodeAt(c+2)]>>2,s[o++]=e>>8&255,s[o++]=e&255),s}function _O(t){return Un[t>>18&63]+Un[t>>12&63]+Un[t>>6&63]+Un[t&63]}function $O(t,e,n){for(var r,i=[],s=e;s<n;s+=3)r=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(t[s+2]&255),i.push(_O(r));return i.join("")}function eA(t){for(var e,n=t.length,r=n%3,i=[],s=16383,o=0,a=n-r;o<a;o+=s)i.push($O(t,o,o+s>a?a:o+s));return r===1?(e=t[n-1],i.push(Un[e>>2]+Un[e<<4&63]+"==")):r===2&&(e=(t[n-2]<<8)+t[n-1],i.push(Un[e>>10]+Un[e>>4&63]+Un[e<<2&63]+"=")),i.join("")}var Iw,Sw;function tA(){return Sw||(Sw=1,Iw="W5/fcQLn5gKf2XUbAiQ1XULX+TZz6ADToDsgqk6qVfeC0e4m6OO2wcQ1J76ZBVRV1fRkEsdu//62zQsFEZWSTCnMhcsQKlS2qOhuVYYMGCkV0fXWEoMFbESXrKEZ9wdUEsyw9g4bJlEt1Y6oVMxMRTEVbCIwZzJzboK5j8m4YH02qgXYhv1V+PM435sLVxyHJihaJREEhZGqL03txGFQLm76caGO/ovxKvzCby/3vMTtX/459f0igi7WutnKiMQ6wODSoRh/8Lx1V3Q99MvKtwB6bHdERYRY0hStJoMjNeTsNX7bn+Y7e4EQ3bf8xBc7L0BsyfFPK43dGSXpL6clYC/I328h54/VYrQ5i0648FgbGtl837svJ35L3Mot/+nPlNpWgKx1gGXQYqX6n+bbZ7wuyCHKcUok12Xjqub7NXZGzqBx0SD+uziNf87t7ve42jxSKQoW3nyxVrWIGlFShhCKxjpZZ5MeGna0+lBkk+kaN8F9qFBAFgEogyMBdcX/T1W/WnMOi/7ycWUQloEBKGeC48MkiwqJkJO+12eQiOFHMmck6q/IjWW3RZlany23TBm+cNr/84/oi5GGmGBZWrZ6j+zykVozz5fT/QH/Da6WTbZYYPynVNO7kxzuNN2kxKKWche5WveitPKAecB8YcAHz/+zXLjcLzkdDSktNIDwZE9J9X+tto43oJy65wApM3mDzYtCwX9lM+N5VR3kXYo0Z3t0TtXfgBFg7gU8oN0Dgl7fZlUbhNll+0uuohRVKjrEd8egrSndy5/Tgd2gqjA4CAVuC7ESUmL3DZoGnfhQV8uwnpi8EGvAVVsowNRxPudck7+oqAUDkwZopWqFnW1riss0t1z6iCISVKreYGNvQcXv+1L9+jbP8cd/dPUiqBso2q+7ZyFBvENCkk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NV+bHeydNtmC6G5ICtFC1ZwmJU/j8hf0I8TRVKSiz5oYIa93EpUI78X8GYIAZabx47/n8LDAAJ0nNtP1rpROprqKMBRecShca6qXuTSI3jZBLOB3Vp381B5rCGhjSvh/NSVkYp2qIdP/Bg="),Iw}var Bw;function nA(){if(Bw)return Lf;Bw=1;var t=Bc;return Lf.init=function(){var e=Nw().BrotliDecompressBuffer,n=t.toByteArray(tA());return e(n)},Lf}var Ow;function Aw(){if(Ow)return ni;Ow=1;var t=nA();return ni.init=function(){ni.dictionary=t.init()},ni.offsetsByLength=new Uint32Array([0,0,0,0,0,4096,9216,21504,35840,44032,53248,63488,74752,87040,93696,100864,104704,106752,108928,113536,115968,118528,119872,121280,122016]),ni.sizeBitsByLength=new Uint8Array([0,0,0,0,10,10,11,11,10,10,10,10,10,9,9,8,7,7,8,7,7,6,6,5,5]),ni.minDictionaryWordLength=4,ni.maxDictionaryWordLength=24,ni}var Oc={};function xs(t,e){this.bits=t,this.value=e}Oc.HuffmanCode=xs;var Is=15;function Pw(t,e){for(var n=1<<e-1;t&n;)n>>=1;return(t&n-1)+n}function Dw(t,e,n,r,i){do r-=n,t[e+r]=new xs(i.bits,i.value);while(r>0)}function rA(t,e,n){for(var r=1<<e-n;e<Is&&(r-=t[e],!(r<=0));)++e,r<<=1;return e-n}Oc.BrotliBuildHuffmanTable=function(t,e,n,r,i){var s=e,o,a,c,u,l,f,d,h,p,w,m,P=new Int32Array(Is+1),T=new Int32Array(Is+1);for(m=new Int32Array(i),c=0;c<i;c++)P[r[c]]++;for(T[1]=0,a=1;a<Is;a++)T[a+1]=T[a]+P[a];for(c=0;c<i;c++)r[c]!==0&&(m[T[r[c]]++]=c);if(h=n,p=1<<h,w=p,T[Is]===1){for(u=0;u<w;++u)t[e+u]=new xs(0,m[0]&65535);return w}for(u=0,c=0,a=1,l=2;a<=n;++a,l<<=1)for(;P[a]>0;--P[a])o=new xs(a&255,m[c++]&65535),Dw(t,e+u,l,p,o),u=Pw(u,a);for(d=w-1,f=-1,a=n+1,l=2;a<=Is;++a,l<<=1)for(;P[a]>0;--P[a])(u&d)!==f&&(e+=p,h=rA(P,a,n),p=1<<h,w+=p,f=u&d,t[s+f]=new xs(h+n&255,e-s-f&65535)),o=new xs(a-n&255,m[c++]&65535),Dw(t,e+(u>>n),l,p,o),u=Pw(u,a);return w};var jf={};jf.lookup=new Uint8Array([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,24,12,28,12,12,12,56,60,60,60,56,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,24,12,28,12,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,26,26,26,26,27,27,27,27,28,28,28,28,29,29,29,29,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,33,34,34,34,34,35,35,35,35,36,36,36,36,37,37,37,37,38,38,38,38,39,39,39,39,40,40,40,40,41,41,41,41,42,42,42,42,43,43,43,43,44,44,44,44,45,45,45,45,46,46,46,46,47,47,47,47,48,48,48,48,49,49,49,49,50,50,50,50,51,51,51,51,52,52,52,52,53,53,53,53,54,54,54,54,55,55,55,55,56,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,60,60,60,60,61,61,61,61,62,62,62,62,63,63,63,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),jf.lookupOffsets=new Uint16Array([1024,1536,1280,1536,0,256,768,512]);var Ss={};function te(t,e){this.offset=t,this.nbits=e}Ss.kBlockLengthPrefixCode=[new te(1,2),new te(5,2),new te(9,2),new te(13,2),new te(17,3),new te(25,3),new te(33,3),new te(41,3),new te(49,4),new te(65,4),new te(81,4),new te(97,4),new te(113,5),new te(145,5),new te(177,5),new te(209,5),new te(241,6),new te(305,6),new te(369,7),new te(497,8),new te(753,9),new te(1265,10),new te(2289,11),new te(4337,12),new te(8433,13),new te(16625,24)],Ss.kInsertLengthPrefixCode=[new te(0,0),new te(1,0),new te(2,0),new te(3,0),new te(4,0),new te(5,0),new te(6,1),new te(8,1),new te(10,2),new te(14,2),new te(18,3),new te(26,3),new te(34,4),new te(50,4),new te(66,5),new te(98,5),new te(130,6),new te(194,7),new te(322,8),new te(578,9),new te(1090,10),new te(2114,12),new te(6210,14),new te(22594,24)],Ss.kCopyLengthPrefixCode=[new te(2,0),new te(3,0),new te(4,0),new te(5,0),new te(6,0),new te(7,0),new te(8,0),new te(9,0),new te(10,1),new te(12,1),new te(14,2),new te(18,2),new te(22,3),new te(30,3),new te(38,4),new te(54,4),new te(70,5),new te(102,5),new te(134,6),new te(198,7),new te(326,8),new te(582,9),new te(1094,10),new te(2118,24)],Ss.kInsertRangeLut=[0,0,8,8,0,16,8,16,16],Ss.kCopyRangeLut=[0,8,0,8,16,0,16,8,16];var Ro={},Rw;function iA(){if(Rw)return Ro;Rw=1;var t=Aw(),e=0,n=1,r=2,i=3,s=4,o=5,a=6,c=7,u=8,l=9,f=10,d=11,h=12,p=13,w=14,m=15,P=16,T=17,I=18,x=20;function S(F,R,G){this.prefix=new Uint8Array(F.length),this.transform=R,this.suffix=new Uint8Array(G.length);for(var H=0;H<F.length;H++)this.prefix[H]=F.charCodeAt(H);for(var H=0;H<G.length;H++)this.suffix[H]=G.charCodeAt(H)}var U=[new S("",e,""),new S("",e," "),new S(" ",e," "),new S("",h,""),new S("",f," "),new S("",e," the "),new S(" ",e,""),new S("s ",e," "),new S("",e," of "),new S("",f,""),new S("",e," and "),new S("",p,""),new S("",n,""),new S(", ",e," "),new S("",e,", "),new S(" ",f," "),new S("",e," in "),new S("",e," to "),new S("e ",e," "),new S("",e,'"'),new S("",e,"."),new S("",e,'">'),new S("",e,`
28
+ `),new S("",i,""),new S("",e,"]"),new S("",e," for "),new S("",w,""),new S("",r,""),new S("",e," a "),new S("",e," that "),new S(" ",f,""),new S("",e,". "),new S(".",e,""),new S(" ",e,", "),new S("",m,""),new S("",e," with "),new S("",e,"'"),new S("",e," from "),new S("",e," by "),new S("",P,""),new S("",T,""),new S(" the ",e,""),new S("",s,""),new S("",e,". The "),new S("",d,""),new S("",e," on "),new S("",e," as "),new S("",e," is "),new S("",c,""),new S("",n,"ing "),new S("",e,`
29
+ `),new S("",e,":"),new S(" ",e,". "),new S("",e,"ed "),new S("",x,""),new S("",I,""),new S("",a,""),new S("",e,"("),new S("",f,", "),new S("",u,""),new S("",e," at "),new S("",e,"ly "),new S(" the ",e," of "),new S("",o,""),new S("",l,""),new S(" ",f,", "),new S("",f,'"'),new S(".",e,"("),new S("",d," "),new S("",f,'">'),new S("",e,'="'),new S(" ",e,"."),new S(".com/",e,""),new S(" the ",e," of the "),new S("",f,"'"),new S("",e,". This "),new S("",e,","),new S(".",e," "),new S("",f,"("),new S("",f,"."),new S("",e," not "),new S(" ",e,'="'),new S("",e,"er "),new S(" ",d," "),new S("",e,"al "),new S(" ",d,""),new S("",e,"='"),new S("",d,'"'),new S("",f,". "),new S(" ",e,"("),new S("",e,"ful "),new S(" ",f,". "),new S("",e,"ive "),new S("",e,"less "),new S("",d,"'"),new S("",e,"est "),new S(" ",f,"."),new S("",d,'">'),new S(" ",e,"='"),new S("",f,","),new S("",e,"ize "),new S("",d,"."),new S("\xC2\xA0",e,""),new S(" ",e,","),new S("",f,'="'),new S("",d,'="'),new S("",e,"ous "),new S("",d,", "),new S("",f,"='"),new S(" ",f,","),new S(" ",d,'="'),new S(" ",d,", "),new S("",d,","),new S("",d,"("),new S("",d,". "),new S(" ",d,"."),new S("",d,"='"),new S(" ",d,". "),new S(" ",f,'="'),new S(" ",d,"='"),new S(" ",f,"='")];Ro.kTransforms=U,Ro.kNumTransforms=U.length;function k(F,R){return F[R]<192?(F[R]>=97&&F[R]<=122&&(F[R]^=32),1):F[R]<224?(F[R+1]^=32,2):(F[R+2]^=5,3)}return Ro.transformDictionaryWord=function(F,R,G,H,E){var b=U[E].prefix,v=U[E].suffix,g=U[E].transform,y=g<h?0:g-(h-1),B=0,A=R,O;y>H&&(y=H);for(var D=0;D<b.length;)F[R++]=b[D++];for(G+=y,H-=y,g<=l&&(H-=g),B=0;B<H;B++)F[R++]=t.dictionary[G+B];if(O=R-H,g===f)k(F,O);else if(g===d)for(;H>0;){var C=k(F,O);O+=C,H-=C}for(var M=0;M<v.length;)F[R++]=v[M++];return R-A},Ro}var Tw;function Nw(){if(Tw)return Do;Tw=1;var t=Sc.BrotliInput,e=Sc.BrotliOutput,n=WO,r=Aw(),i=Oc.HuffmanCode,s=Oc.BrotliBuildHuffmanTable,o=jf,a=Ss,c=iA(),u=8,l=16,f=256,d=704,h=26,p=6,w=2,m=8,P=255,T=1080,I=18,x=new Uint8Array([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]),S=16,U=new Uint8Array([3,2,1,0,3,3,3,3,3,3,2,2,2,2,2,2]),k=new Int8Array([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]),F=new Uint16Array([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]);function R(z){var N;return z.readBits(1)===0?16:(N=z.readBits(3),N>0?17+N:(N=z.readBits(3),N>0?8+N:17))}function G(z){if(z.readBits(1)){var N=z.readBits(3);return N===0?1:z.readBits(N)+(1<<N)}return 0}function H(){this.meta_block_length=0,this.input_end=0,this.is_uncompressed=0,this.is_metadata=!1}function E(z){var N=new H,j,K,X;if(N.input_end=z.readBits(1),N.input_end&&z.readBits(1))return N;if(j=z.readBits(2)+4,j===7){if(N.is_metadata=!0,z.readBits(1)!==0)throw new Error("Invalid reserved bit");if(K=z.readBits(2),K===0)return N;for(X=0;X<K;X++){var ee=z.readBits(8);if(X+1===K&&K>1&&ee===0)throw new Error("Invalid size byte");N.meta_block_length|=ee<<X*8}}else for(X=0;X<j;++X){var $=z.readBits(4);if(X+1===j&&j>4&&$===0)throw new Error("Invalid size nibble");N.meta_block_length|=$<<X*4}return++N.meta_block_length,!N.input_end&&!N.is_metadata&&(N.is_uncompressed=z.readBits(1)),N}function b(z,N,j){var K;return j.fillBitWindow(),N+=j.val_>>>j.bit_pos_&P,K=z[N].bits-m,K>0&&(j.bit_pos_+=m,N+=z[N].value,N+=j.val_>>>j.bit_pos_&(1<<K)-1),j.bit_pos_+=z[N].bits,z[N].value}function v(z,N,j,K){for(var X=0,ee=u,$=0,re=0,le=32768,ce=[],ie=0;ie<32;ie++)ce.push(new i(0,0));for(s(ce,0,5,z,I);X<N&&le>0;){var xe=0,at;if(K.readMoreInput(),K.fillBitWindow(),xe+=K.val_>>>K.bit_pos_&31,K.bit_pos_+=ce[xe].bits,at=ce[xe].value&255,at<l)$=0,j[X++]=at,at!==0&&(ee=at,le-=32768>>at);else{var Vt=at-14,Pt,vt,Ce=0;if(at===l&&(Ce=ee),re!==Ce&&($=0,re=Ce),Pt=$,$>0&&($-=2,$<<=Vt),$+=K.readBits(Vt)+3,vt=$-Pt,X+vt>N)throw new Error("[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols");for(var ct=0;ct<vt;ct++)j[X+ct]=re;X+=vt,re!==0&&(le-=vt<<15-re)}}if(le!==0)throw new Error("[ReadHuffmanCodeLengths] space = "+le);for(;X<N;X++)j[X]=0}function g(z,N,j,K){var X=0,ee,$=new Uint8Array(z);if(K.readMoreInput(),ee=K.readBits(2),ee===1){for(var re,le=z-1,ce=0,ie=new Int32Array(4),xe=K.readBits(2)+1;le;)le>>=1,++ce;for(re=0;re<xe;++re)ie[re]=K.readBits(ce)%z,$[ie[re]]=2;switch($[ie[0]]=1,xe){case 1:break;case 3:if(ie[0]===ie[1]||ie[0]===ie[2]||ie[1]===ie[2])throw new Error("[ReadHuffmanCode] invalid symbols");break;case 2:if(ie[0]===ie[1])throw new Error("[ReadHuffmanCode] invalid symbols");$[ie[1]]=1;break;case 4:if(ie[0]===ie[1]||ie[0]===ie[2]||ie[0]===ie[3]||ie[1]===ie[2]||ie[1]===ie[3]||ie[2]===ie[3])throw new Error("[ReadHuffmanCode] invalid symbols");K.readBits(1)?($[ie[2]]=3,$[ie[3]]=3):$[ie[0]]=2;break}}else{var re,at=new Uint8Array(I),Vt=32,Pt=0,vt=[new i(2,0),new i(2,4),new i(2,3),new i(3,2),new i(2,0),new i(2,4),new i(2,3),new i(4,1),new i(2,0),new i(2,4),new i(2,3),new i(3,2),new i(2,0),new i(2,4),new i(2,3),new i(4,5)];for(re=ee;re<I&&Vt>0;++re){var Ce=x[re],ct=0,Dt;K.fillBitWindow(),ct+=K.val_>>>K.bit_pos_&15,K.bit_pos_+=vt[ct].bits,Dt=vt[ct].value,at[Ce]=Dt,Dt!==0&&(Vt-=32>>Dt,++Pt)}if(!(Pt===1||Vt===0))throw new Error("[ReadHuffmanCode] invalid num_codes or space");v(at,z,$,K)}if(X=s(N,j,m,$,z),X===0)throw new Error("[ReadHuffmanCode] BuildHuffmanTable failed: ");return X}function y(z,N,j){var K,X;return K=b(z,N,j),X=a.kBlockLengthPrefixCode[K].nbits,a.kBlockLengthPrefixCode[K].offset+j.readBits(X)}function B(z,N,j){var K;return z<S?(j+=U[z],j&=3,K=N[j]+k[z]):K=z-S+1,K}function A(z,N){for(var j=z[N],K=N;K;--K)z[K]=z[K-1];z[0]=j}function O(z,N){var j=new Uint8Array(256),K;for(K=0;K<256;++K)j[K]=K;for(K=0;K<N;++K){var X=z[K];z[K]=j[X],X&&A(j,X)}}function D(z,N){this.alphabet_size=z,this.num_htrees=N,this.codes=new Array(N+N*F[z+31>>>5]),this.htrees=new Uint32Array(N)}D.prototype.decode=function(z){var N,j,K=0;for(N=0;N<this.num_htrees;++N)this.htrees[N]=K,j=g(this.alphabet_size,this.codes,K,z),K+=j};function C(z,N){var j={num_htrees:null,context_map:null},K,X=0,ee,$;N.readMoreInput();var re=j.num_htrees=G(N)+1,le=j.context_map=new Uint8Array(z);if(re<=1)return j;for(K=N.readBits(1),K&&(X=N.readBits(4)+1),ee=[],$=0;$<T;$++)ee[$]=new i(0,0);for(g(re+X,ee,0,N),$=0;$<z;){var ce;if(N.readMoreInput(),ce=b(ee,0,N),ce===0)le[$]=0,++$;else if(ce<=X)for(var ie=1+(1<<ce)+N.readBits(ce);--ie;){if($>=z)throw new Error("[DecodeContextMap] i >= context_map_size");le[$]=0,++$}else le[$]=ce-X,++$}return N.readBits(1)&&O(le,z),j}function M(z,N,j,K,X,ee,$){var re=j*2,le=j,ce=b(N,j*T,$),ie;ce===0?ie=X[re+(ee[le]&1)]:ce===1?ie=X[re+(ee[le]-1&1)]+1:ie=ce-2,ie>=z&&(ie-=z),K[j]=ie,X[re+(ee[le]&1)]=ie,++ee[le]}function L(z,N,j,K,X,ee){var $=X+1,re=j&X,le=ee.pos_&n.IBUF_MASK,ce;if(N<8||ee.bit_pos_+(N<<3)<ee.bit_end_pos_){for(;N-- >0;)ee.readMoreInput(),K[re++]=ee.readBits(8),re===$&&(z.write(K,$),re=0);return}if(ee.bit_end_pos_<32)throw new Error("[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32");for(;ee.bit_pos_<32;)K[re]=ee.val_>>>ee.bit_pos_,ee.bit_pos_+=8,++re,--N;if(ce=ee.bit_end_pos_-ee.bit_pos_>>3,le+ce>n.IBUF_MASK){for(var ie=n.IBUF_MASK+1-le,xe=0;xe<ie;xe++)K[re+xe]=ee.buf_[le+xe];ce-=ie,re+=ie,N-=ie,le=0}for(var xe=0;xe<ce;xe++)K[re+xe]=ee.buf_[le+xe];if(re+=ce,N-=ce,re>=$){z.write(K,$),re-=$;for(var xe=0;xe<re;xe++)K[xe]=K[$+xe]}for(;re+N>=$;){if(ce=$-re,ee.input_.read(K,re,ce)<ce)throw new Error("[CopyUncompressedBlockToOutput] not enough bytes");z.write(K,$),N-=ce,re=0}if(ee.input_.read(K,re,N)<N)throw new Error("[CopyUncompressedBlockToOutput] not enough bytes");ee.reset()}function V(z){var N=z.bit_pos_+7&-8,j=z.readBits(N-z.bit_pos_);return j==0}function q(z){var N=new t(z),j=new n(N);R(j);var K=E(j);return K.meta_block_length}Do.BrotliDecompressedSize=q;function W(z,N){var j=new t(z);N==null&&(N=q(z));var K=new Uint8Array(N),X=new e(K);return Z(j,X),X.pos<X.buffer.length&&(X.buffer=X.buffer.subarray(0,X.pos)),X.buffer}Do.BrotliDecompressBuffer=W;function Z(z,N){var j,K=0,X=0,ee=0,$,re=0,le,ce,ie,xe,at=[16,15,11,4],Vt=0,Pt=0,vt=0,Ce=[new D(0,0),new D(0,0),new D(0,0)],ct,Dt,he,xh=128+n.READ_SIZE;he=new n(z),ee=R(he),$=(1<<ee)-16,le=1<<ee,ce=le-1,ie=new Uint8Array(le+xh+r.maxDictionaryWordLength),xe=le,ct=[],Dt=[];for(var Ps=0;Ps<3*T;Ps++)ct[Ps]=new i(0,0),Dt[Ps]=new i(0,0);for(;!X;){var We=0,tm,jn=[1<<28,1<<28,1<<28],ii=[0],Sn=[1,1,1],Ih=[0,1,0,1,0,1],Mc=[0],Ds,Vo,nm,rm,im=null,jc=null,sm,om=null,am,cm=0,Sh=null,um=0,lm=0,Bh=null,fm=0,Oh=0,Ah=0,Rs,Ph;for(j=0;j<3;++j)Ce[j].codes=null,Ce[j].htrees=null;he.readMoreInput();var zc=E(he);if(We=zc.meta_block_length,K+We>N.buffer.length){var hm=new Uint8Array(K+We);hm.set(N.buffer),N.buffer=hm}if(X=zc.input_end,tm=zc.is_uncompressed,zc.is_metadata){for(V(he);We>0;--We)he.readMoreInput(),he.readBits(8);continue}if(We!==0){if(tm){he.bit_pos_=he.bit_pos_+7&-8,L(N,We,K,ie,ce,he),K+=We;continue}for(j=0;j<3;++j)Sn[j]=G(he)+1,Sn[j]>=2&&(g(Sn[j]+2,ct,j*T,he),g(h,Dt,j*T,he),jn[j]=y(Dt,j*T,he),Mc[j]=1);for(he.readMoreInput(),Ds=he.readBits(2),Vo=S+(he.readBits(4)<<Ds),nm=(1<<Ds)-1,rm=Vo+(48<<Ds),jc=new Uint8Array(Sn[0]),j=0;j<Sn[0];++j)he.readMoreInput(),jc[j]=he.readBits(2)<<1;var dm=C(Sn[0]<<p,he);sm=dm.num_htrees,im=dm.context_map;var pm=C(Sn[2]<<w,he);for(am=pm.num_htrees,om=pm.context_map,Ce[0]=new D(f,sm),Ce[1]=new D(d,Sn[1]),Ce[2]=new D(rm,am),j=0;j<3;++j)Ce[j].decode(he);for(Sh=0,Bh=0,Rs=jc[ii[0]],Oh=o.lookupOffsets[Rs],Ah=o.lookupOffsets[Rs+1],Ph=Ce[1].htrees[0];We>0;){var Kc,Ho,Dh,Rh,Th,Ht,$t,pr,Go,Ts,Wo;for(he.readMoreInput(),jn[1]===0&&(M(Sn[1],ct,1,ii,Ih,Mc,he),jn[1]=y(Dt,T,he),Ph=Ce[1].htrees[ii[1]]),--jn[1],Kc=b(Ce[1].codes,Ph,he),Ho=Kc>>6,Ho>=2?(Ho-=2,$t=-1):$t=0,Dh=a.kInsertRangeLut[Ho]+(Kc>>3&7),Rh=a.kCopyRangeLut[Ho]+(Kc&7),Th=a.kInsertLengthPrefixCode[Dh].offset+he.readBits(a.kInsertLengthPrefixCode[Dh].nbits),Ht=a.kCopyLengthPrefixCode[Rh].offset+he.readBits(a.kCopyLengthPrefixCode[Rh].nbits),Pt=ie[K-1&ce],vt=ie[K-2&ce],Ts=0;Ts<Th;++Ts)he.readMoreInput(),jn[0]===0&&(M(Sn[0],ct,0,ii,Ih,Mc,he),jn[0]=y(Dt,0,he),cm=ii[0]<<p,Sh=cm,Rs=jc[ii[0]],Oh=o.lookupOffsets[Rs],Ah=o.lookupOffsets[Rs+1]),Go=o.lookup[Oh+Pt]|o.lookup[Ah+vt],um=im[Sh+Go],--jn[0],vt=Pt,Pt=b(Ce[0].codes,Ce[0].htrees[um],he),ie[K&ce]=Pt,(K&ce)===ce&&N.write(ie,le),++K;if(We-=Th,We<=0)break;if($t<0){var Go;if(he.readMoreInput(),jn[2]===0&&(M(Sn[2],ct,2,ii,Ih,Mc,he),jn[2]=y(Dt,2*T,he),lm=ii[2]<<w,Bh=lm),--jn[2],Go=(Ht>4?3:Ht-2)&255,fm=om[Bh+Go],$t=b(Ce[2].codes,Ce[2].htrees[fm],he),$t>=Vo){var Nh,gm,Zo;$t-=Vo,gm=$t&nm,$t>>=Ds,Nh=($t>>1)+1,Zo=(2+($t&1)<<Nh)-4,$t=Vo+(Zo+he.readBits(Nh)<<Ds)+gm}}if(pr=B($t,at,Vt),pr<0)throw new Error("[BrotliDecompress] invalid distance");if(K<$&&re!==$?re=K:re=$,Wo=K&ce,pr>re)if(Ht>=r.minDictionaryWordLength&&Ht<=r.maxDictionaryWordLength){var Zo=r.offsetsByLength[Ht],bm=pr-re-1,wm=r.sizeBitsByLength[Ht],MU=(1<<wm)-1,jU=bm&MU,ym=bm>>wm;if(Zo+=jU*Ht,ym<c.kNumTransforms){var Uh=c.transformDictionaryWord(ie,Wo,Zo,Ht,ym);if(Wo+=Uh,K+=Uh,We-=Uh,Wo>=xe){N.write(ie,le);for(var Vc=0;Vc<Wo-xe;Vc++)ie[Vc]=ie[xe+Vc]}}else throw new Error("Invalid backward reference. pos: "+K+" distance: "+pr+" len: "+Ht+" bytes left: "+We)}else throw new Error("Invalid backward reference. pos: "+K+" distance: "+pr+" len: "+Ht+" bytes left: "+We);else{if($t>0&&(at[Vt&3]=pr,++Vt),Ht>We)throw new Error("Invalid backward reference. pos: "+K+" distance: "+pr+" len: "+Ht+" bytes left: "+We);for(Ts=0;Ts<Ht;++Ts)ie[K&ce]=ie[K-pr&ce],(K&ce)===ce&&N.write(ie,le),++K,--We}Pt=ie[K-1&ce],vt=ie[K-2&ce]}K&=1073741823}}N.write(ie,K&ce)}return Do.BrotliDecompress=Z,r.init(),Do}var sA=Nw().BrotliDecompressBuffer,oA=Object.defineProperty,aA=(t,e,n)=>e in t?oA(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,zf=(t,e,n)=>aA(t,typeof e!="symbol"?e+"":e,n);let Uw=!1,Ac=null;function cA(t){if(typeof atob=="function"){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return n}if(typeof Buffer<"u")return new Uint8Array(Buffer.from(t,"base64"));throw new Ne("INITIALIZATION_ERROR","No base64 decoder available (requires atob or Buffer)")}async function uA(t){return new Promise((e,n)=>{try{const r=sA(Buffer.from(t));e(new Uint8Array(r))}catch(r){n(new Ne("INITIALIZATION_ERROR",`Brotli decompression failed: ${r instanceof Error?r.message:String(r)}`))}})}async function lA(){if(!Uw){if(Ac){await Ac;return}Ac=(async()=>{const t=cA(DO),e=await uA(t);VO({module:e}),Uw=!0})(),await Ac}}function fA(){return typeof WebAssembly<"u"}class hA{constructor(e){zf(this,"payJson",null),zf(this,"config"),zf(this,"initPromise",null),this.config=e}async ensureInitialized(){return this.payJson?this.payJson:(this.initPromise||(this.initPromise=this.initialize()),await this.initPromise,this.payJson)}async initialize(){try{await lA();const e=JSON.stringify({baseUrl:this.config.baseUrl,projectId:this.config.projectId,apiKey:this.config.apiKey,appId:this.config.appId,clientId:this.config.clientId,sdkName:this.config.sdkName,sdkVersion:this.config.sdkVersion,sdkPlatform:this.config.sdkPlatform,bundleId:this.config.bundleId});this.payJson=new jO(e)}catch(e){throw new Ne("INITIALIZATION_ERROR",`Failed to initialize WASM Pay module: ${e instanceof Error?e.message:String(e)}`)}}async getPaymentOptions(e){return(await this.ensureInitialized()).get_payment_options(e)}async getRequiredPaymentActions(e){return(await this.ensureInitialized()).get_required_payment_actions(e)}async confirmPayment(e){return(await this.ensureInitialized()).confirm_payment(e)}}function dA(t){const e=new hA(t);return new pw(e)}function Cw(){return OO()?"native":fA()?"wasm":null}function pA(t){const e=Cw();if(!e)throw new Error("No Pay provider available. Make sure you are running in React Native with the native module installed, or in a browser/Node.js environment with WebAssembly support.");switch(e){case"native":return PO(t);case"wasm":return dA(t);default:throw new Error(`Unknown provider type: ${e}`)}}function gA(){return Cw()!==null}var bA=Object.defineProperty,wA=(t,e,n)=>e in t?bA(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,To=(t,e,n)=>wA(t,typeof e!="symbol"?e+"":e,n);class yA{constructor(e){To(this,"appId"),To(this,"apiKey"),To(this,"baseUrl"),To(this,"logger"),To(this,"provider");var n,r,i;this.appId=e.appId,this.apiKey=e.apiKey,this.baseUrl=(n=e.baseUrl)!=null?n:fO,this.logger=typeof e.logger=="string"?Jh(Jc({level:e.logger})):(r=e.logger)!=null?r:Jh(Jc({level:"error"})),this.logger.trace(`${En} initialized`);const s={baseUrl:this.baseUrl,projectId:e.appId,apiKey:e.apiKey,appId:e.appId,clientId:e.clientId,sdkName:hO,sdkVersion:dO,sdkPlatform:pO(),bundleId:(i=Gl())!=null?i:""};this.provider=pA(s),this.logger.debug(`${En} provider initialized`)}static isAvailable(){return gA()}async getPaymentOptions(e){this.logger.debug({paymentLink:e.paymentLink,accounts:e.accounts,includePaymentInfo:e.includePaymentInfo},`${En} getPaymentOptions`);try{const n=await this.provider.getPaymentOptions(e);return this.logger.debug({paymentId:n.paymentId,optionsCount:n.options.length},`${En} getPaymentOptions response`),n}catch(n){throw this.logger.error({error:n},`${En} getPaymentOptions error`),n instanceof Ne?n:new Uf(String(n))}}async getRequiredPaymentActions(e){this.logger.debug({paymentId:e.paymentId,optionId:e.optionId},`${En} getRequiredPaymentActions`);try{const n=await this.provider.getRequiredPaymentActions(e);return this.logger.debug({actionsCount:n.length},`${En} getRequiredPaymentActions response`),n}catch(n){throw this.logger.error({error:n},`${En} getRequiredPaymentActions error`),n instanceof Ne?n:new Cf(String(n))}}async confirmPayment(e){this.logger.debug({paymentId:e.paymentId,optionId:e.optionId,signaturesCount:e.signatures.length,hasCollectedData:!!e.collectedData},`${En} confirmPayment`);try{const n=await this.provider.confirmPayment(e);return this.logger.debug({status:n.status,isFinal:n.isFinal},`${En} confirmPayment response`),n}catch(n){throw this.logger.error({error:n},`${En} confirmPayment error`),n instanceof Ne?n:new Ff(String(n))}}}const Fw=yA,qw="wc",mA=2,Kf="WalletKit",vA=`${qw}@2:${Kf}:`,EA={database:":memory:"},xA="request";class Fi{}class IA extends Fi{constructor(e){super()}}const kw=J.FIVE_SECONDS,qi={pulse:"heartbeat_pulse"};class Vf extends IA{constructor(e){super(e),this.events=new ut.exports.EventEmitter,this.interval=kw,this.interval=e?.interval||kw}static async init(e){const n=new Vf(e);return await n.init(),n}async init(){await this.initialize()}stop(){clearInterval(this.intervalRef)}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async initialize(){this.intervalRef=setInterval(()=>this.pulse(),J.toMiliseconds(this.interval))}pulse(){this.events.emit(qi.pulse)}}const SA=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,BA=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,OA=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function AA(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){PA(t);return}return e}function PA(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function Pc(t,e={}){if(typeof t!="string")return t;if(t[0]==='"'&&t[t.length-1]==='"'&&t.indexOf("\\")===-1)return t.slice(1,-1);const n=t.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!OA.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(SA.test(t)||BA.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,AA)}return JSON.parse(t)}catch(r){if(e.strict)throw r;return t}}function DA(t){return!t||typeof t.then!="function"?Promise.resolve(t):t}function Xe(t,...e){try{return DA(t(...e))}catch(n){return Promise.reject(n)}}function RA(t){const e=typeof t;return t===null||e!=="object"&&e!=="function"}function TA(t){const e=Object.getPrototypeOf(t);return!e||e.isPrototypeOf(Object)}function Dc(t){if(RA(t))return String(t);if(TA(t)||Array.isArray(t))return JSON.stringify(t);if(typeof t.toJSON=="function")return Dc(t.toJSON());throw new Error("[unstorage] Cannot stringify value!")}const Hf="base64:";function NA(t){return typeof t=="string"?t:Hf+FA(t)}function UA(t){return typeof t!="string"||!t.startsWith(Hf)?t:CA(t.slice(Hf.length))}function CA(t){return globalThis.Buffer?Buffer.from(t,"base64"):Uint8Array.from(globalThis.atob(t),e=>e.codePointAt(0))}function FA(t){return globalThis.Buffer?Buffer.from(t).toString("base64"):globalThis.btoa(String.fromCodePoint(...t))}function zt(t){return t&&t.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""}function qA(...t){return zt(t.join(":"))}function Rc(t){return t=zt(t),t?t+":":""}function kA(t,e){if(e===void 0)return!0;let n=0,r=t.indexOf(":");for(;r>-1;)n++,r=t.indexOf(":",r+1);return n<=e}function LA(t,e){return e?t.startsWith(e)&&t[t.length-1]!=="$":t[t.length-1]!=="$"}function WU(t){return t}const MA="memory",jA=()=>{const t=new Map;return{name:MA,getInstance:()=>t,hasItem(e){return t.has(e)},getItem(e){return t.get(e)??null},getItemRaw(e){return t.get(e)??null},setItem(e,n){t.set(e,n)},setItemRaw(e,n){t.set(e,n)},removeItem(e){t.delete(e)},getKeys(){return[...t.keys()]},clear(){t.clear()},dispose(){t.clear()}}};function zA(t={}){const e={mounts:{"":t.driver||jA()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=u=>{for(const l of e.mountpoints)if(u.startsWith(l))return{base:l,relativeKey:u.slice(l.length),driver:e.mounts[l]};return{base:"",relativeKey:u,driver:e.mounts[""]}},r=(u,l)=>e.mountpoints.filter(f=>f.startsWith(u)||l&&u.startsWith(f)).map(f=>({relativeBase:u.length>f.length?u.slice(f.length):void 0,mountpoint:f,driver:e.mounts[f]})),i=(u,l)=>{if(e.watching){l=zt(l);for(const f of e.watchListeners)f(u,l)}},s=async()=>{if(!e.watching){e.watching=!0;for(const u in e.mounts)e.unwatch[u]=await Lw(e.mounts[u],i,u)}},o=async()=>{if(e.watching){for(const u in e.unwatch)await e.unwatch[u]();e.unwatch={},e.watching=!1}},a=(u,l,f)=>{const d=new Map,h=p=>{let w=d.get(p.base);return w||(w={driver:p.driver,base:p.base,items:[]},d.set(p.base,w)),w};for(const p of u){const w=typeof p=="string",m=zt(w?p:p.key),P=w?void 0:p.value,T=w||!p.options?l:{...l,...p.options},I=n(m);h(I).items.push({key:m,value:P,relativeKey:I.relativeKey,options:T})}return Promise.all([...d.values()].map(p=>f(p))).then(p=>p.flat())},c={hasItem(u,l={}){u=zt(u);const{relativeKey:f,driver:d}=n(u);return Xe(d.hasItem,f,l)},getItem(u,l={}){u=zt(u);const{relativeKey:f,driver:d}=n(u);return Xe(d.getItem,f,l).then(h=>Pc(h))},getItems(u,l={}){return a(u,l,f=>f.driver.getItems?Xe(f.driver.getItems,f.items.map(d=>({key:d.relativeKey,options:d.options})),l).then(d=>d.map(h=>({key:qA(f.base,h.key),value:Pc(h.value)}))):Promise.all(f.items.map(d=>Xe(f.driver.getItem,d.relativeKey,d.options).then(h=>({key:d.key,value:Pc(h)})))))},getItemRaw(u,l={}){u=zt(u);const{relativeKey:f,driver:d}=n(u);return d.getItemRaw?Xe(d.getItemRaw,f,l):Xe(d.getItem,f,l).then(h=>UA(h))},async setItem(u,l,f={}){if(l===void 0)return c.removeItem(u);u=zt(u);const{relativeKey:d,driver:h}=n(u);h.setItem&&(await Xe(h.setItem,d,Dc(l),f),h.watch||i("update",u))},async setItems(u,l){await a(u,l,async f=>{if(f.driver.setItems)return Xe(f.driver.setItems,f.items.map(d=>({key:d.relativeKey,value:Dc(d.value),options:d.options})),l);f.driver.setItem&&await Promise.all(f.items.map(d=>Xe(f.driver.setItem,d.relativeKey,Dc(d.value),d.options)))})},async setItemRaw(u,l,f={}){if(l===void 0)return c.removeItem(u,f);u=zt(u);const{relativeKey:d,driver:h}=n(u);if(h.setItemRaw)await Xe(h.setItemRaw,d,l,f);else if(h.setItem)await Xe(h.setItem,d,NA(l),f);else return;h.watch||i("update",u)},async removeItem(u,l={}){typeof l=="boolean"&&(l={removeMeta:l}),u=zt(u);const{relativeKey:f,driver:d}=n(u);d.removeItem&&(await Xe(d.removeItem,f,l),(l.removeMeta||l.removeMata)&&await Xe(d.removeItem,f+"$",l),d.watch||i("remove",u))},async getMeta(u,l={}){typeof l=="boolean"&&(l={nativeOnly:l}),u=zt(u);const{relativeKey:f,driver:d}=n(u),h=Object.create(null);if(d.getMeta&&Object.assign(h,await Xe(d.getMeta,f,l)),!l.nativeOnly){const p=await Xe(d.getItem,f+"$",l).then(w=>Pc(w));p&&typeof p=="object"&&(typeof p.atime=="string"&&(p.atime=new Date(p.atime)),typeof p.mtime=="string"&&(p.mtime=new Date(p.mtime)),Object.assign(h,p))}return h},setMeta(u,l,f={}){return this.setItem(u+"$",l,f)},removeMeta(u,l={}){return this.removeItem(u+"$",l)},async getKeys(u,l={}){u=Rc(u);const f=r(u,!0);let d=[];const h=[];let p=!0;for(const m of f){m.driver.flags?.maxDepth||(p=!1);const P=await Xe(m.driver.getKeys,m.relativeBase,l);for(const T of P){const I=m.mountpoint+zt(T);d.some(x=>I.startsWith(x))||h.push(I)}d=[m.mountpoint,...d.filter(T=>!T.startsWith(m.mountpoint))]}const w=l.maxDepth!==void 0&&!p;return h.filter(m=>(!w||kA(m,l.maxDepth))&&LA(m,u))},async clear(u,l={}){u=Rc(u),await Promise.all(r(u,!1).map(async f=>{if(f.driver.clear)return Xe(f.driver.clear,f.relativeBase,l);if(f.driver.removeItem){const d=await f.driver.getKeys(f.relativeBase||"",l);return Promise.all(d.map(h=>f.driver.removeItem(h,l)))}}))},async dispose(){await Promise.all(Object.values(e.mounts).map(u=>Mw(u)))},async watch(u){return await s(),e.watchListeners.push(u),async()=>{e.watchListeners=e.watchListeners.filter(l=>l!==u),e.watchListeners.length===0&&await o()}},async unwatch(){e.watchListeners=[],await o()},mount(u,l){if(u=Rc(u),u&&e.mounts[u])throw new Error(`already mounted at ${u}`);return u&&(e.mountpoints.push(u),e.mountpoints.sort((f,d)=>d.length-f.length)),e.mounts[u]=l,e.watching&&Promise.resolve(Lw(l,i,u)).then(f=>{e.unwatch[u]=f}).catch(console.error),c},async unmount(u,l=!0){u=Rc(u),!(!u||!e.mounts[u])&&(e.watching&&u in e.unwatch&&(e.unwatch[u]?.(),delete e.unwatch[u]),l&&await Mw(e.mounts[u]),e.mountpoints=e.mountpoints.filter(f=>f!==u),delete e.mounts[u])},getMount(u=""){u=zt(u)+":";const l=n(u);return{driver:l.driver,base:l.base}},getMounts(u="",l={}){return u=zt(u),r(u,l.parents).map(d=>({driver:d.driver,base:d.mountpoint}))},keys:(u,l={})=>c.getKeys(u,l),get:(u,l={})=>c.getItem(u,l),set:(u,l,f={})=>c.setItem(u,l,f),has:(u,l={})=>c.hasItem(u,l),del:(u,l={})=>c.removeItem(u,l),remove:(u,l={})=>c.removeItem(u,l)};return c}function Lw(t,e,n){return t.watch?t.watch((r,i)=>e(r,n+i)):()=>{}}async function Mw(t){typeof t.dispose=="function"&&await Xe(t.dispose)}function ki(t){return new Promise((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)})}function jw(t,e){let n;const r=()=>{if(n)return n;const i=indexedDB.open(t);return i.onupgradeneeded=()=>i.result.createObjectStore(e),n=ki(i),n.then(s=>{s.onclose=()=>n=void 0},()=>{}),n};return(i,s)=>r().then(o=>s(o.transaction(e,i).objectStore(e)))}let Gf;function No(){return Gf||(Gf=jw("keyval-store","keyval")),Gf}function zw(t,e=No()){return e("readonly",n=>ki(n.get(t)))}function KA(t,e,n=No()){return n("readwrite",r=>(r.put(e,t),ki(r.transaction)))}function VA(t,e=No()){return e("readwrite",n=>(n.delete(t),ki(n.transaction)))}function HA(t=No()){return t("readwrite",e=>(e.clear(),ki(e.transaction)))}function GA(t,e){return t.openCursor().onsuccess=function(){this.result&&(e(this.result),this.result.continue())},ki(t.transaction)}function WA(t=No()){return t("readonly",e=>{if(e.getAllKeys)return ki(e.getAllKeys());const n=[];return GA(e,r=>n.push(r.key)).then(()=>n)})}const ZA="idb-keyval";var YA=(t={})=>{const e=t.base&&t.base.length>0?`${t.base}:`:"",n=i=>e+i;let r;return t.dbName&&t.storeName&&(r=jw(t.dbName,t.storeName)),{name:ZA,options:t,async hasItem(i){return!(typeof await zw(n(i),r)>"u")},async getItem(i){return await zw(n(i),r)??null},setItem(i,s){return KA(n(i),s,r)},removeItem(i){return VA(n(i),r)},getKeys(){return WA(r)},clear(){return HA(r)}}};const XA="WALLET_CONNECT_V2_INDEXED_DB",JA="keyvaluestorage";class QA{constructor(){this.indexedDb=zA({driver:YA({dbName:XA,storeName:JA})})}async getKeys(){return this.indexedDb.getKeys()}async getEntries(){return(await this.indexedDb.getItems(await this.indexedDb.getKeys())).map(e=>[e.key,e.value])}async getItem(e){const n=await this.indexedDb.getItem(e);if(n!==null)return n}async setItem(e,n){await this.indexedDb.setItem(e,to(n))}async removeItem(e){await this.indexedDb.removeItem(e)}}var Wf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Tc={exports:{}};(function(){let t;function e(){}t=e,t.prototype.getItem=function(n){return this.hasOwnProperty(n)?String(this[n]):null},t.prototype.setItem=function(n,r){this[n]=String(r)},t.prototype.removeItem=function(n){delete this[n]},t.prototype.clear=function(){const n=this;Object.keys(n).forEach(function(r){n[r]=void 0,delete n[r]})},t.prototype.key=function(n){return n=n||0,Object.keys(this)[n]},t.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof Wf<"u"&&Wf.localStorage?Tc.exports=Wf.localStorage:typeof window<"u"&&window.localStorage?Tc.exports=window.localStorage:Tc.exports=new e})();function _A(t){var e;return[t[0],as((e=t[1])!=null?e:"")]}class $A{constructor(){this.localStorage=Tc.exports}async getKeys(){return Object.keys(this.localStorage)}async getEntries(){return Object.entries(this.localStorage).map(_A)}async getItem(e){const n=this.localStorage.getItem(e);if(n!==null)return as(n)}async setItem(e,n){this.localStorage.setItem(e,to(n))}async removeItem(e){this.localStorage.removeItem(e)}}const eP="wc_storage_version",Kw=1,tP=async(t,e,n)=>{const r=eP,i=await e.getItem(r);if(i&&i>=Kw){n(e);return}const s=await t.getKeys();if(!s.length){n(e);return}const o=[];for(;s.length;){const a=s.shift();if(!a)continue;const c=a.toLowerCase();if(c.includes("wc@")||c.includes("walletconnect")||c.includes("wc_")||c.includes("wallet_connect")){const u=await t.getItem(a);await e.setItem(a,u),o.push(a)}}await e.setItem(r,Kw),n(e),nP(t,o)},nP=async(t,e)=>{e.length&&e.forEach(async n=>{await t.removeItem(n)})};class rP{constructor(){this.initialized=!1,this.setInitialized=n=>{this.storage=n,this.initialized=!0};const e=new $A;this.storage=e;try{const n=new QA;tP(e,n,this.setInitialized)}catch{this.initialized=!0}}async getKeys(){return await this.initialize(),this.storage.getKeys()}async getEntries(){return await this.initialize(),this.storage.getEntries()}async getItem(e){return await this.initialize(),this.storage.getItem(e)}async setItem(e,n){return await this.initialize(),this.storage.setItem(e,n)}async removeItem(e){return await this.initialize(),this.storage.removeItem(e)}async initialize(){this.initialized||await new Promise(e=>{const n=setInterval(()=>{this.initialized&&(clearInterval(n),e())},20)})}}var iP=Object.defineProperty,sP=(t,e,n)=>e in t?iP(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Vw=(t,e,n)=>sP(t,typeof e!="symbol"?e+"":e,n);class oP extends Fi{constructor(e){super(),this.opts=e,Vw(this,"protocol","wc"),Vw(this,"version",2)}}var aP=Object.defineProperty,cP=(t,e,n)=>e in t?aP(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,uP=(t,e,n)=>cP(t,typeof e!="symbol"?e+"":e,n);class lP extends Fi{constructor(e,n){super(),this.core=e,this.logger=n,uP(this,"records",new Map)}}class fP{constructor(e,n){this.logger=e,this.core=n}}class hP extends Fi{constructor(e,n){super(),this.relayer=e,this.logger=n}}class dP extends Fi{constructor(e){super()}}class pP{constructor(e,n,r,i){this.core=e,this.logger=n,this.name=r}}class gP extends Fi{constructor(e,n){super(),this.relayer=e,this.logger=n}}class bP extends Fi{constructor(e,n){super(),this.core=e,this.logger=n}}class wP{constructor(e,n,r){this.core=e,this.logger=n,this.store=r}}class yP{constructor(e,n){this.projectId=e,this.logger=n}}class mP{constructor(e,n,r){this.core=e,this.logger=n,this.telemetryEnabled=r}}var vP=Object.defineProperty,EP=(t,e,n)=>e in t?vP(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Hw=(t,e,n)=>EP(t,typeof e!="symbol"?e+"":e,n);class xP{constructor(e){this.opts=e,Hw(this,"protocol","wc"),Hw(this,"version",2)}}class IP{constructor(e){this.client=e}}const SP="PARSE_ERROR",BP="INVALID_REQUEST",OP="METHOD_NOT_FOUND",AP="INVALID_PARAMS",Gw="INTERNAL_ERROR",Zf="SERVER_ERROR",PP=[-32700,-32600,-32601,-32602,-32603],Uo={[SP]:{code:-32700,message:"Parse error"},[BP]:{code:-32600,message:"Invalid Request"},[OP]:{code:-32601,message:"Method not found"},[AP]:{code:-32602,message:"Invalid params"},[Gw]:{code:-32603,message:"Internal error"},[Zf]:{code:-32e3,message:"Server error"}},Ww=Zf;function DP(t){return PP.includes(t)}function Zw(t){return Object.keys(Uo).includes(t)?Uo[t]:Uo[Ww]}function RP(t){const e=Object.values(Uo).find(n=>n.code===t);return e||Uo[Ww]}function TP(t,e,n){return t.message.includes("getaddrinfo ENOTFOUND")||t.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${n} RPC url at ${e}`):t}var Yw={};/*! *****************************************************************************
28
30
  Copyright (c) Microsoft Corporation.
29
31
 
30
32
  Permission to use, copy, modify, and/or distribute this software for any
@@ -37,5 +39,5 @@ ${t.length}`,n=new TextEncoder().encode(e+t);return"0x"+Buffer.from(m5(n)).toStr
37
39
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
38
40
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
39
41
  PERFORMANCE OF THIS SOFTWARE.
40
- ***************************************************************************** */var vl=function(t,e){return vl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])},vl(t,e)};function n7(t,e){vl(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var El=function(){return El=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},El.apply(this,arguments)};function r7(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function i7(t,e,n,r){var i=arguments.length,s=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function s7(t,e){return function(n,r){e(n,r,t)}}function o7(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function a7(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(l){try{u(r.next(l))}catch(f){o(f)}}function c(l){try{u(r.throw(l))}catch(f){o(f)}}function u(l){l.done?s(l.value):i(l.value).then(a,c)}u((r=r.apply(t,e||[])).next())})}function c7(t,e){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(u){return function(l){return c([u,l])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){n.label=u[1];break}if(u[0]===6&&n.label<s[1]){n.label=s[1],s=u;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(u);break}s[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(l){u=[6,l],i=0}finally{r=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function u7(t,e,n,r){r===void 0&&(r=n),t[r]=e[n]}function l7(t,e){for(var n in t)n!=="default"&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function xl(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function k1(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function f7(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(k1(arguments[e]));return t}function h7(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,i++)r[i]=s[o];return r}function Ds(t){return this instanceof Ds?(this.v=t,this):new Ds(t)}function d7(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){r[d]&&(i[d]=function(h){return new Promise(function(p,y){s.push([d,h,p,y])>1||a(d,h)})})}function a(d,h){try{c(r[d](h))}catch(p){f(s[0][3],p)}}function c(d){d.value instanceof Ds?Promise.resolve(d.value.v).then(u,l):f(s[0][2],d)}function u(d){a("next",d)}function l(d){a("throw",d)}function f(d,h){d(h),s.shift(),s.length&&a(s[0][0],s[0][1])}}function p7(t){var e,n;return e={},r("next"),r("throw",function(i){throw i}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(i,s){e[i]=t[i]?function(o){return(n=!n)?{value:Ds(t[i](o)),done:i==="return"}:s?s(o):o}:s}}function g7(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof xl=="function"?xl(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=t[s]&&function(o){return new Promise(function(a,c){o=t[s](o),i(a,c,o.done,o.value)})}}function i(s,o,a,c){Promise.resolve(c).then(function(u){s({value:u,done:a})},o)}}function y7(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function b7(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function w7(t){return t&&t.__esModule?t:{default:t}}function m7(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function v7(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}var E7=Object.freeze({__proto__:null,__extends:n7,get __assign(){return El},__rest:r7,__decorate:i7,__param:s7,__metadata:o7,__awaiter:a7,__generator:c7,__createBinding:u7,__exportStar:l7,__values:xl,__read:k1,__spread:f7,__spreadArrays:h7,__await:Ds,__asyncGenerator:d7,__asyncDelegator:p7,__asyncValues:g7,__makeTemplateObject:y7,__importStar:b7,__importDefault:w7,__classPrivateFieldGet:m7,__classPrivateFieldSet:v7}),x7=Wl(E7),Nn={},q1;function _7(){if(q1)return Nn;q1=1,Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.isBrowserCryptoAvailable=Nn.getSubtleCrypto=Nn.getBrowerCrypto=void 0;function t(){return Jt?.crypto||Jt?.msCrypto||{}}Nn.getBrowerCrypto=t;function e(){const r=t();return r.subtle||r.webkitSubtle}Nn.getSubtleCrypto=e;function n(){return!!t()&&!!e()}return Nn.isBrowserCryptoAvailable=n,Nn}var Cn={},M1;function S7(){if(M1)return Cn;M1=1,Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.isBrowser=Cn.isNode=Cn.isReactNative=void 0;function t(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}Cn.isReactNative=t;function e(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}Cn.isNode=e;function n(){return!t()&&!e()}return Cn.isBrowser=n,Cn}(function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=x7;e.__exportStar(_7(),t),e.__exportStar(S7(),t)})(L1);function an(t=3){const e=Date.now()*Math.pow(10,t),n=Math.floor(Math.random()*Math.pow(10,t));return e+n}function Er(t=6){return BigInt(an(t))}function Un(t,e,n){return{id:n||an(),jsonrpc:"2.0",method:t,params:e}}function Ea(t,e){return{id:t,jsonrpc:"2.0",result:e}}function _l(t,e,n){return{id:t,jsonrpc:"2.0",error:I7(e,n)}}function I7(t,e){return typeof t>"u"?F1(C1):(typeof t=="string"&&(t=Object.assign(Object.assign({},F1(ml)),{message:t})),typeof e<"u"&&(t.data=e),Q9(t.code)&&(t=e7(t.code)),t)}class A7{}class B7 extends A7{constructor(){super()}}class O7 extends B7{constructor(e){super()}}const D7="^wss?:";function $7(t){const e=t.match(new RegExp(/^\w+:/,"gi"));if(!(!e||!e.length))return e[0]}function P7(t,e){const n=$7(t);return typeof n>"u"?!1:new RegExp(e).test(n)}function j1(t){return P7(t,D7)}function T7(t){return new RegExp("wss?://localhost(:d{2,5})?").test(t)}function z1(t){return typeof t=="object"&&"id"in t&&"jsonrpc"in t&&t.jsonrpc==="2.0"}function Sl(t){return z1(t)&&"method"in t}function xa(t){return z1(t)&&(cn(t)||Lt(t))}function cn(t){return"result"in t}function Lt(t){return"error"in t}class R7 extends O7{constructor(e){super(e),this.events=new Ke.exports.EventEmitter,this.hasRegisteredEventListeners=!1,this.connection=this.setConnection(e),this.connection.connected&&this.registerEventListeners()}async connect(e=this.connection){await this.open(e)}async disconnect(){await this.close()}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async request(e,n){return this.requestStrict(Un(e.method,e.params||[],e.id||Er().toString()),n)}async requestStrict(e,n){return new Promise(async(r,i)=>{if(!this.connection.connected)try{await this.open()}catch(s){i(s)}this.events.on(`${e.id}`,s=>{Lt(s)?i(s.error):r(s.result)});try{await this.connection.send(e,n)}catch(s){i(s)}})}setConnection(e=this.connection){return e}onPayload(e){this.events.emit("payload",e),xa(e)?this.events.emit(`${e.id}`,e):this.events.emit("message",{type:e.method,data:e.params})}onClose(e){e&&e.code===3e3&&this.events.emit("error",new Error(`WebSocket connection closed abnormally with code: ${e.code} ${e.reason?`(${e.reason})`:""}`)),this.events.emit("disconnect")}async open(e=this.connection){this.connection===e&&this.connection.connected||(this.connection.connected&&this.close(),typeof e=="string"&&(await this.connection.open(e),e=this.connection),this.connection=this.setConnection(e),await this.connection.open(),this.registerEventListeners(),this.events.emit("connect"))}async close(){await this.connection.close()}registerEventListeners(){this.hasRegisteredEventListeners||(this.connection.on("payload",e=>this.onPayload(e)),this.connection.on("close",e=>this.onClose(e)),this.connection.on("error",e=>this.events.emit("error",e)),this.connection.on("register_error",e=>this.onClose()),this.hasRegisteredEventListeners=!0)}}const N7=()=>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:require("ws"),C7=()=>typeof WebSocket<"u"||typeof global<"u"&&typeof global.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u",H1=t=>t.split("?")[0],V1=10,U7=N7();class F7{constructor(e){if(this.url=e,this.events=new Ke.exports.EventEmitter,this.registering=!1,!j1(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);this.url=e}get connected(){return typeof this.socket<"u"}get connecting(){return this.registering}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async open(e=this.url){await this.register(e)}async close(){return new Promise((e,n)=>{if(typeof this.socket>"u"){n(new Error("Connection already closed"));return}this.socket.onclose=r=>{this.onClose(r),e()},this.socket.close()})}async send(e){typeof this.socket>"u"&&(this.socket=await this.register());try{this.socket.send(Br(e))}catch(n){this.onError(e.id,n)}}register(e=this.url){if(!j1(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);if(this.registering){const n=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=n||this.events.listenerCount("open")>=n)&&this.events.setMaxListeners(n+1),new Promise((r,i)=>{this.events.once("register_error",s=>{this.resetMaxListeners(),i(s)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.socket>"u")return i(new Error("WebSocket connection is missing or invalid"));r(this.socket)})})}return this.url=e,this.registering=!0,new Promise((n,r)=>{const i=L1.isReactNative()?void 0:{rejectUnauthorized:!T7(e)},s=new U7(e,[],i);C7()?s.onerror=o=>{const a=o;r(this.emitError(a.error))}:s.on("error",o=>{r(this.emitError(o))}),s.onopen=()=>{this.onOpen(s),n(s)}})}onOpen(e){e.onmessage=n=>this.onPayload(n),e.onclose=n=>this.onClose(n),this.socket=e,this.registering=!1,this.events.emit("open")}onClose(e){this.socket=void 0,this.registering=!1,this.events.emit("close",e)}onPayload(e){if(typeof e.data>"u")return;const n=typeof e.data=="string"?ni(e.data):e.data;this.events.emit("payload",n)}onError(e,n){const r=this.parseError(n),i=r.message||r.toString(),s=_l(e,i);this.events.emit("payload",s)}parseError(e,n=this.url){return t7(e,H1(n),"WS")}resetMaxListeners(){this.events.getMaxListeners()>V1&&this.events.setMaxListeners(V1)}emitError(e){const n=this.parseError(new Error(e?.message||`WebSocket connection failed for host: ${H1(this.url)}`));return this.events.emit("register_error",n),n}}const K1="wc",G1=2,_a="core",un=`${K1}@2:${_a}:`,L7={name:_a,logger:"error"},k7={database:":memory:"},q7="crypto",W1="client_ed25519_seed",M7=K.ONE_DAY,j7="keychain",z7="0.3",H7="messages",V7="0.3",K7=K.SIX_HOURS,G7="publisher",Z1="irn",W7="error",Y1="wss://relay.walletconnect.org",Z7="relayer",Ie={message:"relayer_message",message_ack:"relayer_message_ack",connect:"relayer_connect",disconnect:"relayer_disconnect",error:"relayer_error",connection_stalled:"relayer_connection_stalled",transport_closed:"relayer_transport_closed",publish:"relayer_publish"},Y7="_subscription",kt={payload:"payload",connect:"connect",disconnect:"disconnect",error:"error"},X7=.1,Il="2.23.0",me={link_mode:"link_mode",relay:"relay"},Sa={inbound:"inbound",outbound:"outbound"},J7="0.3",Q7="WALLETCONNECT_CLIENT_ID",X1="WALLETCONNECT_LINK_MODE_APPS",Dt={created:"subscription_created",deleted:"subscription_deleted",expired:"subscription_expired",disabled:"subscription_disabled",sync:"subscription_sync",resubscribed:"subscription_resubscribed"},eA="subscription",tA="0.3",nA="pairing",rA="0.3",$s={wc_pairingDelete:{req:{ttl:K.ONE_DAY,prompt:!1,tag:1e3},res:{ttl:K.ONE_DAY,prompt:!1,tag:1001}},wc_pairingPing:{req:{ttl:K.THIRTY_SECONDS,prompt:!1,tag:1002},res:{ttl:K.THIRTY_SECONDS,prompt:!1,tag:1003}},unregistered_method:{req:{ttl:K.ONE_DAY,prompt:!1,tag:0},res:{ttl:K.ONE_DAY,prompt:!1,tag:0}}},Yr={create:"pairing_create",expire:"pairing_expire",delete:"pairing_delete",ping:"pairing_ping"},Yt={created:"history_created",updated:"history_updated",deleted:"history_deleted",sync:"history_sync"},iA="history",sA="0.3",oA="expirer",qt={created:"expirer_created",deleted:"expirer_deleted",expired:"expirer_expired",sync:"expirer_sync"},aA="0.3",cA="verify-api",uA="https://verify.walletconnect.com",J1="https://verify.walletconnect.org",Ps=J1,lA=`${Ps}/v3`,fA=[uA,J1],hA="echo",dA="https://echo.walletconnect.com",ln={pairing_started:"pairing_started",pairing_uri_validation_success:"pairing_uri_validation_success",pairing_uri_not_expired:"pairing_uri_not_expired",store_new_pairing:"store_new_pairing",subscribing_pairing_topic:"subscribing_pairing_topic",subscribe_pairing_topic_success:"subscribe_pairing_topic_success",existing_pairing:"existing_pairing",pairing_not_expired:"pairing_not_expired",emit_inactive_pairing:"emit_inactive_pairing",emit_session_proposal:"emit_session_proposal",subscribing_to_pairing_topic:"subscribing_to_pairing_topic"},Fn={no_wss_connection:"no_wss_connection",no_internet_connection:"no_internet_connection",malformed_pairing_uri:"malformed_pairing_uri",active_pairing_already_exists:"active_pairing_already_exists",subscribe_pairing_topic_failure:"subscribe_pairing_topic_failure",pairing_expired:"pairing_expired",proposal_expired:"proposal_expired",proposal_listener_not_found:"proposal_listener_not_found"},Xt={session_approve_started:"session_approve_started",proposal_not_expired:"proposal_not_expired",session_namespaces_validation_success:"session_namespaces_validation_success",create_session_topic:"create_session_topic",subscribing_session_topic:"subscribing_session_topic",subscribe_session_topic_success:"subscribe_session_topic_success",publishing_session_approve:"publishing_session_approve",session_approve_publish_success:"session_approve_publish_success",store_session:"store_session",publishing_session_settle:"publishing_session_settle",session_settle_publish_success:"session_settle_publish_success",session_request_response_started:"session_request_response_started",session_request_response_validation_success:"session_request_response_validation_success",session_request_response_publish_started:"session_request_response_publish_started"},Xr={no_internet_connection:"no_internet_connection",no_wss_connection:"no_wss_connection",proposal_expired:"proposal_expired",subscribe_session_topic_failure:"subscribe_session_topic_failure",session_approve_publish_failure:"session_approve_publish_failure",session_settle_publish_failure:"session_settle_publish_failure",session_approve_namespace_validation_failure:"session_approve_namespace_validation_failure",proposal_not_found:"proposal_not_found",session_request_response_validation_failure:"session_request_response_validation_failure",session_request_response_publish_failure:"session_request_response_publish_failure"},Jr={authenticated_session_approve_started:"authenticated_session_approve_started",authenticated_session_not_expired:"authenticated_session_not_expired",chains_caip2_compliant:"chains_caip2_compliant",chains_evm_compliant:"chains_evm_compliant",create_authenticated_session_topic:"create_authenticated_session_topic",cacaos_verified:"cacaos_verified",store_authenticated_session:"store_authenticated_session",subscribing_authenticated_session_topic:"subscribing_authenticated_session_topic",subscribe_authenticated_session_topic_success:"subscribe_authenticated_session_topic_success",publishing_authenticated_session_approve:"publishing_authenticated_session_approve",authenticated_session_approve_publish_success:"authenticated_session_approve_publish_success"},Ts={no_internet_connection:"no_internet_connection",no_wss_connection:"no_wss_connection",missing_session_authenticate_request:"missing_session_authenticate_request",session_authenticate_request_expired:"session_authenticate_request_expired",chains_caip2_compliant_failure:"chains_caip2_compliant_failure",chains_evm_compliant_failure:"chains_evm_compliant_failure",invalid_cacao:"invalid_cacao",subscribe_authenticated_session_topic_failure:"subscribe_authenticated_session_topic_failure",authenticated_session_approve_publish_failure:"authenticated_session_approve_publish_failure",authenticated_session_pending_request_not_found:"authenticated_session_pending_request_not_found"},pA=.1,gA="event-client",yA=86400,bA="https://pulse.walletconnect.org/batch";function wA(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<t.length;i++){var s=t.charAt(i),o=s.charCodeAt(0);if(n[o]!==255)throw new TypeError(s+" is ambiguous");n[o]=i}var a=t.length,c=t.charAt(0),u=Math.log(a)/Math.log(256),l=Math.log(256)/Math.log(a);function f(p){if(p instanceof Uint8Array||(ArrayBuffer.isView(p)?p=new Uint8Array(p.buffer,p.byteOffset,p.byteLength):Array.isArray(p)&&(p=Uint8Array.from(p))),!(p instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(p.length===0)return"";for(var y=0,m=0,B=0,$=p.length;B!==$&&p[B]===0;)B++,y++;for(var _=($-B)*l+1>>>0,x=new Uint8Array(_);B!==$;){for(var P=p[B],R=0,U=_-1;(P!==0||R<m)&&U!==-1;U--,R++)P+=256*x[U]>>>0,x[U]=P%a>>>0,P=P/a>>>0;if(P!==0)throw new Error("Non-zero carry");m=R,B++}for(var F=_-m;F!==_&&x[F]===0;)F++;for(var D=c.repeat(y);F<_;++F)D+=t.charAt(x[F]);return D}function d(p){if(typeof p!="string")throw new TypeError("Expected String");if(p.length===0)return new Uint8Array;var y=0;if(p[y]!==" "){for(var m=0,B=0;p[y]===c;)m++,y++;for(var $=(p.length-y)*u+1>>>0,_=new Uint8Array($);p[y];){var x=n[p.charCodeAt(y)];if(x===255)return;for(var P=0,R=$-1;(x!==0||P<B)&&R!==-1;R--,P++)x+=a*_[R]>>>0,_[R]=x%256>>>0,x=x/256>>>0;if(x!==0)throw new Error("Non-zero carry");B=P,y++}if(p[y]!==" "){for(var U=$-B;U!==$&&_[U]===0;)U++;for(var F=new Uint8Array(m+($-U)),D=m;U!==$;)F[D++]=_[U++];return F}}}function h(p){var y=d(p);if(y)return y;throw new Error(`Non-${e} character`)}return{encode:f,decodeUnsafe:d,decode:h}}var mA=wA,vA=mA;const Q1=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},EA=t=>new TextEncoder().encode(t),xA=t=>new TextDecoder().decode(t);class _A{constructor(e,n,r){this.name=e,this.prefix=n,this.baseEncode=r}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class SA{constructor(e,n,r){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=r}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return ey(this,e)}}class IA{constructor(e){this.decoders=e}or(e){return ey(this,e)}decode(e){const n=e[0],r=this.decoders[n];if(r)return r.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const ey=(t,e)=>new IA({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}});class AA{constructor(e,n,r,i){this.name=e,this.prefix=n,this.baseEncode=r,this.baseDecode=i,this.encoder=new _A(e,n,r),this.decoder=new SA(e,n,i)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const Ia=({name:t,prefix:e,encode:n,decode:r})=>new AA(t,e,n,r),Rs=({prefix:t,name:e,alphabet:n})=>{const{encode:r,decode:i}=vA(n,e);return Ia({prefix:t,name:e,encode:r,decode:s=>Q1(i(s))})},BA=(t,e,n,r)=>{const i={};for(let l=0;l<e.length;++l)i[e[l]]=l;let s=t.length;for(;t[s-1]==="=";)--s;const o=new Uint8Array(s*n/8|0);let a=0,c=0,u=0;for(let l=0;l<s;++l){const f=i[t[l]];if(f===void 0)throw new SyntaxError(`Non-${r} character`);c=c<<n|f,a+=n,a>=8&&(a-=8,o[u++]=255&c>>a)}if(a>=n||255&c<<8-a)throw new SyntaxError("Unexpected end of data");return o},OA=(t,e,n)=>{const r=e[e.length-1]==="=",i=(1<<n)-1;let s="",o=0,a=0;for(let c=0;c<t.length;++c)for(a=a<<8|t[c],o+=8;o>n;)o-=n,s+=e[i&a>>o];if(o&&(s+=e[i&a<<n-o]),r)for(;s.length*n&7;)s+="=";return s},Me=({name:t,prefix:e,bitsPerChar:n,alphabet:r})=>Ia({prefix:e,name:t,encode(i){return OA(i,r,n)},decode(i){return BA(i,r,n,t)}}),DA=Ia({prefix:"\0",name:"identity",encode:t=>xA(t),decode:t=>EA(t)});var $A=Object.freeze({__proto__:null,identity:DA});const PA=Me({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var TA=Object.freeze({__proto__:null,base2:PA});const RA=Me({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var NA=Object.freeze({__proto__:null,base8:RA});const CA=Rs({prefix:"9",name:"base10",alphabet:"0123456789"});var UA=Object.freeze({__proto__:null,base10:CA});const FA=Me({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),LA=Me({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var kA=Object.freeze({__proto__:null,base16:FA,base16upper:LA});const qA=Me({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),MA=Me({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),jA=Me({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),zA=Me({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),HA=Me({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),VA=Me({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),KA=Me({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),GA=Me({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),WA=Me({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var ZA=Object.freeze({__proto__:null,base32:qA,base32upper:MA,base32pad:jA,base32padupper:zA,base32hex:HA,base32hexupper:VA,base32hexpad:KA,base32hexpadupper:GA,base32z:WA});const YA=Rs({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),XA=Rs({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var JA=Object.freeze({__proto__:null,base36:YA,base36upper:XA});const QA=Rs({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),eB=Rs({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var tB=Object.freeze({__proto__:null,base58btc:QA,base58flickr:eB});const nB=Me({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),rB=Me({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),iB=Me({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),sB=Me({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var oB=Object.freeze({__proto__:null,base64:nB,base64pad:rB,base64url:iB,base64urlpad:sB});const ty=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),aB=ty.reduce((t,e,n)=>(t[n]=e,t),[]),cB=ty.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);function uB(t){return t.reduce((e,n)=>(e+=aB[n],e),"")}function lB(t){const e=[];for(const n of t){const r=cB[n.codePointAt(0)];if(r===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(r)}return new Uint8Array(e)}const fB=Ia({prefix:"\u{1F680}",name:"base256emoji",encode:uB,decode:lB});var hB=Object.freeze({__proto__:null,base256emoji:fB}),dB=ry,ny=128,pB=127,gB=~pB,yB=Math.pow(2,31);function ry(t,e,n){e=e||[],n=n||0;for(var r=n;t>=yB;)e[n++]=t&255|ny,t/=128;for(;t&gB;)e[n++]=t&255|ny,t>>>=7;return e[n]=t|0,ry.bytes=n-r+1,e}var bB=Al,wB=128,iy=127;function Al(t,r){var n=0,r=r||0,i=0,s=r,o,a=t.length;do{if(s>=a)throw Al.bytes=0,new RangeError("Could not decode varint");o=t[s++],n+=i<28?(o&iy)<<i:(o&iy)*Math.pow(2,i),i+=7}while(o>=wB);return Al.bytes=s-r,n}var mB=Math.pow(2,7),vB=Math.pow(2,14),EB=Math.pow(2,21),xB=Math.pow(2,28),_B=Math.pow(2,35),SB=Math.pow(2,42),IB=Math.pow(2,49),AB=Math.pow(2,56),BB=Math.pow(2,63),OB=function(t){return t<mB?1:t<vB?2:t<EB?3:t<xB?4:t<_B?5:t<SB?6:t<IB?7:t<AB?8:t<BB?9:10},DB={encode:dB,decode:bB,encodingLength:OB},sy=DB;const oy=(t,e,n=0)=>(sy.encode(t,e,n),e),ay=t=>sy.encodingLength(t),Bl=(t,e)=>{const n=e.byteLength,r=ay(t),i=r+ay(n),s=new Uint8Array(i+n);return oy(t,s,0),oy(n,s,r),s.set(e,i),new $B(t,n,e,s)};class $B{constructor(e,n,r,i){this.code=e,this.size=n,this.digest=r,this.bytes=i}}const cy=({name:t,code:e,encode:n})=>new PB(t,e,n);class PB{constructor(e,n,r){this.name=e,this.code=n,this.encode=r}digest(e){if(e instanceof Uint8Array){const n=this.encode(e);return n instanceof Uint8Array?Bl(this.code,n):n.then(r=>Bl(this.code,r))}else throw Error("Unknown type, must be binary type")}}const uy=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),TB=cy({name:"sha2-256",code:18,encode:uy("SHA-256")}),RB=cy({name:"sha2-512",code:19,encode:uy("SHA-512")});var NB=Object.freeze({__proto__:null,sha256:TB,sha512:RB});const ly=0,CB="identity",fy=Q1;var UB=Object.freeze({__proto__:null,identity:{code:ly,name:CB,encode:fy,digest:t=>Bl(ly,fy(t))}});new TextEncoder,new TextDecoder;const hy={...$A,...TA,...NA,...UA,...kA,...ZA,...JA,...tB,...oB,...hB};({...NB,...UB});function dy(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function FB(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?dy(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function py(t,e,n,r){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:r}}}const gy=py("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),Ol=py("ascii","a",t=>{let e="a";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},t=>{t=t.substring(1);const e=FB(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}),LB={utf8:gy,"utf-8":gy,hex:hy.base16,latin1:Ol,ascii:Ol,binary:Ol,...hy};function kB(t,e="utf8"){const n=LB[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?dy(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}var qB=Object.defineProperty,MB=(t,e,n)=>e in t?qB(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,fn=(t,e,n)=>MB(t,typeof e!="symbol"?e+"":e,n);class jB{constructor(e,n){this.core=e,this.logger=n,fn(this,"keychain",new Map),fn(this,"name",j7),fn(this,"version",z7),fn(this,"initialized",!1),fn(this,"storagePrefix",un),fn(this,"init",async()=>{if(!this.initialized){const r=await this.getKeyChain();typeof r<"u"&&(this.keychain=r),this.initialized=!0}}),fn(this,"has",r=>(this.isInitialized(),this.keychain.has(r))),fn(this,"set",async(r,i)=>{this.isInitialized(),this.keychain.set(r,i),await this.persist()}),fn(this,"get",r=>{this.isInitialized();const i=this.keychain.get(r);if(typeof i>"u"){const{message:s}=G("NO_MATCHING_KEY",`${this.name}: ${r}`);throw new Error(s)}return i}),fn(this,"del",async r=>{this.isInitialized(),this.keychain.delete(r),await this.persist()}),this.core=e,this.logger=_t(n,this.name)}get context(){return ft(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setKeyChain(e){await this.core.storage.setItem(this.storageKey,Nu(e))}async getKeyChain(){const e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Cu(e):void 0}async persist(){await this.setKeyChain(this.keychain)}isInitialized(){if(!this.initialized){const{message:e}=G("NOT_INITIALIZED",this.name);throw new Error(e)}}}var zB=Object.defineProperty,HB=(t,e,n)=>e in t?zB(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ce=(t,e,n)=>HB(t,typeof e!="symbol"?e+"":e,n);class VB{constructor(e,n,r){this.core=e,this.logger=n,Ce(this,"name",q7),Ce(this,"keychain"),Ce(this,"randomSessionIdentifier",dl()),Ce(this,"initialized",!1),Ce(this,"clientId"),Ce(this,"init",async()=>{this.initialized||(await this.keychain.init(),this.initialized=!0)}),Ce(this,"hasKeys",i=>(this.isInitialized(),this.keychain.has(i))),Ce(this,"getClientId",async()=>{if(this.isInitialized(),this.clientId)return this.clientId;const i=await this.getClientSeed(),s=$h(i),o=Dh(s.publicKey);return this.clientId=o,o}),Ce(this,"generateKeyPair",()=>{this.isInitialized();const i=DI();return this.setPrivateKey(i.publicKey,i.privateKey)}),Ce(this,"signJWT",async i=>{this.isInitialized();const s=await this.getClientSeed(),o=$h(s),a=this.randomSessionIdentifier;return await l3(a,i,M7,o)}),Ce(this,"generateSharedKey",(i,s,o)=>{this.isInitialized();const a=this.getPrivateKey(i),c=$I(a,s);return this.setSymKey(c,o)}),Ce(this,"setSymKey",async(i,s)=>{this.isInitialized();const o=s||ba(i);return await this.keychain.set(o,i),o}),Ce(this,"deleteKeyPair",async i=>{this.isInitialized(),await this.keychain.del(i)}),Ce(this,"deleteSymKey",async i=>{this.isInitialized(),await this.keychain.del(i)}),Ce(this,"encode",async(i,s,o)=>{this.isInitialized();const a=p1(o),c=Br(s);if(y1(a))return RI(c,o?.encoding);if(g1(a)){const d=a.senderPublicKey,h=a.receiverPublicKey;i=await this.generateSharedKey(d,h)}const u=this.getSymKey(i),{type:l,senderPublicKey:f}=a;return PI({type:l,symKey:u,message:c,senderPublicKey:f,encoding:o?.encoding})}),Ce(this,"decode",async(i,s,o)=>{this.isInitialized();const a=CI(s,o);if(y1(a)){const c=NI(s,o?.encoding);return ni(c)}if(g1(a)){const c=a.receiverPublicKey,u=a.senderPublicKey;i=await this.generateSharedKey(c,u)}try{const c=this.getSymKey(i),u=TI({symKey:c,encoded:s,encoding:o?.encoding});return ni(u)}catch(c){this.logger.error(`Failed to decode message from topic: '${i}', clientId: '${await this.getClientId()}'`),this.logger.error(c)}}),Ce(this,"getPayloadType",(i,s=vt)=>{const o=Is({encoded:i,encoding:s});return Zr(o.type)}),Ce(this,"getPayloadSenderPublicKey",(i,s=vt)=>{const o=Is({encoded:i,encoding:s});return o.senderPublicKey?bt(o.senderPublicKey,ut):void 0}),this.core=e,this.logger=_t(n,this.name),this.keychain=r||new jB(this.core,this.logger)}get context(){return ft(this.logger)}async setPrivateKey(e,n){return await this.keychain.set(e,n),e}getPrivateKey(e){return this.keychain.get(e)}async getClientSeed(){let e="";try{e=this.keychain.get(W1)}catch{e=dl(),await this.keychain.set(W1,e)}return kB(e,"base16")}getSymKey(e){return this.keychain.get(e)}isInitialized(){if(!this.initialized){const{message:e}=G("NOT_INITIALIZED",this.name);throw new Error(e)}}}var KB=Object.defineProperty,GB=Object.defineProperties,WB=Object.getOwnPropertyDescriptors,yy=Object.getOwnPropertySymbols,ZB=Object.prototype.hasOwnProperty,YB=Object.prototype.propertyIsEnumerable,Dl=(t,e,n)=>e in t?KB(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,XB=(t,e)=>{for(var n in e||(e={}))ZB.call(e,n)&&Dl(t,n,e[n]);if(yy)for(var n of yy(e))YB.call(e,n)&&Dl(t,n,e[n]);return t},JB=(t,e)=>GB(t,WB(e)),$t=(t,e,n)=>Dl(t,typeof e!="symbol"?e+"":e,n);class QB extends um{constructor(e,n){super(e,n),this.logger=e,this.core=n,$t(this,"messages",new Map),$t(this,"messagesWithoutClientAck",new Map),$t(this,"name",H7),$t(this,"version",V7),$t(this,"initialized",!1),$t(this,"storagePrefix",un),$t(this,"init",async()=>{if(!this.initialized){this.logger.trace("Initialized");try{const r=await this.getRelayerMessages();typeof r<"u"&&(this.messages=r);const i=await this.getRelayerMessagesWithoutClientAck();typeof i<"u"&&(this.messagesWithoutClientAck=i),this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",size:this.messages.size})}catch(r){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(r)}finally{this.initialized=!0}}}),$t(this,"set",async(r,i,s)=>{this.isInitialized();const o=Ft(i);let a=this.messages.get(r);if(typeof a>"u"&&(a={}),typeof a[o]<"u")return o;if(a[o]=i,this.messages.set(r,a),s===Sa.inbound){const c=this.messagesWithoutClientAck.get(r)||{};this.messagesWithoutClientAck.set(r,JB(XB({},c),{[o]:i}))}return await this.persist(),o}),$t(this,"get",r=>{this.isInitialized();let i=this.messages.get(r);return typeof i>"u"&&(i={}),i}),$t(this,"getWithoutAck",r=>{this.isInitialized();const i={};for(const s of r){const o=this.messagesWithoutClientAck.get(s)||{};i[s]=Object.values(o)}return i}),$t(this,"has",(r,i)=>{this.isInitialized();const s=this.get(r),o=Ft(i);return typeof s[o]<"u"}),$t(this,"ack",async(r,i)=>{this.isInitialized();const s=this.messagesWithoutClientAck.get(r);if(typeof s>"u")return;const o=Ft(i);delete s[o],Object.keys(s).length===0?this.messagesWithoutClientAck.delete(r):this.messagesWithoutClientAck.set(r,s),await this.persist()}),$t(this,"del",async r=>{this.isInitialized(),this.messages.delete(r),this.messagesWithoutClientAck.delete(r),await this.persist()}),this.logger=_t(e,this.name),this.core=n}get context(){return ft(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get storageKeyWithoutClientAck(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name+"_withoutClientAck"}async setRelayerMessages(e){await this.core.storage.setItem(this.storageKey,Nu(e))}async setRelayerMessagesWithoutClientAck(e){await this.core.storage.setItem(this.storageKeyWithoutClientAck,Nu(e))}async getRelayerMessages(){const e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Cu(e):void 0}async getRelayerMessagesWithoutClientAck(){const e=await this.core.storage.getItem(this.storageKeyWithoutClientAck);return typeof e<"u"?Cu(e):void 0}async persist(){await this.setRelayerMessages(this.messages),await this.setRelayerMessagesWithoutClientAck(this.messagesWithoutClientAck)}isInitialized(){if(!this.initialized){const{message:e}=G("NOT_INITIALIZED",this.name);throw new Error(e)}}}var eO=Object.defineProperty,tO=Object.defineProperties,nO=Object.getOwnPropertyDescriptors,by=Object.getOwnPropertySymbols,rO=Object.prototype.hasOwnProperty,iO=Object.prototype.propertyIsEnumerable,$l=(t,e,n)=>e in t?eO(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ti=(t,e)=>{for(var n in e||(e={}))rO.call(e,n)&&$l(t,n,e[n]);if(by)for(var n of by(e))iO.call(e,n)&&$l(t,n,e[n]);return t},wy=(t,e)=>tO(t,nO(e)),Mt=(t,e,n)=>$l(t,typeof e!="symbol"?e+"":e,n);class sO extends lm{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,Mt(this,"events",new Ke.exports.EventEmitter),Mt(this,"name",G7),Mt(this,"queue",new Map),Mt(this,"publishTimeout",K.toMiliseconds(K.ONE_MINUTE)),Mt(this,"initialPublishTimeout",K.toMiliseconds(K.ONE_SECOND*15)),Mt(this,"needsTransportRestart",!1),Mt(this,"publish",async(r,i,s)=>{var o,a,c,u,l;this.logger.debug("Publishing Payload"),this.logger.trace({type:"method",method:"publish",params:{topic:r,message:i,opts:s}});const f=s?.ttl||K7,d=s?.prompt||!1,h=s?.tag||0,p=s?.id||Er().toString(),y=Di(wa().protocol),m={id:p,method:s?.publishMethod||y.publish,params:Ti({topic:r,message:i,ttl:f,prompt:d,tag:h,attestation:s?.attestation},s?.tvf)},B=`Failed to publish payload, please try again. id:${p} tag:${h}`;try{Pe((o=m.params)==null?void 0:o.prompt)&&((a=m.params)==null||delete a.prompt),Pe((c=m.params)==null?void 0:c.tag)&&((u=m.params)==null||delete u.tag);const $=new Promise(async _=>{const x=({id:R})=>{var U;((U=m.id)==null?void 0:U.toString())===R.toString()&&(this.removeRequestFromQueue(R),this.relayer.events.removeListener(Ie.publish,x),_())};this.relayer.events.on(Ie.publish,x);const P=sn(new Promise((R,U)=>{this.rpcPublish(m,s).then(R).catch(F=>{this.logger.warn(F,F?.message),U(F)})}),this.initialPublishTimeout,`Failed initial publish, retrying.... id:${p} tag:${h}`);try{await P,this.events.removeListener(Ie.publish,x)}catch(R){this.queue.set(p,{request:m,opts:s,attempt:1}),this.logger.warn(R,R?.message)}});this.logger.trace({type:"method",method:"publish",params:{id:p,topic:r,message:i,opts:s}}),await sn($,this.publishTimeout,B)}catch($){if(this.logger.debug("Failed to Publish Payload"),this.logger.error($),(l=s?.internal)!=null&&l.throwOnFailedPublish)throw $}finally{this.queue.delete(p)}}),Mt(this,"publishCustom",async r=>{var i,s,o,a,c;this.logger.debug("Publishing custom payload"),this.logger.trace({type:"method",method:"publishCustom",params:r});const{payload:u,opts:l={}}=r,{attestation:f,tvf:d,publishMethod:h,prompt:p,tag:y,ttl:m=K.FIVE_MINUTES}=l,B=l.id||Er().toString(),$=Di(wa().protocol),_=h||$.publish,x={id:B,method:_,params:Ti(wy(Ti({},u),{ttl:m,prompt:p,tag:y,attestation:f}),d)},P=`Failed to publish custom payload, please try again. id:${B} tag:${y}`;try{Pe((i=x.params)==null?void 0:i.prompt)&&((s=x.params)==null||delete s.prompt),Pe((o=x.params)==null?void 0:o.tag)&&((a=x.params)==null||delete a.tag);const R=new Promise(async U=>{const F=({id:j})=>{var M;((M=x.id)==null?void 0:M.toString())===j.toString()&&(this.removeRequestFromQueue(j),this.relayer.events.removeListener(Ie.publish,F),U())};this.relayer.events.on(Ie.publish,F);const D=sn(new Promise((j,M)=>{this.rpcPublish(x,l).then(j).catch(E=>{this.logger.warn(E,E?.message),M(E)})}),this.initialPublishTimeout,`Failed initial custom payload publish, retrying.... method:${_} id:${B} tag:${y}`);try{await D,this.events.removeListener(Ie.publish,F)}catch(j){this.queue.set(B,{request:x,opts:l,attempt:1}),this.logger.warn(j,j?.message)}});this.logger.trace({type:"method",method:"publish",params:{id:B,payload:u,opts:l}}),await sn(R,this.publishTimeout,P)}catch(R){if(this.logger.debug("Failed to Publish Payload"),this.logger.error(R),(c=l?.internal)!=null&&c.throwOnFailedPublish)throw R}finally{this.queue.delete(B)}}),Mt(this,"on",(r,i)=>{this.events.on(r,i)}),Mt(this,"once",(r,i)=>{this.events.once(r,i)}),Mt(this,"off",(r,i)=>{this.events.off(r,i)}),Mt(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),this.relayer=e,this.logger=_t(n,this.name),this.registerEventListeners()}get context(){return ft(this.logger)}async rpcPublish(e,n){this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"message",direction:"outgoing",request:e});const r=await this.relayer.request(e);return this.relayer.events.emit(Ie.publish,Ti(Ti({},e),n)),this.logger.debug("Successfully Published Payload"),r}removeRequestFromQueue(e){this.queue.delete(e)}checkQueue(){this.queue.forEach(async(e,n)=>{var r;const i=e.attempt+1;this.queue.set(n,wy(Ti({},e),{attempt:i})),this.logger.warn({},`Publisher: queue->publishing: ${e.request.id}, tag: ${(r=e.request.params)==null?void 0:r.tag}, attempt: ${i}`),await this.rpcPublish(e.request,e.opts),this.logger.warn({},`Publisher: queue->published: ${e.request.id}`)})}registerEventListeners(){this.relayer.core.heartbeat.on(Ir.pulse,()=>{if(this.needsTransportRestart){this.needsTransportRestart=!1,this.relayer.events.emit(Ie.connection_stalled);return}this.checkQueue()}),this.relayer.on(Ie.message_ack,e=>{this.removeRequestFromQueue(e.id.toString())})}}var oO=Object.defineProperty,aO=(t,e,n)=>e in t?oO(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ri=(t,e,n)=>aO(t,typeof e!="symbol"?e+"":e,n);class cO{constructor(){Ri(this,"map",new Map),Ri(this,"set",(e,n)=>{const r=this.get(e);this.exists(e,n)||this.map.set(e,[...r,n])}),Ri(this,"get",e=>this.map.get(e)||[]),Ri(this,"exists",(e,n)=>this.get(e).includes(n)),Ri(this,"delete",(e,n)=>{if(typeof n>"u"){this.map.delete(e);return}if(!this.map.has(e))return;const r=this.get(e);if(!this.exists(e,n))return;const i=r.filter(s=>s!==n);if(!i.length){this.map.delete(e);return}this.map.set(e,i)}),Ri(this,"clear",()=>{this.map.clear()})}get topics(){return Array.from(this.map.keys())}}var uO=Object.defineProperty,lO=Object.defineProperties,fO=Object.getOwnPropertyDescriptors,my=Object.getOwnPropertySymbols,hO=Object.prototype.hasOwnProperty,dO=Object.prototype.propertyIsEnumerable,Pl=(t,e,n)=>e in t?uO(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ns=(t,e)=>{for(var n in e||(e={}))hO.call(e,n)&&Pl(t,n,e[n]);if(my)for(var n of my(e))dO.call(e,n)&&Pl(t,n,e[n]);return t},Tl=(t,e)=>lO(t,fO(e)),ye=(t,e,n)=>Pl(t,typeof e!="symbol"?e+"":e,n);class pO extends dm{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,ye(this,"subscriptions",new Map),ye(this,"topicMap",new cO),ye(this,"events",new Ke.exports.EventEmitter),ye(this,"name",eA),ye(this,"version",tA),ye(this,"pending",new Map),ye(this,"cached",[]),ye(this,"initialized",!1),ye(this,"storagePrefix",un),ye(this,"subscribeTimeout",K.toMiliseconds(K.ONE_MINUTE)),ye(this,"initialSubscribeTimeout",K.toMiliseconds(K.ONE_SECOND*15)),ye(this,"clientId"),ye(this,"batchSubscribeTopicsLimit",500),ye(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),this.registerEventListeners(),await this.restore()),this.initialized=!0}),ye(this,"subscribe",async(r,i)=>{var s;this.isInitialized(),this.logger.debug("Subscribing Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:r,opts:i}});try{const o=wa(i),a={topic:r,relay:o,transportType:i?.transportType};(s=i?.internal)!=null&&s.skipSubscribe||this.pending.set(r,a);const c=await this.rpcSubscribe(r,o,i);return typeof c=="string"&&(this.onSubscribe(c,a),this.logger.debug("Successfully Subscribed Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:r,opts:i}})),c}catch(o){throw this.logger.debug("Failed to Subscribe Topic"),this.logger.error(o),o}}),ye(this,"unsubscribe",async(r,i)=>{this.isInitialized(),typeof i?.id<"u"?await this.unsubscribeById(r,i.id,i):await this.unsubscribeByTopic(r,i)}),ye(this,"isSubscribed",r=>new Promise(i=>{i(this.topicMap.topics.includes(r))})),ye(this,"isKnownTopic",r=>new Promise(i=>{i(this.topicMap.topics.includes(r)||this.pending.has(r)||this.cached.some(s=>s.topic===r))})),ye(this,"on",(r,i)=>{this.events.on(r,i)}),ye(this,"once",(r,i)=>{this.events.once(r,i)}),ye(this,"off",(r,i)=>{this.events.off(r,i)}),ye(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),ye(this,"start",async()=>{await this.onConnect()}),ye(this,"stop",async()=>{await this.onDisconnect()}),ye(this,"restart",async()=>{await this.restore(),await this.onRestart()}),ye(this,"checkPending",async()=>{if(this.pending.size===0&&(!this.initialized||!this.relayer.connected))return;const r=[];this.pending.forEach(i=>{r.push(i)}),await this.batchSubscribe(r)}),ye(this,"registerEventListeners",()=>{this.relayer.core.heartbeat.on(Ir.pulse,async()=>{await this.checkPending()}),this.events.on(Dt.created,async r=>{const i=Dt.created;this.logger.info(`Emitting ${i}`),this.logger.debug({type:"event",event:i,data:r}),await this.persist()}),this.events.on(Dt.deleted,async r=>{const i=Dt.deleted;this.logger.info(`Emitting ${i}`),this.logger.debug({type:"event",event:i,data:r}),await this.persist()})}),this.relayer=e,this.logger=_t(n,this.name),this.clientId=""}get context(){return ft(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.relayer.core.customStoragePrefix+"//"+this.name}get length(){return this.subscriptions.size}get ids(){return Array.from(this.subscriptions.keys())}get values(){return Array.from(this.subscriptions.values())}get topics(){return this.topicMap.topics}get hasAnyTopics(){return this.topicMap.topics.length>0||this.pending.size>0||this.cached.length>0||this.subscriptions.size>0}hasSubscription(e,n){let r=!1;try{r=this.getSubscription(e).topic===n}catch{}return r}reset(){this.cached=[],this.initialized=!0}onDisable(){this.values.length>0&&(this.cached=this.values),this.subscriptions.clear(),this.topicMap.clear()}async unsubscribeByTopic(e,n){const r=this.topicMap.get(e);await Promise.all(r.map(async i=>await this.unsubscribeById(e,i,n)))}async unsubscribeById(e,n,r){this.logger.debug("Unsubscribing Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:n,opts:r}});try{const i=wa(r);await this.restartToComplete({topic:e,id:n,relay:i}),await this.rpcUnsubscribe(e,n,i);const s=Ee("USER_DISCONNECTED",`${this.name}, ${e}`);await this.onUnsubscribe(e,n,s),this.logger.debug("Successfully Unsubscribed Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:n,opts:r}})}catch(i){throw this.logger.debug("Failed to Unsubscribe Topic"),this.logger.error(i),i}}async rpcSubscribe(e,n,r){var i,s;const o=await this.getSubscriptionId(e);if((i=r?.internal)!=null&&i.skipSubscribe)return o;(!r||r?.transportType===me.relay)&&await this.restartToComplete({topic:e,id:e,relay:n});const a={method:Di(n.protocol).subscribe,params:{topic:e}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:a});const c=(s=r?.internal)==null?void 0:s.throwOnFailedPublish;try{if(r?.transportType===me.link_mode)return setTimeout(()=>{(this.relayer.connected||this.relayer.connecting)&&this.relayer.request(a).catch(f=>this.logger.warn(f))},K.toMiliseconds(K.ONE_SECOND)),o;const u=new Promise(async f=>{const d=h=>{h.topic===e&&(this.events.removeListener(Dt.created,d),f(h.id))};this.events.on(Dt.created,d);try{const h=await sn(new Promise((p,y)=>{this.relayer.request(a).catch(m=>{this.logger.warn(m,m?.message),y(m)}).then(p)}),this.initialSubscribeTimeout,`Subscribing to ${e} failed, please try again`);this.events.removeListener(Dt.created,d),f(h)}catch{}}),l=await sn(u,this.subscribeTimeout,`Subscribing to ${e} failed, please try again`);if(!l&&c)throw new Error(`Subscribing to ${e} failed, please try again`);return l?o:null}catch(u){if(this.logger.debug("Outgoing Relay Subscribe Payload stalled"),this.relayer.events.emit(Ie.connection_stalled),c)throw u}return null}async rpcBatchSubscribe(e){if(!e.length)return;const n=e[0].relay,r={method:Di(n.protocol).batchSubscribe,params:{topics:e.map(i=>i.topic)}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:r});try{await await sn(new Promise(i=>{this.relayer.request(r).catch(s=>this.logger.warn(s)).then(i)}),this.subscribeTimeout,"rpcBatchSubscribe failed, please try again")}catch{this.relayer.events.emit(Ie.connection_stalled)}}async rpcBatchFetchMessages(e){if(!e.length)return;const n=e[0].relay,r={method:Di(n.protocol).batchFetchMessages,params:{topics:e.map(s=>s.topic)}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:r});let i;try{i=await await sn(new Promise((s,o)=>{this.relayer.request(r).catch(a=>{this.logger.warn(a),o(a)}).then(s)}),this.subscribeTimeout,"rpcBatchFetchMessages failed, please try again")}catch{this.relayer.events.emit(Ie.connection_stalled)}return i}rpcUnsubscribe(e,n,r){const i={method:Di(r.protocol).unsubscribe,params:{topic:e,id:n}};return this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:i}),this.relayer.request(i)}onSubscribe(e,n){this.setSubscription(e,Tl(Ns({},n),{id:e})),this.pending.delete(n.topic)}onBatchSubscribe(e){e.length&&e.forEach(n=>{this.setSubscription(n.id,Ns({},n)),this.pending.delete(n.topic)})}async onUnsubscribe(e,n,r){this.events.removeAllListeners(n),this.hasSubscription(n,e)&&this.deleteSubscription(n,r),await this.relayer.messages.del(e)}async setRelayerSubscriptions(e){await this.relayer.core.storage.setItem(this.storageKey,e)}async getRelayerSubscriptions(){return await this.relayer.core.storage.getItem(this.storageKey)}setSubscription(e,n){this.logger.debug("Setting subscription"),this.logger.trace({type:"method",method:"setSubscription",id:e,subscription:n}),this.addSubscription(e,n)}addSubscription(e,n){this.subscriptions.set(e,Ns({},n)),this.topicMap.set(n.topic,e),this.events.emit(Dt.created,n)}getSubscription(e){this.logger.debug("Getting subscription"),this.logger.trace({type:"method",method:"getSubscription",id:e});const n=this.subscriptions.get(e);if(!n){const{message:r}=G("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(r)}return n}deleteSubscription(e,n){this.logger.debug("Deleting subscription"),this.logger.trace({type:"method",method:"deleteSubscription",id:e,reason:n});const r=this.getSubscription(e);this.subscriptions.delete(e),this.topicMap.delete(r.topic,e),this.events.emit(Dt.deleted,Tl(Ns({},r),{reason:n}))}async persist(){await this.setRelayerSubscriptions(this.values),this.events.emit(Dt.sync)}async onRestart(){if(this.cached.length){const e=[...this.cached],n=Math.ceil(this.cached.length/this.batchSubscribeTopicsLimit);for(let r=0;r<n;r++){const i=e.splice(0,this.batchSubscribeTopicsLimit);await this.batchSubscribe(i)}}this.events.emit(Dt.resubscribed)}async restore(){try{const e=await this.getRelayerSubscriptions();if(typeof e>"u"||!e.length)return;if(this.subscriptions.size&&!e.every(n=>{var r;return n.topic===((r=this.subscriptions.get(n.id))==null?void 0:r.topic)})){const{message:n}=G("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),this.logger.error(`${this.name}: ${JSON.stringify(this.values)}`),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored subscriptions for ${this.name}`),this.logger.trace({type:"method",method:"restore",subscriptions:this.values})}catch(e){this.logger.debug(`Failed to Restore subscriptions for ${this.name}`),this.logger.error(e)}}async batchSubscribe(e){e.length&&(await this.rpcBatchSubscribe(e),this.onBatchSubscribe(await Promise.all(e.map(async n=>Tl(Ns({},n),{id:await this.getSubscriptionId(n.topic)})))))}async batchFetchMessages(e){if(!e.length)return;this.logger.trace(`Fetching batch messages for ${e.length} subscriptions`);const n=await this.rpcBatchFetchMessages(e);n&&n.messages&&(await Z_(K.toMiliseconds(K.ONE_SECOND)),await this.relayer.handleBatchMessageEvents(n.messages))}async onConnect(){await this.restart(),this.reset()}onDisconnect(){this.onDisable()}isInitialized(){if(!this.initialized){const{message:e}=G("NOT_INITIALIZED",this.name);throw new Error(e)}}async restartToComplete(e){!this.relayer.connected&&!this.relayer.connecting&&(this.cached.push(e),await this.relayer.transportOpen())}async getClientId(){return this.clientId||(this.clientId=await this.relayer.core.crypto.getClientId()),this.clientId}async getSubscriptionId(e){return Ft(e+await this.getClientId())}}var gO=Object.defineProperty,vy=Object.getOwnPropertySymbols,yO=Object.prototype.hasOwnProperty,bO=Object.prototype.propertyIsEnumerable,Rl=(t,e,n)=>e in t?gO(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ey=(t,e)=>{for(var n in e||(e={}))yO.call(e,n)&&Rl(t,n,e[n]);if(vy)for(var n of vy(e))bO.call(e,n)&&Rl(t,n,e[n]);return t},ue=(t,e,n)=>Rl(t,typeof e!="symbol"?e+"":e,n);class wO extends fm{constructor(e){var n;super(e),ue(this,"protocol","wc"),ue(this,"version",2),ue(this,"core"),ue(this,"logger"),ue(this,"events",new Ke.exports.EventEmitter),ue(this,"provider"),ue(this,"messages"),ue(this,"subscriber"),ue(this,"publisher"),ue(this,"name",Z7),ue(this,"transportExplicitlyClosed",!1),ue(this,"initialized",!1),ue(this,"connectionAttemptInProgress",!1),ue(this,"relayUrl"),ue(this,"projectId"),ue(this,"packageName"),ue(this,"bundleId"),ue(this,"hasExperiencedNetworkDisruption",!1),ue(this,"pingTimeout"),ue(this,"heartBeatTimeout",K.toMiliseconds(K.THIRTY_SECONDS+K.FIVE_SECONDS)),ue(this,"reconnectTimeout"),ue(this,"connectPromise"),ue(this,"reconnectInProgress",!1),ue(this,"requestsInFlight",[]),ue(this,"connectTimeout",K.toMiliseconds(K.ONE_SECOND*15)),ue(this,"request",async r=>{var i,s;this.logger.debug("Publishing Request Payload");const o=r.id||Er().toString();await this.toEstablishConnection();try{this.logger.trace({id:o,method:r.method,topic:(i=r.params)==null?void 0:i.topic},"relayer.request - publishing...");const a=`${o}:${((s=r.params)==null?void 0:s.tag)||""}`;this.requestsInFlight.push(a);const c=await this.provider.request(r);return this.requestsInFlight=this.requestsInFlight.filter(u=>u!==a),c}catch(a){throw this.logger.debug(`Failed to Publish Request: ${o}`),a}}),ue(this,"resetPingTimeout",()=>{Yo()&&(clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{var r,i,s,o;try{this.logger.debug({},"pingTimeout: Connection stalled, terminating..."),(o=(s=(i=(r=this.provider)==null?void 0:r.connection)==null?void 0:i.socket)==null?void 0:s.terminate)==null||o.call(s)}catch(a){this.logger.warn(a,a?.message)}},this.heartBeatTimeout))}),ue(this,"onPayloadHandler",r=>{this.onProviderPayload(r),this.resetPingTimeout()}),ue(this,"onConnectHandler",()=>{this.logger.warn({},"Relayer connected \u{1F6DC}"),this.startPingTimeout(),this.events.emit(Ie.connect)}),ue(this,"onDisconnectHandler",()=>{this.logger.warn({},"Relayer disconnected \u{1F6D1}"),this.requestsInFlight=[],this.onProviderDisconnect()}),ue(this,"onProviderErrorHandler",r=>{this.logger.fatal(`Fatal socket error: ${r.message}`),this.events.emit(Ie.error,r),this.logger.fatal("Fatal socket error received, closing transport"),this.transportClose()}),ue(this,"registerProviderListeners",()=>{this.provider.on(kt.payload,this.onPayloadHandler),this.provider.on(kt.connect,this.onConnectHandler),this.provider.on(kt.disconnect,this.onDisconnectHandler),this.provider.on(kt.error,this.onProviderErrorHandler)}),this.core=e.core,this.logger=N1({logger:(n=e.logger)!=null?n:W7,name:this.name}),this.messages=new QB(this.logger,e.core),this.subscriber=new pO(this,this.logger),this.publisher=new sO(this,this.logger),this.projectId=e?.projectId,this.relayUrl=e?.relayUrl||Y1,R_()?this.packageName=U0():N_()&&(this.bundleId=U0()),this.provider={}}async init(){this.logger.trace("Initialized"),this.registerEventListeners(),await Promise.all([this.messages.init(),this.subscriber.init()]),this.initialized=!0,this.transportOpen().catch(e=>this.logger.warn(e,e?.message))}get context(){return ft(this.logger)}get connected(){var e,n,r;return((r=(n=(e=this.provider)==null?void 0:e.connection)==null?void 0:n.socket)==null?void 0:r.readyState)===1||!1}get connecting(){var e,n,r;return((r=(n=(e=this.provider)==null?void 0:e.connection)==null?void 0:n.socket)==null?void 0:r.readyState)===0||this.connectPromise!==void 0||!1}async publish(e,n,r){this.isInitialized(),await this.publisher.publish(e,n,r),await this.recordMessageEvent({topic:e,message:n,publishedAt:Date.now(),transportType:me.relay},Sa.outbound)}async publishCustom(e){this.isInitialized(),await this.publisher.publishCustom(e)}async subscribe(e,n){var r,i,s;this.isInitialized(),(!(n!=null&&n.transportType)||n?.transportType==="relay")&&await this.toEstablishConnection();const o=typeof((r=n?.internal)==null?void 0:r.throwOnFailedPublish)>"u"?!0:(i=n?.internal)==null?void 0:i.throwOnFailedPublish;let a=((s=this.subscriber.topicMap.get(e))==null?void 0:s[0])||"",c;const u=l=>{l.topic===e&&(this.subscriber.off(Dt.created,u),c())};return await Promise.all([new Promise(l=>{c=l,this.subscriber.on(Dt.created,u)}),new Promise(async(l,f)=>{a=await this.subscriber.subscribe(e,Ey({internal:{throwOnFailedPublish:o}},n)).catch(d=>{o&&f(d)})||a,l()})]),a}async unsubscribe(e,n){this.isInitialized(),await this.subscriber.unsubscribe(e,n)}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async transportDisconnect(){this.provider.disconnect&&(this.hasExperiencedNetworkDisruption||this.connected)?await sn(this.provider.disconnect(),2e3,"provider.disconnect()").catch(()=>this.onProviderDisconnect()):this.onProviderDisconnect()}async transportClose(){this.transportExplicitlyClosed=!0,await this.transportDisconnect()}async transportOpen(e){if(!this.subscriber.hasAnyTopics){this.logger.info("Starting WS connection skipped because the client has no topics to work with.");return}if(this.connectPromise?(this.logger.debug({},"Waiting for existing connection attempt to resolve..."),await this.connectPromise,this.logger.debug({},"Existing connection attempt resolved")):(this.connectPromise=new Promise(async(n,r)=>{await this.connect(e).then(n).catch(r).finally(()=>{this.connectPromise=void 0})}),await this.connectPromise),!this.connected)throw new Error(`Couldn't establish socket connection to the relay server: ${this.relayUrl}`)}async restartTransport(e){this.logger.debug({},"Restarting transport..."),!this.connectionAttemptInProgress&&(this.relayUrl=e||this.relayUrl,await this.confirmOnlineStateOrThrow(),await this.transportClose(),await this.transportOpen())}async confirmOnlineStateOrThrow(){if(!await R1())throw new Error("No internet connection detected. Please restart your network and try again.")}async handleBatchMessageEvents(e){if(e?.length===0){this.logger.trace("Batch message events is empty. Ignoring...");return}const n=e.sort((r,i)=>r.publishedAt-i.publishedAt);this.logger.debug(`Batch of ${n.length} message events sorted`);for(const r of n)try{await this.onMessageEvent(r)}catch(i){this.logger.warn(i,"Error while processing batch message event: "+i?.message)}this.logger.trace(`Batch of ${n.length} message events processed`)}async onLinkMessageEvent(e,n){const{topic:r}=e;if(!n.sessionExists){const i=De(K.FIVE_MINUTES),s={topic:r,expiry:i,relay:{protocol:"irn"},active:!1};await this.core.pairing.pairings.set(r,s)}this.events.emit(Ie.message,e),await this.recordMessageEvent(e,Sa.inbound)}async connect(e){await this.confirmOnlineStateOrThrow(),e&&e!==this.relayUrl&&(this.relayUrl=e,await this.transportDisconnect()),this.connectionAttemptInProgress=!0,this.transportExplicitlyClosed=!1;let n=1;for(;n<6;){try{if(this.transportExplicitlyClosed)break;this.logger.debug({},`Connecting to ${this.relayUrl}, attempt: ${n}...`),await this.createProvider(),await new Promise(async(r,i)=>{const s=()=>{i(new Error("Connection interrupted while trying to connect"))};this.provider.once(kt.disconnect,s),await sn(new Promise((o,a)=>{this.provider.connect().then(o).catch(a)}),this.connectTimeout,`Socket stalled when trying to connect to ${this.relayUrl}`).catch(o=>{i(o)}).finally(()=>{this.provider.off(kt.disconnect,s),clearTimeout(this.reconnectTimeout)}),await new Promise(async(o,a)=>{const c=()=>{i(new Error("Connection interrupted while trying to subscribe"))};this.provider.once(kt.disconnect,c),await this.subscriber.start().then(o).catch(a).finally(()=>{this.provider.off(kt.disconnect,c)})}),this.hasExperiencedNetworkDisruption=!1,r()})}catch(r){await this.subscriber.stop();const i=r;this.logger.warn({},i.message),this.hasExperiencedNetworkDisruption=!0}finally{this.connectionAttemptInProgress=!1}if(this.connected){this.logger.debug({},`Connected to ${this.relayUrl} successfully on attempt: ${n}`);break}await new Promise(r=>setTimeout(r,K.toMiliseconds(n*1))),n++}}startPingTimeout(){var e,n,r,i,s;if(Yo())try{(n=(e=this.provider)==null?void 0:e.connection)!=null&&n.socket&&((s=(i=(r=this.provider)==null?void 0:r.connection)==null?void 0:i.socket)==null||s.on("ping",()=>{this.resetPingTimeout()})),this.resetPingTimeout()}catch(o){this.logger.warn(o,o?.message)}}async createProvider(){this.provider.connection&&this.unregisterProviderListeners();const e=await this.core.crypto.signJWT(this.relayUrl);this.provider=new R7(new F7(k_({sdkVersion:Il,protocol:this.protocol,version:this.version,relayUrl:this.relayUrl,projectId:this.projectId,auth:e,useOnCloseEvent:!0,bundleId:this.bundleId,packageName:this.packageName}))),this.registerProviderListeners()}async recordMessageEvent(e,n){const{topic:r,message:i}=e;await this.messages.set(r,i,n)}async shouldIgnoreMessageEvent(e){const{topic:n,message:r}=e;if(!r||r.length===0)return this.logger.warn(`Ignoring invalid/empty message: ${r}`),!0;if(!await this.subscriber.isKnownTopic(n))return this.logger.warn(`Ignoring message for unknown topic ${n}`),!0;const i=this.messages.has(n,r);return i&&this.logger.warn(`Ignoring duplicate message: ${r}`),i}async onProviderPayload(e){if(this.logger.debug("Incoming Relay Payload"),this.logger.trace({type:"payload",direction:"incoming",payload:e}),Sl(e)){if(!e.method.endsWith(Y7))return;const n=e.params,{topic:r,message:i,publishedAt:s,attestation:o}=n.data,a={topic:r,message:i,publishedAt:s,transportType:me.relay,attestation:o};this.logger.debug("Emitting Relayer Payload"),this.logger.trace(Ey({type:"event",event:n.id},a)),this.events.emit(n.id,a),await this.acknowledgePayload(e),await this.onMessageEvent(a)}else xa(e)&&this.events.emit(Ie.message_ack,e)}async onMessageEvent(e){await this.shouldIgnoreMessageEvent(e)||(await this.recordMessageEvent(e,Sa.inbound),this.events.emit(Ie.message,e))}async acknowledgePayload(e){const n=Ea(e.id,!0);await this.provider.connection.send(n)}unregisterProviderListeners(){this.provider.off(kt.payload,this.onPayloadHandler),this.provider.off(kt.connect,this.onConnectHandler),this.provider.off(kt.disconnect,this.onDisconnectHandler),this.provider.off(kt.error,this.onProviderErrorHandler),clearTimeout(this.pingTimeout)}async registerEventListeners(){let e=await R1();U9(async n=>{e!==n&&(e=n,n?await this.transportOpen().catch(r=>this.logger.error(r,r?.message)):(this.hasExperiencedNetworkDisruption=!0,await this.transportDisconnect(),this.transportExplicitlyClosed=!1))}),this.core.heartbeat.on(Ir.pulse,async()=>{if(!this.transportExplicitlyClosed&&!this.connected&&k9())try{await this.confirmOnlineStateOrThrow(),await this.transportOpen()}catch(n){this.logger.warn(n,n?.message)}})}async onProviderDisconnect(){clearTimeout(this.pingTimeout),this.events.emit(Ie.disconnect),this.connectionAttemptInProgress=!1,!this.reconnectInProgress&&(this.reconnectInProgress=!0,await this.subscriber.stop(),this.subscriber.hasAnyTopics&&(this.transportExplicitlyClosed||(this.reconnectTimeout=setTimeout(async()=>{await this.transportOpen().catch(e=>this.logger.error(e,e?.message)),this.reconnectTimeout=void 0,this.reconnectInProgress=!1},K.toMiliseconds(X7)))))}isInitialized(){if(!this.initialized){const{message:e}=G("NOT_INITIALIZED",this.name);throw new Error(e)}}async toEstablishConnection(){if(await this.confirmOnlineStateOrThrow(),!this.connected){if(this.connectPromise){await this.connectPromise;return}await this.connect()}}}function mO(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}function xy(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function _y(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const vO="[object RegExp]",EO="[object String]",xO="[object Number]",_O="[object Boolean]",Sy="[object Arguments]",SO="[object Symbol]",IO="[object Date]",AO="[object Map]",BO="[object Set]",OO="[object Array]",DO="[object Function]",$O="[object ArrayBuffer]",Nl="[object Object]",PO="[object Error]",TO="[object DataView]",RO="[object Uint8Array]",NO="[object Uint8ClampedArray]",CO="[object Uint16Array]",UO="[object Uint32Array]",FO="[object BigUint64Array]",LO="[object Int8Array]",kO="[object Int16Array]",qO="[object Int32Array]",MO="[object BigInt64Array]",jO="[object Float32Array]",zO="[object Float64Array]";function HO(){}function Iy(t){if(!t||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e===null||e===Object.prototype||Object.getPrototypeOf(e)===null?Object.prototype.toString.call(t)==="[object Object]":!1}function VO(t,e,n){return Cs(t,e,void 0,void 0,void 0,void 0,n)}function Cs(t,e,n,r,i,s,o){const a=o(t,e,n,r,i,s);if(a!==void 0)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return t===e;case"number":return t===e||Object.is(t,e);case"function":return t===e;case"object":return Us(t,e,s,o)}return Us(t,e,s,o)}function Us(t,e,n,r){if(Object.is(t,e))return!0;let i=_y(t),s=_y(e);if(i===Sy&&(i=Nl),s===Sy&&(s=Nl),i!==s)return!1;switch(i){case EO:return t.toString()===e.toString();case xO:{const c=t.valueOf(),u=e.valueOf();return mO(c,u)}case _O:case IO:case SO:return Object.is(t.valueOf(),e.valueOf());case vO:return t.source===e.source&&t.flags===e.flags;case DO:return t===e}n=n??new Map;const o=n.get(t),a=n.get(e);if(o!=null&&a!=null)return o===e;n.set(t,e),n.set(e,t);try{switch(i){case AO:{if(t.size!==e.size)return!1;for(const[c,u]of t.entries())if(!e.has(c)||!Cs(u,e.get(c),c,t,e,n,r))return!1;return!0}case BO:{if(t.size!==e.size)return!1;const c=Array.from(t.values()),u=Array.from(e.values());for(let l=0;l<c.length;l++){const f=c[l],d=u.findIndex(h=>Cs(f,h,void 0,t,e,n,r));if(d===-1)return!1;u.splice(d,1)}return!0}case OO:case RO:case NO:case CO:case UO:case FO:case LO:case kO:case qO:case MO:case jO:case zO:{if(typeof Buffer<"u"&&Buffer.isBuffer(t)!==Buffer.isBuffer(e)||t.length!==e.length)return!1;for(let c=0;c<t.length;c++)if(!Cs(t[c],e[c],c,t,e,n,r))return!1;return!0}case $O:return t.byteLength!==e.byteLength?!1:Us(new Uint8Array(t),new Uint8Array(e),n,r);case TO:return t.byteLength!==e.byteLength||t.byteOffset!==e.byteOffset?!1:Us(new Uint8Array(t),new Uint8Array(e),n,r);case PO:return t.name===e.name&&t.message===e.message;case Nl:{if(!(Us(t.constructor,e.constructor,n,r)||Iy(t)&&Iy(e)))return!1;const c=[...Object.keys(t),...xy(t)],u=[...Object.keys(e),...xy(e)];if(c.length!==u.length)return!1;for(let l=0;l<c.length;l++){const f=c[l],d=t[f];if(!Object.hasOwn(e,f))return!1;const h=e[f];if(!Cs(d,h,f,t,e,n,r))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(e)}}function KO(t,e){return VO(t,e,HO)}var GO=Object.defineProperty,Ay=Object.getOwnPropertySymbols,WO=Object.prototype.hasOwnProperty,ZO=Object.prototype.propertyIsEnumerable,Cl=(t,e,n)=>e in t?GO(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,By=(t,e)=>{for(var n in e||(e={}))WO.call(e,n)&&Cl(t,n,e[n]);if(Ay)for(var n of Ay(e))ZO.call(e,n)&&Cl(t,n,e[n]);return t},xt=(t,e,n)=>Cl(t,typeof e!="symbol"?e+"":e,n);class Qr extends hm{constructor(e,n,r,i=un,s=void 0){super(e,n,r,i),this.core=e,this.logger=n,this.name=r,xt(this,"map",new Map),xt(this,"version",J7),xt(this,"cached",[]),xt(this,"initialized",!1),xt(this,"getKey"),xt(this,"storagePrefix",un),xt(this,"recentlyDeleted",[]),xt(this,"recentlyDeletedLimit",200),xt(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(o=>{this.getKey&&o!==null&&!Pe(o)?this.map.set(this.getKey(o),o):d9(o)?this.map.set(o.id,o):p9(o)&&this.map.set(o.topic,o)}),this.cached=[],this.initialized=!0)}),xt(this,"set",async(o,a)=>{this.isInitialized(),this.map.has(o)?await this.update(o,a):(this.logger.debug("Setting value"),this.logger.trace({type:"method",method:"set",key:o,value:a}),this.map.set(o,a),await this.persist())}),xt(this,"get",o=>(this.isInitialized(),this.logger.debug("Getting value"),this.logger.trace({type:"method",method:"get",key:o}),this.getData(o))),xt(this,"getAll",o=>(this.isInitialized(),o?this.values.filter(a=>Object.keys(o).every(c=>KO(a[c],o[c]))):this.values)),xt(this,"update",async(o,a)=>{this.isInitialized(),this.logger.debug("Updating value"),this.logger.trace({type:"method",method:"update",key:o,update:a});const c=By(By({},this.getData(o)),a);this.map.set(o,c),await this.persist()}),xt(this,"delete",async(o,a)=>{this.isInitialized(),this.map.has(o)&&(this.logger.debug("Deleting value"),this.logger.trace({type:"method",method:"delete",key:o,reason:a}),this.map.delete(o),this.addToRecentlyDeleted(o),await this.persist())}),this.logger=_t(n,this.name),this.storagePrefix=i,this.getKey=s}get context(){return ft(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.map.size}get keys(){return Array.from(this.map.keys())}get values(){return Array.from(this.map.values())}addToRecentlyDeleted(e){this.recentlyDeleted.push(e),this.recentlyDeleted.length>=this.recentlyDeletedLimit&&this.recentlyDeleted.splice(0,this.recentlyDeletedLimit/2)}async setDataStore(e){await this.core.storage.setItem(this.storageKey,e)}async getDataStore(){return await this.core.storage.getItem(this.storageKey)}getData(e){const n=this.map.get(e);if(!n){if(this.recentlyDeleted.includes(e)){const{message:i}=G("MISSING_OR_INVALID",`Record was recently deleted - ${this.name}: ${e}`);throw this.logger.error(i),new Error(i)}const{message:r}=G("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.error(r),new Error(r)}return n}async persist(){await this.setDataStore(this.values)}async restore(){try{const e=await this.getDataStore();if(typeof e>"u"||!e.length)return;if(this.map.size){const{message:n}=G("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored value for ${this.name}`),this.logger.trace({type:"method",method:"restore",value:this.values})}catch(e){this.logger.debug(`Failed to Restore value for ${this.name}`),this.logger.error(e)}}isInitialized(){if(!this.initialized){const{message:e}=G("NOT_INITIALIZED",this.name);throw new Error(e)}}}var YO=Object.defineProperty,XO=(t,e,n)=>e in t?YO(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,se=(t,e,n)=>XO(t,typeof e!="symbol"?e+"":e,n);class JO{constructor(e,n){this.core=e,this.logger=n,se(this,"name",nA),se(this,"version",rA),se(this,"events",new Ke.exports),se(this,"pairings"),se(this,"initialized",!1),se(this,"storagePrefix",un),se(this,"ignoredPayloadTypes",[Rn]),se(this,"registeredMethods",[]),se(this,"init",async()=>{this.initialized||(await this.pairings.init(),await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.initialized=!0,this.logger.trace("Initialized"))}),se(this,"register",({methods:r})=>{this.isInitialized(),this.registeredMethods=[...new Set([...this.registeredMethods,...r])]}),se(this,"create",async r=>{this.isInitialized();const i=dl(),s=await this.core.crypto.setSymKey(i),o=De(K.FIVE_MINUTES),a={protocol:Z1},c={topic:s,expiry:o,relay:a,active:!1,methods:r?.methods},u=v1({protocol:this.core.protocol,version:this.core.version,topic:s,symKey:i,relay:a,expiryTimestamp:o,methods:r?.methods});return this.events.emit(Yr.create,c),this.core.expirer.set(s,o),await this.pairings.set(s,c),await this.core.relayer.subscribe(s,{transportType:r?.transportType,internal:r?.internal}),{topic:s,uri:u}}),se(this,"pair",async r=>{this.isInitialized();const i=this.core.eventClient.createEvent({properties:{topic:r?.uri,trace:[ln.pairing_started]}});this.isValidPair(r,i);const{topic:s,symKey:o,relay:a,expiryTimestamp:c,methods:u}=m1(r.uri);i.props.properties.topic=s,i.addTrace(ln.pairing_uri_validation_success),i.addTrace(ln.pairing_uri_not_expired);let l;if(this.pairings.keys.includes(s)){if(l=this.pairings.get(s),i.addTrace(ln.existing_pairing),l.active)throw i.setError(Fn.active_pairing_already_exists),new Error(`Pairing already exists: ${s}. Please try again with a new connection URI.`);i.addTrace(ln.pairing_not_expired)}const f=c||De(K.FIVE_MINUTES),d={topic:s,relay:a,expiry:f,active:!1,methods:u};this.core.expirer.set(s,f),await this.pairings.set(s,d),i.addTrace(ln.store_new_pairing),r.activatePairing&&await this.activate({topic:s}),this.events.emit(Yr.create,d),i.addTrace(ln.emit_inactive_pairing),this.core.crypto.keychain.has(s)||await this.core.crypto.setSymKey(o,s),i.addTrace(ln.subscribing_pairing_topic);try{await this.core.relayer.confirmOnlineStateOrThrow()}catch{i.setError(Fn.no_internet_connection)}try{await this.core.relayer.subscribe(s,{relay:a})}catch(h){throw i.setError(Fn.subscribe_pairing_topic_failure),h}return i.addTrace(ln.subscribe_pairing_topic_success),d}),se(this,"activate",async({topic:r})=>{this.isInitialized();const i=De(K.FIVE_MINUTES);this.core.expirer.set(r,i),await this.pairings.update(r,{active:!0,expiry:i})}),se(this,"ping",async r=>{this.isInitialized(),await this.isValidPing(r),this.logger.warn("ping() is deprecated and will be removed in the next major release.");const{topic:i}=r;if(this.pairings.keys.includes(i)){const s=await this.sendRequest(i,"wc_pairingPing",{}),{done:o,resolve:a,reject:c}=jr();this.events.once(he("pairing_ping",s),({error:u})=>{u?c(u):a()}),await o()}}),se(this,"updateExpiry",async({topic:r,expiry:i})=>{this.isInitialized(),await this.pairings.update(r,{expiry:i})}),se(this,"updateMetadata",async({topic:r,metadata:i})=>{this.isInitialized(),await this.pairings.update(r,{peerMetadata:i})}),se(this,"getPairings",()=>(this.isInitialized(),this.pairings.values)),se(this,"disconnect",async r=>{this.isInitialized(),await this.isValidDisconnect(r);const{topic:i}=r;this.pairings.keys.includes(i)&&(await this.sendRequest(i,"wc_pairingDelete",Ee("USER_DISCONNECTED")),await this.deletePairing(i))}),se(this,"formatUriFromPairing",r=>{this.isInitialized();const{topic:i,relay:s,expiry:o,methods:a}=r,c=this.core.crypto.keychain.get(i);return v1({protocol:this.core.protocol,version:this.core.version,topic:i,symKey:c,relay:s,expiryTimestamp:o,methods:a})}),se(this,"sendRequest",async(r,i,s)=>{const o=Un(i,s),a=await this.core.crypto.encode(r,o),c=$s[i].req;return this.core.history.set(r,o),this.core.relayer.publish(r,a,c),o.id}),se(this,"sendResult",async(r,i,s)=>{const o=Ea(r,s),a=await this.core.crypto.encode(i,o),c=(await this.core.history.get(i,r)).request.method,u=$s[c].res;await this.core.relayer.publish(i,a,u),await this.core.history.resolve(o)}),se(this,"sendError",async(r,i,s)=>{const o=_l(r,s),a=await this.core.crypto.encode(i,o),c=(await this.core.history.get(i,r)).request.method,u=$s[c]?$s[c].res:$s.unregistered_method.res;await this.core.relayer.publish(i,a,u),await this.core.history.resolve(o)}),se(this,"deletePairing",async(r,i)=>{await this.core.relayer.unsubscribe(r),await Promise.all([this.pairings.delete(r,Ee("USER_DISCONNECTED")),this.core.crypto.deleteSymKey(r),i?Promise.resolve():this.core.expirer.del(r)])}),se(this,"cleanup",async()=>{const r=this.pairings.getAll().filter(i=>or(i.expiry));await Promise.all(r.map(i=>this.deletePairing(i.topic)))}),se(this,"onRelayEventRequest",async r=>{const{topic:i,payload:s}=r;switch(s.method){case"wc_pairingPing":return await this.onPairingPingRequest(i,s);case"wc_pairingDelete":return await this.onPairingDeleteRequest(i,s);default:return await this.onUnknownRpcMethodRequest(i,s)}}),se(this,"onRelayEventResponse",async r=>{const{topic:i,payload:s}=r,o=(await this.core.history.get(i,s.id)).request.method;switch(o){case"wc_pairingPing":return this.onPairingPingResponse(i,s);default:return this.onUnknownRpcMethodResponse(o)}}),se(this,"onPairingPingRequest",async(r,i)=>{const{id:s}=i;try{this.isValidPing({topic:r}),await this.sendResult(s,r,!0),this.events.emit(Yr.ping,{id:s,topic:r})}catch(o){await this.sendError(s,r,o),this.logger.error(o)}}),se(this,"onPairingPingResponse",(r,i)=>{const{id:s}=i;setTimeout(()=>{cn(i)?this.events.emit(he("pairing_ping",s),{}):Lt(i)&&this.events.emit(he("pairing_ping",s),{error:i.error})},500)}),se(this,"onPairingDeleteRequest",async(r,i)=>{const{id:s}=i;try{this.isValidDisconnect({topic:r}),await this.deletePairing(r),this.events.emit(Yr.delete,{id:s,topic:r})}catch(o){await this.sendError(s,r,o),this.logger.error(o)}}),se(this,"onUnknownRpcMethodRequest",async(r,i)=>{const{id:s,method:o}=i;try{if(this.registeredMethods.includes(o))return;const a=Ee("WC_METHOD_UNSUPPORTED",o);await this.sendError(s,r,a),this.logger.error(a)}catch(a){await this.sendError(s,r,a),this.logger.error(a)}}),se(this,"onUnknownRpcMethodResponse",r=>{this.registeredMethods.includes(r)||this.logger.error(Ee("WC_METHOD_UNSUPPORTED",r))}),se(this,"isValidPair",(r,i)=>{var s;if(!Et(r)){const{message:a}=G("MISSING_OR_INVALID",`pair() params: ${r}`);throw i.setError(Fn.malformed_pairing_uri),new Error(a)}if(!h9(r.uri)){const{message:a}=G("MISSING_OR_INVALID",`pair() uri: ${r.uri}`);throw i.setError(Fn.malformed_pairing_uri),new Error(a)}const o=m1(r?.uri);if(!((s=o?.relay)!=null&&s.protocol)){const{message:a}=G("MISSING_OR_INVALID","pair() uri#relay-protocol");throw i.setError(Fn.malformed_pairing_uri),new Error(a)}if(!(o!=null&&o.symKey)){const{message:a}=G("MISSING_OR_INVALID","pair() uri#symKey");throw i.setError(Fn.malformed_pairing_uri),new Error(a)}if(o!=null&&o.expiryTimestamp&&K.toMiliseconds(o?.expiryTimestamp)<Date.now()){i.setError(Fn.pairing_expired);const{message:a}=G("EXPIRED","pair() URI has expired. Please try again with a new connection URI.");throw new Error(a)}}),se(this,"isValidPing",async r=>{if(!Et(r)){const{message:s}=G("MISSING_OR_INVALID",`ping() params: ${r}`);throw new Error(s)}const{topic:i}=r;await this.isValidPairingTopic(i)}),se(this,"isValidDisconnect",async r=>{if(!Et(r)){const{message:s}=G("MISSING_OR_INVALID",`disconnect() params: ${r}`);throw new Error(s)}const{topic:i}=r;await this.isValidPairingTopic(i)}),se(this,"isValidPairingTopic",async r=>{if(!Se(r,!1)){const{message:i}=G("MISSING_OR_INVALID",`pairing topic should be a string: ${r}`);throw new Error(i)}if(!this.pairings.keys.includes(r)){const{message:i}=G("NO_MATCHING_KEY",`pairing topic doesn't exist: ${r}`);throw new Error(i)}if(or(this.pairings.get(r).expiry)){await this.deletePairing(r);const{message:i}=G("EXPIRED",`pairing topic: ${r}`);throw new Error(i)}}),this.core=e,this.logger=_t(n,this.name),this.pairings=new Qr(this.core,this.logger,this.name,this.storagePrefix)}get context(){return ft(this.logger)}isInitialized(){if(!this.initialized){const{message:e}=G("NOT_INITIALIZED",this.name);throw new Error(e)}}registerRelayerEvents(){this.core.relayer.on(Ie.message,async e=>{const{topic:n,message:r,transportType:i}=e;if(this.pairings.keys.includes(n)&&i!==me.link_mode&&!this.ignoredPayloadTypes.includes(this.core.crypto.getPayloadType(r)))try{const s=await this.core.crypto.decode(n,r);Sl(s)?(this.core.history.set(n,s),await this.onRelayEventRequest({topic:n,payload:s})):xa(s)&&(await this.core.history.resolve(s),await this.onRelayEventResponse({topic:n,payload:s}),this.core.history.delete(n,s.id)),await this.core.relayer.messages.ack(n,r)}catch(s){this.logger.error(s)}})}registerExpirerEvents(){this.core.expirer.on(qt.expired,async e=>{const{topic:n}=q0(e.target);n&&this.pairings.keys.includes(n)&&(await this.deletePairing(n,!0),this.events.emit(Yr.expire,{topic:n}))})}}var QO=Object.defineProperty,eD=(t,e,n)=>e in t?QO(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,je=(t,e,n)=>eD(t,typeof e!="symbol"?e+"":e,n);class tD extends cm{constructor(e,n){super(e,n),this.core=e,this.logger=n,je(this,"records",new Map),je(this,"events",new Ke.exports.EventEmitter),je(this,"name",iA),je(this,"version",sA),je(this,"cached",[]),je(this,"initialized",!1),je(this,"storagePrefix",un),je(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(r=>this.records.set(r.id,r)),this.cached=[],this.registerEventListeners(),this.initialized=!0)}),je(this,"set",(r,i,s)=>{if(this.isInitialized(),this.logger.debug("Setting JSON-RPC request history record"),this.logger.trace({type:"method",method:"set",topic:r,request:i,chainId:s}),this.records.has(i.id))return;const o={id:i.id,topic:r,request:{method:i.method,params:i.params||null},chainId:s,expiry:De(K.THIRTY_DAYS)};this.records.set(o.id,o),this.persist(),this.events.emit(Yt.created,o)}),je(this,"resolve",async r=>{if(this.isInitialized(),this.logger.debug("Updating JSON-RPC response history record"),this.logger.trace({type:"method",method:"update",response:r}),!this.records.has(r.id))return;const i=await this.getRecord(r.id);typeof i.response>"u"&&(i.response=Lt(r)?{error:r.error}:{result:r.result},this.records.set(i.id,i),this.persist(),this.events.emit(Yt.updated,i))}),je(this,"get",async(r,i)=>(this.isInitialized(),this.logger.debug("Getting record"),this.logger.trace({type:"method",method:"get",topic:r,id:i}),await this.getRecord(i))),je(this,"delete",(r,i)=>{this.isInitialized(),this.logger.debug("Deleting record"),this.logger.trace({type:"method",method:"delete",id:i}),this.values.forEach(s=>{if(s.topic===r){if(typeof i<"u"&&s.id!==i)return;this.records.delete(s.id),this.events.emit(Yt.deleted,s)}}),this.persist()}),je(this,"exists",async(r,i)=>(this.isInitialized(),this.records.has(i)?(await this.getRecord(i)).topic===r:!1)),je(this,"on",(r,i)=>{this.events.on(r,i)}),je(this,"once",(r,i)=>{this.events.once(r,i)}),je(this,"off",(r,i)=>{this.events.off(r,i)}),je(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),this.logger=_t(n,this.name)}get context(){return ft(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get size(){return this.records.size}get keys(){return Array.from(this.records.keys())}get values(){return Array.from(this.records.values())}get pending(){const e=[];return this.values.forEach(n=>{if(typeof n.response<"u")return;const r={topic:n.topic,request:Un(n.request.method,n.request.params,n.id),chainId:n.chainId};return e.push(r)}),e}async setJsonRpcRecords(e){await this.core.storage.setItem(this.storageKey,e)}async getJsonRpcRecords(){return await this.core.storage.getItem(this.storageKey)}getRecord(e){this.isInitialized();const n=this.records.get(e);if(!n){const{message:r}=G("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(r)}return n}async persist(){await this.setJsonRpcRecords(this.values),this.events.emit(Yt.sync)}async restore(){try{const e=await this.getJsonRpcRecords();if(typeof e>"u"||!e.length)return;if(this.records.size){const{message:n}=G("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",records:this.values})}catch(e){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(e)}}registerEventListeners(){this.events.on(Yt.created,e=>{const n=Yt.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(Yt.updated,e=>{const n=Yt.updated;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(Yt.deleted,e=>{const n=Yt.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.core.heartbeat.on(Ir.pulse,()=>{this.cleanup()})}cleanup(){try{this.isInitialized();let e=!1;this.records.forEach(n=>{K.toMiliseconds(n.expiry||0)-Date.now()<=0&&(this.logger.info(`Deleting expired history log: ${n.id}`),this.records.delete(n.id),this.events.emit(Yt.deleted,n,!1),e=!0)}),e&&this.persist()}catch(e){this.logger.warn(e)}}isInitialized(){if(!this.initialized){const{message:e}=G("NOT_INITIALIZED",this.name);throw new Error(e)}}}var nD=Object.defineProperty,rD=(t,e,n)=>e in t?nD(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,nt=(t,e,n)=>rD(t,typeof e!="symbol"?e+"":e,n);class iD extends pm{constructor(e,n){super(e,n),this.core=e,this.logger=n,nt(this,"expirations",new Map),nt(this,"events",new Ke.exports.EventEmitter),nt(this,"name",oA),nt(this,"version",aA),nt(this,"cached",[]),nt(this,"initialized",!1),nt(this,"storagePrefix",un),nt(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(r=>this.expirations.set(r.target,r)),this.cached=[],this.registerEventListeners(),this.initialized=!0)}),nt(this,"has",r=>{try{const i=this.formatTarget(r);return typeof this.getExpiration(i)<"u"}catch{return!1}}),nt(this,"set",(r,i)=>{this.isInitialized();const s=this.formatTarget(r),o={target:s,expiry:i};this.expirations.set(s,o),this.checkExpiry(s,o),this.events.emit(qt.created,{target:s,expiration:o})}),nt(this,"get",r=>{this.isInitialized();const i=this.formatTarget(r);return this.getExpiration(i)}),nt(this,"del",r=>{if(this.isInitialized(),this.has(r)){const i=this.formatTarget(r),s=this.getExpiration(i);this.expirations.delete(i),this.events.emit(qt.deleted,{target:i,expiration:s})}}),nt(this,"on",(r,i)=>{this.events.on(r,i)}),nt(this,"once",(r,i)=>{this.events.once(r,i)}),nt(this,"off",(r,i)=>{this.events.off(r,i)}),nt(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),this.logger=_t(n,this.name)}get context(){return ft(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.expirations.size}get keys(){return Array.from(this.expirations.keys())}get values(){return Array.from(this.expirations.values())}formatTarget(e){if(typeof e=="string")return q_(e);if(typeof e=="number")return M_(e);const{message:n}=G("UNKNOWN_TYPE",`Target type: ${typeof e}`);throw new Error(n)}async setExpirations(e){await this.core.storage.setItem(this.storageKey,e)}async getExpirations(){return await this.core.storage.getItem(this.storageKey)}async persist(){await this.setExpirations(this.values),this.events.emit(qt.sync)}async restore(){try{const e=await this.getExpirations();if(typeof e>"u"||!e.length)return;if(this.expirations.size){const{message:n}=G("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored expirations for ${this.name}`),this.logger.trace({type:"method",method:"restore",expirations:this.values})}catch(e){this.logger.debug(`Failed to Restore expirations for ${this.name}`),this.logger.error(e)}}getExpiration(e){const n=this.expirations.get(e);if(!n){const{message:r}=G("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.warn(r),new Error(r)}return n}checkExpiry(e,n){const{expiry:r}=n;K.toMiliseconds(r)-Date.now()<=0&&this.expire(e,n)}expire(e,n){this.expirations.delete(e),this.events.emit(qt.expired,{target:e,expiration:n})}checkExpirations(){this.core.relayer.connected&&this.expirations.forEach((e,n)=>this.checkExpiry(n,e))}registerEventListeners(){this.core.heartbeat.on(Ir.pulse,()=>this.checkExpirations()),this.events.on(qt.created,e=>{const n=qt.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(qt.expired,e=>{const n=qt.expired;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(qt.deleted,e=>{const n=qt.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()})}isInitialized(){if(!this.initialized){const{message:e}=G("NOT_INITIALIZED",this.name);throw new Error(e)}}}var sD=Object.defineProperty,oD=(t,e,n)=>e in t?sD(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ae=(t,e,n)=>oD(t,typeof e!="symbol"?e+"":e,n);class aD extends gm{constructor(e,n,r){super(e,n,r),this.core=e,this.logger=n,this.store=r,Ae(this,"name",cA),Ae(this,"abortController"),Ae(this,"isDevEnv"),Ae(this,"verifyUrlV3",lA),Ae(this,"storagePrefix",un),Ae(this,"version",G1),Ae(this,"publicKey"),Ae(this,"fetchPromise"),Ae(this,"init",async()=>{var i;this.isDevEnv||(this.publicKey=await this.store.getItem(this.storeKey),this.publicKey&&K.toMiliseconds((i=this.publicKey)==null?void 0:i.expiresAt)<Date.now()&&(this.logger.debug("verify v2 public key expired"),await this.removePublicKey()))}),Ae(this,"register",async i=>{if(!Ei()||this.isDevEnv)return;const s=window.location.origin,{id:o,decryptedId:a}=i,c=`${this.verifyUrlV3}/attestation?projectId=${this.core.projectId}&origin=${s}&id=${o}&decryptedId=${a}`;try{const u=Pr(),l=this.startAbortTimer(K.ONE_SECOND*5),f=await new Promise((d,h)=>{const p=()=>{window.removeEventListener("message",m),u.body.removeChild(y),h("attestation aborted")};this.abortController.signal.addEventListener("abort",p);const y=u.createElement("iframe");y.src=c,y.style.display="none",y.addEventListener("error",p,{signal:this.abortController.signal});const m=B=>{if(B.data&&typeof B.data=="string")try{const $=JSON.parse(B.data);if($.type==="verify_attestation"){if(dc($.attestation).payload.id!==o)return;clearInterval(l),u.body.removeChild(y),this.abortController.signal.removeEventListener("abort",p),window.removeEventListener("message",m),d($.attestation===null?"":$.attestation)}}catch($){this.logger.warn($)}};u.body.appendChild(y),window.addEventListener("message",m,{signal:this.abortController.signal})});return this.logger.debug(f,"jwt attestation"),f}catch(u){this.logger.warn(u)}return""}),Ae(this,"resolve",async i=>{if(this.isDevEnv)return"";const{attestationId:s,hash:o,encryptedId:a}=i;if(s===""){this.logger.debug("resolve: attestationId is empty, skipping");return}if(s){if(dc(s).payload.id!==a)return;const u=await this.isValidJwtAttestation(s);if(u){if(!u.isVerified){this.logger.warn("resolve: jwt attestation: origin url not verified");return}return u}}if(!o)return;const c=this.getVerifyUrl(i?.verifyUrl);return this.fetchAttestation(o,c)}),Ae(this,"fetchAttestation",async(i,s)=>{this.logger.debug(`resolving attestation: ${i} from url: ${s}`);const o=this.startAbortTimer(K.ONE_SECOND*5),a=await fetch(`${s}/attestation/${i}?v2Supported=true`,{signal:this.abortController.signal});return clearTimeout(o),a.status===200?await a.json():void 0}),Ae(this,"getVerifyUrl",i=>{let s=i||Ps;return fA.includes(s)||(this.logger.info(`verify url: ${s}, not included in trusted list, assigning default: ${Ps}`),s=Ps),s}),Ae(this,"fetchPublicKey",async()=>{try{this.logger.debug(`fetching public key from: ${this.verifyUrlV3}`);const i=this.startAbortTimer(K.FIVE_SECONDS),s=await fetch(`${this.verifyUrlV3}/public-key`,{signal:this.abortController.signal});return clearTimeout(i),await s.json()}catch(i){this.logger.warn(i)}}),Ae(this,"persistPublicKey",async i=>{this.logger.debug(i,"persisting public key to local storage"),await this.store.setItem(this.storeKey,i),this.publicKey=i}),Ae(this,"removePublicKey",async()=>{this.logger.debug("removing verify v2 public key from storage"),await this.store.removeItem(this.storeKey),this.publicKey=void 0}),Ae(this,"isValidJwtAttestation",async i=>{const s=await this.getPublicKey();try{if(s)return this.validateAttestation(i,s)}catch(a){this.logger.error(a),this.logger.warn("error validating attestation")}const o=await this.fetchAndPersistPublicKey();try{if(o)return this.validateAttestation(i,o)}catch(a){this.logger.error(a),this.logger.warn("error validating attestation")}}),Ae(this,"getPublicKey",async()=>this.publicKey?this.publicKey:await this.fetchAndPersistPublicKey()),Ae(this,"fetchAndPersistPublicKey",async()=>{if(this.fetchPromise)return await this.fetchPromise,this.publicKey;this.fetchPromise=new Promise(async s=>{const o=await this.fetchPublicKey();o&&(await this.persistPublicKey(o),s(o))});const i=await this.fetchPromise;return this.fetchPromise=void 0,i}),Ae(this,"validateAttestation",(i,s)=>{const o=FI(i,s.publicKey),a={hasExpired:K.toMiliseconds(o.exp)<Date.now(),payload:o};if(a.hasExpired)throw this.logger.warn("resolve: jwt attestation expired"),new Error("JWT attestation expired");return{origin:a.payload.origin,isScam:a.payload.isScam,isVerified:a.payload.isVerified}}),this.logger=_t(n,this.name),this.abortController=new AbortController,this.isDevEnv=Uu(),this.init()}get storeKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//verify:public:key"}get context(){return ft(this.logger)}startAbortTimer(e){return this.abortController=new AbortController,setTimeout(()=>this.abortController.abort(),K.toMiliseconds(e))}}var cD=Object.defineProperty,uD=(t,e,n)=>e in t?cD(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Oy=(t,e,n)=>uD(t,typeof e!="symbol"?e+"":e,n);class lD extends ym{constructor(e,n){super(e,n),this.projectId=e,this.logger=n,Oy(this,"context",hA),Oy(this,"registerDeviceToken",async r=>{const{clientId:i,token:s,notificationType:o,enableEncrypted:a=!1}=r,c=`${dA}/${this.projectId}/clients`;await fetch(c,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client_id:i,type:o,token:s,always_raw:a})})}),this.logger=_t(n,this.context)}}var fD=Object.defineProperty,Dy=Object.getOwnPropertySymbols,hD=Object.prototype.hasOwnProperty,dD=Object.prototype.propertyIsEnumerable,Ul=(t,e,n)=>e in t?fD(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Fs=(t,e)=>{for(var n in e||(e={}))hD.call(e,n)&&Ul(t,n,e[n]);if(Dy)for(var n of Dy(e))dD.call(e,n)&&Ul(t,n,e[n]);return t},Ue=(t,e,n)=>Ul(t,typeof e!="symbol"?e+"":e,n);class pD extends bm{constructor(e,n,r=!0){super(e,n,r),this.core=e,this.logger=n,Ue(this,"context",gA),Ue(this,"storagePrefix",un),Ue(this,"storageVersion",pA),Ue(this,"events",new Map),Ue(this,"shouldPersist",!1),Ue(this,"init",async()=>{if(!Uu())try{const i={eventId:j0(),timestamp:Date.now(),domain:this.getAppDomain(),props:{event:"INIT",type:"",properties:{client_id:await this.core.crypto.getClientId(),user_agent:L0(this.core.relayer.protocol,this.core.relayer.version,Il)}}};await this.sendEvent([i])}catch(i){this.logger.warn(i)}}),Ue(this,"createEvent",i=>{const{event:s="ERROR",type:o="",properties:{topic:a,trace:c}}=i,u=j0(),l=this.core.projectId||"",f=Date.now(),d=Fs({eventId:u,timestamp:f,props:{event:s,type:o,properties:{topic:a,trace:c}},bundleId:l,domain:this.getAppDomain()},this.setMethods(u));return this.telemetryEnabled&&(this.events.set(u,d),this.shouldPersist=!0),d}),Ue(this,"getEvent",i=>{const{eventId:s,topic:o}=i;if(s)return this.events.get(s);const a=Array.from(this.events.values()).find(c=>c.props.properties.topic===o);if(a)return Fs(Fs({},a),this.setMethods(a.eventId))}),Ue(this,"deleteEvent",i=>{const{eventId:s}=i;this.events.delete(s),this.shouldPersist=!0}),Ue(this,"setEventListeners",()=>{this.core.heartbeat.on(Ir.pulse,async()=>{this.shouldPersist&&await this.persist(),this.events.forEach(i=>{K.fromMiliseconds(Date.now())-K.fromMiliseconds(i.timestamp)>yA&&(this.events.delete(i.eventId),this.shouldPersist=!0)})})}),Ue(this,"setMethods",i=>({addTrace:s=>this.addTrace(i,s),setError:s=>this.setError(i,s)})),Ue(this,"addTrace",(i,s)=>{const o=this.events.get(i);o&&(o.props.properties.trace.push(s),this.events.set(i,o),this.shouldPersist=!0)}),Ue(this,"setError",(i,s)=>{const o=this.events.get(i);o&&(o.props.type=s,o.timestamp=Date.now(),this.events.set(i,o),this.shouldPersist=!0)}),Ue(this,"persist",async()=>{await this.core.storage.setItem(this.storageKey,Array.from(this.events.values())),this.shouldPersist=!1}),Ue(this,"restore",async()=>{try{const i=await this.core.storage.getItem(this.storageKey)||[];if(!i.length)return;i.forEach(s=>{this.events.set(s.eventId,Fs(Fs({},s),this.setMethods(s.eventId)))})}catch(i){this.logger.warn(i)}}),Ue(this,"submit",async()=>{if(!this.telemetryEnabled||this.events.size===0)return;const i=[];for(const[s,o]of this.events)o.props.type&&i.push(o);if(i.length!==0)try{if((await this.sendEvent(i)).ok)for(const s of i)this.events.delete(s.eventId),this.shouldPersist=!0}catch(s){this.logger.warn(s)}}),Ue(this,"sendEvent",async i=>{const s=this.getAppDomain()?"":"&sp=desktop";return await fetch(`${bA}?projectId=${this.core.projectId}&st=events_sdk&sv=js-${Il}${s}`,{method:"POST",body:JSON.stringify(i)})}),Ue(this,"getAppDomain",()=>F0().url),this.logger=_t(n,this.context),this.telemetryEnabled=r,r?this.restore().then(async()=>{await this.submit(),this.setEventListeners()}):this.persist()}get storageKey(){return this.storagePrefix+this.storageVersion+this.core.customStoragePrefix+"//"+this.context}}var gD=Object.defineProperty,$y=Object.getOwnPropertySymbols,yD=Object.prototype.hasOwnProperty,bD=Object.prototype.propertyIsEnumerable,Fl=(t,e,n)=>e in t?gD(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Py=(t,e)=>{for(var n in e||(e={}))yD.call(e,n)&&Fl(t,n,e[n]);if($y)for(var n of $y(e))bD.call(e,n)&&Fl(t,n,e[n]);return t},we=(t,e,n)=>Fl(t,typeof e!="symbol"?e+"":e,n);class Ll extends im{constructor(e){var n;super(e),we(this,"protocol",K1),we(this,"version",G1),we(this,"name",_a),we(this,"relayUrl"),we(this,"projectId"),we(this,"customStoragePrefix"),we(this,"events",new Ke.exports.EventEmitter),we(this,"logger"),we(this,"heartbeat"),we(this,"relayer"),we(this,"crypto"),we(this,"storage"),we(this,"history"),we(this,"expirer"),we(this,"pairing"),we(this,"verify"),we(this,"echoClient"),we(this,"linkModeSupportedApps"),we(this,"eventClient"),we(this,"initialized",!1),we(this,"logChunkController"),we(this,"on",(a,c)=>this.events.on(a,c)),we(this,"once",(a,c)=>this.events.once(a,c)),we(this,"off",(a,c)=>this.events.off(a,c)),we(this,"removeListener",(a,c)=>this.events.removeListener(a,c)),we(this,"dispatchEnvelope",({topic:a,message:c,sessionExists:u})=>{if(!a||!c)return;const l={topic:a,message:c,publishedAt:Date.now(),transportType:me.link_mode};this.relayer.onLinkMessageEvent(l,{sessionExists:u})});const r=this.getGlobalCore(e?.customStoragePrefix);if(r)try{return this.customStoragePrefix=r.customStoragePrefix,this.logger=r.logger,this.heartbeat=r.heartbeat,this.crypto=r.crypto,this.history=r.history,this.expirer=r.expirer,this.storage=r.storage,this.relayer=r.relayer,this.pairing=r.pairing,this.verify=r.verify,this.echoClient=r.echoClient,this.linkModeSupportedApps=r.linkModeSupportedApps,this.eventClient=r.eventClient,this.initialized=r.initialized,this.logChunkController=r.logChunkController,r}catch(a){console.warn("Failed to copy global core",a)}this.projectId=e?.projectId,this.relayUrl=e?.relayUrl||Y1,this.customStoragePrefix=e!=null&&e.customStoragePrefix?`:${e.customStoragePrefix}`:"";const i=Xw({level:typeof e?.logger=="string"&&e.logger?e.logger:L7.logger,name:_a}),{logger:s,chunkLoggerController:o}=Nf({opts:i,maxSizeInBytes:e?.maxLogBlobSizeInBytes,loggerOverride:e?.logger});this.logChunkController=o,(n=this.logChunkController)!=null&&n.downloadLogsBlobInBrowser&&(window.downloadLogsBlobInBrowser=async()=>{var a,c;(a=this.logChunkController)!=null&&a.downloadLogsBlobInBrowser&&((c=this.logChunkController)==null||c.downloadLogsBlobInBrowser({clientId:await this.crypto.getClientId()}))}),this.logger=_t(s,this.name),this.heartbeat=new Fa,this.crypto=new VB(this,this.logger,e?.keychain),this.history=new tD(this,this.logger),this.expirer=new iD(this,this.logger),this.storage=e!=null&&e.storage?e.storage:new dw(Py(Py({},k7),e?.storageOptions)),this.relayer=new wO({core:this,logger:this.logger,relayUrl:this.relayUrl,projectId:this.projectId}),this.pairing=new JO(this,this.logger),this.verify=new aD(this,this.logger,this.storage),this.echoClient=new lD(this.projectId||"",this.logger),this.linkModeSupportedApps=[],this.eventClient=new pD(this,this.logger,e?.telemetryEnabled),this.setGlobalCore(this)}static async init(e){const n=new Ll(e);await n.initialize();const r=await n.crypto.getClientId();return await n.storage.setItem(Q7,r),n}get context(){return ft(this.logger)}async start(){this.initialized||await this.initialize()}async getLogsBlob(){var e;return(e=this.logChunkController)==null?void 0:e.logsToBlob({clientId:await this.crypto.getClientId()})}async addLinkModeSupportedApp(e){this.linkModeSupportedApps.includes(e)||(this.linkModeSupportedApps.push(e),await this.storage.setItem(X1,this.linkModeSupportedApps))}async initialize(){this.logger.trace("Initialized");try{await this.crypto.init(),await this.history.init(),await this.expirer.init(),await this.relayer.init(),await this.heartbeat.init(),await this.pairing.init(),this.linkModeSupportedApps=await this.storage.getItem(X1)||[],this.initialized=!0,this.logger.info("Core Initialization Success")}catch(e){throw this.logger.warn(e,`Core Initialization Failure at epoch ${Date.now()}`),this.logger.error(e.message),e}}getGlobalCore(e=""){try{if(this.isGlobalCoreDisabled())return;const n=`_walletConnectCore_${e}`,r=`${n}_count`;return globalThis[r]=(globalThis[r]||0)+1,globalThis[r]>1&&console.warn(`WalletConnect Core is already initialized. This is probably a mistake and can lead to unexpected behavior. Init() was called ${globalThis[r]} times.`),globalThis[n]}catch(n){console.warn("Failed to get global WalletConnect core",n);return}}setGlobalCore(e){var n;try{if(this.isGlobalCoreDisabled())return;const r=`_walletConnectCore_${((n=e.opts)==null?void 0:n.customStoragePrefix)||""}`;globalThis[r]=e}catch(r){console.warn("Failed to set global WalletConnect core",r)}}isGlobalCoreDisabled(){try{return typeof process<"u"&&process.env.DISABLE_GLOBAL_CORE==="true"}catch{return!0}}}const kl=Ll,Ty="wc",Ry=2,Ny="client",ql=`${Ty}@${Ry}:${Ny}:`,Ml={name:Ny,logger:"error",controller:!1,relayUrl:"wss://relay.walletconnect.org"},Cy="WALLETCONNECT_DEEPLINK_CHOICE",wD="proposal",Uy="Proposal expired",mD="session",Ni=K.SEVEN_DAYS,vD="engine",ze={wc_sessionPropose:{req:{ttl:K.FIVE_MINUTES,prompt:!0,tag:1100},res:{ttl:K.FIVE_MINUTES,prompt:!1,tag:1101},reject:{ttl:K.FIVE_MINUTES,prompt:!1,tag:1120},autoReject:{ttl:K.FIVE_MINUTES,prompt:!1,tag:1121}},wc_sessionSettle:{req:{ttl:K.FIVE_MINUTES,prompt:!1,tag:1102},res:{ttl:K.FIVE_MINUTES,prompt:!1,tag:1103}},wc_sessionUpdate:{req:{ttl:K.ONE_DAY,prompt:!1,tag:1104},res:{ttl:K.ONE_DAY,prompt:!1,tag:1105}},wc_sessionExtend:{req:{ttl:K.ONE_DAY,prompt:!1,tag:1106},res:{ttl:K.ONE_DAY,prompt:!1,tag:1107}},wc_sessionRequest:{req:{ttl:K.FIVE_MINUTES,prompt:!0,tag:1108},res:{ttl:K.FIVE_MINUTES,prompt:!1,tag:1109}},wc_sessionEvent:{req:{ttl:K.FIVE_MINUTES,prompt:!0,tag:1110},res:{ttl:K.FIVE_MINUTES,prompt:!1,tag:1111}},wc_sessionDelete:{req:{ttl:K.ONE_DAY,prompt:!1,tag:1112},res:{ttl:K.ONE_DAY,prompt:!1,tag:1113}},wc_sessionPing:{req:{ttl:K.ONE_DAY,prompt:!1,tag:1114},res:{ttl:K.ONE_DAY,prompt:!1,tag:1115}},wc_sessionAuthenticate:{req:{ttl:K.ONE_HOUR,prompt:!0,tag:1116},res:{ttl:K.ONE_HOUR,prompt:!1,tag:1117},reject:{ttl:K.FIVE_MINUTES,prompt:!1,tag:1118},autoReject:{ttl:K.FIVE_MINUTES,prompt:!1,tag:1119}}},jl={min:K.FIVE_MINUTES,max:K.SEVEN_DAYS},hn={idle:"IDLE",active:"ACTIVE"},ED={eth_sendTransaction:{key:""},eth_sendRawTransaction:{key:""},wallet_sendCalls:{key:""},solana_signTransaction:{key:"signature"},solana_signAllTransactions:{key:"transactions"},solana_signAndSendTransaction:{key:"signature"},sui_signAndExecuteTransaction:{key:"digest"},sui_signTransaction:{key:""},hedera_signAndExecuteTransaction:{key:"transactionId"},hedera_executeTransaction:{key:"transactionId"},near_signTransaction:{key:""},near_signTransactions:{key:""},tron_signTransaction:{key:"txID"},xrpl_signTransaction:{key:""},xrpl_signTransactionFor:{key:""},algo_signTxn:{key:""},sendTransfer:{key:"txid"},stacks_stxTransfer:{key:"txId"},polkadot_signTransaction:{key:""},cosmos_signDirect:{key:""}},xD="request",_D=["wc_sessionPropose","wc_sessionRequest","wc_authRequest","wc_sessionAuthenticate"],SD="wc",ID="auth",AD="authKeys",BD="pairingTopics",OD="requests",Aa=`${SD}@${1.5}:${ID}:`,Ba=`${Aa}:PUB_KEY`;var DD=Object.defineProperty,$D=Object.defineProperties,PD=Object.getOwnPropertyDescriptors,Fy=Object.getOwnPropertySymbols,TD=Object.prototype.hasOwnProperty,RD=Object.prototype.propertyIsEnumerable,zl=(t,e,n)=>e in t?DD(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,le=(t,e)=>{for(var n in e||(e={}))TD.call(e,n)&&zl(t,n,e[n]);if(Fy)for(var n of Fy(e))RD.call(e,n)&&zl(t,n,e[n]);return t},He=(t,e)=>$D(t,PD(e)),H=(t,e,n)=>zl(t,typeof e!="symbol"?e+"":e,n);class ND extends Em{constructor(e){super(e),H(this,"name",vD),H(this,"events",new Ke.exports),H(this,"initialized",!1),H(this,"requestQueue",{state:hn.idle,queue:[]}),H(this,"sessionRequestQueue",{state:hn.idle,queue:[]}),H(this,"emittedSessionRequests",new Y_({limit:500})),H(this,"requestQueueDelay",K.ONE_SECOND),H(this,"expectedPairingMethodMap",new Map),H(this,"recentlyDeletedMap",new Map),H(this,"recentlyDeletedLimit",200),H(this,"relayMessageCache",[]),H(this,"pendingSessions",new Map),H(this,"init",async()=>{this.initialized||(await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.registerPairingEvents(),await this.registerLinkModeListeners(),this.client.core.pairing.register({methods:Object.keys(ze)}),this.initialized=!0,setTimeout(async()=>{await this.processPendingMessageEvents(),this.sessionRequestQueue.queue=this.getPendingSessionRequests(),this.processSessionRequestQueue()},K.toMiliseconds(this.requestQueueDelay)))}),H(this,"connect",async n=>{var r;this.isInitialized(),await this.confirmOnlineStateOrThrow();const i=He(le({},n),{requiredNamespaces:n.requiredNamespaces||{},optionalNamespaces:n.optionalNamespaces||{}});await this.isValidConnect(i),i.optionalNamespaces=a9(i.requiredNamespaces,i.optionalNamespaces),i.requiredNamespaces={};const{pairingTopic:s,requiredNamespaces:o,optionalNamespaces:a,sessionProperties:c,scopedProperties:u,relays:l,authentication:f,walletPay:d}=i,h=((r=f?.[0])==null?void 0:r.ttl)||ze.wc_sessionPropose.req.ttl||K.FIVE_MINUTES;this.validateRequestExpiry(h);let p=s,y,m=!1;try{if(p){const D=this.client.core.pairing.pairings.get(p);this.client.logger.warn("connect() with existing pairing topic is deprecated and will be removed in the next major release."),m=D.active}}catch(D){throw this.client.logger.error(`connect() -> pairing.get(${p}) failed`),D}if(!p||!m){const{topic:D,uri:j}=await this.client.core.pairing.create({internal:{skipSubscribe:!0}});p=D,y=j}if(!p){const{message:D}=G("NO_MATCHING_KEY",`connect() pairing topic: ${p}`);throw new Error(D)}const B=await this.client.core.crypto.generateKeyPair(),$=De(h),_=le(He(le(le({requiredNamespaces:o,optionalNamespaces:a,relays:l??[{protocol:Z1}],proposer:{publicKey:B,metadata:this.client.metadata},expiryTimestamp:$,pairingTopic:p},c&&{sessionProperties:c}),u&&{scopedProperties:u}),{id:an()}),(f||d)&&{requests:{authentication:f?.map(D=>{const{domain:j,chains:M,nonce:E,uri:b,exp:v,nbf:g,type:w,statement:S,requestId:A,resources:I,signatureTypes:O}=D;return{domain:j,chains:M,nonce:E,type:w??"caip122",aud:b,version:"1",iat:new Date().toISOString(),exp:v,nbf:g,statement:S,requestId:A,resources:I,signatureTypes:O}}),walletPay:d}}),x=he("session_connect",_.id),{reject:P,resolve:R,done:U}=jr(h,Uy),F=({id:D})=>{D===_.id&&(this.client.events.off("proposal_expire",F),this.pendingSessions.delete(_.id),this.events.emit(x,{error:{message:Uy,code:0}}))};return this.client.events.on("proposal_expire",F),this.events.once(x,({error:D,session:j})=>{this.client.events.off("proposal_expire",F),D?P(D):j&&R(j)}),await this.setProposal(_.id,_),await this.sendProposeSession({proposal:_,publishOpts:{internal:{throwOnFailedPublish:!0},tvf:{correlationId:_.id}}}).catch(D=>{throw this.deleteProposal(_.id),D}),{uri:y,approval:U}}),H(this,"pair",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{return await this.client.core.pairing.pair(n)}catch(r){throw this.client.logger.error("pair() failed"),r}}),H(this,"approve",async n=>{var r,i,s;const o=this.client.core.eventClient.createEvent({properties:{topic:(r=n?.id)==null?void 0:r.toString(),trace:[Xt.session_approve_started]}});try{this.isInitialized(),await this.confirmOnlineStateOrThrow()}catch(j){throw o.setError(Xr.no_internet_connection),j}try{await this.isValidProposalId(n?.id)}catch(j){throw this.client.logger.error(`approve() -> proposal.get(${n?.id}) failed`),o.setError(Xr.proposal_not_found),j}try{await this.isValidApprove(n)}catch(j){throw this.client.logger.error("approve() -> isValidApprove() failed"),o.setError(Xr.session_approve_namespace_validation_failure),j}const{id:a,relayProtocol:c,namespaces:u,sessionProperties:l,scopedProperties:f,sessionConfig:d,proposalRequestsResponses:h}=n,p=this.client.proposal.get(a);this.client.core.eventClient.deleteEvent({eventId:o.eventId});const{pairingTopic:y,proposer:m,requiredNamespaces:B,optionalNamespaces:$}=p;let _=(i=this.client.core.eventClient)==null?void 0:i.getEvent({topic:y});_||(_=(s=this.client.core.eventClient)==null?void 0:s.createEvent({type:Xt.session_approve_started,properties:{topic:y,trace:[Xt.session_approve_started,Xt.session_namespaces_validation_success]}}));const x=await this.client.core.crypto.generateKeyPair(),P=m.publicKey,R=await this.client.core.crypto.generateSharedKey(x,P),U=He(le(le(le({relay:{protocol:c??"irn"},namespaces:u,controller:{publicKey:x,metadata:this.client.metadata},expiry:De(Ni)},l&&{sessionProperties:l}),f&&{scopedProperties:f}),d&&{sessionConfig:d}),{proposalRequestsResponses:h}),F=me.relay;_.addTrace(Xt.subscribing_session_topic);try{await this.client.core.relayer.subscribe(R,{transportType:F,internal:{skipSubscribe:!0}})}catch(j){throw _.setError(Xr.subscribe_session_topic_failure),j}_.addTrace(Xt.subscribe_session_topic_success);const D=He(le({},U),{topic:R,requiredNamespaces:B,optionalNamespaces:$,pairingTopic:y,acknowledged:!1,self:U.controller,peer:{publicKey:m.publicKey,metadata:m.metadata},controller:x,transportType:me.relay,authentication:h?.authentication,walletPayResult:h?.walletPay});await this.client.session.set(R,D),_.addTrace(Xt.store_session);try{await this.sendApproveSession({sessionTopic:R,proposal:p,pairingProposalResponse:{relay:{protocol:c??"irn"},responderPublicKey:x},sessionSettleRequest:U,publishOpts:{internal:{throwOnFailedPublish:!0},tvf:le({correlationId:a},this.getTVFApproveParams(D))}}),_.addTrace(Xt.session_approve_publish_success)}catch(j){throw this.client.logger.error(j),this.client.session.delete(R,Ee("USER_DISCONNECTED")),await this.client.core.relayer.unsubscribe(R),j}return this.client.core.eventClient.deleteEvent({eventId:_.eventId}),await this.client.core.pairing.updateMetadata({topic:y,metadata:m.metadata}),await this.deleteProposal(a),await this.client.core.pairing.activate({topic:y}),await this.setExpiry(R,De(Ni)),{topic:R,acknowledged:()=>Promise.resolve(this.client.session.get(R))}}),H(this,"reject",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidReject(n)}catch(o){throw this.client.logger.error("reject() -> isValidReject() failed"),o}const{id:r,reason:i}=n;let s;try{s=this.client.proposal.get(r).pairingTopic}catch(o){throw this.client.logger.error(`reject() -> proposal.get(${r}) failed`),o}s&&await this.sendError({id:r,topic:s,error:i,rpcOpts:ze.wc_sessionPropose.reject}),await this.deleteProposal(r)}),H(this,"update",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidUpdate(n)}catch(f){throw this.client.logger.error("update() -> isValidUpdate() failed"),f}const{topic:r,namespaces:i}=n,{done:s,resolve:o,reject:a}=jr(K.FIVE_MINUTES,"Session update request expired without receiving any acknowledgement"),c=an(),u=Er().toString(),l=this.client.session.get(r).namespaces;return this.events.once(he("session_update",c),({error:f})=>{f?a(f):o()}),await this.client.session.update(r,{namespaces:i}),await this.sendRequest({topic:r,method:"wc_sessionUpdate",params:{namespaces:i},throwOnFailedPublish:!0,clientRpcId:c,relayRpcId:u}).catch(f=>{this.client.logger.error(f),this.client.session.update(r,{namespaces:l}),a(f)}),{acknowledged:s}}),H(this,"extend",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidExtend(n)}catch(c){throw this.client.logger.error("extend() -> isValidExtend() failed"),c}const{topic:r}=n,i=an(),{done:s,resolve:o,reject:a}=jr(K.FIVE_MINUTES,"Session extend request expired without receiving any acknowledgement");return this.events.once(he("session_extend",i),({error:c})=>{c?a(c):o()}),await this.setExpiry(r,De(Ni)),this.sendRequest({topic:r,method:"wc_sessionExtend",params:{},clientRpcId:i,throwOnFailedPublish:!0}).catch(c=>{a(c)}),{acknowledged:s}}),H(this,"request",async n=>{this.isInitialized();try{await this.isValidRequest(n)}catch(m){throw this.client.logger.error("request() -> isValidRequest() failed"),m}const{chainId:r,request:i,topic:s,expiry:o=ze.wc_sessionRequest.req.ttl}=n,a=this.client.session.get(s);a?.transportType===me.relay&&await this.confirmOnlineStateOrThrow();const c=an(),u=Er().toString(),{done:l,resolve:f,reject:d}=jr(o,"Request expired. Please try again.");this.events.once(he("session_request",c),({error:m,result:B})=>{m?d(m):f(B)});const h="wc_sessionRequest",p=this.getAppLinkIfEnabled(a.peer.metadata,a.transportType);if(p)return await this.sendRequest({clientRpcId:c,relayRpcId:u,topic:s,method:h,params:{request:He(le({},i),{expiryTimestamp:De(o)}),chainId:r},expiry:o,throwOnFailedPublish:!0,appLink:p}).catch(m=>d(m)),this.client.events.emit("session_request_sent",{topic:s,request:i,chainId:r,id:c}),await l();const y={request:He(le({},i),{expiryTimestamp:De(o)}),chainId:r};return await Promise.all([new Promise(async m=>{await this.sendRequest({clientRpcId:c,relayRpcId:u,topic:s,method:h,params:y,expiry:o,throwOnFailedPublish:!0,tvf:this.getTVFParams(c,y)}).catch(B=>d(B)),this.client.events.emit("session_request_sent",{topic:s,request:i,chainId:r,id:c}),m()}),new Promise(async m=>{var B;if(!((B=a.sessionConfig)!=null&&B.disableDeepLink)){const $=await V_(this.client.core.storage,Cy);await j_({id:c,topic:s,wcDeepLink:$})}m()}),l()]).then(m=>m[2])}),H(this,"respond",async n=>{var r,i;this.isInitialized();const s=this.client.core.eventClient.createEvent({properties:{topic:n?.topic||((i=(r=n?.response)==null?void 0:r.id)==null?void 0:i.toString()),trace:[Xt.session_request_response_started]}});try{await this.isValidRespond(n)}catch(f){throw s.addTrace(f?.message),s.setError(Xr.session_request_response_validation_failure),f}s.addTrace(Xt.session_request_response_validation_success);const{topic:o,response:a}=n,{id:c}=a,u=this.client.session.get(o);u.transportType===me.relay&&await this.confirmOnlineStateOrThrow();const l=this.getAppLinkIfEnabled(u.peer.metadata,u.transportType);try{s.addTrace(Xt.session_request_response_publish_started),cn(a)?await this.sendResult({id:c,topic:o,result:a.result,throwOnFailedPublish:!0,appLink:l}):Lt(a)&&await this.sendError({id:c,topic:o,error:a.error,appLink:l}),this.cleanupAfterResponse(n)}catch(f){throw s.addTrace(f?.message),s.setError(Xr.session_request_response_publish_failure),f}}),H(this,"ping",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidPing(n)}catch(i){throw this.client.logger.error("ping() -> isValidPing() failed"),i}const{topic:r}=n;if(this.client.session.keys.includes(r)){const i=an(),s=Er().toString(),{done:o,resolve:a,reject:c}=jr(K.FIVE_MINUTES,"Ping request expired without receiving any acknowledgement");this.events.once(he("session_ping",i),({error:u})=>{u?c(u):a()}),await Promise.all([this.sendRequest({topic:r,method:"wc_sessionPing",params:{},throwOnFailedPublish:!0,clientRpcId:i,relayRpcId:s}),o()])}else this.client.core.pairing.pairings.keys.includes(r)&&(this.client.logger.warn("ping() on pairing topic is deprecated and will be removed in the next major release."),await this.client.core.pairing.ping({topic:r}))}),H(this,"emit",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow(),await this.isValidEmit(n);const{topic:r,event:i,chainId:s}=n,o=Er().toString(),a=an();await this.sendRequest({topic:r,method:"wc_sessionEvent",params:{event:i,chainId:s},throwOnFailedPublish:!0,relayRpcId:o,clientRpcId:a})}),H(this,"disconnect",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow(),await this.isValidDisconnect(n);const{topic:r}=n;if(this.client.session.keys.includes(r))await this.sendRequest({topic:r,method:"wc_sessionDelete",params:Ee("USER_DISCONNECTED"),throwOnFailedPublish:!0}),await this.deleteSession({topic:r,emitEvent:!1});else if(this.client.core.pairing.pairings.keys.includes(r))await this.client.core.pairing.disconnect({topic:r});else{const{message:i}=G("MISMATCHED_TOPIC",`Session or pairing topic not found: ${r}`);throw new Error(i)}}),H(this,"find",n=>(this.isInitialized(),this.client.session.getAll().filter(r=>l9(r,n)))),H(this,"getPendingSessionRequests",()=>this.client.pendingRequest.getAll()),H(this,"authenticate",async(n,r)=>{var i;this.isInitialized(),this.isValidAuthenticate(n);const s=r&&this.client.core.linkModeSupportedApps.includes(r)&&((i=this.client.metadata.redirect)==null?void 0:i.linkMode),o=s?me.link_mode:me.relay;o===me.relay&&await this.confirmOnlineStateOrThrow();const{chains:a,statement:c="",uri:u,domain:l,nonce:f,type:d,exp:h,nbf:p,methods:y=[],expiry:m}=n,B=[...n.resources||[]],{topic:$,uri:_}=await this.client.core.pairing.create({methods:["wc_sessionAuthenticate"],transportType:o});this.client.logger.info({message:"Generated new pairing",pairing:{topic:$,uri:_}});const x=await this.client.core.crypto.generateKeyPair(),P=ba(x);if(await Promise.all([this.client.auth.authKeys.set(Ba,{responseTopic:P,publicKey:x}),this.client.auth.pairingTopics.set(P,{topic:P,pairingTopic:$})]),await this.client.core.relayer.subscribe(P,{transportType:o}),this.client.logger.info(`sending request to new pairing topic: ${$}`),y.length>0){const{namespace:I}=Zo(a[0]);let O=cS(I,"request",y);sa(B)&&(O=lS(O,B.pop())),B.push(O)}const R=m&&m>ze.wc_sessionAuthenticate.req.ttl?m:ze.wc_sessionAuthenticate.req.ttl,U={authPayload:{type:d??"caip122",chains:a,statement:c,aud:u,domain:l,version:"1",nonce:f,iat:new Date().toISOString(),exp:h,nbf:p,resources:B},requester:{publicKey:x,metadata:this.client.metadata},expiryTimestamp:De(R)},F={eip155:{chains:a,methods:[...new Set(["personal_sign",...y])],events:["chainChanged","accountsChanged"]}},D={requiredNamespaces:{},optionalNamespaces:F,relays:[{protocol:"irn"}],pairingTopic:$,proposer:{publicKey:x,metadata:this.client.metadata},expiryTimestamp:De(ze.wc_sessionPropose.req.ttl),id:an()},{done:j,resolve:M,reject:E}=jr(R,"Request expired"),b=an(),v=he("session_connect",D.id),g=he("session_request",b),w=async({error:I,session:O})=>{this.events.off(g,S),I?E(I):O&&M({session:O})},S=async I=>{var O,T,L;if(await this.deletePendingAuthRequest(b,{message:"fulfilled",code:0}),I.error){const V=Ee("WC_METHOD_UNSUPPORTED","wc_sessionAuthenticate");return I.error.code===V.code?void 0:(this.events.off(v,w),E(I.error.message))}await this.deleteProposal(D.id),this.events.off(v,w);const{cacaos:C,responder:k}=I.result,N=[],q=[];for(const V of C){await pg({cacao:V,projectId:this.client.core.projectId})||(this.client.logger.error(V,"Signature verification failed"),E(Ee("SESSION_SETTLEMENT_FAILED","Signature verification failed")));const{p:Z}=V,Q=sa(Z.resources),ee=[Hu(Z.iss)],ie=ia(Z.iss);if(Q){const fe=bg(Q),ve=wg(Q);N.push(...fe),ee.push(...ve)}for(const fe of ee)q.push(`${fe}:${ie}`)}const z=await this.client.core.crypto.generateSharedKey(x,k.publicKey);let W;N.length>0&&(W={topic:z,acknowledged:!0,self:{publicKey:x,metadata:this.client.metadata},peer:k,controller:k.publicKey,expiry:De(Ni),requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:$,namespaces:A1([...new Set(N)],[...new Set(q)]),transportType:o},await this.client.core.relayer.subscribe(z,{transportType:o}),await this.client.session.set(z,W),$&&await this.client.core.pairing.updateMetadata({topic:$,metadata:k.metadata}),W=this.client.session.get(z)),(O=this.client.metadata.redirect)!=null&&O.linkMode&&(T=k.metadata.redirect)!=null&&T.linkMode&&(L=k.metadata.redirect)!=null&&L.universal&&r&&(this.client.core.addLinkModeSupportedApp(k.metadata.redirect.universal),this.client.session.update(z,{transportType:me.link_mode})),M({auths:C,session:W})};this.events.once(v,w),this.events.once(g,S);let A;try{if(s){const I=Un("wc_sessionAuthenticate",U,b);this.client.core.history.set($,I);const O=await this.client.core.crypto.encode("",I,{type:_s,encoding:vr});A=ma(r,$,O)}else await Promise.all([this.sendRequest({topic:$,method:"wc_sessionAuthenticate",params:U,expiry:n.expiry,throwOnFailedPublish:!0,clientRpcId:b}),this.sendRequest({topic:$,method:"wc_sessionPropose",params:D,expiry:ze.wc_sessionPropose.req.ttl,throwOnFailedPublish:!0,clientRpcId:D.id})])}catch(I){throw this.events.off(v,w),this.events.off(g,S),I}return await this.setProposal(D.id,D),await this.setAuthRequest(b,{request:He(le({},U),{verifyContext:{}}),pairingTopic:$,transportType:o}),{uri:A??_,response:j}}),H(this,"approveSessionAuthenticate",async n=>{const{id:r,auths:i}=n,s=this.client.core.eventClient.createEvent({properties:{topic:r.toString(),trace:[Jr.authenticated_session_approve_started]}});try{this.isInitialized()}catch(m){throw s.setError(Ts.no_internet_connection),m}const o=this.getPendingAuthRequest(r);if(!o)throw s.setError(Ts.authenticated_session_pending_request_not_found),new Error(`Could not find pending auth request with id ${r}`);const a=o.transportType||me.relay;a===me.relay&&await this.confirmOnlineStateOrThrow();const c=o.requester.publicKey,u=await this.client.core.crypto.generateKeyPair(),l=ba(c),f={type:Rn,receiverPublicKey:c,senderPublicKey:u},d=[],h=[];for(const m of i){if(!await pg({cacao:m,projectId:this.client.core.projectId})){s.setError(Ts.invalid_cacao);const P=Ee("SESSION_SETTLEMENT_FAILED","Signature verification failed");throw await this.sendError({id:r,topic:l,error:P,encodeOpts:f}),new Error(P.message)}s.addTrace(Jr.cacaos_verified);const{p:B}=m,$=sa(B.resources),_=[Hu(B.iss)],x=ia(B.iss);if($){const P=bg($),R=wg($);d.push(...P),_.push(...R)}for(const P of _)h.push(`${P}:${x}`)}const p=await this.client.core.crypto.generateSharedKey(u,c);s.addTrace(Jr.create_authenticated_session_topic);let y;if(d?.length>0){y={topic:p,acknowledged:!0,self:{publicKey:u,metadata:this.client.metadata},peer:{publicKey:c,metadata:o.requester.metadata},controller:c,expiry:De(Ni),authentication:i,requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:o.pairingTopic,namespaces:A1([...new Set(d)],[...new Set(h)]),transportType:a},s.addTrace(Jr.subscribing_authenticated_session_topic);try{await this.client.core.relayer.subscribe(p,{transportType:a})}catch(m){throw s.setError(Ts.subscribe_authenticated_session_topic_failure),m}s.addTrace(Jr.subscribe_authenticated_session_topic_success),await this.client.session.set(p,y),s.addTrace(Jr.store_authenticated_session),await this.client.core.pairing.updateMetadata({topic:o.pairingTopic,metadata:o.requester.metadata})}s.addTrace(Jr.publishing_authenticated_session_approve);try{await this.sendResult({topic:l,id:r,result:{cacaos:i,responder:{publicKey:u,metadata:this.client.metadata}},encodeOpts:f,throwOnFailedPublish:!0,appLink:this.getAppLinkIfEnabled(o.requester.metadata,a)})}catch(m){throw s.setError(Ts.authenticated_session_approve_publish_failure),m}return await this.client.auth.requests.delete(r,{message:"fulfilled",code:0}),await this.client.core.pairing.activate({topic:o.pairingTopic}),this.client.core.eventClient.deleteEvent({eventId:s.eventId}),{session:y}}),H(this,"rejectSessionAuthenticate",async n=>{this.isInitialized();const{id:r,reason:i}=n,s=this.getPendingAuthRequest(r);if(!s)throw new Error(`Could not find pending auth request with id ${r}`);s.transportType===me.relay&&await this.confirmOnlineStateOrThrow();const o=s.requester.publicKey,a=await this.client.core.crypto.generateKeyPair(),c=ba(o),u={type:Rn,receiverPublicKey:o,senderPublicKey:a};await this.sendError({id:r,topic:c,error:i,encodeOpts:u,rpcOpts:ze.wc_sessionAuthenticate.reject,appLink:this.getAppLinkIfEnabled(s.requester.metadata,s.transportType)}),await this.client.auth.requests.delete(r,{message:"rejected",code:0}),await this.deleteProposal(r)}),H(this,"formatAuthMessage",n=>{this.isInitialized();const{request:r,iss:i}=n;return gg(r,i)}),H(this,"processRelayMessageCache",()=>{setTimeout(async()=>{if(this.relayMessageCache.length!==0)for(;this.relayMessageCache.length>0;)try{const n=this.relayMessageCache.shift();n&&await this.onRelayMessage(n)}catch(n){this.client.logger.error(n)}},50)}),H(this,"cleanupDuplicatePairings",async n=>{if(n.pairingTopic)try{const r=this.client.core.pairing.pairings.get(n.pairingTopic),i=this.client.core.pairing.pairings.getAll().filter(s=>{var o,a;return((o=s.peerMetadata)==null?void 0:o.url)&&((a=s.peerMetadata)==null?void 0:a.url)===n.peer.metadata.url&&s.topic&&s.topic!==r.topic});if(i.length===0)return;this.client.logger.info(`Cleaning up ${i.length} duplicate pairing(s)`),await Promise.all(i.map(s=>this.client.core.pairing.disconnect({topic:s.topic}))),this.client.logger.info("Duplicate pairings clean up finished")}catch(r){this.client.logger.error(r)}}),H(this,"deleteSession",async n=>{var r;const{topic:i,expirerHasDeleted:s=!1,emitEvent:o=!0,id:a=0}=n,{self:c}=this.client.session.get(i);await this.client.core.relayer.unsubscribe(i),await this.client.session.delete(i,Ee("USER_DISCONNECTED")),this.addToRecentlyDeleted(i,"session"),this.client.core.crypto.keychain.has(c.publicKey)&&await this.client.core.crypto.deleteKeyPair(c.publicKey),this.client.core.crypto.keychain.has(i)&&await this.client.core.crypto.deleteSymKey(i),s||this.client.core.expirer.del(i),this.client.core.storage.removeItem(Cy).catch(u=>this.client.logger.warn(u)),i===((r=this.sessionRequestQueue.queue[0])==null?void 0:r.topic)&&(this.sessionRequestQueue.state=hn.idle),await Promise.all(this.getPendingSessionRequests().filter(u=>u.topic===i).map(u=>this.deletePendingSessionRequest(u.id,Ee("USER_DISCONNECTED")))),o&&this.client.events.emit("session_delete",{id:a,topic:i})}),H(this,"deleteProposal",async(n,r)=>{if(r)try{const i=this.client.proposal.get(n);this.client.core.eventClient.getEvent({topic:i.pairingTopic})?.setError(Xr.proposal_expired)}catch{}await Promise.all([this.client.proposal.delete(n,Ee("USER_DISCONNECTED")),r?Promise.resolve():this.client.core.expirer.del(n)]),this.addToRecentlyDeleted(n,"proposal")}),H(this,"deletePendingSessionRequest",async(n,r,i=!1)=>{await Promise.all([this.client.pendingRequest.delete(n,r),i?Promise.resolve():this.client.core.expirer.del(n)]),this.addToRecentlyDeleted(n,"request"),this.sessionRequestQueue.queue=this.sessionRequestQueue.queue.filter(s=>s.id!==n),i&&(this.sessionRequestQueue.state=hn.idle,this.client.events.emit("session_request_expire",{id:n}))}),H(this,"deletePendingAuthRequest",async(n,r,i=!1)=>{await Promise.all([this.client.auth.requests.delete(n,r),i?Promise.resolve():this.client.core.expirer.del(n)])}),H(this,"setExpiry",async(n,r)=>{this.client.session.keys.includes(n)&&(this.client.core.expirer.set(n,r),await this.client.session.update(n,{expiry:r}))}),H(this,"setProposal",async(n,r)=>{this.client.core.expirer.set(n,De(ze.wc_sessionPropose.req.ttl)),await this.client.proposal.set(n,r)}),H(this,"setAuthRequest",async(n,r)=>{const{request:i,pairingTopic:s,transportType:o=me.relay}=r;this.client.core.expirer.set(n,i.expiryTimestamp),await this.client.auth.requests.set(n,{authPayload:i.authPayload,requester:i.requester,expiryTimestamp:i.expiryTimestamp,id:n,pairingTopic:s,verifyContext:i.verifyContext,transportType:o})}),H(this,"setPendingSessionRequest",async n=>{const{id:r,topic:i,params:s,verifyContext:o}=n,a=s.request.expiryTimestamp||De(ze.wc_sessionRequest.req.ttl);this.client.core.expirer.set(r,a),await this.client.pendingRequest.set(r,{id:r,topic:i,params:s,verifyContext:o})}),H(this,"sendRequest",async n=>{const{topic:r,method:i,params:s,expiry:o,relayRpcId:a,clientRpcId:c,throwOnFailedPublish:u,appLink:l,tvf:f,publishOpts:d={}}=n,h=Un(i,s,c);let p;const y=!!l;try{const $=y?vr:vt;p=await this.client.core.crypto.encode(r,h,{encoding:$})}catch($){throw await this.cleanup(),this.client.logger.error(`sendRequest() -> core.crypto.encode() for topic ${r} failed`),$}let m;if(_D.includes(i)){const $=Ft(JSON.stringify(h)),_=Ft(p);m=await this.client.core.verify.register({id:_,decryptedId:$})}const B=le(le({},ze[i].req),d);if(B.attestation=m,o&&(B.ttl=o),a&&(B.id=a),this.client.core.history.set(r,h),y){const $=ma(l,r,p);await global.Linking.openURL($,this.client.name)}else B.tvf=He(le({},f),{correlationId:h.id}),u?(B.internal=He(le({},B.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(r,p,B)):this.client.core.relayer.publish(r,p,B).catch($=>this.client.logger.error($));return h.id}),H(this,"sendProposeSession",async n=>{const{proposal:r,publishOpts:i}=n,s=Un("wc_sessionPropose",r,r.id);this.client.core.history.set(r.pairingTopic,s);const o=await this.client.core.crypto.encode(r.pairingTopic,s,{encoding:vt}),a=Ft(JSON.stringify(s)),c=Ft(o),u=await this.client.core.verify.register({id:c,decryptedId:a});await this.client.core.relayer.publishCustom({payload:{pairingTopic:r.pairingTopic,sessionProposal:o},opts:He(le({},i),{publishMethod:"wc_proposeSession",attestation:u})})}),H(this,"sendApproveSession",async n=>{const{sessionTopic:r,pairingProposalResponse:i,proposal:s,sessionSettleRequest:o,publishOpts:a}=n,c=Ea(s.id,i),u=await this.client.core.crypto.encode(s.pairingTopic,c,{encoding:vt}),l=Un("wc_sessionSettle",o,a?.id),f=await this.client.core.crypto.encode(r,l,{encoding:vt});this.client.core.history.set(r,l),await this.client.core.relayer.publishCustom({payload:{sessionTopic:r,pairingTopic:s.pairingTopic,sessionProposalResponse:u,sessionSettlementRequest:f},opts:He(le({},a),{publishMethod:"wc_approveSession"})})}),H(this,"sendResult",async n=>{const{id:r,topic:i,result:s,throwOnFailedPublish:o,encodeOpts:a,appLink:c}=n,u=Ea(r,s);let l;const f=c&&typeof(global==null?void 0:global.Linking)<"u";try{const p=f?vr:vt;l=await this.client.core.crypto.encode(i,u,He(le({},a||{}),{encoding:p}))}catch(p){throw await this.cleanup(),this.client.logger.error(`sendResult() -> core.crypto.encode() for topic ${i} failed`),p}let d,h;try{d=await this.client.core.history.get(i,r);const p=d.request;try{h=this.getTVFParams(r,p.params,s)}catch(y){this.client.logger.warn(`sendResult() -> getTVFParams() failed: ${y?.message}`)}}catch(p){throw this.client.logger.error(`sendResult() -> history.get(${i}, ${r}) failed`),p}if(f){const p=ma(c,i,l);await global.Linking.openURL(p,this.client.name)}else{const p=d.request.method,y=ze[p].res;y.tvf=He(le({},h),{correlationId:r}),o?(y.internal=He(le({},y.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(i,l,y)):this.client.core.relayer.publish(i,l,y).catch(m=>this.client.logger.error(m))}await this.client.core.history.resolve(u)}),H(this,"sendError",async n=>{const{id:r,topic:i,error:s,encodeOpts:o,rpcOpts:a,appLink:c}=n,u=_l(r,s);let l;const f=c&&typeof(global==null?void 0:global.Linking)<"u";try{const h=f?vr:vt;l=await this.client.core.crypto.encode(i,u,He(le({},o||{}),{encoding:h}))}catch(h){throw await this.cleanup(),this.client.logger.error(`sendError() -> core.crypto.encode() for topic ${i} failed`),h}let d;try{d=await this.client.core.history.get(i,r)}catch(h){throw this.client.logger.error(`sendError() -> history.get(${i}, ${r}) failed`),h}if(f){const h=ma(c,i,l);await global.Linking.openURL(h,this.client.name)}else{const h=d.request.method,p=a||ze[h].res;this.client.core.relayer.publish(i,l,p)}await this.client.core.history.resolve(u)}),H(this,"cleanup",async()=>{const n=[],r=[];this.client.session.getAll().forEach(i=>{let s=!1;or(i.expiry)&&(s=!0),this.client.core.crypto.keychain.has(i.topic)||(s=!0),s&&n.push(i.topic)}),this.client.proposal.getAll().forEach(i=>{or(i.expiryTimestamp)&&r.push(i.id)}),await Promise.all([...n.map(i=>this.deleteSession({topic:i})),...r.map(i=>this.deleteProposal(i))])}),H(this,"onProviderMessageEvent",async n=>{!this.initialized||this.relayMessageCache.length>0?this.relayMessageCache.push(n):await this.onRelayMessage(n)}),H(this,"onRelayEventRequest",async n=>{this.requestQueue.queue.push(n),await this.processRequestsQueue()}),H(this,"processRequestsQueue",async()=>{if(this.requestQueue.state===hn.active){this.client.logger.info("Request queue already active, skipping...");return}for(this.client.logger.info(`Request queue starting with ${this.requestQueue.queue.length} requests`);this.requestQueue.queue.length>0;){this.requestQueue.state=hn.active;const n=this.requestQueue.queue.shift();if(n)try{await this.processRequest(n)}catch(r){this.client.logger.warn(r)}}this.requestQueue.state=hn.idle}),H(this,"processRequest",async n=>{const{topic:r,payload:i,attestation:s,transportType:o,encryptedId:a}=n,c=i.method;if(!this.shouldIgnorePairingRequest({topic:r,requestMethod:c}))switch(c){case"wc_sessionPropose":return await this.onSessionProposeRequest({topic:r,payload:i,attestation:s,encryptedId:a});case"wc_sessionSettle":return await this.onSessionSettleRequest(r,i);case"wc_sessionUpdate":return await this.onSessionUpdateRequest(r,i);case"wc_sessionExtend":return await this.onSessionExtendRequest(r,i);case"wc_sessionPing":return await this.onSessionPingRequest(r,i);case"wc_sessionDelete":return await this.onSessionDeleteRequest(r,i);case"wc_sessionRequest":return await this.onSessionRequest({topic:r,payload:i,attestation:s,encryptedId:a,transportType:o});case"wc_sessionEvent":return await this.onSessionEventRequest(r,i);case"wc_sessionAuthenticate":return await this.onSessionAuthenticateRequest({topic:r,payload:i,attestation:s,encryptedId:a,transportType:o});default:return this.client.logger.info(`Unsupported request method ${c}`)}}),H(this,"onRelayEventResponse",async n=>{const{topic:r,payload:i,transportType:s}=n,o=(await this.client.core.history.get(r,i.id)).request.method;switch(o){case"wc_sessionPropose":return this.onSessionProposeResponse(r,i,s);case"wc_sessionSettle":return this.onSessionSettleResponse(r,i);case"wc_sessionUpdate":return this.onSessionUpdateResponse(r,i);case"wc_sessionExtend":return this.onSessionExtendResponse(r,i);case"wc_sessionPing":return this.onSessionPingResponse(r,i);case"wc_sessionRequest":return this.onSessionRequestResponse(r,i);case"wc_sessionAuthenticate":return this.onSessionAuthenticateResponse(r,i);default:return this.client.logger.info(`Unsupported response method ${o}`)}}),H(this,"onRelayEventUnknownPayload",n=>{const{topic:r}=n,{message:i}=G("MISSING_OR_INVALID",`Decoded payload on topic ${r} is not identifiable as a JSON-RPC request or a response.`);throw new Error(i)}),H(this,"shouldIgnorePairingRequest",n=>{const{topic:r,requestMethod:i}=n,s=this.expectedPairingMethodMap.get(r);return!s||s.includes(i)?!1:!!(s.includes("wc_sessionAuthenticate")&&this.client.events.listenerCount("session_authenticate")>0)}),H(this,"onSessionProposeRequest",async n=>{const{topic:r,payload:i,attestation:s,encryptedId:o}=n,{params:a,id:c}=i;try{const u=this.client.core.eventClient.getEvent({topic:r});this.client.events.listenerCount("session_proposal")===0&&(console.warn("No listener for session_proposal event"),u?.setError(Fn.proposal_listener_not_found)),this.isValidConnect(le({},i.params));const l=a.expiryTimestamp||De(ze.wc_sessionPropose.req.ttl),f=le({id:c,pairingTopic:r,expiryTimestamp:l,attestation:s,encryptedId:o},a);await this.setProposal(c,f);const d=await this.getVerifyContext({attestationId:s,hash:Ft(JSON.stringify(i)),encryptedId:o,metadata:f.proposer.metadata});u?.addTrace(ln.emit_session_proposal),this.client.events.emit("session_proposal",{id:c,params:f,verifyContext:d})}catch(u){await this.sendError({id:c,topic:r,error:u,rpcOpts:ze.wc_sessionPropose.autoReject}),this.client.logger.error(u)}}),H(this,"onSessionProposeResponse",async(n,r,i)=>{const{id:s}=r;if(cn(r)){const{result:o}=r;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",result:o});const a=this.client.proposal.get(s);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",proposal:a});const c=a.proposer.publicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",selfPublicKey:c});const u=o.responderPublicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",peerPublicKey:u});const l=await this.client.core.crypto.generateSharedKey(c,u);this.pendingSessions.set(s,{sessionTopic:l,pairingTopic:n,proposalId:s,publicKey:c});const f=await this.client.core.relayer.subscribe(l,{transportType:i});this.client.logger.trace({type:"method",method:"onSessionProposeResponse",subscriptionId:f}),await this.client.core.pairing.activate({topic:n})}else if(Lt(r)){await this.deleteProposal(s);const o=he("session_connect",s);if(this.events.listenerCount(o)===0)throw new Error(`emitting ${o} without any listeners, 954`);this.events.emit(o,{error:r.error})}}),H(this,"onSessionSettleRequest",async(n,r)=>{const{id:i,params:s}=r;try{this.isValidSessionSettleRequest(s);const{relay:o,controller:a,expiry:c,namespaces:u,sessionProperties:l,scopedProperties:f,sessionConfig:d,proposalRequestsResponses:h}=r.params,p=[...this.pendingSessions.values()].find(B=>B.sessionTopic===n);if(!p)return this.client.logger.error(`Pending session not found for topic ${n}`);const y=this.client.proposal.get(p.proposalId),m=He(le(le(le({topic:n,relay:o,expiry:c,namespaces:u,acknowledged:!0,pairingTopic:p.pairingTopic,requiredNamespaces:y.requiredNamespaces,optionalNamespaces:y.optionalNamespaces,controller:a.publicKey,self:{publicKey:p.publicKey,metadata:this.client.metadata},peer:{publicKey:a.publicKey,metadata:a.metadata}},l&&{sessionProperties:l}),f&&{scopedProperties:f}),d&&{sessionConfig:d}),{transportType:me.relay,authentication:h?.authentication,walletPayResult:h?.walletPay});await this.client.session.set(m.topic,m),await this.setExpiry(m.topic,m.expiry),await this.client.core.pairing.updateMetadata({topic:p.pairingTopic,metadata:m.peer.metadata}),this.pendingSessions.delete(p.proposalId),this.deleteProposal(p.proposalId,!1),this.cleanupDuplicatePairings(m),await this.sendResult({id:r.id,topic:n,throwOnFailedPublish:!0,result:!0}),this.client.events.emit("session_connect",{session:m}),this.events.emit(he("session_connect",p.proposalId),{session:m})}catch(o){await this.sendError({id:i,topic:n,error:o}),this.client.logger.error(o)}}),H(this,"onSessionSettleResponse",async(n,r)=>{const{id:i}=r;cn(r)?(await this.client.session.update(n,{acknowledged:!0}),this.events.emit(he("session_approve",i),{})):Lt(r)&&(await this.client.session.delete(n,Ee("USER_DISCONNECTED")),this.events.emit(he("session_approve",i),{error:r.error}))}),H(this,"onSessionUpdateRequest",async(n,r)=>{const{params:i,id:s}=r;try{const o=`${n}_session_update`,a=Bs.get(o);if(a&&this.isRequestOutOfSync(a,s)){this.client.logger.warn(`Discarding out of sync request - ${s}`),this.sendError({id:s,topic:n,error:Ee("INVALID_UPDATE_REQUEST")});return}this.isValidUpdate(le({topic:n},i));try{Bs.set(o,s),await this.client.session.update(n,{namespaces:i.namespaces}),await this.sendResult({id:s,topic:n,result:!0})}catch(c){throw Bs.delete(o),c}this.client.events.emit("session_update",{id:s,topic:n,params:i})}catch(o){await this.sendError({id:s,topic:n,error:o}),this.client.logger.error(o)}}),H(this,"isRequestOutOfSync",(n,r)=>r.toString().slice(0,-3)<n.toString().slice(0,-3)),H(this,"onSessionUpdateResponse",(n,r)=>{const{id:i}=r,s=he("session_update",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);cn(r)?this.events.emit(he("session_update",i),{}):Lt(r)&&this.events.emit(he("session_update",i),{error:r.error})}),H(this,"onSessionExtendRequest",async(n,r)=>{const{id:i}=r;try{this.isValidExtend({topic:n}),await this.setExpiry(n,De(Ni)),await this.sendResult({id:i,topic:n,result:!0}),this.client.events.emit("session_extend",{id:i,topic:n})}catch(s){await this.sendError({id:i,topic:n,error:s}),this.client.logger.error(s)}}),H(this,"onSessionExtendResponse",(n,r)=>{const{id:i}=r,s=he("session_extend",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);cn(r)?this.events.emit(he("session_extend",i),{}):Lt(r)&&this.events.emit(he("session_extend",i),{error:r.error})}),H(this,"onSessionPingRequest",async(n,r)=>{const{id:i}=r;try{this.isValidPing({topic:n}),await this.sendResult({id:i,topic:n,result:!0,throwOnFailedPublish:!0}),this.client.events.emit("session_ping",{id:i,topic:n})}catch(s){await this.sendError({id:i,topic:n,error:s}),this.client.logger.error(s)}}),H(this,"onSessionPingResponse",(n,r)=>{const{id:i}=r,s=he("session_ping",i);setTimeout(()=>{if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners 2176`);cn(r)?this.events.emit(he("session_ping",i),{}):Lt(r)&&this.events.emit(he("session_ping",i),{error:r.error})},500)}),H(this,"onSessionDeleteRequest",async(n,r)=>{const{id:i}=r;try{await this.isValidDisconnect({topic:n,reason:r.params}),this.cleanupPendingSentRequestsForTopic({topic:n,error:Ee("USER_DISCONNECTED")}),await this.deleteSession({topic:n,id:i})}catch(s){this.client.logger.error(s)}}),H(this,"onSessionRequest",async n=>{var r,i,s;const{topic:o,payload:a,attestation:c,encryptedId:u,transportType:l}=n,{id:f,params:d}=a;try{await this.isValidRequest(le({topic:o},d));const h=this.client.session.get(o),p=await this.getVerifyContext({attestationId:c,hash:Ft(JSON.stringify(Un("wc_sessionRequest",d,f))),encryptedId:u,metadata:h.peer.metadata,transportType:l}),y={id:f,topic:o,params:d,verifyContext:p};await this.setPendingSessionRequest(y),l===me.link_mode&&(r=h.peer.metadata.redirect)!=null&&r.universal&&this.client.core.addLinkModeSupportedApp((i=h.peer.metadata.redirect)==null?void 0:i.universal),(s=this.client.signConfig)!=null&&s.disableRequestQueue?this.emitSessionRequest(y):(this.addSessionRequestToSessionRequestQueue(y),this.processSessionRequestQueue())}catch(h){await this.sendError({id:f,topic:o,error:h}),this.client.logger.error(h)}}),H(this,"onSessionRequestResponse",(n,r)=>{const{id:i}=r,s=he("session_request",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);cn(r)?this.events.emit(he("session_request",i),{result:r.result}):Lt(r)&&this.events.emit(he("session_request",i),{error:r.error})}),H(this,"onSessionEventRequest",async(n,r)=>{const{id:i,params:s}=r;try{const o=`${n}_session_event_${s.event.name}`,a=Bs.get(o);if(a&&this.isRequestOutOfSync(a,i)){this.client.logger.info(`Discarding out of sync request - ${i}`);return}this.isValidEmit(le({topic:n},s)),this.client.events.emit("session_event",{id:i,topic:n,params:s}),Bs.set(o,i)}catch(o){await this.sendError({id:i,topic:n,error:o}),this.client.logger.error(o)}}),H(this,"onSessionAuthenticateResponse",(n,r)=>{const{id:i}=r;this.client.logger.trace({type:"method",method:"onSessionAuthenticateResponse",topic:n,payload:r}),cn(r)?this.events.emit(he("session_request",i),{result:r.result}):Lt(r)&&this.events.emit(he("session_request",i),{error:r.error})}),H(this,"onSessionAuthenticateRequest",async n=>{var r;const{topic:i,payload:s,attestation:o,encryptedId:a,transportType:c}=n;try{const{requester:u,authPayload:l,expiryTimestamp:f}=s.params,d=await this.getVerifyContext({attestationId:o,hash:Ft(JSON.stringify(s)),encryptedId:a,metadata:u.metadata,transportType:c}),h={requester:u,pairingTopic:i,id:s.id,authPayload:l,verifyContext:d,expiryTimestamp:f};await this.setAuthRequest(s.id,{request:h,pairingTopic:i,transportType:c}),c===me.link_mode&&(r=u.metadata.redirect)!=null&&r.universal&&this.client.core.addLinkModeSupportedApp(u.metadata.redirect.universal),this.client.events.emit("session_authenticate",{topic:i,params:s.params,id:s.id,verifyContext:d})}catch(u){this.client.logger.error(u);const l=s.params.requester.publicKey,f=await this.client.core.crypto.generateKeyPair(),d=this.getAppLinkIfEnabled(s.params.requester.metadata,c),h={type:Rn,receiverPublicKey:l,senderPublicKey:f};await this.sendError({id:s.id,topic:i,error:u,encodeOpts:h,rpcOpts:ze.wc_sessionAuthenticate.autoReject,appLink:d})}}),H(this,"addSessionRequestToSessionRequestQueue",n=>{this.sessionRequestQueue.queue.push(n)}),H(this,"cleanupAfterResponse",n=>{this.deletePendingSessionRequest(n.response.id,{message:"fulfilled",code:0}),setTimeout(()=>{this.sessionRequestQueue.state=hn.idle,this.processSessionRequestQueue()},K.toMiliseconds(this.requestQueueDelay))}),H(this,"cleanupPendingSentRequestsForTopic",({topic:n,error:r})=>{const i=this.client.core.history.pending;i.length>0&&i.filter(s=>s.topic===n&&s.request.method==="wc_sessionRequest").forEach(s=>{this.events.emit(he("session_request",s.request.id),{error:r})})}),H(this,"processSessionRequestQueue",()=>{if(this.sessionRequestQueue.state===hn.active){this.client.logger.info("session request queue is already active.");return}const n=this.sessionRequestQueue.queue[0];if(!n){this.client.logger.info("session request queue is empty.");return}try{this.emitSessionRequest(n)}catch(r){this.client.logger.error(r)}}),H(this,"emitSessionRequest",n=>{if(this.emittedSessionRequests.has(n.id)){this.client.logger.warn({id:n.id},`Skipping emitting \`session_request\` event for duplicate request. id: ${n.id}`);return}this.sessionRequestQueue.state=hn.active,this.emittedSessionRequests.add(n.id),this.client.events.emit("session_request",n)}),H(this,"onPairingCreated",n=>{if(n.methods&&this.expectedPairingMethodMap.set(n.topic,n.methods),n.active)return;const r=this.client.proposal.getAll().find(i=>i.pairingTopic===n.topic);r&&this.onSessionProposeRequest({topic:n.topic,payload:Un("wc_sessionPropose",He(le({},r),{requiredNamespaces:r.requiredNamespaces,optionalNamespaces:r.optionalNamespaces,relays:r.relays,proposer:r.proposer,sessionProperties:r.sessionProperties,scopedProperties:r.scopedProperties}),r.id),attestation:r.attestation,encryptedId:r.encryptedId})}),H(this,"isValidConnect",async n=>{if(!Et(n)){const{message:u}=G("MISSING_OR_INVALID",`connect() params: ${JSON.stringify(n)}`);throw new Error(u)}const{pairingTopic:r,requiredNamespaces:i,optionalNamespaces:s,sessionProperties:o,scopedProperties:a,relays:c}=n;if(Pe(r)||await this.isValidPairingTopic(r),!x9(c,!0)){const{message:u}=G("MISSING_OR_INVALID",`connect() relays: ${c}`);throw new Error(u)}if(i&&!Pe(i)&&As(i)!==0){const u="requiredNamespaces are deprecated and are automatically assigned to optionalNamespaces";["fatal","error","silent"].includes(this.client.logger.level)?console.warn(u):this.client.logger.warn(u),this.validateNamespaces(i,"requiredNamespaces")}if(s&&!Pe(s)&&As(s)!==0&&this.validateNamespaces(s,"optionalNamespaces"),o&&!Pe(o)&&this.validateSessionProps(o,"sessionProperties"),a&&!Pe(a)){this.validateSessionProps(a,"scopedProperties");const u=Object.keys(i||{}).concat(Object.keys(s||{}));if(!Object.keys(a).every(l=>u.includes(l.split(":")[0])))throw new Error(`Scoped properties must be a subset of required/optional namespaces, received: ${JSON.stringify(a)}, required/optional namespaces: ${JSON.stringify(u)}`)}}),H(this,"validateNamespaces",(n,r)=>{const i=E9(n,"connect()",r);if(i)throw new Error(i.message)}),H(this,"isValidApprove",async n=>{if(!Et(n))throw new Error(G("MISSING_OR_INVALID",`approve() params: ${n}`).message);const{id:r,namespaces:i,relayProtocol:s,sessionProperties:o,scopedProperties:a}=n;this.checkRecentlyDeleted(r),await this.isValidProposalId(r);const c=this.client.proposal.get(r),u=yl(i,"approve()");if(u)throw new Error(u.message);const l=P1(c.requiredNamespaces,i,"approve()");if(l)throw new Error(l.message);if(!Se(s,!0)){const{message:f}=G("MISSING_OR_INVALID",`approve() relayProtocol: ${s}`);throw new Error(f)}if(o&&!Pe(o)&&this.validateSessionProps(o,"sessionProperties"),a&&!Pe(a)){this.validateSessionProps(a,"scopedProperties");const f=new Set(Object.keys(i));if(!Object.keys(a).every(d=>f.has(d.split(":")[0])))throw new Error(`Scoped properties must be a subset of approved namespaces, received: ${JSON.stringify(a)}, approved namespaces: ${Array.from(f).join(", ")}`)}}),H(this,"isValidReject",async n=>{if(!Et(n)){const{message:s}=G("MISSING_OR_INVALID",`reject() params: ${n}`);throw new Error(s)}const{id:r,reason:i}=n;if(this.checkRecentlyDeleted(r),await this.isValidProposalId(r),!S9(i)){const{message:s}=G("MISSING_OR_INVALID",`reject() reason: ${JSON.stringify(i)}`);throw new Error(s)}}),H(this,"isValidSessionSettleRequest",n=>{if(!Et(n)){const{message:u}=G("MISSING_OR_INVALID",`onSessionSettleRequest() params: ${n}`);throw new Error(u)}const{relay:r,controller:i,namespaces:s,expiry:o}=n;if(!D1(r)){const{message:u}=G("MISSING_OR_INVALID","onSessionSettleRequest() relay protocol should be a string");throw new Error(u)}const a=g9(i,"onSessionSettleRequest()");if(a)throw new Error(a.message);const c=yl(s,"onSessionSettleRequest()");if(c)throw new Error(c.message);if(or(o)){const{message:u}=G("EXPIRED","onSessionSettleRequest()");throw new Error(u)}}),H(this,"isValidUpdate",async n=>{if(!Et(n)){const{message:c}=G("MISSING_OR_INVALID",`update() params: ${n}`);throw new Error(c)}const{topic:r,namespaces:i}=n;this.checkRecentlyDeleted(r),await this.isValidSessionTopic(r);const s=this.client.session.get(r),o=yl(i,"update()");if(o)throw new Error(o.message);const a=P1(s.requiredNamespaces,i,"update()");if(a)throw new Error(a.message)}),H(this,"isValidExtend",async n=>{if(!Et(n)){const{message:i}=G("MISSING_OR_INVALID",`extend() params: ${n}`);throw new Error(i)}const{topic:r}=n;this.checkRecentlyDeleted(r),await this.isValidSessionTopic(r)}),H(this,"isValidRequest",async n=>{if(!Et(n)){const{message:c}=G("MISSING_OR_INVALID",`request() params: ${n}`);throw new Error(c)}const{topic:r,request:i,chainId:s,expiry:o}=n;this.checkRecentlyDeleted(r),await this.isValidSessionTopic(r);const{namespaces:a}=this.client.session.get(r);if(!$1(a,s)){const{message:c}=G("MISSING_OR_INVALID",`request() chainId: ${s}`);throw new Error(c)}if(!I9(i)){const{message:c}=G("MISSING_OR_INVALID",`request() ${JSON.stringify(i)}`);throw new Error(c)}if(!O9(a,s,i.method)){const{message:c}=G("MISSING_OR_INVALID",`request() method: ${i.method}`);throw new Error(c)}this.validateRequestExpiry(o)}),H(this,"isValidRespond",async n=>{var r;if(!Et(n)){const{message:a}=G("MISSING_OR_INVALID",`respond() params: ${n}`);throw new Error(a)}const{topic:i,response:s}=n;try{await this.isValidSessionTopic(i)}catch(a){throw(r=n?.response)!=null&&r.id&&this.cleanupAfterResponse(n),a}if(!A9(s)){const{message:a}=G("MISSING_OR_INVALID",`respond() response: ${JSON.stringify(s)}`);throw new Error(a)}const o=this.client.pendingRequest.get(s.id);if(o.topic!==i){const{message:a}=G("MISMATCHED_TOPIC",`Request response topic mismatch. reqId: ${s.id}, expected topic: ${o.topic}, received topic: ${i}`);throw new Error(a)}}),H(this,"isValidPing",async n=>{if(!Et(n)){const{message:i}=G("MISSING_OR_INVALID",`ping() params: ${n}`);throw new Error(i)}const{topic:r}=n;await this.isValidSessionOrPairingTopic(r)}),H(this,"isValidEmit",async n=>{if(!Et(n)){const{message:a}=G("MISSING_OR_INVALID",`emit() params: ${n}`);throw new Error(a)}const{topic:r,event:i,chainId:s}=n;await this.isValidSessionTopic(r);const{namespaces:o}=this.client.session.get(r);if(!$1(o,s)){const{message:a}=G("MISSING_OR_INVALID",`emit() chainId: ${s}`);throw new Error(a)}if(!B9(i)){const{message:a}=G("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(i)}`);throw new Error(a)}if(!D9(o,s,i.name)){const{message:a}=G("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(i)}`);throw new Error(a)}}),H(this,"isValidDisconnect",async n=>{if(!Et(n)){const{message:i}=G("MISSING_OR_INVALID",`disconnect() params: ${n}`);throw new Error(i)}const{topic:r}=n;await this.isValidSessionOrPairingTopic(r)}),H(this,"isValidAuthenticate",n=>{const{chains:r,uri:i,domain:s,nonce:o}=n;if(!Array.isArray(r)||r.length===0)throw new Error("chains is required and must be a non-empty array");if(!Se(i,!1))throw new Error("uri is required parameter");if(!Se(s,!1))throw new Error("domain is required parameter");if(!Se(o,!1))throw new Error("nonce is required parameter");if([...new Set(r.map(c=>Zo(c).namespace))].length>1)throw new Error("Multi-namespace requests are not supported. Please request single namespace only.");const{namespace:a}=Zo(r[0]);if(a!=="eip155")throw new Error("Only eip155 namespace is supported for authenticated sessions. Please use .connect() for non-eip155 chains.")}),H(this,"getVerifyContext",async n=>{const{attestationId:r,hash:i,encryptedId:s,metadata:o,transportType:a}=n,c={verified:{verifyUrl:o.verifyUrl||Ps,validation:"UNKNOWN",origin:o.url||""}};try{if(a===me.link_mode){const l=this.getAppLinkIfEnabled(o,a);return c.verified.validation=l&&new URL(l).origin===new URL(o.url).origin?"VALID":"INVALID",c}const u=await this.client.core.verify.resolve({attestationId:r,hash:i,encryptedId:s,verifyUrl:o.verifyUrl});u&&(c.verified.origin=u.origin,c.verified.isScam=u.isScam,c.verified.validation=u.origin===new URL(o.url).origin?"VALID":"INVALID")}catch(u){this.client.logger.warn(u)}return this.client.logger.debug(`Verify context: ${JSON.stringify(c)}`),c}),H(this,"validateSessionProps",(n,r)=>{Object.values(n).forEach((i,s)=>{if(i==null){const{message:o}=G("MISSING_OR_INVALID",`${r} must contain an existing value for each key. Received: ${i} for key ${Object.keys(n)[s]}`);throw new Error(o)}})}),H(this,"getPendingAuthRequest",n=>{const r=this.client.auth.requests.get(n);return typeof r=="object"?r:void 0}),H(this,"addToRecentlyDeleted",(n,r)=>{if(this.recentlyDeletedMap.set(n,r),this.recentlyDeletedMap.size>=this.recentlyDeletedLimit){let i=0;const s=this.recentlyDeletedLimit/2;for(const o of this.recentlyDeletedMap.keys()){if(i++>=s)break;this.recentlyDeletedMap.delete(o)}}}),H(this,"checkRecentlyDeleted",n=>{const r=this.recentlyDeletedMap.get(n);if(r){const{message:i}=G("MISSING_OR_INVALID",`Record was recently deleted - ${r}: ${n}`);throw new Error(i)}}),H(this,"isLinkModeEnabled",(n,r)=>{var i,s,o,a,c,u,l,f,d;return!n||r!==me.link_mode?!1:((s=(i=this.client.metadata)==null?void 0:i.redirect)==null?void 0:s.linkMode)===!0&&((a=(o=this.client.metadata)==null?void 0:o.redirect)==null?void 0:a.universal)!==void 0&&((u=(c=this.client.metadata)==null?void 0:c.redirect)==null?void 0:u.universal)!==""&&((l=n?.redirect)==null?void 0:l.universal)!==void 0&&((f=n?.redirect)==null?void 0:f.universal)!==""&&((d=n?.redirect)==null?void 0:d.linkMode)===!0&&this.client.core.linkModeSupportedApps.includes(n.redirect.universal)&&typeof(global==null?void 0:global.Linking)<"u"}),H(this,"getAppLinkIfEnabled",(n,r)=>{var i;return this.isLinkModeEnabled(n,r)?(i=n?.redirect)==null?void 0:i.universal:void 0}),H(this,"handleLinkModeMessage",({url:n})=>{if(!n||!n.includes("wc_ev")||!n.includes("topic"))return;const r=M0(n,"topic")||"",i=decodeURIComponent(M0(n,"wc_ev")||""),s=this.client.session.keys.includes(r);s&&this.client.session.update(r,{transportType:me.link_mode}),this.client.core.dispatchEnvelope({topic:r,message:i,sessionExists:s})}),H(this,"registerLinkModeListeners",async()=>{var n;if(Uu()||sr()&&(n=this.client.metadata.redirect)!=null&&n.linkMode){const r=global==null?void 0:global.Linking;if(typeof r<"u"){r.addEventListener("url",this.handleLinkModeMessage,this.client.name);const i=await r.getInitialURL();i&&setTimeout(()=>{this.handleLinkModeMessage({url:i})},50)}}}),H(this,"getTVFApproveParams",n=>{try{const r=_1(n.namespaces),i=t9(n.namespaces),s=n9(n.namespaces),o=n.sessionProperties,a=n.scopedProperties;return{approvedChains:r,approvedMethods:i,approvedEvents:s,sessionProperties:o,scopedProperties:a}}catch(r){return this.client.logger.warn(r,"Error getting TVF approve params"),{}}}),H(this,"getTVFParams",(n,r,i)=>{var s,o,a;if(!((s=r.request)!=null&&s.method))return{};const c={correlationId:n,rpcMethods:[r.request.method],chainId:r.chainId};try{const u=this.extractTxHashesFromResult(r.request,i);c.txHashes=u,c.contractAddresses=this.isValidContractData(r.request.params)?[(a=(o=r.request.params)==null?void 0:o[0])==null?void 0:a.to]:[]}catch(u){this.client.logger.warn(u,"Error getting TVF params")}return c}),H(this,"isValidContractData",n=>{var r;if(!n)return!1;try{const i=n?.data||((r=n?.[0])==null?void 0:r.data);if(!i.startsWith("0x"))return!1;const s=i.slice(2);return/^[0-9a-fA-F]*$/.test(s)?s.length%2===0:!1}catch{}return!1}),H(this,"extractTxHashesFromResult",(n,r)=>{var i;try{if(!r)return[];const s=n.method,o=ED[s];if(s==="sui_signTransaction")return[z5(r.transactionBytes)];if(s==="near_signTransaction")return[ug(r)];if(s==="near_signTransactions")return r.map(c=>ug(c));if(s==="xrpl_signTransactionFor"||s==="xrpl_signTransaction")return[(i=r.tx_json)==null?void 0:i.hash];if(s==="polkadot_signTransaction")return[G9({transaction:n.params.transactionPayload,signature:r.signature})];if(s==="algo_signTxn")return Pi(r)?r.map(c=>lg(c)):[lg(r)];if(s==="cosmos_signDirect")return[V5(r)];if(s==="wallet_sendCalls")return K5(r);if(typeof r=="string")return[r];const a=r[o.key];if(Pi(a))return s==="solana_signAllTransactions"?a.map(c=>j5(c)):a;if(typeof a=="string")return[a]}catch(s){this.client.logger.warn(s,"Error extracting tx hashes from result")}return[]})}async processPendingMessageEvents(){try{const e=this.client.session.keys,n=this.client.core.relayer.messages.getWithoutAck(e);for(const[r,i]of Object.entries(n))for(const s of i)try{await this.onProviderMessageEvent({topic:r,message:s,publishedAt:Date.now()})}catch{this.client.logger.warn(`Error processing pending message event for topic: ${r}, message: ${s}`)}}catch(e){this.client.logger.warn(e,"processPendingMessageEvents failed")}}isInitialized(){if(!this.initialized){const{message:e}=G("NOT_INITIALIZED",this.name);throw new Error(e)}}async confirmOnlineStateOrThrow(){await this.client.core.relayer.confirmOnlineStateOrThrow()}registerRelayerEvents(){this.client.core.relayer.on(Ie.message,e=>{this.onProviderMessageEvent(e)})}async onRelayMessage(e){const{topic:n,message:r,attestation:i,transportType:s}=e,{publicKey:o}=this.client.auth.authKeys.keys.includes(Ba)?this.client.auth.authKeys.get(Ba):{responseTopic:void 0,publicKey:void 0};try{const a=await this.client.core.crypto.decode(n,r,{receiverPublicKey:o,encoding:s===me.link_mode?vr:vt});Sl(a)?(this.client.core.history.set(n,a),await this.onRelayEventRequest({topic:n,payload:a,attestation:i,transportType:s,encryptedId:Ft(r)})):xa(a)?(await this.client.core.history.resolve(a),await this.onRelayEventResponse({topic:n,payload:a,transportType:s}),this.client.core.history.delete(n,a.id)):(this.client.logger.error(`onRelayMessage() -> unknown payload: ${JSON.stringify(a)}`),await this.onRelayEventUnknownPayload({topic:n,payload:a,transportType:s})),await this.client.core.relayer.messages.ack(n,r)}catch(a){this.client.logger.error(`onRelayMessage() -> failed to process an inbound message: ${r}`),this.client.logger.error(a)}}registerExpirerEvents(){this.client.core.expirer.on(qt.expired,async e=>{const{topic:n,id:r}=q0(e.target);if(r&&this.client.pendingRequest.keys.includes(r))return await this.deletePendingSessionRequest(r,G("EXPIRED"),!0);if(r&&this.client.auth.requests.keys.includes(r))return await this.deletePendingAuthRequest(r,G("EXPIRED"),!0);n?this.client.session.keys.includes(n)&&(await this.deleteSession({topic:n,expirerHasDeleted:!0}),this.client.events.emit("session_expire",{topic:n})):r&&(await this.deleteProposal(r,!0),this.client.events.emit("proposal_expire",{id:r}))})}registerPairingEvents(){this.client.core.pairing.events.on(Yr.create,e=>this.onPairingCreated(e)),this.client.core.pairing.events.on(Yr.delete,e=>{this.addToRecentlyDeleted(e.topic,"pairing")})}isValidPairingTopic(e){if(!Se(e,!1)){const{message:n}=G("MISSING_OR_INVALID",`pairing topic should be a string: ${e}`);throw new Error(n)}if(!this.client.core.pairing.pairings.keys.includes(e)){const{message:n}=G("NO_MATCHING_KEY",`pairing topic doesn't exist: ${e}`);throw new Error(n)}if(or(this.client.core.pairing.pairings.get(e).expiry)){const{message:n}=G("EXPIRED",`pairing topic: ${e}`);throw new Error(n)}}async isValidSessionTopic(e){if(!Se(e,!1)){const{message:n}=G("MISSING_OR_INVALID",`session topic should be a string: ${e}`);throw new Error(n)}if(this.checkRecentlyDeleted(e),!this.client.session.keys.includes(e)){const{message:n}=G("NO_MATCHING_KEY",`session topic doesn't exist: ${e}`);throw new Error(n)}if(or(this.client.session.get(e).expiry)){await this.deleteSession({topic:e});const{message:n}=G("EXPIRED",`session topic: ${e}`);throw new Error(n)}if(!this.client.core.crypto.keychain.has(e)){const{message:n}=G("MISSING_OR_INVALID",`session topic does not exist in keychain: ${e}`);throw await this.deleteSession({topic:e}),new Error(n)}}async isValidSessionOrPairingTopic(e){if(this.checkRecentlyDeleted(e),this.client.session.keys.includes(e))await this.isValidSessionTopic(e);else if(this.client.core.pairing.pairings.keys.includes(e))this.isValidPairingTopic(e);else if(Se(e,!1)){const{message:n}=G("NO_MATCHING_KEY",`session or pairing topic doesn't exist: ${e}`);throw new Error(n)}else{const{message:n}=G("MISSING_OR_INVALID",`session or pairing topic should be a string: ${e}`);throw new Error(n)}}async isValidProposalId(e){if(!_9(e)){const{message:n}=G("MISSING_OR_INVALID",`proposal id should be a number: ${e}`);throw new Error(n)}if(!this.client.proposal.keys.includes(e)){const{message:n}=G("NO_MATCHING_KEY",`proposal id doesn't exist: ${e}`);throw new Error(n)}if(or(this.client.proposal.get(e).expiryTimestamp)){await this.deleteProposal(e);const{message:n}=G("EXPIRED",`proposal id: ${e}`);throw new Error(n)}}validateRequestExpiry(e){if(e&&!T9(e,jl)){const{message:n}=G("MISSING_OR_INVALID",`request() expiry: ${e}. Expiry must be a number (in seconds) between ${jl.min} and ${jl.max}`);throw new Error(n)}}}class CD extends Qr{constructor(e,n){super(e,n,wD,ql),this.core=e,this.logger=n}}class Ly extends Qr{constructor(e,n){super(e,n,mD,ql),this.core=e,this.logger=n}}class UD extends Qr{constructor(e,n){super(e,n,xD,ql,r=>r.id),this.core=e,this.logger=n}}class FD extends Qr{constructor(e,n){super(e,n,AD,Aa,()=>Ba),this.core=e,this.logger=n}}class LD extends Qr{constructor(e,n){super(e,n,BD,Aa),this.core=e,this.logger=n}}class kD extends Qr{constructor(e,n){super(e,n,OD,Aa,r=>r.id),this.core=e,this.logger=n}}var qD=Object.defineProperty,MD=(t,e,n)=>e in t?qD(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Hl=(t,e,n)=>MD(t,typeof e!="symbol"?e+"":e,n);class jD{constructor(e,n){this.core=e,this.logger=n,Hl(this,"authKeys"),Hl(this,"pairingTopics"),Hl(this,"requests"),this.authKeys=new FD(this.core,this.logger),this.pairingTopics=new LD(this.core,this.logger),this.requests=new kD(this.core,this.logger)}async init(){await this.authKeys.init(),await this.pairingTopics.init(),await this.requests.init()}}var zD=Object.defineProperty,HD=(t,e,n)=>e in t?zD(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,oe=(t,e,n)=>HD(t,typeof e!="symbol"?e+"":e,n);class Vl extends vm{constructor(e){super(e),oe(this,"protocol",Ty),oe(this,"version",Ry),oe(this,"name",Ml.name),oe(this,"metadata"),oe(this,"core"),oe(this,"logger"),oe(this,"events",new Ke.exports.EventEmitter),oe(this,"engine"),oe(this,"session"),oe(this,"proposal"),oe(this,"pendingRequest"),oe(this,"auth"),oe(this,"signConfig"),oe(this,"on",(r,i)=>this.events.on(r,i)),oe(this,"once",(r,i)=>this.events.once(r,i)),oe(this,"off",(r,i)=>this.events.off(r,i)),oe(this,"removeListener",(r,i)=>this.events.removeListener(r,i)),oe(this,"removeAllListeners",r=>this.events.removeAllListeners(r)),oe(this,"connect",async r=>{try{return await this.engine.connect(r)}catch(i){throw this.logger.error(i.message),i}}),oe(this,"pair",async r=>{try{return await this.engine.pair(r)}catch(i){throw this.logger.error(i.message),i}}),oe(this,"approve",async r=>{try{return await this.engine.approve(r)}catch(i){throw this.logger.error(i.message),i}}),oe(this,"reject",async r=>{try{return await this.engine.reject(r)}catch(i){throw this.logger.error(i.message),i}}),oe(this,"update",async r=>{try{return await this.engine.update(r)}catch(i){throw this.logger.error(i.message),i}}),oe(this,"extend",async r=>{try{return await this.engine.extend(r)}catch(i){throw this.logger.error(i.message),i}}),oe(this,"request",async r=>{try{return await this.engine.request(r)}catch(i){throw this.logger.error(i.message),i}}),oe(this,"respond",async r=>{try{return await this.engine.respond(r)}catch(i){throw this.logger.error(i.message),i}}),oe(this,"ping",async r=>{try{return await this.engine.ping(r)}catch(i){throw this.logger.error(i.message),i}}),oe(this,"emit",async r=>{try{return await this.engine.emit(r)}catch(i){throw this.logger.error(i.message),i}}),oe(this,"disconnect",async r=>{try{return await this.engine.disconnect(r)}catch(i){throw this.logger.error(i.message),i}}),oe(this,"find",r=>{try{return this.engine.find(r)}catch(i){throw this.logger.error(i.message),i}}),oe(this,"getPendingSessionRequests",()=>{try{return this.engine.getPendingSessionRequests()}catch(r){throw this.logger.error(r.message),r}}),oe(this,"authenticate",async(r,i)=>{try{return await this.engine.authenticate(r,i)}catch(s){throw this.logger.error(s.message),s}}),oe(this,"formatAuthMessage",r=>{try{return this.engine.formatAuthMessage(r)}catch(i){throw this.logger.error(i.message),i}}),oe(this,"approveSessionAuthenticate",async r=>{try{return await this.engine.approveSessionAuthenticate(r)}catch(i){throw this.logger.error(i.message),i}}),oe(this,"rejectSessionAuthenticate",async r=>{try{return await this.engine.rejectSessionAuthenticate(r)}catch(i){throw this.logger.error(i.message),i}}),this.name=e?.name||Ml.name,this.metadata=U_(e?.metadata),this.signConfig=e?.signConfig;const n=N1({logger:e?.logger||Ml.logger,name:this.name});this.logger=n,this.core=e?.core||new kl(e),this.session=new Ly(this.core,this.logger),this.proposal=new CD(this.core,this.logger),this.pendingRequest=new UD(this.core,this.logger),this.engine=new ND(this),this.auth=new jD(this.core,this.logger)}static async init(e){const n=new Vl(e);return await n.initialize(),n}get context(){return ft(this.logger)}get pairing(){return this.core.pairing.pairings}async initialize(){this.logger.trace("Initialized");try{await this.core.start(),await this.session.init(),await this.proposal.init(),await this.pendingRequest.init(),await this.auth.init(),await this.engine.init(),this.logger.info("SignClient Initialization Success")}catch(e){throw this.logger.info("SignClient Initialization Failure"),this.logger.error(e.message),e}}}const VD=Ly,KD=Vl;class GD extends Ke.exports{constructor(){super()}}class ky{constructor(e){this.opts=e}}class qy{constructor(e){this.client=e}}var WD=Object.defineProperty,ZD=Object.defineProperties,YD=Object.getOwnPropertyDescriptors,My=Object.getOwnPropertySymbols,XD=Object.prototype.hasOwnProperty,JD=Object.prototype.propertyIsEnumerable,jy=(t,e,n)=>e in t?WD(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,QD=(t,e)=>{for(var n in e||(e={}))XD.call(e,n)&&jy(t,n,e[n]);if(My)for(var n of My(e))JD.call(e,n)&&jy(t,n,e[n]);return t},e$=(t,e)=>ZD(t,YD(e));class t$ extends qy{constructor(e){super(e),this.init=async()=>{this.signClient=await KD.init({core:this.client.core,metadata:this.client.metadata,signConfig:this.client.signConfig}),this.signClient.core.eventClient.init().catch(n=>{this.client.logger.warn(n)})},this.pair=async n=>{await this.client.core.pairing.pair(n)},this.approveSession=async n=>{const{topic:r,acknowledged:i}=await this.signClient.approve(e$(QD({},n),{id:n.id,namespaces:n.namespaces,sessionProperties:n.sessionProperties,scopedProperties:n.scopedProperties,sessionConfig:n.sessionConfig,proposalRequestsResponses:n?.proposalRequestsResponses}));return await i(),this.signClient.session.get(r)},this.rejectSession=async n=>await this.signClient.reject(n),this.updateSession=async n=>await this.signClient.update(n),this.extendSession=async n=>await this.signClient.extend(n),this.respondSessionRequest=async n=>await this.signClient.respond(n),this.disconnectSession=async n=>await this.signClient.disconnect(n),this.emitSessionEvent=async n=>await this.signClient.emit(n),this.getActiveSessions=()=>this.signClient.session.getAll().reduce((n,r)=>(n[r.topic]=r,n),{}),this.getPendingSessionProposals=()=>this.signClient.proposal.getAll(),this.getPendingSessionRequests=()=>this.signClient.getPendingSessionRequests(),this.approveSessionAuthenticate=async n=>await this.signClient.approveSessionAuthenticate(n),this.rejectSessionAuthenticate=async n=>await this.signClient.rejectSessionAuthenticate(n),this.formatAuthMessage=n=>this.signClient.formatAuthMessage(n),this.registerDeviceToken=n=>this.client.core.echoClient.registerDeviceToken(n),this.on=(n,r)=>(this.setEvent(n,"off"),this.setEvent(n,"on"),this.client.events.on(n,r)),this.once=(n,r)=>(this.setEvent(n,"off"),this.setEvent(n,"once"),this.client.events.once(n,r)),this.off=(n,r)=>(this.setEvent(n,"off"),this.client.events.off(n,r)),this.removeListener=(n,r)=>(this.setEvent(n,"removeListener"),this.client.events.removeListener(n,r)),this.onSessionRequest=n=>{this.client.events.emit("session_request",n)},this.onSessionProposal=n=>{this.client.events.emit("session_proposal",n)},this.onSessionDelete=n=>{this.client.events.emit("session_delete",n)},this.onProposalExpire=n=>{this.client.events.emit("proposal_expire",n)},this.onSessionRequestExpire=n=>{this.client.events.emit("session_request_expire",n)},this.onSessionRequestAuthenticate=n=>{this.client.events.emit("session_authenticate",n)},this.setEvent=(n,r)=>{switch(n){case"session_request":this.signClient.events[r]("session_request",this.onSessionRequest);break;case"session_proposal":this.signClient.events[r]("session_proposal",this.onSessionProposal);break;case"session_delete":this.signClient.events[r]("session_delete",this.onSessionDelete);break;case"proposal_expire":this.signClient.events[r]("proposal_expire",this.onProposalExpire);break;case"session_request_expire":this.signClient.events[r]("session_request_expire",this.onSessionRequestExpire);break;case"session_authenticate":this.signClient.events[r]("session_authenticate",this.onSessionRequestAuthenticate);break}},this.signClient={}}}const n$={decryptMessage:async t=>{const e={core:new kl({storageOptions:t.storageOptions,storage:t.storage})};await e.core.crypto.init();const n=e.core.crypto.decode(t.topic,t.encryptedMessage);return e.core=null,n},getMetadata:async t=>{const e={core:new kl({storageOptions:t.storageOptions,storage:t.storage}),sessionStore:null};e.sessionStore=new VD(e.core,e.core.logger),await e.sessionStore.init();const n=e.sessionStore.get(t.topic),r=n?.peer.metadata;return e.core=null,e.sessionStore=null,r}},zy=class extends ky{constructor(t){super(t),this.events=new Ke.exports,this.on=(e,n)=>this.engine.on(e,n),this.once=(e,n)=>this.engine.once(e,n),this.off=(e,n)=>this.engine.off(e,n),this.removeListener=(e,n)=>this.engine.removeListener(e,n),this.pair=async e=>{try{return await this.engine.pair(e)}catch(n){throw this.logger.error(n.message),n}},this.approveSession=async e=>{try{return await this.engine.approveSession(e)}catch(n){throw this.logger.error(n.message),n}},this.rejectSession=async e=>{try{return await this.engine.rejectSession(e)}catch(n){throw this.logger.error(n.message),n}},this.updateSession=async e=>{try{return await this.engine.updateSession(e)}catch(n){throw this.logger.error(n.message),n}},this.extendSession=async e=>{try{return await this.engine.extendSession(e)}catch(n){throw this.logger.error(n.message),n}},this.respondSessionRequest=async e=>{try{return await this.engine.respondSessionRequest(e)}catch(n){throw this.logger.error(n.message),n}},this.disconnectSession=async e=>{try{return await this.engine.disconnectSession(e)}catch(n){throw this.logger.error(n.message),n}},this.emitSessionEvent=async e=>{try{return await this.engine.emitSessionEvent(e)}catch(n){throw this.logger.error(n.message),n}},this.getActiveSessions=()=>{try{return this.engine.getActiveSessions()}catch(e){throw this.logger.error(e.message),e}},this.getPendingSessionProposals=()=>{try{return this.engine.getPendingSessionProposals()}catch(e){throw this.logger.error(e.message),e}},this.getPendingSessionRequests=()=>{try{return this.engine.getPendingSessionRequests()}catch(e){throw this.logger.error(e.message),e}},this.registerDeviceToken=e=>{try{return this.engine.registerDeviceToken(e)}catch(n){throw this.logger.error(n.message),n}},this.approveSessionAuthenticate=e=>{try{return this.engine.approveSessionAuthenticate(e)}catch(n){throw this.logger.error(n.message),n}},this.rejectSessionAuthenticate=e=>{try{return this.engine.rejectSessionAuthenticate(e)}catch(n){throw this.logger.error(n.message),n}},this.formatAuthMessage=e=>{try{return this.engine.formatAuthMessage(e)}catch(n){throw this.logger.error(n.message),n}},this.metadata=t.metadata,this.name=t.name||Da,this.signConfig=t.signConfig,this.core=t.core,this.logger=this.core.logger,this.engine=new t$(this)}static async init(t){const e=new zy(t);return await e.initialize(),e}async initialize(){this.logger.trace("Initialized");try{await this.engine.init(),this.logger.info("WalletKit Initialization Success")}catch(t){throw this.logger.info("WalletKit Initialization Failure"),this.logger.error(t.message),t}}};let Kl=zy;Kl.notifications=n$;const r$=Kl;Ve.CLIENT_CONTEXT=Da,Ve.CLIENT_STORAGE_OPTIONS=sb,Ve.CLIENT_STORAGE_PREFIX=ib,Ve.IWalletKit=ky,Ve.IWalletKitEngine=qy,Ve.IWalletKitEvents=GD,Ve.PROTOCOL=of,Ve.PROTOCOL_VERSION=rb,Ve.REQUEST_CONTEXT=ob,Ve.WalletKit=r$,Ve.default=Kl,Object.defineProperty(Ve,"__esModule",{value:!0})});
42
+ ***************************************************************************** */var Yf=function(t,e){return Yf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])},Yf(t,e)};function NP(t,e){Yf(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var Xf=function(){return Xf=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Xf.apply(this,arguments)};function UP(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function CP(t,e,n,r){var i=arguments.length,s=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function FP(t,e){return function(n,r){e(n,r,t)}}function qP(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function kP(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(l){try{u(r.next(l))}catch(f){o(f)}}function c(l){try{u(r.throw(l))}catch(f){o(f)}}function u(l){l.done?s(l.value):i(l.value).then(a,c)}u((r=r.apply(t,e||[])).next())})}function LP(t,e){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(u){return function(l){return c([u,l])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){n.label=u[1];break}if(u[0]===6&&n.label<s[1]){n.label=s[1],s=u;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(u);break}s[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(l){u=[6,l],i=0}finally{r=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function MP(t,e,n,r){r===void 0&&(r=n),t[r]=e[n]}function jP(t,e){for(var n in t)n!=="default"&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Jf(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Xw(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function zP(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Xw(arguments[e]));return t}function KP(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,i++)r[i]=s[o];return r}function Co(t){return this instanceof Co?(this.v=t,this):new Co(t)}function VP(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){r[d]&&(i[d]=function(h){return new Promise(function(p,w){s.push([d,h,p,w])>1||a(d,h)})})}function a(d,h){try{c(r[d](h))}catch(p){f(s[0][3],p)}}function c(d){d.value instanceof Co?Promise.resolve(d.value.v).then(u,l):f(s[0][2],d)}function u(d){a("next",d)}function l(d){a("throw",d)}function f(d,h){d(h),s.shift(),s.length&&a(s[0][0],s[0][1])}}function HP(t){var e,n;return e={},r("next"),r("throw",function(i){throw i}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(i,s){e[i]=t[i]?function(o){return(n=!n)?{value:Co(t[i](o)),done:i==="return"}:s?s(o):o}:s}}function GP(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof Jf=="function"?Jf(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=t[s]&&function(o){return new Promise(function(a,c){o=t[s](o),i(a,c,o.done,o.value)})}}function i(s,o,a,c){Promise.resolve(c).then(function(u){s({value:u,done:a})},o)}}function WP(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function ZP(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function YP(t){return t&&t.__esModule?t:{default:t}}function XP(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function JP(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}var QP=Object.freeze({__proto__:null,__extends:NP,get __assign(){return Xf},__rest:UP,__decorate:CP,__param:FP,__metadata:qP,__awaiter:kP,__generator:LP,__createBinding:MP,__exportStar:jP,__values:Jf,__read:Xw,__spread:zP,__spreadArrays:KP,__await:Co,__asyncGenerator:VP,__asyncDelegator:HP,__asyncValues:GP,__makeTemplateObject:WP,__importStar:ZP,__importDefault:YP,__classPrivateFieldGet:XP,__classPrivateFieldSet:JP}),_P=Ch(QP),lr={},Jw;function $P(){if(Jw)return lr;Jw=1,Object.defineProperty(lr,"__esModule",{value:!0}),lr.isBrowserCryptoAvailable=lr.getSubtleCrypto=lr.getBrowerCrypto=void 0;function t(){return Bn?.crypto||Bn?.msCrypto||{}}lr.getBrowerCrypto=t;function e(){const r=t();return r.subtle||r.webkitSubtle}lr.getSubtleCrypto=e;function n(){return!!t()&&!!e()}return lr.isBrowserCryptoAvailable=n,lr}var fr={},Qw;function eD(){if(Qw)return fr;Qw=1,Object.defineProperty(fr,"__esModule",{value:!0}),fr.isBrowser=fr.isNode=fr.isReactNative=void 0;function t(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}fr.isReactNative=t;function e(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}fr.isNode=e;function n(){return!t()&&!e()}return fr.isBrowser=n,fr}(function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=_P;e.__exportStar($P(),t),e.__exportStar(eD(),t)})(Yw);function Cn(t=3){const e=Date.now()*Math.pow(10,t),n=Math.floor(Math.random()*Math.pow(10,t));return e+n}function ri(t=6){return BigInt(Cn(t))}function hr(t,e,n){return{id:n||Cn(),jsonrpc:"2.0",method:t,params:e}}function Nc(t,e){return{id:t,jsonrpc:"2.0",result:e}}function Qf(t,e,n){return{id:t,jsonrpc:"2.0",error:tD(e,n)}}function tD(t,e){return typeof t>"u"?Zw(Gw):(typeof t=="string"&&(t=Object.assign(Object.assign({},Zw(Zf)),{message:t})),typeof e<"u"&&(t.data=e),DP(t.code)&&(t=RP(t.code)),t)}class nD{}class rD extends nD{constructor(){super()}}class iD extends rD{constructor(e){super()}}const sD="^wss?:";function oD(t){const e=t.match(new RegExp(/^\w+:/,"gi"));if(!(!e||!e.length))return e[0]}function aD(t,e){const n=oD(t);return typeof n>"u"?!1:new RegExp(e).test(n)}function _w(t){return aD(t,sD)}function cD(t){return new RegExp("wss?://localhost(:d{2,5})?").test(t)}function $w(t){return typeof t=="object"&&"id"in t&&"jsonrpc"in t&&t.jsonrpc==="2.0"}function _f(t){return $w(t)&&"method"in t}function Uc(t){return $w(t)&&(Fn(t)||un(t))}function Fn(t){return"result"in t}function un(t){return"error"in t}class uD extends iD{constructor(e){super(e),this.events=new ut.exports.EventEmitter,this.hasRegisteredEventListeners=!1,this.connection=this.setConnection(e),this.connection.connected&&this.registerEventListeners()}async connect(e=this.connection){await this.open(e)}async disconnect(){await this.close()}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async request(e,n){return this.requestStrict(hr(e.method,e.params||[],e.id||ri().toString()),n)}async requestStrict(e,n){return new Promise(async(r,i)=>{if(!this.connection.connected)try{await this.open()}catch(s){i(s)}this.events.on(`${e.id}`,s=>{un(s)?i(s.error):r(s.result)});try{await this.connection.send(e,n)}catch(s){i(s)}})}setConnection(e=this.connection){return e}onPayload(e){this.events.emit("payload",e),Uc(e)?this.events.emit(`${e.id}`,e):this.events.emit("message",{type:e.method,data:e.params})}onClose(e){e&&e.code===3e3&&this.events.emit("error",new Error(`WebSocket connection closed abnormally with code: ${e.code} ${e.reason?`(${e.reason})`:""}`)),this.events.emit("disconnect")}async open(e=this.connection){this.connection===e&&this.connection.connected||(this.connection.connected&&this.close(),typeof e=="string"&&(await this.connection.open(e),e=this.connection),this.connection=this.setConnection(e),await this.connection.open(),this.registerEventListeners(),this.events.emit("connect"))}async close(){await this.connection.close()}registerEventListeners(){this.hasRegisteredEventListeners||(this.connection.on("payload",e=>this.onPayload(e)),this.connection.on("close",e=>this.onClose(e)),this.connection.on("error",e=>this.events.emit("error",e)),this.connection.on("register_error",e=>this.onClose()),this.hasRegisteredEventListeners=!0)}}const lD=()=>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:require("ws"),fD=()=>typeof WebSocket<"u"||typeof global<"u"&&typeof global.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u",ey=t=>t.split("?")[0],ty=10,hD=lD();class dD{constructor(e){if(this.url=e,this.events=new ut.exports.EventEmitter,this.registering=!1,!_w(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);this.url=e}get connected(){return typeof this.socket<"u"}get connecting(){return this.registering}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async open(e=this.url){await this.register(e)}async close(){return new Promise((e,n)=>{if(typeof this.socket>"u"){n(new Error("Connection already closed"));return}this.socket.onclose=r=>{this.onClose(r),e()},this.socket.close()})}async send(e){typeof this.socket>"u"&&(this.socket=await this.register());try{this.socket.send(to(e))}catch(n){this.onError(e.id,n)}}register(e=this.url){if(!_w(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);if(this.registering){const n=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=n||this.events.listenerCount("open")>=n)&&this.events.setMaxListeners(n+1),new Promise((r,i)=>{this.events.once("register_error",s=>{this.resetMaxListeners(),i(s)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.socket>"u")return i(new Error("WebSocket connection is missing or invalid"));r(this.socket)})})}return this.url=e,this.registering=!0,new Promise((n,r)=>{const i=Yw.isReactNative()?void 0:{rejectUnauthorized:!cD(e)},s=new hD(e,[],i);fD()?s.onerror=o=>{const a=o;r(this.emitError(a.error))}:s.on("error",o=>{r(this.emitError(o))}),s.onopen=()=>{this.onOpen(s),n(s)}})}onOpen(e){e.onmessage=n=>this.onPayload(n),e.onclose=n=>this.onClose(n),this.socket=e,this.registering=!1,this.events.emit("open")}onClose(e){this.socket=void 0,this.registering=!1,this.events.emit("close",e)}onPayload(e){if(typeof e.data>"u")return;const n=typeof e.data=="string"?as(e.data):e.data;this.events.emit("payload",n)}onError(e,n){const r=this.parseError(n),i=r.message||r.toString(),s=Qf(e,i);this.events.emit("payload",s)}parseError(e,n=this.url){return TP(e,ey(n),"WS")}resetMaxListeners(){this.events.getMaxListeners()>ty&&this.events.setMaxListeners(ty)}emitError(e){const n=this.parseError(new Error(e?.message||`WebSocket connection failed for host: ${ey(this.url)}`));return this.events.emit("register_error",n),n}}const ny="wc",ry=2,Cc="core",qn=`${ny}@2:${Cc}:`,pD={name:Cc,logger:"error"},gD={database:":memory:"},bD="crypto",iy="client_ed25519_seed",wD=J.ONE_DAY,yD="keychain",mD="0.3",vD="messages",ED="0.3",xD=J.SIX_HOURS,ID="publisher",sy="irn",SD="error",oy="wss://relay.walletconnect.org",BD="relayer",Le={message:"relayer_message",message_ack:"relayer_message_ack",connect:"relayer_connect",disconnect:"relayer_disconnect",error:"relayer_error",connection_stalled:"relayer_connection_stalled",transport_closed:"relayer_transport_closed",publish:"relayer_publish"},OD="_subscription",ln={payload:"payload",connect:"connect",disconnect:"disconnect",error:"error"},AD=.1,$f="2.23.5",Te={link_mode:"link_mode",relay:"relay"},Fc={inbound:"inbound",outbound:"outbound"},PD="0.3",DD="WALLETCONNECT_CLIENT_ID",ay="WALLETCONNECT_LINK_MODE_APPS",Qt={created:"subscription_created",deleted:"subscription_deleted",expired:"subscription_expired",disabled:"subscription_disabled",sync:"subscription_sync",resubscribed:"subscription_resubscribed"},RD="subscription",TD="0.3",ND="pairing",UD="0.3",Fo={wc_pairingDelete:{req:{ttl:J.ONE_DAY,prompt:!1,tag:1e3},res:{ttl:J.ONE_DAY,prompt:!1,tag:1001}},wc_pairingPing:{req:{ttl:J.THIRTY_SECONDS,prompt:!1,tag:1002},res:{ttl:J.THIRTY_SECONDS,prompt:!1,tag:1003}},unregistered_method:{req:{ttl:J.ONE_DAY,prompt:!1,tag:0},res:{ttl:J.ONE_DAY,prompt:!1,tag:0}}},Li={create:"pairing_create",expire:"pairing_expire",delete:"pairing_delete",ping:"pairing_ping"},xn={created:"history_created",updated:"history_updated",deleted:"history_deleted",sync:"history_sync"},CD="history",FD="0.3",qD="expirer",fn={created:"expirer_created",deleted:"expirer_deleted",expired:"expirer_expired",sync:"expirer_sync"},kD="0.3",LD="verify-api",MD="https://verify.walletconnect.com",cy="https://verify.walletconnect.org",qo=cy,jD=`${qo}/v3`,zD=[MD,cy],KD="echo",VD="https://echo.walletconnect.com",kn={pairing_started:"pairing_started",pairing_uri_validation_success:"pairing_uri_validation_success",pairing_uri_not_expired:"pairing_uri_not_expired",store_new_pairing:"store_new_pairing",subscribing_pairing_topic:"subscribing_pairing_topic",subscribe_pairing_topic_success:"subscribe_pairing_topic_success",existing_pairing:"existing_pairing",pairing_not_expired:"pairing_not_expired",emit_inactive_pairing:"emit_inactive_pairing",emit_session_proposal:"emit_session_proposal",subscribing_to_pairing_topic:"subscribing_to_pairing_topic"},dr={no_wss_connection:"no_wss_connection",no_internet_connection:"no_internet_connection",malformed_pairing_uri:"malformed_pairing_uri",active_pairing_already_exists:"active_pairing_already_exists",subscribe_pairing_topic_failure:"subscribe_pairing_topic_failure",pairing_expired:"pairing_expired",proposal_expired:"proposal_expired",proposal_listener_not_found:"proposal_listener_not_found"},In={session_approve_started:"session_approve_started",proposal_not_expired:"proposal_not_expired",session_namespaces_validation_success:"session_namespaces_validation_success",create_session_topic:"create_session_topic",subscribing_session_topic:"subscribing_session_topic",subscribe_session_topic_success:"subscribe_session_topic_success",publishing_session_approve:"publishing_session_approve",session_approve_publish_success:"session_approve_publish_success",store_session:"store_session",publishing_session_settle:"publishing_session_settle",session_settle_publish_success:"session_settle_publish_success",session_request_response_started:"session_request_response_started",session_request_response_validation_success:"session_request_response_validation_success",session_request_response_publish_started:"session_request_response_publish_started"},Mi={no_internet_connection:"no_internet_connection",no_wss_connection:"no_wss_connection",proposal_expired:"proposal_expired",subscribe_session_topic_failure:"subscribe_session_topic_failure",session_approve_publish_failure:"session_approve_publish_failure",session_settle_publish_failure:"session_settle_publish_failure",session_approve_namespace_validation_failure:"session_approve_namespace_validation_failure",proposal_not_found:"proposal_not_found",session_request_response_validation_failure:"session_request_response_validation_failure",session_request_response_publish_failure:"session_request_response_publish_failure"},ji={authenticated_session_approve_started:"authenticated_session_approve_started",authenticated_session_not_expired:"authenticated_session_not_expired",chains_caip2_compliant:"chains_caip2_compliant",chains_evm_compliant:"chains_evm_compliant",create_authenticated_session_topic:"create_authenticated_session_topic",cacaos_verified:"cacaos_verified",store_authenticated_session:"store_authenticated_session",subscribing_authenticated_session_topic:"subscribing_authenticated_session_topic",subscribe_authenticated_session_topic_success:"subscribe_authenticated_session_topic_success",publishing_authenticated_session_approve:"publishing_authenticated_session_approve",authenticated_session_approve_publish_success:"authenticated_session_approve_publish_success"},ko={no_internet_connection:"no_internet_connection",no_wss_connection:"no_wss_connection",missing_session_authenticate_request:"missing_session_authenticate_request",session_authenticate_request_expired:"session_authenticate_request_expired",chains_caip2_compliant_failure:"chains_caip2_compliant_failure",chains_evm_compliant_failure:"chains_evm_compliant_failure",invalid_cacao:"invalid_cacao",subscribe_authenticated_session_topic_failure:"subscribe_authenticated_session_topic_failure",authenticated_session_approve_publish_failure:"authenticated_session_approve_publish_failure",authenticated_session_pending_request_not_found:"authenticated_session_pending_request_not_found"},HD=.1,GD="event-client",WD=86400,ZD="https://pulse.walletconnect.org/batch";function YD(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<t.length;i++){var s=t.charAt(i),o=s.charCodeAt(0);if(n[o]!==255)throw new TypeError(s+" is ambiguous");n[o]=i}var a=t.length,c=t.charAt(0),u=Math.log(a)/Math.log(256),l=Math.log(256)/Math.log(a);function f(p){if(p instanceof Uint8Array||(ArrayBuffer.isView(p)?p=new Uint8Array(p.buffer,p.byteOffset,p.byteLength):Array.isArray(p)&&(p=Uint8Array.from(p))),!(p instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(p.length===0)return"";for(var w=0,m=0,P=0,T=p.length;P!==T&&p[P]===0;)P++,w++;for(var I=(T-P)*l+1>>>0,x=new Uint8Array(I);P!==T;){for(var S=p[P],U=0,k=I-1;(S!==0||U<m)&&k!==-1;k--,U++)S+=256*x[k]>>>0,x[k]=S%a>>>0,S=S/a>>>0;if(S!==0)throw new Error("Non-zero carry");m=U,P++}for(var F=I-m;F!==I&&x[F]===0;)F++;for(var R=c.repeat(w);F<I;++F)R+=t.charAt(x[F]);return R}function d(p){if(typeof p!="string")throw new TypeError("Expected String");if(p.length===0)return new Uint8Array;var w=0;if(p[w]!==" "){for(var m=0,P=0;p[w]===c;)m++,w++;for(var T=(p.length-w)*u+1>>>0,I=new Uint8Array(T);p[w];){var x=n[p.charCodeAt(w)];if(x===255)return;for(var S=0,U=T-1;(x!==0||S<P)&&U!==-1;U--,S++)x+=a*I[U]>>>0,I[U]=x%256>>>0,x=x/256>>>0;if(x!==0)throw new Error("Non-zero carry");P=S,w++}if(p[w]!==" "){for(var k=T-P;k!==T&&I[k]===0;)k++;for(var F=new Uint8Array(m+(T-k)),R=m;k!==T;)F[R++]=I[k++];return F}}}function h(p){var w=d(p);if(w)return w;throw new Error(`Non-${e} character`)}return{encode:f,decodeUnsafe:d,decode:h}}var XD=YD,JD=XD;const uy=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},QD=t=>new TextEncoder().encode(t),_D=t=>new TextDecoder().decode(t);class $D{constructor(e,n,r){this.name=e,this.prefix=n,this.baseEncode=r}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class eR{constructor(e,n,r){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=r}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return ly(this,e)}}class tR{constructor(e){this.decoders=e}or(e){return ly(this,e)}decode(e){const n=e[0],r=this.decoders[n];if(r)return r.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const ly=(t,e)=>new tR({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}});class nR{constructor(e,n,r,i){this.name=e,this.prefix=n,this.baseEncode=r,this.baseDecode=i,this.encoder=new $D(e,n,r),this.decoder=new eR(e,n,i)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const qc=({name:t,prefix:e,encode:n,decode:r})=>new nR(t,e,n,r),Lo=({prefix:t,name:e,alphabet:n})=>{const{encode:r,decode:i}=JD(n,e);return qc({prefix:t,name:e,encode:r,decode:s=>uy(i(s))})},rR=(t,e,n,r)=>{const i={};for(let l=0;l<e.length;++l)i[e[l]]=l;let s=t.length;for(;t[s-1]==="=";)--s;const o=new Uint8Array(s*n/8|0);let a=0,c=0,u=0;for(let l=0;l<s;++l){const f=i[t[l]];if(f===void 0)throw new SyntaxError(`Non-${r} character`);c=c<<n|f,a+=n,a>=8&&(a-=8,o[u++]=255&c>>a)}if(a>=n||255&c<<8-a)throw new SyntaxError("Unexpected end of data");return o},iR=(t,e,n)=>{const r=e[e.length-1]==="=",i=(1<<n)-1;let s="",o=0,a=0;for(let c=0;c<t.length;++c)for(a=a<<8|t[c],o+=8;o>n;)o-=n,s+=e[i&a>>o];if(o&&(s+=e[i&a<<n-o]),r)for(;s.length*n&7;)s+="=";return s},rt=({name:t,prefix:e,bitsPerChar:n,alphabet:r})=>qc({prefix:e,name:t,encode(i){return iR(i,r,n)},decode(i){return rR(i,r,n,t)}}),sR=qc({prefix:"\0",name:"identity",encode:t=>_D(t),decode:t=>QD(t)});var oR=Object.freeze({__proto__:null,identity:sR});const aR=rt({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var cR=Object.freeze({__proto__:null,base2:aR});const uR=rt({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var lR=Object.freeze({__proto__:null,base8:uR});const fR=Lo({prefix:"9",name:"base10",alphabet:"0123456789"});var hR=Object.freeze({__proto__:null,base10:fR});const dR=rt({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),pR=rt({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var gR=Object.freeze({__proto__:null,base16:dR,base16upper:pR});const bR=rt({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),wR=rt({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),yR=rt({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),mR=rt({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),vR=rt({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),ER=rt({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),xR=rt({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),IR=rt({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),SR=rt({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var BR=Object.freeze({__proto__:null,base32:bR,base32upper:wR,base32pad:yR,base32padupper:mR,base32hex:vR,base32hexupper:ER,base32hexpad:xR,base32hexpadupper:IR,base32z:SR});const OR=Lo({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),AR=Lo({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var PR=Object.freeze({__proto__:null,base36:OR,base36upper:AR});const DR=Lo({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),RR=Lo({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var TR=Object.freeze({__proto__:null,base58btc:DR,base58flickr:RR});const NR=rt({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),UR=rt({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),CR=rt({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),FR=rt({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var qR=Object.freeze({__proto__:null,base64:NR,base64pad:UR,base64url:CR,base64urlpad:FR});const fy=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),kR=fy.reduce((t,e,n)=>(t[n]=e,t),[]),LR=fy.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);function MR(t){return t.reduce((e,n)=>(e+=kR[n],e),"")}function jR(t){const e=[];for(const n of t){const r=LR[n.codePointAt(0)];if(r===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(r)}return new Uint8Array(e)}const zR=qc({prefix:"\u{1F680}",name:"base256emoji",encode:MR,decode:jR});var KR=Object.freeze({__proto__:null,base256emoji:zR}),VR=dy,hy=128,HR=127,GR=~HR,WR=Math.pow(2,31);function dy(t,e,n){e=e||[],n=n||0;for(var r=n;t>=WR;)e[n++]=t&255|hy,t/=128;for(;t&GR;)e[n++]=t&255|hy,t>>>=7;return e[n]=t|0,dy.bytes=n-r+1,e}var ZR=eh,YR=128,py=127;function eh(t,r){var n=0,r=r||0,i=0,s=r,o,a=t.length;do{if(s>=a)throw eh.bytes=0,new RangeError("Could not decode varint");o=t[s++],n+=i<28?(o&py)<<i:(o&py)*Math.pow(2,i),i+=7}while(o>=YR);return eh.bytes=s-r,n}var XR=Math.pow(2,7),JR=Math.pow(2,14),QR=Math.pow(2,21),_R=Math.pow(2,28),$R=Math.pow(2,35),eT=Math.pow(2,42),tT=Math.pow(2,49),nT=Math.pow(2,56),rT=Math.pow(2,63),iT=function(t){return t<XR?1:t<JR?2:t<QR?3:t<_R?4:t<$R?5:t<eT?6:t<tT?7:t<nT?8:t<rT?9:10},sT={encode:VR,decode:ZR,encodingLength:iT},gy=sT;const by=(t,e,n=0)=>(gy.encode(t,e,n),e),wy=t=>gy.encodingLength(t),th=(t,e)=>{const n=e.byteLength,r=wy(t),i=r+wy(n),s=new Uint8Array(i+n);return by(t,s,0),by(n,s,r),s.set(e,i),new oT(t,n,e,s)};class oT{constructor(e,n,r,i){this.code=e,this.size=n,this.digest=r,this.bytes=i}}const yy=({name:t,code:e,encode:n})=>new aT(t,e,n);class aT{constructor(e,n,r){this.name=e,this.code=n,this.encode=r}digest(e){if(e instanceof Uint8Array){const n=this.encode(e);return n instanceof Uint8Array?th(this.code,n):n.then(r=>th(this.code,r))}else throw Error("Unknown type, must be binary type")}}const my=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),cT=yy({name:"sha2-256",code:18,encode:my("SHA-256")}),uT=yy({name:"sha2-512",code:19,encode:my("SHA-512")});var lT=Object.freeze({__proto__:null,sha256:cT,sha512:uT});const vy=0,fT="identity",Ey=uy;var hT=Object.freeze({__proto__:null,identity:{code:vy,name:fT,encode:Ey,digest:t=>th(vy,Ey(t))}});new TextEncoder,new TextDecoder;const xy={...oR,...cR,...lR,...hR,...gR,...BR,...PR,...TR,...qR,...KR};({...lT,...hT});function Iy(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function dT(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?Iy(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function Sy(t,e,n,r){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:r}}}const By=Sy("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),nh=Sy("ascii","a",t=>{let e="a";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},t=>{t=t.substring(1);const e=dT(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}),pT={utf8:By,"utf-8":By,hex:xy.base16,latin1:nh,ascii:nh,binary:nh,...xy};function gT(t,e="utf8"){const n=pT[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?Iy(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}var bT=Object.defineProperty,wT=(t,e,n)=>e in t?bT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ln=(t,e,n)=>wT(t,typeof e!="symbol"?e+"":e,n);class yT{constructor(e,n){this.core=e,this.logger=n,Ln(this,"keychain",new Map),Ln(this,"name",yD),Ln(this,"version",mD),Ln(this,"initialized",!1),Ln(this,"storagePrefix",qn),Ln(this,"init",async()=>{if(!this.initialized){const r=await this.getKeyChain();typeof r<"u"&&(this.keychain=r),this.initialized=!0}}),Ln(this,"has",r=>(this.isInitialized(),this.keychain.has(r))),Ln(this,"set",async(r,i)=>{this.isInitialized(),this.keychain.set(r,i),await this.persist()}),Ln(this,"get",r=>{this.isInitialized();const i=this.keychain.get(r);if(typeof i>"u"){const{message:s}=_("NO_MATCHING_KEY",`${this.name}: ${r}`);throw new Error(s)}return i}),Ln(this,"del",async r=>{this.isInitialized(),this.keychain.delete(r),await this.persist()}),this.core=e,this.logger=Gt(n,this.name)}get context(){return Rt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setKeyChain(e){await this.core.storage.setItem(this.storageKey,Wl(e))}async getKeyChain(){const e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Zl(e):void 0}async persist(){await this.setKeyChain(this.keychain)}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}}var mT=Object.defineProperty,vT=(t,e,n)=>e in t?mT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Je=(t,e,n)=>vT(t,typeof e!="symbol"?e+"":e,n);class ET{constructor(e,n,r){this.core=e,this.logger=n,Je(this,"name",bD),Je(this,"keychain"),Je(this,"randomSessionIdentifier",Of()),Je(this,"initialized",!1),Je(this,"clientId"),Je(this,"init",async()=>{this.initialized||(await this.keychain.init(),this.initialized=!0)}),Je(this,"hasKeys",i=>(this.isInitialized(),this.keychain.has(i))),Je(this,"getClientId",async()=>{if(this.isInitialized(),this.clientId)return this.clientId;const i=await this.getClientSeed(),s=Rg(i),o=Dg(s.publicKey);return this.clientId=o,o}),Je(this,"generateKeyPair",()=>{this.isInitialized();const i=WS();return this.setPrivateKey(i.publicKey,i.privateKey)}),Je(this,"signJWT",async i=>{this.isInitialized();const s=await this.getClientSeed(),o=Rg(s),a=this.randomSessionIdentifier;return await lx(a,i,wD,o)}),Je(this,"generateSharedKey",(i,s,o)=>{this.isInitialized();const a=this.getPrivateKey(i),c=ZS(a,s);return this.setSymKey(c,o)}),Je(this,"setSymKey",async(i,s)=>{this.isInitialized();const o=s||mc(i);return await this.keychain.set(o,i),o}),Je(this,"deleteKeyPair",async i=>{this.isInitialized(),await this.keychain.del(i)}),Je(this,"deleteSymKey",async i=>{this.isInitialized(),await this.keychain.del(i)}),Je(this,"encode",async(i,s,o)=>{this.isInitialized();const a=Wb(o),c=to(s);if(Yb(a))return JS(c,o?.encoding);if(Zb(a)){const d=a.senderPublicKey,h=a.receiverPublicKey;i=await this.generateSharedKey(d,h)}const u=this.getSymKey(i),{type:l,senderPublicKey:f}=a;return YS({type:l,symKey:u,message:c,senderPublicKey:f,encoding:o?.encoding})}),Je(this,"decode",async(i,s,o)=>{this.isInitialized();const a=_S(s,o);if(Yb(a)){const c=QS(s,o?.encoding);return as(c)}if(Zb(a)){const c=a.receiverPublicKey,u=a.senderPublicKey;i=await this.generateSharedKey(c,u)}try{const c=this.getSymKey(i),u=XS({symKey:c,encoded:s,encoding:o?.encoding});return as(u)}catch(c){this.logger.error(`Failed to decode message from topic: '${i}', clientId: '${await this.getClientId()}'`),this.logger.error(c)}}),Je(this,"getPayloadType",(i,s=Mt)=>{const o=Io({encoded:i,encoding:s});return Di(o.type)}),Je(this,"getPayloadSenderPublicKey",(i,s=Mt)=>{const o=Io({encoded:i,encoding:s});return o.senderPublicKey?qt(o.senderPublicKey,At):void 0}),this.core=e,this.logger=Gt(n,this.name),this.keychain=r||new yT(this.core,this.logger)}get context(){return Rt(this.logger)}async setPrivateKey(e,n){return await this.keychain.set(e,n),e}getPrivateKey(e){return this.keychain.get(e)}async getClientSeed(){let e="";try{e=this.keychain.get(iy)}catch{e=Of(),await this.keychain.set(iy,e)}return gT(e,"base16")}getSymKey(e){return this.keychain.get(e)}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}}var xT=Object.defineProperty,IT=Object.defineProperties,ST=Object.getOwnPropertyDescriptors,Oy=Object.getOwnPropertySymbols,BT=Object.prototype.hasOwnProperty,OT=Object.prototype.propertyIsEnumerable,rh=(t,e,n)=>e in t?xT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,AT=(t,e)=>{for(var n in e||(e={}))BT.call(e,n)&&rh(t,n,e[n]);if(Oy)for(var n of Oy(e))OT.call(e,n)&&rh(t,n,e[n]);return t},PT=(t,e)=>IT(t,ST(e)),_t=(t,e,n)=>rh(t,typeof e!="symbol"?e+"":e,n);class DT extends fP{constructor(e,n){super(e,n),this.logger=e,this.core=n,_t(this,"messages",new Map),_t(this,"messagesWithoutClientAck",new Map),_t(this,"name",vD),_t(this,"version",ED),_t(this,"initialized",!1),_t(this,"storagePrefix",qn),_t(this,"init",async()=>{if(!this.initialized){this.logger.trace("Initialized");try{const r=await this.getRelayerMessages();typeof r<"u"&&(this.messages=r);const i=await this.getRelayerMessagesWithoutClientAck();typeof i<"u"&&(this.messagesWithoutClientAck=i),this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",size:this.messages.size})}catch(r){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(r)}finally{this.initialized=!0}}}),_t(this,"set",async(r,i,s)=>{this.isInitialized();const o=an(i);let a=this.messages.get(r);if(typeof a>"u"&&(a={}),typeof a[o]<"u")return o;if(a[o]=i,this.messages.set(r,a),s===Fc.inbound){const c=this.messagesWithoutClientAck.get(r)||{};this.messagesWithoutClientAck.set(r,PT(AT({},c),{[o]:i}))}return await this.persist(),o}),_t(this,"get",r=>{this.isInitialized();let i=this.messages.get(r);return typeof i>"u"&&(i={}),i}),_t(this,"getWithoutAck",r=>{this.isInitialized();const i={};for(const s of r){const o=this.messagesWithoutClientAck.get(s)||{};i[s]=Object.values(o)}return i}),_t(this,"has",(r,i)=>{this.isInitialized();const s=this.get(r),o=an(i);return typeof s[o]<"u"}),_t(this,"ack",async(r,i)=>{this.isInitialized();const s=this.messagesWithoutClientAck.get(r);if(typeof s>"u")return;const o=an(i);delete s[o],Object.keys(s).length===0?this.messagesWithoutClientAck.delete(r):this.messagesWithoutClientAck.set(r,s),await this.persist()}),_t(this,"del",async r=>{this.isInitialized(),this.messages.delete(r),this.messagesWithoutClientAck.delete(r),await this.persist()}),this.logger=Gt(e,this.name),this.core=n}get context(){return Rt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get storageKeyWithoutClientAck(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name+"_withoutClientAck"}async setRelayerMessages(e){await this.core.storage.setItem(this.storageKey,Wl(e))}async setRelayerMessagesWithoutClientAck(e){await this.core.storage.setItem(this.storageKeyWithoutClientAck,Wl(e))}async getRelayerMessages(){const e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Zl(e):void 0}async getRelayerMessagesWithoutClientAck(){const e=await this.core.storage.getItem(this.storageKeyWithoutClientAck);return typeof e<"u"?Zl(e):void 0}async persist(){await this.setRelayerMessages(this.messages),await this.setRelayerMessagesWithoutClientAck(this.messagesWithoutClientAck)}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}}var RT=Object.defineProperty,TT=Object.defineProperties,NT=Object.getOwnPropertyDescriptors,Ay=Object.getOwnPropertySymbols,UT=Object.prototype.hasOwnProperty,CT=Object.prototype.propertyIsEnumerable,ih=(t,e,n)=>e in t?RT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Bs=(t,e)=>{for(var n in e||(e={}))UT.call(e,n)&&ih(t,n,e[n]);if(Ay)for(var n of Ay(e))CT.call(e,n)&&ih(t,n,e[n]);return t},Py=(t,e)=>TT(t,NT(e)),hn=(t,e,n)=>ih(t,typeof e!="symbol"?e+"":e,n);class FT extends hP{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,hn(this,"events",new ut.exports.EventEmitter),hn(this,"name",ID),hn(this,"queue",new Map),hn(this,"publishTimeout",J.toMiliseconds(J.ONE_MINUTE)),hn(this,"initialPublishTimeout",J.toMiliseconds(J.ONE_SECOND*15)),hn(this,"needsTransportRestart",!1),hn(this,"publish",async(r,i,s)=>{var o,a,c,u,l;this.logger.debug("Publishing Payload"),this.logger.trace({type:"method",method:"publish",params:{topic:r,message:i,opts:s}});const f=s?.ttl||xD,d=s?.prompt||!1,h=s?.tag||0,p=s?.id||ri().toString(),w=ws(vc().protocol),m={id:p,method:s?.publishMethod||w.publish,params:Bs({topic:r,message:i,ttl:f,prompt:d,tag:h,attestation:s?.attestation},s?.tvf)},P=`Failed to publish payload, please try again. id:${p} tag:${h}`;try{Ge((o=m.params)==null?void 0:o.prompt)&&((a=m.params)==null||delete a.prompt),Ge((c=m.params)==null?void 0:c.tag)&&((u=m.params)==null||delete u.tag);const T=new Promise(async I=>{const x=({id:U})=>{var k;((k=m.id)==null?void 0:k.toString())===U.toString()&&(this.removeRequestFromQueue(U),this.relayer.events.removeListener(Le.publish,x),I())};this.relayer.events.on(Le.publish,x);const S=Tn(new Promise((U,k)=>{this.rpcPublish(m,s).then(U).catch(F=>{this.logger.warn(F,F?.message),k(F)})}),this.initialPublishTimeout,`Failed initial publish, retrying.... id:${p} tag:${h}`);try{await S,this.events.removeListener(Le.publish,x)}catch(U){this.queue.set(p,{request:m,opts:s,attempt:1}),this.logger.warn(U,U?.message)}});this.logger.trace({type:"method",method:"publish",params:{id:p,topic:r,message:i,opts:s}}),await Tn(T,this.publishTimeout,P)}catch(T){if(this.logger.debug("Failed to Publish Payload"),this.logger.error(T),(l=s?.internal)!=null&&l.throwOnFailedPublish)throw T}finally{this.queue.delete(p)}}),hn(this,"publishCustom",async r=>{var i,s,o,a,c;this.logger.debug("Publishing custom payload"),this.logger.trace({type:"method",method:"publishCustom",params:r});const{payload:u,opts:l={}}=r,{attestation:f,tvf:d,publishMethod:h,prompt:p,tag:w,ttl:m=J.FIVE_MINUTES}=l,P=l.id||ri().toString(),T=ws(vc().protocol),I=h||T.publish,x={id:P,method:I,params:Bs(Py(Bs({},u),{ttl:m,prompt:p,tag:w,attestation:f}),d)},S=`Failed to publish custom payload, please try again. id:${P} tag:${w}`;try{Ge((i=x.params)==null?void 0:i.prompt)&&((s=x.params)==null||delete s.prompt),Ge((o=x.params)==null?void 0:o.tag)&&((a=x.params)==null||delete a.tag);const U=new Promise(async k=>{const F=({id:G})=>{var H;((H=x.id)==null?void 0:H.toString())===G.toString()&&(this.removeRequestFromQueue(G),this.relayer.events.removeListener(Le.publish,F),k())};this.relayer.events.on(Le.publish,F);const R=Tn(new Promise((G,H)=>{this.rpcPublish(x,l).then(G).catch(E=>{this.logger.warn(E,E?.message),H(E)})}),this.initialPublishTimeout,`Failed initial custom payload publish, retrying.... method:${I} id:${P} tag:${w}`);try{await R,this.events.removeListener(Le.publish,F)}catch(G){this.queue.set(P,{request:x,opts:l,attempt:1}),this.logger.warn(G,G?.message)}});this.logger.trace({type:"method",method:"publish",params:{id:P,payload:u,opts:l}}),await Tn(U,this.publishTimeout,S)}catch(U){if(this.logger.debug("Failed to Publish Payload"),this.logger.error(U),(c=l?.internal)!=null&&c.throwOnFailedPublish)throw U}finally{this.queue.delete(P)}}),hn(this,"on",(r,i)=>{this.events.on(r,i)}),hn(this,"once",(r,i)=>{this.events.once(r,i)}),hn(this,"off",(r,i)=>{this.events.off(r,i)}),hn(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),this.relayer=e,this.logger=Gt(n,this.name),this.registerEventListeners()}get context(){return Rt(this.logger)}async rpcPublish(e,n){this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"message",direction:"outgoing",request:e});const r=await this.relayer.request(e);return this.relayer.events.emit(Le.publish,Bs(Bs({},e),n)),this.logger.debug("Successfully Published Payload"),r}removeRequestFromQueue(e){this.queue.delete(e)}checkQueue(){this.queue.forEach(async(e,n)=>{var r;const i=e.attempt+1;this.queue.set(n,Py(Bs({},e),{attempt:i})),this.logger.warn({},`Publisher: queue->publishing: ${e.request.id}, tag: ${(r=e.request.params)==null?void 0:r.tag}, attempt: ${i}`),await this.rpcPublish(e.request,e.opts),this.logger.warn({},`Publisher: queue->published: ${e.request.id}`)})}registerEventListeners(){this.relayer.core.heartbeat.on(qi.pulse,()=>{if(this.needsTransportRestart){this.needsTransportRestart=!1,this.relayer.events.emit(Le.connection_stalled);return}this.checkQueue()}),this.relayer.on(Le.message_ack,e=>{this.removeRequestFromQueue(e.id.toString())})}}var qT=Object.defineProperty,kT=(t,e,n)=>e in t?qT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Os=(t,e,n)=>kT(t,typeof e!="symbol"?e+"":e,n);class LT{constructor(){Os(this,"map",new Map),Os(this,"set",(e,n)=>{const r=this.get(e);this.exists(e,n)||this.map.set(e,[...r,n])}),Os(this,"get",e=>this.map.get(e)||[]),Os(this,"exists",(e,n)=>this.get(e).includes(n)),Os(this,"delete",(e,n)=>{if(typeof n>"u"){this.map.delete(e);return}if(!this.map.has(e))return;const r=this.get(e);if(!this.exists(e,n))return;const i=r.filter(s=>s!==n);if(!i.length){this.map.delete(e);return}this.map.set(e,i)}),Os(this,"clear",()=>{this.map.clear()})}get topics(){return Array.from(this.map.keys())}}var MT=Object.defineProperty,jT=Object.defineProperties,zT=Object.getOwnPropertyDescriptors,Dy=Object.getOwnPropertySymbols,KT=Object.prototype.hasOwnProperty,VT=Object.prototype.propertyIsEnumerable,sh=(t,e,n)=>e in t?MT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Mo=(t,e)=>{for(var n in e||(e={}))KT.call(e,n)&&sh(t,n,e[n]);if(Dy)for(var n of Dy(e))VT.call(e,n)&&sh(t,n,e[n]);return t},oh=(t,e)=>jT(t,zT(e)),Pe=(t,e,n)=>sh(t,typeof e!="symbol"?e+"":e,n);class HT extends gP{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,Pe(this,"subscriptions",new Map),Pe(this,"topicMap",new LT),Pe(this,"events",new ut.exports.EventEmitter),Pe(this,"name",RD),Pe(this,"version",TD),Pe(this,"pending",new Map),Pe(this,"cached",[]),Pe(this,"initialized",!1),Pe(this,"storagePrefix",qn),Pe(this,"subscribeTimeout",J.toMiliseconds(J.ONE_MINUTE)),Pe(this,"initialSubscribeTimeout",J.toMiliseconds(J.ONE_SECOND*15)),Pe(this,"clientId"),Pe(this,"batchSubscribeTopicsLimit",500),Pe(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),this.registerEventListeners(),await this.restore()),this.initialized=!0}),Pe(this,"subscribe",async(r,i)=>{var s;this.isInitialized(),this.logger.debug("Subscribing Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:r,opts:i}});try{const o=vc(i),a={topic:r,relay:o,transportType:i?.transportType};(s=i?.internal)!=null&&s.skipSubscribe||this.pending.set(r,a);const c=await this.rpcSubscribe(r,o,i);return typeof c=="string"&&(this.onSubscribe(c,a),this.logger.debug("Successfully Subscribed Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:r,opts:i}})),c}catch(o){throw this.logger.debug("Failed to Subscribe Topic"),this.logger.error(o),o}}),Pe(this,"unsubscribe",async(r,i)=>{this.isInitialized(),typeof i?.id<"u"?await this.unsubscribeById(r,i.id,i):await this.unsubscribeByTopic(r,i)}),Pe(this,"isSubscribed",r=>new Promise(i=>{i(this.topicMap.topics.includes(r))})),Pe(this,"isKnownTopic",r=>new Promise(i=>{i(this.topicMap.topics.includes(r)||this.pending.has(r)||this.cached.some(s=>s.topic===r))})),Pe(this,"on",(r,i)=>{this.events.on(r,i)}),Pe(this,"once",(r,i)=>{this.events.once(r,i)}),Pe(this,"off",(r,i)=>{this.events.off(r,i)}),Pe(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),Pe(this,"start",async()=>{await this.onConnect()}),Pe(this,"stop",async()=>{await this.onDisconnect()}),Pe(this,"restart",async()=>{await this.restore(),await this.onRestart()}),Pe(this,"checkPending",async()=>{if(this.pending.size===0&&(!this.initialized||!this.relayer.connected))return;const r=[];this.pending.forEach(i=>{r.push(i)}),await this.batchSubscribe(r)}),Pe(this,"registerEventListeners",()=>{this.relayer.core.heartbeat.on(qi.pulse,async()=>{await this.checkPending()}),this.events.on(Qt.created,async r=>{const i=Qt.created;this.logger.info(`Emitting ${i}`),this.logger.debug({type:"event",event:i,data:r}),await this.persist()}),this.events.on(Qt.deleted,async r=>{const i=Qt.deleted;this.logger.info(`Emitting ${i}`),this.logger.debug({type:"event",event:i,data:r}),await this.persist()})}),this.relayer=e,this.logger=Gt(n,this.name),this.clientId=""}get context(){return Rt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.relayer.core.customStoragePrefix+"//"+this.name}get length(){return this.subscriptions.size}get ids(){return Array.from(this.subscriptions.keys())}get values(){return Array.from(this.subscriptions.values())}get topics(){return this.topicMap.topics}get hasAnyTopics(){return this.topicMap.topics.length>0||this.pending.size>0||this.cached.length>0||this.subscriptions.size>0}hasSubscription(e,n){let r=!1;try{r=this.getSubscription(e).topic===n}catch{}return r}reset(){this.cached=[],this.initialized=!0}onDisable(){this.values.length>0&&(this.cached=this.values),this.subscriptions.clear(),this.topicMap.clear()}async unsubscribeByTopic(e,n){const r=this.topicMap.get(e);await Promise.all(r.map(async i=>await this.unsubscribeById(e,i,n)))}async unsubscribeById(e,n,r){this.logger.debug("Unsubscribing Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:n,opts:r}});try{const i=vc(r);await this.restartToComplete({topic:e,id:n,relay:i}),await this.rpcUnsubscribe(e,n,i);const s=Ue("USER_DISCONNECTED",`${this.name}, ${e}`);await this.onUnsubscribe(e,n,s),this.logger.debug("Successfully Unsubscribed Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:n,opts:r}})}catch(i){throw this.logger.debug("Failed to Unsubscribe Topic"),this.logger.error(i),i}}async rpcSubscribe(e,n,r){var i,s;const o=await this.getSubscriptionId(e);if((i=r?.internal)!=null&&i.skipSubscribe)return o;(!r||r?.transportType===Te.relay)&&await this.restartToComplete({topic:e,id:e,relay:n});const a={method:ws(n.protocol).subscribe,params:{topic:e}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:a});const c=(s=r?.internal)==null?void 0:s.throwOnFailedPublish;try{if(r?.transportType===Te.link_mode)return setTimeout(()=>{(this.relayer.connected||this.relayer.connecting)&&this.relayer.request(a).catch(f=>this.logger.warn(f))},J.toMiliseconds(J.ONE_SECOND)),o;const u=new Promise(async f=>{const d=h=>{h.topic===e&&(this.events.removeListener(Qt.created,d),f(h.id))};this.events.on(Qt.created,d);try{const h=await Tn(new Promise((p,w)=>{this.relayer.request(a).catch(m=>{this.logger.warn(m,m?.message),w(m)}).then(p)}),this.initialSubscribeTimeout,`Subscribing to ${e} failed, please try again`);this.events.removeListener(Qt.created,d),f(h)}catch{}}),l=await Tn(u,this.subscribeTimeout,`Subscribing to ${e} failed, please try again`);if(!l&&c)throw new Error(`Subscribing to ${e} failed, please try again`);return l?o:null}catch(u){if(this.logger.debug("Outgoing Relay Subscribe Payload stalled"),this.relayer.events.emit(Le.connection_stalled),c)throw u}return null}async rpcBatchSubscribe(e){if(!e.length)return!0;const n=e[0].relay,r={method:ws(n.protocol).batchSubscribe,params:{topics:e.map(i=>i.topic)}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:r});try{return await Tn(new Promise((i,s)=>{this.relayer.request(r).then(i).catch(o=>{this.logger.warn(o),s(o)})}),this.subscribeTimeout,"rpcBatchSubscribe failed, please try again"),!0}catch{return this.relayer.events.emit(Le.connection_stalled),!1}}async rpcBatchFetchMessages(e){if(!e.length)return;const n=e[0].relay,r={method:ws(n.protocol).batchFetchMessages,params:{topics:e.map(s=>s.topic)}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:r});let i;try{i=await await Tn(new Promise((s,o)=>{this.relayer.request(r).catch(a=>{this.logger.warn(a),o(a)}).then(s)}),this.subscribeTimeout,"rpcBatchFetchMessages failed, please try again")}catch{this.relayer.events.emit(Le.connection_stalled)}return i}rpcUnsubscribe(e,n,r){const i={method:ws(r.protocol).unsubscribe,params:{topic:e,id:n}};return this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:i}),this.relayer.request(i)}onSubscribe(e,n){this.setSubscription(e,oh(Mo({},n),{id:e})),this.pending.delete(n.topic)}onBatchSubscribe(e){e.length&&e.forEach(n=>{this.setSubscription(n.id,Mo({},n)),this.pending.delete(n.topic)})}async onUnsubscribe(e,n,r){this.events.removeAllListeners(n),this.hasSubscription(n,e)&&this.deleteSubscription(n,r),await this.relayer.messages.del(e)}async setRelayerSubscriptions(e){await this.relayer.core.storage.setItem(this.storageKey,e)}async getRelayerSubscriptions(){return await this.relayer.core.storage.getItem(this.storageKey)}setSubscription(e,n){this.logger.debug("Setting subscription"),this.logger.trace({type:"method",method:"setSubscription",id:e,subscription:n}),this.addSubscription(e,n)}addSubscription(e,n){this.subscriptions.set(e,Mo({},n)),this.topicMap.set(n.topic,e),this.events.emit(Qt.created,n)}getSubscription(e){this.logger.debug("Getting subscription"),this.logger.trace({type:"method",method:"getSubscription",id:e});const n=this.subscriptions.get(e);if(!n){const{message:r}=_("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(r)}return n}deleteSubscription(e,n){this.logger.debug("Deleting subscription"),this.logger.trace({type:"method",method:"deleteSubscription",id:e,reason:n});const r=this.getSubscription(e);this.subscriptions.delete(e),this.topicMap.delete(r.topic,e),this.events.emit(Qt.deleted,oh(Mo({},r),{reason:n}))}async persist(){await this.setRelayerSubscriptions(this.values),this.events.emit(Qt.sync)}async onRestart(){if(this.cached.length){const e=[...this.cached],n=Math.ceil(this.cached.length/this.batchSubscribeTopicsLimit);for(let r=0;r<n;r++){const i=e.splice(0,this.batchSubscribeTopicsLimit);await this.batchSubscribe(i)}}this.events.emit(Qt.resubscribed)}async restore(){try{const e=await this.getRelayerSubscriptions();if(typeof e>"u"||!e.length)return;if(this.subscriptions.size&&!e.every(n=>{var r;return n.topic===((r=this.subscriptions.get(n.id))==null?void 0:r.topic)})){const{message:n}=_("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),this.logger.error(`${this.name}: ${JSON.stringify(this.values)}`),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored subscriptions for ${this.name}`),this.logger.trace({type:"method",method:"restore",subscriptions:this.values})}catch(e){this.logger.debug(`Failed to Restore subscriptions for ${this.name}`),this.logger.error(e)}}async batchSubscribe(e){if(e.length){if(!await this.rpcBatchSubscribe(e)){this.logger.warn(`Batch subscribe failed for ${e.length} topics, adding to pending for retry`),e.forEach(n=>{this.pending.set(n.topic,n)});return}this.onBatchSubscribe(await Promise.all(e.map(async n=>oh(Mo({},n),{id:await this.getSubscriptionId(n.topic)}))))}}async batchFetchMessages(e){if(!e.length)return;this.logger.trace(`Fetching batch messages for ${e.length} subscriptions`);const n=await this.rpcBatchFetchMessages(e);n&&n.messages&&(await hI(J.toMiliseconds(J.ONE_SECOND)),await this.relayer.handleBatchMessageEvents(n.messages))}async onConnect(){await this.restart(),this.reset()}onDisconnect(){this.onDisable()}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}async restartToComplete(e){!this.relayer.connected&&!this.relayer.connecting&&(this.cached.push(e),await this.relayer.transportOpen())}async getClientId(){return this.clientId||(this.clientId=await this.relayer.core.crypto.getClientId()),this.clientId}async getSubscriptionId(e){return an(e+await this.getClientId())}}var GT=Object.defineProperty,Ry=Object.getOwnPropertySymbols,WT=Object.prototype.hasOwnProperty,ZT=Object.prototype.propertyIsEnumerable,ah=(t,e,n)=>e in t?GT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ty=(t,e)=>{for(var n in e||(e={}))WT.call(e,n)&&ah(t,n,e[n]);if(Ry)for(var n of Ry(e))ZT.call(e,n)&&ah(t,n,e[n]);return t},pe=(t,e,n)=>ah(t,typeof e!="symbol"?e+"":e,n);class YT extends dP{constructor(e){var n;super(e),pe(this,"protocol","wc"),pe(this,"version",2),pe(this,"core"),pe(this,"logger"),pe(this,"events",new ut.exports.EventEmitter),pe(this,"provider"),pe(this,"messages"),pe(this,"subscriber"),pe(this,"publisher"),pe(this,"name",BD),pe(this,"transportExplicitlyClosed",!1),pe(this,"initialized",!1),pe(this,"connectionAttemptInProgress",!1),pe(this,"relayUrl"),pe(this,"projectId"),pe(this,"packageName"),pe(this,"bundleId"),pe(this,"hasExperiencedNetworkDisruption",!1),pe(this,"pingTimeout"),pe(this,"heartBeatTimeout",J.toMiliseconds(J.THIRTY_SECONDS+J.FIVE_SECONDS)),pe(this,"reconnectTimeout"),pe(this,"connectPromise"),pe(this,"reconnectInProgress",!1),pe(this,"requestsInFlight",[]),pe(this,"connectTimeout",J.toMiliseconds(J.ONE_SECOND*15)),pe(this,"stalledRestartInProgress",!1),pe(this,"stalledRestartTimeout"),pe(this,"stalledRestartBackoff",0),pe(this,"stalledRestartBaseInterval",J.toMiliseconds(J.ONE_SECOND*2)),pe(this,"stalledRestartMaxInterval",J.toMiliseconds(J.THIRTY_SECONDS)),pe(this,"request",async r=>{var i,s;this.logger.debug("Publishing Request Payload");const o=r.id||ri().toString();await this.toEstablishConnection();try{this.logger.trace({id:o,method:r.method,topic:(i=r.params)==null?void 0:i.topic},"relayer.request - publishing...");const a=`${o}:${((s=r.params)==null?void 0:s.tag)||""}`;this.requestsInFlight.push(a);const c=await this.provider.request(r);return this.requestsInFlight=this.requestsInFlight.filter(u=>u!==a),c}catch(a){throw this.logger.debug(`Failed to Publish Request: ${o}`),a}}),pe(this,"resetPingTimeout",()=>{uo()&&(clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{var r,i,s,o;try{this.logger.debug({},"pingTimeout: Connection stalled, terminating..."),(o=(s=(i=(r=this.provider)==null?void 0:r.connection)==null?void 0:i.socket)==null?void 0:s.terminate)==null||o.call(s)}catch(a){this.logger.warn(a,a?.message)}},this.heartBeatTimeout))}),pe(this,"onPayloadHandler",r=>{this.onProviderPayload(r),this.resetPingTimeout()}),pe(this,"onConnectHandler",()=>{this.logger.warn({},"Relayer connected \u{1F6DC}"),this.startPingTimeout(),this.events.emit(Le.connect)}),pe(this,"onDisconnectHandler",()=>{this.logger.warn({},"Relayer disconnected \u{1F6D1}"),this.requestsInFlight=[],this.onProviderDisconnect()}),pe(this,"onProviderErrorHandler",r=>{this.logger.fatal(`Fatal socket error: ${r.message}`),this.events.emit(Le.error,r),this.logger.fatal("Fatal socket error received, closing transport"),this.transportExplicitlyClosed=!0,clearTimeout(this.reconnectTimeout),this.reconnectTimeout=void 0,this.reconnectInProgress=!1,this.transportClose().catch(i=>this.logger.warn(i))}),pe(this,"registerProviderListeners",()=>{this.provider.on(ln.payload,this.onPayloadHandler),this.provider.on(ln.connect,this.onConnectHandler),this.provider.on(ln.disconnect,this.onDisconnectHandler),this.provider.on(ln.error,this.onProviderErrorHandler)}),this.core=e.core,this.logger=hw({logger:(n=e.logger)!=null?n:SD,name:this.name}),this.messages=new DT(this.logger,e.core),this.subscriber=new HT(this,this.logger),this.publisher=new FT(this,this.logger),this.projectId=e?.projectId,this.relayUrl=e?.relayUrl||oy,d1()?this.packageName=Gl():p1()&&(this.bundleId=Gl()),this.provider={}}async init(){this.logger.trace("Initialized"),this.registerEventListeners(),await Promise.all([this.messages.init(),this.subscriber.init()]),this.initialized=!0,this.transportOpen().catch(e=>this.logger.warn(e,e?.message))}get context(){return Rt(this.logger)}get connected(){var e,n,r;return((r=(n=(e=this.provider)==null?void 0:e.connection)==null?void 0:n.socket)==null?void 0:r.readyState)===1||!1}get connecting(){var e,n,r;return((r=(n=(e=this.provider)==null?void 0:e.connection)==null?void 0:n.socket)==null?void 0:r.readyState)===0||this.connectPromise!==void 0||!1}async publish(e,n,r){this.isInitialized(),await this.publisher.publish(e,n,r),await this.recordMessageEvent({topic:e,message:n,publishedAt:Date.now(),transportType:Te.relay},Fc.outbound)}async publishCustom(e){this.isInitialized(),await this.publisher.publishCustom(e)}async subscribe(e,n){var r,i,s;this.isInitialized(),(!(n!=null&&n.transportType)||n?.transportType==="relay")&&await this.toEstablishConnection();const o=typeof((r=n?.internal)==null?void 0:r.throwOnFailedPublish)>"u"?!0:(i=n?.internal)==null?void 0:i.throwOnFailedPublish;let a=((s=this.subscriber.topicMap.get(e))==null?void 0:s[0])||"",c;const u=l=>{l.topic===e&&(this.subscriber.off(Qt.created,u),c())};return await Promise.all([new Promise(l=>{c=l,this.subscriber.on(Qt.created,u)}),new Promise(async(l,f)=>{a=await this.subscriber.subscribe(e,Ty({internal:{throwOnFailedPublish:o}},n)).catch(d=>{o&&f(d)})||a,l()})]),a}async unsubscribe(e,n){this.isInitialized(),await this.subscriber.unsubscribe(e,n)}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async transportDisconnect(){this.provider.disconnect&&(this.hasExperiencedNetworkDisruption||this.connected)?await Tn(this.provider.disconnect(),2e3,"provider.disconnect()").catch(()=>this.onProviderDisconnect()):this.onProviderDisconnect()}async transportClose(){this.transportExplicitlyClosed=!0,clearTimeout(this.stalledRestartTimeout),this.stalledRestartInProgress=!1,this.stalledRestartBackoff=0,await this.resetTransport()}async transportOpen(e){if(!this.subscriber.hasAnyTopics){this.logger.info("Starting WS connection skipped because the client has no topics to work with.");return}if(this.connectPromise?(this.logger.debug({},"Waiting for existing connection attempt to resolve..."),await this.connectPromise,this.logger.debug({},"Existing connection attempt resolved")):(this.connectPromise=new Promise(async(n,r)=>{await this.connect(e).then(n).catch(r).finally(()=>{this.connectPromise=void 0})}),await this.connectPromise),!this.connected)throw new Error(`Couldn't establish socket connection to the relay server: ${this.relayUrl}`)}async restartTransport(e){this.logger.debug({},"Restarting transport..."),!this.connectionAttemptInProgress&&(this.relayUrl=e||this.relayUrl,await this.confirmOnlineStateOrThrow(),await this.resetTransport(),await this.transportOpen())}async resetTransport(){this.reconnectInProgress=!0,clearTimeout(this.reconnectTimeout),this.reconnectTimeout=void 0,await this.transportDisconnect(),await this.subscriber.stop(),this.reconnectInProgress=!1}async confirmOnlineStateOrThrow(){if(!await fw())throw new Error("No internet connection detected. Please restart your network and try again.")}async handleBatchMessageEvents(e){if(e?.length===0){this.logger.trace("Batch message events is empty. Ignoring...");return}const n=e.sort((r,i)=>r.publishedAt-i.publishedAt);this.logger.debug(`Batch of ${n.length} message events sorted`);for(const r of n)try{await this.onMessageEvent(r)}catch(i){this.logger.warn(i,"Error while processing batch message event: "+i?.message)}this.logger.trace(`Batch of ${n.length} message events processed`)}async onLinkMessageEvent(e,n){const{topic:r}=e;if(!n.sessionExists){const i=Ve(J.FIVE_MINUTES),s={topic:r,expiry:i,relay:{protocol:"irn"},active:!1};await this.core.pairing.pairings.set(r,s)}this.events.emit(Le.message,e),await this.recordMessageEvent(e,Fc.inbound)}async connect(e){await this.confirmOnlineStateOrThrow(),e&&e!==this.relayUrl&&(this.relayUrl=e,await this.transportDisconnect()),this.connectionAttemptInProgress=!0,this.transportExplicitlyClosed=!1;let n=1;for(;n<6;){try{if(this.transportExplicitlyClosed)break;this.logger.debug({},`Connecting to ${this.relayUrl}, attempt: ${n}...`),await this.createProvider(),await new Promise(async(r,i)=>{const s=()=>{i(new Error("Connection interrupted while trying to connect"))};this.provider.once(ln.disconnect,s),await Tn(new Promise((o,a)=>{this.provider.connect().then(o).catch(a)}),this.connectTimeout,`Socket stalled when trying to connect to ${this.relayUrl}`).catch(o=>{i(o)}).finally(()=>{this.provider.off(ln.disconnect,s),clearTimeout(this.reconnectTimeout)}),await new Promise(async(o,a)=>{const c=()=>{i(new Error("Connection interrupted while trying to subscribe"))};this.provider.once(ln.disconnect,c),await this.subscriber.start().then(o).catch(a).finally(()=>{this.provider.off(ln.disconnect,c)})}),this.hasExperiencedNetworkDisruption=!1,r()})}catch(r){await this.subscriber.stop();const i=r;this.logger.warn({},i.message),this.hasExperiencedNetworkDisruption=!0}finally{this.connectionAttemptInProgress=!1}if(this.connected){this.logger.debug({},`Connected to ${this.relayUrl} successfully on attempt: ${n}`);break}await new Promise(r=>setTimeout(r,J.toMiliseconds(n*1))),n++}}startPingTimeout(){var e,n,r,i,s;if(uo())try{(n=(e=this.provider)==null?void 0:e.connection)!=null&&n.socket&&((s=(i=(r=this.provider)==null?void 0:r.connection)==null?void 0:i.socket)==null||s.on("ping",()=>{this.resetPingTimeout()})),this.resetPingTimeout()}catch(o){this.logger.warn(o,o?.message)}}async createProvider(){this.provider.connection&&this.unregisterProviderListeners();const e=await this.core.crypto.signJWT(this.relayUrl);this.provider=new uD(new dD(nI({sdkVersion:$f,protocol:this.protocol,version:this.version,relayUrl:this.relayUrl,projectId:this.projectId,auth:e,useOnCloseEvent:!0,bundleId:this.bundleId,packageName:this.packageName}))),this.registerProviderListeners()}async recordMessageEvent(e,n){const{topic:r,message:i}=e;await this.messages.set(r,i,n)}async shouldIgnoreMessageEvent(e){const{topic:n,message:r}=e;if(!r||r.length===0)return this.logger.warn(`Ignoring invalid/empty message: ${r}`),!0;if(!await this.subscriber.isKnownTopic(n))return this.logger.warn(`Ignoring message for unknown topic ${n}`),!0;const i=this.messages.has(n,r);return i&&this.logger.warn(`Ignoring duplicate message: ${r}`),i}async onProviderPayload(e){if(this.logger.debug("Incoming Relay Payload"),this.logger.trace({type:"payload",direction:"incoming",payload:e}),_f(e)){if(!e.method.endsWith(OD))return;const n=e.params,{topic:r,message:i,publishedAt:s,attestation:o}=n.data,a={topic:r,message:i,publishedAt:s,transportType:Te.relay,attestation:o};this.logger.debug("Emitting Relayer Payload"),this.logger.trace(Ty({type:"event",event:n.id},a)),this.events.emit(n.id,a),await this.acknowledgePayload(e),await this.onMessageEvent(a)}else Uc(e)&&this.events.emit(Le.message_ack,e)}async onMessageEvent(e){await this.shouldIgnoreMessageEvent(e)||(await this.recordMessageEvent(e,Fc.inbound),this.events.emit(Le.message,e))}async acknowledgePayload(e){const n=Nc(e.id,!0);await this.provider.connection.send(n)}unregisterProviderListeners(){this.provider.off(ln.payload,this.onPayloadHandler),this.provider.off(ln.connect,this.onConnectHandler),this.provider.off(ln.disconnect,this.onDisconnectHandler),this.provider.off(ln.error,this.onProviderErrorHandler),clearTimeout(this.pingTimeout)}async registerEventListeners(){let e=await fw();$B(async n=>{e!==n&&(e=n,n?await this.transportOpen().catch(r=>this.logger.error(r,r?.message)):(this.hasExperiencedNetworkDisruption=!0,await this.transportDisconnect(),this.transportExplicitlyClosed=!1))}),this.core.heartbeat.on(qi.pulse,async()=>{if(!this.transportExplicitlyClosed&&!this.connected&&nO())try{await this.confirmOnlineStateOrThrow(),await this.transportOpen()}catch(n){this.logger.warn(n,n?.message)}}),this.events.on(Le.connection_stalled,()=>{if(this.transportExplicitlyClosed||this.stalledRestartInProgress)return;this.stalledRestartInProgress=!0;const n=this.stalledRestartBackoff===0?0:Math.min(Math.pow(2,this.stalledRestartBackoff-1)*this.stalledRestartBaseInterval,this.stalledRestartMaxInterval);this.stalledRestartBackoff++,this.logger.warn(`Connection stalled, restarting transport${n?` in ${n}ms`:""}...`),this.stalledRestartTimeout=setTimeout(async()=>{try{if(this.transportExplicitlyClosed)return;await this.restartTransport()}catch(r){this.logger.error(r,r?.message)}finally{this.stalledRestartInProgress=!1}},n)})}async onProviderDisconnect(){clearTimeout(this.pingTimeout),this.events.emit(Le.disconnect),this.connectionAttemptInProgress=!1,!this.reconnectInProgress&&(this.reconnectInProgress=!0,await this.subscriber.stop(),this.subscriber.hasAnyTopics&&(this.transportExplicitlyClosed||(this.reconnectTimeout=setTimeout(async()=>{await this.transportOpen().catch(e=>this.logger.error(e,e?.message)),this.reconnectTimeout=void 0,this.reconnectInProgress=!1},J.toMiliseconds(AD)))))}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}async toEstablishConnection(){if(await this.confirmOnlineStateOrThrow(),!this.connected){if(this.connectPromise){await this.connectPromise;return}await this.connect()}}}function XT(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}function Ny(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function Uy(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const JT="[object RegExp]",QT="[object String]",_T="[object Number]",$T="[object Boolean]",Cy="[object Arguments]",eN="[object Symbol]",tN="[object Date]",nN="[object Map]",rN="[object Set]",iN="[object Array]",sN="[object Function]",oN="[object ArrayBuffer]",ch="[object Object]",aN="[object Error]",cN="[object DataView]",uN="[object Uint8Array]",lN="[object Uint8ClampedArray]",fN="[object Uint16Array]",hN="[object Uint32Array]",dN="[object BigUint64Array]",pN="[object Int8Array]",gN="[object Int16Array]",bN="[object Int32Array]",wN="[object BigInt64Array]",yN="[object Float32Array]",mN="[object Float64Array]";function Fy(t){if(!t||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e===null||e===Object.prototype||Object.getPrototypeOf(e)===null?Object.prototype.toString.call(t)==="[object Object]":!1}function vN(t,e,n){return jo(t,e,void 0,void 0,void 0,void 0,n)}function jo(t,e,n,r,i,s,o){const a=o(t,e,n,r,i,s);if(a!==void 0)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return t===e;case"number":return t===e||Object.is(t,e);case"function":return t===e;case"object":return zo(t,e,s,o)}return zo(t,e,s,o)}function zo(t,e,n,r){if(Object.is(t,e))return!0;let i=Uy(t),s=Uy(e);if(i===Cy&&(i=ch),s===Cy&&(s=ch),i!==s)return!1;switch(i){case QT:return t.toString()===e.toString();case _T:{const c=t.valueOf(),u=e.valueOf();return XT(c,u)}case $T:case tN:case eN:return Object.is(t.valueOf(),e.valueOf());case JT:return t.source===e.source&&t.flags===e.flags;case sN:return t===e}n=n??new Map;const o=n.get(t),a=n.get(e);if(o!=null&&a!=null)return o===e;n.set(t,e),n.set(e,t);try{switch(i){case nN:{if(t.size!==e.size)return!1;for(const[c,u]of t.entries())if(!e.has(c)||!jo(u,e.get(c),c,t,e,n,r))return!1;return!0}case rN:{if(t.size!==e.size)return!1;const c=Array.from(t.values()),u=Array.from(e.values());for(let l=0;l<c.length;l++){const f=c[l],d=u.findIndex(h=>jo(f,h,void 0,t,e,n,r));if(d===-1)return!1;u.splice(d,1)}return!0}case iN:case uN:case lN:case fN:case hN:case dN:case pN:case gN:case bN:case wN:case yN:case mN:{if(typeof Buffer<"u"&&Buffer.isBuffer(t)!==Buffer.isBuffer(e)||t.length!==e.length)return!1;for(let c=0;c<t.length;c++)if(!jo(t[c],e[c],c,t,e,n,r))return!1;return!0}case oN:return t.byteLength!==e.byteLength?!1:zo(new Uint8Array(t),new Uint8Array(e),n,r);case cN:return t.byteLength!==e.byteLength||t.byteOffset!==e.byteOffset?!1:zo(new Uint8Array(t),new Uint8Array(e),n,r);case aN:return t.name===e.name&&t.message===e.message;case ch:{if(!(zo(t.constructor,e.constructor,n,r)||Fy(t)&&Fy(e)))return!1;const c=[...Object.keys(t),...Ny(t)],u=[...Object.keys(e),...Ny(e)];if(c.length!==u.length)return!1;for(let l=0;l<c.length;l++){const f=c[l],d=t[f];if(!Object.hasOwn(e,f))return!1;const h=e[f];if(!jo(d,h,f,t,e,n,r))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(e)}}function EN(){}function xN(t,e){return vN(t,e,EN)}var IN=Object.defineProperty,qy=Object.getOwnPropertySymbols,SN=Object.prototype.hasOwnProperty,BN=Object.prototype.propertyIsEnumerable,uh=(t,e,n)=>e in t?IN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ky=(t,e)=>{for(var n in e||(e={}))SN.call(e,n)&&uh(t,n,e[n]);if(qy)for(var n of qy(e))BN.call(e,n)&&uh(t,n,e[n]);return t},Kt=(t,e,n)=>uh(t,typeof e!="symbol"?e+"":e,n);class zi extends pP{constructor(e,n,r,i=qn,s=void 0){super(e,n,r,i),this.core=e,this.logger=n,this.name=r,Kt(this,"map",new Map),Kt(this,"version",PD),Kt(this,"cached",[]),Kt(this,"initialized",!1),Kt(this,"getKey"),Kt(this,"storagePrefix",qn),Kt(this,"recentlyDeleted",[]),Kt(this,"recentlyDeletedLimit",200),Kt(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(o=>{this.getKey&&o!==null&&!Ge(o)?this.map.set(this.getKey(o),o):RB(o)?this.map.set(o.id,o):TB(o)&&this.map.set(o.topic,o)}),this.cached=[],this.initialized=!0)}),Kt(this,"set",async(o,a)=>{this.isInitialized(),this.map.has(o)?await this.update(o,a):(this.logger.debug("Setting value"),this.logger.trace({type:"method",method:"set",key:o,value:a}),this.map.set(o,a),await this.persist())}),Kt(this,"get",o=>(this.isInitialized(),this.logger.debug("Getting value"),this.logger.trace({type:"method",method:"get",key:o}),this.getData(o))),Kt(this,"getAll",o=>(this.isInitialized(),o?this.values.filter(a=>Object.keys(o).every(c=>xN(a[c],o[c]))):this.values)),Kt(this,"update",async(o,a)=>{this.isInitialized(),this.logger.debug("Updating value"),this.logger.trace({type:"method",method:"update",key:o,update:a});const c=ky(ky({},this.getData(o)),a);this.map.set(o,c),await this.persist()}),Kt(this,"delete",async(o,a)=>{this.isInitialized(),this.map.has(o)&&(this.logger.debug("Deleting value"),this.logger.trace({type:"method",method:"delete",key:o,reason:a}),this.map.delete(o),this.addToRecentlyDeleted(o),await this.persist())}),this.logger=Gt(n,this.name),this.storagePrefix=i,this.getKey=s}get context(){return Rt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.map.size}get keys(){return Array.from(this.map.keys())}get values(){return Array.from(this.map.values())}addToRecentlyDeleted(e){this.recentlyDeleted.push(e),this.recentlyDeleted.length>=this.recentlyDeletedLimit&&this.recentlyDeleted.splice(0,this.recentlyDeletedLimit/2)}async setDataStore(e){await this.core.storage.setItem(this.storageKey,e)}async getDataStore(){return await this.core.storage.getItem(this.storageKey)}getData(e){const n=this.map.get(e);if(!n){if(this.recentlyDeleted.includes(e)){const{message:i}=_("MISSING_OR_INVALID",`Record was recently deleted - ${this.name}: ${e}`);throw this.logger.error(i),new Error(i)}const{message:r}=_("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.error(r),new Error(r)}return n}async persist(){await this.setDataStore(this.values)}async restore(){try{const e=await this.getDataStore();if(typeof e>"u"||!e.length)return;if(this.map.size){const{message:n}=_("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored value for ${this.name}`),this.logger.trace({type:"method",method:"restore",value:this.values})}catch(e){this.logger.debug(`Failed to Restore value for ${this.name}`),this.logger.error(e)}}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}}var ON=Object.defineProperty,AN=(t,e,n)=>e in t?ON(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,be=(t,e,n)=>AN(t,typeof e!="symbol"?e+"":e,n);class PN{constructor(e,n){this.core=e,this.logger=n,be(this,"name",ND),be(this,"version",UD),be(this,"events",new ut.exports),be(this,"pairings"),be(this,"initialized",!1),be(this,"storagePrefix",qn),be(this,"ignoredPayloadTypes",[ar]),be(this,"registeredMethods",[]),be(this,"init",async()=>{this.initialized||(await this.pairings.init(),await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.initialized=!0,this.logger.trace("Initialized"))}),be(this,"register",({methods:r})=>{this.isInitialized(),this.registeredMethods=[...new Set([...this.registeredMethods,...r])]}),be(this,"create",async r=>{this.isInitialized();const i=Of(),s=await this.core.crypto.setSymKey(i),o=Ve(J.FIVE_MINUTES),a={protocol:sy},c={topic:s,expiry:o,relay:a,active:!1,methods:r?.methods},u=_b({protocol:this.core.protocol,version:this.core.version,topic:s,symKey:i,relay:a,expiryTimestamp:o,methods:r?.methods});return this.events.emit(Li.create,c),this.core.expirer.set(s,o),await this.pairings.set(s,c),await this.core.relayer.subscribe(s,{transportType:r?.transportType,internal:r?.internal}),{topic:s,uri:u}}),be(this,"pair",async r=>{this.isInitialized();const i=this.core.eventClient.createEvent({properties:{topic:r?.uri,trace:[kn.pairing_started]}});this.isValidPair(r,i);const{topic:s,symKey:o,relay:a,expiryTimestamp:c,methods:u}=Qb(r.uri);i.props.properties.topic=s,i.addTrace(kn.pairing_uri_validation_success),i.addTrace(kn.pairing_uri_not_expired);let l;if(this.pairings.keys.includes(s)){if(l=this.pairings.get(s),i.addTrace(kn.existing_pairing),l.active)throw i.setError(dr.active_pairing_already_exists),new Error(`Pairing already exists: ${s}. Please try again with a new connection URI.`);i.addTrace(kn.pairing_not_expired)}const f=c||Ve(J.FIVE_MINUTES),d={topic:s,relay:a,expiry:f,active:!1,methods:u};this.core.expirer.set(s,f),await this.pairings.set(s,d),i.addTrace(kn.store_new_pairing),r.activatePairing&&await this.activate({topic:s}),this.events.emit(Li.create,d),i.addTrace(kn.emit_inactive_pairing),this.core.crypto.keychain.has(s)||await this.core.crypto.setSymKey(o,s),i.addTrace(kn.subscribing_pairing_topic);try{await this.core.relayer.confirmOnlineStateOrThrow()}catch{i.setError(dr.no_internet_connection)}try{await this.core.relayer.subscribe(s,{relay:a})}catch(h){throw i.setError(dr.subscribe_pairing_topic_failure),h}return i.addTrace(kn.subscribe_pairing_topic_success),d}),be(this,"activate",async({topic:r})=>{this.isInitialized();const i=Ve(J.FIVE_MINUTES);this.core.expirer.set(r,i),await this.pairings.update(r,{active:!0,expiry:i})}),be(this,"ping",async r=>{this.isInitialized(),await this.isValidPing(r),this.logger.warn("ping() is deprecated and will be removed in the next major release.");const{topic:i}=r;if(this.pairings.keys.includes(i)){const s=await this.sendRequest(i,"wc_pairingPing",{}),{done:o,resolve:a,reject:c}=xi();this.events.once(Ee("pairing_ping",s),({error:u})=>{u?c(u):a()}),await o()}}),be(this,"updateExpiry",async({topic:r,expiry:i})=>{this.isInitialized(),await this.pairings.update(r,{expiry:i})}),be(this,"updateMetadata",async({topic:r,metadata:i})=>{this.isInitialized(),await this.pairings.update(r,{peerMetadata:i})}),be(this,"getPairings",()=>(this.isInitialized(),this.pairings.values)),be(this,"disconnect",async r=>{this.isInitialized(),await this.isValidDisconnect(r);const{topic:i}=r;this.pairings.keys.includes(i)&&(await this.sendRequest(i,"wc_pairingDelete",Ue("USER_DISCONNECTED")),await this.deletePairing(i))}),be(this,"formatUriFromPairing",r=>{this.isInitialized();const{topic:i,relay:s,expiry:o,methods:a}=r,c=this.core.crypto.keychain.get(i);return _b({protocol:this.core.protocol,version:this.core.version,topic:i,symKey:c,relay:s,expiryTimestamp:o,methods:a})}),be(this,"sendRequest",async(r,i,s)=>{const o=hr(i,s),a=await this.core.crypto.encode(r,o),c=Fo[i].req;return this.core.history.set(r,o),this.core.relayer.publish(r,a,c),o.id}),be(this,"sendResult",async(r,i,s)=>{const o=Nc(r,s),a=await this.core.crypto.encode(i,o),c=(await this.core.history.get(i,r)).request.method,u=Fo[c].res;await this.core.relayer.publish(i,a,u),await this.core.history.resolve(o)}),be(this,"sendError",async(r,i,s)=>{const o=Qf(r,s),a=await this.core.crypto.encode(i,o),c=(await this.core.history.get(i,r)).request.method,u=Fo[c]?Fo[c].res:Fo.unregistered_method.res;await this.core.relayer.publish(i,a,u),await this.core.history.resolve(o)}),be(this,"deletePairing",async(r,i)=>{await this.core.relayer.unsubscribe(r),await Promise.all([this.pairings.delete(r,Ue("USER_DISCONNECTED")),this.core.crypto.deleteSymKey(r),i?Promise.resolve():this.core.expirer.del(r)])}),be(this,"cleanup",async()=>{const r=this.pairings.getAll().filter(i=>Lr(i.expiry));await Promise.all(r.map(i=>this.deletePairing(i.topic)))}),be(this,"onRelayEventRequest",async r=>{const{topic:i,payload:s}=r;switch(s.method){case"wc_pairingPing":return await this.onPairingPingRequest(i,s);case"wc_pairingDelete":return await this.onPairingDeleteRequest(i,s);default:return await this.onUnknownRpcMethodRequest(i,s)}}),be(this,"onRelayEventResponse",async r=>{const{topic:i,payload:s}=r,o=(await this.core.history.get(i,s.id)).request.method;switch(o){case"wc_pairingPing":return this.onPairingPingResponse(i,s);default:return this.onUnknownRpcMethodResponse(o)}}),be(this,"onPairingPingRequest",async(r,i)=>{const{id:s}=i;try{this.isValidPing({topic:r}),await this.sendResult(s,r,!0),this.events.emit(Li.ping,{id:s,topic:r})}catch(o){await this.sendError(s,r,o),this.logger.error(o)}}),be(this,"onPairingPingResponse",(r,i)=>{const{id:s}=i;setTimeout(()=>{Fn(i)?this.events.emit(Ee("pairing_ping",s),{}):un(i)&&this.events.emit(Ee("pairing_ping",s),{error:i.error})},500)}),be(this,"onPairingDeleteRequest",async(r,i)=>{const{id:s}=i;try{this.isValidDisconnect({topic:r}),await this.deletePairing(r),this.events.emit(Li.delete,{id:s,topic:r})}catch(o){await this.sendError(s,r,o),this.logger.error(o)}}),be(this,"onUnknownRpcMethodRequest",async(r,i)=>{const{id:s,method:o}=i;try{if(this.registeredMethods.includes(o))return;const a=Ue("WC_METHOD_UNSUPPORTED",o);await this.sendError(s,r,a),this.logger.error(a)}catch(a){await this.sendError(s,r,a),this.logger.error(a)}}),be(this,"onUnknownRpcMethodResponse",r=>{this.registeredMethods.includes(r)||this.logger.error(Ue("WC_METHOD_UNSUPPORTED",r))}),be(this,"isValidPair",(r,i)=>{var s;if(!jt(r)){const{message:a}=_("MISSING_OR_INVALID",`pair() params: ${r}`);throw i.setError(dr.malformed_pairing_uri),new Error(a)}if(!DB(r.uri)){const{message:a}=_("MISSING_OR_INVALID",`pair() uri: ${r.uri}`);throw i.setError(dr.malformed_pairing_uri),new Error(a)}const o=Qb(r?.uri);if(!((s=o?.relay)!=null&&s.protocol)){const{message:a}=_("MISSING_OR_INVALID","pair() uri#relay-protocol");throw i.setError(dr.malformed_pairing_uri),new Error(a)}if(!(o!=null&&o.symKey)){const{message:a}=_("MISSING_OR_INVALID","pair() uri#symKey");throw i.setError(dr.malformed_pairing_uri),new Error(a)}if(o!=null&&o.expiryTimestamp&&J.toMiliseconds(o?.expiryTimestamp)<Date.now()){i.setError(dr.pairing_expired);const{message:a}=_("EXPIRED","pair() URI has expired. Please try again with a new connection URI.");throw new Error(a)}}),be(this,"isValidPing",async r=>{if(!jt(r)){const{message:s}=_("MISSING_OR_INVALID",`ping() params: ${r}`);throw new Error(s)}const{topic:i}=r;await this.isValidPairingTopic(i)}),be(this,"isValidDisconnect",async r=>{if(!jt(r)){const{message:s}=_("MISSING_OR_INVALID",`disconnect() params: ${r}`);throw new Error(s)}const{topic:i}=r;await this.isValidPairingTopic(i)}),be(this,"isValidPairingTopic",async r=>{if(!Me(r,!1)){const{message:i}=_("MISSING_OR_INVALID",`pairing topic should be a string: ${r}`);throw new Error(i)}if(!this.pairings.keys.includes(r)){const{message:i}=_("NO_MATCHING_KEY",`pairing topic doesn't exist: ${r}`);throw new Error(i)}if(Lr(this.pairings.get(r).expiry)){await this.deletePairing(r);const{message:i}=_("EXPIRED",`pairing topic: ${r}`);throw new Error(i)}}),this.core=e,this.logger=Gt(n,this.name),this.pairings=new zi(this.core,this.logger,this.name,this.storagePrefix)}get context(){return Rt(this.logger)}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}registerRelayerEvents(){this.core.relayer.on(Le.message,async e=>{const{topic:n,message:r,transportType:i}=e;if(this.pairings.keys.includes(n)&&i!==Te.link_mode&&!this.ignoredPayloadTypes.includes(this.core.crypto.getPayloadType(r)))try{const s=await this.core.crypto.decode(n,r);_f(s)?(this.core.history.set(n,s),await this.onRelayEventRequest({topic:n,payload:s})):Uc(s)&&(await this.core.history.resolve(s),await this.onRelayEventResponse({topic:n,payload:s}),this.core.history.delete(n,s.id)),await this.core.relayer.messages.ack(n,r)}catch(s){this.logger.error(s)}})}registerExpirerEvents(){this.core.expirer.on(fn.expired,async e=>{const{topic:n}=y1(e.target);n&&this.pairings.keys.includes(n)&&(await this.deletePairing(n,!0),this.events.emit(Li.expire,{topic:n}))})}}var DN=Object.defineProperty,RN=(t,e,n)=>e in t?DN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,it=(t,e,n)=>RN(t,typeof e!="symbol"?e+"":e,n);class TN extends lP{constructor(e,n){super(e,n),this.core=e,this.logger=n,it(this,"records",new Map),it(this,"events",new ut.exports.EventEmitter),it(this,"name",CD),it(this,"version",FD),it(this,"cached",[]),it(this,"initialized",!1),it(this,"storagePrefix",qn),it(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(r=>this.records.set(r.id,r)),this.cached=[],this.registerEventListeners(),this.initialized=!0)}),it(this,"set",(r,i,s)=>{if(this.isInitialized(),this.logger.debug("Setting JSON-RPC request history record"),this.logger.trace({type:"method",method:"set",topic:r,request:i,chainId:s}),this.records.has(i.id))return;const o={id:i.id,topic:r,request:{method:i.method,params:i.params||null},chainId:s,expiry:Ve(J.THIRTY_DAYS)};this.records.set(o.id,o),this.persist(),this.events.emit(xn.created,o)}),it(this,"resolve",async r=>{if(this.isInitialized(),this.logger.debug("Updating JSON-RPC response history record"),this.logger.trace({type:"method",method:"update",response:r}),!this.records.has(r.id))return;const i=await this.getRecord(r.id);typeof i.response>"u"&&(i.response=un(r)?{error:r.error}:{result:r.result},this.records.set(i.id,i),this.persist(),this.events.emit(xn.updated,i))}),it(this,"get",async(r,i)=>(this.isInitialized(),this.logger.debug("Getting record"),this.logger.trace({type:"method",method:"get",topic:r,id:i}),await this.getRecord(i))),it(this,"delete",(r,i)=>{this.isInitialized(),this.logger.debug("Deleting record"),this.logger.trace({type:"method",method:"delete",id:i}),this.values.forEach(s=>{if(s.topic===r){if(typeof i<"u"&&s.id!==i)return;this.records.delete(s.id),this.events.emit(xn.deleted,s)}}),this.persist()}),it(this,"exists",async(r,i)=>(this.isInitialized(),this.records.has(i)?(await this.getRecord(i)).topic===r:!1)),it(this,"on",(r,i)=>{this.events.on(r,i)}),it(this,"once",(r,i)=>{this.events.once(r,i)}),it(this,"off",(r,i)=>{this.events.off(r,i)}),it(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),this.logger=Gt(n,this.name)}get context(){return Rt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get size(){return this.records.size}get keys(){return Array.from(this.records.keys())}get values(){return Array.from(this.records.values())}get pending(){const e=[];return this.values.forEach(n=>{if(typeof n.response<"u")return;const r={topic:n.topic,request:hr(n.request.method,n.request.params,n.id),chainId:n.chainId};return e.push(r)}),e}async setJsonRpcRecords(e){await this.core.storage.setItem(this.storageKey,e)}async getJsonRpcRecords(){return await this.core.storage.getItem(this.storageKey)}getRecord(e){this.isInitialized();const n=this.records.get(e);if(!n){const{message:r}=_("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(r)}return n}async persist(){await this.setJsonRpcRecords(this.values),this.events.emit(xn.sync)}async restore(){try{const e=await this.getJsonRpcRecords();if(typeof e>"u"||!e.length)return;if(this.records.size){const{message:n}=_("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",records:this.values})}catch(e){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(e)}}registerEventListeners(){this.events.on(xn.created,e=>{const n=xn.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(xn.updated,e=>{const n=xn.updated;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(xn.deleted,e=>{const n=xn.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.core.heartbeat.on(qi.pulse,()=>{this.cleanup()})}cleanup(){try{this.isInitialized();let e=!1;this.records.forEach(n=>{J.toMiliseconds(n.expiry||0)-Date.now()<=0&&(this.logger.info(`Deleting expired history log: ${n.id}`),this.records.delete(n.id),this.events.emit(xn.deleted,n,!1),e=!0)}),e&&this.persist()}catch(e){this.logger.warn(e)}}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}}var NN=Object.defineProperty,UN=(t,e,n)=>e in t?NN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mt=(t,e,n)=>UN(t,typeof e!="symbol"?e+"":e,n);class CN extends bP{constructor(e,n){super(e,n),this.core=e,this.logger=n,mt(this,"expirations",new Map),mt(this,"events",new ut.exports.EventEmitter),mt(this,"name",qD),mt(this,"version",kD),mt(this,"cached",[]),mt(this,"initialized",!1),mt(this,"storagePrefix",qn),mt(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(r=>this.expirations.set(r.target,r)),this.cached=[],this.registerEventListeners(),this.initialized=!0)}),mt(this,"has",r=>{try{const i=this.formatTarget(r);return typeof this.getExpiration(i)<"u"}catch{return!1}}),mt(this,"set",(r,i)=>{this.isInitialized();const s=this.formatTarget(r),o={target:s,expiry:i};this.expirations.set(s,o),this.checkExpiry(s,o),this.events.emit(fn.created,{target:s,expiration:o})}),mt(this,"get",r=>{this.isInitialized();const i=this.formatTarget(r);return this.getExpiration(i)}),mt(this,"del",r=>{if(this.isInitialized(),this.has(r)){const i=this.formatTarget(r),s=this.getExpiration(i);this.expirations.delete(i),this.events.emit(fn.deleted,{target:i,expiration:s})}}),mt(this,"on",(r,i)=>{this.events.on(r,i)}),mt(this,"once",(r,i)=>{this.events.once(r,i)}),mt(this,"off",(r,i)=>{this.events.off(r,i)}),mt(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),this.logger=Gt(n,this.name)}get context(){return Rt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.expirations.size}get keys(){return Array.from(this.expirations.keys())}get values(){return Array.from(this.expirations.values())}formatTarget(e){if(typeof e=="string")return rI(e);if(typeof e=="number")return iI(e);const{message:n}=_("UNKNOWN_TYPE",`Target type: ${typeof e}`);throw new Error(n)}async setExpirations(e){await this.core.storage.setItem(this.storageKey,e)}async getExpirations(){return await this.core.storage.getItem(this.storageKey)}async persist(){await this.setExpirations(this.values),this.events.emit(fn.sync)}async restore(){try{const e=await this.getExpirations();if(typeof e>"u"||!e.length)return;if(this.expirations.size){const{message:n}=_("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored expirations for ${this.name}`),this.logger.trace({type:"method",method:"restore",expirations:this.values})}catch(e){this.logger.debug(`Failed to Restore expirations for ${this.name}`),this.logger.error(e)}}getExpiration(e){const n=this.expirations.get(e);if(!n){const{message:r}=_("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.warn(r),new Error(r)}return n}checkExpiry(e,n){const{expiry:r}=n;J.toMiliseconds(r)-Date.now()<=0&&this.expire(e,n)}expire(e,n){this.expirations.delete(e),this.events.emit(fn.expired,{target:e,expiration:n})}checkExpirations(){this.core.relayer.connected&&this.expirations.forEach((e,n)=>this.checkExpiry(n,e))}registerEventListeners(){this.core.heartbeat.on(qi.pulse,()=>this.checkExpirations()),this.events.on(fn.created,e=>{const n=fn.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(fn.expired,e=>{const n=fn.expired;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(fn.deleted,e=>{const n=fn.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()})}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}}var FN=Object.defineProperty,qN=(t,e,n)=>e in t?FN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,je=(t,e,n)=>qN(t,typeof e!="symbol"?e+"":e,n);class kN extends wP{constructor(e,n,r){super(e,n,r),this.core=e,this.logger=n,this.store=r,je(this,"name",LD),je(this,"abortController"),je(this,"isDevEnv"),je(this,"verifyUrlV3",jD),je(this,"storagePrefix",qn),je(this,"version",ry),je(this,"publicKey"),je(this,"fetchPromise"),je(this,"init",async()=>{var i;this.isDevEnv||(this.publicKey=await this.store.getItem(this.storeKey),this.publicKey&&J.toMiliseconds((i=this.publicKey)==null?void 0:i.expiresAt)<Date.now()&&(this.logger.debug("verify v2 public key expired"),await this.removePublicKey()))}),je(this,"register",async i=>{if(!vi()||this.isDevEnv)return;const s=window.location.origin,{id:o,decryptedId:a}=i,c=`${this.verifyUrlV3}/attestation?projectId=${this.core.projectId}&origin=${s}&id=${o}&decryptedId=${a}`;try{const u=ui(),l=this.startAbortTimer(J.ONE_SECOND*5),f=await new Promise((d,h)=>{const p=()=>{window.removeEventListener("message",m),u.body.removeChild(w),h("attestation aborted")};this.abortController.signal.addEventListener("abort",p);const w=u.createElement("iframe");w.src=c,w.style.display="none",w.addEventListener("error",p,{signal:this.abortController.signal});const m=P=>{if(P.data&&typeof P.data=="string")try{const T=JSON.parse(P.data);if(T.type==="verify_attestation"){if(kl(T.attestation).payload.id!==o)return;clearInterval(l),u.body.removeChild(w),this.abortController.signal.removeEventListener("abort",p),window.removeEventListener("message",m),d(T.attestation===null?"":T.attestation)}}catch(T){this.logger.warn(T)}};u.body.appendChild(w),window.addEventListener("message",m,{signal:this.abortController.signal})});return this.logger.debug(f,"jwt attestation"),f}catch(u){this.logger.warn(u)}return""}),je(this,"resolve",async i=>{if(this.isDevEnv)return"";const{attestationId:s,hash:o,encryptedId:a}=i;if(s===""){this.logger.debug("resolve: attestationId is empty, skipping");return}if(s){if(kl(s).payload.id!==a)return;const u=await this.isValidJwtAttestation(s);if(u){if(!u.isVerified){this.logger.warn("resolve: jwt attestation: origin url not verified");return}return u}}if(!o)return;const c=this.getVerifyUrl(i?.verifyUrl);return this.fetchAttestation(o,c)}),je(this,"fetchAttestation",async(i,s)=>{this.logger.debug(`resolving attestation: ${i} from url: ${s}`);const o=this.startAbortTimer(J.ONE_SECOND*5),a=await fetch(`${s}/attestation/${i}?v2Supported=true`,{signal:this.abortController.signal});return clearTimeout(o),a.status===200?await a.json():void 0}),je(this,"getVerifyUrl",i=>{let s=i||qo;return zD.includes(s)||(this.logger.info(`verify url: ${s}, not included in trusted list, assigning default: ${qo}`),s=qo),s}),je(this,"fetchPublicKey",async()=>{try{this.logger.debug(`fetching public key from: ${this.verifyUrlV3}`);const i=this.startAbortTimer(J.FIVE_SECONDS),s=await fetch(`${this.verifyUrlV3}/public-key`,{signal:this.abortController.signal});return clearTimeout(i),await s.json()}catch(i){this.logger.warn(i)}}),je(this,"persistPublicKey",async i=>{this.logger.debug(i,"persisting public key to local storage"),await this.store.setItem(this.storeKey,i),this.publicKey=i}),je(this,"removePublicKey",async()=>{this.logger.debug("removing verify v2 public key from storage"),await this.store.removeItem(this.storeKey),this.publicKey=void 0}),je(this,"isValidJwtAttestation",async i=>{const s=await this.getPublicKey();try{if(s)return this.validateAttestation(i,s)}catch(a){this.logger.error(a),this.logger.warn("error validating attestation")}const o=await this.fetchAndPersistPublicKey();try{if(o)return this.validateAttestation(i,o)}catch(a){this.logger.error(a),this.logger.warn("error validating attestation")}}),je(this,"getPublicKey",async()=>this.publicKey?this.publicKey:await this.fetchAndPersistPublicKey()),je(this,"fetchAndPersistPublicKey",async()=>{if(this.fetchPromise)return await this.fetchPromise,this.publicKey;this.fetchPromise=new Promise(async s=>{const o=await this.fetchPublicKey();o&&(await this.persistPublicKey(o),s(o))});const i=await this.fetchPromise;return this.fetchPromise=void 0,i}),je(this,"validateAttestation",(i,s)=>{const o=eB(i,s.publicKey),a={hasExpired:J.toMiliseconds(o.exp)<Date.now(),payload:o};if(a.hasExpired)throw this.logger.warn("resolve: jwt attestation expired"),new Error("JWT attestation expired");return{origin:a.payload.origin,isScam:a.payload.isScam,isVerified:a.payload.isVerified}}),this.logger=Gt(n,this.name),this.abortController=new AbortController,this.isDevEnv=Yl(),this.init()}get storeKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//verify:public:key"}get context(){return Rt(this.logger)}startAbortTimer(e){return this.abortController=new AbortController,setTimeout(()=>this.abortController.abort(),J.toMiliseconds(e))}}var LN=Object.defineProperty,MN=(t,e,n)=>e in t?LN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ly=(t,e,n)=>MN(t,typeof e!="symbol"?e+"":e,n);class jN extends yP{constructor(e,n){super(e,n),this.projectId=e,this.logger=n,Ly(this,"context",KD),Ly(this,"registerDeviceToken",async r=>{const{clientId:i,token:s,notificationType:o,enableEncrypted:a=!1}=r,c=`${VD}/${this.projectId}/clients`;await fetch(c,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client_id:i,type:o,token:s,always_raw:a})})}),this.logger=Gt(n,this.context)}}var zN=Object.defineProperty,My=Object.getOwnPropertySymbols,KN=Object.prototype.hasOwnProperty,VN=Object.prototype.propertyIsEnumerable,lh=(t,e,n)=>e in t?zN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ko=(t,e)=>{for(var n in e||(e={}))KN.call(e,n)&&lh(t,n,e[n]);if(My)for(var n of My(e))VN.call(e,n)&&lh(t,n,e[n]);return t},Qe=(t,e,n)=>lh(t,typeof e!="symbol"?e+"":e,n);class HN extends mP{constructor(e,n,r=!0){super(e,n,r),this.core=e,this.logger=n,Qe(this,"context",GD),Qe(this,"storagePrefix",qn),Qe(this,"storageVersion",HD),Qe(this,"events",new Map),Qe(this,"shouldPersist",!1),Qe(this,"init",async()=>{if(!Yl())try{const i={eventId:v1(),timestamp:Date.now(),domain:this.getAppDomain(),props:{event:"INIT",type:"",properties:{client_id:await this.core.crypto.getClientId(),user_agent:b1(this.core.relayer.protocol,this.core.relayer.version,$f)}}};await this.sendEvent([i])}catch(i){this.logger.warn(i)}}),Qe(this,"createEvent",i=>{const{event:s="ERROR",type:o="",properties:{topic:a,trace:c}}=i,u=v1(),l=this.core.projectId||"",f=Date.now(),d=Ko({eventId:u,timestamp:f,props:{event:s,type:o,properties:{topic:a,trace:c}},bundleId:l,domain:this.getAppDomain()},this.setMethods(u));return this.telemetryEnabled&&(this.events.set(u,d),this.shouldPersist=!0),d}),Qe(this,"getEvent",i=>{const{eventId:s,topic:o}=i;if(s)return this.events.get(s);const a=Array.from(this.events.values()).find(c=>c.props.properties.topic===o);if(a)return Ko(Ko({},a),this.setMethods(a.eventId))}),Qe(this,"deleteEvent",i=>{const{eventId:s}=i;this.events.delete(s),this.shouldPersist=!0}),Qe(this,"setEventListeners",()=>{this.core.heartbeat.on(qi.pulse,async()=>{this.shouldPersist&&await this.persist(),this.events.forEach(i=>{J.fromMiliseconds(Date.now())-J.fromMiliseconds(i.timestamp)>WD&&(this.events.delete(i.eventId),this.shouldPersist=!0)})})}),Qe(this,"setMethods",i=>({addTrace:s=>this.addTrace(i,s),setError:s=>this.setError(i,s)})),Qe(this,"addTrace",(i,s)=>{const o=this.events.get(i);o&&(o.props.properties.trace.push(s),this.events.set(i,o),this.shouldPersist=!0)}),Qe(this,"setError",(i,s)=>{const o=this.events.get(i);o&&(o.props.type=s,o.timestamp=Date.now(),this.events.set(i,o),this.shouldPersist=!0)}),Qe(this,"persist",async()=>{await this.core.storage.setItem(this.storageKey,Array.from(this.events.values())),this.shouldPersist=!1}),Qe(this,"restore",async()=>{try{const i=await this.core.storage.getItem(this.storageKey)||[];if(!i.length)return;i.forEach(s=>{this.events.set(s.eventId,Ko(Ko({},s),this.setMethods(s.eventId)))})}catch(i){this.logger.warn(i)}}),Qe(this,"submit",async()=>{if(!this.telemetryEnabled||this.events.size===0)return;const i=[];for(const[s,o]of this.events)o.props.type&&i.push(o);if(i.length!==0)try{if((await this.sendEvent(i)).ok)for(const s of i)this.events.delete(s.eventId),this.shouldPersist=!0}catch(s){this.logger.warn(s)}}),Qe(this,"sendEvent",async i=>{const s=this.getAppDomain()?"":"&sp=desktop";return await fetch(`${ZD}?projectId=${this.core.projectId}&st=events_sdk&sv=js-${$f}${s}`,{method:"POST",body:JSON.stringify(i)})}),Qe(this,"getAppDomain",()=>g1().url),this.logger=Gt(n,this.context),this.telemetryEnabled=r,r?this.restore().then(async()=>{await this.submit(),this.setEventListeners()}):this.persist()}get storageKey(){return this.storagePrefix+this.storageVersion+this.core.customStoragePrefix+"//"+this.context}}var GN=Object.defineProperty,jy=Object.getOwnPropertySymbols,WN=Object.prototype.hasOwnProperty,ZN=Object.prototype.propertyIsEnumerable,fh=(t,e,n)=>e in t?GN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,zy=(t,e)=>{for(var n in e||(e={}))WN.call(e,n)&&fh(t,n,e[n]);if(jy)for(var n of jy(e))ZN.call(e,n)&&fh(t,n,e[n]);return t},Re=(t,e,n)=>fh(t,typeof e!="symbol"?e+"":e,n);class hh extends oP{constructor(e){var n;super(e),Re(this,"protocol",ny),Re(this,"version",ry),Re(this,"name",Cc),Re(this,"relayUrl"),Re(this,"projectId"),Re(this,"customStoragePrefix"),Re(this,"events",new ut.exports.EventEmitter),Re(this,"logger"),Re(this,"heartbeat"),Re(this,"relayer"),Re(this,"crypto"),Re(this,"storage"),Re(this,"history"),Re(this,"expirer"),Re(this,"pairing"),Re(this,"verify"),Re(this,"echoClient"),Re(this,"linkModeSupportedApps"),Re(this,"eventClient"),Re(this,"initialized",!1),Re(this,"logChunkController"),Re(this,"on",(a,c)=>this.events.on(a,c)),Re(this,"once",(a,c)=>this.events.once(a,c)),Re(this,"off",(a,c)=>this.events.off(a,c)),Re(this,"removeListener",(a,c)=>this.events.removeListener(a,c)),Re(this,"dispatchEnvelope",({topic:a,message:c,sessionExists:u})=>{if(!a||!c)return;const l={topic:a,message:c,publishedAt:Date.now(),transportType:Te.link_mode};this.relayer.onLinkMessageEvent(l,{sessionExists:u})});const r=this.getGlobalCore(e?.customStoragePrefix);if(r)try{return this.customStoragePrefix=r.customStoragePrefix,this.logger=r.logger,this.heartbeat=r.heartbeat,this.crypto=r.crypto,this.history=r.history,this.expirer=r.expirer,this.storage=r.storage,this.relayer=r.relayer,this.pairing=r.pairing,this.verify=r.verify,this.echoClient=r.echoClient,this.linkModeSupportedApps=r.linkModeSupportedApps,this.eventClient=r.eventClient,this.initialized=r.initialized,this.logChunkController=r.logChunkController,r}catch(a){console.warn("Failed to copy global core",a)}this.projectId=e?.projectId,this.relayUrl=e?.relayUrl||oy,this.customStoragePrefix=e!=null&&e.customStoragePrefix?`:${e.customStoragePrefix}`:"";const i=Jc({level:typeof e?.logger=="string"&&e.logger?e.logger:pD.logger,name:Cc}),{logger:s,chunkLoggerController:o}=nd({opts:i,maxSizeInBytes:e?.maxLogBlobSizeInBytes,loggerOverride:e?.logger});this.logChunkController=o,(n=this.logChunkController)!=null&&n.downloadLogsBlobInBrowser&&(window.downloadLogsBlobInBrowser=async()=>{var a,c;(a=this.logChunkController)!=null&&a.downloadLogsBlobInBrowser&&((c=this.logChunkController)==null||c.downloadLogsBlobInBrowser({clientId:await this.crypto.getClientId()}))}),this.logger=Gt(s,this.name),this.heartbeat=new Vf,this.crypto=new ET(this,this.logger,e?.keychain),this.history=new TN(this,this.logger),this.expirer=new CN(this,this.logger),this.storage=e!=null&&e.storage?e.storage:new rP(zy(zy({},gD),e?.storageOptions)),this.relayer=new YT({core:this,logger:this.logger,relayUrl:this.relayUrl,projectId:this.projectId}),this.pairing=new PN(this,this.logger),this.verify=new kN(this,this.logger,this.storage),this.echoClient=new jN(this.projectId||"",this.logger),this.linkModeSupportedApps=[],this.eventClient=new HN(this,this.logger,e?.telemetryEnabled),this.setGlobalCore(this)}static async init(e){const n=new hh(e);await n.initialize();const r=await n.crypto.getClientId();return await n.storage.setItem(DD,r),n}get context(){return Rt(this.logger)}async start(){this.initialized||await this.initialize()}async getLogsBlob(){var e;return(e=this.logChunkController)==null?void 0:e.logsToBlob({clientId:await this.crypto.getClientId()})}async addLinkModeSupportedApp(e){this.linkModeSupportedApps.includes(e)||(this.linkModeSupportedApps.push(e),await this.storage.setItem(ay,this.linkModeSupportedApps))}async initialize(){this.logger.trace("Initialized");try{await this.crypto.init(),await this.history.init(),await this.expirer.init(),await this.relayer.init(),await this.heartbeat.init(),await this.pairing.init(),this.linkModeSupportedApps=await this.storage.getItem(ay)||[],this.initialized=!0,this.logger.info("Core Initialization Success")}catch(e){throw this.logger.warn(e,`Core Initialization Failure at epoch ${Date.now()}`),this.logger.error(e.message),e}}getGlobalCore(e=""){try{if(this.isGlobalCoreDisabled())return;const n=`_walletConnectCore_${e}`,r=`${n}_count`;return globalThis[r]=(globalThis[r]||0)+1,globalThis[r]>1&&console.warn(`WalletConnect Core is already initialized. This is probably a mistake and can lead to unexpected behavior. Init() was called ${globalThis[r]} times.`),globalThis[n]}catch(n){console.warn("Failed to get global WalletConnect core",n);return}}setGlobalCore(e){var n;try{if(this.isGlobalCoreDisabled())return;const r=`_walletConnectCore_${((n=e.opts)==null?void 0:n.customStoragePrefix)||""}`;globalThis[r]=e}catch(r){console.warn("Failed to set global WalletConnect core",r)}}isGlobalCoreDisabled(){try{return typeof process<"u"&&process.env.DISABLE_GLOBAL_CORE==="true"}catch{return!0}}}const dh=hh,Ky="wc",Vy=2,Hy="client",ph=`${Ky}@${Vy}:${Hy}:`,gh={name:Hy,logger:"error",controller:!1,relayUrl:"wss://relay.walletconnect.org"},Gy="WALLETCONNECT_DEEPLINK_CHOICE",YN="proposal",Wy="Proposal expired",XN="session",As=J.SEVEN_DAYS,JN="engine",st={wc_sessionPropose:{req:{ttl:J.FIVE_MINUTES,prompt:!0,tag:1100},res:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1101},reject:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1120},autoReject:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1121}},wc_sessionSettle:{req:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1102},res:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1103}},wc_sessionUpdate:{req:{ttl:J.ONE_DAY,prompt:!1,tag:1104},res:{ttl:J.ONE_DAY,prompt:!1,tag:1105}},wc_sessionExtend:{req:{ttl:J.ONE_DAY,prompt:!1,tag:1106},res:{ttl:J.ONE_DAY,prompt:!1,tag:1107}},wc_sessionRequest:{req:{ttl:J.FIVE_MINUTES,prompt:!0,tag:1108},res:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1109}},wc_sessionEvent:{req:{ttl:J.FIVE_MINUTES,prompt:!0,tag:1110},res:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1111}},wc_sessionDelete:{req:{ttl:J.ONE_DAY,prompt:!1,tag:1112},res:{ttl:J.ONE_DAY,prompt:!1,tag:1113}},wc_sessionPing:{req:{ttl:J.ONE_DAY,prompt:!1,tag:1114},res:{ttl:J.ONE_DAY,prompt:!1,tag:1115}},wc_sessionAuthenticate:{req:{ttl:J.ONE_HOUR,prompt:!0,tag:1116},res:{ttl:J.ONE_HOUR,prompt:!1,tag:1117},reject:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1118},autoReject:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1119}}},bh={min:J.FIVE_MINUTES,max:J.SEVEN_DAYS},Mn={idle:"IDLE",active:"ACTIVE"},QN={eth_sendTransaction:{key:""},eth_sendRawTransaction:{key:""},wallet_sendCalls:{key:""},solana_signTransaction:{key:"signature"},solana_signAllTransactions:{key:"transactions"},solana_signAndSendTransaction:{key:"signature"},sui_signAndExecuteTransaction:{key:"digest"},sui_signTransaction:{key:""},hedera_signAndExecuteTransaction:{key:"transactionId"},hedera_executeTransaction:{key:"transactionId"},near_signTransaction:{key:""},near_signTransactions:{key:""},tron_signTransaction:{key:"txID"},xrpl_signTransaction:{key:""},xrpl_signTransactionFor:{key:""},algo_signTxn:{key:""},sendTransfer:{key:"txid"},stacks_stxTransfer:{key:"txId"},polkadot_signTransaction:{key:""},cosmos_signDirect:{key:""}},_N="request",$N=["wc_sessionPropose","wc_sessionRequest","wc_authRequest","wc_sessionAuthenticate"],eU="wc",tU="auth",nU="authKeys",rU="pairingTopics",iU="requests",kc=`${eU}@${1.5}:${tU}:`,Lc=`${kc}:PUB_KEY`;var sU=Object.defineProperty,oU=Object.defineProperties,aU=Object.getOwnPropertyDescriptors,Zy=Object.getOwnPropertySymbols,cU=Object.prototype.hasOwnProperty,uU=Object.prototype.propertyIsEnumerable,wh=(t,e,n)=>e in t?sU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ve=(t,e)=>{for(var n in e||(e={}))cU.call(e,n)&&wh(t,n,e[n]);if(Zy)for(var n of Zy(e))uU.call(e,n)&&wh(t,n,e[n]);return t},ot=(t,e)=>oU(t,aU(e)),Y=(t,e,n)=>wh(t,typeof e!="symbol"?e+"":e,n);class lU extends IP{constructor(e){super(e),Y(this,"name",JN),Y(this,"events",new ut.exports),Y(this,"initialized",!1),Y(this,"requestQueue",{state:Mn.idle,queue:[]}),Y(this,"sessionRequestQueue",{state:Mn.idle,queue:[]}),Y(this,"emittedSessionRequests",new dI({limit:500})),Y(this,"requestQueueDelay",J.ONE_SECOND),Y(this,"expectedPairingMethodMap",new Map),Y(this,"recentlyDeletedMap",new Map),Y(this,"recentlyDeletedLimit",200),Y(this,"relayMessageCache",[]),Y(this,"pendingSessions",new Map),Y(this,"init",async()=>{this.initialized||(await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.registerPairingEvents(),await this.registerLinkModeListeners(),this.client.core.pairing.register({methods:Object.keys(st)}),this.initialized=!0,setTimeout(async()=>{await this.processPendingMessageEvents(),this.sessionRequestQueue.queue=this.getPendingSessionRequests(),this.processSessionRequestQueue()},J.toMiliseconds(this.requestQueueDelay)))}),Y(this,"connect",async n=>{var r;this.isInitialized(),await this.confirmOnlineStateOrThrow();const i=ot(ve({},n),{requiredNamespaces:n.requiredNamespaces||{},optionalNamespaces:n.optionalNamespaces||{}});await this.isValidConnect(i),i.optionalNamespaces=SB(i.requiredNamespaces,i.optionalNamespaces),i.requiredNamespaces={};const{pairingTopic:s,requiredNamespaces:o,optionalNamespaces:a,sessionProperties:c,scopedProperties:u,relays:l,authentication:f,walletPay:d}=i,h=((r=f?.[0])==null?void 0:r.ttl)||st.wc_sessionPropose.req.ttl||J.FIVE_MINUTES;this.validateRequestExpiry(h);let p=s,w,m=!1;try{if(p){const R=this.client.core.pairing.pairings.get(p);this.client.logger.warn("connect() with existing pairing topic is deprecated and will be removed in the next major release."),m=R.active}}catch(R){throw this.client.logger.error(`connect() -> pairing.get(${p}) failed`),R}if(!p||!m){const{topic:R,uri:G}=await this.client.core.pairing.create({internal:{skipSubscribe:!0}});p=R,w=G}if(!p){const{message:R}=_("NO_MATCHING_KEY",`connect() pairing topic: ${p}`);throw new Error(R)}const P=await this.client.core.crypto.generateKeyPair(),T=Ve(h),I=ve(ot(ve(ve({requiredNamespaces:o,optionalNamespaces:a,relays:l??[{protocol:sy}],proposer:{publicKey:P,metadata:this.client.metadata},expiryTimestamp:T,pairingTopic:p},c&&{sessionProperties:c}),u&&{scopedProperties:u}),{id:Cn()}),(f||d)&&{requests:{authentication:f?.map(R=>{const{domain:G,chains:H,nonce:E,uri:b,exp:v,nbf:g,type:y,statement:B,requestId:A,resources:O,signatureTypes:D}=R;return{domain:G,chains:H,nonce:E,type:y??"caip122",aud:b,version:"1",iat:new Date().toISOString(),exp:v,nbf:g,statement:B,requestId:A,resources:O,signatureTypes:D}}),walletPay:d}}),x=Ee("session_connect",I.id),{reject:S,resolve:U,done:k}=xi(h,Wy),F=({id:R})=>{R===I.id&&(this.client.events.off("proposal_expire",F),this.pendingSessions.delete(I.id),this.events.emit(x,{error:{message:Wy,code:0}}))};return this.client.events.on("proposal_expire",F),this.events.once(x,({error:R,session:G})=>{this.client.events.off("proposal_expire",F),R?S(R):G&&U(G)}),await this.setProposal(I.id,I),await this.sendProposeSession({proposal:I,publishOpts:{internal:{throwOnFailedPublish:!0},tvf:{correlationId:I.id}}}).catch(R=>{throw this.deleteProposal(I.id),R}),{uri:w,approval:k}}),Y(this,"pair",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{return await this.client.core.pairing.pair(n)}catch(r){throw this.client.logger.error("pair() failed"),r}}),Y(this,"approve",async n=>{var r,i,s;const o=this.client.core.eventClient.createEvent({properties:{topic:(r=n?.id)==null?void 0:r.toString(),trace:[In.session_approve_started]}});try{this.isInitialized(),await this.confirmOnlineStateOrThrow()}catch(G){throw o.setError(Mi.no_internet_connection),G}try{await this.isValidProposalId(n?.id)}catch(G){throw this.client.logger.error(`approve() -> proposal.get(${n?.id}) failed`),o.setError(Mi.proposal_not_found),G}try{await this.isValidApprove(n)}catch(G){throw this.client.logger.error("approve() -> isValidApprove() failed"),o.setError(Mi.session_approve_namespace_validation_failure),G}const{id:a,relayProtocol:c,namespaces:u,sessionProperties:l,scopedProperties:f,sessionConfig:d,proposalRequestsResponses:h}=n,p=this.client.proposal.get(a);this.client.core.eventClient.deleteEvent({eventId:o.eventId});const{pairingTopic:w,proposer:m,requiredNamespaces:P,optionalNamespaces:T}=p;let I=(i=this.client.core.eventClient)==null?void 0:i.getEvent({topic:w});I||(I=(s=this.client.core.eventClient)==null?void 0:s.createEvent({type:In.session_approve_started,properties:{topic:w,trace:[In.session_approve_started,In.session_namespaces_validation_success]}}));const x=await this.client.core.crypto.generateKeyPair(),S=m.publicKey,U=await this.client.core.crypto.generateSharedKey(x,S),k=ot(ve(ve(ve({relay:{protocol:c??"irn"},namespaces:u,controller:{publicKey:x,metadata:this.client.metadata},expiry:Ve(As)},l&&{sessionProperties:l}),f&&{scopedProperties:f}),d&&{sessionConfig:d}),{proposalRequestsResponses:h}),F=Te.relay;I.addTrace(In.subscribing_session_topic);try{await this.client.core.relayer.subscribe(U,{transportType:F,internal:{skipSubscribe:!0}})}catch(G){throw I.setError(Mi.subscribe_session_topic_failure),G}I.addTrace(In.subscribe_session_topic_success);const R=ot(ve({},k),{topic:U,requiredNamespaces:P,optionalNamespaces:T,pairingTopic:w,acknowledged:!1,self:k.controller,peer:{publicKey:m.publicKey,metadata:m.metadata},controller:x,transportType:Te.relay,authentication:h?.authentication,walletPayResult:h?.walletPay});await this.client.session.set(U,R),I.addTrace(In.store_session);try{await this.sendApproveSession({sessionTopic:U,proposal:p,pairingProposalResponse:{relay:{protocol:c??"irn"},responderPublicKey:x},sessionSettleRequest:k,publishOpts:{internal:{throwOnFailedPublish:!0},tvf:ve({correlationId:a},this.getTVFApproveParams(R))}}),I.addTrace(In.session_approve_publish_success)}catch(G){throw this.client.logger.error(G),this.client.session.delete(U,Ue("USER_DISCONNECTED")),await this.client.core.relayer.unsubscribe(U),G}return this.client.core.eventClient.deleteEvent({eventId:I.eventId}),await this.client.core.pairing.updateMetadata({topic:w,metadata:m.metadata}),await this.deleteProposal(a),await this.client.core.pairing.activate({topic:w}),await this.setExpiry(U,Ve(As)),{topic:U,acknowledged:()=>Promise.resolve(this.client.session.get(U))}}),Y(this,"reject",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidReject(n)}catch(o){throw this.client.logger.error("reject() -> isValidReject() failed"),o}const{id:r,reason:i}=n;let s;try{s=this.client.proposal.get(r).pairingTopic}catch(o){throw this.client.logger.error(`reject() -> proposal.get(${r}) failed`),o}s&&await this.sendError({id:r,topic:s,error:i,rpcOpts:st.wc_sessionPropose.reject}),await this.deleteProposal(r)}),Y(this,"update",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidUpdate(n)}catch(f){throw this.client.logger.error("update() -> isValidUpdate() failed"),f}const{topic:r,namespaces:i}=n,{done:s,resolve:o,reject:a}=xi(J.FIVE_MINUTES,"Session update request expired without receiving any acknowledgement"),c=Cn(),u=ri().toString(),l=this.client.session.get(r).namespaces;return this.events.once(Ee("session_update",c),({error:f})=>{f?a(f):o()}),await this.client.session.update(r,{namespaces:i}),await this.sendRequest({topic:r,method:"wc_sessionUpdate",params:{namespaces:i},throwOnFailedPublish:!0,clientRpcId:c,relayRpcId:u}).catch(f=>{this.client.logger.error(f),this.client.session.update(r,{namespaces:l}),a(f)}),{acknowledged:s}}),Y(this,"extend",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidExtend(n)}catch(c){throw this.client.logger.error("extend() -> isValidExtend() failed"),c}const{topic:r}=n,i=Cn(),{done:s,resolve:o,reject:a}=xi(J.FIVE_MINUTES,"Session extend request expired without receiving any acknowledgement");return this.events.once(Ee("session_extend",i),({error:c})=>{c?a(c):o()}),await this.setExpiry(r,Ve(As)),this.sendRequest({topic:r,method:"wc_sessionExtend",params:{},clientRpcId:i,throwOnFailedPublish:!0}).catch(c=>{a(c)}),{acknowledged:s}}),Y(this,"request",async n=>{this.isInitialized();try{await this.isValidRequest(n)}catch(m){throw this.client.logger.error("request() -> isValidRequest() failed"),m}const{chainId:r,request:i,topic:s,expiry:o=st.wc_sessionRequest.req.ttl}=n,a=this.client.session.get(s);a?.transportType===Te.relay&&await this.confirmOnlineStateOrThrow();const c=Cn(),u=ri().toString(),{done:l,resolve:f,reject:d}=xi(o,"Request expired. Please try again.");this.events.once(Ee("session_request",c),({error:m,result:P})=>{m?d(m):f(P)});const h="wc_sessionRequest",p=this.getAppLinkIfEnabled(a.peer.metadata,a.transportType);if(p)return await this.sendRequest({clientRpcId:c,relayRpcId:u,topic:s,method:h,params:{request:ot(ve({},i),{expiryTimestamp:Ve(o)}),chainId:r},expiry:o,throwOnFailedPublish:!0,appLink:p}).catch(m=>d(m)),this.client.events.emit("session_request_sent",{topic:s,request:i,chainId:r,id:c}),await l();const w={request:ot(ve({},i),{expiryTimestamp:Ve(o)}),chainId:r};return await Promise.all([new Promise(async m=>{await this.sendRequest({clientRpcId:c,relayRpcId:u,topic:s,method:h,params:w,expiry:o,throwOnFailedPublish:!0,tvf:this.getTVFParams(c,w)}).catch(P=>d(P)),this.client.events.emit("session_request_sent",{topic:s,request:i,chainId:r,id:c}),m()}),new Promise(async m=>{var P;if(!((P=a.sessionConfig)!=null&&P.disableDeepLink)){const T=await cI(this.client.core.storage,Gy);await sI({id:c,topic:s,wcDeepLink:T})}m()}),l()]).then(m=>m[2])}),Y(this,"respond",async n=>{var r,i;this.isInitialized();const s=this.client.core.eventClient.createEvent({properties:{topic:n?.topic||((i=(r=n?.response)==null?void 0:r.id)==null?void 0:i.toString()),trace:[In.session_request_response_started]}});try{await this.isValidRespond(n)}catch(f){throw s.addTrace(f?.message),s.setError(Mi.session_request_response_validation_failure),f}s.addTrace(In.session_request_response_validation_success);const{topic:o,response:a}=n,{id:c}=a,u=this.client.session.get(o);u.transportType===Te.relay&&await this.confirmOnlineStateOrThrow();const l=this.getAppLinkIfEnabled(u.peer.metadata,u.transportType);try{s.addTrace(In.session_request_response_publish_started),Fn(a)?await this.sendResult({id:c,topic:o,result:a.result,throwOnFailedPublish:!0,appLink:l}):un(a)&&await this.sendError({id:c,topic:o,error:a.error,appLink:l}),this.cleanupAfterResponse(n)}catch(f){throw s.addTrace(f?.message),s.setError(Mi.session_request_response_publish_failure),f}}),Y(this,"ping",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidPing(n)}catch(i){throw this.client.logger.error("ping() -> isValidPing() failed"),i}const{topic:r}=n;if(this.client.session.keys.includes(r)){const i=Cn(),s=ri().toString(),{done:o,resolve:a,reject:c}=xi(J.FIVE_MINUTES,"Ping request expired without receiving any acknowledgement");this.events.once(Ee("session_ping",i),({error:u})=>{u?c(u):a()}),await Promise.all([this.sendRequest({topic:r,method:"wc_sessionPing",params:{},throwOnFailedPublish:!0,clientRpcId:i,relayRpcId:s}),o()])}else this.client.core.pairing.pairings.keys.includes(r)&&(this.client.logger.warn("ping() on pairing topic is deprecated and will be removed in the next major release."),await this.client.core.pairing.ping({topic:r}))}),Y(this,"emit",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow(),await this.isValidEmit(n);const{topic:r,event:i,chainId:s}=n,o=ri().toString(),a=Cn();await this.sendRequest({topic:r,method:"wc_sessionEvent",params:{event:i,chainId:s},throwOnFailedPublish:!0,relayRpcId:o,clientRpcId:a})}),Y(this,"disconnect",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow(),await this.isValidDisconnect(n);const{topic:r}=n;if(this.client.session.keys.includes(r))await this.sendRequest({topic:r,method:"wc_sessionDelete",params:Ue("USER_DISCONNECTED"),throwOnFailedPublish:!0}),await this.deleteSession({topic:r,emitEvent:!1});else if(this.client.core.pairing.pairings.keys.includes(r))await this.client.core.pairing.disconnect({topic:r});else{const{message:i}=_("MISMATCHED_TOPIC",`Session or pairing topic not found: ${r}`);throw new Error(i)}}),Y(this,"find",n=>(this.isInitialized(),this.client.session.getAll().filter(r=>AB(r,n)))),Y(this,"getPendingSessionRequests",()=>this.client.pendingRequest.getAll()),Y(this,"authenticate",async(n,r)=>{var i;this.isInitialized(),this.isValidAuthenticate(n);const s=r&&this.client.core.linkModeSupportedApps.includes(r)&&((i=this.client.metadata.redirect)==null?void 0:i.linkMode),o=s?Te.link_mode:Te.relay;o===Te.relay&&await this.confirmOnlineStateOrThrow();const{chains:a,statement:c="",uri:u,domain:l,nonce:f,type:d,exp:h,nbf:p,methods:w=[],expiry:m}=n,P=[...n.resources||[]],{topic:T,uri:I}=await this.client.core.pairing.create({methods:["wc_sessionAuthenticate"],transportType:o});this.client.logger.info({message:"Generated new pairing",pairing:{topic:T,uri:I}});const x=await this.client.core.crypto.generateKeyPair(),S=mc(x);if(await Promise.all([this.client.auth.authKeys.set(Lc,{responseTopic:S,publicKey:x}),this.client.auth.pairingTopics.set(S,{topic:S,pairingTopic:T})]),await this.client.core.relayer.subscribe(S,{transportType:o}),this.client.logger.info(`sending request to new pairing topic: ${T}`),w.length>0){const{namespace:O}=_a(a[0]);let D=B9(O,"request",w);ac(P)&&(D=A9(D,P.pop())),P.push(D)}const U=m&&m>st.wc_sessionAuthenticate.req.ttl?m:st.wc_sessionAuthenticate.req.ttl,k={authPayload:{type:d??"caip122",chains:a,statement:c,aud:u,domain:l,version:"1",nonce:f,iat:new Date().toISOString(),exp:h,nbf:p,resources:P},requester:{publicKey:x,metadata:this.client.metadata},expiryTimestamp:Ve(U)},F={eip155:{chains:a,methods:[...new Set(["personal_sign",...w])],events:["chainChanged","accountsChanged"]}},R={requiredNamespaces:{},optionalNamespaces:F,relays:[{protocol:"irn"}],pairingTopic:T,proposer:{publicKey:x,metadata:this.client.metadata},expiryTimestamp:Ve(st.wc_sessionPropose.req.ttl),id:Cn()},{done:G,resolve:H,reject:E}=xi(U,"Request expired"),b=Cn(),v=Ee("session_connect",R.id),g=Ee("session_request",b),y=async({error:O,session:D})=>{this.events.off(g,B),O?E(O):D&&H({session:D})},B=async O=>{var D,C,M;if(await this.deletePendingAuthRequest(b,{message:"fulfilled",code:0}),O.error){const N=Ue("WC_METHOD_UNSUPPORTED","wc_sessionAuthenticate");return O.error.code===N.code?void 0:(this.events.off(v,y),E(O.error.message))}await this.deleteProposal(R.id),this.events.off(v,y);const{cacaos:L,responder:V}=O.result,q=[],W=[];for(const N of L){await W1({cacao:N,projectId:this.client.core.projectId})||(this.client.logger.error(N,"Signature verification failed"),E(Ue("SESSION_SETTLEMENT_FAILED","Signature verification failed")));const{p:j}=N,K=ac(j.resources),X=[nf(j.iss)],ee=oc(j.iss);if(K){const $=X1(K),re=J1(K);q.push(...$),X.push(...re)}for(const $ of X)W.push(`${$}:${ee}`)}const Z=await this.client.core.crypto.generateSharedKey(x,V.publicKey);let z;q.length>0&&(z={topic:Z,acknowledged:!0,self:{publicKey:x,metadata:this.client.metadata},peer:V,controller:V.publicKey,expiry:Ve(As),requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:T,namespaces:iw([...new Set(q)],[...new Set(W)]),transportType:o},await this.client.core.relayer.subscribe(Z,{transportType:o}),await this.client.session.set(Z,z),T&&await this.client.core.pairing.updateMetadata({topic:T,metadata:V.metadata}),z=this.client.session.get(Z)),(D=this.client.metadata.redirect)!=null&&D.linkMode&&(C=V.metadata.redirect)!=null&&C.linkMode&&(M=V.metadata.redirect)!=null&&M.universal&&r&&(this.client.core.addLinkModeSupportedApp(V.metadata.redirect.universal),this.client.session.update(Z,{transportType:Te.link_mode})),H({auths:L,session:z})};this.events.once(v,y),this.events.once(g,B);let A;try{if(s){const O=hr("wc_sessionAuthenticate",k,b);this.client.core.history.set(T,O);const D=await this.client.core.crypto.encode("",O,{type:Eo,encoding:_r});A=Ec(r,T,D)}else await Promise.all([this.sendRequest({topic:T,method:"wc_sessionAuthenticate",params:k,expiry:n.expiry,throwOnFailedPublish:!0,clientRpcId:b}),this.sendRequest({topic:T,method:"wc_sessionPropose",params:R,expiry:st.wc_sessionPropose.req.ttl,throwOnFailedPublish:!0,clientRpcId:R.id})])}catch(O){throw this.events.off(v,y),this.events.off(g,B),O}return await this.setProposal(R.id,R),await this.setAuthRequest(b,{request:ot(ve({},k),{verifyContext:{}}),pairingTopic:T,transportType:o}),{uri:A??I,response:G}}),Y(this,"approveSessionAuthenticate",async n=>{const{id:r,auths:i}=n,s=this.client.core.eventClient.createEvent({properties:{topic:r.toString(),trace:[ji.authenticated_session_approve_started]}});try{this.isInitialized()}catch(m){throw s.setError(ko.no_internet_connection),m}const o=this.getPendingAuthRequest(r);if(!o)throw s.setError(ko.authenticated_session_pending_request_not_found),new Error(`Could not find pending auth request with id ${r}`);const a=o.transportType||Te.relay;a===Te.relay&&await this.confirmOnlineStateOrThrow();const c=o.requester.publicKey,u=await this.client.core.crypto.generateKeyPair(),l=mc(c),f={type:ar,receiverPublicKey:c,senderPublicKey:u},d=[],h=[];for(const m of i){if(!await W1({cacao:m,projectId:this.client.core.projectId})){s.setError(ko.invalid_cacao);const S=Ue("SESSION_SETTLEMENT_FAILED","Signature verification failed");throw await this.sendError({id:r,topic:l,error:S,encodeOpts:f}),new Error(S.message)}s.addTrace(ji.cacaos_verified);const{p:P}=m,T=ac(P.resources),I=[nf(P.iss)],x=oc(P.iss);if(T){const S=X1(T),U=J1(T);d.push(...S),I.push(...U)}for(const S of I)h.push(`${S}:${x}`)}const p=await this.client.core.crypto.generateSharedKey(u,c);s.addTrace(ji.create_authenticated_session_topic);let w;if(d?.length>0){w={topic:p,acknowledged:!0,self:{publicKey:u,metadata:this.client.metadata},peer:{publicKey:c,metadata:o.requester.metadata},controller:c,expiry:Ve(As),authentication:i,requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:o.pairingTopic,namespaces:iw([...new Set(d)],[...new Set(h)]),transportType:a},s.addTrace(ji.subscribing_authenticated_session_topic);try{await this.client.core.relayer.subscribe(p,{transportType:a})}catch(m){throw s.setError(ko.subscribe_authenticated_session_topic_failure),m}s.addTrace(ji.subscribe_authenticated_session_topic_success),await this.client.session.set(p,w),s.addTrace(ji.store_authenticated_session),await this.client.core.pairing.updateMetadata({topic:o.pairingTopic,metadata:o.requester.metadata})}s.addTrace(ji.publishing_authenticated_session_approve);try{await this.sendResult({topic:l,id:r,result:{cacaos:i,responder:{publicKey:u,metadata:this.client.metadata}},encodeOpts:f,throwOnFailedPublish:!0,appLink:this.getAppLinkIfEnabled(o.requester.metadata,a)})}catch(m){throw s.setError(ko.authenticated_session_approve_publish_failure),m}return await this.client.auth.requests.delete(r,{message:"fulfilled",code:0}),await this.client.core.pairing.activate({topic:o.pairingTopic}),this.client.core.eventClient.deleteEvent({eventId:s.eventId}),{session:w}}),Y(this,"rejectSessionAuthenticate",async n=>{this.isInitialized();const{id:r,reason:i}=n,s=this.getPendingAuthRequest(r);if(!s)throw new Error(`Could not find pending auth request with id ${r}`);s.transportType===Te.relay&&await this.confirmOnlineStateOrThrow();const o=s.requester.publicKey,a=await this.client.core.crypto.generateKeyPair(),c=mc(o),u={type:ar,receiverPublicKey:o,senderPublicKey:a};await this.sendError({id:r,topic:c,error:i,encodeOpts:u,rpcOpts:st.wc_sessionAuthenticate.reject,appLink:this.getAppLinkIfEnabled(s.requester.metadata,s.transportType)}),await this.client.auth.requests.delete(r,{message:"rejected",code:0}),await this.deleteProposal(r)}),Y(this,"formatAuthMessage",n=>{this.isInitialized();const{request:r,iss:i}=n;return Z1(r,i)}),Y(this,"processRelayMessageCache",()=>{setTimeout(async()=>{if(this.relayMessageCache.length!==0)for(;this.relayMessageCache.length>0;)try{const n=this.relayMessageCache.shift();n&&await this.onRelayMessage(n)}catch(n){this.client.logger.error(n)}},50)}),Y(this,"cleanupDuplicatePairings",async n=>{if(n.pairingTopic)try{const r=this.client.core.pairing.pairings.get(n.pairingTopic),i=this.client.core.pairing.pairings.getAll().filter(s=>{var o,a;return((o=s.peerMetadata)==null?void 0:o.url)&&((a=s.peerMetadata)==null?void 0:a.url)===n.peer.metadata.url&&s.topic&&s.topic!==r.topic});if(i.length===0)return;this.client.logger.info(`Cleaning up ${i.length} duplicate pairing(s)`),await Promise.all(i.map(s=>this.client.core.pairing.disconnect({topic:s.topic}))),this.client.logger.info("Duplicate pairings clean up finished")}catch(r){this.client.logger.error(r)}}),Y(this,"deleteSession",async n=>{var r;const{topic:i,expirerHasDeleted:s=!1,emitEvent:o=!0,id:a=0}=n,{self:c}=this.client.session.get(i);await this.client.core.relayer.unsubscribe(i),await this.client.session.delete(i,Ue("USER_DISCONNECTED")),this.addToRecentlyDeleted(i,"session"),this.client.core.crypto.keychain.has(c.publicKey)&&await this.client.core.crypto.deleteKeyPair(c.publicKey),this.client.core.crypto.keychain.has(i)&&await this.client.core.crypto.deleteSymKey(i),s||this.client.core.expirer.del(i),this.client.core.storage.removeItem(Gy).catch(u=>this.client.logger.warn(u)),i===((r=this.sessionRequestQueue.queue[0])==null?void 0:r.topic)&&(this.sessionRequestQueue.state=Mn.idle),await Promise.all(this.getPendingSessionRequests().filter(u=>u.topic===i).map(u=>this.deletePendingSessionRequest(u.id,Ue("USER_DISCONNECTED")))),o&&this.client.events.emit("session_delete",{id:a,topic:i})}),Y(this,"deleteProposal",async(n,r)=>{if(r)try{const i=this.client.proposal.get(n);this.client.core.eventClient.getEvent({topic:i.pairingTopic})?.setError(Mi.proposal_expired)}catch{}await Promise.all([this.client.proposal.delete(n,Ue("USER_DISCONNECTED")),r?Promise.resolve():this.client.core.expirer.del(n)]),this.addToRecentlyDeleted(n,"proposal")}),Y(this,"deletePendingSessionRequest",async(n,r,i=!1)=>{await Promise.all([this.client.pendingRequest.delete(n,r),i?Promise.resolve():this.client.core.expirer.del(n)]),this.addToRecentlyDeleted(n,"request"),this.sessionRequestQueue.queue=this.sessionRequestQueue.queue.filter(s=>s.id!==n),i&&(this.sessionRequestQueue.state=Mn.idle,this.client.events.emit("session_request_expire",{id:n}))}),Y(this,"deletePendingAuthRequest",async(n,r,i=!1)=>{await Promise.all([this.client.auth.requests.delete(n,r),i?Promise.resolve():this.client.core.expirer.del(n)])}),Y(this,"setExpiry",async(n,r)=>{this.client.session.keys.includes(n)&&(this.client.core.expirer.set(n,r),await this.client.session.update(n,{expiry:r}))}),Y(this,"setProposal",async(n,r)=>{this.client.core.expirer.set(n,Ve(st.wc_sessionPropose.req.ttl)),await this.client.proposal.set(n,r)}),Y(this,"setAuthRequest",async(n,r)=>{const{request:i,pairingTopic:s,transportType:o=Te.relay}=r;this.client.core.expirer.set(n,i.expiryTimestamp),await this.client.auth.requests.set(n,{authPayload:i.authPayload,requester:i.requester,expiryTimestamp:i.expiryTimestamp,id:n,pairingTopic:s,verifyContext:i.verifyContext,transportType:o})}),Y(this,"setPendingSessionRequest",async n=>{const{id:r,topic:i,params:s,verifyContext:o}=n,a=s.request.expiryTimestamp||Ve(st.wc_sessionRequest.req.ttl);this.client.core.expirer.set(r,a),await this.client.pendingRequest.set(r,{id:r,topic:i,params:s,verifyContext:o})}),Y(this,"sendRequest",async n=>{const{topic:r,method:i,params:s,expiry:o,relayRpcId:a,clientRpcId:c,throwOnFailedPublish:u,appLink:l,tvf:f,publishOpts:d={}}=n,h=hr(i,s,c);let p;const w=!!l;try{const T=w?_r:Mt;p=await this.client.core.crypto.encode(r,h,{encoding:T})}catch(T){throw await this.cleanup(),this.client.logger.error(`sendRequest() -> core.crypto.encode() for topic ${r} failed`),T}let m;if($N.includes(i)){const T=an(JSON.stringify(h)),I=an(p);m=await this.client.core.verify.register({id:I,decryptedId:T})}const P=ve(ve({},st[i].req),d);if(P.attestation=m,o&&(P.ttl=o),a&&(P.id=a),this.client.core.history.set(r,h),w){const T=Ec(l,r,p);await global.Linking.openURL(T,this.client.name)}else P.tvf=ot(ve({},f),{correlationId:h.id}),u?(P.internal=ot(ve({},P.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(r,p,P)):this.client.core.relayer.publish(r,p,P).catch(T=>this.client.logger.error(T));return h.id}),Y(this,"sendProposeSession",async n=>{const{proposal:r,publishOpts:i}=n,s=hr("wc_sessionPropose",r,r.id);this.client.core.history.set(r.pairingTopic,s);const o=await this.client.core.crypto.encode(r.pairingTopic,s,{encoding:Mt}),a=an(JSON.stringify(s)),c=an(o),u=await this.client.core.verify.register({id:c,decryptedId:a});await this.client.core.relayer.publishCustom({payload:{pairingTopic:r.pairingTopic,sessionProposal:o},opts:ot(ve({},i),{publishMethod:"wc_proposeSession",attestation:u})})}),Y(this,"sendApproveSession",async n=>{const{sessionTopic:r,pairingProposalResponse:i,proposal:s,sessionSettleRequest:o,publishOpts:a}=n,c=Nc(s.id,i),u=await this.client.core.crypto.encode(s.pairingTopic,c,{encoding:Mt}),l=hr("wc_sessionSettle",o,a?.id),f=await this.client.core.crypto.encode(r,l,{encoding:Mt});this.client.core.history.set(r,l),await this.client.core.relayer.publishCustom({payload:{sessionTopic:r,pairingTopic:s.pairingTopic,sessionProposalResponse:u,sessionSettlementRequest:f},opts:ot(ve({},a),{publishMethod:"wc_approveSession"})})}),Y(this,"sendResult",async n=>{const{id:r,topic:i,result:s,throwOnFailedPublish:o,encodeOpts:a,appLink:c}=n,u=Nc(r,s);let l;const f=c&&typeof(global==null?void 0:global.Linking)<"u";try{const p=f?_r:Mt;l=await this.client.core.crypto.encode(i,u,ot(ve({},a||{}),{encoding:p}))}catch(p){throw await this.cleanup(),this.client.logger.error(`sendResult() -> core.crypto.encode() for topic ${i} failed`),p}let d,h;try{d=await this.client.core.history.get(i,r);const p=d.request;try{h=this.getTVFParams(r,p.params,s)}catch(w){this.client.logger.warn(`sendResult() -> getTVFParams() failed: ${w?.message}`)}}catch(p){throw this.client.logger.error(`sendResult() -> history.get(${i}, ${r}) failed`),p}if(f){const p=Ec(c,i,l);await global.Linking.openURL(p,this.client.name)}else{const p=d.request.method,w=st[p].res;w.tvf=ot(ve({},h),{correlationId:r}),o?(w.internal=ot(ve({},w.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(i,l,w)):this.client.core.relayer.publish(i,l,w).catch(m=>this.client.logger.error(m))}await this.client.core.history.resolve(u)}),Y(this,"sendError",async n=>{const{id:r,topic:i,error:s,encodeOpts:o,rpcOpts:a,appLink:c}=n,u=Qf(r,s);let l;const f=c&&typeof(global==null?void 0:global.Linking)<"u";try{const h=f?_r:Mt;l=await this.client.core.crypto.encode(i,u,ot(ve({},o||{}),{encoding:h}))}catch(h){throw await this.cleanup(),this.client.logger.error(`sendError() -> core.crypto.encode() for topic ${i} failed`),h}let d;try{d=await this.client.core.history.get(i,r)}catch(h){throw this.client.logger.error(`sendError() -> history.get(${i}, ${r}) failed`),h}if(f){const h=Ec(c,i,l);await global.Linking.openURL(h,this.client.name)}else{const h=d.request.method,p=a||st[h].res;this.client.core.relayer.publish(i,l,p)}await this.client.core.history.resolve(u)}),Y(this,"cleanup",async()=>{const n=[],r=[];this.client.session.getAll().forEach(i=>{let s=!1;Lr(i.expiry)&&(s=!0),this.client.core.crypto.keychain.has(i.topic)||(s=!0),s&&n.push(i.topic)}),this.client.proposal.getAll().forEach(i=>{Lr(i.expiryTimestamp)&&r.push(i.id)}),await Promise.all([...n.map(i=>this.deleteSession({topic:i})),...r.map(i=>this.deleteProposal(i))])}),Y(this,"onProviderMessageEvent",async n=>{!this.initialized||this.relayMessageCache.length>0?this.relayMessageCache.push(n):await this.onRelayMessage(n)}),Y(this,"onRelayEventRequest",async n=>{this.requestQueue.queue.push(n),await this.processRequestsQueue()}),Y(this,"processRequestsQueue",async()=>{if(this.requestQueue.state===Mn.active){this.client.logger.info("Request queue already active, skipping...");return}for(this.client.logger.info(`Request queue starting with ${this.requestQueue.queue.length} requests`);this.requestQueue.queue.length>0;){this.requestQueue.state=Mn.active;const n=this.requestQueue.queue.shift();if(n)try{await this.processRequest(n)}catch(r){this.client.logger.warn(r)}}this.requestQueue.state=Mn.idle}),Y(this,"processRequest",async n=>{const{topic:r,payload:i,attestation:s,transportType:o,encryptedId:a}=n,c=i.method;if(!this.shouldIgnorePairingRequest({topic:r,requestMethod:c}))switch(c){case"wc_sessionPropose":return await this.onSessionProposeRequest({topic:r,payload:i,attestation:s,encryptedId:a});case"wc_sessionSettle":return await this.onSessionSettleRequest(r,i);case"wc_sessionUpdate":return await this.onSessionUpdateRequest(r,i);case"wc_sessionExtend":return await this.onSessionExtendRequest(r,i);case"wc_sessionPing":return await this.onSessionPingRequest(r,i);case"wc_sessionDelete":return await this.onSessionDeleteRequest(r,i);case"wc_sessionRequest":return await this.onSessionRequest({topic:r,payload:i,attestation:s,encryptedId:a,transportType:o});case"wc_sessionEvent":return await this.onSessionEventRequest(r,i);case"wc_sessionAuthenticate":return await this.onSessionAuthenticateRequest({topic:r,payload:i,attestation:s,encryptedId:a,transportType:o});default:return this.client.logger.info(`Unsupported request method ${c}`)}}),Y(this,"onRelayEventResponse",async n=>{const{topic:r,payload:i,transportType:s}=n,o=(await this.client.core.history.get(r,i.id)).request.method;switch(o){case"wc_sessionPropose":return this.onSessionProposeResponse(r,i,s);case"wc_sessionSettle":return this.onSessionSettleResponse(r,i);case"wc_sessionUpdate":return this.onSessionUpdateResponse(r,i);case"wc_sessionExtend":return this.onSessionExtendResponse(r,i);case"wc_sessionPing":return this.onSessionPingResponse(r,i);case"wc_sessionRequest":return this.onSessionRequestResponse(r,i);case"wc_sessionAuthenticate":return this.onSessionAuthenticateResponse(r,i);default:return this.client.logger.info(`Unsupported response method ${o}`)}}),Y(this,"onRelayEventUnknownPayload",n=>{const{topic:r}=n,{message:i}=_("MISSING_OR_INVALID",`Decoded payload on topic ${r} is not identifiable as a JSON-RPC request or a response.`);throw new Error(i)}),Y(this,"shouldIgnorePairingRequest",n=>{const{topic:r,requestMethod:i}=n,s=this.expectedPairingMethodMap.get(r);return!s||s.includes(i)?!1:!!(s.includes("wc_sessionAuthenticate")&&this.client.events.listenerCount("session_authenticate")>0)}),Y(this,"onSessionProposeRequest",async n=>{const{topic:r,payload:i,attestation:s,encryptedId:o}=n,{params:a,id:c}=i;try{const u=this.client.core.eventClient.getEvent({topic:r});this.client.events.listenerCount("session_proposal")===0&&(console.warn("No listener for session_proposal event"),u?.setError(dr.proposal_listener_not_found)),this.isValidConnect(ve({},i.params));const l=a.expiryTimestamp||Ve(st.wc_sessionPropose.req.ttl),f=ve({id:c,pairingTopic:r,expiryTimestamp:l,attestation:s,encryptedId:o},a);await this.setProposal(c,f);const d=await this.getVerifyContext({attestationId:s,hash:an(JSON.stringify(i)),encryptedId:o,metadata:f.proposer.metadata});u?.addTrace(kn.emit_session_proposal),this.client.events.emit("session_proposal",{id:c,params:f,verifyContext:d})}catch(u){await this.sendError({id:c,topic:r,error:u,rpcOpts:st.wc_sessionPropose.autoReject}),this.client.logger.error(u)}}),Y(this,"onSessionProposeResponse",async(n,r,i)=>{const{id:s}=r;if(Fn(r)){const{result:o}=r;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",result:o});const a=this.client.proposal.get(s);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",proposal:a});const c=a.proposer.publicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",selfPublicKey:c});const u=o.responderPublicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",peerPublicKey:u});const l=await this.client.core.crypto.generateSharedKey(c,u);this.pendingSessions.set(s,{sessionTopic:l,pairingTopic:n,proposalId:s,publicKey:c});const f=await this.client.core.relayer.subscribe(l,{transportType:i});this.client.logger.trace({type:"method",method:"onSessionProposeResponse",subscriptionId:f}),await this.client.core.pairing.activate({topic:n})}else if(un(r)){await this.deleteProposal(s);const o=Ee("session_connect",s);if(this.events.listenerCount(o)===0)throw new Error(`emitting ${o} without any listeners, 954`);this.events.emit(o,{error:r.error})}}),Y(this,"onSessionSettleRequest",async(n,r)=>{const{id:i,params:s}=r;try{this.isValidSessionSettleRequest(s);const{relay:o,controller:a,expiry:c,namespaces:u,sessionProperties:l,scopedProperties:f,sessionConfig:d,proposalRequestsResponses:h}=r.params,p=[...this.pendingSessions.values()].find(P=>P.sessionTopic===n);if(!p)return this.client.logger.error(`Pending session not found for topic ${n}`);const w=this.client.proposal.get(p.proposalId),m=ot(ve(ve(ve({topic:n,relay:o,expiry:c,namespaces:u,acknowledged:!0,pairingTopic:p.pairingTopic,requiredNamespaces:w.requiredNamespaces,optionalNamespaces:w.optionalNamespaces,controller:a.publicKey,self:{publicKey:p.publicKey,metadata:this.client.metadata},peer:{publicKey:a.publicKey,metadata:a.metadata}},l&&{sessionProperties:l}),f&&{scopedProperties:f}),d&&{sessionConfig:d}),{transportType:Te.relay,authentication:h?.authentication,walletPayResult:h?.walletPay});await this.client.session.set(m.topic,m),await this.setExpiry(m.topic,m.expiry),await this.client.core.pairing.updateMetadata({topic:p.pairingTopic,metadata:m.peer.metadata}),this.pendingSessions.delete(p.proposalId),this.deleteProposal(p.proposalId,!1),this.cleanupDuplicatePairings(m),await this.sendResult({id:r.id,topic:n,throwOnFailedPublish:!0,result:!0}),this.client.events.emit("session_connect",{session:m}),this.events.emit(Ee("session_connect",p.proposalId),{session:m})}catch(o){await this.sendError({id:i,topic:n,error:o}),this.client.logger.error(o)}}),Y(this,"onSessionSettleResponse",async(n,r)=>{const{id:i}=r;Fn(r)?(await this.client.session.update(n,{acknowledged:!0}),this.events.emit(Ee("session_approve",i),{})):un(r)&&(await this.client.session.delete(n,Ue("USER_DISCONNECTED")),this.events.emit(Ee("session_approve",i),{error:r.error}))}),Y(this,"onSessionUpdateRequest",async(n,r)=>{const{params:i,id:s}=r;try{const o=`${n}_session_update`,a=Bo.get(o);if(a&&this.isRequestOutOfSync(a,s)){this.client.logger.warn(`Discarding out of sync request - ${s}`),this.sendError({id:s,topic:n,error:Ue("INVALID_UPDATE_REQUEST")});return}this.isValidUpdate(ve({topic:n},i));try{Bo.set(o,s),await this.client.session.update(n,{namespaces:i.namespaces}),await this.sendResult({id:s,topic:n,result:!0})}catch(c){throw Bo.delete(o),c}this.client.events.emit("session_update",{id:s,topic:n,params:i})}catch(o){await this.sendError({id:s,topic:n,error:o}),this.client.logger.error(o)}}),Y(this,"isRequestOutOfSync",(n,r)=>r.toString().slice(0,-3)<n.toString().slice(0,-3)),Y(this,"onSessionUpdateResponse",(n,r)=>{const{id:i}=r,s=Ee("session_update",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);Fn(r)?this.events.emit(Ee("session_update",i),{}):un(r)&&this.events.emit(Ee("session_update",i),{error:r.error})}),Y(this,"onSessionExtendRequest",async(n,r)=>{const{id:i}=r;try{this.isValidExtend({topic:n}),await this.setExpiry(n,Ve(As)),await this.sendResult({id:i,topic:n,result:!0}),this.client.events.emit("session_extend",{id:i,topic:n})}catch(s){await this.sendError({id:i,topic:n,error:s}),this.client.logger.error(s)}}),Y(this,"onSessionExtendResponse",(n,r)=>{const{id:i}=r,s=Ee("session_extend",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);Fn(r)?this.events.emit(Ee("session_extend",i),{}):un(r)&&this.events.emit(Ee("session_extend",i),{error:r.error})}),Y(this,"onSessionPingRequest",async(n,r)=>{const{id:i}=r;try{this.isValidPing({topic:n}),await this.sendResult({id:i,topic:n,result:!0,throwOnFailedPublish:!0}),this.client.events.emit("session_ping",{id:i,topic:n})}catch(s){await this.sendError({id:i,topic:n,error:s}),this.client.logger.error(s)}}),Y(this,"onSessionPingResponse",(n,r)=>{const{id:i}=r,s=Ee("session_ping",i);setTimeout(()=>{if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners 2176`);Fn(r)?this.events.emit(Ee("session_ping",i),{}):un(r)&&this.events.emit(Ee("session_ping",i),{error:r.error})},500)}),Y(this,"onSessionDeleteRequest",async(n,r)=>{const{id:i}=r;try{await this.isValidDisconnect({topic:n,reason:r.params}),this.cleanupPendingSentRequestsForTopic({topic:n,error:Ue("USER_DISCONNECTED")}),await this.deleteSession({topic:n,id:i})}catch(s){this.client.logger.error(s)}}),Y(this,"onSessionRequest",async n=>{var r,i,s;const{topic:o,payload:a,attestation:c,encryptedId:u,transportType:l}=n,{id:f,params:d}=a;try{await this.isValidRequest(ve({topic:o},d));const h=this.client.session.get(o),p=await this.getVerifyContext({attestationId:c,hash:an(JSON.stringify(hr("wc_sessionRequest",d,f))),encryptedId:u,metadata:h.peer.metadata,transportType:l}),w={id:f,topic:o,params:d,verifyContext:p};await this.setPendingSessionRequest(w),l===Te.link_mode&&(r=h.peer.metadata.redirect)!=null&&r.universal&&this.client.core.addLinkModeSupportedApp((i=h.peer.metadata.redirect)==null?void 0:i.universal),(s=this.client.signConfig)!=null&&s.disableRequestQueue?this.emitSessionRequest(w):(this.addSessionRequestToSessionRequestQueue(w),this.processSessionRequestQueue())}catch(h){await this.sendError({id:f,topic:o,error:h}),this.client.logger.error(h)}}),Y(this,"onSessionRequestResponse",(n,r)=>{const{id:i}=r,s=Ee("session_request",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);Fn(r)?this.events.emit(Ee("session_request",i),{result:r.result}):un(r)&&this.events.emit(Ee("session_request",i),{error:r.error})}),Y(this,"onSessionEventRequest",async(n,r)=>{const{id:i,params:s}=r;try{const o=`${n}_session_event_${s.event.name}`,a=Bo.get(o);if(a&&this.isRequestOutOfSync(a,i)){this.client.logger.info(`Discarding out of sync request - ${i}`);return}this.isValidEmit(ve({topic:n},s)),this.client.events.emit("session_event",{id:i,topic:n,params:s}),Bo.set(o,i)}catch(o){await this.sendError({id:i,topic:n,error:o}),this.client.logger.error(o)}}),Y(this,"onSessionAuthenticateResponse",(n,r)=>{const{id:i}=r;this.client.logger.trace({type:"method",method:"onSessionAuthenticateResponse",topic:n,payload:r}),Fn(r)?this.events.emit(Ee("session_request",i),{result:r.result}):un(r)&&this.events.emit(Ee("session_request",i),{error:r.error})}),Y(this,"onSessionAuthenticateRequest",async n=>{var r;const{topic:i,payload:s,attestation:o,encryptedId:a,transportType:c}=n;try{const{requester:u,authPayload:l,expiryTimestamp:f}=s.params,d=await this.getVerifyContext({attestationId:o,hash:an(JSON.stringify(s)),encryptedId:a,metadata:u.metadata,transportType:c}),h={requester:u,pairingTopic:i,id:s.id,authPayload:l,verifyContext:d,expiryTimestamp:f};await this.setAuthRequest(s.id,{request:h,pairingTopic:i,transportType:c}),c===Te.link_mode&&(r=u.metadata.redirect)!=null&&r.universal&&this.client.core.addLinkModeSupportedApp(u.metadata.redirect.universal),this.client.events.emit("session_authenticate",{topic:i,params:s.params,id:s.id,verifyContext:d})}catch(u){this.client.logger.error(u);const l=s.params.requester.publicKey,f=await this.client.core.crypto.generateKeyPair(),d=this.getAppLinkIfEnabled(s.params.requester.metadata,c),h={type:ar,receiverPublicKey:l,senderPublicKey:f};await this.sendError({id:s.id,topic:i,error:u,encodeOpts:h,rpcOpts:st.wc_sessionAuthenticate.autoReject,appLink:d})}}),Y(this,"addSessionRequestToSessionRequestQueue",n=>{this.sessionRequestQueue.queue.push(n)}),Y(this,"cleanupAfterResponse",n=>{this.deletePendingSessionRequest(n.response.id,{message:"fulfilled",code:0}),setTimeout(()=>{this.sessionRequestQueue.state=Mn.idle,this.processSessionRequestQueue()},J.toMiliseconds(this.requestQueueDelay))}),Y(this,"cleanupPendingSentRequestsForTopic",({topic:n,error:r})=>{const i=this.client.core.history.pending;i.length>0&&i.filter(s=>s.topic===n&&s.request.method==="wc_sessionRequest").forEach(s=>{this.events.emit(Ee("session_request",s.request.id),{error:r})})}),Y(this,"processSessionRequestQueue",()=>{if(this.sessionRequestQueue.state===Mn.active){this.client.logger.info("session request queue is already active.");return}const n=this.sessionRequestQueue.queue[0];if(!n){this.client.logger.info("session request queue is empty.");return}try{this.emitSessionRequest(n)}catch(r){this.client.logger.error(r)}}),Y(this,"emitSessionRequest",n=>{if(this.emittedSessionRequests.has(n.id)){this.client.logger.warn({id:n.id},`Skipping emitting \`session_request\` event for duplicate request. id: ${n.id}`);return}this.sessionRequestQueue.state=Mn.active,this.emittedSessionRequests.add(n.id),this.client.events.emit("session_request",n)}),Y(this,"onPairingCreated",n=>{if(n.methods&&this.expectedPairingMethodMap.set(n.topic,n.methods),n.active)return;const r=this.client.proposal.getAll().find(i=>i.pairingTopic===n.topic);r&&this.onSessionProposeRequest({topic:n.topic,payload:hr("wc_sessionPropose",ot(ve({},r),{requiredNamespaces:r.requiredNamespaces,optionalNamespaces:r.optionalNamespaces,relays:r.relays,proposer:r.proposer,sessionProperties:r.sessionProperties,scopedProperties:r.scopedProperties}),r.id),attestation:r.attestation,encryptedId:r.encryptedId})}),Y(this,"isValidConnect",async n=>{if(!jt(n)){const{message:u}=_("MISSING_OR_INVALID",`connect() params: ${JSON.stringify(n)}`);throw new Error(u)}const{pairingTopic:r,requiredNamespaces:i,optionalNamespaces:s,sessionProperties:o,scopedProperties:a,relays:c}=n;if(Ge(r)||await this.isValidPairingTopic(r),!MB(c,!0)){const{message:u}=_("MISSING_OR_INVALID",`connect() relays: ${c}`);throw new Error(u)}if(i&&!Ge(i)&&So(i)!==0){const u="requiredNamespaces are deprecated and are automatically assigned to optionalNamespaces";["fatal","error","silent"].includes(this.client.logger.level)?console.warn(u):this.client.logger.warn(u),this.validateNamespaces(i,"requiredNamespaces")}if(s&&!Ge(s)&&So(s)!==0&&this.validateNamespaces(s,"optionalNamespaces"),o&&!Ge(o)&&this.validateSessionProps(o,"sessionProperties"),a&&!Ge(a)){this.validateSessionProps(a,"scopedProperties");const u=Object.keys(i||{}).concat(Object.keys(s||{}));if(!Object.keys(a).every(l=>u.includes(l.split(":")[0])))throw new Error(`Scoped properties must be a subset of required/optional namespaces, received: ${JSON.stringify(a)}, required/optional namespaces: ${JSON.stringify(u)}`)}}),Y(this,"validateNamespaces",(n,r)=>{const i=LB(n,"connect()",r);if(i)throw new Error(i.message)}),Y(this,"isValidApprove",async n=>{if(!jt(n))throw new Error(_("MISSING_OR_INVALID",`approve() params: ${n}`).message);const{id:r,namespaces:i,relayProtocol:s,sessionProperties:o,scopedProperties:a}=n;this.checkRecentlyDeleted(r),await this.isValidProposalId(r);const c=this.client.proposal.get(r),u=Df(i,"approve()");if(u)throw new Error(u.message);const l=uw(c.requiredNamespaces,i,"approve()");if(l)throw new Error(l.message);if(!Me(s,!0)){const{message:f}=_("MISSING_OR_INVALID",`approve() relayProtocol: ${s}`);throw new Error(f)}if(o&&!Ge(o)&&this.validateSessionProps(o,"sessionProperties"),a&&!Ge(a)){this.validateSessionProps(a,"scopedProperties");const f=new Set(Object.keys(i));if(!Object.keys(a).every(d=>f.has(d.split(":")[0])))throw new Error(`Scoped properties must be a subset of approved namespaces, received: ${JSON.stringify(a)}, approved namespaces: ${Array.from(f).join(", ")}`)}}),Y(this,"isValidReject",async n=>{if(!jt(n)){const{message:s}=_("MISSING_OR_INVALID",`reject() params: ${n}`);throw new Error(s)}const{id:r,reason:i}=n;if(this.checkRecentlyDeleted(r),await this.isValidProposalId(r),!zB(i)){const{message:s}=_("MISSING_OR_INVALID",`reject() reason: ${JSON.stringify(i)}`);throw new Error(s)}}),Y(this,"isValidSessionSettleRequest",n=>{if(!jt(n)){const{message:u}=_("MISSING_OR_INVALID",`onSessionSettleRequest() params: ${n}`);throw new Error(u)}const{relay:r,controller:i,namespaces:s,expiry:o}=n;if(!aw(r)){const{message:u}=_("MISSING_OR_INVALID","onSessionSettleRequest() relay protocol should be a string");throw new Error(u)}const a=NB(i,"onSessionSettleRequest()");if(a)throw new Error(a.message);const c=Df(s,"onSessionSettleRequest()");if(c)throw new Error(c.message);if(Lr(o)){const{message:u}=_("EXPIRED","onSessionSettleRequest()");throw new Error(u)}}),Y(this,"isValidUpdate",async n=>{if(!jt(n)){const{message:c}=_("MISSING_OR_INVALID",`update() params: ${n}`);throw new Error(c)}const{topic:r,namespaces:i}=n;this.checkRecentlyDeleted(r),await this.isValidSessionTopic(r);const s=this.client.session.get(r),o=Df(i,"update()");if(o)throw new Error(o.message);const a=uw(s.requiredNamespaces,i,"update()");if(a)throw new Error(a.message)}),Y(this,"isValidExtend",async n=>{if(!jt(n)){const{message:i}=_("MISSING_OR_INVALID",`extend() params: ${n}`);throw new Error(i)}const{topic:r}=n;this.checkRecentlyDeleted(r),await this.isValidSessionTopic(r)}),Y(this,"isValidRequest",async n=>{if(!jt(n)){const{message:c}=_("MISSING_OR_INVALID",`request() params: ${n}`);throw new Error(c)}const{topic:r,request:i,chainId:s,expiry:o}=n;this.checkRecentlyDeleted(r),await this.isValidSessionTopic(r);const{namespaces:a}=this.client.session.get(r);if(!cw(a,s)){const{message:c}=_("MISSING_OR_INVALID",`request() chainId: ${s}`);throw new Error(c)}if(!KB(i)){const{message:c}=_("MISSING_OR_INVALID",`request() ${JSON.stringify(i)}`);throw new Error(c)}if(!GB(a,s,i.method)){const{message:c}=_("MISSING_OR_INVALID",`request() method: ${i.method}`);throw new Error(c)}this.validateRequestExpiry(o)}),Y(this,"isValidRespond",async n=>{var r;if(!jt(n)){const{message:a}=_("MISSING_OR_INVALID",`respond() params: ${n}`);throw new Error(a)}const{topic:i,response:s}=n;try{await this.isValidSessionTopic(i)}catch(a){throw(r=n?.response)!=null&&r.id&&this.cleanupAfterResponse(n),a}if(!VB(s)){const{message:a}=_("MISSING_OR_INVALID",`respond() response: ${JSON.stringify(s)}`);throw new Error(a)}const o=this.client.pendingRequest.get(s.id);if(o.topic!==i){const{message:a}=_("MISMATCHED_TOPIC",`Request response topic mismatch. reqId: ${s.id}, expected topic: ${o.topic}, received topic: ${i}`);throw new Error(a)}}),Y(this,"isValidPing",async n=>{if(!jt(n)){const{message:i}=_("MISSING_OR_INVALID",`ping() params: ${n}`);throw new Error(i)}const{topic:r}=n;await this.isValidSessionOrPairingTopic(r)}),Y(this,"isValidEmit",async n=>{if(!jt(n)){const{message:a}=_("MISSING_OR_INVALID",`emit() params: ${n}`);throw new Error(a)}const{topic:r,event:i,chainId:s}=n;await this.isValidSessionTopic(r);const{namespaces:o}=this.client.session.get(r);if(!cw(o,s)){const{message:a}=_("MISSING_OR_INVALID",`emit() chainId: ${s}`);throw new Error(a)}if(!HB(i)){const{message:a}=_("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(i)}`);throw new Error(a)}if(!WB(o,s,i.name)){const{message:a}=_("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(i)}`);throw new Error(a)}}),Y(this,"isValidDisconnect",async n=>{if(!jt(n)){const{message:i}=_("MISSING_OR_INVALID",`disconnect() params: ${n}`);throw new Error(i)}const{topic:r}=n;await this.isValidSessionOrPairingTopic(r)}),Y(this,"isValidAuthenticate",n=>{const{chains:r,uri:i,domain:s,nonce:o}=n;if(!Array.isArray(r)||r.length===0)throw new Error("chains is required and must be a non-empty array");if(!Me(i,!1))throw new Error("uri is required parameter");if(!Me(s,!1))throw new Error("domain is required parameter");if(!Me(o,!1))throw new Error("nonce is required parameter");if([...new Set(r.map(c=>_a(c).namespace))].length>1)throw new Error("Multi-namespace requests are not supported. Please request single namespace only.");const{namespace:a}=_a(r[0]);if(a!=="eip155")throw new Error("Only eip155 namespace is supported for authenticated sessions. Please use .connect() for non-eip155 chains.")}),Y(this,"getVerifyContext",async n=>{const{attestationId:r,hash:i,encryptedId:s,metadata:o,transportType:a}=n,c={verified:{verifyUrl:o.verifyUrl||qo,validation:"UNKNOWN",origin:o.url||""}};try{if(a===Te.link_mode){const l=this.getAppLinkIfEnabled(o,a);return c.verified.validation=l&&new URL(l).origin===new URL(o.url).origin?"VALID":"INVALID",c}const u=await this.client.core.verify.resolve({attestationId:r,hash:i,encryptedId:s,verifyUrl:o.verifyUrl});u&&(c.verified.origin=u.origin,c.verified.isScam=u.isScam,c.verified.validation=u.origin===new URL(o.url).origin?"VALID":"INVALID")}catch(u){this.client.logger.warn(u)}return this.client.logger.debug(`Verify context: ${JSON.stringify(c)}`),c}),Y(this,"validateSessionProps",(n,r)=>{Object.values(n).forEach((i,s)=>{if(i==null){const{message:o}=_("MISSING_OR_INVALID",`${r} must contain an existing value for each key. Received: ${i} for key ${Object.keys(n)[s]}`);throw new Error(o)}})}),Y(this,"getPendingAuthRequest",n=>{const r=this.client.auth.requests.get(n);return typeof r=="object"?r:void 0}),Y(this,"addToRecentlyDeleted",(n,r)=>{if(this.recentlyDeletedMap.set(n,r),this.recentlyDeletedMap.size>=this.recentlyDeletedLimit){let i=0;const s=this.recentlyDeletedLimit/2;for(const o of this.recentlyDeletedMap.keys()){if(i++>=s)break;this.recentlyDeletedMap.delete(o)}}}),Y(this,"checkRecentlyDeleted",n=>{const r=this.recentlyDeletedMap.get(n);if(r){const{message:i}=_("MISSING_OR_INVALID",`Record was recently deleted - ${r}: ${n}`);throw new Error(i)}}),Y(this,"isLinkModeEnabled",(n,r)=>{var i,s,o,a,c,u,l,f,d;return!n||r!==Te.link_mode?!1:((s=(i=this.client.metadata)==null?void 0:i.redirect)==null?void 0:s.linkMode)===!0&&((a=(o=this.client.metadata)==null?void 0:o.redirect)==null?void 0:a.universal)!==void 0&&((u=(c=this.client.metadata)==null?void 0:c.redirect)==null?void 0:u.universal)!==""&&((l=n?.redirect)==null?void 0:l.universal)!==void 0&&((f=n?.redirect)==null?void 0:f.universal)!==""&&((d=n?.redirect)==null?void 0:d.linkMode)===!0&&this.client.core.linkModeSupportedApps.includes(n.redirect.universal)&&typeof(global==null?void 0:global.Linking)<"u"}),Y(this,"getAppLinkIfEnabled",(n,r)=>{var i;return this.isLinkModeEnabled(n,r)?(i=n?.redirect)==null?void 0:i.universal:void 0}),Y(this,"handleLinkModeMessage",({url:n})=>{if(!n||!n.includes("wc_ev")||!n.includes("topic"))return;const r=m1(n,"topic")||"",i=decodeURIComponent(m1(n,"wc_ev")||""),s=this.client.session.keys.includes(r);s&&this.client.session.update(r,{transportType:Te.link_mode}),this.client.core.dispatchEnvelope({topic:r,message:i,sessionExists:s})}),Y(this,"registerLinkModeListeners",async()=>{var n;if(Yl()||kr()&&(n=this.client.metadata.redirect)!=null&&n.linkMode){const r=global==null?void 0:global.Linking;if(typeof r<"u"){r.addEventListener("url",this.handleLinkModeMessage,this.client.name);const i=await r.getInitialURL();i&&setTimeout(()=>{this.handleLinkModeMessage({url:i})},50)}}}),Y(this,"getTVFApproveParams",n=>{try{const r=tw(n.namespaces),i=yB(n.namespaces),s=mB(n.namespaces),o=n.sessionProperties,a=n.scopedProperties;return{approvedChains:r,approvedMethods:i,approvedEvents:s,sessionProperties:o,scopedProperties:a}}catch(r){return this.client.logger.warn(r,"Error getting TVF approve params"),{}}}),Y(this,"getTVFParams",(n,r,i)=>{var s,o,a;if(!((s=r.request)!=null&&s.method))return{};const c={correlationId:n,rpcMethods:[r.request.method],chainId:r.chainId};try{const u=this.extractTxHashesFromResult(r.request,i);c.txHashes=u,c.contractAddresses=this.isValidContractData(r.request.params)?[(a=(o=r.request.params)==null?void 0:o[0])==null?void 0:a.to]:[]}catch(u){this.client.logger.warn(u,"Error getting TVF params")}return c}),Y(this,"isValidContractData",n=>{var r;if(!n)return!1;try{const i=n?.data||((r=n?.[0])==null?void 0:r.data);if(!i.startsWith("0x"))return!1;const s=i.slice(2);return/^[0-9a-fA-F]*$/.test(s)?s.length%2===0:!1}catch{}return!1}),Y(this,"extractTxHashesFromResult",(n,r)=>{var i;try{if(!r)return[];const s=n.method,o=QN[s];if(s==="sui_signTransaction")return[o9(r.transactionBytes)];if(s==="near_signTransaction")return[z1(r)];if(s==="near_signTransactions")return r.map(c=>z1(c));if(s==="xrpl_signTransactionFor"||s==="xrpl_signTransaction")return[(i=r.tx_json)==null?void 0:i.hash];if(s==="polkadot_signTransaction")return[lO({transaction:n.params.transactionPayload,signature:r.signature})];if(s==="algo_signTxn")return ms(r)?r.map(c=>K1(c)):[K1(r)];if(s==="cosmos_signDirect")return[c9(r)];if(s==="wallet_sendCalls")return u9(r);if(typeof r=="string")return[r];const a=r[o.key];if(ms(a))return s==="solana_signAllTransactions"?a.map(c=>s9(c)):a;if(typeof a=="string")return[a]}catch(s){this.client.logger.warn(s,"Error extracting tx hashes from result")}return[]})}async processPendingMessageEvents(){try{const e=this.client.session.keys,n=this.client.core.relayer.messages.getWithoutAck(e);for(const[r,i]of Object.entries(n))for(const s of i)try{await this.onProviderMessageEvent({topic:r,message:s,publishedAt:Date.now()})}catch{this.client.logger.warn(`Error processing pending message event for topic: ${r}, message: ${s}`)}}catch(e){this.client.logger.warn(e,"processPendingMessageEvents failed")}}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}async confirmOnlineStateOrThrow(){await this.client.core.relayer.confirmOnlineStateOrThrow()}registerRelayerEvents(){this.client.core.relayer.on(Le.message,e=>{this.onProviderMessageEvent(e)})}async onRelayMessage(e){const{topic:n,message:r,attestation:i,transportType:s}=e,{publicKey:o}=this.client.auth.authKeys.keys.includes(Lc)?this.client.auth.authKeys.get(Lc):{responseTopic:void 0,publicKey:void 0};try{const a=await this.client.core.crypto.decode(n,r,{receiverPublicKey:o,encoding:s===Te.link_mode?_r:Mt});_f(a)?(this.client.core.history.set(n,a),await this.onRelayEventRequest({topic:n,payload:a,attestation:i,transportType:s,encryptedId:an(r)})):Uc(a)?(await this.client.core.history.resolve(a),await this.onRelayEventResponse({topic:n,payload:a,transportType:s}),this.client.core.history.delete(n,a.id)):(this.client.logger.error(`onRelayMessage() -> unknown payload: ${JSON.stringify(a)}`),await this.onRelayEventUnknownPayload({topic:n,payload:a,transportType:s})),await this.client.core.relayer.messages.ack(n,r)}catch(a){this.client.logger.error(`onRelayMessage() -> failed to process an inbound message: ${r}`),this.client.logger.error(a)}}registerExpirerEvents(){this.client.core.expirer.on(fn.expired,async e=>{const{topic:n,id:r}=y1(e.target);if(r&&this.client.pendingRequest.keys.includes(r))return await this.deletePendingSessionRequest(r,_("EXPIRED"),!0);if(r&&this.client.auth.requests.keys.includes(r))return await this.deletePendingAuthRequest(r,_("EXPIRED"),!0);n?this.client.session.keys.includes(n)&&(await this.deleteSession({topic:n,expirerHasDeleted:!0}),this.client.events.emit("session_expire",{topic:n})):r&&(await this.deleteProposal(r,!0),this.client.events.emit("proposal_expire",{id:r}))})}registerPairingEvents(){this.client.core.pairing.events.on(Li.create,e=>this.onPairingCreated(e)),this.client.core.pairing.events.on(Li.delete,e=>{this.addToRecentlyDeleted(e.topic,"pairing")})}isValidPairingTopic(e){if(!Me(e,!1)){const{message:n}=_("MISSING_OR_INVALID",`pairing topic should be a string: ${e}`);throw new Error(n)}if(!this.client.core.pairing.pairings.keys.includes(e)){const{message:n}=_("NO_MATCHING_KEY",`pairing topic doesn't exist: ${e}`);throw new Error(n)}if(Lr(this.client.core.pairing.pairings.get(e).expiry)){const{message:n}=_("EXPIRED",`pairing topic: ${e}`);throw new Error(n)}}async isValidSessionTopic(e){if(!Me(e,!1)){const{message:n}=_("MISSING_OR_INVALID",`session topic should be a string: ${e}`);throw new Error(n)}if(this.checkRecentlyDeleted(e),!this.client.session.keys.includes(e)){const{message:n}=_("NO_MATCHING_KEY",`session topic doesn't exist: ${e}`);throw new Error(n)}if(Lr(this.client.session.get(e).expiry)){await this.deleteSession({topic:e});const{message:n}=_("EXPIRED",`session topic: ${e}`);throw new Error(n)}if(!this.client.core.crypto.keychain.has(e)){const{message:n}=_("MISSING_OR_INVALID",`session topic does not exist in keychain: ${e}`);throw await this.deleteSession({topic:e}),new Error(n)}}async isValidSessionOrPairingTopic(e){if(this.checkRecentlyDeleted(e),this.client.session.keys.includes(e))await this.isValidSessionTopic(e);else if(this.client.core.pairing.pairings.keys.includes(e))this.isValidPairingTopic(e);else if(Me(e,!1)){const{message:n}=_("NO_MATCHING_KEY",`session or pairing topic doesn't exist: ${e}`);throw new Error(n)}else{const{message:n}=_("MISSING_OR_INVALID",`session or pairing topic should be a string: ${e}`);throw new Error(n)}}async isValidProposalId(e){if(!jB(e)){const{message:n}=_("MISSING_OR_INVALID",`proposal id should be a number: ${e}`);throw new Error(n)}if(!this.client.proposal.keys.includes(e)){const{message:n}=_("NO_MATCHING_KEY",`proposal id doesn't exist: ${e}`);throw new Error(n)}if(Lr(this.client.proposal.get(e).expiryTimestamp)){await this.deleteProposal(e);const{message:n}=_("EXPIRED",`proposal id: ${e}`);throw new Error(n)}}validateRequestExpiry(e){if(e&&!XB(e,bh)){const{message:n}=_("MISSING_OR_INVALID",`request() expiry: ${e}. Expiry must be a number (in seconds) between ${bh.min} and ${bh.max}`);throw new Error(n)}}}class fU extends zi{constructor(e,n){super(e,n,YN,ph),this.core=e,this.logger=n}}class Yy extends zi{constructor(e,n){super(e,n,XN,ph),this.core=e,this.logger=n}}class hU extends zi{constructor(e,n){super(e,n,_N,ph,r=>r.id),this.core=e,this.logger=n}}class dU extends zi{constructor(e,n){super(e,n,nU,kc,()=>Lc),this.core=e,this.logger=n}}class pU extends zi{constructor(e,n){super(e,n,rU,kc),this.core=e,this.logger=n}}class gU extends zi{constructor(e,n){super(e,n,iU,kc,r=>r.id),this.core=e,this.logger=n}}var bU=Object.defineProperty,wU=(t,e,n)=>e in t?bU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,yh=(t,e,n)=>wU(t,typeof e!="symbol"?e+"":e,n);class yU{constructor(e,n){this.core=e,this.logger=n,yh(this,"authKeys"),yh(this,"pairingTopics"),yh(this,"requests"),this.authKeys=new dU(this.core,this.logger),this.pairingTopics=new pU(this.core,this.logger),this.requests=new gU(this.core,this.logger)}async init(){await this.authKeys.init(),await this.pairingTopics.init(),await this.requests.init()}}var mU=Object.defineProperty,vU=(t,e,n)=>e in t?mU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,we=(t,e,n)=>vU(t,typeof e!="symbol"?e+"":e,n);class mh extends xP{constructor(e){super(e),we(this,"protocol",Ky),we(this,"version",Vy),we(this,"name",gh.name),we(this,"metadata"),we(this,"core"),we(this,"logger"),we(this,"events",new ut.exports.EventEmitter),we(this,"engine"),we(this,"session"),we(this,"proposal"),we(this,"pendingRequest"),we(this,"auth"),we(this,"signConfig"),we(this,"on",(r,i)=>this.events.on(r,i)),we(this,"once",(r,i)=>this.events.once(r,i)),we(this,"off",(r,i)=>this.events.off(r,i)),we(this,"removeListener",(r,i)=>this.events.removeListener(r,i)),we(this,"removeAllListeners",r=>this.events.removeAllListeners(r)),we(this,"connect",async r=>{try{return await this.engine.connect(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"pair",async r=>{try{return await this.engine.pair(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"approve",async r=>{try{return await this.engine.approve(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"reject",async r=>{try{return await this.engine.reject(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"update",async r=>{try{return await this.engine.update(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"extend",async r=>{try{return await this.engine.extend(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"request",async r=>{try{return await this.engine.request(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"respond",async r=>{try{return await this.engine.respond(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"ping",async r=>{try{return await this.engine.ping(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"emit",async r=>{try{return await this.engine.emit(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"disconnect",async r=>{try{return await this.engine.disconnect(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"find",r=>{try{return this.engine.find(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"getPendingSessionRequests",()=>{try{return this.engine.getPendingSessionRequests()}catch(r){throw this.logger.error(r.message),r}}),we(this,"authenticate",async(r,i)=>{try{return await this.engine.authenticate(r,i)}catch(s){throw this.logger.error(s.message),s}}),we(this,"formatAuthMessage",r=>{try{return this.engine.formatAuthMessage(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"approveSessionAuthenticate",async r=>{try{return await this.engine.approveSessionAuthenticate(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"rejectSessionAuthenticate",async r=>{try{return await this.engine.rejectSessionAuthenticate(r)}catch(i){throw this.logger.error(i.message),i}}),this.name=e?.name||gh.name,this.metadata=$7(e?.metadata),this.signConfig=e?.signConfig;const n=hw({logger:e?.logger||gh.logger,name:this.name});this.logger=n,this.core=e?.core||new dh(e),this.session=new Yy(this.core,this.logger),this.proposal=new fU(this.core,this.logger),this.pendingRequest=new hU(this.core,this.logger),this.engine=new lU(this),this.auth=new yU(this.core,this.logger)}static async init(e){const n=new mh(e);return await n.initialize(),n}get context(){return Rt(this.logger)}get pairing(){return this.core.pairing.pairings}async initialize(){this.logger.trace("Initialized");try{await this.core.start(),await this.session.init(),await this.proposal.init(),await this.pendingRequest.init(),await this.auth.init(),await this.engine.init(),this.logger.info("SignClient Initialization Success")}catch(e){throw this.logger.info("SignClient Initialization Failure"),this.logger.error(e.message),e}}}const EU=Yy,xU=mh;class IU extends ut.exports{constructor(){super()}}class Xy{constructor(e){this.opts=e}}class Jy{constructor(e){this.client=e}}var SU=Object.defineProperty,BU=Object.defineProperties,OU=Object.getOwnPropertyDescriptors,Qy=Object.getOwnPropertySymbols,AU=Object.prototype.hasOwnProperty,PU=Object.prototype.propertyIsEnumerable,vh=(t,e,n)=>e in t?SU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,DU=(t,e)=>{for(var n in e||(e={}))AU.call(e,n)&&vh(t,n,e[n]);if(Qy)for(var n of Qy(e))PU.call(e,n)&&vh(t,n,e[n]);return t},RU=(t,e)=>BU(t,OU(e)),Be=(t,e,n)=>vh(t,typeof e!="symbol"?e+"":e,n);class TU extends Jy{constructor(e){super(e),Be(this,"signClient"),Be(this,"init",async()=>{this.signClient=await xU.init({core:this.client.core,metadata:this.client.metadata,signConfig:this.client.signConfig}),this.signClient.core.eventClient.init().catch(n=>{this.client.logger.warn(n)})}),Be(this,"pair",async n=>{await this.client.core.pairing.pair(n)}),Be(this,"approveSession",async n=>{const{topic:r,acknowledged:i}=await this.signClient.approve(RU(DU({},n),{id:n.id,namespaces:n.namespaces,sessionProperties:n.sessionProperties,scopedProperties:n.scopedProperties,sessionConfig:n.sessionConfig,proposalRequestsResponses:n?.proposalRequestsResponses}));return await i(),this.signClient.session.get(r)}),Be(this,"rejectSession",async n=>await this.signClient.reject(n)),Be(this,"updateSession",async n=>await this.signClient.update(n)),Be(this,"extendSession",async n=>await this.signClient.extend(n)),Be(this,"respondSessionRequest",async n=>await this.signClient.respond(n)),Be(this,"disconnectSession",async n=>await this.signClient.disconnect(n)),Be(this,"emitSessionEvent",async n=>await this.signClient.emit(n)),Be(this,"getActiveSessions",()=>this.signClient.session.getAll().reduce((n,r)=>(n[r.topic]=r,n),{})),Be(this,"getPendingSessionProposals",()=>this.signClient.proposal.getAll()),Be(this,"getPendingSessionRequests",()=>this.signClient.getPendingSessionRequests()),Be(this,"approveSessionAuthenticate",async n=>await this.signClient.approveSessionAuthenticate(n)),Be(this,"rejectSessionAuthenticate",async n=>await this.signClient.rejectSessionAuthenticate(n)),Be(this,"formatAuthMessage",n=>this.signClient.formatAuthMessage(n)),Be(this,"registerDeviceToken",n=>this.client.core.echoClient.registerDeviceToken(n)),Be(this,"on",(n,r)=>(this.setEvent(n,"off"),this.setEvent(n,"on"),this.client.events.on(n,r))),Be(this,"once",(n,r)=>(this.setEvent(n,"off"),this.setEvent(n,"once"),this.client.events.once(n,r))),Be(this,"off",(n,r)=>(this.setEvent(n,"off"),this.client.events.off(n,r))),Be(this,"removeListener",(n,r)=>(this.setEvent(n,"removeListener"),this.client.events.removeListener(n,r))),Be(this,"onSessionRequest",n=>{this.client.events.emit("session_request",n)}),Be(this,"onSessionProposal",n=>{this.client.events.emit("session_proposal",n)}),Be(this,"onSessionDelete",n=>{this.client.events.emit("session_delete",n)}),Be(this,"onProposalExpire",n=>{this.client.events.emit("proposal_expire",n)}),Be(this,"onSessionRequestExpire",n=>{this.client.events.emit("session_request_expire",n)}),Be(this,"onSessionRequestAuthenticate",n=>{this.client.events.emit("session_authenticate",n)}),Be(this,"setEvent",(n,r)=>{switch(n){case"session_request":this.signClient.events[r]("session_request",this.onSessionRequest);break;case"session_proposal":this.signClient.events[r]("session_proposal",this.onSessionProposal);break;case"session_delete":this.signClient.events[r]("session_delete",this.onSessionDelete);break;case"proposal_expire":this.signClient.events[r]("proposal_expire",this.onProposalExpire);break;case"session_request_expire":this.signClient.events[r]("session_request_expire",this.onSessionRequestExpire);break;case"session_authenticate":this.signClient.events[r]("session_authenticate",this.onSessionRequestAuthenticate);break}}),this.signClient={}}}const NU={decryptMessage:async t=>{const e={core:new dh({storageOptions:t.storageOptions,storage:t.storage,customStoragePrefix:t.customStoragePrefix})};await e.core.crypto.init();const n=e.core.crypto.decode(t.topic,t.encryptedMessage);return e.core=null,n},getMetadata:async t=>{const e={core:new dh({storageOptions:t.storageOptions,storage:t.storage,customStoragePrefix:t.customStoragePrefix}),sessionStore:null};e.sessionStore=new EU(e.core,e.core.logger),await e.sessionStore.init();const n=e.sessionStore.get(t.topic),r=n?.peer.metadata;return e.core=null,e.sessionStore=null,r}};function UU(t){const e=t.toLowerCase();return e.includes("pay.")||e.includes("pay=")||e.includes("pay_")||e.includes("pay%2e")||e.includes("pay%3d")||e.includes("pay%5f")}var CU=Object.defineProperty,_y=Object.getOwnPropertySymbols,FU=Object.prototype.hasOwnProperty,qU=Object.prototype.propertyIsEnumerable,Eh=(t,e,n)=>e in t?CU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,kU=(t,e)=>{for(var n in e||(e={}))FU.call(e,n)&&Eh(t,n,e[n]);if(_y)for(var n of _y(e))qU.call(e,n)&&Eh(t,n,e[n]);return t},Oe=(t,e,n)=>Eh(t,typeof e!="symbol"?e+"":e,n);const $y=class mm extends Xy{constructor(e){super(e),Oe(this,"name"),Oe(this,"core"),Oe(this,"logger"),Oe(this,"events",new ut.exports),Oe(this,"engine"),Oe(this,"metadata"),Oe(this,"signConfig"),Oe(this,"pay"),Oe(this,"on",(n,r)=>this.engine.on(n,r)),Oe(this,"once",(n,r)=>this.engine.once(n,r)),Oe(this,"off",(n,r)=>this.engine.off(n,r)),Oe(this,"removeListener",(n,r)=>this.engine.removeListener(n,r)),Oe(this,"pair",async n=>{try{return await this.engine.pair(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"approveSession",async n=>{try{return await this.engine.approveSession(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"rejectSession",async n=>{try{return await this.engine.rejectSession(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"updateSession",async n=>{try{return await this.engine.updateSession(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"extendSession",async n=>{try{return await this.engine.extendSession(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"respondSessionRequest",async n=>{try{return await this.engine.respondSessionRequest(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"disconnectSession",async n=>{try{return await this.engine.disconnectSession(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"emitSessionEvent",async n=>{try{return await this.engine.emitSessionEvent(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"getActiveSessions",()=>{try{return this.engine.getActiveSessions()}catch(n){throw this.logger.error(n.message),n}}),Oe(this,"getPendingSessionProposals",()=>{try{return this.engine.getPendingSessionProposals()}catch(n){throw this.logger.error(n.message),n}}),Oe(this,"getPendingSessionRequests",()=>{try{return this.engine.getPendingSessionRequests()}catch(n){throw this.logger.error(n.message),n}}),Oe(this,"registerDeviceToken",n=>{try{return this.engine.registerDeviceToken(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"approveSessionAuthenticate",n=>{try{return this.engine.approveSessionAuthenticate(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"rejectSessionAuthenticate",n=>{try{return this.engine.rejectSessionAuthenticate(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"formatAuthMessage",n=>{try{return this.engine.formatAuthMessage(n)}catch(r){throw this.logger.error(r.message),r}}),this.metadata=e.metadata,this.name=e.name||Kf,this.signConfig=e.signConfig,this.core=e.core,this.logger=this.core.logger,this.engine=new TU(this),this.pay=void 0}static async init(e){const n=new mm(e);return await n.initialize(),n}async initialize(){this.logger.trace("Initialized");try{await this.engine.init(),Fw.isAvailable()&&(this.pay=new Fw(kU({clientId:await this.core.crypto.getClientId(),appId:this.core.projectId},this.opts.payConfig||{}))),this.logger.info("WalletKit Initialization Success")}catch(e){throw this.logger.info("WalletKit Initialization Failure"),this.logger.error(e.message),e}}};Oe($y,"notifications",NU);let em=$y;const LU=em;_e.CLIENT_CONTEXT=Kf,_e.CLIENT_STORAGE_OPTIONS=EA,_e.CLIENT_STORAGE_PREFIX=vA,_e.IWalletKit=Xy,_e.IWalletKitEngine=Jy,_e.IWalletKitEvents=IU,_e.PROTOCOL=qw,_e.PROTOCOL_VERSION=mA,_e.REQUEST_CONTEXT=xA,_e.WalletKit=LU,_e.default=em,_e.isPaymentLink=UU,Object.defineProperty(_e,"__esModule",{value:!0})});
41
43
  //# sourceMappingURL=index.umd.js.map