diff --git a/client/ui/local-app/dist/assets/index-64b7c841.js b/client/ui/local-app/dist/assets/index-64b7c841.js deleted file mode 100644 index 34b559d..0000000 --- a/client/ui/local-app/dist/assets/index-64b7c841.js +++ /dev/null @@ -1,581 +0,0 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const u of i.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var tt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ua(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){if(this instanceof r){var o=[null];o.push.apply(o,arguments);var i=Function.bind.apply(e,o);return new i}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 o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}),n}var Yt={},ir={};ir.byteLength=El;ir.toByteArray=Sl;ir.fromByteArray=Tl;var ct=[],et=[],xl=typeof Uint8Array<"u"?Uint8Array:Array,Rr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var rn=0,Ml=Rr.length;rn0)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 El(t){var e=ca(t),n=e[0],r=e[1];return(n+r)*3/4-r}function kl(t,e,n){return(e+n)*3/4-n}function Sl(t){var e,n=ca(t),r=n[0],o=n[1],i=new xl(kl(t,r,o)),u=0,s=o>0?r-4:r,d;for(d=0;d>16&255,i[u++]=e>>8&255,i[u++]=e&255;return o===2&&(e=et[t.charCodeAt(d)]<<2|et[t.charCodeAt(d+1)]>>4,i[u++]=e&255),o===1&&(e=et[t.charCodeAt(d)]<<10|et[t.charCodeAt(d+1)]<<4|et[t.charCodeAt(d+2)]>>2,i[u++]=e>>8&255,i[u++]=e&255),i}function Cl(t){return ct[t>>18&63]+ct[t>>12&63]+ct[t>>6&63]+ct[t&63]}function Al(t,e,n){for(var r,o=[],i=e;is?s:u+i));return r===1?(e=t[n-1],o.push(ct[e>>2]+ct[e<<4&63]+"==")):r===2&&(e=(t[n-2]<<8)+t[n-1],o.push(ct[e>>10]+ct[e>>4&63]+ct[e<<2&63]+"=")),o.join("")}var mi={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */mi.read=function(t,e,n,r,o){var i,u,s=o*8-r-1,d=(1<>1,w=-7,B=n?o-1:0,I=n?-1:1,O=t[e+B];for(B+=I,i=O&(1<<-w)-1,O>>=-w,w+=s;w>0;i=i*256+t[e+B],B+=I,w-=8);for(u=i&(1<<-w)-1,i>>=-w,w+=r;w>0;u=u*256+t[e+B],B+=I,w-=8);if(i===0)i=1-v;else{if(i===d)return u?NaN:(O?-1:1)*(1/0);u=u+Math.pow(2,r),i=i-v}return(O?-1:1)*u*Math.pow(2,i-r)};mi.write=function(t,e,n,r,o,i){var u,s,d,v=i*8-o-1,w=(1<>1,I=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,O=r?0:i-1,F=r?1:-1,P=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,u=w):(u=Math.floor(Math.log(e)/Math.LN2),e*(d=Math.pow(2,-u))<1&&(u--,d*=2),u+B>=1?e+=I/d:e+=I*Math.pow(2,1-B),e*d>=2&&(u++,d/=2),u+B>=w?(s=0,u=w):u+B>=1?(s=(e*d-1)*Math.pow(2,o),u=u+B):(s=e*Math.pow(2,B-1)*Math.pow(2,o),u=0));o>=8;t[n+O]=s&255,O+=F,s/=256,o-=8);for(u=u<0;t[n+O]=u&255,O+=F,u/=256,v-=8);t[n+O-F]|=P*128};/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */(function(t){var e=ir,n=mi,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.SlowBuffer=x,t.INSPECT_MAX_BYTES=50;var o=2147483647;t.kMaxLength=o,s.TYPED_ARRAY_SUPPORT=i(),!s.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{var M=new Uint8Array(1),f={foo:function(){return 42}};return Object.setPrototypeOf(f,Uint8Array.prototype),Object.setPrototypeOf(M,f),M.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function u(M){if(M>o)throw new RangeError('The value "'+M+'" is invalid for option "size"');var f=new Uint8Array(M);return Object.setPrototypeOf(f,s.prototype),f}function s(M,f,h){if(typeof M=="number"){if(typeof f=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return B(M)}return d(M,f,h)}s.poolSize=8192;function d(M,f,h){if(typeof M=="string")return I(M,f);if(ArrayBuffer.isView(M))return F(M);if(M==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof M);if(me(M,ArrayBuffer)||M&&me(M.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(me(M,SharedArrayBuffer)||M&&me(M.buffer,SharedArrayBuffer)))return P(M,f,h);if(typeof M=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var A=M.valueOf&&M.valueOf();if(A!=null&&A!==M)return s.from(A,f,h);var N=S(M);if(N)return N;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof M[Symbol.toPrimitive]=="function")return s.from(M[Symbol.toPrimitive]("string"),f,h);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof M)}s.from=function(M,f,h){return d(M,f,h)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function v(M){if(typeof M!="number")throw new TypeError('"size" argument must be of type number');if(M<0)throw new RangeError('The value "'+M+'" is invalid for option "size"')}function w(M,f,h){return v(M),M<=0?u(M):f!==void 0?typeof h=="string"?u(M).fill(f,h):u(M).fill(f):u(M)}s.alloc=function(M,f,h){return w(M,f,h)};function B(M){return v(M),u(M<0?0:R(M)|0)}s.allocUnsafe=function(M){return B(M)},s.allocUnsafeSlow=function(M){return B(M)};function I(M,f){if((typeof f!="string"||f==="")&&(f="utf8"),!s.isEncoding(f))throw new TypeError("Unknown encoding: "+f);var h=E(M,f)|0,A=u(h),N=A.write(M,f);return N!==h&&(A=A.slice(0,N)),A}function O(M){for(var f=M.length<0?0:R(M.length)|0,h=u(f),A=0;A=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return M|0}function x(M){return+M!=M&&(M=0),s.alloc(+M)}s.isBuffer=function(f){return f!=null&&f._isBuffer===!0&&f!==s.prototype},s.compare=function(f,h){if(me(f,Uint8Array)&&(f=s.from(f,f.offset,f.byteLength)),me(h,Uint8Array)&&(h=s.from(h,h.offset,h.byteLength)),!s.isBuffer(f)||!s.isBuffer(h))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(f===h)return 0;for(var A=f.length,N=h.length,z=0,Z=Math.min(A,N);zN.length?s.from(Z).copy(N,z):Uint8Array.prototype.set.call(N,Z,z);else if(s.isBuffer(Z))Z.copy(N,z);else throw new TypeError('"list" argument must be an Array of Buffers');z+=Z.length}return N};function E(M,f){if(s.isBuffer(M))return M.length;if(ArrayBuffer.isView(M)||me(M,ArrayBuffer))return M.byteLength;if(typeof M!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof M);var h=M.length,A=arguments.length>2&&arguments[2]===!0;if(!A&&h===0)return 0;for(var N=!1;;)switch(f){case"ascii":case"latin1":case"binary":return h;case"utf8":case"utf-8":return J(M).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h*2;case"hex":return h>>>1;case"base64":return ne(M).length;default:if(N)return A?-1:J(M).length;f=(""+f).toLowerCase(),N=!0}}s.byteLength=E;function T(M,f,h){var A=!1;if((f===void 0||f<0)&&(f=0),f>this.length||((h===void 0||h>this.length)&&(h=this.length),h<=0)||(h>>>=0,f>>>=0,h<=f))return"";for(M||(M="utf8");;)switch(M){case"hex":return l(this,f,h);case"utf8":case"utf-8":return _(this,f,h);case"ascii":return L(this,f,h);case"latin1":case"binary":return b(this,f,h);case"base64":return p(this,f,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,f,h);default:if(A)throw new TypeError("Unknown encoding: "+M);M=(M+"").toLowerCase(),A=!0}}s.prototype._isBuffer=!0;function $(M,f,h){var A=M[f];M[f]=M[h],M[h]=A}s.prototype.swap16=function(){var f=this.length;if(f%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var h=0;hh&&(f+=" ... "),""},r&&(s.prototype[r]=s.prototype.inspect),s.prototype.compare=function(f,h,A,N,z){if(me(f,Uint8Array)&&(f=s.from(f,f.offset,f.byteLength)),!s.isBuffer(f))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof f);if(h===void 0&&(h=0),A===void 0&&(A=f?f.length:0),N===void 0&&(N=0),z===void 0&&(z=this.length),h<0||A>f.length||N<0||z>this.length)throw new RangeError("out of range index");if(N>=z&&h>=A)return 0;if(N>=z)return-1;if(h>=A)return 1;if(h>>>=0,A>>>=0,N>>>=0,z>>>=0,this===f)return 0;for(var Z=z-N,se=A-h,le=Math.min(Z,se),ve=this.slice(N,z),de=f.slice(h,A),ue=0;ue2147483647?h=2147483647:h<-2147483648&&(h=-2147483648),h=+h,oe(h)&&(h=N?0:M.length-1),h<0&&(h=M.length+h),h>=M.length){if(N)return-1;h=M.length-1}else if(h<0)if(N)h=0;else return-1;if(typeof f=="string"&&(f=s.from(f,A)),s.isBuffer(f))return f.length===0?-1:V(M,f,h,A,N);if(typeof f=="number")return f=f&255,typeof Uint8Array.prototype.indexOf=="function"?N?Uint8Array.prototype.indexOf.call(M,f,h):Uint8Array.prototype.lastIndexOf.call(M,f,h):V(M,[f],h,A,N);throw new TypeError("val must be string, number or Buffer")}function V(M,f,h,A,N){var z=1,Z=M.length,se=f.length;if(A!==void 0&&(A=String(A).toLowerCase(),A==="ucs2"||A==="ucs-2"||A==="utf16le"||A==="utf-16le")){if(M.length<2||f.length<2)return-1;z=2,Z/=2,se/=2,h/=2}function le(we,be){return z===1?we[be]:we.readUInt16BE(be*z)}var ve;if(N){var de=-1;for(ve=h;veZ&&(h=Z-se),ve=h;ve>=0;ve--){for(var ue=!0,Xe=0;XeN&&(A=N)):A=N;var z=f.length;A>z/2&&(A=z/2);for(var Z=0;Z>>0,isFinite(A)?(A=A>>>0,N===void 0&&(N="utf8")):(N=A,A=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var z=this.length-h;if((A===void 0||A>z)&&(A=z),f.length>0&&(A<0||h<0)||h>this.length)throw new RangeError("Attempt to write outside buffer bounds");N||(N="utf8");for(var Z=!1;;)switch(N){case"hex":return H(this,f,h,A);case"utf8":case"utf-8":return Q(this,f,h,A);case"ascii":case"latin1":case"binary":return m(this,f,h,A);case"base64":return a(this,f,h,A);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c(this,f,h,A);default:if(Z)throw new TypeError("Unknown encoding: "+N);N=(""+N).toLowerCase(),Z=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function p(M,f,h){return f===0&&h===M.length?e.fromByteArray(M):e.fromByteArray(M.slice(f,h))}function _(M,f,h){h=Math.min(M.length,h);for(var A=[],N=f;N239?4:z>223?3:z>191?2:1;if(N+se<=h){var le,ve,de,ue;switch(se){case 1:z<128&&(Z=z);break;case 2:le=M[N+1],(le&192)===128&&(ue=(z&31)<<6|le&63,ue>127&&(Z=ue));break;case 3:le=M[N+1],ve=M[N+2],(le&192)===128&&(ve&192)===128&&(ue=(z&15)<<12|(le&63)<<6|ve&63,ue>2047&&(ue<55296||ue>57343)&&(Z=ue));break;case 4:le=M[N+1],ve=M[N+2],de=M[N+3],(le&192)===128&&(ve&192)===128&&(de&192)===128&&(ue=(z&15)<<18|(le&63)<<12|(ve&63)<<6|de&63,ue>65535&&ue<1114112&&(Z=ue))}}Z===null?(Z=65533,se=1):Z>65535&&(Z-=65536,A.push(Z>>>10&1023|55296),Z=56320|Z&1023),A.push(Z),N+=se}return C(A)}var y=4096;function C(M){var f=M.length;if(f<=y)return String.fromCharCode.apply(String,M);for(var h="",A=0;AA)&&(h=A);for(var N="",z=f;zA&&(f=A),h<0?(h+=A,h<0&&(h=0)):h>A&&(h=A),hh)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(f,h,A){f=f>>>0,h=h>>>0,A||G(f,h,this.length);for(var N=this[f],z=1,Z=0;++Z>>0,h=h>>>0,A||G(f,h,this.length);for(var N=this[f+--h],z=1;h>0&&(z*=256);)N+=this[f+--h]*z;return N},s.prototype.readUint8=s.prototype.readUInt8=function(f,h){return f=f>>>0,h||G(f,1,this.length),this[f]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(f,h){return f=f>>>0,h||G(f,2,this.length),this[f]|this[f+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(f,h){return f=f>>>0,h||G(f,2,this.length),this[f]<<8|this[f+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(f,h){return f=f>>>0,h||G(f,4,this.length),(this[f]|this[f+1]<<8|this[f+2]<<16)+this[f+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(f,h){return f=f>>>0,h||G(f,4,this.length),this[f]*16777216+(this[f+1]<<16|this[f+2]<<8|this[f+3])},s.prototype.readIntLE=function(f,h,A){f=f>>>0,h=h>>>0,A||G(f,h,this.length);for(var N=this[f],z=1,Z=0;++Z=z&&(N-=Math.pow(2,8*h)),N},s.prototype.readIntBE=function(f,h,A){f=f>>>0,h=h>>>0,A||G(f,h,this.length);for(var N=h,z=1,Z=this[f+--N];N>0&&(z*=256);)Z+=this[f+--N]*z;return z*=128,Z>=z&&(Z-=Math.pow(2,8*h)),Z},s.prototype.readInt8=function(f,h){return f=f>>>0,h||G(f,1,this.length),this[f]&128?(255-this[f]+1)*-1:this[f]},s.prototype.readInt16LE=function(f,h){f=f>>>0,h||G(f,2,this.length);var A=this[f]|this[f+1]<<8;return A&32768?A|4294901760:A},s.prototype.readInt16BE=function(f,h){f=f>>>0,h||G(f,2,this.length);var A=this[f+1]|this[f]<<8;return A&32768?A|4294901760:A},s.prototype.readInt32LE=function(f,h){return f=f>>>0,h||G(f,4,this.length),this[f]|this[f+1]<<8|this[f+2]<<16|this[f+3]<<24},s.prototype.readInt32BE=function(f,h){return f=f>>>0,h||G(f,4,this.length),this[f]<<24|this[f+1]<<16|this[f+2]<<8|this[f+3]},s.prototype.readFloatLE=function(f,h){return f=f>>>0,h||G(f,4,this.length),n.read(this,f,!0,23,4)},s.prototype.readFloatBE=function(f,h){return f=f>>>0,h||G(f,4,this.length),n.read(this,f,!1,23,4)},s.prototype.readDoubleLE=function(f,h){return f=f>>>0,h||G(f,8,this.length),n.read(this,f,!0,52,8)},s.prototype.readDoubleBE=function(f,h){return f=f>>>0,h||G(f,8,this.length),n.read(this,f,!1,52,8)};function W(M,f,h,A,N,z){if(!s.isBuffer(M))throw new TypeError('"buffer" argument must be a Buffer instance');if(f>N||fM.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(f,h,A,N){if(f=+f,h=h>>>0,A=A>>>0,!N){var z=Math.pow(2,8*A)-1;W(this,f,h,A,z,0)}var Z=1,se=0;for(this[h]=f&255;++se>>0,A=A>>>0,!N){var z=Math.pow(2,8*A)-1;W(this,f,h,A,z,0)}var Z=A-1,se=1;for(this[h+Z]=f&255;--Z>=0&&(se*=256);)this[h+Z]=f/se&255;return h+A},s.prototype.writeUint8=s.prototype.writeUInt8=function(f,h,A){return f=+f,h=h>>>0,A||W(this,f,h,1,255,0),this[h]=f&255,h+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(f,h,A){return f=+f,h=h>>>0,A||W(this,f,h,2,65535,0),this[h]=f&255,this[h+1]=f>>>8,h+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(f,h,A){return f=+f,h=h>>>0,A||W(this,f,h,2,65535,0),this[h]=f>>>8,this[h+1]=f&255,h+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(f,h,A){return f=+f,h=h>>>0,A||W(this,f,h,4,4294967295,0),this[h+3]=f>>>24,this[h+2]=f>>>16,this[h+1]=f>>>8,this[h]=f&255,h+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(f,h,A){return f=+f,h=h>>>0,A||W(this,f,h,4,4294967295,0),this[h]=f>>>24,this[h+1]=f>>>16,this[h+2]=f>>>8,this[h+3]=f&255,h+4},s.prototype.writeIntLE=function(f,h,A,N){if(f=+f,h=h>>>0,!N){var z=Math.pow(2,8*A-1);W(this,f,h,A,z-1,-z)}var Z=0,se=1,le=0;for(this[h]=f&255;++Z>0)-le&255;return h+A},s.prototype.writeIntBE=function(f,h,A,N){if(f=+f,h=h>>>0,!N){var z=Math.pow(2,8*A-1);W(this,f,h,A,z-1,-z)}var Z=A-1,se=1,le=0;for(this[h+Z]=f&255;--Z>=0&&(se*=256);)f<0&&le===0&&this[h+Z+1]!==0&&(le=1),this[h+Z]=(f/se>>0)-le&255;return h+A},s.prototype.writeInt8=function(f,h,A){return f=+f,h=h>>>0,A||W(this,f,h,1,127,-128),f<0&&(f=255+f+1),this[h]=f&255,h+1},s.prototype.writeInt16LE=function(f,h,A){return f=+f,h=h>>>0,A||W(this,f,h,2,32767,-32768),this[h]=f&255,this[h+1]=f>>>8,h+2},s.prototype.writeInt16BE=function(f,h,A){return f=+f,h=h>>>0,A||W(this,f,h,2,32767,-32768),this[h]=f>>>8,this[h+1]=f&255,h+2},s.prototype.writeInt32LE=function(f,h,A){return f=+f,h=h>>>0,A||W(this,f,h,4,2147483647,-2147483648),this[h]=f&255,this[h+1]=f>>>8,this[h+2]=f>>>16,this[h+3]=f>>>24,h+4},s.prototype.writeInt32BE=function(f,h,A){return f=+f,h=h>>>0,A||W(this,f,h,4,2147483647,-2147483648),f<0&&(f=4294967295+f+1),this[h]=f>>>24,this[h+1]=f>>>16,this[h+2]=f>>>8,this[h+3]=f&255,h+4};function te(M,f,h,A,N,z){if(h+A>M.length)throw new RangeError("Index out of range");if(h<0)throw new RangeError("Index out of range")}function re(M,f,h,A,N){return f=+f,h=h>>>0,N||te(M,f,h,4),n.write(M,f,h,A,23,4),h+4}s.prototype.writeFloatLE=function(f,h,A){return re(this,f,h,!0,A)},s.prototype.writeFloatBE=function(f,h,A){return re(this,f,h,!1,A)};function g(M,f,h,A,N){return f=+f,h=h>>>0,N||te(M,f,h,8),n.write(M,f,h,A,52,8),h+8}s.prototype.writeDoubleLE=function(f,h,A){return g(this,f,h,!0,A)},s.prototype.writeDoubleBE=function(f,h,A){return g(this,f,h,!1,A)},s.prototype.copy=function(f,h,A,N){if(!s.isBuffer(f))throw new TypeError("argument should be a Buffer");if(A||(A=0),!N&&N!==0&&(N=this.length),h>=f.length&&(h=f.length),h||(h=0),N>0&&N=this.length)throw new RangeError("Index out of range");if(N<0)throw new RangeError("sourceEnd out of bounds");N>this.length&&(N=this.length),f.length-h>>0,A=A===void 0?this.length:A>>>0,f||(f=0);var Z;if(typeof f=="number")for(Z=h;Z55295&&h<57344){if(!N){if(h>56319){(f-=3)>-1&&z.push(239,191,189);continue}else if(Z+1===A){(f-=3)>-1&&z.push(239,191,189);continue}N=h;continue}if(h<56320){(f-=3)>-1&&z.push(239,191,189),N=h;continue}h=(N-55296<<10|h-56320)+65536}else N&&(f-=3)>-1&&z.push(239,191,189);if(N=null,h<128){if((f-=1)<0)break;z.push(h)}else if(h<2048){if((f-=2)<0)break;z.push(h>>6|192,h&63|128)}else if(h<65536){if((f-=3)<0)break;z.push(h>>12|224,h>>6&63|128,h&63|128)}else if(h<1114112){if((f-=4)<0)break;z.push(h>>18|240,h>>12&63|128,h>>6&63|128,h&63|128)}else throw new Error("Invalid code point")}return z}function X(M){for(var f=[],h=0;h>8,N=h%256,z.push(N),z.push(A);return z}function ne(M){return e.toByteArray(K(M))}function ee(M,f,h,A){for(var N=0;N=f.length||N>=M.length);++N)f[N+h]=M[N];return N}function me(M,f){return M instanceof f||M!=null&&M.constructor!=null&&M.constructor.name!=null&&M.constructor.name===f.name}function oe(M){return M!==M}var he=function(){for(var M="0123456789abcdef",f=new Array(256),h=0;h<16;++h)for(var A=h*16,N=0;N<16;++N)f[A+N]=M[h]+M[N];return f}()})(Yt);var Ke={},Il={get exports(){return Ke},set exports(t){Ke=t}},je=Il.exports={},lt,ut;function Vr(){throw new Error("setTimeout has not been defined")}function Jr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?lt=setTimeout:lt=Vr}catch{lt=Vr}try{typeof clearTimeout=="function"?ut=clearTimeout:ut=Jr}catch{ut=Jr}})();function fa(t){if(lt===setTimeout)return setTimeout(t,0);if((lt===Vr||!lt)&&setTimeout)return lt=setTimeout,setTimeout(t,0);try{return lt(t,0)}catch{try{return lt.call(null,t,0)}catch{return lt.call(this,t,0)}}}function Rl(t){if(ut===clearTimeout)return clearTimeout(t);if((ut===Jr||!ut)&&clearTimeout)return ut=clearTimeout,clearTimeout(t);try{return ut(t)}catch{try{return ut.call(null,t)}catch{return ut.call(this,t)}}}var _t=[],cn=!1,Gt,jn=-1;function Bl(){!cn||!Gt||(cn=!1,Gt.length?_t=Gt.concat(_t):jn=-1,_t.length&&ha())}function ha(){if(!cn){var t=fa(Bl);cn=!0;for(var e=_t.length;e;){for(Gt=_t,_t=[];++jn1)for(var n=1;nt;function Kn(t,e){for(const n in e)t[n]=e[n];return t}function ga(t){return t()}function Vi(){return Object.create(null)}function dt(t){t.forEach(ga)}function or(t){return typeof t=="function"}function nt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let qn;function Kr(t,e){return qn||(qn=document.createElement("a")),qn.href=e,t===qn.href}function Ol(t){return Object.keys(t).length===0}function Ll(t,...e){if(t==null)return ze;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function _i(t,e,n){t.$$.on_destroy.push(Ll(e,n))}function ma(t,e,n,r){if(t){const o=_a(t,e,n,r);return t[0](o)}}function _a(t,e,n,r){return t[1]&&r?Kn(n.ctx.slice(),t[1](r(e))):n.ctx}function va(t,e,n,r){if(t[2]&&r){const o=t[2](r(n));if(e.dirty===void 0)return o;if(typeof o=="object"){const i=[],u=Math.max(e.dirty.length,o.length);for(let s=0;s32){const e=[],n=t.ctx.length/32;for(let r=0;rwindow.performance.now():()=>Date.now(),vi=ba?t=>requestAnimationFrame(t):ze;const fn=new Set;function xa(t){fn.forEach(e=>{e.c(t)||(fn.delete(e),e.f())}),fn.size!==0&&vi(xa)}function Pl(t){let e;return fn.size===0&&vi(xa),{promise:new Promise(n=>{fn.add(e={c:t,f:n})}),abort(){fn.delete(e)}}}function q(t,e){t.appendChild(e)}function Ma(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Dl(t){const e=Y("style");return Ul(Ma(t),e),e.sheet}function Ul(t,e){return q(t.head||t,e),e.sheet}function ge(t,e,n){t.insertBefore(e,n||null)}function pe(t){t.parentNode&&t.parentNode.removeChild(t)}function yi(t,e){for(let n=0;nt.removeEventListener(e,n,r)}function gn(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Gi(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function j(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function ql(t){return Array.from(t.childNodes)}function Ye(t,e){e=""+e,t.data!==e&&(t.data=e)}function Yi(t,e){t.value=e??""}function Hl(t,e,n,r){n===null?t.style.removeProperty(e):t.style.setProperty(e,n,r?"important":"")}function Ea(t,e,{bubbles:n=!1,cancelable:r=!1}={}){const o=document.createEvent("CustomEvent");return o.initCustomEvent(t,n,r,e),o}class Wl{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,r=null){this.e||(this.is_svg?this.e=Gr(n.nodeName):this.e=Y(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(r)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n>>0}function jl(t,e){const n={stylesheet:Dl(e),rules:{}};return Gn.set(t,n),n}function Zi(t,e,n,r,o,i,u,s=0){const d=16.666/r;let v=`{ -`;for(let S=0;S<=1;S+=d){const R=e+(n-e)*i(S);v+=S*100+`%{${u(R,1-R)}} -`}const w=v+`100% {${u(n,1-n)}} -}`,B=`__svelte_${zl(w)}_${s}`,I=Ma(t),{stylesheet:O,rules:F}=Gn.get(I)||jl(I,t);F[B]||(F[B]=!0,O.insertRule(`@keyframes ${B} ${w}`,O.cssRules.length));const P=t.style.animation||"";return t.style.animation=`${P?`${P}, `:""}${B} ${r}ms linear ${o}ms 1 both`,Yn+=1,B}function Vl(t,e){const n=(t.style.animation||"").split(", "),r=n.filter(e?i=>i.indexOf(e)<0:i=>i.indexOf("__svelte")===-1),o=n.length-r.length;o&&(t.style.animation=r.join(", "),Yn-=o,Yn||Jl())}function Jl(){vi(()=>{Yn||(Gn.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&pe(e)}),Gn.clear())})}let Fn;function Tn(t){Fn=t}function ar(){if(!Fn)throw new Error("Function called outside component initialization");return Fn}function wi(t){ar().$$.on_mount.push(t)}function sr(){const t=ar();return(e,n,{cancelable:r=!1}={})=>{const o=t.$$.callbacks[e];if(o){const i=Ea(e,n,{cancelable:r});return o.slice().forEach(u=>{u.call(t,i)}),!i.defaultPrevented}return!0}}function Kl(t,e){return ar().$$.context.set(t,e),e}function Gl(t){return ar().$$.context.get(t)}const sn=[],Ft=[];let hn=[];const Xi=[],Yl=Promise.resolve();let Yr=!1;function Ql(){Yr||(Yr=!0,Yl.then(ka))}function Qt(t){hn.push(t)}const Br=new Set;let on=0;function ka(){if(on!==0)return;const t=Fn;do{try{for(;ont.indexOf(r)===-1?e.push(r):n.push(r)),n.forEach(r=>r()),hn=e}let Cn;function eu(){return Cn||(Cn=Promise.resolve(),Cn.then(()=>{Cn=null})),Cn}function Fr(t,e,n){t.dispatchEvent(Ea(`${e?"intro":"outro"}${n}`))}const Vn=new Set;let vt;function Xt(){vt={r:0,c:[],p:vt}}function en(){vt.r||dt(vt.c),vt=vt.p}function ye(t,e){t&&t.i&&(Vn.delete(t),t.i(e))}function We(t,e,n,r){if(t&&t.o){if(Vn.has(t))return;Vn.add(t),vt.c.push(()=>{Vn.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}else r&&r()}const tu={duration:0};function ln(t,e,n,r){const o={direction:"both"};let i=e(t,n,o),u=r?0:1,s=null,d=null,v=null;function w(){v&&Vl(t,v)}function B(O,F){const P=O.b-u;return F*=Math.abs(P),{a:u,b:O.b,d:P,duration:F,start:O.start,end:O.start+F,group:O.group}}function I(O){const{delay:F=0,duration:P=300,easing:S=pa,tick:R=ze,css:x}=i||tu,E={start:$l()+F,b:O};O||(E.group=vt,vt.r+=1),s||d?d=E:(x&&(w(),v=Zi(t,u,O,P,F,S,x)),O&&R(0,1),s=B(E,P),Qt(()=>Fr(t,O,"start")),Pl(T=>{if(d&&T>d.start&&(s=B(d,P),d=null,Fr(t,s.b,"start"),x&&(w(),v=Zi(t,u,s.b,s.duration,0,S,i.css))),s){if(T>=s.end)R(u=s.b,1-u),Fr(t,s.b,"end"),d||(s.b?w():--s.group.r||dt(s.group.c)),s=null;else if(T>=s.start){const $=T-s.start;u=s.a+s.d*S($/s.duration),R(u,1-u)}}return!!(s||d)}))}return{run(O){or(i)?eu().then(()=>{i=i(o),I(O)}):I(O)},end(){w(),s=d=null}}}function nu(t,e){const n={},r={},o={$$scope:1};let i=t.length;for(;i--;){const u=t[i],s=e[i];if(s){for(const d in u)d in s||(r[d]=1);for(const d in s)o[d]||(n[d]=s[d],o[d]=1);t[i]=s}else for(const d in u)o[d]=1}for(const u in r)u in n||(n[u]=void 0);return n}function ru(t){return typeof t=="object"&&t!==null?t:{}}function ht(t){t&&t.c()}function rt(t,e,n,r){const{fragment:o,after_update:i}=t.$$;o&&o.m(e,n),r||Qt(()=>{const u=t.$$.on_mount.map(ga).filter(or);t.$$.on_destroy?t.$$.on_destroy.push(...u):dt(u),t.$$.on_mount=[]}),i.forEach(Qt)}function it(t,e){const n=t.$$;n.fragment!==null&&(Xl(n.after_update),dt(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function iu(t,e){t.$$.dirty[0]===-1&&(sn.push(t),Ql(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const F=O.length?O[0]:I;return v.ctx&&o(v.ctx[B],v.ctx[B]=F)&&(!v.skip_bound&&v.bound[B]&&v.bound[B](F),w&&iu(t,B)),I}):[],v.update(),w=!0,dt(v.before_update),v.fragment=r?r(v.ctx):!1,e.target){if(e.hydrate){const B=ql(e.target);v.fragment&&v.fragment.l(B),B.forEach(pe)}else v.fragment&&v.fragment.c();e.intro&&ye(t.$$.fragment),rt(t,e.target,e.anchor,e.customElement),ka()}Tn(d)}class st{$destroy(){it(this,1),this.$destroy=ze}$on(e,n){if(!or(n))return ze;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o!==-1&&r.splice(o,1)}}$set(e){this.$$set&&!Ol(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}var bi={},xe={};Object.defineProperty(xe,"__esModule",{value:!0});var Sa=xe.getLocalStorage=$a=xe.getLocalStorageOrThrow=Na=xe.getCrypto=La=xe.getCryptoOrThrow=Oa=xe.getLocation=Fa=xe.getLocationOrThrow=Ba=xe.getNavigator=Ra=xe.getNavigatorOrThrow=Ia=xe.getDocument=Ta=xe.getDocumentOrThrow=Aa=xe.getFromWindowOrThrow=Ca=xe.getFromWindow=void 0;function tn(t){let e;return typeof window<"u"&&typeof window[t]<"u"&&(e=window[t]),e}var Ca=xe.getFromWindow=tn;function Mn(t){const e=tn(t);if(!e)throw new Error(`${t} is not defined in Window`);return e}var Aa=xe.getFromWindowOrThrow=Mn;function ou(){return Mn("document")}var Ta=xe.getDocumentOrThrow=ou;function au(){return tn("document")}var Ia=xe.getDocument=au;function su(){return Mn("navigator")}var Ra=xe.getNavigatorOrThrow=su;function lu(){return tn("navigator")}var Ba=xe.getNavigator=lu;function uu(){return Mn("location")}var Fa=xe.getLocationOrThrow=uu;function cu(){return tn("location")}var Oa=xe.getLocation=cu;function fu(){return Mn("crypto")}var La=xe.getCryptoOrThrow=fu;function hu(){return tn("crypto")}var Na=xe.getCrypto=hu;function du(){return Mn("localStorage")}var $a=xe.getLocalStorageOrThrow=du;function pu(){return tn("localStorage")}Sa=xe.getLocalStorage=pu;Object.defineProperty(bi,"__esModule",{value:!0});var Pa=bi.getWindowMetadata=void 0;const eo=xe;function gu(){let t,e;try{t=eo.getDocumentOrThrow(),e=eo.getLocationOrThrow()}catch{return null}function n(){const B=t.getElementsByTagName("link"),I=[];for(let O=0;O-1){const S=F.getAttribute("href");if(S)if(S.toLowerCase().indexOf("https:")===-1&&S.toLowerCase().indexOf("http:")===-1&&S.indexOf("//")!==0){let R=e.protocol+"//"+e.host;if(S.indexOf("/")===0)R+=S;else{const x=e.pathname.split("/");x.pop();const E=x.join("/");R+=E+"/"+S}I.push(R)}else if(S.indexOf("//")===0){const R=e.protocol+S;I.push(R)}else I.push(S)}}return I}function r(...B){const I=t.getElementsByTagName("meta");for(let O=0;OF.getAttribute(S)).filter(S=>S?B.includes(S):!1);if(P.length&&P){const S=F.getAttribute("content");if(S)return S}}return""}function o(){let B=r("name","og:site_name","og:title","twitter:title");return B||(B=t.title),B}function i(){return r("description","og:description","twitter:description","keywords")}const u=o(),s=i(),d=e.origin,v=n();return{description:s,url:d,icons:v,name:u}}Pa=bi.getWindowMetadata=gu;var mu=globalThis&&globalThis.__spreadArrays||function(){for(var t=0,e=0,n=arguments.length;e"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new bu:typeof navigator<"u"?ro(navigator.userAgent):Au()}function Su(t){return t!==""&&Eu.reduce(function(e,n){var r=n[0],o=n[1];if(e)return e;var i=o.exec(t);return!!i&&[r,i]},!1)}function ro(t){var e=Su(t);if(!e)return null;var n=e[0],r=e[1];if(n==="searchbot")return new wu;var o=r[1]&&r[1].split(/[._]/).slice(0,3);o?o.length1:!1}function qa(){return ur()?Da()||Ua():!1}function Ha(){const t=lr();return t&&t.name?t.name.toLowerCase()==="node":!1}function Wa(){return!Ha()&&!!za()}const Iu=Ca,Ru=Aa,Bu=Ta,Fu=Ia,Ou=Ra,za=Ba,Lu=Fa,ja=Oa,Nu=La,$u=Na,Pu=$a,cr=Sa;function Qr(){return Pa()}function Du(t){if(typeof t!="string")throw new Error(`Cannot safe json parse value of type ${typeof t}`);try{return JSON.parse(t)}catch{return t}}function Uu(t){return typeof t=="string"?t:JSON.stringify(t)}const Va=Du,Ja=Uu;function xi(t,e){const n=Ja(e),r=cr();r&&r.setItem(t,n)}function Mi(t){let e=null,n=null;const r=cr();return r&&(n=r.getItem(t)),e=n&&Va(n),e}function Ei(t){const e=cr();e&&e.removeItem(t)}const Qn="WALLETCONNECT_DEEPLINK_CHOICE";function qu(t,e){const n=encodeURIComponent(t);return e.universalLink?`${e.universalLink}/wc?uri=${n}`:e.deepLink?`${e.deepLink}${e.deepLink.endsWith(":")?"//":"/"}wc?uri=${n}`:""}function Hu(t){const e=t.href.split("?")[0];xi(Qn,Object.assign(Object.assign({},t),{href:e}))}function Ka(t,e){return t.filter(n=>n.name.toLowerCase().includes(e.toLowerCase()))[0]}function Wu(t,e){let n=t;return e&&(n=e.map(r=>Ka(t,r)).filter(Boolean)),n}const Ga="https://registry.walletconnect.com";function zu(){return Ga+"/api/v2/wallets"}function ju(){return Ga+"/api/v2/dapps"}function Ya(t,e="mobile"){var n;return{name:t.name||"",shortName:t.metadata.shortName||"",color:t.metadata.colors.primary||"",logo:(n=t.image_url.sm)!==null&&n!==void 0?n:"",universalLink:t[e].universal||"",deepLink:t[e].native||""}}function Vu(t,e="mobile"){return Object.values(t).filter(n=>!!n[e].universal||!!n[e].native).map(n=>Ya(n,e))}const Ju=Object.freeze(Object.defineProperty({__proto__:null,detectEnv:lr,detectOS:ur,formatIOSMobile:qu,formatMobileRegistry:Vu,formatMobileRegistryEntry:Ya,getClientMeta:Qr,getCrypto:$u,getCryptoOrThrow:Nu,getDappRegistryUrl:ju,getDocument:Fu,getDocumentOrThrow:Bu,getFromWindow:Iu,getFromWindowOrThrow:Ru,getLocal:Mi,getLocalStorage:cr,getLocalStorageOrThrow:Pu,getLocation:ja,getLocationOrThrow:Lu,getMobileLinkRegistry:Wu,getMobileRegistryEntry:Ka,getNavigator:za,getNavigatorOrThrow:Ou,getWalletRegistryUrl:zu,isAndroid:Da,isBrowser:Wa,isIOS:Ua,isMobile:qa,isNode:Ha,mobileLinkChoiceKey:Qn,removeLocal:Ei,safeJsonParse:Va,safeJsonStringify:Ja,saveMobileLinkInfo:Hu,setLocal:xi},Symbol.toStringTag,{value:"Module"})),Ku=["session_request","session_update","exchange_key","connect","disconnect","display_uri","modal_closed","transport_open","transport_close","transport_error"],Qa=["eth_sendTransaction","eth_signTransaction","eth_sign","eth_signTypedData","eth_signTypedData_v1","eth_signTypedData_v2","eth_signTypedData_v3","eth_signTypedData_v4","personal_sign","wallet_addEthereumChain","wallet_switchEthereumChain","wallet_getPermissions","wallet_requestPermissions","wallet_registerOnboarding","wallet_watchAsset","wallet_scanQRCode"];var Zr={},Gu={get exports(){return Zr},set exports(t){Zr=t}};(function(t){(function(e,n){function r(m,a){if(!m)throw new Error(a||"Assertion failed")}function o(m,a){m.super_=a;var c=function(){};c.prototype=a.prototype,m.prototype=new c,m.prototype.constructor=m}function i(m,a,c){if(i.isBN(m))return m;this.negative=0,this.words=null,this.length=0,this.red=null,m!==null&&((a==="le"||a==="be")&&(c=a,a=10),this._init(m||0,a||10,c||"be"))}typeof e=="object"?e.exports=i:n.BN=i,i.BN=i,i.wordSize=26;var u;try{u=Yt.Buffer}catch{}i.isBN=function(a){return a instanceof i?!0:a!==null&&typeof a=="object"&&a.constructor.wordSize===i.wordSize&&Array.isArray(a.words)},i.max=function(a,c){return a.cmp(c)>0?a:c},i.min=function(a,c){return a.cmp(c)<0?a:c},i.prototype._init=function(a,c,p){if(typeof a=="number")return this._initNumber(a,c,p);if(typeof a=="object")return this._initArray(a,c,p);c==="hex"&&(c=16),r(c===(c|0)&&c>=2&&c<=36),a=a.toString().replace(/\s+/g,"");var _=0;a[0]==="-"&&_++,c===16?this._parseHex(a,_):this._parseBase(a,c,_),a[0]==="-"&&(this.negative=1),this.strip(),p==="le"&&this._initArray(this.toArray(),c,p)},i.prototype._initNumber=function(a,c,p){a<0&&(this.negative=1,a=-a),a<67108864?(this.words=[a&67108863],this.length=1):a<4503599627370496?(this.words=[a&67108863,a/67108864&67108863],this.length=2):(r(a<9007199254740992),this.words=[a&67108863,a/67108864&67108863,1],this.length=3),p==="le"&&this._initArray(this.toArray(),c,p)},i.prototype._initArray=function(a,c,p){if(r(typeof a.length=="number"),a.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(a.length/3),this.words=new Array(this.length);for(var _=0;_=0;_-=3)C=a[_]|a[_-1]<<8|a[_-2]<<16,this.words[y]|=C<>>26-L&67108863,L+=24,L>=26&&(L-=26,y++);else if(p==="le")for(_=0,y=0;_>>26-L&67108863,L+=24,L>=26&&(L-=26,y++);return this.strip()};function s(m,a,c){for(var p=0,_=Math.min(m.length,c),y=a;y<_;y++){var C=m.charCodeAt(y)-48;p<<=4,C>=49&&C<=54?p|=C-49+10:C>=17&&C<=22?p|=C-17+10:p|=C&15}return p}i.prototype._parseHex=function(a,c){this.length=Math.ceil((a.length-c)/6),this.words=new Array(this.length);for(var p=0;p=c;p-=6)y=s(a,p,p+6),this.words[_]|=y<>>26-C&4194303,C+=24,C>=26&&(C-=26,_++);p+6!==c&&(y=s(a,c,p+6),this.words[_]|=y<>>26-C&4194303),this.strip()};function d(m,a,c,p){for(var _=0,y=Math.min(m.length,c),C=a;C=49?_+=L-49+10:L>=17?_+=L-17+10:_+=L}return _}i.prototype._parseBase=function(a,c,p){this.words=[0],this.length=1;for(var _=0,y=1;y<=67108863;y*=c)_++;_--,y=y/c|0;for(var C=a.length-p,L=C%_,b=Math.min(C,C-L)+p,l=0,k=p;k1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?""};var v=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],w=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],B=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(a,c){a=a||10,c=c|0||1;var p;if(a===16||a==="hex"){p="";for(var _=0,y=0,C=0;C>>24-_&16777215,y!==0||C!==this.length-1?p=v[6-b.length]+b+p:p=b+p,_+=2,_>=26&&(_-=26,C--)}for(y!==0&&(p=y.toString(16)+p);p.length%c!==0;)p="0"+p;return this.negative!==0&&(p="-"+p),p}if(a===(a|0)&&a>=2&&a<=36){var l=w[a],k=B[a];p="";var G=this.clone();for(G.negative=0;!G.isZero();){var W=G.modn(k).toString(a);G=G.idivn(k),G.isZero()?p=W+p:p=v[l-W.length]+W+p}for(this.isZero()&&(p="0"+p);p.length%c!==0;)p="0"+p;return this.negative!==0&&(p="-"+p),p}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var a=this.words[0];return this.length===2?a+=this.words[1]*67108864:this.length===3&&this.words[2]===1?a+=4503599627370496+this.words[1]*67108864:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-a:a},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(a,c){return r(typeof u<"u"),this.toArrayLike(u,a,c)},i.prototype.toArray=function(a,c){return this.toArrayLike(Array,a,c)},i.prototype.toArrayLike=function(a,c,p){var _=this.byteLength(),y=p||Math.max(1,_);r(_<=y,"byte array longer than desired length"),r(y>0,"Requested array length <= 0"),this.strip();var C=c==="le",L=new a(y),b,l,k=this.clone();if(C){for(l=0;!k.isZero();l++)b=k.andln(255),k.iushrn(8),L[l]=b;for(;l=4096&&(p+=13,c>>>=13),c>=64&&(p+=7,c>>>=7),c>=8&&(p+=4,c>>>=4),c>=2&&(p+=2,c>>>=2),p+c},i.prototype._zeroBits=function(a){if(a===0)return 26;var c=a,p=0;return c&8191||(p+=13,c>>>=13),c&127||(p+=7,c>>>=7),c&15||(p+=4,c>>>=4),c&3||(p+=2,c>>>=2),c&1||p++,p},i.prototype.bitLength=function(){var a=this.words[this.length-1],c=this._countBits(a);return(this.length-1)*26+c};function I(m){for(var a=new Array(m.bitLength()),c=0;c>>_}return a}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var a=0,c=0;ca.length?this.clone().ior(a):a.clone().ior(this)},i.prototype.uor=function(a){return this.length>a.length?this.clone().iuor(a):a.clone().iuor(this)},i.prototype.iuand=function(a){var c;this.length>a.length?c=a:c=this;for(var p=0;pa.length?this.clone().iand(a):a.clone().iand(this)},i.prototype.uand=function(a){return this.length>a.length?this.clone().iuand(a):a.clone().iuand(this)},i.prototype.iuxor=function(a){var c,p;this.length>a.length?(c=this,p=a):(c=a,p=this);for(var _=0;_a.length?this.clone().ixor(a):a.clone().ixor(this)},i.prototype.uxor=function(a){return this.length>a.length?this.clone().iuxor(a):a.clone().iuxor(this)},i.prototype.inotn=function(a){r(typeof a=="number"&&a>=0);var c=Math.ceil(a/26)|0,p=a%26;this._expand(c),p>0&&c--;for(var _=0;_0&&(this.words[_]=~this.words[_]&67108863>>26-p),this.strip()},i.prototype.notn=function(a){return this.clone().inotn(a)},i.prototype.setn=function(a,c){r(typeof a=="number"&&a>=0);var p=a/26|0,_=a%26;return this._expand(p+1),c?this.words[p]=this.words[p]|1<<_:this.words[p]=this.words[p]&~(1<<_),this.strip()},i.prototype.iadd=function(a){var c;if(this.negative!==0&&a.negative===0)return this.negative=0,c=this.isub(a),this.negative^=1,this._normSign();if(this.negative===0&&a.negative!==0)return a.negative=0,c=this.isub(a),a.negative=1,c._normSign();var p,_;this.length>a.length?(p=this,_=a):(p=a,_=this);for(var y=0,C=0;C<_.length;C++)c=(p.words[C]|0)+(_.words[C]|0)+y,this.words[C]=c&67108863,y=c>>>26;for(;y!==0&&C>>26;if(this.length=p.length,y!==0)this.words[this.length]=y,this.length++;else if(p!==this)for(;Ca.length?this.clone().iadd(a):a.clone().iadd(this)},i.prototype.isub=function(a){if(a.negative!==0){a.negative=0;var c=this.iadd(a);return a.negative=1,c._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(a),this.negative=1,this._normSign();var p=this.cmp(a);if(p===0)return this.negative=0,this.length=1,this.words[0]=0,this;var _,y;p>0?(_=this,y=a):(_=a,y=this);for(var C=0,L=0;L>26,this.words[L]=c&67108863;for(;C!==0&&L<_.length;L++)c=(_.words[L]|0)+C,C=c>>26,this.words[L]=c&67108863;if(C===0&&L<_.length&&_!==this)for(;L<_.length;L++)this.words[L]=_.words[L];return this.length=Math.max(this.length,L),_!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(a){return this.clone().isub(a)};function O(m,a,c){c.negative=a.negative^m.negative;var p=m.length+a.length|0;c.length=p,p=p-1|0;var _=m.words[0]|0,y=a.words[0]|0,C=_*y,L=C&67108863,b=C/67108864|0;c.words[0]=L;for(var l=1;l>>26,G=b&67108863,W=Math.min(l,a.length-1),te=Math.max(0,l-m.length+1);te<=W;te++){var re=l-te|0;_=m.words[re]|0,y=a.words[te]|0,C=_*y+G,k+=C/67108864|0,G=C&67108863}c.words[l]=G|0,b=k|0}return b!==0?c.words[l]=b|0:c.length--,c.strip()}var F=function(a,c,p){var _=a.words,y=c.words,C=p.words,L=0,b,l,k,G=_[0]|0,W=G&8191,te=G>>>13,re=_[1]|0,g=re&8191,U=re>>>13,K=_[2]|0,J=K&8191,X=K>>>13,ae=_[3]|0,ne=ae&8191,ee=ae>>>13,me=_[4]|0,oe=me&8191,he=me>>>13,M=_[5]|0,f=M&8191,h=M>>>13,A=_[6]|0,N=A&8191,z=A>>>13,Z=_[7]|0,se=Z&8191,le=Z>>>13,ve=_[8]|0,de=ve&8191,ue=ve>>>13,Xe=_[9]|0,we=Xe&8191,be=Xe>>>13,Pt=y[0]|0,Me=Pt&8191,Ee=Pt>>>13,Dt=y[1]|0,ke=Dt&8191,Se=Dt>>>13,Ut=y[2]|0,Ce=Ut&8191,Ae=Ut>>>13,qt=y[3]|0,Te=qt&8191,Ie=qt>>>13,Ht=y[4]|0,Re=Ht&8191,Be=Ht>>>13,Wt=y[5]|0,Fe=Wt&8191,Oe=Wt>>>13,zt=y[6]|0,Le=zt&8191,Ne=zt>>>13,jt=y[7]|0,$e=jt&8191,Pe=jt>>>13,Vt=y[8]|0,De=Vt&8191,Ue=Vt>>>13,Jt=y[9]|0,qe=Jt&8191,He=Jt>>>13;p.negative=a.negative^c.negative,p.length=19,b=Math.imul(W,Me),l=Math.imul(W,Ee),l=l+Math.imul(te,Me)|0,k=Math.imul(te,Ee);var Mt=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,b=Math.imul(g,Me),l=Math.imul(g,Ee),l=l+Math.imul(U,Me)|0,k=Math.imul(U,Ee),b=b+Math.imul(W,ke)|0,l=l+Math.imul(W,Se)|0,l=l+Math.imul(te,ke)|0,k=k+Math.imul(te,Se)|0;var Et=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(Et>>>26)|0,Et&=67108863,b=Math.imul(J,Me),l=Math.imul(J,Ee),l=l+Math.imul(X,Me)|0,k=Math.imul(X,Ee),b=b+Math.imul(g,ke)|0,l=l+Math.imul(g,Se)|0,l=l+Math.imul(U,ke)|0,k=k+Math.imul(U,Se)|0,b=b+Math.imul(W,Ce)|0,l=l+Math.imul(W,Ae)|0,l=l+Math.imul(te,Ce)|0,k=k+Math.imul(te,Ae)|0;var kt=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(kt>>>26)|0,kt&=67108863,b=Math.imul(ne,Me),l=Math.imul(ne,Ee),l=l+Math.imul(ee,Me)|0,k=Math.imul(ee,Ee),b=b+Math.imul(J,ke)|0,l=l+Math.imul(J,Se)|0,l=l+Math.imul(X,ke)|0,k=k+Math.imul(X,Se)|0,b=b+Math.imul(g,Ce)|0,l=l+Math.imul(g,Ae)|0,l=l+Math.imul(U,Ce)|0,k=k+Math.imul(U,Ae)|0,b=b+Math.imul(W,Te)|0,l=l+Math.imul(W,Ie)|0,l=l+Math.imul(te,Te)|0,k=k+Math.imul(te,Ie)|0;var St=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(St>>>26)|0,St&=67108863,b=Math.imul(oe,Me),l=Math.imul(oe,Ee),l=l+Math.imul(he,Me)|0,k=Math.imul(he,Ee),b=b+Math.imul(ne,ke)|0,l=l+Math.imul(ne,Se)|0,l=l+Math.imul(ee,ke)|0,k=k+Math.imul(ee,Se)|0,b=b+Math.imul(J,Ce)|0,l=l+Math.imul(J,Ae)|0,l=l+Math.imul(X,Ce)|0,k=k+Math.imul(X,Ae)|0,b=b+Math.imul(g,Te)|0,l=l+Math.imul(g,Ie)|0,l=l+Math.imul(U,Te)|0,k=k+Math.imul(U,Ie)|0,b=b+Math.imul(W,Re)|0,l=l+Math.imul(W,Be)|0,l=l+Math.imul(te,Re)|0,k=k+Math.imul(te,Be)|0;var Ct=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,b=Math.imul(f,Me),l=Math.imul(f,Ee),l=l+Math.imul(h,Me)|0,k=Math.imul(h,Ee),b=b+Math.imul(oe,ke)|0,l=l+Math.imul(oe,Se)|0,l=l+Math.imul(he,ke)|0,k=k+Math.imul(he,Se)|0,b=b+Math.imul(ne,Ce)|0,l=l+Math.imul(ne,Ae)|0,l=l+Math.imul(ee,Ce)|0,k=k+Math.imul(ee,Ae)|0,b=b+Math.imul(J,Te)|0,l=l+Math.imul(J,Ie)|0,l=l+Math.imul(X,Te)|0,k=k+Math.imul(X,Ie)|0,b=b+Math.imul(g,Re)|0,l=l+Math.imul(g,Be)|0,l=l+Math.imul(U,Re)|0,k=k+Math.imul(U,Be)|0,b=b+Math.imul(W,Fe)|0,l=l+Math.imul(W,Oe)|0,l=l+Math.imul(te,Fe)|0,k=k+Math.imul(te,Oe)|0;var At=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(At>>>26)|0,At&=67108863,b=Math.imul(N,Me),l=Math.imul(N,Ee),l=l+Math.imul(z,Me)|0,k=Math.imul(z,Ee),b=b+Math.imul(f,ke)|0,l=l+Math.imul(f,Se)|0,l=l+Math.imul(h,ke)|0,k=k+Math.imul(h,Se)|0,b=b+Math.imul(oe,Ce)|0,l=l+Math.imul(oe,Ae)|0,l=l+Math.imul(he,Ce)|0,k=k+Math.imul(he,Ae)|0,b=b+Math.imul(ne,Te)|0,l=l+Math.imul(ne,Ie)|0,l=l+Math.imul(ee,Te)|0,k=k+Math.imul(ee,Ie)|0,b=b+Math.imul(J,Re)|0,l=l+Math.imul(J,Be)|0,l=l+Math.imul(X,Re)|0,k=k+Math.imul(X,Be)|0,b=b+Math.imul(g,Fe)|0,l=l+Math.imul(g,Oe)|0,l=l+Math.imul(U,Fe)|0,k=k+Math.imul(U,Oe)|0,b=b+Math.imul(W,Le)|0,l=l+Math.imul(W,Ne)|0,l=l+Math.imul(te,Le)|0,k=k+Math.imul(te,Ne)|0;var Tt=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,b=Math.imul(se,Me),l=Math.imul(se,Ee),l=l+Math.imul(le,Me)|0,k=Math.imul(le,Ee),b=b+Math.imul(N,ke)|0,l=l+Math.imul(N,Se)|0,l=l+Math.imul(z,ke)|0,k=k+Math.imul(z,Se)|0,b=b+Math.imul(f,Ce)|0,l=l+Math.imul(f,Ae)|0,l=l+Math.imul(h,Ce)|0,k=k+Math.imul(h,Ae)|0,b=b+Math.imul(oe,Te)|0,l=l+Math.imul(oe,Ie)|0,l=l+Math.imul(he,Te)|0,k=k+Math.imul(he,Ie)|0,b=b+Math.imul(ne,Re)|0,l=l+Math.imul(ne,Be)|0,l=l+Math.imul(ee,Re)|0,k=k+Math.imul(ee,Be)|0,b=b+Math.imul(J,Fe)|0,l=l+Math.imul(J,Oe)|0,l=l+Math.imul(X,Fe)|0,k=k+Math.imul(X,Oe)|0,b=b+Math.imul(g,Le)|0,l=l+Math.imul(g,Ne)|0,l=l+Math.imul(U,Le)|0,k=k+Math.imul(U,Ne)|0,b=b+Math.imul(W,$e)|0,l=l+Math.imul(W,Pe)|0,l=l+Math.imul(te,$e)|0,k=k+Math.imul(te,Pe)|0;var It=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(It>>>26)|0,It&=67108863,b=Math.imul(de,Me),l=Math.imul(de,Ee),l=l+Math.imul(ue,Me)|0,k=Math.imul(ue,Ee),b=b+Math.imul(se,ke)|0,l=l+Math.imul(se,Se)|0,l=l+Math.imul(le,ke)|0,k=k+Math.imul(le,Se)|0,b=b+Math.imul(N,Ce)|0,l=l+Math.imul(N,Ae)|0,l=l+Math.imul(z,Ce)|0,k=k+Math.imul(z,Ae)|0,b=b+Math.imul(f,Te)|0,l=l+Math.imul(f,Ie)|0,l=l+Math.imul(h,Te)|0,k=k+Math.imul(h,Ie)|0,b=b+Math.imul(oe,Re)|0,l=l+Math.imul(oe,Be)|0,l=l+Math.imul(he,Re)|0,k=k+Math.imul(he,Be)|0,b=b+Math.imul(ne,Fe)|0,l=l+Math.imul(ne,Oe)|0,l=l+Math.imul(ee,Fe)|0,k=k+Math.imul(ee,Oe)|0,b=b+Math.imul(J,Le)|0,l=l+Math.imul(J,Ne)|0,l=l+Math.imul(X,Le)|0,k=k+Math.imul(X,Ne)|0,b=b+Math.imul(g,$e)|0,l=l+Math.imul(g,Pe)|0,l=l+Math.imul(U,$e)|0,k=k+Math.imul(U,Pe)|0,b=b+Math.imul(W,De)|0,l=l+Math.imul(W,Ue)|0,l=l+Math.imul(te,De)|0,k=k+Math.imul(te,Ue)|0;var wr=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(wr>>>26)|0,wr&=67108863,b=Math.imul(we,Me),l=Math.imul(we,Ee),l=l+Math.imul(be,Me)|0,k=Math.imul(be,Ee),b=b+Math.imul(de,ke)|0,l=l+Math.imul(de,Se)|0,l=l+Math.imul(ue,ke)|0,k=k+Math.imul(ue,Se)|0,b=b+Math.imul(se,Ce)|0,l=l+Math.imul(se,Ae)|0,l=l+Math.imul(le,Ce)|0,k=k+Math.imul(le,Ae)|0,b=b+Math.imul(N,Te)|0,l=l+Math.imul(N,Ie)|0,l=l+Math.imul(z,Te)|0,k=k+Math.imul(z,Ie)|0,b=b+Math.imul(f,Re)|0,l=l+Math.imul(f,Be)|0,l=l+Math.imul(h,Re)|0,k=k+Math.imul(h,Be)|0,b=b+Math.imul(oe,Fe)|0,l=l+Math.imul(oe,Oe)|0,l=l+Math.imul(he,Fe)|0,k=k+Math.imul(he,Oe)|0,b=b+Math.imul(ne,Le)|0,l=l+Math.imul(ne,Ne)|0,l=l+Math.imul(ee,Le)|0,k=k+Math.imul(ee,Ne)|0,b=b+Math.imul(J,$e)|0,l=l+Math.imul(J,Pe)|0,l=l+Math.imul(X,$e)|0,k=k+Math.imul(X,Pe)|0,b=b+Math.imul(g,De)|0,l=l+Math.imul(g,Ue)|0,l=l+Math.imul(U,De)|0,k=k+Math.imul(U,Ue)|0,b=b+Math.imul(W,qe)|0,l=l+Math.imul(W,He)|0,l=l+Math.imul(te,qe)|0,k=k+Math.imul(te,He)|0;var br=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(br>>>26)|0,br&=67108863,b=Math.imul(we,ke),l=Math.imul(we,Se),l=l+Math.imul(be,ke)|0,k=Math.imul(be,Se),b=b+Math.imul(de,Ce)|0,l=l+Math.imul(de,Ae)|0,l=l+Math.imul(ue,Ce)|0,k=k+Math.imul(ue,Ae)|0,b=b+Math.imul(se,Te)|0,l=l+Math.imul(se,Ie)|0,l=l+Math.imul(le,Te)|0,k=k+Math.imul(le,Ie)|0,b=b+Math.imul(N,Re)|0,l=l+Math.imul(N,Be)|0,l=l+Math.imul(z,Re)|0,k=k+Math.imul(z,Be)|0,b=b+Math.imul(f,Fe)|0,l=l+Math.imul(f,Oe)|0,l=l+Math.imul(h,Fe)|0,k=k+Math.imul(h,Oe)|0,b=b+Math.imul(oe,Le)|0,l=l+Math.imul(oe,Ne)|0,l=l+Math.imul(he,Le)|0,k=k+Math.imul(he,Ne)|0,b=b+Math.imul(ne,$e)|0,l=l+Math.imul(ne,Pe)|0,l=l+Math.imul(ee,$e)|0,k=k+Math.imul(ee,Pe)|0,b=b+Math.imul(J,De)|0,l=l+Math.imul(J,Ue)|0,l=l+Math.imul(X,De)|0,k=k+Math.imul(X,Ue)|0,b=b+Math.imul(g,qe)|0,l=l+Math.imul(g,He)|0,l=l+Math.imul(U,qe)|0,k=k+Math.imul(U,He)|0;var xr=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(xr>>>26)|0,xr&=67108863,b=Math.imul(we,Ce),l=Math.imul(we,Ae),l=l+Math.imul(be,Ce)|0,k=Math.imul(be,Ae),b=b+Math.imul(de,Te)|0,l=l+Math.imul(de,Ie)|0,l=l+Math.imul(ue,Te)|0,k=k+Math.imul(ue,Ie)|0,b=b+Math.imul(se,Re)|0,l=l+Math.imul(se,Be)|0,l=l+Math.imul(le,Re)|0,k=k+Math.imul(le,Be)|0,b=b+Math.imul(N,Fe)|0,l=l+Math.imul(N,Oe)|0,l=l+Math.imul(z,Fe)|0,k=k+Math.imul(z,Oe)|0,b=b+Math.imul(f,Le)|0,l=l+Math.imul(f,Ne)|0,l=l+Math.imul(h,Le)|0,k=k+Math.imul(h,Ne)|0,b=b+Math.imul(oe,$e)|0,l=l+Math.imul(oe,Pe)|0,l=l+Math.imul(he,$e)|0,k=k+Math.imul(he,Pe)|0,b=b+Math.imul(ne,De)|0,l=l+Math.imul(ne,Ue)|0,l=l+Math.imul(ee,De)|0,k=k+Math.imul(ee,Ue)|0,b=b+Math.imul(J,qe)|0,l=l+Math.imul(J,He)|0,l=l+Math.imul(X,qe)|0,k=k+Math.imul(X,He)|0;var Mr=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,b=Math.imul(we,Te),l=Math.imul(we,Ie),l=l+Math.imul(be,Te)|0,k=Math.imul(be,Ie),b=b+Math.imul(de,Re)|0,l=l+Math.imul(de,Be)|0,l=l+Math.imul(ue,Re)|0,k=k+Math.imul(ue,Be)|0,b=b+Math.imul(se,Fe)|0,l=l+Math.imul(se,Oe)|0,l=l+Math.imul(le,Fe)|0,k=k+Math.imul(le,Oe)|0,b=b+Math.imul(N,Le)|0,l=l+Math.imul(N,Ne)|0,l=l+Math.imul(z,Le)|0,k=k+Math.imul(z,Ne)|0,b=b+Math.imul(f,$e)|0,l=l+Math.imul(f,Pe)|0,l=l+Math.imul(h,$e)|0,k=k+Math.imul(h,Pe)|0,b=b+Math.imul(oe,De)|0,l=l+Math.imul(oe,Ue)|0,l=l+Math.imul(he,De)|0,k=k+Math.imul(he,Ue)|0,b=b+Math.imul(ne,qe)|0,l=l+Math.imul(ne,He)|0,l=l+Math.imul(ee,qe)|0,k=k+Math.imul(ee,He)|0;var Er=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(Er>>>26)|0,Er&=67108863,b=Math.imul(we,Re),l=Math.imul(we,Be),l=l+Math.imul(be,Re)|0,k=Math.imul(be,Be),b=b+Math.imul(de,Fe)|0,l=l+Math.imul(de,Oe)|0,l=l+Math.imul(ue,Fe)|0,k=k+Math.imul(ue,Oe)|0,b=b+Math.imul(se,Le)|0,l=l+Math.imul(se,Ne)|0,l=l+Math.imul(le,Le)|0,k=k+Math.imul(le,Ne)|0,b=b+Math.imul(N,$e)|0,l=l+Math.imul(N,Pe)|0,l=l+Math.imul(z,$e)|0,k=k+Math.imul(z,Pe)|0,b=b+Math.imul(f,De)|0,l=l+Math.imul(f,Ue)|0,l=l+Math.imul(h,De)|0,k=k+Math.imul(h,Ue)|0,b=b+Math.imul(oe,qe)|0,l=l+Math.imul(oe,He)|0,l=l+Math.imul(he,qe)|0,k=k+Math.imul(he,He)|0;var kr=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(kr>>>26)|0,kr&=67108863,b=Math.imul(we,Fe),l=Math.imul(we,Oe),l=l+Math.imul(be,Fe)|0,k=Math.imul(be,Oe),b=b+Math.imul(de,Le)|0,l=l+Math.imul(de,Ne)|0,l=l+Math.imul(ue,Le)|0,k=k+Math.imul(ue,Ne)|0,b=b+Math.imul(se,$e)|0,l=l+Math.imul(se,Pe)|0,l=l+Math.imul(le,$e)|0,k=k+Math.imul(le,Pe)|0,b=b+Math.imul(N,De)|0,l=l+Math.imul(N,Ue)|0,l=l+Math.imul(z,De)|0,k=k+Math.imul(z,Ue)|0,b=b+Math.imul(f,qe)|0,l=l+Math.imul(f,He)|0,l=l+Math.imul(h,qe)|0,k=k+Math.imul(h,He)|0;var Sr=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,b=Math.imul(we,Le),l=Math.imul(we,Ne),l=l+Math.imul(be,Le)|0,k=Math.imul(be,Ne),b=b+Math.imul(de,$e)|0,l=l+Math.imul(de,Pe)|0,l=l+Math.imul(ue,$e)|0,k=k+Math.imul(ue,Pe)|0,b=b+Math.imul(se,De)|0,l=l+Math.imul(se,Ue)|0,l=l+Math.imul(le,De)|0,k=k+Math.imul(le,Ue)|0,b=b+Math.imul(N,qe)|0,l=l+Math.imul(N,He)|0,l=l+Math.imul(z,qe)|0,k=k+Math.imul(z,He)|0;var Cr=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,b=Math.imul(we,$e),l=Math.imul(we,Pe),l=l+Math.imul(be,$e)|0,k=Math.imul(be,Pe),b=b+Math.imul(de,De)|0,l=l+Math.imul(de,Ue)|0,l=l+Math.imul(ue,De)|0,k=k+Math.imul(ue,Ue)|0,b=b+Math.imul(se,qe)|0,l=l+Math.imul(se,He)|0,l=l+Math.imul(le,qe)|0,k=k+Math.imul(le,He)|0;var Ar=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,b=Math.imul(we,De),l=Math.imul(we,Ue),l=l+Math.imul(be,De)|0,k=Math.imul(be,Ue),b=b+Math.imul(de,qe)|0,l=l+Math.imul(de,He)|0,l=l+Math.imul(ue,qe)|0,k=k+Math.imul(ue,He)|0;var Tr=(L+b|0)+((l&8191)<<13)|0;L=(k+(l>>>13)|0)+(Tr>>>26)|0,Tr&=67108863,b=Math.imul(we,qe),l=Math.imul(we,He),l=l+Math.imul(be,qe)|0,k=Math.imul(be,He);var Ir=(L+b|0)+((l&8191)<<13)|0;return L=(k+(l>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,C[0]=Mt,C[1]=Et,C[2]=kt,C[3]=St,C[4]=Ct,C[5]=At,C[6]=Tt,C[7]=It,C[8]=wr,C[9]=br,C[10]=xr,C[11]=Mr,C[12]=Er,C[13]=kr,C[14]=Sr,C[15]=Cr,C[16]=Ar,C[17]=Tr,C[18]=Ir,L!==0&&(C[19]=L,p.length++),p};Math.imul||(F=O);function P(m,a,c){c.negative=a.negative^m.negative,c.length=m.length+a.length;for(var p=0,_=0,y=0;y>>26)|0,_+=C>>>26,C&=67108863}c.words[y]=L,p=C,C=_}return p!==0?c.words[y]=p:c.length--,c.strip()}function S(m,a,c){var p=new R;return p.mulp(m,a,c)}i.prototype.mulTo=function(a,c){var p,_=this.length+a.length;return this.length===10&&a.length===10?p=F(this,a,c):_<63?p=O(this,a,c):_<1024?p=P(this,a,c):p=S(this,a,c),p};function R(m,a){this.x=m,this.y=a}R.prototype.makeRBT=function(a){for(var c=new Array(a),p=i.prototype._countBits(a)-1,_=0;_>=1;return _},R.prototype.permute=function(a,c,p,_,y,C){for(var L=0;L>>1)y++;return 1<>>13,p[2*C+1]=y&8191,y=y>>>13;for(C=2*c;C<_;++C)p[C]=0;r(y===0),r((y&-8192)===0)},R.prototype.stub=function(a){for(var c=new Array(a),p=0;p>=26,c+=_/67108864|0,c+=y>>>26,this.words[p]=y&67108863}return c!==0&&(this.words[p]=c,this.length++),this},i.prototype.muln=function(a){return this.clone().imuln(a)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(a){var c=I(a);if(c.length===0)return new i(1);for(var p=this,_=0;_=0);var c=a%26,p=(a-c)/26,_=67108863>>>26-c<<26-c,y;if(c!==0){var C=0;for(y=0;y>>26-c}C&&(this.words[y]=C,this.length++)}if(p!==0){for(y=this.length-1;y>=0;y--)this.words[y+p]=this.words[y];for(y=0;y=0);var _;c?_=(c-c%26)/26:_=0;var y=a%26,C=Math.min((a-y)/26,this.length),L=67108863^67108863>>>y<C)for(this.length-=C,l=0;l=0&&(k!==0||l>=_);l--){var G=this.words[l]|0;this.words[l]=k<<26-y|G>>>y,k=G&L}return b&&k!==0&&(b.words[b.length++]=k),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(a,c,p){return r(this.negative===0),this.iushrn(a,c,p)},i.prototype.shln=function(a){return this.clone().ishln(a)},i.prototype.ushln=function(a){return this.clone().iushln(a)},i.prototype.shrn=function(a){return this.clone().ishrn(a)},i.prototype.ushrn=function(a){return this.clone().iushrn(a)},i.prototype.testn=function(a){r(typeof a=="number"&&a>=0);var c=a%26,p=(a-c)/26,_=1<=0);var c=a%26,p=(a-c)/26;if(r(this.negative===0,"imaskn works only with positive numbers"),this.length<=p)return this;if(c!==0&&p++,this.length=Math.min(p,this.length),c!==0){var _=67108863^67108863>>>c<=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},i.prototype.isubn=function(a){if(r(typeof a=="number"),r(a<67108864),a<0)return this.iaddn(-a);if(this.negative!==0)return this.negative=0,this.iaddn(a),this.negative=1,this;if(this.words[0]-=a,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var c=0;c>26)-(b/67108864|0),this.words[y+p]=C&67108863}for(;y>26,this.words[y+p]=C&67108863;if(L===0)return this.strip();for(r(L===-1),L=0,y=0;y>26,this.words[y]=C&67108863;return this.negative=1,this.strip()},i.prototype._wordDiv=function(a,c){var p=this.length-a.length,_=this.clone(),y=a,C=y.words[y.length-1]|0,L=this._countBits(C);p=26-L,p!==0&&(y=y.ushln(p),_.iushln(p),C=y.words[y.length-1]|0);var b=_.length-y.length,l;if(c!=="mod"){l=new i(null),l.length=b+1,l.words=new Array(l.length);for(var k=0;k=0;W--){var te=(_.words[y.length+W]|0)*67108864+(_.words[y.length+W-1]|0);for(te=Math.min(te/C|0,67108863),_._ishlnsubmul(y,te,W);_.negative!==0;)te--,_.negative=0,_._ishlnsubmul(y,1,W),_.isZero()||(_.negative^=1);l&&(l.words[W]=te)}return l&&l.strip(),_.strip(),c!=="div"&&p!==0&&_.iushrn(p),{div:l||null,mod:_}},i.prototype.divmod=function(a,c,p){if(r(!a.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var _,y,C;return this.negative!==0&&a.negative===0?(C=this.neg().divmod(a,c),c!=="mod"&&(_=C.div.neg()),c!=="div"&&(y=C.mod.neg(),p&&y.negative!==0&&y.iadd(a)),{div:_,mod:y}):this.negative===0&&a.negative!==0?(C=this.divmod(a.neg(),c),c!=="mod"&&(_=C.div.neg()),{div:_,mod:C.mod}):this.negative&a.negative?(C=this.neg().divmod(a.neg(),c),c!=="div"&&(y=C.mod.neg(),p&&y.negative!==0&&y.isub(a)),{div:C.div,mod:y}):a.length>this.length||this.cmp(a)<0?{div:new i(0),mod:this}:a.length===1?c==="div"?{div:this.divn(a.words[0]),mod:null}:c==="mod"?{div:null,mod:new i(this.modn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new i(this.modn(a.words[0]))}:this._wordDiv(a,c)},i.prototype.div=function(a){return this.divmod(a,"div",!1).div},i.prototype.mod=function(a){return this.divmod(a,"mod",!1).mod},i.prototype.umod=function(a){return this.divmod(a,"mod",!0).mod},i.prototype.divRound=function(a){var c=this.divmod(a);if(c.mod.isZero())return c.div;var p=c.div.negative!==0?c.mod.isub(a):c.mod,_=a.ushrn(1),y=a.andln(1),C=p.cmp(_);return C<0||y===1&&C===0?c.div:c.div.negative!==0?c.div.isubn(1):c.div.iaddn(1)},i.prototype.modn=function(a){r(a<=67108863);for(var c=(1<<26)%a,p=0,_=this.length-1;_>=0;_--)p=(c*p+(this.words[_]|0))%a;return p},i.prototype.idivn=function(a){r(a<=67108863);for(var c=0,p=this.length-1;p>=0;p--){var _=(this.words[p]|0)+c*67108864;this.words[p]=_/a|0,c=_%a}return this.strip()},i.prototype.divn=function(a){return this.clone().idivn(a)},i.prototype.egcd=function(a){r(a.negative===0),r(!a.isZero());var c=this,p=a.clone();c.negative!==0?c=c.umod(a):c=c.clone();for(var _=new i(1),y=new i(0),C=new i(0),L=new i(1),b=0;c.isEven()&&p.isEven();)c.iushrn(1),p.iushrn(1),++b;for(var l=p.clone(),k=c.clone();!c.isZero();){for(var G=0,W=1;!(c.words[0]&W)&&G<26;++G,W<<=1);if(G>0)for(c.iushrn(G);G-- >0;)(_.isOdd()||y.isOdd())&&(_.iadd(l),y.isub(k)),_.iushrn(1),y.iushrn(1);for(var te=0,re=1;!(p.words[0]&re)&&te<26;++te,re<<=1);if(te>0)for(p.iushrn(te);te-- >0;)(C.isOdd()||L.isOdd())&&(C.iadd(l),L.isub(k)),C.iushrn(1),L.iushrn(1);c.cmp(p)>=0?(c.isub(p),_.isub(C),y.isub(L)):(p.isub(c),C.isub(_),L.isub(y))}return{a:C,b:L,gcd:p.iushln(b)}},i.prototype._invmp=function(a){r(a.negative===0),r(!a.isZero());var c=this,p=a.clone();c.negative!==0?c=c.umod(a):c=c.clone();for(var _=new i(1),y=new i(0),C=p.clone();c.cmpn(1)>0&&p.cmpn(1)>0;){for(var L=0,b=1;!(c.words[0]&b)&&L<26;++L,b<<=1);if(L>0)for(c.iushrn(L);L-- >0;)_.isOdd()&&_.iadd(C),_.iushrn(1);for(var l=0,k=1;!(p.words[0]&k)&&l<26;++l,k<<=1);if(l>0)for(p.iushrn(l);l-- >0;)y.isOdd()&&y.iadd(C),y.iushrn(1);c.cmp(p)>=0?(c.isub(p),_.isub(y)):(p.isub(c),y.isub(_))}var G;return c.cmpn(1)===0?G=_:G=y,G.cmpn(0)<0&&G.iadd(a),G},i.prototype.gcd=function(a){if(this.isZero())return a.abs();if(a.isZero())return this.abs();var c=this.clone(),p=a.clone();c.negative=0,p.negative=0;for(var _=0;c.isEven()&&p.isEven();_++)c.iushrn(1),p.iushrn(1);do{for(;c.isEven();)c.iushrn(1);for(;p.isEven();)p.iushrn(1);var y=c.cmp(p);if(y<0){var C=c;c=p,p=C}else if(y===0||p.cmpn(1)===0)break;c.isub(p)}while(!0);return p.iushln(_)},i.prototype.invm=function(a){return this.egcd(a).a.umod(a)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(a){return this.words[0]&a},i.prototype.bincn=function(a){r(typeof a=="number");var c=a%26,p=(a-c)/26,_=1<>>26,L&=67108863,this.words[C]=L}return y!==0&&(this.words[C]=y,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(a){var c=a<0;if(this.negative!==0&&!c)return-1;if(this.negative===0&&c)return 1;this.strip();var p;if(this.length>1)p=1;else{c&&(a=-a),r(a<=67108863,"Number is too big");var _=this.words[0]|0;p=_===a?0:_a.length)return 1;if(this.length=0;p--){var _=this.words[p]|0,y=a.words[p]|0;if(_!==y){_y&&(c=1);break}}return c},i.prototype.gtn=function(a){return this.cmpn(a)===1},i.prototype.gt=function(a){return this.cmp(a)===1},i.prototype.gten=function(a){return this.cmpn(a)>=0},i.prototype.gte=function(a){return this.cmp(a)>=0},i.prototype.ltn=function(a){return this.cmpn(a)===-1},i.prototype.lt=function(a){return this.cmp(a)===-1},i.prototype.lten=function(a){return this.cmpn(a)<=0},i.prototype.lte=function(a){return this.cmp(a)<=0},i.prototype.eqn=function(a){return this.cmpn(a)===0},i.prototype.eq=function(a){return this.cmp(a)===0},i.red=function(a){return new H(a)},i.prototype.toRed=function(a){return r(!this.red,"Already a number in reduction context"),r(this.negative===0,"red works only with positives"),a.convertTo(this)._forceRed(a)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(a){return this.red=a,this},i.prototype.forceRed=function(a){return r(!this.red,"Already a number in reduction context"),this._forceRed(a)},i.prototype.redAdd=function(a){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,a)},i.prototype.redIAdd=function(a){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,a)},i.prototype.redSub=function(a){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,a)},i.prototype.redISub=function(a){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,a)},i.prototype.redShl=function(a){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,a)},i.prototype.redMul=function(a){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,a),this.red.mul(this,a)},i.prototype.redIMul=function(a){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,a),this.red.imul(this,a)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(a){return r(this.red&&!a.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,a)};var x={k256:null,p224:null,p192:null,p25519:null};function E(m,a){this.name=m,this.p=new i(a,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}E.prototype._tmp=function(){var a=new i(null);return a.words=new Array(Math.ceil(this.n/13)),a},E.prototype.ireduce=function(a){var c=a,p;do this.split(c,this.tmp),c=this.imulK(c),c=c.iadd(this.tmp),p=c.bitLength();while(p>this.n);var _=p0?c.isub(this.p):c.strip(),c},E.prototype.split=function(a,c){a.iushrn(this.n,0,c)},E.prototype.imulK=function(a){return a.imul(this.k)};function T(){E.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}o(T,E),T.prototype.split=function(a,c){for(var p=4194303,_=Math.min(a.length,9),y=0;y<_;y++)c.words[y]=a.words[y];if(c.length=_,a.length<=9){a.words[0]=0,a.length=1;return}var C=a.words[9];for(c.words[c.length++]=C&p,y=10;y>>22,C=L}C>>>=22,a.words[y-10]=C,C===0&&a.length>10?a.length-=10:a.length-=9},T.prototype.imulK=function(a){a.words[a.length]=0,a.words[a.length+1]=0,a.length+=2;for(var c=0,p=0;p>>=26,a.words[p]=y,c=_}return c!==0&&(a.words[a.length++]=c),a},i._prime=function(a){if(x[a])return x[a];var c;if(a==="k256")c=new T;else if(a==="p224")c=new $;else if(a==="p192")c=new D;else if(a==="p25519")c=new V;else throw new Error("Unknown prime "+a);return x[a]=c,c};function H(m){if(typeof m=="string"){var a=i._prime(m);this.m=a.p,this.prime=a}else r(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}H.prototype._verify1=function(a){r(a.negative===0,"red works only with positives"),r(a.red,"red works only with red numbers")},H.prototype._verify2=function(a,c){r((a.negative|c.negative)===0,"red works only with positives"),r(a.red&&a.red===c.red,"red works only with red numbers")},H.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},H.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},H.prototype.add=function(a,c){this._verify2(a,c);var p=a.add(c);return p.cmp(this.m)>=0&&p.isub(this.m),p._forceRed(this)},H.prototype.iadd=function(a,c){this._verify2(a,c);var p=a.iadd(c);return p.cmp(this.m)>=0&&p.isub(this.m),p},H.prototype.sub=function(a,c){this._verify2(a,c);var p=a.sub(c);return p.cmpn(0)<0&&p.iadd(this.m),p._forceRed(this)},H.prototype.isub=function(a,c){this._verify2(a,c);var p=a.isub(c);return p.cmpn(0)<0&&p.iadd(this.m),p},H.prototype.shl=function(a,c){return this._verify1(a),this.imod(a.ushln(c))},H.prototype.imul=function(a,c){return this._verify2(a,c),this.imod(a.imul(c))},H.prototype.mul=function(a,c){return this._verify2(a,c),this.imod(a.mul(c))},H.prototype.isqr=function(a){return this.imul(a,a.clone())},H.prototype.sqr=function(a){return this.mul(a,a)},H.prototype.sqrt=function(a){if(a.isZero())return a.clone();var c=this.m.andln(3);if(r(c%2===1),c===3){var p=this.m.add(new i(1)).iushrn(2);return this.pow(a,p)}for(var _=this.m.subn(1),y=0;!_.isZero()&&_.andln(1)===0;)y++,_.iushrn(1);r(!_.isZero());var C=new i(1).toRed(this),L=C.redNeg(),b=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);this.pow(l,b).cmp(L)!==0;)l.redIAdd(L);for(var k=this.pow(l,_),G=this.pow(a,_.addn(1).iushrn(1)),W=this.pow(a,_),te=y;W.cmp(C)!==0;){for(var re=W,g=0;re.cmp(C)!==0;g++)re=re.redSqr();r(g=0;y--){for(var k=c.words[y],G=l-1;G>=0;G--){var W=k>>G&1;if(C!==_[0]&&(C=this.sqr(C)),W===0&&L===0){b=0;continue}L<<=1,L|=W,b++,!(b!==p&&(y!==0||G!==0))&&(C=this.mul(C,_[L]),b=0,L=0)}l=26}return C},H.prototype.convertTo=function(a){var c=a.umod(this.m);return c===a?c.clone():c},H.prototype.convertFrom=function(a){var c=a.clone();return c.red=null,c},i.mont=function(a){return new Q(a)};function Q(m){H.call(this,m),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}o(Q,H),Q.prototype.convertTo=function(a){return this.imod(a.ushln(this.shift))},Q.prototype.convertFrom=function(a){var c=this.imod(a.mul(this.rinv));return c.red=null,c},Q.prototype.imul=function(a,c){if(a.isZero()||c.isZero())return a.words[0]=0,a.length=1,a;var p=a.imul(c),_=p.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=p.isub(_).iushrn(this.shift),C=y;return y.cmp(this.m)>=0?C=y.isub(this.m):y.cmpn(0)<0&&(C=y.iadd(this.m)),C._forceRed(this)},Q.prototype.mul=function(a,c){if(a.isZero()||c.isZero())return new i(0)._forceRed(this);var p=a.mul(c),_=p.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=p.isub(_).iushrn(this.shift),C=y;return y.cmp(this.m)>=0?C=y.isub(this.m):y.cmpn(0)<0&&(C=y.iadd(this.m)),C._forceRed(this)},Q.prototype.invm=function(a){var c=this.imod(a._invmp(this.m).mul(this.r2));return c._forceRed(this)}})(t,tt)})(Gu);const Yu=Zr;var Qu=ki;ki.strict=Za;ki.loose=Xa;var Zu=Object.prototype.toString,Xu={"[object Int8Array]":!0,"[object Int16Array]":!0,"[object Int32Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Uint16Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0};function ki(t){return Za(t)||Xa(t)}function Za(t){return t instanceof Int8Array||t instanceof Int16Array||t instanceof Int32Array||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Uint16Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array}function Xa(t){return Xu[Zu.call(t)]}var ec=Qu.strict,tc=function(e){if(ec(e)){var n=Yt.Buffer.from(e.buffer);return e.byteLength!==e.buffer.byteLength&&(n=n.slice(e.byteOffset,e.byteOffset+e.byteLength)),n}else return Yt.Buffer.from(e)};const es="hex",ts="utf8",fr="0";function mn(t){return new Uint8Array(t)}function ns(t,e=!1){const n=t.toString(es);return e?En(n):n}function nc(t){return t.toString(ts)}function hr(t){return tc(t)}function dn(t,e=!1){return ns(hr(t),e)}function rc(t){return nc(hr(t))}function ic(t){return Yt.Buffer.from(Ot(t),es)}function pn(t){return mn(ic(t))}function Si(t){return Yt.Buffer.from(t,ts)}function oc(t){return mn(Si(t))}function ac(t,e=!1){return ns(Si(t),e)}function sc(t,e){return!(typeof t!="string"||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}function rs(...t){let e=[];return t.forEach(n=>e=e.concat(Array.from(n))),new Uint8Array([...e])}function lc(t,e=8){const n=t%e;return n?(t-n)/e*e+e:t}function uc(t,e=8,n=fr){return cc(t,lc(t.length,e),n)}function cc(t,e,n=fr){return hc(t,e,!0,n)}function Ot(t){return t.replace(/^0x/,"")}function En(t){return t.startsWith("0x")?t:`0x${t}`}function is(t){return t=Ot(t),t=uc(t,2),t&&(t=En(t)),t}function fc(t){const e=t.startsWith("0x");return t=Ot(t),t=t.startsWith(fr)?t.substring(1):t,e?En(t):t}function hc(t,e,n,r=fr){const o=e-t.length;let i=t;if(o>0){const u=r.repeat(o);i=n?u+t:t+u}return i}function Xr(t){return hr(new Uint8Array(t))}function dc(t,e){return dn(new Uint8Array(t),!e)}function pc(t){return mn(t).buffer}function gc(t){return Si(t)}function mc(t,e){return ac(t,!e)}function _c(t){return pn(t).buffer}function os(t,e){const n=Ot(is(new Yu(t).toString(16)));return e?n:En(n)}var ei={},vc={get exports(){return ei},set exports(t){ei=t}};(function(t){(function(){var e="input is invalid type",n="finalize already called",r=typeof window=="object",o=r?window:{};o.JS_SHA3_NO_WINDOW&&(r=!1);var i=!r&&typeof self=="object",u=!o.JS_SHA3_NO_NODE_JS&&typeof Ke=="object"&&Ke.versions&&Ke.versions.node;u?o=tt:i&&(o=self);var s=!o.JS_SHA3_NO_COMMON_JS&&!0&&t.exports,d=!o.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",v="0123456789abcdef".split(""),w=[31,7936,2031616,520093696],B=[4,1024,262144,67108864],I=[1,256,65536,16777216],O=[6,1536,393216,100663296],F=[0,8,16,24],P=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],S=[224,256,384,512],R=[128,256],x=["hex","buffer","arrayBuffer","array","digest"],E={128:168,256:136};(o.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(g){return Object.prototype.toString.call(g)==="[object Array]"}),d&&(o.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(g){return typeof g=="object"&&g.buffer&&g.buffer.constructor===ArrayBuffer});for(var T=function(g,U,K){return function(J){return new W(g,U,g).update(J)[K]()}},$=function(g,U,K){return function(J,X){return new W(g,U,X).update(J)[K]()}},D=function(g,U,K){return function(J,X,ae,ne){return _["cshake"+g].update(J,X,ae,ne)[K]()}},V=function(g,U,K){return function(J,X,ae,ne){return _["kmac"+g].update(J,X,ae,ne)[K]()}},H=function(g,U,K,J){for(var X=0;X>5,this.byteCount=this.blockCount<<2,this.outputBlocks=K>>5,this.extraBytes=(K&31)>>3;for(var J=0;J<50;++J)this.s[J]=0}W.prototype.update=function(g){if(this.finalized)throw new Error(n);var U,K=typeof g;if(K!=="string"){if(K==="object"){if(g===null)throw new Error(e);if(d&&g.constructor===ArrayBuffer)g=new Uint8Array(g);else if(!Array.isArray(g)&&(!d||!ArrayBuffer.isView(g)))throw new Error(e)}else throw new Error(e);U=!0}for(var J=this.blocks,X=this.byteCount,ae=g.length,ne=this.blockCount,ee=0,me=this.s,oe,he;ee>2]|=g[ee]<>2]|=he<>2]|=(192|he>>6)<>2]|=(128|he&63)<=57344?(J[oe>>2]|=(224|he>>12)<>2]|=(128|he>>6&63)<>2]|=(128|he&63)<>2]|=(240|he>>18)<>2]|=(128|he>>12&63)<>2]|=(128|he>>6&63)<>2]|=(128|he&63)<=X){for(this.start=oe-X,this.block=J[ne],oe=0;oe>8,K=g&255;K>0;)X.unshift(K),g=g>>8,K=g&255,++J;return U?X.push(J):X.unshift(J),this.update(X),X.length},W.prototype.encodeString=function(g){var U,K=typeof g;if(K!=="string"){if(K==="object"){if(g===null)throw new Error(e);if(d&&g.constructor===ArrayBuffer)g=new Uint8Array(g);else if(!Array.isArray(g)&&(!d||!ArrayBuffer.isView(g)))throw new Error(e)}else throw new Error(e);U=!0}var J=0,X=g.length;if(U)J=X;else for(var ae=0;ae=57344?J+=3:(ne=65536+((ne&1023)<<10|g.charCodeAt(++ae)&1023),J+=4)}return J+=this.encode(J*8),this.update(g),J},W.prototype.bytepad=function(g,U){for(var K=this.encode(U),J=0;J>2]|=this.padding[U&3],this.lastByteIndex===this.byteCount)for(g[0]=g[K],U=1;U>4&15]+v[ee&15]+v[ee>>12&15]+v[ee>>8&15]+v[ee>>20&15]+v[ee>>16&15]+v[ee>>28&15]+v[ee>>24&15];ae%g===0&&(re(U),X=0)}return J&&(ee=U[X],ne+=v[ee>>4&15]+v[ee&15],J>1&&(ne+=v[ee>>12&15]+v[ee>>8&15]),J>2&&(ne+=v[ee>>20&15]+v[ee>>16&15])),ne},W.prototype.arrayBuffer=function(){this.finalize();var g=this.blockCount,U=this.s,K=this.outputBlocks,J=this.extraBytes,X=0,ae=0,ne=this.outputBits>>3,ee;J?ee=new ArrayBuffer(K+1<<2):ee=new ArrayBuffer(ne);for(var me=new Uint32Array(ee);ae>8&255,ne[ee+2]=me>>16&255,ne[ee+3]=me>>24&255;ae%g===0&&re(U)}return J&&(ee=ae<<2,me=U[X],ne[ee]=me&255,J>1&&(ne[ee+1]=me>>8&255),J>2&&(ne[ee+2]=me>>16&255)),ne};function te(g,U,K){W.call(this,g,U,K)}te.prototype=new W,te.prototype.finalize=function(){return this.encode(this.outputBits,!0),W.prototype.finalize.call(this)};var re=function(g){var U,K,J,X,ae,ne,ee,me,oe,he,M,f,h,A,N,z,Z,se,le,ve,de,ue,Xe,we,be,Pt,Me,Ee,Dt,ke,Se,Ut,Ce,Ae,qt,Te,Ie,Ht,Re,Be,Wt,Fe,Oe,zt,Le,Ne,jt,$e,Pe,Vt,De,Ue,Jt,qe,He,Mt,Et,kt,St,Ct,At,Tt,It;for(J=0;J<48;J+=2)X=g[0]^g[10]^g[20]^g[30]^g[40],ae=g[1]^g[11]^g[21]^g[31]^g[41],ne=g[2]^g[12]^g[22]^g[32]^g[42],ee=g[3]^g[13]^g[23]^g[33]^g[43],me=g[4]^g[14]^g[24]^g[34]^g[44],oe=g[5]^g[15]^g[25]^g[35]^g[45],he=g[6]^g[16]^g[26]^g[36]^g[46],M=g[7]^g[17]^g[27]^g[37]^g[47],f=g[8]^g[18]^g[28]^g[38]^g[48],h=g[9]^g[19]^g[29]^g[39]^g[49],U=f^(ne<<1|ee>>>31),K=h^(ee<<1|ne>>>31),g[0]^=U,g[1]^=K,g[10]^=U,g[11]^=K,g[20]^=U,g[21]^=K,g[30]^=U,g[31]^=K,g[40]^=U,g[41]^=K,U=X^(me<<1|oe>>>31),K=ae^(oe<<1|me>>>31),g[2]^=U,g[3]^=K,g[12]^=U,g[13]^=K,g[22]^=U,g[23]^=K,g[32]^=U,g[33]^=K,g[42]^=U,g[43]^=K,U=ne^(he<<1|M>>>31),K=ee^(M<<1|he>>>31),g[4]^=U,g[5]^=K,g[14]^=U,g[15]^=K,g[24]^=U,g[25]^=K,g[34]^=U,g[35]^=K,g[44]^=U,g[45]^=K,U=me^(f<<1|h>>>31),K=oe^(h<<1|f>>>31),g[6]^=U,g[7]^=K,g[16]^=U,g[17]^=K,g[26]^=U,g[27]^=K,g[36]^=U,g[37]^=K,g[46]^=U,g[47]^=K,U=he^(X<<1|ae>>>31),K=M^(ae<<1|X>>>31),g[8]^=U,g[9]^=K,g[18]^=U,g[19]^=K,g[28]^=U,g[29]^=K,g[38]^=U,g[39]^=K,g[48]^=U,g[49]^=K,A=g[0],N=g[1],Ne=g[11]<<4|g[10]>>>28,jt=g[10]<<4|g[11]>>>28,Ee=g[20]<<3|g[21]>>>29,Dt=g[21]<<3|g[20]>>>29,Ct=g[31]<<9|g[30]>>>23,At=g[30]<<9|g[31]>>>23,Fe=g[40]<<18|g[41]>>>14,Oe=g[41]<<18|g[40]>>>14,Ae=g[2]<<1|g[3]>>>31,qt=g[3]<<1|g[2]>>>31,z=g[13]<<12|g[12]>>>20,Z=g[12]<<12|g[13]>>>20,$e=g[22]<<10|g[23]>>>22,Pe=g[23]<<10|g[22]>>>22,ke=g[33]<<13|g[32]>>>19,Se=g[32]<<13|g[33]>>>19,Tt=g[42]<<2|g[43]>>>30,It=g[43]<<2|g[42]>>>30,qe=g[5]<<30|g[4]>>>2,He=g[4]<<30|g[5]>>>2,Te=g[14]<<6|g[15]>>>26,Ie=g[15]<<6|g[14]>>>26,se=g[25]<<11|g[24]>>>21,le=g[24]<<11|g[25]>>>21,Vt=g[34]<<15|g[35]>>>17,De=g[35]<<15|g[34]>>>17,Ut=g[45]<<29|g[44]>>>3,Ce=g[44]<<29|g[45]>>>3,we=g[6]<<28|g[7]>>>4,be=g[7]<<28|g[6]>>>4,Mt=g[17]<<23|g[16]>>>9,Et=g[16]<<23|g[17]>>>9,Ht=g[26]<<25|g[27]>>>7,Re=g[27]<<25|g[26]>>>7,ve=g[36]<<21|g[37]>>>11,de=g[37]<<21|g[36]>>>11,Ue=g[47]<<24|g[46]>>>8,Jt=g[46]<<24|g[47]>>>8,zt=g[8]<<27|g[9]>>>5,Le=g[9]<<27|g[8]>>>5,Pt=g[18]<<20|g[19]>>>12,Me=g[19]<<20|g[18]>>>12,kt=g[29]<<7|g[28]>>>25,St=g[28]<<7|g[29]>>>25,Be=g[38]<<8|g[39]>>>24,Wt=g[39]<<8|g[38]>>>24,ue=g[48]<<14|g[49]>>>18,Xe=g[49]<<14|g[48]>>>18,g[0]=A^~z&se,g[1]=N^~Z&le,g[10]=we^~Pt&Ee,g[11]=be^~Me&Dt,g[20]=Ae^~Te&Ht,g[21]=qt^~Ie&Re,g[30]=zt^~Ne&$e,g[31]=Le^~jt&Pe,g[40]=qe^~Mt&kt,g[41]=He^~Et&St,g[2]=z^~se&ve,g[3]=Z^~le&de,g[12]=Pt^~Ee&ke,g[13]=Me^~Dt&Se,g[22]=Te^~Ht&Be,g[23]=Ie^~Re&Wt,g[32]=Ne^~$e&Vt,g[33]=jt^~Pe&De,g[42]=Mt^~kt&Ct,g[43]=Et^~St&At,g[4]=se^~ve&ue,g[5]=le^~de&Xe,g[14]=Ee^~ke&Ut,g[15]=Dt^~Se&Ce,g[24]=Ht^~Be&Fe,g[25]=Re^~Wt&Oe,g[34]=$e^~Vt&Ue,g[35]=Pe^~De&Jt,g[44]=kt^~Ct&Tt,g[45]=St^~At&It,g[6]=ve^~ue&A,g[7]=de^~Xe&N,g[16]=ke^~Ut&we,g[17]=Se^~Ce&be,g[26]=Be^~Fe&Ae,g[27]=Wt^~Oe&qt,g[36]=Vt^~Ue&zt,g[37]=De^~Jt&Le,g[46]=Ct^~Tt&qe,g[47]=At^~It&He,g[8]=ue^~A&z,g[9]=Xe^~N&Z,g[18]=Ut^~we&Pt,g[19]=Ce^~be&Me,g[28]=Fe^~Ae&Te,g[29]=Oe^~qt&Ie,g[38]=Ue^~zt&Ne,g[39]=Jt^~Le&jt,g[48]=Tt^~qe&Mt,g[49]=It^~He&Et,g[0]^=P[J],g[1]^=P[J+1]};if(s)t.exports=_;else for(C=0;C=0;L--)(C=m[L])&&(y=(_<3?C(y):_>3?C(a,c,y):C(a,c))||y);return _>3&&y&&Object.defineProperty(a,c,y),y},i=function(m,a){return function(c,p){a(c,p,m)}},u=function(m,a){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(m,a)},s=function(m,a,c,p){function _(y){return y instanceof c?y:new c(function(C){C(y)})}return new(c||(c=Promise))(function(y,C){function L(k){try{l(p.next(k))}catch(G){C(G)}}function b(k){try{l(p.throw(k))}catch(G){C(G)}}function l(k){k.done?y(k.value):_(k.value).then(L,b)}l((p=p.apply(m,a||[])).next())})},d=function(m,a){var c={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},p,_,y,C;return C={next:L(0),throw:L(1),return:L(2)},typeof Symbol=="function"&&(C[Symbol.iterator]=function(){return this}),C;function L(l){return function(k){return b([l,k])}}function b(l){if(p)throw new TypeError("Generator is already executing.");for(;c;)try{if(p=1,_&&(y=l[0]&2?_.return:l[0]?_.throw||((y=_.return)&&y.call(_),0):_.next)&&!(y=y.call(_,l[1])).done)return y;switch(_=0,y&&(l=[l[0]&2,y.value]),l[0]){case 0:case 1:y=l;break;case 4:return c.label++,{value:l[1],done:!1};case 5:c.label++,_=l[1],l=[0];continue;case 7:l=c.ops.pop(),c.trys.pop();continue;default:if(y=c.trys,!(y=y.length>0&&y[y.length-1])&&(l[0]===6||l[0]===2)){c=0;continue}if(l[0]===3&&(!y||l[1]>y[0]&&l[1]=m.length&&(m=void 0),{value:m&&m[p++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")},B=function(m,a){var c=typeof Symbol=="function"&&m[Symbol.iterator];if(!c)return m;var p=c.call(m),_,y=[],C;try{for(;(a===void 0||a-- >0)&&!(_=p.next()).done;)y.push(_.value)}catch(L){C={error:L}}finally{try{_&&!_.done&&(c=p.return)&&c.call(p)}finally{if(C)throw C.error}}return y},I=function(){for(var m=[],a=0;a1||L(W,te)})})}function L(W,te){try{b(p[W](te))}catch(re){G(y[0][3],re)}}function b(W){W.value instanceof F?Promise.resolve(W.value.v).then(l,k):G(y[0][2],W)}function l(W){L("next",W)}function k(W){L("throw",W)}function G(W,te){W(te),y.shift(),y.length&&L(y[0][0],y[0][1])}},S=function(m){var a,c;return a={},p("next"),p("throw",function(_){throw _}),p("return"),a[Symbol.iterator]=function(){return this},a;function p(_,y){a[_]=m[_]?function(C){return(c=!c)?{value:F(m[_](C)),done:_==="return"}:y?y(C):C}:y}},R=function(m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=m[Symbol.asyncIterator],c;return a?a.call(m):(m=typeof w=="function"?w(m):m[Symbol.iterator](),c={},p("next"),p("throw"),p("return"),c[Symbol.asyncIterator]=function(){return this},c);function p(y){c[y]=m[y]&&function(C){return new Promise(function(L,b){C=m[y](C),_(L,b,C.done,C.value)})}}function _(y,C,L,b){Promise.resolve(b).then(function(l){y({value:l,done:L})},C)}},x=function(m,a){return Object.defineProperty?Object.defineProperty(m,"raw",{value:a}):m.raw=a,m},E=function(m){if(m&&m.__esModule)return m;var a={};if(m!=null)for(var c in m)Object.hasOwnProperty.call(m,c)&&(a[c]=m[c]);return a.default=m,a},T=function(m){return m&&m.__esModule?m:{default:m}},$=function(m,a){if(!a.has(m))throw new TypeError("attempted to get private field on non-instance");return a.get(m)},D=function(m,a,c){if(!a.has(m))throw new TypeError("attempted to set private field on non-instance");return a.set(m,c),c},H("__extends",e),H("__assign",n),H("__rest",r),H("__decorate",o),H("__param",i),H("__metadata",u),H("__awaiter",s),H("__generator",d),H("__exportStar",v),H("__createBinding",V),H("__values",w),H("__read",B),H("__spread",I),H("__spreadArrays",O),H("__await",F),H("__asyncGenerator",P),H("__asyncDelegator",S),H("__asyncValues",R),H("__makeTemplateObject",x),H("__importStar",E),H("__importDefault",T),H("__classPrivateFieldGet",$),H("__classPrivateFieldSet",D)})})(yc);var gt={},io;function wc(){if(io)return gt;io=1,Object.defineProperty(gt,"__esModule",{value:!0}),gt.isBrowserCryptoAvailable=gt.getSubtleCrypto=gt.getBrowerCrypto=void 0;function t(){return(tt==null?void 0:tt.crypto)||(tt==null?void 0:tt.msCrypto)||{}}gt.getBrowerCrypto=t;function e(){const r=t();return r.subtle||r.webkitSubtle}gt.getSubtleCrypto=e;function n(){return!!t()&&!!e()}return gt.isBrowserCryptoAvailable=n,gt}var mt={},oo;function bc(){if(oo)return mt;oo=1,Object.defineProperty(mt,"__esModule",{value:!0}),mt.isBrowser=mt.isNode=mt.isReactNative=void 0;function t(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}mt.isReactNative=t;function e(){return typeof Ke<"u"&&typeof Ke.versions<"u"&&typeof Ke.versions.node<"u"}mt.isNode=e;function n(){return!t()&&!e()}return mt.isBrowser=n,mt}(function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=ti;e.__exportStar(wc(),t),e.__exportStar(bc(),t)})(kn);function xc(){const t=Date.now()*Math.pow(10,3),e=Math.floor(Math.random()*Math.pow(10,3));return t+e}function Hn(t){return is(t)}function Mc(t){return fc(En(t))}const Ec=xc;function Or(){return((e,n)=>{for(n=e="";e++<36;n+=e*51&52?(e^15?8^Math.random()*(e^20?16:4):4).toString(16):"-");return n})()}function kc(t){return t===""||typeof t=="string"&&t.trim()===""}function Sc(t){return!(t&&t.length)}function as(t,e){return sc(t,e)}function Cc(t){return typeof t.method<"u"}function An(t){return typeof t.result<"u"}function Zn(t){return typeof t.error<"u"}function ao(t){return typeof t.event<"u"}function Ac(t){return Ku.includes(t)||t.startsWith("wc_")}function Tc(t){return t.method.startsWith("wc_")?!0:!Qa.includes(t.method)}function Ic(t){t=Ot(t.toLowerCase());const e=Ot(ei.keccak_256(gc(t)));let n="";for(let r=0;r7?n+=t[r].toUpperCase():n+=t[r];return En(n)}const Rc=t=>t?t.toLowerCase().substring(0,2)!=="0x"?!1:/^(0x)?[0-9a-f]{40}$/i.test(t)?/^(0x)?[0-9a-f]{40}$/.test(t)||/^(0x)?[0-9A-F]{40}$/.test(t)?!0:t===Ic(t):!1:!1;function so(t){return!Sc(t)&&!as(t[0])&&(t[0]=mc(t[0])),t}function Lr(t){if(typeof t.type<"u"&&t.type!=="0")return t;if(typeof t.from>"u"||!Rc(t.from))throw new Error("Transaction object must include a valid 'from' value.");function e(o){let i=o;return(typeof o=="number"||typeof o=="string"&&!kc(o))&&(as(o)?typeof o=="string"&&(i=Hn(o)):i=os(o)),typeof i=="string"&&(i=Mc(i)),i}const n={from:Hn(t.from),to:typeof t.to>"u"?void 0:Hn(t.to),gasPrice:typeof t.gasPrice>"u"?"":e(t.gasPrice),gas:typeof t.gas>"u"?typeof t.gasLimit>"u"?"":e(t.gasLimit):e(t.gas),value:typeof t.value>"u"?"":e(t.value),nonce:typeof t.nonce>"u"?"":e(t.nonce),data:typeof t.data>"u"?"":Hn(t.data)||"0x"},r=["gasPrice","gas","value","nonce"];return Object.keys(n).forEach(o=>{(typeof n[o]>"u"||typeof n[o]=="string"&&!n[o].trim().length)&&r.includes(o)&&delete n[o]}),n}function Bc(t){const e=t.message||"Failed or Rejected Request";let n=-32e3;if(t&&!t.code)switch(e){case"Parse error":n=-32700;break;case"Invalid request":n=-32600;break;case"Method not found":n=-32601;break;case"Invalid params":n=-32602;break;case"Internal error":n=-32603;break;default:n=-32e3;break}const r={code:n,message:e};return t.data&&(r.data=t.data),r}var Ci={},Fc=t=>encodeURIComponent(t).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`),ss="%[a-f0-9]{2}",lo=new RegExp("("+ss+")|([^%]+?)","gi"),uo=new RegExp("("+ss+")+","gi");function ni(t,e){try{return[decodeURIComponent(t.join(""))]}catch{}if(t.length===1)return t;e=e||1;var n=t.slice(0,e),r=t.slice(e);return Array.prototype.concat.call([],ni(n),ni(r))}function Oc(t){try{return decodeURIComponent(t)}catch{for(var e=t.match(lo)||[],n=1;n{if(!(typeof t=="string"&&typeof e=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e==="")return[t];const n=t.indexOf(e);return n===-1?[t]:[t.slice(0,n),t.slice(n+e.length)]};(function(t){const e=Fc,n=Nc,r=$c,o=S=>S==null;function i(S){switch(S.arrayFormat){case"index":return R=>(x,E)=>{const T=x.length;return E===void 0||S.skipNull&&E===null||S.skipEmptyString&&E===""?x:E===null?[...x,[d(R,S),"[",T,"]"].join("")]:[...x,[d(R,S),"[",d(T,S),"]=",d(E,S)].join("")]};case"bracket":return R=>(x,E)=>E===void 0||S.skipNull&&E===null||S.skipEmptyString&&E===""?x:E===null?[...x,[d(R,S),"[]"].join("")]:[...x,[d(R,S),"[]=",d(E,S)].join("")];case"comma":case"separator":return R=>(x,E)=>E==null||E.length===0?x:x.length===0?[[d(R,S),"=",d(E,S)].join("")]:[[x,d(E,S)].join(S.arrayFormatSeparator)];default:return R=>(x,E)=>E===void 0||S.skipNull&&E===null||S.skipEmptyString&&E===""?x:E===null?[...x,d(R,S)]:[...x,[d(R,S),"=",d(E,S)].join("")]}}function u(S){let R;switch(S.arrayFormat){case"index":return(x,E,T)=>{if(R=/\[(\d*)\]$/.exec(x),x=x.replace(/\[\d*\]$/,""),!R){T[x]=E;return}T[x]===void 0&&(T[x]={}),T[x][R[1]]=E};case"bracket":return(x,E,T)=>{if(R=/(\[\])$/.exec(x),x=x.replace(/\[\]$/,""),!R){T[x]=E;return}if(T[x]===void 0){T[x]=[E];return}T[x]=[].concat(T[x],E)};case"comma":case"separator":return(x,E,T)=>{const D=typeof E=="string"&&E.split("").indexOf(S.arrayFormatSeparator)>-1?E.split(S.arrayFormatSeparator).map(V=>v(V,S)):E===null?E:v(E,S);T[x]=D};default:return(x,E,T)=>{if(T[x]===void 0){T[x]=E;return}T[x]=[].concat(T[x],E)}}}function s(S){if(typeof S!="string"||S.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function d(S,R){return R.encode?R.strict?e(S):encodeURIComponent(S):S}function v(S,R){return R.decode?n(S):S}function w(S){return Array.isArray(S)?S.sort():typeof S=="object"?w(Object.keys(S)).sort((R,x)=>Number(R)-Number(x)).map(R=>S[R]):S}function B(S){const R=S.indexOf("#");return R!==-1&&(S=S.slice(0,R)),S}function I(S){let R="";const x=S.indexOf("#");return x!==-1&&(R=S.slice(x)),R}function O(S){S=B(S);const R=S.indexOf("?");return R===-1?"":S.slice(R+1)}function F(S,R){return R.parseNumbers&&!Number.isNaN(Number(S))&&typeof S=="string"&&S.trim()!==""?S=Number(S):R.parseBooleans&&S!==null&&(S.toLowerCase()==="true"||S.toLowerCase()==="false")&&(S=S.toLowerCase()==="true"),S}function P(S,R){R=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},R),s(R.arrayFormatSeparator);const x=u(R),E=Object.create(null);if(typeof S!="string"||(S=S.trim().replace(/^[?#&]/,""),!S))return E;for(const T of S.split("&")){let[$,D]=r(R.decode?T.replace(/\+/g," "):T,"=");D=D===void 0?null:["comma","separator"].includes(R.arrayFormat)?D:v(D,R),x(v($,R),D,E)}for(const T of Object.keys(E)){const $=E[T];if(typeof $=="object"&&$!==null)for(const D of Object.keys($))$[D]=F($[D],R);else E[T]=F($,R)}return R.sort===!1?E:(R.sort===!0?Object.keys(E).sort():Object.keys(E).sort(R.sort)).reduce((T,$)=>{const D=E[$];return D&&typeof D=="object"&&!Array.isArray(D)?T[$]=w(D):T[$]=D,T},Object.create(null))}t.extract=O,t.parse=P,t.stringify=(S,R)=>{if(!S)return"";R=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},R),s(R.arrayFormatSeparator);const x=D=>R.skipNull&&o(S[D])||R.skipEmptyString&&S[D]==="",E=i(R),T={};for(const D of Object.keys(S))x(D)||(T[D]=S[D]);const $=Object.keys(T);return R.sort!==!1&&$.sort(R.sort),$.map(D=>{const V=S[D];return V===void 0?"":V===null?d(D,R):Array.isArray(V)?V.reduce(E(D),[]).join("&"):d(D,R)+"="+d(V,R)}).filter(D=>D.length>0).join("&")},t.parseUrl=(S,R)=>{R=Object.assign({decode:!0},R);const[x,E]=r(S,"#");return Object.assign({url:x.split("?")[0]||"",query:P(O(S),R)},R&&R.parseFragmentIdentifier&&E?{fragmentIdentifier:v(E,R)}:{})},t.stringifyUrl=(S,R)=>{R=Object.assign({encode:!0,strict:!0},R);const x=B(S.url).split("?")[0]||"",E=t.extract(S.url),T=t.parse(E,{sort:!1}),$=Object.assign(T,S.query);let D=t.stringify($,R);D&&(D=`?${D}`);let V=I(S.url);return S.fragmentIdentifier&&(V=`#${d(S.fragmentIdentifier,R)}`),`${x}${D}${V}`}})(Ci);function Pc(t){const e=t.indexOf("?")!==-1?t.indexOf("?"):void 0;return typeof e<"u"?t.substr(e):""}function Dc(t,e){let n=ls(t);return n=Object.assign(Object.assign({},n),e),t=Uc(n),t}function ls(t){return Ci.parse(t)}function Uc(t){return Ci.stringify(t)}function qc(t){return typeof t.bridge<"u"}function Hc(t){const e=t.indexOf(":"),n=t.indexOf("?")!==-1?t.indexOf("?"):void 0,r=t.substring(0,e),o=t.substring(e+1,n);function i(B){const I="@",O=B.split(I);return{handshakeTopic:O[0],version:parseInt(O[1],10)}}const u=i(o),s=typeof n<"u"?t.substr(n):"";function d(B){const I=ls(B);return{key:I.key||"",bridge:I.bridge||""}}const v=d(s);return Object.assign(Object.assign({protocol:r},u),v)}class Wc{constructor(){this._eventEmitters=[],typeof window<"u"&&typeof window.addEventListener<"u"&&(window.addEventListener("online",()=>this.trigger("online")),window.addEventListener("offline",()=>this.trigger("offline")))}on(e,n){this._eventEmitters.push({event:e,callback:n})}trigger(e){let n=[];e&&(n=this._eventEmitters.filter(r=>r.event===e)),n.forEach(r=>{r.callback()})}}const zc=typeof ji.WebSocket<"u"?ji.WebSocket:require("ws");class jc{constructor(e){if(this.opts=e,this._queue=[],this._events=[],this._subscriptions=[],this._protocol=e.protocol,this._version=e.version,this._url="",this._netMonitor=null,this._socket=null,this._nextSocket=null,this._subscriptions=e.subscriptions||[],this._netMonitor=e.netMonitor||new Wc,!e.url||typeof e.url!="string")throw new Error("Missing or invalid WebSocket url");this._url=e.url,this._netMonitor.on("online",()=>this._socketCreate())}set readyState(e){}get readyState(){return this._socket?this._socket.readyState:-1}set connecting(e){}get connecting(){return this.readyState===0}set connected(e){}get connected(){return this.readyState===1}set closing(e){}get closing(){return this.readyState===2}set closed(e){}get closed(){return this.readyState===3}open(){this._socketCreate()}close(){this._socketClose()}send(e,n,r){if(!n||typeof n!="string")throw new Error("Missing or invalid topic field");this._socketSend({topic:n,type:"pub",payload:e,silent:!!r})}subscribe(e){this._socketSend({topic:e,type:"sub",payload:"",silent:!0})}on(e,n){this._events.push({event:e,callback:n})}_socketCreate(){if(this._nextSocket)return;const e=Vc(this._url,this._protocol,this._version);if(this._nextSocket=new zc(e),!this._nextSocket)throw new Error("Failed to create socket");this._nextSocket.onmessage=n=>this._socketReceive(n),this._nextSocket.onopen=()=>this._socketOpen(),this._nextSocket.onerror=n=>this._socketError(n),this._nextSocket.onclose=()=>{setTimeout(()=>{this._nextSocket=null,this._socketCreate()},1e3)}}_socketOpen(){this._socketClose(),this._socket=this._nextSocket,this._nextSocket=null,this._queueSubscriptions(),this._pushQueue()}_socketClose(){this._socket&&(this._socket.onclose=()=>{},this._socket.close())}_socketSend(e){const n=JSON.stringify(e);this._socket&&this._socket.readyState===1?this._socket.send(n):(this._setToQueue(e),this._socketCreate())}async _socketReceive(e){let n;try{n=JSON.parse(e.data)}catch{return}if(this._socketSend({topic:n.topic,type:"ack",payload:"",silent:!0}),this._socket&&this._socket.readyState===1){const r=this._events.filter(o=>o.event==="message");r&&r.length&&r.forEach(o=>o.callback(n))}}_socketError(e){const n=this._events.filter(r=>r.event==="error");n&&n.length&&n.forEach(r=>r.callback(e))}_queueSubscriptions(){this._subscriptions.forEach(n=>this._queue.push({topic:n,type:"sub",payload:"",silent:!0})),this._subscriptions=this.opts.subscriptions||[]}_setToQueue(e){this._queue.push(e)}_pushQueue(){this._queue.forEach(n=>this._socketSend(n)),this._queue=[]}}function Vc(t,e,n){var r,o;const u=(t.startsWith("https")?t.replace("https","wss"):t.startsWith("http")?t.replace("http","ws"):t).split("?"),s=Wa()?{protocol:e,version:n,env:"browser",host:((r=ja())===null||r===void 0?void 0:r.host)||""}:{protocol:e,version:n,env:((o=lr())===null||o===void 0?void 0:o.name)||""},d=Dc(Pc(u[1]||""),s);return u[0]+"?"+d}const Nr="Session currently connected",Kt="Session currently disconnected",Jc="Session Rejected",Kc="Missing JSON RPC response",Gc='JSON-RPC success response must include "result" field',Yc='JSON-RPC error response must include "error" field',Qc='JSON RPC request must have valid "method" value',Zc='JSON RPC request must have valid "id" value',Xc="Missing one of the required parameters: bridge / uri / session",co="JSON RPC response format is invalid",ef="URI format is invalid",tf="QRCode Modal not provided",fo="User close QRCode Modal";class nf{constructor(){this._eventEmitters=[]}subscribe(e){this._eventEmitters.push(e)}unsubscribe(e){this._eventEmitters=this._eventEmitters.filter(n=>n.event!==e)}trigger(e){let n=[],r;Cc(e)?r=e.method:An(e)||Zn(e)?r=`response:${e.id}`:ao(e)?r=e.event:r="",r&&(n=this._eventEmitters.filter(o=>o.event===r)),(!n||!n.length)&&!Ac(r)&&!ao(r)&&(n=this._eventEmitters.filter(o=>o.event==="call_request")),n.forEach(o=>{if(Zn(e)){const i=new Error(e.error.message);o.callback(i,null)}else o.callback(null,e)})}}class rf{constructor(e="walletconnect"){this.storageId=e}getSession(){let e=null;const n=Mi(this.storageId);return n&&qc(n)&&(e=n),e}setSession(e){return xi(this.storageId,e),e}removeSession(){Ei(this.storageId)}}const of="walletconnect.org",af="abcdefghijklmnopqrstuvwxyz0123456789",us=af.split("").map(t=>`https://${t}.bridge.walletconnect.org`);function sf(t){let e=t.indexOf("//")>-1?t.split("/")[2]:t.split("/")[0];return e=e.split(":")[0],e=e.split("?")[0],e}function lf(t){return sf(t).split(".").slice(-2).join(".")}function uf(){return Math.floor(Math.random()*us.length)}function cf(){return us[uf()]}function ff(t){return lf(t)===of}function hf(t){return ff(t)?cf():t}let df=class{constructor(e){if(this.protocol="wc",this.version=1,this._bridge="",this._key=null,this._clientId="",this._clientMeta=null,this._peerId="",this._peerMeta=null,this._handshakeId=0,this._handshakeTopic="",this._connected=!1,this._accounts=[],this._chainId=0,this._networkId=0,this._rpcUrl="",this._eventManager=new nf,this._clientMeta=Qr()||e.connectorOpts.clientMeta||null,this._cryptoLib=e.cryptoLib,this._sessionStorage=e.sessionStorage||new rf(e.connectorOpts.storageId),this._qrcodeModal=e.connectorOpts.qrcodeModal,this._qrcodeModalOptions=e.connectorOpts.qrcodeModalOptions,this._signingMethods=[...Qa,...e.connectorOpts.signingMethods||[]],!e.connectorOpts.bridge&&!e.connectorOpts.uri&&!e.connectorOpts.session)throw new Error(Xc);e.connectorOpts.bridge&&(this.bridge=hf(e.connectorOpts.bridge)),e.connectorOpts.uri&&(this.uri=e.connectorOpts.uri);const n=e.connectorOpts.session||this._getStorageSession();n&&(this.session=n),this.handshakeId&&this._subscribeToSessionResponse(this.handshakeId,"Session request rejected"),this._transport=e.transport||new jc({protocol:this.protocol,version:this.version,url:this.bridge,subscriptions:[this.clientId]}),this._subscribeToInternalEvents(),this._initTransport(),e.connectorOpts.uri&&this._subscribeToSessionRequest(),e.pushServerOpts&&this._registerPushServer(e.pushServerOpts)}set bridge(e){e&&(this._bridge=e)}get bridge(){return this._bridge}set key(e){if(!e)return;const n=_c(e);this._key=n}get key(){return this._key?dc(this._key,!0):""}set clientId(e){e&&(this._clientId=e)}get clientId(){let e=this._clientId;return e||(e=this._clientId=Or()),this._clientId}set peerId(e){e&&(this._peerId=e)}get peerId(){return this._peerId}set clientMeta(e){}get clientMeta(){let e=this._clientMeta;return e||(e=this._clientMeta=Qr()),e}set peerMeta(e){this._peerMeta=e}get peerMeta(){return this._peerMeta}set handshakeTopic(e){e&&(this._handshakeTopic=e)}get handshakeTopic(){return this._handshakeTopic}set handshakeId(e){e&&(this._handshakeId=e)}get handshakeId(){return this._handshakeId}get uri(){return this._formatUri()}set uri(e){if(!e)return;const{handshakeTopic:n,bridge:r,key:o}=this._parseUri(e);this.handshakeTopic=n,this.bridge=r,this.key=o}set chainId(e){this._chainId=e}get chainId(){return this._chainId}set networkId(e){this._networkId=e}get networkId(){return this._networkId}set accounts(e){this._accounts=e}get accounts(){return this._accounts}set rpcUrl(e){this._rpcUrl=e}get rpcUrl(){return this._rpcUrl}set connected(e){}get connected(){return this._connected}set pending(e){}get pending(){return!!this._handshakeTopic}get session(){return{connected:this.connected,accounts:this.accounts,chainId:this.chainId,bridge:this.bridge,key:this.key,clientId:this.clientId,clientMeta:this.clientMeta,peerId:this.peerId,peerMeta:this.peerMeta,handshakeId:this.handshakeId,handshakeTopic:this.handshakeTopic}}set session(e){e&&(this._connected=e.connected,this.accounts=e.accounts,this.chainId=e.chainId,this.bridge=e.bridge,this.key=e.key,this.clientId=e.clientId,this.clientMeta=e.clientMeta,this.peerId=e.peerId,this.peerMeta=e.peerMeta,this.handshakeId=e.handshakeId,this.handshakeTopic=e.handshakeTopic)}on(e,n){const r={event:e,callback:n};this._eventManager.subscribe(r)}off(e){this._eventManager.unsubscribe(e)}async createInstantRequest(e){this._key=await this._generateKey();const n=this._formatRequest({method:"wc_instantRequest",params:[{peerId:this.clientId,peerMeta:this.clientMeta,request:this._formatRequest(e)}]});this.handshakeId=n.id,this.handshakeTopic=Or(),this._eventManager.trigger({event:"display_uri",params:[this.uri]}),this.on("modal_closed",()=>{throw new Error(fo)});const r=()=>{this.killSession()};try{const o=await this._sendCallRequest(n);return o&&r(),o}catch(o){throw r(),o}}async connect(e){if(!this._qrcodeModal)throw new Error(tf);return this.connected?{chainId:this.chainId,accounts:this.accounts}:(await this.createSession(e),new Promise(async(n,r)=>{this.on("modal_closed",()=>r(new Error(fo))),this.on("connect",(o,i)=>{if(o)return r(o);n(i.params[0])})}))}async createSession(e){if(this._connected)throw new Error(Nr);if(this.pending)return;this._key=await this._generateKey();const n=this._formatRequest({method:"wc_sessionRequest",params:[{peerId:this.clientId,peerMeta:this.clientMeta,chainId:e&&e.chainId?e.chainId:null}]});this.handshakeId=n.id,this.handshakeTopic=Or(),this._sendSessionRequest(n,"Session update rejected",{topic:this.handshakeTopic}),this._eventManager.trigger({event:"display_uri",params:[this.uri]})}approveSession(e){if(this._connected)throw new Error(Nr);this.chainId=e.chainId,this.accounts=e.accounts,this.networkId=e.networkId||0,this.rpcUrl=e.rpcUrl||"";const n={approved:!0,chainId:this.chainId,networkId:this.networkId,accounts:this.accounts,rpcUrl:this.rpcUrl,peerId:this.clientId,peerMeta:this.clientMeta},r={id:this.handshakeId,jsonrpc:"2.0",result:n};this._sendResponse(r),this._connected=!0,this._setStorageSession(),this._eventManager.trigger({event:"connect",params:[{peerId:this.peerId,peerMeta:this.peerMeta,chainId:this.chainId,accounts:this.accounts}]})}rejectSession(e){if(this._connected)throw new Error(Nr);const n=e&&e.message?e.message:Jc,r=this._formatResponse({id:this.handshakeId,error:{message:n}});this._sendResponse(r),this._connected=!1,this._eventManager.trigger({event:"disconnect",params:[{message:n}]}),this._removeStorageSession()}updateSession(e){if(!this._connected)throw new Error(Kt);this.chainId=e.chainId,this.accounts=e.accounts,this.networkId=e.networkId||0,this.rpcUrl=e.rpcUrl||"";const n={approved:!0,chainId:this.chainId,networkId:this.networkId,accounts:this.accounts,rpcUrl:this.rpcUrl},r=this._formatRequest({method:"wc_sessionUpdate",params:[n]});this._sendSessionRequest(r,"Session update rejected"),this._eventManager.trigger({event:"session_update",params:[{chainId:this.chainId,accounts:this.accounts}]}),this._manageStorageSession()}async killSession(e){const n=e?e.message:"Session Disconnected",r={approved:!1,chainId:null,networkId:null,accounts:null},o=this._formatRequest({method:"wc_sessionUpdate",params:[r]});await this._sendRequest(o),this._handleSessionDisconnect(n)}async sendTransaction(e){if(!this._connected)throw new Error(Kt);const n=Lr(e),r=this._formatRequest({method:"eth_sendTransaction",params:[n]});return await this._sendCallRequest(r)}async signTransaction(e){if(!this._connected)throw new Error(Kt);const n=Lr(e),r=this._formatRequest({method:"eth_signTransaction",params:[n]});return await this._sendCallRequest(r)}async signMessage(e){if(!this._connected)throw new Error(Kt);const n=this._formatRequest({method:"eth_sign",params:e});return await this._sendCallRequest(n)}async signPersonalMessage(e){if(!this._connected)throw new Error(Kt);e=so(e);const n=this._formatRequest({method:"personal_sign",params:e});return await this._sendCallRequest(n)}async signTypedData(e){if(!this._connected)throw new Error(Kt);const n=this._formatRequest({method:"eth_signTypedData",params:e});return await this._sendCallRequest(n)}async updateChain(e){if(!this._connected)throw new Error("Session currently disconnected");const n=this._formatRequest({method:"wallet_updateChain",params:[e]});return await this._sendCallRequest(n)}unsafeSend(e,n){return this._sendRequest(e,n),this._eventManager.trigger({event:"call_request_sent",params:[{request:e,options:n}]}),new Promise((r,o)=>{this._subscribeToResponse(e.id,(i,u)=>{if(i){o(i);return}if(!u)throw new Error(Kc);r(u)})})}async sendCustomRequest(e,n){if(!this._connected)throw new Error(Kt);switch(e.method){case"eth_accounts":return this.accounts;case"eth_chainId":return os(this.chainId);case"eth_sendTransaction":case"eth_signTransaction":e.params&&(e.params[0]=Lr(e.params[0]));break;case"personal_sign":e.params&&(e.params=so(e.params));break}const r=this._formatRequest(e);return await this._sendCallRequest(r,n)}approveRequest(e){if(An(e)){const n=this._formatResponse(e);this._sendResponse(n)}else throw new Error(Gc)}rejectRequest(e){if(Zn(e)){const n=this._formatResponse(e);this._sendResponse(n)}else throw new Error(Yc)}transportClose(){this._transport.close()}async _sendRequest(e,n){const r=this._formatRequest(e),o=await this._encrypt(r),i=typeof(n==null?void 0:n.topic)<"u"?n.topic:this.peerId,u=JSON.stringify(o),s=typeof(n==null?void 0:n.forcePushNotification)<"u"?!n.forcePushNotification:Tc(r);this._transport.send(u,i,s)}async _sendResponse(e){const n=await this._encrypt(e),r=this.peerId,o=JSON.stringify(n),i=!0;this._transport.send(o,r,i)}async _sendSessionRequest(e,n,r){this._sendRequest(e,r),this._subscribeToSessionResponse(e.id,n)}_sendCallRequest(e,n){return this._sendRequest(e,n),this._eventManager.trigger({event:"call_request_sent",params:[{request:e,options:n}]}),this._subscribeToCallResponse(e.id)}_formatRequest(e){if(typeof e.method>"u")throw new Error(Qc);return{id:typeof e.id>"u"?Ec():e.id,jsonrpc:"2.0",method:e.method,params:typeof e.params>"u"?[]:e.params}}_formatResponse(e){if(typeof e.id>"u")throw new Error(Zc);const n={id:e.id,jsonrpc:"2.0"};if(Zn(e)){const r=Bc(e.error);return Object.assign(Object.assign(Object.assign({},n),e),{error:r})}else if(An(e))return Object.assign(Object.assign({},n),e);throw new Error(co)}_handleSessionDisconnect(e){const n=e||"Session Disconnected";this._connected||(this._qrcodeModal&&this._qrcodeModal.close(),Ei(Qn)),this._connected&&(this._connected=!1),this._handshakeId&&(this._handshakeId=0),this._handshakeTopic&&(this._handshakeTopic=""),this._peerId&&(this._peerId=""),this._eventManager.trigger({event:"disconnect",params:[{message:n}]}),this._removeStorageSession(),this.transportClose()}_handleSessionResponse(e,n){n?n.approved?(this._connected?(n.chainId&&(this.chainId=n.chainId),n.accounts&&(this.accounts=n.accounts),this._eventManager.trigger({event:"session_update",params:[{chainId:this.chainId,accounts:this.accounts}]})):(this._connected=!0,n.chainId&&(this.chainId=n.chainId),n.accounts&&(this.accounts=n.accounts),n.peerId&&!this.peerId&&(this.peerId=n.peerId),n.peerMeta&&!this.peerMeta&&(this.peerMeta=n.peerMeta),this._eventManager.trigger({event:"connect",params:[{peerId:this.peerId,peerMeta:this.peerMeta,chainId:this.chainId,accounts:this.accounts}]})),this._manageStorageSession()):this._handleSessionDisconnect(e):this._handleSessionDisconnect(e)}async _handleIncomingMessages(e){if(![this.clientId,this.handshakeTopic].includes(e.topic))return;let r;try{r=JSON.parse(e.payload)}catch{return}const o=await this._decrypt(r);o&&this._eventManager.trigger(o)}_subscribeToSessionRequest(){this._transport.subscribe(this.handshakeTopic)}_subscribeToResponse(e,n){this.on(`response:${e}`,n)}_subscribeToSessionResponse(e,n){this._subscribeToResponse(e,(r,o)=>{if(r){this._handleSessionResponse(r.message);return}An(o)?this._handleSessionResponse(n,o.result):o.error&&o.error.message?this._handleSessionResponse(o.error.message):this._handleSessionResponse(n)})}_subscribeToCallResponse(e){return new Promise((n,r)=>{this._subscribeToResponse(e,(o,i)=>{if(o){r(o);return}An(i)?n(i.result):i.error&&i.error.message?r(i.error):r(new Error(co))})})}_subscribeToInternalEvents(){this.on("display_uri",()=>{this._qrcodeModal&&this._qrcodeModal.open(this.uri,()=>{this._eventManager.trigger({event:"modal_closed",params:[]})},this._qrcodeModalOptions)}),this.on("connect",()=>{this._qrcodeModal&&this._qrcodeModal.close()}),this.on("call_request_sent",(e,n)=>{const{request:r}=n.params[0];if(qa()&&this._signingMethods.includes(r.method)){const o=Mi(Qn);o&&(window.location.href=o.href)}}),this.on("wc_sessionRequest",(e,n)=>{e&&this._eventManager.trigger({event:"error",params:[{code:"SESSION_REQUEST_ERROR",message:e.toString()}]}),this.handshakeId=n.id,this.peerId=n.params[0].peerId,this.peerMeta=n.params[0].peerMeta;const r=Object.assign(Object.assign({},n),{method:"session_request"});this._eventManager.trigger(r)}),this.on("wc_sessionUpdate",(e,n)=>{e&&this._handleSessionResponse(e.message),this._handleSessionResponse("Session disconnected",n.params[0])})}_initTransport(){this._transport.on("message",e=>this._handleIncomingMessages(e)),this._transport.on("open",()=>this._eventManager.trigger({event:"transport_open",params:[]})),this._transport.on("close",()=>this._eventManager.trigger({event:"transport_close",params:[]})),this._transport.on("error",()=>this._eventManager.trigger({event:"transport_error",params:["Websocket connection failed"]})),this._transport.open()}_formatUri(){const e=this.protocol,n=this.handshakeTopic,r=this.version,o=encodeURIComponent(this.bridge),i=this.key;return`${e}:${n}@${r}?bridge=${o}&key=${i}`}_parseUri(e){const n=Hc(e);if(n.protocol===this.protocol){if(!n.handshakeTopic)throw Error("Invalid or missing handshakeTopic parameter value");const r=n.handshakeTopic;if(!n.bridge)throw Error("Invalid or missing bridge url parameter value");const o=decodeURIComponent(n.bridge);if(!n.key)throw Error("Invalid or missing key parameter value");const i=n.key;return{handshakeTopic:r,bridge:o,key:i}}else throw new Error(ef)}async _generateKey(){return this._cryptoLib?await this._cryptoLib.generateKey():null}async _encrypt(e){const n=this._key;return this._cryptoLib&&n?await this._cryptoLib.encrypt(e,n):null}async _decrypt(e){const n=this._key;return this._cryptoLib&&n?await this._cryptoLib.decrypt(e,n):null}_getStorageSession(){let e=null;return this._sessionStorage&&(e=this._sessionStorage.getSession()),e}_setStorageSession(){this._sessionStorage&&this._sessionStorage.setSession(this.session)}_removeStorageSession(){this._sessionStorage&&this._sessionStorage.removeSession()}_manageStorageSession(){this._connected?this._setStorageSession():this._removeStorageSession()}_registerPushServer(e){if(!e.url||typeof e.url!="string")throw Error("Invalid or missing pushServerOpts.url parameter value");if(!e.type||typeof e.type!="string")throw Error("Invalid or missing pushServerOpts.type parameter value");if(!e.token||typeof e.token!="string")throw Error("Invalid or missing pushServerOpts.token parameter value");const n={bridge:this.bridge,topic:this.clientId,type:e.type,token:e.token,peerName:"",language:e.language||""};this.on("connect",async(r,o)=>{if(r)throw r;if(e.peerMeta){const i=o.params[0].peerMeta.name;n.peerName=i}try{if(!(await(await fetch(`${e.url}/new`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(n)})).json()).success)throw Error("Failed to register in Push Server")}catch{throw Error("Failed to register in Push Server")}})}};function pf(t){return kn.getBrowerCrypto().getRandomValues(new Uint8Array(t))}const cs=256,fs=cs,gf=cs,Lt="AES-CBC",mf=`SHA-${fs}`,ri="HMAC",_f="encrypt",vf="decrypt",yf="sign",wf="verify";function bf(t){return t===Lt?{length:fs,name:Lt}:{hash:{name:mf},name:ri}}function xf(t){return t===Lt?[_f,vf]:[yf,wf]}async function Ai(t,e=Lt){return kn.getSubtleCrypto().importKey("raw",t,bf(e),!0,xf(e))}async function Mf(t,e,n){const r=kn.getSubtleCrypto(),o=await Ai(e,Lt),i=await r.encrypt({iv:t,name:Lt},o,n);return new Uint8Array(i)}async function Ef(t,e,n){const r=kn.getSubtleCrypto(),o=await Ai(e,Lt),i=await r.decrypt({iv:t,name:Lt},o,n);return new Uint8Array(i)}async function kf(t,e){const n=kn.getSubtleCrypto(),r=await Ai(t,ri),o=await n.sign({length:gf,name:ri},r,e);return new Uint8Array(o)}function Sf(t,e,n){return Mf(t,e,n)}function Cf(t,e,n){return Ef(t,e,n)}async function hs(t,e){return await kf(t,e)}async function ds(t){const e=(t||256)/8,n=pf(e);return pc(hr(n))}async function ps(t,e){const n=pn(t.data),r=pn(t.iv),o=pn(t.hmac),i=dn(o,!1),u=rs(n,r),s=await hs(e,u),d=dn(s,!1);return Ot(i)===Ot(d)}async function Af(t,e,n){const r=mn(Xr(e)),o=n||await ds(128),i=mn(Xr(o)),u=dn(i,!1),s=JSON.stringify(t),d=oc(s),v=await Sf(i,r,d),w=dn(v,!1),B=rs(v,i),I=await hs(r,B),O=dn(I,!1);return{data:w,hmac:O,iv:u}}async function Tf(t,e){const n=mn(Xr(e));if(!n)throw new Error("Missing key: required for decryption");if(!await ps(t,n))return null;const o=pn(t.data),i=pn(t.iv),u=await Cf(i,n,o),s=rc(u);let d;try{d=JSON.parse(s)}catch{return null}return d}const If=Object.freeze(Object.defineProperty({__proto__:null,decrypt:Tf,encrypt:Af,generateKey:ds,verifyHmac:ps},Symbol.toStringTag,{value:"Module"}));class ho extends df{constructor(e,n){super({cryptoLib:If,connectorOpts:e,pushServerOpts:n})}}const Rf=ua(Ju);var Pn={},Bf=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},gs={},Nt={},Ff={}.toString,Ti=Array.isArray||function(t){return Ff.call(t)=="[object Array]"},Of=Ti;function Lf(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},t.foo()===42}catch{return!1}}_e.TYPED_ARRAY_SUPPORT=Lf();var po=_e.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function _e(t,e,n){return!_e.TYPED_ARRAY_SUPPORT&&!(this instanceof _e)?new _e(t,e,n):typeof t=="number"?ms(this,t):Hf(this,t,e,n)}_e.TYPED_ARRAY_SUPPORT&&(_e.prototype.__proto__=Uint8Array.prototype,_e.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&_e[Symbol.species]===_e&&Object.defineProperty(_e,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}));function Ii(t){if(t>=po)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+po.toString(16)+" bytes");return t|0}function Nf(t){return t!==t}function _n(t,e){var n;return _e.TYPED_ARRAY_SUPPORT?(n=new Uint8Array(e),n.__proto__=_e.prototype):(n=t,n===null&&(n=new _e(e)),n.length=e),n}function ms(t,e){var n=_n(t,e<0?0:Ii(e)|0);if(!_e.TYPED_ARRAY_SUPPORT)for(var r=0;r55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}else if(u+1===r){(e-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;i.push(n)}else if(n<2048){if((e-=2)<0)break;i.push(n>>6|192,n&63|128)}else if(n<65536){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return i}function vs(t){if(_e.isBuffer(t))return t.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var e=t.length;return e===0?0:_s(t).length}function Uf(t,e,n,r){for(var o=0;o=e.length||o>=t.length);++o)e[o+n]=t[o];return o}function qf(t,e,n,r){return Uf(_s(e,t.length-n),t,n,r)}function Hf(t,e,n,r){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer?Pf(t,e,n,r):typeof e=="string"?$f(t,e):Df(t,e)}_e.prototype.write=function(e,n,r){n===void 0?(r=this.length,n=0):r===void 0&&typeof n=="string"?(r=this.length,n=0):isFinite(n)&&(n=n|0,isFinite(r)?r=r|0:r=void 0);var o=this.length-n;if((r===void 0||r>o)&&(r=o),e.length>0&&(r<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");return qf(this,e,n,r)};_e.prototype.slice=function(e,n){var r=this.length;e=~~e,n=n===void 0?r:~~n,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n=e.length&&(n=e.length),n||(n=0),o>0&&o=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-n=0;--u)e[u+n]=this[u+r];else if(i<1e3||!_e.TYPED_ARRAY_SUPPORT)for(u=0;u>>0,r=r===void 0?this.length:r>>>0,e||(e=0);var i;if(typeof e=="number")for(i=n;i40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};Ze.getSymbolTotalCodewords=function(e){return Wf[e]};Ze.getBCHDigit=function(t){for(var e=0;t!==0;)e++,t>>>=1;return e};Ze.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');Ri=e};Ze.isKanjiModeEnabled=function(){return typeof Ri<"u"};Ze.toSJIS=function(e){return Ri(e)};var dr={};(function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(n){if(typeof n!="string")throw new Error("Param is not a string");var r=n.toLowerCase();switch(r){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+n)}}t.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},t.from=function(r,o){if(t.isValid(r))return r;try{return e(r)}catch{return o}}})(dr);function ys(){this.buffer=[],this.length=0}ys.prototype={get:function(t){var e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(var n=0;n>>e-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var zf=ys,go=Nt;function Dn(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=go.alloc(t*t),this.reservedBit=go.alloc(t*t)}Dn.prototype.set=function(t,e,n,r){var o=t*this.size+e;this.data[o]=n,r&&(this.reservedBit[o]=!0)};Dn.prototype.get=function(t,e){return this.data[t*this.size+e]};Dn.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n};Dn.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var jf=Dn,ws={};(function(t){var e=Ze.getSymbolSize;t.getRowColCoords=function(r){if(r===1)return[];for(var o=Math.floor(r/7)+2,i=e(r),u=i===145?26:Math.ceil((i-13)/(2*o-2))*2,s=[i-7],d=1;d=0&&o<=7},t.from=function(o){return t.isValid(o)?parseInt(o,10):void 0},t.getPenaltyN1=function(o){for(var i=o.size,u=0,s=0,d=0,v=null,w=null,B=0;B=5&&(u+=e.N1+(s-5)),v=O,s=1),O=o.get(I,B),O===w?d++:(d>=5&&(u+=e.N1+(d-5)),w=O,d=1)}s>=5&&(u+=e.N1+(s-5)),d>=5&&(u+=e.N1+(d-5))}return u},t.getPenaltyN2=function(o){for(var i=o.size,u=0,s=0;s=10&&(s===1488||s===93)&&u++,d=d<<1&2047|o.get(w,v),w>=10&&(d===1488||d===93)&&u++}return u*e.N3},t.getPenaltyN4=function(o){for(var i=0,u=o.data.length,s=0;s=0;){for(var s=u[0],d=0;d0){var u=_o.alloc(this.degree);return o.copy(u,i),u}return o};var Kf=Bi,Ss={},$t={},Fi={};Fi.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40};var pt={},Cs="[0-9]+",Gf="[A-Z $%*+\\-./:]+",On="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";On=On.replace(/u/g,"\\u");var Yf="(?:(?![A-Z0-9 $%*+\\-./:]|"+On+`)(?:.|[\r -]))+`;pt.KANJI=new RegExp(On,"g");pt.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");pt.BYTE=new RegExp(Yf,"g");pt.NUMERIC=new RegExp(Cs,"g");pt.ALPHANUMERIC=new RegExp(Gf,"g");var Qf=new RegExp("^"+On+"$"),Zf=new RegExp("^"+Cs+"$"),Xf=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");pt.testKanji=function(e){return Qf.test(e)};pt.testNumeric=function(e){return Zf.test(e)};pt.testAlphanumeric=function(e){return Xf.test(e)};(function(t){var e=Fi,n=pt;t.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(i,u){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!e.isValid(u))throw new Error("Invalid version: "+u);return u>=1&&u<10?i.ccBits[0]:u<27?i.ccBits[1]:i.ccBits[2]},t.getBestModeForData=function(i){return n.testNumeric(i)?t.NUMERIC:n.testAlphanumeric(i)?t.ALPHANUMERIC:n.testKanji(i)?t.KANJI:t.BYTE},t.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},t.isValid=function(i){return i&&i.bit&&i.ccBits};function r(o){if(typeof o!="string")throw new Error("Param is not a string");var i=o.toLowerCase();switch(i){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+o)}}t.from=function(i,u){if(t.isValid(i))return i;try{return r(i)}catch{return u}}})($t);(function(t){var e=Ze,n=pr,r=dr,o=$t,i=Fi,u=Ti,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,d=e.getBCHDigit(s);function v(O,F,P){for(var S=1;S<=40;S++)if(F<=t.getCapacity(S,P,O))return S}function w(O,F){return o.getCharCountIndicator(O,F)+4}function B(O,F){var P=0;return O.forEach(function(S){var R=w(S.mode,F);P+=R+S.getBitsLength()}),P}function I(O,F){for(var P=1;P<=40;P++){var S=B(O,P);if(S<=t.getCapacity(P,F,o.MIXED))return P}}t.from=function(F,P){return i.isValid(F)?parseInt(F,10):P},t.getCapacity=function(F,P,S){if(!i.isValid(F))throw new Error("Invalid QR Code version");typeof S>"u"&&(S=o.BYTE);var R=e.getSymbolTotalCodewords(F),x=n.getTotalCodewordsCount(F,P),E=(R-x)*8;if(S===o.MIXED)return E;var T=E-w(S,F);switch(S){case o.NUMERIC:return Math.floor(T/10*3);case o.ALPHANUMERIC:return Math.floor(T/11*2);case o.KANJI:return Math.floor(T/13);case o.BYTE:default:return Math.floor(T/8)}},t.getBestVersionForData=function(F,P){var S,R=r.from(P,r.M);if(u(F)){if(F.length>1)return I(F,R);if(F.length===0)return 1;S=F[0]}else S=F;return v(S.mode,S.getLength(),R)},t.getEncodedBits=function(F){if(!i.isValid(F)||F<7)throw new Error("Invalid QR Code version");for(var P=F<<12;e.getBCHDigit(P)-d>=0;)P^=s<=0;)o^=Ts<0&&(r=this.data.substr(n),o=parseInt(r,10),e.put(o,i*3+1))};var nh=vn,rh=$t,$r=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function yn(t){this.mode=rh.ALPHANUMERIC,this.data=t}yn.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};yn.prototype.getLength=function(){return this.data.length};yn.prototype.getBitsLength=function(){return yn.getBitsLength(this.data.length)};yn.prototype.write=function(e){var n;for(n=0;n+2<=this.data.length;n+=2){var r=$r.indexOf(this.data[n])*45;r+=$r.indexOf(this.data[n+1]),e.put(r,11)}this.data.length%2&&e.put($r.indexOf(this.data[n]),6)};var ih=yn,oh=Nt,ah=$t;function wn(t){this.mode=ah.BYTE,this.data=oh.from(t)}wn.getBitsLength=function(e){return e*8};wn.prototype.getLength=function(){return this.data.length};wn.prototype.getBitsLength=function(){return wn.getBitsLength(this.data.length)};wn.prototype.write=function(t){for(var e=0,n=this.data.length;e=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+` -Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),t.put(n,13)}};var ch=bn,ai={},fh={get exports(){return ai},set exports(t){ai=t}};(function(t){var e={single_source_shortest_paths:function(n,r,o){var i={},u={};u[r]=0;var s=e.PriorityQueue.make();s.push(r,0);for(var d,v,w,B,I,O,F,P,S;!s.empty();){d=s.pop(),v=d.value,B=d.cost,I=n[v]||{};for(w in I)I.hasOwnProperty(w)&&(O=I[w],F=B+O,P=u[w],S=typeof u[w]>"u",(S||P>F)&&(u[w]=F,s.push(w,F),i[w]=v))}if(typeof o<"u"&&typeof u[o]>"u"){var R=["Could not find a path from ",r," to ",o,"."].join("");throw new Error(R)}return i},extract_shortest_path_from_predecessor_list:function(n,r){for(var o=[],i=r;i;)o.push(i),n[i],i=n[i];return o.reverse(),o},find_path:function(n,r,o){var i=e.single_source_shortest_paths(n,r,o);return e.extract_shortest_path_from_predecessor_list(i,o)},PriorityQueue:{make:function(n){var r=e.PriorityQueue,o={},i;n=n||{};for(i in r)r.hasOwnProperty(i)&&(o[i]=r[i]);return o.queue=[],o.sorter=n.sorter||r.default_sorter,o},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var o={value:n,cost:r};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t.exports=e})(fh);(function(t){var e=$t,n=nh,r=ih,o=sh,i=ch,u=pt,s=Ze,d=ai;function v(R){return unescape(encodeURIComponent(R)).length}function w(R,x,E){for(var T=[],$;($=R.exec(E))!==null;)T.push({data:$[0],index:$.index,mode:x,length:$[0].length});return T}function B(R){var x=w(u.NUMERIC,e.NUMERIC,R),E=w(u.ALPHANUMERIC,e.ALPHANUMERIC,R),T,$;s.isKanjiModeEnabled()?(T=w(u.BYTE,e.BYTE,R),$=w(u.KANJI,e.KANJI,R)):(T=w(u.BYTE_KANJI,e.BYTE,R),$=[]);var D=x.concat(E,T,$);return D.sort(function(V,H){return V.index-H.index}).map(function(V){return{data:V.data,mode:V.mode,length:V.length}})}function I(R,x){switch(x){case e.NUMERIC:return n.getBitsLength(R);case e.ALPHANUMERIC:return r.getBitsLength(R);case e.KANJI:return i.getBitsLength(R);case e.BYTE:return o.getBitsLength(R)}}function O(R){return R.reduce(function(x,E){var T=x.length-1>=0?x[x.length-1]:null;return T&&T.mode===E.mode?(x[x.length-1].data+=E.data,x):(x.push(E),x)},[])}function F(R){for(var x=[],E=0;E=0&&s<=6&&(d===0||d===6)||d>=0&&d<=6&&(s===0||s===6)||s>=2&&s<=4&&d>=2&&d<=4?t.set(i+s,u+d,!0,!0):t.set(i+s,u+d,!1,!0))}function bh(t){for(var e=t.size,n=8;n>s&1)===1,t.set(o,i,u,!0),t.set(i,o,u,!0)}function Ur(t,e,n){var r=t.size,o=_h.getEncodedBits(e,n),i,u;for(i=0;i<15;i++)u=(o>>i&1)===1,i<6?t.set(i,8,u,!0):i<8?t.set(i+1,8,u,!0):t.set(r-15+i,8,u,!0),i<8?t.set(8,r-i-1,u,!0):i<9?t.set(8,15-i-1+1,u,!0):t.set(8,15-i-1,u,!0);t.set(r-8,8,1,!0)}function Eh(t,e){for(var n=t.size,r=-1,o=n-1,i=7,u=0,s=n-1;s>0;s-=2)for(s===6&&s--;;){for(var d=0;d<2;d++)if(!t.isReserved(o,s-d)){var v=!1;u>>i&1)===1),t.set(o,s-d,v),i--,i===-1&&(u++,i=7)}if(o+=r,o<0||n<=o){o-=r,r=-r;break}}}function kh(t,e,n){var r=new hh;n.forEach(function(v){r.put(v.mode.bit,4),r.put(v.getLength(),vh.getCharCountIndicator(v.mode,t)),v.write(r)});var o=mr.getSymbolTotalCodewords(t),i=li.getTotalCodewordsCount(t,e),u=(o-i)*8;for(r.getLengthInBits()+4<=u&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);for(var s=(u-r.getLengthInBits())/8,d=0;d=7&&Mh(w,e),Eh(w,d),isNaN(r)&&(r=si.getBestMask(w,Ur.bind(null,w,n))),si.applyMask(r,w),Ur(w,n,r),{modules:w,version:e,errorCorrectionLevel:n,maskPattern:r,segments:o}}gs.create=function(e,n){if(typeof e>"u"||e==="")throw new Error("No input text");var r=Pr.M,o,i;return typeof n<"u"&&(r=Pr.from(n.errorCorrectionLevel,Pr.M),o=er.from(n.version),i=si.from(n.maskPattern),n.toSJISFunc&&mr.setToSJISFunction(n.toSJISFunc)),Ch(e,o,r,i)};var Rs={},Oi={};(function(t){function e(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");var r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(i){return[i,i]}))),r.length===6&&r.push("F","F");var o=parseInt(r.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+r.slice(0,6).join("")}}t.getOptions=function(r){r||(r={}),r.color||(r.color={});var o=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,i=r.width&&r.width>=21?r.width:void 0,u=r.scale||4;return{width:i,scale:i?4:u,margin:o,color:{dark:e(r.color.dark||"#000000ff"),light:e(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},t.getScale=function(r,o){return o.width&&o.width>=r+o.margin*2?o.width/(r+o.margin*2):o.scale},t.getImageWidth=function(r,o){var i=t.getScale(r,o);return Math.floor((r+o.margin*2)*i)},t.qrToImageData=function(r,o,i){for(var u=o.modules.size,s=o.modules.data,d=t.getScale(u,i),v=Math.floor((u+i.margin*2)*d),w=i.margin*d,B=[i.color.light,i.color.dark],I=0;I=w&&O>=w&&I"u"&&(!u||!u.getContext)&&(d=u,u=void 0),u||(v=r()),d=e.getOptions(d);var w=e.getImageWidth(i.modules.size,d),B=v.getContext("2d"),I=B.createImageData(w,w);return e.qrToImageData(I.data,i,d),n(B,v,w),B.putImageData(I,0,0),v},t.renderToDataURL=function(i,u,s){var d=s;typeof d>"u"&&(!u||!u.getContext)&&(d=u,u=void 0),d||(d={});var v=t.render(i,u,d),w=d.type||"image/png",B=d.rendererOpts||{};return v.toDataURL(w,B.quality)}})(Rs);var Bs={},Ah=Oi;function wo(t,e){var n=t.a/255,r=e+'="'+t.hex+'"';return n<1?r+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function qr(t,e,n){var r=t+e;return typeof n<"u"&&(r+=" "+n),r}function Th(t,e,n){for(var r="",o=0,i=!1,u=0,s=0;s0&&d>0&&t[s-1]||(r+=i?qr("M",d+n,.5+v+n):qr("m",o,0),o=0,i=!1),d+1':"",v="',w='viewBox="0 0 '+s+" "+s+'"',B=o.width?'width="'+o.width+'" height="'+o.width+'" ':"",I=''+d+v+` -`;return typeof r=="function"&&r(null,I),I};var Ih=Bf,ui=gs,Fs=Rs,Rh=Bs;function Li(t,e,n,r,o){var i=[].slice.call(arguments,1),u=i.length,s=typeof i[u-1]=="function";if(!s&&!Ih())throw new Error("Callback required as last argument");if(s){if(u<2)throw new Error("Too few arguments provided");u===2?(o=n,n=e,e=r=void 0):u===3&&(e.getContext&&typeof o>"u"?(o=r,r=void 0):(o=r,r=n,n=e,e=void 0))}else{if(u<1)throw new Error("Too few arguments provided");return u===1?(n=e,e=r=void 0):u===2&&!e.getContext&&(r=n,n=e,e=void 0),new Promise(function(v,w){try{var B=ui.create(n,r);v(t(B,e,r))}catch(I){w(I)}})}try{var d=ui.create(n,r);o(null,t(d,e,r))}catch(v){o(v)}}Pn.create=ui.create;Pn.toCanvas=Li.bind(null,Fs.render);Pn.toDataURL=Li.bind(null,Fs.renderToDataURL);Pn.toString=Li.bind(null,function(t,e,n){return Rh.render(t,n)});var Bh=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var B=bo[e.format]||bo.default;window.clipboardData.setData(B,t)}else w.clipboardData.clearData(),w.clipboardData.setData(e.format,t);e.onCopy&&(w.preventDefault(),e.onCopy(w.clipboardData))}),document.body.appendChild(s),i.selectNodeContents(s),u.addRange(i);var v=document.execCommand("copy");if(!v)throw new Error("copy command was unsuccessful");d=!0}catch(w){n&&console.error("unable to copy using execCommand: ",w),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),d=!0}catch(B){n&&console.error("unable to copy using clipboardData: ",B),n&&console.error("falling back to prompt"),r=Lh("message"in e?e.message:Oh),window.prompt(r,t)}}finally{u&&(typeof u.removeRange=="function"?u.removeRange(i):u.removeAllRanges()),s&&document.body.removeChild(s),o()}return d}var $h=Nh,ce,Rn,Ni,Os,xo,$i,Ls,wt={},_r=[],Ph=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function yt(t,e){for(var n in e)t[n]=e[n];return t}function Ns(t){var e=t.parentNode;e&&e.removeChild(t)}function xt(t,e,n){var r,o=arguments,i={};for(r in e)r!=="key"&&r!=="ref"&&(i[r]=e[r]);if(arguments.length>3)for(n=[n],r=3;r2&&(e.children=_r.slice.call(arguments,2)),n={},e)r!=="key"&&r!=="ref"&&(n[r]=e[r]);return tr(t.type,n,e.key||t.key,e.ref||t.ref,null)}function Ws(t){var e={},n={__c:"__cC"+Ls++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i=this;return this.getChildContext||(o=[],this.getChildContext=function(){return e[n.__c]=i,e},this.shouldComponentUpdate=function(u){i.props.value!==u.value&&o.some(function(s){s.context=u.value,Jn(s)})},this.sub=function(u){o.push(u);var s=u.componentWillUnmount;u.componentWillUnmount=function(){o.splice(o.indexOf(u),1),s&&s.call(u)}}),r.children}};return n.Consumer.contextType=n,n.Provider.__=n,n}ce={__e:function(t,e){for(var n,r;e=e.__;)if((n=e.__c)&&!n.__)try{if(n.constructor&&n.constructor.getDerivedStateFromError!=null&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(t))),n.componentDidCatch!=null&&(r=!0,n.componentDidCatch(t)),r)return Jn(n.__E=n)}catch(o){t=o}throw t}},ot.prototype.setState=function(t,e){var n;n=this.__s!==this.state?this.__s:this.__s=yt({},this.state),typeof t=="function"&&(t=t(n,this.props)),t&&yt(n,t),t!=null&&this.__v&&(e&&this.__h.push(e),Jn(this))},ot.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Jn(this))},ot.prototype.render=Un,Rn=[],Ni=0,Os=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$i=wt,Ls=0;var nn,Qe,ko,xn=0,ci=[],So=ce.__r,Co=ce.diffed,Ao=ce.__c,To=ce.unmount;function Sn(t,e){ce.__h&&ce.__h(Qe,t,xn||e),xn=0;var n=Qe.__H||(Qe.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function Di(t){return xn=1,Ui(Ys,t)}function Ui(t,e,n){var r=Sn(nn++,2);return r.__c||(r.__c=Qe,r.__=[n?n(e):Ys(void 0,e),function(o){var i=t(r.__[0],o);r.__[0]!==i&&(r.__[0]=i,r.__c.setState({}))}]),r.__}function zs(t,e){var n=Sn(nn++,3);!ce.__s&&Hi(n.__H,e)&&(n.__=t,n.__H=e,Qe.__H.__h.push(n))}function qi(t,e){var n=Sn(nn++,4);!ce.__s&&Hi(n.__H,e)&&(n.__=t,n.__H=e,Qe.__h.push(n))}function js(t){return xn=5,vr(function(){return{current:t}},[])}function Vs(t,e,n){xn=6,qi(function(){typeof t=="function"?t(e()):t&&(t.current=e())},n==null?n:n.concat(t))}function vr(t,e){var n=Sn(nn++,7);return Hi(n.__H,e)?(n.__H=e,n.__h=t,n.__=t()):n.__}function Js(t,e){return xn=8,vr(function(){return t},e)}function Ks(t){var e=Qe.context[t.__c],n=Sn(nn++,9);return n.__c=t,e?(n.__==null&&(n.__=!0,e.sub(Qe)),e.props.value):t.__}function Gs(t,e){ce.useDebugValue&&ce.useDebugValue(e?e(t):t)}function zh(t){var e=Sn(nn++,10),n=Di();return e.__=t,Qe.componentDidCatch||(Qe.componentDidCatch=function(r){e.__&&e.__(r),n[1](r)}),[n[0],function(){n[1](void 0)}]}function jh(){ci.some(function(t){if(t.__P)try{t.__H.__h.forEach(fi),t.__H.__h.forEach(hi),t.__H.__h=[]}catch(e){return t.__H.__h=[],ce.__e(e,t.__v),!0}}),ci=[]}function fi(t){t.t&&t.t()}function hi(t){var e=t.__();typeof e=="function"&&(t.t=e)}function Hi(t,e){return!t||e.some(function(n,r){return n!==t[r]})}function Ys(t,e){return typeof e=="function"?e(t):e}ce.__r=function(t){So&&So(t),nn=0,(Qe=t.__c).__H&&(Qe.__H.__h.forEach(fi),Qe.__H.__h.forEach(hi),Qe.__H.__h=[])},ce.diffed=function(t){Co&&Co(t);var e=t.__c;if(e){var n=e.__H;n&&n.__h.length&&(ci.push(e)!==1&&ko===ce.requestAnimationFrame||((ko=ce.requestAnimationFrame)||function(r){var o,i=function(){clearTimeout(u),cancelAnimationFrame(o),setTimeout(r)},u=setTimeout(i,100);typeof window<"u"&&(o=requestAnimationFrame(i))})(jh))}},ce.__c=function(t,e){e.some(function(n){try{n.__h.forEach(fi),n.__h=n.__h.filter(function(r){return!r.__||hi(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],ce.__e(r,n.__v)}}),Ao&&Ao(t,e)},ce.unmount=function(t){To&&To(t);var e=t.__c;if(e){var n=e.__H;if(n)try{n.__.forEach(function(r){return r.t&&r.t()})}catch(r){ce.__e(r,e.__v)}}};function Wi(t,e){for(var n in e)t[n]=e[n];return t}function di(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}var Qs=function(t){var e,n;function r(o){var i;return(i=t.call(this,o)||this).isPureReactComponent=!0,i}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.shouldComponentUpdate=function(o,i){return di(this.props,o)||di(this.state,i)},r}(ot);function Zs(t,e){function n(o){var i=this.props.ref,u=i==o.ref;return!u&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!u:di(this.props,o)}function r(o){return this.shouldComponentUpdate=n,xt(t,Wi({},o))}return r.prototype.isReactComponent=!0,r.displayName="Memo("+(t.displayName||t.name)+")",r.t=!0,r}var Io=ce.__b;function Xs(t){function e(n){var r=Wi({},n);return delete r.ref,t(r,n.ref)}return e.prototype.isReactComponent=e.t=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}ce.__b=function(t){t.type&&t.type.t&&t.ref&&(t.props.ref=t.ref,t.ref=null),Io&&Io(t)};var Ro=function(t,e){return t?Bt(t).reduce(function(n,r,o){return n.concat(e(r,o))},[]):null},el={map:Ro,forEach:Ro,count:function(t){return t?Bt(t).length:0},only:function(t){if((t=Bt(t)).length!==1)throw new Error("Children.only() expects only one child.");return t[0]},toArray:Bt},Vh=ce.__e;function tl(t){return t&&((t=Wi({},t)).__c=null,t.__k=t.__k&&t.__k.map(tl)),t}function rr(){this.__u=0,this.o=null,this.__b=null}function nl(t){var e=t.__.__c;return e&&e.u&&e.u(t)}function rl(t){var e,n,r;function o(i){if(e||(e=t()).then(function(u){n=u.default||u},function(u){r=u}),r)throw r;if(!n)throw e;return xt(n,i)}return o.displayName="Lazy",o.t=!0,o}function un(){this.i=null,this.l=null}ce.__e=function(t,e,n){if(t.then){for(var r,o=e;o=o.__;)if((r=o.__c)&&r.__c)return r.__c(t,e.__c)}Vh(t,e,n)},(rr.prototype=new ot).__c=function(t,e){var n=this;n.o==null&&(n.o=[]),n.o.push(e);var r=nl(n.__v),o=!1,i=function(){o||(o=!0,r?r(u):u())};e.__c=e.componentWillUnmount,e.componentWillUnmount=function(){i(),e.__c&&e.__c()};var u=function(){var s;if(!--n.__u)for(n.__v.__k[0]=n.state.u,n.setState({u:n.__b=null});s=n.o.pop();)s.forceUpdate()};n.__u++||n.setState({u:n.__b=n.__v.__k[0]}),t.then(i,i)},rr.prototype.render=function(t,e){return this.__b&&(this.__v.__k[0]=tl(this.__b),this.__b=null),[xt(ot,null,e.u?null:t.children),e.u&&t.fallback]};var Bo=function(t,e,n){if(++n[1]===n[0]&&t.l.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.l.size))for(n=t.i;n;){for(;n.length>3;)n.pop()();if(n[1]8?2.5:2.7)+"vw":"inherit";return ie.createElement("a",{className:"walletconnect-connect__button__icon_anchor",href:n,onClick:i,rel:"noopener noreferrer",target:"_blank"},ie.createElement("div",{className:"walletconnect-connect__button__icon",style:{background:"url('"+o+"') "+e,backgroundSize:"100%"}}),ie.createElement("div",{style:{fontSize:u},className:"walletconnect-connect__button__text"},r))}var p0=5,Wr=12;function g0(t){var e=Ge.isAndroid(),n=ie.useState(""),r=n[0],o=n[1],i=ie.useState(""),u=i[0],s=i[1],d=ie.useState(1),v=d[0],w=d[1],B=u?t.links.filter(function(T){return T.name.toLowerCase().includes(u.toLowerCase())}):t.links,I=t.errorMessage,O=u||B.length>p0,F=Math.ceil(B.length/Wr),P=[(v-1)*Wr+1,v*Wr],S=B.length?B.filter(function(T,$){return $+1>=P[0]&&$+1<=P[1]}):[],R=!e&&F>1,x=void 0;function E(T){o(T.target.value),clearTimeout(x),T.target.value?x=setTimeout(function(){s(T.target.value),w(1)},1e3):(o(""),s(""),w(1))}return ie.createElement("div",null,ie.createElement("p",{id:gl,className:"walletconnect-qrcode__text"},e?t.text.connect_mobile_wallet:t.text.choose_preferred_wallet),!e&&ie.createElement("input",{className:"walletconnect-search__input",placeholder:"Search",value:r,onChange:E}),ie.createElement("div",{className:"walletconnect-connect__buttons__wrapper"+(e?"__android":O&&B.length?"__wrap":"")},e?ie.createElement(c0,{name:t.text.connect,color:a0,href:t.uri,onClick:ie.useCallback(function(){Ge.saveMobileLinkInfo({name:"Unknown",href:t.uri})},[])}):S.length?S.map(function(T){var $=T.color,D=T.name,V=T.shortName,H=T.logo,Q=Ge.formatIOSMobile(t.uri,T),m=ie.useCallback(function(){Ge.saveMobileLinkInfo({name:D,href:Q})},[S]);return O?ie.createElement(d0,{color:$,href:Q,name:V||D,logo:H,onClick:m}):ie.createElement(h0,{color:$,href:Q,name:D,logo:H,onClick:m})}):ie.createElement(ie.Fragment,null,ie.createElement("p",null,I.length?t.errorMessage:t.links.length&&!B.length?t.text.no_wallets_found:t.text.loading))),R&&ie.createElement("div",{className:"walletconnect-modal__footer"},Array(F).fill(0).map(function(T,$){var D=$+1,V=v===D;return ie.createElement("a",{style:{margin:"auto 10px",fontWeight:V?"bold":"normal"},onClick:function(){return w(D)}},D)})))}function m0(t){var e=!!t.message.trim();return ie.createElement("div",{className:"walletconnect-qrcode__notification"+(e?" notification__show":"")},t.message)}var _0=function(t){try{var e="";return Promise.resolve(hl.toString(t,{margin:0,type:"svg"})).then(function(n){return typeof n=="string"&&(e=n.replace("0||ie.useEffect(function(){var c=function(){try{if(e)return Promise.resolve();u(!0);try{var p=n?"mobile":"desktop",_=Ge.getMobileLinkRegistry(Ge.formatMobileRegistry(ml,p),r);u(!1),v(!0),Q(_.length?"":t.text.no_supported_wallets),D(_);var y=_.length===1;y&&(S(Ge.formatIOSMobile(t.uri,_[0])),I(!0)),E(y)}catch(C){u(!1),v(!0),Q(t.text.something_went_wrong),console.error(C)}return Promise.resolve()}catch(C){return Promise.reject(C)}};c()})};m();var a=n?B:!B;return ie.createElement("div",{id:pl,className:"walletconnect-qrcode__base animated fadeIn"},ie.createElement("div",{className:"walletconnect-modal__base"},ie.createElement(u0,{onClose:t.onClose}),x&&B?ie.createElement("div",{className:"walletconnect-modal__single_wallet"},ie.createElement("a",{onClick:function(){return Ge.saveMobileLinkInfo({name:$[0].name,href:P})},href:P,rel:"noopener noreferrer",target:"_blank"},t.text.connect_with+" "+(x?$[0].name:"")+" ›")):e||i||!i&&$.length?ie.createElement("div",{className:"walletconnect-modal__mobile__toggle"+(a?" right__selected":"")},ie.createElement("div",{className:"walletconnect-modal__mobile__toggle_selector"}),n?ie.createElement(ie.Fragment,null,ie.createElement("a",{onClick:function(){return I(!1),m()}},t.text.mobile),ie.createElement("a",{onClick:function(){return I(!0)}},t.text.qrcode)):ie.createElement(ie.Fragment,null,ie.createElement("a",{onClick:function(){return I(!0)}},t.text.qrcode),ie.createElement("a",{onClick:function(){return I(!1),m()}},t.text.desktop))):null,ie.createElement("div",null,B||!e&&!i&&!$.length?ie.createElement(v0,Object.assign({},O)):ie.createElement(g0,Object.assign({},O,{links:$,errorMessage:H})))))}var w0={choose_preferred_wallet:"Wähle bevorzugte Wallet",connect_mobile_wallet:"Verbinde mit Mobile Wallet",scan_qrcode_with_wallet:"Scanne den QR-code mit einer WalletConnect kompatiblen Wallet",connect:"Verbinden",qrcode:"QR-Code",mobile:"Mobile",desktop:"Desktop",copy_to_clipboard:"In die Zwischenablage kopieren",copied_to_clipboard:"In die Zwischenablage kopiert!",connect_with:"Verbinden mit Hilfe von",loading:"Laden...",something_went_wrong:"Etwas ist schief gelaufen",no_supported_wallets:"Es gibt noch keine unterstützten Wallet",no_wallets_found:"keine Wallet gefunden"},b0={choose_preferred_wallet:"Choose your preferred wallet",connect_mobile_wallet:"Connect to Mobile Wallet",scan_qrcode_with_wallet:"Scan QR code with a WalletConnect-compatible wallet",connect:"Connect",qrcode:"QR Code",mobile:"Mobile",desktop:"Desktop",copy_to_clipboard:"Copy to clipboard",copied_to_clipboard:"Copied to clipboard!",connect_with:"Connect with",loading:"Loading...",something_went_wrong:"Something went wrong",no_supported_wallets:"There are no supported wallets yet",no_wallets_found:"No wallets found"},x0={choose_preferred_wallet:"Elige tu billetera preferida",connect_mobile_wallet:"Conectar a billetera móvil",scan_qrcode_with_wallet:"Escanea el código QR con una billetera compatible con WalletConnect",connect:"Conectar",qrcode:"Código QR",mobile:"Móvil",desktop:"Desktop",copy_to_clipboard:"Copiar",copied_to_clipboard:"Copiado!",connect_with:"Conectar mediante",loading:"Cargando...",something_went_wrong:"Algo salió mal",no_supported_wallets:"Todavía no hay billeteras compatibles",no_wallets_found:"No se encontraron billeteras"},M0={choose_preferred_wallet:"Choisissez votre portefeuille préféré",connect_mobile_wallet:"Se connecter au portefeuille mobile",scan_qrcode_with_wallet:"Scannez le QR code avec un portefeuille compatible WalletConnect",connect:"Se connecter",qrcode:"QR Code",mobile:"Mobile",desktop:"Desktop",copy_to_clipboard:"Copier",copied_to_clipboard:"Copié!",connect_with:"Connectez-vous à l'aide de",loading:"Chargement...",something_went_wrong:"Quelque chose a mal tourné",no_supported_wallets:"Il n'y a pas encore de portefeuilles pris en charge",no_wallets_found:"Aucun portefeuille trouvé"},E0={choose_preferred_wallet:"원하는 지갑을 선택하세요",connect_mobile_wallet:"모바일 지갑과 연결",scan_qrcode_with_wallet:"WalletConnect 지원 지갑에서 QR코드를 스캔하세요",connect:"연결",qrcode:"QR 코드",mobile:"모바일",desktop:"데스크탑",copy_to_clipboard:"클립보드에 복사",copied_to_clipboard:"클립보드에 복사되었습니다!",connect_with:"와 연결하다",loading:"로드 중...",something_went_wrong:"문제가 발생했습니다.",no_supported_wallets:"아직 지원되는 지갑이 없습니다",no_wallets_found:"지갑을 찾을 수 없습니다"},k0={choose_preferred_wallet:"Escolha sua carteira preferida",connect_mobile_wallet:"Conectar-se à carteira móvel",scan_qrcode_with_wallet:"Ler o código QR com uma carteira compatível com WalletConnect",connect:"Conectar",qrcode:"Código QR",mobile:"Móvel",desktop:"Desktop",copy_to_clipboard:"Copiar",copied_to_clipboard:"Copiado!",connect_with:"Ligar por meio de",loading:"Carregamento...",something_went_wrong:"Algo correu mal",no_supported_wallets:"Ainda não há carteiras suportadas",no_wallets_found:"Nenhuma carteira encontrada"},S0={choose_preferred_wallet:"选择你的钱包",connect_mobile_wallet:"连接至移动端钱包",scan_qrcode_with_wallet:"使用兼容 WalletConnect 的钱包扫描二维码",connect:"连接",qrcode:"二维码",mobile:"移动",desktop:"桌面",copy_to_clipboard:"复制到剪贴板",copied_to_clipboard:"复制到剪贴板成功!",connect_with:"通过以下方式连接",loading:"正在加载...",something_went_wrong:"出了问题",no_supported_wallets:"目前还没有支持的钱包",no_wallets_found:"没有找到钱包"},C0={choose_preferred_wallet:"کیف پول مورد نظر خود را انتخاب کنید",connect_mobile_wallet:"به کیف پول موبایل وصل شوید",scan_qrcode_with_wallet:"کد QR را با یک کیف پول سازگار با WalletConnect اسکن کنید",connect:"اتصال",qrcode:"کد QR",mobile:"سیار",desktop:"دسکتاپ",copy_to_clipboard:"کپی به کلیپ بورد",copied_to_clipboard:"در کلیپ بورد کپی شد!",connect_with:"ارتباط با",loading:"...بارگذاری",something_went_wrong:"مشکلی پیش آمد",no_supported_wallets:"هنوز هیچ کیف پول پشتیبانی شده ای وجود ندارد",no_wallets_found:"هیچ کیف پولی پیدا نشد"},Do={de:w0,en:b0,es:x0,fr:M0,ko:E0,pt:k0,zh:S0,fa:C0};function A0(){var t=Ge.getDocumentOrThrow(),e=t.getElementById($o);e&&t.head.removeChild(e);var n=t.createElement("style");n.setAttribute("id",$o),n.innerText=n0,t.head.appendChild(n)}function T0(){var t=Ge.getDocumentOrThrow(),e=t.createElement("div");return e.setAttribute("id",dl),t.body.appendChild(e),e}function _l(){var t=Ge.getDocumentOrThrow(),e=t.getElementById(pl);e&&(e.className=e.className.replace("fadeIn","fadeOut"),setTimeout(function(){var n=t.getElementById(dl);n&&t.body.removeChild(n)},o0))}function I0(t){return function(){_l(),t&&t()}}function R0(){var t=Ge.getNavigatorOrThrow().language.split("-")[0]||"en";return Do[t]||Do.en}function B0(t,e,n){A0();var r=T0();ie.render(ie.createElement(y0,{text:R0(),uri:t,onClose:I0(e),qrcodeModalOptions:n}),r)}function F0(){_l()}var Uo="algorand";function O0(t,e){if(e==null||e){var n=new URL(t);if(!n.searchParams.has(Uo))return n.searchParams.set(Uo,"true"),n.toString()}return t}function L0(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)===-1&&(n[r]=t[r]);return n}var vl=function(){return typeof Ke<"u"&&typeof Ke.versions<"u"&&typeof Ke.versions.node<"u"};function N0(t,e,n){var r=n||{},o=r.addAlgorandMarkerToUri,i=L0(r,["addAlgorandMarkerToUri"]),u=i;t=O0(t,o),console.log(t),vl()?t0(t):B0(t,e,u)}function $0(){vl()||F0()}var P0={open:N0,close:$0},qo=P0;const an=[];function D0(t,e=ze){let n;const r=new Set;function o(s){if(nt(t,s)&&(t=s,n)){const d=!an.length;for(const v of r)v[1](),an.push(v,t);if(d){for(let v=0;v{r.delete(v),r.size===0&&n&&(n(),n=null)}}return{set:o,update:i,subscribe:u}}const zr={ready:async()=>{try{return(await fetch("http://localhost:9090/ready")).status===200}catch{return!1}},list:async()=>{try{return await(await fetch("http://localhost:9090/list")).json()}catch{return[]}},register:async(t,e)=>{try{return(await fetch("http://localhost:9090/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:t,recovery_key:e})})).status===200}catch{return!1}},update:async(t,e,n,r)=>{try{return(await fetch("http://localhost:9090/update",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:t,did:e,passphrase:r,addresses:n})})).status===200}catch{return!1}}},{subscribe:U0,update:jr}=D0({identifiers:[],wallet:{url:"",name:"",icons:[],addresses:[],connected:!1,description:""}}),ft={subscribe:U0,reload:async function(){const t=await zr.list();t.sort((e,n)=>Date.parse(n.last_sync)-Date.parse(e.last_sync)),jr(e=>(e.identifiers=t,e))},setWallet:t=>{jr(e=>(e.wallet=t,e))},removeWallet:()=>{jr(t=>(t.wallet={connected:!1,addresses:[],name:"",description:"",url:"",icons:[]},t))},createDID:async function(t,e){const n=await zr.register(t,e);return n&&this.reload(),n},updateDID:async function(t,e,n,r){const o=await zr.update(t,e,n,r);return o&&this.reload(),o}},yl=Symbol("app-context-key"),q0=function(t){Kl(yl,t)},yr=function(){return Gl(yl)};function H0(t){let e,n,r=t[0].wallet.name+"",o,i,u,s=t[0].wallet.icons.length>=1&&Ho(t);return{c(){e=Y("button"),s&&s.c(),n=Ve(` - Disconnect: `),o=Ve(r),j(e,"type","button"),j(e,"class","inline-flex items-center gap-x-2 rounded-md bg-red-600 px-3 py-2 text-sm font-semibold text-white hover:bg-red-500")},m(d,v){ge(d,e,v),s&&s.m(e,null),q(e,n),q(e,o),i||(u=Je(e,"click",t[2]),i=!0)},p(d,v){d[0].wallet.icons.length>=1?s?s.p(d,v):(s=Ho(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),v&1&&r!==(r=d[0].wallet.name+"")&&Ye(o,r)},d(d){d&&pe(e),s&&s.d(),i=!1,u()}}}function W0(t){let e,n,r;return{c(){e=Y("button"),e.innerHTML=` - Connect Wallet`,j(e,"type","button"),j(e,"class","inline-flex items-center gap-x-2 rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white hover:bg-indigo-500")},m(o,i){ge(o,e,i),n||(r=Je(e,"click",t[1]),n=!0)},p:ze,d(o){o&&pe(e),n=!1,r()}}}function Ho(t){let e,n;return{c(){e=Y("img"),j(e,"class","h-6 w-6"),j(e,"alt","Wallet icon"),Kr(e.src,n=t[0].wallet.icons[0])||j(e,"src",n)},m(r,o){ge(r,e,o)},p(r,o){o&1&&!Kr(e.src,n=r[0].wallet.icons[0])&&j(e,"src",n)},d(r){r&&pe(e)}}}function z0(t){let e;function n(i,u){return i[0].wallet.connected?H0:W0}let r=n(t),o=r(t);return{c(){e=Y("span"),o.c(),j(e,"class","absolute right-0 isolate inline-flex rounded-md shadow-sm")},m(i,u){ge(i,e,u),o.m(e,null)},p(i,[u]){r===(r=n(i))&&o?o.p(i,u):(o.d(1),o=r(i),o&&(o.c(),o.m(e,null)))},i:ze,o:ze,d(i){i&&pe(e),o.d()}}}function j0(t,e,n){let r;_i(t,ft,I=>n(0,r=I));let{mainnet:o=!1}=e;const i=sr(),u=yr();let s;wi(()=>{if(s=new ho({bridge:"https://bridge.walletconnect.org",qrcodeModal:qo,clientMeta:{name:"AlgoID Connect (beta)",description:"AlgoID wallet connector",url:"http://github.com/algorandfoundation/did-algo",icons:["https://aid-tech.sfo2.digitaloceanspaces.com/public_assets/at_logo_128x128.png","https://aid-tech.sfo2.digitaloceanspaces.com/public_assets/at_logo_192x192.png","https://aid-tech.sfo2.digitaloceanspaces.com/public_assets/at_logo_512x512.png"]}}),!s.connected)return;let I=s.peerMeta;I.connected=!0,ft.setWallet(I),u.showAlert("success",`Connected to: ${I.name}`),i("ready"),w()});async function d(){s.connected||(B(),await s.createSession({chainId:o?416001:416002})),w()}function v(){s&&s.connected&&s.killSession()}function w(){s.on("connect",(I,O)=>{if(I)throw u.showAlert("error",`Error connecting to wallet: ${I.message}`),I;let F=O.params[0],P=F.peerMeta;P.connected=!0,P.addresses=F.accounts,ft.setWallet(P),u.showAlert("success",`Connected to: ${P.name}`),i("ready")}),s.on("disconnect",I=>{if(I)throw u.showAlert("error",`Error disconnecting wallet: ${I.message}`),I;ft.removeWallet(),u.showAlert("warning","Disconnected from wallet"),i("session_end")}),s.on("session_update",(I,O)=>{if(I)throw u.showAlert("error",`Wallet Connect session error: ${I.message}`),I;let F=O.params[0],P=F.peerMeta;P.connected=!0,P.addresses=F.accounts,ft.setWallet(P),i("session_update")})}function B(){s.off("connect"),s.off("disconnect"),s.off("session_update"),s=null,s=new ho({bridge:"https://bridge.walletconnect.org",qrcodeModal:qo,clientMeta:{name:"AlgoID Connect (beta)",description:"AlgoID wallet connector",url:"http://github.com/algorandfoundation/did-algo",icons:["https://aid-tech.sfo2.digitaloceanspaces.com/public_assets/at_logo_128x128.png","https://aid-tech.sfo2.digitaloceanspaces.com/public_assets/at_logo_192x192.png","https://aid-tech.sfo2.digitaloceanspaces.com/public_assets/at_logo_512x512.png"]}})}return t.$$set=I=>{"mainnet"in I&&n(3,o=I.mainnet)},[r,d,v,o]}class V0 extends st{constructor(e){super(),at(this,e,j0,z0,nt,{mainnet:3})}}function J0(t){let e;return{c(){e=Y("span"),e.textContent="Deactivated",j(e,"class","inline-flex rounded-full bg-red-100 px-2 text-xs font-semibold leading-5 text-red-800")},m(n,r){ge(n,e,r)},d(n){n&&pe(e)}}}function K0(t){let e;return{c(){e=Y("span"),e.textContent="Active",j(e,"class","inline-flex rounded-full bg-green-100 px-2 text-xs font-semibold leading-5 text-green-800")},m(n,r){ge(n,e,r)},d(n){n&&pe(e)}}}function G0(t){let e,n,r=t[0].name+"",o,i,u,s=Wo(t[0].did)+"",d,v,w,B=t[0].addresses.length+"",I,O,F,P=zo(t[0].last_sync)+"",S,R,x,E,T,$,D,V;function H(a,c){return a[0].active?K0:J0}let Q=H(t),m=Q(t);return{c(){e=Y("tr"),n=Y("td"),o=Ve(r),i=fe(),u=Y("td"),d=Ve(s),v=fe(),w=Y("td"),I=Ve(B),O=fe(),F=Y("td"),S=Ve(P),R=fe(),x=Y("td"),m.c(),E=fe(),T=Y("td"),$=Y("button"),$.innerHTML='',j(n,"class","whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-3"),j(u,"class","whitespace-nowrap break-all px-3 py-4 text-sm text-gray-500"),j(w,"class","hidden whitespace-nowrap px-3 py-4 text-sm text-gray-500 lg:table-cell"),j(F,"class","hidden whitespace-nowrap px-3 py-4 text-sm text-gray-500 lg:table-cell"),j(x,"class","whitespace-nowrap px-3 py-4 text-sm text-gray-500"),j($,"type","button"),j($,"class","inline-flex items-center px-2.5 py-1.5 text-sm font-semibold text-gray-900 hover:text-indigo-600 disabled:cursor-not-allowed disabled:opacity-30"),j(e,"class","cursor-pointer odd:bg-white even:bg-slate-50 hover:bg-slate-100")},m(a,c){ge(a,e,c),q(e,n),q(n,o),q(e,i),q(e,u),q(u,d),q(e,v),q(e,w),q(w,I),q(e,O),q(e,F),q(F,S),q(e,R),q(e,x),m.m(x,null),q(e,E),q(e,T),q(T,$),D||(V=[Je($,"click",Gi(gn(t[2]))),Je(e,"click",Gi(gn(t[3])))],D=!0)},p(a,[c]){c&1&&r!==(r=a[0].name+"")&&Ye(o,r),c&1&&s!==(s=Wo(a[0].did)+"")&&Ye(d,s),c&1&&B!==(B=a[0].addresses.length+"")&&Ye(I,B),c&1&&P!==(P=zo(a[0].last_sync)+"")&&Ye(S,P),Q!==(Q=H(a))&&(m.d(1),m=Q(a),m&&(m.c(),m.m(x,null)))},i:ze,o:ze,d(a){a&&pe(e),m.d(),D=!1,dt(V)}}}function Wo(t){return t.slice(0,18)+"..."+t.slice(-18)}function zo(t){let e=new Date;return e.setTime(Date.parse(t)),e.toLocaleDateString(navigator.language,{day:"numeric",year:"numeric",hour:"numeric",month:"short",minute:"numeric",hour12:!0})}function Y0(t,e,n){let{identifier:r}=e;const o=sr(),i=()=>{o("link_wallet",{did:r})},u=()=>{o("show_details",{did:r})};return t.$$set=s=>{"identifier"in s&&n(0,r=s.identifier)},[r,o,i,u]}class Q0 extends st{constructor(e){super(),at(this,e,Y0,G0,nt,{identifier:0})}}typeof window<"u"&&(window.Prism&&console.warn("Prism has already been initiated. Please ensure that svelte-prism is imported first."),window.Prism=window.Prism||{},window.Prism.manual=!0);var gi={},Z0={get exports(){return gi},set exports(t){gi=t}};(function(t){var e=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** - * Prism: Lightweight, robust, elegant syntax highlighting - * - * @license MIT - * @author Lea Verou - * @namespace - * @public - */var n=function(r){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,u={},s={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function x(E){return E instanceof d?new d(E.type,x(E.content),E.alias):Array.isArray(E)?E.map(x):E.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch($){var x=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec($.stack)||[])[1];if(x){var E=document.getElementsByTagName("script");for(var T in E)if(E[T].src==x)return E[T]}return null}},isActive:function(x,E,T){for(var $="no-"+E;x;){var D=x.classList;if(D.contains(E))return!0;if(D.contains($))return!1;x=x.parentElement}return!!T}},languages:{plain:u,plaintext:u,text:u,txt:u,extend:function(x,E){var T=s.util.clone(s.languages[x]);for(var $ in E)T[$]=E[$];return T},insertBefore:function(x,E,T,$){$=$||s.languages;var D=$[x],V={};for(var H in D)if(D.hasOwnProperty(H)){if(H==E)for(var Q in T)T.hasOwnProperty(Q)&&(V[Q]=T[Q]);T.hasOwnProperty(H)||(V[H]=D[H])}var m=$[x];return $[x]=V,s.languages.DFS(s.languages,function(a,c){c===m&&a!=x&&(this[a]=V)}),V},DFS:function x(E,T,$,D){D=D||{};var V=s.util.objId;for(var H in E)if(E.hasOwnProperty(H)){T.call(E,H,E[H],$||H);var Q=E[H],m=s.util.type(Q);m==="Object"&&!D[V(Q)]?(D[V(Q)]=!0,x(Q,T,null,D)):m==="Array"&&!D[V(Q)]&&(D[V(Q)]=!0,x(Q,T,H,D))}}},plugins:{},highlightAll:function(x,E){s.highlightAllUnder(document,x,E)},highlightAllUnder:function(x,E,T){var $={callback:T,container:x,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",$),$.elements=Array.prototype.slice.apply($.container.querySelectorAll($.selector)),s.hooks.run("before-all-elements-highlight",$);for(var D=0,V;V=$.elements[D++];)s.highlightElement(V,E===!0,$.callback)},highlightElement:function(x,E,T){var $=s.util.getLanguage(x),D=s.languages[$];s.util.setLanguage(x,$);var V=x.parentElement;V&&V.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(V,$);var H=x.textContent,Q={element:x,language:$,grammar:D,code:H};function m(c){Q.highlightedCode=c,s.hooks.run("before-insert",Q),Q.element.innerHTML=Q.highlightedCode,s.hooks.run("after-highlight",Q),s.hooks.run("complete",Q),T&&T.call(Q.element)}if(s.hooks.run("before-sanity-check",Q),V=Q.element.parentElement,V&&V.nodeName.toLowerCase()==="pre"&&!V.hasAttribute("tabindex")&&V.setAttribute("tabindex","0"),!Q.code){s.hooks.run("complete",Q),T&&T.call(Q.element);return}if(s.hooks.run("before-highlight",Q),!Q.grammar){m(s.util.encode(Q.code));return}if(E&&r.Worker){var a=new Worker(s.filename);a.onmessage=function(c){m(c.data)},a.postMessage(JSON.stringify({language:Q.language,code:Q.code,immediateClose:!0}))}else m(s.highlight(Q.code,Q.grammar,Q.language))},highlight:function(x,E,T){var $={code:x,grammar:E,language:T};if(s.hooks.run("before-tokenize",$),!$.grammar)throw new Error('The language "'+$.language+'" has no grammar.');return $.tokens=s.tokenize($.code,$.grammar),s.hooks.run("after-tokenize",$),d.stringify(s.util.encode($.tokens),$.language)},tokenize:function(x,E){var T=E.rest;if(T){for(var $ in T)E[$]=T[$];delete E.rest}var D=new B;return I(D,D.head,x),w(x,D,E,D.head,0),F(D)},hooks:{all:{},add:function(x,E){var T=s.hooks.all;T[x]=T[x]||[],T[x].push(E)},run:function(x,E){var T=s.hooks.all[x];if(!(!T||!T.length))for(var $=0,D;D=T[$++];)D(E)}},Token:d};r.Prism=s;function d(x,E,T,$){this.type=x,this.content=E,this.alias=T,this.length=($||"").length|0}d.stringify=function x(E,T){if(typeof E=="string")return E;if(Array.isArray(E)){var $="";return E.forEach(function(m){$+=x(m,T)}),$}var D={type:E.type,content:x(E.content,T),tag:"span",classes:["token",E.type],attributes:{},language:T},V=E.alias;V&&(Array.isArray(V)?Array.prototype.push.apply(D.classes,V):D.classes.push(V)),s.hooks.run("wrap",D);var H="";for(var Q in D.attributes)H+=" "+Q+'="'+(D.attributes[Q]||"").replace(/"/g,""")+'"';return"<"+D.tag+' class="'+D.classes.join(" ")+'"'+H+">"+D.content+""};function v(x,E,T,$){x.lastIndex=E;var D=x.exec(T);if(D&&$&&D[1]){var V=D[1].length;D.index+=V,D[0]=D[0].slice(V)}return D}function w(x,E,T,$,D,V){for(var H in T)if(!(!T.hasOwnProperty(H)||!T[H])){var Q=T[H];Q=Array.isArray(Q)?Q:[Q];for(var m=0;m=V.reach);l+=b.value.length,b=b.next){var k=b.value;if(E.length>x.length)return;if(!(k instanceof d)){var G=1,W;if(_){if(W=v(L,l,x,p),!W||W.index>=x.length)break;var U=W.index,te=W.index+W[0].length,re=l;for(re+=b.value.length;U>=re;)b=b.next,re+=b.value.length;if(re-=b.value.length,l=re,b.value instanceof d)continue;for(var g=b;g!==E.tail&&(reV.reach&&(V.reach=ae);var ne=b.prev;J&&(ne=I(E,ne,J),l+=J.length),O(E,ne,G);var ee=new d(H,c?s.tokenize(K,c):K,y,K);if(b=I(E,ne,ee),X&&I(E,b,X),G>1){var me={cause:H+","+m,reach:ae};w(x,E,T,b.prev,l,me),V&&me.reach>V.reach&&(V.reach=me.reach)}}}}}}function B(){var x={value:null,prev:null,next:null},E={value:null,prev:x,next:null};x.next=E,this.head=x,this.tail=E,this.length=0}function I(x,E,T){var $=E.next,D={value:T,prev:E,next:$};return E.next=D,$.prev=D,x.length++,D}function O(x,E,T){for(var $=E.next,D=0;D/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(r){r.type==="entity"&&(r.attributes.title=r.content.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(o,i){var u={};u["language-"+i]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[i]},u.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:u}};s["language-"+i]={pattern:/[\s\S]+/,inside:n.languages[i]};var d={};d[o]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return o}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",d)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(r,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,function(r){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+o.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var i=r.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))}(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript,function(){if(typeof n>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var r="Loading…",o=function(P,S){return"✖ Error "+P+" while fetching file: "+S},i="✖ Error: File does not exist or is empty",u={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},s="data-src-status",d="loading",v="loaded",w="failed",B="pre[data-src]:not(["+s+'="'+v+'"]):not(['+s+'="'+d+'"])';function I(P,S,R){var x=new XMLHttpRequest;x.open("GET",P,!0),x.onreadystatechange=function(){x.readyState==4&&(x.status<400&&x.responseText?S(x.responseText):x.status>=400?R(o(x.status,x.statusText)):R(i))},x.send(null)}function O(P){var S=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(P||"");if(S){var R=Number(S[1]),x=S[2],E=S[3];return x?E?[R,Number(E)]:[R,void 0]:[R,R]}}n.hooks.add("before-highlightall",function(P){P.selector+=", "+B}),n.hooks.add("before-sanity-check",function(P){var S=P.element;if(S.matches(B)){P.code="",S.setAttribute(s,d);var R=S.appendChild(document.createElement("CODE"));R.textContent=r;var x=S.getAttribute("data-src"),E=P.language;if(E==="none"){var T=(/\.(\w+)$/.exec(x)||[,"none"])[1];E=u[T]||T}n.util.setLanguage(R,E),n.util.setLanguage(S,E);var $=n.plugins.autoloader;$&&$.loadLanguages(E),I(x,function(D){S.setAttribute(s,v);var V=O(S.getAttribute("data-range"));if(V){var H=D.split(/\r\n?|\n/g),Q=V[0],m=V[1]==null?H.length:V[1];Q<0&&(Q+=H.length),Q=Math.max(0,Math.min(Q-1,H.length)),m<0&&(m+=H.length),m=Math.max(0,Math.min(m,H.length)),D=H.slice(Q,m).join(` -`),S.hasAttribute("data-start")||S.setAttribute("data-start",String(Q+1))}R.textContent=D,n.highlightElement(R)},function(D){S.setAttribute(s,w),R.textContent=D})}}),n.plugins.fileHighlight={highlight:function(S){for(var R=(S||document).querySelectorAll(B),x=0,E;E=R[x++];)n.highlightElement(E)}};var F=!1;n.fileHighlight=function(){F||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),F=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Z0);const wl=gi,jo="(if|else if|await|then|catch|each|html|debug)";Prism.languages.svelte=Prism.languages.extend("markup",{each:{pattern:new RegExp("{[#/]each(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{"language-javascript":[{pattern:/(as[\s\S]*)\([\s\S]*\)(?=\s*\})/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(as[\s]*)[\s\S]*(?=\s*)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(#each[\s]*)[\s\S]*(?=as)/,lookbehind:!0,inside:Prism.languages.javascript}],keyword:/[#/]each|as/,punctuation:/{|}/}},block:{pattern:new RegExp("{[#:/@]/s"+jo+"(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{punctuation:/^{|}$/,keyword:[new RegExp("[#:/@]"+jo+"( )*"),/as/,/then/],"language-javascript":{pattern:/[\s\S]*/,inside:Prism.languages.javascript}}},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?:"[^"]*"|'[^']*'|{[\s\S]+?}(?=[\s/>])))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,inside:Prism.languages.javascript},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],"language-javascript":{pattern:/{[\s\S]+}/,inside:Prism.languages.javascript}}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,lookbehind:!0,inside:Prism.languages.javascript}});Prism.languages.svelte.tag.inside["attr-value"].inside.entity=Prism.languages.svelte.entity;Prism.hooks.add("wrap",t=>{t.type==="entity"&&(t.attributes.title=t.content.replace(/&/,"&"))});Object.defineProperty(Prism.languages.svelte.tag,"addInlined",{value:function(e,n){const r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[n]},r.cdata=/^$/i;const o={"included-cdata":{pattern://i,inside:r}};o["language-"+n]={pattern:/[\s\S]+/,inside:Prism.languages[n]};const i={};i[e]={pattern:RegExp(/(<__[\s\S]*?>)(?:\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:o},Prism.languages.insertBefore("svelte","cdata",i)}});Prism.languages.svelte.tag.addInlined("style","css");Prism.languages.svelte.tag.addInlined("script","javascript");function X0(t){let e,n;return{c(){e=new Wl(!1),n=$n(),e.a=n},m(r,o){e.m(t[2],r,o),ge(r,n,o)},p(r,o){o&4&&e.p(r[2])},d(r){r&&pe(n),r&&e.d()}}}function ed(t){let e;return{c(){e=Ve(t[2])},m(n,r){ge(n,e,r)},p(n,r){r&4&&Ye(e,n[2])},d(n){n&&pe(e)}}}function td(t){let e,n,r,o,i,u,s;const d=t[6].default,v=ma(d,t,t[5],null);function w(O,F){return O[0]==="none"?ed:X0}let B=w(t),I=B(t);return{c(){e=Y("code"),v&&v.c(),n=fe(),r=Y("pre"),o=Y("code"),I.c(),Hl(e,"display","none"),j(o,"class",i="language-"+t[0]),j(r,"class",u="language-"+t[0]),j(r,"command-line",""),j(r,"data-output","2-17")},m(O,F){ge(O,e,F),v&&v.m(e,null),t[7](e),ge(O,n,F),ge(O,r,F),q(r,o),I.m(o,null),s=!0},p(O,[F]){v&&v.p&&(!s||F&32)&&ya(v,d,O,O[5],s?va(d,O[5],F,null):wa(O[5]),null),B===(B=w(O))&&I?I.p(O,F):(I.d(1),I=B(O),I&&(I.c(),I.m(o,null))),(!s||F&1&&i!==(i="language-"+O[0]))&&j(o,"class",i),(!s||F&1&&u!==(u="language-"+O[0]))&&j(r,"class",u)},i(O){s||(ye(v,O),s=!0)},o(O){We(v,O),s=!1},d(O){O&&pe(e),v&&v.d(O),t[7](null),O&&pe(n),O&&pe(r),I.d()}}}const Vo=wl;wl.highlightElement;const nd={transform:t=>t};function rd(t,e,n){let{$$slots:r={},$$scope:o}=e,{language:i="javascript"}=e,{source:u=""}=e,{transform:s=I=>I}=e,d,v;function w(){const I=Vo.languages[i];let O=u||d.textContent;O=nd.transform(O),O=s(O),n(2,v=i==="none"?O:Vo.highlight(O,I,i))}function B(I){Ft[I?"unshift":"push"](()=>{d=I,n(1,d)})}return t.$$set=I=>{n(9,e=Kn(Kn({},e),Ji(I))),"language"in I&&n(0,i=I.language),"source"in I&&n(3,u=I.source),"transform"in I&&n(4,s=I.transform),"$$scope"in I&&n(5,o=I.$$scope)},t.$$.update=()=>{e&&(u||d)&&w()},e=Ji(e),[i,d,v,u,s,o,r,B]}let id=class extends st{constructor(e){super(),at(this,e,rd,td,nt,{language:0,source:3,transform:4})}};function Jo(t,e,n){const r=t.slice();return r[2]=e[n],r}function od(t){let e,n=t[0].addresses,r=[];for(let o=0;oThese are the latest details for the selected identifier. You can use the provided - - tool to add or remove ALGO addresses associated with this - identifier.

`,r=fe(),o=Y("div"),i=Y("div"),i.innerHTML='

Local reference (name)

',u=fe(),s=Y("div"),d=Y("p"),w=Ve(v),B=fe(),I=Y("div"),O=Y("div"),O.innerHTML='

Last sync

',F=fe(),P=Y("div"),S=Y("p"),x=Ve(R),E=fe(),T=Y("div"),$=Y("div"),$.innerHTML='

Linked addresses

',D=fe(),V=Y("div"),H=Y("p"),G.c(),Q=fe(),m=Y("div"),a=Y("div"),a.innerHTML='

Current status

',c=fe(),p=Y("div"),re.c(),_=fe(),y=Y("div"),C=Y("div"),ht(L.$$.fragment),j(n,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5 first:sm:pt-0"),j(d,"class","block w-full text-base text-gray-600"),j(s,"class","sm:col-span-2"),j(o,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),j(S,"class","block w-full text-base text-gray-600"),j(P,"class","sm:col-span-2"),j(I,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),j(H,"class","block w-full text-base text-gray-600"),j(V,"class","sm:col-span-2"),j(T,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),j(p,"class","sm:col-span-2"),j(m,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),j(C,"class","sm:col-span-3"),j(y,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),j(e,"class","space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0")},m(g,U){ge(g,e,U),q(e,n),q(e,r),q(e,o),q(o,i),q(o,u),q(o,s),q(s,d),q(d,w),q(e,B),q(e,I),q(I,O),q(I,F),q(I,P),q(P,S),q(S,x),q(e,E),q(e,T),q(T,$),q(T,D),q(T,V),q(V,H),G.m(H,null),q(e,Q),q(e,m),q(m,a),q(m,c),q(m,p),re.m(p,null),q(e,_),q(e,y),q(y,C),rt(L,C,null),b=!0},p(g,[U]){(!b||U&1)&&v!==(v=g[0].name+"")&&Ye(w,v),(!b||U&1)&&R!==(R=Go(g[0].last_sync)+"")&&Ye(x,R),k===(k=l(g))&&G?G.p(g,U):(G.d(1),G=k(g),G&&(G.c(),G.m(H,null))),te!==(te=W(g))&&(re.d(1),re=te(g),re&&(re.c(),re.m(p,null)))},i(g){b||(ye(L.$$.fragment,g),b=!0)},o(g){We(L.$$.fragment,g),b=!1},d(g){g&&pe(e),G.d(),re.d(),it(L)}}}function Go(t){if(t==="")return"-";let e=new Date;return e.setTime(Date.parse(t)),e.toLocaleDateString(navigator.language,{day:"numeric",year:"numeric",hour:"numeric",month:"short",minute:"numeric",hour12:!0})}function Yo(t){return t.slice(0,14)+"..."+t.slice(-14)}function cd(t,e,n){let{identifier:r}=e,o=JSON.stringify(r.document,null,2);return t.$$set=i=>{"identifier"in i&&n(0,r=i.identifier)},[r,o]}class fd extends st{constructor(e){super(),at(this,e,cd,ud,nt,{identifier:0})}}function Zt(t){const e=t-1;return e*e*e+1}function Qo(t,{delay:e=0,duration:n=400,easing:r=pa}={}){const o=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:r,css:i=>`opacity: ${i*o}`}}function hd(t,{delay:e=0,duration:n=400,easing:r=Zt,x:o=0,y:i=0,opacity:u=0}={}){const s=getComputedStyle(t),d=+s.opacity,v=s.transform==="none"?"":s.transform,w=d*(1-u),[B,I]=Ki(o),[O,F]=Ki(i);return{delay:e,duration:n,easing:r,css:(P,S)=>` - transform: ${v} translate(${(1-P)*B}${I}, ${(1-P)*O}${F}); - opacity: ${d-w*S}`}}function Zo(t,{delay:e=0,duration:n=400,easing:r=Zt,axis:o="y"}={}){const i=getComputedStyle(t),u=+i.opacity,s=o==="y"?"height":"width",d=parseFloat(i[s]),v=o==="y"?["top","bottom"]:["left","right"],w=v.map(R=>`${R[0].toUpperCase()}${R.slice(1)}`),B=parseFloat(i[`padding${w[0]}`]),I=parseFloat(i[`padding${w[1]}`]),O=parseFloat(i[`margin${w[0]}`]),F=parseFloat(i[`margin${w[1]}`]),P=parseFloat(i[`border${w[0]}Width`]),S=parseFloat(i[`border${w[1]}Width`]);return{delay:e,duration:n,easing:r,css:R=>`overflow: hidden;opacity: ${Math.min(R*20,1)*u};${s}: ${R*d}px;padding-${v[0]}: ${R*B}px;padding-${v[1]}: ${R*I}px;margin-${v[0]}: ${R*O}px;margin-${v[1]}: ${R*F}px;border-${v[0]}-width: ${R*P}px;border-${v[1]}-width: ${R*S}px;`}}function Xo(t){let e,n,r,o,i,u,s,d,v,w,B,I,O,F,P,S,R,x,E;return{c(){e=Y("div"),n=Y("div"),r=Y("div"),o=Y("p"),i=Ve(t[2]),u=fe(),s=Y("div"),d=Y("div"),v=Y("button"),w=Y("span"),w.textContent="Dismiss",B=fe(),I=Gr("svg"),O=Gr("path"),F=fe(),P=Y("div"),P.innerHTML=`

success styles

-

error styles

-

warning styles

`,j(o,"class","text-sm font-medium "+t[3]("text")),j(r,"class","ml-3"),j(w,"class","sr-only"),j(O,"d","M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"),j(I,"class","h-5 w-5"),j(I,"viewBox","0 0 20 20"),j(I,"fill","currentColor"),j(I,"aria-hidden","true"),j(v,"type","button"),j(v,"class","inline-fle p-1.5 focus:outline-none focus:ring-2 focus:ring-offset-2 "+t[3]("button")),j(d,"class","-mx-1.5 -my-1.5"),j(s,"class","ml-auto pl-3"),j(n,"class","flex"),j(P,"class","hidden"),j(e,"class","border-l-4 p-4 "+t[3]("border"))},m(T,$){ge(T,e,$),q(e,n),q(n,r),q(r,o),q(o,i),q(n,u),q(n,s),q(s,d),q(d,v),q(v,w),q(v,B),q(v,I),q(I,O),q(e,F),q(e,P),R=!0,x||(E=Je(v,"click",gn(t[5])),x=!0)},p(T,$){t=T,(!R||$&4)&&Ye(i,t[2])},i(T){R||(Qt(()=>{R&&(S||(S=ln(e,Zo,{easing:Zt,duration:400},!0)),S.run(1))}),R=!0)},o(T){S||(S=ln(e,Zo,{easing:Zt,duration:400},!1)),S.run(0),R=!1},d(T){T&&pe(e),T&&S&&S.end(),x=!1,E()}}}function dd(t){let e,n,r=!t[1]&&Xo(t);return{c(){r&&r.c(),e=$n()},m(o,i){r&&r.m(o,i),ge(o,e,i),n=!0},p(o,[i]){o[1]?r&&(Xt(),We(r,1,1,()=>{r=null}),en()):r?(r.p(o,i),i&2&&ye(r,1)):(r=Xo(o),r.c(),ye(r,1),r.m(e.parentNode,e))},i(o){n||(ye(r),n=!0)},o(o){We(r),n=!1},d(o){r&&r.d(o),o&&pe(e)}}}function pd(t,e,n){let r=!0,o,i="success";function u(B,I){i=B,n(2,o=I),n(1,r=!1)}function s(){n(1,r=!0)}function d(B){switch(B){case"border":return"border-COLOR-400 bg-COLOR-50".replaceAll("COLOR",v());case"text":return"text-COLOR-800".replaceAll("COLOR",v());case"button":return"bg-COLOR-50 text-COLOR-500 hover:bg-COLOR-100 focus:ring-COLOR-600 focus:ring-offset-COLOR-50".replaceAll("COLOR",v())}}function v(){switch(i){case"success":return"green";case"warning":return"yellow";case"error":return"red"}}return[s,r,o,d,u,()=>{s()}]}class bl extends st{constructor(e){super(),at(this,e,pd,dd,nt,{show:4,close:0})}get show(){return this.$$.ctx[4]}get close(){return this.$$.ctx[0]}}function gd(t){let e,n,r,o,i,u,s,d,v,w,B,I,O,F,P,S,R,x,E,T,$={};return i=new bl({props:$}),t[3](i),{c(){e=Y("div"),n=Y("form"),r=Y("div"),o=Y("div"),ht(i.$$.fragment),u=fe(),s=Y("p"),s.innerHTML=`A decentralized identifier (or DID) is an asset designed to be owned by a controller - entity. A single identifier can be used on any number of services, and you can create - as many identifiers as you want.`,d=fe(),v=Y("div"),v.innerHTML=`

Name (local reference)

-
`,w=fe(),B=Y("div"),B.innerHTML=`

The recovery key used to create this identifier is not stored locally. If you lose - it ther's no other way to recover it. Please make sure you have a copy of it.

-

Recovery key

-
-

Key confirmation

-
`,I=fe(),O=Y("div"),F=Y("div"),P=Y("button"),P.textContent="Cancel",S=fe(),R=Y("button"),R.textContent="Create",j(o,"class","sm:col-span-3"),j(s,"class","sm:col-span-3"),j(r,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5 first:sm:pt-0"),j(v,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),j(B,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),j(P,"type","button"),j(P,"class","rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50"),j(R,"type","submit"),j(R,"class","inline-flex justify-center rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"),j(F,"class","flex justify-end space-x-3"),j(O,"class","flex-shrink-0 border-t border-gray-200 px-4 py-5 sm:px-6"),j(n,"class","flex h-full flex-col"),j(e,"class","space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0")},m(D,V){ge(D,e,V),q(e,n),q(n,r),q(r,o),rt(i,o,null),q(r,u),q(r,s),q(n,d),q(n,v),q(n,w),q(n,B),q(n,I),q(n,O),q(O,F),q(F,P),q(F,S),q(F,R),x=!0,E||(T=[Je(P,"click",t[4]),Je(n,"submit",gn(t[2]))],E=!0)},p(D,[V]){const H={};i.$set(H)},i(D){x||(ye(i.$$.fragment,D),x=!0)},o(D){We(i.$$.fragment,D),x=!1},d(D){D&&pe(e),t[3](null),it(i),E=!1,dt(T)}}}function md(t){const e=document.getElementById(t);return e.value.length===0?(e.classList.add("text-red-900","ring-red-300"),!1):(e.classList.remove("text-red-900","ring-red-300"),!0)}function _d(t,e,n){let r;const o=yr();wi(()=>{document.getElementById("name").focus()});function i(v){v.preventDefault();const w=new FormData(v.target),B=Object.fromEntries(w.entries());for(const[I]of Object.entries(B))if(!md(I)){r.show("error","Validate the provided values and try again.");return}if(B.recovery_key.length<8){r.show("error","The recovery key must be at least 8 characters long.");return}if(B.confirmation!==B.recovery_key){r.show("error","The confirmation key does not match the recovery key.");return}u(B.name,B.recovery_key)}async function u(v,w){let B=await ft.createDID(v,w);o.closeModal(),B?o.showAlert("success","Identifier created successfully."):o.showAlert("error","Failed to create identifier.")}function s(v){Ft[v?"unshift":"push"](()=>{r=v,n(0,r)})}return[r,o,i,s,()=>{o.closeModal()}]}class vd extends st{constructor(e){super(),at(this,e,_d,gd,nt,{})}}function ea(t){let e,n;return{c(){e=Y("span"),n=Ve(t[0]),j(e,"class","sr-only")},m(r,o){ge(r,e,o),q(e,n)},p(r,o){o&1&&Ye(n,r[0])},d(r){r&&pe(e)}}}function yd(t){let e,n,r,o,i,u=t[0]&&ea(t);return{c(){e=Y("button"),u&&u.c(),n=fe(),r=Y("span"),j(r,"aria-hidden","true"),j(r,"class","pointer-events-none inline-block h-5 w-5 translate-x-0 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"),j(e,"type","button"),j(e,"class","relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent bg-gray-200 transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-600 focus:ring-offset-2"),j(e,"role","switch"),j(e,"aria-checked","false")},m(s,d){ge(s,e,d),u&&u.m(e,null),q(e,n),q(e,r),t[6](r),t[7](e),o||(i=Je(e,"click",gn(t[1])),o=!0)},p(s,[d]){s[0]?u?u.p(s,d):(u=ea(s),u.c(),u.m(e,n)):u&&(u.d(1),u=null)},i:ze,o:ze,d(s){s&&pe(e),u&&u.d(),t[6](null),t[7](null),o=!1,i()}}}function wd(t,e,n){const r=sr();let{description:o=""}=e,{enabled:i=!1}=e;wi(()=>{w()});let u,s;function d(){n(4,i=!i),r("toggle",{enabled:i}),w()}function v(){return i}function w(){if(i){s.classList.add("bg-indigo-600"),s.classList.remove("bg-gray-200"),u.classList.add("translate-x-5");return}s.classList.add("bg-gray-200"),s.classList.remove("bg-indigo-600"),u.classList.remove("translate-x-5")}function B(O){Ft[O?"unshift":"push"](()=>{u=O,n(2,u)})}function I(O){Ft[O?"unshift":"push"](()=>{s=O,n(3,s)})}return t.$$set=O=>{"description"in O&&n(0,o=O.description),"enabled"in O&&n(4,i=O.enabled)},[o,d,u,s,i,v,B,I]}class bd extends st{constructor(e){super(),at(this,e,wd,yd,nt,{description:0,enabled:4,toggle:1,isEnabled:5})}get toggle(){return this.$$.ctx[1]}get isEnabled(){return this.$$.ctx[5]}}function ta(t,e,n){const r=t.slice();return r[9]=e[n],r}function xd(t){let e,n,r=t[0],o=[];for(let u=0;uWe(o[u],1,1,()=>{o[u]=null});return{c(){e=Y("div");for(let u=0;uAdjust the ALGO addresses associated with this identifier. You can add - as many as you want. The DID document associated will be automatically synced with the - network.

`,r=fe(),o=Y("div"),u.c(),s=fe(),d=Y("div"),v=Y("p"),v.textContent="Enter the recovery key used to create this identifier.",w=fe(),B=Y("div"),B.innerHTML='

Recovery key

',I=fe(),O=Y("div"),F=Y("input"),P=fe(),S=Y("div"),R=Y("div"),x=Y("button"),x.textContent="Cancel",E=fe(),T=Y("button"),T.textContent="Sync",j(n,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5 first:sm:pt-0"),j(o,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),j(v,"class","sm:col-span-3"),j(F,"type","password"),j(F,"name","recovery_key"),j(F,"id","recovery_key"),j(F,"class","block w-full rounded-md border-0 p-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"),j(O,"class","sm:col-span-2"),j(d,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),j(x,"type","button"),j(x,"class","rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50"),j(T,"type","submit"),j(T,"class","inline-flex justify-center rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"),j(R,"class","flex justify-end space-x-3"),j(S,"class","flex-shrink-0 border-t border-gray-200 px-4 py-5 sm:px-6"),j(e,"class","space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0")},m(a,c){ge(a,e,c),q(e,n),q(e,r),q(e,o),Q[i].m(o,null),q(e,s),q(e,d),q(d,v),q(d,w),q(d,B),q(d,I),q(d,O),q(O,F),Yi(F,t[1]),q(e,P),q(e,S),q(S,R),q(R,x),q(R,E),q(R,T),$=!0,D||(V=[Je(F,"input",t[7]),Je(x,"click",t[8]),Je(T,"click",gn(t[3]))],D=!0)},p(a,[c]){let p=i;i=m(a),i===p?Q[i].p(a,c):(Xt(),We(Q[p],1,1,()=>{Q[p]=null}),en(),u=Q[i],u?u.p(a,c):(u=Q[i]=H[i](a),u.c()),ye(u,1),u.m(o,null)),c&2&&F.value!==a[1]&&Yi(F,a[1])},i(a){$||(ye(u),$=!0)},o(a){We(u),$=!1},d(a){a&&pe(e),Q[i].d(),D=!1,dt(V)}}}function ra(t){return t.slice(0,16)+"..."+t.slice(-16)}function kd(t){t.enabled=!t.enabled}function Sd(t,e,n){let r;_i(t,ft,I=>n(5,r=I));let{identifier:o}=e,i;const u=yr();let s;async function d(){let I=await ft.updateDID(o.name,o.did,s,i);u.closeModal(),I?u.showAlert("success","Identifier updated successfully."):u.showAlert("error","Failed to updated identifier.")}const v=I=>{kd(I)};function w(){i=this.value,n(1,i)}const B=()=>{u.closeModal()};return t.$$set=I=>{"identifier"in I&&n(4,o=I.identifier)},t.$$.update=()=>{t.$$.dirty&49&&(n(0,s=[]),o.addresses.forEach(I=>{n(0,s=[...s,{address:I.address,network:I.network,enabled:!0}])}),r.wallet.addresses.forEach(I=>{s.find(O=>O.address==I)||n(0,s=[...s,{address:I,network:"mainnet",enabled:!1}])}))},[s,i,u,d,o,r,v,w,B]}class Cd extends st{constructor(e){super(),at(this,e,Sd,Ed,nt,{identifier:4})}}function ia(t,e,n){const r=t.slice();return r[5]=e[n],r}function Ad(t){let e,n,r,o,i,u,s,d,v,w,B=t[0],I=[];for(let F=0;FWe(I[F],1,1,()=>{I[F]=null});return{c(){e=Y("div"),n=Y("table"),r=Y("thead"),r.innerHTML=`Reference - DID - Addresses - Last Sync - Status - Actions`,o=fe(),i=Y("tbody");for(let F=0;F - Create new decentralized identifier`,j(i,"class","bg-white"),j(n,"class","min-w-full divide-y divide-gray-300"),j(s,"type","button"),j(s,"class","relative flex w-full flex-row justify-center border-2 bg-gray-700 py-2 text-gray-200 hover:bg-gray-800 hover:text-white"),j(e,"class","inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8")},m(F,P){ge(F,e,P),q(e,n),q(n,r),q(n,o),q(n,i);for(let S=0;S - Create your first decentralized identifier`,j(e,"type","button"),j(e,"class","relative block w-full rounded-lg border-2 border-dashed border-gray-300 p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2")},m(o,i){ge(o,e,i),n||(r=Je(e,"click",t[1]),n=!0)},p:ze,i:ze,o:ze,d(o){o&&pe(e),n=!1,r()}}}function oa(t){let e,n;return e=new Q0({props:{identifier:t[5]}}),e.$on("show_details",t[2]),e.$on("link_wallet",t[3]),{c(){ht(e.$$.fragment)},m(r,o){rt(e,r,o),n=!0},p(r,o){const i={};o&1&&(i.identifier=r[5]),e.$set(i)},i(r){n||(ye(e.$$.fragment,r),n=!0)},o(r){We(e.$$.fragment,r),n=!1},d(r){it(e,r)}}}function Id(t){let e,n,r,o;const i=[Td,Ad],u=[];function s(d,v){return d[0].length==0?0:1}return n=s(t),r=u[n]=i[n](t),{c(){e=Y("section"),r.c()},m(d,v){ge(d,e,v),u[n].m(e,null),o=!0},p(d,[v]){let w=n;n=s(d),n===w?u[n].p(d,v):(Xt(),We(u[w],1,1,()=>{u[w]=null}),en(),r=u[n],r?r.p(d,v):(r=u[n]=i[n](d),r.c()),ye(r,1),r.m(e,null))},i(d){o||(ye(r),o=!0)},o(d){We(r),o=!1},d(d){d&&pe(e),u[n].d()}}}function Rd(t,e,n){const r=yr();let{identifiers:o}=e;function i(){r.showModal({title:"Create New Identifier",asPanel:!1,content:vd,props:{}})}function u(d){r.showModal({title:d.detail.did.did,subtitle:"Identifier Details",asPanel:!0,content:fd,props:{identifier:d.detail.did}})}function s(d){r.showModal({title:"Manage Link Addresses",subtitle:d.detail.did.did,asPanel:!1,content:Cd,props:{identifier:d.detail.did}})}return t.$$set=d=>{"identifiers"in d&&n(0,o=d.identifiers)},[o,i,u,s]}class Bd extends st{constructor(e){super(),at(this,e,Rd,Id,nt,{identifiers:0})}}function Fd(t){const e=n=>{t.contains(n.target)||t.dispatchEvent(new CustomEvent("outclick"))};return document.addEventListener("click",e,!0),{destroy(){document.removeEventListener("click",e,!0)}}}function aa(t){let e,n,r,o,i,u,s=la(t[1].title)+"",d,v,w,B,I,O,F,P,S,R,x=t[1].subtitle&&sa(t);const E=t[9].default,T=ma(E,t,t[8],null);return{c(){e=Y("div"),n=Y("div"),r=Y("div"),o=Y("div"),i=Y("div"),u=Y("h1"),d=Ve(s),v=fe(),x&&x.c(),w=fe(),B=Y("button"),B.innerHTML=`Close - `,I=fe(),T&&T.c(),j(u,"class","break-all text-lg font-semibold text-gray-900"),j(i,"class","flex-1"),j(B,"class","rounded-md text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2"),j(o,"class","flex items-center bg-gray-50 p-6 sm:rounded-md"),j(r,"class","space-y-4"),j(n,"class","overflow-y-scroll bg-white shadow-2xl "+t[4]("content")),j(e,"class","absolute bottom-0 left-0 right-0 top-0 z-10 flex flex-col bg-gray-700 bg-opacity-75 backdrop-blur-sm transition-all "+t[4]("wrapper"))},m($,D){ge($,e,D),q(e,n),q(n,r),q(r,o),q(o,i),q(i,u),q(u,d),q(i,v),x&&x.m(i,null),q(o,w),q(o,B),q(r,I),T&&T.m(r,null),P=!0,S||(R=[Je(B,"click",t[0]),Nl(Fd.call(null,n)),Je(n,"outclick",t[0]),Je(e,"introend",t[10]),Je(e,"outroend",t[11])],S=!0)},p($,D){t=$,(!P||D&2)&&s!==(s=la(t[1].title)+"")&&Ye(d,s),t[1].subtitle?x?x.p(t,D):(x=sa(t),x.c(),x.m(i,null)):x&&(x.d(1),x=null),T&&T.p&&(!P||D&256)&&ya(T,E,t,t[8],P?va(E,t[8],D,null):wa(t[8]),null)},i($){P||(ye(T,$),Qt(()=>{P&&(O||(O=ln(n,t[3],{},!0)),O.run(1))}),Qt(()=>{P&&(F||(F=ln(e,Qo,{duration:300,easing:Zt},!0)),F.run(1))}),P=!0)},o($){We(T,$),O||(O=ln(n,t[3],{},!1)),O.run(0),F||(F=ln(e,Qo,{duration:300,easing:Zt},!1)),F.run(0),P=!1},d($){$&&pe(e),x&&x.d(),T&&T.d($),$&&O&&O.end(),$&&F&&F.end(),S=!1,dt(R)}}}function sa(t){let e,n=t[1].subtitle+"",r;return{c(){e=Y("span"),r=Ve(n),j(e,"class","text-sm text-gray-500")},m(o,i){ge(o,e,i),q(e,r)},p(o,i){i&2&&n!==(n=o[1].subtitle+"")&&Ye(r,n)},d(o){o&&pe(e)}}}function Od(t){let e,n,r,o,i=!t[1].hidden&&aa(t);return{c(){i&&i.c(),e=$n()},m(u,s){i&&i.m(u,s),ge(u,e,s),n=!0,r||(o=Je(window,"keydown",t[5]),r=!0)},p(u,[s]){u[1].hidden?i&&(Xt(),We(i,1,1,()=>{i=null}),en()):i?(i.p(u,s),s&2&&ye(i,1)):(i=aa(u),i.c(),ye(i,1),i.m(e.parentNode,e))},i(u){n||(ye(i),n=!0)},o(u){We(i),n=!1},d(u){i&&i.d(u),u&&pe(e),r=!1,o()}}}function la(t){return t.length<=24?t:t.slice(0,18)+"..."+t.slice(-18)}function Ld(t,e,n){let{$$slots:r={},$$scope:o}=e,i={hidden:!0,asPanel:!1,title:"",subtitle:""};const u=sr();function s(){return!i.hidden}function d(P,S,R){n(1,i={title:P,subtitle:S,asPanel:R,hidden:!1})}function v(){n(1,i={...i,hidden:!0})}function w(P,S){return S={x:i.asPanel?100:0,y:i.asPanel?0:100,duration:400,easing:Zt},hd(P,S)}function B(P){return P=="wrapper"?i.asPanel?"items-end":"items-center justify-center":i.asPanel?"h-full w-3/4 md:w-1/2":"min-h-fit max-h-screen w-full sm:w-3/4 sm:rounded-md lg:w-1/2"}function I(P){!i.hidden&&P.key=="Escape"&&v()}const O=()=>{u("open")},F=()=>{u("close")};return t.$$set=P=>{"$$scope"in P&&n(8,o=P.$$scope)},[v,i,u,w,B,I,s,d,o,r,O,F]}class Nd extends st{constructor(e){super(),at(this,e,Ld,Od,nt,{isVisible:6,show:7,close:0})}get isVisible(){return this.$$.ctx[6]}get show(){return this.$$.ctx[7]}get close(){return this.$$.ctx[0]}}function $d(t){let e,n,r;const o=[t[3]];var i=t[2];function u(s){let d={};for(let v=0;v{it(w,1)}),en()}i?(e=Qi(i,u()),ht(e.$$.fragment),ye(e.$$.fragment,1),rt(e,n.parentNode,n)):e=null}else i&&e.$set(v)},i(s){r||(e&&ye(e.$$.fragment,s),r=!0)},o(s){e&&We(e.$$.fragment,s),r=!1},d(s){s&&pe(n),e&&it(e,s)}}}function Pd(t){let e,n,r,o,i,u,s,d,v,w,B,I,O,F,P,S,R,x,E,T,$,D,V,H={$$slots:{default:[$d]},$$scope:{ctx:t}};e=new Nd({props:H}),t[5](e),F=new V0({props:{mainnet:!0}});let Q={};return x=new bl({props:Q}),t[6](x),T=new Bd({props:{identifiers:t[4].identifiers}}),{c(){ht(e.$$.fragment),n=fe(),r=Y("div"),o=Y("img"),u=fe(),s=Y("div"),d=fe(),v=Y("div"),w=Y("div"),B=Y("div"),I=Y("h1"),I.textContent="AlgoID Connect",O=fe(),ht(F.$$.fragment),P=fe(),S=Y("p"),S.innerHTML=`Use this graphical interface to manage your did:algo - Decentralized Identifiers. Connect your wallet and link your - ALGO addresses to a DID to enable account discovery - and facilitate payments and other interactions.`,R=fe(),ht(x.$$.fragment),E=fe(),ht(T.$$.fragment),$=fe(),D=Y("div"),D.innerHTML='

For more information, or to get the source code for this application, checkout the official repository.

',Kr(o.src,i="/img/beams.jpg")||j(o,"src",i),j(o,"alt",""),j(o,"class","absolute left-1/2 top-1/2 max-w-none -translate-x-1/2 -translate-y-1/2"),j(o,"width","1308"),j(s,"class","absolute inset-0 bg-[url(/img/grid.svg)] bg-center [mask-image:linear-gradient(180deg,white,rgba(255,255,255,0))]"),j(I,"class","inline-block text-2xl text-gray-800"),j(B,"class","relative w-full"),j(w,"class","space-y-6 py-6 text-base leading-7 text-gray-600"),j(v,"class","relative bg-white px-6 pb-8 pt-10 shadow-xl ring-1 ring-gray-900/5 sm:mx-auto sm:px-10 md:w-3/4 md:rounded-md"),j(D,"class","relative mx-auto mt-6 w-1/2 text-center"),j(r,"class","relative flex flex-col justify-center bg-gray-50 py-6 sm:py-12")},m(m,a){rt(e,m,a),ge(m,n,a),ge(m,r,a),q(r,o),q(r,u),q(r,s),q(r,d),q(r,v),q(v,w),q(w,B),q(B,I),q(B,O),rt(F,B,null),q(w,P),q(w,S),q(w,R),rt(x,w,null),q(w,E),rt(T,w,null),q(r,$),q(r,D),V=!0},p(m,[a]){const c={};a&140&&(c.$$scope={dirty:a,ctx:m}),e.$set(c);const p={};x.$set(p);const _={};a&16&&(_.identifiers=m[4].identifiers),T.$set(_)},i(m){V||(ye(e.$$.fragment,m),ye(F.$$.fragment,m),ye(x.$$.fragment,m),ye(T.$$.fragment,m),V=!0)},o(m){We(e.$$.fragment,m),We(F.$$.fragment,m),We(x.$$.fragment,m),We(T.$$.fragment,m),V=!1},d(m){t[5](null),it(e,m),m&&pe(n),m&&pe(r),it(F),t[6](null),it(x),it(T)}}}function Dd(t,e,n){let r;_i(t,ft,w=>n(4,r=w));let o,i,u,s;ft.reload(),q0({showAlert(w,B){o.show(w,B)},showModal(w){n(2,u=w.content),n(3,s=w.props),i.show(w.title,w.subtitle,w.asPanel)},closeModal(){i.close()}});function d(w){Ft[w?"unshift":"push"](()=>{i=w,n(1,i)})}function v(w){Ft[w?"unshift":"push"](()=>{o=w,n(0,o)})}return[o,i,u,s,r,d,v]}class Ud extends st{constructor(e){super(),at(this,e,Dd,Pd,nt,{})}}new Ud({target:document.getElementById("app")}); diff --git a/client/ui/local-app/dist/assets/index-ec2da06d.js b/client/ui/local-app/dist/assets/index-ec2da06d.js new file mode 100644 index 0000000..c1ed8c8 --- /dev/null +++ b/client/ui/local-app/dist/assets/index-ec2da06d.js @@ -0,0 +1,78 @@ +var yl=Object.defineProperty;var ml=(r,e,i)=>e in r?yl(r,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[e]=i;var Or=(r,e,i)=>(ml(r,typeof e!="symbol"?e+"":e,i),i);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))n(l);new MutationObserver(l=>{for(const t of l)if(t.type==="childList")for(const d of t.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&n(d)}).observe(document,{childList:!0,subtree:!0});function i(l){const t={};return l.integrity&&(t.integrity=l.integrity),l.referrerPolicy&&(t.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?t.credentials="include":l.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function n(l){if(l.ep)return;l.ep=!0;const t=i(l);fetch(l.href,t)}})();var Bt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xl(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var wt={},rn={};rn.byteLength=Ml;rn.toByteArray=Al;rn.fromByteArray=Rl;var Sr=[],ur=[],wl=typeof Uint8Array<"u"?Uint8Array:Array,vn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Gr=0,_l=vn.length;Gr<_l;++Gr)Sr[Gr]=vn[Gr],ur[vn.charCodeAt(Gr)]=Gr;ur["-".charCodeAt(0)]=62;ur["_".charCodeAt(0)]=63;function ju(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=r.indexOf("=");i===-1&&(i=e);var n=i===e?0:4-i%4;return[i,n]}function Ml(r){var e=ju(r),i=e[0],n=e[1];return(i+n)*3/4-n}function Sl(r,e,i){return(e+i)*3/4-i}function Al(r){var e,i=ju(r),n=i[0],l=i[1],t=new wl(Sl(r,n,l)),d=0,f=l>0?n-4:n,c;for(c=0;c>16&255,t[d++]=e>>8&255,t[d++]=e&255;return l===2&&(e=ur[r.charCodeAt(c)]<<2|ur[r.charCodeAt(c+1)]>>4,t[d++]=e&255),l===1&&(e=ur[r.charCodeAt(c)]<<10|ur[r.charCodeAt(c+1)]<<4|ur[r.charCodeAt(c+2)]>>2,t[d++]=e>>8&255,t[d++]=e&255),t}function El(r){return Sr[r>>18&63]+Sr[r>>12&63]+Sr[r>>6&63]+Sr[r&63]}function Bl(r,e,i){for(var n,l=[],t=e;tf?f:d+t));return n===1?(e=r[i-1],l.push(Sr[e>>2]+Sr[e<<4&63]+"==")):n===2&&(e=(r[i-2]<<8)+r[i-1],l.push(Sr[e>>10]+Sr[e>>4&63]+Sr[e<<2&63]+"=")),l.join("")}var os={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */os.read=function(r,e,i,n,l){var t,d,f=l*8-n-1,c=(1<>1,s=-7,y=i?l-1:0,p=i?-1:1,w=r[e+y];for(y+=p,t=w&(1<<-s)-1,w>>=-s,s+=f;s>0;t=t*256+r[e+y],y+=p,s-=8);for(d=t&(1<<-s)-1,t>>=-s,s+=n;s>0;d=d*256+r[e+y],y+=p,s-=8);if(t===0)t=1-u;else{if(t===c)return d?NaN:(w?-1:1)*(1/0);d=d+Math.pow(2,n),t=t-u}return(w?-1:1)*d*Math.pow(2,t-n)};os.write=function(r,e,i,n,l,t){var d,f,c,u=t*8-l-1,s=(1<>1,p=l===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:t-1,_=n?1:-1,E=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=isNaN(e)?1:0,d=s):(d=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-d))<1&&(d--,c*=2),d+y>=1?e+=p/c:e+=p*Math.pow(2,1-y),e*c>=2&&(d++,c/=2),d+y>=s?(f=0,d=s):d+y>=1?(f=(e*c-1)*Math.pow(2,l),d=d+y):(f=e*Math.pow(2,y-1)*Math.pow(2,l),d=0));l>=8;r[i+w]=f&255,w+=_,f/=256,l-=8);for(d=d<0;r[i+w]=d&255,w+=_,d/=256,u-=8);r[i+w-_]|=E*128};/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */(function(r){var e=rn,i=os,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=f,r.SlowBuffer=T,r.INSPECT_MAX_BYTES=50;var l=2147483647;r.kMaxLength=l,f.TYPED_ARRAY_SUPPORT=t(),!f.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function t(){try{var V=new Uint8Array(1),O={foo:function(){return 42}};return Object.setPrototypeOf(O,Uint8Array.prototype),Object.setPrototypeOf(V,O),V.foo()===42}catch{return!1}}Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}});function d(V){if(V>l)throw new RangeError('The value "'+V+'" is invalid for option "size"');var O=new Uint8Array(V);return Object.setPrototypeOf(O,f.prototype),O}function f(V,O,P){if(typeof V=="number"){if(typeof O=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(V)}return c(V,O,P)}f.poolSize=8192;function c(V,O,P){if(typeof V=="string")return p(V,O);if(ArrayBuffer.isView(V))return _(V);if(V==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof V);if(X(V,ArrayBuffer)||V&&X(V.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(X(V,SharedArrayBuffer)||V&&X(V.buffer,SharedArrayBuffer)))return E(V,O,P);if(typeof V=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var K=V.valueOf&&V.valueOf();if(K!=null&&K!==V)return f.from(K,O,P);var ae=B(V);if(ae)return ae;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof V[Symbol.toPrimitive]=="function")return f.from(V[Symbol.toPrimitive]("string"),O,P);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof V)}f.from=function(V,O,P){return c(V,O,P)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array);function u(V){if(typeof V!="number")throw new TypeError('"size" argument must be of type number');if(V<0)throw new RangeError('The value "'+V+'" is invalid for option "size"')}function s(V,O,P){return u(V),V<=0?d(V):O!==void 0?typeof P=="string"?d(V).fill(O,P):d(V).fill(O):d(V)}f.alloc=function(V,O,P){return s(V,O,P)};function y(V){return u(V),d(V<0?0:R(V)|0)}f.allocUnsafe=function(V){return y(V)},f.allocUnsafeSlow=function(V){return y(V)};function p(V,O){if((typeof O!="string"||O==="")&&(O="utf8"),!f.isEncoding(O))throw new TypeError("Unknown encoding: "+O);var P=D(V,O)|0,K=d(P),ae=K.write(V,O);return ae!==P&&(K=K.slice(0,ae)),K}function w(V){for(var O=V.length<0?0:R(V.length)|0,P=d(O),K=0;K=l)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l.toString(16)+" bytes");return V|0}function T(V){return+V!=V&&(V=0),f.alloc(+V)}f.isBuffer=function(O){return O!=null&&O._isBuffer===!0&&O!==f.prototype},f.compare=function(O,P){if(X(O,Uint8Array)&&(O=f.from(O,O.offset,O.byteLength)),X(P,Uint8Array)&&(P=f.from(P,P.offset,P.byteLength)),!f.isBuffer(O)||!f.isBuffer(P))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(O===P)return 0;for(var K=O.length,ae=P.length,oe=0,de=Math.min(K,ae);oeae.length?f.from(de).copy(ae,oe):Uint8Array.prototype.set.call(ae,de,oe);else if(f.isBuffer(de))de.copy(ae,oe);else throw new TypeError('"list" argument must be an Array of Buffers');oe+=de.length}return ae};function D(V,O){if(f.isBuffer(V))return V.length;if(ArrayBuffer.isView(V)||X(V,ArrayBuffer))return V.byteLength;if(typeof V!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof V);var P=V.length,K=arguments.length>2&&arguments[2]===!0;if(!K&&P===0)return 0;for(var ae=!1;;)switch(O){case"ascii":case"latin1":case"binary":return P;case"utf8":case"utf-8":return G(V).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P*2;case"hex":return P>>>1;case"base64":return L(V).length;default:if(ae)return K?-1:G(V).length;O=(""+O).toLowerCase(),ae=!0}}f.byteLength=D;function U(V,O,P){var K=!1;if((O===void 0||O<0)&&(O=0),O>this.length||((P===void 0||P>this.length)&&(P=this.length),P<=0)||(P>>>=0,O>>>=0,P<=O))return"";for(V||(V="utf8");;)switch(V){case"hex":return b(this,O,P);case"utf8":case"utf-8":return a(this,O,P);case"ascii":return S(this,O,P);case"latin1":case"binary":return M(this,O,P);case"base64":return o(this,O,P);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return g(this,O,P);default:if(K)throw new TypeError("Unknown encoding: "+V);V=(V+"").toLowerCase(),K=!0}}f.prototype._isBuffer=!0;function z(V,O,P){var K=V[O];V[O]=V[P],V[P]=K}f.prototype.swap16=function(){var O=this.length;if(O%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var P=0;PP&&(O+=" ... "),""},n&&(f.prototype[n]=f.prototype.inspect),f.prototype.compare=function(O,P,K,ae,oe){if(X(O,Uint8Array)&&(O=f.from(O,O.offset,O.byteLength)),!f.isBuffer(O))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof O);if(P===void 0&&(P=0),K===void 0&&(K=O?O.length:0),ae===void 0&&(ae=0),oe===void 0&&(oe=this.length),P<0||K>O.length||ae<0||oe>this.length)throw new RangeError("out of range index");if(ae>=oe&&P>=K)return 0;if(ae>=oe)return-1;if(P>=K)return 1;if(P>>>=0,K>>>=0,ae>>>=0,oe>>>=0,this===O)return 0;for(var de=oe-ae,be=K-P,pe=Math.min(de,be),Se=this.slice(ae,oe),we=O.slice(P,K),Ae=0;Ae2147483647?P=2147483647:P<-2147483648&&(P=-2147483648),P=+P,ne(P)&&(P=ae?0:V.length-1),P<0&&(P=V.length+P),P>=V.length){if(ae)return-1;P=V.length-1}else if(P<0)if(ae)P=0;else return-1;if(typeof O=="string"&&(O=f.from(O,K)),f.isBuffer(O))return O.length===0?-1:te(V,O,P,K,ae);if(typeof O=="number")return O=O&255,typeof Uint8Array.prototype.indexOf=="function"?ae?Uint8Array.prototype.indexOf.call(V,O,P):Uint8Array.prototype.lastIndexOf.call(V,O,P):te(V,[O],P,K,ae);throw new TypeError("val must be string, number or Buffer")}function te(V,O,P,K,ae){var oe=1,de=V.length,be=O.length;if(K!==void 0&&(K=String(K).toLowerCase(),K==="ucs2"||K==="ucs-2"||K==="utf16le"||K==="utf-16le")){if(V.length<2||O.length<2)return-1;oe=2,de/=2,be/=2,P/=2}function pe(Ie,Te){return oe===1?Ie[Te]:Ie.readUInt16BE(Te*oe)}var Se;if(ae){var we=-1;for(Se=P;Sede&&(P=de-be),Se=P;Se>=0;Se--){for(var Ae=!0,Ye=0;Yeae&&(K=ae)):K=ae;var oe=O.length;K>oe/2&&(K=oe/2);for(var de=0;de>>0,isFinite(K)?(K=K>>>0,ae===void 0&&(ae="utf8")):(ae=K,K=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var oe=this.length-P;if((K===void 0||K>oe)&&(K=oe),O.length>0&&(K<0||P<0)||P>this.length)throw new RangeError("Attempt to write outside buffer bounds");ae||(ae="utf8");for(var de=!1;;)switch(ae){case"hex":return re(this,O,P,K);case"utf8":case"utf-8":return ie(this,O,P,K);case"ascii":case"latin1":case"binary":return Y(this,O,P,K);case"base64":return m(this,O,P,K);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h(this,O,P,K);default:if(de)throw new TypeError("Unknown encoding: "+ae);ae=(""+ae).toLowerCase(),de=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function o(V,O,P){return O===0&&P===V.length?e.fromByteArray(V):e.fromByteArray(V.slice(O,P))}function a(V,O,P){P=Math.min(V.length,P);for(var K=[],ae=O;ae239?4:oe>223?3:oe>191?2:1;if(ae+be<=P){var pe,Se,we,Ae;switch(be){case 1:oe<128&&(de=oe);break;case 2:pe=V[ae+1],(pe&192)===128&&(Ae=(oe&31)<<6|pe&63,Ae>127&&(de=Ae));break;case 3:pe=V[ae+1],Se=V[ae+2],(pe&192)===128&&(Se&192)===128&&(Ae=(oe&15)<<12|(pe&63)<<6|Se&63,Ae>2047&&(Ae<55296||Ae>57343)&&(de=Ae));break;case 4:pe=V[ae+1],Se=V[ae+2],we=V[ae+3],(pe&192)===128&&(Se&192)===128&&(we&192)===128&&(Ae=(oe&15)<<18|(pe&63)<<12|(Se&63)<<6|we&63,Ae>65535&&Ae<1114112&&(de=Ae))}}de===null?(de=65533,be=1):de>65535&&(de-=65536,K.push(de>>>10&1023|55296),de=56320|de&1023),K.push(de),ae+=be}return x(K)}var v=4096;function x(V){var O=V.length;if(O<=v)return String.fromCharCode.apply(String,V);for(var P="",K=0;KK)&&(P=K);for(var ae="",oe=O;oeK&&(O=K),P<0?(P+=K,P<0&&(P=0)):P>K&&(P=K),PP)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUintLE=f.prototype.readUIntLE=function(O,P,K){O=O>>>0,P=P>>>0,K||k(O,P,this.length);for(var ae=this[O],oe=1,de=0;++de>>0,P=P>>>0,K||k(O,P,this.length);for(var ae=this[O+--P],oe=1;P>0&&(oe*=256);)ae+=this[O+--P]*oe;return ae},f.prototype.readUint8=f.prototype.readUInt8=function(O,P){return O=O>>>0,P||k(O,1,this.length),this[O]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(O,P){return O=O>>>0,P||k(O,2,this.length),this[O]|this[O+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(O,P){return O=O>>>0,P||k(O,2,this.length),this[O]<<8|this[O+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(O,P){return O=O>>>0,P||k(O,4,this.length),(this[O]|this[O+1]<<8|this[O+2]<<16)+this[O+3]*16777216},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(O,P){return O=O>>>0,P||k(O,4,this.length),this[O]*16777216+(this[O+1]<<16|this[O+2]<<8|this[O+3])},f.prototype.readIntLE=function(O,P,K){O=O>>>0,P=P>>>0,K||k(O,P,this.length);for(var ae=this[O],oe=1,de=0;++de=oe&&(ae-=Math.pow(2,8*P)),ae},f.prototype.readIntBE=function(O,P,K){O=O>>>0,P=P>>>0,K||k(O,P,this.length);for(var ae=P,oe=1,de=this[O+--ae];ae>0&&(oe*=256);)de+=this[O+--ae]*oe;return oe*=128,de>=oe&&(de-=Math.pow(2,8*P)),de},f.prototype.readInt8=function(O,P){return O=O>>>0,P||k(O,1,this.length),this[O]&128?(255-this[O]+1)*-1:this[O]},f.prototype.readInt16LE=function(O,P){O=O>>>0,P||k(O,2,this.length);var K=this[O]|this[O+1]<<8;return K&32768?K|4294901760:K},f.prototype.readInt16BE=function(O,P){O=O>>>0,P||k(O,2,this.length);var K=this[O+1]|this[O]<<8;return K&32768?K|4294901760:K},f.prototype.readInt32LE=function(O,P){return O=O>>>0,P||k(O,4,this.length),this[O]|this[O+1]<<8|this[O+2]<<16|this[O+3]<<24},f.prototype.readInt32BE=function(O,P){return O=O>>>0,P||k(O,4,this.length),this[O]<<24|this[O+1]<<16|this[O+2]<<8|this[O+3]},f.prototype.readFloatLE=function(O,P){return O=O>>>0,P||k(O,4,this.length),i.read(this,O,!0,23,4)},f.prototype.readFloatBE=function(O,P){return O=O>>>0,P||k(O,4,this.length),i.read(this,O,!1,23,4)},f.prototype.readDoubleLE=function(O,P){return O=O>>>0,P||k(O,8,this.length),i.read(this,O,!0,52,8)},f.prototype.readDoubleBE=function(O,P){return O=O>>>0,P||k(O,8,this.length),i.read(this,O,!1,52,8)};function A(V,O,P,K,ae,oe){if(!f.isBuffer(V))throw new TypeError('"buffer" argument must be a Buffer instance');if(O>ae||OV.length)throw new RangeError("Index out of range")}f.prototype.writeUintLE=f.prototype.writeUIntLE=function(O,P,K,ae){if(O=+O,P=P>>>0,K=K>>>0,!ae){var oe=Math.pow(2,8*K)-1;A(this,O,P,K,oe,0)}var de=1,be=0;for(this[P]=O&255;++be>>0,K=K>>>0,!ae){var oe=Math.pow(2,8*K)-1;A(this,O,P,K,oe,0)}var de=K-1,be=1;for(this[P+de]=O&255;--de>=0&&(be*=256);)this[P+de]=O/be&255;return P+K},f.prototype.writeUint8=f.prototype.writeUInt8=function(O,P,K){return O=+O,P=P>>>0,K||A(this,O,P,1,255,0),this[P]=O&255,P+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(O,P,K){return O=+O,P=P>>>0,K||A(this,O,P,2,65535,0),this[P]=O&255,this[P+1]=O>>>8,P+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(O,P,K){return O=+O,P=P>>>0,K||A(this,O,P,2,65535,0),this[P]=O>>>8,this[P+1]=O&255,P+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(O,P,K){return O=+O,P=P>>>0,K||A(this,O,P,4,4294967295,0),this[P+3]=O>>>24,this[P+2]=O>>>16,this[P+1]=O>>>8,this[P]=O&255,P+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(O,P,K){return O=+O,P=P>>>0,K||A(this,O,P,4,4294967295,0),this[P]=O>>>24,this[P+1]=O>>>16,this[P+2]=O>>>8,this[P+3]=O&255,P+4},f.prototype.writeIntLE=function(O,P,K,ae){if(O=+O,P=P>>>0,!ae){var oe=Math.pow(2,8*K-1);A(this,O,P,K,oe-1,-oe)}var de=0,be=1,pe=0;for(this[P]=O&255;++de>0)-pe&255;return P+K},f.prototype.writeIntBE=function(O,P,K,ae){if(O=+O,P=P>>>0,!ae){var oe=Math.pow(2,8*K-1);A(this,O,P,K,oe-1,-oe)}var de=K-1,be=1,pe=0;for(this[P+de]=O&255;--de>=0&&(be*=256);)O<0&&pe===0&&this[P+de+1]!==0&&(pe=1),this[P+de]=(O/be>>0)-pe&255;return P+K},f.prototype.writeInt8=function(O,P,K){return O=+O,P=P>>>0,K||A(this,O,P,1,127,-128),O<0&&(O=255+O+1),this[P]=O&255,P+1},f.prototype.writeInt16LE=function(O,P,K){return O=+O,P=P>>>0,K||A(this,O,P,2,32767,-32768),this[P]=O&255,this[P+1]=O>>>8,P+2},f.prototype.writeInt16BE=function(O,P,K){return O=+O,P=P>>>0,K||A(this,O,P,2,32767,-32768),this[P]=O>>>8,this[P+1]=O&255,P+2},f.prototype.writeInt32LE=function(O,P,K){return O=+O,P=P>>>0,K||A(this,O,P,4,2147483647,-2147483648),this[P]=O&255,this[P+1]=O>>>8,this[P+2]=O>>>16,this[P+3]=O>>>24,P+4},f.prototype.writeInt32BE=function(O,P,K){return O=+O,P=P>>>0,K||A(this,O,P,4,2147483647,-2147483648),O<0&&(O=4294967295+O+1),this[P]=O>>>24,this[P+1]=O>>>16,this[P+2]=O>>>8,this[P+3]=O&255,P+4};function I(V,O,P,K,ae,oe){if(P+K>V.length)throw new RangeError("Index out of range");if(P<0)throw new RangeError("Index out of range")}function q(V,O,P,K,ae){return O=+O,P=P>>>0,ae||I(V,O,P,4),i.write(V,O,P,K,23,4),P+4}f.prototype.writeFloatLE=function(O,P,K){return q(this,O,P,!0,K)},f.prototype.writeFloatBE=function(O,P,K){return q(this,O,P,!1,K)};function $(V,O,P,K,ae){return O=+O,P=P>>>0,ae||I(V,O,P,8),i.write(V,O,P,K,52,8),P+8}f.prototype.writeDoubleLE=function(O,P,K){return $(this,O,P,!0,K)},f.prototype.writeDoubleBE=function(O,P,K){return $(this,O,P,!1,K)},f.prototype.copy=function(O,P,K,ae){if(!f.isBuffer(O))throw new TypeError("argument should be a Buffer");if(K||(K=0),!ae&&ae!==0&&(ae=this.length),P>=O.length&&(P=O.length),P||(P=0),ae>0&&ae=this.length)throw new RangeError("Index out of range");if(ae<0)throw new RangeError("sourceEnd out of bounds");ae>this.length&&(ae=this.length),O.length-P>>0,K=K===void 0?this.length:K>>>0,O||(O=0);var de;if(typeof O=="number")for(de=P;de55295&&P<57344){if(!ae){if(P>56319){(O-=3)>-1&&oe.push(239,191,189);continue}else if(de+1===K){(O-=3)>-1&&oe.push(239,191,189);continue}ae=P;continue}if(P<56320){(O-=3)>-1&&oe.push(239,191,189),ae=P;continue}P=(ae-55296<<10|P-56320)+65536}else ae&&(O-=3)>-1&&oe.push(239,191,189);if(ae=null,P<128){if((O-=1)<0)break;oe.push(P)}else if(P<2048){if((O-=2)<0)break;oe.push(P>>6|192,P&63|128)}else if(P<65536){if((O-=3)<0)break;oe.push(P>>12|224,P>>6&63|128,P&63|128)}else if(P<1114112){if((O-=4)<0)break;oe.push(P>>18|240,P>>12&63|128,P>>6&63|128,P&63|128)}else throw new Error("Invalid code point")}return oe}function J(V){for(var O=[],P=0;P>8,ae=P%256,oe.push(ae),oe.push(K);return oe}function L(V){return e.toByteArray(H(V))}function F(V,O,P,K){for(var ae=0;ae=O.length||ae>=V.length);++ae)O[ae+P]=V[ae];return ae}function X(V,O){return V instanceof O||V!=null&&V.constructor!=null&&V.constructor.name!=null&&V.constructor.name===O.name}function ne(V){return V!==V}var se=function(){for(var V="0123456789abcdef",O=new Array(256),P=0;P<16;++P)for(var K=P*16,ae=0;ae<16;++ae)O[K+ae]=V[P]+V[ae];return O}()})(wt);var pt={},kl={get exports(){return pt},set exports(r){pt=r}},Zt=kl.exports={},_r,Mr;function Vf(){throw new Error("setTimeout has not been defined")}function Gf(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_r=setTimeout:_r=Vf}catch{_r=Vf}try{typeof clearTimeout=="function"?Mr=clearTimeout:Mr=Gf}catch{Mr=Gf}})();function zu(r){if(_r===setTimeout)return setTimeout(r,0);if((_r===Vf||!_r)&&setTimeout)return _r=setTimeout,setTimeout(r,0);try{return _r(r,0)}catch{try{return _r.call(null,r,0)}catch{return _r.call(this,r,0)}}}function Cl(r){if(Mr===clearTimeout)return clearTimeout(r);if((Mr===Gf||!Mr)&&clearTimeout)return Mr=clearTimeout,clearTimeout(r);try{return Mr(r)}catch{try{return Mr.call(null,r)}catch{return Mr.call(this,r)}}}var Cr=[],ri=!1,jr,Ni=-1;function Il(){!ri||!jr||(ri=!1,jr.length?Cr=jr.concat(Cr):Ni=-1,Cr.length&&$u())}function $u(){if(!ri){var r=zu(Il);ri=!0;for(var e=Cr.length;e;){for(jr=Cr,Cr=[];++Ni1)for(var i=1;ir;function $i(r,e){for(const i in e)r[i]=e[i];return r}function Wu(r){return r()}function $s(){return Object.create(null)}function Rr(r){r.forEach(Wu)}function nn(r){return typeof r=="function"}function fr(r,e){return r!=r?e==e:r!==e||r&&typeof r=="object"||typeof r=="function"}let Ai;function yi(r,e){return Ai||(Ai=document.createElement("a")),Ai.href=e,r===Ai.href}function Tl(r){return Object.keys(r).length===0}function Pl(r,...e){if(r==null)return $t;const i=r.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function hs(r,e,i){r.$$.on_destroy.push(Pl(e,i))}function Vu(r,e,i,n){if(r){const l=Gu(r,e,i,n);return r[0](l)}}function Gu(r,e,i,n){return r[1]&&n?$i(i.ctx.slice(),r[1](n(e))):i.ctx}function Yu(r,e,i,n){if(r[2]&&n){const l=r[2](n(i));if(e.dirty===void 0)return l;if(typeof l=="object"){const t=[],d=Math.max(e.dirty.length,l.length);for(let f=0;f32){const e=[],i=r.ctx.length/32;for(let n=0;nwindow.performance.now():()=>Date.now(),us=Ju?r=>requestAnimationFrame(r):$t;const ii=new Set;function Qu(r){ii.forEach(e=>{e.c(r)||(ii.delete(e),e.f())}),ii.size!==0&&us(Qu)}function Dl(r){let e;return ii.size===0&&us(Qu),{promise:new Promise(i=>{ii.add(e={c:r,f:i})}),abort(){ii.delete(e)}}}function ye(r,e){r.appendChild(e)}function ec(r){if(!r)return document;const e=r.getRootNode?r.getRootNode():r.ownerDocument;return e&&e.host?e:r.ownerDocument}function Ll(r){const e=Re("style");return Nl(ec(r),e),e.sheet}function Nl(r,e){return ye(r.head||r,e),e.sheet}function _t(r,e,i){r.insertBefore(e,i||null)}function gt(r){r.parentNode&&r.parentNode.removeChild(r)}function cs(r,e){for(let i=0;ir.removeEventListener(e,i,n)}function ai(r){return function(e){return e.preventDefault(),r.call(this,e)}}function Ws(r){return function(e){return e.stopPropagation(),r.call(this,e)}}function me(r,e,i){i==null?r.removeAttribute(e):r.getAttribute(e)!==i&&r.setAttribute(e,i)}function Fl(r){return Array.from(r.childNodes)}function nr(r,e){e=""+e,r.data!==e&&(r.data=e)}function Vs(r,e){r.value=e??""}function Ul(r,e,i,n){i===null?r.style.removeProperty(e):r.style.setProperty(e,i,n?"important":"")}function tc(r,e,{bubbles:i=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(r,i,n,e),l}class jl{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,i,n=null){this.e||(this.is_svg?this.e=Yf(i.nodeName):this.e=Re(i.nodeType===11?"TEMPLATE":i.nodeName),this.t=i.tagName!=="TEMPLATE"?i:i.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let i=0;i>>0}function $l(r,e){const i={stylesheet:Ll(e),rules:{}};return Hi.set(r,i),i}function Ys(r,e,i,n,l,t,d,f=0){const c=16.666/n;let u=`{ +`;for(let B=0;B<=1;B+=c){const R=e+(i-e)*t(B);u+=B*100+`%{${d(R,1-R)}} +`}const s=u+`100% {${d(i,1-i)}} +}`,y=`__svelte_${zl(s)}_${f}`,p=ec(r),{stylesheet:w,rules:_}=Hi.get(p)||$l(p,r);_[y]||(_[y]=!0,w.insertRule(`@keyframes ${y} ${s}`,w.cssRules.length));const E=r.style.animation||"";return r.style.animation=`${E?`${E}, `:""}${y} ${n}ms linear ${l}ms 1 both`,Ki+=1,y}function Hl(r,e){const i=(r.style.animation||"").split(", "),n=i.filter(e?t=>t.indexOf(e)<0:t=>t.indexOf("__svelte")===-1),l=i.length-n.length;l&&(r.style.animation=n.join(", "),Ki-=l,Ki||Kl())}function Kl(){us(()=>{Ki||(Hi.forEach(r=>{const{ownerNode:e}=r.stylesheet;e&>(e)}),Hi.clear())})}let mi;function di(r){mi=r}function an(){if(!mi)throw new Error("Function called outside component initialization");return mi}function ls(r){an().$$.on_mount.push(r)}function fn(){const r=an();return(e,i,{cancelable:n=!1}={})=>{const l=r.$$.callbacks[e];if(l){const t=tc(e,i,{cancelable:n});return l.slice().forEach(d=>{d.call(r,t)}),!t.defaultPrevented}return!0}}function Wl(r,e){return an().$$.context.set(r,e),e}function Vl(r){return an().$$.context.get(r)}const Jr=[],Dr=[];let ni=[];const Zs=[],Gl=Promise.resolve();let Zf=!1;function Yl(){Zf||(Zf=!0,Gl.then(rc))}function zr(r){ni.push(r)}const bn=new Set;let Yr=0;function rc(){if(Yr!==0)return;const r=mi;do{try{for(;Yrr.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),ni=e}let ui;function Jl(){return ui||(ui=Promise.resolve(),ui.then(()=>{ui=null})),ui}function gn(r,e,i){r.dispatchEvent(tc(`${e?"intro":"outro"}${i}`))}const Fi=new Set;let Ir;function Kr(){Ir={r:0,c:[],p:Ir}}function Wr(){Ir.r||Rr(Ir.c),Ir=Ir.p}function Ut(r,e){r&&r.i&&(Fi.delete(r),r.i(e))}function Ht(r,e,i,n){if(r&&r.o){if(Fi.has(r))return;Fi.add(r),Ir.c.push(()=>{Fi.delete(r),n&&(i&&r.d(1),n())}),r.o(e)}else n&&n()}const Ql={duration:0};function ei(r,e,i,n){const l={direction:"both"};let t=e(r,i,l),d=n?0:1,f=null,c=null,u=null;function s(){u&&Hl(r,u)}function y(w,_){const E=w.b-d;return _*=Math.abs(E),{a:d,b:w.b,d:E,duration:_,start:w.start,end:w.start+_,group:w.group}}function p(w){const{delay:_=0,duration:E=300,easing:B=Ku,tick:R=$t,css:T}=t||Ql,D={start:ql()+_,b:w};w||(D.group=Ir,Ir.r+=1),f||c?c=D:(T&&(s(),u=Ys(r,d,w,E,_,B,T)),w&&R(0,1),f=y(D,E),zr(()=>gn(r,w,"start")),Dl(U=>{if(c&&U>c.start&&(f=y(c,E),c=null,gn(r,f.b,"start"),T&&(s(),u=Ys(r,d,f.b,f.duration,0,B,t.css))),f){if(U>=f.end)R(d=f.b,1-d),gn(r,f.b,"end"),c||(f.b?s():--f.group.r||Rr(f.group.c)),f=null;else if(U>=f.start){const z=U-f.start;d=f.a+f.d*B(z/f.duration),R(d,1-d)}}return!!(f||c)}))}return{run(w){nn(t)?Jl().then(()=>{t=t(l),p(w)}):p(w)},end(){s(),f=c=null}}}function ed(r,e){const i={},n={},l={$$scope:1};let t=r.length;for(;t--;){const d=r[t],f=e[t];if(f){for(const c in d)c in f||(n[c]=1);for(const c in f)l[c]||(i[c]=f[c],l[c]=1);r[t]=f}else for(const c in d)l[c]=1}for(const d in n)d in i||(i[d]=void 0);return i}function td(r){return typeof r=="object"&&r!==null?r:{}}function Ar(r){r&&r.c()}function yr(r,e,i,n){const{fragment:l,after_update:t}=r.$$;l&&l.m(e,i),n||zr(()=>{const d=r.$$.on_mount.map(Wu).filter(nn);r.$$.on_destroy?r.$$.on_destroy.push(...d):Rr(d),r.$$.on_mount=[]}),t.forEach(zr)}function mr(r,e){const i=r.$$;i.fragment!==null&&(Xl(i.after_update),Rr(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function rd(r,e){r.$$.dirty[0]===-1&&(Jr.push(r),Yl(),r.$$.dirty.fill(0)),r.$$.dirty[e/31|0]|=1<{const _=w.length?w[0]:p;return u.ctx&&l(u.ctx[y],u.ctx[y]=_)&&(!u.skip_bound&&u.bound[y]&&u.bound[y](_),s&&rd(r,y)),p}):[],u.update(),s=!0,Rr(u.before_update),u.fragment=n?n(u.ctx):!1,e.target){if(e.hydrate){const y=Fl(e.target);u.fragment&&u.fragment.l(y),y.forEach(gt)}else u.fragment&&u.fragment.c();e.intro&&Ut(r.$$.fragment),yr(r,e.target,e.anchor,e.customElement),rc()}di(c)}class dr{$destroy(){mr(this,1),this.$destroy=$t}$on(e,i){if(!nn(i))return $t;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const l=n.indexOf(i);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!Tl(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function id(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Xs={},nd={get exports(){return Xs},set exports(r){Xs=r}},mt={},Wi={},Js={get exports(){return Wi},set exports(r){Wi=r}},pi={},ad={get exports(){return pi},set exports(r){pi=r}};/*! safe-buffer. MIT License. Feross Aboukhadijeh */var Qs;function At(){return Qs||(Qs=1,function(r,e){var i=wt,n=i.Buffer;function l(d,f){for(var c in d)f[c]=d[c]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?r.exports=i:(l(i,e),e.Buffer=t);function t(d,f,c){return n(d,f,c)}t.prototype=Object.create(n.prototype),l(n,t),t.from=function(d,f,c){if(typeof d=="number")throw new TypeError("Argument must not be a number");return n(d,f,c)},t.alloc=function(d,f,c){if(typeof d!="number")throw new TypeError("Argument must be a number");var u=n(d);return f!==void 0?typeof c=="string"?u.fill(f,c):u.fill(f):u.fill(0),u},t.allocUnsafe=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return n(d)},t.allocUnsafeSlow=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return i.SlowBuffer(d)}}(ad,pi)),pi}var eo;function fi(){if(eo)return Wi;eo=1;var r=65536,e=4294967295;function i(){throw new Error(`Secure random number generation is not supported by this browser. +Use Chrome, Firefox or Internet Explorer 11`)}var n=At().Buffer,l=Bt.crypto||Bt.msCrypto;l&&l.getRandomValues?Js.exports=t:Js.exports=i;function t(d,f){if(d>e)throw new RangeError("requested too many random bytes");var c=n.allocUnsafe(d);if(d>0)if(d>r)for(var u=0;u0&&(Y=W[0]),Y instanceof Error)throw Y;var m=new Error("Unhandled error."+(Y?" ("+Y.message+")":""));throw m.context=Y,m}var h=ie[z];if(h===void 0)return!1;if(typeof h=="function")e(h,this,W);else for(var o=h.length,a=_(h,o),te=0;te0&&Y.length>re&&!Y.warned){Y.warned=!0;var m=new Error("Possible EventEmitter memory leak detected. "+Y.length+" "+String(z)+" listeners added. Use emitter.setMaxListeners() to increase limit");m.name="MaxListenersExceededWarning",m.emitter=U,m.type=z,m.count=Y.length,n(m)}return U}t.prototype.addListener=function(z,W){return u(this,z,W,!1)},t.prototype.on=t.prototype.addListener,t.prototype.prependListener=function(z,W){return u(this,z,W,!0)};function s(){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 y(U,z,W){var te={fired:!1,wrapFn:void 0,target:U,type:z,listener:W},re=s.bind(te);return re.listener=W,te.wrapFn=re,re}t.prototype.once=function(z,W){return f(W),this.on(z,y(this,z,W)),this},t.prototype.prependOnceListener=function(z,W){return f(W),this.prependListener(z,y(this,z,W)),this},t.prototype.removeListener=function(z,W){var te,re,ie,Y,m;if(f(W),re=this._events,re===void 0)return this;if(te=re[z],te===void 0)return this;if(te===W||te.listener===W)--this._eventsCount===0?this._events=Object.create(null):(delete re[z],re.removeListener&&this.emit("removeListener",z,te.listener||W));else if(typeof te!="function"){for(ie=-1,Y=te.length-1;Y>=0;Y--)if(te[Y]===W||te[Y].listener===W){m=te[Y].listener,ie=Y;break}if(ie<0)return this;ie===0?te.shift():E(te,ie),te.length===1&&(re[z]=te[0]),re.removeListener!==void 0&&this.emit("removeListener",z,m||W)}return this},t.prototype.off=t.prototype.removeListener,t.prototype.removeAllListeners=function(z){var W,te,re;if(te=this._events,te===void 0)return this;if(te.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):te[z]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete te[z]),this;if(arguments.length===0){var ie=Object.keys(te),Y;for(re=0;re=0;re--)this.removeListener(z,W[re]);return this};function p(U,z,W){var te=U._events;if(te===void 0)return[];var re=te[z];return re===void 0?[]:typeof re=="function"?W?[re.listener||re]:[re]:W?B(re):_(re,re.length)}t.prototype.listeners=function(z){return p(this,z,!0)},t.prototype.rawListeners=function(z){return p(this,z,!1)},t.listenerCount=function(U,z){return typeof U.listenerCount=="function"?U.listenerCount(z):w.call(U,z)},t.prototype.listenerCount=w;function w(U){var z=this._events;if(z!==void 0){var W=z[U];if(typeof W=="function")return 1;if(W!==void 0)return W.length}return 0}t.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]};function _(U,z){for(var W=new Array(z),te=0;te"u"?r:u(Uint8Array),p={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":c?u([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":s,"%AsyncGenerator%":s,"%AsyncGeneratorFunction%":s,"%AsyncIteratorPrototype%":s,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":s,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?u(u([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!c?r:u(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!c?r:u(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c?u(""[Symbol.iterator]()):r,"%Symbol%":c?Symbol:r,"%SyntaxError%":e,"%ThrowTypeError%":f,"%TypedArray%":y,"%TypeError%":n,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};try{null.error}catch(m){var w=u(u(m));p["%Error.prototype%"]=w}var _=function m(h){var o;if(h==="%AsyncFunction%")o=l("async function () {}");else if(h==="%GeneratorFunction%")o=l("function* () {}");else if(h==="%AsyncGeneratorFunction%")o=l("async function* () {}");else if(h==="%AsyncGenerator%"){var a=m("%AsyncGeneratorFunction%");a&&(o=a.prototype)}else if(h==="%AsyncIteratorPrototype%"){var v=m("%AsyncGenerator%");v&&(o=u(v.prototype))}return p[h]=o,o},E={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},B=ps(),R=ud(),T=B.call(Function.call,Array.prototype.concat),D=B.call(Function.apply,Array.prototype.splice),U=B.call(Function.call,String.prototype.replace),z=B.call(Function.call,String.prototype.slice),W=B.call(Function.call,RegExp.prototype.exec),te=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,re=/\\(\\)?/g,ie=function(h){var o=z(h,0,1),a=z(h,-1);if(o==="%"&&a!=="%")throw new e("invalid intrinsic syntax, expected closing `%`");if(a==="%"&&o!=="%")throw new e("invalid intrinsic syntax, expected opening `%`");var v=[];return U(h,te,function(x,S,M,b){v[v.length]=M?U(b,re,"$1"):S||x}),v},Y=function(h,o){var a=h,v;if(R(E,a)&&(v=E[a],a="%"+v[0]+"%"),R(p,a)){var x=p[a];if(x===s&&(x=_(a)),typeof x>"u"&&!o)throw new n("intrinsic "+h+" exists, but is not available. Please file an issue!");return{alias:v,name:a,value:x}}throw new e("intrinsic "+h+" does not exist!")};return Bn=function(h,o){if(typeof h!="string"||h.length===0)throw new n("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new n('"allowMissing" argument must be a boolean');if(W(/^%?[^%]*%?$/,h)===null)throw new e("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=ie(h),v=a.length>0?a[0]:"",x=Y("%"+v+"%",o),S=x.name,M=x.value,b=!1,g=x.alias;g&&(v=g[0],D(a,T([0,1],g)));for(var k=1,A=!0;k=a.length){var N=t(M,I);A=!!N,A&&"get"in N&&!("originalValue"in N.get)?M=N.get:M=M[I]}else A=R(M,I),M=M[I];A&&!b&&(p[S]=M)}}return M},Bn}var Gi={},cd={get exports(){return Gi},set exports(r){Gi=r}},lo;function ld(){return lo||(lo=1,function(r){var e=ps(),i=vs(),n=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),t=i("%Reflect.apply%",!0)||e.call(l,n),d=i("%Object.getOwnPropertyDescriptor%",!0),f=i("%Object.defineProperty%",!0),c=i("%Math.max%");if(f)try{f({},"a",{value:1})}catch{f=null}r.exports=function(y){var p=t(e,l,arguments);if(d&&f){var w=d(p,"length");w.configurable&&f(p,"length",{value:1+c(0,y.length-(arguments.length-1))})}return p};var u=function(){return t(e,n,arguments)};f?f(r.exports,"apply",{value:u}):r.exports.apply=u}(cd)),Gi}var Rn,po;function bs(){if(po)return Rn;po=1;var r=vs(),e=ld(),i=e(r("String.prototype.indexOf"));return Rn=function(l,t){var d=r(l,!!t);return typeof d=="function"&&i(l,".prototype.")>-1?e(d):d},Rn}var kn,vo;function dd(){if(vo)return kn;vo=1;var r=sn()(),e=bs(),i=e("Object.prototype.toString"),n=function(f){return r&&f&&typeof f=="object"&&Symbol.toStringTag in f?!1:i(f)==="[object Arguments]"},l=function(f){return n(f)?!0:f!==null&&typeof f=="object"&&typeof f.length=="number"&&f.length>=0&&i(f)!=="[object Array]"&&i(f.callee)==="[object Function]"},t=function(){return n(arguments)}();return n.isLegacyArguments=l,kn=t?n:l,kn}var Cn,bo;function pd(){if(bo)return Cn;bo=1;var r=Object.prototype.toString,e=Function.prototype.toString,i=/^\s*(?:function)?\*/,n=sn()(),l=Object.getPrototypeOf,t=function(){if(!n)return!1;try{return Function("return function*() {}")()}catch{}},d;return Cn=function(c){if(typeof c!="function")return!1;if(i.test(e.call(c)))return!0;if(!n){var u=r.call(c);return u==="[object GeneratorFunction]"}if(!l)return!1;if(typeof d>"u"){var s=t();d=s?l(s):!1}return l(c)===d},Cn}var In,go;function vd(){if(go)return In;go=1;var r=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,i,n;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{i=Object.defineProperty({},"length",{get:function(){throw n}}),n={},e(function(){throw 42},null,i)}catch(T){T!==n&&(e=null)}else e=null;var l=/^\s*class\b/,t=function(D){try{var U=r.call(D);return l.test(U)}catch{return!1}},d=function(D){try{return t(D)?!1:(r.call(D),!0)}catch{return!1}},f=Object.prototype.toString,c="[object Object]",u="[object Function]",s="[object GeneratorFunction]",y="[object HTMLAllCollection]",p="[object HTML document.all class]",w="[object HTMLCollection]",_=typeof Symbol=="function"&&!!Symbol.toStringTag,E=!(0 in[,]),B=function(){return!1};if(typeof document=="object"){var R=document.all;f.call(R)===f.call(document.all)&&(B=function(D){if((E||!D)&&(typeof D>"u"||typeof D=="object"))try{var U=f.call(D);return(U===y||U===p||U===w||U===c)&&D("")==null}catch{}return!1})}return In=e?function(D){if(B(D))return!0;if(!D||typeof D!="function"&&typeof D!="object")return!1;try{e(D,null,i)}catch(U){if(U!==n)return!1}return!t(D)&&d(D)}:function(D){if(B(D))return!0;if(!D||typeof D!="function"&&typeof D!="object")return!1;if(_)return d(D);if(t(D))return!1;var U=f.call(D);return U!==u&&U!==s&&!/^\[object HTML/.test(U)?!1:d(D)},In}var Tn,yo;function ac(){if(yo)return Tn;yo=1;var r=vd(),e=Object.prototype.toString,i=Object.prototype.hasOwnProperty,n=function(c,u,s){for(var y=0,p=c.length;y=3&&(y=s),e.call(c)==="[object Array]"?n(c,u,y):typeof c=="string"?l(c,u,y):t(c,u,y)};return Tn=d,Tn}var Pn,mo;function fc(){if(mo)return Pn;mo=1;var r=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],e=typeof globalThis>"u"?Bt:globalThis;return Pn=function(){for(var n=[],l=0;l"u"?Bt:globalThis,f=e(),c=i("Array.prototype.indexOf",!0)||function(_,E){for(var B=0;B<_.length;B+=1)if(_[B]===E)return B;return-1},u=i("String.prototype.slice"),s={},y=Object.getPrototypeOf;l&&t&&y&&r(f,function(w){var _=new d[w];if(Symbol.toStringTag in _){var E=y(_),B=t(E,Symbol.toStringTag);if(!B){var R=y(E);B=t(R,Symbol.toStringTag)}s[w]=B.get}});var p=function(_){var E=!1;return r(s,function(B,R){if(!E)try{E=B.call(_)===R}catch{}}),E};return qn=function(_){if(!_||typeof _!="object")return!1;if(!l||!(Symbol.toStringTag in _)){var E=u(n(_),8,-1);return c(f,E)>-1}return t?p(_):!1},qn}var Dn,_o;function bd(){if(_o)return Dn;_o=1;var r=ac(),e=fc(),i=bs(),n=sc(),l=i("Object.prototype.toString"),t=sn()(),d=typeof globalThis>"u"?Bt:globalThis,f=e(),c=i("String.prototype.slice"),u={},s=Object.getPrototypeOf;t&&n&&s&&r(f,function(w){if(typeof d[w]=="function"){var _=new d[w];if(Symbol.toStringTag in _){var E=s(_),B=n(E,Symbol.toStringTag);if(!B){var R=s(E);B=n(R,Symbol.toStringTag)}u[w]=B.get}}});var y=function(_){var E=!1;return r(u,function(B,R){if(!E)try{var T=B.call(_);T===R&&(E=T)}catch{}}),E},p=oc();return Dn=function(_){return p(_)?!t||!(Symbol.toStringTag in _)?c(l(_),8,-1):y(_):!1},Dn}var Mo;function gd(){return Mo||(Mo=1,function(r){var e=dd(),i=pd(),n=bd(),l=oc();function t(K){return K.call.bind(K)}var d=typeof BigInt<"u",f=typeof Symbol<"u",c=t(Object.prototype.toString),u=t(Number.prototype.valueOf),s=t(String.prototype.valueOf),y=t(Boolean.prototype.valueOf);if(d)var p=t(BigInt.prototype.valueOf);if(f)var w=t(Symbol.prototype.valueOf);function _(K,ae){if(typeof K!="object")return!1;try{return ae(K),!0}catch{return!1}}r.isArgumentsObject=e,r.isGeneratorFunction=i,r.isTypedArray=l;function E(K){return typeof Promise<"u"&&K instanceof Promise||K!==null&&typeof K=="object"&&typeof K.then=="function"&&typeof K.catch=="function"}r.isPromise=E;function B(K){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(K):l(K)||I(K)}r.isArrayBufferView=B;function R(K){return n(K)==="Uint8Array"}r.isUint8Array=R;function T(K){return n(K)==="Uint8ClampedArray"}r.isUint8ClampedArray=T;function D(K){return n(K)==="Uint16Array"}r.isUint16Array=D;function U(K){return n(K)==="Uint32Array"}r.isUint32Array=U;function z(K){return n(K)==="Int8Array"}r.isInt8Array=z;function W(K){return n(K)==="Int16Array"}r.isInt16Array=W;function te(K){return n(K)==="Int32Array"}r.isInt32Array=te;function re(K){return n(K)==="Float32Array"}r.isFloat32Array=re;function ie(K){return n(K)==="Float64Array"}r.isFloat64Array=ie;function Y(K){return n(K)==="BigInt64Array"}r.isBigInt64Array=Y;function m(K){return n(K)==="BigUint64Array"}r.isBigUint64Array=m;function h(K){return c(K)==="[object Map]"}h.working=typeof Map<"u"&&h(new Map);function o(K){return typeof Map>"u"?!1:h.working?h(K):K instanceof Map}r.isMap=o;function a(K){return c(K)==="[object Set]"}a.working=typeof Set<"u"&&a(new Set);function v(K){return typeof Set>"u"?!1:a.working?a(K):K instanceof Set}r.isSet=v;function x(K){return c(K)==="[object WeakMap]"}x.working=typeof WeakMap<"u"&&x(new WeakMap);function S(K){return typeof WeakMap>"u"?!1:x.working?x(K):K instanceof WeakMap}r.isWeakMap=S;function M(K){return c(K)==="[object WeakSet]"}M.working=typeof WeakSet<"u"&&M(new WeakSet);function b(K){return M(K)}r.isWeakSet=b;function g(K){return c(K)==="[object ArrayBuffer]"}g.working=typeof ArrayBuffer<"u"&&g(new ArrayBuffer);function k(K){return typeof ArrayBuffer>"u"?!1:g.working?g(K):K instanceof ArrayBuffer}r.isArrayBuffer=k;function A(K){return c(K)==="[object DataView]"}A.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&A(new DataView(new ArrayBuffer(1),0,1));function I(K){return typeof DataView>"u"?!1:A.working?A(K):K instanceof DataView}r.isDataView=I;var q=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function $(K){return c(K)==="[object SharedArrayBuffer]"}function N(K){return typeof q>"u"?!1:(typeof $.working>"u"&&($.working=$(new q)),$.working?$(K):K instanceof q)}r.isSharedArrayBuffer=N;function H(K){return c(K)==="[object AsyncFunction]"}r.isAsyncFunction=H;function G(K){return c(K)==="[object Map Iterator]"}r.isMapIterator=G;function J(K){return c(K)==="[object Set Iterator]"}r.isSetIterator=J;function fe(K){return c(K)==="[object Generator]"}r.isGeneratorObject=fe;function L(K){return c(K)==="[object WebAssembly.Module]"}r.isWebAssemblyCompiledModule=L;function F(K){return _(K,u)}r.isNumberObject=F;function X(K){return _(K,s)}r.isStringObject=X;function ne(K){return _(K,y)}r.isBooleanObject=ne;function se(K){return d&&_(K,p)}r.isBigIntObject=se;function V(K){return f&&_(K,w)}r.isSymbolObject=V;function O(K){return F(K)||X(K)||ne(K)||se(K)||V(K)}r.isBoxedPrimitive=O;function P(K){return typeof Uint8Array<"u"&&(k(K)||N(K))}r.isAnyArrayBuffer=P,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(K){Object.defineProperty(r,K,{enumerable:!1,value:function(){throw new Error(K+" is not supported in userland")}})})}(xn)),xn}var Ln,So;function yd(){return So||(So=1,Ln=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}),Ln}var Ao;function hc(){return Ao||(Ao=1,function(r){var e=Object.getOwnPropertyDescriptors||function(I){for(var q=Object.keys(I),$={},N=0;N=N)return J;switch(J){case"%s":return String($[q++]);case"%d":return Number($[q++]);case"%j":try{return JSON.stringify($[q++])}catch{return"[Circular]"}default:return J}}),G=$[q];q"u")return function(){return r.deprecate(A,I).apply(this,arguments)};var q=!1;function $(){if(!q){if(pt.throwDeprecation)throw new Error(I);pt.traceDeprecation?console.trace(I):console.error(I),q=!0}return A.apply(this,arguments)}return $};var n={},l=/^$/;if({}.NODE_DEBUG){var t={}.NODE_DEBUG;t=t.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),l=new RegExp("^"+t+"$","i")}r.debuglog=function(A){if(A=A.toUpperCase(),!n[A])if(l.test(A)){var I=pt.pid;n[A]=function(){var q=r.format.apply(r,arguments);console.error("%s %d: %s",A,I,q)}}else n[A]=function(){};return n[A]};function d(A,I){var q={seen:[],stylize:c};return arguments.length>=3&&(q.depth=arguments[2]),arguments.length>=4&&(q.colors=arguments[3]),R(I)?q.showHidden=I:I&&r._extend(q,I),te(q.showHidden)&&(q.showHidden=!1),te(q.depth)&&(q.depth=2),te(q.colors)&&(q.colors=!1),te(q.customInspect)&&(q.customInspect=!0),q.colors&&(q.stylize=f),s(q,A,q.depth)}r.inspect=d,d.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},d.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function f(A,I){var q=d.styles[I];return q?"\x1B["+d.colors[q][0]+"m"+A+"\x1B["+d.colors[q][1]+"m":A}function c(A,I){return A}function u(A){var I={};return A.forEach(function(q,$){I[q]=!0}),I}function s(A,I,q){if(A.customInspect&&I&&h(I.inspect)&&I.inspect!==r.inspect&&!(I.constructor&&I.constructor.prototype===I)){var $=I.inspect(q,A);return z($)||($=s(A,$,q)),$}var N=y(A,I);if(N)return N;var H=Object.keys(I),G=u(H);if(A.showHidden&&(H=Object.getOwnPropertyNames(I)),m(I)&&(H.indexOf("message")>=0||H.indexOf("description")>=0))return p(I);if(H.length===0){if(h(I)){var J=I.name?": "+I.name:"";return A.stylize("[Function"+J+"]","special")}if(re(I))return A.stylize(RegExp.prototype.toString.call(I),"regexp");if(Y(I))return A.stylize(Date.prototype.toString.call(I),"date");if(m(I))return p(I)}var fe="",L=!1,F=["{","}"];if(B(I)&&(L=!0,F=["[","]"]),h(I)){var X=I.name?": "+I.name:"";fe=" [Function"+X+"]"}if(re(I)&&(fe=" "+RegExp.prototype.toString.call(I)),Y(I)&&(fe=" "+Date.prototype.toUTCString.call(I)),m(I)&&(fe=" "+p(I)),H.length===0&&(!L||I.length==0))return F[0]+fe+F[1];if(q<0)return re(I)?A.stylize(RegExp.prototype.toString.call(I),"regexp"):A.stylize("[Object]","special");A.seen.push(I);var ne;return L?ne=w(A,I,q,G,H):ne=H.map(function(se){return _(A,I,q,G,se,L)}),A.seen.pop(),E(ne,fe,F)}function y(A,I){if(te(I))return A.stylize("undefined","undefined");if(z(I)){var q="'"+JSON.stringify(I).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return A.stylize(q,"string")}if(U(I))return A.stylize(""+I,"number");if(R(I))return A.stylize(""+I,"boolean");if(T(I))return A.stylize("null","null")}function p(A){return"["+Error.prototype.toString.call(A)+"]"}function w(A,I,q,$,N){for(var H=[],G=0,J=I.length;G-1&&(H?J=J.split(` +`).map(function(L){return" "+L}).join(` +`).slice(2):J=` +`+J.split(` +`).map(function(L){return" "+L}).join(` +`))):J=A.stylize("[Circular]","special")),te(G)){if(H&&N.match(/^\d+$/))return J;G=JSON.stringify(""+N),G.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(G=G.slice(1,-1),G=A.stylize(G,"name")):(G=G.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),G=A.stylize(G,"string"))}return G+": "+J}function E(A,I,q){var $=A.reduce(function(N,H){return H.indexOf(` +`)>=0,N+H.replace(/\u001b\[\d\d?m/g,"").length+1},0);return $>60?q[0]+(I===""?"":I+` + `)+" "+A.join(`, + `)+" "+q[1]:q[0]+I+" "+A.join(", ")+" "+q[1]}r.types=gd();function B(A){return Array.isArray(A)}r.isArray=B;function R(A){return typeof A=="boolean"}r.isBoolean=R;function T(A){return A===null}r.isNull=T;function D(A){return A==null}r.isNullOrUndefined=D;function U(A){return typeof A=="number"}r.isNumber=U;function z(A){return typeof A=="string"}r.isString=z;function W(A){return typeof A=="symbol"}r.isSymbol=W;function te(A){return A===void 0}r.isUndefined=te;function re(A){return ie(A)&&a(A)==="[object RegExp]"}r.isRegExp=re,r.types.isRegExp=re;function ie(A){return typeof A=="object"&&A!==null}r.isObject=ie;function Y(A){return ie(A)&&a(A)==="[object Date]"}r.isDate=Y,r.types.isDate=Y;function m(A){return ie(A)&&(a(A)==="[object Error]"||A instanceof Error)}r.isError=m,r.types.isNativeError=m;function h(A){return typeof A=="function"}r.isFunction=h;function o(A){return A===null||typeof A=="boolean"||typeof A=="number"||typeof A=="string"||typeof A=="symbol"||typeof A>"u"}r.isPrimitive=o,r.isBuffer=yd();function a(A){return Object.prototype.toString.call(A)}function v(A){return A<10?"0"+A.toString(10):A.toString(10)}var x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function S(){var A=new Date,I=[v(A.getHours()),v(A.getMinutes()),v(A.getSeconds())].join(":");return[A.getDate(),x[A.getMonth()],I].join(" ")}r.log=function(){console.log("%s - %s",S(),r.format.apply(r,arguments))},r.inherits=Mt(),r._extend=function(A,I){if(!I||!ie(I))return A;for(var q=Object.keys(I),$=q.length;$--;)A[q[$]]=I[q[$]];return A};function M(A,I){return Object.prototype.hasOwnProperty.call(A,I)}var b=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;r.promisify=function(I){if(typeof I!="function")throw new TypeError('The "original" argument must be of type Function');if(b&&I[b]){var q=I[b];if(typeof q!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(q,b,{value:q,enumerable:!1,writable:!1,configurable:!0}),q}function q(){for(var $,N,H=new Promise(function(fe,L){$=fe,N=L}),G=[],J=0;J0?this.tail.next=R:this.head=R,this.tail=R,++this.length}},{key:"unshift",value:function(B){var R={data:B,next:this.head};this.length===0&&(this.tail=R),this.head=R,++this.length}},{key:"shift",value:function(){if(this.length!==0){var B=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,B}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(B){if(this.length===0)return"";for(var R=this.head,T=""+R.data;R=R.next;)T+=B+R.data;return T}},{key:"concat",value:function(B){if(this.length===0)return u.alloc(0);for(var R=u.allocUnsafe(B>>>0),T=this.head,D=0;T;)w(T.data,R,D),D+=T.data.length,T=T.next;return R}},{key:"consume",value:function(B,R){var T;return BU.length?U.length:B;if(z===U.length?D+=U:D+=U.slice(0,B),B-=z,B===0){z===U.length?(++T,R.next?this.head=R.next:this.head=this.tail=null):(this.head=R,R.data=U.slice(z));break}++T}return this.length-=T,D}},{key:"_getBuffer",value:function(B){var R=u.allocUnsafe(B),T=this.head,D=1;for(T.data.copy(R),B-=T.data.length;T=T.next;){var U=T.data,z=B>U.length?U.length:B;if(U.copy(R,R.length-B,0,z),B-=z,B===0){z===U.length?(++D,T.next?this.head=T.next:this.head=this.tail=null):(this.head=T,T.data=U.slice(z));break}++D}return this.length-=D,R}},{key:p,value:function(B,R){return y(this,e(e({},R),{},{depth:0,customInspect:!1}))}}]),_}(),Nn}var Fn,Bo;function uc(){if(Bo)return Fn;Bo=1;function r(d,f){var c=this,u=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return u||s?(f?f(d):d&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pt.nextTick(l,this,d)):pt.nextTick(l,this,d)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(d||null,function(y){!f&&y?c._writableState?c._writableState.errorEmitted?pt.nextTick(i,c):(c._writableState.errorEmitted=!0,pt.nextTick(e,c,y)):pt.nextTick(e,c,y):f?(pt.nextTick(i,c),f(y)):pt.nextTick(i,c)}),this)}function e(d,f){l(d,f),i(d)}function i(d){d._writableState&&!d._writableState.emitClose||d._readableState&&!d._readableState.emitClose||d.emit("close")}function n(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function l(d,f){d.emit("error",f)}function t(d,f){var c=d._readableState,u=d._writableState;c&&c.autoDestroy||u&&u.autoDestroy?d.destroy(f):d.emit("error",f)}return Fn={destroy:r,undestroy:n,errorOrDestroy:t},Fn}var Un={},Ro;function si(){if(Ro)return Un;Ro=1;function r(f,c){f.prototype=Object.create(c.prototype),f.prototype.constructor=f,f.__proto__=c}var e={};function i(f,c,u){u||(u=Error);function s(p,w,_){return typeof c=="string"?c:c(p,w,_)}var y=function(p){r(w,p);function w(_,E,B){return p.call(this,s(_,E,B))||this}return w}(u);y.prototype.name=u.name,y.prototype.code=f,e[f]=y}function n(f,c){if(Array.isArray(f)){var u=f.length;return f=f.map(function(s){return String(s)}),u>2?"one of ".concat(c," ").concat(f.slice(0,u-1).join(", "),", or ")+f[u-1]:u===2?"one of ".concat(c," ").concat(f[0]," or ").concat(f[1]):"of ".concat(c," ").concat(f[0])}else return"of ".concat(c," ").concat(String(f))}function l(f,c,u){return f.substr(!u||u<0?0:+u,c.length)===c}function t(f,c,u){return(u===void 0||u>f.length)&&(u=f.length),f.substring(u-c.length,u)===c}function d(f,c,u){return typeof u!="number"&&(u=0),u+c.length>f.length?!1:f.indexOf(c,u)!==-1}return i("ERR_INVALID_OPT_VALUE",function(f,c){return'The value "'+c+'" is invalid for option "'+f+'"'},TypeError),i("ERR_INVALID_ARG_TYPE",function(f,c,u){var s;typeof c=="string"&&l(c,"not ")?(s="must not be",c=c.replace(/^not /,"")):s="must be";var y;if(t(f," argument"))y="The ".concat(f," ").concat(s," ").concat(n(c,"type"));else{var p=d(f,".")?"property":"argument";y='The "'.concat(f,'" ').concat(p," ").concat(s," ").concat(n(c,"type"))}return y+=". Received type ".concat(typeof u),y},TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",function(f){return"The "+f+" method is not implemented"}),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",function(f){return"Cannot call "+f+" after a stream was destroyed"}),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",function(f){return"Unknown encoding: "+f},TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Un.codes=e,Un}var jn,ko;function cc(){if(ko)return jn;ko=1;var r=si().codes.ERR_INVALID_OPT_VALUE;function e(n,l,t){return n.highWaterMark!=null?n.highWaterMark:l?n[t]:null}function i(n,l,t,d){var f=e(l,d,t);if(f!=null){if(!(isFinite(f)&&Math.floor(f)===f)||f<0){var c=d?t:"highWaterMark";throw new r(c,f)}return Math.floor(f)}return n.objectMode?16:16*1024}return jn={getHighWaterMark:i},jn}var zn,Co;function xd(){if(Co)return zn;Co=1,zn=r;function r(i,n){if(e("noDeprecation"))return i;var l=!1;function t(){if(!l){if(e("throwDeprecation"))throw new Error(n);e("traceDeprecation")?console.trace(n):console.warn(n),l=!0}return i.apply(this,arguments)}return t}function e(i){try{if(!Bt.localStorage)return!1}catch{return!1}var n=Bt.localStorage[i];return n==null?!1:String(n).toLowerCase()==="true"}return zn}var $n,Io;function gs(){if(Io)return $n;Io=1,$n=re;function r(N){var H=this;this.next=null,this.entry=null,this.finish=function(){$(H,N)}}var e;re.WritableState=W;var i={deprecate:xd()},n=ic(),l=wt.Buffer,t=(typeof Bt<"u"?Bt:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function d(N){return l.from(N)}function f(N){return l.isBuffer(N)||N instanceof t}var c=uc(),u=cc(),s=u.getHighWaterMark,y=si().codes,p=y.ERR_INVALID_ARG_TYPE,w=y.ERR_METHOD_NOT_IMPLEMENTED,_=y.ERR_MULTIPLE_CALLBACK,E=y.ERR_STREAM_CANNOT_PIPE,B=y.ERR_STREAM_DESTROYED,R=y.ERR_STREAM_NULL_VALUES,T=y.ERR_STREAM_WRITE_AFTER_END,D=y.ERR_UNKNOWN_ENCODING,U=c.errorOrDestroy;Mt()(re,n);function z(){}function W(N,H,G){e=e||$r(),N=N||{},typeof G!="boolean"&&(G=H instanceof e),this.objectMode=!!N.objectMode,G&&(this.objectMode=this.objectMode||!!N.writableObjectMode),this.highWaterMark=s(this,N,"writableHighWaterMark",G),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var J=N.decodeStrings===!1;this.decodeStrings=!J,this.defaultEncoding=N.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(fe){x(H,fe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=N.emitClose!==!1,this.autoDestroy=!!N.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}W.prototype.getBuffer=function(){for(var H=this.bufferedRequest,G=[];H;)G.push(H),H=H.next;return G},function(){try{Object.defineProperty(W.prototype,"buffer",{get:i.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var te;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(te=Function.prototype[Symbol.hasInstance],Object.defineProperty(re,Symbol.hasInstance,{value:function(H){return te.call(this,H)?!0:this!==re?!1:H&&H._writableState instanceof W}})):te=function(H){return H instanceof this};function re(N){e=e||$r();var H=this instanceof e;if(!H&&!te.call(re,this))return new re(N);this._writableState=new W(N,this,H),this.writable=!0,N&&(typeof N.write=="function"&&(this._write=N.write),typeof N.writev=="function"&&(this._writev=N.writev),typeof N.destroy=="function"&&(this._destroy=N.destroy),typeof N.final=="function"&&(this._final=N.final)),n.call(this)}re.prototype.pipe=function(){U(this,new E)};function ie(N,H){var G=new T;U(N,G),pt.nextTick(H,G)}function Y(N,H,G,J){var fe;return G===null?fe=new R:typeof G!="string"&&!H.objectMode&&(fe=new p("chunk",["string","Buffer"],G)),fe?(U(N,fe),pt.nextTick(J,fe),!1):!0}re.prototype.write=function(N,H,G){var J=this._writableState,fe=!1,L=!J.objectMode&&f(N);return L&&!l.isBuffer(N)&&(N=d(N)),typeof H=="function"&&(G=H,H=null),L?H="buffer":H||(H=J.defaultEncoding),typeof G!="function"&&(G=z),J.ending?ie(this,G):(L||Y(this,J,N,G))&&(J.pendingcb++,fe=h(this,J,L,N,H,G)),fe},re.prototype.cork=function(){this._writableState.corked++},re.prototype.uncork=function(){var N=this._writableState;N.corked&&(N.corked--,!N.writing&&!N.corked&&!N.bufferProcessing&&N.bufferedRequest&&b(this,N))},re.prototype.setDefaultEncoding=function(H){if(typeof H=="string"&&(H=H.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((H+"").toLowerCase())>-1))throw new D(H);return this._writableState.defaultEncoding=H,this},Object.defineProperty(re.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function m(N,H,G){return!N.objectMode&&N.decodeStrings!==!1&&typeof H=="string"&&(H=l.from(H,G)),H}Object.defineProperty(re.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function h(N,H,G,J,fe,L){if(!G){var F=m(H,J,fe);J!==F&&(G=!0,fe="buffer",J=F)}var X=H.objectMode?1:J.length;H.length+=X;var ne=H.length>5===6?2:R>>4===14?3:R>>3===30?4:R>>6===2?-1:-2}function d(R,T,D){var U=T.length-1;if(U=0?(z>0&&(R.lastNeed=z-1),z):--U=0?(z>0&&(R.lastNeed=z-2),z):--U=0?(z>0&&(z===2?z=0:R.lastNeed=z-3),z):0))}function f(R,T,D){if((T[0]&192)!==128)return R.lastNeed=0,"�";if(R.lastNeed>1&&T.length>1){if((T[1]&192)!==128)return R.lastNeed=1,"�";if(R.lastNeed>2&&T.length>2&&(T[2]&192)!==128)return R.lastNeed=2,"�"}}function c(R){var T=this.lastTotal-this.lastNeed,D=f(this,R);if(D!==void 0)return D;if(this.lastNeed<=R.length)return R.copy(this.lastChar,T,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);R.copy(this.lastChar,T,0,R.length),this.lastNeed-=R.length}function u(R,T){var D=d(this,R,T);if(!this.lastNeed)return R.toString("utf8",T);this.lastTotal=D;var U=R.length-(D-this.lastNeed);return R.copy(this.lastChar,0,U),R.toString("utf8",T,U)}function s(R){var T=R&&R.length?this.write(R):"";return this.lastNeed?T+"�":T}function y(R,T){if((R.length-T)%2===0){var D=R.toString("utf16le",T);if(D){var U=D.charCodeAt(D.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=R[R.length-2],this.lastChar[1]=R[R.length-1],D.slice(0,-1)}return D}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=R[R.length-1],R.toString("utf16le",T,R.length-1)}function p(R){var T=R&&R.length?this.write(R):"";if(this.lastNeed){var D=this.lastTotal-this.lastNeed;return T+this.lastChar.toString("utf16le",0,D)}return T}function w(R,T){var D=(R.length-T)%3;return D===0?R.toString("base64",T):(this.lastNeed=3-D,this.lastTotal=3,D===1?this.lastChar[0]=R[R.length-1]:(this.lastChar[0]=R[R.length-2],this.lastChar[1]=R[R.length-1]),R.toString("base64",T,R.length-D))}function _(R){var T=R&&R.length?this.write(R):"";return this.lastNeed?T+this.lastChar.toString("base64",0,3-this.lastNeed):T}function E(R){return R.toString(this.encoding)}function B(R){return R&&R.length?this.write(R):""}return Kn}var Wn,Oo;function on(){if(Oo)return Wn;Oo=1;var r=si().codes.ERR_STREAM_PREMATURE_CLOSE;function e(t){var d=!1;return function(){if(!d){d=!0;for(var f=arguments.length,c=new Array(f),u=0;u0)if(typeof F!="string"&&!V.objectMode&&Object.getPrototypeOf(F)!==n.prototype&&(F=t(F)),ne)V.endEmitted?z(L,new R):m(L,V,F,!0);else if(V.ended)z(L,new E);else{if(V.destroyed)return!1;V.reading=!1,V.decoder&&!X?(F=V.decoder.write(F),V.objectMode||F.length!==0?m(L,V,F,!1):b(L,V)):m(L,V,F,!1)}else ne||(V.reading=!1,b(L,V))}return!V.ended&&(V.length=o?L=o:(L--,L|=L>>>1,L|=L>>>2,L|=L>>>4,L|=L>>>8,L|=L>>>16,L++),L}function v(L,F){return L<=0||F.length===0&&F.ended?0:F.objectMode?1:L!==L?F.flowing&&F.length?F.buffer.head.data.length:F.length:(L>F.highWaterMark&&(F.highWaterMark=a(L)),L<=F.length?L:F.ended?F.length:(F.needReadable=!0,0))}ie.prototype.read=function(L){c("read",L),L=parseInt(L,10);var F=this._readableState,X=L;if(L!==0&&(F.emittedReadable=!1),L===0&&F.needReadable&&((F.highWaterMark!==0?F.length>=F.highWaterMark:F.length>0)||F.ended))return c("read: emitReadable",F.length,F.ended),F.length===0&&F.ended?G(this):S(this),null;if(L=v(L,F),L===0&&F.ended)return F.length===0&&G(this),null;var ne=F.needReadable;c("need readable",ne),(F.length===0||F.length-L0?se=H(L,F):se=null,se===null?(F.needReadable=F.length<=F.highWaterMark,L=0):(F.length-=L,F.awaitDrain=0),F.length===0&&(F.ended||(F.needReadable=!0),X!==L&&F.ended&&G(this)),se!==null&&this.emit("data",se),se};function x(L,F){if(c("onEofChunk"),!F.ended){if(F.decoder){var X=F.decoder.end();X&&X.length&&(F.buffer.push(X),F.length+=F.objectMode?1:X.length)}F.ended=!0,F.sync?S(L):(F.needReadable=!1,F.emittedReadable||(F.emittedReadable=!0,M(L)))}}function S(L){var F=L._readableState;c("emitReadable",F.needReadable,F.emittedReadable),F.needReadable=!1,F.emittedReadable||(c("emitReadable",F.flowing),F.emittedReadable=!0,pt.nextTick(M,L))}function M(L){var F=L._readableState;c("emitReadable_",F.destroyed,F.length,F.ended),!F.destroyed&&(F.length||F.ended)&&(L.emit("readable"),F.emittedReadable=!1),F.needReadable=!F.flowing&&!F.ended&&F.length<=F.highWaterMark,N(L)}function b(L,F){F.readingMore||(F.readingMore=!0,pt.nextTick(g,L,F))}function g(L,F){for(;!F.reading&&!F.ended&&(F.length1&&fe(ne.pipes,L)!==-1)&&!ae&&(c("false write response, pause",ne.awaitDrain),ne.awaitDrain++),X.pause())}function be(Ae){c("onerror",Ae),we(),L.removeListener("error",be),e(L,"error")===0&&z(L,Ae)}te(L,"error",be);function pe(){L.removeListener("finish",Se),we()}L.once("close",pe);function Se(){c("onfinish"),L.removeListener("close",pe),we()}L.once("finish",Se);function we(){c("unpipe"),X.unpipe(L)}return L.emit("pipe",X),ne.flowing||(c("pipe resume"),X.resume()),L};function k(L){return function(){var X=L._readableState;c("pipeOnDrain",X.awaitDrain),X.awaitDrain&&X.awaitDrain--,X.awaitDrain===0&&e(L,"data")&&(X.flowing=!0,N(L))}}ie.prototype.unpipe=function(L){var F=this._readableState,X={hasUnpiped:!1};if(F.pipesCount===0)return this;if(F.pipesCount===1)return L&&L!==F.pipes?this:(L||(L=F.pipes),F.pipes=null,F.pipesCount=0,F.flowing=!1,L&&L.emit("unpipe",this,X),this);if(!L){var ne=F.pipes,se=F.pipesCount;F.pipes=null,F.pipesCount=0,F.flowing=!1;for(var V=0;V0,ne.flowing!==!1&&this.resume()):L==="readable"&&!ne.endEmitted&&!ne.readableListening&&(ne.readableListening=ne.needReadable=!0,ne.flowing=!1,ne.emittedReadable=!1,c("on readable",ne.length,ne.reading),ne.length?S(this):ne.reading||pt.nextTick(I,this)),X},ie.prototype.addListener=ie.prototype.on,ie.prototype.removeListener=function(L,F){var X=i.prototype.removeListener.call(this,L,F);return L==="readable"&&pt.nextTick(A,this),X},ie.prototype.removeAllListeners=function(L){var F=i.prototype.removeAllListeners.apply(this,arguments);return(L==="readable"||L===void 0)&&pt.nextTick(A,this),F};function A(L){var F=L._readableState;F.readableListening=L.listenerCount("readable")>0,F.resumeScheduled&&!F.paused?F.flowing=!0:L.listenerCount("data")>0&&L.resume()}function I(L){c("readable nexttick read 0"),L.read(0)}ie.prototype.resume=function(){var L=this._readableState;return L.flowing||(c("resume"),L.flowing=!L.readableListening,q(this,L)),L.paused=!1,this};function q(L,F){F.resumeScheduled||(F.resumeScheduled=!0,pt.nextTick($,L,F))}function $(L,F){c("resume",F.reading),F.reading||L.read(0),F.resumeScheduled=!1,L.emit("resume"),N(L),F.flowing&&!F.reading&&L.read(0)}ie.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function N(L){var F=L._readableState;for(c("flow",F.flowing);F.flowing&&L.read()!==null;);}ie.prototype.wrap=function(L){var F=this,X=this._readableState,ne=!1;L.on("end",function(){if(c("wrapped end"),X.decoder&&!X.ended){var O=X.decoder.end();O&&O.length&&F.push(O)}F.push(null)}),L.on("data",function(O){if(c("wrapped data"),X.decoder&&(O=X.decoder.write(O)),!(X.objectMode&&O==null)&&!(!X.objectMode&&(!O||!O.length))){var P=F.push(O);P||(ne=!0,L.pause())}});for(var se in L)this[se]===void 0&&typeof L[se]=="function"&&(this[se]=function(P){return function(){return L[P].apply(L,arguments)}}(se));for(var V=0;V=F.length?(F.decoder?X=F.buffer.join(""):F.buffer.length===1?X=F.buffer.first():X=F.buffer.concat(F.length),F.buffer.clear()):X=F.buffer.consume(L,F.decoder),X}function G(L){var F=L._readableState;c("endReadable",F.endEmitted),F.endEmitted||(F.ended=!0,pt.nextTick(J,F,L))}function J(L,F){if(c("endReadableNT",L.endEmitted,L.length),!L.endEmitted&&L.length===0&&(L.endEmitted=!0,F.readable=!1,F.emit("end"),L.autoDestroy)){var X=F._writableState;(!X||X.autoDestroy&&X.finished)&&F.destroy()}}typeof Symbol=="function"&&(ie.from=function(L,F){return U===void 0&&(U=_d()),U(ie,L,F)});function fe(L,F){for(var X=0,ne=L.length;X0;return f(T,U,z,function(W){B||(B=W),W&&R.forEach(c),!U&&(R.forEach(c),E(B))})});return w.reduce(u)}return Jn=y,Jn}var jo;function pc(){return jo||(jo=1,function(r,e){e=r.exports=ys(),e.Stream=e,e.Readable=e,e.Writable=gs(),e.Duplex=$r(),e.Transform=ms(),e.PassThrough=lc(),e.finished=on(),e.pipeline=dc()}(fd,vi)),vi}var Qn,zo;function vc(){if(zo)return Qn;zo=1;var r=At().Buffer,e=pc().Transform,i=Mt();function n(t,d){if(!r.isBuffer(t)&&typeof t!="string")throw new TypeError(d+" must be a string or a buffer")}function l(t){e.call(this),this._block=r.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}return i(l,e),l.prototype._transform=function(t,d,f){var c=null;try{this.update(t,d)}catch(u){c=u}f(c)},l.prototype._flush=function(t){var d=null;try{this.push(this.digest())}catch(f){d=f}t(d)},l.prototype.update=function(t,d){if(n(t,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(t)||(t=r.from(t,d));for(var f=this._block,c=0;this._blockOffset+t.length-c>=this._blockSize;){for(var u=this._blockOffset;u0;++s)this._length[s]+=y,y=this._length[s]/4294967296|0,y>0&&(this._length[s]-=4294967296*y);return this},l.prototype._update=function(){throw new Error("_update is not implemented")},l.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var d=this._digest();t!==void 0&&(d=d.toString(t)),this._block.fill(0),this._blockOffset=0;for(var f=0;f<4;++f)this._length[f]=0;return d},l.prototype._digest=function(){throw new Error("_digest is not implemented")},Qn=l,Qn}var ea,$o;function xs(){if($o)return ea;$o=1;var r=Mt(),e=vc(),i=At().Buffer,n=new Array(16);function l(){e.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}r(l,e),l.prototype._update=function(){for(var s=n,y=0;y<16;++y)s[y]=this._block.readInt32LE(y*4);var p=this._a,w=this._b,_=this._c,E=this._d;p=d(p,w,_,E,s[0],3614090360,7),E=d(E,p,w,_,s[1],3905402710,12),_=d(_,E,p,w,s[2],606105819,17),w=d(w,_,E,p,s[3],3250441966,22),p=d(p,w,_,E,s[4],4118548399,7),E=d(E,p,w,_,s[5],1200080426,12),_=d(_,E,p,w,s[6],2821735955,17),w=d(w,_,E,p,s[7],4249261313,22),p=d(p,w,_,E,s[8],1770035416,7),E=d(E,p,w,_,s[9],2336552879,12),_=d(_,E,p,w,s[10],4294925233,17),w=d(w,_,E,p,s[11],2304563134,22),p=d(p,w,_,E,s[12],1804603682,7),E=d(E,p,w,_,s[13],4254626195,12),_=d(_,E,p,w,s[14],2792965006,17),w=d(w,_,E,p,s[15],1236535329,22),p=f(p,w,_,E,s[1],4129170786,5),E=f(E,p,w,_,s[6],3225465664,9),_=f(_,E,p,w,s[11],643717713,14),w=f(w,_,E,p,s[0],3921069994,20),p=f(p,w,_,E,s[5],3593408605,5),E=f(E,p,w,_,s[10],38016083,9),_=f(_,E,p,w,s[15],3634488961,14),w=f(w,_,E,p,s[4],3889429448,20),p=f(p,w,_,E,s[9],568446438,5),E=f(E,p,w,_,s[14],3275163606,9),_=f(_,E,p,w,s[3],4107603335,14),w=f(w,_,E,p,s[8],1163531501,20),p=f(p,w,_,E,s[13],2850285829,5),E=f(E,p,w,_,s[2],4243563512,9),_=f(_,E,p,w,s[7],1735328473,14),w=f(w,_,E,p,s[12],2368359562,20),p=c(p,w,_,E,s[5],4294588738,4),E=c(E,p,w,_,s[8],2272392833,11),_=c(_,E,p,w,s[11],1839030562,16),w=c(w,_,E,p,s[14],4259657740,23),p=c(p,w,_,E,s[1],2763975236,4),E=c(E,p,w,_,s[4],1272893353,11),_=c(_,E,p,w,s[7],4139469664,16),w=c(w,_,E,p,s[10],3200236656,23),p=c(p,w,_,E,s[13],681279174,4),E=c(E,p,w,_,s[0],3936430074,11),_=c(_,E,p,w,s[3],3572445317,16),w=c(w,_,E,p,s[6],76029189,23),p=c(p,w,_,E,s[9],3654602809,4),E=c(E,p,w,_,s[12],3873151461,11),_=c(_,E,p,w,s[15],530742520,16),w=c(w,_,E,p,s[2],3299628645,23),p=u(p,w,_,E,s[0],4096336452,6),E=u(E,p,w,_,s[7],1126891415,10),_=u(_,E,p,w,s[14],2878612391,15),w=u(w,_,E,p,s[5],4237533241,21),p=u(p,w,_,E,s[12],1700485571,6),E=u(E,p,w,_,s[3],2399980690,10),_=u(_,E,p,w,s[10],4293915773,15),w=u(w,_,E,p,s[1],2240044497,21),p=u(p,w,_,E,s[8],1873313359,6),E=u(E,p,w,_,s[15],4264355552,10),_=u(_,E,p,w,s[6],2734768916,15),w=u(w,_,E,p,s[13],1309151649,21),p=u(p,w,_,E,s[4],4149444226,6),E=u(E,p,w,_,s[11],3174756917,10),_=u(_,E,p,w,s[2],718787259,15),w=u(w,_,E,p,s[9],3951481745,21),this._a=this._a+p|0,this._b=this._b+w|0,this._c=this._c+_|0,this._d=this._d+E|0},l.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var s=i.allocUnsafe(16);return s.writeInt32LE(this._a,0),s.writeInt32LE(this._b,4),s.writeInt32LE(this._c,8),s.writeInt32LE(this._d,12),s};function t(s,y){return s<>>32-y}function d(s,y,p,w,_,E,B){return t(s+(y&p|~y&w)+_+E|0,B)+y|0}function f(s,y,p,w,_,E,B){return t(s+(y&w|p&~w)+_+E|0,B)+y|0}function c(s,y,p,w,_,E,B){return t(s+(y^p^w)+_+E|0,B)+y|0}function u(s,y,p,w,_,E,B){return t(s+(p^(y|~w))+_+E|0,B)+y|0}return ea=l,ea}var ta,Ho;function ws(){if(Ho)return ta;Ho=1;var r=wt.Buffer,e=Mt(),i=vc(),n=new Array(16),l=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],t=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],d=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],f=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],c=[0,1518500249,1859775393,2400959708,2840853838],u=[1352829926,1548603684,1836072691,2053994217,0];function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}e(s,i),s.prototype._update=function(){for(var R=n,T=0;T<16;++T)R[T]=this._block.readInt32LE(T*4);for(var D=this._a|0,U=this._b|0,z=this._c|0,W=this._d|0,te=this._e|0,re=this._a|0,ie=this._b|0,Y=this._c|0,m=this._d|0,h=this._e|0,o=0;o<80;o+=1){var a,v;o<16?(a=p(D,U,z,W,te,R[l[o]],c[0],d[o]),v=B(re,ie,Y,m,h,R[t[o]],u[0],f[o])):o<32?(a=w(D,U,z,W,te,R[l[o]],c[1],d[o]),v=E(re,ie,Y,m,h,R[t[o]],u[1],f[o])):o<48?(a=_(D,U,z,W,te,R[l[o]],c[2],d[o]),v=_(re,ie,Y,m,h,R[t[o]],u[2],f[o])):o<64?(a=E(D,U,z,W,te,R[l[o]],c[3],d[o]),v=w(re,ie,Y,m,h,R[t[o]],u[3],f[o])):(a=B(D,U,z,W,te,R[l[o]],c[4],d[o]),v=p(re,ie,Y,m,h,R[t[o]],u[4],f[o])),D=te,te=W,W=y(z,10),z=U,U=a,re=h,h=m,m=y(Y,10),Y=ie,ie=v}var x=this._b+z+m|0;this._b=this._c+W+h|0,this._c=this._d+te+re|0,this._d=this._e+D+ie|0,this._e=this._a+U+Y|0,this._a=x},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var R=r.alloc?r.alloc(20):new r(20);return R.writeInt32LE(this._a,0),R.writeInt32LE(this._b,4),R.writeInt32LE(this._c,8),R.writeInt32LE(this._d,12),R.writeInt32LE(this._e,16),R};function y(R,T){return R<>>32-T}function p(R,T,D,U,z,W,te,re){return y(R+(T^D^U)+W+te|0,re)+z|0}function w(R,T,D,U,z,W,te,re){return y(R+(T&D|~T&U)+W+te|0,re)+z|0}function _(R,T,D,U,z,W,te,re){return y(R+((T|~D)^U)+W+te|0,re)+z|0}function E(R,T,D,U,z,W,te,re){return y(R+(T&U|D&~U)+W+te|0,re)+z|0}function B(R,T,D,U,z,W,te,re){return y(R+(T^(D|~U))+W+te|0,re)+z|0}return ta=s,ta}var Yi={},Md={get exports(){return Yi},set exports(r){Yi=r}},ra,Ko;function oi(){if(Ko)return ra;Ko=1;var r=At().Buffer;function e(i,n){this._block=r.alloc(i),this._finalSize=n,this._blockSize=i,this._len=0}return e.prototype.update=function(i,n){typeof i=="string"&&(n=n||"utf8",i=r.from(i,n));for(var l=this._block,t=this._blockSize,d=i.length,f=this._len,c=0;c=this._finalSize&&(this._update(this._block),this._block.fill(0));var l=this._len*8;if(l<=4294967295)this._block.writeUInt32BE(l,this._blockSize-4);else{var t=(l&4294967295)>>>0,d=(l-t)/4294967296;this._block.writeUInt32BE(d,this._blockSize-8),this._block.writeUInt32BE(t,this._blockSize-4)}this._update(this._block);var f=this._hash();return i?f.toString(i):f},e.prototype._update=function(){throw new Error("_update must be implemented by subclass")},ra=e,ra}var ia,Wo;function Sd(){if(Wo)return ia;Wo=1;var r=Mt(),e=oi(),i=At().Buffer,n=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function t(){this.init(),this._w=l,e.call(this,64,56)}r(t,e),t.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function d(u){return u<<5|u>>>27}function f(u){return u<<30|u>>>2}function c(u,s,y,p){return u===0?s&y|~s&p:u===2?s&y|s&p|y&p:s^y^p}return t.prototype._update=function(u){for(var s=this._w,y=this._a|0,p=this._b|0,w=this._c|0,_=this._d|0,E=this._e|0,B=0;B<16;++B)s[B]=u.readInt32BE(B*4);for(;B<80;++B)s[B]=s[B-3]^s[B-8]^s[B-14]^s[B-16];for(var R=0;R<80;++R){var T=~~(R/20),D=d(y)+c(T,p,w,_)+E+s[R]+n[T]|0;E=_,_=w,w=f(p),p=y,y=D}this._a=y+this._a|0,this._b=p+this._b|0,this._c=w+this._c|0,this._d=_+this._d|0,this._e=E+this._e|0},t.prototype._hash=function(){var u=i.allocUnsafe(20);return u.writeInt32BE(this._a|0,0),u.writeInt32BE(this._b|0,4),u.writeInt32BE(this._c|0,8),u.writeInt32BE(this._d|0,12),u.writeInt32BE(this._e|0,16),u},ia=t,ia}var na,Vo;function Ad(){if(Vo)return na;Vo=1;var r=Mt(),e=oi(),i=At().Buffer,n=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function t(){this.init(),this._w=l,e.call(this,64,56)}r(t,e),t.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function d(s){return s<<1|s>>>31}function f(s){return s<<5|s>>>27}function c(s){return s<<30|s>>>2}function u(s,y,p,w){return s===0?y&p|~y&w:s===2?y&p|y&w|p&w:y^p^w}return t.prototype._update=function(s){for(var y=this._w,p=this._a|0,w=this._b|0,_=this._c|0,E=this._d|0,B=this._e|0,R=0;R<16;++R)y[R]=s.readInt32BE(R*4);for(;R<80;++R)y[R]=d(y[R-3]^y[R-8]^y[R-14]^y[R-16]);for(var T=0;T<80;++T){var D=~~(T/20),U=f(p)+u(D,w,_,E)+B+y[T]+n[D]|0;B=E,E=_,_=c(w),w=p,p=U}this._a=p+this._a|0,this._b=w+this._b|0,this._c=_+this._c|0,this._d=E+this._d|0,this._e=B+this._e|0},t.prototype._hash=function(){var s=i.allocUnsafe(20);return s.writeInt32BE(this._a|0,0),s.writeInt32BE(this._b|0,4),s.writeInt32BE(this._c|0,8),s.writeInt32BE(this._d|0,12),s.writeInt32BE(this._e|0,16),s},na=t,na}var aa,Go;function bc(){if(Go)return aa;Go=1;var r=Mt(),e=oi(),i=At().Buffer,n=[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],l=new Array(64);function t(){this.init(),this._w=l,e.call(this,64,56)}r(t,e),t.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function d(p,w,_){return _^p&(w^_)}function f(p,w,_){return p&w|_&(p|w)}function c(p){return(p>>>2|p<<30)^(p>>>13|p<<19)^(p>>>22|p<<10)}function u(p){return(p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7)}function s(p){return(p>>>7|p<<25)^(p>>>18|p<<14)^p>>>3}function y(p){return(p>>>17|p<<15)^(p>>>19|p<<13)^p>>>10}return t.prototype._update=function(p){for(var w=this._w,_=this._a|0,E=this._b|0,B=this._c|0,R=this._d|0,T=this._e|0,D=this._f|0,U=this._g|0,z=this._h|0,W=0;W<16;++W)w[W]=p.readInt32BE(W*4);for(;W<64;++W)w[W]=y(w[W-2])+w[W-7]+s(w[W-15])+w[W-16]|0;for(var te=0;te<64;++te){var re=z+u(T)+d(T,D,U)+n[te]+w[te]|0,ie=c(_)+f(_,E,B)|0;z=U,U=D,D=T,T=R+re|0,R=B,B=E,E=_,_=re+ie|0}this._a=_+this._a|0,this._b=E+this._b|0,this._c=B+this._c|0,this._d=R+this._d|0,this._e=T+this._e|0,this._f=D+this._f|0,this._g=U+this._g|0,this._h=z+this._h|0},t.prototype._hash=function(){var p=i.allocUnsafe(32);return p.writeInt32BE(this._a,0),p.writeInt32BE(this._b,4),p.writeInt32BE(this._c,8),p.writeInt32BE(this._d,12),p.writeInt32BE(this._e,16),p.writeInt32BE(this._f,20),p.writeInt32BE(this._g,24),p.writeInt32BE(this._h,28),p},aa=t,aa}var fa,Yo;function Ed(){if(Yo)return fa;Yo=1;var r=Mt(),e=bc(),i=oi(),n=At().Buffer,l=new Array(64);function t(){this.init(),this._w=l,i.call(this,64,56)}return r(t,e),t.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},t.prototype._hash=function(){var d=n.allocUnsafe(28);return d.writeInt32BE(this._a,0),d.writeInt32BE(this._b,4),d.writeInt32BE(this._c,8),d.writeInt32BE(this._d,12),d.writeInt32BE(this._e,16),d.writeInt32BE(this._f,20),d.writeInt32BE(this._g,24),d},fa=t,fa}var sa,Zo;function gc(){if(Zo)return sa;Zo=1;var r=Mt(),e=oi(),i=At().Buffer,n=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],l=new Array(160);function t(){this.init(),this._w=l,e.call(this,128,112)}r(t,e),t.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function d(E,B,R){return R^E&(B^R)}function f(E,B,R){return E&B|R&(E|B)}function c(E,B){return(E>>>28|B<<4)^(B>>>2|E<<30)^(B>>>7|E<<25)}function u(E,B){return(E>>>14|B<<18)^(E>>>18|B<<14)^(B>>>9|E<<23)}function s(E,B){return(E>>>1|B<<31)^(E>>>8|B<<24)^E>>>7}function y(E,B){return(E>>>1|B<<31)^(E>>>8|B<<24)^(E>>>7|B<<25)}function p(E,B){return(E>>>19|B<<13)^(B>>>29|E<<3)^E>>>6}function w(E,B){return(E>>>19|B<<13)^(B>>>29|E<<3)^(E>>>6|B<<26)}function _(E,B){return E>>>0>>0?1:0}return t.prototype._update=function(E){for(var B=this._w,R=this._ah|0,T=this._bh|0,D=this._ch|0,U=this._dh|0,z=this._eh|0,W=this._fh|0,te=this._gh|0,re=this._hh|0,ie=this._al|0,Y=this._bl|0,m=this._cl|0,h=this._dl|0,o=this._el|0,a=this._fl|0,v=this._gl|0,x=this._hl|0,S=0;S<32;S+=2)B[S]=E.readInt32BE(S*4),B[S+1]=E.readInt32BE(S*4+4);for(;S<160;S+=2){var M=B[S-30],b=B[S-15*2+1],g=s(M,b),k=y(b,M);M=B[S-2*2],b=B[S-2*2+1];var A=p(M,b),I=w(b,M),q=B[S-7*2],$=B[S-7*2+1],N=B[S-16*2],H=B[S-16*2+1],G=k+$|0,J=g+q+_(G,k)|0;G=G+I|0,J=J+A+_(G,I)|0,G=G+H|0,J=J+N+_(G,H)|0,B[S]=J,B[S+1]=G}for(var fe=0;fe<160;fe+=2){J=B[fe],G=B[fe+1];var L=f(R,T,D),F=f(ie,Y,m),X=c(R,ie),ne=c(ie,R),se=u(z,o),V=u(o,z),O=n[fe],P=n[fe+1],K=d(z,W,te),ae=d(o,a,v),oe=x+V|0,de=re+se+_(oe,x)|0;oe=oe+ae|0,de=de+K+_(oe,ae)|0,oe=oe+P|0,de=de+O+_(oe,P)|0,oe=oe+G|0,de=de+J+_(oe,G)|0;var be=ne+F|0,pe=X+L+_(be,ne)|0;re=te,x=v,te=W,v=a,W=z,a=o,o=h+oe|0,z=U+de+_(o,h)|0,U=D,h=m,D=T,m=Y,T=R,Y=ie,ie=oe+be|0,R=de+pe+_(ie,oe)|0}this._al=this._al+ie|0,this._bl=this._bl+Y|0,this._cl=this._cl+m|0,this._dl=this._dl+h|0,this._el=this._el+o|0,this._fl=this._fl+a|0,this._gl=this._gl+v|0,this._hl=this._hl+x|0,this._ah=this._ah+R+_(this._al,ie)|0,this._bh=this._bh+T+_(this._bl,Y)|0,this._ch=this._ch+D+_(this._cl,m)|0,this._dh=this._dh+U+_(this._dl,h)|0,this._eh=this._eh+z+_(this._el,o)|0,this._fh=this._fh+W+_(this._fl,a)|0,this._gh=this._gh+te+_(this._gl,v)|0,this._hh=this._hh+re+_(this._hl,x)|0},t.prototype._hash=function(){var E=i.allocUnsafe(64);function B(R,T,D){E.writeInt32BE(R,D),E.writeInt32BE(T,D+4)}return B(this._ah,this._al,0),B(this._bh,this._bl,8),B(this._ch,this._cl,16),B(this._dh,this._dl,24),B(this._eh,this._el,32),B(this._fh,this._fl,40),B(this._gh,this._gl,48),B(this._hh,this._hl,56),E},sa=t,sa}var oa,Xo;function Bd(){if(Xo)return oa;Xo=1;var r=Mt(),e=gc(),i=oi(),n=At().Buffer,l=new Array(160);function t(){this.init(),this._w=l,i.call(this,128,112)}return r(t,e),t.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},t.prototype._hash=function(){var d=n.allocUnsafe(48);function f(c,u,s){d.writeInt32BE(c,s),d.writeInt32BE(u,s+4)}return f(this._ah,this._al,0),f(this._bh,this._bl,8),f(this._ch,this._cl,16),f(this._dh,this._dl,24),f(this._eh,this._el,32),f(this._fh,this._fl,40),d},oa=t,oa}var Jo;function _s(){if(Jo)return Yi;Jo=1;var r=Md.exports=function(i){i=i.toLowerCase();var n=r[i];if(!n)throw new Error(i+" is not supported (we accept pull requests)");return new n};return r.sha=Sd(),r.sha1=Ad(),r.sha224=Ed(),r.sha256=bc(),r.sha384=Bd(),r.sha512=gc(),Yi}var ha,Qo;function Rd(){if(Qo)return ha;Qo=1,ha=i;var r=ds().EventEmitter,e=Mt();e(i,r),i.Readable=ys(),i.Writable=gs(),i.Duplex=$r(),i.Transform=ms(),i.PassThrough=lc(),i.finished=on(),i.pipeline=dc(),i.Stream=i;function i(){r.call(this)}return i.prototype.pipe=function(n,l){var t=this;function d(w){n.writable&&n.write(w)===!1&&t.pause&&t.pause()}t.on("data",d);function f(){t.readable&&t.resume&&t.resume()}n.on("drain",f),!n._isStdio&&(!l||l.end!==!1)&&(t.on("end",u),t.on("close",s));var c=!1;function u(){c||(c=!0,n.end())}function s(){c||(c=!0,typeof n.destroy=="function"&&n.destroy())}function y(w){if(p(),r.listenerCount(this,"error")===0)throw w}t.on("error",y),n.on("error",y);function p(){t.removeListener("data",d),n.removeListener("drain",f),t.removeListener("end",u),t.removeListener("close",s),t.removeListener("error",y),n.removeListener("error",y),t.removeListener("end",p),t.removeListener("close",p),n.removeListener("close",p)}return t.on("end",p),t.on("close",p),n.on("close",p),n.emit("pipe",t),n},ha}var ua,e0;function Lr(){if(e0)return ua;e0=1;var r=At().Buffer,e=Rd().Transform,i=Xf().StringDecoder,n=Mt();function l(t){e.call(this),this.hashMode=typeof t=="string",this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}return n(l,e),l.prototype.update=function(t,d,f){typeof t=="string"&&(t=r.from(t,d));var c=this._update(t);return this.hashMode?this:(f&&(c=this._toString(c,f)),c)},l.prototype.setAutoPadding=function(){},l.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},l.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},l.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},l.prototype._transform=function(t,d,f){var c;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(u){c=u}finally{f(c)}},l.prototype._flush=function(t){var d;try{this.push(this.__final())}catch(f){d=f}t(d)},l.prototype._finalOrDigest=function(t){var d=this.__final()||r.alloc(0);return t&&(d=this._toString(d,t,!0)),d},l.prototype._toString=function(t,d,f){if(this._decoder||(this._decoder=new i(d),this._encoding=d),this._encoding!==d)throw new Error("can't switch encodings");var c=this._decoder.write(t);return f&&(c+=this._decoder.end()),c},ua=l,ua}var ca,t0;function _i(){if(t0)return ca;t0=1;var r=Mt(),e=xs(),i=ws(),n=_s(),l=Lr();function t(d){l.call(this,"digest"),this._hash=d}return r(t,l),t.prototype._update=function(d){this._hash.update(d)},t.prototype._final=function(){return this._hash.digest()},ca=function(f){return f=f.toLowerCase(),f==="md5"?new e:f==="rmd160"||f==="ripemd160"?new i:new t(n(f))},ca}var la,r0;function kd(){if(r0)return la;r0=1;var r=Mt(),e=At().Buffer,i=Lr(),n=e.alloc(128),l=64;function t(d,f){i.call(this,"digest"),typeof f=="string"&&(f=e.from(f)),this._alg=d,this._key=f,f.length>l?f=d(f):f.lengthy){var p=u==="rmd160"?new t:d(u);s=p.update(s).digest()}else s.lengthr||i!==i)throw new TypeError("Bad key length")},va}var ba,s0;function _c(){if(s0)return ba;s0=1;var r;if(Bt.process&&Bt.process.browser)r="utf-8";else if(Bt.process&&Bt.process.version){var e=parseInt(pt.version.split(".")[0].slice(1),10);r=e>=6?"utf-8":"binary"}else r="utf-8";return ba=r,ba}var ga,o0;function Mc(){if(o0)return ga;o0=1;var r=At().Buffer;return ga=function(e,i,n){if(r.isBuffer(e))return e;if(typeof e=="string")return r.from(e,i);if(ArrayBuffer.isView(e))return r.from(e.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")},ga}var ya,h0;function Sc(){if(h0)return ya;h0=1;var r=yc(),e=ws(),i=_s(),n=At().Buffer,l=wc(),t=_c(),d=Mc(),f=n.alloc(128),c={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function u(p,w,_){var E=s(p),B=p==="sha512"||p==="sha384"?128:64;w.length>B?w=E(w):w.length>>0},ar.writeUInt32BE=function(l,t,d){l[0+d]=t>>>24,l[1+d]=t>>>16&255,l[2+d]=t>>>8&255,l[3+d]=t&255},ar.ip=function(l,t,d,f){for(var c=0,u=0,s=6;s>=0;s-=2){for(var y=0;y<=24;y+=8)c<<=1,c|=t>>>y+s&1;for(var y=0;y<=24;y+=8)c<<=1,c|=l>>>y+s&1}for(var s=6;s>=0;s-=2){for(var y=1;y<=25;y+=8)u<<=1,u|=t>>>y+s&1;for(var y=1;y<=25;y+=8)u<<=1,u|=l>>>y+s&1}d[f+0]=c>>>0,d[f+1]=u>>>0},ar.rip=function(l,t,d,f){for(var c=0,u=0,s=0;s<4;s++)for(var y=24;y>=0;y-=8)c<<=1,c|=t>>>y+s&1,c<<=1,c|=l>>>y+s&1;for(var s=4;s<8;s++)for(var y=24;y>=0;y-=8)u<<=1,u|=t>>>y+s&1,u<<=1,u|=l>>>y+s&1;d[f+0]=c>>>0,d[f+1]=u>>>0},ar.pc1=function(l,t,d,f){for(var c=0,u=0,s=7;s>=5;s--){for(var y=0;y<=24;y+=8)c<<=1,c|=t>>y+s&1;for(var y=0;y<=24;y+=8)c<<=1,c|=l>>y+s&1}for(var y=0;y<=24;y+=8)c<<=1,c|=t>>y+s&1;for(var s=1;s<=3;s++){for(var y=0;y<=24;y+=8)u<<=1,u|=t>>y+s&1;for(var y=0;y<=24;y+=8)u<<=1,u|=l>>y+s&1}for(var y=0;y<=24;y+=8)u<<=1,u|=l>>y+s&1;d[f+0]=c>>>0,d[f+1]=u>>>0},ar.r28shl=function(l,t){return l<>>28-t};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];ar.pc2=function(l,t,d,f){for(var c=0,u=0,s=r.length>>>1,y=0;y>>r[y]&1;for(var y=s;y>>r[y]&1;d[f+0]=c>>>0,d[f+1]=u>>>0},ar.expand=function(l,t,d){var f=0,c=0;f=(l&1)<<5|l>>>27;for(var u=23;u>=15;u-=4)f<<=6,f|=l>>>u&63;for(var u=11;u>=3;u-=4)c|=l>>>u&63,c<<=6;c|=(l&31)<<1|l>>>31,t[d+0]=f>>>0,t[d+1]=c>>>0};var e=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];ar.substitute=function(l,t){for(var d=0,f=0;f<4;f++){var c=l>>>18-f*6&63,u=e[f*64+c];d<<=4,d|=u}for(var f=0;f<4;f++){var c=t>>>18-f*6&63,u=e[4*64+f*64+c];d<<=4,d|=u}return d>>>0};var i=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];return ar.permute=function(l){for(var t=0,d=0;d>>i[d]&1;return t>>>0},ar.padSplit=function(l,t,d){for(var f=l.toString(2);f.length0;d--)l+=this._buffer(n,l),t+=this._flushBuffer(f,t);return l+=this._buffer(n,l),f},e.prototype.final=function(n){var l;n&&(l=this.update(n));var t;return this.type==="encrypt"?t=this._finalEncrypt():t=this._finalDecrypt(),l?l.concat(t):t},e.prototype._pad=function(n,l){if(l===0)return!1;for(;l>>1];s=i.r28shl(s,w),y=i.r28shl(y,w),i.pc2(s,y,c.keys,p)}},t.prototype._update=function(c,u,s,y){var p=this._desState,w=i.readUInt32BE(c,u),_=i.readUInt32BE(c,u+4);i.ip(w,_,p.tmp,0),w=p.tmp[0],_=p.tmp[1],this.type==="encrypt"?this._encrypt(p,w,_,p.tmp,0):this._decrypt(p,w,_,p.tmp,0),w=p.tmp[0],_=p.tmp[1],i.writeUInt32BE(s,w,y),i.writeUInt32BE(s,_,y+4)},t.prototype._pad=function(c,u){for(var s=c.length-u,y=u;y>>0,w=U}i.rip(_,w,y,p)},t.prototype._decrypt=function(c,u,s,y,p){for(var w=s,_=u,E=c.keys.length-2;E>=0;E-=2){var B=c.keys[E],R=c.keys[E+1];i.expand(w,c.tmp,0),B^=c.tmp[0],R^=c.tmp[1];var T=i.substitute(B,R),D=i.permute(T),U=w;w=(_^D)>>>0,_=U}i.rip(w,_,y,p)},_a}var Ma={},b0;function Hd(){if(b0)return Ma;b0=1;var r=pr(),e=Mt(),i={};function n(t){r.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var d=0;d>f%8,n._prev=i(n._prev,t?s:y);return u}function i(n,l){var t=n.length,d=-1,f=r.allocUnsafe(n.length);for(n=r.concat([n,r.from([l])]);++d>7;return f}return ka.encrypt=function(n,l,t){for(var d=l.length,f=r.allocUnsafe(d),c=-1;++c>>24]^w[R>>>16&255]^_[T>>>8&255]^E[D&255]^c[re++],z=p[R>>>24]^w[T>>>16&255]^_[D>>>8&255]^E[B&255]^c[re++],W=p[T>>>24]^w[D>>>16&255]^_[B>>>8&255]^E[R&255]^c[re++],te=p[D>>>24]^w[B>>>16&255]^_[R>>>8&255]^E[T&255]^c[re++],B=U,R=z,T=W,D=te;return U=(s[B>>>24]<<24|s[R>>>16&255]<<16|s[T>>>8&255]<<8|s[D&255])^c[re++],z=(s[R>>>24]<<24|s[T>>>16&255]<<16|s[D>>>8&255]<<8|s[B&255])^c[re++],W=(s[T>>>24]<<24|s[D>>>16&255]<<16|s[B>>>8&255]<<8|s[R&255])^c[re++],te=(s[D>>>24]<<24|s[B>>>16&255]<<16|s[R>>>8&255]<<8|s[T&255])^c[re++],U=U>>>0,z=z>>>0,W=W>>>0,te=te>>>0,[U,z,W,te]}var l=[0,1,2,4,8,16,32,64,128,27,54],t=function(){for(var f=new Array(256),c=0;c<256;c++)c<128?f[c]=c<<1:f[c]=c<<1^283;for(var u=[],s=[],y=[[],[],[],[]],p=[[],[],[],[]],w=0,_=0,E=0;E<256;++E){var B=_^_<<1^_<<2^_<<3^_<<4;B=B>>>8^B&255^99,u[w]=B,s[B]=w;var R=f[w],T=f[R],D=f[T],U=f[B]*257^B*16843008;y[0][w]=U<<24|U>>>8,y[1][w]=U<<16|U>>>16,y[2][w]=U<<8|U>>>24,y[3][w]=U,U=D*16843009^T*65537^R*257^w*16843008,p[0][B]=U<<24|U>>>8,p[1][B]=U<<16|U>>>16,p[2][B]=U<<8|U>>>24,p[3][B]=U,w===0?w=_=1:(w=R^f[f[f[D^R]]],_^=f[f[_]])}return{SBOX:u,INV_SBOX:s,SUB_MIX:y,INV_SUB_MIX:p}}();function d(f){this._key=e(f),this._reset()}return d.blockSize=4*4,d.keySize=256/8,d.prototype.blockSize=d.blockSize,d.prototype.keySize=d.keySize,d.prototype._reset=function(){for(var f=this._key,c=f.length,u=c+6,s=(u+1)*4,y=[],p=0;p>>24,w=t.SBOX[w>>>24]<<24|t.SBOX[w>>>16&255]<<16|t.SBOX[w>>>8&255]<<8|t.SBOX[w&255],w^=l[p/c|0]<<24):c>6&&p%c===4&&(w=t.SBOX[w>>>24]<<24|t.SBOX[w>>>16&255]<<16|t.SBOX[w>>>8&255]<<8|t.SBOX[w&255]),y[p]=y[p-c]^w}for(var _=[],E=0;E>>24]]^t.INV_SUB_MIX[1][t.SBOX[R>>>16&255]]^t.INV_SUB_MIX[2][t.SBOX[R>>>8&255]]^t.INV_SUB_MIX[3][t.SBOX[R&255]]}this._nRounds=u,this._keySchedule=y,this._invKeySchedule=_},d.prototype.encryptBlockRaw=function(f){return f=e(f),n(f,this._keySchedule,t.SUB_MIX,t.SBOX,this._nRounds)},d.prototype.encryptBlock=function(f){var c=this.encryptBlockRaw(f),u=r.allocUnsafe(16);return u.writeUInt32BE(c[0],0),u.writeUInt32BE(c[1],4),u.writeUInt32BE(c[2],8),u.writeUInt32BE(c[3],12),u},d.prototype.decryptBlock=function(f){f=e(f);var c=f[1];f[1]=f[3],f[3]=c;var u=n(f,this._invKeySchedule,t.INV_SUB_MIX,t.INV_SBOX,this._nRounds),s=r.allocUnsafe(16);return s.writeUInt32BE(u[0],0),s.writeUInt32BE(u[3],4),s.writeUInt32BE(u[2],8),s.writeUInt32BE(u[1],12),s},d.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},Oa.AES=d,Oa}var qa,T0;function i1(){if(T0)return qa;T0=1;var r=At().Buffer,e=r.alloc(16,0);function i(t){return[t.readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)]}function n(t){var d=r.allocUnsafe(16);return d.writeUInt32BE(t[0]>>>0,0),d.writeUInt32BE(t[1]>>>0,4),d.writeUInt32BE(t[2]>>>0,8),d.writeUInt32BE(t[3]>>>0,12),d}function l(t){this.h=t,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}return l.prototype.ghash=function(t){for(var d=-1;++d0;f--)t[f]=t[f]>>>1|(t[f-1]&1)<<31;t[0]=t[0]>>>1,u&&(t[0]=t[0]^225<<24)}this.state=n(d)},l.prototype.update=function(t){this.cache=r.concat([this.cache,t]);for(var d;this.cache.length>=16;)d=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(d)},l.prototype.final=function(t,d){return this.cache.length&&this.ghash(r.concat([this.cache,e],16)),this.ghash(n([0,t,0,d])),this.state},qa=l,qa}var Da,P0;function Cc(){if(P0)return Da;P0=1;var r=hn(),e=At().Buffer,i=Lr(),n=Mt(),l=i1(),t=Mi(),d=Rc();function f(s,y){var p=0;s.length!==y.length&&p++;for(var w=Math.min(s.length,y.length),_=0;_0||d>0;){var y=new e;y.update(s),y.update(n),l&&y.update(l),s=y.digest();var p=0;if(f>0){var w=c.length-f;p=Math.min(f,s.length),s.copy(c,w,0,p),f-=p}if(p0){var _=u.length-d,E=Math.min(d,s.length-p);s.copy(u,_,p,p+E),d-=E}}return s.fill(0),{key:c,iv:u}}return Na=i,Na}var D0;function n1(){if(D0)return Bi;D0=1;var r=Ss(),e=Cc(),i=At().Buffer,n=Ic(),l=Lr(),t=hn(),d=un(),f=Mt();function c(w,_,E){l.call(this),this._cache=new s,this._cipher=new t.AES(_),this._prev=i.from(E),this._mode=w,this._autopadding=!0}f(c,l),c.prototype._update=function(w){this._cache.add(w);for(var _,E,B=[];_=this._cache.get();)E=this._mode.encrypt(this,_),B.push(E);return i.concat(B)};var u=i.alloc(16,16);c.prototype._final=function(){var w=this._cache.flush();if(this._autopadding)return w=this._mode.encrypt(this,w),this._cipher.scrub(),w;if(!w.equals(u))throw this._cipher.scrub(),new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(w){return this._autopadding=!!w,this};function s(){this.cache=i.allocUnsafe(0)}s.prototype.add=function(w){this.cache=i.concat([this.cache,w])},s.prototype.get=function(){if(this.cache.length>15){var w=this.cache.slice(0,16);return this.cache=this.cache.slice(16),w}return null},s.prototype.flush=function(){for(var w=16-this.cache.length,_=i.allocUnsafe(w),E=-1;++E16)return _=this.cache.slice(0,16),this.cache=this.cache.slice(16),_}else if(this.cache.length>=16)return _=this.cache.slice(0,16),this.cache=this.cache.slice(16),_;return null},u.prototype.flush=function(){if(this.cache.length)return this.cache};function s(w){var _=w[15];if(_<1||_>16)throw new Error("unable to decrypt data");for(var E=-1;++E<_;)if(w[E+(16-_)]!==_)throw new Error("unable to decrypt data");if(_!==16)return w.slice(0,16-_)}function y(w,_,E){var B=i[w.toLowerCase()];if(!B)throw new TypeError("invalid suite type");if(typeof E=="string"&&(E=e.from(E)),B.mode!=="GCM"&&E.length!==B.iv)throw new TypeError("invalid iv length "+E.length);if(typeof _=="string"&&(_=e.from(_)),_.length!==B.key/8)throw new TypeError("invalid key length "+_.length);return B.type==="stream"?new n(B.module,_,E,!0):B.type==="auth"?new r(B.module,_,E,!0):new c(B.module,_,E)}function p(w,_){var E=i[w.toLowerCase()];if(!E)throw new TypeError("invalid suite type");var B=d(_,!1,E.key,E.iv);return y(w,B.key,B.iv)}return Ci.createDecipher=p,Ci.createDecipheriv=y,Ci}var N0;function As(){if(N0)return or;N0=1;var r=n1(),e=a1(),i=kc;function n(){return Object.keys(i)}return or.createCipher=or.Cipher=r.createCipher,or.createCipheriv=or.Cipheriv=r.createCipheriv,or.createDecipher=or.Decipher=e.createDecipher,or.createDecipheriv=or.Decipheriv=e.createDecipheriv,or.listCiphers=or.getCiphers=n,or}var Fa={},F0;function f1(){return F0||(F0=1,function(r){r["des-ecb"]={key:8,iv:0},r["des-cbc"]=r.des={key:8,iv:8},r["des-ede3-cbc"]=r.des3={key:24,iv:8},r["des-ede3"]={key:24,iv:0},r["des-ede-cbc"]={key:16,iv:8},r["des-ede"]={key:16,iv:0}}(Fa)),Fa}var U0;function s1(){if(U0)return sr;U0=1;var r=Vd(),e=As(),i=Ss(),n=f1(),l=un();function t(s,y){s=s.toLowerCase();var p,w;if(i[s])p=i[s].key,w=i[s].iv;else if(n[s])p=n[s].key*8,w=n[s].iv;else throw new TypeError("invalid suite type");var _=l(y,!1,p,w);return f(s,_.key,_.iv)}function d(s,y){s=s.toLowerCase();var p,w;if(i[s])p=i[s].key,w=i[s].iv;else if(n[s])p=n[s].key*8,w=n[s].iv;else throw new TypeError("invalid suite type");var _=l(y,!1,p,w);return c(s,_.key,_.iv)}function f(s,y,p){if(s=s.toLowerCase(),i[s])return e.createCipheriv(s,y,p);if(n[s])return new r({key:y,iv:p,mode:s});throw new TypeError("invalid suite type")}function c(s,y,p){if(s=s.toLowerCase(),i[s])return e.createDecipheriv(s,y,p);if(n[s])return new r({key:y,iv:p,mode:s,decrypt:!0});throw new TypeError("invalid suite type")}function u(){return Object.keys(n).concat(e.getCiphers())}return sr.createCipher=sr.Cipher=t,sr.createCipheriv=sr.Cipheriv=f,sr.createDecipher=sr.Decipher=d,sr.createDecipheriv=sr.Decipheriv=c,sr.listCiphers=sr.getCiphers=u,sr}var Fr={},Xi={},o1={get exports(){return Xi},set exports(r){Xi=r}},j0;function Vr(){return j0||(j0=1,function(r){(function(e,i){function n(Y,m){if(!Y)throw new Error(m||"Assertion failed")}function l(Y,m){Y.super_=m;var h=function(){};h.prototype=m.prototype,Y.prototype=new h,Y.prototype.constructor=Y}function t(Y,m,h){if(t.isBN(Y))return Y;this.negative=0,this.words=null,this.length=0,this.red=null,Y!==null&&((m==="le"||m==="be")&&(h=m,m=10),this._init(Y||0,m||10,h||"be"))}typeof e=="object"?e.exports=t:i.BN=t,t.BN=t,t.wordSize=26;var d;try{d=wt.Buffer}catch{}t.isBN=function(m){return m instanceof t?!0:m!==null&&typeof m=="object"&&m.constructor.wordSize===t.wordSize&&Array.isArray(m.words)},t.max=function(m,h){return m.cmp(h)>0?m:h},t.min=function(m,h){return m.cmp(h)<0?m:h},t.prototype._init=function(m,h,o){if(typeof m=="number")return this._initNumber(m,h,o);if(typeof m=="object")return this._initArray(m,h,o);h==="hex"&&(h=16),n(h===(h|0)&&h>=2&&h<=36),m=m.toString().replace(/\s+/g,"");var a=0;m[0]==="-"&&a++,h===16?this._parseHex(m,a):this._parseBase(m,h,a),m[0]==="-"&&(this.negative=1),this.strip(),o==="le"&&this._initArray(this.toArray(),h,o)},t.prototype._initNumber=function(m,h,o){m<0&&(this.negative=1,m=-m),m<67108864?(this.words=[m&67108863],this.length=1):m<4503599627370496?(this.words=[m&67108863,m/67108864&67108863],this.length=2):(n(m<9007199254740992),this.words=[m&67108863,m/67108864&67108863,1],this.length=3),o==="le"&&this._initArray(this.toArray(),h,o)},t.prototype._initArray=function(m,h,o){if(n(typeof m.length=="number"),m.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(m.length/3),this.words=new Array(this.length);for(var a=0;a=0;a-=3)x=m[a]|m[a-1]<<8|m[a-2]<<16,this.words[v]|=x<>>26-S&67108863,S+=24,S>=26&&(S-=26,v++);else if(o==="le")for(a=0,v=0;a>>26-S&67108863,S+=24,S>=26&&(S-=26,v++);return this.strip()};function f(Y,m,h){for(var o=0,a=Math.min(Y.length,h),v=m;v=49&&x<=54?o|=x-49+10:x>=17&&x<=22?o|=x-17+10:o|=x&15}return o}t.prototype._parseHex=function(m,h){this.length=Math.ceil((m.length-h)/6),this.words=new Array(this.length);for(var o=0;o=h;o-=6)v=f(m,o,o+6),this.words[a]|=v<>>26-x&4194303,x+=24,x>=26&&(x-=26,a++);o+6!==h&&(v=f(m,h,o+6),this.words[a]|=v<>>26-x&4194303),this.strip()};function c(Y,m,h,o){for(var a=0,v=Math.min(Y.length,h),x=m;x=49?a+=S-49+10:S>=17?a+=S-17+10:a+=S}return a}t.prototype._parseBase=function(m,h,o){this.words=[0],this.length=1;for(var a=0,v=1;v<=67108863;v*=h)a++;a--,v=v/h|0;for(var x=m.length-o,S=x%a,M=Math.min(x,x-S)+o,b=0,g=o;g1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?""};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],s=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];t.prototype.toString=function(m,h){m=m||10,h=h|0||1;var o;if(m===16||m==="hex"){o="";for(var a=0,v=0,x=0;x>>24-a&16777215,v!==0||x!==this.length-1?o=u[6-M.length]+M+o:o=M+o,a+=2,a>=26&&(a-=26,x--)}for(v!==0&&(o=v.toString(16)+o);o.length%h!==0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}if(m===(m|0)&&m>=2&&m<=36){var b=s[m],g=y[m];o="";var k=this.clone();for(k.negative=0;!k.isZero();){var A=k.modn(g).toString(m);k=k.idivn(g),k.isZero()?o=A+o:o=u[b-A.length]+A+o}for(this.isZero()&&(o="0"+o);o.length%h!==0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}n(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var m=this.words[0];return this.length===2?m+=this.words[1]*67108864:this.length===3&&this.words[2]===1?m+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-m:m},t.prototype.toJSON=function(){return this.toString(16)},t.prototype.toBuffer=function(m,h){return n(typeof d<"u"),this.toArrayLike(d,m,h)},t.prototype.toArray=function(m,h){return this.toArrayLike(Array,m,h)},t.prototype.toArrayLike=function(m,h,o){var a=this.byteLength(),v=o||Math.max(1,a);n(a<=v,"byte array longer than desired length"),n(v>0,"Requested array length <= 0"),this.strip();var x=h==="le",S=new m(v),M,b,g=this.clone();if(x){for(b=0;!g.isZero();b++)M=g.andln(255),g.iushrn(8),S[b]=M;for(;b=4096&&(o+=13,h>>>=13),h>=64&&(o+=7,h>>>=7),h>=8&&(o+=4,h>>>=4),h>=2&&(o+=2,h>>>=2),o+h},t.prototype._zeroBits=function(m){if(m===0)return 26;var h=m,o=0;return h&8191||(o+=13,h>>>=13),h&127||(o+=7,h>>>=7),h&15||(o+=4,h>>>=4),h&3||(o+=2,h>>>=2),h&1||o++,o},t.prototype.bitLength=function(){var m=this.words[this.length-1],h=this._countBits(m);return(this.length-1)*26+h};function p(Y){for(var m=new Array(Y.bitLength()),h=0;h>>a}return m}t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var m=0,h=0;hm.length?this.clone().ior(m):m.clone().ior(this)},t.prototype.uor=function(m){return this.length>m.length?this.clone().iuor(m):m.clone().iuor(this)},t.prototype.iuand=function(m){var h;this.length>m.length?h=m:h=this;for(var o=0;om.length?this.clone().iand(m):m.clone().iand(this)},t.prototype.uand=function(m){return this.length>m.length?this.clone().iuand(m):m.clone().iuand(this)},t.prototype.iuxor=function(m){var h,o;this.length>m.length?(h=this,o=m):(h=m,o=this);for(var a=0;am.length?this.clone().ixor(m):m.clone().ixor(this)},t.prototype.uxor=function(m){return this.length>m.length?this.clone().iuxor(m):m.clone().iuxor(this)},t.prototype.inotn=function(m){n(typeof m=="number"&&m>=0);var h=Math.ceil(m/26)|0,o=m%26;this._expand(h),o>0&&h--;for(var a=0;a0&&(this.words[a]=~this.words[a]&67108863>>26-o),this.strip()},t.prototype.notn=function(m){return this.clone().inotn(m)},t.prototype.setn=function(m,h){n(typeof m=="number"&&m>=0);var o=m/26|0,a=m%26;return this._expand(o+1),h?this.words[o]=this.words[o]|1<m.length?(o=this,a=m):(o=m,a=this);for(var v=0,x=0;x>>26;for(;v!==0&&x>>26;if(this.length=o.length,v!==0)this.words[this.length]=v,this.length++;else if(o!==this)for(;xm.length?this.clone().iadd(m):m.clone().iadd(this)},t.prototype.isub=function(m){if(m.negative!==0){m.negative=0;var h=this.iadd(m);return m.negative=1,h._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(m),this.negative=1,this._normSign();var o=this.cmp(m);if(o===0)return this.negative=0,this.length=1,this.words[0]=0,this;var a,v;o>0?(a=this,v=m):(a=m,v=this);for(var x=0,S=0;S>26,this.words[S]=h&67108863;for(;x!==0&&S>26,this.words[S]=h&67108863;if(x===0&&S>>26,k=M&67108863,A=Math.min(b,m.length-1),I=Math.max(0,b-Y.length+1);I<=A;I++){var q=b-I|0;a=Y.words[q]|0,v=m.words[I]|0,x=a*v+k,g+=x/67108864|0,k=x&67108863}h.words[b]=k|0,M=g|0}return M!==0?h.words[b]=M|0:h.length--,h.strip()}var _=function(m,h,o){var a=m.words,v=h.words,x=o.words,S=0,M,b,g,k=a[0]|0,A=k&8191,I=k>>>13,q=a[1]|0,$=q&8191,N=q>>>13,H=a[2]|0,G=H&8191,J=H>>>13,fe=a[3]|0,L=fe&8191,F=fe>>>13,X=a[4]|0,ne=X&8191,se=X>>>13,V=a[5]|0,O=V&8191,P=V>>>13,K=a[6]|0,ae=K&8191,oe=K>>>13,de=a[7]|0,be=de&8191,pe=de>>>13,Se=a[8]|0,we=Se&8191,Ae=Se>>>13,Ye=a[9]|0,Ie=Ye&8191,Te=Ye>>>13,Je=v[0]|0,Ke=Je&8191,Oe=Je>>>13,ut=v[1]|0,Ge=ut&8191,Fe=ut>>>13,Pt=v[2]|0,et=Pt&8191,He=Pt>>>13,Dt=v[3]|0,nt=Dt&8191,Ve=Dt>>>13,Rt=v[4]|0,Xe=Rt&8191,ze=Rt>>>13,Et=v[5]|0,ft=Et&8191,Ze=Et>>>13,Lt=v[6]|0,ct=Lt&8191,Ue=Lt>>>13,Nt=v[7]|0,j=Nt&8191,Z=Nt>>>13,Q=v[8]|0,C=Q&8191,ee=Q>>>13,ce=v[9]|0,ue=ce&8191,le=ce>>>13;o.negative=m.negative^h.negative,o.length=19,M=Math.imul(A,Ke),b=Math.imul(A,Oe),b=b+Math.imul(I,Ke)|0,g=Math.imul(I,Oe);var _e=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(_e>>>26)|0,_e&=67108863,M=Math.imul($,Ke),b=Math.imul($,Oe),b=b+Math.imul(N,Ke)|0,g=Math.imul(N,Oe),M=M+Math.imul(A,Ge)|0,b=b+Math.imul(A,Fe)|0,b=b+Math.imul(I,Ge)|0,g=g+Math.imul(I,Fe)|0;var Pe=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,M=Math.imul(G,Ke),b=Math.imul(G,Oe),b=b+Math.imul(J,Ke)|0,g=Math.imul(J,Oe),M=M+Math.imul($,Ge)|0,b=b+Math.imul($,Fe)|0,b=b+Math.imul(N,Ge)|0,g=g+Math.imul(N,Fe)|0,M=M+Math.imul(A,et)|0,b=b+Math.imul(A,He)|0,b=b+Math.imul(I,et)|0,g=g+Math.imul(I,He)|0;var ke=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(ke>>>26)|0,ke&=67108863,M=Math.imul(L,Ke),b=Math.imul(L,Oe),b=b+Math.imul(F,Ke)|0,g=Math.imul(F,Oe),M=M+Math.imul(G,Ge)|0,b=b+Math.imul(G,Fe)|0,b=b+Math.imul(J,Ge)|0,g=g+Math.imul(J,Fe)|0,M=M+Math.imul($,et)|0,b=b+Math.imul($,He)|0,b=b+Math.imul(N,et)|0,g=g+Math.imul(N,He)|0,M=M+Math.imul(A,nt)|0,b=b+Math.imul(A,Ve)|0,b=b+Math.imul(I,nt)|0,g=g+Math.imul(I,Ve)|0;var dt=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(dt>>>26)|0,dt&=67108863,M=Math.imul(ne,Ke),b=Math.imul(ne,Oe),b=b+Math.imul(se,Ke)|0,g=Math.imul(se,Oe),M=M+Math.imul(L,Ge)|0,b=b+Math.imul(L,Fe)|0,b=b+Math.imul(F,Ge)|0,g=g+Math.imul(F,Fe)|0,M=M+Math.imul(G,et)|0,b=b+Math.imul(G,He)|0,b=b+Math.imul(J,et)|0,g=g+Math.imul(J,He)|0,M=M+Math.imul($,nt)|0,b=b+Math.imul($,Ve)|0,b=b+Math.imul(N,nt)|0,g=g+Math.imul(N,Ve)|0,M=M+Math.imul(A,Xe)|0,b=b+Math.imul(A,ze)|0,b=b+Math.imul(I,Xe)|0,g=g+Math.imul(I,ze)|0;var Le=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(Le>>>26)|0,Le&=67108863,M=Math.imul(O,Ke),b=Math.imul(O,Oe),b=b+Math.imul(P,Ke)|0,g=Math.imul(P,Oe),M=M+Math.imul(ne,Ge)|0,b=b+Math.imul(ne,Fe)|0,b=b+Math.imul(se,Ge)|0,g=g+Math.imul(se,Fe)|0,M=M+Math.imul(L,et)|0,b=b+Math.imul(L,He)|0,b=b+Math.imul(F,et)|0,g=g+Math.imul(F,He)|0,M=M+Math.imul(G,nt)|0,b=b+Math.imul(G,Ve)|0,b=b+Math.imul(J,nt)|0,g=g+Math.imul(J,Ve)|0,M=M+Math.imul($,Xe)|0,b=b+Math.imul($,ze)|0,b=b+Math.imul(N,Xe)|0,g=g+Math.imul(N,ze)|0,M=M+Math.imul(A,ft)|0,b=b+Math.imul(A,Ze)|0,b=b+Math.imul(I,ft)|0,g=g+Math.imul(I,Ze)|0;var Qe=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,M=Math.imul(ae,Ke),b=Math.imul(ae,Oe),b=b+Math.imul(oe,Ke)|0,g=Math.imul(oe,Oe),M=M+Math.imul(O,Ge)|0,b=b+Math.imul(O,Fe)|0,b=b+Math.imul(P,Ge)|0,g=g+Math.imul(P,Fe)|0,M=M+Math.imul(ne,et)|0,b=b+Math.imul(ne,He)|0,b=b+Math.imul(se,et)|0,g=g+Math.imul(se,He)|0,M=M+Math.imul(L,nt)|0,b=b+Math.imul(L,Ve)|0,b=b+Math.imul(F,nt)|0,g=g+Math.imul(F,Ve)|0,M=M+Math.imul(G,Xe)|0,b=b+Math.imul(G,ze)|0,b=b+Math.imul(J,Xe)|0,g=g+Math.imul(J,ze)|0,M=M+Math.imul($,ft)|0,b=b+Math.imul($,Ze)|0,b=b+Math.imul(N,ft)|0,g=g+Math.imul(N,Ze)|0,M=M+Math.imul(A,ct)|0,b=b+Math.imul(A,Ue)|0,b=b+Math.imul(I,ct)|0,g=g+Math.imul(I,Ue)|0;var tt=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(tt>>>26)|0,tt&=67108863,M=Math.imul(be,Ke),b=Math.imul(be,Oe),b=b+Math.imul(pe,Ke)|0,g=Math.imul(pe,Oe),M=M+Math.imul(ae,Ge)|0,b=b+Math.imul(ae,Fe)|0,b=b+Math.imul(oe,Ge)|0,g=g+Math.imul(oe,Fe)|0,M=M+Math.imul(O,et)|0,b=b+Math.imul(O,He)|0,b=b+Math.imul(P,et)|0,g=g+Math.imul(P,He)|0,M=M+Math.imul(ne,nt)|0,b=b+Math.imul(ne,Ve)|0,b=b+Math.imul(se,nt)|0,g=g+Math.imul(se,Ve)|0,M=M+Math.imul(L,Xe)|0,b=b+Math.imul(L,ze)|0,b=b+Math.imul(F,Xe)|0,g=g+Math.imul(F,ze)|0,M=M+Math.imul(G,ft)|0,b=b+Math.imul(G,Ze)|0,b=b+Math.imul(J,ft)|0,g=g+Math.imul(J,Ze)|0,M=M+Math.imul($,ct)|0,b=b+Math.imul($,Ue)|0,b=b+Math.imul(N,ct)|0,g=g+Math.imul(N,Ue)|0,M=M+Math.imul(A,j)|0,b=b+Math.imul(A,Z)|0,b=b+Math.imul(I,j)|0,g=g+Math.imul(I,Z)|0;var ot=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(ot>>>26)|0,ot&=67108863,M=Math.imul(we,Ke),b=Math.imul(we,Oe),b=b+Math.imul(Ae,Ke)|0,g=Math.imul(Ae,Oe),M=M+Math.imul(be,Ge)|0,b=b+Math.imul(be,Fe)|0,b=b+Math.imul(pe,Ge)|0,g=g+Math.imul(pe,Fe)|0,M=M+Math.imul(ae,et)|0,b=b+Math.imul(ae,He)|0,b=b+Math.imul(oe,et)|0,g=g+Math.imul(oe,He)|0,M=M+Math.imul(O,nt)|0,b=b+Math.imul(O,Ve)|0,b=b+Math.imul(P,nt)|0,g=g+Math.imul(P,Ve)|0,M=M+Math.imul(ne,Xe)|0,b=b+Math.imul(ne,ze)|0,b=b+Math.imul(se,Xe)|0,g=g+Math.imul(se,ze)|0,M=M+Math.imul(L,ft)|0,b=b+Math.imul(L,Ze)|0,b=b+Math.imul(F,ft)|0,g=g+Math.imul(F,Ze)|0,M=M+Math.imul(G,ct)|0,b=b+Math.imul(G,Ue)|0,b=b+Math.imul(J,ct)|0,g=g+Math.imul(J,Ue)|0,M=M+Math.imul($,j)|0,b=b+Math.imul($,Z)|0,b=b+Math.imul(N,j)|0,g=g+Math.imul(N,Z)|0,M=M+Math.imul(A,C)|0,b=b+Math.imul(A,ee)|0,b=b+Math.imul(I,C)|0,g=g+Math.imul(I,ee)|0;var st=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(st>>>26)|0,st&=67108863,M=Math.imul(Ie,Ke),b=Math.imul(Ie,Oe),b=b+Math.imul(Te,Ke)|0,g=Math.imul(Te,Oe),M=M+Math.imul(we,Ge)|0,b=b+Math.imul(we,Fe)|0,b=b+Math.imul(Ae,Ge)|0,g=g+Math.imul(Ae,Fe)|0,M=M+Math.imul(be,et)|0,b=b+Math.imul(be,He)|0,b=b+Math.imul(pe,et)|0,g=g+Math.imul(pe,He)|0,M=M+Math.imul(ae,nt)|0,b=b+Math.imul(ae,Ve)|0,b=b+Math.imul(oe,nt)|0,g=g+Math.imul(oe,Ve)|0,M=M+Math.imul(O,Xe)|0,b=b+Math.imul(O,ze)|0,b=b+Math.imul(P,Xe)|0,g=g+Math.imul(P,ze)|0,M=M+Math.imul(ne,ft)|0,b=b+Math.imul(ne,Ze)|0,b=b+Math.imul(se,ft)|0,g=g+Math.imul(se,Ze)|0,M=M+Math.imul(L,ct)|0,b=b+Math.imul(L,Ue)|0,b=b+Math.imul(F,ct)|0,g=g+Math.imul(F,Ue)|0,M=M+Math.imul(G,j)|0,b=b+Math.imul(G,Z)|0,b=b+Math.imul(J,j)|0,g=g+Math.imul(J,Z)|0,M=M+Math.imul($,C)|0,b=b+Math.imul($,ee)|0,b=b+Math.imul(N,C)|0,g=g+Math.imul(N,ee)|0,M=M+Math.imul(A,ue)|0,b=b+Math.imul(A,le)|0,b=b+Math.imul(I,ue)|0,g=g+Math.imul(I,le)|0;var rt=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(rt>>>26)|0,rt&=67108863,M=Math.imul(Ie,Ge),b=Math.imul(Ie,Fe),b=b+Math.imul(Te,Ge)|0,g=Math.imul(Te,Fe),M=M+Math.imul(we,et)|0,b=b+Math.imul(we,He)|0,b=b+Math.imul(Ae,et)|0,g=g+Math.imul(Ae,He)|0,M=M+Math.imul(be,nt)|0,b=b+Math.imul(be,Ve)|0,b=b+Math.imul(pe,nt)|0,g=g+Math.imul(pe,Ve)|0,M=M+Math.imul(ae,Xe)|0,b=b+Math.imul(ae,ze)|0,b=b+Math.imul(oe,Xe)|0,g=g+Math.imul(oe,ze)|0,M=M+Math.imul(O,ft)|0,b=b+Math.imul(O,Ze)|0,b=b+Math.imul(P,ft)|0,g=g+Math.imul(P,Ze)|0,M=M+Math.imul(ne,ct)|0,b=b+Math.imul(ne,Ue)|0,b=b+Math.imul(se,ct)|0,g=g+Math.imul(se,Ue)|0,M=M+Math.imul(L,j)|0,b=b+Math.imul(L,Z)|0,b=b+Math.imul(F,j)|0,g=g+Math.imul(F,Z)|0,M=M+Math.imul(G,C)|0,b=b+Math.imul(G,ee)|0,b=b+Math.imul(J,C)|0,g=g+Math.imul(J,ee)|0,M=M+Math.imul($,ue)|0,b=b+Math.imul($,le)|0,b=b+Math.imul(N,ue)|0,g=g+Math.imul(N,le)|0;var at=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(at>>>26)|0,at&=67108863,M=Math.imul(Ie,et),b=Math.imul(Ie,He),b=b+Math.imul(Te,et)|0,g=Math.imul(Te,He),M=M+Math.imul(we,nt)|0,b=b+Math.imul(we,Ve)|0,b=b+Math.imul(Ae,nt)|0,g=g+Math.imul(Ae,Ve)|0,M=M+Math.imul(be,Xe)|0,b=b+Math.imul(be,ze)|0,b=b+Math.imul(pe,Xe)|0,g=g+Math.imul(pe,ze)|0,M=M+Math.imul(ae,ft)|0,b=b+Math.imul(ae,Ze)|0,b=b+Math.imul(oe,ft)|0,g=g+Math.imul(oe,Ze)|0,M=M+Math.imul(O,ct)|0,b=b+Math.imul(O,Ue)|0,b=b+Math.imul(P,ct)|0,g=g+Math.imul(P,Ue)|0,M=M+Math.imul(ne,j)|0,b=b+Math.imul(ne,Z)|0,b=b+Math.imul(se,j)|0,g=g+Math.imul(se,Z)|0,M=M+Math.imul(L,C)|0,b=b+Math.imul(L,ee)|0,b=b+Math.imul(F,C)|0,g=g+Math.imul(F,ee)|0,M=M+Math.imul(G,ue)|0,b=b+Math.imul(G,le)|0,b=b+Math.imul(J,ue)|0,g=g+Math.imul(J,le)|0;var it=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(it>>>26)|0,it&=67108863,M=Math.imul(Ie,nt),b=Math.imul(Ie,Ve),b=b+Math.imul(Te,nt)|0,g=Math.imul(Te,Ve),M=M+Math.imul(we,Xe)|0,b=b+Math.imul(we,ze)|0,b=b+Math.imul(Ae,Xe)|0,g=g+Math.imul(Ae,ze)|0,M=M+Math.imul(be,ft)|0,b=b+Math.imul(be,Ze)|0,b=b+Math.imul(pe,ft)|0,g=g+Math.imul(pe,Ze)|0,M=M+Math.imul(ae,ct)|0,b=b+Math.imul(ae,Ue)|0,b=b+Math.imul(oe,ct)|0,g=g+Math.imul(oe,Ue)|0,M=M+Math.imul(O,j)|0,b=b+Math.imul(O,Z)|0,b=b+Math.imul(P,j)|0,g=g+Math.imul(P,Z)|0,M=M+Math.imul(ne,C)|0,b=b+Math.imul(ne,ee)|0,b=b+Math.imul(se,C)|0,g=g+Math.imul(se,ee)|0,M=M+Math.imul(L,ue)|0,b=b+Math.imul(L,le)|0,b=b+Math.imul(F,ue)|0,g=g+Math.imul(F,le)|0;var Ne=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,M=Math.imul(Ie,Xe),b=Math.imul(Ie,ze),b=b+Math.imul(Te,Xe)|0,g=Math.imul(Te,ze),M=M+Math.imul(we,ft)|0,b=b+Math.imul(we,Ze)|0,b=b+Math.imul(Ae,ft)|0,g=g+Math.imul(Ae,Ze)|0,M=M+Math.imul(be,ct)|0,b=b+Math.imul(be,Ue)|0,b=b+Math.imul(pe,ct)|0,g=g+Math.imul(pe,Ue)|0,M=M+Math.imul(ae,j)|0,b=b+Math.imul(ae,Z)|0,b=b+Math.imul(oe,j)|0,g=g+Math.imul(oe,Z)|0,M=M+Math.imul(O,C)|0,b=b+Math.imul(O,ee)|0,b=b+Math.imul(P,C)|0,g=g+Math.imul(P,ee)|0,M=M+Math.imul(ne,ue)|0,b=b+Math.imul(ne,le)|0,b=b+Math.imul(se,ue)|0,g=g+Math.imul(se,le)|0;var We=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(We>>>26)|0,We&=67108863,M=Math.imul(Ie,ft),b=Math.imul(Ie,Ze),b=b+Math.imul(Te,ft)|0,g=Math.imul(Te,Ze),M=M+Math.imul(we,ct)|0,b=b+Math.imul(we,Ue)|0,b=b+Math.imul(Ae,ct)|0,g=g+Math.imul(Ae,Ue)|0,M=M+Math.imul(be,j)|0,b=b+Math.imul(be,Z)|0,b=b+Math.imul(pe,j)|0,g=g+Math.imul(pe,Z)|0,M=M+Math.imul(ae,C)|0,b=b+Math.imul(ae,ee)|0,b=b+Math.imul(oe,C)|0,g=g+Math.imul(oe,ee)|0,M=M+Math.imul(O,ue)|0,b=b+Math.imul(O,le)|0,b=b+Math.imul(P,ue)|0,g=g+Math.imul(P,le)|0;var De=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(De>>>26)|0,De&=67108863,M=Math.imul(Ie,ct),b=Math.imul(Ie,Ue),b=b+Math.imul(Te,ct)|0,g=Math.imul(Te,Ue),M=M+Math.imul(we,j)|0,b=b+Math.imul(we,Z)|0,b=b+Math.imul(Ae,j)|0,g=g+Math.imul(Ae,Z)|0,M=M+Math.imul(be,C)|0,b=b+Math.imul(be,ee)|0,b=b+Math.imul(pe,C)|0,g=g+Math.imul(pe,ee)|0,M=M+Math.imul(ae,ue)|0,b=b+Math.imul(ae,le)|0,b=b+Math.imul(oe,ue)|0,g=g+Math.imul(oe,le)|0;var je=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(je>>>26)|0,je&=67108863,M=Math.imul(Ie,j),b=Math.imul(Ie,Z),b=b+Math.imul(Te,j)|0,g=Math.imul(Te,Z),M=M+Math.imul(we,C)|0,b=b+Math.imul(we,ee)|0,b=b+Math.imul(Ae,C)|0,g=g+Math.imul(Ae,ee)|0,M=M+Math.imul(be,ue)|0,b=b+Math.imul(be,le)|0,b=b+Math.imul(pe,ue)|0,g=g+Math.imul(pe,le)|0;var $e=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+($e>>>26)|0,$e&=67108863,M=Math.imul(Ie,C),b=Math.imul(Ie,ee),b=b+Math.imul(Te,C)|0,g=Math.imul(Te,ee),M=M+Math.imul(we,ue)|0,b=b+Math.imul(we,le)|0,b=b+Math.imul(Ae,ue)|0,g=g+Math.imul(Ae,le)|0;var qe=(S+M|0)+((b&8191)<<13)|0;S=(g+(b>>>13)|0)+(qe>>>26)|0,qe&=67108863,M=Math.imul(Ie,ue),b=Math.imul(Ie,le),b=b+Math.imul(Te,ue)|0,g=Math.imul(Te,le);var ve=(S+M|0)+((b&8191)<<13)|0;return S=(g+(b>>>13)|0)+(ve>>>26)|0,ve&=67108863,x[0]=_e,x[1]=Pe,x[2]=ke,x[3]=dt,x[4]=Le,x[5]=Qe,x[6]=tt,x[7]=ot,x[8]=st,x[9]=rt,x[10]=at,x[11]=it,x[12]=Ne,x[13]=We,x[14]=De,x[15]=je,x[16]=$e,x[17]=qe,x[18]=ve,S!==0&&(x[19]=S,o.length++),o};Math.imul||(_=w);function E(Y,m,h){h.negative=m.negative^Y.negative,h.length=Y.length+m.length;for(var o=0,a=0,v=0;v>>26)|0,a+=x>>>26,x&=67108863}h.words[v]=S,o=x,x=a}return o!==0?h.words[v]=o:h.length--,h.strip()}function B(Y,m,h){var o=new R;return o.mulp(Y,m,h)}t.prototype.mulTo=function(m,h){var o,a=this.length+m.length;return this.length===10&&m.length===10?o=_(this,m,h):a<63?o=w(this,m,h):a<1024?o=E(this,m,h):o=B(this,m,h),o};function R(Y,m){this.x=Y,this.y=m}R.prototype.makeRBT=function(m){for(var h=new Array(m),o=t.prototype._countBits(m)-1,a=0;a>=1;return a},R.prototype.permute=function(m,h,o,a,v,x){for(var S=0;S>>1)v++;return 1<>>13,o[2*x+1]=v&8191,v=v>>>13;for(x=2*h;x>=26,h+=a/67108864|0,h+=v>>>26,this.words[o]=v&67108863}return h!==0&&(this.words[o]=h,this.length++),this},t.prototype.muln=function(m){return this.clone().imuln(m)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(m){var h=p(m);if(h.length===0)return new t(1);for(var o=this,a=0;a=0);var h=m%26,o=(m-h)/26,a=67108863>>>26-h<<26-h,v;if(h!==0){var x=0;for(v=0;v>>26-h}x&&(this.words[v]=x,this.length++)}if(o!==0){for(v=this.length-1;v>=0;v--)this.words[v+o]=this.words[v];for(v=0;v=0);var a;h?a=(h-h%26)/26:a=0;var v=m%26,x=Math.min((m-v)/26,this.length),S=67108863^67108863>>>v<x)for(this.length-=x,b=0;b=0&&(g!==0||b>=a);b--){var k=this.words[b]|0;this.words[b]=g<<26-v|k>>>v,g=k&S}return M&&g!==0&&(M.words[M.length++]=g),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},t.prototype.ishrn=function(m,h,o){return n(this.negative===0),this.iushrn(m,h,o)},t.prototype.shln=function(m){return this.clone().ishln(m)},t.prototype.ushln=function(m){return this.clone().iushln(m)},t.prototype.shrn=function(m){return this.clone().ishrn(m)},t.prototype.ushrn=function(m){return this.clone().iushrn(m)},t.prototype.testn=function(m){n(typeof m=="number"&&m>=0);var h=m%26,o=(m-h)/26,a=1<=0);var h=m%26,o=(m-h)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=o)return this;if(h!==0&&o++,this.length=Math.min(o,this.length),h!==0){var a=67108863^67108863>>>h<=67108864;h++)this.words[h]-=67108864,h===this.length-1?this.words[h+1]=1:this.words[h+1]++;return this.length=Math.max(this.length,h+1),this},t.prototype.isubn=function(m){if(n(typeof m=="number"),n(m<67108864),m<0)return this.iaddn(-m);if(this.negative!==0)return this.negative=0,this.iaddn(m),this.negative=1,this;if(this.words[0]-=m,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var h=0;h>26)-(M/67108864|0),this.words[v+o]=x&67108863}for(;v>26,this.words[v+o]=x&67108863;if(S===0)return this.strip();for(n(S===-1),S=0,v=0;v>26,this.words[v]=x&67108863;return this.negative=1,this.strip()},t.prototype._wordDiv=function(m,h){var o=this.length-m.length,a=this.clone(),v=m,x=v.words[v.length-1]|0,S=this._countBits(x);o=26-S,o!==0&&(v=v.ushln(o),a.iushln(o),x=v.words[v.length-1]|0);var M=a.length-v.length,b;if(h!=="mod"){b=new t(null),b.length=M+1,b.words=new Array(b.length);for(var g=0;g=0;A--){var I=(a.words[v.length+A]|0)*67108864+(a.words[v.length+A-1]|0);for(I=Math.min(I/x|0,67108863),a._ishlnsubmul(v,I,A);a.negative!==0;)I--,a.negative=0,a._ishlnsubmul(v,1,A),a.isZero()||(a.negative^=1);b&&(b.words[A]=I)}return b&&b.strip(),a.strip(),h!=="div"&&o!==0&&a.iushrn(o),{div:b||null,mod:a}},t.prototype.divmod=function(m,h,o){if(n(!m.isZero()),this.isZero())return{div:new t(0),mod:new t(0)};var a,v,x;return this.negative!==0&&m.negative===0?(x=this.neg().divmod(m,h),h!=="mod"&&(a=x.div.neg()),h!=="div"&&(v=x.mod.neg(),o&&v.negative!==0&&v.iadd(m)),{div:a,mod:v}):this.negative===0&&m.negative!==0?(x=this.divmod(m.neg(),h),h!=="mod"&&(a=x.div.neg()),{div:a,mod:x.mod}):this.negative&m.negative?(x=this.neg().divmod(m.neg(),h),h!=="div"&&(v=x.mod.neg(),o&&v.negative!==0&&v.isub(m)),{div:x.div,mod:v}):m.length>this.length||this.cmp(m)<0?{div:new t(0),mod:this}:m.length===1?h==="div"?{div:this.divn(m.words[0]),mod:null}:h==="mod"?{div:null,mod:new t(this.modn(m.words[0]))}:{div:this.divn(m.words[0]),mod:new t(this.modn(m.words[0]))}:this._wordDiv(m,h)},t.prototype.div=function(m){return this.divmod(m,"div",!1).div},t.prototype.mod=function(m){return this.divmod(m,"mod",!1).mod},t.prototype.umod=function(m){return this.divmod(m,"mod",!0).mod},t.prototype.divRound=function(m){var h=this.divmod(m);if(h.mod.isZero())return h.div;var o=h.div.negative!==0?h.mod.isub(m):h.mod,a=m.ushrn(1),v=m.andln(1),x=o.cmp(a);return x<0||v===1&&x===0?h.div:h.div.negative!==0?h.div.isubn(1):h.div.iaddn(1)},t.prototype.modn=function(m){n(m<=67108863);for(var h=(1<<26)%m,o=0,a=this.length-1;a>=0;a--)o=(h*o+(this.words[a]|0))%m;return o},t.prototype.idivn=function(m){n(m<=67108863);for(var h=0,o=this.length-1;o>=0;o--){var a=(this.words[o]|0)+h*67108864;this.words[o]=a/m|0,h=a%m}return this.strip()},t.prototype.divn=function(m){return this.clone().idivn(m)},t.prototype.egcd=function(m){n(m.negative===0),n(!m.isZero());var h=this,o=m.clone();h.negative!==0?h=h.umod(m):h=h.clone();for(var a=new t(1),v=new t(0),x=new t(0),S=new t(1),M=0;h.isEven()&&o.isEven();)h.iushrn(1),o.iushrn(1),++M;for(var b=o.clone(),g=h.clone();!h.isZero();){for(var k=0,A=1;!(h.words[0]&A)&&k<26;++k,A<<=1);if(k>0)for(h.iushrn(k);k-- >0;)(a.isOdd()||v.isOdd())&&(a.iadd(b),v.isub(g)),a.iushrn(1),v.iushrn(1);for(var I=0,q=1;!(o.words[0]&q)&&I<26;++I,q<<=1);if(I>0)for(o.iushrn(I);I-- >0;)(x.isOdd()||S.isOdd())&&(x.iadd(b),S.isub(g)),x.iushrn(1),S.iushrn(1);h.cmp(o)>=0?(h.isub(o),a.isub(x),v.isub(S)):(o.isub(h),x.isub(a),S.isub(v))}return{a:x,b:S,gcd:o.iushln(M)}},t.prototype._invmp=function(m){n(m.negative===0),n(!m.isZero());var h=this,o=m.clone();h.negative!==0?h=h.umod(m):h=h.clone();for(var a=new t(1),v=new t(0),x=o.clone();h.cmpn(1)>0&&o.cmpn(1)>0;){for(var S=0,M=1;!(h.words[0]&M)&&S<26;++S,M<<=1);if(S>0)for(h.iushrn(S);S-- >0;)a.isOdd()&&a.iadd(x),a.iushrn(1);for(var b=0,g=1;!(o.words[0]&g)&&b<26;++b,g<<=1);if(b>0)for(o.iushrn(b);b-- >0;)v.isOdd()&&v.iadd(x),v.iushrn(1);h.cmp(o)>=0?(h.isub(o),a.isub(v)):(o.isub(h),v.isub(a))}var k;return h.cmpn(1)===0?k=a:k=v,k.cmpn(0)<0&&k.iadd(m),k},t.prototype.gcd=function(m){if(this.isZero())return m.abs();if(m.isZero())return this.abs();var h=this.clone(),o=m.clone();h.negative=0,o.negative=0;for(var a=0;h.isEven()&&o.isEven();a++)h.iushrn(1),o.iushrn(1);do{for(;h.isEven();)h.iushrn(1);for(;o.isEven();)o.iushrn(1);var v=h.cmp(o);if(v<0){var x=h;h=o,o=x}else if(v===0||o.cmpn(1)===0)break;h.isub(o)}while(!0);return o.iushln(a)},t.prototype.invm=function(m){return this.egcd(m).a.umod(m)},t.prototype.isEven=function(){return(this.words[0]&1)===0},t.prototype.isOdd=function(){return(this.words[0]&1)===1},t.prototype.andln=function(m){return this.words[0]&m},t.prototype.bincn=function(m){n(typeof m=="number");var h=m%26,o=(m-h)/26,a=1<>>26,S&=67108863,this.words[x]=S}return v!==0&&(this.words[x]=v,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(m){var h=m<0;if(this.negative!==0&&!h)return-1;if(this.negative===0&&h)return 1;this.strip();var o;if(this.length>1)o=1;else{h&&(m=-m),n(m<=67108863,"Number is too big");var a=this.words[0]|0;o=a===m?0:am.length)return 1;if(this.length=0;o--){var a=this.words[o]|0,v=m.words[o]|0;if(a!==v){av&&(h=1);break}}return h},t.prototype.gtn=function(m){return this.cmpn(m)===1},t.prototype.gt=function(m){return this.cmp(m)===1},t.prototype.gten=function(m){return this.cmpn(m)>=0},t.prototype.gte=function(m){return this.cmp(m)>=0},t.prototype.ltn=function(m){return this.cmpn(m)===-1},t.prototype.lt=function(m){return this.cmp(m)===-1},t.prototype.lten=function(m){return this.cmpn(m)<=0},t.prototype.lte=function(m){return this.cmp(m)<=0},t.prototype.eqn=function(m){return this.cmpn(m)===0},t.prototype.eq=function(m){return this.cmp(m)===0},t.red=function(m){return new re(m)},t.prototype.toRed=function(m){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),m.convertTo(this)._forceRed(m)},t.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(m){return this.red=m,this},t.prototype.forceRed=function(m){return n(!this.red,"Already a number in reduction context"),this._forceRed(m)},t.prototype.redAdd=function(m){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,m)},t.prototype.redIAdd=function(m){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,m)},t.prototype.redSub=function(m){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,m)},t.prototype.redISub=function(m){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,m)},t.prototype.redShl=function(m){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,m)},t.prototype.redMul=function(m){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,m),this.red.mul(this,m)},t.prototype.redIMul=function(m){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,m),this.red.imul(this,m)},t.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(m){return n(this.red&&!m.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,m)};var T={k256:null,p224:null,p192:null,p25519:null};function D(Y,m){this.name=Y,this.p=new t(m,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}D.prototype._tmp=function(){var m=new t(null);return m.words=new Array(Math.ceil(this.n/13)),m},D.prototype.ireduce=function(m){var h=m,o;do this.split(h,this.tmp),h=this.imulK(h),h=h.iadd(this.tmp),o=h.bitLength();while(o>this.n);var a=o0?h.isub(this.p):h.strip(),h},D.prototype.split=function(m,h){m.iushrn(this.n,0,h)},D.prototype.imulK=function(m){return m.imul(this.k)};function U(){D.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}l(U,D),U.prototype.split=function(m,h){for(var o=4194303,a=Math.min(m.length,9),v=0;v>>22,x=S}x>>>=22,m.words[v-10]=x,x===0&&m.length>10?m.length-=10:m.length-=9},U.prototype.imulK=function(m){m.words[m.length]=0,m.words[m.length+1]=0,m.length+=2;for(var h=0,o=0;o>>=26,m.words[o]=v,h=a}return h!==0&&(m.words[m.length++]=h),m},t._prime=function(m){if(T[m])return T[m];var h;if(m==="k256")h=new U;else if(m==="p224")h=new z;else if(m==="p192")h=new W;else if(m==="p25519")h=new te;else throw new Error("Unknown prime "+m);return T[m]=h,h};function re(Y){if(typeof Y=="string"){var m=t._prime(Y);this.m=m.p,this.prime=m}else n(Y.gtn(1),"modulus must be greater than 1"),this.m=Y,this.prime=null}re.prototype._verify1=function(m){n(m.negative===0,"red works only with positives"),n(m.red,"red works only with red numbers")},re.prototype._verify2=function(m,h){n((m.negative|h.negative)===0,"red works only with positives"),n(m.red&&m.red===h.red,"red works only with red numbers")},re.prototype.imod=function(m){return this.prime?this.prime.ireduce(m)._forceRed(this):m.umod(this.m)._forceRed(this)},re.prototype.neg=function(m){return m.isZero()?m.clone():this.m.sub(m)._forceRed(this)},re.prototype.add=function(m,h){this._verify2(m,h);var o=m.add(h);return o.cmp(this.m)>=0&&o.isub(this.m),o._forceRed(this)},re.prototype.iadd=function(m,h){this._verify2(m,h);var o=m.iadd(h);return o.cmp(this.m)>=0&&o.isub(this.m),o},re.prototype.sub=function(m,h){this._verify2(m,h);var o=m.sub(h);return o.cmpn(0)<0&&o.iadd(this.m),o._forceRed(this)},re.prototype.isub=function(m,h){this._verify2(m,h);var o=m.isub(h);return o.cmpn(0)<0&&o.iadd(this.m),o},re.prototype.shl=function(m,h){return this._verify1(m),this.imod(m.ushln(h))},re.prototype.imul=function(m,h){return this._verify2(m,h),this.imod(m.imul(h))},re.prototype.mul=function(m,h){return this._verify2(m,h),this.imod(m.mul(h))},re.prototype.isqr=function(m){return this.imul(m,m.clone())},re.prototype.sqr=function(m){return this.mul(m,m)},re.prototype.sqrt=function(m){if(m.isZero())return m.clone();var h=this.m.andln(3);if(n(h%2===1),h===3){var o=this.m.add(new t(1)).iushrn(2);return this.pow(m,o)}for(var a=this.m.subn(1),v=0;!a.isZero()&&a.andln(1)===0;)v++,a.iushrn(1);n(!a.isZero());var x=new t(1).toRed(this),S=x.redNeg(),M=this.m.subn(1).iushrn(1),b=this.m.bitLength();for(b=new t(2*b*b).toRed(this);this.pow(b,M).cmp(S)!==0;)b.redIAdd(S);for(var g=this.pow(b,a),k=this.pow(m,a.addn(1).iushrn(1)),A=this.pow(m,a),I=v;A.cmp(x)!==0;){for(var q=A,$=0;q.cmp(x)!==0;$++)q=q.redSqr();n($=0;v--){for(var g=h.words[v],k=b-1;k>=0;k--){var A=g>>k&1;if(x!==a[0]&&(x=this.sqr(x)),A===0&&S===0){M=0;continue}S<<=1,S|=A,M++,!(M!==o&&(v!==0||k!==0))&&(x=this.mul(x,a[S]),M=0,S=0)}b=26}return x},re.prototype.convertTo=function(m){var h=m.umod(this.m);return h===m?h.clone():h},re.prototype.convertFrom=function(m){var h=m.clone();return h.red=null,h},t.mont=function(m){return new ie(m)};function ie(Y){re.call(this,Y),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}l(ie,re),ie.prototype.convertTo=function(m){return this.imod(m.ushln(this.shift))},ie.prototype.convertFrom=function(m){var h=this.imod(m.mul(this.rinv));return h.red=null,h},ie.prototype.imul=function(m,h){if(m.isZero()||h.isZero())return m.words[0]=0,m.length=1,m;var o=m.imul(h),a=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=o.isub(a).iushrn(this.shift),x=v;return v.cmp(this.m)>=0?x=v.isub(this.m):v.cmpn(0)<0&&(x=v.iadd(this.m)),x._forceRed(this)},ie.prototype.mul=function(m,h){if(m.isZero()||h.isZero())return new t(0)._forceRed(this);var o=m.mul(h),a=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=o.isub(a).iushrn(this.shift),x=v;return v.cmp(this.m)>=0?x=v.isub(this.m):v.cmpn(0)<0&&(x=v.iadd(this.m)),x._forceRed(this)},ie.prototype.invm=function(m){var h=this.imod(m._invmp(this.m).mul(this.r2));return h._forceRed(this)}})(r,Bt)}(o1)),Xi}var gi={},h1={get exports(){return gi},set exports(r){gi=r}},z0;function Es(){if(z0)return gi;z0=1;var r;h1.exports=function(l){return r||(r=new e(null)),r.generate(l)};function e(n){this.rand=n}if(gi.Rand=e,e.prototype.generate=function(l){return this._rand(l)},e.prototype._rand=function(l){if(this.rand.getBytes)return this.rand.getBytes(l);for(var t=new Uint8Array(l),d=0;d=0);return f},i.prototype._randrange=function(l,t){var d=t.sub(l);return l.add(this._randbelow(d))},i.prototype.test=function(l,t,d){var f=l.bitLength(),c=r.mont(l),u=new r(1).toRed(c);t||(t=Math.max(1,f/48|0));for(var s=l.subn(1),y=0;!s.testn(y);y++);for(var p=l.shrn(y),w=s.toRed(c),_=!0;t>0;t--){var E=this._randrange(new r(2),s);d&&d(E);var B=E.toRed(c).redPow(p);if(!(B.cmp(u)===0||B.cmp(w)===0)){for(var R=1;R0;t--){var w=this._randrange(new r(2),u),_=l.gcd(w);if(_.cmpn(1)!==0)return _;var E=w.toRed(f).redPow(y);if(!(E.cmp(c)===0||E.cmp(p)===0)){for(var B=1;BR;)D.ishrn(1);if(D.isEven()&&D.iadd(t),D.testn(1)||D.iadd(d),T.cmp(d)){if(!T.cmp(f))for(;D.mod(c).cmp(u);)D.iadd(y)}else for(;D.mod(i).cmp(s);)D.iadd(y);if(U=D.shrn(1),_(U)&&_(D)&&E(U)&&E(D)&&l.test(U)&&l.test(D))return D}}return ja}const u1={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},c1={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},l1={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},d1={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},p1={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},v1={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},b1={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},g1={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"},y1={modp1:u1,modp2:c1,modp5:l1,modp14:d1,modp15:p1,modp16:v1,modp17:b1,modp18:g1};var za,K0;function m1(){if(K0)return za;K0=1;var r=Vr(),e=Tc(),i=new e,n=new r(24),l=new r(11),t=new r(10),d=new r(3),f=new r(7),c=Pc(),u=fi();za=_;function s(B,R){return R=R||"utf8",wt.Buffer.isBuffer(B)||(B=new wt.Buffer(B,R)),this._pub=new r(B),this}function y(B,R){return R=R||"utf8",wt.Buffer.isBuffer(B)||(B=new wt.Buffer(B,R)),this._priv=new r(B),this}var p={};function w(B,R){var T=R.toString("hex"),D=[T,B.toString(16)].join("_");if(D in p)return p[D];var U=0;if(B.isEven()||!c.simpleSieve||!c.fermatTest(B)||!i.test(B))return U+=1,T==="02"||T==="05"?U+=8:U+=4,p[D]=U,U;i.test(B.shrn(1))||(U+=2);var z;switch(T){case"02":B.mod(n).cmp(l)&&(U+=8);break;case"05":z=B.mod(t),z.cmp(d)&&z.cmp(f)&&(U+=8);break;default:U+=4}return p[D]=U,U}function _(B,R,T){this.setGenerator(R),this.__prime=new r(B),this._prime=r.mont(this.__prime),this._primeLen=B.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,T?(this.setPublicKey=s,this.setPrivateKey=y):this._primeCode=8}Object.defineProperty(_.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=w(this.__prime,this.__gen)),this._primeCode}}),_.prototype.generateKeys=function(){return this._priv||(this._priv=new r(u(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},_.prototype.computeSecret=function(B){B=new r(B),B=B.toRed(this._prime);var R=B.redPow(this._priv).fromRed(),T=new wt.Buffer(R.toArray()),D=this.getPrime();if(T.length0?a:v},t.min=function(a,v){return a.cmp(v)<0?a:v},t.prototype._init=function(a,v,x){if(typeof a=="number")return this._initNumber(a,v,x);if(typeof a=="object")return this._initArray(a,v,x);v==="hex"&&(v=16),n(v===(v|0)&&v>=2&&v<=36),a=a.toString().replace(/\s+/g,"");var S=0;a[0]==="-"&&(S++,this.negative=1),S=0;S-=3)b=a[S]|a[S-1]<<8|a[S-2]<<16,this.words[M]|=b<>>26-g&67108863,g+=24,g>=26&&(g-=26,M++);else if(x==="le")for(S=0,M=0;S>>26-g&67108863,g+=24,g>=26&&(g-=26,M++);return this._strip()};function f(o,a){var v=o.charCodeAt(a);if(v>=48&&v<=57)return v-48;if(v>=65&&v<=70)return v-55;if(v>=97&&v<=102)return v-87;n(!1,"Invalid character in "+o)}function c(o,a,v){var x=f(o,v);return v-1>=a&&(x|=f(o,v-1)<<4),x}t.prototype._parseHex=function(a,v,x){this.length=Math.ceil((a.length-v)/6),this.words=new Array(this.length);for(var S=0;S=v;S-=2)g=c(a,v,S)<=18?(M-=18,b+=1,this.words[b]|=g>>>26):M+=8;else{var k=a.length-v;for(S=k%2===0?v+1:v;S=18?(M-=18,b+=1,this.words[b]|=g>>>26):M+=8}this._strip()};function u(o,a,v,x){for(var S=0,M=0,b=Math.min(o.length,v),g=a;g=49?M=k-49+10:k>=17?M=k-17+10:M=k,n(k>=0&&M1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{t.prototype[Symbol.for("nodejs.util.inspect.custom")]=y}catch{t.prototype.inspect=y}else t.prototype.inspect=y;function y(){return(this.red?""}var p=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],w=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],_=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];t.prototype.toString=function(a,v){a=a||10,v=v|0||1;var x;if(a===16||a==="hex"){x="";for(var S=0,M=0,b=0;b>>24-S&16777215,S+=2,S>=26&&(S-=26,b--),M!==0||b!==this.length-1?x=p[6-k.length]+k+x:x=k+x}for(M!==0&&(x=M.toString(16)+x);x.length%v!==0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}if(a===(a|0)&&a>=2&&a<=36){var A=w[a],I=_[a];x="";var q=this.clone();for(q.negative=0;!q.isZero();){var $=q.modrn(I).toString(a);q=q.idivn(I),q.isZero()?x=$+x:x=p[A-$.length]+$+x}for(this.isZero()&&(x="0"+x);x.length%v!==0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}n(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var a=this.words[0];return this.length===2?a+=this.words[1]*67108864:this.length===3&&this.words[2]===1?a+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-a:a},t.prototype.toJSON=function(){return this.toString(16,2)},d&&(t.prototype.toBuffer=function(a,v){return this.toArrayLike(d,a,v)}),t.prototype.toArray=function(a,v){return this.toArrayLike(Array,a,v)};var E=function(a,v){return a.allocUnsafe?a.allocUnsafe(v):new a(v)};t.prototype.toArrayLike=function(a,v,x){this._strip();var S=this.byteLength(),M=x||Math.max(1,S);n(S<=M,"byte array longer than desired length"),n(M>0,"Requested array length <= 0");var b=E(a,M),g=v==="le"?"LE":"BE";return this["_toArrayLike"+g](b,S),b},t.prototype._toArrayLikeLE=function(a,v){for(var x=0,S=0,M=0,b=0;M>8&255),x>16&255),b===6?(x>24&255),S=0,b=0):(S=g>>>24,b+=2)}if(x=0&&(a[x--]=g>>8&255),x>=0&&(a[x--]=g>>16&255),b===6?(x>=0&&(a[x--]=g>>24&255),S=0,b=0):(S=g>>>24,b+=2)}if(x>=0)for(a[x--]=S;x>=0;)a[x--]=0},Math.clz32?t.prototype._countBits=function(a){return 32-Math.clz32(a)}:t.prototype._countBits=function(a){var v=a,x=0;return v>=4096&&(x+=13,v>>>=13),v>=64&&(x+=7,v>>>=7),v>=8&&(x+=4,v>>>=4),v>=2&&(x+=2,v>>>=2),x+v},t.prototype._zeroBits=function(a){if(a===0)return 26;var v=a,x=0;return v&8191||(x+=13,v>>>=13),v&127||(x+=7,v>>>=7),v&15||(x+=4,v>>>=4),v&3||(x+=2,v>>>=2),v&1||x++,x},t.prototype.bitLength=function(){var a=this.words[this.length-1],v=this._countBits(a);return(this.length-1)*26+v};function B(o){for(var a=new Array(o.bitLength()),v=0;v>>S&1}return a}t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var a=0,v=0;va.length?this.clone().ior(a):a.clone().ior(this)},t.prototype.uor=function(a){return this.length>a.length?this.clone().iuor(a):a.clone().iuor(this)},t.prototype.iuand=function(a){var v;this.length>a.length?v=a:v=this;for(var x=0;xa.length?this.clone().iand(a):a.clone().iand(this)},t.prototype.uand=function(a){return this.length>a.length?this.clone().iuand(a):a.clone().iuand(this)},t.prototype.iuxor=function(a){var v,x;this.length>a.length?(v=this,x=a):(v=a,x=this);for(var S=0;Sa.length?this.clone().ixor(a):a.clone().ixor(this)},t.prototype.uxor=function(a){return this.length>a.length?this.clone().iuxor(a):a.clone().iuxor(this)},t.prototype.inotn=function(a){n(typeof a=="number"&&a>=0);var v=Math.ceil(a/26)|0,x=a%26;this._expand(v),x>0&&v--;for(var S=0;S0&&(this.words[S]=~this.words[S]&67108863>>26-x),this._strip()},t.prototype.notn=function(a){return this.clone().inotn(a)},t.prototype.setn=function(a,v){n(typeof a=="number"&&a>=0);var x=a/26|0,S=a%26;return this._expand(x+1),v?this.words[x]=this.words[x]|1<a.length?(x=this,S=a):(x=a,S=this);for(var M=0,b=0;b>>26;for(;M!==0&&b>>26;if(this.length=x.length,M!==0)this.words[this.length]=M,this.length++;else if(x!==this)for(;ba.length?this.clone().iadd(a):a.clone().iadd(this)},t.prototype.isub=function(a){if(a.negative!==0){a.negative=0;var v=this.iadd(a);return a.negative=1,v._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(a),this.negative=1,this._normSign();var x=this.cmp(a);if(x===0)return this.negative=0,this.length=1,this.words[0]=0,this;var S,M;x>0?(S=this,M=a):(S=a,M=this);for(var b=0,g=0;g>26,this.words[g]=v&67108863;for(;b!==0&&g>26,this.words[g]=v&67108863;if(b===0&&g>>26,q=k&67108863,$=Math.min(A,a.length-1),N=Math.max(0,A-o.length+1);N<=$;N++){var H=A-N|0;S=o.words[H]|0,M=a.words[N]|0,b=S*M+q,I+=b/67108864|0,q=b&67108863}v.words[A]=q|0,k=I|0}return k!==0?v.words[A]=k|0:v.length--,v._strip()}var T=function(a,v,x){var S=a.words,M=v.words,b=x.words,g=0,k,A,I,q=S[0]|0,$=q&8191,N=q>>>13,H=S[1]|0,G=H&8191,J=H>>>13,fe=S[2]|0,L=fe&8191,F=fe>>>13,X=S[3]|0,ne=X&8191,se=X>>>13,V=S[4]|0,O=V&8191,P=V>>>13,K=S[5]|0,ae=K&8191,oe=K>>>13,de=S[6]|0,be=de&8191,pe=de>>>13,Se=S[7]|0,we=Se&8191,Ae=Se>>>13,Ye=S[8]|0,Ie=Ye&8191,Te=Ye>>>13,Je=S[9]|0,Ke=Je&8191,Oe=Je>>>13,ut=M[0]|0,Ge=ut&8191,Fe=ut>>>13,Pt=M[1]|0,et=Pt&8191,He=Pt>>>13,Dt=M[2]|0,nt=Dt&8191,Ve=Dt>>>13,Rt=M[3]|0,Xe=Rt&8191,ze=Rt>>>13,Et=M[4]|0,ft=Et&8191,Ze=Et>>>13,Lt=M[5]|0,ct=Lt&8191,Ue=Lt>>>13,Nt=M[6]|0,j=Nt&8191,Z=Nt>>>13,Q=M[7]|0,C=Q&8191,ee=Q>>>13,ce=M[8]|0,ue=ce&8191,le=ce>>>13,_e=M[9]|0,Pe=_e&8191,ke=_e>>>13;x.negative=a.negative^v.negative,x.length=19,k=Math.imul($,Ge),A=Math.imul($,Fe),A=A+Math.imul(N,Ge)|0,I=Math.imul(N,Fe);var dt=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(dt>>>26)|0,dt&=67108863,k=Math.imul(G,Ge),A=Math.imul(G,Fe),A=A+Math.imul(J,Ge)|0,I=Math.imul(J,Fe),k=k+Math.imul($,et)|0,A=A+Math.imul($,He)|0,A=A+Math.imul(N,et)|0,I=I+Math.imul(N,He)|0;var Le=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(Le>>>26)|0,Le&=67108863,k=Math.imul(L,Ge),A=Math.imul(L,Fe),A=A+Math.imul(F,Ge)|0,I=Math.imul(F,Fe),k=k+Math.imul(G,et)|0,A=A+Math.imul(G,He)|0,A=A+Math.imul(J,et)|0,I=I+Math.imul(J,He)|0,k=k+Math.imul($,nt)|0,A=A+Math.imul($,Ve)|0,A=A+Math.imul(N,nt)|0,I=I+Math.imul(N,Ve)|0;var Qe=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,k=Math.imul(ne,Ge),A=Math.imul(ne,Fe),A=A+Math.imul(se,Ge)|0,I=Math.imul(se,Fe),k=k+Math.imul(L,et)|0,A=A+Math.imul(L,He)|0,A=A+Math.imul(F,et)|0,I=I+Math.imul(F,He)|0,k=k+Math.imul(G,nt)|0,A=A+Math.imul(G,Ve)|0,A=A+Math.imul(J,nt)|0,I=I+Math.imul(J,Ve)|0,k=k+Math.imul($,Xe)|0,A=A+Math.imul($,ze)|0,A=A+Math.imul(N,Xe)|0,I=I+Math.imul(N,ze)|0;var tt=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(tt>>>26)|0,tt&=67108863,k=Math.imul(O,Ge),A=Math.imul(O,Fe),A=A+Math.imul(P,Ge)|0,I=Math.imul(P,Fe),k=k+Math.imul(ne,et)|0,A=A+Math.imul(ne,He)|0,A=A+Math.imul(se,et)|0,I=I+Math.imul(se,He)|0,k=k+Math.imul(L,nt)|0,A=A+Math.imul(L,Ve)|0,A=A+Math.imul(F,nt)|0,I=I+Math.imul(F,Ve)|0,k=k+Math.imul(G,Xe)|0,A=A+Math.imul(G,ze)|0,A=A+Math.imul(J,Xe)|0,I=I+Math.imul(J,ze)|0,k=k+Math.imul($,ft)|0,A=A+Math.imul($,Ze)|0,A=A+Math.imul(N,ft)|0,I=I+Math.imul(N,Ze)|0;var ot=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(ot>>>26)|0,ot&=67108863,k=Math.imul(ae,Ge),A=Math.imul(ae,Fe),A=A+Math.imul(oe,Ge)|0,I=Math.imul(oe,Fe),k=k+Math.imul(O,et)|0,A=A+Math.imul(O,He)|0,A=A+Math.imul(P,et)|0,I=I+Math.imul(P,He)|0,k=k+Math.imul(ne,nt)|0,A=A+Math.imul(ne,Ve)|0,A=A+Math.imul(se,nt)|0,I=I+Math.imul(se,Ve)|0,k=k+Math.imul(L,Xe)|0,A=A+Math.imul(L,ze)|0,A=A+Math.imul(F,Xe)|0,I=I+Math.imul(F,ze)|0,k=k+Math.imul(G,ft)|0,A=A+Math.imul(G,Ze)|0,A=A+Math.imul(J,ft)|0,I=I+Math.imul(J,Ze)|0,k=k+Math.imul($,ct)|0,A=A+Math.imul($,Ue)|0,A=A+Math.imul(N,ct)|0,I=I+Math.imul(N,Ue)|0;var st=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(st>>>26)|0,st&=67108863,k=Math.imul(be,Ge),A=Math.imul(be,Fe),A=A+Math.imul(pe,Ge)|0,I=Math.imul(pe,Fe),k=k+Math.imul(ae,et)|0,A=A+Math.imul(ae,He)|0,A=A+Math.imul(oe,et)|0,I=I+Math.imul(oe,He)|0,k=k+Math.imul(O,nt)|0,A=A+Math.imul(O,Ve)|0,A=A+Math.imul(P,nt)|0,I=I+Math.imul(P,Ve)|0,k=k+Math.imul(ne,Xe)|0,A=A+Math.imul(ne,ze)|0,A=A+Math.imul(se,Xe)|0,I=I+Math.imul(se,ze)|0,k=k+Math.imul(L,ft)|0,A=A+Math.imul(L,Ze)|0,A=A+Math.imul(F,ft)|0,I=I+Math.imul(F,Ze)|0,k=k+Math.imul(G,ct)|0,A=A+Math.imul(G,Ue)|0,A=A+Math.imul(J,ct)|0,I=I+Math.imul(J,Ue)|0,k=k+Math.imul($,j)|0,A=A+Math.imul($,Z)|0,A=A+Math.imul(N,j)|0,I=I+Math.imul(N,Z)|0;var rt=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(rt>>>26)|0,rt&=67108863,k=Math.imul(we,Ge),A=Math.imul(we,Fe),A=A+Math.imul(Ae,Ge)|0,I=Math.imul(Ae,Fe),k=k+Math.imul(be,et)|0,A=A+Math.imul(be,He)|0,A=A+Math.imul(pe,et)|0,I=I+Math.imul(pe,He)|0,k=k+Math.imul(ae,nt)|0,A=A+Math.imul(ae,Ve)|0,A=A+Math.imul(oe,nt)|0,I=I+Math.imul(oe,Ve)|0,k=k+Math.imul(O,Xe)|0,A=A+Math.imul(O,ze)|0,A=A+Math.imul(P,Xe)|0,I=I+Math.imul(P,ze)|0,k=k+Math.imul(ne,ft)|0,A=A+Math.imul(ne,Ze)|0,A=A+Math.imul(se,ft)|0,I=I+Math.imul(se,Ze)|0,k=k+Math.imul(L,ct)|0,A=A+Math.imul(L,Ue)|0,A=A+Math.imul(F,ct)|0,I=I+Math.imul(F,Ue)|0,k=k+Math.imul(G,j)|0,A=A+Math.imul(G,Z)|0,A=A+Math.imul(J,j)|0,I=I+Math.imul(J,Z)|0,k=k+Math.imul($,C)|0,A=A+Math.imul($,ee)|0,A=A+Math.imul(N,C)|0,I=I+Math.imul(N,ee)|0;var at=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(at>>>26)|0,at&=67108863,k=Math.imul(Ie,Ge),A=Math.imul(Ie,Fe),A=A+Math.imul(Te,Ge)|0,I=Math.imul(Te,Fe),k=k+Math.imul(we,et)|0,A=A+Math.imul(we,He)|0,A=A+Math.imul(Ae,et)|0,I=I+Math.imul(Ae,He)|0,k=k+Math.imul(be,nt)|0,A=A+Math.imul(be,Ve)|0,A=A+Math.imul(pe,nt)|0,I=I+Math.imul(pe,Ve)|0,k=k+Math.imul(ae,Xe)|0,A=A+Math.imul(ae,ze)|0,A=A+Math.imul(oe,Xe)|0,I=I+Math.imul(oe,ze)|0,k=k+Math.imul(O,ft)|0,A=A+Math.imul(O,Ze)|0,A=A+Math.imul(P,ft)|0,I=I+Math.imul(P,Ze)|0,k=k+Math.imul(ne,ct)|0,A=A+Math.imul(ne,Ue)|0,A=A+Math.imul(se,ct)|0,I=I+Math.imul(se,Ue)|0,k=k+Math.imul(L,j)|0,A=A+Math.imul(L,Z)|0,A=A+Math.imul(F,j)|0,I=I+Math.imul(F,Z)|0,k=k+Math.imul(G,C)|0,A=A+Math.imul(G,ee)|0,A=A+Math.imul(J,C)|0,I=I+Math.imul(J,ee)|0,k=k+Math.imul($,ue)|0,A=A+Math.imul($,le)|0,A=A+Math.imul(N,ue)|0,I=I+Math.imul(N,le)|0;var it=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(it>>>26)|0,it&=67108863,k=Math.imul(Ke,Ge),A=Math.imul(Ke,Fe),A=A+Math.imul(Oe,Ge)|0,I=Math.imul(Oe,Fe),k=k+Math.imul(Ie,et)|0,A=A+Math.imul(Ie,He)|0,A=A+Math.imul(Te,et)|0,I=I+Math.imul(Te,He)|0,k=k+Math.imul(we,nt)|0,A=A+Math.imul(we,Ve)|0,A=A+Math.imul(Ae,nt)|0,I=I+Math.imul(Ae,Ve)|0,k=k+Math.imul(be,Xe)|0,A=A+Math.imul(be,ze)|0,A=A+Math.imul(pe,Xe)|0,I=I+Math.imul(pe,ze)|0,k=k+Math.imul(ae,ft)|0,A=A+Math.imul(ae,Ze)|0,A=A+Math.imul(oe,ft)|0,I=I+Math.imul(oe,Ze)|0,k=k+Math.imul(O,ct)|0,A=A+Math.imul(O,Ue)|0,A=A+Math.imul(P,ct)|0,I=I+Math.imul(P,Ue)|0,k=k+Math.imul(ne,j)|0,A=A+Math.imul(ne,Z)|0,A=A+Math.imul(se,j)|0,I=I+Math.imul(se,Z)|0,k=k+Math.imul(L,C)|0,A=A+Math.imul(L,ee)|0,A=A+Math.imul(F,C)|0,I=I+Math.imul(F,ee)|0,k=k+Math.imul(G,ue)|0,A=A+Math.imul(G,le)|0,A=A+Math.imul(J,ue)|0,I=I+Math.imul(J,le)|0,k=k+Math.imul($,Pe)|0,A=A+Math.imul($,ke)|0,A=A+Math.imul(N,Pe)|0,I=I+Math.imul(N,ke)|0;var Ne=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,k=Math.imul(Ke,et),A=Math.imul(Ke,He),A=A+Math.imul(Oe,et)|0,I=Math.imul(Oe,He),k=k+Math.imul(Ie,nt)|0,A=A+Math.imul(Ie,Ve)|0,A=A+Math.imul(Te,nt)|0,I=I+Math.imul(Te,Ve)|0,k=k+Math.imul(we,Xe)|0,A=A+Math.imul(we,ze)|0,A=A+Math.imul(Ae,Xe)|0,I=I+Math.imul(Ae,ze)|0,k=k+Math.imul(be,ft)|0,A=A+Math.imul(be,Ze)|0,A=A+Math.imul(pe,ft)|0,I=I+Math.imul(pe,Ze)|0,k=k+Math.imul(ae,ct)|0,A=A+Math.imul(ae,Ue)|0,A=A+Math.imul(oe,ct)|0,I=I+Math.imul(oe,Ue)|0,k=k+Math.imul(O,j)|0,A=A+Math.imul(O,Z)|0,A=A+Math.imul(P,j)|0,I=I+Math.imul(P,Z)|0,k=k+Math.imul(ne,C)|0,A=A+Math.imul(ne,ee)|0,A=A+Math.imul(se,C)|0,I=I+Math.imul(se,ee)|0,k=k+Math.imul(L,ue)|0,A=A+Math.imul(L,le)|0,A=A+Math.imul(F,ue)|0,I=I+Math.imul(F,le)|0,k=k+Math.imul(G,Pe)|0,A=A+Math.imul(G,ke)|0,A=A+Math.imul(J,Pe)|0,I=I+Math.imul(J,ke)|0;var We=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(We>>>26)|0,We&=67108863,k=Math.imul(Ke,nt),A=Math.imul(Ke,Ve),A=A+Math.imul(Oe,nt)|0,I=Math.imul(Oe,Ve),k=k+Math.imul(Ie,Xe)|0,A=A+Math.imul(Ie,ze)|0,A=A+Math.imul(Te,Xe)|0,I=I+Math.imul(Te,ze)|0,k=k+Math.imul(we,ft)|0,A=A+Math.imul(we,Ze)|0,A=A+Math.imul(Ae,ft)|0,I=I+Math.imul(Ae,Ze)|0,k=k+Math.imul(be,ct)|0,A=A+Math.imul(be,Ue)|0,A=A+Math.imul(pe,ct)|0,I=I+Math.imul(pe,Ue)|0,k=k+Math.imul(ae,j)|0,A=A+Math.imul(ae,Z)|0,A=A+Math.imul(oe,j)|0,I=I+Math.imul(oe,Z)|0,k=k+Math.imul(O,C)|0,A=A+Math.imul(O,ee)|0,A=A+Math.imul(P,C)|0,I=I+Math.imul(P,ee)|0,k=k+Math.imul(ne,ue)|0,A=A+Math.imul(ne,le)|0,A=A+Math.imul(se,ue)|0,I=I+Math.imul(se,le)|0,k=k+Math.imul(L,Pe)|0,A=A+Math.imul(L,ke)|0,A=A+Math.imul(F,Pe)|0,I=I+Math.imul(F,ke)|0;var De=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(De>>>26)|0,De&=67108863,k=Math.imul(Ke,Xe),A=Math.imul(Ke,ze),A=A+Math.imul(Oe,Xe)|0,I=Math.imul(Oe,ze),k=k+Math.imul(Ie,ft)|0,A=A+Math.imul(Ie,Ze)|0,A=A+Math.imul(Te,ft)|0,I=I+Math.imul(Te,Ze)|0,k=k+Math.imul(we,ct)|0,A=A+Math.imul(we,Ue)|0,A=A+Math.imul(Ae,ct)|0,I=I+Math.imul(Ae,Ue)|0,k=k+Math.imul(be,j)|0,A=A+Math.imul(be,Z)|0,A=A+Math.imul(pe,j)|0,I=I+Math.imul(pe,Z)|0,k=k+Math.imul(ae,C)|0,A=A+Math.imul(ae,ee)|0,A=A+Math.imul(oe,C)|0,I=I+Math.imul(oe,ee)|0,k=k+Math.imul(O,ue)|0,A=A+Math.imul(O,le)|0,A=A+Math.imul(P,ue)|0,I=I+Math.imul(P,le)|0,k=k+Math.imul(ne,Pe)|0,A=A+Math.imul(ne,ke)|0,A=A+Math.imul(se,Pe)|0,I=I+Math.imul(se,ke)|0;var je=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(je>>>26)|0,je&=67108863,k=Math.imul(Ke,ft),A=Math.imul(Ke,Ze),A=A+Math.imul(Oe,ft)|0,I=Math.imul(Oe,Ze),k=k+Math.imul(Ie,ct)|0,A=A+Math.imul(Ie,Ue)|0,A=A+Math.imul(Te,ct)|0,I=I+Math.imul(Te,Ue)|0,k=k+Math.imul(we,j)|0,A=A+Math.imul(we,Z)|0,A=A+Math.imul(Ae,j)|0,I=I+Math.imul(Ae,Z)|0,k=k+Math.imul(be,C)|0,A=A+Math.imul(be,ee)|0,A=A+Math.imul(pe,C)|0,I=I+Math.imul(pe,ee)|0,k=k+Math.imul(ae,ue)|0,A=A+Math.imul(ae,le)|0,A=A+Math.imul(oe,ue)|0,I=I+Math.imul(oe,le)|0,k=k+Math.imul(O,Pe)|0,A=A+Math.imul(O,ke)|0,A=A+Math.imul(P,Pe)|0,I=I+Math.imul(P,ke)|0;var $e=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+($e>>>26)|0,$e&=67108863,k=Math.imul(Ke,ct),A=Math.imul(Ke,Ue),A=A+Math.imul(Oe,ct)|0,I=Math.imul(Oe,Ue),k=k+Math.imul(Ie,j)|0,A=A+Math.imul(Ie,Z)|0,A=A+Math.imul(Te,j)|0,I=I+Math.imul(Te,Z)|0,k=k+Math.imul(we,C)|0,A=A+Math.imul(we,ee)|0,A=A+Math.imul(Ae,C)|0,I=I+Math.imul(Ae,ee)|0,k=k+Math.imul(be,ue)|0,A=A+Math.imul(be,le)|0,A=A+Math.imul(pe,ue)|0,I=I+Math.imul(pe,le)|0,k=k+Math.imul(ae,Pe)|0,A=A+Math.imul(ae,ke)|0,A=A+Math.imul(oe,Pe)|0,I=I+Math.imul(oe,ke)|0;var qe=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(qe>>>26)|0,qe&=67108863,k=Math.imul(Ke,j),A=Math.imul(Ke,Z),A=A+Math.imul(Oe,j)|0,I=Math.imul(Oe,Z),k=k+Math.imul(Ie,C)|0,A=A+Math.imul(Ie,ee)|0,A=A+Math.imul(Te,C)|0,I=I+Math.imul(Te,ee)|0,k=k+Math.imul(we,ue)|0,A=A+Math.imul(we,le)|0,A=A+Math.imul(Ae,ue)|0,I=I+Math.imul(Ae,le)|0,k=k+Math.imul(be,Pe)|0,A=A+Math.imul(be,ke)|0,A=A+Math.imul(pe,Pe)|0,I=I+Math.imul(pe,ke)|0;var ve=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(ve>>>26)|0,ve&=67108863,k=Math.imul(Ke,C),A=Math.imul(Ke,ee),A=A+Math.imul(Oe,C)|0,I=Math.imul(Oe,ee),k=k+Math.imul(Ie,ue)|0,A=A+Math.imul(Ie,le)|0,A=A+Math.imul(Te,ue)|0,I=I+Math.imul(Te,le)|0,k=k+Math.imul(we,Pe)|0,A=A+Math.imul(we,ke)|0,A=A+Math.imul(Ae,Pe)|0,I=I+Math.imul(Ae,ke)|0;var ge=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(ge>>>26)|0,ge&=67108863,k=Math.imul(Ke,ue),A=Math.imul(Ke,le),A=A+Math.imul(Oe,ue)|0,I=Math.imul(Oe,le),k=k+Math.imul(Ie,Pe)|0,A=A+Math.imul(Ie,ke)|0,A=A+Math.imul(Te,Pe)|0,I=I+Math.imul(Te,ke)|0;var Be=(g+k|0)+((A&8191)<<13)|0;g=(I+(A>>>13)|0)+(Be>>>26)|0,Be&=67108863,k=Math.imul(Ke,Pe),A=Math.imul(Ke,ke),A=A+Math.imul(Oe,Pe)|0,I=Math.imul(Oe,ke);var Me=(g+k|0)+((A&8191)<<13)|0;return g=(I+(A>>>13)|0)+(Me>>>26)|0,Me&=67108863,b[0]=dt,b[1]=Le,b[2]=Qe,b[3]=tt,b[4]=ot,b[5]=st,b[6]=rt,b[7]=at,b[8]=it,b[9]=Ne,b[10]=We,b[11]=De,b[12]=je,b[13]=$e,b[14]=qe,b[15]=ve,b[16]=ge,b[17]=Be,b[18]=Me,g!==0&&(b[19]=g,x.length++),x};Math.imul||(T=R);function D(o,a,v){v.negative=a.negative^o.negative,v.length=o.length+a.length;for(var x=0,S=0,M=0;M>>26)|0,S+=b>>>26,b&=67108863}v.words[M]=g,x=b,b=S}return x!==0?v.words[M]=x:v.length--,v._strip()}function U(o,a,v){return D(o,a,v)}t.prototype.mulTo=function(a,v){var x,S=this.length+a.length;return this.length===10&&a.length===10?x=T(this,a,v):S<63?x=R(this,a,v):S<1024?x=D(this,a,v):x=U(this,a,v),x},t.prototype.mul=function(a){var v=new t(null);return v.words=new Array(this.length+a.length),this.mulTo(a,v)},t.prototype.mulf=function(a){var v=new t(null);return v.words=new Array(this.length+a.length),U(this,a,v)},t.prototype.imul=function(a){return this.clone().mulTo(a,this)},t.prototype.imuln=function(a){var v=a<0;v&&(a=-a),n(typeof a=="number"),n(a<67108864);for(var x=0,S=0;S>=26,x+=M/67108864|0,x+=b>>>26,this.words[S]=b&67108863}return x!==0&&(this.words[S]=x,this.length++),v?this.ineg():this},t.prototype.muln=function(a){return this.clone().imuln(a)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(a){var v=B(a);if(v.length===0)return new t(1);for(var x=this,S=0;S=0);var v=a%26,x=(a-v)/26,S=67108863>>>26-v<<26-v,M;if(v!==0){var b=0;for(M=0;M>>26-v}b&&(this.words[M]=b,this.length++)}if(x!==0){for(M=this.length-1;M>=0;M--)this.words[M+x]=this.words[M];for(M=0;M=0);var S;v?S=(v-v%26)/26:S=0;var M=a%26,b=Math.min((a-M)/26,this.length),g=67108863^67108863>>>M<b)for(this.length-=b,A=0;A=0&&(I!==0||A>=S);A--){var q=this.words[A]|0;this.words[A]=I<<26-M|q>>>M,I=q&g}return k&&I!==0&&(k.words[k.length++]=I),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},t.prototype.ishrn=function(a,v,x){return n(this.negative===0),this.iushrn(a,v,x)},t.prototype.shln=function(a){return this.clone().ishln(a)},t.prototype.ushln=function(a){return this.clone().iushln(a)},t.prototype.shrn=function(a){return this.clone().ishrn(a)},t.prototype.ushrn=function(a){return this.clone().iushrn(a)},t.prototype.testn=function(a){n(typeof a=="number"&&a>=0);var v=a%26,x=(a-v)/26,S=1<=0);var v=a%26,x=(a-v)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=x)return this;if(v!==0&&x++,this.length=Math.min(x,this.length),v!==0){var S=67108863^67108863>>>v<=67108864;v++)this.words[v]-=67108864,v===this.length-1?this.words[v+1]=1:this.words[v+1]++;return this.length=Math.max(this.length,v+1),this},t.prototype.isubn=function(a){if(n(typeof a=="number"),n(a<67108864),a<0)return this.iaddn(-a);if(this.negative!==0)return this.negative=0,this.iaddn(a),this.negative=1,this;if(this.words[0]-=a,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var v=0;v>26)-(k/67108864|0),this.words[M+x]=b&67108863}for(;M>26,this.words[M+x]=b&67108863;if(g===0)return this._strip();for(n(g===-1),g=0,M=0;M>26,this.words[M]=b&67108863;return this.negative=1,this._strip()},t.prototype._wordDiv=function(a,v){var x=this.length-a.length,S=this.clone(),M=a,b=M.words[M.length-1]|0,g=this._countBits(b);x=26-g,x!==0&&(M=M.ushln(x),S.iushln(x),b=M.words[M.length-1]|0);var k=S.length-M.length,A;if(v!=="mod"){A=new t(null),A.length=k+1,A.words=new Array(A.length);for(var I=0;I=0;$--){var N=(S.words[M.length+$]|0)*67108864+(S.words[M.length+$-1]|0);for(N=Math.min(N/b|0,67108863),S._ishlnsubmul(M,N,$);S.negative!==0;)N--,S.negative=0,S._ishlnsubmul(M,1,$),S.isZero()||(S.negative^=1);A&&(A.words[$]=N)}return A&&A._strip(),S._strip(),v!=="div"&&x!==0&&S.iushrn(x),{div:A||null,mod:S}},t.prototype.divmod=function(a,v,x){if(n(!a.isZero()),this.isZero())return{div:new t(0),mod:new t(0)};var S,M,b;return this.negative!==0&&a.negative===0?(b=this.neg().divmod(a,v),v!=="mod"&&(S=b.div.neg()),v!=="div"&&(M=b.mod.neg(),x&&M.negative!==0&&M.iadd(a)),{div:S,mod:M}):this.negative===0&&a.negative!==0?(b=this.divmod(a.neg(),v),v!=="mod"&&(S=b.div.neg()),{div:S,mod:b.mod}):this.negative&a.negative?(b=this.neg().divmod(a.neg(),v),v!=="div"&&(M=b.mod.neg(),x&&M.negative!==0&&M.isub(a)),{div:b.div,mod:M}):a.length>this.length||this.cmp(a)<0?{div:new t(0),mod:this}:a.length===1?v==="div"?{div:this.divn(a.words[0]),mod:null}:v==="mod"?{div:null,mod:new t(this.modrn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new t(this.modrn(a.words[0]))}:this._wordDiv(a,v)},t.prototype.div=function(a){return this.divmod(a,"div",!1).div},t.prototype.mod=function(a){return this.divmod(a,"mod",!1).mod},t.prototype.umod=function(a){return this.divmod(a,"mod",!0).mod},t.prototype.divRound=function(a){var v=this.divmod(a);if(v.mod.isZero())return v.div;var x=v.div.negative!==0?v.mod.isub(a):v.mod,S=a.ushrn(1),M=a.andln(1),b=x.cmp(S);return b<0||M===1&&b===0?v.div:v.div.negative!==0?v.div.isubn(1):v.div.iaddn(1)},t.prototype.modrn=function(a){var v=a<0;v&&(a=-a),n(a<=67108863);for(var x=(1<<26)%a,S=0,M=this.length-1;M>=0;M--)S=(x*S+(this.words[M]|0))%a;return v?-S:S},t.prototype.modn=function(a){return this.modrn(a)},t.prototype.idivn=function(a){var v=a<0;v&&(a=-a),n(a<=67108863);for(var x=0,S=this.length-1;S>=0;S--){var M=(this.words[S]|0)+x*67108864;this.words[S]=M/a|0,x=M%a}return this._strip(),v?this.ineg():this},t.prototype.divn=function(a){return this.clone().idivn(a)},t.prototype.egcd=function(a){n(a.negative===0),n(!a.isZero());var v=this,x=a.clone();v.negative!==0?v=v.umod(a):v=v.clone();for(var S=new t(1),M=new t(0),b=new t(0),g=new t(1),k=0;v.isEven()&&x.isEven();)v.iushrn(1),x.iushrn(1),++k;for(var A=x.clone(),I=v.clone();!v.isZero();){for(var q=0,$=1;!(v.words[0]&$)&&q<26;++q,$<<=1);if(q>0)for(v.iushrn(q);q-- >0;)(S.isOdd()||M.isOdd())&&(S.iadd(A),M.isub(I)),S.iushrn(1),M.iushrn(1);for(var N=0,H=1;!(x.words[0]&H)&&N<26;++N,H<<=1);if(N>0)for(x.iushrn(N);N-- >0;)(b.isOdd()||g.isOdd())&&(b.iadd(A),g.isub(I)),b.iushrn(1),g.iushrn(1);v.cmp(x)>=0?(v.isub(x),S.isub(b),M.isub(g)):(x.isub(v),b.isub(S),g.isub(M))}return{a:b,b:g,gcd:x.iushln(k)}},t.prototype._invmp=function(a){n(a.negative===0),n(!a.isZero());var v=this,x=a.clone();v.negative!==0?v=v.umod(a):v=v.clone();for(var S=new t(1),M=new t(0),b=x.clone();v.cmpn(1)>0&&x.cmpn(1)>0;){for(var g=0,k=1;!(v.words[0]&k)&&g<26;++g,k<<=1);if(g>0)for(v.iushrn(g);g-- >0;)S.isOdd()&&S.iadd(b),S.iushrn(1);for(var A=0,I=1;!(x.words[0]&I)&&A<26;++A,I<<=1);if(A>0)for(x.iushrn(A);A-- >0;)M.isOdd()&&M.iadd(b),M.iushrn(1);v.cmp(x)>=0?(v.isub(x),S.isub(M)):(x.isub(v),M.isub(S))}var q;return v.cmpn(1)===0?q=S:q=M,q.cmpn(0)<0&&q.iadd(a),q},t.prototype.gcd=function(a){if(this.isZero())return a.abs();if(a.isZero())return this.abs();var v=this.clone(),x=a.clone();v.negative=0,x.negative=0;for(var S=0;v.isEven()&&x.isEven();S++)v.iushrn(1),x.iushrn(1);do{for(;v.isEven();)v.iushrn(1);for(;x.isEven();)x.iushrn(1);var M=v.cmp(x);if(M<0){var b=v;v=x,x=b}else if(M===0||x.cmpn(1)===0)break;v.isub(x)}while(!0);return x.iushln(S)},t.prototype.invm=function(a){return this.egcd(a).a.umod(a)},t.prototype.isEven=function(){return(this.words[0]&1)===0},t.prototype.isOdd=function(){return(this.words[0]&1)===1},t.prototype.andln=function(a){return this.words[0]&a},t.prototype.bincn=function(a){n(typeof a=="number");var v=a%26,x=(a-v)/26,S=1<>>26,g&=67108863,this.words[b]=g}return M!==0&&(this.words[b]=M,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(a){var v=a<0;if(this.negative!==0&&!v)return-1;if(this.negative===0&&v)return 1;this._strip();var x;if(this.length>1)x=1;else{v&&(a=-a),n(a<=67108863,"Number is too big");var S=this.words[0]|0;x=S===a?0:Sa.length)return 1;if(this.length=0;x--){var S=this.words[x]|0,M=a.words[x]|0;if(S!==M){SM&&(v=1);break}}return v},t.prototype.gtn=function(a){return this.cmpn(a)===1},t.prototype.gt=function(a){return this.cmp(a)===1},t.prototype.gten=function(a){return this.cmpn(a)>=0},t.prototype.gte=function(a){return this.cmp(a)>=0},t.prototype.ltn=function(a){return this.cmpn(a)===-1},t.prototype.lt=function(a){return this.cmp(a)===-1},t.prototype.lten=function(a){return this.cmpn(a)<=0},t.prototype.lte=function(a){return this.cmp(a)<=0},t.prototype.eqn=function(a){return this.cmpn(a)===0},t.prototype.eq=function(a){return this.cmp(a)===0},t.red=function(a){return new m(a)},t.prototype.toRed=function(a){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),a.convertTo(this)._forceRed(a)},t.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(a){return this.red=a,this},t.prototype.forceRed=function(a){return n(!this.red,"Already a number in reduction context"),this._forceRed(a)},t.prototype.redAdd=function(a){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,a)},t.prototype.redIAdd=function(a){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,a)},t.prototype.redSub=function(a){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,a)},t.prototype.redISub=function(a){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,a)},t.prototype.redShl=function(a){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,a)},t.prototype.redMul=function(a){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,a),this.red.mul(this,a)},t.prototype.redIMul=function(a){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,a),this.red.imul(this,a)},t.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(a){return n(this.red&&!a.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,a)};var z={k256:null,p224:null,p192:null,p25519:null};function W(o,a){this.name=o,this.p=new t(a,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}W.prototype._tmp=function(){var a=new t(null);return a.words=new Array(Math.ceil(this.n/13)),a},W.prototype.ireduce=function(a){var v=a,x;do this.split(v,this.tmp),v=this.imulK(v),v=v.iadd(this.tmp),x=v.bitLength();while(x>this.n);var S=x0?v.isub(this.p):v.strip!==void 0?v.strip():v._strip(),v},W.prototype.split=function(a,v){a.iushrn(this.n,0,v)},W.prototype.imulK=function(a){return a.imul(this.k)};function te(){W.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}l(te,W),te.prototype.split=function(a,v){for(var x=4194303,S=Math.min(a.length,9),M=0;M>>22,b=g}b>>>=22,a.words[M-10]=b,b===0&&a.length>10?a.length-=10:a.length-=9},te.prototype.imulK=function(a){a.words[a.length]=0,a.words[a.length+1]=0,a.length+=2;for(var v=0,x=0;x>>=26,a.words[x]=M,v=S}return v!==0&&(a.words[a.length++]=v),a},t._prime=function(a){if(z[a])return z[a];var v;if(a==="k256")v=new te;else if(a==="p224")v=new re;else if(a==="p192")v=new ie;else if(a==="p25519")v=new Y;else throw new Error("Unknown prime "+a);return z[a]=v,v};function m(o){if(typeof o=="string"){var a=t._prime(o);this.m=a.p,this.prime=a}else n(o.gtn(1),"modulus must be greater than 1"),this.m=o,this.prime=null}m.prototype._verify1=function(a){n(a.negative===0,"red works only with positives"),n(a.red,"red works only with red numbers")},m.prototype._verify2=function(a,v){n((a.negative|v.negative)===0,"red works only with positives"),n(a.red&&a.red===v.red,"red works only with red numbers")},m.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):(s(a,a.umod(this.m)._forceRed(this)),a)},m.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},m.prototype.add=function(a,v){this._verify2(a,v);var x=a.add(v);return x.cmp(this.m)>=0&&x.isub(this.m),x._forceRed(this)},m.prototype.iadd=function(a,v){this._verify2(a,v);var x=a.iadd(v);return x.cmp(this.m)>=0&&x.isub(this.m),x},m.prototype.sub=function(a,v){this._verify2(a,v);var x=a.sub(v);return x.cmpn(0)<0&&x.iadd(this.m),x._forceRed(this)},m.prototype.isub=function(a,v){this._verify2(a,v);var x=a.isub(v);return x.cmpn(0)<0&&x.iadd(this.m),x},m.prototype.shl=function(a,v){return this._verify1(a),this.imod(a.ushln(v))},m.prototype.imul=function(a,v){return this._verify2(a,v),this.imod(a.imul(v))},m.prototype.mul=function(a,v){return this._verify2(a,v),this.imod(a.mul(v))},m.prototype.isqr=function(a){return this.imul(a,a.clone())},m.prototype.sqr=function(a){return this.mul(a,a)},m.prototype.sqrt=function(a){if(a.isZero())return a.clone();var v=this.m.andln(3);if(n(v%2===1),v===3){var x=this.m.add(new t(1)).iushrn(2);return this.pow(a,x)}for(var S=this.m.subn(1),M=0;!S.isZero()&&S.andln(1)===0;)M++,S.iushrn(1);n(!S.isZero());var b=new t(1).toRed(this),g=b.redNeg(),k=this.m.subn(1).iushrn(1),A=this.m.bitLength();for(A=new t(2*A*A).toRed(this);this.pow(A,k).cmp(g)!==0;)A.redIAdd(g);for(var I=this.pow(A,S),q=this.pow(a,S.addn(1).iushrn(1)),$=this.pow(a,S),N=M;$.cmp(b)!==0;){for(var H=$,G=0;H.cmp(b)!==0;G++)H=H.redSqr();n(G=0;M--){for(var I=v.words[M],q=A-1;q>=0;q--){var $=I>>q&1;if(b!==S[0]&&(b=this.sqr(b)),$===0&&g===0){k=0;continue}g<<=1,g|=$,k++,!(k!==x&&(M!==0||q!==0))&&(b=this.mul(b,S[g]),k=0,g=0)}A=26}return b},m.prototype.convertTo=function(a){var v=a.umod(this.m);return v===a?v.clone():v},m.prototype.convertFrom=function(a){var v=a.clone();return v.red=null,v},t.mont=function(a){return new h(a)};function h(o){m.call(this,o),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}l(h,m),h.prototype.convertTo=function(a){return this.imod(a.ushln(this.shift))},h.prototype.convertFrom=function(a){var v=this.imod(a.mul(this.rinv));return v.red=null,v},h.prototype.imul=function(a,v){if(a.isZero()||v.isZero())return a.words[0]=0,a.length=1,a;var x=a.imul(v),S=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=x.isub(S).iushrn(this.shift),b=M;return M.cmp(this.m)>=0?b=M.isub(this.m):M.cmpn(0)<0&&(b=M.iadd(this.m)),b._forceRed(this)},h.prototype.mul=function(a,v){if(a.isZero()||v.isZero())return new t(0)._forceRed(this);var x=a.mul(v),S=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=x.isub(S).iushrn(this.shift),b=M;return M.cmp(this.m)>=0?b=M.isub(this.m):M.cmpn(0)<0&&(b=M.iadd(this.m)),b._forceRed(this)},h.prototype.invm=function(a){var v=this.imod(a._invmp(this.m).mul(this.r2));return v._forceRed(this)}})(r,Bt)}(_1)),Ji}var $a,G0;function Rs(){if(G0)return $a;G0=1;var r=Bs(),e=fi();function i(t){var d=n(t),f=d.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed();return{blinder:f,unblinder:d.invm(t.modulus)}}function n(t){var d=t.modulus.byteLength(),f;do f=new r(e(d));while(f.cmp(t.modulus)>=0||!f.umod(t.prime1)||!f.umod(t.prime2));return f}function l(t,d){var f=i(d),c=d.modulus.byteLength(),u=new r(t).mul(f.blinder).umod(d.modulus),s=u.toRed(r.mont(d.prime1)),y=u.toRed(r.mont(d.prime2)),p=d.coefficient,w=d.prime1,_=d.prime2,E=s.redPow(d.exponent1).fromRed(),B=y.redPow(d.exponent2).fromRed(),R=E.isub(B).imul(p).umod(w).imul(_);return B.iadd(R).imul(f.unblinder).umod(d.modulus).toArrayLike(wt.Buffer,"be",c)}return l.getr=n,$a=l,$a}var Ha={};const M1="elliptic",S1="6.5.4",A1="EC cryptography",E1="lib/elliptic.js",B1=["lib"],R1={lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},k1={type:"git",url:"git@github.com:indutny/elliptic"},C1=["EC","Elliptic","curve","Cryptography"],I1="Fedor Indutny ",T1="MIT",P1={url:"https://github.com/indutny/elliptic/issues"},O1="https://github.com/indutny/elliptic",q1={brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},D1={"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"},L1={name:M1,version:S1,description:A1,main:E1,files:B1,scripts:R1,repository:k1,keywords:C1,author:I1,license:T1,bugs:P1,homepage:O1,devDependencies:q1,dependencies:D1};var Ka={},Qi={},N1={get exports(){return Qi},set exports(r){Qi=r}},Y0;function xr(){return Y0||(Y0=1,function(r){(function(e,i){function n(m,h){if(!m)throw new Error(h||"Assertion failed")}function l(m,h){m.super_=h;var o=function(){};o.prototype=h.prototype,m.prototype=new o,m.prototype.constructor=m}function t(m,h,o){if(t.isBN(m))return m;this.negative=0,this.words=null,this.length=0,this.red=null,m!==null&&((h==="le"||h==="be")&&(o=h,h=10),this._init(m||0,h||10,o||"be"))}typeof e=="object"?e.exports=t:i.BN=t,t.BN=t,t.wordSize=26;var d;try{typeof window<"u"&&typeof window.Buffer<"u"?d=window.Buffer:d=wt.Buffer}catch{}t.isBN=function(h){return h instanceof t?!0:h!==null&&typeof h=="object"&&h.constructor.wordSize===t.wordSize&&Array.isArray(h.words)},t.max=function(h,o){return h.cmp(o)>0?h:o},t.min=function(h,o){return h.cmp(o)<0?h:o},t.prototype._init=function(h,o,a){if(typeof h=="number")return this._initNumber(h,o,a);if(typeof h=="object")return this._initArray(h,o,a);o==="hex"&&(o=16),n(o===(o|0)&&o>=2&&o<=36),h=h.toString().replace(/\s+/g,"");var v=0;h[0]==="-"&&(v++,this.negative=1),v=0;v-=3)S=h[v]|h[v-1]<<8|h[v-2]<<16,this.words[x]|=S<>>26-M&67108863,M+=24,M>=26&&(M-=26,x++);else if(a==="le")for(v=0,x=0;v>>26-M&67108863,M+=24,M>=26&&(M-=26,x++);return this.strip()};function f(m,h){var o=m.charCodeAt(h);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function c(m,h,o){var a=f(m,o);return o-1>=h&&(a|=f(m,o-1)<<4),a}t.prototype._parseHex=function(h,o,a){this.length=Math.ceil((h.length-o)/6),this.words=new Array(this.length);for(var v=0;v=o;v-=2)M=c(h,o,v)<=18?(x-=18,S+=1,this.words[S]|=M>>>26):x+=8;else{var b=h.length-o;for(v=b%2===0?o+1:o;v=18?(x-=18,S+=1,this.words[S]|=M>>>26):x+=8}this.strip()};function u(m,h,o,a){for(var v=0,x=Math.min(m.length,o),S=h;S=49?v+=M-49+10:M>=17?v+=M-17+10:v+=M}return v}t.prototype._parseBase=function(h,o,a){this.words=[0],this.length=1;for(var v=0,x=1;x<=67108863;x*=o)v++;v--,x=x/o|0;for(var S=h.length-a,M=S%v,b=Math.min(S,S-M)+a,g=0,k=a;k1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?""};var s=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],y=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];t.prototype.toString=function(h,o){h=h||10,o=o|0||1;var a;if(h===16||h==="hex"){a="";for(var v=0,x=0,S=0;S>>24-v&16777215,x!==0||S!==this.length-1?a=s[6-b.length]+b+a:a=b+a,v+=2,v>=26&&(v-=26,S--)}for(x!==0&&(a=x.toString(16)+a);a.length%o!==0;)a="0"+a;return this.negative!==0&&(a="-"+a),a}if(h===(h|0)&&h>=2&&h<=36){var g=y[h],k=p[h];a="";var A=this.clone();for(A.negative=0;!A.isZero();){var I=A.modn(k).toString(h);A=A.idivn(k),A.isZero()?a=I+a:a=s[g-I.length]+I+a}for(this.isZero()&&(a="0"+a);a.length%o!==0;)a="0"+a;return this.negative!==0&&(a="-"+a),a}n(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var h=this.words[0];return this.length===2?h+=this.words[1]*67108864:this.length===3&&this.words[2]===1?h+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-h:h},t.prototype.toJSON=function(){return this.toString(16)},t.prototype.toBuffer=function(h,o){return n(typeof d<"u"),this.toArrayLike(d,h,o)},t.prototype.toArray=function(h,o){return this.toArrayLike(Array,h,o)},t.prototype.toArrayLike=function(h,o,a){var v=this.byteLength(),x=a||Math.max(1,v);n(v<=x,"byte array longer than desired length"),n(x>0,"Requested array length <= 0"),this.strip();var S=o==="le",M=new h(x),b,g,k=this.clone();if(S){for(g=0;!k.isZero();g++)b=k.andln(255),k.iushrn(8),M[g]=b;for(;g=4096&&(a+=13,o>>>=13),o>=64&&(a+=7,o>>>=7),o>=8&&(a+=4,o>>>=4),o>=2&&(a+=2,o>>>=2),a+o},t.prototype._zeroBits=function(h){if(h===0)return 26;var o=h,a=0;return o&8191||(a+=13,o>>>=13),o&127||(a+=7,o>>>=7),o&15||(a+=4,o>>>=4),o&3||(a+=2,o>>>=2),o&1||a++,a},t.prototype.bitLength=function(){var h=this.words[this.length-1],o=this._countBits(h);return(this.length-1)*26+o};function w(m){for(var h=new Array(m.bitLength()),o=0;o>>v}return h}t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var h=0,o=0;oh.length?this.clone().ior(h):h.clone().ior(this)},t.prototype.uor=function(h){return this.length>h.length?this.clone().iuor(h):h.clone().iuor(this)},t.prototype.iuand=function(h){var o;this.length>h.length?o=h:o=this;for(var a=0;ah.length?this.clone().iand(h):h.clone().iand(this)},t.prototype.uand=function(h){return this.length>h.length?this.clone().iuand(h):h.clone().iuand(this)},t.prototype.iuxor=function(h){var o,a;this.length>h.length?(o=this,a=h):(o=h,a=this);for(var v=0;vh.length?this.clone().ixor(h):h.clone().ixor(this)},t.prototype.uxor=function(h){return this.length>h.length?this.clone().iuxor(h):h.clone().iuxor(this)},t.prototype.inotn=function(h){n(typeof h=="number"&&h>=0);var o=Math.ceil(h/26)|0,a=h%26;this._expand(o),a>0&&o--;for(var v=0;v0&&(this.words[v]=~this.words[v]&67108863>>26-a),this.strip()},t.prototype.notn=function(h){return this.clone().inotn(h)},t.prototype.setn=function(h,o){n(typeof h=="number"&&h>=0);var a=h/26|0,v=h%26;return this._expand(a+1),o?this.words[a]=this.words[a]|1<h.length?(a=this,v=h):(a=h,v=this);for(var x=0,S=0;S>>26;for(;x!==0&&S>>26;if(this.length=a.length,x!==0)this.words[this.length]=x,this.length++;else if(a!==this)for(;Sh.length?this.clone().iadd(h):h.clone().iadd(this)},t.prototype.isub=function(h){if(h.negative!==0){h.negative=0;var o=this.iadd(h);return h.negative=1,o._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(h),this.negative=1,this._normSign();var a=this.cmp(h);if(a===0)return this.negative=0,this.length=1,this.words[0]=0,this;var v,x;a>0?(v=this,x=h):(v=h,x=this);for(var S=0,M=0;M>26,this.words[M]=o&67108863;for(;S!==0&&M>26,this.words[M]=o&67108863;if(S===0&&M>>26,A=b&67108863,I=Math.min(g,h.length-1),q=Math.max(0,g-m.length+1);q<=I;q++){var $=g-q|0;v=m.words[$]|0,x=h.words[q]|0,S=v*x+A,k+=S/67108864|0,A=S&67108863}o.words[g]=A|0,b=k|0}return b!==0?o.words[g]=b|0:o.length--,o.strip()}var E=function(h,o,a){var v=h.words,x=o.words,S=a.words,M=0,b,g,k,A=v[0]|0,I=A&8191,q=A>>>13,$=v[1]|0,N=$&8191,H=$>>>13,G=v[2]|0,J=G&8191,fe=G>>>13,L=v[3]|0,F=L&8191,X=L>>>13,ne=v[4]|0,se=ne&8191,V=ne>>>13,O=v[5]|0,P=O&8191,K=O>>>13,ae=v[6]|0,oe=ae&8191,de=ae>>>13,be=v[7]|0,pe=be&8191,Se=be>>>13,we=v[8]|0,Ae=we&8191,Ye=we>>>13,Ie=v[9]|0,Te=Ie&8191,Je=Ie>>>13,Ke=x[0]|0,Oe=Ke&8191,ut=Ke>>>13,Ge=x[1]|0,Fe=Ge&8191,Pt=Ge>>>13,et=x[2]|0,He=et&8191,Dt=et>>>13,nt=x[3]|0,Ve=nt&8191,Rt=nt>>>13,Xe=x[4]|0,ze=Xe&8191,Et=Xe>>>13,ft=x[5]|0,Ze=ft&8191,Lt=ft>>>13,ct=x[6]|0,Ue=ct&8191,Nt=ct>>>13,j=x[7]|0,Z=j&8191,Q=j>>>13,C=x[8]|0,ee=C&8191,ce=C>>>13,ue=x[9]|0,le=ue&8191,_e=ue>>>13;a.negative=h.negative^o.negative,a.length=19,b=Math.imul(I,Oe),g=Math.imul(I,ut),g=g+Math.imul(q,Oe)|0,k=Math.imul(q,ut);var Pe=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,b=Math.imul(N,Oe),g=Math.imul(N,ut),g=g+Math.imul(H,Oe)|0,k=Math.imul(H,ut),b=b+Math.imul(I,Fe)|0,g=g+Math.imul(I,Pt)|0,g=g+Math.imul(q,Fe)|0,k=k+Math.imul(q,Pt)|0;var ke=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(ke>>>26)|0,ke&=67108863,b=Math.imul(J,Oe),g=Math.imul(J,ut),g=g+Math.imul(fe,Oe)|0,k=Math.imul(fe,ut),b=b+Math.imul(N,Fe)|0,g=g+Math.imul(N,Pt)|0,g=g+Math.imul(H,Fe)|0,k=k+Math.imul(H,Pt)|0,b=b+Math.imul(I,He)|0,g=g+Math.imul(I,Dt)|0,g=g+Math.imul(q,He)|0,k=k+Math.imul(q,Dt)|0;var dt=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(dt>>>26)|0,dt&=67108863,b=Math.imul(F,Oe),g=Math.imul(F,ut),g=g+Math.imul(X,Oe)|0,k=Math.imul(X,ut),b=b+Math.imul(J,Fe)|0,g=g+Math.imul(J,Pt)|0,g=g+Math.imul(fe,Fe)|0,k=k+Math.imul(fe,Pt)|0,b=b+Math.imul(N,He)|0,g=g+Math.imul(N,Dt)|0,g=g+Math.imul(H,He)|0,k=k+Math.imul(H,Dt)|0,b=b+Math.imul(I,Ve)|0,g=g+Math.imul(I,Rt)|0,g=g+Math.imul(q,Ve)|0,k=k+Math.imul(q,Rt)|0;var Le=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(Le>>>26)|0,Le&=67108863,b=Math.imul(se,Oe),g=Math.imul(se,ut),g=g+Math.imul(V,Oe)|0,k=Math.imul(V,ut),b=b+Math.imul(F,Fe)|0,g=g+Math.imul(F,Pt)|0,g=g+Math.imul(X,Fe)|0,k=k+Math.imul(X,Pt)|0,b=b+Math.imul(J,He)|0,g=g+Math.imul(J,Dt)|0,g=g+Math.imul(fe,He)|0,k=k+Math.imul(fe,Dt)|0,b=b+Math.imul(N,Ve)|0,g=g+Math.imul(N,Rt)|0,g=g+Math.imul(H,Ve)|0,k=k+Math.imul(H,Rt)|0,b=b+Math.imul(I,ze)|0,g=g+Math.imul(I,Et)|0,g=g+Math.imul(q,ze)|0,k=k+Math.imul(q,Et)|0;var Qe=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,b=Math.imul(P,Oe),g=Math.imul(P,ut),g=g+Math.imul(K,Oe)|0,k=Math.imul(K,ut),b=b+Math.imul(se,Fe)|0,g=g+Math.imul(se,Pt)|0,g=g+Math.imul(V,Fe)|0,k=k+Math.imul(V,Pt)|0,b=b+Math.imul(F,He)|0,g=g+Math.imul(F,Dt)|0,g=g+Math.imul(X,He)|0,k=k+Math.imul(X,Dt)|0,b=b+Math.imul(J,Ve)|0,g=g+Math.imul(J,Rt)|0,g=g+Math.imul(fe,Ve)|0,k=k+Math.imul(fe,Rt)|0,b=b+Math.imul(N,ze)|0,g=g+Math.imul(N,Et)|0,g=g+Math.imul(H,ze)|0,k=k+Math.imul(H,Et)|0,b=b+Math.imul(I,Ze)|0,g=g+Math.imul(I,Lt)|0,g=g+Math.imul(q,Ze)|0,k=k+Math.imul(q,Lt)|0;var tt=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(tt>>>26)|0,tt&=67108863,b=Math.imul(oe,Oe),g=Math.imul(oe,ut),g=g+Math.imul(de,Oe)|0,k=Math.imul(de,ut),b=b+Math.imul(P,Fe)|0,g=g+Math.imul(P,Pt)|0,g=g+Math.imul(K,Fe)|0,k=k+Math.imul(K,Pt)|0,b=b+Math.imul(se,He)|0,g=g+Math.imul(se,Dt)|0,g=g+Math.imul(V,He)|0,k=k+Math.imul(V,Dt)|0,b=b+Math.imul(F,Ve)|0,g=g+Math.imul(F,Rt)|0,g=g+Math.imul(X,Ve)|0,k=k+Math.imul(X,Rt)|0,b=b+Math.imul(J,ze)|0,g=g+Math.imul(J,Et)|0,g=g+Math.imul(fe,ze)|0,k=k+Math.imul(fe,Et)|0,b=b+Math.imul(N,Ze)|0,g=g+Math.imul(N,Lt)|0,g=g+Math.imul(H,Ze)|0,k=k+Math.imul(H,Lt)|0,b=b+Math.imul(I,Ue)|0,g=g+Math.imul(I,Nt)|0,g=g+Math.imul(q,Ue)|0,k=k+Math.imul(q,Nt)|0;var ot=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(ot>>>26)|0,ot&=67108863,b=Math.imul(pe,Oe),g=Math.imul(pe,ut),g=g+Math.imul(Se,Oe)|0,k=Math.imul(Se,ut),b=b+Math.imul(oe,Fe)|0,g=g+Math.imul(oe,Pt)|0,g=g+Math.imul(de,Fe)|0,k=k+Math.imul(de,Pt)|0,b=b+Math.imul(P,He)|0,g=g+Math.imul(P,Dt)|0,g=g+Math.imul(K,He)|0,k=k+Math.imul(K,Dt)|0,b=b+Math.imul(se,Ve)|0,g=g+Math.imul(se,Rt)|0,g=g+Math.imul(V,Ve)|0,k=k+Math.imul(V,Rt)|0,b=b+Math.imul(F,ze)|0,g=g+Math.imul(F,Et)|0,g=g+Math.imul(X,ze)|0,k=k+Math.imul(X,Et)|0,b=b+Math.imul(J,Ze)|0,g=g+Math.imul(J,Lt)|0,g=g+Math.imul(fe,Ze)|0,k=k+Math.imul(fe,Lt)|0,b=b+Math.imul(N,Ue)|0,g=g+Math.imul(N,Nt)|0,g=g+Math.imul(H,Ue)|0,k=k+Math.imul(H,Nt)|0,b=b+Math.imul(I,Z)|0,g=g+Math.imul(I,Q)|0,g=g+Math.imul(q,Z)|0,k=k+Math.imul(q,Q)|0;var st=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(st>>>26)|0,st&=67108863,b=Math.imul(Ae,Oe),g=Math.imul(Ae,ut),g=g+Math.imul(Ye,Oe)|0,k=Math.imul(Ye,ut),b=b+Math.imul(pe,Fe)|0,g=g+Math.imul(pe,Pt)|0,g=g+Math.imul(Se,Fe)|0,k=k+Math.imul(Se,Pt)|0,b=b+Math.imul(oe,He)|0,g=g+Math.imul(oe,Dt)|0,g=g+Math.imul(de,He)|0,k=k+Math.imul(de,Dt)|0,b=b+Math.imul(P,Ve)|0,g=g+Math.imul(P,Rt)|0,g=g+Math.imul(K,Ve)|0,k=k+Math.imul(K,Rt)|0,b=b+Math.imul(se,ze)|0,g=g+Math.imul(se,Et)|0,g=g+Math.imul(V,ze)|0,k=k+Math.imul(V,Et)|0,b=b+Math.imul(F,Ze)|0,g=g+Math.imul(F,Lt)|0,g=g+Math.imul(X,Ze)|0,k=k+Math.imul(X,Lt)|0,b=b+Math.imul(J,Ue)|0,g=g+Math.imul(J,Nt)|0,g=g+Math.imul(fe,Ue)|0,k=k+Math.imul(fe,Nt)|0,b=b+Math.imul(N,Z)|0,g=g+Math.imul(N,Q)|0,g=g+Math.imul(H,Z)|0,k=k+Math.imul(H,Q)|0,b=b+Math.imul(I,ee)|0,g=g+Math.imul(I,ce)|0,g=g+Math.imul(q,ee)|0,k=k+Math.imul(q,ce)|0;var rt=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(rt>>>26)|0,rt&=67108863,b=Math.imul(Te,Oe),g=Math.imul(Te,ut),g=g+Math.imul(Je,Oe)|0,k=Math.imul(Je,ut),b=b+Math.imul(Ae,Fe)|0,g=g+Math.imul(Ae,Pt)|0,g=g+Math.imul(Ye,Fe)|0,k=k+Math.imul(Ye,Pt)|0,b=b+Math.imul(pe,He)|0,g=g+Math.imul(pe,Dt)|0,g=g+Math.imul(Se,He)|0,k=k+Math.imul(Se,Dt)|0,b=b+Math.imul(oe,Ve)|0,g=g+Math.imul(oe,Rt)|0,g=g+Math.imul(de,Ve)|0,k=k+Math.imul(de,Rt)|0,b=b+Math.imul(P,ze)|0,g=g+Math.imul(P,Et)|0,g=g+Math.imul(K,ze)|0,k=k+Math.imul(K,Et)|0,b=b+Math.imul(se,Ze)|0,g=g+Math.imul(se,Lt)|0,g=g+Math.imul(V,Ze)|0,k=k+Math.imul(V,Lt)|0,b=b+Math.imul(F,Ue)|0,g=g+Math.imul(F,Nt)|0,g=g+Math.imul(X,Ue)|0,k=k+Math.imul(X,Nt)|0,b=b+Math.imul(J,Z)|0,g=g+Math.imul(J,Q)|0,g=g+Math.imul(fe,Z)|0,k=k+Math.imul(fe,Q)|0,b=b+Math.imul(N,ee)|0,g=g+Math.imul(N,ce)|0,g=g+Math.imul(H,ee)|0,k=k+Math.imul(H,ce)|0,b=b+Math.imul(I,le)|0,g=g+Math.imul(I,_e)|0,g=g+Math.imul(q,le)|0,k=k+Math.imul(q,_e)|0;var at=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(at>>>26)|0,at&=67108863,b=Math.imul(Te,Fe),g=Math.imul(Te,Pt),g=g+Math.imul(Je,Fe)|0,k=Math.imul(Je,Pt),b=b+Math.imul(Ae,He)|0,g=g+Math.imul(Ae,Dt)|0,g=g+Math.imul(Ye,He)|0,k=k+Math.imul(Ye,Dt)|0,b=b+Math.imul(pe,Ve)|0,g=g+Math.imul(pe,Rt)|0,g=g+Math.imul(Se,Ve)|0,k=k+Math.imul(Se,Rt)|0,b=b+Math.imul(oe,ze)|0,g=g+Math.imul(oe,Et)|0,g=g+Math.imul(de,ze)|0,k=k+Math.imul(de,Et)|0,b=b+Math.imul(P,Ze)|0,g=g+Math.imul(P,Lt)|0,g=g+Math.imul(K,Ze)|0,k=k+Math.imul(K,Lt)|0,b=b+Math.imul(se,Ue)|0,g=g+Math.imul(se,Nt)|0,g=g+Math.imul(V,Ue)|0,k=k+Math.imul(V,Nt)|0,b=b+Math.imul(F,Z)|0,g=g+Math.imul(F,Q)|0,g=g+Math.imul(X,Z)|0,k=k+Math.imul(X,Q)|0,b=b+Math.imul(J,ee)|0,g=g+Math.imul(J,ce)|0,g=g+Math.imul(fe,ee)|0,k=k+Math.imul(fe,ce)|0,b=b+Math.imul(N,le)|0,g=g+Math.imul(N,_e)|0,g=g+Math.imul(H,le)|0,k=k+Math.imul(H,_e)|0;var it=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(it>>>26)|0,it&=67108863,b=Math.imul(Te,He),g=Math.imul(Te,Dt),g=g+Math.imul(Je,He)|0,k=Math.imul(Je,Dt),b=b+Math.imul(Ae,Ve)|0,g=g+Math.imul(Ae,Rt)|0,g=g+Math.imul(Ye,Ve)|0,k=k+Math.imul(Ye,Rt)|0,b=b+Math.imul(pe,ze)|0,g=g+Math.imul(pe,Et)|0,g=g+Math.imul(Se,ze)|0,k=k+Math.imul(Se,Et)|0,b=b+Math.imul(oe,Ze)|0,g=g+Math.imul(oe,Lt)|0,g=g+Math.imul(de,Ze)|0,k=k+Math.imul(de,Lt)|0,b=b+Math.imul(P,Ue)|0,g=g+Math.imul(P,Nt)|0,g=g+Math.imul(K,Ue)|0,k=k+Math.imul(K,Nt)|0,b=b+Math.imul(se,Z)|0,g=g+Math.imul(se,Q)|0,g=g+Math.imul(V,Z)|0,k=k+Math.imul(V,Q)|0,b=b+Math.imul(F,ee)|0,g=g+Math.imul(F,ce)|0,g=g+Math.imul(X,ee)|0,k=k+Math.imul(X,ce)|0,b=b+Math.imul(J,le)|0,g=g+Math.imul(J,_e)|0,g=g+Math.imul(fe,le)|0,k=k+Math.imul(fe,_e)|0;var Ne=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,b=Math.imul(Te,Ve),g=Math.imul(Te,Rt),g=g+Math.imul(Je,Ve)|0,k=Math.imul(Je,Rt),b=b+Math.imul(Ae,ze)|0,g=g+Math.imul(Ae,Et)|0,g=g+Math.imul(Ye,ze)|0,k=k+Math.imul(Ye,Et)|0,b=b+Math.imul(pe,Ze)|0,g=g+Math.imul(pe,Lt)|0,g=g+Math.imul(Se,Ze)|0,k=k+Math.imul(Se,Lt)|0,b=b+Math.imul(oe,Ue)|0,g=g+Math.imul(oe,Nt)|0,g=g+Math.imul(de,Ue)|0,k=k+Math.imul(de,Nt)|0,b=b+Math.imul(P,Z)|0,g=g+Math.imul(P,Q)|0,g=g+Math.imul(K,Z)|0,k=k+Math.imul(K,Q)|0,b=b+Math.imul(se,ee)|0,g=g+Math.imul(se,ce)|0,g=g+Math.imul(V,ee)|0,k=k+Math.imul(V,ce)|0,b=b+Math.imul(F,le)|0,g=g+Math.imul(F,_e)|0,g=g+Math.imul(X,le)|0,k=k+Math.imul(X,_e)|0;var We=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(We>>>26)|0,We&=67108863,b=Math.imul(Te,ze),g=Math.imul(Te,Et),g=g+Math.imul(Je,ze)|0,k=Math.imul(Je,Et),b=b+Math.imul(Ae,Ze)|0,g=g+Math.imul(Ae,Lt)|0,g=g+Math.imul(Ye,Ze)|0,k=k+Math.imul(Ye,Lt)|0,b=b+Math.imul(pe,Ue)|0,g=g+Math.imul(pe,Nt)|0,g=g+Math.imul(Se,Ue)|0,k=k+Math.imul(Se,Nt)|0,b=b+Math.imul(oe,Z)|0,g=g+Math.imul(oe,Q)|0,g=g+Math.imul(de,Z)|0,k=k+Math.imul(de,Q)|0,b=b+Math.imul(P,ee)|0,g=g+Math.imul(P,ce)|0,g=g+Math.imul(K,ee)|0,k=k+Math.imul(K,ce)|0,b=b+Math.imul(se,le)|0,g=g+Math.imul(se,_e)|0,g=g+Math.imul(V,le)|0,k=k+Math.imul(V,_e)|0;var De=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(De>>>26)|0,De&=67108863,b=Math.imul(Te,Ze),g=Math.imul(Te,Lt),g=g+Math.imul(Je,Ze)|0,k=Math.imul(Je,Lt),b=b+Math.imul(Ae,Ue)|0,g=g+Math.imul(Ae,Nt)|0,g=g+Math.imul(Ye,Ue)|0,k=k+Math.imul(Ye,Nt)|0,b=b+Math.imul(pe,Z)|0,g=g+Math.imul(pe,Q)|0,g=g+Math.imul(Se,Z)|0,k=k+Math.imul(Se,Q)|0,b=b+Math.imul(oe,ee)|0,g=g+Math.imul(oe,ce)|0,g=g+Math.imul(de,ee)|0,k=k+Math.imul(de,ce)|0,b=b+Math.imul(P,le)|0,g=g+Math.imul(P,_e)|0,g=g+Math.imul(K,le)|0,k=k+Math.imul(K,_e)|0;var je=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(je>>>26)|0,je&=67108863,b=Math.imul(Te,Ue),g=Math.imul(Te,Nt),g=g+Math.imul(Je,Ue)|0,k=Math.imul(Je,Nt),b=b+Math.imul(Ae,Z)|0,g=g+Math.imul(Ae,Q)|0,g=g+Math.imul(Ye,Z)|0,k=k+Math.imul(Ye,Q)|0,b=b+Math.imul(pe,ee)|0,g=g+Math.imul(pe,ce)|0,g=g+Math.imul(Se,ee)|0,k=k+Math.imul(Se,ce)|0,b=b+Math.imul(oe,le)|0,g=g+Math.imul(oe,_e)|0,g=g+Math.imul(de,le)|0,k=k+Math.imul(de,_e)|0;var $e=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+($e>>>26)|0,$e&=67108863,b=Math.imul(Te,Z),g=Math.imul(Te,Q),g=g+Math.imul(Je,Z)|0,k=Math.imul(Je,Q),b=b+Math.imul(Ae,ee)|0,g=g+Math.imul(Ae,ce)|0,g=g+Math.imul(Ye,ee)|0,k=k+Math.imul(Ye,ce)|0,b=b+Math.imul(pe,le)|0,g=g+Math.imul(pe,_e)|0,g=g+Math.imul(Se,le)|0,k=k+Math.imul(Se,_e)|0;var qe=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(qe>>>26)|0,qe&=67108863,b=Math.imul(Te,ee),g=Math.imul(Te,ce),g=g+Math.imul(Je,ee)|0,k=Math.imul(Je,ce),b=b+Math.imul(Ae,le)|0,g=g+Math.imul(Ae,_e)|0,g=g+Math.imul(Ye,le)|0,k=k+Math.imul(Ye,_e)|0;var ve=(M+b|0)+((g&8191)<<13)|0;M=(k+(g>>>13)|0)+(ve>>>26)|0,ve&=67108863,b=Math.imul(Te,le),g=Math.imul(Te,_e),g=g+Math.imul(Je,le)|0,k=Math.imul(Je,_e);var ge=(M+b|0)+((g&8191)<<13)|0;return M=(k+(g>>>13)|0)+(ge>>>26)|0,ge&=67108863,S[0]=Pe,S[1]=ke,S[2]=dt,S[3]=Le,S[4]=Qe,S[5]=tt,S[6]=ot,S[7]=st,S[8]=rt,S[9]=at,S[10]=it,S[11]=Ne,S[12]=We,S[13]=De,S[14]=je,S[15]=$e,S[16]=qe,S[17]=ve,S[18]=ge,M!==0&&(S[19]=M,a.length++),a};Math.imul||(E=_);function B(m,h,o){o.negative=h.negative^m.negative,o.length=m.length+h.length;for(var a=0,v=0,x=0;x>>26)|0,v+=S>>>26,S&=67108863}o.words[x]=M,a=S,S=v}return a!==0?o.words[x]=a:o.length--,o.strip()}function R(m,h,o){var a=new T;return a.mulp(m,h,o)}t.prototype.mulTo=function(h,o){var a,v=this.length+h.length;return this.length===10&&h.length===10?a=E(this,h,o):v<63?a=_(this,h,o):v<1024?a=B(this,h,o):a=R(this,h,o),a};function T(m,h){this.x=m,this.y=h}T.prototype.makeRBT=function(h){for(var o=new Array(h),a=t.prototype._countBits(h)-1,v=0;v>=1;return v},T.prototype.permute=function(h,o,a,v,x,S){for(var M=0;M>>1)x++;return 1<>>13,a[2*S+1]=x&8191,x=x>>>13;for(S=2*o;S>=26,o+=v/67108864|0,o+=x>>>26,this.words[a]=x&67108863}return o!==0&&(this.words[a]=o,this.length++),this},t.prototype.muln=function(h){return this.clone().imuln(h)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(h){var o=w(h);if(o.length===0)return new t(1);for(var a=this,v=0;v=0);var o=h%26,a=(h-o)/26,v=67108863>>>26-o<<26-o,x;if(o!==0){var S=0;for(x=0;x>>26-o}S&&(this.words[x]=S,this.length++)}if(a!==0){for(x=this.length-1;x>=0;x--)this.words[x+a]=this.words[x];for(x=0;x=0);var v;o?v=(o-o%26)/26:v=0;var x=h%26,S=Math.min((h-x)/26,this.length),M=67108863^67108863>>>x<S)for(this.length-=S,g=0;g=0&&(k!==0||g>=v);g--){var A=this.words[g]|0;this.words[g]=k<<26-x|A>>>x,k=A&M}return b&&k!==0&&(b.words[b.length++]=k),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},t.prototype.ishrn=function(h,o,a){return n(this.negative===0),this.iushrn(h,o,a)},t.prototype.shln=function(h){return this.clone().ishln(h)},t.prototype.ushln=function(h){return this.clone().iushln(h)},t.prototype.shrn=function(h){return this.clone().ishrn(h)},t.prototype.ushrn=function(h){return this.clone().iushrn(h)},t.prototype.testn=function(h){n(typeof h=="number"&&h>=0);var o=h%26,a=(h-o)/26,v=1<=0);var o=h%26,a=(h-o)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=a)return this;if(o!==0&&a++,this.length=Math.min(a,this.length),o!==0){var v=67108863^67108863>>>o<=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},t.prototype.isubn=function(h){if(n(typeof h=="number"),n(h<67108864),h<0)return this.iaddn(-h);if(this.negative!==0)return this.negative=0,this.iaddn(h),this.negative=1,this;if(this.words[0]-=h,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var o=0;o>26)-(b/67108864|0),this.words[x+a]=S&67108863}for(;x>26,this.words[x+a]=S&67108863;if(M===0)return this.strip();for(n(M===-1),M=0,x=0;x>26,this.words[x]=S&67108863;return this.negative=1,this.strip()},t.prototype._wordDiv=function(h,o){var a=this.length-h.length,v=this.clone(),x=h,S=x.words[x.length-1]|0,M=this._countBits(S);a=26-M,a!==0&&(x=x.ushln(a),v.iushln(a),S=x.words[x.length-1]|0);var b=v.length-x.length,g;if(o!=="mod"){g=new t(null),g.length=b+1,g.words=new Array(g.length);for(var k=0;k=0;I--){var q=(v.words[x.length+I]|0)*67108864+(v.words[x.length+I-1]|0);for(q=Math.min(q/S|0,67108863),v._ishlnsubmul(x,q,I);v.negative!==0;)q--,v.negative=0,v._ishlnsubmul(x,1,I),v.isZero()||(v.negative^=1);g&&(g.words[I]=q)}return g&&g.strip(),v.strip(),o!=="div"&&a!==0&&v.iushrn(a),{div:g||null,mod:v}},t.prototype.divmod=function(h,o,a){if(n(!h.isZero()),this.isZero())return{div:new t(0),mod:new t(0)};var v,x,S;return this.negative!==0&&h.negative===0?(S=this.neg().divmod(h,o),o!=="mod"&&(v=S.div.neg()),o!=="div"&&(x=S.mod.neg(),a&&x.negative!==0&&x.iadd(h)),{div:v,mod:x}):this.negative===0&&h.negative!==0?(S=this.divmod(h.neg(),o),o!=="mod"&&(v=S.div.neg()),{div:v,mod:S.mod}):this.negative&h.negative?(S=this.neg().divmod(h.neg(),o),o!=="div"&&(x=S.mod.neg(),a&&x.negative!==0&&x.isub(h)),{div:S.div,mod:x}):h.length>this.length||this.cmp(h)<0?{div:new t(0),mod:this}:h.length===1?o==="div"?{div:this.divn(h.words[0]),mod:null}:o==="mod"?{div:null,mod:new t(this.modn(h.words[0]))}:{div:this.divn(h.words[0]),mod:new t(this.modn(h.words[0]))}:this._wordDiv(h,o)},t.prototype.div=function(h){return this.divmod(h,"div",!1).div},t.prototype.mod=function(h){return this.divmod(h,"mod",!1).mod},t.prototype.umod=function(h){return this.divmod(h,"mod",!0).mod},t.prototype.divRound=function(h){var o=this.divmod(h);if(o.mod.isZero())return o.div;var a=o.div.negative!==0?o.mod.isub(h):o.mod,v=h.ushrn(1),x=h.andln(1),S=a.cmp(v);return S<0||x===1&&S===0?o.div:o.div.negative!==0?o.div.isubn(1):o.div.iaddn(1)},t.prototype.modn=function(h){n(h<=67108863);for(var o=(1<<26)%h,a=0,v=this.length-1;v>=0;v--)a=(o*a+(this.words[v]|0))%h;return a},t.prototype.idivn=function(h){n(h<=67108863);for(var o=0,a=this.length-1;a>=0;a--){var v=(this.words[a]|0)+o*67108864;this.words[a]=v/h|0,o=v%h}return this.strip()},t.prototype.divn=function(h){return this.clone().idivn(h)},t.prototype.egcd=function(h){n(h.negative===0),n(!h.isZero());var o=this,a=h.clone();o.negative!==0?o=o.umod(h):o=o.clone();for(var v=new t(1),x=new t(0),S=new t(0),M=new t(1),b=0;o.isEven()&&a.isEven();)o.iushrn(1),a.iushrn(1),++b;for(var g=a.clone(),k=o.clone();!o.isZero();){for(var A=0,I=1;!(o.words[0]&I)&&A<26;++A,I<<=1);if(A>0)for(o.iushrn(A);A-- >0;)(v.isOdd()||x.isOdd())&&(v.iadd(g),x.isub(k)),v.iushrn(1),x.iushrn(1);for(var q=0,$=1;!(a.words[0]&$)&&q<26;++q,$<<=1);if(q>0)for(a.iushrn(q);q-- >0;)(S.isOdd()||M.isOdd())&&(S.iadd(g),M.isub(k)),S.iushrn(1),M.iushrn(1);o.cmp(a)>=0?(o.isub(a),v.isub(S),x.isub(M)):(a.isub(o),S.isub(v),M.isub(x))}return{a:S,b:M,gcd:a.iushln(b)}},t.prototype._invmp=function(h){n(h.negative===0),n(!h.isZero());var o=this,a=h.clone();o.negative!==0?o=o.umod(h):o=o.clone();for(var v=new t(1),x=new t(0),S=a.clone();o.cmpn(1)>0&&a.cmpn(1)>0;){for(var M=0,b=1;!(o.words[0]&b)&&M<26;++M,b<<=1);if(M>0)for(o.iushrn(M);M-- >0;)v.isOdd()&&v.iadd(S),v.iushrn(1);for(var g=0,k=1;!(a.words[0]&k)&&g<26;++g,k<<=1);if(g>0)for(a.iushrn(g);g-- >0;)x.isOdd()&&x.iadd(S),x.iushrn(1);o.cmp(a)>=0?(o.isub(a),v.isub(x)):(a.isub(o),x.isub(v))}var A;return o.cmpn(1)===0?A=v:A=x,A.cmpn(0)<0&&A.iadd(h),A},t.prototype.gcd=function(h){if(this.isZero())return h.abs();if(h.isZero())return this.abs();var o=this.clone(),a=h.clone();o.negative=0,a.negative=0;for(var v=0;o.isEven()&&a.isEven();v++)o.iushrn(1),a.iushrn(1);do{for(;o.isEven();)o.iushrn(1);for(;a.isEven();)a.iushrn(1);var x=o.cmp(a);if(x<0){var S=o;o=a,a=S}else if(x===0||a.cmpn(1)===0)break;o.isub(a)}while(!0);return a.iushln(v)},t.prototype.invm=function(h){return this.egcd(h).a.umod(h)},t.prototype.isEven=function(){return(this.words[0]&1)===0},t.prototype.isOdd=function(){return(this.words[0]&1)===1},t.prototype.andln=function(h){return this.words[0]&h},t.prototype.bincn=function(h){n(typeof h=="number");var o=h%26,a=(h-o)/26,v=1<>>26,M&=67108863,this.words[S]=M}return x!==0&&(this.words[S]=x,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(h){var o=h<0;if(this.negative!==0&&!o)return-1;if(this.negative===0&&o)return 1;this.strip();var a;if(this.length>1)a=1;else{o&&(h=-h),n(h<=67108863,"Number is too big");var v=this.words[0]|0;a=v===h?0:vh.length)return 1;if(this.length=0;a--){var v=this.words[a]|0,x=h.words[a]|0;if(v!==x){vx&&(o=1);break}}return o},t.prototype.gtn=function(h){return this.cmpn(h)===1},t.prototype.gt=function(h){return this.cmp(h)===1},t.prototype.gten=function(h){return this.cmpn(h)>=0},t.prototype.gte=function(h){return this.cmp(h)>=0},t.prototype.ltn=function(h){return this.cmpn(h)===-1},t.prototype.lt=function(h){return this.cmp(h)===-1},t.prototype.lten=function(h){return this.cmpn(h)<=0},t.prototype.lte=function(h){return this.cmp(h)<=0},t.prototype.eqn=function(h){return this.cmpn(h)===0},t.prototype.eq=function(h){return this.cmp(h)===0},t.red=function(h){return new ie(h)},t.prototype.toRed=function(h){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),h.convertTo(this)._forceRed(h)},t.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(h){return this.red=h,this},t.prototype.forceRed=function(h){return n(!this.red,"Already a number in reduction context"),this._forceRed(h)},t.prototype.redAdd=function(h){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,h)},t.prototype.redIAdd=function(h){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,h)},t.prototype.redSub=function(h){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,h)},t.prototype.redISub=function(h){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,h)},t.prototype.redShl=function(h){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,h)},t.prototype.redMul=function(h){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.mul(this,h)},t.prototype.redIMul=function(h){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.imul(this,h)},t.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(h){return n(this.red&&!h.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,h)};var D={k256:null,p224:null,p192:null,p25519:null};function U(m,h){this.name=m,this.p=new t(h,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}U.prototype._tmp=function(){var h=new t(null);return h.words=new Array(Math.ceil(this.n/13)),h},U.prototype.ireduce=function(h){var o=h,a;do this.split(o,this.tmp),o=this.imulK(o),o=o.iadd(this.tmp),a=o.bitLength();while(a>this.n);var v=a0?o.isub(this.p):o.strip!==void 0?o.strip():o._strip(),o},U.prototype.split=function(h,o){h.iushrn(this.n,0,o)},U.prototype.imulK=function(h){return h.imul(this.k)};function z(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}l(z,U),z.prototype.split=function(h,o){for(var a=4194303,v=Math.min(h.length,9),x=0;x>>22,S=M}S>>>=22,h.words[x-10]=S,S===0&&h.length>10?h.length-=10:h.length-=9},z.prototype.imulK=function(h){h.words[h.length]=0,h.words[h.length+1]=0,h.length+=2;for(var o=0,a=0;a>>=26,h.words[a]=x,o=v}return o!==0&&(h.words[h.length++]=o),h},t._prime=function(h){if(D[h])return D[h];var o;if(h==="k256")o=new z;else if(h==="p224")o=new W;else if(h==="p192")o=new te;else if(h==="p25519")o=new re;else throw new Error("Unknown prime "+h);return D[h]=o,o};function ie(m){if(typeof m=="string"){var h=t._prime(m);this.m=h.p,this.prime=h}else n(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}ie.prototype._verify1=function(h){n(h.negative===0,"red works only with positives"),n(h.red,"red works only with red numbers")},ie.prototype._verify2=function(h,o){n((h.negative|o.negative)===0,"red works only with positives"),n(h.red&&h.red===o.red,"red works only with red numbers")},ie.prototype.imod=function(h){return this.prime?this.prime.ireduce(h)._forceRed(this):h.umod(this.m)._forceRed(this)},ie.prototype.neg=function(h){return h.isZero()?h.clone():this.m.sub(h)._forceRed(this)},ie.prototype.add=function(h,o){this._verify2(h,o);var a=h.add(o);return a.cmp(this.m)>=0&&a.isub(this.m),a._forceRed(this)},ie.prototype.iadd=function(h,o){this._verify2(h,o);var a=h.iadd(o);return a.cmp(this.m)>=0&&a.isub(this.m),a},ie.prototype.sub=function(h,o){this._verify2(h,o);var a=h.sub(o);return a.cmpn(0)<0&&a.iadd(this.m),a._forceRed(this)},ie.prototype.isub=function(h,o){this._verify2(h,o);var a=h.isub(o);return a.cmpn(0)<0&&a.iadd(this.m),a},ie.prototype.shl=function(h,o){return this._verify1(h),this.imod(h.ushln(o))},ie.prototype.imul=function(h,o){return this._verify2(h,o),this.imod(h.imul(o))},ie.prototype.mul=function(h,o){return this._verify2(h,o),this.imod(h.mul(o))},ie.prototype.isqr=function(h){return this.imul(h,h.clone())},ie.prototype.sqr=function(h){return this.mul(h,h)},ie.prototype.sqrt=function(h){if(h.isZero())return h.clone();var o=this.m.andln(3);if(n(o%2===1),o===3){var a=this.m.add(new t(1)).iushrn(2);return this.pow(h,a)}for(var v=this.m.subn(1),x=0;!v.isZero()&&v.andln(1)===0;)x++,v.iushrn(1);n(!v.isZero());var S=new t(1).toRed(this),M=S.redNeg(),b=this.m.subn(1).iushrn(1),g=this.m.bitLength();for(g=new t(2*g*g).toRed(this);this.pow(g,b).cmp(M)!==0;)g.redIAdd(M);for(var k=this.pow(g,v),A=this.pow(h,v.addn(1).iushrn(1)),I=this.pow(h,v),q=x;I.cmp(S)!==0;){for(var $=I,N=0;$.cmp(S)!==0;N++)$=$.redSqr();n(N=0;x--){for(var k=o.words[x],A=g-1;A>=0;A--){var I=k>>A&1;if(S!==v[0]&&(S=this.sqr(S)),I===0&&M===0){b=0;continue}M<<=1,M|=I,b++,!(b!==a&&(x!==0||A!==0))&&(S=this.mul(S,v[M]),b=0,M=0)}g=26}return S},ie.prototype.convertTo=function(h){var o=h.umod(this.m);return o===h?o.clone():o},ie.prototype.convertFrom=function(h){var o=h.clone();return o.red=null,o},t.mont=function(h){return new Y(h)};function Y(m){ie.call(this,m),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}l(Y,ie),Y.prototype.convertTo=function(h){return this.imod(h.ushln(this.shift))},Y.prototype.convertFrom=function(h){var o=this.imod(h.mul(this.rinv));return o.red=null,o},Y.prototype.imul=function(h,o){if(h.isZero()||o.isZero())return h.words[0]=0,h.length=1,h;var a=h.imul(o),v=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=a.isub(v).iushrn(this.shift),S=x;return x.cmp(this.m)>=0?S=x.isub(this.m):x.cmpn(0)<0&&(S=x.iadd(this.m)),S._forceRed(this)},Y.prototype.mul=function(h,o){if(h.isZero()||o.isZero())return new t(0)._forceRed(this);var a=h.mul(o),v=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=a.isub(v).iushrn(this.shift),S=x;return x.cmp(this.m)>=0?S=x.isub(this.m):x.cmpn(0)<0&&(S=x.iadd(this.m)),S._forceRed(this)},Y.prototype.invm=function(h){var o=this.imod(h._invmp(this.m).mul(this.r2));return o._forceRed(this)}})(r,Bt)}(N1)),Qi}var Wa={},Z0;function Oc(){return Z0||(Z0=1,function(r){var e=r;function i(t,d){if(Array.isArray(t))return t.slice();if(!t)return[];var f=[];if(typeof t!="string"){for(var c=0;c>8,y=u&255;s?f.push(s,y):f.push(y)}return f}e.toArray=i;function n(t){return t.length===1?"0"+t:t}e.zero2=n;function l(t){for(var d="",f=0;f(_>>1)-1?R=(_>>1)-T:R=T,E.isubn(R)):R=0,w[B]=R,E.iushrn(1)}return w}e.getNAF=t;function d(s,y){var p=[[],[]];s=s.clone(),y=y.clone();for(var w=0,_=0,E;s.cmpn(-w)>0||y.cmpn(-_)>0;){var B=s.andln(3)+w&3,R=y.andln(3)+_&3;B===3&&(B=-1),R===3&&(R=-1);var T;B&1?(E=s.andln(7)+w&7,(E===3||E===5)&&R===2?T=-B:T=B):T=0,p[0].push(T);var D;R&1?(E=y.andln(7)+_&7,(E===3||E===5)&&B===2?D=-R:D=R):D=0,p[1].push(D),2*w===T+1&&(w=1-w),2*_===D+1&&(_=1-_),s.iushrn(1),y.iushrn(1)}return p}e.getJSF=d;function f(s,y,p){var w="_"+y;s.prototype[y]=function(){return this[w]!==void 0?this[w]:this[w]=p.call(this)}}e.cachedProperty=f;function c(s){return typeof s=="string"?e.toArray(s,"hex"):s}e.parseBytes=c;function u(s){return new i(s,"hex","le")}e.intFromLE=u}(Ka)),Ka}var Va={},Ga,J0;function cn(){if(J0)return Ga;J0=1;var r=xr(),e=vr(),i=e.getNAF,n=e.getJSF,l=e.assert;function t(f,c){this.type=f,this.p=new r(c.p,16),this.red=c.prime?r.red(c.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=c.n&&new r(c.n,16),this.g=c.g&&this.pointFromJSON(c.g,c.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var u=this.n&&this.p.div(this.n);!u||u.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}Ga=t,t.prototype.point=function(){throw new Error("Not implemented")},t.prototype.validate=function(){throw new Error("Not implemented")},t.prototype._fixedNafMul=function(c,u){l(c.precomputed);var s=c._getDoubles(),y=i(u,1,this._bitLength),p=(1<=_;B--)E=(E<<1)+y[B];w.push(E)}for(var R=this.jpoint(null,null,null),T=this.jpoint(null,null,null),D=p;D>0;D--){for(_=0;_=0;E--){for(var B=0;E>=0&&w[E]===0;E--)B++;if(E>=0&&B++,_=_.dblp(B),E<0)break;var R=w[E];l(R!==0),c.type==="affine"?R>0?_=_.mixedAdd(p[R-1>>1]):_=_.mixedAdd(p[-R-1>>1].neg()):R>0?_=_.add(p[R-1>>1]):_=_.add(p[-R-1>>1].neg())}return c.type==="affine"?_.toP():_},t.prototype._wnafMulAdd=function(c,u,s,y,p){var w=this._wnafT1,_=this._wnafT2,E=this._wnafT3,B=0,R,T,D;for(R=0;R=1;R-=2){var z=R-1,W=R;if(w[z]!==1||w[W]!==1){E[z]=i(s[z],w[z],this._bitLength),E[W]=i(s[W],w[W],this._bitLength),B=Math.max(E[z].length,B),B=Math.max(E[W].length,B);continue}var te=[u[z],null,null,u[W]];u[z].y.cmp(u[W].y)===0?(te[1]=u[z].add(u[W]),te[2]=u[z].toJ().mixedAdd(u[W].neg())):u[z].y.cmp(u[W].y.redNeg())===0?(te[1]=u[z].toJ().mixedAdd(u[W]),te[2]=u[z].add(u[W].neg())):(te[1]=u[z].toJ().mixedAdd(u[W]),te[2]=u[z].toJ().mixedAdd(u[W].neg()));var re=[-3,-1,-5,-7,0,7,5,1,3],ie=n(s[z],s[W]);for(B=Math.max(ie[0].length,B),E[z]=new Array(B),E[W]=new Array(B),T=0;T=0;R--){for(var a=0;R>=0;){var v=!0;for(T=0;T=0&&a++,h=h.dblp(a),R<0)break;for(T=0;T0?D=_[T][x-1>>1]:x<0&&(D=_[T][-x-1>>1].neg()),D.type==="affine"?h=h.mixedAdd(D):h=h.add(D))}}for(R=0;R=Math.ceil((c.bitLength()+1)/u.step):!1},d.prototype._getDoubles=function(c,u){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var s=[this],y=this,p=0;p=0&&(z=R,W=T),D.negative&&(D=D.neg(),U=U.neg()),z.negative&&(z=z.neg(),W=W.neg()),[{a:D,b:U},{a:z,b:W}]},t.prototype._endoSplit=function(u){var s=this.endo.basis,y=s[0],p=s[1],w=p.b.mul(u).divRound(this.n),_=y.b.neg().mul(u).divRound(this.n),E=w.mul(y.a),B=_.mul(p.a),R=w.mul(y.b),T=_.mul(p.b),D=u.sub(E).sub(B),U=R.add(T).neg();return{k1:D,k2:U}},t.prototype.pointFromX=function(u,s){u=new e(u,16),u.red||(u=u.toRed(this.red));var y=u.redSqr().redMul(u).redIAdd(u.redMul(this.a)).redIAdd(this.b),p=y.redSqrt();if(p.redSqr().redSub(y).cmp(this.zero)!==0)throw new Error("invalid point");var w=p.fromRed().isOdd();return(s&&!w||!s&&w)&&(p=p.redNeg()),this.point(u,p)},t.prototype.validate=function(u){if(u.inf)return!0;var s=u.x,y=u.y,p=this.a.redMul(s),w=s.redSqr().redMul(s).redIAdd(p).redIAdd(this.b);return y.redSqr().redISub(w).cmpn(0)===0},t.prototype._endoWnafMulAdd=function(u,s,y){for(var p=this._endoWnafT1,w=this._endoWnafT2,_=0;_":""},d.prototype.isInfinity=function(){return this.inf},d.prototype.add=function(u){if(this.inf)return u;if(u.inf)return this;if(this.eq(u))return this.dbl();if(this.neg().eq(u))return this.curve.point(null,null);if(this.x.cmp(u.x)===0)return this.curve.point(null,null);var s=this.y.redSub(u.y);s.cmpn(0)!==0&&(s=s.redMul(this.x.redSub(u.x).redInvm()));var y=s.redSqr().redISub(this.x).redISub(u.x),p=s.redMul(this.x.redSub(y)).redISub(this.y);return this.curve.point(y,p)},d.prototype.dbl=function(){if(this.inf)return this;var u=this.y.redAdd(this.y);if(u.cmpn(0)===0)return this.curve.point(null,null);var s=this.curve.a,y=this.x.redSqr(),p=u.redInvm(),w=y.redAdd(y).redIAdd(y).redIAdd(s).redMul(p),_=w.redSqr().redISub(this.x.redAdd(this.x)),E=w.redMul(this.x.redSub(_)).redISub(this.y);return this.curve.point(_,E)},d.prototype.getX=function(){return this.x.fromRed()},d.prototype.getY=function(){return this.y.fromRed()},d.prototype.mul=function(u){return u=new e(u,16),this.isInfinity()?this:this._hasDoubles(u)?this.curve._fixedNafMul(this,u):this.curve.endo?this.curve._endoWnafMulAdd([this],[u]):this.curve._wnafMul(this,u)},d.prototype.mulAdd=function(u,s,y){var p=[this,s],w=[u,y];return this.curve.endo?this.curve._endoWnafMulAdd(p,w):this.curve._wnafMulAdd(1,p,w,2)},d.prototype.jmulAdd=function(u,s,y){var p=[this,s],w=[u,y];return this.curve.endo?this.curve._endoWnafMulAdd(p,w,!0):this.curve._wnafMulAdd(1,p,w,2,!0)},d.prototype.eq=function(u){return this===u||this.inf===u.inf&&(this.inf||this.x.cmp(u.x)===0&&this.y.cmp(u.y)===0)},d.prototype.neg=function(u){if(this.inf)return this;var s=this.curve.point(this.x,this.y.redNeg());if(u&&this.precomputed){var y=this.precomputed,p=function(w){return w.neg()};s.precomputed={naf:y.naf&&{wnd:y.naf.wnd,points:y.naf.points.map(p)},doubles:y.doubles&&{step:y.doubles.step,points:y.doubles.points.map(p)}}}return s},d.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var u=this.curve.jpoint(this.x,this.y,this.curve.one);return u};function f(c,u,s,y){n.BasePoint.call(this,c,"jacobian"),u===null&&s===null&&y===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new e(0)):(this.x=new e(u,16),this.y=new e(s,16),this.z=new e(y,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}return i(f,n.BasePoint),t.prototype.jpoint=function(u,s,y){return new f(this,u,s,y)},f.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var u=this.z.redInvm(),s=u.redSqr(),y=this.x.redMul(s),p=this.y.redMul(s).redMul(u);return this.curve.point(y,p)},f.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},f.prototype.add=function(u){if(this.isInfinity())return u;if(u.isInfinity())return this;var s=u.z.redSqr(),y=this.z.redSqr(),p=this.x.redMul(s),w=u.x.redMul(y),_=this.y.redMul(s.redMul(u.z)),E=u.y.redMul(y.redMul(this.z)),B=p.redSub(w),R=_.redSub(E);if(B.cmpn(0)===0)return R.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var T=B.redSqr(),D=T.redMul(B),U=p.redMul(T),z=R.redSqr().redIAdd(D).redISub(U).redISub(U),W=R.redMul(U.redISub(z)).redISub(_.redMul(D)),te=this.z.redMul(u.z).redMul(B);return this.curve.jpoint(z,W,te)},f.prototype.mixedAdd=function(u){if(this.isInfinity())return u.toJ();if(u.isInfinity())return this;var s=this.z.redSqr(),y=this.x,p=u.x.redMul(s),w=this.y,_=u.y.redMul(s).redMul(this.z),E=y.redSub(p),B=w.redSub(_);if(E.cmpn(0)===0)return B.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var R=E.redSqr(),T=R.redMul(E),D=y.redMul(R),U=B.redSqr().redIAdd(T).redISub(D).redISub(D),z=B.redMul(D.redISub(U)).redISub(w.redMul(T)),W=this.z.redMul(E);return this.curve.jpoint(U,z,W)},f.prototype.dblp=function(u){if(u===0)return this;if(this.isInfinity())return this;if(!u)return this.dbl();var s;if(this.curve.zeroA||this.curve.threeA){var y=this;for(s=0;s=0)return!1;if(y.redIAdd(w),this.x.cmp(y)===0)return!0}},f.prototype.inspect=function(){return this.isInfinity()?"":""},f.prototype.isInfinity=function(){return this.z.cmpn(0)===0},Ya}var Za,eh;function U1(){if(eh)return Za;eh=1;var r=xr(),e=Mt(),i=cn(),n=vr();function l(d){i.call(this,"mont",d),this.a=new r(d.a,16).toRed(this.red),this.b=new r(d.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}e(l,i),Za=l,l.prototype.validate=function(f){var c=f.normalize().x,u=c.redSqr(),s=u.redMul(c).redAdd(u.redMul(this.a)).redAdd(c),y=s.redSqrt();return y.redSqr().cmp(s)===0};function t(d,f,c){i.BasePoint.call(this,d,"projective"),f===null&&c===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(f,16),this.z=new r(c,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}return e(t,i.BasePoint),l.prototype.decodePoint=function(f,c){return this.point(n.toArray(f,c),1)},l.prototype.point=function(f,c){return new t(this,f,c)},l.prototype.pointFromJSON=function(f){return t.fromJSON(this,f)},t.prototype.precompute=function(){},t.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},t.fromJSON=function(f,c){return new t(f,c[0],c[1]||f.one)},t.prototype.inspect=function(){return this.isInfinity()?"":""},t.prototype.isInfinity=function(){return this.z.cmpn(0)===0},t.prototype.dbl=function(){var f=this.x.redAdd(this.z),c=f.redSqr(),u=this.x.redSub(this.z),s=u.redSqr(),y=c.redSub(s),p=c.redMul(s),w=y.redMul(s.redAdd(this.curve.a24.redMul(y)));return this.curve.point(p,w)},t.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},t.prototype.diffAdd=function(f,c){var u=this.x.redAdd(this.z),s=this.x.redSub(this.z),y=f.x.redAdd(f.z),p=f.x.redSub(f.z),w=p.redMul(u),_=y.redMul(s),E=c.z.redMul(w.redAdd(_).redSqr()),B=c.x.redMul(w.redISub(_).redSqr());return this.curve.point(E,B)},t.prototype.mul=function(f){for(var c=f.clone(),u=this,s=this.curve.point(null,null),y=this,p=[];c.cmpn(0)!==0;c.iushrn(1))p.push(c.andln(1));for(var w=p.length-1;w>=0;w--)p[w]===0?(u=u.diffAdd(s,y),s=s.dbl()):(s=u.diffAdd(s,y),u=u.dbl());return s},t.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},t.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},t.prototype.eq=function(f){return this.getX().cmp(f.getX())===0},t.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},t.prototype.getX=function(){return this.normalize(),this.x.fromRed()},Za}var Xa,th;function j1(){if(th)return Xa;th=1;var r=vr(),e=xr(),i=Mt(),n=cn(),l=r.assert;function t(f){this.twisted=(f.a|0)!==1,this.mOneA=this.twisted&&(f.a|0)===-1,this.extended=this.mOneA,n.call(this,"edwards",f),this.a=new e(f.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new e(f.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new e(f.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),l(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(f.c|0)===1}i(t,n),Xa=t,t.prototype._mulA=function(c){return this.mOneA?c.redNeg():this.a.redMul(c)},t.prototype._mulC=function(c){return this.oneC?c:this.c.redMul(c)},t.prototype.jpoint=function(c,u,s,y){return this.point(c,u,s,y)},t.prototype.pointFromX=function(c,u){c=new e(c,16),c.red||(c=c.toRed(this.red));var s=c.redSqr(),y=this.c2.redSub(this.a.redMul(s)),p=this.one.redSub(this.c2.redMul(this.d).redMul(s)),w=y.redMul(p.redInvm()),_=w.redSqrt();if(_.redSqr().redSub(w).cmp(this.zero)!==0)throw new Error("invalid point");var E=_.fromRed().isOdd();return(u&&!E||!u&&E)&&(_=_.redNeg()),this.point(c,_)},t.prototype.pointFromY=function(c,u){c=new e(c,16),c.red||(c=c.toRed(this.red));var s=c.redSqr(),y=s.redSub(this.c2),p=s.redMul(this.d).redMul(this.c2).redSub(this.a),w=y.redMul(p.redInvm());if(w.cmp(this.zero)===0){if(u)throw new Error("invalid point");return this.point(this.zero,c)}var _=w.redSqrt();if(_.redSqr().redSub(w).cmp(this.zero)!==0)throw new Error("invalid point");return _.fromRed().isOdd()!==u&&(_=_.redNeg()),this.point(_,c)},t.prototype.validate=function(c){if(c.isInfinity())return!0;c.normalize();var u=c.x.redSqr(),s=c.y.redSqr(),y=u.redMul(this.a).redAdd(s),p=this.c2.redMul(this.one.redAdd(this.d.redMul(u).redMul(s)));return y.cmp(p)===0};function d(f,c,u,s,y){n.BasePoint.call(this,f,"projective"),c===null&&u===null&&s===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new e(c,16),this.y=new e(u,16),this.z=s?new e(s,16):this.curve.one,this.t=y&&new e(y,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}return i(d,n.BasePoint),t.prototype.pointFromJSON=function(c){return d.fromJSON(this,c)},t.prototype.point=function(c,u,s,y){return new d(this,c,u,s,y)},d.fromJSON=function(c,u){return new d(c,u[0],u[1],u[2])},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},d.prototype._extDbl=function(){var c=this.x.redSqr(),u=this.y.redSqr(),s=this.z.redSqr();s=s.redIAdd(s);var y=this.curve._mulA(c),p=this.x.redAdd(this.y).redSqr().redISub(c).redISub(u),w=y.redAdd(u),_=w.redSub(s),E=y.redSub(u),B=p.redMul(_),R=w.redMul(E),T=p.redMul(E),D=_.redMul(w);return this.curve.point(B,R,D,T)},d.prototype._projDbl=function(){var c=this.x.redAdd(this.y).redSqr(),u=this.x.redSqr(),s=this.y.redSqr(),y,p,w,_,E,B;if(this.curve.twisted){_=this.curve._mulA(u);var R=_.redAdd(s);this.zOne?(y=c.redSub(u).redSub(s).redMul(R.redSub(this.curve.two)),p=R.redMul(_.redSub(s)),w=R.redSqr().redSub(R).redSub(R)):(E=this.z.redSqr(),B=R.redSub(E).redISub(E),y=c.redSub(u).redISub(s).redMul(B),p=R.redMul(_.redSub(s)),w=R.redMul(B))}else _=u.redAdd(s),E=this.curve._mulC(this.z).redSqr(),B=_.redSub(E).redSub(E),y=this.curve._mulC(c.redISub(_)).redMul(B),p=this.curve._mulC(_).redMul(u.redISub(s)),w=_.redMul(B);return this.curve.point(y,p,w)},d.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},d.prototype._extAdd=function(c){var u=this.y.redSub(this.x).redMul(c.y.redSub(c.x)),s=this.y.redAdd(this.x).redMul(c.y.redAdd(c.x)),y=this.t.redMul(this.curve.dd).redMul(c.t),p=this.z.redMul(c.z.redAdd(c.z)),w=s.redSub(u),_=p.redSub(y),E=p.redAdd(y),B=s.redAdd(u),R=w.redMul(_),T=E.redMul(B),D=w.redMul(B),U=_.redMul(E);return this.curve.point(R,T,U,D)},d.prototype._projAdd=function(c){var u=this.z.redMul(c.z),s=u.redSqr(),y=this.x.redMul(c.x),p=this.y.redMul(c.y),w=this.curve.d.redMul(y).redMul(p),_=s.redSub(w),E=s.redAdd(w),B=this.x.redAdd(this.y).redMul(c.x.redAdd(c.y)).redISub(y).redISub(p),R=u.redMul(_).redMul(B),T,D;return this.curve.twisted?(T=u.redMul(E).redMul(p.redSub(this.curve._mulA(y))),D=_.redMul(E)):(T=u.redMul(E).redMul(p.redSub(y)),D=this.curve._mulC(_).redMul(E)),this.curve.point(R,T,D)},d.prototype.add=function(c){return this.isInfinity()?c:c.isInfinity()?this:this.curve.extended?this._extAdd(c):this._projAdd(c)},d.prototype.mul=function(c){return this._hasDoubles(c)?this.curve._fixedNafMul(this,c):this.curve._wnafMul(this,c)},d.prototype.mulAdd=function(c,u,s){return this.curve._wnafMulAdd(1,[this,u],[c,s],2,!1)},d.prototype.jmulAdd=function(c,u,s){return this.curve._wnafMulAdd(1,[this,u],[c,s],2,!0)},d.prototype.normalize=function(){if(this.zOne)return this;var c=this.z.redInvm();return this.x=this.x.redMul(c),this.y=this.y.redMul(c),this.t&&(this.t=this.t.redMul(c)),this.z=this.curve.one,this.zOne=!0,this},d.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()},d.prototype.getY=function(){return this.normalize(),this.y.fromRed()},d.prototype.eq=function(c){return this===c||this.getX().cmp(c.getX())===0&&this.getY().cmp(c.getY())===0},d.prototype.eqXToP=function(c){var u=c.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(u)===0)return!0;for(var s=c.clone(),y=this.curve.redN.redMul(this.z);;){if(s.iadd(this.curve.n),s.cmp(this.curve.p)>=0)return!1;if(u.redIAdd(y),this.x.cmp(u)===0)return!0}},d.prototype.toP=d.prototype.normalize,d.prototype.mixedAdd=d.prototype.add,Xa}var rh;function qc(){return rh||(rh=1,function(r){var e=r;e.base=cn(),e.short=F1(),e.mont=U1(),e.edwards=j1()}(Va)),Va}var Ja={},Qa={},jt={},ih;function kr(){if(ih)return jt;ih=1;var r=pr(),e=Mt();jt.inherits=e;function i(h,o){return(h.charCodeAt(o)&64512)!==55296||o<0||o+1>=h.length?!1:(h.charCodeAt(o+1)&64512)===56320}function n(h,o){if(Array.isArray(h))return h.slice();if(!h)return[];var a=[];if(typeof h=="string")if(o){if(o==="hex")for(h=h.replace(/[^a-z0-9]+/ig,""),h.length%2!==0&&(h="0"+h),x=0;x>6|192,a[v++]=S&63|128):i(h,x)?(S=65536+((S&1023)<<10)+(h.charCodeAt(++x)&1023),a[v++]=S>>18|240,a[v++]=S>>12&63|128,a[v++]=S>>6&63|128,a[v++]=S&63|128):(a[v++]=S>>12|224,a[v++]=S>>6&63|128,a[v++]=S&63|128)}else for(x=0;x>>24|h>>>8&65280|h<<8&16711680|(h&255)<<24;return o>>>0}jt.htonl=t;function d(h,o){for(var a="",v=0;v>>0}return S}jt.join32=u;function s(h,o){for(var a=new Array(h.length*4),v=0,x=0;v>>24,a[x+1]=S>>>16&255,a[x+2]=S>>>8&255,a[x+3]=S&255):(a[x+3]=S>>>24,a[x+2]=S>>>16&255,a[x+1]=S>>>8&255,a[x]=S&255)}return a}jt.split32=s;function y(h,o){return h>>>o|h<<32-o}jt.rotr32=y;function p(h,o){return h<>>32-o}jt.rotl32=p;function w(h,o){return h+o>>>0}jt.sum32=w;function _(h,o,a){return h+o+a>>>0}jt.sum32_3=_;function E(h,o,a,v){return h+o+a+v>>>0}jt.sum32_4=E;function B(h,o,a,v,x){return h+o+a+v+x>>>0}jt.sum32_5=B;function R(h,o,a,v){var x=h[o],S=h[o+1],M=v+S>>>0,b=(M>>0,h[o+1]=M}jt.sum64=R;function T(h,o,a,v){var x=o+v>>>0,S=(x>>0}jt.sum64_hi=T;function D(h,o,a,v){var x=o+v;return x>>>0}jt.sum64_lo=D;function U(h,o,a,v,x,S,M,b){var g=0,k=o;k=k+v>>>0,g+=k>>0,g+=k>>0,g+=k>>0}jt.sum64_4_hi=U;function z(h,o,a,v,x,S,M,b){var g=o+v+S+b;return g>>>0}jt.sum64_4_lo=z;function W(h,o,a,v,x,S,M,b,g,k){var A=0,I=o;I=I+v>>>0,A+=I>>0,A+=I>>0,A+=I>>0,A+=I>>0}jt.sum64_5_hi=W;function te(h,o,a,v,x,S,M,b,g,k){var A=o+v+S+b+k;return A>>>0}jt.sum64_5_lo=te;function re(h,o,a){var v=o<<32-a|h>>>a;return v>>>0}jt.rotr64_hi=re;function ie(h,o,a){var v=h<<32-a|o>>>a;return v>>>0}jt.rotr64_lo=ie;function Y(h,o,a){return h>>>a}jt.shr64_hi=Y;function m(h,o,a){var v=h<<32-a|o>>>a;return v>>>0}return jt.shr64_lo=m,jt}var ef={},nh;function Si(){if(nh)return ef;nh=1;var r=kr(),e=pr();function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}return ef.BlockHash=i,i.prototype.update=function(l,t){if(l=r.toArray(l,t),this.pending?this.pending=this.pending.concat(l):this.pending=l,this.pendingTotal+=l.length,this.pending.length>=this._delta8){l=this.pending;var d=l.length%this._delta8;this.pending=l.slice(l.length-d,l.length),this.pending.length===0&&(this.pending=null),l=r.join32(l,0,l.length-d,this.endian);for(var f=0;f>>24&255,f[c++]=l>>>16&255,f[c++]=l>>>8&255,f[c++]=l&255}else for(f[c++]=l&255,f[c++]=l>>>8&255,f[c++]=l>>>16&255,f[c++]=l>>>24&255,f[c++]=0,f[c++]=0,f[c++]=0,f[c++]=0,u=8;u>>3}wr.g0_256=c;function u(s){return e(s,17)^e(s,19)^s>>>10}return wr.g1_256=u,wr}var tf,fh;function z1(){if(fh)return tf;fh=1;var r=kr(),e=Si(),i=Dc(),n=r.rotl32,l=r.sum32,t=r.sum32_5,d=i.ft_1,f=e.BlockHash,c=[1518500249,1859775393,2400959708,3395469782];function u(){if(!(this instanceof u))return new u;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}return r.inherits(u,f),tf=u,u.blockSize=512,u.outSize=160,u.hmacStrength=80,u.padLength=64,u.prototype._update=function(y,p){for(var w=this.W,_=0;_<16;_++)w[_]=y[p+_];for(;_this.blockSize&&(l=new this.Hash().update(l).digest()),e(l.length<=this.blockSize);for(var t=l.length;t=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,d,f)}return uf=n,n.prototype._init=function(t,d,f){var c=t.concat(d).concat(f);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var u=0;u=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(f||[])),this._reseed=1},n.prototype.generate=function(t,d,f,c){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof d!="string"&&(c=f,f=d,d=null),f&&(f=e.toArray(f,c||"hex"),this._update(f));for(var u=[];u.length"},cf}var lf,mh;function X1(){if(mh)return lf;mh=1;var r=xr(),e=vr(),i=e.assert;function n(c,u){if(c instanceof n)return c;this._importDER(c,u)||(i(c.r&&c.s,"Signature without r or s"),this.r=new r(c.r,16),this.s=new r(c.s,16),c.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=c.recoveryParam)}lf=n;function l(){this.place=0}function t(c,u){var s=c[u.place++];if(!(s&128))return s;var y=s&15;if(y===0||y>4)return!1;for(var p=0,w=0,_=u.place;w>>=0;return p<=127?!1:(u.place=_,p)}function d(c){for(var u=0,s=c.length-1;!c[u]&&!(c[u+1]&128)&&u>>3);for(c.push(s|128);--s;)c.push(u>>>(s<<3)&255);c.push(u)}return n.prototype.toDER=function(u){var s=this.r.toArray(),y=this.s.toArray();for(s[0]&128&&(s=[0].concat(s)),y[0]&128&&(y=[0].concat(y)),s=d(s),y=d(y);!y[0]&&!(y[1]&128);)y=y.slice(1);var p=[2];f(p,s.length),p=p.concat(s),p.push(2),f(p,y.length);var w=p.concat(y),_=[48];return f(_,w.length),_=_.concat(w),e.encode(_,u)},lf}var df,xh;function J1(){if(xh)return df;xh=1;var r=xr(),e=Y1(),i=vr(),n=Cs(),l=Es(),t=i.assert,d=Z1(),f=X1();function c(u){if(!(this instanceof c))return new c(u);typeof u=="string"&&(t(Object.prototype.hasOwnProperty.call(n,u),"Unknown curve "+u),u=n[u]),u instanceof n.PresetCurve&&(u={curve:u}),this.curve=u.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=u.curve.g,this.g.precompute(u.curve.n.bitLength()+1),this.hash=u.hash||u.curve.hash}return df=c,c.prototype.keyPair=function(s){return new d(this,s)},c.prototype.keyFromPrivate=function(s,y){return d.fromPrivate(this,s,y)},c.prototype.keyFromPublic=function(s,y){return d.fromPublic(this,s,y)},c.prototype.genKeyPair=function(s){s||(s={});for(var y=new e({hash:this.hash,pers:s.pers,persEnc:s.persEnc||"utf8",entropy:s.entropy||l(this.hash.hmacStrength),entropyEnc:s.entropy&&s.entropyEnc||"utf8",nonce:this.n.toArray()}),p=this.n.byteLength(),w=this.n.sub(new r(2));;){var _=new r(y.generate(p));if(!(_.cmp(w)>0))return _.iaddn(1),this.keyFromPrivate(_)}},c.prototype._truncateToN=function(s,y){var p=s.byteLength()*8-this.n.bitLength();return p>0&&(s=s.ushrn(p)),!y&&s.cmp(this.n)>=0?s.sub(this.n):s},c.prototype.sign=function(s,y,p,w){typeof p=="object"&&(w=p,p=null),w||(w={}),y=this.keyFromPrivate(y,p),s=this._truncateToN(new r(s,16));for(var _=this.n.byteLength(),E=y.getPrivate().toArray("be",_),B=s.toArray("be",_),R=new e({hash:this.hash,entropy:E,nonce:B,pers:w.pers,persEnc:w.persEnc||"utf8"}),T=this.n.sub(new r(1)),D=0;;D++){var U=w.k?w.k(D):new r(R.generate(this.n.byteLength()));if(U=this._truncateToN(U,!0),!(U.cmpn(1)<=0||U.cmp(T)>=0)){var z=this.g.mul(U);if(!z.isInfinity()){var W=z.getX(),te=W.umod(this.n);if(te.cmpn(0)!==0){var re=U.invm(this.n).mul(te.mul(y.getPrivate()).iadd(s));if(re=re.umod(this.n),re.cmpn(0)!==0){var ie=(z.getY().isOdd()?1:0)|(W.cmp(te)!==0?2:0);return w.canonical&&re.cmp(this.nh)>0&&(re=this.n.sub(re),ie^=1),new f({r:te,s:re,recoveryParam:ie})}}}}}},c.prototype.verify=function(s,y,p,w){s=this._truncateToN(new r(s,16)),p=this.keyFromPublic(p,w),y=new f(y,"hex");var _=y.r,E=y.s;if(_.cmpn(1)<0||_.cmp(this.n)>=0||E.cmpn(1)<0||E.cmp(this.n)>=0)return!1;var B=E.invm(this.n),R=B.mul(s).umod(this.n),T=B.mul(_).umod(this.n),D;return this.curve._maxwellTrick?(D=this.g.jmulAdd(R,p.getPublic(),T),D.isInfinity()?!1:D.eqXToP(_)):(D=this.g.mulAdd(R,p.getPublic(),T),D.isInfinity()?!1:D.getX().umod(this.n).cmp(_)===0)},c.prototype.recoverPubKey=function(u,s,y,p){t((3&y)===y,"The recovery param is more than two bits"),s=new f(s,p);var w=this.n,_=new r(u),E=s.r,B=s.s,R=y&1,T=y>>1;if(E.cmp(this.curve.p.umod(this.curve.n))>=0&&T)throw new Error("Unable to find sencond key candinate");T?E=this.curve.pointFromX(E.add(this.curve.n),R):E=this.curve.pointFromX(E,R);var D=s.r.invm(w),U=w.sub(_).mul(D).umod(w),z=B.mul(D).umod(w);return this.g.mulAdd(U,E,z)},c.prototype.getKeyRecoveryParam=function(u,s,y,p){if(s=new f(s,p),s.recoveryParam!==null)return s.recoveryParam;for(var w=0;w<4;w++){var _;try{_=this.recoverPubKey(u,s,w)}catch{continue}if(_.eq(y))return w}throw new Error("Unable to find valid recovery factor")},df}var pf,wh;function Q1(){if(wh)return pf;wh=1;var r=vr(),e=r.assert,i=r.parseBytes,n=r.cachedProperty;function l(t,d){this.eddsa=t,this._secret=i(d.secret),t.isPoint(d.pub)?this._pub=d.pub:this._pubBytes=i(d.pub)}return l.fromPublic=function(d,f){return f instanceof l?f:new l(d,{pub:f})},l.fromSecret=function(d,f){return f instanceof l?f:new l(d,{secret:f})},l.prototype.secret=function(){return this._secret},n(l,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),n(l,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),n(l,"privBytes",function(){var d=this.eddsa,f=this.hash(),c=d.encodingLength-1,u=f.slice(0,d.encodingLength);return u[0]&=248,u[c]&=127,u[c]|=64,u}),n(l,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),n(l,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),n(l,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),l.prototype.sign=function(d){return e(this._secret,"KeyPair can only verify"),this.eddsa.sign(d,this)},l.prototype.verify=function(d,f){return this.eddsa.verify(d,f,this)},l.prototype.getSecret=function(d){return e(this._secret,"KeyPair is public only"),r.encode(this.secret(),d)},l.prototype.getPublic=function(d){return r.encode(this.pubBytes(),d)},pf=l,pf}var vf,_h;function ep(){if(_h)return vf;_h=1;var r=xr(),e=vr(),i=e.assert,n=e.cachedProperty,l=e.parseBytes;function t(d,f){this.eddsa=d,typeof f!="object"&&(f=l(f)),Array.isArray(f)&&(f={R:f.slice(0,d.encodingLength),S:f.slice(d.encodingLength)}),i(f.R&&f.S,"Signature without R or S"),d.isPoint(f.R)&&(this._R=f.R),f.S instanceof r&&(this._S=f.S),this._Rencoded=Array.isArray(f.R)?f.R:f.Rencoded,this._Sencoded=Array.isArray(f.S)?f.S:f.Sencoded}return n(t,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),n(t,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),n(t,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),n(t,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),t.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},t.prototype.toHex=function(){return e.encode(this.toBytes(),"hex").toUpperCase()},vf=t,vf}var bf,Mh;function tp(){if(Mh)return bf;Mh=1;var r=ks(),e=Cs(),i=vr(),n=i.assert,l=i.parseBytes,t=Q1(),d=ep();function f(c){if(n(c==="ed25519","only tested with ed25519 so far"),!(this instanceof f))return new f(c);c=e[c].curve,this.curve=c,this.g=c.g,this.g.precompute(c.n.bitLength()+1),this.pointClass=c.point().constructor,this.encodingLength=Math.ceil(c.n.bitLength()/8),this.hash=r.sha512}return bf=f,f.prototype.sign=function(u,s){u=l(u);var y=this.keyFromSecret(s),p=this.hashInt(y.messagePrefix(),u),w=this.g.mul(p),_=this.encodePoint(w),E=this.hashInt(_,y.pubBytes(),u).mul(y.priv()),B=p.add(E).umod(this.curve.n);return this.makeSignature({R:w,S:B,Rencoded:_})},f.prototype.verify=function(u,s,y){u=l(u),s=this.makeSignature(s);var p=this.keyFromPublic(y),w=this.hashInt(s.Rencoded(),p.pubBytes(),u),_=this.g.mul(s.S()),E=s.R().add(p.pub().mul(w));return E.eq(_)},f.prototype.hashInt=function(){for(var u=this.hash(),s=0;s"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return e(t,d,f)}),l.alloc||(l.alloc=function(t,d,f){if(typeof t!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var c=e(t);return!d||d.length===0?c.fill(0):typeof f=="string"?c.fill(d,f):c.fill(d),c}),!i.kStringMaxLength)try{i.kStringMaxLength=pt.binding("buffer").kStringMaxLength}catch{}return i.constants||(i.constants={MAX_LENGTH:i.kMaxLength},i.kStringMaxLength&&(i.constants.MAX_STRING_LENGTH=i.kStringMaxLength)),xf=i,xf}var wf={},Eh;function Ps(){if(Eh)return wf;Eh=1;const r=Mt();function e(n){this._reporterState={obj:null,path:[],options:n||{},errors:[]}}wf.Reporter=e,e.prototype.isError=function(l){return l instanceof i},e.prototype.save=function(){const l=this._reporterState;return{obj:l.obj,pathLen:l.path.length}},e.prototype.restore=function(l){const t=this._reporterState;t.obj=l.obj,t.path=t.path.slice(0,l.pathLen)},e.prototype.enterKey=function(l){return this._reporterState.path.push(l)},e.prototype.exitKey=function(l){const t=this._reporterState;t.path=t.path.slice(0,l-1)},e.prototype.leaveKey=function(l,t,d){const f=this._reporterState;this.exitKey(l),f.obj!==null&&(f.obj[t]=d)},e.prototype.path=function(){return this._reporterState.path.join("/")},e.prototype.enterObject=function(){const l=this._reporterState,t=l.obj;return l.obj={},t},e.prototype.leaveObject=function(l){const t=this._reporterState,d=t.obj;return t.obj=l,d},e.prototype.error=function(l){let t;const d=this._reporterState,f=l instanceof i;if(f?t=l:t=new i(d.path.map(function(c){return"["+JSON.stringify(c)+"]"}).join(""),l.message||l,l.stack),!d.options.partial)throw t;return f||d.errors.push(t),t},e.prototype.wrapResult=function(l){const t=this._reporterState;return t.options.partial?{result:this.isError(l)?null:l,errors:t.errors}:l};function i(n,l){this.path=n,this.rethrow(l)}return r(i,Error),i.prototype.rethrow=function(l){if(this.message=l+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this},wf}var Ii={},Bh;function xi(){if(Bh)return Ii;Bh=1;const r=Mt(),e=Ps().Reporter,i=Ts().Buffer;function n(t,d){if(e.call(this,d),!i.isBuffer(t)){this.error("Input not Buffer");return}this.base=t,this.offset=0,this.length=t.length}r(n,e),Ii.DecoderBuffer=n,n.isDecoderBuffer=function(d){return d instanceof n?!0:typeof d=="object"&&i.isBuffer(d.base)&&d.constructor.name==="DecoderBuffer"&&typeof d.offset=="number"&&typeof d.length=="number"&&typeof d.save=="function"&&typeof d.restore=="function"&&typeof d.isEmpty=="function"&&typeof d.readUInt8=="function"&&typeof d.skip=="function"&&typeof d.raw=="function"},n.prototype.save=function(){return{offset:this.offset,reporter:e.prototype.save.call(this)}},n.prototype.restore=function(d){const f=new n(this.base);return f.offset=d.offset,f.length=this.offset,this.offset=d.offset,e.prototype.restore.call(this,d.reporter),f},n.prototype.isEmpty=function(){return this.offset===this.length},n.prototype.readUInt8=function(d){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(d||"DecoderBuffer overrun")},n.prototype.skip=function(d,f){if(!(this.offset+d<=this.length))return this.error(f||"DecoderBuffer overrun");const c=new n(this.base);return c._reporterState=this._reporterState,c.offset=this.offset,c.length=this.offset+d,this.offset+=d,c},n.prototype.raw=function(d){return this.base.slice(d?d.offset:this.offset,this.length)};function l(t,d){if(Array.isArray(t))this.length=0,this.value=t.map(function(f){return l.isEncoderBuffer(f)||(f=new l(f,d)),this.length+=f.length,f},this);else if(typeof t=="number"){if(!(0<=t&&t<=255))return d.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if(typeof t=="string")this.value=t,this.length=i.byteLength(t);else if(i.isBuffer(t))this.value=t,this.length=t.length;else return d.error("Unsupported type: "+typeof t)}return Ii.EncoderBuffer=l,l.isEncoderBuffer=function(d){return d instanceof l?!0:typeof d=="object"&&d.constructor.name==="EncoderBuffer"&&typeof d.length=="number"&&typeof d.join=="function"},l.prototype.join=function(d,f){return d||(d=i.alloc(this.length)),f||(f=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(c){c.join(d,f),f+=c.length}):(typeof this.value=="number"?d[f]=this.value:typeof this.value=="string"?d.write(this.value,f):i.isBuffer(this.value)&&this.value.copy(d,f),f+=this.length)),d},Ii}var _f,Rh;function Os(){if(Rh)return _f;Rh=1;const r=Ps().Reporter,e=xi().EncoderBuffer,i=xi().DecoderBuffer,n=pr(),l=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],t=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(l),d=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function f(u,s,y){const p={};this._baseState=p,p.name=y,p.enc=u,p.parent=s||null,p.children=null,p.tag=null,p.args=null,p.reverseArgs=null,p.choice=null,p.optional=!1,p.any=!1,p.obj=!1,p.use=null,p.useDecoder=null,p.key=null,p.default=null,p.explicit=null,p.implicit=null,p.contains=null,p.parent||(p.children=[],this._wrap())}_f=f;const c=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];return f.prototype.clone=function(){const s=this._baseState,y={};c.forEach(function(w){y[w]=s[w]});const p=new this.constructor(y.parent);return p._baseState=y,p},f.prototype._wrap=function(){const s=this._baseState;t.forEach(function(y){this[y]=function(){const w=new this.constructor(this);return s.children.push(w),w[y].apply(w,arguments)}},this)},f.prototype._init=function(s){const y=this._baseState;n(y.parent===null),s.call(this),y.children=y.children.filter(function(p){return p._baseState.parent===this},this),n.equal(y.children.length,1,"Root node can have only one child")},f.prototype._useArgs=function(s){const y=this._baseState,p=s.filter(function(w){return w instanceof this.constructor},this);s=s.filter(function(w){return!(w instanceof this.constructor)},this),p.length!==0&&(n(y.children===null),y.children=p,p.forEach(function(w){w._baseState.parent=this},this)),s.length!==0&&(n(y.args===null),y.args=s,y.reverseArgs=s.map(function(w){if(typeof w!="object"||w.constructor!==Object)return w;const _={};return Object.keys(w).forEach(function(E){E==(E|0)&&(E|=0);const B=w[E];_[B]=E}),_}))},d.forEach(function(u){f.prototype[u]=function(){const y=this._baseState;throw new Error(u+" not implemented for encoding: "+y.enc)}}),l.forEach(function(u){f.prototype[u]=function(){const y=this._baseState,p=Array.prototype.slice.call(arguments);return n(y.tag===null),y.tag=u,this._useArgs(p),this}}),f.prototype.use=function(s){n(s);const y=this._baseState;return n(y.use===null),y.use=s,this},f.prototype.optional=function(){const s=this._baseState;return s.optional=!0,this},f.prototype.def=function(s){const y=this._baseState;return n(y.default===null),y.default=s,y.optional=!0,this},f.prototype.explicit=function(s){const y=this._baseState;return n(y.explicit===null&&y.implicit===null),y.explicit=s,this},f.prototype.implicit=function(s){const y=this._baseState;return n(y.explicit===null&&y.implicit===null),y.implicit=s,this},f.prototype.obj=function(){const s=this._baseState,y=Array.prototype.slice.call(arguments);return s.obj=!0,y.length!==0&&this._useArgs(y),this},f.prototype.key=function(s){const y=this._baseState;return n(y.key===null),y.key=s,this},f.prototype.any=function(){const s=this._baseState;return s.any=!0,this},f.prototype.choice=function(s){const y=this._baseState;return n(y.choice===null),y.choice=s,this._useArgs(Object.keys(s).map(function(p){return s[p]})),this},f.prototype.contains=function(s){const y=this._baseState;return n(y.use===null),y.contains=s,this},f.prototype._decode=function(s,y){const p=this._baseState;if(p.parent===null)return s.wrapResult(p.children[0]._decode(s,y));let w=p.default,_=!0,E=null;if(p.key!==null&&(E=s.enterKey(p.key)),p.optional){let R=null;if(p.explicit!==null?R=p.explicit:p.implicit!==null?R=p.implicit:p.tag!==null&&(R=p.tag),R===null&&!p.any){const T=s.save();try{p.choice===null?this._decodeGeneric(p.tag,s,y):this._decodeChoice(s,y),_=!0}catch{_=!1}s.restore(T)}else if(_=this._peekTag(s,R,p.any),s.isError(_))return _}let B;if(p.obj&&_&&(B=s.enterObject()),_){if(p.explicit!==null){const T=this._decodeTag(s,p.explicit);if(s.isError(T))return T;s=T}const R=s.offset;if(p.use===null&&p.choice===null){let T;p.any&&(T=s.save());const D=this._decodeTag(s,p.implicit!==null?p.implicit:p.tag,p.any);if(s.isError(D))return D;p.any?w=s.raw(T):s=D}if(y&&y.track&&p.tag!==null&&y.track(s.path(),R,s.length,"tagged"),y&&y.track&&p.tag!==null&&y.track(s.path(),s.offset,s.length,"content"),p.any||(p.choice===null?w=this._decodeGeneric(p.tag,s,y):w=this._decodeChoice(s,y)),s.isError(w))return w;if(!p.any&&p.choice===null&&p.children!==null&&p.children.forEach(function(D){D._decode(s,y)}),p.contains&&(p.tag==="octstr"||p.tag==="bitstr")){const T=new i(w);w=this._getUse(p.contains,s._reporterState.obj)._decode(T,y)}}return p.obj&&_&&(w=s.leaveObject(B)),p.key!==null&&(w!==null||_===!0)?s.leaveKey(E,p.key,w):E!==null&&s.exitKey(E),w},f.prototype._decodeGeneric=function(s,y,p){const w=this._baseState;return s==="seq"||s==="set"?null:s==="seqof"||s==="setof"?this._decodeList(y,s,w.args[0],p):/str$/.test(s)?this._decodeStr(y,s,p):s==="objid"&&w.args?this._decodeObjid(y,w.args[0],w.args[1],p):s==="objid"?this._decodeObjid(y,null,null,p):s==="gentime"||s==="utctime"?this._decodeTime(y,s,p):s==="null_"?this._decodeNull(y,p):s==="bool"?this._decodeBool(y,p):s==="objDesc"?this._decodeStr(y,s,p):s==="int"||s==="enum"?this._decodeInt(y,w.args&&w.args[0],p):w.use!==null?this._getUse(w.use,y._reporterState.obj)._decode(y,p):y.error("unknown tag: "+s)},f.prototype._getUse=function(s,y){const p=this._baseState;return p.useDecoder=this._use(s,y),n(p.useDecoder._baseState.parent===null),p.useDecoder=p.useDecoder._baseState.children[0],p.implicit!==p.useDecoder._baseState.implicit&&(p.useDecoder=p.useDecoder.clone(),p.useDecoder._baseState.implicit=p.implicit),p.useDecoder},f.prototype._decodeChoice=function(s,y){const p=this._baseState;let w=null,_=!1;return Object.keys(p.choice).some(function(E){const B=s.save(),R=p.choice[E];try{const T=R._decode(s,y);if(s.isError(T))return!1;w={type:E,value:T},_=!0}catch{return s.restore(B),!1}return!0},this),_?w:s.error("Choice not matched")},f.prototype._createEncoderBuffer=function(s){return new e(s,this.reporter)},f.prototype._encode=function(s,y,p){const w=this._baseState;if(w.default!==null&&w.default===s)return;const _=this._encodeValue(s,y,p);if(_!==void 0&&!this._skipDefault(_,y,p))return _},f.prototype._encodeValue=function(s,y,p){const w=this._baseState;if(w.parent===null)return w.children[0]._encode(s,y||new r);let _=null;if(this.reporter=y,w.optional&&s===void 0)if(w.default!==null)s=w.default;else return;let E=null,B=!1;if(w.any)_=this._createEncoderBuffer(s);else if(w.choice)_=this._encodeChoice(s,y);else if(w.contains)E=this._getUse(w.contains,p)._encode(s,y),B=!0;else if(w.children)E=w.children.map(function(R){if(R._baseState.tag==="null_")return R._encode(null,y,s);if(R._baseState.key===null)return y.error("Child should have a key");const T=y.enterKey(R._baseState.key);if(typeof s!="object")return y.error("Child expected, but input is not object");const D=R._encode(s[R._baseState.key],y,s);return y.leaveKey(T),D},this).filter(function(R){return R}),E=this._createEncoderBuffer(E);else if(w.tag==="seqof"||w.tag==="setof"){if(!(w.args&&w.args.length===1))return y.error("Too many args for : "+w.tag);if(!Array.isArray(s))return y.error("seqof/setof, but data is not Array");const R=this.clone();R._baseState.implicit=null,E=this._createEncoderBuffer(s.map(function(T){const D=this._baseState;return this._getUse(D.args[0],s)._encode(T,y)},R))}else w.use!==null?_=this._getUse(w.use,p)._encode(s,y):(E=this._encodePrimitive(w.tag,s),B=!0);if(!w.any&&w.choice===null){const R=w.implicit!==null?w.implicit:w.tag,T=w.implicit===null?"universal":"context";R===null?w.use===null&&y.error("Tag could be omitted only for .use()"):w.use===null&&(_=this._encodeComposite(R,B,T,E))}return w.explicit!==null&&(_=this._encodeComposite(w.explicit,!1,"context",_)),_},f.prototype._encodeChoice=function(s,y){const p=this._baseState,w=p.choice[s.type];return w||n(!1,s.type+" not found in "+JSON.stringify(Object.keys(p.choice))),w._encode(s.value,y)},f.prototype._encodePrimitive=function(s,y){const p=this._baseState;if(/str$/.test(s))return this._encodeStr(y,s);if(s==="objid"&&p.args)return this._encodeObjid(y,p.reverseArgs[0],p.args[1]);if(s==="objid")return this._encodeObjid(y,null,null);if(s==="gentime"||s==="utctime")return this._encodeTime(y,s);if(s==="null_")return this._encodeNull();if(s==="int"||s==="enum")return this._encodeInt(y,p.args&&p.reverseArgs[0]);if(s==="bool")return this._encodeBool(y);if(s==="objDesc")return this._encodeStr(y,s);throw new Error("Unsupported tag: "+s)},f.prototype._isNumstr=function(s){return/^[0-9 ]*$/.test(s)},f.prototype._isPrintstr=function(s){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(s)},_f}var Mf={},kh;function qs(){return kh||(kh=1,function(r){function e(i){const n={};return Object.keys(i).forEach(function(l){(l|0)==l&&(l=l|0);const t=i[l];n[t]=l}),n}r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=e(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=e(r.tag)}(Mf)),Mf}var Sf,Ch;function Fc(){if(Ch)return Sf;Ch=1;const r=Mt(),e=Ts().Buffer,i=Os(),n=qs();function l(c){this.enc="der",this.name=c.name,this.entity=c,this.tree=new t,this.tree._init(c.body)}Sf=l,l.prototype.encode=function(u,s){return this.tree._encode(u,s).join()};function t(c){i.call(this,"der",c)}r(t,i),t.prototype._encodeComposite=function(u,s,y,p){const w=f(u,s,y,this.reporter);if(p.length<128){const B=e.alloc(2);return B[0]=w,B[1]=p.length,this._createEncoderBuffer([B,p])}let _=1;for(let B=p.length;B>=256;B>>=8)_++;const E=e.alloc(1+1+_);E[0]=w,E[1]=128|_;for(let B=1+_,R=p.length;R>0;B--,R>>=8)E[B]=R&255;return this._createEncoderBuffer([E,p])},t.prototype._encodeStr=function(u,s){if(s==="bitstr")return this._createEncoderBuffer([u.unused|0,u.data]);if(s==="bmpstr"){const y=e.alloc(u.length*2);for(let p=0;p=40)return this.reporter.error("Second objid identifier OOB");u.splice(0,2,u[0]*40+u[1])}let p=0;for(let E=0;E=128;B>>=7)p++}const w=e.alloc(p);let _=w.length-1;for(let E=u.length-1;E>=0;E--){let B=u[E];for(w[_--]=B&127;(B>>=7)>0;)w[_--]=128|B&127}return this._createEncoderBuffer(w)};function d(c){return c<10?"0"+c:c}t.prototype._encodeTime=function(u,s){let y;const p=new Date(u);return s==="gentime"?y=[d(p.getUTCFullYear()),d(p.getUTCMonth()+1),d(p.getUTCDate()),d(p.getUTCHours()),d(p.getUTCMinutes()),d(p.getUTCSeconds()),"Z"].join(""):s==="utctime"?y=[d(p.getUTCFullYear()%100),d(p.getUTCMonth()+1),d(p.getUTCDate()),d(p.getUTCHours()),d(p.getUTCMinutes()),d(p.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+s+" time is not supported yet"),this._encodeStr(y,"octstr")},t.prototype._encodeNull=function(){return this._createEncoderBuffer("")},t.prototype._encodeInt=function(u,s){if(typeof u=="string"){if(!s)return this.reporter.error("String int or enum given, but no values map");if(!s.hasOwnProperty(u))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(u));u=s[u]}if(typeof u!="number"&&!e.isBuffer(u)){const w=u.toArray();!u.sign&&w[0]&128&&w.unshift(0),u=e.from(w)}if(e.isBuffer(u)){let w=u.length;u.length===0&&w++;const _=e.alloc(w);return u.copy(_),u.length===0&&(_[0]=0),this._createEncoderBuffer(_)}if(u<128)return this._createEncoderBuffer(u);if(u<256)return this._createEncoderBuffer([0,u]);let y=1;for(let w=u;w>=256;w>>=8)y++;const p=new Array(y);for(let w=p.length-1;w>=0;w--)p[w]=u&255,u>>=8;return p[0]&128&&p.unshift(0),this._createEncoderBuffer(e.from(p))},t.prototype._encodeBool=function(u){return this._createEncoderBuffer(u?255:0)},t.prototype._use=function(u,s){return typeof u=="function"&&(u=u(s)),u._getEncoder("der").tree},t.prototype._skipDefault=function(u,s,y){const p=this._baseState;let w;if(p.default===null)return!1;const _=u.join();if(p.defaultBuffer===void 0&&(p.defaultBuffer=this._encodeValue(p.default,s,y).join()),_.length!==p.defaultBuffer.length)return!1;for(w=0;w<_.length;w++)if(_[w]!==p.defaultBuffer[w])return!1;return!0};function f(c,u,s,y){let p;if(c==="seqof"?c="seq":c==="setof"&&(c="set"),n.tagByName.hasOwnProperty(c))p=n.tagByName[c];else if(typeof c=="number"&&(c|0)===c)p=c;else return y.error("Unknown tag: "+c);return p>=31?y.error("Multi-octet tag encoding unsupported"):(u||(p|=32),p|=n.tagClassByName[s||"universal"]<<6,p)}return Sf}var Af,Ih;function rp(){if(Ih)return Af;Ih=1;const r=Mt(),e=Fc();function i(n){e.call(this,n),this.enc="pem"}return r(i,e),Af=i,i.prototype.encode=function(l,t){const f=e.prototype.encode.call(this,l).toString("base64"),c=["-----BEGIN "+t.label+"-----"];for(let u=0;u>6],w=(y&32)===0;if((y&31)===31){let E=y;for(y=0;(E&128)===128;){if(E=u.readUInt8(s),u.isError(E))return E;y<<=7,y|=E&127}}else y&=31;const _=l.tag[y];return{cls:p,primitive:w,tag:y,tagStr:_}}function c(u,s,y){let p=u.readUInt8(y);if(u.isError(p))return p;if(!s&&p===128)return null;if(!(p&128))return p;const w=p&127;if(w>4)return u.error("length octect is too long");p=0;for(let _=0;_0&&T.ishrn(D),T}function w(B,R){B=p(B,R),B=B.mod(R);var T=r.from(B.toArray());if(T.length=s)throw new Error("invalid sig")}return Of=t,Of}var qf,Wh;function dp(){if(Wh)return qf;Wh=1;var r=At().Buffer,e=_i(),i=pc(),n=Mt(),l=cp(),t=lp(),d=xc;Object.keys(d).forEach(function(y){d[y].id=r.from(d[y].id,"hex"),d[y.toLowerCase()]=d[y]});function f(y){i.Writable.call(this);var p=d[y];if(!p)throw new Error("Unknown message digest");this._hashType=p.hash,this._hash=e(p.hash),this._tag=p.id,this._signType=p.sign}n(f,i.Writable),f.prototype._write=function(p,w,_){this._hash.update(p),_()},f.prototype.update=function(p,w){return typeof p=="string"&&(p=r.from(p,w)),this._hash.update(p),this},f.prototype.sign=function(p,w){this.end();var _=this._hash.digest(),E=l(_,p,this._hashType,this._signType,this._tag);return w?E.toString(w):E};function c(y){i.Writable.call(this);var p=d[y];if(!p)throw new Error("Unknown message digest");this._hash=e(p.hash),this._tag=p.id,this._signType=p.sign}n(c,i.Writable),c.prototype._write=function(p,w,_){this._hash.update(p),_()},c.prototype.update=function(p,w){return typeof p=="string"&&(p=r.from(p,w)),this._hash.update(p),this},c.prototype.verify=function(p,w,_){typeof w=="string"&&(w=r.from(w,_)),this.end();var E=this._hash.digest();return t(w,E,p,this._signType,this._tag)};function u(y){return new f(y)}function s(y){return new c(y)}return qf={Sign:u,Verify:s,createSign:u,createVerify:s},qf}var Df,Vh;function pp(){if(Vh)return Df;Vh=1;var r=Is(),e=Vr();Df=function(d){return new n(d)};var i={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};i.p224=i.secp224r1,i.p256=i.secp256r1=i.prime256v1,i.p192=i.secp192r1=i.prime192v1,i.p384=i.secp384r1,i.p521=i.secp521r1;function n(t){this.curveType=i[t],this.curveType||(this.curveType={name:t}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}n.prototype.generateKeys=function(t,d){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,d)},n.prototype.computeSecret=function(t,d,f){d=d||"utf8",wt.Buffer.isBuffer(t)||(t=new wt.Buffer(t,d));var c=this.curve.keyFromPublic(t).getPublic(),u=c.mul(this.keys.getPrivate()).getX();return l(u,f,this.curveType.byteLength)},n.prototype.getPublicKey=function(t,d){var f=this.keys.getPublic(d==="compressed",!0);return d==="hybrid"&&(f[f.length-1]%2?f[0]=7:f[0]=6),l(f,t)},n.prototype.getPrivateKey=function(t){return l(this.keys.getPrivate(),t)},n.prototype.setPublicKey=function(t,d){return d=d||"utf8",wt.Buffer.isBuffer(t)||(t=new wt.Buffer(t,d)),this.keys._importPublic(t),this},n.prototype.setPrivateKey=function(t,d){d=d||"utf8",wt.Buffer.isBuffer(t)||(t=new wt.Buffer(t,d));var f=new e(t);return f=f.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(f),this};function l(t,d,f){Array.isArray(t)||(t=t.toArray());var c=new wt.Buffer(t);if(f&&c.length=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return E?f(T,R):d(T,R)};function u(p,w){var _=p.modulus.byteLength(),E=w.length,B=i("sha1").update(c.alloc(0)).digest(),R=B.length,T=2*R;if(E>_-T-2)throw new Error("message too long");var D=c.alloc(_-E-T-2),U=_-R-1,z=e(R),W=l(c.concat([B,D,c.alloc(1,1),w],U),n(z,U)),te=l(z,n(W,R));return new t(c.concat([c.alloc(1),te,W],_))}function s(p,w,_){var E=w.length,B=p.modulus.byteLength();if(E>B-11)throw new Error("message too long");var R;return _?R=c.alloc(B-E-3,255):R=y(B-E-3),new t(c.concat([c.from([0,_?1:2]),R,c.alloc(1),w],B))}function y(p){for(var w=c.allocUnsafe(p),_=0,E=e(p*2),B=0,R;_R||new n(w).cmp(B.modulus)>=0)throw new Error("decryption error");var T;_?T=d(new n(w),B):T=l(w,B);var D=f.alloc(R-T.length);if(T=f.concat([D,T],R),E===4)return c(B,T);if(E===1)return u(B,T,_);if(E===3)return T;throw new Error("unknown padding")};function c(y,p){var w=y.modulus.byteLength(),_=t("sha1").update(f.alloc(0)).digest(),E=_.length;if(p[0]!==0)throw new Error("decryption error");var B=p.slice(1,E+1),R=p.slice(E+1),T=i(B,e(R,E)),D=i(R,e(T,w-E-1));if(s(_,D.slice(0,E)))throw new Error("decryption error");for(var U=E;D[U]===0;)U++;if(D[U++]!==1)throw new Error("decryption error");return D.slice(U)}function u(y,p,w){for(var _=p.slice(0,2),E=2,B=0;p[E++]!==0;)if(E>=p.length){B++;break}var R=p.slice(2,E-1);if((_.toString("hex")!=="0002"&&!w||_.toString("hex")!=="0001"&&w)&&B++,R.length<8&&B++,B)throw new Error("decryption error");return p.slice(E)}function s(y,p){y=f.from(y),p=f.from(p);var w=0,_=y.length;y.length!==p.length&&(w++,_=Math.min(y.length,p.length));for(var E=-1;++E<_;)w+=y[E]^p[E];return w}return zf}var Qh;function gp(){return Qh||(Qh=1,function(r){r.publicEncrypt=vp(),r.privateDecrypt=bp(),r.privateEncrypt=function(i,n){return r.publicEncrypt(i,n,!0)},r.publicDecrypt=function(i,n){return r.privateDecrypt(i,n,!0)}}(Lf)),Lf}var Zr={},eu;function yp(){if(eu)return Zr;eu=1;function r(){throw new Error(`secure random number generation not supported by this browser +use chrome, FireFox or Internet Explorer 11`)}var e=At(),i=fi(),n=e.Buffer,l=e.kMaxLength,t=Bt.crypto||Bt.msCrypto,d=Math.pow(2,32)-1;function f(p,w){if(typeof p!="number"||p!==p)throw new TypeError("offset must be a number");if(p>d||p<0)throw new TypeError("offset must be a uint32");if(p>l||p>w)throw new RangeError("offset out of range")}function c(p,w,_){if(typeof p!="number"||p!==p)throw new TypeError("size must be a number");if(p>d||p<0)throw new TypeError("size must be a uint32");if(p+w>_||p>l)throw new RangeError("buffer too small")}t&&t.getRandomValues||!pt.browser?(Zr.randomFill=u,Zr.randomFillSync=y):(Zr.randomFill=r,Zr.randomFillSync=r);function u(p,w,_,E){if(!n.isBuffer(p)&&!(p instanceof Bt.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof w=="function")E=w,w=0,_=p.length;else if(typeof _=="function")E=_,_=p.length-w;else if(typeof E!="function")throw new TypeError('"cb" argument must be a function');return f(w,p.length),c(_,w,p.length),s(p,w,_,E)}function s(p,w,_,E){if(pt.browser){var B=p.buffer,R=new Uint8Array(B,w,_);if(t.getRandomValues(R),E){pt.nextTick(function(){E(null,p)});return}return p}if(E){i(_,function(D,U){if(D)return E(D);U.copy(p,w),E(null,p)});return}var T=i(_);return T.copy(p,w),p}function y(p,w,_){if(typeof w>"u"&&(w=0),!n.isBuffer(p)&&!(p instanceof Bt.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return f(w,p.length),_===void 0&&(_=p.length-w),c(_,w,p.length),s(p,w,_)}return Zr}var tu;function Gc(){if(tu)return mt;tu=1,mt.randomBytes=mt.rng=mt.pseudoRandomBytes=mt.prng=fi(),mt.createHash=mt.Hash=_i(),mt.createHmac=mt.Hmac=mc();var r=zd(),e=Object.keys(r),i=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(e);mt.getHashes=function(){return i};var n=Ac();mt.pbkdf2=n.pbkdf2,mt.pbkdf2Sync=n.pbkdf2Sync;var l=s1();mt.Cipher=l.Cipher,mt.createCipher=l.createCipher,mt.Cipheriv=l.Cipheriv,mt.createCipheriv=l.createCipheriv,mt.Decipher=l.Decipher,mt.createDecipher=l.createDecipher,mt.Decipheriv=l.Decipheriv,mt.createDecipheriv=l.createDecipheriv,mt.getCiphers=l.getCiphers,mt.listCiphers=l.listCiphers;var t=x1();mt.DiffieHellmanGroup=t.DiffieHellmanGroup,mt.createDiffieHellmanGroup=t.createDiffieHellmanGroup,mt.getDiffieHellman=t.getDiffieHellman,mt.createDiffieHellman=t.createDiffieHellman,mt.DiffieHellman=t.DiffieHellman;var d=dp();mt.createSign=d.createSign,mt.Sign=d.Sign,mt.createVerify=d.createVerify,mt.Verify=d.Verify,mt.createECDH=pp();var f=gp();mt.publicEncrypt=f.publicEncrypt,mt.privateEncrypt=f.privateEncrypt,mt.publicDecrypt=f.publicDecrypt,mt.privateDecrypt=f.privateDecrypt;var c=yp();return mt.randomFill=c.randomFill,mt.randomFillSync=c.randomFillSync,mt.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(` +`))},mt.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6},mt}(function(r){(function(e){var i=function(j){var Z,Q=new Float64Array(16);if(j)for(Z=0;Z>24&255,j[Z+1]=Q>>16&255,j[Z+2]=Q>>8&255,j[Z+3]=Q&255,j[Z+4]=C>>24&255,j[Z+5]=C>>16&255,j[Z+6]=C>>8&255,j[Z+7]=C&255}function E(j,Z,Q,C,ee){var ce,ue=0;for(ce=0;ce>>8)-1}function B(j,Z,Q,C){return E(j,Z,Q,C,16)}function R(j,Z,Q,C){return E(j,Z,Q,C,32)}function T(j,Z,Q,C){for(var ee=C[0]&255|(C[1]&255)<<8|(C[2]&255)<<16|(C[3]&255)<<24,ce=Q[0]&255|(Q[1]&255)<<8|(Q[2]&255)<<16|(Q[3]&255)<<24,ue=Q[4]&255|(Q[5]&255)<<8|(Q[6]&255)<<16|(Q[7]&255)<<24,le=Q[8]&255|(Q[9]&255)<<8|(Q[10]&255)<<16|(Q[11]&255)<<24,_e=Q[12]&255|(Q[13]&255)<<8|(Q[14]&255)<<16|(Q[15]&255)<<24,Pe=C[4]&255|(C[5]&255)<<8|(C[6]&255)<<16|(C[7]&255)<<24,ke=Z[0]&255|(Z[1]&255)<<8|(Z[2]&255)<<16|(Z[3]&255)<<24,dt=Z[4]&255|(Z[5]&255)<<8|(Z[6]&255)<<16|(Z[7]&255)<<24,Le=Z[8]&255|(Z[9]&255)<<8|(Z[10]&255)<<16|(Z[11]&255)<<24,Qe=Z[12]&255|(Z[13]&255)<<8|(Z[14]&255)<<16|(Z[15]&255)<<24,tt=C[8]&255|(C[9]&255)<<8|(C[10]&255)<<16|(C[11]&255)<<24,ot=Q[16]&255|(Q[17]&255)<<8|(Q[18]&255)<<16|(Q[19]&255)<<24,st=Q[20]&255|(Q[21]&255)<<8|(Q[22]&255)<<16|(Q[23]&255)<<24,rt=Q[24]&255|(Q[25]&255)<<8|(Q[26]&255)<<16|(Q[27]&255)<<24,at=Q[28]&255|(Q[29]&255)<<8|(Q[30]&255)<<16|(Q[31]&255)<<24,it=C[12]&255|(C[13]&255)<<8|(C[14]&255)<<16|(C[15]&255)<<24,Ne=ee,We=ce,De=ue,je=le,$e=_e,qe=Pe,ve=ke,ge=dt,Be=Le,Me=Qe,Ee=tt,Ce=ot,ht=st,vt=rt,yt=at,bt=it,he,St=0;St<20;St+=2)he=Ne+ht|0,$e^=he<<7|he>>>32-7,he=$e+Ne|0,Be^=he<<9|he>>>32-9,he=Be+$e|0,ht^=he<<13|he>>>32-13,he=ht+Be|0,Ne^=he<<18|he>>>32-18,he=qe+We|0,Me^=he<<7|he>>>32-7,he=Me+qe|0,vt^=he<<9|he>>>32-9,he=vt+Me|0,We^=he<<13|he>>>32-13,he=We+vt|0,qe^=he<<18|he>>>32-18,he=Ee+ve|0,yt^=he<<7|he>>>32-7,he=yt+Ee|0,De^=he<<9|he>>>32-9,he=De+yt|0,ve^=he<<13|he>>>32-13,he=ve+De|0,Ee^=he<<18|he>>>32-18,he=bt+Ce|0,je^=he<<7|he>>>32-7,he=je+bt|0,ge^=he<<9|he>>>32-9,he=ge+je|0,Ce^=he<<13|he>>>32-13,he=Ce+ge|0,bt^=he<<18|he>>>32-18,he=Ne+je|0,We^=he<<7|he>>>32-7,he=We+Ne|0,De^=he<<9|he>>>32-9,he=De+We|0,je^=he<<13|he>>>32-13,he=je+De|0,Ne^=he<<18|he>>>32-18,he=qe+$e|0,ve^=he<<7|he>>>32-7,he=ve+qe|0,ge^=he<<9|he>>>32-9,he=ge+ve|0,$e^=he<<13|he>>>32-13,he=$e+ge|0,qe^=he<<18|he>>>32-18,he=Ee+Me|0,Ce^=he<<7|he>>>32-7,he=Ce+Ee|0,Be^=he<<9|he>>>32-9,he=Be+Ce|0,Me^=he<<13|he>>>32-13,he=Me+Be|0,Ee^=he<<18|he>>>32-18,he=bt+yt|0,ht^=he<<7|he>>>32-7,he=ht+bt|0,vt^=he<<9|he>>>32-9,he=vt+ht|0,yt^=he<<13|he>>>32-13,he=yt+vt|0,bt^=he<<18|he>>>32-18;Ne=Ne+ee|0,We=We+ce|0,De=De+ue|0,je=je+le|0,$e=$e+_e|0,qe=qe+Pe|0,ve=ve+ke|0,ge=ge+dt|0,Be=Be+Le|0,Me=Me+Qe|0,Ee=Ee+tt|0,Ce=Ce+ot|0,ht=ht+st|0,vt=vt+rt|0,yt=yt+at|0,bt=bt+it|0,j[0]=Ne>>>0&255,j[1]=Ne>>>8&255,j[2]=Ne>>>16&255,j[3]=Ne>>>24&255,j[4]=We>>>0&255,j[5]=We>>>8&255,j[6]=We>>>16&255,j[7]=We>>>24&255,j[8]=De>>>0&255,j[9]=De>>>8&255,j[10]=De>>>16&255,j[11]=De>>>24&255,j[12]=je>>>0&255,j[13]=je>>>8&255,j[14]=je>>>16&255,j[15]=je>>>24&255,j[16]=$e>>>0&255,j[17]=$e>>>8&255,j[18]=$e>>>16&255,j[19]=$e>>>24&255,j[20]=qe>>>0&255,j[21]=qe>>>8&255,j[22]=qe>>>16&255,j[23]=qe>>>24&255,j[24]=ve>>>0&255,j[25]=ve>>>8&255,j[26]=ve>>>16&255,j[27]=ve>>>24&255,j[28]=ge>>>0&255,j[29]=ge>>>8&255,j[30]=ge>>>16&255,j[31]=ge>>>24&255,j[32]=Be>>>0&255,j[33]=Be>>>8&255,j[34]=Be>>>16&255,j[35]=Be>>>24&255,j[36]=Me>>>0&255,j[37]=Me>>>8&255,j[38]=Me>>>16&255,j[39]=Me>>>24&255,j[40]=Ee>>>0&255,j[41]=Ee>>>8&255,j[42]=Ee>>>16&255,j[43]=Ee>>>24&255,j[44]=Ce>>>0&255,j[45]=Ce>>>8&255,j[46]=Ce>>>16&255,j[47]=Ce>>>24&255,j[48]=ht>>>0&255,j[49]=ht>>>8&255,j[50]=ht>>>16&255,j[51]=ht>>>24&255,j[52]=vt>>>0&255,j[53]=vt>>>8&255,j[54]=vt>>>16&255,j[55]=vt>>>24&255,j[56]=yt>>>0&255,j[57]=yt>>>8&255,j[58]=yt>>>16&255,j[59]=yt>>>24&255,j[60]=bt>>>0&255,j[61]=bt>>>8&255,j[62]=bt>>>16&255,j[63]=bt>>>24&255}function D(j,Z,Q,C){for(var ee=C[0]&255|(C[1]&255)<<8|(C[2]&255)<<16|(C[3]&255)<<24,ce=Q[0]&255|(Q[1]&255)<<8|(Q[2]&255)<<16|(Q[3]&255)<<24,ue=Q[4]&255|(Q[5]&255)<<8|(Q[6]&255)<<16|(Q[7]&255)<<24,le=Q[8]&255|(Q[9]&255)<<8|(Q[10]&255)<<16|(Q[11]&255)<<24,_e=Q[12]&255|(Q[13]&255)<<8|(Q[14]&255)<<16|(Q[15]&255)<<24,Pe=C[4]&255|(C[5]&255)<<8|(C[6]&255)<<16|(C[7]&255)<<24,ke=Z[0]&255|(Z[1]&255)<<8|(Z[2]&255)<<16|(Z[3]&255)<<24,dt=Z[4]&255|(Z[5]&255)<<8|(Z[6]&255)<<16|(Z[7]&255)<<24,Le=Z[8]&255|(Z[9]&255)<<8|(Z[10]&255)<<16|(Z[11]&255)<<24,Qe=Z[12]&255|(Z[13]&255)<<8|(Z[14]&255)<<16|(Z[15]&255)<<24,tt=C[8]&255|(C[9]&255)<<8|(C[10]&255)<<16|(C[11]&255)<<24,ot=Q[16]&255|(Q[17]&255)<<8|(Q[18]&255)<<16|(Q[19]&255)<<24,st=Q[20]&255|(Q[21]&255)<<8|(Q[22]&255)<<16|(Q[23]&255)<<24,rt=Q[24]&255|(Q[25]&255)<<8|(Q[26]&255)<<16|(Q[27]&255)<<24,at=Q[28]&255|(Q[29]&255)<<8|(Q[30]&255)<<16|(Q[31]&255)<<24,it=C[12]&255|(C[13]&255)<<8|(C[14]&255)<<16|(C[15]&255)<<24,Ne=ee,We=ce,De=ue,je=le,$e=_e,qe=Pe,ve=ke,ge=dt,Be=Le,Me=Qe,Ee=tt,Ce=ot,ht=st,vt=rt,yt=at,bt=it,he,St=0;St<20;St+=2)he=Ne+ht|0,$e^=he<<7|he>>>32-7,he=$e+Ne|0,Be^=he<<9|he>>>32-9,he=Be+$e|0,ht^=he<<13|he>>>32-13,he=ht+Be|0,Ne^=he<<18|he>>>32-18,he=qe+We|0,Me^=he<<7|he>>>32-7,he=Me+qe|0,vt^=he<<9|he>>>32-9,he=vt+Me|0,We^=he<<13|he>>>32-13,he=We+vt|0,qe^=he<<18|he>>>32-18,he=Ee+ve|0,yt^=he<<7|he>>>32-7,he=yt+Ee|0,De^=he<<9|he>>>32-9,he=De+yt|0,ve^=he<<13|he>>>32-13,he=ve+De|0,Ee^=he<<18|he>>>32-18,he=bt+Ce|0,je^=he<<7|he>>>32-7,he=je+bt|0,ge^=he<<9|he>>>32-9,he=ge+je|0,Ce^=he<<13|he>>>32-13,he=Ce+ge|0,bt^=he<<18|he>>>32-18,he=Ne+je|0,We^=he<<7|he>>>32-7,he=We+Ne|0,De^=he<<9|he>>>32-9,he=De+We|0,je^=he<<13|he>>>32-13,he=je+De|0,Ne^=he<<18|he>>>32-18,he=qe+$e|0,ve^=he<<7|he>>>32-7,he=ve+qe|0,ge^=he<<9|he>>>32-9,he=ge+ve|0,$e^=he<<13|he>>>32-13,he=$e+ge|0,qe^=he<<18|he>>>32-18,he=Ee+Me|0,Ce^=he<<7|he>>>32-7,he=Ce+Ee|0,Be^=he<<9|he>>>32-9,he=Be+Ce|0,Me^=he<<13|he>>>32-13,he=Me+Be|0,Ee^=he<<18|he>>>32-18,he=bt+yt|0,ht^=he<<7|he>>>32-7,he=ht+bt|0,vt^=he<<9|he>>>32-9,he=vt+ht|0,yt^=he<<13|he>>>32-13,he=yt+vt|0,bt^=he<<18|he>>>32-18;j[0]=Ne>>>0&255,j[1]=Ne>>>8&255,j[2]=Ne>>>16&255,j[3]=Ne>>>24&255,j[4]=qe>>>0&255,j[5]=qe>>>8&255,j[6]=qe>>>16&255,j[7]=qe>>>24&255,j[8]=Ee>>>0&255,j[9]=Ee>>>8&255,j[10]=Ee>>>16&255,j[11]=Ee>>>24&255,j[12]=bt>>>0&255,j[13]=bt>>>8&255,j[14]=bt>>>16&255,j[15]=bt>>>24&255,j[16]=ve>>>0&255,j[17]=ve>>>8&255,j[18]=ve>>>16&255,j[19]=ve>>>24&255,j[20]=ge>>>0&255,j[21]=ge>>>8&255,j[22]=ge>>>16&255,j[23]=ge>>>24&255,j[24]=Be>>>0&255,j[25]=Be>>>8&255,j[26]=Be>>>16&255,j[27]=Be>>>24&255,j[28]=Me>>>0&255,j[29]=Me>>>8&255,j[30]=Me>>>16&255,j[31]=Me>>>24&255}function U(j,Z,Q,C){T(j,Z,Q,C)}function z(j,Z,Q,C){D(j,Z,Q,C)}var W=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function te(j,Z,Q,C,ee,ce,ue){var le=new Uint8Array(16),_e=new Uint8Array(64),Pe,ke;for(ke=0;ke<16;ke++)le[ke]=0;for(ke=0;ke<8;ke++)le[ke]=ce[ke];for(;ee>=64;){for(U(_e,le,ue,W),ke=0;ke<64;ke++)j[Z+ke]=Q[C+ke]^_e[ke];for(Pe=1,ke=8;ke<16;ke++)Pe=Pe+(le[ke]&255)|0,le[ke]=Pe&255,Pe>>>=8;ee-=64,Z+=64,C+=64}if(ee>0)for(U(_e,le,ue,W),ke=0;ke=64;){for(U(ue,ce,ee,W),_e=0;_e<64;_e++)j[Z+_e]=ue[_e];for(le=1,_e=8;_e<16;_e++)le=le+(ce[_e]&255)|0,ce[_e]=le&255,le>>>=8;Q-=64,Z+=64}if(Q>0)for(U(ue,ce,ee,W),_e=0;_e>>13|Q<<3)&8191,C=j[4]&255|(j[5]&255)<<8,this.r[2]=(Q>>>10|C<<6)&7939,ee=j[6]&255|(j[7]&255)<<8,this.r[3]=(C>>>7|ee<<9)&8191,ce=j[8]&255|(j[9]&255)<<8,this.r[4]=(ee>>>4|ce<<12)&255,this.r[5]=ce>>>1&8190,ue=j[10]&255|(j[11]&255)<<8,this.r[6]=(ce>>>14|ue<<2)&8191,le=j[12]&255|(j[13]&255)<<8,this.r[7]=(ue>>>11|le<<5)&8065,_e=j[14]&255|(j[15]&255)<<8,this.r[8]=(le>>>8|_e<<8)&8191,this.r[9]=_e>>>5&127,this.pad[0]=j[16]&255|(j[17]&255)<<8,this.pad[1]=j[18]&255|(j[19]&255)<<8,this.pad[2]=j[20]&255|(j[21]&255)<<8,this.pad[3]=j[22]&255|(j[23]&255)<<8,this.pad[4]=j[24]&255|(j[25]&255)<<8,this.pad[5]=j[26]&255|(j[27]&255)<<8,this.pad[6]=j[28]&255|(j[29]&255)<<8,this.pad[7]=j[30]&255|(j[31]&255)<<8};m.prototype.blocks=function(j,Z,Q){for(var C=this.fin?0:2048,ee,ce,ue,le,_e,Pe,ke,dt,Le,Qe,tt,ot,st,rt,at,it,Ne,We,De,je=this.h[0],$e=this.h[1],qe=this.h[2],ve=this.h[3],ge=this.h[4],Be=this.h[5],Me=this.h[6],Ee=this.h[7],Ce=this.h[8],ht=this.h[9],vt=this.r[0],yt=this.r[1],bt=this.r[2],he=this.r[3],St=this.r[4],Ot=this.r[5],qt=this.r[6],xt=this.r[7],Ct=this.r[8],It=this.r[9];Q>=16;)ee=j[Z+0]&255|(j[Z+1]&255)<<8,je+=ee&8191,ce=j[Z+2]&255|(j[Z+3]&255)<<8,$e+=(ee>>>13|ce<<3)&8191,ue=j[Z+4]&255|(j[Z+5]&255)<<8,qe+=(ce>>>10|ue<<6)&8191,le=j[Z+6]&255|(j[Z+7]&255)<<8,ve+=(ue>>>7|le<<9)&8191,_e=j[Z+8]&255|(j[Z+9]&255)<<8,ge+=(le>>>4|_e<<12)&8191,Be+=_e>>>1&8191,Pe=j[Z+10]&255|(j[Z+11]&255)<<8,Me+=(_e>>>14|Pe<<2)&8191,ke=j[Z+12]&255|(j[Z+13]&255)<<8,Ee+=(Pe>>>11|ke<<5)&8191,dt=j[Z+14]&255|(j[Z+15]&255)<<8,Ce+=(ke>>>8|dt<<8)&8191,ht+=dt>>>5|C,Le=0,Qe=Le,Qe+=je*vt,Qe+=$e*(5*It),Qe+=qe*(5*Ct),Qe+=ve*(5*xt),Qe+=ge*(5*qt),Le=Qe>>>13,Qe&=8191,Qe+=Be*(5*Ot),Qe+=Me*(5*St),Qe+=Ee*(5*he),Qe+=Ce*(5*bt),Qe+=ht*(5*yt),Le+=Qe>>>13,Qe&=8191,tt=Le,tt+=je*yt,tt+=$e*vt,tt+=qe*(5*It),tt+=ve*(5*Ct),tt+=ge*(5*xt),Le=tt>>>13,tt&=8191,tt+=Be*(5*qt),tt+=Me*(5*Ot),tt+=Ee*(5*St),tt+=Ce*(5*he),tt+=ht*(5*bt),Le+=tt>>>13,tt&=8191,ot=Le,ot+=je*bt,ot+=$e*yt,ot+=qe*vt,ot+=ve*(5*It),ot+=ge*(5*Ct),Le=ot>>>13,ot&=8191,ot+=Be*(5*xt),ot+=Me*(5*qt),ot+=Ee*(5*Ot),ot+=Ce*(5*St),ot+=ht*(5*he),Le+=ot>>>13,ot&=8191,st=Le,st+=je*he,st+=$e*bt,st+=qe*yt,st+=ve*vt,st+=ge*(5*It),Le=st>>>13,st&=8191,st+=Be*(5*Ct),st+=Me*(5*xt),st+=Ee*(5*qt),st+=Ce*(5*Ot),st+=ht*(5*St),Le+=st>>>13,st&=8191,rt=Le,rt+=je*St,rt+=$e*he,rt+=qe*bt,rt+=ve*yt,rt+=ge*vt,Le=rt>>>13,rt&=8191,rt+=Be*(5*It),rt+=Me*(5*Ct),rt+=Ee*(5*xt),rt+=Ce*(5*qt),rt+=ht*(5*Ot),Le+=rt>>>13,rt&=8191,at=Le,at+=je*Ot,at+=$e*St,at+=qe*he,at+=ve*bt,at+=ge*yt,Le=at>>>13,at&=8191,at+=Be*vt,at+=Me*(5*It),at+=Ee*(5*Ct),at+=Ce*(5*xt),at+=ht*(5*qt),Le+=at>>>13,at&=8191,it=Le,it+=je*qt,it+=$e*Ot,it+=qe*St,it+=ve*he,it+=ge*bt,Le=it>>>13,it&=8191,it+=Be*yt,it+=Me*vt,it+=Ee*(5*It),it+=Ce*(5*Ct),it+=ht*(5*xt),Le+=it>>>13,it&=8191,Ne=Le,Ne+=je*xt,Ne+=$e*qt,Ne+=qe*Ot,Ne+=ve*St,Ne+=ge*he,Le=Ne>>>13,Ne&=8191,Ne+=Be*bt,Ne+=Me*yt,Ne+=Ee*vt,Ne+=Ce*(5*It),Ne+=ht*(5*Ct),Le+=Ne>>>13,Ne&=8191,We=Le,We+=je*Ct,We+=$e*xt,We+=qe*qt,We+=ve*Ot,We+=ge*St,Le=We>>>13,We&=8191,We+=Be*he,We+=Me*bt,We+=Ee*yt,We+=Ce*vt,We+=ht*(5*It),Le+=We>>>13,We&=8191,De=Le,De+=je*It,De+=$e*Ct,De+=qe*xt,De+=ve*qt,De+=ge*Ot,Le=De>>>13,De&=8191,De+=Be*St,De+=Me*he,De+=Ee*bt,De+=Ce*yt,De+=ht*vt,Le+=De>>>13,De&=8191,Le=(Le<<2)+Le|0,Le=Le+Qe|0,Qe=Le&8191,Le=Le>>>13,tt+=Le,je=Qe,$e=tt,qe=ot,ve=st,ge=rt,Be=at,Me=it,Ee=Ne,Ce=We,ht=De,Z+=16,Q-=16;this.h[0]=je,this.h[1]=$e,this.h[2]=qe,this.h[3]=ve,this.h[4]=ge,this.h[5]=Be,this.h[6]=Me,this.h[7]=Ee,this.h[8]=Ce,this.h[9]=ht},m.prototype.finish=function(j,Z){var Q=new Uint16Array(10),C,ee,ce,ue;if(this.leftover){for(ue=this.leftover,this.buffer[ue++]=1;ue<16;ue++)this.buffer[ue]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(C=this.h[1]>>>13,this.h[1]&=8191,ue=2;ue<10;ue++)this.h[ue]+=C,C=this.h[ue]>>>13,this.h[ue]&=8191;for(this.h[0]+=C*5,C=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=C,C=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=C,Q[0]=this.h[0]+5,C=Q[0]>>>13,Q[0]&=8191,ue=1;ue<10;ue++)Q[ue]=this.h[ue]+C,C=Q[ue]>>>13,Q[ue]&=8191;for(Q[9]-=1<<13,ee=(C^1)-1,ue=0;ue<10;ue++)Q[ue]&=ee;for(ee=~ee,ue=0;ue<10;ue++)this.h[ue]=this.h[ue]&ee|Q[ue];for(this.h[0]=(this.h[0]|this.h[1]<<13)&65535,this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535,this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535,this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535,this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535,this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535,this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535,this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535,ce=this.h[0]+this.pad[0],this.h[0]=ce&65535,ue=1;ue<8;ue++)ce=(this.h[ue]+this.pad[ue]|0)+(ce>>>16)|0,this.h[ue]=ce&65535;j[Z+0]=this.h[0]>>>0&255,j[Z+1]=this.h[0]>>>8&255,j[Z+2]=this.h[1]>>>0&255,j[Z+3]=this.h[1]>>>8&255,j[Z+4]=this.h[2]>>>0&255,j[Z+5]=this.h[2]>>>8&255,j[Z+6]=this.h[3]>>>0&255,j[Z+7]=this.h[3]>>>8&255,j[Z+8]=this.h[4]>>>0&255,j[Z+9]=this.h[4]>>>8&255,j[Z+10]=this.h[5]>>>0&255,j[Z+11]=this.h[5]>>>8&255,j[Z+12]=this.h[6]>>>0&255,j[Z+13]=this.h[6]>>>8&255,j[Z+14]=this.h[7]>>>0&255,j[Z+15]=this.h[7]>>>8&255},m.prototype.update=function(j,Z,Q){var C,ee;if(this.leftover){for(ee=16-this.leftover,ee>Q&&(ee=Q),C=0;C=16&&(ee=Q-Q%16,this.blocks(j,Z,ee),Z+=ee,Q-=ee),Q){for(C=0;C>16&1),ce[Q-1]&=65535;ce[15]=ue[15]-32767-(ce[14]>>16&1),ee=ce[15]>>16&1,ce[14]&=65535,M(ue,ce,1-ee)}for(Q=0;Q<16;Q++)j[2*Q]=ue[Q]&255,j[2*Q+1]=ue[Q]>>8}function g(j,Z){var Q=new Uint8Array(32),C=new Uint8Array(32);return b(Q,j),b(C,Z),R(Q,0,C,0)}function k(j){var Z=new Uint8Array(32);return b(Z,j),Z[0]&1}function A(j,Z){var Q;for(Q=0;Q<16;Q++)j[Q]=Z[2*Q]+(Z[2*Q+1]<<8);j[15]&=32767}function I(j,Z,Q){for(var C=0;C<16;C++)j[C]=Z[C]+Q[C]}function q(j,Z,Q){for(var C=0;C<16;C++)j[C]=Z[C]-Q[C]}function $(j,Z,Q){var C,ee,ce=0,ue=0,le=0,_e=0,Pe=0,ke=0,dt=0,Le=0,Qe=0,tt=0,ot=0,st=0,rt=0,at=0,it=0,Ne=0,We=0,De=0,je=0,$e=0,qe=0,ve=0,ge=0,Be=0,Me=0,Ee=0,Ce=0,ht=0,vt=0,yt=0,bt=0,he=Q[0],St=Q[1],Ot=Q[2],qt=Q[3],xt=Q[4],Ct=Q[5],It=Q[6],Gt=Q[7],Ft=Q[8],Kt=Q[9],Wt=Q[10],Vt=Q[11],Jt=Q[12],tr=Q[13],rr=Q[14],ir=Q[15];C=Z[0],ce+=C*he,ue+=C*St,le+=C*Ot,_e+=C*qt,Pe+=C*xt,ke+=C*Ct,dt+=C*It,Le+=C*Gt,Qe+=C*Ft,tt+=C*Kt,ot+=C*Wt,st+=C*Vt,rt+=C*Jt,at+=C*tr,it+=C*rr,Ne+=C*ir,C=Z[1],ue+=C*he,le+=C*St,_e+=C*Ot,Pe+=C*qt,ke+=C*xt,dt+=C*Ct,Le+=C*It,Qe+=C*Gt,tt+=C*Ft,ot+=C*Kt,st+=C*Wt,rt+=C*Vt,at+=C*Jt,it+=C*tr,Ne+=C*rr,We+=C*ir,C=Z[2],le+=C*he,_e+=C*St,Pe+=C*Ot,ke+=C*qt,dt+=C*xt,Le+=C*Ct,Qe+=C*It,tt+=C*Gt,ot+=C*Ft,st+=C*Kt,rt+=C*Wt,at+=C*Vt,it+=C*Jt,Ne+=C*tr,We+=C*rr,De+=C*ir,C=Z[3],_e+=C*he,Pe+=C*St,ke+=C*Ot,dt+=C*qt,Le+=C*xt,Qe+=C*Ct,tt+=C*It,ot+=C*Gt,st+=C*Ft,rt+=C*Kt,at+=C*Wt,it+=C*Vt,Ne+=C*Jt,We+=C*tr,De+=C*rr,je+=C*ir,C=Z[4],Pe+=C*he,ke+=C*St,dt+=C*Ot,Le+=C*qt,Qe+=C*xt,tt+=C*Ct,ot+=C*It,st+=C*Gt,rt+=C*Ft,at+=C*Kt,it+=C*Wt,Ne+=C*Vt,We+=C*Jt,De+=C*tr,je+=C*rr,$e+=C*ir,C=Z[5],ke+=C*he,dt+=C*St,Le+=C*Ot,Qe+=C*qt,tt+=C*xt,ot+=C*Ct,st+=C*It,rt+=C*Gt,at+=C*Ft,it+=C*Kt,Ne+=C*Wt,We+=C*Vt,De+=C*Jt,je+=C*tr,$e+=C*rr,qe+=C*ir,C=Z[6],dt+=C*he,Le+=C*St,Qe+=C*Ot,tt+=C*qt,ot+=C*xt,st+=C*Ct,rt+=C*It,at+=C*Gt,it+=C*Ft,Ne+=C*Kt,We+=C*Wt,De+=C*Vt,je+=C*Jt,$e+=C*tr,qe+=C*rr,ve+=C*ir,C=Z[7],Le+=C*he,Qe+=C*St,tt+=C*Ot,ot+=C*qt,st+=C*xt,rt+=C*Ct,at+=C*It,it+=C*Gt,Ne+=C*Ft,We+=C*Kt,De+=C*Wt,je+=C*Vt,$e+=C*Jt,qe+=C*tr,ve+=C*rr,ge+=C*ir,C=Z[8],Qe+=C*he,tt+=C*St,ot+=C*Ot,st+=C*qt,rt+=C*xt,at+=C*Ct,it+=C*It,Ne+=C*Gt,We+=C*Ft,De+=C*Kt,je+=C*Wt,$e+=C*Vt,qe+=C*Jt,ve+=C*tr,ge+=C*rr,Be+=C*ir,C=Z[9],tt+=C*he,ot+=C*St,st+=C*Ot,rt+=C*qt,at+=C*xt,it+=C*Ct,Ne+=C*It,We+=C*Gt,De+=C*Ft,je+=C*Kt,$e+=C*Wt,qe+=C*Vt,ve+=C*Jt,ge+=C*tr,Be+=C*rr,Me+=C*ir,C=Z[10],ot+=C*he,st+=C*St,rt+=C*Ot,at+=C*qt,it+=C*xt,Ne+=C*Ct,We+=C*It,De+=C*Gt,je+=C*Ft,$e+=C*Kt,qe+=C*Wt,ve+=C*Vt,ge+=C*Jt,Be+=C*tr,Me+=C*rr,Ee+=C*ir,C=Z[11],st+=C*he,rt+=C*St,at+=C*Ot,it+=C*qt,Ne+=C*xt,We+=C*Ct,De+=C*It,je+=C*Gt,$e+=C*Ft,qe+=C*Kt,ve+=C*Wt,ge+=C*Vt,Be+=C*Jt,Me+=C*tr,Ee+=C*rr,Ce+=C*ir,C=Z[12],rt+=C*he,at+=C*St,it+=C*Ot,Ne+=C*qt,We+=C*xt,De+=C*Ct,je+=C*It,$e+=C*Gt,qe+=C*Ft,ve+=C*Kt,ge+=C*Wt,Be+=C*Vt,Me+=C*Jt,Ee+=C*tr,Ce+=C*rr,ht+=C*ir,C=Z[13],at+=C*he,it+=C*St,Ne+=C*Ot,We+=C*qt,De+=C*xt,je+=C*Ct,$e+=C*It,qe+=C*Gt,ve+=C*Ft,ge+=C*Kt,Be+=C*Wt,Me+=C*Vt,Ee+=C*Jt,Ce+=C*tr,ht+=C*rr,vt+=C*ir,C=Z[14],it+=C*he,Ne+=C*St,We+=C*Ot,De+=C*qt,je+=C*xt,$e+=C*Ct,qe+=C*It,ve+=C*Gt,ge+=C*Ft,Be+=C*Kt,Me+=C*Wt,Ee+=C*Vt,Ce+=C*Jt,ht+=C*tr,vt+=C*rr,yt+=C*ir,C=Z[15],Ne+=C*he,We+=C*St,De+=C*Ot,je+=C*qt,$e+=C*xt,qe+=C*Ct,ve+=C*It,ge+=C*Gt,Be+=C*Ft,Me+=C*Kt,Ee+=C*Wt,Ce+=C*Vt,ht+=C*Jt,vt+=C*tr,yt+=C*rr,bt+=C*ir,ce+=38*We,ue+=38*De,le+=38*je,_e+=38*$e,Pe+=38*qe,ke+=38*ve,dt+=38*ge,Le+=38*Be,Qe+=38*Me,tt+=38*Ee,ot+=38*Ce,st+=38*ht,rt+=38*vt,at+=38*yt,it+=38*bt,ee=1,C=ce+ee+65535,ee=Math.floor(C/65536),ce=C-ee*65536,C=ue+ee+65535,ee=Math.floor(C/65536),ue=C-ee*65536,C=le+ee+65535,ee=Math.floor(C/65536),le=C-ee*65536,C=_e+ee+65535,ee=Math.floor(C/65536),_e=C-ee*65536,C=Pe+ee+65535,ee=Math.floor(C/65536),Pe=C-ee*65536,C=ke+ee+65535,ee=Math.floor(C/65536),ke=C-ee*65536,C=dt+ee+65535,ee=Math.floor(C/65536),dt=C-ee*65536,C=Le+ee+65535,ee=Math.floor(C/65536),Le=C-ee*65536,C=Qe+ee+65535,ee=Math.floor(C/65536),Qe=C-ee*65536,C=tt+ee+65535,ee=Math.floor(C/65536),tt=C-ee*65536,C=ot+ee+65535,ee=Math.floor(C/65536),ot=C-ee*65536,C=st+ee+65535,ee=Math.floor(C/65536),st=C-ee*65536,C=rt+ee+65535,ee=Math.floor(C/65536),rt=C-ee*65536,C=at+ee+65535,ee=Math.floor(C/65536),at=C-ee*65536,C=it+ee+65535,ee=Math.floor(C/65536),it=C-ee*65536,C=Ne+ee+65535,ee=Math.floor(C/65536),Ne=C-ee*65536,ce+=ee-1+37*(ee-1),ee=1,C=ce+ee+65535,ee=Math.floor(C/65536),ce=C-ee*65536,C=ue+ee+65535,ee=Math.floor(C/65536),ue=C-ee*65536,C=le+ee+65535,ee=Math.floor(C/65536),le=C-ee*65536,C=_e+ee+65535,ee=Math.floor(C/65536),_e=C-ee*65536,C=Pe+ee+65535,ee=Math.floor(C/65536),Pe=C-ee*65536,C=ke+ee+65535,ee=Math.floor(C/65536),ke=C-ee*65536,C=dt+ee+65535,ee=Math.floor(C/65536),dt=C-ee*65536,C=Le+ee+65535,ee=Math.floor(C/65536),Le=C-ee*65536,C=Qe+ee+65535,ee=Math.floor(C/65536),Qe=C-ee*65536,C=tt+ee+65535,ee=Math.floor(C/65536),tt=C-ee*65536,C=ot+ee+65535,ee=Math.floor(C/65536),ot=C-ee*65536,C=st+ee+65535,ee=Math.floor(C/65536),st=C-ee*65536,C=rt+ee+65535,ee=Math.floor(C/65536),rt=C-ee*65536,C=at+ee+65535,ee=Math.floor(C/65536),at=C-ee*65536,C=it+ee+65535,ee=Math.floor(C/65536),it=C-ee*65536,C=Ne+ee+65535,ee=Math.floor(C/65536),Ne=C-ee*65536,ce+=ee-1+37*(ee-1),j[0]=ce,j[1]=ue,j[2]=le,j[3]=_e,j[4]=Pe,j[5]=ke,j[6]=dt,j[7]=Le,j[8]=Qe,j[9]=tt,j[10]=ot,j[11]=st,j[12]=rt,j[13]=at,j[14]=it,j[15]=Ne}function N(j,Z){$(j,Z,Z)}function H(j,Z){var Q=i(),C;for(C=0;C<16;C++)Q[C]=Z[C];for(C=253;C>=0;C--)N(Q,Q),C!==2&&C!==4&&$(Q,Q,Z);for(C=0;C<16;C++)j[C]=Q[C]}function G(j,Z){var Q=i(),C;for(C=0;C<16;C++)Q[C]=Z[C];for(C=250;C>=0;C--)N(Q,Q),C!==1&&$(Q,Q,Z);for(C=0;C<16;C++)j[C]=Q[C]}function J(j,Z,Q){var C=new Uint8Array(32),ee=new Float64Array(80),ce,ue,le=i(),_e=i(),Pe=i(),ke=i(),dt=i(),Le=i();for(ue=0;ue<31;ue++)C[ue]=Z[ue];for(C[31]=Z[31]&127|64,C[0]&=248,A(ee,Q),ue=0;ue<16;ue++)_e[ue]=ee[ue],ke[ue]=le[ue]=Pe[ue]=0;for(le[0]=ke[0]=1,ue=254;ue>=0;--ue)ce=C[ue>>>3]>>>(ue&7)&1,M(le,_e,ce),M(Pe,ke,ce),I(dt,le,Pe),q(le,le,Pe),I(Pe,_e,ke),q(_e,_e,ke),N(ke,dt),N(Le,le),$(le,Pe,le),$(Pe,_e,dt),I(dt,le,Pe),q(le,le,Pe),N(_e,le),q(Pe,ke,Le),$(le,Pe,c),I(le,le,ke),$(Pe,Pe,le),$(le,ke,Le),$(ke,_e,ee),N(_e,dt),M(le,_e,ce),M(Pe,ke,ce);for(ue=0;ue<16;ue++)ee[ue+16]=le[ue],ee[ue+32]=Pe[ue],ee[ue+48]=_e[ue],ee[ue+64]=ke[ue];var Qe=ee.subarray(32),tt=ee.subarray(16);return H(Qe,Qe),$(tt,tt,Qe),b(j,tt),0}function fe(j,Z){return J(j,Z,t)}function L(j,Z){return n(Z,32),fe(j,Z)}function F(j,Z,Q){var C=new Uint8Array(32);return J(C,Q,Z),z(j,l,C,W)}var X=a,ne=v;function se(j,Z,Q,C,ee,ce){var ue=new Uint8Array(32);return F(ue,ee,ce),X(j,Z,Q,C,ue)}function V(j,Z,Q,C,ee,ce){var ue=new Uint8Array(32);return F(ue,ee,ce),ne(j,Z,Q,C,ue)}var O=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function P(j,Z,Q,C){for(var ee=new Int32Array(16),ce=new Int32Array(16),ue,le,_e,Pe,ke,dt,Le,Qe,tt,ot,st,rt,at,it,Ne,We,De,je,$e,qe,ve,ge,Be,Me,Ee,Ce,ht=j[0],vt=j[1],yt=j[2],bt=j[3],he=j[4],St=j[5],Ot=j[6],qt=j[7],xt=Z[0],Ct=Z[1],It=Z[2],Gt=Z[3],Ft=Z[4],Kt=Z[5],Wt=Z[6],Vt=Z[7],Jt=0;C>=128;){for($e=0;$e<16;$e++)qe=8*$e+Jt,ee[$e]=Q[qe+0]<<24|Q[qe+1]<<16|Q[qe+2]<<8|Q[qe+3],ce[$e]=Q[qe+4]<<24|Q[qe+5]<<16|Q[qe+6]<<8|Q[qe+7];for($e=0;$e<80;$e++)if(ue=ht,le=vt,_e=yt,Pe=bt,ke=he,dt=St,Le=Ot,Qe=qt,tt=xt,ot=Ct,st=It,rt=Gt,at=Ft,it=Kt,Ne=Wt,We=Vt,ve=qt,ge=Vt,Be=ge&65535,Me=ge>>>16,Ee=ve&65535,Ce=ve>>>16,ve=(he>>>14|Ft<<32-14)^(he>>>18|Ft<<32-18)^(Ft>>>41-32|he<<32-(41-32)),ge=(Ft>>>14|he<<32-14)^(Ft>>>18|he<<32-18)^(he>>>41-32|Ft<<32-(41-32)),Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,ve=he&St^~he&Ot,ge=Ft&Kt^~Ft&Wt,Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,ve=O[$e*2],ge=O[$e*2+1],Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,ve=ee[$e%16],ge=ce[$e%16],Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,Me+=Be>>>16,Ee+=Me>>>16,Ce+=Ee>>>16,De=Ee&65535|Ce<<16,je=Be&65535|Me<<16,ve=De,ge=je,Be=ge&65535,Me=ge>>>16,Ee=ve&65535,Ce=ve>>>16,ve=(ht>>>28|xt<<32-28)^(xt>>>34-32|ht<<32-(34-32))^(xt>>>39-32|ht<<32-(39-32)),ge=(xt>>>28|ht<<32-28)^(ht>>>34-32|xt<<32-(34-32))^(ht>>>39-32|xt<<32-(39-32)),Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,ve=ht&vt^ht&yt^vt&yt,ge=xt&Ct^xt&It^Ct&It,Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,Me+=Be>>>16,Ee+=Me>>>16,Ce+=Ee>>>16,Qe=Ee&65535|Ce<<16,We=Be&65535|Me<<16,ve=Pe,ge=rt,Be=ge&65535,Me=ge>>>16,Ee=ve&65535,Ce=ve>>>16,ve=De,ge=je,Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,Me+=Be>>>16,Ee+=Me>>>16,Ce+=Ee>>>16,Pe=Ee&65535|Ce<<16,rt=Be&65535|Me<<16,vt=ue,yt=le,bt=_e,he=Pe,St=ke,Ot=dt,qt=Le,ht=Qe,Ct=tt,It=ot,Gt=st,Ft=rt,Kt=at,Wt=it,Vt=Ne,xt=We,$e%16===15)for(qe=0;qe<16;qe++)ve=ee[qe],ge=ce[qe],Be=ge&65535,Me=ge>>>16,Ee=ve&65535,Ce=ve>>>16,ve=ee[(qe+9)%16],ge=ce[(qe+9)%16],Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,De=ee[(qe+1)%16],je=ce[(qe+1)%16],ve=(De>>>1|je<<32-1)^(De>>>8|je<<32-8)^De>>>7,ge=(je>>>1|De<<32-1)^(je>>>8|De<<32-8)^(je>>>7|De<<32-7),Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,De=ee[(qe+14)%16],je=ce[(qe+14)%16],ve=(De>>>19|je<<32-19)^(je>>>61-32|De<<32-(61-32))^De>>>6,ge=(je>>>19|De<<32-19)^(De>>>61-32|je<<32-(61-32))^(je>>>6|De<<32-6),Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,Me+=Be>>>16,Ee+=Me>>>16,Ce+=Ee>>>16,ee[qe]=Ee&65535|Ce<<16,ce[qe]=Be&65535|Me<<16;ve=ht,ge=xt,Be=ge&65535,Me=ge>>>16,Ee=ve&65535,Ce=ve>>>16,ve=j[0],ge=Z[0],Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,Me+=Be>>>16,Ee+=Me>>>16,Ce+=Ee>>>16,j[0]=ht=Ee&65535|Ce<<16,Z[0]=xt=Be&65535|Me<<16,ve=vt,ge=Ct,Be=ge&65535,Me=ge>>>16,Ee=ve&65535,Ce=ve>>>16,ve=j[1],ge=Z[1],Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,Me+=Be>>>16,Ee+=Me>>>16,Ce+=Ee>>>16,j[1]=vt=Ee&65535|Ce<<16,Z[1]=Ct=Be&65535|Me<<16,ve=yt,ge=It,Be=ge&65535,Me=ge>>>16,Ee=ve&65535,Ce=ve>>>16,ve=j[2],ge=Z[2],Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,Me+=Be>>>16,Ee+=Me>>>16,Ce+=Ee>>>16,j[2]=yt=Ee&65535|Ce<<16,Z[2]=It=Be&65535|Me<<16,ve=bt,ge=Gt,Be=ge&65535,Me=ge>>>16,Ee=ve&65535,Ce=ve>>>16,ve=j[3],ge=Z[3],Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,Me+=Be>>>16,Ee+=Me>>>16,Ce+=Ee>>>16,j[3]=bt=Ee&65535|Ce<<16,Z[3]=Gt=Be&65535|Me<<16,ve=he,ge=Ft,Be=ge&65535,Me=ge>>>16,Ee=ve&65535,Ce=ve>>>16,ve=j[4],ge=Z[4],Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,Me+=Be>>>16,Ee+=Me>>>16,Ce+=Ee>>>16,j[4]=he=Ee&65535|Ce<<16,Z[4]=Ft=Be&65535|Me<<16,ve=St,ge=Kt,Be=ge&65535,Me=ge>>>16,Ee=ve&65535,Ce=ve>>>16,ve=j[5],ge=Z[5],Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,Me+=Be>>>16,Ee+=Me>>>16,Ce+=Ee>>>16,j[5]=St=Ee&65535|Ce<<16,Z[5]=Kt=Be&65535|Me<<16,ve=Ot,ge=Wt,Be=ge&65535,Me=ge>>>16,Ee=ve&65535,Ce=ve>>>16,ve=j[6],ge=Z[6],Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,Me+=Be>>>16,Ee+=Me>>>16,Ce+=Ee>>>16,j[6]=Ot=Ee&65535|Ce<<16,Z[6]=Wt=Be&65535|Me<<16,ve=qt,ge=Vt,Be=ge&65535,Me=ge>>>16,Ee=ve&65535,Ce=ve>>>16,ve=j[7],ge=Z[7],Be+=ge&65535,Me+=ge>>>16,Ee+=ve&65535,Ce+=ve>>>16,Me+=Be>>>16,Ee+=Me>>>16,Ce+=Ee>>>16,j[7]=qt=Ee&65535|Ce<<16,Z[7]=Vt=Be&65535|Me<<16,Jt+=128,C-=128}return C}function K(j,Z,Q){var C=new Int32Array(8),ee=new Int32Array(8),ce=new Uint8Array(256),ue,le=Q;for(C[0]=1779033703,C[1]=3144134277,C[2]=1013904242,C[3]=2773480762,C[4]=1359893119,C[5]=2600822924,C[6]=528734635,C[7]=1541459225,ee[0]=4089235720,ee[1]=2227873595,ee[2]=4271175723,ee[3]=1595750129,ee[4]=2917565137,ee[5]=725511199,ee[6]=4215389547,ee[7]=327033209,P(C,ee,Z,Q),Q%=128,ue=0;ue=0;--ee)C=Q[ee/8|0]>>(ee&7)&1,oe(j,Z,C),ae(Z,j),ae(j,j),oe(j,Z,C)}function pe(j,Z){var Q=[i(),i(),i(),i()];x(Q[0],y),x(Q[1],p),x(Q[2],f),$(Q[3],y,p),be(j,Q,Z)}function Se(j,Z,Q){var C=new Uint8Array(64),ee=[i(),i(),i(),i()],ce;for(Q||n(Z,32),K(C,Z,32),C[0]&=248,C[31]&=127,C[31]|=64,pe(ee,C),de(j,ee),ce=0;ce<32;ce++)Z[ce+32]=j[ce];return 0}var we=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function Ae(j,Z){var Q,C,ee,ce;for(C=63;C>=32;--C){for(Q=0,ee=C-32,ce=C-12;ee>4)*we[ee],Q=Z[ee]>>8,Z[ee]&=255;for(ee=0;ee<32;ee++)Z[ee]-=Q*we[ee];for(C=0;C<32;C++)Z[C+1]+=Z[C]>>8,j[C]=Z[C]&255}function Ye(j){var Z=new Float64Array(64),Q;for(Q=0;Q<64;Q++)Z[Q]=j[Q];for(Q=0;Q<64;Q++)j[Q]=0;Ae(j,Z)}function Ie(j,Z,Q,C){var ee=new Uint8Array(64),ce=new Uint8Array(64),ue=new Uint8Array(64),le,_e,Pe=new Float64Array(64),ke=[i(),i(),i(),i()];K(ee,C,32),ee[0]&=248,ee[31]&=127,ee[31]|=64;var dt=Q+64;for(le=0;le>7&&q(j[0],d,j[0]),$(j[3],j[0],j[1]),0)}function Je(j,Z,Q,C){var ee,ce=new Uint8Array(32),ue=new Uint8Array(64),le=[i(),i(),i(),i()],_e=[i(),i(),i(),i()];if(Q<64||Te(_e,C))return-1;for(ee=0;ee=0},e.sign.keyPair=function(){var j=new Uint8Array(ze),Z=new Uint8Array(Et);return Se(j,Z),{publicKey:j,secretKey:Z}},e.sign.keyPair.fromSecretKey=function(j){if(Ue(j),j.length!==Et)throw new Error("bad secret key size");for(var Z=new Uint8Array(ze),Q=0;Q>3<<3;p>>2)&255,u[s++]=(i<<6|n<<1|l>>>4)&255,u[s++]=(l<<4|t>>>1)&255,u[s++]=(t<<7|d<<2|f>>>3)&255,u[s++]=(f<<5|c)&255;const _=y-w;return _===2?(e=zt[r.charAt(p++)],i=zt[r.charAt(p++)],u[s++]=(e<<3|i>>>2)&255):_===4?(e=zt[r.charAt(p++)],i=zt[r.charAt(p++)],n=zt[r.charAt(p++)],l=zt[r.charAt(p++)],u[s++]=(e<<3|i>>>2)&255,u[s++]=(i<<6|n<<1|l>>>4)&255):_===5?(e=zt[r.charAt(p++)],i=zt[r.charAt(p++)],n=zt[r.charAt(p++)],l=zt[r.charAt(p++)],t=zt[r.charAt(p++)],u[s++]=(e<<3|i>>>2)&255,u[s++]=(i<<6|n<<1|l>>>4)&255,u[s++]=(l<<4|t>>>1)&255):_===7&&(e=zt[r.charAt(p++)],i=zt[r.charAt(p++)],n=zt[r.charAt(p++)],l=zt[r.charAt(p++)],t=zt[r.charAt(p++)],d=zt[r.charAt(p++)],f=zt[r.charAt(p++)],u[s++]=(e<<3|i>>>2)&255,u[s++]=(i<<6|n<<1|l>>>4)&255,u[s++]=(l<<4|t>>>1)&255,u[s++]=(t<<7|d<<2|f>>>3)&255),u};/* + * [js-sha512]{@link https://github.com/emn178/js-sha512} + * + * @version 0.9.0 + * @author Chen, Yi-Cyuan [emn178@gmail.com] + * @copyright Chen, Yi-Cyuan 2014-2024 + * @license MIT + */const ru="input is invalid type",xp="finalize already called",wp=typeof ArrayBuffer<"u",xe="0123456789abcdef".split(""),_p=[-2147483648,8388608,32768,128],br=[24,16,8,0],qr=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],iu=["hex","array","digest","arrayBuffer"],Tt=[],Mp=Array.isArray,Sp=ArrayBuffer.isView,Yc=function(r){const e=typeof r;if(e==="string")return[r,!0];if(e!=="object"||r===null)throw new Error(ru);if(wp&&r.constructor===ArrayBuffer)return[new Uint8Array(r),!1];if(!Mp(r)&&!Sp(r))throw new Error(ru);return[r,!1]},nu=function(r,e){return function(i){return new Yt(e,!0).update(i)[r]()}},Zc=function(r){const e=nu("hex",r);e.create=function(){return new Yt(r)},e.update=function(i){return e.create().update(i)};for(let i=0;i>>2]|=n<>>2]|=(192|n>>>6)<>>2]|=(128|n&63)<=57344?(f[t>>>2]|=(224|n>>>12)<>>2]|=(128|n>>>6&63)<>>2]|=(128|n&63)<>>2]|=(240|n>>>18)<>>2]|=(128|n>>>12&63)<>>2]|=(128|n>>>6&63)<>>2]|=(128|n&63)<>>2]|=r[l]<=128?(this.block=f[32],this.start=t-128,this.hash(),this.hashed=!0):this.start=t}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this};Yt.prototype.finalize=function(){if(this.finalized)return;this.finalized=!0;const r=this.blocks,e=this.lastByteIndex;r[32]=this.block,r[e>>>2]|=_p[e&3],this.block=r[32],e>=112&&(this.hashed||this.hash(),r[0]=this.block,r[1]=r[2]=r[3]=r[4]=r[5]=r[6]=r[7]=r[8]=r[9]=r[10]=r[11]=r[12]=r[13]=r[14]=r[15]=r[16]=r[17]=r[18]=r[19]=r[20]=r[21]=r[22]=r[23]=r[24]=r[25]=r[26]=r[27]=r[28]=r[29]=r[30]=r[31]=r[32]=0),r[30]=this.hBytes<<3|this.bytes>>>29,r[31]=this.bytes<<3,this.hash()};Yt.prototype.hash=function(){const r=this.h0h,e=this.h0l,i=this.h1h,n=this.h1l,l=this.h2h,t=this.h2l,d=this.h3h,f=this.h3l,c=this.h4h,u=this.h4l,s=this.h5h,y=this.h5l,p=this.h6h,w=this.h6l,_=this.h7h,E=this.h7l,B=this.blocks;let R,T,D,U,z,W,te,re,ie,Y,m,h,o,a,v,x,S,M,b,g,k,A,I,q,$;for(R=32;R<160;R+=2)g=B[R-30],k=B[R-29],T=(g>>>1|k<<31)^(g>>>8|k<<24)^g>>>7,D=(k>>>1|g<<31)^(k>>>8|g<<24)^(k>>>7|g<<25),g=B[R-4],k=B[R-3],U=(g>>>19|k<<13)^(k>>>29|g<<3)^g>>>6,z=(k>>>19|g<<13)^(g>>>29|k<<3)^(k>>>6|g<<26),g=B[R-32],k=B[R-31],A=B[R-14],I=B[R-13],W=(I&65535)+(k&65535)+(D&65535)+(z&65535),te=(I>>>16)+(k>>>16)+(D>>>16)+(z>>>16)+(W>>>16),re=(A&65535)+(g&65535)+(T&65535)+(U&65535)+(te>>>16),ie=(A>>>16)+(g>>>16)+(T>>>16)+(U>>>16)+(re>>>16),B[R]=ie<<16|re&65535,B[R+1]=te<<16|W&65535;let N=r,H=e,G=i,J=n,fe=l,L=t,F=d,X=f,ne=c,se=u,V=s,O=y,P=p,K=w,ae=_,oe=E;for(x=G&fe,S=J&L,R=0;R<160;R+=8)T=(N>>>28|H<<4)^(H>>>2|N<<30)^(H>>>7|N<<25),D=(H>>>28|N<<4)^(N>>>2|H<<30)^(N>>>7|H<<25),U=(ne>>>14|se<<18)^(ne>>>18|se<<14)^(se>>>9|ne<<23),z=(se>>>14|ne<<18)^(se>>>18|ne<<14)^(ne>>>9|se<<23),Y=N&G,m=H&J,M=Y^N&fe^x,b=m^H&L^S,q=ne&V^~ne&P,$=se&O^~se&K,g=B[R],k=B[R+1],A=qr[R],I=qr[R+1],W=(I&65535)+(k&65535)+($&65535)+(z&65535)+(oe&65535),te=(I>>>16)+(k>>>16)+($>>>16)+(z>>>16)+(oe>>>16)+(W>>>16),re=(A&65535)+(g&65535)+(q&65535)+(U&65535)+(ae&65535)+(te>>>16),ie=(A>>>16)+(g>>>16)+(q>>>16)+(U>>>16)+(ae>>>16)+(re>>>16),g=ie<<16|re&65535,k=te<<16|W&65535,W=(b&65535)+(D&65535),te=(b>>>16)+(D>>>16)+(W>>>16),re=(M&65535)+(T&65535)+(te>>>16),ie=(M>>>16)+(T>>>16)+(re>>>16),A=ie<<16|re&65535,I=te<<16|W&65535,W=(X&65535)+(k&65535),te=(X>>>16)+(k>>>16)+(W>>>16),re=(F&65535)+(g&65535)+(te>>>16),ie=(F>>>16)+(g>>>16)+(re>>>16),ae=ie<<16|re&65535,oe=te<<16|W&65535,W=(I&65535)+(k&65535),te=(I>>>16)+(k>>>16)+(W>>>16),re=(A&65535)+(g&65535)+(te>>>16),ie=(A>>>16)+(g>>>16)+(re>>>16),F=ie<<16|re&65535,X=te<<16|W&65535,T=(F>>>28|X<<4)^(X>>>2|F<<30)^(X>>>7|F<<25),D=(X>>>28|F<<4)^(F>>>2|X<<30)^(F>>>7|X<<25),U=(ae>>>14|oe<<18)^(ae>>>18|oe<<14)^(oe>>>9|ae<<23),z=(oe>>>14|ae<<18)^(oe>>>18|ae<<14)^(ae>>>9|oe<<23),h=F&N,o=X&H,M=h^F&G^Y,b=o^X&J^m,q=ae&ne^~ae&V,$=oe&se^~oe&O,g=B[R+2],k=B[R+3],A=qr[R+2],I=qr[R+3],W=(I&65535)+(k&65535)+($&65535)+(z&65535)+(K&65535),te=(I>>>16)+(k>>>16)+($>>>16)+(z>>>16)+(K>>>16)+(W>>>16),re=(A&65535)+(g&65535)+(q&65535)+(U&65535)+(P&65535)+(te>>>16),ie=(A>>>16)+(g>>>16)+(q>>>16)+(U>>>16)+(P>>>16)+(re>>>16),g=ie<<16|re&65535,k=te<<16|W&65535,W=(b&65535)+(D&65535),te=(b>>>16)+(D>>>16)+(W>>>16),re=(M&65535)+(T&65535)+(te>>>16),ie=(M>>>16)+(T>>>16)+(re>>>16),A=ie<<16|re&65535,I=te<<16|W&65535,W=(L&65535)+(k&65535),te=(L>>>16)+(k>>>16)+(W>>>16),re=(fe&65535)+(g&65535)+(te>>>16),ie=(fe>>>16)+(g>>>16)+(re>>>16),P=ie<<16|re&65535,K=te<<16|W&65535,W=(I&65535)+(k&65535),te=(I>>>16)+(k>>>16)+(W>>>16),re=(A&65535)+(g&65535)+(te>>>16),ie=(A>>>16)+(g>>>16)+(re>>>16),fe=ie<<16|re&65535,L=te<<16|W&65535,T=(fe>>>28|L<<4)^(L>>>2|fe<<30)^(L>>>7|fe<<25),D=(L>>>28|fe<<4)^(fe>>>2|L<<30)^(fe>>>7|L<<25),U=(P>>>14|K<<18)^(P>>>18|K<<14)^(K>>>9|P<<23),z=(K>>>14|P<<18)^(K>>>18|P<<14)^(P>>>9|K<<23),a=fe&F,v=L&X,M=a^fe&N^h,b=v^L&H^o,q=P&ae^~P&ne,$=K&oe^~K&se,g=B[R+4],k=B[R+5],A=qr[R+4],I=qr[R+5],W=(I&65535)+(k&65535)+($&65535)+(z&65535)+(O&65535),te=(I>>>16)+(k>>>16)+($>>>16)+(z>>>16)+(O>>>16)+(W>>>16),re=(A&65535)+(g&65535)+(q&65535)+(U&65535)+(V&65535)+(te>>>16),ie=(A>>>16)+(g>>>16)+(q>>>16)+(U>>>16)+(V>>>16)+(re>>>16),g=ie<<16|re&65535,k=te<<16|W&65535,W=(b&65535)+(D&65535),te=(b>>>16)+(D>>>16)+(W>>>16),re=(M&65535)+(T&65535)+(te>>>16),ie=(M>>>16)+(T>>>16)+(re>>>16),A=ie<<16|re&65535,I=te<<16|W&65535,W=(J&65535)+(k&65535),te=(J>>>16)+(k>>>16)+(W>>>16),re=(G&65535)+(g&65535)+(te>>>16),ie=(G>>>16)+(g>>>16)+(re>>>16),V=ie<<16|re&65535,O=te<<16|W&65535,W=(I&65535)+(k&65535),te=(I>>>16)+(k>>>16)+(W>>>16),re=(A&65535)+(g&65535)+(te>>>16),ie=(A>>>16)+(g>>>16)+(re>>>16),G=ie<<16|re&65535,J=te<<16|W&65535,T=(G>>>28|J<<4)^(J>>>2|G<<30)^(J>>>7|G<<25),D=(J>>>28|G<<4)^(G>>>2|J<<30)^(G>>>7|J<<25),U=(V>>>14|O<<18)^(V>>>18|O<<14)^(O>>>9|V<<23),z=(O>>>14|V<<18)^(O>>>18|V<<14)^(V>>>9|O<<23),x=G&fe,S=J&L,M=x^G&F^a,b=S^J&X^v,q=V&P^~V&ae,$=O&K^~O&oe,g=B[R+6],k=B[R+7],A=qr[R+6],I=qr[R+7],W=(I&65535)+(k&65535)+($&65535)+(z&65535)+(se&65535),te=(I>>>16)+(k>>>16)+($>>>16)+(z>>>16)+(se>>>16)+(W>>>16),re=(A&65535)+(g&65535)+(q&65535)+(U&65535)+(ne&65535)+(te>>>16),ie=(A>>>16)+(g>>>16)+(q>>>16)+(U>>>16)+(ne>>>16)+(re>>>16),g=ie<<16|re&65535,k=te<<16|W&65535,W=(b&65535)+(D&65535),te=(b>>>16)+(D>>>16)+(W>>>16),re=(M&65535)+(T&65535)+(te>>>16),ie=(M>>>16)+(T>>>16)+(re>>>16),A=ie<<16|re&65535,I=te<<16|W&65535,W=(H&65535)+(k&65535),te=(H>>>16)+(k>>>16)+(W>>>16),re=(N&65535)+(g&65535)+(te>>>16),ie=(N>>>16)+(g>>>16)+(re>>>16),ne=ie<<16|re&65535,se=te<<16|W&65535,W=(I&65535)+(k&65535),te=(I>>>16)+(k>>>16)+(W>>>16),re=(A&65535)+(g&65535)+(te>>>16),ie=(A>>>16)+(g>>>16)+(re>>>16),N=ie<<16|re&65535,H=te<<16|W&65535;W=(e&65535)+(H&65535),te=(e>>>16)+(H>>>16)+(W>>>16),re=(r&65535)+(N&65535)+(te>>>16),ie=(r>>>16)+(N>>>16)+(re>>>16),this.h0h=ie<<16|re&65535,this.h0l=te<<16|W&65535,W=(n&65535)+(J&65535),te=(n>>>16)+(J>>>16)+(W>>>16),re=(i&65535)+(G&65535)+(te>>>16),ie=(i>>>16)+(G>>>16)+(re>>>16),this.h1h=ie<<16|re&65535,this.h1l=te<<16|W&65535,W=(t&65535)+(L&65535),te=(t>>>16)+(L>>>16)+(W>>>16),re=(l&65535)+(fe&65535)+(te>>>16),ie=(l>>>16)+(fe>>>16)+(re>>>16),this.h2h=ie<<16|re&65535,this.h2l=te<<16|W&65535,W=(f&65535)+(X&65535),te=(f>>>16)+(X>>>16)+(W>>>16),re=(d&65535)+(F&65535)+(te>>>16),ie=(d>>>16)+(F>>>16)+(re>>>16),this.h3h=ie<<16|re&65535,this.h3l=te<<16|W&65535,W=(u&65535)+(se&65535),te=(u>>>16)+(se>>>16)+(W>>>16),re=(c&65535)+(ne&65535)+(te>>>16),ie=(c>>>16)+(ne>>>16)+(re>>>16),this.h4h=ie<<16|re&65535,this.h4l=te<<16|W&65535,W=(y&65535)+(O&65535),te=(y>>>16)+(O>>>16)+(W>>>16),re=(s&65535)+(V&65535)+(te>>>16),ie=(s>>>16)+(V>>>16)+(re>>>16),this.h5h=ie<<16|re&65535,this.h5l=te<<16|W&65535,W=(w&65535)+(K&65535),te=(w>>>16)+(K>>>16)+(W>>>16),re=(p&65535)+(P&65535)+(te>>>16),ie=(p>>>16)+(P>>>16)+(re>>>16),this.h6h=ie<<16|re&65535,this.h6l=te<<16|W&65535,W=(E&65535)+(oe&65535),te=(E>>>16)+(oe>>>16)+(W>>>16),re=(_&65535)+(ae&65535)+(te>>>16),ie=(_>>>16)+(ae>>>16)+(re>>>16),this.h7h=ie<<16|re&65535,this.h7l=te<<16|W&65535};Yt.prototype.hex=function(){this.finalize();const r=this.h0h,e=this.h0l,i=this.h1h,n=this.h1l,l=this.h2h,t=this.h2l,d=this.h3h,f=this.h3l,c=this.h4h,u=this.h4l,s=this.h5h,y=this.h5l,p=this.h6h,w=this.h6l,_=this.h7h,E=this.h7l,B=this.bits;let R=xe[r>>>28&15]+xe[r>>>24&15]+xe[r>>>20&15]+xe[r>>>16&15]+xe[r>>>12&15]+xe[r>>>8&15]+xe[r>>>4&15]+xe[r&15]+xe[e>>>28&15]+xe[e>>>24&15]+xe[e>>>20&15]+xe[e>>>16&15]+xe[e>>>12&15]+xe[e>>>8&15]+xe[e>>>4&15]+xe[e&15]+xe[i>>>28&15]+xe[i>>>24&15]+xe[i>>>20&15]+xe[i>>>16&15]+xe[i>>>12&15]+xe[i>>>8&15]+xe[i>>>4&15]+xe[i&15]+xe[n>>>28&15]+xe[n>>>24&15]+xe[n>>>20&15]+xe[n>>>16&15]+xe[n>>>12&15]+xe[n>>>8&15]+xe[n>>>4&15]+xe[n&15]+xe[l>>>28&15]+xe[l>>>24&15]+xe[l>>>20&15]+xe[l>>>16&15]+xe[l>>>12&15]+xe[l>>>8&15]+xe[l>>>4&15]+xe[l&15]+xe[t>>>28&15]+xe[t>>>24&15]+xe[t>>>20&15]+xe[t>>>16&15]+xe[t>>>12&15]+xe[t>>>8&15]+xe[t>>>4&15]+xe[t&15]+xe[d>>>28&15]+xe[d>>>24&15]+xe[d>>>20&15]+xe[d>>>16&15]+xe[d>>>12&15]+xe[d>>>8&15]+xe[d>>>4&15]+xe[d&15];return B>=256&&(R+=xe[f>>>28&15]+xe[f>>>24&15]+xe[f>>>20&15]+xe[f>>>16&15]+xe[f>>>12&15]+xe[f>>>8&15]+xe[f>>>4&15]+xe[f&15]),B>=384&&(R+=xe[c>>>28&15]+xe[c>>>24&15]+xe[c>>>20&15]+xe[c>>>16&15]+xe[c>>>12&15]+xe[c>>>8&15]+xe[c>>>4&15]+xe[c&15]+xe[u>>>28&15]+xe[u>>>24&15]+xe[u>>>20&15]+xe[u>>>16&15]+xe[u>>>12&15]+xe[u>>>8&15]+xe[u>>>4&15]+xe[u&15]+xe[s>>>28&15]+xe[s>>>24&15]+xe[s>>>20&15]+xe[s>>>16&15]+xe[s>>>12&15]+xe[s>>>8&15]+xe[s>>>4&15]+xe[s&15]+xe[y>>>28&15]+xe[y>>>24&15]+xe[y>>>20&15]+xe[y>>>16&15]+xe[y>>>12&15]+xe[y>>>8&15]+xe[y>>>4&15]+xe[y&15]),B==512&&(R+=xe[p>>>28&15]+xe[p>>>24&15]+xe[p>>>20&15]+xe[p>>>16&15]+xe[p>>>12&15]+xe[p>>>8&15]+xe[p>>>4&15]+xe[p&15]+xe[w>>>28&15]+xe[w>>>24&15]+xe[w>>>20&15]+xe[w>>>16&15]+xe[w>>>12&15]+xe[w>>>8&15]+xe[w>>>4&15]+xe[w&15]+xe[_>>>28&15]+xe[_>>>24&15]+xe[_>>>20&15]+xe[_>>>16&15]+xe[_>>>12&15]+xe[_>>>8&15]+xe[_>>>4&15]+xe[_&15]+xe[E>>>28&15]+xe[E>>>24&15]+xe[E>>>20&15]+xe[E>>>16&15]+xe[E>>>12&15]+xe[E>>>8&15]+xe[E>>>4&15]+xe[E&15]),R};Yt.prototype.toString=Yt.prototype.hex;Yt.prototype.digest=function(){this.finalize();const r=this.h0h,e=this.h0l,i=this.h1h,n=this.h1l,l=this.h2h,t=this.h2l,d=this.h3h,f=this.h3l,c=this.h4h,u=this.h4l,s=this.h5h,y=this.h5l,p=this.h6h,w=this.h6l,_=this.h7h,E=this.h7l,B=this.bits,R=[r>>>24&255,r>>>16&255,r>>>8&255,r&255,e>>>24&255,e>>>16&255,e>>>8&255,e&255,i>>>24&255,i>>>16&255,i>>>8&255,i&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,l>>>24&255,l>>>16&255,l>>>8&255,l&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255,d>>>24&255,d>>>16&255,d>>>8&255,d&255];return B>=256&&R.push(f>>>24&255,f>>>16&255,f>>>8&255,f&255),B>=384&&R.push(c>>>24&255,c>>>16&255,c>>>8&255,c&255,u>>>24&255,u>>>16&255,u>>>8&255,u&255,s>>>24&255,s>>>16&255,s>>>8&255,s&255,y>>>24&255,y>>>16&255,y>>>8&255,y&255),B==512&&R.push(p>>>24&255,p>>>16&255,p>>>8&255,p&255,w>>>24&255,w>>>16&255,w>>>8&255,w&255,_>>>24&255,_>>>16&255,_>>>8&255,_&255,E>>>24&255,E>>>16&255,E>>>8&255,E&255),R};Yt.prototype.array=Yt.prototype.digest;Yt.prototype.arrayBuffer=function(){this.finalize();const r=this.bits,e=new ArrayBuffer(r/8),i=new DataView(e);return i.setUint32(0,this.h0h),i.setUint32(4,this.h0l),i.setUint32(8,this.h1h),i.setUint32(12,this.h1l),i.setUint32(16,this.h2h),i.setUint32(20,this.h2l),i.setUint32(24,this.h3h),r>=256&&i.setUint32(28,this.h3l),r>=384&&(i.setUint32(32,this.h4h),i.setUint32(36,this.h4l),i.setUint32(40,this.h5h),i.setUint32(44,this.h5l)),r==512&&(i.setUint32(48,this.h6h),i.setUint32(52,this.h6l),i.setUint32(56,this.h7h),i.setUint32(60,this.h7l)),e};Yt.prototype.clone=function(){const r=new Yt(this.bits,!1);return this.copyTo(r),r};Yt.prototype.copyTo=function(r){let e=0;const i=["h0h","h0l","h1h","h1l","h2h","h2l","h3h","h3l","h4h","h4l","h5h","h5l","h6h","h6l","h7h","h7l","start","bytes","hBytes","finalized","hashed","lastByteIndex"];for(e=0;e>>6,f[u++]=128|s&63):s<55296||s>=57344?(f[u++]=224|s>>>12,f[u++]=128|s>>>6&63,f[u++]=128|s&63):(s=65536+((s&1023)<<10|r.charCodeAt(++n)&1023),f[u++]=240|s>>>18,f[u++]=128|s>>>12&63,f[u++]=128|s>>>6&63,f[u++]=128|s&63);r=f}r.length>128&&(r=new Yt(e,!0).update(r).array());const t=[],d=[];for(var n=0;n<128;++n){const c=r[n]||0;t[n]=92^c,d[n]=54^c}Yt.call(this,e,i),this.update(d),this.oKeyPad=t,this.inner=!0,this.sharedMemory=i}en.prototype=new Yt;en.prototype.finalize=function(){if(Yt.prototype.finalize.call(this),this.inner){this.inner=!1;const r=this.array();Yt.call(this,this.bits,this.sharedMemory),this.update(this.oKeyPad),this.update(r),Yt.prototype.finalize.call(this)}};en.prototype.clone=function(){const r=new en([],this.bits,!1);this.copyTo(r),r.inner=this.inner;for(let e=0;e>2],n+=Ti[(e[l]&3)<<4|e[l+1]>>4],n+=Ti[(e[l+1]&15)<<2|e[l+2]>>6],n+=Ti[e[l+2]&63];return i%3===2?n=n.substring(0,n.length-1):i%3===1&&(n=n.substring(0,n.length-2)),n}function Jf(r){if(typeof r!="string")throw new Error(Cp);return new Uint8Array(atob(r.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"")).split("").map(e=>e.charCodeAt(0)))}function Ip(r){if(typeof r!="string"||r.length!==Bp)throw new Error(Rp);const e=mp(r.toString()),i=new Uint8Array(e.slice(0,au-fu)),n=new Uint8Array(e.slice(Ep,au)),l=Ap.array(i).slice(su-fu,su);if(l.length!==n.length||!Array.from(l).every((t,d)=>t===n[d]))throw new Error(kp);return i}const Xc={method:"POST",headers:{"Content-Type":"application/json"}};function Jc(r){return r.ok&&(r.status===200||r.status===201)}const Ds={attestationType:"none",authenticatorSelection:{authenticatorAttachment:"platform",userVerification:"required",requireResidentKey:!1},extensions:{liquid:!0}};function Tp(r){const e=r.response;return{id:r.id,rawId:$f(r.rawId),type:r.type,response:{clientDataJSON:$f(e.clientDataJSON),attestationObject:$f(e.attestationObject)}}}function Pp(r,e){const i={...r};if(i.user.id=Ip(e.address),i.user.name=e.address,i.user.displayName=e.address,i.challenge=Jf(r.challenge),i.excludeCredentials)for(const n of i.excludeCredentials)n.id=Jf(n.id);return i}async function Op(r,e=Ds){return await fetch(`${r}/attestation/request`,{...Xc,body:JSON.stringify(e)})}async function qp(r,e){return await fetch(`${r}/attestation/response`,{...Xc,body:JSON.stringify(e)}).then(i=>{if(!Jc(i))throw new Error(i.statusText);return i.json()})}async function Dp(r,e,i=Ds){const n=await Op(r,i).then(f=>{if(!Jc(f))throw new Error(f.statusText);return f.json()});if(typeof n.error<"u")throw new Error(n.error);const l=await e(Jf(n.challenge)),t=Pp(n,l),d=Tp(await navigator.credentials.create({publicKey:t}));return d.clientExtensionResults={liquid:l},await qp(r,d)}const Br=Object.create(null);Br.open="0";Br.close="1";Br.ping="2";Br.pong="3";Br.message="4";Br.upgrade="5";Br.noop="6";const Ui=Object.create(null);Object.keys(Br).forEach(r=>{Ui[Br[r]]=r});const Qf={type:"error",data:"parser error"},Qc=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",el=typeof ArrayBuffer=="function",tl=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer,Ls=({type:r,data:e},i,n)=>Qc&&e instanceof Blob?i?n(e):ou(e,n):el&&(e instanceof ArrayBuffer||tl(e))?i?n(e):ou(new Blob([e]),n):n(Br[r]+(e||"")),ou=(r,e)=>{const i=new FileReader;return i.onload=function(){const n=i.result.split(",")[1];e("b"+(n||""))},i.readAsDataURL(r)};function hu(r){return r instanceof Uint8Array?r:r instanceof ArrayBuffer?new Uint8Array(r):new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}let Hf;function Lp(r,e){if(Qc&&r.data instanceof Blob)return r.data.arrayBuffer().then(hu).then(e);if(el&&(r.data instanceof ArrayBuffer||tl(r.data)))return e(hu(r.data));Ls(r,!1,i=>{Hf||(Hf=new TextEncoder),e(Hf.encode(i))})}const uu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",li=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let r=0;r{let e=r.length*.75,i=r.length,n,l=0,t,d,f,c;r[r.length-1]==="="&&(e--,r[r.length-2]==="="&&e--);const u=new ArrayBuffer(e),s=new Uint8Array(u);for(n=0;n>4,s[l++]=(d&15)<<4|f>>2,s[l++]=(f&3)<<6|c&63;return u},Fp=typeof ArrayBuffer=="function",Ns=(r,e)=>{if(typeof r!="string")return{type:"message",data:rl(r,e)};const i=r.charAt(0);return i==="b"?{type:"message",data:Up(r.substring(1),e)}:Ui[i]?r.length>1?{type:Ui[i],data:r.substring(1)}:{type:Ui[i]}:Qf},Up=(r,e)=>{if(Fp){const i=Np(r);return rl(i,e)}else return{base64:!0,data:r}},rl=(r,e)=>{switch(e){case"blob":return r instanceof Blob?r:new Blob([r]);case"arraybuffer":default:return r instanceof ArrayBuffer?r:r.buffer}},il=String.fromCharCode(30),jp=(r,e)=>{const i=r.length,n=new Array(i);let l=0;r.forEach((t,d)=>{Ls(t,!1,f=>{n[d]=f,++l===i&&e(n.join(il))})})},zp=(r,e)=>{const i=r.split(il),n=[];for(let l=0;l{const n=i.length;let l;if(n<126)l=new Uint8Array(1),new DataView(l.buffer).setUint8(0,n);else if(n<65536){l=new Uint8Array(3);const t=new DataView(l.buffer);t.setUint8(0,126),t.setUint16(1,n)}else{l=new Uint8Array(9);const t=new DataView(l.buffer);t.setUint8(0,127),t.setBigUint64(1,BigInt(n))}r.data&&typeof r.data!="string"&&(l[0]|=128),e.enqueue(l),e.enqueue(i)})}})}let Kf;function Pi(r){return r.reduce((e,i)=>e+i.length,0)}function Oi(r,e){if(r[0].length===e)return r.shift();const i=new Uint8Array(e);let n=0;for(let l=0;lMath.pow(2,53-32)-1){f.enqueue(Qf);break}l=s*Math.pow(2,32)+u.getUint32(4),n=3}else{if(Pi(i)r){f.enqueue(Qf);break}}}})}const nl=4;function Xt(r){if(r)return Kp(r)}function Kp(r){for(var e in Xt.prototype)r[e]=Xt.prototype[e];return r}Xt.prototype.on=Xt.prototype.addEventListener=function(r,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+r]=this._callbacks["$"+r]||[]).push(e),this};Xt.prototype.once=function(r,e){function i(){this.off(r,i),e.apply(this,arguments)}return i.fn=e,this.on(r,i),this};Xt.prototype.off=Xt.prototype.removeListener=Xt.prototype.removeAllListeners=Xt.prototype.removeEventListener=function(r,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var i=this._callbacks["$"+r];if(!i)return this;if(arguments.length==1)return delete this._callbacks["$"+r],this;for(var n,l=0;ltypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function al(r,...e){return e.reduce((i,n)=>(r.hasOwnProperty(n)&&(i[n]=r[n]),i),{})}const Wp=cr.setTimeout,Vp=cr.clearTimeout;function dn(r,e){e.useNativeTimers?(r.setTimeoutFn=Wp.bind(cr),r.clearTimeoutFn=Vp.bind(cr)):(r.setTimeoutFn=cr.setTimeout.bind(cr),r.clearTimeoutFn=cr.clearTimeout.bind(cr))}const Gp=1.33;function Yp(r){return typeof r=="string"?Zp(r):Math.ceil((r.byteLength||r.size)*Gp)}function Zp(r){let e=0,i=0;for(let n=0,l=r.length;n=57344?i+=3:(n++,i+=4);return i}function Xp(r){let e="";for(let i in r)r.hasOwnProperty(i)&&(e.length&&(e+="&"),e+=encodeURIComponent(i)+"="+encodeURIComponent(r[i]));return e}function Jp(r){let e={},i=r.split("&");for(let n=0,l=i.length;n0);return e}function sl(){const r=du(+new Date);return r!==lu?(cu=0,lu=r):r+"."+du(cu++)}for(;qi{this.readyState="paused",e()};if(this.polling||!this.writable){let n=0;this.polling&&(n++,this.once("pollComplete",function(){--n||i()})),this.writable||(n++,this.once("drain",function(){--n||i()}))}else i()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const i=n=>{if(this.readyState==="opening"&&n.type==="open"&&this.onOpen(),n.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(n)};zp(e,this.socket.binaryType).forEach(i),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,jp(e,i=>{this.doWrite(i,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",i=this.query||{};return this.opts.timestampRequests!==!1&&(i[this.opts.timestampParam]=sl()),!this.supportsBinary&&!i.sid&&(i.b64=1),this.createUri(e,i)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Er(this.uri(),e)}doWrite(e,i){const n=this.request({method:"POST",data:e});n.on("success",i),n.on("error",(l,t)=>{this.onError("xhr post error",l,t)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(i,n)=>{this.onError("xhr poll error",i,n)}),this.pollXhr=e}}class Er extends Xt{constructor(e,i){super(),dn(this,i),this.opts=i,this.method=i.method||"GET",this.uri=e,this.data=i.data!==void 0?i.data:null,this.create()}create(){var e;const i=al(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");i.xdomain=!!this.opts.xd;const n=this.xhr=new hl(i);try{n.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let l in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(l)&&n.setRequestHeader(l,this.opts.extraHeaders[l])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}(e=this.opts.cookieJar)===null||e===void 0||e.addCookies(n),"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{var l;n.readyState===3&&((l=this.opts.cookieJar)===null||l===void 0||l.parseCookies(n)),n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(l){this.setTimeoutFn(()=>{this.onError(l)},0);return}typeof document<"u"&&(this.index=Er.requestsCount++,Er.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=rv,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Er.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Er.requestsCount=0;Er.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",pu);else if(typeof addEventListener=="function"){const r="onpagehide"in cr?"pagehide":"unload";addEventListener(r,pu,!1)}}function pu(){for(let r in Er.requests)Er.requests.hasOwnProperty(r)&&Er.requests[r].abort()}const Us=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,i)=>i(e,0))(),Di=cr.WebSocket||cr.MozWebSocket,vu=!0,av="arraybuffer",bu=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class fv extends Fs{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),i=this.opts.protocols,n=bu?{}:al(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=vu&&!bu?i?new Di(e,i):new Di(e):new Di(e,i,n)}catch(l){return this.emitReserved("error",l)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let i=0;i{const d={};try{vu&&this.ws.send(t)}catch{}l&&Us(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",i=this.query||{};return this.opts.timestampRequests&&(i[this.opts.timestampParam]=sl()),this.supportsBinary||(i.b64=1),this.createUri(e,i)}check(){return!!Di}}class sv extends Fs{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(e=>{const i=Hp(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(i).getReader(),l=$p();l.readable.pipeTo(e.writable),this.writer=l.writable.getWriter();const t=()=>{n.read().then(({done:f,value:c})=>{f||(this.onPacket(c),t())}).catch(f=>{})};t();const d={type:"open"};this.query.sid&&(d.data=`{"sid":"${this.query.sid}"}`),this.writer.write(d).then(()=>this.onOpen())})}))}write(e){this.writable=!1;for(let i=0;i{l&&Us(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this.transport)===null||e===void 0||e.close()}}const ov={websocket:fv,webtransport:sv,polling:nv},hv=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,uv=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ts(r){if(r.length>2e3)throw"URI too long";const e=r,i=r.indexOf("["),n=r.indexOf("]");i!=-1&&n!=-1&&(r=r.substring(0,i)+r.substring(i,n).replace(/:/g,";")+r.substring(n,r.length));let l=hv.exec(r||""),t={},d=14;for(;d--;)t[uv[d]]=l[d]||"";return i!=-1&&n!=-1&&(t.source=e,t.host=t.host.substring(1,t.host.length-1).replace(/;/g,":"),t.authority=t.authority.replace("[","").replace("]","").replace(/;/g,":"),t.ipv6uri=!0),t.pathNames=cv(t,t.path),t.queryKey=lv(t,t.query),t}function cv(r,e){const i=/\/{2,9}/g,n=e.replace(i,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&n.splice(0,1),e.slice(-1)=="/"&&n.splice(n.length-1,1),n}function lv(r,e){const i={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(n,l,t){l&&(i[l]=t)}),i}let ul=class Qr extends Xt{constructor(e,i={}){super(),this.binaryType=av,this.writeBuffer=[],e&&typeof e=="object"&&(i=e,e=null),e?(e=ts(e),i.hostname=e.host,i.secure=e.protocol==="https"||e.protocol==="wss",i.port=e.port,e.query&&(i.query=e.query)):i.host&&(i.hostname=ts(i.host).host),dn(this,i),this.secure=i.secure!=null?i.secure:typeof location<"u"&&location.protocol==="https:",i.hostname&&!i.port&&(i.port=this.secure?"443":"80"),this.hostname=i.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=i.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=i.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},i),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Jp(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const i=Object.assign({},this.opts.query);i.EIO=nl,i.transport=e,this.id&&(i.sid=this.id);const n=Object.assign({},this.opts,{query:i,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new ov[e](n)}open(){let e;if(this.opts.rememberUpgrade&&Qr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)e="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else e=this.transports[0];this.readyState="opening";try{e=this.createTransport(e)}catch{this.transports.shift(),this.open();return}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",i=>this.onClose("transport close",i))}probe(e){let i=this.createTransport(e),n=!1;Qr.priorWebsocketSuccess=!1;const l=()=>{n||(i.send([{type:"ping",data:"probe"}]),i.once("packet",y=>{if(!n)if(y.type==="pong"&&y.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",i),!i)return;Qr.priorWebsocketSuccess=i.name==="websocket",this.transport.pause(()=>{n||this.readyState!=="closed"&&(s(),this.setTransport(i),i.send([{type:"upgrade"}]),this.emitReserved("upgrade",i),i=null,this.upgrading=!1,this.flush())})}else{const p=new Error("probe error");p.transport=i.name,this.emitReserved("upgradeError",p)}}))};function t(){n||(n=!0,s(),i.close(),i=null)}const d=y=>{const p=new Error("probe error: "+y);p.transport=i.name,t(),this.emitReserved("upgradeError",p)};function f(){d("transport closed")}function c(){d("socket closed")}function u(y){i&&y.name!==i.name&&t()}const s=()=>{i.removeListener("open",l),i.removeListener("error",d),i.removeListener("close",f),this.off("close",c),this.off("upgrading",u)};i.once("open",l),i.once("error",d),i.once("close",f),this.once("close",c),this.once("upgrading",u),this.upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{n||i.open()},200):i.open()}onOpen(){if(this.readyState="open",Qr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const i=this.upgrades.length;for(;e{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let i=1;for(let n=0;n0&&i>this.maxPayload)return this.writeBuffer.slice(0,n);i+=2}return this.writeBuffer}write(e,i,n){return this.sendPacket("message",e,i,n),this}send(e,i,n){return this.sendPacket("message",e,i,n),this}sendPacket(e,i,n,l){if(typeof i=="function"&&(l=i,i=void 0),typeof n=="function"&&(l=n,n=null),this.readyState==="closing"||this.readyState==="closed")return;n=n||{},n.compress=n.compress!==!1;const t={type:e,data:i,options:n};this.emitReserved("packetCreate",t),this.writeBuffer.push(t),l&&this.once("flush",l),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},i=()=>{this.off("upgrade",i),this.off("upgradeError",i),e()},n=()=>{this.once("upgrade",i),this.once("upgradeError",i)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():e()}):this.upgrading?n():e()),this}onError(e){Qr.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,i){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,i),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const i=[];let n=0;const l=e.length;for(;ntypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r.buffer instanceof ArrayBuffer,cl=Object.prototype.toString,bv=typeof Blob=="function"||typeof Blob<"u"&&cl.call(Blob)==="[object BlobConstructor]",gv=typeof File=="function"||typeof File<"u"&&cl.call(File)==="[object FileConstructor]";function js(r){return pv&&(r instanceof ArrayBuffer||vv(r))||bv&&r instanceof Blob||gv&&r instanceof File}function ji(r,e){if(!r||typeof r!="object")return!1;if(Array.isArray(r)){for(let i=0,n=r.length;i=0&&r.num{delete this.acks[e];for(let f=0;f{this.io.clearTimeoutFn(t),i.apply(this,f)};d.withError=!0,this.acks[e]=d}emitWithAck(e,...i){return new Promise((n,l)=>{const t=(d,f)=>d?l(d):n(f);t.withError=!0,i.push(t),this.emit(e,...i)})}_addToQueue(e){let i;typeof e[e.length-1]=="function"&&(i=e.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((l,...t)=>n!==this._queue[0]?void 0:(l!==null?n.tryCount>this._opts.retries&&(this._queue.shift(),i&&i(l)):(this._queue.shift(),i&&i(null,...t)),n.pending=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const i=this._queue[0];i.pending&&!e||(i.pending=!0,i.tryCount++,this.flags=i.flags,this.emit.apply(this,i.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:kt.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,i){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,i),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(n=>String(n.id)===e)){const n=this.acks[e];delete this.acks[e],n.withError&&n.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case kt.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case kt.EVENT:case kt.BINARY_EVENT:this.onevent(e);break;case kt.ACK:case kt.BINARY_ACK:this.onack(e);break;case kt.DISCONNECT:this.ondisconnect();break;case kt.CONNECT_ERROR:this.destroy();const n=new Error(e.data.message);n.data=e.data.data,this.emitReserved("connect_error",n);break}}onevent(e){const i=e.data||[];e.id!=null&&i.push(this.ack(e.id)),this.connected?this.emitEvent(i):this.receiveBuffer.push(Object.freeze(i))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const i=this._anyListeners.slice();for(const n of i)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const i=this;let n=!1;return function(...l){n||(n=!0,i.packet({type:kt.ACK,id:e,data:l}))}}onack(e){const i=this.acks[e.id];typeof i=="function"&&(delete this.acks[e.id],i.withError&&e.data.unshift(null),i.apply(this,e.data))}onconnect(e,i){this.id=e,this.recovered=i&&this._pid===i,this._pid=i,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:kt.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const i=this._anyListeners;for(let n=0;n0&&r.jitter<=1?r.jitter:0,this.attempts=0}hi.prototype.duration=function(){var r=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),i=Math.floor(e*this.jitter*r);r=Math.floor(e*10)&1?r+i:r-i}return Math.min(r,this.max)|0};hi.prototype.reset=function(){this.attempts=0};hi.prototype.setMin=function(r){this.ms=r};hi.prototype.setMax=function(r){this.max=r};hi.prototype.setJitter=function(r){this.jitter=r};class ns extends Xt{constructor(e,i){var n;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(i=e,e=void 0),i=i||{},i.path=i.path||"/socket.io",this.opts=i,dn(this,i),this.reconnection(i.reconnection!==!1),this.reconnectionAttempts(i.reconnectionAttempts||1/0),this.reconnectionDelay(i.reconnectionDelay||1e3),this.reconnectionDelayMax(i.reconnectionDelayMax||5e3),this.randomizationFactor((n=i.randomizationFactor)!==null&&n!==void 0?n:.5),this.backoff=new hi({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(i.timeout==null?2e4:i.timeout),this._readyState="closed",this.uri=e;const l=i.parser||Sv;this.encoder=new l.Encoder,this.decoder=new l.Decoder,this._autoConnect=i.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var i;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(i=this.backoff)===null||i===void 0||i.setMin(e),this)}randomizationFactor(e){var i;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(i=this.backoff)===null||i===void 0||i.setJitter(e),this)}reconnectionDelayMax(e){var i;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(i=this.backoff)===null||i===void 0||i.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new ul(this.uri,this.opts);const i=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const l=gr(i,"open",function(){n.onopen(),e&&e()}),t=f=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",f),e?e(f):this.maybeReconnectOnOpen()},d=gr(i,"error",t);if(this._timeout!==!1){const f=this._timeout,c=this.setTimeoutFn(()=>{l(),t(new Error("timeout")),i.close()},f);this.opts.autoUnref&&c.unref(),this.subs.push(()=>{this.clearTimeoutFn(c)})}return this.subs.push(l),this.subs.push(d),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(gr(e,"ping",this.onping.bind(this)),gr(e,"data",this.ondata.bind(this)),gr(e,"error",this.onerror.bind(this)),gr(e,"close",this.onclose.bind(this)),gr(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(i){this.onclose("parse error",i)}}ondecoded(e){Us(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,i){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new ll(this,e,i),this.nsps[e]=n),n}_destroy(e){const i=Object.keys(this.nsps);for(const n of i)if(this.nsps[n].active)return;this._close()}_packet(e){const i=this.encoder.encode(e);for(let n=0;ne()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,i){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,i),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const i=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(l=>{l?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",l)):e.onreconnect()}))},i);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const ci={};function zi(r,e){typeof r=="object"&&(e=r,r=void 0),e=e||{};const i=dv(r,e.path||"/socket.io"),n=i.source,l=i.id,t=i.path,d=ci[l]&&t in ci[l].nsps,f=e.forceNew||e["force new connection"]||e.multiplex===!1||d;let c;return f?c=new ns(n,e):(ci[l]||(ci[l]=new ns(n,e)),c=ci[l]),i.query&&!e.query&&(e.query=i.queryKey),c.socket(i.path,e)}Object.assign(zi,{Manager:ns,Socket:ll,io:zi,connect:zi});var as={},Ev={get exports(){return as},set exports(r){as=r}};(function(r,e){(function(i,n){r.exports=n()})(self,function(){return(()=>{var i={192:(t,d)=>{var f,c,u=function(){var s=function(o,a){var v=o,x=B[a],S=null,M=0,b=null,g=[],k={},A=function(L,F){S=function(X){for(var ne=new Array(X),se=0;se=7&&N(L),b==null&&(b=J(v,x,g)),G(b,F)},I=function(L,F){for(var X=-1;X<=7;X+=1)if(!(L+X<=-1||M<=L+X))for(var ne=-1;ne<=7;ne+=1)F+ne<=-1||M<=F+ne||(S[L+X][F+ne]=0<=X&&X<=6&&(ne==0||ne==6)||0<=ne&&ne<=6&&(X==0||X==6)||2<=X&&X<=4&&2<=ne&&ne<=4)},q=function(){for(var L=8;L>X&1)==1;S[Math.floor(X/3)][X%3+M-8-3]=ne}for(X=0;X<18;X+=1)ne=!L&&(F>>X&1)==1,S[X%3+M-8-3][Math.floor(X/3)]=ne},H=function(L,F){for(var X=x<<3|F,ne=R.getBCHTypeInfo(X),se=0;se<15;se+=1){var V=!L&&(ne>>se&1)==1;se<6?S[se][8]=V:se<8?S[se+1][8]=V:S[M-15+se][8]=V}for(se=0;se<15;se+=1)V=!L&&(ne>>se&1)==1,se<8?S[8][M-se-1]=V:se<9?S[8][15-se-1+1]=V:S[8][15-se-1]=V;S[M-8][8]=!L},G=function(L,F){for(var X=-1,ne=M-1,se=7,V=0,O=R.getMaskFunction(F),P=M-1;P>0;P-=2)for(P==6&&(P-=1);;){for(var K=0;K<2;K+=1)if(S[ne][P-K]==null){var ae=!1;V>>se&1)==1),O(ne,P-K)&&(ae=!ae),S[ne][P-K]=ae,(se-=1)==-1&&(V+=1,se=7)}if((ne+=X)<0||M<=ne){ne-=X,X=-X;break}}},J=function(L,F,X){for(var ne=U.getRSBlocks(L,F),se=z(),V=0;V8*P)throw"code length overflow. ("+se.getLengthInBits()+">"+8*P+")";for(se.getLengthInBits()+4<=8*P&&se.put(0,4);se.getLengthInBits()%8!=0;)se.putBit(!1);for(;!(se.getLengthInBits()>=8*P||(se.put(236,8),se.getLengthInBits()>=8*P));)se.put(17,8);return function(K,ae){for(var oe=0,de=0,be=0,pe=new Array(ae.length),Se=new Array(ae.length),we=0;we=0?Je.getAt(Ke):0}}var Oe=0;for(Ie=0;Ieae)&&(O=ae,P=K)}return P}())},k.createTableTag=function(L,F){L=L||2;var X="";X+='";for(var se=0;se';X+=""}return(X+="")+"
"},k.createSvgTag=function(L,F,X,ne){var se={};typeof arguments[0]=="object"&&(L=(se=arguments[0]).cellSize,F=se.margin,X=se.alt,ne=se.title),L=L||2,F=F===void 0?4*L:F,(X=typeof X=="string"?{text:X}:X||{}).text=X.text||null,X.id=X.text?X.id||"qrcode-description":null,(ne=typeof ne=="string"?{text:ne}:ne||{}).text=ne.text||null,ne.id=ne.text?ne.id||"qrcode-title":null;var V,O,P,K,ae=k.getModuleCount()*L+2*F,oe="";for(K="l"+L+",0 0,"+L+" -"+L+",0 0,-"+L+"z ",oe+=''+fe(ne.text)+"":"",oe+=X.text?''+fe(X.text)+"":"",oe+='',oe+='"},k.createDataURL=function(L,F){L=L||2,F=F===void 0?4*L:F;var X=k.getModuleCount()*L+2*F,ne=F,se=X-F;return h(X,X,function(V,O){if(ne<=V&&V"};var fe=function(L){for(var F="",X=0;X":F+=">";break;case"&":F+="&";break;case'"':F+=""";break;default:F+=ne}}return F};return k.createASCII=function(L,F){if((L=L||1)<2)return function(pe){pe=pe===void 0?2:pe;var Se,we,Ae,Ye,Ie,Te=1*k.getModuleCount()+2*pe,Je=pe,Ke=Te-pe,Oe={"██":"█","█ ":"▀"," █":"▄"," ":" "},ut={"██":"▀","█ ":"▀"," █":" "," ":" "},Ge="";for(Se=0;Se=Ke?ut[Ie]:Oe[Ie];Ge+=` +`}return Te%2&&pe>0?Ge.substring(0,Ge.length-Te-1)+Array(Te+1).join("▀"):Ge.substring(0,Ge.length-1)}(F);L-=1,F=F===void 0?2*L:F;var X,ne,se,V,O=k.getModuleCount()*L+2*F,P=F,K=O-F,ae=Array(L+1).join("██"),oe=Array(L+1).join(" "),de="",be="";for(X=0;X>>8),M.push(255&k)):M.push(x)}}return M}};var y,p,w,_,E,B={L:1,M:0,Q:3,H:2},R=(y=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],p=1335,w=7973,E=function(o){for(var a=0;o!=0;)a+=1,o>>>=1;return a},(_={}).getBCHTypeInfo=function(o){for(var a=o<<10;E(a)-E(p)>=0;)a^=p<=0;)a^=w<5&&(v+=3+M-5)}for(x=0;x=256;)x-=255;return o[x]}}}();function D(o,a){if(o.length===void 0)throw o.length+"/"+a;var v=function(){for(var S=0;S>>7-x%8&1)==1},put:function(x,S){for(var M=0;M>>S-M-1&1)==1)},getLengthInBits:function(){return a},putBit:function(x){var S=Math.floor(a/8);o.length<=S&&o.push(0),x&&(o[S]|=128>>>a%8),a+=1}};return v},W=function(o){var a=o,v={getMode:function(){return 1},getLength:function(M){return a.length},write:function(M){for(var b=a,g=0;g+2>>8&255)+(255&b),x.put(b,13),M+=2}if(M>>8)},writeBytes:function(v,x,S){x=x||0,S=S||v.length;for(var M=0;M0&&(v+=","),v+=o[x];return v+"]"}};return a},m=function(o){var a=o,v=0,x=0,S=0,M={read:function(){for(;S<8;){if(v>=a.length){if(S==0)return-1;throw"unexpected end of file./"+S}var g=a.charAt(v);if(v+=1,g=="=")return S=0,-1;g.match(/^\s$/)||(x=x<<6|b(g.charCodeAt(0)),S+=6)}var k=x>>>S-8&255;return S-=8,k}},b=function(g){if(65<=g&&g<=90)return g-65;if(97<=g&&g<=122)return g-97+26;if(48<=g&&g<=57)return g-48+52;if(g==43)return 62;if(g==47)return 63;throw"c:"+g};return M},h=function(o,a,v){for(var x=function(I,q){var $=I,N=q,H=new Array(I*q),G={setPixel:function(L,F,X){H[F*$+L]=X},write:function(L){L.writeString("GIF87a"),L.writeShort($),L.writeShort(N),L.writeByte(128),L.writeByte(0),L.writeByte(0),L.writeByte(0),L.writeByte(0),L.writeByte(0),L.writeByte(255),L.writeByte(255),L.writeByte(255),L.writeString(","),L.writeShort(0),L.writeShort(0),L.writeShort($),L.writeShort(N),L.writeByte(0);var F=J(2);L.writeByte(2);for(var X=0;F.length-X>255;)L.writeByte(255),L.writeBytes(F,X,255),X+=255;L.writeByte(F.length-X),L.writeBytes(F,X,F.length-X),L.writeByte(0),L.writeString(";")}},J=function(L){for(var F=1<>>we)throw"length over";for(;P+we>=8;)O.writeByte(255&(Se<>>=8-P,K=0,P=0;K|=Se<0&&O.writeByte(K)}});oe.write(F,ne);var de=0,be=String.fromCharCode(H[de]);for(de+=1;de=6;)G(I>>>q-6),q-=6},H.flush=function(){if(q>0&&(G(I<<6-q),I=0,q=0),$%3!=0)for(var fe=3-$%3,L=0;L>6,128|63&_):_<55296||_>=57344?p.push(224|_>>12,128|_>>6&63,128|63&_):(w++,_=65536+((1023&_)<<10|1023&y.charCodeAt(w)),p.push(240|_>>18,128|_>>12&63,128|_>>6&63,128|63&_))}return p}(s)},(c=typeof(f=function(){return u})=="function"?f.apply(d,[]):f)===void 0||(t.exports=c)},676:(t,d,f)=>{f.d(d,{default:()=>A});var c=function(){return(c=Object.assign||function(I){for(var q,$=1,N=arguments.length;$0&&F[F.length-1])||P[0]!==6&&P[0]!==2)){ne=0;continue}if(P[0]===3&&(!F||P[1]>F[0]&&P[1]2||J&&fe||L&&F)this._basicSquare({x:$,y:N,size:H,rotation:0});else{if(X===2){var ne=0;return J&&L?ne=Math.PI/2:L&&fe?ne=Math.PI:fe&&F&&(ne=-Math.PI/2),void this._basicCornerRounded({x:$,y:N,size:H,rotation:ne})}if(X===1)return ne=0,L?ne=Math.PI/2:fe?ne=Math.PI:F&&(ne=-Math.PI/2),void this._basicSideRounded({x:$,y:N,size:H,rotation:ne})}else this._basicDot({x:$,y:N,size:H,rotation:0})},I.prototype._drawExtraRounded=function(q){var $=q.x,N=q.y,H=q.size,G=q.getNeighbor,J=G?+G(-1,0):0,fe=G?+G(1,0):0,L=G?+G(0,-1):0,F=G?+G(0,1):0,X=J+fe+L+F;if(X!==0)if(X>2||J&&fe||L&&F)this._basicSquare({x:$,y:N,size:H,rotation:0});else{if(X===2){var ne=0;return J&&L?ne=Math.PI/2:L&&fe?ne=Math.PI:fe&&F&&(ne=-Math.PI/2),void this._basicCornerExtraRounded({x:$,y:N,size:H,rotation:ne})}if(X===1)return ne=0,L?ne=Math.PI/2:fe?ne=Math.PI:F&&(ne=-Math.PI/2),void this._basicSideRounded({x:$,y:N,size:H,rotation:ne})}else this._basicDot({x:$,y:N,size:H,rotation:0})},I.prototype._drawClassy=function(q){var $=q.x,N=q.y,H=q.size,G=q.getNeighbor,J=G?+G(-1,0):0,fe=G?+G(1,0):0,L=G?+G(0,-1):0,F=G?+G(0,1):0;J+fe+L+F!==0?J||L?fe||F?this._basicSquare({x:$,y:N,size:H,rotation:0}):this._basicCornerRounded({x:$,y:N,size:H,rotation:Math.PI/2}):this._basicCornerRounded({x:$,y:N,size:H,rotation:-Math.PI/2}):this._basicCornersRounded({x:$,y:N,size:H,rotation:Math.PI/2})},I.prototype._drawClassyRounded=function(q){var $=q.x,N=q.y,H=q.size,G=q.getNeighbor,J=G?+G(-1,0):0,fe=G?+G(1,0):0,L=G?+G(0,-1):0,F=G?+G(0,1):0;J+fe+L+F!==0?J||L?fe||F?this._basicSquare({x:$,y:N,size:H,rotation:0}):this._basicCornerExtraRounded({x:$,y:N,size:H,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:$,y:N,size:H,rotation:-Math.PI/2}):this._basicCornersRounded({x:$,y:N,size:H,rotation:Math.PI/2})},I}();var R=function(){return(R=Object.assign||function(I){for(var q,$=1,N=arguments.length;$0&&H[H.length-1])||X[0]!==6&&X[0]!==2)){J=0;continue}if(X[0]===3&&(!H||X[1]>H[0]&&X[1]ae||oe&&oe=($-J.hideXDots)/2&&O<($+J.hideXDots)/2&&P>=($-J.hideYDots)/2&&P<($+J.hideYDots)/2||!((K=re[O])===null||K===void 0)&&K[P]||!((ae=re[O-$+7])===null||ae===void 0)&&ae[P]||!((oe=re[O])===null||oe===void 0)&&oe[P-$+7]||!((de=ie[O])===null||de===void 0)&&de[P]||!((be=ie[O-$+7])===null||be===void 0)&&be[P]||!((pe=ie[O])===null||pe===void 0)&&pe[P-$+7])}),this.drawCorners(),this._options.image?[4,this.drawImage({width:J.width,height:J.height,count:$,dotSize:G})]:[3,4];case 3:V.sent(),V.label=4;case 4:return[2]}})})},I.prototype.drawBackground=function(){var q,$,N,H=this._element,G=this._options;if(H){var J=(q=G.backgroundOptions)===null||q===void 0?void 0:q.gradient,fe=($=G.backgroundOptions)===null||$===void 0?void 0:$.color;if((J||fe)&&this._createColor({options:J,color:fe,additionalRotation:0,x:0,y:0,height:G.height,width:G.width,name:"background-color"}),(N=G.backgroundOptions)===null||N===void 0?void 0:N.round){var L=Math.min(G.width,G.height),F=document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id","clip-path-background-color"),this._defs.appendChild(this._backgroundClipPath),F.setAttribute("x",String((G.width-L)/2)),F.setAttribute("y",String((G.height-L)/2)),F.setAttribute("width",String(L)),F.setAttribute("height",String(L)),F.setAttribute("rx",String(L/2*G.backgroundOptions.round)),this._backgroundClipPath.appendChild(F)}}},I.prototype.drawDots=function(q){var $,N,H=this;if(!this._qr)throw"QR code is not defined";var G=this._options,J=this._qr.getModuleCount();if(J>G.width||J>G.height)throw"The canvas is too small.";var fe=Math.min(G.width,G.height)-2*G.margin,L=G.shape===z?fe/Math.sqrt(2):fe,F=Math.floor(L/J),X=Math.floor((G.width-J*F)/2),ne=Math.floor((G.height-J*F)/2),se=new B({svg:this._element,type:G.dotsOptions.type});this._dotsClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id","clip-path-dot-color"),this._defs.appendChild(this._dotsClipPath),this._createColor({options:($=G.dotsOptions)===null||$===void 0?void 0:$.gradient,color:G.dotsOptions.color,additionalRotation:0,x:0,y:0,height:G.height,width:G.width,name:"dot-color"});for(var V=function(Ye){for(var Ie=function(Je){return q&&!q(Ye,Je)?"continue":!((N=O._qr)===null||N===void 0)&&N.isDark(Ye,Je)?(se.draw(X+Ye*F,ne+Je*F,F,function(Ke,Oe){return!(Ye+Ke<0||Je+Oe<0||Ye+Ke>=J||Je+Oe>=J)&&!(q&&!q(Ye+Ke,Je+Oe))&&!!H._qr&&H._qr.isDark(Ye+Ke,Je+Oe)}),void(se._element&&O._dotsClipPath&&O._dotsClipPath.appendChild(se._element))):"continue"},Te=0;Te=K-1&&P<=ae-K&&Se>=K-1&&Se<=ae-K||Math.sqrt((P-pe)*(P-pe)+(Se-pe)*(Se-pe))>pe?be[P][Se]=0:be[P][Se]=this._qr.isDark(Se-2*K<0?Se:Se>=J?Se-2*K:Se-K,P-2*K<0?P:P>=J?P-2*K:P-K)?1:0}var we=function(Ye){for(var Ie=function(Je){if(!be[Ye][Je])return"continue";se.draw(oe+Ye*F,de+Je*F,F,function(Ke,Oe){var ut;return!!(!((ut=be[Ye+Ke])===null||ut===void 0)&&ut[Je+Oe])}),se._element&&Ae._dotsClipPath&&Ae._dotsClipPath.appendChild(se._element)},Te=0;Tefe?L:fe,ne=document.createElementNS("http://www.w3.org/2000/svg","rect");if(ne.setAttribute("x",String(G)),ne.setAttribute("y",String(J)),ne.setAttribute("height",String(fe)),ne.setAttribute("width",String(L)),ne.setAttribute("clip-path","url('#clip-path-"+F+"')"),$){var se;if($.type==="radial")(se=document.createElementNS("http://www.w3.org/2000/svg","radialGradient")).setAttribute("id",F),se.setAttribute("gradientUnits","userSpaceOnUse"),se.setAttribute("fx",String(G+L/2)),se.setAttribute("fy",String(J+fe/2)),se.setAttribute("cx",String(G+L/2)),se.setAttribute("cy",String(J+fe/2)),se.setAttribute("r",String(X/2));else{var V=(($.rotation||0)+H)%(2*Math.PI),O=(V+2*Math.PI)%(2*Math.PI),P=G+L/2,K=J+fe/2,ae=G+L/2,oe=J+fe/2;O>=0&&O<=.25*Math.PI||O>1.75*Math.PI&&O<=2*Math.PI?(P-=L/2,K-=fe/2*Math.tan(V),ae+=L/2,oe+=fe/2*Math.tan(V)):O>.25*Math.PI&&O<=.75*Math.PI?(K-=fe/2,P-=L/2/Math.tan(V),oe+=fe/2,ae+=L/2/Math.tan(V)):O>.75*Math.PI&&O<=1.25*Math.PI?(P+=L/2,K+=fe/2*Math.tan(V),ae-=L/2,oe-=fe/2*Math.tan(V)):O>1.25*Math.PI&&O<=1.75*Math.PI&&(K+=fe/2,P+=L/2/Math.tan(V),oe-=fe/2,ae-=L/2/Math.tan(V)),(se=document.createElementNS("http://www.w3.org/2000/svg","linearGradient")).setAttribute("id",F),se.setAttribute("gradientUnits","userSpaceOnUse"),se.setAttribute("x1",String(Math.round(P))),se.setAttribute("y1",String(Math.round(K))),se.setAttribute("x2",String(Math.round(ae))),se.setAttribute("y2",String(Math.round(oe)))}$.colorStops.forEach(function(de){var be=de.offset,pe=de.color,Se=document.createElementNS("http://www.w3.org/2000/svg","stop");Se.setAttribute("offset",100*be+"%"),Se.setAttribute("stop-color",pe),se.appendChild(Se)}),ne.setAttribute("fill","url('#"+F+"')"),this._defs.appendChild(se)}else N&&ne.setAttribute("fill",N);this._element.appendChild(ne)},I}(),m="canvas";for(var h={},o=0;o<=40;o++)h[o]=o;const a={type:m,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:h[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000"},backgroundOptions:{round:0,color:"#fff"}};var v=function(){return(v=Object.assign||function(I){for(var q,$=1,N=arguments.length;$Math.min(q.width,q.height)&&(q.margin=Math.min(q.width,q.height)),q.dotsOptions=v({},q.dotsOptions),q.dotsOptions.gradient&&(q.dotsOptions.gradient=x(q.dotsOptions.gradient)),q.cornersSquareOptions&&(q.cornersSquareOptions=v({},q.cornersSquareOptions),q.cornersSquareOptions.gradient&&(q.cornersSquareOptions.gradient=x(q.cornersSquareOptions.gradient))),q.cornersDotOptions&&(q.cornersDotOptions=v({},q.cornersDotOptions),q.cornersDotOptions.gradient&&(q.cornersDotOptions.gradient=x(q.cornersDotOptions.gradient))),q.backgroundOptions&&(q.backgroundOptions=v({},q.backgroundOptions),q.backgroundOptions.gradient&&(q.backgroundOptions.gradient=x(q.backgroundOptions.gradient))),q}var M=f(192),b=f.n(M),g=function(I,q,$,N){return new($||($=Promise))(function(H,G){function J(F){try{L(N.next(F))}catch(X){G(X)}}function fe(F){try{L(N.throw(F))}catch(X){G(X)}}function L(F){var X;F.done?H(F.value):(X=F.value,X instanceof $?X:new $(function(ne){ne(X)})).then(J,fe)}L((N=N.apply(I,q||[])).next())})},k=function(I,q){var $,N,H,G,J={label:0,sent:function(){if(1&H[0])throw H[1];return H[1]},trys:[],ops:[]};return G={next:fe(0),throw:fe(1),return:fe(2)},typeof Symbol=="function"&&(G[Symbol.iterator]=function(){return this}),G;function fe(L){return function(F){return function(X){if($)throw new TypeError("Generator is already executing.");for(;J;)try{if($=1,N&&(H=2&X[0]?N.return:X[0]?N.throw||((H=N.return)&&H.call(N),0):N.next)&&!(H=H.call(N,X[1])).done)return H;switch(N=0,H&&(X=[2&X[0],H.value]),X[0]){case 0:case 1:H=X;break;case 4:return J.label++,{value:X[1],done:!1};case 5:J.label++,N=X[1],X=[0];continue;case 7:X=J.ops.pop(),J.trys.pop();continue;default:if(!((H=(H=J.trys).length>0&&H[H.length-1])||X[0]!==6&&X[0]!==2)){J=0;continue}if(X[0]===3&&(!H||X[1]>H[0]&&X[1]\r +`+H],{type:"image/svg+xml"})]):[2,new Promise(function(J){return $.toBlob(J,"image/"+q,1)})]:[2,null]}})})},I.prototype.download=function(q){return g(this,void 0,void 0,function(){var $,N,H,G,J;return k(this,function(fe){switch(fe.label){case 0:if(!this._qr)throw"QR code is empty";return $="png",N="qr",typeof q=="string"?($=q,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):typeof q=="object"&&q!==null&&(q.name&&(N=q.name),q.extension&&($=q.extension)),[4,this._getElement($)];case 1:return(H=fe.sent())?($.toLowerCase()==="svg"?(G=new XMLSerializer,J=`\r +`+(J=G.serializeToString(H)),p("data:image/svg+xml;charset=utf-8,"+encodeURIComponent(J),N+".svg")):p(H.toDataURL("image/"+$),N+"."+$),[2]):[2]}})})},I}()}},n={};function l(t){if(n[t])return n[t].exports;var d=n[t]={exports:{}};return i[t](d,d.exports,l),d.exports}return l.n=t=>{var d=t&&t.__esModule?()=>t.default:()=>t;return l.d(d,{a:d}),d},l.d=(t,d)=>{for(var f in d)l.o(d,f)&&!l.o(t,f)&&Object.defineProperty(t,f,{enumerable:!0,get:d[f]})},l.o=(t,d)=>Object.prototype.hasOwnProperty.call(t,d),l(676)})().default})})(Ev);const Bv=xl(as);var fs={},Rv={get exports(){return fs},set exports(r){fs=r}};(function(r){var e=Object.prototype.hasOwnProperty,i="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(i=!1));function l(c,u,s){this.fn=c,this.context=u,this.once=s||!1}function t(c,u,s,y,p){if(typeof s!="function")throw new TypeError("The listener must be a function");var w=new l(s,y||c,p),_=i?i+u:u;return c._events[_]?c._events[_].fn?c._events[_]=[c._events[_],w]:c._events[_].push(w):(c._events[_]=w,c._eventsCount++),c}function d(c,u){--c._eventsCount===0?c._events=new n:delete c._events[u]}function f(){this._events=new n,this._eventsCount=0}f.prototype.eventNames=function(){var u=[],s,y;if(this._eventsCount===0)return u;for(y in s=this._events)e.call(s,y)&&u.push(i?y.slice(1):y);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(s)):u},f.prototype.listeners=function(u){var s=i?i+u:u,y=this._events[s];if(!y)return[];if(y.fn)return[y.fn];for(var p=0,w=y.length,_=new Array(w);p"u")throw new Error(tn);return i.data=pl(e,r),new Bv(i).getRawData("png").then(l=>{if(!l)throw new TypeError("Could not get qrcode blob");return URL.createObjectURL(l)})}function pl(r,e){if(typeof r!="string")throw new Error(Cv);if(typeof e>"u")throw new Error(tn);return`liquid://${r.replace("https://","")}/?requestId=${e}`}class mu extends fs{constructor(i,n={autoConnect:!0}){super();Or(this,"url");Or(this,"type");Or(this,"authenticated",!1);Or(this,"requestId");Or(this,"peerClient");Or(this,"qrCodeOptions",dl);Or(this,"socket");this.url=i,this.socket=zi(i,n),globalThis.socket=this.socket,this.socket.on("connect",()=>{this.emit("connect",this.socket.id)}),this.socket.on("disconnect",()=>{this.emit("disconnect",this.socket.id)})}static generateRequestId(){return Math.random()}attestation(i,n=Ds){return Dp(this.url,i,n).then(()=>{this.authenticated=!0}).catch(l=>{throw this.authenticated=!1,l})}assertion(){}async qrCode(){if(typeof this.requestId>"u")throw new Error(tn);return Iv({requestId:this.requestId,url:this.url},this.qrCodeOptions)}deepLink(i){if(typeof i>"u"&&typeof this.requestId>"u")throw new Error(tn);return pl(this.url,i||this.requestId)}async peer(i,n,l={iceServers:[{urls:["stun:stun.l.google.com:19302","stun:stun1.l.google.com:19302","stun:stun2.l.google.com:19302"]}],iceCandidatePoolSize:10}){if(typeof this.requestId<"u")throw new Error(yu);return new Promise(async t=>{let d=[];if(this.peerClient=new RTCPeerConnection(l),globalThis.peerClient=this.peerClient,this.type=n==="offer"?"answer":"offer",n==="offer"&&await this.link(i),this.peerClient.onicecandidate=f=>{f.candidate&&(this.emit(`${this.type}-candidate`,f.candidate.toJSON()),this.socket.emit(`${this.type}-candidate`,f.candidate.toJSON()))},this.socket.on(`${n}-candidate`,async f=>{this.peerClient.remoteDescription&&this.peerClient.remoteDescription?(this.emit(`${n}-candidate`,f),await this.peerClient.addIceCandidate(new RTCIceCandidate(f))):d.push(f)}),this.peerClient.ondatachannel=f=>{globalThis.dc=f.channel,this.emit("data-channel",f.channel),t(f.channel)},n==="offer"){const f=await this.signal(n);await this.peerClient.setRemoteDescription(f);const c=await this.peerClient.createAnswer();await this.peerClient.setLocalDescription(c),d.length>0&&(await Promise.all(d.map(async u=>{this.emit(`${n}-candidate`,u),await this.peerClient.addIceCandidate(new RTCIceCandidate(u))})),d=[]),this.emit(`${this.type}-description`,c.sdp),this.socket.emit(`${this.type}-description`,c.sdp)}else{const f=this.peerClient.createDataChannel("liquid"),c=await this.peerClient.createOffer();await this.peerClient.setLocalDescription(c),this.socket.emit(`${this.type}-description`,c.sdp),this.emit(`${this.type}-description`,c.sdp);const u=await this.signal(n);await this.peerClient.setRemoteDescription(u),d.length>0&&(await Promise.all(d.map(async s=>{this.emit(`${n}-candidate`,s),await this.peerClient.addIceCandidate(new RTCIceCandidate(s))})),d=[]),this.emit("data-channel",f),t(f)}})}async link(i){if(typeof this.requestId<"u")throw new Error(yu);return this.requestId=i,this.emit("link",{requestId:i}),new Promise(n=>{this.socket.emit("link",{requestId:i},({data:l})=>{this.authenticated=!0,delete this.requestId,this.emit("link-message",l),n(l)})})}async signal(i){if(!this.authenticated)throw new Error(kv);return this.emit("signal",{type:i}),new Promise(n=>{this.socket.once(`${i}-description`,l=>{const t={type:i,sdp:l};this.emit(`${i}-description`,t),n(t)})})}close(i=!1){this.socket.removeAllListeners(),delete this.requestId,this.authenticated=!1,i&&this.socket.disconnect(),this.emit("close")}}const Xr=[];function Tv(r,e=$t){let i;const n=new Set;function l(f){if(fr(r,f)&&(r=f,i)){const c=!Xr.length;for(const u of n)u[1](),Xr.push(u,r);if(c){for(let u=0;u{n.delete(u),n.size===0&&i&&(i(),i=null)}}return{set:l,update:t,subscribe:d}}const Wf={ready:async()=>{try{return(await fetch("http://localhost:9090/ready")).status===200}catch{return!1}},list:async()=>{try{return await(await fetch("http://localhost:9090/list")).json()}catch{return[]}},register:async(r,e)=>{try{return(await fetch("http://localhost:9090/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:r,recovery_key:e})})).status===200}catch{return!1}},update:async(r,e,i,n)=>{try{return(await fetch("http://localhost:9090/update",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:r,did:e,passphrase:n,addresses:i})})).status===200}catch{return!1}}},{subscribe:Pv,update:Li}=Tv({identifiers:[],datachannel:null,wallet:{url:"",name:"",icons:[],addresses:[],connected:!1,description:""}}),Tr={subscribe:Pv,reload:async function(){const r=await Wf.list();r.sort((e,i)=>Date.parse(i.last_sync)-Date.parse(e.last_sync)),Li(e=>(e.identifiers=r,e))},setWallet:r=>{Li(e=>(e.wallet=r,e))},removeWallet:()=>{Li(r=>(r.wallet={connected:!1,addresses:[],name:"",description:"",url:"",icons:[]},r))},createDID:async function(r,e){const i=await Wf.register(r,e);return i&&this.reload(),i},updateDID:async function(r,e,i,n){const l=await Wf.update(r,e,i,n);return l&&this.reload(),l},setDataChannel(r){Li(e=>(e.datachannel=r,e))}},vl=Symbol("app-context-key"),Ov=function(r){Wl(vl,r)},pn=function(){return Vl(vl)};function qv(r){let e,i,n;return{c(){e=Re("img"),yi(e.src,i=r[0])||me(e,"src",i),me(e,"alt","QR Code"),me(e,"class",n=r[1]?"hidden":"")},m(l,t){_t(l,e,t)},p(l,[t]){t&1&&!yi(e.src,i=l[0])&&me(e,"src",i),t&2&&n!==(n=l[1]?"hidden":"")&&me(e,"class",n)},i:$t,o:$t,d(l){l&>(e)}}}function Dv(r,e,i){let{src:n=""}=e,{hidden:l=!0}=e;return r.$$set=t=>{"src"in t&&i(0,n=t.src),"hidden"in t&&i(1,l=t.hidden)},[n,l]}class Lv extends dr{constructor(e){super(),lr(this,e,Dv,qv,fr,{src:0,hidden:1})}}function Nv(r){let e,i,n=r[0].wallet.name+"",l,t,d,f=r[0].wallet.icons.length>=1&&xu(r);return{c(){e=Re("button"),f&&f.c(),i=Qt(` + Disconnect: `),l=Qt(n),me(e,"type","button"),me(e,"class","inline-flex items-center gap-x-2 rounded-md bg-red-600 px-3 py-2 text-sm font-semibold text-white hover:bg-red-500")},m(c,u){_t(c,e,u),f&&f.m(e,null),ye(e,i),ye(e,l),t||(d=er(e,"click",r[2]),t=!0)},p(c,u){c[0].wallet.icons.length>=1?f?f.p(c,u):(f=xu(c),f.c(),f.m(e,i)):f&&(f.d(1),f=null),u&1&&n!==(n=c[0].wallet.name+"")&&nr(l,n)},d(c){c&>(e),f&&f.d(),t=!1,d()}}}function Fv(r){let e,i,n;return{c(){e=Re("button"),e.innerHTML=` + Connect Wallet`,me(e,"type","button"),me(e,"class","inline-flex items-center gap-x-2 rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white hover:bg-indigo-500")},m(l,t){_t(l,e,t),i||(n=er(e,"click",r[1]),i=!0)},p:$t,d(l){l&>(e),i=!1,n()}}}function xu(r){let e,i;return{c(){e=Re("img"),me(e,"class","h-6 w-6"),me(e,"alt","Wallet icon"),yi(e.src,i=r[0].wallet.icons[0])||me(e,"src",i)},m(n,l){_t(n,e,l)},p(n,l){l&1&&!yi(e.src,i=n[0].wallet.icons[0])&&me(e,"src",i)},d(n){n&>(e)}}}function Uv(r){let e;function i(t,d){return t[0].wallet.connected?Nv:Fv}let n=i(r),l=n(r);return{c(){e=Re("span"),l.c(),me(e,"class","absolute right-0 isolate inline-flex rounded-md shadow-sm")},m(t,d){_t(t,e,d),l.m(e,null)},p(t,[d]){n===(n=i(t))&&l?l.p(t,d):(l.d(1),l=n(t),l&&(l.c(),l.m(e,null)))},i:$t,o:$t,d(t){t&>(e),l.d()}}}function jv(r,e,i){let n;hs(r,Tr,s=>i(0,n=s));const l=fn(),t=pn();let d;ls(()=>{console.log("mounting"),d=new mu("https://liquid-auth.onrender.com"),u()});async function f(){const s=mu.generateRequestId();d.requestId||d.peer(s,"offer").then(y=>{y.send("What up homie"),Tr.setDataChannel(y)}),t.showModal({asPanel:!1,title:"Connect Wallet",subtitle:"Scan the QR code with your wallet app to connect",content:Lv,props:{src:await d.qrCode(),hidden:!1}})}function c(){d.close(),Tr.removeWallet(),t.showAlert("error","Disconnected from wallet")}function u(){d.on("link-message",s=>{Tr.setWallet({connected:!0,addresses:[s.wallet],name:`${s.wallet.substring(0,4)}...${s.wallet.substring(s.wallet.length-4,s.wallet.length)}`,description:"WebRTC Wallet",url:"https://liquid-auth.onrender.com",icons:[]}),t.closeModal(),t.showAlert("success",`Connected to: ${s.wallet}`),l("ready")})}return[n,f,c]}class zv extends dr{constructor(e){super(),lr(this,e,jv,Uv,fr,{})}}function $v(r){let e;return{c(){e=Re("span"),e.textContent="Deactivated",me(e,"class","inline-flex rounded-full bg-red-100 px-2 text-xs font-semibold leading-5 text-red-800")},m(i,n){_t(i,e,n)},d(i){i&>(e)}}}function Hv(r){let e;return{c(){e=Re("span"),e.textContent="Active",me(e,"class","inline-flex rounded-full bg-green-100 px-2 text-xs font-semibold leading-5 text-green-800")},m(i,n){_t(i,e,n)},d(i){i&>(e)}}}function Kv(r){let e,i,n=r[0].name+"",l,t,d,f=wu(r[0].did)+"",c,u,s,y=r[0].addresses.length+"",p,w,_,E=_u(r[0].last_sync)+"",B,R,T,D,U,z,W,te;function re(m,h){return m[0].active?Hv:$v}let ie=re(r),Y=ie(r);return{c(){e=Re("tr"),i=Re("td"),l=Qt(n),t=lt(),d=Re("td"),c=Qt(f),u=lt(),s=Re("td"),p=Qt(y),w=lt(),_=Re("td"),B=Qt(E),R=lt(),T=Re("td"),Y.c(),D=lt(),U=Re("td"),z=Re("button"),z.innerHTML='',me(i,"class","whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-3"),me(d,"class","whitespace-nowrap break-all px-3 py-4 text-sm text-gray-500"),me(s,"class","hidden whitespace-nowrap px-3 py-4 text-sm text-gray-500 lg:table-cell"),me(_,"class","hidden whitespace-nowrap px-3 py-4 text-sm text-gray-500 lg:table-cell"),me(T,"class","whitespace-nowrap px-3 py-4 text-sm text-gray-500"),me(z,"type","button"),me(z,"class","inline-flex items-center px-2.5 py-1.5 text-sm font-semibold text-gray-900 hover:text-indigo-600 disabled:cursor-not-allowed disabled:opacity-30"),me(e,"class","cursor-pointer odd:bg-white even:bg-slate-50 hover:bg-slate-100")},m(m,h){_t(m,e,h),ye(e,i),ye(i,l),ye(e,t),ye(e,d),ye(d,c),ye(e,u),ye(e,s),ye(s,p),ye(e,w),ye(e,_),ye(_,B),ye(e,R),ye(e,T),Y.m(T,null),ye(e,D),ye(e,U),ye(U,z),W||(te=[er(z,"click",Ws(ai(r[2]))),er(e,"click",Ws(ai(r[3])))],W=!0)},p(m,[h]){h&1&&n!==(n=m[0].name+"")&&nr(l,n),h&1&&f!==(f=wu(m[0].did)+"")&&nr(c,f),h&1&&y!==(y=m[0].addresses.length+"")&&nr(p,y),h&1&&E!==(E=_u(m[0].last_sync)+"")&&nr(B,E),ie!==(ie=re(m))&&(Y.d(1),Y=ie(m),Y&&(Y.c(),Y.m(T,null)))},i:$t,o:$t,d(m){m&>(e),Y.d(),W=!1,Rr(te)}}}function wu(r){return r.slice(0,18)+"..."+r.slice(-18)}function _u(r){let e=new Date;return e.setTime(Date.parse(r)),e.toLocaleDateString(navigator.language,{day:"numeric",year:"numeric",hour:"numeric",month:"short",minute:"numeric",hour12:!0})}function Wv(r,e,i){let{identifier:n}=e;const l=fn(),t=()=>{l("link_wallet",{did:n})},d=()=>{l("show_details",{did:n})};return r.$$set=f=>{"identifier"in f&&i(0,n=f.identifier)},[n,l,t,d]}class Vv extends dr{constructor(e){super(),lr(this,e,Wv,Kv,fr,{identifier:0})}}typeof window<"u"&&(window.Prism&&console.warn("Prism has already been initiated. Please ensure that svelte-prism is imported first."),window.Prism=window.Prism||{},window.Prism.manual=!0);var ss={},Gv={get exports(){return ss},set exports(r){ss=r}};(function(r){var e=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + */var i=function(n){var l=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,d={},f={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function T(D){return D instanceof c?new c(D.type,T(D.content),D.alias):Array.isArray(D)?D.map(T):D.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(z){var T=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(z.stack)||[])[1];if(T){var D=document.getElementsByTagName("script");for(var U in D)if(D[U].src==T)return D[U]}return null}},isActive:function(T,D,U){for(var z="no-"+D;T;){var W=T.classList;if(W.contains(D))return!0;if(W.contains(z))return!1;T=T.parentElement}return!!U}},languages:{plain:d,plaintext:d,text:d,txt:d,extend:function(T,D){var U=f.util.clone(f.languages[T]);for(var z in D)U[z]=D[z];return U},insertBefore:function(T,D,U,z){z=z||f.languages;var W=z[T],te={};for(var re in W)if(W.hasOwnProperty(re)){if(re==D)for(var ie in U)U.hasOwnProperty(ie)&&(te[ie]=U[ie]);U.hasOwnProperty(re)||(te[re]=W[re])}var Y=z[T];return z[T]=te,f.languages.DFS(f.languages,function(m,h){h===Y&&m!=T&&(this[m]=te)}),te},DFS:function T(D,U,z,W){W=W||{};var te=f.util.objId;for(var re in D)if(D.hasOwnProperty(re)){U.call(D,re,D[re],z||re);var ie=D[re],Y=f.util.type(ie);Y==="Object"&&!W[te(ie)]?(W[te(ie)]=!0,T(ie,U,null,W)):Y==="Array"&&!W[te(ie)]&&(W[te(ie)]=!0,T(ie,U,re,W))}}},plugins:{},highlightAll:function(T,D){f.highlightAllUnder(document,T,D)},highlightAllUnder:function(T,D,U){var z={callback:U,container:T,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};f.hooks.run("before-highlightall",z),z.elements=Array.prototype.slice.apply(z.container.querySelectorAll(z.selector)),f.hooks.run("before-all-elements-highlight",z);for(var W=0,te;te=z.elements[W++];)f.highlightElement(te,D===!0,z.callback)},highlightElement:function(T,D,U){var z=f.util.getLanguage(T),W=f.languages[z];f.util.setLanguage(T,z);var te=T.parentElement;te&&te.nodeName.toLowerCase()==="pre"&&f.util.setLanguage(te,z);var re=T.textContent,ie={element:T,language:z,grammar:W,code:re};function Y(h){ie.highlightedCode=h,f.hooks.run("before-insert",ie),ie.element.innerHTML=ie.highlightedCode,f.hooks.run("after-highlight",ie),f.hooks.run("complete",ie),U&&U.call(ie.element)}if(f.hooks.run("before-sanity-check",ie),te=ie.element.parentElement,te&&te.nodeName.toLowerCase()==="pre"&&!te.hasAttribute("tabindex")&&te.setAttribute("tabindex","0"),!ie.code){f.hooks.run("complete",ie),U&&U.call(ie.element);return}if(f.hooks.run("before-highlight",ie),!ie.grammar){Y(f.util.encode(ie.code));return}if(D&&n.Worker){var m=new Worker(f.filename);m.onmessage=function(h){Y(h.data)},m.postMessage(JSON.stringify({language:ie.language,code:ie.code,immediateClose:!0}))}else Y(f.highlight(ie.code,ie.grammar,ie.language))},highlight:function(T,D,U){var z={code:T,grammar:D,language:U};if(f.hooks.run("before-tokenize",z),!z.grammar)throw new Error('The language "'+z.language+'" has no grammar.');return z.tokens=f.tokenize(z.code,z.grammar),f.hooks.run("after-tokenize",z),c.stringify(f.util.encode(z.tokens),z.language)},tokenize:function(T,D){var U=D.rest;if(U){for(var z in U)D[z]=U[z];delete D.rest}var W=new y;return p(W,W.head,T),s(T,W,D,W.head,0),_(W)},hooks:{all:{},add:function(T,D){var U=f.hooks.all;U[T]=U[T]||[],U[T].push(D)},run:function(T,D){var U=f.hooks.all[T];if(!(!U||!U.length))for(var z=0,W;W=U[z++];)W(D)}},Token:c};n.Prism=f;function c(T,D,U,z){this.type=T,this.content=D,this.alias=U,this.length=(z||"").length|0}c.stringify=function T(D,U){if(typeof D=="string")return D;if(Array.isArray(D)){var z="";return D.forEach(function(Y){z+=T(Y,U)}),z}var W={type:D.type,content:T(D.content,U),tag:"span",classes:["token",D.type],attributes:{},language:U},te=D.alias;te&&(Array.isArray(te)?Array.prototype.push.apply(W.classes,te):W.classes.push(te)),f.hooks.run("wrap",W);var re="";for(var ie in W.attributes)re+=" "+ie+'="'+(W.attributes[ie]||"").replace(/"/g,""")+'"';return"<"+W.tag+' class="'+W.classes.join(" ")+'"'+re+">"+W.content+""};function u(T,D,U,z){T.lastIndex=D;var W=T.exec(U);if(W&&z&&W[1]){var te=W[1].length;W.index+=te,W[0]=W[0].slice(te)}return W}function s(T,D,U,z,W,te){for(var re in U)if(!(!U.hasOwnProperty(re)||!U[re])){var ie=U[re];ie=Array.isArray(ie)?ie:[ie];for(var Y=0;Y=te.reach);b+=M.value.length,M=M.next){var g=M.value;if(D.length>T.length)return;if(!(g instanceof c)){var k=1,A;if(a){if(A=u(S,b,T,o),!A||A.index>=T.length)break;var N=A.index,I=A.index+A[0].length,q=b;for(q+=M.value.length;N>=q;)M=M.next,q+=M.value.length;if(q-=M.value.length,b=q,M.value instanceof c)continue;for(var $=M;$!==D.tail&&(qte.reach&&(te.reach=fe);var L=M.prev;G&&(L=p(D,L,G),b+=G.length),w(D,L,k);var F=new c(re,h?f.tokenize(H,h):H,v,H);if(M=p(D,L,F),J&&p(D,M,J),k>1){var X={cause:re+","+Y,reach:fe};s(T,D,U,M.prev,b,X),te&&X.reach>te.reach&&(te.reach=X.reach)}}}}}}function y(){var T={value:null,prev:null,next:null},D={value:null,prev:T,next:null};T.next=D,this.head=T,this.tail=D,this.length=0}function p(T,D,U){var z=D.next,W={value:U,prev:D,next:z};return D.next=W,z.prev=W,T.length++,W}function w(T,D,U){for(var z=D.next,W=0;W/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.languages.markup.doctype.inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&/,"&"))}),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(l,t){var d={};d["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:i.languages[t]},d.cdata=/^$/i;var f={"included-cdata":{pattern://i,inside:d}};f["language-"+t]={pattern:/[\s\S]+/,inside:i.languages[t]};var c={};c[l]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return l}),"i"),lookbehind:!0,greedy:!0,inside:f},i.languages.insertBefore("markup","cdata",c)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{value:function(n,l){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[l,"language-"+l],inside:i.languages[l]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(n){var l=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+l.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+l.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+l.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+l.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:l,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var t=n.languages.markup;t&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(i),i.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),i.languages.js=i.languages.javascript,function(){if(typeof i>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n="Loading…",l=function(E,B){return"✖ Error "+E+" while fetching file: "+B},t="✖ Error: File does not exist or is empty",d={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},f="data-src-status",c="loading",u="loaded",s="failed",y="pre[data-src]:not(["+f+'="'+u+'"]):not(['+f+'="'+c+'"])';function p(E,B,R){var T=new XMLHttpRequest;T.open("GET",E,!0),T.onreadystatechange=function(){T.readyState==4&&(T.status<400&&T.responseText?B(T.responseText):T.status>=400?R(l(T.status,T.statusText)):R(t))},T.send(null)}function w(E){var B=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(E||"");if(B){var R=Number(B[1]),T=B[2],D=B[3];return T?D?[R,Number(D)]:[R,void 0]:[R,R]}}i.hooks.add("before-highlightall",function(E){E.selector+=", "+y}),i.hooks.add("before-sanity-check",function(E){var B=E.element;if(B.matches(y)){E.code="",B.setAttribute(f,c);var R=B.appendChild(document.createElement("CODE"));R.textContent=n;var T=B.getAttribute("data-src"),D=E.language;if(D==="none"){var U=(/\.(\w+)$/.exec(T)||[,"none"])[1];D=d[U]||U}i.util.setLanguage(R,D),i.util.setLanguage(B,D);var z=i.plugins.autoloader;z&&z.loadLanguages(D),p(T,function(W){B.setAttribute(f,u);var te=w(B.getAttribute("data-range"));if(te){var re=W.split(/\r\n?|\n/g),ie=te[0],Y=te[1]==null?re.length:te[1];ie<0&&(ie+=re.length),ie=Math.max(0,Math.min(ie-1,re.length)),Y<0&&(Y+=re.length),Y=Math.max(0,Math.min(Y,re.length)),W=re.slice(ie,Y).join(` +`),B.hasAttribute("data-start")||B.setAttribute("data-start",String(ie+1))}R.textContent=W,i.highlightElement(R)},function(W){B.setAttribute(f,s),R.textContent=W})}}),i.plugins.fileHighlight={highlight:function(B){for(var R=(B||document).querySelectorAll(y),T=0,D;D=R[T++];)i.highlightElement(D)}};var _=!1;i.fileHighlight=function(){_||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),_=!0),i.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Gv);const bl=ss,Mu="(if|else if|await|then|catch|each|html|debug)";Prism.languages.svelte=Prism.languages.extend("markup",{each:{pattern:new RegExp("{[#/]each(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{"language-javascript":[{pattern:/(as[\s\S]*)\([\s\S]*\)(?=\s*\})/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(as[\s]*)[\s\S]*(?=\s*)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(#each[\s]*)[\s\S]*(?=as)/,lookbehind:!0,inside:Prism.languages.javascript}],keyword:/[#/]each|as/,punctuation:/{|}/}},block:{pattern:new RegExp("{[#:/@]/s"+Mu+"(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{punctuation:/^{|}$/,keyword:[new RegExp("[#:/@]"+Mu+"( )*"),/as/,/then/],"language-javascript":{pattern:/[\s\S]*/,inside:Prism.languages.javascript}}},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?:"[^"]*"|'[^']*'|{[\s\S]+?}(?=[\s/>])))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,inside:Prism.languages.javascript},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],"language-javascript":{pattern:/{[\s\S]+}/,inside:Prism.languages.javascript}}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,lookbehind:!0,inside:Prism.languages.javascript}});Prism.languages.svelte.tag.inside["attr-value"].inside.entity=Prism.languages.svelte.entity;Prism.hooks.add("wrap",r=>{r.type==="entity"&&(r.attributes.title=r.content.replace(/&/,"&"))});Object.defineProperty(Prism.languages.svelte.tag,"addInlined",{value:function(e,i){const n={};n["language-"+i]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[i]},n.cdata=/^$/i;const l={"included-cdata":{pattern://i,inside:n}};l["language-"+i]={pattern:/[\s\S]+/,inside:Prism.languages[i]};const t={};t[e]={pattern:RegExp(/(<__[\s\S]*?>)(?:\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:l},Prism.languages.insertBefore("svelte","cdata",t)}});Prism.languages.svelte.tag.addInlined("style","css");Prism.languages.svelte.tag.addInlined("script","javascript");function Yv(r){let e,i;return{c(){e=new jl(!1),i=wi(),e.a=i},m(n,l){e.m(r[2],n,l),_t(n,i,l)},p(n,l){l&4&&e.p(n[2])},d(n){n&>(i),n&&e.d()}}}function Zv(r){let e;return{c(){e=Qt(r[2])},m(i,n){_t(i,e,n)},p(i,n){n&4&&nr(e,i[2])},d(i){i&>(e)}}}function Xv(r){let e,i,n,l,t,d,f;const c=r[6].default,u=Vu(c,r,r[5],null);function s(w,_){return w[0]==="none"?Zv:Yv}let y=s(r),p=y(r);return{c(){e=Re("code"),u&&u.c(),i=lt(),n=Re("pre"),l=Re("code"),p.c(),Ul(e,"display","none"),me(l,"class",t="language-"+r[0]),me(n,"class",d="language-"+r[0]),me(n,"command-line",""),me(n,"data-output","2-17")},m(w,_){_t(w,e,_),u&&u.m(e,null),r[7](e),_t(w,i,_),_t(w,n,_),ye(n,l),p.m(l,null),f=!0},p(w,[_]){u&&u.p&&(!f||_&32)&&Zu(u,c,w,w[5],f?Yu(c,w[5],_,null):Xu(w[5]),null),y===(y=s(w))&&p?p.p(w,_):(p.d(1),p=y(w),p&&(p.c(),p.m(l,null))),(!f||_&1&&t!==(t="language-"+w[0]))&&me(l,"class",t),(!f||_&1&&d!==(d="language-"+w[0]))&&me(n,"class",d)},i(w){f||(Ut(u,w),f=!0)},o(w){Ht(u,w),f=!1},d(w){w&>(e),u&&u.d(w),r[7](null),w&>(i),w&>(n),p.d()}}}const Su=bl;bl.highlightElement;const Jv={transform:r=>r};function Qv(r,e,i){let{$$slots:n={},$$scope:l}=e,{language:t="javascript"}=e,{source:d=""}=e,{transform:f=p=>p}=e,c,u;function s(){const p=Su.languages[t];let w=d||c.textContent;w=Jv.transform(w),w=f(w),i(2,u=t==="none"?w:Su.highlight(w,p,t))}function y(p){Dr[p?"unshift":"push"](()=>{c=p,i(1,c)})}return r.$$set=p=>{i(9,e=$i($i({},e),Hs(p))),"language"in p&&i(0,t=p.language),"source"in p&&i(3,d=p.source),"transform"in p&&i(4,f=p.transform),"$$scope"in p&&i(5,l=p.$$scope)},r.$$.update=()=>{e&&(d||c)&&s()},e=Hs(e),[t,c,u,d,f,l,n,y]}let e2=class extends dr{constructor(e){super(),lr(this,e,Qv,Xv,fr,{language:0,source:3,transform:4})}};function Au(r,e,i){const n=r.slice();return n[2]=e[i],n}function t2(r){let e,i=r[0].addresses,n=[];for(let l=0;lThese are the latest details for the selected identifier. You can use the provided + + tool to add or remove ALGO addresses associated with this + identifier.

`,n=lt(),l=Re("div"),t=Re("div"),t.innerHTML='

Local reference (name)

',d=lt(),f=Re("div"),c=Re("p"),s=Qt(u),y=lt(),p=Re("div"),w=Re("div"),w.innerHTML='

Last sync

',_=lt(),E=Re("div"),B=Re("p"),T=Qt(R),D=lt(),U=Re("div"),z=Re("div"),z.innerHTML='

Linked addresses

',W=lt(),te=Re("div"),re=Re("p"),k.c(),ie=lt(),Y=Re("div"),m=Re("div"),m.innerHTML='

Current status

',h=lt(),o=Re("div"),q.c(),a=lt(),v=Re("div"),x=Re("div"),Ar(S.$$.fragment),me(i,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5 first:sm:pt-0"),me(c,"class","block w-full text-base text-gray-600"),me(f,"class","sm:col-span-2"),me(l,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),me(B,"class","block w-full text-base text-gray-600"),me(E,"class","sm:col-span-2"),me(p,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),me(re,"class","block w-full text-base text-gray-600"),me(te,"class","sm:col-span-2"),me(U,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),me(o,"class","sm:col-span-2"),me(Y,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),me(x,"class","sm:col-span-3"),me(v,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),me(e,"class","space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0")},m($,N){_t($,e,N),ye(e,i),ye(e,n),ye(e,l),ye(l,t),ye(l,d),ye(l,f),ye(f,c),ye(c,s),ye(e,y),ye(e,p),ye(p,w),ye(p,_),ye(p,E),ye(E,B),ye(B,T),ye(e,D),ye(e,U),ye(U,z),ye(U,W),ye(U,te),ye(te,re),k.m(re,null),ye(e,ie),ye(e,Y),ye(Y,m),ye(Y,h),ye(Y,o),q.m(o,null),ye(e,a),ye(e,v),ye(v,x),yr(S,x,null),M=!0},p($,[N]){(!M||N&1)&&u!==(u=$[0].name+"")&&nr(s,u),(!M||N&1)&&R!==(R=Bu($[0].last_sync)+"")&&nr(T,R),g===(g=b($))&&k?k.p($,N):(k.d(1),k=g($),k&&(k.c(),k.m(re,null))),I!==(I=A($))&&(q.d(1),q=I($),q&&(q.c(),q.m(o,null)))},i($){M||(Ut(S.$$.fragment,$),M=!0)},o($){Ht(S.$$.fragment,$),M=!1},d($){$&>(e),k.d(),q.d(),mr(S)}}}function Bu(r){if(r==="")return"-";let e=new Date;return e.setTime(Date.parse(r)),e.toLocaleDateString(navigator.language,{day:"numeric",year:"numeric",hour:"numeric",month:"short",minute:"numeric",hour12:!0})}function Ru(r){return r.slice(0,14)+"..."+r.slice(-14)}function f2(r,e,i){let{identifier:n}=e,l=JSON.stringify(n.document,null,2);return r.$$set=t=>{"identifier"in t&&i(0,n=t.identifier)},[n,l]}class s2 extends dr{constructor(e){super(),lr(this,e,f2,a2,fr,{identifier:0})}}function Hr(r){const e=r-1;return e*e*e+1}function ku(r,{delay:e=0,duration:i=400,easing:n=Ku}={}){const l=+getComputedStyle(r).opacity;return{delay:e,duration:i,easing:n,css:t=>`opacity: ${t*l}`}}function o2(r,{delay:e=0,duration:i=400,easing:n=Hr,x:l=0,y:t=0,opacity:d=0}={}){const f=getComputedStyle(r),c=+f.opacity,u=f.transform==="none"?"":f.transform,s=c*(1-d),[y,p]=Ks(l),[w,_]=Ks(t);return{delay:e,duration:i,easing:n,css:(E,B)=>` + transform: ${u} translate(${(1-E)*y}${p}, ${(1-E)*w}${_}); + opacity: ${c-s*B}`}}function Cu(r,{delay:e=0,duration:i=400,easing:n=Hr,axis:l="y"}={}){const t=getComputedStyle(r),d=+t.opacity,f=l==="y"?"height":"width",c=parseFloat(t[f]),u=l==="y"?["top","bottom"]:["left","right"],s=u.map(R=>`${R[0].toUpperCase()}${R.slice(1)}`),y=parseFloat(t[`padding${s[0]}`]),p=parseFloat(t[`padding${s[1]}`]),w=parseFloat(t[`margin${s[0]}`]),_=parseFloat(t[`margin${s[1]}`]),E=parseFloat(t[`border${s[0]}Width`]),B=parseFloat(t[`border${s[1]}Width`]);return{delay:e,duration:i,easing:n,css:R=>`overflow: hidden;opacity: ${Math.min(R*20,1)*d};${f}: ${R*c}px;padding-${u[0]}: ${R*y}px;padding-${u[1]}: ${R*p}px;margin-${u[0]}: ${R*w}px;margin-${u[1]}: ${R*_}px;border-${u[0]}-width: ${R*E}px;border-${u[1]}-width: ${R*B}px;`}}function Iu(r){let e,i,n,l,t,d,f,c,u,s,y,p,w,_,E,B,R,T,D;return{c(){e=Re("div"),i=Re("div"),n=Re("div"),l=Re("p"),t=Qt(r[2]),d=lt(),f=Re("div"),c=Re("div"),u=Re("button"),s=Re("span"),s.textContent="Dismiss",y=lt(),p=Yf("svg"),w=Yf("path"),_=lt(),E=Re("div"),E.innerHTML=`

success styles

+

error styles

+

warning styles

`,me(l,"class","text-sm font-medium "+r[3]("text")),me(n,"class","ml-3"),me(s,"class","sr-only"),me(w,"d","M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"),me(p,"class","h-5 w-5"),me(p,"viewBox","0 0 20 20"),me(p,"fill","currentColor"),me(p,"aria-hidden","true"),me(u,"type","button"),me(u,"class","inline-fle p-1.5 focus:outline-none focus:ring-2 focus:ring-offset-2 "+r[3]("button")),me(c,"class","-mx-1.5 -my-1.5"),me(f,"class","ml-auto pl-3"),me(i,"class","flex"),me(E,"class","hidden"),me(e,"class","border-l-4 p-4 "+r[3]("border"))},m(U,z){_t(U,e,z),ye(e,i),ye(i,n),ye(n,l),ye(l,t),ye(i,d),ye(i,f),ye(f,c),ye(c,u),ye(u,s),ye(u,y),ye(u,p),ye(p,w),ye(e,_),ye(e,E),R=!0,T||(D=er(u,"click",ai(r[5])),T=!0)},p(U,z){r=U,(!R||z&4)&&nr(t,r[2])},i(U){R||(zr(()=>{R&&(B||(B=ei(e,Cu,{easing:Hr,duration:400},!0)),B.run(1))}),R=!0)},o(U){B||(B=ei(e,Cu,{easing:Hr,duration:400},!1)),B.run(0),R=!1},d(U){U&>(e),U&&B&&B.end(),T=!1,D()}}}function h2(r){let e,i,n=!r[1]&&Iu(r);return{c(){n&&n.c(),e=wi()},m(l,t){n&&n.m(l,t),_t(l,e,t),i=!0},p(l,[t]){l[1]?n&&(Kr(),Ht(n,1,1,()=>{n=null}),Wr()):n?(n.p(l,t),t&2&&Ut(n,1)):(n=Iu(l),n.c(),Ut(n,1),n.m(e.parentNode,e))},i(l){i||(Ut(n),i=!0)},o(l){Ht(n),i=!1},d(l){n&&n.d(l),l&>(e)}}}function u2(r,e,i){let n=!0,l,t="success";function d(y,p){t=y,i(2,l=p),i(1,n=!1)}function f(){i(1,n=!0)}function c(y){switch(y){case"border":return"border-COLOR-400 bg-COLOR-50".replaceAll("COLOR",u());case"text":return"text-COLOR-800".replaceAll("COLOR",u());case"button":return"bg-COLOR-50 text-COLOR-500 hover:bg-COLOR-100 focus:ring-COLOR-600 focus:ring-offset-COLOR-50".replaceAll("COLOR",u())}}function u(){switch(t){case"success":return"green";case"warning":return"yellow";case"error":return"red"}}return[f,n,l,c,d,()=>{f()}]}class gl extends dr{constructor(e){super(),lr(this,e,u2,h2,fr,{show:4,close:0})}get show(){return this.$$.ctx[4]}get close(){return this.$$.ctx[0]}}function c2(r){let e,i,n,l,t,d,f,c,u,s,y,p,w,_,E,B,R,T,D,U,z={};return t=new gl({props:z}),r[3](t),{c(){e=Re("div"),i=Re("form"),n=Re("div"),l=Re("div"),Ar(t.$$.fragment),d=lt(),f=Re("p"),f.innerHTML=`A decentralized identifier (or DID) is an asset designed to be owned by a controller + entity. A single identifier can be used on any number of services, and you can create + as many identifiers as you want.`,c=lt(),u=Re("div"),u.innerHTML=`

Name (local reference)

+
`,s=lt(),y=Re("div"),y.innerHTML=`

The recovery key used to create this identifier is not stored locally. If you lose + it ther's no other way to recover it. Please make sure you have a copy of it.

+

Recovery key

+
+

Key confirmation

+
`,p=lt(),w=Re("div"),_=Re("div"),E=Re("button"),E.textContent="Cancel",B=lt(),R=Re("button"),R.textContent="Create",me(l,"class","sm:col-span-3"),me(f,"class","sm:col-span-3"),me(n,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5 first:sm:pt-0"),me(u,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),me(y,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),me(E,"type","button"),me(E,"class","rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50"),me(R,"type","submit"),me(R,"class","inline-flex justify-center rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"),me(_,"class","flex justify-end space-x-3"),me(w,"class","flex-shrink-0 border-t border-gray-200 px-4 py-5 sm:px-6"),me(i,"class","flex h-full flex-col"),me(e,"class","space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0")},m(W,te){_t(W,e,te),ye(e,i),ye(i,n),ye(n,l),yr(t,l,null),ye(n,d),ye(n,f),ye(i,c),ye(i,u),ye(i,s),ye(i,y),ye(i,p),ye(i,w),ye(w,_),ye(_,E),ye(_,B),ye(_,R),T=!0,D||(U=[er(E,"click",r[4]),er(i,"submit",ai(r[2]))],D=!0)},p(W,[te]){const re={};t.$set(re)},i(W){T||(Ut(t.$$.fragment,W),T=!0)},o(W){Ht(t.$$.fragment,W),T=!1},d(W){W&>(e),r[3](null),mr(t),D=!1,Rr(U)}}}function l2(r){const e=document.getElementById(r);return e.value.length===0?(e.classList.add("text-red-900","ring-red-300"),!1):(e.classList.remove("text-red-900","ring-red-300"),!0)}function d2(r,e,i){let n;const l=pn();ls(()=>{document.getElementById("name").focus()});function t(u){u.preventDefault();const s=new FormData(u.target),y=Object.fromEntries(s.entries());for(const[p]of Object.entries(y))if(!l2(p)){n.show("error","Validate the provided values and try again.");return}if(y.recovery_key.length<8){n.show("error","The recovery key must be at least 8 characters long.");return}if(y.confirmation!==y.recovery_key){n.show("error","The confirmation key does not match the recovery key.");return}d(y.name,y.recovery_key)}async function d(u,s){let y=await Tr.createDID(u,s);l.closeModal(),y?l.showAlert("success","Identifier created successfully."):l.showAlert("error","Failed to create identifier.")}function f(u){Dr[u?"unshift":"push"](()=>{n=u,i(0,n)})}return[n,l,t,f,()=>{l.closeModal()}]}class p2 extends dr{constructor(e){super(),lr(this,e,d2,c2,fr,{})}}function Tu(r){let e,i;return{c(){e=Re("span"),i=Qt(r[0]),me(e,"class","sr-only")},m(n,l){_t(n,e,l),ye(e,i)},p(n,l){l&1&&nr(i,n[0])},d(n){n&>(e)}}}function v2(r){let e,i,n,l,t,d=r[0]&&Tu(r);return{c(){e=Re("button"),d&&d.c(),i=lt(),n=Re("span"),me(n,"aria-hidden","true"),me(n,"class","pointer-events-none inline-block h-5 w-5 translate-x-0 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"),me(e,"type","button"),me(e,"class","relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent bg-gray-200 transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-600 focus:ring-offset-2"),me(e,"role","switch"),me(e,"aria-checked","false")},m(f,c){_t(f,e,c),d&&d.m(e,null),ye(e,i),ye(e,n),r[6](n),r[7](e),l||(t=er(e,"click",ai(r[1])),l=!0)},p(f,[c]){f[0]?d?d.p(f,c):(d=Tu(f),d.c(),d.m(e,i)):d&&(d.d(1),d=null)},i:$t,o:$t,d(f){f&>(e),d&&d.d(),r[6](null),r[7](null),l=!1,t()}}}function b2(r,e,i){const n=fn();let{description:l=""}=e,{enabled:t=!1}=e;ls(()=>{s()});let d,f;function c(){i(4,t=!t),n("toggle",{enabled:t}),s()}function u(){return t}function s(){if(t){f.classList.add("bg-indigo-600"),f.classList.remove("bg-gray-200"),d.classList.add("translate-x-5");return}f.classList.add("bg-gray-200"),f.classList.remove("bg-indigo-600"),d.classList.remove("translate-x-5")}function y(w){Dr[w?"unshift":"push"](()=>{d=w,i(2,d)})}function p(w){Dr[w?"unshift":"push"](()=>{f=w,i(3,f)})}return r.$$set=w=>{"description"in w&&i(0,l=w.description),"enabled"in w&&i(4,t=w.enabled)},[l,c,d,f,t,u,y,p]}class g2 extends dr{constructor(e){super(),lr(this,e,b2,v2,fr,{description:0,enabled:4,toggle:1,isEnabled:5})}get toggle(){return this.$$.ctx[1]}get isEnabled(){return this.$$.ctx[5]}}function Pu(r,e,i){const n=r.slice();return n[9]=e[i],n}function y2(r){let e,i,n=r[0],l=[];for(let d=0;dHt(l[d],1,1,()=>{l[d]=null});return{c(){e=Re("div");for(let d=0;dAdjust the ALGO addresses associated with this identifier. You can add + as many as you want. The DID document associated will be automatically synced with the + network.

`,n=lt(),l=Re("div"),d.c(),f=lt(),c=Re("div"),u=Re("p"),u.textContent="Enter the recovery key used to create this identifier.",s=lt(),y=Re("div"),y.innerHTML='

Recovery key

',p=lt(),w=Re("div"),_=Re("input"),E=lt(),B=Re("div"),R=Re("div"),T=Re("button"),T.textContent="Cancel",D=lt(),U=Re("button"),U.textContent="Sync",me(i,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5 first:sm:pt-0"),me(l,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),me(u,"class","sm:col-span-3"),me(_,"type","password"),me(_,"name","recovery_key"),me(_,"id","recovery_key"),me(_,"class","block w-full rounded-md border-0 p-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"),me(w,"class","sm:col-span-2"),me(c,"class","space-y-2 px-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:space-y-0 sm:px-6 sm:py-5"),me(T,"type","button"),me(T,"class","rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50"),me(U,"type","submit"),me(U,"class","inline-flex justify-center rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"),me(R,"class","flex justify-end space-x-3"),me(B,"class","flex-shrink-0 border-t border-gray-200 px-4 py-5 sm:px-6"),me(e,"class","space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0")},m(m,h){_t(m,e,h),ye(e,i),ye(e,n),ye(e,l),ie[t].m(l,null),ye(e,f),ye(e,c),ye(c,u),ye(c,s),ye(c,y),ye(c,p),ye(c,w),ye(w,_),Vs(_,r[1]),ye(e,E),ye(e,B),ye(B,R),ye(R,T),ye(R,D),ye(R,U),z=!0,W||(te=[er(_,"input",r[7]),er(T,"click",r[8]),er(U,"click",ai(r[3]))],W=!0)},p(m,[h]){let o=t;t=Y(m),t===o?ie[t].p(m,h):(Kr(),Ht(ie[o],1,1,()=>{ie[o]=null}),Wr(),d=ie[t],d?d.p(m,h):(d=ie[t]=re[t](m),d.c()),Ut(d,1),d.m(l,null)),h&2&&_.value!==m[1]&&Vs(_,m[1])},i(m){z||(Ut(d),z=!0)},o(m){Ht(d),z=!1},d(m){m&>(e),ie[t].d(),W=!1,Rr(te)}}}function qu(r){return r.slice(0,16)+"..."+r.slice(-16)}function w2(r){r.enabled=!r.enabled}function _2(r,e,i){let n;hs(r,Tr,p=>i(5,n=p));let{identifier:l}=e,t;const d=pn();let f;async function c(){let p=await Tr.updateDID(l.name,l.did,f,t);d.closeModal(),p?d.showAlert("success","Identifier updated successfully."):d.showAlert("error","Failed to updated identifier.")}const u=p=>{w2(p)};function s(){t=this.value,i(1,t)}const y=()=>{d.closeModal()};return r.$$set=p=>{"identifier"in p&&i(4,l=p.identifier)},r.$$.update=()=>{r.$$.dirty&49&&(i(0,f=[]),l.addresses.forEach(p=>{i(0,f=[...f,{address:p.address,network:p.network,enabled:!0}])}),n.wallet.addresses.forEach(p=>{f.find(w=>w.address==p)||i(0,f=[...f,{address:p,network:"mainnet",enabled:!1}])}))},[f,t,d,c,l,n,u,s,y]}class M2 extends dr{constructor(e){super(),lr(this,e,_2,x2,fr,{identifier:4})}}function Du(r,e,i){const n=r.slice();return n[5]=e[i],n}function S2(r){let e,i,n,l,t,d,f,c,u,s,y=r[0],p=[];for(let _=0;_Ht(p[_],1,1,()=>{p[_]=null});return{c(){e=Re("div"),i=Re("table"),n=Re("thead"),n.innerHTML=`Reference + DID + Addresses + Last Sync + Status + Actions`,l=lt(),t=Re("tbody");for(let _=0;_ + Create new decentralized identifier`,me(t,"class","bg-white"),me(i,"class","min-w-full divide-y divide-gray-300"),me(f,"type","button"),me(f,"class","relative flex w-full flex-row justify-center border-2 bg-gray-700 py-2 text-gray-200 hover:bg-gray-800 hover:text-white"),me(e,"class","inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8")},m(_,E){_t(_,e,E),ye(e,i),ye(i,n),ye(i,l),ye(i,t);for(let B=0;B + Create your first decentralized identifier`,me(e,"type","button"),me(e,"class","relative block w-full rounded-lg border-2 border-dashed border-gray-300 p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2")},m(l,t){_t(l,e,t),i||(n=er(e,"click",r[1]),i=!0)},p:$t,i:$t,o:$t,d(l){l&>(e),i=!1,n()}}}function Lu(r){let e,i;return e=new Vv({props:{identifier:r[5]}}),e.$on("show_details",r[2]),e.$on("link_wallet",r[3]),{c(){Ar(e.$$.fragment)},m(n,l){yr(e,n,l),i=!0},p(n,l){const t={};l&1&&(t.identifier=n[5]),e.$set(t)},i(n){i||(Ut(e.$$.fragment,n),i=!0)},o(n){Ht(e.$$.fragment,n),i=!1},d(n){mr(e,n)}}}function E2(r){let e,i,n,l;const t=[A2,S2],d=[];function f(c,u){return c[0].length==0?0:1}return i=f(r),n=d[i]=t[i](r),{c(){e=Re("section"),n.c()},m(c,u){_t(c,e,u),d[i].m(e,null),l=!0},p(c,[u]){let s=i;i=f(c),i===s?d[i].p(c,u):(Kr(),Ht(d[s],1,1,()=>{d[s]=null}),Wr(),n=d[i],n?n.p(c,u):(n=d[i]=t[i](c),n.c()),Ut(n,1),n.m(e,null))},i(c){l||(Ut(n),l=!0)},o(c){Ht(n),l=!1},d(c){c&>(e),d[i].d()}}}function B2(r,e,i){const n=pn();let{identifiers:l}=e;function t(){n.showModal({title:"Create New Identifier",asPanel:!1,content:p2,props:{}})}function d(c){n.showModal({title:c.detail.did.did,subtitle:"Identifier Details",asPanel:!0,content:s2,props:{identifier:c.detail.did}})}function f(c){n.showModal({title:"Manage Link Addresses",subtitle:c.detail.did.did,asPanel:!1,content:M2,props:{identifier:c.detail.did}})}return r.$$set=c=>{"identifiers"in c&&i(0,l=c.identifiers)},[l,t,d,f]}class R2 extends dr{constructor(e){super(),lr(this,e,B2,E2,fr,{identifiers:0})}}function k2(r){const e=i=>{r.contains(i.target)||r.dispatchEvent(new CustomEvent("outclick"))};return document.addEventListener("click",e,!0),{destroy(){document.removeEventListener("click",e,!0)}}}function Nu(r){let e,i,n,l,t,d,f=Uu(r[1].title)+"",c,u,s,y,p,w,_,E,B,R,T=r[1].subtitle&&Fu(r);const D=r[9].default,U=Vu(D,r,r[8],null);return{c(){e=Re("div"),i=Re("div"),n=Re("div"),l=Re("div"),t=Re("div"),d=Re("h1"),c=Qt(f),u=lt(),T&&T.c(),s=lt(),y=Re("button"),y.innerHTML=`Close + `,p=lt(),U&&U.c(),me(d,"class","break-all text-lg font-semibold text-gray-900"),me(t,"class","flex-1"),me(y,"class","rounded-md text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2"),me(l,"class","flex items-center bg-gray-50 p-6 sm:rounded-md"),me(n,"class","space-y-4"),me(i,"class","overflow-y-scroll bg-white shadow-2xl "+r[4]("content")),me(e,"class","absolute bottom-0 left-0 right-0 top-0 z-10 flex flex-col bg-gray-700 bg-opacity-75 backdrop-blur-sm transition-all "+r[4]("wrapper"))},m(z,W){_t(z,e,W),ye(e,i),ye(i,n),ye(n,l),ye(l,t),ye(t,d),ye(d,c),ye(t,u),T&&T.m(t,null),ye(l,s),ye(l,y),ye(n,p),U&&U.m(n,null),E=!0,B||(R=[er(y,"click",r[0]),Ol(k2.call(null,i)),er(i,"outclick",r[0]),er(e,"introend",r[10]),er(e,"outroend",r[11])],B=!0)},p(z,W){r=z,(!E||W&2)&&f!==(f=Uu(r[1].title)+"")&&nr(c,f),r[1].subtitle?T?T.p(r,W):(T=Fu(r),T.c(),T.m(t,null)):T&&(T.d(1),T=null),U&&U.p&&(!E||W&256)&&Zu(U,D,r,r[8],E?Yu(D,r[8],W,null):Xu(r[8]),null)},i(z){E||(Ut(U,z),zr(()=>{E&&(w||(w=ei(i,r[3],{},!0)),w.run(1))}),zr(()=>{E&&(_||(_=ei(e,ku,{duration:300,easing:Hr},!0)),_.run(1))}),E=!0)},o(z){Ht(U,z),w||(w=ei(i,r[3],{},!1)),w.run(0),_||(_=ei(e,ku,{duration:300,easing:Hr},!1)),_.run(0),E=!1},d(z){z&>(e),T&&T.d(),U&&U.d(z),z&&w&&w.end(),z&&_&&_.end(),B=!1,Rr(R)}}}function Fu(r){let e,i=r[1].subtitle+"",n;return{c(){e=Re("span"),n=Qt(i),me(e,"class","text-sm text-gray-500")},m(l,t){_t(l,e,t),ye(e,n)},p(l,t){t&2&&i!==(i=l[1].subtitle+"")&&nr(n,i)},d(l){l&>(e)}}}function C2(r){let e,i,n,l,t=!r[1].hidden&&Nu(r);return{c(){t&&t.c(),e=wi()},m(d,f){t&&t.m(d,f),_t(d,e,f),i=!0,n||(l=er(window,"keydown",r[5]),n=!0)},p(d,[f]){d[1].hidden?t&&(Kr(),Ht(t,1,1,()=>{t=null}),Wr()):t?(t.p(d,f),f&2&&Ut(t,1)):(t=Nu(d),t.c(),Ut(t,1),t.m(e.parentNode,e))},i(d){i||(Ut(t),i=!0)},o(d){Ht(t),i=!1},d(d){t&&t.d(d),d&>(e),n=!1,l()}}}function Uu(r){return r.length<=24?r:r.slice(0,18)+"..."+r.slice(-18)}function I2(r,e,i){let{$$slots:n={},$$scope:l}=e,t={hidden:!0,asPanel:!1,title:"",subtitle:""};const d=fn();function f(){return!t.hidden}function c(E,B,R){i(1,t={title:E,subtitle:B,asPanel:R,hidden:!1})}function u(){i(1,t={...t,hidden:!0})}function s(E,B){return B={x:t.asPanel?100:0,y:t.asPanel?0:100,duration:400,easing:Hr},o2(E,B)}function y(E){return E=="wrapper"?t.asPanel?"items-end":"items-center justify-center":t.asPanel?"h-full w-3/4 md:w-1/2":"min-h-fit max-h-screen w-full sm:w-3/4 sm:rounded-md lg:w-1/2"}function p(E){!t.hidden&&E.key=="Escape"&&u()}const w=()=>{d("open")},_=()=>{d("close")};return r.$$set=E=>{"$$scope"in E&&i(8,l=E.$$scope)},[u,t,d,s,y,p,f,c,l,n,w,_]}class T2 extends dr{constructor(e){super(),lr(this,e,I2,C2,fr,{isVisible:6,show:7,close:0})}get isVisible(){return this.$$.ctx[6]}get show(){return this.$$.ctx[7]}get close(){return this.$$.ctx[0]}}function P2(r){let e,i,n;const l=[r[3]];var t=r[2];function d(f){let c={};for(let u=0;u{mr(s,1)}),Wr()}t?(e=Gs(t,d()),Ar(e.$$.fragment),Ut(e.$$.fragment,1),yr(e,i.parentNode,i)):e=null}else t&&e.$set(u)},i(f){n||(e&&Ut(e.$$.fragment,f),n=!0)},o(f){e&&Ht(e.$$.fragment,f),n=!1},d(f){f&>(i),e&&mr(e,f)}}}function O2(r){let e,i,n,l,t,d,f,c,u,s,y,p,w,_,E,B,R,T,D,U,z,W,te,re={$$slots:{default:[P2]},$$scope:{ctx:r}};e=new T2({props:re}),r[5](e),_=new zv({props:{mainnet:!0}});let ie={};return T=new gl({props:ie}),r[6](T),U=new R2({props:{identifiers:r[4].identifiers}}),{c(){Ar(e.$$.fragment),i=lt(),n=Re("div"),l=Re("img"),d=lt(),f=Re("div"),c=lt(),u=Re("div"),s=Re("div"),y=Re("div"),p=Re("h1"),p.textContent="AlgoID Connect",w=lt(),Ar(_.$$.fragment),E=lt(),B=Re("p"),B.innerHTML=`Use this graphical interface to manage your did:algo + Decentralized Identifiers. Connect your wallet and link your + ALGO addresses to a DID to enable account discovery + and facilitate payments and other interactions.`,R=lt(),Ar(T.$$.fragment),D=lt(),Ar(U.$$.fragment),z=lt(),W=Re("div"),W.innerHTML='

For more information, or to get the source code for this application, checkout the official repository.

',yi(l.src,t="/img/beams.jpg")||me(l,"src",t),me(l,"alt",""),me(l,"class","absolute left-1/2 top-1/2 max-w-none -translate-x-1/2 -translate-y-1/2"),me(l,"width","1308"),me(f,"class","absolute inset-0 bg-[url(/img/grid.svg)] bg-center [mask-image:linear-gradient(180deg,white,rgba(255,255,255,0))]"),me(p,"class","inline-block text-2xl text-gray-800"),me(y,"class","relative w-full"),me(s,"class","space-y-6 py-6 text-base leading-7 text-gray-600"),me(u,"class","relative bg-white px-6 pb-8 pt-10 shadow-xl ring-1 ring-gray-900/5 sm:mx-auto sm:px-10 md:w-3/4 md:rounded-md"),me(W,"class","relative mx-auto mt-6 w-1/2 text-center"),me(n,"class","relative flex flex-col justify-center bg-gray-50 py-6 sm:py-12")},m(Y,m){yr(e,Y,m),_t(Y,i,m),_t(Y,n,m),ye(n,l),ye(n,d),ye(n,f),ye(n,c),ye(n,u),ye(u,s),ye(s,y),ye(y,p),ye(y,w),yr(_,y,null),ye(s,E),ye(s,B),ye(s,R),yr(T,s,null),ye(s,D),yr(U,s,null),ye(n,z),ye(n,W),te=!0},p(Y,[m]){const h={};m&140&&(h.$$scope={dirty:m,ctx:Y}),e.$set(h);const o={};T.$set(o);const a={};m&16&&(a.identifiers=Y[4].identifiers),U.$set(a)},i(Y){te||(Ut(e.$$.fragment,Y),Ut(_.$$.fragment,Y),Ut(T.$$.fragment,Y),Ut(U.$$.fragment,Y),te=!0)},o(Y){Ht(e.$$.fragment,Y),Ht(_.$$.fragment,Y),Ht(T.$$.fragment,Y),Ht(U.$$.fragment,Y),te=!1},d(Y){r[5](null),mr(e,Y),Y&>(i),Y&>(n),mr(_),r[6](null),mr(T),mr(U)}}}function q2(r,e,i){let n;hs(r,Tr,s=>i(4,n=s));let l,t,d,f;Tr.reload(),Ov({showAlert(s,y){l.show(s,y)},showModal(s){i(2,d=s.content),i(3,f=s.props),t.show(s.title,s.subtitle,s.asPanel)},closeModal(){t.close()}});function c(s){Dr[s?"unshift":"push"](()=>{t=s,i(1,t)})}function u(s){Dr[s?"unshift":"push"](()=>{l=s,i(0,l)})}return[l,t,d,f,n,c,u]}class D2 extends dr{constructor(e){super(),lr(this,e,q2,O2,fr,{})}}new D2({target:document.getElementById("app")}); diff --git a/client/ui/local-app/dist/index.html b/client/ui/local-app/dist/index.html index 71e8ec1..34d3480 100644 --- a/client/ui/local-app/dist/index.html +++ b/client/ui/local-app/dist/index.html @@ -7,7 +7,7 @@ AlgoID Connect (beta) - + diff --git a/client/ui/local-app/package.json b/client/ui/local-app/package.json index 0da18c6..6ba98b2 100644 --- a/client/ui/local-app/package.json +++ b/client/ui/local-app/package.json @@ -14,6 +14,7 @@ "test:ui": "vitest --ui" }, "dependencies": { + "@algorandfoundation/liquid-client": "github:algorandfoundation/liquid-auth-js", "@walletconnect/client": "^1.8.0", "algorand-walletconnect-qrcode-modal": "^1.8.0" }, diff --git a/client/ui/local-app/pnpm-lock.yaml b/client/ui/local-app/pnpm-lock.yaml index dcf33ed..f23908c 100644 --- a/client/ui/local-app/pnpm-lock.yaml +++ b/client/ui/local-app/pnpm-lock.yaml @@ -1,442 +1,329 @@ -lockfileVersion: '6.0' +lockfileVersion: '9.0' settings: autoInstallPeers: true excludeLinksFromLockfile: false -dependencies: - '@walletconnect/client': - specifier: ^1.8.0 - version: 1.8.0 - algorand-walletconnect-qrcode-modal: - specifier: ^1.8.0 - version: 1.8.0 - -devDependencies: - '@sveltejs/vite-plugin-svelte': - specifier: ^2.0.4 - version: 2.0.4(svelte@3.58.0)(vite@4.2.3) - '@tsconfig/svelte': - specifier: ^4.0.1 - version: 4.0.1 - '@types/node': - specifier: ^18.15.11 - version: 18.15.11 - '@typescript-eslint/eslint-plugin': - specifier: ^5.57.1 - version: 5.57.1(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(typescript@5.0.4) - '@typescript-eslint/parser': - specifier: ^5.57.1 - version: 5.57.1(eslint@8.38.0)(typescript@5.0.4) - '@vitest/ui': - specifier: ^0.30.0 - version: 0.30.0 - '@walletconnect/types': - specifier: ^2.5.2 - version: 2.5.2(@types/node@18.15.11)(typescript@5.0.4) - autoprefixer: - specifier: ^10.4.14 - version: 10.4.14(postcss@8.4.31) - eslint: - specifier: ^8.38.0 - version: 8.38.0 - eslint-config-prettier: - specifier: ^8.8.0 - version: 8.8.0(eslint@8.38.0) - eslint-plugin-svelte3: - specifier: ^4.0.0 - version: 4.0.0(eslint@8.38.0)(svelte@3.58.0) - jsdom: - specifier: ^21.1.1 - version: 21.1.1 - postcss: - specifier: '>=8.4.31' - version: 8.4.31 - prettier: - specifier: ^2.8.7 - version: 2.8.7 - prettier-plugin-multiline-arrays: - specifier: ^1.1.3 - version: 1.1.3 - prettier-plugin-organize-imports: - specifier: ^3.2.2 - version: 3.2.2(prettier@2.8.7)(typescript@5.0.4) - prettier-plugin-svelte: - specifier: ^2.10.0 - version: 2.10.0(prettier@2.8.7)(svelte@3.58.0) - prettier-plugin-tailwindcss: - specifier: ^0.2.7 - version: 0.2.7(prettier-plugin-organize-imports@3.2.2)(prettier-plugin-svelte@2.10.0)(prettier@2.8.7) - prism-themes: - specifier: ^1.9.0 - version: 1.9.0 - svelte: - specifier: ^3.58.0 - version: 3.58.0 - svelte-check: - specifier: ^3.2.0 - version: 3.2.0(postcss@8.4.31)(svelte@3.58.0) - svelte-prism: - specifier: ^1.1.6 - version: 1.1.6 - tailwindcss: - specifier: ^3.3.1 - version: 3.3.1(postcss@8.4.31) - tough-cookie: - specifier: '>=4.1.3' - version: 4.1.3 - tslib: - specifier: ^2.5.0 - version: 2.5.0 - typescript: - specifier: ^5.0.4 - version: 5.0.4 - vite: - specifier: '>=4.2.3' - version: 4.2.3(@types/node@18.15.11) - vite-plugin-node-polyfills: - specifier: ^0.7.0 - version: 0.7.0(vite@4.2.3) - vitest: - specifier: ^0.30.0 - version: 0.30.0(@vitest/ui@0.30.0)(jsdom@21.1.1) - word-wrap: - specifier: '>=1.2.5' - version: 1.2.5 +importers: + + .: + dependencies: + '@algorandfoundation/liquid-client': + specifier: github:algorandfoundation/liquid-auth-js + version: https://codeload.github.com/algorandfoundation/liquid-auth-js/tar.gz/3b86b83b195fec36dc1335d4d5ae66434b2d8fb5 + '@walletconnect/client': + specifier: ^1.8.0 + version: 1.8.0 + algorand-walletconnect-qrcode-modal: + specifier: ^1.8.0 + version: 1.8.0 + devDependencies: + '@sveltejs/vite-plugin-svelte': + specifier: ^2.0.4 + version: 2.0.4(svelte@3.58.0)(vite@4.2.3(@types/node@18.15.11)) + '@tsconfig/svelte': + specifier: ^4.0.1 + version: 4.0.1 + '@types/node': + specifier: ^18.15.11 + version: 18.15.11 + '@typescript-eslint/eslint-plugin': + specifier: ^5.57.1 + version: 5.57.1(@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.0.4))(eslint@8.38.0)(typescript@5.0.4) + '@typescript-eslint/parser': + specifier: ^5.57.1 + version: 5.57.1(eslint@8.38.0)(typescript@5.0.4) + '@vitest/ui': + specifier: ^0.30.0 + version: 0.30.0 + '@walletconnect/types': + specifier: ^2.5.2 + version: 2.5.2(@types/node@18.15.11)(typescript@5.0.4) + autoprefixer: + specifier: ^10.4.14 + version: 10.4.14(postcss@8.4.31) + eslint: + specifier: ^8.38.0 + version: 8.38.0 + eslint-config-prettier: + specifier: ^8.8.0 + version: 8.8.0(eslint@8.38.0) + eslint-plugin-svelte3: + specifier: ^4.0.0 + version: 4.0.0(eslint@8.38.0)(svelte@3.58.0) + jsdom: + specifier: ^21.1.1 + version: 21.1.1(canvas@2.11.2) + postcss: + specifier: '>=8.4.31' + version: 8.4.31 + prettier: + specifier: ^2.8.7 + version: 2.8.7 + prettier-plugin-multiline-arrays: + specifier: ^1.1.3 + version: 1.1.3 + prettier-plugin-organize-imports: + specifier: ^3.2.2 + version: 3.2.2(prettier@2.8.7)(typescript@5.0.4) + prettier-plugin-svelte: + specifier: ^2.10.0 + version: 2.10.0(prettier@2.8.7)(svelte@3.58.0) + prettier-plugin-tailwindcss: + specifier: ^0.2.7 + version: 0.2.7(prettier-plugin-organize-imports@3.2.2(prettier@2.8.7)(typescript@5.0.4))(prettier-plugin-svelte@2.10.0(prettier@2.8.7)(svelte@3.58.0))(prettier@2.8.7) + prism-themes: + specifier: ^1.9.0 + version: 1.9.0 + svelte: + specifier: ^3.58.0 + version: 3.58.0 + svelte-check: + specifier: ^3.2.0 + version: 3.2.0(postcss-load-config@3.1.4(postcss@8.4.31)(ts-node@10.9.1(@types/node@18.15.11)(typescript@5.0.4)))(postcss@8.4.31)(svelte@3.58.0) + svelte-prism: + specifier: ^1.1.6 + version: 1.1.6 + tailwindcss: + specifier: ^3.3.1 + version: 3.3.1(postcss@8.4.31)(ts-node@10.9.1(@types/node@18.15.11)(typescript@5.0.4)) + tough-cookie: + specifier: '>=4.1.3' + version: 4.1.3 + tslib: + specifier: ^2.5.0 + version: 2.5.0 + typescript: + specifier: ^5.0.4 + version: 5.0.4 + vite: + specifier: '>=4.2.3' + version: 4.2.3(@types/node@18.15.11) + vite-plugin-node-polyfills: + specifier: ^0.7.0 + version: 0.7.0(rollup@3.20.0)(vite@4.2.3(@types/node@18.15.11)) + vitest: + specifier: ^0.30.0 + version: 0.30.0(@vitest/ui@0.30.0)(jsdom@21.1.1(canvas@2.11.2)) + word-wrap: + specifier: '>=1.2.5' + version: 1.2.5 packages: - /@augment-vir/common@8.1.0: + '@algorandfoundation/liquid-client@https://codeload.github.com/algorandfoundation/liquid-auth-js/tar.gz/3b86b83b195fec36dc1335d4d5ae66434b2d8fb5': + resolution: {tarball: https://codeload.github.com/algorandfoundation/liquid-auth-js/tar.gz/3b86b83b195fec36dc1335d4d5ae66434b2d8fb5} + version: 0.0.1 + + '@augment-vir/common@8.1.0': resolution: {integrity: sha512-mVE9upO/BIHdRIH/HoJAHDaHk57AxtQ3BvmI0B2o2xMvripDxuPf7jhxL793uyJtprLF2X6yE0BhG/rgLeHLbw==} - dependencies: - type-fest: 3.6.1 - dev: true - /@cspotcode/source-map-support@0.8.1: + '@cspotcode/source-map-support@0.8.1': resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} engines: {node: '>=12'} - dependencies: - '@jridgewell/trace-mapping': 0.3.9 - dev: true - /@esbuild/android-arm64@0.17.12: + '@esbuild/android-arm64@0.17.12': resolution: {integrity: sha512-WQ9p5oiXXYJ33F2EkE3r0FRDFVpEdcDiwNX3u7Xaibxfx6vQE0Sb8ytrfQsA5WO6kDn6mDfKLh6KrPBjvkk7xA==} engines: {node: '>=12'} cpu: [arm64] os: [android] - requiresBuild: true - dev: true - optional: true - /@esbuild/android-arm@0.17.12: + '@esbuild/android-arm@0.17.12': resolution: {integrity: sha512-E/sgkvwoIfj4aMAPL2e35VnUJspzVYl7+M1B2cqeubdBhADV4uPon0KCc8p2G+LqSJ6i8ocYPCqY3A4GGq0zkQ==} engines: {node: '>=12'} cpu: [arm] os: [android] - requiresBuild: true - dev: true - optional: true - /@esbuild/android-x64@0.17.12: + '@esbuild/android-x64@0.17.12': resolution: {integrity: sha512-m4OsaCr5gT+se25rFPHKQXARMyAehHTQAz4XX1Vk3d27VtqiX0ALMBPoXZsGaB6JYryCLfgGwUslMqTfqeLU0w==} engines: {node: '>=12'} cpu: [x64] os: [android] - requiresBuild: true - dev: true - optional: true - /@esbuild/darwin-arm64@0.17.12: + '@esbuild/darwin-arm64@0.17.12': resolution: {integrity: sha512-O3GCZghRIx+RAN0NDPhyyhRgwa19MoKlzGonIb5hgTj78krqp9XZbYCvFr9N1eUxg0ZQEpiiZ4QvsOQwBpP+lg==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] - requiresBuild: true - dev: true - optional: true - /@esbuild/darwin-x64@0.17.12: + '@esbuild/darwin-x64@0.17.12': resolution: {integrity: sha512-5D48jM3tW27h1qjaD9UNRuN+4v0zvksqZSPZqeSWggfMlsVdAhH3pwSfQIFJwcs9QJ9BRibPS4ViZgs3d2wsCA==} engines: {node: '>=12'} cpu: [x64] os: [darwin] - requiresBuild: true - dev: true - optional: true - /@esbuild/freebsd-arm64@0.17.12: + '@esbuild/freebsd-arm64@0.17.12': resolution: {integrity: sha512-OWvHzmLNTdF1erSvrfoEBGlN94IE6vCEaGEkEH29uo/VoONqPnoDFfShi41Ew+yKimx4vrmmAJEGNoyyP+OgOQ==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] - requiresBuild: true - dev: true - optional: true - /@esbuild/freebsd-x64@0.17.12: + '@esbuild/freebsd-x64@0.17.12': resolution: {integrity: sha512-A0Xg5CZv8MU9xh4a+7NUpi5VHBKh1RaGJKqjxe4KG87X+mTjDE6ZvlJqpWoeJxgfXHT7IMP9tDFu7IZ03OtJAw==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-arm64@0.17.12: + '@esbuild/linux-arm64@0.17.12': resolution: {integrity: sha512-cK3AjkEc+8v8YG02hYLQIQlOznW+v9N+OI9BAFuyqkfQFR+DnDLhEM5N8QRxAUz99cJTo1rLNXqRrvY15gbQUg==} engines: {node: '>=12'} cpu: [arm64] os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-arm@0.17.12: + '@esbuild/linux-arm@0.17.12': resolution: {integrity: sha512-WsHyJ7b7vzHdJ1fv67Yf++2dz3D726oO3QCu8iNYik4fb5YuuReOI9OtA+n7Mk0xyQivNTPbl181s+5oZ38gyA==} engines: {node: '>=12'} cpu: [arm] os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-ia32@0.17.12: + '@esbuild/linux-ia32@0.17.12': resolution: {integrity: sha512-jdOBXJqcgHlah/nYHnj3Hrnl9l63RjtQ4vn9+bohjQPI2QafASB5MtHAoEv0JQHVb/xYQTFOeuHnNYE1zF7tYw==} engines: {node: '>=12'} cpu: [ia32] os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-loong64@0.17.12: + '@esbuild/linux-loong64@0.17.12': resolution: {integrity: sha512-GTOEtj8h9qPKXCyiBBnHconSCV9LwFyx/gv3Phw0pa25qPYjVuuGZ4Dk14bGCfGX3qKF0+ceeQvwmtI+aYBbVA==} engines: {node: '>=12'} cpu: [loong64] os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-mips64el@0.17.12: + '@esbuild/linux-mips64el@0.17.12': resolution: {integrity: sha512-o8CIhfBwKcxmEENOH9RwmUejs5jFiNoDw7YgS0EJTF6kgPgcqLFjgoc5kDey5cMHRVCIWc6kK2ShUePOcc7RbA==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-ppc64@0.17.12: + '@esbuild/linux-ppc64@0.17.12': resolution: {integrity: sha512-biMLH6NR/GR4z+ap0oJYb877LdBpGac8KfZoEnDiBKd7MD/xt8eaw1SFfYRUeMVx519kVkAOL2GExdFmYnZx3A==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-riscv64@0.17.12: + '@esbuild/linux-riscv64@0.17.12': resolution: {integrity: sha512-jkphYUiO38wZGeWlfIBMB72auOllNA2sLfiZPGDtOBb1ELN8lmqBrlMiucgL8awBw1zBXN69PmZM6g4yTX84TA==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-s390x@0.17.12: + '@esbuild/linux-s390x@0.17.12': resolution: {integrity: sha512-j3ucLdeY9HBcvODhCY4b+Ds3hWGO8t+SAidtmWu/ukfLLG/oYDMaA+dnugTVAg5fnUOGNbIYL9TOjhWgQB8W5g==} engines: {node: '>=12'} cpu: [s390x] os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-x64@0.17.12: + '@esbuild/linux-x64@0.17.12': resolution: {integrity: sha512-uo5JL3cgaEGotaqSaJdRfFNSCUJOIliKLnDGWaVCgIKkHxwhYMm95pfMbWZ9l7GeW9kDg0tSxcy9NYdEtjwwmA==} engines: {node: '>=12'} cpu: [x64] os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/netbsd-x64@0.17.12: + '@esbuild/netbsd-x64@0.17.12': resolution: {integrity: sha512-DNdoRg8JX+gGsbqt2gPgkgb00mqOgOO27KnrWZtdABl6yWTST30aibGJ6geBq3WM2TIeW6COs5AScnC7GwtGPg==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] - requiresBuild: true - dev: true - optional: true - /@esbuild/openbsd-x64@0.17.12: + '@esbuild/openbsd-x64@0.17.12': resolution: {integrity: sha512-aVsENlr7B64w8I1lhHShND5o8cW6sB9n9MUtLumFlPhG3elhNWtE7M1TFpj3m7lT3sKQUMkGFjTQBrvDDO1YWA==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] - requiresBuild: true - dev: true - optional: true - /@esbuild/sunos-x64@0.17.12: + '@esbuild/sunos-x64@0.17.12': resolution: {integrity: sha512-qbHGVQdKSwi0JQJuZznS4SyY27tYXYF0mrgthbxXrZI3AHKuRvU+Eqbg/F0rmLDpW/jkIZBlCO1XfHUBMNJ1pg==} engines: {node: '>=12'} cpu: [x64] os: [sunos] - requiresBuild: true - dev: true - optional: true - /@esbuild/win32-arm64@0.17.12: + '@esbuild/win32-arm64@0.17.12': resolution: {integrity: sha512-zsCp8Ql+96xXTVTmm6ffvoTSZSV2B/LzzkUXAY33F/76EajNw1m+jZ9zPfNJlJ3Rh4EzOszNDHsmG/fZOhtqDg==} engines: {node: '>=12'} cpu: [arm64] os: [win32] - requiresBuild: true - dev: true - optional: true - /@esbuild/win32-ia32@0.17.12: + '@esbuild/win32-ia32@0.17.12': resolution: {integrity: sha512-FfrFjR4id7wcFYOdqbDfDET3tjxCozUgbqdkOABsSFzoZGFC92UK7mg4JKRc/B3NNEf1s2WHxJ7VfTdVDPN3ng==} engines: {node: '>=12'} cpu: [ia32] os: [win32] - requiresBuild: true - dev: true - optional: true - /@esbuild/win32-x64@0.17.12: + '@esbuild/win32-x64@0.17.12': resolution: {integrity: sha512-JOOxw49BVZx2/5tW3FqkdjSD/5gXYeVGPDcB0lvap0gLQshkh1Nyel1QazC+wNxus3xPlsYAgqU1BUmrmCvWtw==} engines: {node: '>=12'} cpu: [x64] os: [win32] - requiresBuild: true - dev: true - optional: true - /@eslint-community/eslint-utils@4.3.0(eslint@8.38.0): + '@eslint-community/eslint-utils@4.3.0': resolution: {integrity: sha512-v3oplH6FYCULtFuCeqyuTd9D2WKO937Dxdq+GmHOLL72TTRriLxz2VLlNfkZRsvj6PKnOPAtuT6dwrs/pA5DvA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - dependencies: - eslint: 8.38.0 - eslint-visitor-keys: 3.4.0 - dev: true - /@eslint-community/regexpp@4.4.0: + '@eslint-community/regexpp@4.4.0': resolution: {integrity: sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - dev: true - /@eslint/eslintrc@2.0.2: + '@eslint/eslintrc@2.0.2': resolution: {integrity: sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - ajv: 6.12.6 - debug: 4.3.4(supports-color@8.1.1) - espree: 9.5.1 - globals: 13.20.0 - ignore: 5.2.4 - import-fresh: 3.3.0 - js-yaml: 4.1.0 - minimatch: 3.1.2 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - dev: true - /@eslint/js@8.38.0: + '@eslint/js@8.38.0': resolution: {integrity: sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - /@humanwhocodes/config-array@0.11.8: + '@humanwhocodes/config-array@0.11.8': resolution: {integrity: sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==} engines: {node: '>=10.10.0'} - dependencies: - '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.4(supports-color@8.1.1) - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color - dev: true - /@humanwhocodes/module-importer@1.0.1: + '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} engines: {node: '>=12.22'} - dev: true - /@humanwhocodes/object-schema@1.2.1: + '@humanwhocodes/object-schema@1.2.1': resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} - dev: true - /@jridgewell/gen-mapping@0.3.3: + '@jridgewell/gen-mapping@0.3.3': resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} engines: {node: '>=6.0.0'} - dependencies: - '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.14 - '@jridgewell/trace-mapping': 0.3.17 - dev: true - /@jridgewell/resolve-uri@3.1.0: + '@jridgewell/resolve-uri@3.1.0': resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==} engines: {node: '>=6.0.0'} - dev: true - /@jridgewell/set-array@1.1.2: + '@jridgewell/set-array@1.1.2': resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} engines: {node: '>=6.0.0'} - dev: true - /@jridgewell/sourcemap-codec@1.4.14: + '@jridgewell/sourcemap-codec@1.4.14': resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} - dev: true - /@jridgewell/trace-mapping@0.3.17: + '@jridgewell/trace-mapping@0.3.17': resolution: {integrity: sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==} - dependencies: - '@jridgewell/resolve-uri': 3.1.0 - '@jridgewell/sourcemap-codec': 1.4.14 - dev: true - /@jridgewell/trace-mapping@0.3.9: + '@jridgewell/trace-mapping@0.3.9': resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} - dependencies: - '@jridgewell/resolve-uri': 3.1.0 - '@jridgewell/sourcemap-codec': 1.4.14 - dev: true - /@nodelib/fs.scandir@2.1.5: + '@mapbox/node-pre-gyp@1.0.11': + resolution: {integrity: sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==} + hasBin: true + + '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} - dependencies: - '@nodelib/fs.stat': 2.0.5 - run-parallel: 1.2.0 - dev: true - /@nodelib/fs.stat@2.0.5: + '@nodelib/fs.stat@2.0.5': resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} engines: {node: '>= 8'} - dev: true - /@nodelib/fs.walk@1.2.8: + '@nodelib/fs.walk@1.2.8': resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - dependencies: - '@nodelib/fs.scandir': 2.1.5 - fastq: 1.15.0 - dev: true - /@polka/url@1.0.0-next.21: + '@polka/url@1.0.0-next.21': resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==} - dev: true - /@rollup/plugin-inject@5.0.3: + '@rollup/plugin-inject@5.0.3': resolution: {integrity: sha512-411QlbL+z2yXpRWFXSmw/teQRMkXcAAC8aYTemc15gwJRpvEVDQwoe+N/HTFD8RFG8+88Bme9DK2V9CVm7hJdA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -444,13 +331,8 @@ packages: peerDependenciesMeta: rollup: optional: true - dependencies: - '@rollup/pluginutils': 5.0.2 - estree-walker: 2.0.2 - magic-string: 0.27.0 - dev: true - /@rollup/pluginutils@5.0.2: + '@rollup/pluginutils@5.0.2': resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -458,87 +340,58 @@ packages: peerDependenciesMeta: rollup: optional: true - dependencies: - '@types/estree': 1.0.0 - estree-walker: 2.0.2 - picomatch: 2.3.1 - dev: true - /@sveltejs/vite-plugin-svelte@2.0.4(svelte@3.58.0)(vite@4.2.3): + '@socket.io/component-emitter@3.1.2': + resolution: {integrity: sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==} + + '@sveltejs/vite-plugin-svelte@2.0.4': resolution: {integrity: sha512-pjqhW00KwK2uzDGEr+yJBwut+D+4XfJO/+bHHdHzPRXn9+1Jeq5JcFHyrUiYaXgHtyhX0RsllCTm4ssAx4ZY7Q==} engines: {node: ^14.18.0 || >= 16} peerDependencies: svelte: ^3.54.0 vite: ^4.0.0 - dependencies: - debug: 4.3.4(supports-color@8.1.1) - deepmerge: 4.3.1 - kleur: 4.1.5 - magic-string: 0.30.0 - svelte: 3.58.0 - svelte-hmr: 0.15.1(svelte@3.58.0) - vite: 4.2.3(@types/node@18.15.11) - vitefu: 0.2.4(vite@4.2.3) - transitivePeerDependencies: - - supports-color - dev: true - /@tootallnate/once@2.0.0: + '@tootallnate/once@2.0.0': resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} engines: {node: '>= 10'} - dev: true - /@tsconfig/node10@1.0.9: + '@tsconfig/node10@1.0.9': resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==} - dev: true - /@tsconfig/node12@1.0.11: + '@tsconfig/node12@1.0.11': resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} - dev: true - /@tsconfig/node14@1.0.3: + '@tsconfig/node14@1.0.3': resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} - dev: true - /@tsconfig/node16@1.0.3: + '@tsconfig/node16@1.0.3': resolution: {integrity: sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==} - dev: true - /@tsconfig/svelte@4.0.1: + '@tsconfig/svelte@4.0.1': resolution: {integrity: sha512-B+XlGpmuAQzJqDoBATNCvEPqQg0HkO7S8pM14QDI5NsmtymzRexQ1N+nX2H6RTtFbuFgaZD4I8AAi8voGg0GLg==} - dev: true - /@types/chai-subset@1.3.3: + '@types/chai-subset@1.3.3': resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} - dependencies: - '@types/chai': 4.3.4 - dev: true - /@types/chai@4.3.4: + '@types/chai@4.3.4': resolution: {integrity: sha512-KnRanxnpfpjUTqTCXslZSEdLfXExwgNxYPdiO2WGUj8+HDjFi8R3k5RVKPeSCzLjCcshCAtVO2QBbVuAV4kTnw==} - dev: true - /@types/estree@1.0.0: + '@types/estree@1.0.0': resolution: {integrity: sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==} - dev: true - /@types/json-schema@7.0.11: + '@types/json-schema@7.0.11': resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} - dev: true - /@types/node@18.15.11: + '@types/node@18.15.11': resolution: {integrity: sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q==} - dev: true - /@types/pug@2.0.6: + '@types/pug@2.0.6': resolution: {integrity: sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==} - dev: true - /@types/semver@7.3.13: + '@types/semver@7.3.13': resolution: {integrity: sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==} - dev: true - /@typescript-eslint/eslint-plugin@5.57.1(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(typescript@5.0.4): + '@typescript-eslint/eslint-plugin@5.57.1': resolution: {integrity: sha512-1MeobQkQ9tztuleT3v72XmY0XuKXVXusAhryoLuU5YZ+mXoYKZP9SQ7Flulh1NX4DTjpGTc2b/eMu4u7M7dhnQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -548,25 +401,8 @@ packages: peerDependenciesMeta: typescript: optional: true - dependencies: - '@eslint-community/regexpp': 4.4.0 - '@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.0.4) - '@typescript-eslint/scope-manager': 5.57.1 - '@typescript-eslint/type-utils': 5.57.1(eslint@8.38.0)(typescript@5.0.4) - '@typescript-eslint/utils': 5.57.1(eslint@8.38.0)(typescript@5.0.4) - debug: 4.3.4(supports-color@8.1.1) - eslint: 8.38.0 - grapheme-splitter: 1.0.4 - ignore: 5.2.4 - natural-compare-lite: 1.4.0 - semver: 7.3.8 - tsutils: 3.21.0(typescript@5.0.4) - typescript: 5.0.4 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.0.4): + '@typescript-eslint/parser@5.57.1': resolution: {integrity: sha512-hlA0BLeVSA/wBPKdPGxoVr9Pp6GutGoY380FEhbVi0Ph4WNe8kLvqIRx76RSQt1lynZKfrXKs0/XeEk4zZycuA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -575,26 +411,12 @@ packages: peerDependenciesMeta: typescript: optional: true - dependencies: - '@typescript-eslint/scope-manager': 5.57.1 - '@typescript-eslint/types': 5.57.1 - '@typescript-eslint/typescript-estree': 5.57.1(typescript@5.0.4) - debug: 4.3.4(supports-color@8.1.1) - eslint: 8.38.0 - typescript: 5.0.4 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/scope-manager@5.57.1: + '@typescript-eslint/scope-manager@5.57.1': resolution: {integrity: sha512-N/RrBwEUKMIYxSKl0oDK5sFVHd6VI7p9K5MyUlVYAY6dyNb/wHUqndkTd3XhpGlXgnQsBkRZuu4f9kAHghvgPw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.57.1 - '@typescript-eslint/visitor-keys': 5.57.1 - dev: true - /@typescript-eslint/type-utils@5.57.1(eslint@8.38.0)(typescript@5.0.4): + '@typescript-eslint/type-utils@5.57.1': resolution: {integrity: sha512-/RIPQyx60Pt6ga86hKXesXkJ2WOS4UemFrmmq/7eOyiYjYv/MUSHPlkhU6k9T9W1ytnTJueqASW+wOmW4KrViw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -603,23 +425,12 @@ packages: peerDependenciesMeta: typescript: optional: true - dependencies: - '@typescript-eslint/typescript-estree': 5.57.1(typescript@5.0.4) - '@typescript-eslint/utils': 5.57.1(eslint@8.38.0)(typescript@5.0.4) - debug: 4.3.4(supports-color@8.1.1) - eslint: 8.38.0 - tsutils: 3.21.0(typescript@5.0.4) - typescript: 5.0.4 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/types@5.57.1: + '@typescript-eslint/types@5.57.1': resolution: {integrity: sha512-bSs4LOgyV3bJ08F5RDqO2KXqg3WAdwHCu06zOqcQ6vqbTJizyBhuh1o1ImC69X4bV2g1OJxbH71PJqiO7Y1RuA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - /@typescript-eslint/typescript-estree@5.57.1(typescript@5.0.4): + '@typescript-eslint/typescript-estree@5.57.1': resolution: {integrity: sha512-A2MZqD8gNT0qHKbk2wRspg7cHbCDCk2tcqt6ScCFLr5Ru8cn+TCfM786DjPhqwseiS+PrYwcXht5ztpEQ6TFTw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -627,203 +438,70 @@ packages: peerDependenciesMeta: typescript: optional: true - dependencies: - '@typescript-eslint/types': 5.57.1 - '@typescript-eslint/visitor-keys': 5.57.1 - debug: 4.3.4(supports-color@8.1.1) - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.3.8 - tsutils: 3.21.0(typescript@5.0.4) - typescript: 5.0.4 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/utils@5.57.1(eslint@8.38.0)(typescript@5.0.4): + '@typescript-eslint/utils@5.57.1': resolution: {integrity: sha512-kN6vzzf9NkEtawECqze6v99LtmDiUJCVpvieTFA1uL7/jDghiJGubGZ5csicYHU1Xoqb3oH/R5cN5df6W41Nfg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - '@eslint-community/eslint-utils': 4.3.0(eslint@8.38.0) - '@types/json-schema': 7.0.11 - '@types/semver': 7.3.13 - '@typescript-eslint/scope-manager': 5.57.1 - '@typescript-eslint/types': 5.57.1 - '@typescript-eslint/typescript-estree': 5.57.1(typescript@5.0.4) - eslint: 8.38.0 - eslint-scope: 5.1.1 - semver: 7.3.8 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - /@typescript-eslint/visitor-keys@5.57.1: + '@typescript-eslint/visitor-keys@5.57.1': resolution: {integrity: sha512-RjQrAniDU0CEk5r7iphkm731zKlFiUjvcBS2yHAg8WWqFMCaCrD0rKEVOMUyMMcbGPZ0bPp56srkGWrgfZqLRA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.57.1 - eslint-visitor-keys: 3.4.0 - dev: true - /@vitest/expect@0.30.0: + '@vitest/expect@0.30.0': resolution: {integrity: sha512-b/jLWBqi6WQHfezWm8VjgXdIyfejAurtxqdyCdDqoToCim5W/nDxKjFAADitEHPz80oz+IP+c+wmkGKBucSpiw==} - dependencies: - '@vitest/spy': 0.30.0 - '@vitest/utils': 0.30.0 - chai: 4.3.7 - dev: true - /@vitest/runner@0.30.0: + '@vitest/runner@0.30.0': resolution: {integrity: sha512-Xh4xkdRcymdeRNrSwjhgarCTSgnQu2J59wsFI6i4UhKrL5whzo5+vWyq7iWK1ht3fppPeNAtvkbqUDf+OJSCbQ==} - dependencies: - '@vitest/utils': 0.30.0 - concordance: 5.0.4 - p-limit: 4.0.0 - pathe: 1.1.0 - dev: true - /@vitest/snapshot@0.30.0: + '@vitest/snapshot@0.30.0': resolution: {integrity: sha512-e4eSGCy36Bw3/Tkir9qYJDlFsUz3NALFPNJSxzlY8CFl901TV9iZdKgpqXpyG1sAhLO0tPHThBAMHRi8hRA8cg==} - dependencies: - magic-string: 0.30.0 - pathe: 1.1.0 - pretty-format: 27.5.1 - dev: true - /@vitest/spy@0.30.0: + '@vitest/spy@0.30.0': resolution: {integrity: sha512-olTWyG5gVWdfhCrdgxWQb2K3JYtj1/ZwInFFOb4GZ2HFI91PUWHWHhLRPORxwRwVvoXD1MS1162vPJZuHlKJkg==} - dependencies: - tinyspy: 2.1.0 - dev: true - /@vitest/ui@0.30.0: + '@vitest/ui@0.30.0': resolution: {integrity: sha512-kzapVRHVXsXcIbi3GR5DVQ+1y0BPcwUmyTqodCckr6l0eyhCL3ecGigR9PH255yFx27vFcwrtl07zfrUWzPOpg==} - dependencies: - '@vitest/utils': 0.30.0 - fast-glob: 3.2.12 - fflate: 0.7.4 - flatted: 3.2.7 - pathe: 1.1.0 - picocolors: 1.0.0 - sirv: 2.0.2 - dev: true - /@vitest/utils@0.30.0: + '@vitest/utils@0.30.0': resolution: {integrity: sha512-qFZgoOKQ+rJV9xG4BBxgOSilnLQ2gkfG4I+z1wBuuQ3AD33zQrnB88kMFfzsot1E1AbF3dNK1e4CU7q3ojahRA==} - dependencies: - concordance: 5.0.4 - loupe: 2.3.6 - pretty-format: 27.5.1 - dev: true - /@walletconnect/browser-utils@1.8.0: + '@walletconnect/browser-utils@1.8.0': resolution: {integrity: sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A==} - dependencies: - '@walletconnect/safe-json': 1.0.0 - '@walletconnect/types': 1.8.0 - '@walletconnect/window-getters': 1.0.0 - '@walletconnect/window-metadata': 1.0.0 - detect-browser: 5.2.0 - dev: false - /@walletconnect/client@1.8.0: + '@walletconnect/client@1.8.0': resolution: {integrity: sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ==} deprecated: 'WalletConnect''s v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/' - dependencies: - '@walletconnect/core': 1.8.0 - '@walletconnect/iso-crypto': 1.8.0 - '@walletconnect/types': 1.8.0 - '@walletconnect/utils': 1.8.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - dev: false - /@walletconnect/core@1.8.0: + '@walletconnect/core@1.8.0': resolution: {integrity: sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw==} - dependencies: - '@walletconnect/socket-transport': 1.8.0 - '@walletconnect/types': 1.8.0 - '@walletconnect/utils': 1.8.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - dev: false - /@walletconnect/crypto@1.0.3: + '@walletconnect/crypto@1.0.3': resolution: {integrity: sha512-+2jdORD7XQs76I2Odgr3wwrtyuLUXD/kprNVsjWRhhhdO9Mt6WqVzOPu0/t7OHSmgal8k7SoBQzUc5hu/8zL/g==} - dependencies: - '@walletconnect/encoding': 1.0.2 - '@walletconnect/environment': 1.0.1 - '@walletconnect/randombytes': 1.0.3 - aes-js: 3.1.2 - hash.js: 1.1.7 - tslib: 1.14.1 - dev: false - /@walletconnect/encoding@1.0.2: + '@walletconnect/encoding@1.0.2': resolution: {integrity: sha512-CrwSBrjqJ7rpGQcTL3kU+Ief+Bcuu9PH6JLOb+wM6NITX1GTxR/MfNwnQfhLKK6xpRAyj2/nM04OOH6wS8Imag==} - dependencies: - is-typedarray: 1.0.0 - tslib: 1.14.1 - typedarray-to-buffer: 3.1.5 - dev: false - /@walletconnect/environment@1.0.1: + '@walletconnect/environment@1.0.1': resolution: {integrity: sha512-T426LLZtHj8e8rYnKfzsw1aG6+M0BT1ZxayMdv/p8yM0MU+eJDISqNY3/bccxRr4LrF9csq02Rhqt08Ibl0VRg==} - dependencies: - tslib: 1.14.1 - dev: false - /@walletconnect/events@1.0.1: + '@walletconnect/events@1.0.1': resolution: {integrity: sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ==} - dependencies: - keyvaluestorage-interface: 1.0.0 - tslib: 1.14.1 - dev: true - /@walletconnect/heartbeat@1.2.0(@types/node@18.15.11)(typescript@5.0.4): + '@walletconnect/heartbeat@1.2.0': resolution: {integrity: sha512-0vbzTa/ARrpmMmOD+bQMxPvFYKtOLQZObgZakrYr0aODiMOO71CmPVNV2eAqXnw9rMmcP+z91OybLeIFlwTjjA==} - dependencies: - '@walletconnect/events': 1.0.1 - '@walletconnect/time': 1.0.2 - chai: 4.3.7 - mocha: 10.2.0 - ts-node: 10.9.1(@types/node@18.15.11)(typescript@5.0.4) - tslib: 1.14.1 - transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - - '@types/node' - - typescript - dev: true - /@walletconnect/iso-crypto@1.8.0: + '@walletconnect/iso-crypto@1.8.0': resolution: {integrity: sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ==} - dependencies: - '@walletconnect/crypto': 1.0.3 - '@walletconnect/types': 1.8.0 - '@walletconnect/utils': 1.8.0 - dev: false - /@walletconnect/jsonrpc-types@1.0.2: + '@walletconnect/jsonrpc-types@1.0.2': resolution: {integrity: sha512-CZe8tjJX73OWdHjrBHy7HtAapJ2tT0Q3TYhPBhRxi3643lwPIQWC9En45ldY14TZwgSewkbZ0FtGBZK0G7Bbyg==} - dependencies: - keyvaluestorage-interface: 1.0.0 - tslib: 1.14.1 - /@walletconnect/jsonrpc-utils@1.0.6: + '@walletconnect/jsonrpc-utils@1.0.6': resolution: {integrity: sha512-snp0tfkjPiDLQp/jrBewI+9SM33GPV4+Gjgldod6XQ7rFyQ5FZjnBxUkY4xWH0+arNxzQSi6v5iDXjCjSaorpg==} - dependencies: - '@walletconnect/environment': 1.0.1 - '@walletconnect/jsonrpc-types': 1.0.2 - tslib: 1.14.1 - dev: false - /@walletconnect/keyvaluestorage@1.0.2: + '@walletconnect/keyvaluestorage@1.0.2': resolution: {integrity: sha512-U/nNG+VLWoPFdwwKx0oliT4ziKQCEoQ27L5Hhw8YOFGA2Po9A9pULUYNWhDgHkrb0gYDNt//X7wABcEWWBd3FQ==} peerDependencies: '@react-native-async-storage/async-storage': 1.x @@ -833,691 +511,384 @@ packages: optional: true lokijs: optional: true - dependencies: - safe-json-utils: 1.1.1 - tslib: 1.14.1 - dev: true - /@walletconnect/logger@2.0.1: + '@walletconnect/logger@2.0.1': resolution: {integrity: sha512-SsTKdsgWm+oDTBeNE/zHxxr5eJfZmE9/5yp/Ku+zJtcTAjELb3DXueWkDXmE9h8uHIbJzIb5wj5lPdzyrjT6hQ==} - dependencies: - pino: 7.11.0 - tslib: 1.14.1 - dev: true - /@walletconnect/mobile-registry@1.4.0: + '@walletconnect/mobile-registry@1.4.0': resolution: {integrity: sha512-ZtKRio4uCZ1JUF7LIdecmZt7FOLnX72RPSY7aUVu7mj7CSfxDwUn6gBuK6WGtH+NZCldBqDl5DenI5fFSvkKYw==} deprecated: 'Deprecated in favor of dynamic registry available from: https://github.com/walletconnect/walletconnect-registry' - dev: false - /@walletconnect/randombytes@1.0.3: + '@walletconnect/randombytes@1.0.3': resolution: {integrity: sha512-35lpzxcHFbTN3ABefC9W+uBpNZl1GC4Wpx0ed30gibfO/y9oLdy1NznbV96HARQKSBV9J9M/rrtIvf6a23jfYw==} - dependencies: - '@walletconnect/encoding': 1.0.2 - '@walletconnect/environment': 1.0.1 - randombytes: 2.1.0 - tslib: 1.14.1 - dev: false - /@walletconnect/safe-json@1.0.0: + '@walletconnect/safe-json@1.0.0': resolution: {integrity: sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==} - dev: false - /@walletconnect/socket-transport@1.8.0: + '@walletconnect/socket-transport@1.8.0': resolution: {integrity: sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ==} - dependencies: - '@walletconnect/types': 1.8.0 - '@walletconnect/utils': 1.8.0 - ws: 7.5.3 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - dev: false - /@walletconnect/time@1.0.2: + '@walletconnect/time@1.0.2': resolution: {integrity: sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g==} - dependencies: - tslib: 1.14.1 - dev: true - /@walletconnect/types@1.8.0: + '@walletconnect/types@1.8.0': resolution: {integrity: sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg==} deprecated: 'WalletConnect''s v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/' - dev: false - /@walletconnect/types@2.5.2(@types/node@18.15.11)(typescript@5.0.4): + '@walletconnect/types@2.5.2': resolution: {integrity: sha512-VnV43qs4f2hwv6wGQ9ZSE+smP0z2oVy2XaVO5Szd2fmOx9bB+ov+sQzh9xeoQ+DhjNrbJhUaecW/peE6CPPSag==} - dependencies: - '@walletconnect/events': 1.0.1 - '@walletconnect/heartbeat': 1.2.0(@types/node@18.15.11)(typescript@5.0.4) - '@walletconnect/jsonrpc-types': 1.0.2 - '@walletconnect/keyvaluestorage': 1.0.2 - '@walletconnect/logger': 2.0.1 - events: 3.3.0 - transitivePeerDependencies: - - '@react-native-async-storage/async-storage' - - '@swc/core' - - '@swc/wasm' - - '@types/node' - - lokijs - - typescript - dev: true - /@walletconnect/utils@1.8.0: + '@walletconnect/utils@1.8.0': resolution: {integrity: sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA==} - dependencies: - '@walletconnect/browser-utils': 1.8.0 - '@walletconnect/encoding': 1.0.2 - '@walletconnect/jsonrpc-utils': 1.0.6 - '@walletconnect/types': 1.8.0 - bn.js: 4.11.8 - js-sha3: 0.8.0 - query-string: 6.13.5 - dev: false - /@walletconnect/window-getters@1.0.0: + '@walletconnect/window-getters@1.0.0': resolution: {integrity: sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA==} - dev: false - /@walletconnect/window-metadata@1.0.0: + '@walletconnect/window-metadata@1.0.0': resolution: {integrity: sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA==} - dependencies: - '@walletconnect/window-getters': 1.0.0 - dev: false - /abab@2.0.6: + abab@2.0.6: resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} - dev: true - /acorn-globals@7.0.1: + abbrev@1.1.1: + resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} + + acorn-globals@7.0.1: resolution: {integrity: sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==} - dependencies: - acorn: 8.8.2 - acorn-walk: 8.2.0 - dev: true - /acorn-jsx@5.3.2(acorn@8.8.2): + acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - acorn: 8.8.2 - dev: true - /acorn-walk@8.2.0: + acorn-walk@8.2.0: resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} engines: {node: '>=0.4.0'} - dev: true - /acorn@8.8.2: + acorn@8.8.2: resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==} engines: {node: '>=0.4.0'} hasBin: true - dev: true - /aes-js@3.1.2: + aes-js@3.1.2: resolution: {integrity: sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==} - dev: false - /agent-base@6.0.2: + agent-base@6.0.2: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} - dependencies: - debug: 4.3.4(supports-color@8.1.1) - transitivePeerDependencies: - - supports-color - dev: true - /ajv@6.12.6: + ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} - dependencies: - fast-deep-equal: 3.1.3 - fast-json-stable-stringify: 2.1.0 - json-schema-traverse: 0.4.1 - uri-js: 4.4.1 - dev: true - /algorand-walletconnect-qrcode-modal@1.8.0: + algorand-walletconnect-qrcode-modal@1.8.0: resolution: {integrity: sha512-NQgYnG0yNnyxMfiJxQtQXf3JaqcuE2dfCklugK/kWCse0JYWVAvwmAKfFZ0j597N0rU+YQTWsW+TpHroAnVfnw==} - dependencies: - '@walletconnect/browser-utils': 1.8.0 - '@walletconnect/mobile-registry': 1.4.0 - '@walletconnect/types': 1.8.0 - copy-to-clipboard: 3.3.3 - preact: 10.4.1 - qrcode: 1.4.4 - dev: false - /ansi-colors@4.1.1: + ansi-colors@4.1.1: resolution: {integrity: sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==} engines: {node: '>=6'} - dev: true - /ansi-regex@4.1.1: + ansi-regex@4.1.1: resolution: {integrity: sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==} engines: {node: '>=6'} - dev: false - /ansi-regex@5.0.1: + ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} - dev: true - /ansi-styles@3.2.1: + ansi-styles@3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} engines: {node: '>=4'} - dependencies: - color-convert: 1.9.3 - dev: false - /ansi-styles@4.3.0: + ansi-styles@4.3.0: resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} engines: {node: '>=8'} - dependencies: - color-convert: 2.0.1 - dev: true - /ansi-styles@5.2.0: + ansi-styles@5.2.0: resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} engines: {node: '>=10'} - dev: true - /any-promise@1.3.0: + any-promise@1.3.0: resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} - dev: true - /anymatch@3.1.3: + anymatch@3.1.3: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} - dependencies: - normalize-path: 3.0.0 - picomatch: 2.3.1 - dev: true - /arg@4.1.3: + aproba@2.0.0: + resolution: {integrity: sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==} + + are-we-there-yet@2.0.0: + resolution: {integrity: sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==} + engines: {node: '>=10'} + deprecated: This package is no longer supported. + + arg@4.1.3: resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} - dev: true - /arg@5.0.2: + arg@5.0.2: resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} - dev: true - /argparse@2.0.1: + argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} - dev: true - /array-union@2.1.0: + array-union@2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} - dev: true - /asn1.js@5.4.1: + asn1.js@5.4.1: resolution: {integrity: sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==} - dependencies: - bn.js: 4.12.0 - inherits: 2.0.4 - minimalistic-assert: 1.0.1 - safer-buffer: 2.1.2 - dev: true - /assert@2.0.0: + assert@2.0.0: resolution: {integrity: sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A==} - dependencies: - es6-object-assign: 1.1.0 - is-nan: 1.3.2 - object-is: 1.1.5 - util: 0.12.5 - dev: true - /assertion-error@1.1.0: + assertion-error@1.1.0: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} - dev: true - /asynckit@0.4.0: + asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - dev: true - /atomic-sleep@1.0.0: + atomic-sleep@1.0.0: resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} engines: {node: '>=8.0.0'} - dev: true - /autoprefixer@10.4.14(postcss@8.4.31): + autoprefixer@10.4.14: resolution: {integrity: sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==} engines: {node: ^10 || ^12 || >=14} hasBin: true peerDependencies: postcss: ^8.1.0 - dependencies: - browserslist: 4.21.5 - caniuse-lite: 1.0.30001469 - fraction.js: 4.2.0 - normalize-range: 0.1.2 - picocolors: 1.0.0 - postcss: 8.4.31 - postcss-value-parser: 4.2.0 - dev: true - /available-typed-arrays@1.0.5: + available-typed-arrays@1.0.5: resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==} engines: {node: '>= 0.4'} - dev: true - /balanced-match@1.0.2: + balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - dev: true - /base64-js@1.5.1: + base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - /binary-extensions@2.2.0: + binary-extensions@2.2.0: resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} engines: {node: '>=8'} - dev: true - /blueimp-md5@2.19.0: + blueimp-md5@2.19.0: resolution: {integrity: sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==} - dev: true - /bn.js@4.11.8: + bn.js@4.11.8: resolution: {integrity: sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==} - /bn.js@4.12.0: + bn.js@4.12.0: resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==} - dev: true - /bn.js@5.2.1: + bn.js@5.2.1: resolution: {integrity: sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==} - dev: true - /brace-expansion@1.1.11: + brace-expansion@1.1.11: resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} - dependencies: - balanced-match: 1.0.2 - concat-map: 0.0.1 - dev: true - /brace-expansion@2.0.1: + brace-expansion@2.0.1: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} - dependencies: - balanced-match: 1.0.2 - dev: true - /braces@3.0.2: + braces@3.0.2: resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} engines: {node: '>=8'} - dependencies: - fill-range: 7.0.1 - dev: true - /brorand@1.1.0: + brorand@1.1.0: resolution: {integrity: sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==} - dev: true - /browser-resolve@2.0.0: + browser-resolve@2.0.0: resolution: {integrity: sha512-7sWsQlYL2rGLy2IWm8WL8DCTJvYLc/qlOnsakDac87SOoCd16WLsaAMdCiAqsTNHIe+SXfaqyxyo6THoWqs8WQ==} - dependencies: - resolve: 1.22.1 - dev: true - /browser-stdout@1.3.1: + browser-stdout@1.3.1: resolution: {integrity: sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==} - dev: true - /browserify-aes@1.2.0: + browserify-aes@1.2.0: resolution: {integrity: sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==} - dependencies: - buffer-xor: 1.0.3 - cipher-base: 1.0.4 - create-hash: 1.2.0 - evp_bytestokey: 1.0.3 - inherits: 2.0.4 - safe-buffer: 5.2.1 - dev: true - /browserify-cipher@1.0.1: + browserify-cipher@1.0.1: resolution: {integrity: sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==} - dependencies: - browserify-aes: 1.2.0 - browserify-des: 1.0.2 - evp_bytestokey: 1.0.3 - dev: true - /browserify-des@1.0.2: + browserify-des@1.0.2: resolution: {integrity: sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==} - dependencies: - cipher-base: 1.0.4 - des.js: 1.0.1 - inherits: 2.0.4 - safe-buffer: 5.2.1 - dev: true - /browserify-rsa@4.1.0: + browserify-rsa@4.1.0: resolution: {integrity: sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==} - dependencies: - bn.js: 5.2.1 - randombytes: 2.1.0 - dev: true - /browserify-sign@4.2.1: + browserify-sign@4.2.1: resolution: {integrity: sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==} - dependencies: - bn.js: 5.2.1 - browserify-rsa: 4.1.0 - create-hash: 1.2.0 - create-hmac: 1.1.7 - elliptic: 6.5.4 - inherits: 2.0.4 - parse-asn1: 5.1.6 - readable-stream: 3.6.2 - safe-buffer: 5.2.1 - dev: true - /browserify-zlib@0.2.0: + browserify-zlib@0.2.0: resolution: {integrity: sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==} - dependencies: - pako: 1.0.11 - dev: true - /browserslist@4.21.5: + browserslist@4.21.5: resolution: {integrity: sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true - dependencies: - caniuse-lite: 1.0.30001469 - electron-to-chromium: 1.4.335 - node-releases: 2.0.10 - update-browserslist-db: 1.0.10(browserslist@4.21.5) - dev: true - /buffer-alloc-unsafe@1.1.0: + buffer-alloc-unsafe@1.1.0: resolution: {integrity: sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==} - dev: false - /buffer-alloc@1.2.0: + buffer-alloc@1.2.0: resolution: {integrity: sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==} - dependencies: - buffer-alloc-unsafe: 1.1.0 - buffer-fill: 1.0.0 - dev: false - /buffer-crc32@0.2.13: + buffer-crc32@0.2.13: resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} - dev: true - /buffer-fill@1.0.0: + buffer-fill@1.0.0: resolution: {integrity: sha512-T7zexNBwiiaCOGDg9xNX9PBmjrubblRkENuptryuI64URkXDFum9il/JGL8Lm8wYfAXpredVXXZz7eMHilimiQ==} - dev: false - /buffer-from@1.1.2: + buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} - dev: false - /buffer-xor@1.0.3: + buffer-xor@1.0.3: resolution: {integrity: sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==} - dev: true - /buffer@5.7.1: + buffer@5.7.1: resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} - dependencies: - base64-js: 1.5.1 - ieee754: 1.2.1 - /builtin-status-codes@3.0.0: + builtin-status-codes@3.0.0: resolution: {integrity: sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ==} - dev: true - /cac@6.7.14: + cac@6.7.14: resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} engines: {node: '>=8'} - dev: true - /call-bind@1.0.2: + call-bind@1.0.2: resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} - dependencies: - function-bind: 1.1.1 - get-intrinsic: 1.2.0 - dev: true - /callsites@3.1.0: + callsites@3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} - dev: true - /camelcase-css@2.0.1: + camelcase-css@2.0.1: resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} engines: {node: '>= 6'} - dev: true - /camelcase@5.3.1: + camelcase@5.3.1: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} - dev: false - /camelcase@6.3.0: + camelcase@6.3.0: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} - dev: true - /caniuse-lite@1.0.30001469: + caniuse-lite@1.0.30001469: resolution: {integrity: sha512-Rcp7221ScNqQPP3W+lVOYDyjdR6dC+neEQCttoNr5bAyz54AboB4iwpnWgyi8P4YUsPybVzT4LgWiBbI3drL4g==} - dev: true - /chai@4.3.7: + canvas@2.11.2: + resolution: {integrity: sha512-ItanGBMrmRV7Py2Z+Xhs7cT+FNt5K0vPL4p9EZ/UX/Mu7hFbkxSjKF2KVtPwX7UYWp7dRKnrTvReflgrItJbdw==} + engines: {node: '>=6'} + + chai@4.3.7: resolution: {integrity: sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==} engines: {node: '>=4'} - dependencies: - assertion-error: 1.1.0 - check-error: 1.0.2 - deep-eql: 4.1.3 - get-func-name: 2.0.0 - loupe: 2.3.6 - pathval: 1.1.1 - type-detect: 4.0.8 - dev: true - /chalk@4.1.2: + chalk@4.1.2: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} - dependencies: - ansi-styles: 4.3.0 - supports-color: 7.2.0 - dev: true - /check-error@1.0.2: + check-error@1.0.2: resolution: {integrity: sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==} - dev: true - /chokidar@3.5.3: + chokidar@3.5.3: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} - dependencies: - anymatch: 3.1.3 - braces: 3.0.2 - glob-parent: 5.1.2 - is-binary-path: 2.1.0 - is-glob: 4.0.3 - normalize-path: 3.0.0 - readdirp: 3.6.0 - optionalDependencies: - fsevents: 2.3.2 - dev: true - /cipher-base@1.0.4: + chownr@2.0.0: + resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} + engines: {node: '>=10'} + + cipher-base@1.0.4: resolution: {integrity: sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==} - dependencies: - inherits: 2.0.4 - safe-buffer: 5.2.1 - dev: true - /cliui@5.0.0: + cliui@5.0.0: resolution: {integrity: sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==} - dependencies: - string-width: 3.1.0 - strip-ansi: 5.2.0 - wrap-ansi: 5.1.0 - dev: false - /cliui@7.0.4: + cliui@7.0.4: resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} - dependencies: - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 7.0.0 - dev: true - /color-convert@1.9.3: + color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} - dependencies: - color-name: 1.1.3 - dev: false - /color-convert@2.0.1: + color-convert@2.0.1: resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} engines: {node: '>=7.0.0'} - dependencies: - color-name: 1.1.4 - dev: true - /color-name@1.1.3: + color-name@1.1.3: resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} - dev: false - /color-name@1.1.4: + color-name@1.1.4: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} - dev: true - /combined-stream@1.0.8: + color-support@1.1.3: + resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} + hasBin: true + + combined-stream@1.0.8: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} - dependencies: - delayed-stream: 1.0.0 - dev: true - /commander@4.1.1: + commander@4.1.1: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} engines: {node: '>= 6'} - dev: true - /concat-map@0.0.1: + concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - dev: true - /concordance@5.0.4: + concordance@5.0.4: resolution: {integrity: sha512-OAcsnTEYu1ARJqWVGwf4zh4JDfHZEaSNlNccFmt8YjB2l/n19/PF2viLINHc57vO4FKIAFl2FWASIGZZWZ2Kxw==} engines: {node: '>=10.18.0 <11 || >=12.14.0 <13 || >=14'} - dependencies: - date-time: 3.1.0 - esutils: 2.0.3 - fast-diff: 1.2.0 - js-string-escape: 1.0.1 - lodash: 4.17.21 - md5-hex: 3.0.1 - semver: 7.3.8 - well-known-symbols: 2.0.0 - dev: true - /console-browserify@1.2.0: + console-browserify@1.2.0: resolution: {integrity: sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==} - dev: true - /constants-browserify@1.0.0: + console-control-strings@1.1.0: + resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==} + + constants-browserify@1.0.0: resolution: {integrity: sha512-xFxOwqIzR/e1k1gLiWEophSCMqXcwVHIH7akf7b/vxcUeGunlj3hvZaaqxwHsTgn+IndtkQJgSztIDWeumWJDQ==} - dev: true - /copy-to-clipboard@3.3.3: + copy-to-clipboard@3.3.3: resolution: {integrity: sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==} - dependencies: - toggle-selection: 1.0.6 - dev: false - /create-ecdh@4.0.4: + create-ecdh@4.0.4: resolution: {integrity: sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==} - dependencies: - bn.js: 4.11.8 - elliptic: 6.5.4 - dev: true - /create-hash@1.2.0: + create-hash@1.2.0: resolution: {integrity: sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==} - dependencies: - cipher-base: 1.0.4 - inherits: 2.0.4 - md5.js: 1.3.5 - ripemd160: 2.0.2 - sha.js: 2.4.11 - dev: true - /create-hmac@1.1.7: + create-hmac@1.1.7: resolution: {integrity: sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==} - dependencies: - cipher-base: 1.0.4 - create-hash: 1.2.0 - inherits: 2.0.4 - ripemd160: 2.0.2 - safe-buffer: 5.2.1 - sha.js: 2.4.11 - dev: true - /create-require@1.1.1: + create-require@1.1.1: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} - dev: true - /cross-spawn@7.0.3: + cross-spawn@7.0.3: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'} - dependencies: - path-key: 3.1.1 - shebang-command: 2.0.0 - which: 2.0.2 - dev: true - /crypto-browserify@3.12.0: + crypto-browserify@3.12.0: resolution: {integrity: sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==} - dependencies: - browserify-cipher: 1.0.1 - browserify-sign: 4.2.1 - create-ecdh: 4.0.4 - create-hash: 1.2.0 - create-hmac: 1.1.7 - diffie-hellman: 5.0.3 - inherits: 2.0.4 - pbkdf2: 3.1.2 - public-encrypt: 4.0.3 - randombytes: 2.1.0 - randomfill: 1.0.4 - dev: true - /cssesc@3.0.0: + cssesc@3.0.0: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} engines: {node: '>=4'} hasBin: true - dev: true - /cssstyle@3.0.0: + cssstyle@3.0.0: resolution: {integrity: sha512-N4u2ABATi3Qplzf0hWbVCdjenim8F3ojEXpBDF5hBpjzW182MjNGLqfmQ0SkSPeQ+V86ZXgeH8aXj6kayd4jgg==} engines: {node: '>=14'} - dependencies: - rrweb-cssom: 0.6.0 - dev: true - /data-urls@4.0.0: + data-urls@4.0.0: resolution: {integrity: sha512-/mMTei/JXPqvFqQtfyTowxmJVwr2PVAeCcDxyFf6LhoOu/09TX2OX3kb2wzi4DMXcfj4OItwDOnhl5oziPnT6g==} engines: {node: '>=14'} - dependencies: - abab: 2.0.6 - whatwg-mimetype: 3.0.0 - whatwg-url: 12.0.1 - dev: true - /date-time@3.1.0: + date-time@3.1.0: resolution: {integrity: sha512-uqCUKXE5q1PNBXjPqvwhwJf9SwMoAHBgWJ6DcrnS5o+W2JOiIILl0JEdVD8SGujrNS02GGxgwAg2PN2zONgtjg==} engines: {node: '>=6'} - dependencies: - time-zone: 1.0.0 - dev: true - /debug@4.3.4(supports-color@8.1.1): + debug@4.3.4: resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} engines: {node: '>=6.0'} peerDependencies: @@ -1525,873 +896,519 @@ packages: peerDependenciesMeta: supports-color: optional: true - dependencies: - ms: 2.1.2 - supports-color: 8.1.1 - dev: true - /decamelize@1.2.0: + decamelize@1.2.0: resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} engines: {node: '>=0.10.0'} - dev: false - /decamelize@4.0.0: + decamelize@4.0.0: resolution: {integrity: sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==} engines: {node: '>=10'} - dev: true - /decimal.js@10.4.3: + decimal.js@10.4.3: resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} - dev: true - /decode-uri-component@0.2.2: + decode-uri-component@0.2.2: resolution: {integrity: sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==} engines: {node: '>=0.10'} - dev: false - /deep-eql@4.1.3: + decompress-response@4.2.1: + resolution: {integrity: sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw==} + engines: {node: '>=8'} + + deep-eql@4.1.3: resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} engines: {node: '>=6'} - dependencies: - type-detect: 4.0.8 - dev: true - /deep-is@0.1.4: + deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - dev: true - /deepmerge@4.3.1: + deepmerge@4.3.1: resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} engines: {node: '>=0.10.0'} - dev: true - /define-properties@1.2.0: + define-properties@1.2.0: resolution: {integrity: sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==} engines: {node: '>= 0.4'} - dependencies: - has-property-descriptors: 1.0.0 - object-keys: 1.1.1 - dev: true - /delayed-stream@1.0.0: + delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} - dev: true - /des.js@1.0.1: + delegates@1.0.0: + resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==} + + des.js@1.0.1: resolution: {integrity: sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==} - dependencies: - inherits: 2.0.4 - minimalistic-assert: 1.0.1 - dev: true - /detect-browser@5.2.0: + detect-browser@5.2.0: resolution: {integrity: sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA==} - dev: false - /detect-indent@6.1.0: + detect-indent@6.1.0: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} engines: {node: '>=8'} - dev: true - /didyoumean@1.2.2: + detect-libc@2.0.3: + resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==} + engines: {node: '>=8'} + + didyoumean@1.2.2: resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} - dev: true - /diff@4.0.2: + diff@4.0.2: resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} engines: {node: '>=0.3.1'} - dev: true - /diff@5.0.0: + diff@5.0.0: resolution: {integrity: sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==} engines: {node: '>=0.3.1'} - dev: true - /diffie-hellman@5.0.3: + diffie-hellman@5.0.3: resolution: {integrity: sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==} - dependencies: - bn.js: 4.11.8 - miller-rabin: 4.0.1 - randombytes: 2.1.0 - dev: true - /dijkstrajs@1.0.2: + dijkstrajs@1.0.2: resolution: {integrity: sha512-QV6PMaHTCNmKSeP6QoXhVTw9snc9VD8MulTT0Bd99Pacp4SS1cjcrYPgBPmibqKVtMJJfqC6XvOXgPMEEPH/fg==} - dev: false - /dir-glob@3.0.1: + dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} - dependencies: - path-type: 4.0.0 - dev: true - /dlv@1.1.3: + dlv@1.1.3: resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==} - dev: true - /doctrine@3.0.0: + doctrine@3.0.0: resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} engines: {node: '>=6.0.0'} - dependencies: - esutils: 2.0.3 - dev: true - /domain-browser@4.22.0: + domain-browser@4.22.0: resolution: {integrity: sha512-IGBwjF7tNk3cwypFNH/7bfzBcgSCbaMOD3GsaY1AU/JRrnHnYgEM0+9kQt52iZxjNsjBtJYtao146V+f8jFZNw==} engines: {node: '>=10'} - dev: true - /domexception@4.0.0: + domexception@4.0.0: resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==} engines: {node: '>=12'} - dependencies: - webidl-conversions: 7.0.0 - dev: true - /duplexify@4.1.2: + duplexify@4.1.2: resolution: {integrity: sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==} - dependencies: - end-of-stream: 1.4.4 - inherits: 2.0.4 - readable-stream: 3.6.2 - stream-shift: 1.0.1 - dev: true - /electron-to-chromium@1.4.335: + electron-to-chromium@1.4.335: resolution: {integrity: sha512-l/eowQqTnrq3gu+WSrdfkhfNHnPgYqlKAwxz7MTOj6mom19vpEDHNXl6dxDxyTiYuhemydprKr/HCrHfgk+OfQ==} - dev: true - /elliptic@6.5.4: + elliptic@6.5.4: resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==} - dependencies: - bn.js: 4.12.0 - brorand: 1.1.0 - hash.js: 1.1.7 - hmac-drbg: 1.0.1 - inherits: 2.0.4 - minimalistic-assert: 1.0.1 - minimalistic-crypto-utils: 1.0.1 - dev: true - /emoji-regex@7.0.3: + emoji-regex@7.0.3: resolution: {integrity: sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==} - dev: false - /emoji-regex@8.0.0: + emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - dev: true - /end-of-stream@1.4.4: + end-of-stream@1.4.4: resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} - dependencies: - once: 1.4.0 - dev: true - /entities@4.4.0: + engine.io-client@6.5.3: + resolution: {integrity: sha512-9Z0qLB0NIisTRt1DZ/8U2k12RJn8yls/nXMZLn+/N8hANT3TcYjKFKcwbw5zFQiN4NTde3TSY9zb79e1ij6j9Q==} + + engine.io-parser@5.2.2: + resolution: {integrity: sha512-RcyUFKA93/CXH20l4SoVvzZfrSDMOTUS3bWVpTt2FuFP+XYrL8i8oonHP7WInRyVHXh0n/ORtoeiE1os+8qkSw==} + engines: {node: '>=10.0.0'} + + entities@4.4.0: resolution: {integrity: sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA==} engines: {node: '>=0.12'} - dev: true - /es6-object-assign@1.1.0: + es6-object-assign@1.1.0: resolution: {integrity: sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw==} - dev: true - /es6-promise@3.3.1: + es6-promise@3.3.1: resolution: {integrity: sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==} - dev: true - /esbuild@0.17.12: + esbuild@0.17.12: resolution: {integrity: sha512-bX/zHl7Gn2CpQwcMtRogTTBf9l1nl+H6R8nUbjk+RuKqAE3+8FDulLA+pHvX7aA7Xe07Iwa+CWvy9I8Y2qqPKQ==} engines: {node: '>=12'} hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/android-arm': 0.17.12 - '@esbuild/android-arm64': 0.17.12 - '@esbuild/android-x64': 0.17.12 - '@esbuild/darwin-arm64': 0.17.12 - '@esbuild/darwin-x64': 0.17.12 - '@esbuild/freebsd-arm64': 0.17.12 - '@esbuild/freebsd-x64': 0.17.12 - '@esbuild/linux-arm': 0.17.12 - '@esbuild/linux-arm64': 0.17.12 - '@esbuild/linux-ia32': 0.17.12 - '@esbuild/linux-loong64': 0.17.12 - '@esbuild/linux-mips64el': 0.17.12 - '@esbuild/linux-ppc64': 0.17.12 - '@esbuild/linux-riscv64': 0.17.12 - '@esbuild/linux-s390x': 0.17.12 - '@esbuild/linux-x64': 0.17.12 - '@esbuild/netbsd-x64': 0.17.12 - '@esbuild/openbsd-x64': 0.17.12 - '@esbuild/sunos-x64': 0.17.12 - '@esbuild/win32-arm64': 0.17.12 - '@esbuild/win32-ia32': 0.17.12 - '@esbuild/win32-x64': 0.17.12 - dev: true - /escalade@3.1.1: + escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} - dev: true - /escape-string-regexp@4.0.0: + escape-string-regexp@4.0.0: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} - dev: true - /escodegen@2.0.0: + escodegen@2.0.0: resolution: {integrity: sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==} engines: {node: '>=6.0'} hasBin: true - dependencies: - esprima: 4.0.1 - estraverse: 5.3.0 - esutils: 2.0.3 - optionator: 0.8.3 - optionalDependencies: - source-map: 0.6.1 - dev: true - /eslint-config-prettier@8.8.0(eslint@8.38.0): + eslint-config-prettier@8.8.0: resolution: {integrity: sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==} hasBin: true peerDependencies: eslint: '>=7.0.0' - dependencies: - eslint: 8.38.0 - dev: true - /eslint-plugin-svelte3@4.0.0(eslint@8.38.0)(svelte@3.58.0): + eslint-plugin-svelte3@4.0.0: resolution: {integrity: sha512-OIx9lgaNzD02+MDFNLw0GEUbuovNcglg+wnd/UY0fbZmlQSz7GlQiQ1f+yX0XvC07XPcDOnFcichqI3xCwp71g==} peerDependencies: eslint: '>=8.0.0' svelte: ^3.2.0 - dependencies: - eslint: 8.38.0 - svelte: 3.58.0 - dev: true - /eslint-scope@5.1.1: + eslint-scope@5.1.1: resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} engines: {node: '>=8.0.0'} - dependencies: - esrecurse: 4.3.0 - estraverse: 4.3.0 - dev: true - /eslint-scope@7.1.1: + eslint-scope@7.1.1: resolution: {integrity: sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - esrecurse: 4.3.0 - estraverse: 5.3.0 - dev: true - /eslint-visitor-keys@3.4.0: + eslint-visitor-keys@3.4.0: resolution: {integrity: sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - /eslint@8.38.0: + eslint@8.38.0: resolution: {integrity: sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true - dependencies: - '@eslint-community/eslint-utils': 4.3.0(eslint@8.38.0) - '@eslint-community/regexpp': 4.4.0 - '@eslint/eslintrc': 2.0.2 - '@eslint/js': 8.38.0 - '@humanwhocodes/config-array': 0.11.8 - '@humanwhocodes/module-importer': 1.0.1 - '@nodelib/fs.walk': 1.2.8 - ajv: 6.12.6 - chalk: 4.1.2 - cross-spawn: 7.0.3 - debug: 4.3.4(supports-color@8.1.1) - doctrine: 3.0.0 - escape-string-regexp: 4.0.0 - eslint-scope: 7.1.1 - eslint-visitor-keys: 3.4.0 - espree: 9.5.1 - esquery: 1.5.0 - esutils: 2.0.3 - fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 - find-up: 5.0.0 - glob-parent: 6.0.2 - globals: 13.20.0 - grapheme-splitter: 1.0.4 - ignore: 5.2.4 - import-fresh: 3.3.0 - imurmurhash: 0.1.4 - is-glob: 4.0.3 - is-path-inside: 3.0.3 - js-sdsl: 4.3.0 - js-yaml: 4.1.0 - json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 - lodash.merge: 4.6.2 - minimatch: 3.1.2 - natural-compare: 1.4.0 - optionator: 0.9.1 - strip-ansi: 6.0.1 - strip-json-comments: 3.1.1 - text-table: 0.2.0 - transitivePeerDependencies: - - supports-color - dev: true - /espree@9.5.1: + espree@9.5.1: resolution: {integrity: sha512-5yxtHSZXRSW5pvv3hAlXM5+/Oswi1AUFqBmbibKb5s6bp3rGIDkyXU6xCoyuuLhijr4SFwPrXRoZjz0AZDN9tg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - acorn: 8.8.2 - acorn-jsx: 5.3.2(acorn@8.8.2) - eslint-visitor-keys: 3.4.0 - dev: true - /esprima@4.0.1: + esprima@4.0.1: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} engines: {node: '>=4'} hasBin: true - dev: true - /esquery@1.5.0: + esquery@1.5.0: resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} engines: {node: '>=0.10'} - dependencies: - estraverse: 5.3.0 - dev: true - /esrecurse@4.3.0: + esrecurse@4.3.0: resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} engines: {node: '>=4.0'} - dependencies: - estraverse: 5.3.0 - dev: true - /estraverse@4.3.0: + estraverse@4.3.0: resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} engines: {node: '>=4.0'} - dev: true - /estraverse@5.3.0: + estraverse@5.3.0: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} - dev: true - /estree-walker@2.0.2: + estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} - dev: true - /esutils@2.0.3: + esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} - dev: true - /events@3.3.0: + eventemitter3@5.0.1: + resolution: {integrity: sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==} + + events@3.3.0: resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} engines: {node: '>=0.8.x'} - dev: true - /evp_bytestokey@1.0.3: + evp_bytestokey@1.0.3: resolution: {integrity: sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==} - dependencies: - md5.js: 1.3.5 - safe-buffer: 5.2.1 - dev: true - /fast-deep-equal@3.1.3: + fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} - dev: true - /fast-diff@1.2.0: + fast-diff@1.2.0: resolution: {integrity: sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==} - dev: true - /fast-glob@3.2.12: + fast-glob@3.2.12: resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} engines: {node: '>=8.6.0'} - dependencies: - '@nodelib/fs.stat': 2.0.5 - '@nodelib/fs.walk': 1.2.8 - glob-parent: 5.1.2 - merge2: 1.4.1 - micromatch: 4.0.5 - dev: true - /fast-json-stable-stringify@2.1.0: + fast-json-stable-stringify@2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} - dev: true - /fast-levenshtein@2.0.6: + fast-levenshtein@2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - dev: true - /fast-redact@3.1.2: + fast-redact@3.1.2: resolution: {integrity: sha512-+0em+Iya9fKGfEQGcd62Yv6onjBmmhV1uh86XVfOU8VwAe6kaFdQCWI9s0/Nnugx5Vd9tdbZ7e6gE2tR9dzXdw==} engines: {node: '>=6'} - dev: true - /fastq@1.15.0: + fastq@1.15.0: resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} - dependencies: - reusify: 1.0.4 - dev: true - /fflate@0.7.4: + fflate@0.7.4: resolution: {integrity: sha512-5u2V/CDW15QM1XbbgS+0DfPxVB+jUKhWEKuuFuHncbk3tEEqzmoXL+2KyOFuKGqOnmdIy0/davWF1CkuwtibCw==} - dev: true - /file-entry-cache@6.0.1: + file-entry-cache@6.0.1: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} - dependencies: - flat-cache: 3.0.4 - dev: true - /fill-range@7.0.1: + fill-range@7.0.1: resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} engines: {node: '>=8'} - dependencies: - to-regex-range: 5.0.1 - dev: true - /find-up@3.0.0: + find-up@3.0.0: resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==} engines: {node: '>=6'} - dependencies: - locate-path: 3.0.0 - dev: false - /find-up@5.0.0: + find-up@5.0.0: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} - dependencies: - locate-path: 6.0.0 - path-exists: 4.0.0 - dev: true - /flat-cache@3.0.4: + flat-cache@3.0.4: resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} engines: {node: ^10.12.0 || >=12.0.0} - dependencies: - flatted: 3.2.7 - rimraf: 3.0.2 - dev: true - /flat@5.0.2: + flat@5.0.2: resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} hasBin: true - dev: true - /flatted@3.2.7: + flatted@3.2.7: resolution: {integrity: sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==} - dev: true - /for-each@0.3.3: + for-each@0.3.3: resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} - dependencies: - is-callable: 1.2.7 - dev: true - /form-data@4.0.0: + form-data@4.0.0: resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} engines: {node: '>= 6'} - dependencies: - asynckit: 0.4.0 - combined-stream: 1.0.8 - mime-types: 2.1.35 - dev: true - /fraction.js@4.2.0: + fraction.js@4.2.0: resolution: {integrity: sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==} - dev: true - /fs.realpath@1.0.0: + fs-minipass@2.1.0: + resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==} + engines: {node: '>= 8'} + + fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} - dev: true - /fsevents@2.3.2: + fsevents@2.3.2: resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] - requiresBuild: true - dev: true - optional: true - /function-bind@1.1.1: + function-bind@1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} - dev: true - /get-caller-file@2.0.5: + gauge@3.0.2: + resolution: {integrity: sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==} + engines: {node: '>=10'} + deprecated: This package is no longer supported. + + get-caller-file@2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} - /get-func-name@2.0.0: + get-func-name@2.0.0: resolution: {integrity: sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==} - dev: true - /get-intrinsic@1.2.0: + get-intrinsic@1.2.0: resolution: {integrity: sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==} - dependencies: - function-bind: 1.1.1 - has: 1.0.3 - has-symbols: 1.0.3 - dev: true - /glob-parent@5.1.2: + glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} - dependencies: - is-glob: 4.0.3 - dev: true - /glob-parent@6.0.2: + glob-parent@6.0.2: resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} engines: {node: '>=10.13.0'} - dependencies: - is-glob: 4.0.3 - dev: true - /glob@7.1.6: + glob@7.1.6: resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==} - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - dev: true - /glob@7.2.0: + glob@7.2.0: resolution: {integrity: sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==} - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - dev: true - /glob@7.2.3: + glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - dev: true - /globals@13.20.0: + globals@13.20.0: resolution: {integrity: sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==} engines: {node: '>=8'} - dependencies: - type-fest: 0.20.2 - dev: true - /globby@11.1.0: + globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} - dependencies: - array-union: 2.1.0 - dir-glob: 3.0.1 - fast-glob: 3.2.12 - ignore: 5.2.4 - merge2: 1.4.1 - slash: 3.0.0 - dev: true - /gopd@1.0.1: + gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} - dependencies: - get-intrinsic: 1.2.0 - dev: true - /graceful-fs@4.2.11: + graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - dev: true - /grapheme-splitter@1.0.4: + grapheme-splitter@1.0.4: resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} - dev: true - /has-flag@4.0.0: + has-flag@4.0.0: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} - dev: true - /has-property-descriptors@1.0.0: + has-property-descriptors@1.0.0: resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==} - dependencies: - get-intrinsic: 1.2.0 - dev: true - /has-symbols@1.0.3: + has-symbols@1.0.3: resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} engines: {node: '>= 0.4'} - dev: true - /has-tostringtag@1.0.0: + has-tostringtag@1.0.0: resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} engines: {node: '>= 0.4'} - dependencies: - has-symbols: 1.0.3 - dev: true - /has@1.0.3: + has-unicode@2.0.1: + resolution: {integrity: sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==} + + has@1.0.3: resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} engines: {node: '>= 0.4.0'} - dependencies: - function-bind: 1.1.1 - dev: true - /hash-base@3.1.0: + hash-base@3.1.0: resolution: {integrity: sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==} engines: {node: '>=4'} - dependencies: - inherits: 2.0.4 - readable-stream: 3.6.2 - safe-buffer: 5.2.1 - dev: true - /hash.js@1.1.7: + hash.js@1.1.7: resolution: {integrity: sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==} - dependencies: - inherits: 2.0.4 - minimalistic-assert: 1.0.1 - /he@1.2.0: + he@1.2.0: resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} hasBin: true - dev: true - /hmac-drbg@1.0.1: + hmac-drbg@1.0.1: resolution: {integrity: sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==} - dependencies: - hash.js: 1.1.7 - minimalistic-assert: 1.0.1 - minimalistic-crypto-utils: 1.0.1 - dev: true - /html-encoding-sniffer@3.0.0: + html-encoding-sniffer@3.0.0: resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} engines: {node: '>=12'} - dependencies: - whatwg-encoding: 2.0.0 - dev: true - /http-proxy-agent@5.0.0: + http-proxy-agent@5.0.0: resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} engines: {node: '>= 6'} - dependencies: - '@tootallnate/once': 2.0.0 - agent-base: 6.0.2 - debug: 4.3.4(supports-color@8.1.1) - transitivePeerDependencies: - - supports-color - dev: true - /https-browserify@1.0.0: + https-browserify@1.0.0: resolution: {integrity: sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg==} - dev: true - /https-proxy-agent@5.0.1: + https-proxy-agent@5.0.1: resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} engines: {node: '>= 6'} - dependencies: - agent-base: 6.0.2 - debug: 4.3.4(supports-color@8.1.1) - transitivePeerDependencies: - - supports-color - dev: true - /iconv-lite@0.6.3: + iconv-lite@0.6.3: resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} engines: {node: '>=0.10.0'} - dependencies: - safer-buffer: 2.1.2 - dev: true - /ieee754@1.2.1: + ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} - /ignore@5.2.4: + ignore@5.2.4: resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} engines: {node: '>= 4'} - dev: true - /import-fresh@3.3.0: + import-fresh@3.3.0: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} - dependencies: - parent-module: 1.0.1 - resolve-from: 4.0.0 - dev: true - /imurmurhash@0.1.4: + imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} - dev: true - /inflight@1.0.6: + inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} - dependencies: - once: 1.4.0 - wrappy: 1.0.2 - dev: true - /inherits@2.0.4: + inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} - /is-arguments@1.1.1: + is-arguments@1.1.1: resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - has-tostringtag: 1.0.0 - dev: true - /is-binary-path@2.1.0: + is-binary-path@2.1.0: resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} engines: {node: '>=8'} - dependencies: - binary-extensions: 2.2.0 - dev: true - /is-callable@1.2.7: + is-callable@1.2.7: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} - dev: true - /is-core-module@2.11.0: + is-core-module@2.11.0: resolution: {integrity: sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==} - dependencies: - has: 1.0.3 - dev: true - /is-extglob@2.1.1: + is-extglob@2.1.1: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} engines: {node: '>=0.10.0'} - dev: true - /is-fullwidth-code-point@2.0.0: + is-fullwidth-code-point@2.0.0: resolution: {integrity: sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==} engines: {node: '>=4'} - dev: false - /is-fullwidth-code-point@3.0.0: + is-fullwidth-code-point@3.0.0: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} - dev: true - /is-generator-function@1.0.10: + is-generator-function@1.0.10: resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==} engines: {node: '>= 0.4'} - dependencies: - has-tostringtag: 1.0.0 - dev: true - /is-glob@4.0.3: + is-glob@4.0.3: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} engines: {node: '>=0.10.0'} - dependencies: - is-extglob: 2.1.1 - dev: true - /is-nan@1.3.2: + is-nan@1.3.2: resolution: {integrity: sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w==} engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.2.0 - dev: true - /is-number@7.0.0: + is-number@7.0.0: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} - dev: true - /is-path-inside@3.0.3: + is-path-inside@3.0.3: resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} engines: {node: '>=8'} - dev: true - /is-plain-obj@2.1.0: + is-plain-obj@2.1.0: resolution: {integrity: sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==} engines: {node: '>=8'} - dev: true - /is-potential-custom-element-name@1.0.1: + is-potential-custom-element-name@1.0.1: resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} - dev: true - /is-typed-array@1.1.10: + is-typed-array@1.1.10: resolution: {integrity: sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==} engines: {node: '>= 0.4'} - dependencies: - available-typed-arrays: 1.0.5 - call-bind: 1.0.2 - for-each: 0.3.3 - gopd: 1.0.1 - has-tostringtag: 1.0.0 - dev: true - /is-typedarray@1.0.0: + is-typedarray@1.0.0: resolution: {integrity: sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==} - dev: false - /is-unicode-supported@0.1.0: + is-unicode-supported@0.1.0: resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} engines: {node: '>=10'} - dev: true - /isarray@2.0.5: + isarray@2.0.5: resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} - dev: false - /isexe@2.0.0: + isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - dev: true - /isomorphic-timers-promises@1.0.1: + isomorphic-timers-promises@1.0.1: resolution: {integrity: sha512-u4sej9B1LPSxTGKB/HiuzvEQnXH0ECYkSVQU39koSwmFAxhlEAFl9RdTvLv4TOTQUgBS5O3O5fwUxk6byBZ+IQ==} engines: {node: '>=10'} - dev: true - /jiti@1.18.2: + jiti@1.18.2: resolution: {integrity: sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg==} hasBin: true - dev: true - /js-sdsl@4.3.0: + js-sdsl@4.3.0: resolution: {integrity: sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ==} - dev: true - /js-sha3@0.8.0: + js-sha3@0.8.0: resolution: {integrity: sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==} - dev: false - /js-string-escape@1.0.1: + js-string-escape@1.0.1: resolution: {integrity: sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==} engines: {node: '>= 0.8'} - dev: true - /js-yaml@4.1.0: + js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true - dependencies: - argparse: 2.0.1 - dev: true - /jsdom@21.1.1: + jsdom@21.1.1: resolution: {integrity: sha512-Jjgdmw48RKcdAIQyUD1UdBh2ecH7VqwaXPN3ehoZN6MqgVbMn+lRm1aAT1AsdJRAJpwfa4IpwgzySn61h2qu3w==} engines: {node: '>=14'} peerDependencies: @@ -2399,639 +1416,389 @@ packages: peerDependenciesMeta: canvas: optional: true - dependencies: - abab: 2.0.6 - acorn: 8.8.2 - acorn-globals: 7.0.1 - cssstyle: 3.0.0 - data-urls: 4.0.0 - decimal.js: 10.4.3 - domexception: 4.0.0 - escodegen: 2.0.0 - form-data: 4.0.0 - html-encoding-sniffer: 3.0.0 - http-proxy-agent: 5.0.0 - https-proxy-agent: 5.0.1 - is-potential-custom-element-name: 1.0.1 - nwsapi: 2.2.2 - parse5: 7.1.2 - rrweb-cssom: 0.6.0 - saxes: 6.0.0 - symbol-tree: 3.2.4 - tough-cookie: 4.1.3 - w3c-xmlserializer: 4.0.0 - webidl-conversions: 7.0.0 - whatwg-encoding: 2.0.0 - whatwg-mimetype: 3.0.0 - whatwg-url: 12.0.1 - ws: 8.13.0 - xml-name-validator: 4.0.0 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - dev: true - /json-schema-traverse@0.4.1: + json-schema-traverse@0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} - dev: true - /json-stable-stringify-without-jsonify@1.0.1: + json-stable-stringify-without-jsonify@1.0.1: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} - dev: true - /jsonc-parser@3.2.0: + jsonc-parser@3.2.0: resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} - dev: true - /keyvaluestorage-interface@1.0.0: + keyvaluestorage-interface@1.0.0: resolution: {integrity: sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g==} - /kleur@4.1.5: + kleur@4.1.5: resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} engines: {node: '>=6'} - dev: true - /levn@0.3.0: + levn@0.3.0: resolution: {integrity: sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==} engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.1.2 - type-check: 0.3.2 - dev: true - /levn@0.4.1: + levn@0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.2.1 - type-check: 0.4.0 - dev: true - /lilconfig@2.1.0: + lilconfig@2.1.0: resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} engines: {node: '>=10'} - dev: true - /lines-and-columns@1.2.4: + lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - dev: true - /local-pkg@0.4.3: + local-pkg@0.4.3: resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==} engines: {node: '>=14'} - dev: true - /locate-path@3.0.0: + locate-path@3.0.0: resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==} engines: {node: '>=6'} - dependencies: - p-locate: 3.0.0 - path-exists: 3.0.0 - dev: false - /locate-path@6.0.0: + locate-path@6.0.0: resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} engines: {node: '>=10'} - dependencies: - p-locate: 5.0.0 - dev: true - /lodash.merge@4.6.2: + lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} - dev: true - /lodash@4.17.21: + lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} - dev: true - /log-symbols@4.1.0: + log-symbols@4.1.0: resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} engines: {node: '>=10'} - dependencies: - chalk: 4.1.2 - is-unicode-supported: 0.1.0 - dev: true - /loupe@2.3.6: + loupe@2.3.6: resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==} - dependencies: - get-func-name: 2.0.0 - dev: true - /lru-cache@6.0.0: + lru-cache@6.0.0: resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} engines: {node: '>=10'} - dependencies: - yallist: 4.0.0 - dev: true - /magic-string@0.27.0: + magic-string@0.27.0: resolution: {integrity: sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==} engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.14 - dev: true - /magic-string@0.30.0: + magic-string@0.30.0: resolution: {integrity: sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==} engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.14 - dev: true - /make-error@1.3.6: + make-dir@3.1.0: + resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} + engines: {node: '>=8'} + + make-error@1.3.6: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} - dev: true - /md5-hex@3.0.1: + md5-hex@3.0.1: resolution: {integrity: sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw==} engines: {node: '>=8'} - dependencies: - blueimp-md5: 2.19.0 - dev: true - /md5.js@1.3.5: + md5.js@1.3.5: resolution: {integrity: sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==} - dependencies: - hash-base: 3.1.0 - inherits: 2.0.4 - safe-buffer: 5.2.1 - dev: true - /merge2@1.4.1: + merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} - dev: true - /micromatch@4.0.5: + micromatch@4.0.5: resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} engines: {node: '>=8.6'} - dependencies: - braces: 3.0.2 - picomatch: 2.3.1 - dev: true - /miller-rabin@4.0.1: + miller-rabin@4.0.1: resolution: {integrity: sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==} hasBin: true - dependencies: - bn.js: 4.11.8 - brorand: 1.1.0 - dev: true - /mime-db@1.52.0: + mime-db@1.52.0: resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} engines: {node: '>= 0.6'} - dev: true - /mime-types@2.1.35: + mime-types@2.1.35: resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} engines: {node: '>= 0.6'} - dependencies: - mime-db: 1.52.0 - dev: true - /min-indent@1.0.1: + mimic-response@2.1.0: + resolution: {integrity: sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==} + engines: {node: '>=8'} + + min-indent@1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} - dev: true - /minimalistic-assert@1.0.1: + minimalistic-assert@1.0.1: resolution: {integrity: sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==} - /minimalistic-crypto-utils@1.0.1: + minimalistic-crypto-utils@1.0.1: resolution: {integrity: sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==} - dev: true - /minimatch@3.1.2: + minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} - dependencies: - brace-expansion: 1.1.11 - dev: true - /minimatch@5.0.1: + minimatch@5.0.1: resolution: {integrity: sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==} engines: {node: '>=10'} - dependencies: - brace-expansion: 2.0.1 - dev: true - /minimist@1.2.8: + minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - dev: true - /mkdirp@0.5.6: + minipass@3.3.6: + resolution: {integrity: sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==} + engines: {node: '>=8'} + + minipass@5.0.0: + resolution: {integrity: sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==} + engines: {node: '>=8'} + + minizlib@2.1.2: + resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==} + engines: {node: '>= 8'} + + mkdirp@0.5.6: resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} hasBin: true - dependencies: - minimist: 1.2.8 - dev: true - /mlly@1.2.0: + mkdirp@1.0.4: + resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} + engines: {node: '>=10'} + hasBin: true + + mlly@1.2.0: resolution: {integrity: sha512-+c7A3CV0KGdKcylsI6khWyts/CYrGTrRVo4R/I7u/cUsy0Conxa6LUhiEzVKIw14lc2L5aiO4+SeVe4TeGRKww==} - dependencies: - acorn: 8.8.2 - pathe: 1.1.0 - pkg-types: 1.0.2 - ufo: 1.1.1 - dev: true - /mocha@10.2.0: + mocha@10.2.0: resolution: {integrity: sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==} engines: {node: '>= 14.0.0'} hasBin: true - dependencies: - ansi-colors: 4.1.1 - browser-stdout: 1.3.1 - chokidar: 3.5.3 - debug: 4.3.4(supports-color@8.1.1) - diff: 5.0.0 - escape-string-regexp: 4.0.0 - find-up: 5.0.0 - glob: 7.2.0 - he: 1.2.0 - js-yaml: 4.1.0 - log-symbols: 4.1.0 - minimatch: 5.0.1 - ms: 2.1.3 - nanoid: 3.3.3 - serialize-javascript: 6.0.0 - strip-json-comments: 3.1.1 - supports-color: 8.1.1 - workerpool: 6.2.1 - yargs: 16.2.0 - yargs-parser: 20.2.4 - yargs-unparser: 2.0.0 - dev: true - /mri@1.2.0: + mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} - dev: true - /mrmime@1.0.1: + mrmime@1.0.1: resolution: {integrity: sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==} engines: {node: '>=10'} - dev: true - /ms@2.1.2: + ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} - dev: true - /ms@2.1.3: + ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - dev: true - /mz@2.7.0: + mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - dependencies: - any-promise: 1.3.0 - object-assign: 4.1.1 - thenify-all: 1.6.0 - dev: true - /nanoid@3.3.3: + nan@2.20.0: + resolution: {integrity: sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==} + + nanoid@3.3.3: resolution: {integrity: sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - dev: true - /nanoid@3.3.6: + nanoid@3.3.6: resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - dev: true - /natural-compare-lite@1.4.0: + natural-compare-lite@1.4.0: resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} - dev: true - /natural-compare@1.4.0: + natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} - dev: true - /node-releases@2.0.10: + node-fetch@2.7.0: + resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + + node-releases@2.0.10: resolution: {integrity: sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==} - dev: true - /node-stdlib-browser@1.2.0: + node-stdlib-browser@1.2.0: resolution: {integrity: sha512-VSjFxUhRhkyed8AtLwSCkMrJRfQ3e2lGtG3sP6FEgaLKBBbxM/dLfjRe1+iLhjvyLFW3tBQ8+c0pcOtXGbAZJg==} engines: {node: '>=10'} - dependencies: - assert: 2.0.0 - browser-resolve: 2.0.0 - browserify-zlib: 0.2.0 - buffer: 5.7.1 - console-browserify: 1.2.0 - constants-browserify: 1.0.0 - create-require: 1.1.1 - crypto-browserify: 3.12.0 - domain-browser: 4.22.0 - events: 3.3.0 - https-browserify: 1.0.0 - isomorphic-timers-promises: 1.0.1 - os-browserify: 0.3.0 - path-browserify: 1.0.1 - pkg-dir: 5.0.0 - process: 0.11.10 - punycode: 1.4.1 - querystring-es3: 0.2.1 - readable-stream: 3.6.2 - stream-browserify: 3.0.0 - stream-http: 3.2.0 - string_decoder: 1.3.0 - timers-browserify: 2.0.12 - tty-browserify: 0.0.1 - url: 0.11.0 - util: 0.12.5 - vm-browserify: 1.1.2 - dev: true - /normalize-path@3.0.0: + nopt@5.0.0: + resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==} + engines: {node: '>=6'} + hasBin: true + + normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} - dev: true - /normalize-range@0.1.2: + normalize-range@0.1.2: resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} engines: {node: '>=0.10.0'} - dev: true - /nwsapi@2.2.2: + npmlog@5.0.1: + resolution: {integrity: sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==} + deprecated: This package is no longer supported. + + nwsapi@2.2.2: resolution: {integrity: sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw==} - dev: true - /object-assign@4.1.1: + object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} - dev: true - /object-hash@3.0.0: + object-hash@3.0.0: resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} engines: {node: '>= 6'} - dev: true - /object-is@1.1.5: + object-is@1.1.5: resolution: {integrity: sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==} engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.2.0 - dev: true - /object-keys@1.1.1: + object-keys@1.1.1: resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} engines: {node: '>= 0.4'} - dev: true - /on-exit-leak-free@0.2.0: + on-exit-leak-free@0.2.0: resolution: {integrity: sha512-dqaz3u44QbRXQooZLTUKU41ZrzYrcvLISVgbrzbyCMxpmSLJvZ3ZamIJIZ29P6OhZIkNIQKosdeM6t1LYbA9hg==} - dev: true - /once@1.4.0: + once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} - dependencies: - wrappy: 1.0.2 - dev: true - /optionator@0.8.3: + optionator@0.8.3: resolution: {integrity: sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==} engines: {node: '>= 0.8.0'} - dependencies: - deep-is: 0.1.4 - fast-levenshtein: 2.0.6 - levn: 0.3.0 - prelude-ls: 1.1.2 - type-check: 0.3.2 - word-wrap: 1.2.5 - dev: true - /optionator@0.9.1: + optionator@0.9.1: resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==} engines: {node: '>= 0.8.0'} - dependencies: - deep-is: 0.1.4 - fast-levenshtein: 2.0.6 - levn: 0.4.1 - prelude-ls: 1.2.1 - type-check: 0.4.0 - word-wrap: 1.2.5 - dev: true - /os-browserify@0.3.0: + os-browserify@0.3.0: resolution: {integrity: sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A==} - dev: true - /p-limit@2.3.0: + p-limit@2.3.0: resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} engines: {node: '>=6'} - dependencies: - p-try: 2.2.0 - dev: false - /p-limit@3.1.0: + p-limit@3.1.0: resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} engines: {node: '>=10'} - dependencies: - yocto-queue: 0.1.0 - dev: true - /p-limit@4.0.0: + p-limit@4.0.0: resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - yocto-queue: 1.0.0 - dev: true - /p-locate@3.0.0: + p-locate@3.0.0: resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==} engines: {node: '>=6'} - dependencies: - p-limit: 2.3.0 - dev: false - /p-locate@5.0.0: + p-locate@5.0.0: resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} engines: {node: '>=10'} - dependencies: - p-limit: 3.1.0 - dev: true - /p-try@2.2.0: + p-try@2.2.0: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} - dev: false - /pako@1.0.11: + pako@1.0.11: resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==} - dev: true - /parent-module@1.0.1: + parent-module@1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} - dependencies: - callsites: 3.1.0 - dev: true - /parse-asn1@5.1.6: + parse-asn1@5.1.6: resolution: {integrity: sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==} - dependencies: - asn1.js: 5.4.1 - browserify-aes: 1.2.0 - evp_bytestokey: 1.0.3 - pbkdf2: 3.1.2 - safe-buffer: 5.2.1 - dev: true - /parse5@7.1.2: + parse5@7.1.2: resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} - dependencies: - entities: 4.4.0 - dev: true - /path-browserify@1.0.1: + path-browserify@1.0.1: resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} - dev: true - /path-exists@3.0.0: + path-exists@3.0.0: resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==} engines: {node: '>=4'} - dev: false - /path-exists@4.0.0: + path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} - dev: true - /path-is-absolute@1.0.1: + path-is-absolute@1.0.1: resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} engines: {node: '>=0.10.0'} - dev: true - /path-key@3.1.1: + path-key@3.1.1: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} - dev: true - /path-parse@1.0.7: + path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} - dev: true - /path-type@4.0.0: + path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} - dev: true - /pathe@1.1.0: + pathe@1.1.0: resolution: {integrity: sha512-ODbEPR0KKHqECXW1GoxdDb+AZvULmXjVPy4rt+pGo2+TnjJTIPJQSVS6N63n8T2Ip+syHhbn52OewKicV0373w==} - dev: true - /pathval@1.1.1: + pathval@1.1.1: resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} - dev: true - /pbkdf2@3.1.2: + pbkdf2@3.1.2: resolution: {integrity: sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==} engines: {node: '>=0.12'} - dependencies: - create-hash: 1.2.0 - create-hmac: 1.1.7 - ripemd160: 2.0.2 - safe-buffer: 5.2.1 - sha.js: 2.4.11 - dev: true - /picocolors@1.0.0: + picocolors@1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} - dev: true - /picomatch@2.3.1: + picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} - dev: true - /pify@2.3.0: + pify@2.3.0: resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} engines: {node: '>=0.10.0'} - dev: true - /pino-abstract-transport@0.5.0: + pino-abstract-transport@0.5.0: resolution: {integrity: sha512-+KAgmVeqXYbTtU2FScx1XS3kNyfZ5TrXY07V96QnUSFqo2gAqlvmaxH67Lj7SWazqsMabf+58ctdTcBgnOLUOQ==} - dependencies: - duplexify: 4.1.2 - split2: 4.2.0 - dev: true - /pino-std-serializers@4.0.0: + pino-std-serializers@4.0.0: resolution: {integrity: sha512-cK0pekc1Kjy5w9V2/n+8MkZwusa6EyyxfeQCB799CQRhRt/CqYKiWs5adeu8Shve2ZNffvfC/7J64A2PJo1W/Q==} - dev: true - /pino@7.11.0: + pino@7.11.0: resolution: {integrity: sha512-dMACeu63HtRLmCG8VKdy4cShCPKaYDR4youZqoSWLxl5Gu99HUw8bw75thbPv9Nip+H+QYX8o3ZJbTdVZZ2TVg==} hasBin: true - dependencies: - atomic-sleep: 1.0.0 - fast-redact: 3.1.2 - on-exit-leak-free: 0.2.0 - pino-abstract-transport: 0.5.0 - pino-std-serializers: 4.0.0 - process-warning: 1.0.0 - quick-format-unescaped: 4.0.4 - real-require: 0.1.0 - safe-stable-stringify: 2.4.3 - sonic-boom: 2.8.0 - thread-stream: 0.15.2 - dev: true - /pirates@4.0.5: + pirates@4.0.5: resolution: {integrity: sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==} engines: {node: '>= 6'} - dev: true - /pkg-dir@5.0.0: + pkg-dir@5.0.0: resolution: {integrity: sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==} engines: {node: '>=10'} - dependencies: - find-up: 5.0.0 - dev: true - /pkg-types@1.0.2: + pkg-types@1.0.2: resolution: {integrity: sha512-hM58GKXOcj8WTqUXnsQyJYXdeAPbythQgEF3nTcEo+nkD49chjQ9IKm/QJy9xf6JakXptz86h7ecP2024rrLaQ==} - dependencies: - jsonc-parser: 3.2.0 - mlly: 1.2.0 - pathe: 1.1.0 - dev: true - /pngjs@3.4.0: + pngjs@3.4.0: resolution: {integrity: sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==} engines: {node: '>=4.0.0'} - dev: false - /postcss-import@14.1.0(postcss@8.4.31): + postcss-import@14.1.0: resolution: {integrity: sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==} engines: {node: '>=10.0.0'} peerDependencies: postcss: ^8.0.0 - dependencies: - postcss: 8.4.31 - postcss-value-parser: 4.2.0 - read-cache: 1.0.0 - resolve: 1.22.1 - dev: true - /postcss-js@4.0.1(postcss@8.4.31): + postcss-js@4.0.1: resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} engines: {node: ^12 || ^14 || >= 16} peerDependencies: postcss: ^8.4.21 - dependencies: - camelcase-css: 2.0.1 - postcss: 8.4.31 - dev: true - /postcss-load-config@3.1.4(postcss@8.4.31): + postcss-load-config@3.1.4: resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==} engines: {node: '>= 10'} peerDependencies: @@ -3042,64 +1809,39 @@ packages: optional: true ts-node: optional: true - dependencies: - lilconfig: 2.1.0 - postcss: 8.4.31 - yaml: 1.10.2 - dev: true - /postcss-nested@6.0.0(postcss@8.4.31): + postcss-nested@6.0.0: resolution: {integrity: sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==} engines: {node: '>=12.0'} peerDependencies: postcss: ^8.2.14 - dependencies: - postcss: 8.4.31 - postcss-selector-parser: 6.0.11 - dev: true - /postcss-selector-parser@6.0.11: + postcss-selector-parser@6.0.11: resolution: {integrity: sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==} engines: {node: '>=4'} - dependencies: - cssesc: 3.0.0 - util-deprecate: 1.0.2 - dev: true - /postcss-value-parser@4.2.0: + postcss-value-parser@4.2.0: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - dev: true - /postcss@8.4.31: + postcss@8.4.31: resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==} engines: {node: ^10 || ^12 || >=14} - dependencies: - nanoid: 3.3.6 - picocolors: 1.0.0 - source-map-js: 1.0.2 - dev: true - /preact@10.4.1: + preact@10.4.1: resolution: {integrity: sha512-WKrRpCSwL2t3tpOOGhf2WfTpcmbpxaWtDbdJdKdjd0aEiTkvOmS4NBkG6kzlaAHI9AkQ3iVqbFWM3Ei7mZ4o1Q==} - dev: false - /prelude-ls@1.1.2: + prelude-ls@1.1.2: resolution: {integrity: sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==} engines: {node: '>= 0.8.0'} - dev: true - /prelude-ls@1.2.1: + prelude-ls@1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} - dev: true - /prettier-plugin-multiline-arrays@1.1.3: + prettier-plugin-multiline-arrays@1.1.3: resolution: {integrity: sha512-8I4FWatPhZXAsPMKM5E6h92ZRLAniJDdl9Uyy5aBvz9jJxc27CYQJIKBXdRW1SHrgKjEeWchmsAkLVyORIEOqw==} - dependencies: - '@augment-vir/common': 8.1.0 - dev: true - /prettier-plugin-organize-imports@3.2.2(prettier@2.8.7)(typescript@5.0.4): + prettier-plugin-organize-imports@3.2.2: resolution: {integrity: sha512-e97lE6odGSiHonHJMTYC0q0iLXQyw0u5z/PJpvP/3vRy6/Zi9kLBwFAbEGjDzIowpjQv8b+J04PDamoUSQbzGA==} peerDependencies: '@volar/vue-language-plugin-pug': ^1.0.4 @@ -3111,22 +1853,14 @@ packages: optional: true '@volar/vue-typescript': optional: true - dependencies: - prettier: 2.8.7 - typescript: 5.0.4 - dev: true - /prettier-plugin-svelte@2.10.0(prettier@2.8.7)(svelte@3.58.0): + prettier-plugin-svelte@2.10.0: resolution: {integrity: sha512-GXMY6t86thctyCvQq+jqElO+MKdB09BkL3hexyGP3Oi8XLKRFaJP1ud/xlWCZ9ZIa2BxHka32zhHfcuU+XsRQg==} peerDependencies: prettier: ^1.16.4 || ^2.0.0 svelte: ^3.2.0 - dependencies: - prettier: 2.8.7 - svelte: 3.58.0 - dev: true - /prettier-plugin-tailwindcss@0.2.7(prettier-plugin-organize-imports@3.2.2)(prettier-plugin-svelte@2.10.0)(prettier@2.8.7): + prettier-plugin-tailwindcss@0.2.7: resolution: {integrity: sha512-jQopIOgjLpX+y8HeD56XZw7onupRTC0cw7eKKUimI7vhjkPF5/1ltW5LyqaPtSyc8HvEpvNZsvvsGFa2qpa59w==} engines: {node: '>=12.17.0'} peerDependencies: @@ -3177,538 +1911,340 @@ packages: optional: true prettier-plugin-twig-melody: optional: true - dependencies: - prettier: 2.8.7 - prettier-plugin-organize-imports: 3.2.2(prettier@2.8.7)(typescript@5.0.4) - prettier-plugin-svelte: 2.10.0(prettier@2.8.7)(svelte@3.58.0) - dev: true - /prettier@2.8.7: + prettier@2.8.7: resolution: {integrity: sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==} engines: {node: '>=10.13.0'} hasBin: true - dev: true - /pretty-format@27.5.1: + pretty-format@27.5.1: resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - ansi-regex: 5.0.1 - ansi-styles: 5.2.0 - react-is: 17.0.2 - dev: true - /prism-svelte@0.4.7: + prism-svelte@0.4.7: resolution: {integrity: sha512-yABh19CYbM24V7aS7TuPYRNMqthxwbvx6FF/Rw920YbyBWO3tnyPIqRMgHuSVsLmuHkkBS1Akyof463FVdkeDQ==} - dev: true - /prism-themes@1.9.0: + prism-themes@1.9.0: resolution: {integrity: sha512-tX2AYsehKDw1EORwBps+WhBFKc2kxfoFpQAjxBndbZKr4fRmMkv47XN0BghC/K1qwodB1otbe4oF23vUTFDokw==} - dev: true - /prismjs@1.29.0: + prismjs@1.29.0: resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==} engines: {node: '>=6'} - dev: true - /process-warning@1.0.0: + process-warning@1.0.0: resolution: {integrity: sha512-du4wfLyj4yCZq1VupnVSZmRsPJsNuxoDQFdCFHLaYiEbFBD7QE0a+I4D7hOxrVnh78QE/YipFAj9lXHiXocV+Q==} - dev: true - /process@0.11.10: + process@0.11.10: resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} engines: {node: '>= 0.6.0'} - dev: true - /psl@1.9.0: + psl@1.9.0: resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} - dev: true - /public-encrypt@4.0.3: + public-encrypt@4.0.3: resolution: {integrity: sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==} - dependencies: - bn.js: 4.11.8 - browserify-rsa: 4.1.0 - create-hash: 1.2.0 - parse-asn1: 5.1.6 - randombytes: 2.1.0 - safe-buffer: 5.2.1 - dev: true - /punycode@1.3.2: + punycode@1.3.2: resolution: {integrity: sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==} - dev: true - /punycode@1.4.1: + punycode@1.4.1: resolution: {integrity: sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==} - dev: true - /punycode@2.3.0: + punycode@2.3.0: resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} engines: {node: '>=6'} - dev: true - /qrcode@1.4.4: + qr-code-styling@1.6.0-rc.1: + resolution: {integrity: sha512-ModRIiW6oUnsP18QzrRYZSc/CFKFKIdj7pUs57AEVH20ajlglRpN3HukjHk0UbNMTlKGuaYl7Gt6/O5Gg2NU2Q==} + + qrcode-generator@1.4.4: + resolution: {integrity: sha512-HM7yY8O2ilqhmULxGMpcHSF1EhJJ9yBj8gvDEuZ6M+KGJ0YY2hKpnXvRD+hZPLrDVck3ExIGhmPtSdcjC+guuw==} + + qrcode@1.4.4: resolution: {integrity: sha512-oLzEC5+NKFou9P0bMj5+v6Z40evexeE29Z9cummZXZ9QXyMr3lphkURzxjXgPJC5azpxcshoDWV1xE46z+/c3Q==} engines: {node: '>=4'} hasBin: true - dependencies: - buffer: 5.7.1 - buffer-alloc: 1.2.0 - buffer-from: 1.1.2 - dijkstrajs: 1.0.2 - isarray: 2.0.5 - pngjs: 3.4.0 - yargs: 13.3.2 - dev: false - /query-string@6.13.5: + query-string@6.13.5: resolution: {integrity: sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q==} engines: {node: '>=6'} - dependencies: - decode-uri-component: 0.2.2 - split-on-first: 1.1.0 - strict-uri-encode: 2.0.0 - dev: false - /querystring-es3@0.2.1: + querystring-es3@0.2.1: resolution: {integrity: sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA==} engines: {node: '>=0.4.x'} - dev: true - /querystring@0.2.0: + querystring@0.2.0: resolution: {integrity: sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==} engines: {node: '>=0.4.x'} deprecated: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. - dev: true - /querystringify@2.2.0: + querystringify@2.2.0: resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} - dev: true - /queue-microtask@1.2.3: + queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - dev: true - /quick-format-unescaped@4.0.4: + quick-format-unescaped@4.0.4: resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==} - dev: true - /quick-lru@5.1.1: + quick-lru@5.1.1: resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==} engines: {node: '>=10'} - dev: true - /randombytes@2.1.0: + randombytes@2.1.0: resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} - dependencies: - safe-buffer: 5.2.1 - /randomfill@1.0.4: + randomfill@1.0.4: resolution: {integrity: sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==} - dependencies: - randombytes: 2.1.0 - safe-buffer: 5.2.1 - dev: true - /react-is@17.0.2: + react-is@17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} - dev: true - /read-cache@1.0.0: + read-cache@1.0.0: resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} - dependencies: - pify: 2.3.0 - dev: true - /readable-stream@3.6.2: + readable-stream@3.6.2: resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} engines: {node: '>= 6'} - dependencies: - inherits: 2.0.4 - string_decoder: 1.3.0 - util-deprecate: 1.0.2 - dev: true - /readdirp@3.6.0: + readdirp@3.6.0: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} - dependencies: - picomatch: 2.3.1 - dev: true - /real-require@0.1.0: + real-require@0.1.0: resolution: {integrity: sha512-r/H9MzAWtrv8aSVjPCMFpDMl5q66GqtmmRkRjpHTsp4zBAa+snZyiQNlMONiUmEJcsnaw0wCauJ2GWODr/aFkg==} engines: {node: '>= 12.13.0'} - dev: true - /require-directory@2.1.1: + require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} - /require-main-filename@2.0.0: + require-main-filename@2.0.0: resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} - dev: false - /requires-port@1.0.0: + requires-port@1.0.0: resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} - dev: true - /resolve-from@4.0.0: + resolve-from@4.0.0: resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} engines: {node: '>=4'} - dev: true - /resolve@1.22.1: + resolve@1.22.1: resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} hasBin: true - dependencies: - is-core-module: 2.11.0 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - dev: true - /reusify@1.0.4: + reusify@1.0.4: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - dev: true - /rimraf@2.7.1: + rimraf@2.7.1: resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==} hasBin: true - dependencies: - glob: 7.2.3 - dev: true - /rimraf@3.0.2: + rimraf@3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} hasBin: true - dependencies: - glob: 7.2.3 - dev: true - /ripemd160@2.0.2: + ripemd160@2.0.2: resolution: {integrity: sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==} - dependencies: - hash-base: 3.1.0 - inherits: 2.0.4 - dev: true - /rollup@3.20.0: + rollup@3.20.0: resolution: {integrity: sha512-YsIfrk80NqUDrxrjWPXUa7PWvAfegZEXHuPsEZg58fGCdjL1I9C1i/NaG+L+27kxxwkrG/QEDEQc8s/ynXWWGQ==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} hasBin: true - optionalDependencies: - fsevents: 2.3.2 - dev: true - /rrweb-cssom@0.6.0: + rrweb-cssom@0.6.0: resolution: {integrity: sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==} - dev: true - /run-parallel@1.2.0: + run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} - dependencies: - queue-microtask: 1.2.3 - dev: true - /sade@1.8.1: + sade@1.8.1: resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} engines: {node: '>=6'} - dependencies: - mri: 1.2.0 - dev: true - /safe-buffer@5.2.1: + safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - /safe-json-utils@1.1.1: + safe-json-utils@1.1.1: resolution: {integrity: sha512-SAJWGKDs50tAbiDXLf89PDwt9XYkWyANFWVzn4dTXl5QyI8t2o/bW5/OJl3lvc2WVU4MEpTo9Yz5NVFNsp+OJQ==} - dev: true - /safe-stable-stringify@2.4.3: + safe-stable-stringify@2.4.3: resolution: {integrity: sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==} engines: {node: '>=10'} - dev: true - /safer-buffer@2.1.2: + safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - dev: true - /sander@0.5.1: + sander@0.5.1: resolution: {integrity: sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA==} - dependencies: - es6-promise: 3.3.1 - graceful-fs: 4.2.11 - mkdirp: 0.5.6 - rimraf: 2.7.1 - dev: true - /saxes@6.0.0: + saxes@6.0.0: resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} engines: {node: '>=v12.22.7'} - dependencies: - xmlchars: 2.2.0 - dev: true - /semver@7.3.8: + semver@6.3.1: + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + hasBin: true + + semver@7.3.8: resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==} engines: {node: '>=10'} hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: true - /serialize-javascript@6.0.0: + serialize-javascript@6.0.0: resolution: {integrity: sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==} - dependencies: - randombytes: 2.1.0 - dev: true - /set-blocking@2.0.0: + set-blocking@2.0.0: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} - dev: false - /setimmediate@1.0.5: + setimmediate@1.0.5: resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} - dev: true - /sha.js@2.4.11: + sha.js@2.4.11: resolution: {integrity: sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==} hasBin: true - dependencies: - inherits: 2.0.4 - safe-buffer: 5.2.1 - dev: true - /shebang-command@2.0.0: + shebang-command@2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} engines: {node: '>=8'} - dependencies: - shebang-regex: 3.0.0 - dev: true - /shebang-regex@3.0.0: + shebang-regex@3.0.0: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} - dev: true - /siginfo@2.0.0: + siginfo@2.0.0: resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} - dev: true - /sirv@2.0.2: + signal-exit@3.0.7: + resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + + simple-concat@1.0.1: + resolution: {integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==} + + simple-get@3.1.1: + resolution: {integrity: sha512-CQ5LTKGfCpvE1K0n2us+kuMPbk/q0EKl82s4aheV9oXjFEz6W/Y7oQFVJuU6QG77hRT4Ghb5RURteF5vnWjupA==} + + sirv@2.0.2: resolution: {integrity: sha512-4Qog6aE29nIjAOKe/wowFTxOdmbEZKb+3tsLljaBRzJwtqto0BChD2zzH0LhgCSXiI+V7X+Y45v14wBZQ1TK3w==} engines: {node: '>= 10'} - dependencies: - '@polka/url': 1.0.0-next.21 - mrmime: 1.0.1 - totalist: 3.0.0 - dev: true - /slash@3.0.0: + slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} - dev: true - /sonic-boom@2.8.0: + socket.io-client@4.7.5: + resolution: {integrity: sha512-sJ/tqHOCe7Z50JCBCXrsY3I2k03iOiUe+tj1OmKeD2lXPiGH/RUCdTZFoqVyN7l1MnpIzPrGtLcijffmeouNlQ==} + engines: {node: '>=10.0.0'} + + socket.io-parser@4.2.4: + resolution: {integrity: sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==} + engines: {node: '>=10.0.0'} + + sonic-boom@2.8.0: resolution: {integrity: sha512-kuonw1YOYYNOve5iHdSahXPOK49GqwA+LZhI6Wz/l0rP57iKyXXIHaRagOBHAPmGwJC6od2Z9zgvZ5loSgMlVg==} - dependencies: - atomic-sleep: 1.0.0 - dev: true - /sorcery@0.11.0: + sorcery@0.11.0: resolution: {integrity: sha512-J69LQ22xrQB1cIFJhPfgtLuI6BpWRiWu1Y3vSsIwK/eAScqJxd/+CJlUuHQRdX2C9NGFamq+KqNywGgaThwfHw==} hasBin: true - dependencies: - '@jridgewell/sourcemap-codec': 1.4.14 - buffer-crc32: 0.2.13 - minimist: 1.2.8 - sander: 0.5.1 - dev: true - /source-map-js@1.0.2: + source-map-js@1.0.2: resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} engines: {node: '>=0.10.0'} - dev: true - /source-map@0.6.1: + source-map@0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} - dev: true - /split-on-first@1.1.0: + split-on-first@1.1.0: resolution: {integrity: sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==} engines: {node: '>=6'} - dev: false - /split2@4.2.0: + split2@4.2.0: resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} engines: {node: '>= 10.x'} - dev: true - /stackback@0.0.2: + stackback@0.0.2: resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} - dev: true - /std-env@3.3.2: + std-env@3.3.2: resolution: {integrity: sha512-uUZI65yrV2Qva5gqE0+A7uVAvO40iPo6jGhs7s8keRfHCmtg+uB2X6EiLGCI9IgL1J17xGhvoOqSz79lzICPTA==} - dev: true - /stream-browserify@3.0.0: + stream-browserify@3.0.0: resolution: {integrity: sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==} - dependencies: - inherits: 2.0.4 - readable-stream: 3.6.2 - dev: true - /stream-http@3.2.0: + stream-http@3.2.0: resolution: {integrity: sha512-Oq1bLqisTyK3TSCXpPbT4sdeYNdmyZJv1LxpEm2vu1ZhK89kSE5YXwZc3cWk0MagGaKriBh9mCFbVGtO+vY29A==} - dependencies: - builtin-status-codes: 3.0.0 - inherits: 2.0.4 - readable-stream: 3.6.2 - xtend: 4.0.2 - dev: true - /stream-shift@1.0.1: + stream-shift@1.0.1: resolution: {integrity: sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==} - dev: true - /strict-uri-encode@2.0.0: + strict-uri-encode@2.0.0: resolution: {integrity: sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==} engines: {node: '>=4'} - dev: false - /string-width@3.1.0: + string-width@3.1.0: resolution: {integrity: sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==} engines: {node: '>=6'} - dependencies: - emoji-regex: 7.0.3 - is-fullwidth-code-point: 2.0.0 - strip-ansi: 5.2.0 - dev: false - /string-width@4.2.3: + string-width@4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} - dependencies: - emoji-regex: 8.0.0 - is-fullwidth-code-point: 3.0.0 - strip-ansi: 6.0.1 - dev: true - /string_decoder@1.3.0: + string_decoder@1.3.0: resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} - dependencies: - safe-buffer: 5.2.1 - dev: true - /strip-ansi@5.2.0: + strip-ansi@5.2.0: resolution: {integrity: sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==} engines: {node: '>=6'} - dependencies: - ansi-regex: 4.1.1 - dev: false - /strip-ansi@6.0.1: + strip-ansi@6.0.1: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} - dependencies: - ansi-regex: 5.0.1 - dev: true - /strip-indent@3.0.0: + strip-indent@3.0.0: resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} engines: {node: '>=8'} - dependencies: - min-indent: 1.0.1 - dev: true - /strip-json-comments@3.1.1: + strip-json-comments@3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} - dev: true - /strip-literal@1.0.1: + strip-literal@1.0.1: resolution: {integrity: sha512-QZTsipNpa2Ppr6v1AmJHESqJ3Uz247MUS0OjrnnZjFAvEoWqxuyFuXn2xLgMtRnijJShAa1HL0gtJyUs7u7n3Q==} - dependencies: - acorn: 8.8.2 - dev: true - /sucrase@3.32.0: + sucrase@3.32.0: resolution: {integrity: sha512-ydQOU34rpSyj2TGyz4D2p8rbktIOZ8QY9s+DGLvFU1i5pWJE8vkpruCjGCMHsdXwnD7JDcS+noSwM/a7zyNFDQ==} engines: {node: '>=8'} hasBin: true - dependencies: - '@jridgewell/gen-mapping': 0.3.3 - commander: 4.1.1 - glob: 7.1.6 - lines-and-columns: 1.2.4 - mz: 2.7.0 - pirates: 4.0.5 - ts-interface-checker: 0.1.13 - dev: true - /supports-color@7.2.0: + supports-color@7.2.0: resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} engines: {node: '>=8'} - dependencies: - has-flag: 4.0.0 - dev: true - /supports-color@8.1.1: + supports-color@8.1.1: resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} engines: {node: '>=10'} - dependencies: - has-flag: 4.0.0 - dev: true - /supports-preserve-symlinks-flag@1.0.0: + supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - dev: true - /svelte-check@3.2.0(postcss@8.4.31)(svelte@3.58.0): + svelte-check@3.2.0: resolution: {integrity: sha512-6ZnscN8dHEN5Eq5LgIzjj07W9nc9myyBH+diXsUAuiY/3rt0l65/LCIQYlIuoFEjp2F1NhXqZiJwV9omPj9tMw==} hasBin: true peerDependencies: svelte: ^3.55.0 - dependencies: - '@jridgewell/trace-mapping': 0.3.17 - chokidar: 3.5.3 - fast-glob: 3.2.12 - import-fresh: 3.3.0 - picocolors: 1.0.0 - sade: 1.8.1 - svelte: 3.58.0 - svelte-preprocess: 5.0.3(postcss@8.4.31)(svelte@3.58.0)(typescript@5.0.4) - typescript: 5.0.4 - transitivePeerDependencies: - - '@babel/core' - - coffeescript - - less - - postcss - - postcss-load-config - - pug - - sass - - stylus - - sugarss - dev: true - /svelte-hmr@0.15.1(svelte@3.58.0): + svelte-hmr@0.15.1: resolution: {integrity: sha512-BiKB4RZ8YSwRKCNVdNxK/GfY+r4Kjgp9jCLEy0DuqAKfmQtpL38cQK3afdpjw4sqSs4PLi3jIPJIFp259NkZtA==} engines: {node: ^12.20 || ^14.13.1 || >= 16} peerDependencies: svelte: '>=3.19.0' - dependencies: - svelte: 3.58.0 - dev: true - /svelte-preprocess@5.0.3(postcss@8.4.31)(svelte@3.58.0)(typescript@5.0.4): + svelte-preprocess@5.0.3: resolution: {integrity: sha512-GrHF1rusdJVbOZOwgPWtpqmaexkydznKzy5qIC2FabgpFyKN57bjMUUUqPRfbBXK5igiEWn1uO/DXsa2vJ5VHA==} engines: {node: '>= 14.10.0'} - requiresBuild: true peerDependencies: '@babel/core': ^7.10.2 coffeescript: ^2.5.1 @@ -3742,155 +2278,86 @@ packages: optional: true typescript: optional: true - dependencies: - '@types/pug': 2.0.6 - detect-indent: 6.1.0 - magic-string: 0.27.0 - postcss: 8.4.31 - sorcery: 0.11.0 - strip-indent: 3.0.0 - svelte: 3.58.0 - typescript: 5.0.4 - dev: true - /svelte-prism@1.1.6: + svelte-prism@1.1.6: resolution: {integrity: sha512-FEVBqD1wcSKYwRpgaMGRfEIQPquKMwo+vl91lnFHhQCtTivxgkCS6ZWNOyvZGRsNbWk50fYZOWOp3xXIBWNeSw==} - dependencies: - prism-svelte: 0.4.7 - prismjs: 1.29.0 - dev: true - /svelte@3.58.0: + svelte@3.58.0: resolution: {integrity: sha512-brIBNNB76mXFmU/Kerm4wFnkskBbluBDCjx/8TcpYRb298Yh2dztS2kQ6bhtjMcvUhd5ynClfwpz5h2gnzdQ1A==} engines: {node: '>= 8'} - dev: true - /symbol-tree@3.2.4: + symbol-tree@3.2.4: resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} - dev: true - /tailwindcss@3.3.1(postcss@8.4.31): + tailwindcss@3.3.1: resolution: {integrity: sha512-Vkiouc41d4CEq0ujXl6oiGFQ7bA3WEhUZdTgXAhtKxSy49OmKs8rEfQmupsfF0IGW8fv2iQkp1EVUuapCFrZ9g==} engines: {node: '>=12.13.0'} hasBin: true peerDependencies: postcss: ^8.0.9 - dependencies: - arg: 5.0.2 - chokidar: 3.5.3 - color-name: 1.1.4 - didyoumean: 1.2.2 - dlv: 1.1.3 - fast-glob: 3.2.12 - glob-parent: 6.0.2 - is-glob: 4.0.3 - jiti: 1.18.2 - lilconfig: 2.1.0 - micromatch: 4.0.5 - normalize-path: 3.0.0 - object-hash: 3.0.0 - picocolors: 1.0.0 - postcss: 8.4.31 - postcss-import: 14.1.0(postcss@8.4.31) - postcss-js: 4.0.1(postcss@8.4.31) - postcss-load-config: 3.1.4(postcss@8.4.31) - postcss-nested: 6.0.0(postcss@8.4.31) - postcss-selector-parser: 6.0.11 - postcss-value-parser: 4.2.0 - quick-lru: 5.1.1 - resolve: 1.22.1 - sucrase: 3.32.0 - transitivePeerDependencies: - - ts-node - dev: true - /text-table@0.2.0: + tar@6.2.1: + resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==} + engines: {node: '>=10'} + + text-table@0.2.0: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - dev: true - /thenify-all@1.6.0: + thenify-all@1.6.0: resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} engines: {node: '>=0.8'} - dependencies: - thenify: 3.3.1 - dev: true - /thenify@3.3.1: + thenify@3.3.1: resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} - dependencies: - any-promise: 1.3.0 - dev: true - /thread-stream@0.15.2: + thread-stream@0.15.2: resolution: {integrity: sha512-UkEhKIg2pD+fjkHQKyJO3yoIvAP3N6RlNFt2dUhcS1FGvCD1cQa1M/PGknCLFIyZdtJOWQjejp7bdNqmN7zwdA==} - dependencies: - real-require: 0.1.0 - dev: true - /time-zone@1.0.0: + time-zone@1.0.0: resolution: {integrity: sha512-TIsDdtKo6+XrPtiTm1ssmMngN1sAhyKnTO2kunQWqNPWIVvCm15Wmw4SWInwTVgJ5u/Tr04+8Ei9TNcw4x4ONA==} engines: {node: '>=4'} - dev: true - /timers-browserify@2.0.12: + timers-browserify@2.0.12: resolution: {integrity: sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==} engines: {node: '>=0.6.0'} - dependencies: - setimmediate: 1.0.5 - dev: true - /tinybench@2.4.0: + tinybench@2.4.0: resolution: {integrity: sha512-iyziEiyFxX4kyxSp+MtY1oCH/lvjH3PxFN8PGCDeqcZWAJ/i+9y+nL85w99PxVzrIvew/GSkSbDYtiGVa85Afg==} - dev: true - /tinypool@0.4.0: + tinypool@0.4.0: resolution: {integrity: sha512-2ksntHOKf893wSAH4z/+JbPpi92esw8Gn9N2deXX+B0EO92hexAVI9GIZZPx7P5aYo5KULfeOSt3kMOmSOy6uA==} engines: {node: '>=14.0.0'} - dev: true - /tinyspy@2.1.0: + tinyspy@2.1.0: resolution: {integrity: sha512-7eORpyqImoOvkQJCSkL0d0mB4NHHIFAy4b1u8PHdDa7SjGS2njzl6/lyGoZLm+eyYEtlUmFGE0rFj66SWxZgQQ==} engines: {node: '>=14.0.0'} - dev: true - /to-regex-range@5.0.1: + to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} - dependencies: - is-number: 7.0.0 - dev: true - /toggle-selection@1.0.6: + toggle-selection@1.0.6: resolution: {integrity: sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==} - dev: false - /totalist@3.0.0: + totalist@3.0.0: resolution: {integrity: sha512-eM+pCBxXO/njtF7vdFsHuqb+ElbxqtI4r5EAvk6grfAFyJ6IvWlSkfZ5T9ozC6xWw3Fj1fGoSmrl0gUs46JVIw==} engines: {node: '>=6'} - dev: true - /tough-cookie@4.1.3: + tough-cookie@4.1.3: resolution: {integrity: sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==} engines: {node: '>=6'} - dependencies: - psl: 1.9.0 - punycode: 2.3.0 - universalify: 0.2.0 - url-parse: 1.5.10 - dev: true - /tr46@4.1.1: + tr46@0.0.3: + resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + + tr46@4.1.1: resolution: {integrity: sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==} engines: {node: '>=14'} - dependencies: - punycode: 2.3.0 - dev: true - /ts-interface-checker@0.1.13: + ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - dev: true - /ts-node@10.9.1(@types/node@18.15.11)(typescript@5.0.4): + ts-node@10.9.1: resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -3903,178 +2370,95 @@ packages: optional: true '@swc/wasm': optional: true - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.9 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.3 - '@types/node': 18.15.11 - acorn: 8.8.2 - acorn-walk: 8.2.0 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.0.4 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - dev: true - /tslib@1.14.1: + tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} - /tslib@2.5.0: + tslib@2.5.0: resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==} - dev: true - /tsutils@3.21.0(typescript@5.0.4): + tsutils@3.21.0: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' - dependencies: - tslib: 1.14.1 - typescript: 5.0.4 - dev: true - /tty-browserify@0.0.1: + tty-browserify@0.0.1: resolution: {integrity: sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw==} - dev: true - /type-check@0.3.2: + tweetnacl@1.0.3: + resolution: {integrity: sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==} + + type-check@0.3.2: resolution: {integrity: sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==} engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.1.2 - dev: true - /type-check@0.4.0: + type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.2.1 - dev: true - /type-detect@4.0.8: + type-detect@4.0.8: resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} engines: {node: '>=4'} - dev: true - /type-fest@0.20.2: + type-fest@0.20.2: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} engines: {node: '>=10'} - dev: true - /type-fest@3.6.1: + type-fest@3.6.1: resolution: {integrity: sha512-htXWckxlT6U4+ilVgweNliPqlsVSSucbxVexRYllyMVJDtf5rTjv6kF/s+qAd4QSL1BZcnJPEJavYBPQiWuZDA==} engines: {node: '>=14.16'} - dev: true - /typedarray-to-buffer@3.1.5: + typedarray-to-buffer@3.1.5: resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==} - dependencies: - is-typedarray: 1.0.0 - dev: false - /typescript@5.0.4: + typescript@5.0.4: resolution: {integrity: sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==} engines: {node: '>=12.20'} hasBin: true - dev: true - /ufo@1.1.1: + ufo@1.1.1: resolution: {integrity: sha512-MvlCc4GHrmZdAllBc0iUDowff36Q9Ndw/UzqmEKyrfSzokTd9ZCy1i+IIk5hrYKkjoYVQyNbrw7/F8XJ2rEwTg==} - dev: true - /universalify@0.2.0: + universalify@0.2.0: resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} engines: {node: '>= 4.0.0'} - dev: true - /update-browserslist-db@1.0.10(browserslist@4.21.5): + update-browserslist-db@1.0.10: resolution: {integrity: sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' - dependencies: - browserslist: 4.21.5 - escalade: 3.1.1 - picocolors: 1.0.0 - dev: true - /uri-js@4.4.1: + uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} - dependencies: - punycode: 2.3.0 - dev: true - /url-parse@1.5.10: + url-parse@1.5.10: resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} - dependencies: - querystringify: 2.2.0 - requires-port: 1.0.0 - dev: true - /url@0.11.0: + url@0.11.0: resolution: {integrity: sha512-kbailJa29QrtXnxgq+DdCEGlbTeYM2eJUxsz6vjZavrCYPMIFHMKQmSKYAIuUK2i7hgPm28a8piX5NTUtM/LKQ==} - dependencies: - punycode: 1.3.2 - querystring: 0.2.0 - dev: true - /util-deprecate@1.0.2: + util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - dev: true - /util@0.12.5: + util@0.12.5: resolution: {integrity: sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==} - dependencies: - inherits: 2.0.4 - is-arguments: 1.1.1 - is-generator-function: 1.0.10 - is-typed-array: 1.1.10 - which-typed-array: 1.1.9 - dev: true - /v8-compile-cache-lib@3.0.1: + v8-compile-cache-lib@3.0.1: resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} - dev: true - /vite-node@0.30.0(@types/node@18.15.11): + vite-node@0.30.0: resolution: {integrity: sha512-23X5Ggylx0kU/bMf8MCcEEl55d/gsTtU81mMZjm7Z0FSpgKZexUqmX3mJtgglP9SySQQs9ydYg/GEahi/cKHaA==} engines: {node: '>=v14.18.0'} hasBin: true - dependencies: - cac: 6.7.14 - debug: 4.3.4(supports-color@8.1.1) - mlly: 1.2.0 - pathe: 1.1.0 - picocolors: 1.0.0 - vite: 4.2.3(@types/node@18.15.11) - transitivePeerDependencies: - - '@types/node' - - less - - sass - - stylus - - sugarss - - supports-color - - terser - dev: true - /vite-plugin-node-polyfills@0.7.0(vite@4.2.3): + vite-plugin-node-polyfills@0.7.0: resolution: {integrity: sha512-DKBSGDOx3R8pUIsQFRZAWNYp0vIffJOT0NkuByX4WIQq80nJ2eamAph5T9zG91liO1Fyl1lo7/Onh6xoQO52XQ==} peerDependencies: vite: ^2.0.0 || ^3.0.0 || ^4.0.0 - dependencies: - '@rollup/plugin-inject': 5.0.3 - node-stdlib-browser: 1.2.0 - vite: 4.2.3(@types/node@18.15.11) - transitivePeerDependencies: - - rollup - dev: true - /vite@4.2.3(@types/node@18.15.11): + vite@4.2.3: resolution: {integrity: sha512-kLU+m2q0Y434Y1kCy3TchefAdtFso0ILi0dLyFV8Us3InXTU11H/B5ZTqCKIQHzSKNxVG/yEx813EA9f1imQ9A==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true @@ -4098,28 +2482,16 @@ packages: optional: true terser: optional: true - dependencies: - '@types/node': 18.15.11 - esbuild: 0.17.12 - postcss: 8.4.31 - resolve: 1.22.1 - rollup: 3.20.0 - optionalDependencies: - fsevents: 2.3.2 - dev: true - /vitefu@0.2.4(vite@4.2.3): + vitefu@0.2.4: resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==} peerDependencies: vite: ^3.0.0 || ^4.0.0 peerDependenciesMeta: vite: optional: true - dependencies: - vite: 4.2.3(@types/node@18.15.11) - dev: true - /vitest@0.30.0(@vitest/ui@0.30.0)(jsdom@21.1.1): + vitest@0.30.0: resolution: {integrity: sha512-2WW4WeTHtrLFeoiuotWvEW6khozx1NvMGYoGsNz2btdddEbqvEdPJIouIdoiC5i61Rl1ctZvm9cn2R9TcPQlzw==} engines: {node: '>=v14.18.0'} hasBin: true @@ -4149,150 +2521,79 @@ packages: optional: true webdriverio: optional: true - dependencies: - '@types/chai': 4.3.4 - '@types/chai-subset': 1.3.3 - '@types/node': 18.15.11 - '@vitest/expect': 0.30.0 - '@vitest/runner': 0.30.0 - '@vitest/snapshot': 0.30.0 - '@vitest/spy': 0.30.0 - '@vitest/ui': 0.30.0 - '@vitest/utils': 0.30.0 - acorn: 8.8.2 - acorn-walk: 8.2.0 - cac: 6.7.14 - chai: 4.3.7 - concordance: 5.0.4 - debug: 4.3.4(supports-color@8.1.1) - jsdom: 21.1.1 - local-pkg: 0.4.3 - magic-string: 0.30.0 - pathe: 1.1.0 - picocolors: 1.0.0 - source-map: 0.6.1 - std-env: 3.3.2 - strip-literal: 1.0.1 - tinybench: 2.4.0 - tinypool: 0.4.0 - vite: 4.2.3(@types/node@18.15.11) - vite-node: 0.30.0(@types/node@18.15.11) - why-is-node-running: 2.2.2 - transitivePeerDependencies: - - less - - sass - - stylus - - sugarss - - supports-color - - terser - dev: true - /vm-browserify@1.1.2: + vm-browserify@1.1.2: resolution: {integrity: sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==} - dev: true - /w3c-xmlserializer@4.0.0: + w3c-xmlserializer@4.0.0: resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==} engines: {node: '>=14'} - dependencies: - xml-name-validator: 4.0.0 - dev: true - /webidl-conversions@7.0.0: + webidl-conversions@3.0.1: + resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + + webidl-conversions@7.0.0: resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} engines: {node: '>=12'} - dev: true - /well-known-symbols@2.0.0: + well-known-symbols@2.0.0: resolution: {integrity: sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==} engines: {node: '>=6'} - dev: true - /whatwg-encoding@2.0.0: + whatwg-encoding@2.0.0: resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} engines: {node: '>=12'} - dependencies: - iconv-lite: 0.6.3 - dev: true - /whatwg-mimetype@3.0.0: + whatwg-mimetype@3.0.0: resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} engines: {node: '>=12'} - dev: true - /whatwg-url@12.0.1: + whatwg-url@12.0.1: resolution: {integrity: sha512-Ed/LrqB8EPlGxjS+TrsXcpUond1mhccS3pchLhzSgPCnTimUCKj3IZE75pAs5m6heB2U2TMerKFUXheyHY+VDQ==} engines: {node: '>=14'} - dependencies: - tr46: 4.1.1 - webidl-conversions: 7.0.0 - dev: true - /which-module@2.0.0: + whatwg-url@5.0.0: + resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + + which-module@2.0.0: resolution: {integrity: sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q==} - dev: false - /which-typed-array@1.1.9: + which-typed-array@1.1.9: resolution: {integrity: sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==} engines: {node: '>= 0.4'} - dependencies: - available-typed-arrays: 1.0.5 - call-bind: 1.0.2 - for-each: 0.3.3 - gopd: 1.0.1 - has-tostringtag: 1.0.0 - is-typed-array: 1.1.10 - dev: true - /which@2.0.2: + which@2.0.2: resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} engines: {node: '>= 8'} hasBin: true - dependencies: - isexe: 2.0.0 - dev: true - /why-is-node-running@2.2.2: + why-is-node-running@2.2.2: resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==} engines: {node: '>=8'} hasBin: true - dependencies: - siginfo: 2.0.0 - stackback: 0.0.2 - dev: true - /word-wrap@1.2.5: + wide-align@1.1.5: + resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} + + word-wrap@1.2.5: resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} engines: {node: '>=0.10.0'} - dev: true - /workerpool@6.2.1: + workerpool@6.2.1: resolution: {integrity: sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==} - dev: true - /wrap-ansi@5.1.0: + wrap-ansi@5.1.0: resolution: {integrity: sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==} engines: {node: '>=6'} - dependencies: - ansi-styles: 3.2.1 - string-width: 3.1.0 - strip-ansi: 5.2.0 - dev: false - /wrap-ansi@7.0.0: + wrap-ansi@7.0.0: resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} engines: {node: '>=10'} - dependencies: - ansi-styles: 4.3.0 - string-width: 4.2.3 - strip-ansi: 6.0.1 - dev: true - /wrappy@1.0.2: + wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - dev: true - /ws@7.5.3: + ws@7.5.3: resolution: {integrity: sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg==} engines: {node: '>=8.3.0'} peerDependencies: @@ -4303,9 +2604,20 @@ packages: optional: true utf-8-validate: optional: true - dev: false - /ws@8.13.0: + ws@8.11.0: + resolution: {integrity: sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ^5.0.2 + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + + ws@8.13.0: resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==} engines: {node: '>=10.0.0'} peerDependencies: @@ -4316,101 +2628,2757 @@ packages: optional: true utf-8-validate: optional: true - dev: true - /xml-name-validator@4.0.0: + xml-name-validator@4.0.0: resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} engines: {node: '>=12'} - dev: true - /xmlchars@2.2.0: + xmlchars@2.2.0: resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} - dev: true - /xtend@4.0.2: + xmlhttprequest-ssl@2.0.0: + resolution: {integrity: sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==} + engines: {node: '>=0.4.0'} + + xtend@4.0.2: resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} engines: {node: '>=0.4'} - dev: true - /y18n@4.0.3: + y18n@4.0.3: resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} - dev: false - /y18n@5.0.8: + y18n@5.0.8: resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} engines: {node: '>=10'} - dev: true - /yallist@4.0.0: + yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} - dev: true - /yaml@1.10.2: + yaml@1.10.2: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} - dev: true - /yargs-parser@13.1.2: + yargs-parser@13.1.2: resolution: {integrity: sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==} - dependencies: - camelcase: 5.3.1 - decamelize: 1.2.0 - dev: false - /yargs-parser@20.2.4: + yargs-parser@20.2.4: resolution: {integrity: sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==} engines: {node: '>=10'} - dev: true - /yargs-unparser@2.0.0: + yargs-unparser@2.0.0: resolution: {integrity: sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==} engines: {node: '>=10'} - dependencies: - camelcase: 6.3.0 - decamelize: 4.0.0 - flat: 5.0.2 - is-plain-obj: 2.1.0 - dev: true - /yargs@13.3.2: + yargs@13.3.2: resolution: {integrity: sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==} - dependencies: - cliui: 5.0.0 - find-up: 3.0.0 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - require-main-filename: 2.0.0 - set-blocking: 2.0.0 - string-width: 3.1.0 - which-module: 2.0.0 - y18n: 4.0.3 - yargs-parser: 13.1.2 - dev: false - /yargs@16.2.0: + yargs@16.2.0: resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} engines: {node: '>=10'} - dependencies: - cliui: 7.0.4 - escalade: 3.1.1 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 - y18n: 5.0.8 - yargs-parser: 20.2.4 - dev: true - /yn@3.1.1: + yn@3.1.1: resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} engines: {node: '>=6'} - dev: true - /yocto-queue@0.1.0: + yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} - dev: true - /yocto-queue@1.0.0: + yocto-queue@1.0.0: resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} engines: {node: '>=12.20'} - dev: true + +snapshots: + + '@algorandfoundation/liquid-client@https://codeload.github.com/algorandfoundation/liquid-auth-js/tar.gz/3b86b83b195fec36dc1335d4d5ae66434b2d8fb5': + dependencies: + canvas: 2.11.2 + eventemitter3: 5.0.1 + qr-code-styling: 1.6.0-rc.1 + socket.io-client: 4.7.5 + tweetnacl: 1.0.3 + transitivePeerDependencies: + - bufferutil + - encoding + - supports-color + - utf-8-validate + + '@augment-vir/common@8.1.0': + dependencies: + type-fest: 3.6.1 + + '@cspotcode/source-map-support@0.8.1': + dependencies: + '@jridgewell/trace-mapping': 0.3.9 + + '@esbuild/android-arm64@0.17.12': + optional: true + + '@esbuild/android-arm@0.17.12': + optional: true + + '@esbuild/android-x64@0.17.12': + optional: true + + '@esbuild/darwin-arm64@0.17.12': + optional: true + + '@esbuild/darwin-x64@0.17.12': + optional: true + + '@esbuild/freebsd-arm64@0.17.12': + optional: true + + '@esbuild/freebsd-x64@0.17.12': + optional: true + + '@esbuild/linux-arm64@0.17.12': + optional: true + + '@esbuild/linux-arm@0.17.12': + optional: true + + '@esbuild/linux-ia32@0.17.12': + optional: true + + '@esbuild/linux-loong64@0.17.12': + optional: true + + '@esbuild/linux-mips64el@0.17.12': + optional: true + + '@esbuild/linux-ppc64@0.17.12': + optional: true + + '@esbuild/linux-riscv64@0.17.12': + optional: true + + '@esbuild/linux-s390x@0.17.12': + optional: true + + '@esbuild/linux-x64@0.17.12': + optional: true + + '@esbuild/netbsd-x64@0.17.12': + optional: true + + '@esbuild/openbsd-x64@0.17.12': + optional: true + + '@esbuild/sunos-x64@0.17.12': + optional: true + + '@esbuild/win32-arm64@0.17.12': + optional: true + + '@esbuild/win32-ia32@0.17.12': + optional: true + + '@esbuild/win32-x64@0.17.12': + optional: true + + '@eslint-community/eslint-utils@4.3.0(eslint@8.38.0)': + dependencies: + eslint: 8.38.0 + eslint-visitor-keys: 3.4.0 + + '@eslint-community/regexpp@4.4.0': {} + + '@eslint/eslintrc@2.0.2': + dependencies: + ajv: 6.12.6 + debug: 4.3.4(supports-color@8.1.1) + espree: 9.5.1 + globals: 13.20.0 + ignore: 5.2.4 + import-fresh: 3.3.0 + js-yaml: 4.1.0 + minimatch: 3.1.2 + strip-json-comments: 3.1.1 + transitivePeerDependencies: + - supports-color + + '@eslint/js@8.38.0': {} + + '@humanwhocodes/config-array@0.11.8': + dependencies: + '@humanwhocodes/object-schema': 1.2.1 + debug: 4.3.4(supports-color@8.1.1) + minimatch: 3.1.2 + transitivePeerDependencies: + - supports-color + + '@humanwhocodes/module-importer@1.0.1': {} + + '@humanwhocodes/object-schema@1.2.1': {} + + '@jridgewell/gen-mapping@0.3.3': + dependencies: + '@jridgewell/set-array': 1.1.2 + '@jridgewell/sourcemap-codec': 1.4.14 + '@jridgewell/trace-mapping': 0.3.17 + + '@jridgewell/resolve-uri@3.1.0': {} + + '@jridgewell/set-array@1.1.2': {} + + '@jridgewell/sourcemap-codec@1.4.14': {} + + '@jridgewell/trace-mapping@0.3.17': + dependencies: + '@jridgewell/resolve-uri': 3.1.0 + '@jridgewell/sourcemap-codec': 1.4.14 + + '@jridgewell/trace-mapping@0.3.9': + dependencies: + '@jridgewell/resolve-uri': 3.1.0 + '@jridgewell/sourcemap-codec': 1.4.14 + + '@mapbox/node-pre-gyp@1.0.11': + dependencies: + detect-libc: 2.0.3 + https-proxy-agent: 5.0.1 + make-dir: 3.1.0 + node-fetch: 2.7.0 + nopt: 5.0.0 + npmlog: 5.0.1 + rimraf: 3.0.2 + semver: 7.3.8 + tar: 6.2.1 + transitivePeerDependencies: + - encoding + - supports-color + + '@nodelib/fs.scandir@2.1.5': + dependencies: + '@nodelib/fs.stat': 2.0.5 + run-parallel: 1.2.0 + + '@nodelib/fs.stat@2.0.5': {} + + '@nodelib/fs.walk@1.2.8': + dependencies: + '@nodelib/fs.scandir': 2.1.5 + fastq: 1.15.0 + + '@polka/url@1.0.0-next.21': {} + + '@rollup/plugin-inject@5.0.3(rollup@3.20.0)': + dependencies: + '@rollup/pluginutils': 5.0.2(rollup@3.20.0) + estree-walker: 2.0.2 + magic-string: 0.27.0 + optionalDependencies: + rollup: 3.20.0 + + '@rollup/pluginutils@5.0.2(rollup@3.20.0)': + dependencies: + '@types/estree': 1.0.0 + estree-walker: 2.0.2 + picomatch: 2.3.1 + optionalDependencies: + rollup: 3.20.0 + + '@socket.io/component-emitter@3.1.2': {} + + '@sveltejs/vite-plugin-svelte@2.0.4(svelte@3.58.0)(vite@4.2.3(@types/node@18.15.11))': + dependencies: + debug: 4.3.4(supports-color@8.1.1) + deepmerge: 4.3.1 + kleur: 4.1.5 + magic-string: 0.30.0 + svelte: 3.58.0 + svelte-hmr: 0.15.1(svelte@3.58.0) + vite: 4.2.3(@types/node@18.15.11) + vitefu: 0.2.4(vite@4.2.3(@types/node@18.15.11)) + transitivePeerDependencies: + - supports-color + + '@tootallnate/once@2.0.0': {} + + '@tsconfig/node10@1.0.9': {} + + '@tsconfig/node12@1.0.11': {} + + '@tsconfig/node14@1.0.3': {} + + '@tsconfig/node16@1.0.3': {} + + '@tsconfig/svelte@4.0.1': {} + + '@types/chai-subset@1.3.3': + dependencies: + '@types/chai': 4.3.4 + + '@types/chai@4.3.4': {} + + '@types/estree@1.0.0': {} + + '@types/json-schema@7.0.11': {} + + '@types/node@18.15.11': {} + + '@types/pug@2.0.6': {} + + '@types/semver@7.3.13': {} + + '@typescript-eslint/eslint-plugin@5.57.1(@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.0.4))(eslint@8.38.0)(typescript@5.0.4)': + dependencies: + '@eslint-community/regexpp': 4.4.0 + '@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.0.4) + '@typescript-eslint/scope-manager': 5.57.1 + '@typescript-eslint/type-utils': 5.57.1(eslint@8.38.0)(typescript@5.0.4) + '@typescript-eslint/utils': 5.57.1(eslint@8.38.0)(typescript@5.0.4) + debug: 4.3.4(supports-color@8.1.1) + eslint: 8.38.0 + grapheme-splitter: 1.0.4 + ignore: 5.2.4 + natural-compare-lite: 1.4.0 + semver: 7.3.8 + tsutils: 3.21.0(typescript@5.0.4) + optionalDependencies: + typescript: 5.0.4 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.0.4)': + dependencies: + '@typescript-eslint/scope-manager': 5.57.1 + '@typescript-eslint/types': 5.57.1 + '@typescript-eslint/typescript-estree': 5.57.1(typescript@5.0.4) + debug: 4.3.4(supports-color@8.1.1) + eslint: 8.38.0 + optionalDependencies: + typescript: 5.0.4 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/scope-manager@5.57.1': + dependencies: + '@typescript-eslint/types': 5.57.1 + '@typescript-eslint/visitor-keys': 5.57.1 + + '@typescript-eslint/type-utils@5.57.1(eslint@8.38.0)(typescript@5.0.4)': + dependencies: + '@typescript-eslint/typescript-estree': 5.57.1(typescript@5.0.4) + '@typescript-eslint/utils': 5.57.1(eslint@8.38.0)(typescript@5.0.4) + debug: 4.3.4(supports-color@8.1.1) + eslint: 8.38.0 + tsutils: 3.21.0(typescript@5.0.4) + optionalDependencies: + typescript: 5.0.4 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/types@5.57.1': {} + + '@typescript-eslint/typescript-estree@5.57.1(typescript@5.0.4)': + dependencies: + '@typescript-eslint/types': 5.57.1 + '@typescript-eslint/visitor-keys': 5.57.1 + debug: 4.3.4(supports-color@8.1.1) + globby: 11.1.0 + is-glob: 4.0.3 + semver: 7.3.8 + tsutils: 3.21.0(typescript@5.0.4) + optionalDependencies: + typescript: 5.0.4 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/utils@5.57.1(eslint@8.38.0)(typescript@5.0.4)': + dependencies: + '@eslint-community/eslint-utils': 4.3.0(eslint@8.38.0) + '@types/json-schema': 7.0.11 + '@types/semver': 7.3.13 + '@typescript-eslint/scope-manager': 5.57.1 + '@typescript-eslint/types': 5.57.1 + '@typescript-eslint/typescript-estree': 5.57.1(typescript@5.0.4) + eslint: 8.38.0 + eslint-scope: 5.1.1 + semver: 7.3.8 + transitivePeerDependencies: + - supports-color + - typescript + + '@typescript-eslint/visitor-keys@5.57.1': + dependencies: + '@typescript-eslint/types': 5.57.1 + eslint-visitor-keys: 3.4.0 + + '@vitest/expect@0.30.0': + dependencies: + '@vitest/spy': 0.30.0 + '@vitest/utils': 0.30.0 + chai: 4.3.7 + + '@vitest/runner@0.30.0': + dependencies: + '@vitest/utils': 0.30.0 + concordance: 5.0.4 + p-limit: 4.0.0 + pathe: 1.1.0 + + '@vitest/snapshot@0.30.0': + dependencies: + magic-string: 0.30.0 + pathe: 1.1.0 + pretty-format: 27.5.1 + + '@vitest/spy@0.30.0': + dependencies: + tinyspy: 2.1.0 + + '@vitest/ui@0.30.0': + dependencies: + '@vitest/utils': 0.30.0 + fast-glob: 3.2.12 + fflate: 0.7.4 + flatted: 3.2.7 + pathe: 1.1.0 + picocolors: 1.0.0 + sirv: 2.0.2 + + '@vitest/utils@0.30.0': + dependencies: + concordance: 5.0.4 + loupe: 2.3.6 + pretty-format: 27.5.1 + + '@walletconnect/browser-utils@1.8.0': + dependencies: + '@walletconnect/safe-json': 1.0.0 + '@walletconnect/types': 1.8.0 + '@walletconnect/window-getters': 1.0.0 + '@walletconnect/window-metadata': 1.0.0 + detect-browser: 5.2.0 + + '@walletconnect/client@1.8.0': + dependencies: + '@walletconnect/core': 1.8.0 + '@walletconnect/iso-crypto': 1.8.0 + '@walletconnect/types': 1.8.0 + '@walletconnect/utils': 1.8.0 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + + '@walletconnect/core@1.8.0': + dependencies: + '@walletconnect/socket-transport': 1.8.0 + '@walletconnect/types': 1.8.0 + '@walletconnect/utils': 1.8.0 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + + '@walletconnect/crypto@1.0.3': + dependencies: + '@walletconnect/encoding': 1.0.2 + '@walletconnect/environment': 1.0.1 + '@walletconnect/randombytes': 1.0.3 + aes-js: 3.1.2 + hash.js: 1.1.7 + tslib: 1.14.1 + + '@walletconnect/encoding@1.0.2': + dependencies: + is-typedarray: 1.0.0 + tslib: 1.14.1 + typedarray-to-buffer: 3.1.5 + + '@walletconnect/environment@1.0.1': + dependencies: + tslib: 1.14.1 + + '@walletconnect/events@1.0.1': + dependencies: + keyvaluestorage-interface: 1.0.0 + tslib: 1.14.1 + + '@walletconnect/heartbeat@1.2.0(@types/node@18.15.11)(typescript@5.0.4)': + dependencies: + '@walletconnect/events': 1.0.1 + '@walletconnect/time': 1.0.2 + chai: 4.3.7 + mocha: 10.2.0 + ts-node: 10.9.1(@types/node@18.15.11)(typescript@5.0.4) + tslib: 1.14.1 + transitivePeerDependencies: + - '@swc/core' + - '@swc/wasm' + - '@types/node' + - typescript + + '@walletconnect/iso-crypto@1.8.0': + dependencies: + '@walletconnect/crypto': 1.0.3 + '@walletconnect/types': 1.8.0 + '@walletconnect/utils': 1.8.0 + + '@walletconnect/jsonrpc-types@1.0.2': + dependencies: + keyvaluestorage-interface: 1.0.0 + tslib: 1.14.1 + + '@walletconnect/jsonrpc-utils@1.0.6': + dependencies: + '@walletconnect/environment': 1.0.1 + '@walletconnect/jsonrpc-types': 1.0.2 + tslib: 1.14.1 + + '@walletconnect/keyvaluestorage@1.0.2': + dependencies: + safe-json-utils: 1.1.1 + tslib: 1.14.1 + + '@walletconnect/logger@2.0.1': + dependencies: + pino: 7.11.0 + tslib: 1.14.1 + + '@walletconnect/mobile-registry@1.4.0': {} + + '@walletconnect/randombytes@1.0.3': + dependencies: + '@walletconnect/encoding': 1.0.2 + '@walletconnect/environment': 1.0.1 + randombytes: 2.1.0 + tslib: 1.14.1 + + '@walletconnect/safe-json@1.0.0': {} + + '@walletconnect/socket-transport@1.8.0': + dependencies: + '@walletconnect/types': 1.8.0 + '@walletconnect/utils': 1.8.0 + ws: 7.5.3 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + + '@walletconnect/time@1.0.2': + dependencies: + tslib: 1.14.1 + + '@walletconnect/types@1.8.0': {} + + '@walletconnect/types@2.5.2(@types/node@18.15.11)(typescript@5.0.4)': + dependencies: + '@walletconnect/events': 1.0.1 + '@walletconnect/heartbeat': 1.2.0(@types/node@18.15.11)(typescript@5.0.4) + '@walletconnect/jsonrpc-types': 1.0.2 + '@walletconnect/keyvaluestorage': 1.0.2 + '@walletconnect/logger': 2.0.1 + events: 3.3.0 + transitivePeerDependencies: + - '@react-native-async-storage/async-storage' + - '@swc/core' + - '@swc/wasm' + - '@types/node' + - lokijs + - typescript + + '@walletconnect/utils@1.8.0': + dependencies: + '@walletconnect/browser-utils': 1.8.0 + '@walletconnect/encoding': 1.0.2 + '@walletconnect/jsonrpc-utils': 1.0.6 + '@walletconnect/types': 1.8.0 + bn.js: 4.11.8 + js-sha3: 0.8.0 + query-string: 6.13.5 + + '@walletconnect/window-getters@1.0.0': {} + + '@walletconnect/window-metadata@1.0.0': + dependencies: + '@walletconnect/window-getters': 1.0.0 + + abab@2.0.6: {} + + abbrev@1.1.1: {} + + acorn-globals@7.0.1: + dependencies: + acorn: 8.8.2 + acorn-walk: 8.2.0 + + acorn-jsx@5.3.2(acorn@8.8.2): + dependencies: + acorn: 8.8.2 + + acorn-walk@8.2.0: {} + + acorn@8.8.2: {} + + aes-js@3.1.2: {} + + agent-base@6.0.2: + dependencies: + debug: 4.3.4(supports-color@8.1.1) + transitivePeerDependencies: + - supports-color + + ajv@6.12.6: + dependencies: + fast-deep-equal: 3.1.3 + fast-json-stable-stringify: 2.1.0 + json-schema-traverse: 0.4.1 + uri-js: 4.4.1 + + algorand-walletconnect-qrcode-modal@1.8.0: + dependencies: + '@walletconnect/browser-utils': 1.8.0 + '@walletconnect/mobile-registry': 1.4.0 + '@walletconnect/types': 1.8.0 + copy-to-clipboard: 3.3.3 + preact: 10.4.1 + qrcode: 1.4.4 + + ansi-colors@4.1.1: {} + + ansi-regex@4.1.1: {} + + ansi-regex@5.0.1: {} + + ansi-styles@3.2.1: + dependencies: + color-convert: 1.9.3 + + ansi-styles@4.3.0: + dependencies: + color-convert: 2.0.1 + + ansi-styles@5.2.0: {} + + any-promise@1.3.0: {} + + anymatch@3.1.3: + dependencies: + normalize-path: 3.0.0 + picomatch: 2.3.1 + + aproba@2.0.0: {} + + are-we-there-yet@2.0.0: + dependencies: + delegates: 1.0.0 + readable-stream: 3.6.2 + + arg@4.1.3: {} + + arg@5.0.2: {} + + argparse@2.0.1: {} + + array-union@2.1.0: {} + + asn1.js@5.4.1: + dependencies: + bn.js: 4.12.0 + inherits: 2.0.4 + minimalistic-assert: 1.0.1 + safer-buffer: 2.1.2 + + assert@2.0.0: + dependencies: + es6-object-assign: 1.1.0 + is-nan: 1.3.2 + object-is: 1.1.5 + util: 0.12.5 + + assertion-error@1.1.0: {} + + asynckit@0.4.0: {} + + atomic-sleep@1.0.0: {} + + autoprefixer@10.4.14(postcss@8.4.31): + dependencies: + browserslist: 4.21.5 + caniuse-lite: 1.0.30001469 + fraction.js: 4.2.0 + normalize-range: 0.1.2 + picocolors: 1.0.0 + postcss: 8.4.31 + postcss-value-parser: 4.2.0 + + available-typed-arrays@1.0.5: {} + + balanced-match@1.0.2: {} + + base64-js@1.5.1: {} + + binary-extensions@2.2.0: {} + + blueimp-md5@2.19.0: {} + + bn.js@4.11.8: {} + + bn.js@4.12.0: {} + + bn.js@5.2.1: {} + + brace-expansion@1.1.11: + dependencies: + balanced-match: 1.0.2 + concat-map: 0.0.1 + + brace-expansion@2.0.1: + dependencies: + balanced-match: 1.0.2 + + braces@3.0.2: + dependencies: + fill-range: 7.0.1 + + brorand@1.1.0: {} + + browser-resolve@2.0.0: + dependencies: + resolve: 1.22.1 + + browser-stdout@1.3.1: {} + + browserify-aes@1.2.0: + dependencies: + buffer-xor: 1.0.3 + cipher-base: 1.0.4 + create-hash: 1.2.0 + evp_bytestokey: 1.0.3 + inherits: 2.0.4 + safe-buffer: 5.2.1 + + browserify-cipher@1.0.1: + dependencies: + browserify-aes: 1.2.0 + browserify-des: 1.0.2 + evp_bytestokey: 1.0.3 + + browserify-des@1.0.2: + dependencies: + cipher-base: 1.0.4 + des.js: 1.0.1 + inherits: 2.0.4 + safe-buffer: 5.2.1 + + browserify-rsa@4.1.0: + dependencies: + bn.js: 5.2.1 + randombytes: 2.1.0 + + browserify-sign@4.2.1: + dependencies: + bn.js: 5.2.1 + browserify-rsa: 4.1.0 + create-hash: 1.2.0 + create-hmac: 1.1.7 + elliptic: 6.5.4 + inherits: 2.0.4 + parse-asn1: 5.1.6 + readable-stream: 3.6.2 + safe-buffer: 5.2.1 + + browserify-zlib@0.2.0: + dependencies: + pako: 1.0.11 + + browserslist@4.21.5: + dependencies: + caniuse-lite: 1.0.30001469 + electron-to-chromium: 1.4.335 + node-releases: 2.0.10 + update-browserslist-db: 1.0.10(browserslist@4.21.5) + + buffer-alloc-unsafe@1.1.0: {} + + buffer-alloc@1.2.0: + dependencies: + buffer-alloc-unsafe: 1.1.0 + buffer-fill: 1.0.0 + + buffer-crc32@0.2.13: {} + + buffer-fill@1.0.0: {} + + buffer-from@1.1.2: {} + + buffer-xor@1.0.3: {} + + buffer@5.7.1: + dependencies: + base64-js: 1.5.1 + ieee754: 1.2.1 + + builtin-status-codes@3.0.0: {} + + cac@6.7.14: {} + + call-bind@1.0.2: + dependencies: + function-bind: 1.1.1 + get-intrinsic: 1.2.0 + + callsites@3.1.0: {} + + camelcase-css@2.0.1: {} + + camelcase@5.3.1: {} + + camelcase@6.3.0: {} + + caniuse-lite@1.0.30001469: {} + + canvas@2.11.2: + dependencies: + '@mapbox/node-pre-gyp': 1.0.11 + nan: 2.20.0 + simple-get: 3.1.1 + transitivePeerDependencies: + - encoding + - supports-color + + chai@4.3.7: + dependencies: + assertion-error: 1.1.0 + check-error: 1.0.2 + deep-eql: 4.1.3 + get-func-name: 2.0.0 + loupe: 2.3.6 + pathval: 1.1.1 + type-detect: 4.0.8 + + chalk@4.1.2: + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + + check-error@1.0.2: {} + + chokidar@3.5.3: + dependencies: + anymatch: 3.1.3 + braces: 3.0.2 + glob-parent: 5.1.2 + is-binary-path: 2.1.0 + is-glob: 4.0.3 + normalize-path: 3.0.0 + readdirp: 3.6.0 + optionalDependencies: + fsevents: 2.3.2 + + chownr@2.0.0: {} + + cipher-base@1.0.4: + dependencies: + inherits: 2.0.4 + safe-buffer: 5.2.1 + + cliui@5.0.0: + dependencies: + string-width: 3.1.0 + strip-ansi: 5.2.0 + wrap-ansi: 5.1.0 + + cliui@7.0.4: + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + + color-convert@1.9.3: + dependencies: + color-name: 1.1.3 + + color-convert@2.0.1: + dependencies: + color-name: 1.1.4 + + color-name@1.1.3: {} + + color-name@1.1.4: {} + + color-support@1.1.3: {} + + combined-stream@1.0.8: + dependencies: + delayed-stream: 1.0.0 + + commander@4.1.1: {} + + concat-map@0.0.1: {} + + concordance@5.0.4: + dependencies: + date-time: 3.1.0 + esutils: 2.0.3 + fast-diff: 1.2.0 + js-string-escape: 1.0.1 + lodash: 4.17.21 + md5-hex: 3.0.1 + semver: 7.3.8 + well-known-symbols: 2.0.0 + + console-browserify@1.2.0: {} + + console-control-strings@1.1.0: {} + + constants-browserify@1.0.0: {} + + copy-to-clipboard@3.3.3: + dependencies: + toggle-selection: 1.0.6 + + create-ecdh@4.0.4: + dependencies: + bn.js: 4.11.8 + elliptic: 6.5.4 + + create-hash@1.2.0: + dependencies: + cipher-base: 1.0.4 + inherits: 2.0.4 + md5.js: 1.3.5 + ripemd160: 2.0.2 + sha.js: 2.4.11 + + create-hmac@1.1.7: + dependencies: + cipher-base: 1.0.4 + create-hash: 1.2.0 + inherits: 2.0.4 + ripemd160: 2.0.2 + safe-buffer: 5.2.1 + sha.js: 2.4.11 + + create-require@1.1.1: {} + + cross-spawn@7.0.3: + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + + crypto-browserify@3.12.0: + dependencies: + browserify-cipher: 1.0.1 + browserify-sign: 4.2.1 + create-ecdh: 4.0.4 + create-hash: 1.2.0 + create-hmac: 1.1.7 + diffie-hellman: 5.0.3 + inherits: 2.0.4 + pbkdf2: 3.1.2 + public-encrypt: 4.0.3 + randombytes: 2.1.0 + randomfill: 1.0.4 + + cssesc@3.0.0: {} + + cssstyle@3.0.0: + dependencies: + rrweb-cssom: 0.6.0 + + data-urls@4.0.0: + dependencies: + abab: 2.0.6 + whatwg-mimetype: 3.0.0 + whatwg-url: 12.0.1 + + date-time@3.1.0: + dependencies: + time-zone: 1.0.0 + + debug@4.3.4(supports-color@8.1.1): + dependencies: + ms: 2.1.2 + optionalDependencies: + supports-color: 8.1.1 + + decamelize@1.2.0: {} + + decamelize@4.0.0: {} + + decimal.js@10.4.3: {} + + decode-uri-component@0.2.2: {} + + decompress-response@4.2.1: + dependencies: + mimic-response: 2.1.0 + + deep-eql@4.1.3: + dependencies: + type-detect: 4.0.8 + + deep-is@0.1.4: {} + + deepmerge@4.3.1: {} + + define-properties@1.2.0: + dependencies: + has-property-descriptors: 1.0.0 + object-keys: 1.1.1 + + delayed-stream@1.0.0: {} + + delegates@1.0.0: {} + + des.js@1.0.1: + dependencies: + inherits: 2.0.4 + minimalistic-assert: 1.0.1 + + detect-browser@5.2.0: {} + + detect-indent@6.1.0: {} + + detect-libc@2.0.3: {} + + didyoumean@1.2.2: {} + + diff@4.0.2: {} + + diff@5.0.0: {} + + diffie-hellman@5.0.3: + dependencies: + bn.js: 4.11.8 + miller-rabin: 4.0.1 + randombytes: 2.1.0 + + dijkstrajs@1.0.2: {} + + dir-glob@3.0.1: + dependencies: + path-type: 4.0.0 + + dlv@1.1.3: {} + + doctrine@3.0.0: + dependencies: + esutils: 2.0.3 + + domain-browser@4.22.0: {} + + domexception@4.0.0: + dependencies: + webidl-conversions: 7.0.0 + + duplexify@4.1.2: + dependencies: + end-of-stream: 1.4.4 + inherits: 2.0.4 + readable-stream: 3.6.2 + stream-shift: 1.0.1 + + electron-to-chromium@1.4.335: {} + + elliptic@6.5.4: + dependencies: + bn.js: 4.12.0 + brorand: 1.1.0 + hash.js: 1.1.7 + hmac-drbg: 1.0.1 + inherits: 2.0.4 + minimalistic-assert: 1.0.1 + minimalistic-crypto-utils: 1.0.1 + + emoji-regex@7.0.3: {} + + emoji-regex@8.0.0: {} + + end-of-stream@1.4.4: + dependencies: + once: 1.4.0 + + engine.io-client@6.5.3: + dependencies: + '@socket.io/component-emitter': 3.1.2 + debug: 4.3.4(supports-color@8.1.1) + engine.io-parser: 5.2.2 + ws: 8.11.0 + xmlhttprequest-ssl: 2.0.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + engine.io-parser@5.2.2: {} + + entities@4.4.0: {} + + es6-object-assign@1.1.0: {} + + es6-promise@3.3.1: {} + + esbuild@0.17.12: + optionalDependencies: + '@esbuild/android-arm': 0.17.12 + '@esbuild/android-arm64': 0.17.12 + '@esbuild/android-x64': 0.17.12 + '@esbuild/darwin-arm64': 0.17.12 + '@esbuild/darwin-x64': 0.17.12 + '@esbuild/freebsd-arm64': 0.17.12 + '@esbuild/freebsd-x64': 0.17.12 + '@esbuild/linux-arm': 0.17.12 + '@esbuild/linux-arm64': 0.17.12 + '@esbuild/linux-ia32': 0.17.12 + '@esbuild/linux-loong64': 0.17.12 + '@esbuild/linux-mips64el': 0.17.12 + '@esbuild/linux-ppc64': 0.17.12 + '@esbuild/linux-riscv64': 0.17.12 + '@esbuild/linux-s390x': 0.17.12 + '@esbuild/linux-x64': 0.17.12 + '@esbuild/netbsd-x64': 0.17.12 + '@esbuild/openbsd-x64': 0.17.12 + '@esbuild/sunos-x64': 0.17.12 + '@esbuild/win32-arm64': 0.17.12 + '@esbuild/win32-ia32': 0.17.12 + '@esbuild/win32-x64': 0.17.12 + + escalade@3.1.1: {} + + escape-string-regexp@4.0.0: {} + + escodegen@2.0.0: + dependencies: + esprima: 4.0.1 + estraverse: 5.3.0 + esutils: 2.0.3 + optionator: 0.8.3 + optionalDependencies: + source-map: 0.6.1 + + eslint-config-prettier@8.8.0(eslint@8.38.0): + dependencies: + eslint: 8.38.0 + + eslint-plugin-svelte3@4.0.0(eslint@8.38.0)(svelte@3.58.0): + dependencies: + eslint: 8.38.0 + svelte: 3.58.0 + + eslint-scope@5.1.1: + dependencies: + esrecurse: 4.3.0 + estraverse: 4.3.0 + + eslint-scope@7.1.1: + dependencies: + esrecurse: 4.3.0 + estraverse: 5.3.0 + + eslint-visitor-keys@3.4.0: {} + + eslint@8.38.0: + dependencies: + '@eslint-community/eslint-utils': 4.3.0(eslint@8.38.0) + '@eslint-community/regexpp': 4.4.0 + '@eslint/eslintrc': 2.0.2 + '@eslint/js': 8.38.0 + '@humanwhocodes/config-array': 0.11.8 + '@humanwhocodes/module-importer': 1.0.1 + '@nodelib/fs.walk': 1.2.8 + ajv: 6.12.6 + chalk: 4.1.2 + cross-spawn: 7.0.3 + debug: 4.3.4(supports-color@8.1.1) + doctrine: 3.0.0 + escape-string-regexp: 4.0.0 + eslint-scope: 7.1.1 + eslint-visitor-keys: 3.4.0 + espree: 9.5.1 + esquery: 1.5.0 + esutils: 2.0.3 + fast-deep-equal: 3.1.3 + file-entry-cache: 6.0.1 + find-up: 5.0.0 + glob-parent: 6.0.2 + globals: 13.20.0 + grapheme-splitter: 1.0.4 + ignore: 5.2.4 + import-fresh: 3.3.0 + imurmurhash: 0.1.4 + is-glob: 4.0.3 + is-path-inside: 3.0.3 + js-sdsl: 4.3.0 + js-yaml: 4.1.0 + json-stable-stringify-without-jsonify: 1.0.1 + levn: 0.4.1 + lodash.merge: 4.6.2 + minimatch: 3.1.2 + natural-compare: 1.4.0 + optionator: 0.9.1 + strip-ansi: 6.0.1 + strip-json-comments: 3.1.1 + text-table: 0.2.0 + transitivePeerDependencies: + - supports-color + + espree@9.5.1: + dependencies: + acorn: 8.8.2 + acorn-jsx: 5.3.2(acorn@8.8.2) + eslint-visitor-keys: 3.4.0 + + esprima@4.0.1: {} + + esquery@1.5.0: + dependencies: + estraverse: 5.3.0 + + esrecurse@4.3.0: + dependencies: + estraverse: 5.3.0 + + estraverse@4.3.0: {} + + estraverse@5.3.0: {} + + estree-walker@2.0.2: {} + + esutils@2.0.3: {} + + eventemitter3@5.0.1: {} + + events@3.3.0: {} + + evp_bytestokey@1.0.3: + dependencies: + md5.js: 1.3.5 + safe-buffer: 5.2.1 + + fast-deep-equal@3.1.3: {} + + fast-diff@1.2.0: {} + + fast-glob@3.2.12: + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.5 + + fast-json-stable-stringify@2.1.0: {} + + fast-levenshtein@2.0.6: {} + + fast-redact@3.1.2: {} + + fastq@1.15.0: + dependencies: + reusify: 1.0.4 + + fflate@0.7.4: {} + + file-entry-cache@6.0.1: + dependencies: + flat-cache: 3.0.4 + + fill-range@7.0.1: + dependencies: + to-regex-range: 5.0.1 + + find-up@3.0.0: + dependencies: + locate-path: 3.0.0 + + find-up@5.0.0: + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + + flat-cache@3.0.4: + dependencies: + flatted: 3.2.7 + rimraf: 3.0.2 + + flat@5.0.2: {} + + flatted@3.2.7: {} + + for-each@0.3.3: + dependencies: + is-callable: 1.2.7 + + form-data@4.0.0: + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + mime-types: 2.1.35 + + fraction.js@4.2.0: {} + + fs-minipass@2.1.0: + dependencies: + minipass: 3.3.6 + + fs.realpath@1.0.0: {} + + fsevents@2.3.2: + optional: true + + function-bind@1.1.1: {} + + gauge@3.0.2: + dependencies: + aproba: 2.0.0 + color-support: 1.1.3 + console-control-strings: 1.1.0 + has-unicode: 2.0.1 + object-assign: 4.1.1 + signal-exit: 3.0.7 + string-width: 4.2.3 + strip-ansi: 6.0.1 + wide-align: 1.1.5 + + get-caller-file@2.0.5: {} + + get-func-name@2.0.0: {} + + get-intrinsic@1.2.0: + dependencies: + function-bind: 1.1.1 + has: 1.0.3 + has-symbols: 1.0.3 + + glob-parent@5.1.2: + dependencies: + is-glob: 4.0.3 + + glob-parent@6.0.2: + dependencies: + is-glob: 4.0.3 + + glob@7.1.6: + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + + glob@7.2.0: + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + + glob@7.2.3: + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + + globals@13.20.0: + dependencies: + type-fest: 0.20.2 + + globby@11.1.0: + dependencies: + array-union: 2.1.0 + dir-glob: 3.0.1 + fast-glob: 3.2.12 + ignore: 5.2.4 + merge2: 1.4.1 + slash: 3.0.0 + + gopd@1.0.1: + dependencies: + get-intrinsic: 1.2.0 + + graceful-fs@4.2.11: {} + + grapheme-splitter@1.0.4: {} + + has-flag@4.0.0: {} + + has-property-descriptors@1.0.0: + dependencies: + get-intrinsic: 1.2.0 + + has-symbols@1.0.3: {} + + has-tostringtag@1.0.0: + dependencies: + has-symbols: 1.0.3 + + has-unicode@2.0.1: {} + + has@1.0.3: + dependencies: + function-bind: 1.1.1 + + hash-base@3.1.0: + dependencies: + inherits: 2.0.4 + readable-stream: 3.6.2 + safe-buffer: 5.2.1 + + hash.js@1.1.7: + dependencies: + inherits: 2.0.4 + minimalistic-assert: 1.0.1 + + he@1.2.0: {} + + hmac-drbg@1.0.1: + dependencies: + hash.js: 1.1.7 + minimalistic-assert: 1.0.1 + minimalistic-crypto-utils: 1.0.1 + + html-encoding-sniffer@3.0.0: + dependencies: + whatwg-encoding: 2.0.0 + + http-proxy-agent@5.0.0: + dependencies: + '@tootallnate/once': 2.0.0 + agent-base: 6.0.2 + debug: 4.3.4(supports-color@8.1.1) + transitivePeerDependencies: + - supports-color + + https-browserify@1.0.0: {} + + https-proxy-agent@5.0.1: + dependencies: + agent-base: 6.0.2 + debug: 4.3.4(supports-color@8.1.1) + transitivePeerDependencies: + - supports-color + + iconv-lite@0.6.3: + dependencies: + safer-buffer: 2.1.2 + + ieee754@1.2.1: {} + + ignore@5.2.4: {} + + import-fresh@3.3.0: + dependencies: + parent-module: 1.0.1 + resolve-from: 4.0.0 + + imurmurhash@0.1.4: {} + + inflight@1.0.6: + dependencies: + once: 1.4.0 + wrappy: 1.0.2 + + inherits@2.0.4: {} + + is-arguments@1.1.1: + dependencies: + call-bind: 1.0.2 + has-tostringtag: 1.0.0 + + is-binary-path@2.1.0: + dependencies: + binary-extensions: 2.2.0 + + is-callable@1.2.7: {} + + is-core-module@2.11.0: + dependencies: + has: 1.0.3 + + is-extglob@2.1.1: {} + + is-fullwidth-code-point@2.0.0: {} + + is-fullwidth-code-point@3.0.0: {} + + is-generator-function@1.0.10: + dependencies: + has-tostringtag: 1.0.0 + + is-glob@4.0.3: + dependencies: + is-extglob: 2.1.1 + + is-nan@1.3.2: + dependencies: + call-bind: 1.0.2 + define-properties: 1.2.0 + + is-number@7.0.0: {} + + is-path-inside@3.0.3: {} + + is-plain-obj@2.1.0: {} + + is-potential-custom-element-name@1.0.1: {} + + is-typed-array@1.1.10: + dependencies: + available-typed-arrays: 1.0.5 + call-bind: 1.0.2 + for-each: 0.3.3 + gopd: 1.0.1 + has-tostringtag: 1.0.0 + + is-typedarray@1.0.0: {} + + is-unicode-supported@0.1.0: {} + + isarray@2.0.5: {} + + isexe@2.0.0: {} + + isomorphic-timers-promises@1.0.1: {} + + jiti@1.18.2: {} + + js-sdsl@4.3.0: {} + + js-sha3@0.8.0: {} + + js-string-escape@1.0.1: {} + + js-yaml@4.1.0: + dependencies: + argparse: 2.0.1 + + jsdom@21.1.1(canvas@2.11.2): + dependencies: + abab: 2.0.6 + acorn: 8.8.2 + acorn-globals: 7.0.1 + cssstyle: 3.0.0 + data-urls: 4.0.0 + decimal.js: 10.4.3 + domexception: 4.0.0 + escodegen: 2.0.0 + form-data: 4.0.0 + html-encoding-sniffer: 3.0.0 + http-proxy-agent: 5.0.0 + https-proxy-agent: 5.0.1 + is-potential-custom-element-name: 1.0.1 + nwsapi: 2.2.2 + parse5: 7.1.2 + rrweb-cssom: 0.6.0 + saxes: 6.0.0 + symbol-tree: 3.2.4 + tough-cookie: 4.1.3 + w3c-xmlserializer: 4.0.0 + webidl-conversions: 7.0.0 + whatwg-encoding: 2.0.0 + whatwg-mimetype: 3.0.0 + whatwg-url: 12.0.1 + ws: 8.13.0 + xml-name-validator: 4.0.0 + optionalDependencies: + canvas: 2.11.2 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + json-schema-traverse@0.4.1: {} + + json-stable-stringify-without-jsonify@1.0.1: {} + + jsonc-parser@3.2.0: {} + + keyvaluestorage-interface@1.0.0: {} + + kleur@4.1.5: {} + + levn@0.3.0: + dependencies: + prelude-ls: 1.1.2 + type-check: 0.3.2 + + levn@0.4.1: + dependencies: + prelude-ls: 1.2.1 + type-check: 0.4.0 + + lilconfig@2.1.0: {} + + lines-and-columns@1.2.4: {} + + local-pkg@0.4.3: {} + + locate-path@3.0.0: + dependencies: + p-locate: 3.0.0 + path-exists: 3.0.0 + + locate-path@6.0.0: + dependencies: + p-locate: 5.0.0 + + lodash.merge@4.6.2: {} + + lodash@4.17.21: {} + + log-symbols@4.1.0: + dependencies: + chalk: 4.1.2 + is-unicode-supported: 0.1.0 + + loupe@2.3.6: + dependencies: + get-func-name: 2.0.0 + + lru-cache@6.0.0: + dependencies: + yallist: 4.0.0 + + magic-string@0.27.0: + dependencies: + '@jridgewell/sourcemap-codec': 1.4.14 + + magic-string@0.30.0: + dependencies: + '@jridgewell/sourcemap-codec': 1.4.14 + + make-dir@3.1.0: + dependencies: + semver: 6.3.1 + + make-error@1.3.6: {} + + md5-hex@3.0.1: + dependencies: + blueimp-md5: 2.19.0 + + md5.js@1.3.5: + dependencies: + hash-base: 3.1.0 + inherits: 2.0.4 + safe-buffer: 5.2.1 + + merge2@1.4.1: {} + + micromatch@4.0.5: + dependencies: + braces: 3.0.2 + picomatch: 2.3.1 + + miller-rabin@4.0.1: + dependencies: + bn.js: 4.11.8 + brorand: 1.1.0 + + mime-db@1.52.0: {} + + mime-types@2.1.35: + dependencies: + mime-db: 1.52.0 + + mimic-response@2.1.0: {} + + min-indent@1.0.1: {} + + minimalistic-assert@1.0.1: {} + + minimalistic-crypto-utils@1.0.1: {} + + minimatch@3.1.2: + dependencies: + brace-expansion: 1.1.11 + + minimatch@5.0.1: + dependencies: + brace-expansion: 2.0.1 + + minimist@1.2.8: {} + + minipass@3.3.6: + dependencies: + yallist: 4.0.0 + + minipass@5.0.0: {} + + minizlib@2.1.2: + dependencies: + minipass: 3.3.6 + yallist: 4.0.0 + + mkdirp@0.5.6: + dependencies: + minimist: 1.2.8 + + mkdirp@1.0.4: {} + + mlly@1.2.0: + dependencies: + acorn: 8.8.2 + pathe: 1.1.0 + pkg-types: 1.0.2 + ufo: 1.1.1 + + mocha@10.2.0: + dependencies: + ansi-colors: 4.1.1 + browser-stdout: 1.3.1 + chokidar: 3.5.3 + debug: 4.3.4(supports-color@8.1.1) + diff: 5.0.0 + escape-string-regexp: 4.0.0 + find-up: 5.0.0 + glob: 7.2.0 + he: 1.2.0 + js-yaml: 4.1.0 + log-symbols: 4.1.0 + minimatch: 5.0.1 + ms: 2.1.3 + nanoid: 3.3.3 + serialize-javascript: 6.0.0 + strip-json-comments: 3.1.1 + supports-color: 8.1.1 + workerpool: 6.2.1 + yargs: 16.2.0 + yargs-parser: 20.2.4 + yargs-unparser: 2.0.0 + + mri@1.2.0: {} + + mrmime@1.0.1: {} + + ms@2.1.2: {} + + ms@2.1.3: {} + + mz@2.7.0: + dependencies: + any-promise: 1.3.0 + object-assign: 4.1.1 + thenify-all: 1.6.0 + + nan@2.20.0: {} + + nanoid@3.3.3: {} + + nanoid@3.3.6: {} + + natural-compare-lite@1.4.0: {} + + natural-compare@1.4.0: {} + + node-fetch@2.7.0: + dependencies: + whatwg-url: 5.0.0 + + node-releases@2.0.10: {} + + node-stdlib-browser@1.2.0: + dependencies: + assert: 2.0.0 + browser-resolve: 2.0.0 + browserify-zlib: 0.2.0 + buffer: 5.7.1 + console-browserify: 1.2.0 + constants-browserify: 1.0.0 + create-require: 1.1.1 + crypto-browserify: 3.12.0 + domain-browser: 4.22.0 + events: 3.3.0 + https-browserify: 1.0.0 + isomorphic-timers-promises: 1.0.1 + os-browserify: 0.3.0 + path-browserify: 1.0.1 + pkg-dir: 5.0.0 + process: 0.11.10 + punycode: 1.4.1 + querystring-es3: 0.2.1 + readable-stream: 3.6.2 + stream-browserify: 3.0.0 + stream-http: 3.2.0 + string_decoder: 1.3.0 + timers-browserify: 2.0.12 + tty-browserify: 0.0.1 + url: 0.11.0 + util: 0.12.5 + vm-browserify: 1.1.2 + + nopt@5.0.0: + dependencies: + abbrev: 1.1.1 + + normalize-path@3.0.0: {} + + normalize-range@0.1.2: {} + + npmlog@5.0.1: + dependencies: + are-we-there-yet: 2.0.0 + console-control-strings: 1.1.0 + gauge: 3.0.2 + set-blocking: 2.0.0 + + nwsapi@2.2.2: {} + + object-assign@4.1.1: {} + + object-hash@3.0.0: {} + + object-is@1.1.5: + dependencies: + call-bind: 1.0.2 + define-properties: 1.2.0 + + object-keys@1.1.1: {} + + on-exit-leak-free@0.2.0: {} + + once@1.4.0: + dependencies: + wrappy: 1.0.2 + + optionator@0.8.3: + dependencies: + deep-is: 0.1.4 + fast-levenshtein: 2.0.6 + levn: 0.3.0 + prelude-ls: 1.1.2 + type-check: 0.3.2 + word-wrap: 1.2.5 + + optionator@0.9.1: + dependencies: + deep-is: 0.1.4 + fast-levenshtein: 2.0.6 + levn: 0.4.1 + prelude-ls: 1.2.1 + type-check: 0.4.0 + word-wrap: 1.2.5 + + os-browserify@0.3.0: {} + + p-limit@2.3.0: + dependencies: + p-try: 2.2.0 + + p-limit@3.1.0: + dependencies: + yocto-queue: 0.1.0 + + p-limit@4.0.0: + dependencies: + yocto-queue: 1.0.0 + + p-locate@3.0.0: + dependencies: + p-limit: 2.3.0 + + p-locate@5.0.0: + dependencies: + p-limit: 3.1.0 + + p-try@2.2.0: {} + + pako@1.0.11: {} + + parent-module@1.0.1: + dependencies: + callsites: 3.1.0 + + parse-asn1@5.1.6: + dependencies: + asn1.js: 5.4.1 + browserify-aes: 1.2.0 + evp_bytestokey: 1.0.3 + pbkdf2: 3.1.2 + safe-buffer: 5.2.1 + + parse5@7.1.2: + dependencies: + entities: 4.4.0 + + path-browserify@1.0.1: {} + + path-exists@3.0.0: {} + + path-exists@4.0.0: {} + + path-is-absolute@1.0.1: {} + + path-key@3.1.1: {} + + path-parse@1.0.7: {} + + path-type@4.0.0: {} + + pathe@1.1.0: {} + + pathval@1.1.1: {} + + pbkdf2@3.1.2: + dependencies: + create-hash: 1.2.0 + create-hmac: 1.1.7 + ripemd160: 2.0.2 + safe-buffer: 5.2.1 + sha.js: 2.4.11 + + picocolors@1.0.0: {} + + picomatch@2.3.1: {} + + pify@2.3.0: {} + + pino-abstract-transport@0.5.0: + dependencies: + duplexify: 4.1.2 + split2: 4.2.0 + + pino-std-serializers@4.0.0: {} + + pino@7.11.0: + dependencies: + atomic-sleep: 1.0.0 + fast-redact: 3.1.2 + on-exit-leak-free: 0.2.0 + pino-abstract-transport: 0.5.0 + pino-std-serializers: 4.0.0 + process-warning: 1.0.0 + quick-format-unescaped: 4.0.4 + real-require: 0.1.0 + safe-stable-stringify: 2.4.3 + sonic-boom: 2.8.0 + thread-stream: 0.15.2 + + pirates@4.0.5: {} + + pkg-dir@5.0.0: + dependencies: + find-up: 5.0.0 + + pkg-types@1.0.2: + dependencies: + jsonc-parser: 3.2.0 + mlly: 1.2.0 + pathe: 1.1.0 + + pngjs@3.4.0: {} + + postcss-import@14.1.0(postcss@8.4.31): + dependencies: + postcss: 8.4.31 + postcss-value-parser: 4.2.0 + read-cache: 1.0.0 + resolve: 1.22.1 + + postcss-js@4.0.1(postcss@8.4.31): + dependencies: + camelcase-css: 2.0.1 + postcss: 8.4.31 + + postcss-load-config@3.1.4(postcss@8.4.31)(ts-node@10.9.1(@types/node@18.15.11)(typescript@5.0.4)): + dependencies: + lilconfig: 2.1.0 + yaml: 1.10.2 + optionalDependencies: + postcss: 8.4.31 + ts-node: 10.9.1(@types/node@18.15.11)(typescript@5.0.4) + + postcss-nested@6.0.0(postcss@8.4.31): + dependencies: + postcss: 8.4.31 + postcss-selector-parser: 6.0.11 + + postcss-selector-parser@6.0.11: + dependencies: + cssesc: 3.0.0 + util-deprecate: 1.0.2 + + postcss-value-parser@4.2.0: {} + + postcss@8.4.31: + dependencies: + nanoid: 3.3.6 + picocolors: 1.0.0 + source-map-js: 1.0.2 + + preact@10.4.1: {} + + prelude-ls@1.1.2: {} + + prelude-ls@1.2.1: {} + + prettier-plugin-multiline-arrays@1.1.3: + dependencies: + '@augment-vir/common': 8.1.0 + + prettier-plugin-organize-imports@3.2.2(prettier@2.8.7)(typescript@5.0.4): + dependencies: + prettier: 2.8.7 + typescript: 5.0.4 + + prettier-plugin-svelte@2.10.0(prettier@2.8.7)(svelte@3.58.0): + dependencies: + prettier: 2.8.7 + svelte: 3.58.0 + + prettier-plugin-tailwindcss@0.2.7(prettier-plugin-organize-imports@3.2.2(prettier@2.8.7)(typescript@5.0.4))(prettier-plugin-svelte@2.10.0(prettier@2.8.7)(svelte@3.58.0))(prettier@2.8.7): + dependencies: + prettier: 2.8.7 + optionalDependencies: + prettier-plugin-organize-imports: 3.2.2(prettier@2.8.7)(typescript@5.0.4) + prettier-plugin-svelte: 2.10.0(prettier@2.8.7)(svelte@3.58.0) + + prettier@2.8.7: {} + + pretty-format@27.5.1: + dependencies: + ansi-regex: 5.0.1 + ansi-styles: 5.2.0 + react-is: 17.0.2 + + prism-svelte@0.4.7: {} + + prism-themes@1.9.0: {} + + prismjs@1.29.0: {} + + process-warning@1.0.0: {} + + process@0.11.10: {} + + psl@1.9.0: {} + + public-encrypt@4.0.3: + dependencies: + bn.js: 4.11.8 + browserify-rsa: 4.1.0 + create-hash: 1.2.0 + parse-asn1: 5.1.6 + randombytes: 2.1.0 + safe-buffer: 5.2.1 + + punycode@1.3.2: {} + + punycode@1.4.1: {} + + punycode@2.3.0: {} + + qr-code-styling@1.6.0-rc.1: + dependencies: + qrcode-generator: 1.4.4 + + qrcode-generator@1.4.4: {} + + qrcode@1.4.4: + dependencies: + buffer: 5.7.1 + buffer-alloc: 1.2.0 + buffer-from: 1.1.2 + dijkstrajs: 1.0.2 + isarray: 2.0.5 + pngjs: 3.4.0 + yargs: 13.3.2 + + query-string@6.13.5: + dependencies: + decode-uri-component: 0.2.2 + split-on-first: 1.1.0 + strict-uri-encode: 2.0.0 + + querystring-es3@0.2.1: {} + + querystring@0.2.0: {} + + querystringify@2.2.0: {} + + queue-microtask@1.2.3: {} + + quick-format-unescaped@4.0.4: {} + + quick-lru@5.1.1: {} + + randombytes@2.1.0: + dependencies: + safe-buffer: 5.2.1 + + randomfill@1.0.4: + dependencies: + randombytes: 2.1.0 + safe-buffer: 5.2.1 + + react-is@17.0.2: {} + + read-cache@1.0.0: + dependencies: + pify: 2.3.0 + + readable-stream@3.6.2: + dependencies: + inherits: 2.0.4 + string_decoder: 1.3.0 + util-deprecate: 1.0.2 + + readdirp@3.6.0: + dependencies: + picomatch: 2.3.1 + + real-require@0.1.0: {} + + require-directory@2.1.1: {} + + require-main-filename@2.0.0: {} + + requires-port@1.0.0: {} + + resolve-from@4.0.0: {} + + resolve@1.22.1: + dependencies: + is-core-module: 2.11.0 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + + reusify@1.0.4: {} + + rimraf@2.7.1: + dependencies: + glob: 7.2.3 + + rimraf@3.0.2: + dependencies: + glob: 7.2.3 + + ripemd160@2.0.2: + dependencies: + hash-base: 3.1.0 + inherits: 2.0.4 + + rollup@3.20.0: + optionalDependencies: + fsevents: 2.3.2 + + rrweb-cssom@0.6.0: {} + + run-parallel@1.2.0: + dependencies: + queue-microtask: 1.2.3 + + sade@1.8.1: + dependencies: + mri: 1.2.0 + + safe-buffer@5.2.1: {} + + safe-json-utils@1.1.1: {} + + safe-stable-stringify@2.4.3: {} + + safer-buffer@2.1.2: {} + + sander@0.5.1: + dependencies: + es6-promise: 3.3.1 + graceful-fs: 4.2.11 + mkdirp: 0.5.6 + rimraf: 2.7.1 + + saxes@6.0.0: + dependencies: + xmlchars: 2.2.0 + + semver@6.3.1: {} + + semver@7.3.8: + dependencies: + lru-cache: 6.0.0 + + serialize-javascript@6.0.0: + dependencies: + randombytes: 2.1.0 + + set-blocking@2.0.0: {} + + setimmediate@1.0.5: {} + + sha.js@2.4.11: + dependencies: + inherits: 2.0.4 + safe-buffer: 5.2.1 + + shebang-command@2.0.0: + dependencies: + shebang-regex: 3.0.0 + + shebang-regex@3.0.0: {} + + siginfo@2.0.0: {} + + signal-exit@3.0.7: {} + + simple-concat@1.0.1: {} + + simple-get@3.1.1: + dependencies: + decompress-response: 4.2.1 + once: 1.4.0 + simple-concat: 1.0.1 + + sirv@2.0.2: + dependencies: + '@polka/url': 1.0.0-next.21 + mrmime: 1.0.1 + totalist: 3.0.0 + + slash@3.0.0: {} + + socket.io-client@4.7.5: + dependencies: + '@socket.io/component-emitter': 3.1.2 + debug: 4.3.4(supports-color@8.1.1) + engine.io-client: 6.5.3 + socket.io-parser: 4.2.4 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + socket.io-parser@4.2.4: + dependencies: + '@socket.io/component-emitter': 3.1.2 + debug: 4.3.4(supports-color@8.1.1) + transitivePeerDependencies: + - supports-color + + sonic-boom@2.8.0: + dependencies: + atomic-sleep: 1.0.0 + + sorcery@0.11.0: + dependencies: + '@jridgewell/sourcemap-codec': 1.4.14 + buffer-crc32: 0.2.13 + minimist: 1.2.8 + sander: 0.5.1 + + source-map-js@1.0.2: {} + + source-map@0.6.1: {} + + split-on-first@1.1.0: {} + + split2@4.2.0: {} + + stackback@0.0.2: {} + + std-env@3.3.2: {} + + stream-browserify@3.0.0: + dependencies: + inherits: 2.0.4 + readable-stream: 3.6.2 + + stream-http@3.2.0: + dependencies: + builtin-status-codes: 3.0.0 + inherits: 2.0.4 + readable-stream: 3.6.2 + xtend: 4.0.2 + + stream-shift@1.0.1: {} + + strict-uri-encode@2.0.0: {} + + string-width@3.1.0: + dependencies: + emoji-regex: 7.0.3 + is-fullwidth-code-point: 2.0.0 + strip-ansi: 5.2.0 + + string-width@4.2.3: + dependencies: + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 + + string_decoder@1.3.0: + dependencies: + safe-buffer: 5.2.1 + + strip-ansi@5.2.0: + dependencies: + ansi-regex: 4.1.1 + + strip-ansi@6.0.1: + dependencies: + ansi-regex: 5.0.1 + + strip-indent@3.0.0: + dependencies: + min-indent: 1.0.1 + + strip-json-comments@3.1.1: {} + + strip-literal@1.0.1: + dependencies: + acorn: 8.8.2 + + sucrase@3.32.0: + dependencies: + '@jridgewell/gen-mapping': 0.3.3 + commander: 4.1.1 + glob: 7.1.6 + lines-and-columns: 1.2.4 + mz: 2.7.0 + pirates: 4.0.5 + ts-interface-checker: 0.1.13 + + supports-color@7.2.0: + dependencies: + has-flag: 4.0.0 + + supports-color@8.1.1: + dependencies: + has-flag: 4.0.0 + + supports-preserve-symlinks-flag@1.0.0: {} + + svelte-check@3.2.0(postcss-load-config@3.1.4(postcss@8.4.31)(ts-node@10.9.1(@types/node@18.15.11)(typescript@5.0.4)))(postcss@8.4.31)(svelte@3.58.0): + dependencies: + '@jridgewell/trace-mapping': 0.3.17 + chokidar: 3.5.3 + fast-glob: 3.2.12 + import-fresh: 3.3.0 + picocolors: 1.0.0 + sade: 1.8.1 + svelte: 3.58.0 + svelte-preprocess: 5.0.3(postcss-load-config@3.1.4(postcss@8.4.31)(ts-node@10.9.1(@types/node@18.15.11)(typescript@5.0.4)))(postcss@8.4.31)(svelte@3.58.0)(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - '@babel/core' + - coffeescript + - less + - postcss + - postcss-load-config + - pug + - sass + - stylus + - sugarss + + svelte-hmr@0.15.1(svelte@3.58.0): + dependencies: + svelte: 3.58.0 + + svelte-preprocess@5.0.3(postcss-load-config@3.1.4(postcss@8.4.31)(ts-node@10.9.1(@types/node@18.15.11)(typescript@5.0.4)))(postcss@8.4.31)(svelte@3.58.0)(typescript@5.0.4): + dependencies: + '@types/pug': 2.0.6 + detect-indent: 6.1.0 + magic-string: 0.27.0 + sorcery: 0.11.0 + strip-indent: 3.0.0 + svelte: 3.58.0 + optionalDependencies: + postcss: 8.4.31 + postcss-load-config: 3.1.4(postcss@8.4.31)(ts-node@10.9.1(@types/node@18.15.11)(typescript@5.0.4)) + typescript: 5.0.4 + + svelte-prism@1.1.6: + dependencies: + prism-svelte: 0.4.7 + prismjs: 1.29.0 + + svelte@3.58.0: {} + + symbol-tree@3.2.4: {} + + tailwindcss@3.3.1(postcss@8.4.31)(ts-node@10.9.1(@types/node@18.15.11)(typescript@5.0.4)): + dependencies: + arg: 5.0.2 + chokidar: 3.5.3 + color-name: 1.1.4 + didyoumean: 1.2.2 + dlv: 1.1.3 + fast-glob: 3.2.12 + glob-parent: 6.0.2 + is-glob: 4.0.3 + jiti: 1.18.2 + lilconfig: 2.1.0 + micromatch: 4.0.5 + normalize-path: 3.0.0 + object-hash: 3.0.0 + picocolors: 1.0.0 + postcss: 8.4.31 + postcss-import: 14.1.0(postcss@8.4.31) + postcss-js: 4.0.1(postcss@8.4.31) + postcss-load-config: 3.1.4(postcss@8.4.31)(ts-node@10.9.1(@types/node@18.15.11)(typescript@5.0.4)) + postcss-nested: 6.0.0(postcss@8.4.31) + postcss-selector-parser: 6.0.11 + postcss-value-parser: 4.2.0 + quick-lru: 5.1.1 + resolve: 1.22.1 + sucrase: 3.32.0 + transitivePeerDependencies: + - ts-node + + tar@6.2.1: + dependencies: + chownr: 2.0.0 + fs-minipass: 2.1.0 + minipass: 5.0.0 + minizlib: 2.1.2 + mkdirp: 1.0.4 + yallist: 4.0.0 + + text-table@0.2.0: {} + + thenify-all@1.6.0: + dependencies: + thenify: 3.3.1 + + thenify@3.3.1: + dependencies: + any-promise: 1.3.0 + + thread-stream@0.15.2: + dependencies: + real-require: 0.1.0 + + time-zone@1.0.0: {} + + timers-browserify@2.0.12: + dependencies: + setimmediate: 1.0.5 + + tinybench@2.4.0: {} + + tinypool@0.4.0: {} + + tinyspy@2.1.0: {} + + to-regex-range@5.0.1: + dependencies: + is-number: 7.0.0 + + toggle-selection@1.0.6: {} + + totalist@3.0.0: {} + + tough-cookie@4.1.3: + dependencies: + psl: 1.9.0 + punycode: 2.3.0 + universalify: 0.2.0 + url-parse: 1.5.10 + + tr46@0.0.3: {} + + tr46@4.1.1: + dependencies: + punycode: 2.3.0 + + ts-interface-checker@0.1.13: {} + + ts-node@10.9.1(@types/node@18.15.11)(typescript@5.0.4): + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.9 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.3 + '@types/node': 18.15.11 + acorn: 8.8.2 + acorn-walk: 8.2.0 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.0.4 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + + tslib@1.14.1: {} + + tslib@2.5.0: {} + + tsutils@3.21.0(typescript@5.0.4): + dependencies: + tslib: 1.14.1 + typescript: 5.0.4 + + tty-browserify@0.0.1: {} + + tweetnacl@1.0.3: {} + + type-check@0.3.2: + dependencies: + prelude-ls: 1.1.2 + + type-check@0.4.0: + dependencies: + prelude-ls: 1.2.1 + + type-detect@4.0.8: {} + + type-fest@0.20.2: {} + + type-fest@3.6.1: {} + + typedarray-to-buffer@3.1.5: + dependencies: + is-typedarray: 1.0.0 + + typescript@5.0.4: {} + + ufo@1.1.1: {} + + universalify@0.2.0: {} + + update-browserslist-db@1.0.10(browserslist@4.21.5): + dependencies: + browserslist: 4.21.5 + escalade: 3.1.1 + picocolors: 1.0.0 + + uri-js@4.4.1: + dependencies: + punycode: 2.3.0 + + url-parse@1.5.10: + dependencies: + querystringify: 2.2.0 + requires-port: 1.0.0 + + url@0.11.0: + dependencies: + punycode: 1.3.2 + querystring: 0.2.0 + + util-deprecate@1.0.2: {} + + util@0.12.5: + dependencies: + inherits: 2.0.4 + is-arguments: 1.1.1 + is-generator-function: 1.0.10 + is-typed-array: 1.1.10 + which-typed-array: 1.1.9 + + v8-compile-cache-lib@3.0.1: {} + + vite-node@0.30.0(@types/node@18.15.11): + dependencies: + cac: 6.7.14 + debug: 4.3.4(supports-color@8.1.1) + mlly: 1.2.0 + pathe: 1.1.0 + picocolors: 1.0.0 + vite: 4.2.3(@types/node@18.15.11) + transitivePeerDependencies: + - '@types/node' + - less + - sass + - stylus + - sugarss + - supports-color + - terser + + vite-plugin-node-polyfills@0.7.0(rollup@3.20.0)(vite@4.2.3(@types/node@18.15.11)): + dependencies: + '@rollup/plugin-inject': 5.0.3(rollup@3.20.0) + node-stdlib-browser: 1.2.0 + vite: 4.2.3(@types/node@18.15.11) + transitivePeerDependencies: + - rollup + + vite@4.2.3(@types/node@18.15.11): + dependencies: + esbuild: 0.17.12 + postcss: 8.4.31 + resolve: 1.22.1 + rollup: 3.20.0 + optionalDependencies: + '@types/node': 18.15.11 + fsevents: 2.3.2 + + vitefu@0.2.4(vite@4.2.3(@types/node@18.15.11)): + optionalDependencies: + vite: 4.2.3(@types/node@18.15.11) + + vitest@0.30.0(@vitest/ui@0.30.0)(jsdom@21.1.1(canvas@2.11.2)): + dependencies: + '@types/chai': 4.3.4 + '@types/chai-subset': 1.3.3 + '@types/node': 18.15.11 + '@vitest/expect': 0.30.0 + '@vitest/runner': 0.30.0 + '@vitest/snapshot': 0.30.0 + '@vitest/spy': 0.30.0 + '@vitest/utils': 0.30.0 + acorn: 8.8.2 + acorn-walk: 8.2.0 + cac: 6.7.14 + chai: 4.3.7 + concordance: 5.0.4 + debug: 4.3.4(supports-color@8.1.1) + local-pkg: 0.4.3 + magic-string: 0.30.0 + pathe: 1.1.0 + picocolors: 1.0.0 + source-map: 0.6.1 + std-env: 3.3.2 + strip-literal: 1.0.1 + tinybench: 2.4.0 + tinypool: 0.4.0 + vite: 4.2.3(@types/node@18.15.11) + vite-node: 0.30.0(@types/node@18.15.11) + why-is-node-running: 2.2.2 + optionalDependencies: + '@vitest/ui': 0.30.0 + jsdom: 21.1.1(canvas@2.11.2) + transitivePeerDependencies: + - less + - sass + - stylus + - sugarss + - supports-color + - terser + + vm-browserify@1.1.2: {} + + w3c-xmlserializer@4.0.0: + dependencies: + xml-name-validator: 4.0.0 + + webidl-conversions@3.0.1: {} + + webidl-conversions@7.0.0: {} + + well-known-symbols@2.0.0: {} + + whatwg-encoding@2.0.0: + dependencies: + iconv-lite: 0.6.3 + + whatwg-mimetype@3.0.0: {} + + whatwg-url@12.0.1: + dependencies: + tr46: 4.1.1 + webidl-conversions: 7.0.0 + + whatwg-url@5.0.0: + dependencies: + tr46: 0.0.3 + webidl-conversions: 3.0.1 + + which-module@2.0.0: {} + + which-typed-array@1.1.9: + dependencies: + available-typed-arrays: 1.0.5 + call-bind: 1.0.2 + for-each: 0.3.3 + gopd: 1.0.1 + has-tostringtag: 1.0.0 + is-typed-array: 1.1.10 + + which@2.0.2: + dependencies: + isexe: 2.0.0 + + why-is-node-running@2.2.2: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + + wide-align@1.1.5: + dependencies: + string-width: 4.2.3 + + word-wrap@1.2.5: {} + + workerpool@6.2.1: {} + + wrap-ansi@5.1.0: + dependencies: + ansi-styles: 3.2.1 + string-width: 3.1.0 + strip-ansi: 5.2.0 + + wrap-ansi@7.0.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + + wrappy@1.0.2: {} + + ws@7.5.3: {} + + ws@8.11.0: {} + + ws@8.13.0: {} + + xml-name-validator@4.0.0: {} + + xmlchars@2.2.0: {} + + xmlhttprequest-ssl@2.0.0: {} + + xtend@4.0.2: {} + + y18n@4.0.3: {} + + y18n@5.0.8: {} + + yallist@4.0.0: {} + + yaml@1.10.2: {} + + yargs-parser@13.1.2: + dependencies: + camelcase: 5.3.1 + decamelize: 1.2.0 + + yargs-parser@20.2.4: {} + + yargs-unparser@2.0.0: + dependencies: + camelcase: 6.3.0 + decamelize: 4.0.0 + flat: 5.0.2 + is-plain-obj: 2.1.0 + + yargs@13.3.2: + dependencies: + cliui: 5.0.0 + find-up: 3.0.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + require-main-filename: 2.0.0 + set-blocking: 2.0.0 + string-width: 3.1.0 + which-module: 2.0.0 + y18n: 4.0.3 + yargs-parser: 13.1.2 + + yargs@16.2.0: + dependencies: + cliui: 7.0.4 + escalade: 3.1.1 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 20.2.4 + + yn@3.1.1: {} + + yocto-queue@0.1.0: {} + + yocto-queue@1.0.0: {} diff --git a/client/ui/local-app/src/lib/Connector.svelte b/client/ui/local-app/src/lib/Connector.svelte index 2c288d9..7fe0ead 100644 --- a/client/ui/local-app/src/lib/Connector.svelte +++ b/client/ui/local-app/src/lib/Connector.svelte @@ -1,139 +1,69 @@ diff --git a/client/ui/local-app/src/lib/WalletModal.svelte b/client/ui/local-app/src/lib/WalletModal.svelte new file mode 100644 index 0000000..8c34a49 --- /dev/null +++ b/client/ui/local-app/src/lib/WalletModal.svelte @@ -0,0 +1,5 @@ + +QR Code diff --git a/client/ui/local-app/src/store.ts b/client/ui/local-app/src/store.ts index ef9c499..8218a6a 100644 --- a/client/ui/local-app/src/store.ts +++ b/client/ui/local-app/src/store.ts @@ -70,6 +70,7 @@ const apiClient = { // initialize state's store const { subscribe, update } = writable({ identifiers: [], + datachannel: null, wallet: { url: '', name: '', @@ -130,5 +131,11 @@ export const appState = { this.reload(); } return result; + }, + setDataChannel(dc: RTCDataChannel | null ) { + update((st) => { + st.datachannel = dc; + return st; + }); } };