@wormhole-foundation/wormhole-connect 0.3.4-beta.3-development → 0.3.4-beta.4-development
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{cosmos-9t5ds48M.js → cosmos-TcYN7x14.js} +1 -1
- package/dist/assets/index-7UgR9Epe.js +3 -0
- package/dist/assets/{solana-QOFlt-jY.js → solana-r3vOVfGL.js} +2 -2
- package/dist/assets/{solanaEmbed.esm-bag_3ej_.js → solanaEmbed.esm-8lU7Qhqn.js} +1 -1
- package/dist/main.js +87 -87
- package/dist/src/routes/ntt/chains/solana/nttManager.d.ts.map +1 -1
- package/dist/src/routes/ntt/chains/solana/nttQuoter.d.ts +2 -2
- package/dist/src/routes/ntt/chains/solana/nttQuoter.d.ts.map +1 -1
- package/dist/src/routes/ntt/nttRelay.d.ts.map +1 -1
- package/lib/{aptos-LzsTT-yE.mjs → aptos-XkxFn0iA.mjs} +1 -1
- package/lib/{aptos-A2P3fZwR.js → aptos-yj-TK3PA.js} +1 -1
- package/lib/{ccip-EX9Uy7uh.mjs → ccip-FGsI2Vy1.mjs} +3 -3
- package/lib/{ccip-MYRIWxwr.js → ccip-fjiaQRuA.js} +1 -1
- package/lib/{cosmos-LAGywRPJ.js → cosmos-AUjYaZap.js} +1 -1
- package/lib/{cosmos-8BhxGLk5.mjs → cosmos-MDA8Rp7a.mjs} +3 -3
- package/lib/{evm-rkkBtxAA.js → evm-AzWd7TIg.js} +3 -3
- package/lib/{evm-4xBDvIbh.mjs → evm-EK7l4v5F.mjs} +4 -4
- package/lib/{index-oQ6mMVQe.mjs → index-0q2THm2w.mjs} +3 -3
- package/lib/index-9vpoegf2.js +3 -0
- package/lib/{index-TXf-Y_5p.mjs → index-GqCbgO6w.mjs} +96 -87
- package/lib/{index-DiFBiIsU.js → index-Lyx2KgEl.js} +6 -6
- package/lib/{index-IzBi7jkq.js → index-M5muoSKm.js} +1 -1
- package/lib/{index-6l7AaQMo.mjs → index-U4-cs6LF.mjs} +68 -68
- package/lib/{index-HrOVvUmR.mjs → index-ZqzSOsNH.mjs} +1 -1
- package/lib/{index-f0MmfW4C.js → index-e4IwQovx.js} +1 -1
- package/lib/{index-SXsxLkBQ.mjs → index-i3M9x9ys.mjs} +2 -2
- package/lib/{index-DFThg9zD.js → index-uD29Qviy.js} +1 -1
- package/lib/{index.es-i0PmGTV8.js → index.es-3N17U6U-.js} +2 -2
- package/lib/{index.es-wdCYxk2S.mjs → index.es-4yp-p17j.mjs} +2 -2
- package/lib/{index.es-qoSsRT_G.mjs → index.es-D5PlxUXA.mjs} +4 -4
- package/lib/{index.es-dyXbfeDn.js → index.es-OMs0sEbV.js} +1 -1
- package/lib/{index.es-JGv9-9pp.js → index.es-m2T5sCHF.js} +1 -1
- package/lib/{index.es-B2GmSqJ1.mjs → index.es-sWP5wBk1.mjs} +1 -1
- package/lib/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/lib/{libsodium-wrappers-x1Tf86Kb.js → libsodium-wrappers-LCJ8UHG9.js} +1 -1
- package/lib/{libsodium-wrappers-ffJoUj0j.mjs → libsodium-wrappers-w6994RX-.mjs} +1 -1
- package/lib/{sei-ams4Dv3V.js → sei-Oplz3AG7.js} +1 -1
- package/lib/{sei-yioT3-Yb.mjs → sei-w_LUpthw.mjs} +2 -2
- package/lib/{solana-VyhiGF9X.mjs → solana-1K5mHs_m.mjs} +3 -3
- package/lib/{solana-2Gb2ijrF.js → solana-GtJSObQi.js} +1 -1
- package/lib/{solanaEmbed.esm-AyFAReSD.js → solanaEmbed.esm-3t3NYEW9.js} +1 -1
- package/lib/{solanaEmbed.esm-O2q9SxIk.mjs → solanaEmbed.esm-7dEAUE3p.mjs} +2 -2
- package/lib/src/routes/ntt/chains/solana/nttManager.d.ts.map +1 -1
- package/lib/src/routes/ntt/chains/solana/nttQuoter.d.ts +2 -2
- package/lib/src/routes/ntt/chains/solana/nttQuoter.d.ts.map +1 -1
- package/lib/src/routes/ntt/nttRelay.d.ts.map +1 -1
- package/lib/{sui-8zqO_WMc.mjs → sui-Z4KdsJtV.mjs} +1 -1
- package/lib/{sui-vAj128v8.js → sui-tt-QRxQS.js} +1 -1
- package/package.json +1 -1
- package/dist/assets/index-bti7uInf.js +0 -3
- package/lib/index-FCAzcpcI.js +0 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const H=require("./index-DiFBiIsU.js");var Tt={},nt={},M={},gr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(u,l){var _=u>>>16&65535,D=u&65535,w=l>>>16&65535,y=l&65535;return D*y+(_*y+D*w<<16>>>0)|0}e.mul=Math.imul||t;function r(u,l){return u+l|0}e.add=r;function i(u,l){return u-l|0}e.sub=i;function o(u,l){return u<<l|u>>>32-l}e.rotl=o;function s(u,l){return u<<32-l|u>>>l}e.rotr=s;function b(u){return typeof u=="number"&&isFinite(u)&&Math.floor(u)===u}e.isInteger=Number.isInteger||b,e.MAX_SAFE_INTEGER=9007199254740991,e.isSafeInteger=function(u){return e.isInteger(u)&&u>=-e.MAX_SAFE_INTEGER&&u<=e.MAX_SAFE_INTEGER}})(gr);Object.defineProperty(M,"__esModule",{value:!0});var pr=gr;function Qr(e,t){return t===void 0&&(t=0),(e[t+0]<<8|e[t+1])<<16>>16}M.readInt16BE=Qr;function Zr(e,t){return t===void 0&&(t=0),(e[t+0]<<8|e[t+1])>>>0}M.readUint16BE=Zr;function en(e,t){return t===void 0&&(t=0),(e[t+1]<<8|e[t])<<16>>16}M.readInt16LE=en;function tn(e,t){return t===void 0&&(t=0),(e[t+1]<<8|e[t])>>>0}M.readUint16LE=tn;function mr(e,t,r){return t===void 0&&(t=new Uint8Array(2)),r===void 0&&(r=0),t[r+0]=e>>>8,t[r+1]=e>>>0,t}M.writeUint16BE=mr;M.writeInt16BE=mr;function Sr(e,t,r){return t===void 0&&(t=new Uint8Array(2)),r===void 0&&(r=0),t[r+0]=e>>>0,t[r+1]=e>>>8,t}M.writeUint16LE=Sr;M.writeInt16LE=Sr;function wt(e,t){return t===void 0&&(t=0),e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}M.readInt32BE=wt;function vt(e,t){return t===void 0&&(t=0),(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}M.readUint32BE=vt;function yt(e,t){return t===void 0&&(t=0),e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]}M.readInt32LE=yt;function gt(e,t){return t===void 0&&(t=0),(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t])>>>0}M.readUint32LE=gt;function et(e,t,r){return t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0),t[r+0]=e>>>24,t[r+1]=e>>>16,t[r+2]=e>>>8,t[r+3]=e>>>0,t}M.writeUint32BE=et;M.writeInt32BE=et;function tt(e,t,r){return t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0),t[r+0]=e>>>0,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24,t}M.writeUint32LE=tt;M.writeInt32LE=tt;function rn(e,t){t===void 0&&(t=0);var r=wt(e,t),i=wt(e,t+4);return r*4294967296+i-(i>>31)*4294967296}M.readInt64BE=rn;function nn(e,t){t===void 0&&(t=0);var r=vt(e,t),i=vt(e,t+4);return r*4294967296+i}M.readUint64BE=nn;function on(e,t){t===void 0&&(t=0);var r=yt(e,t),i=yt(e,t+4);return i*4294967296+r-(r>>31)*4294967296}M.readInt64LE=on;function an(e,t){t===void 0&&(t=0);var r=gt(e,t),i=gt(e,t+4);return i*4294967296+r}M.readUint64LE=an;function Or(e,t,r){return t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0),et(e/4294967296>>>0,t,r),et(e>>>0,t,r+4),t}M.writeUint64BE=Or;M.writeInt64BE=Or;function Cr(e,t,r){return t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0),tt(e>>>0,t,r),tt(e/4294967296>>>0,t,r+4),t}M.writeUint64LE=Cr;M.writeInt64LE=Cr;function un(e,t,r){if(r===void 0&&(r=0),e%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(e/8>t.length-r)throw new Error("readUintBE: array is too short for the given bitLength");for(var i=0,o=1,s=e/8+r-1;s>=r;s--)i+=t[s]*o,o*=256;return i}M.readUintBE=un;function sn(e,t,r){if(r===void 0&&(r=0),e%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(e/8>t.length-r)throw new Error("readUintLE: array is too short for the given bitLength");for(var i=0,o=1,s=r;s<r+e/8;s++)i+=t[s]*o,o*=256;return i}M.readUintLE=sn;function cn(e,t,r,i){if(r===void 0&&(r=new Uint8Array(e/8)),i===void 0&&(i=0),e%8!==0)throw new Error("writeUintBE supports only bitLengths divisible by 8");if(!pr.isSafeInteger(t))throw new Error("writeUintBE value must be an integer");for(var o=1,s=e/8+i-1;s>=i;s--)r[s]=t/o&255,o*=256;return r}M.writeUintBE=cn;function fn(e,t,r,i){if(r===void 0&&(r=new Uint8Array(e/8)),i===void 0&&(i=0),e%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!pr.isSafeInteger(t))throw new Error("writeUintLE value must be an integer");for(var o=1,s=i;s<i+e/8;s++)r[s]=t/o&255,o*=256;return r}M.writeUintLE=fn;function hn(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat32(t)}M.readFloat32BE=hn;function ln(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat32(t,!0)}M.readFloat32LE=ln;function dn(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat64(t)}M.readFloat64BE=dn;function Dn(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat64(t,!0)}M.readFloat64LE=Dn;function bn(e,t,r){t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0);var i=new DataView(t.buffer,t.byteOffset,t.byteLength);return i.setFloat32(r,e),t}M.writeFloat32BE=bn;function _n(e,t,r){t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0);var i=new DataView(t.buffer,t.byteOffset,t.byteLength);return i.setFloat32(r,e,!0),t}M.writeFloat32LE=_n;function En(e,t,r){t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0);var i=new DataView(t.buffer,t.byteOffset,t.byteLength);return i.setFloat64(r,e),t}M.writeFloat64BE=En;function wn(e,t,r){t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0);var i=new DataView(t.buffer,t.byteOffset,t.byteLength);return i.setFloat64(r,e,!0),t}M.writeFloat64LE=wn;var pe={};Object.defineProperty(pe,"__esModule",{value:!0});function vn(e){for(var t=0;t<e.length;t++)e[t]=0;return e}pe.wipe=vn;Object.defineProperty(nt,"__esModule",{value:!0});var _e=M,pt=pe,yn=20;function gn(e,t,r){for(var i=1634760805,o=857760878,s=2036477234,b=1797285236,u=r[3]<<24|r[2]<<16|r[1]<<8|r[0],l=r[7]<<24|r[6]<<16|r[5]<<8|r[4],_=r[11]<<24|r[10]<<16|r[9]<<8|r[8],D=r[15]<<24|r[14]<<16|r[13]<<8|r[12],w=r[19]<<24|r[18]<<16|r[17]<<8|r[16],y=r[23]<<24|r[22]<<16|r[21]<<8|r[20],v=r[27]<<24|r[26]<<16|r[25]<<8|r[24],g=r[31]<<24|r[30]<<16|r[29]<<8|r[28],S=t[3]<<24|t[2]<<16|t[1]<<8|t[0],p=t[7]<<24|t[6]<<16|t[5]<<8|t[4],A=t[11]<<24|t[10]<<16|t[9]<<8|t[8],d=t[15]<<24|t[14]<<16|t[13]<<8|t[12],E=i,c=o,h=s,f=b,n=u,a=l,m=_,C=D,N=w,P=y,R=v,j=g,I=S,F=p,O=A,T=d,Y=0;Y<yn;Y+=2)E=E+n|0,I^=E,I=I>>>16|I<<16,N=N+I|0,n^=N,n=n>>>20|n<<12,c=c+a|0,F^=c,F=F>>>16|F<<16,P=P+F|0,a^=P,a=a>>>20|a<<12,h=h+m|0,O^=h,O=O>>>16|O<<16,R=R+O|0,m^=R,m=m>>>20|m<<12,f=f+C|0,T^=f,T=T>>>16|T<<16,j=j+T|0,C^=j,C=C>>>20|C<<12,h=h+m|0,O^=h,O=O>>>24|O<<8,R=R+O|0,m^=R,m=m>>>25|m<<7,f=f+C|0,T^=f,T=T>>>24|T<<8,j=j+T|0,C^=j,C=C>>>25|C<<7,c=c+a|0,F^=c,F=F>>>24|F<<8,P=P+F|0,a^=P,a=a>>>25|a<<7,E=E+n|0,I^=E,I=I>>>24|I<<8,N=N+I|0,n^=N,n=n>>>25|n<<7,E=E+a|0,T^=E,T=T>>>16|T<<16,R=R+T|0,a^=R,a=a>>>20|a<<12,c=c+m|0,I^=c,I=I>>>16|I<<16,j=j+I|0,m^=j,m=m>>>20|m<<12,h=h+C|0,F^=h,F=F>>>16|F<<16,N=N+F|0,C^=N,C=C>>>20|C<<12,f=f+n|0,O^=f,O=O>>>16|O<<16,P=P+O|0,n^=P,n=n>>>20|n<<12,h=h+C|0,F^=h,F=F>>>24|F<<8,N=N+F|0,C^=N,C=C>>>25|C<<7,f=f+n|0,O^=f,O=O>>>24|O<<8,P=P+O|0,n^=P,n=n>>>25|n<<7,c=c+m|0,I^=c,I=I>>>24|I<<8,j=j+I|0,m^=j,m=m>>>25|m<<7,E=E+a|0,T^=E,T=T>>>24|T<<8,R=R+T|0,a^=R,a=a>>>25|a<<7;_e.writeUint32LE(E+i|0,e,0),_e.writeUint32LE(c+o|0,e,4),_e.writeUint32LE(h+s|0,e,8),_e.writeUint32LE(f+b|0,e,12),_e.writeUint32LE(n+u|0,e,16),_e.writeUint32LE(a+l|0,e,20),_e.writeUint32LE(m+_|0,e,24),_e.writeUint32LE(C+D|0,e,28),_e.writeUint32LE(N+w|0,e,32),_e.writeUint32LE(P+y|0,e,36),_e.writeUint32LE(R+v|0,e,40),_e.writeUint32LE(j+g|0,e,44),_e.writeUint32LE(I+S|0,e,48),_e.writeUint32LE(F+p|0,e,52),_e.writeUint32LE(O+A|0,e,56),_e.writeUint32LE(T+d|0,e,60)}function Ur(e,t,r,i,o){if(o===void 0&&(o=0),e.length!==32)throw new Error("ChaCha: key size must be 32 bytes");if(i.length<r.length)throw new Error("ChaCha: destination is shorter than source");var s,b;if(o===0){if(t.length!==8&&t.length!==12)throw new Error("ChaCha nonce must be 8 or 12 bytes");s=new Uint8Array(16),b=s.length-t.length,s.set(t,b)}else{if(t.length!==16)throw new Error("ChaCha nonce with counter must be 16 bytes");s=t,b=o}for(var u=new Uint8Array(64),l=0;l<r.length;l+=64){gn(u,s,e);for(var _=l;_<l+64&&_<r.length;_++)i[_]=r[_]^u[_-l];mn(s,0,b)}return pt.wipe(u),o===0&&pt.wipe(s),i}nt.streamXOR=Ur;function pn(e,t,r,i){return i===void 0&&(i=0),pt.wipe(r),Ur(e,t,r,r,i)}nt.stream=pn;function mn(e,t,r){for(var i=1;r--;)i=i+(e[t]&255)|0,e[t]=i&255,i>>>=8,t++;if(i>0)throw new Error("ChaCha: counter overflow")}var Ar={},Ue={};Object.defineProperty(Ue,"__esModule",{value:!0});function Sn(e,t,r){return~(e-1)&t|e-1&r}Ue.select=Sn;function On(e,t){return(e|0)-(t|0)-1>>>31&1}Ue.lessOrEqual=On;function Nr(e,t){if(e.length!==t.length)return 0;for(var r=0,i=0;i<e.length;i++)r|=e[i]^t[i];return 1&r-1>>>8}Ue.compare=Nr;function Cn(e,t){return e.length===0||t.length===0?!1:Nr(e,t)!==0}Ue.equal=Cn;(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Ue,r=pe;e.DIGEST_LENGTH=16;var i=function(){function b(u){this.digestLength=e.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var l=u[0]|u[1]<<8;this._r[0]=l&8191;var _=u[2]|u[3]<<8;this._r[1]=(l>>>13|_<<3)&8191;var D=u[4]|u[5]<<8;this._r[2]=(_>>>10|D<<6)&7939;var w=u[6]|u[7]<<8;this._r[3]=(D>>>7|w<<9)&8191;var y=u[8]|u[9]<<8;this._r[4]=(w>>>4|y<<12)&255,this._r[5]=y>>>1&8190;var v=u[10]|u[11]<<8;this._r[6]=(y>>>14|v<<2)&8191;var g=u[12]|u[13]<<8;this._r[7]=(v>>>11|g<<5)&8065;var S=u[14]|u[15]<<8;this._r[8]=(g>>>8|S<<8)&8191,this._r[9]=S>>>5&127,this._pad[0]=u[16]|u[17]<<8,this._pad[1]=u[18]|u[19]<<8,this._pad[2]=u[20]|u[21]<<8,this._pad[3]=u[22]|u[23]<<8,this._pad[4]=u[24]|u[25]<<8,this._pad[5]=u[26]|u[27]<<8,this._pad[6]=u[28]|u[29]<<8,this._pad[7]=u[30]|u[31]<<8}return b.prototype._blocks=function(u,l,_){for(var D=this._fin?0:2048,w=this._h[0],y=this._h[1],v=this._h[2],g=this._h[3],S=this._h[4],p=this._h[5],A=this._h[6],d=this._h[7],E=this._h[8],c=this._h[9],h=this._r[0],f=this._r[1],n=this._r[2],a=this._r[3],m=this._r[4],C=this._r[5],N=this._r[6],P=this._r[7],R=this._r[8],j=this._r[9];_>=16;){var I=u[l+0]|u[l+1]<<8;w+=I&8191;var F=u[l+2]|u[l+3]<<8;y+=(I>>>13|F<<3)&8191;var O=u[l+4]|u[l+5]<<8;v+=(F>>>10|O<<6)&8191;var T=u[l+6]|u[l+7]<<8;g+=(O>>>7|T<<9)&8191;var Y=u[l+8]|u[l+9]<<8;S+=(T>>>4|Y<<12)&8191,p+=Y>>>1&8191;var Q=u[l+10]|u[l+11]<<8;A+=(Y>>>14|Q<<2)&8191;var J=u[l+12]|u[l+13]<<8;d+=(Q>>>11|J<<5)&8191;var X=u[l+14]|u[l+15]<<8;E+=(J>>>8|X<<8)&8191,c+=X>>>5|D;var U=0,L=U;L+=w*h,L+=y*(5*j),L+=v*(5*R),L+=g*(5*P),L+=S*(5*N),U=L>>>13,L&=8191,L+=p*(5*C),L+=A*(5*m),L+=d*(5*a),L+=E*(5*n),L+=c*(5*f),U+=L>>>13,L&=8191;var B=U;B+=w*f,B+=y*h,B+=v*(5*j),B+=g*(5*R),B+=S*(5*P),U=B>>>13,B&=8191,B+=p*(5*N),B+=A*(5*C),B+=d*(5*m),B+=E*(5*a),B+=c*(5*n),U+=B>>>13,B&=8191;var x=U;x+=w*n,x+=y*f,x+=v*h,x+=g*(5*j),x+=S*(5*R),U=x>>>13,x&=8191,x+=p*(5*P),x+=A*(5*N),x+=d*(5*C),x+=E*(5*m),x+=c*(5*a),U+=x>>>13,x&=8191;var $=U;$+=w*a,$+=y*n,$+=v*f,$+=g*h,$+=S*(5*j),U=$>>>13,$&=8191,$+=p*(5*R),$+=A*(5*P),$+=d*(5*N),$+=E*(5*C),$+=c*(5*m),U+=$>>>13,$&=8191;var K=U;K+=w*m,K+=y*a,K+=v*n,K+=g*f,K+=S*h,U=K>>>13,K&=8191,K+=p*(5*j),K+=A*(5*R),K+=d*(5*P),K+=E*(5*N),K+=c*(5*C),U+=K>>>13,K&=8191;var W=U;W+=w*C,W+=y*m,W+=v*a,W+=g*n,W+=S*f,U=W>>>13,W&=8191,W+=p*h,W+=A*(5*j),W+=d*(5*R),W+=E*(5*P),W+=c*(5*N),U+=W>>>13,W&=8191;var V=U;V+=w*N,V+=y*C,V+=v*m,V+=g*a,V+=S*n,U=V>>>13,V&=8191,V+=p*f,V+=A*h,V+=d*(5*j),V+=E*(5*R),V+=c*(5*P),U+=V>>>13,V&=8191;var q=U;q+=w*P,q+=y*N,q+=v*C,q+=g*m,q+=S*a,U=q>>>13,q&=8191,q+=p*n,q+=A*f,q+=d*h,q+=E*(5*j),q+=c*(5*R),U+=q>>>13,q&=8191;var G=U;G+=w*R,G+=y*P,G+=v*N,G+=g*C,G+=S*m,U=G>>>13,G&=8191,G+=p*a,G+=A*n,G+=d*f,G+=E*h,G+=c*(5*j),U+=G>>>13,G&=8191;var k=U;k+=w*j,k+=y*R,k+=v*P,k+=g*N,k+=S*C,U=k>>>13,k&=8191,k+=p*m,k+=A*a,k+=d*n,k+=E*f,k+=c*h,U+=k>>>13,k&=8191,U=(U<<2)+U|0,U=U+L|0,L=U&8191,U=U>>>13,B+=U,w=L,y=B,v=x,g=$,S=K,p=W,A=V,d=q,E=G,c=k,l+=16,_-=16}this._h[0]=w,this._h[1]=y,this._h[2]=v,this._h[3]=g,this._h[4]=S,this._h[5]=p,this._h[6]=A,this._h[7]=d,this._h[8]=E,this._h[9]=c},b.prototype.finish=function(u,l){l===void 0&&(l=0);var _=new Uint16Array(10),D,w,y,v;if(this._leftover){for(v=this._leftover,this._buffer[v++]=1;v<16;v++)this._buffer[v]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(D=this._h[1]>>>13,this._h[1]&=8191,v=2;v<10;v++)this._h[v]+=D,D=this._h[v]>>>13,this._h[v]&=8191;for(this._h[0]+=D*5,D=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=D,D=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=D,_[0]=this._h[0]+5,D=_[0]>>>13,_[0]&=8191,v=1;v<10;v++)_[v]=this._h[v]+D,D=_[v]>>>13,_[v]&=8191;for(_[9]-=8192,w=(D^1)-1,v=0;v<10;v++)_[v]&=w;for(w=~w,v=0;v<10;v++)this._h[v]=this._h[v]&w|_[v];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,y=this._h[0]+this._pad[0],this._h[0]=y&65535,v=1;v<8;v++)y=(this._h[v]+this._pad[v]|0)+(y>>>16)|0,this._h[v]=y&65535;return u[l+0]=this._h[0]>>>0,u[l+1]=this._h[0]>>>8,u[l+2]=this._h[1]>>>0,u[l+3]=this._h[1]>>>8,u[l+4]=this._h[2]>>>0,u[l+5]=this._h[2]>>>8,u[l+6]=this._h[3]>>>0,u[l+7]=this._h[3]>>>8,u[l+8]=this._h[4]>>>0,u[l+9]=this._h[4]>>>8,u[l+10]=this._h[5]>>>0,u[l+11]=this._h[5]>>>8,u[l+12]=this._h[6]>>>0,u[l+13]=this._h[6]>>>8,u[l+14]=this._h[7]>>>0,u[l+15]=this._h[7]>>>8,this._finished=!0,this},b.prototype.update=function(u){var l=0,_=u.length,D;if(this._leftover){D=16-this._leftover,D>_&&(D=_);for(var w=0;w<D;w++)this._buffer[this._leftover+w]=u[l+w];if(_-=D,l+=D,this._leftover+=D,this._leftover<16)return this;this._blocks(this._buffer,0,16),this._leftover=0}if(_>=16&&(D=_-_%16,this._blocks(u,l,D),l+=D,_-=D),_){for(var w=0;w<_;w++)this._buffer[this._leftover+w]=u[l+w];this._leftover+=_}return this},b.prototype.digest=function(){if(this._finished)throw new Error("Poly1305 was finished");var u=new Uint8Array(16);return this.finish(u),u},b.prototype.clean=function(){return r.wipe(this._buffer),r.wipe(this._r),r.wipe(this._h),r.wipe(this._pad),this._leftover=0,this._fin=0,this._finished=!0,this},b}();e.Poly1305=i;function o(b,u){var l=new i(b);l.update(u);var _=l.digest();return l.clean(),_}e.oneTimeAuth=o;function s(b,u){return b.length!==e.DIGEST_LENGTH||u.length!==e.DIGEST_LENGTH?!1:t.equal(b,u)}e.equal=s})(Ar);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=nt,r=Ar,i=pe,o=M,s=Ue;e.KEY_LENGTH=32,e.NONCE_LENGTH=12,e.TAG_LENGTH=16;var b=new Uint8Array(16),u=function(){function l(_){if(this.nonceLength=e.NONCE_LENGTH,this.tagLength=e.TAG_LENGTH,_.length!==e.KEY_LENGTH)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(_)}return l.prototype.seal=function(_,D,w,y){if(_.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var v=new Uint8Array(16);v.set(_,v.length-_.length);var g=new Uint8Array(32);t.stream(this._key,v,g,4);var S=D.length+this.tagLength,p;if(y){if(y.length!==S)throw new Error("ChaCha20Poly1305: incorrect destination length");p=y}else p=new Uint8Array(S);return t.streamXOR(this._key,v,D,p,4),this._authenticate(p.subarray(p.length-this.tagLength,p.length),g,p.subarray(0,p.length-this.tagLength),w),i.wipe(v),p},l.prototype.open=function(_,D,w,y){if(_.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(D.length<this.tagLength)return null;var v=new Uint8Array(16);v.set(_,v.length-_.length);var g=new Uint8Array(32);t.stream(this._key,v,g,4);var S=new Uint8Array(this.tagLength);if(this._authenticate(S,g,D.subarray(0,D.length-this.tagLength),w),!s.equal(S,D.subarray(D.length-this.tagLength,D.length)))return null;var p=D.length-this.tagLength,A;if(y){if(y.length!==p)throw new Error("ChaCha20Poly1305: incorrect destination length");A=y}else A=new Uint8Array(p);return t.streamXOR(this._key,v,D.subarray(0,D.length-this.tagLength),A,4),i.wipe(v),A},l.prototype.clean=function(){return i.wipe(this._key),this},l.prototype._authenticate=function(_,D,w,y){var v=new r.Poly1305(D);y&&(v.update(y),y.length%16>0&&v.update(b.subarray(y.length%16))),v.update(w),w.length%16>0&&v.update(b.subarray(w.length%16));var g=new Uint8Array(8);y&&o.writeUint64LE(y.length,g),v.update(g),o.writeUint64LE(w.length,g),v.update(g);for(var S=v.digest(),p=0;p<S.length;p++)_[p]=S[p];v.clean(),i.wipe(S),i.wipe(g)},l}();e.ChaCha20Poly1305=u})(Tt);var Tr={},qe={},It={};Object.defineProperty(It,"__esModule",{value:!0});function Un(e){return typeof e.saveState<"u"&&typeof e.restoreState<"u"&&typeof e.cleanSavedState<"u"}It.isSerializableHash=Un;Object.defineProperty(qe,"__esModule",{value:!0});var me=It,An=Ue,Nn=pe,Ir=function(){function e(t,r){this._finished=!1,this._inner=new t,this._outer=new t,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var i=new Uint8Array(this.blockSize);r.length>this.blockSize?this._inner.update(r).finish(i).clean():i.set(r);for(var o=0;o<i.length;o++)i[o]^=54;this._inner.update(i);for(var o=0;o<i.length;o++)i[o]^=106;this._outer.update(i),me.isSerializableHash(this._inner)&&me.isSerializableHash(this._outer)&&(this._innerKeyedState=this._inner.saveState(),this._outerKeyedState=this._outer.saveState()),Nn.wipe(i)}return e.prototype.reset=function(){if(!me.isSerializableHash(this._inner)||!me.isSerializableHash(this._outer))throw new Error("hmac: can't reset() because hash doesn't implement restoreState()");return this._inner.restoreState(this._innerKeyedState),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},e.prototype.clean=function(){me.isSerializableHash(this._inner)&&this._inner.cleanSavedState(this._innerKeyedState),me.isSerializableHash(this._outer)&&this._outer.cleanSavedState(this._outerKeyedState),this._inner.clean(),this._outer.clean()},e.prototype.update=function(t){return this._inner.update(t),this},e.prototype.finish=function(t){return this._finished?(this._outer.finish(t),this):(this._inner.finish(t),this._outer.update(t.subarray(0,this.digestLength)).finish(t),this._finished=!0,this)},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype.saveState=function(){if(!me.isSerializableHash(this._inner))throw new Error("hmac: can't saveState() because hash doesn't implement it");return this._inner.saveState()},e.prototype.restoreState=function(t){if(!me.isSerializableHash(this._inner)||!me.isSerializableHash(this._outer))throw new Error("hmac: can't restoreState() because hash doesn't implement it");return this._inner.restoreState(t),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},e.prototype.cleanSavedState=function(t){if(!me.isSerializableHash(this._inner))throw new Error("hmac: can't cleanSavedState() because hash doesn't implement it");this._inner.cleanSavedState(t)},e}();qe.HMAC=Ir;function Tn(e,t,r){var i=new Ir(e,t);i.update(r);var o=i.digest();return i.clean(),o}qe.hmac=Tn;qe.equal=An.equal;Object.defineProperty(Tr,"__esModule",{value:!0});var Vt=qe,qt=pe,In=function(){function e(t,r,i,o){i===void 0&&(i=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=t,this._info=o;var s=Vt.hmac(this._hash,i,r);this._hmac=new Vt.HMAC(t,s),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return e.prototype._fillBuffer=function(){this._counter[0]++;var t=this._counter[0];if(t===0)throw new Error("hkdf: cannot expand more");this._hmac.reset(),t>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},e.prototype.expand=function(t){for(var r=new Uint8Array(t),i=0;i<r.length;i++)this._bufpos===this._buffer.length&&this._fillBuffer(),r[i]=this._buffer[this._bufpos++];return r},e.prototype.clean=function(){this._hmac.clean(),qt.wipe(this._buffer),qt.wipe(this._counter),this._bufpos=0},e}(),Fn=Tr.HKDF=In,ze={},it={},ot={};Object.defineProperty(ot,"__esModule",{value:!0});ot.BrowserRandomSource=void 0;const zt=65536;class Mn{constructor(){this.isAvailable=!1,this.isInstantiated=!1;const t=typeof self<"u"?self.crypto||self.msCrypto:null;t&&t.getRandomValues!==void 0&&(this._crypto=t,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(t){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");const r=new Uint8Array(t);for(let i=0;i<r.length;i+=zt)this._crypto.getRandomValues(r.subarray(i,i+Math.min(r.length-i,zt)));return r}}ot.BrowserRandomSource=Mn;var at={};Object.defineProperty(at,"__esModule",{value:!0});at.NodeRandomSource=void 0;const Pn=pe;class jn{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof H.commonjsRequire<"u"){const t=H.requireCryptoBrowserify();t&&t.randomBytes&&(this._crypto=t,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(t){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let r=this._crypto.randomBytes(t);if(r.length!==t)throw new Error("NodeRandomSource: got fewer bytes than requested");const i=new Uint8Array(t);for(let o=0;o<i.length;o++)i[o]=r[o];return(0,Pn.wipe)(r),i}}at.NodeRandomSource=jn;Object.defineProperty(it,"__esModule",{value:!0});it.SystemRandomSource=void 0;const Rn=ot,Ln=at;class Bn{constructor(){if(this.isAvailable=!1,this.name="",this._source=new Rn.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new Ln.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(t){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(t)}}it.SystemRandomSource=Bn;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.randomStringForEntropy=e.randomString=e.randomUint32=e.randomBytes=e.defaultRandomSource=void 0;const t=it,r=M,i=pe;e.defaultRandomSource=new t.SystemRandomSource;function o(_,D=e.defaultRandomSource){return D.randomBytes(_)}e.randomBytes=o;function s(_=e.defaultRandomSource){const D=o(4,_),w=(0,r.readUint32LE)(D);return(0,i.wipe)(D),w}e.randomUint32=s;const b="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function u(_,D=b,w=e.defaultRandomSource){if(D.length<2)throw new Error("randomString charset is too short");if(D.length>256)throw new Error("randomString charset is too long");let y="";const v=D.length,g=256-256%v;for(;_>0;){const S=o(Math.ceil(_*256/g),w);for(let p=0;p<S.length&&_>0;p++){const A=S[p];A<g&&(y+=D.charAt(A%v),_--)}(0,i.wipe)(S)}return y}e.randomString=u;function l(_,D=b,w=e.defaultRandomSource){const y=Math.ceil(_/(Math.log(D.length)/Math.LN2));return u(y,D,w)}e.randomStringForEntropy=l})(ze);var ut={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=M,r=pe;e.DIGEST_LENGTH=32,e.BLOCK_SIZE=64;var i=function(){function u(){this.digestLength=e.DIGEST_LENGTH,this.blockSize=e.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return u.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},u.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},u.prototype.clean=function(){r.wipe(this._buffer),r.wipe(this._temp),this.reset()},u.prototype.update=function(l,_){if(_===void 0&&(_=l.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var D=0;if(this._bytesHashed+=_,this._bufferLength>0){for(;this._bufferLength<this.blockSize&&_>0;)this._buffer[this._bufferLength++]=l[D++],_--;this._bufferLength===this.blockSize&&(s(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(_>=this.blockSize&&(D=s(this._temp,this._state,l,D,_),_%=this.blockSize);_>0;)this._buffer[this._bufferLength++]=l[D++],_--;return this},u.prototype.finish=function(l){if(!this._finished){var _=this._bytesHashed,D=this._bufferLength,w=_/536870912|0,y=_<<3,v=_%64<56?64:128;this._buffer[D]=128;for(var g=D+1;g<v-8;g++)this._buffer[g]=0;t.writeUint32BE(w,this._buffer,v-8),t.writeUint32BE(y,this._buffer,v-4),s(this._temp,this._state,this._buffer,0,v),this._finished=!0}for(var g=0;g<this.digestLength/4;g++)t.writeUint32BE(this._state[g],l,g*4);return this},u.prototype.digest=function(){var l=new Uint8Array(this.digestLength);return this.finish(l),l},u.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{state:new Int32Array(this._state),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},u.prototype.restoreState=function(l){return this._state.set(l.state),this._bufferLength=l.bufferLength,l.buffer&&this._buffer.set(l.buffer),this._bytesHashed=l.bytesHashed,this._finished=!1,this},u.prototype.cleanSavedState=function(l){r.wipe(l.state),l.buffer&&r.wipe(l.buffer),l.bufferLength=0,l.bytesHashed=0},u}();e.SHA256=i;var o=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function s(u,l,_,D,w){for(;w>=64;){for(var y=l[0],v=l[1],g=l[2],S=l[3],p=l[4],A=l[5],d=l[6],E=l[7],c=0;c<16;c++){var h=D+c*4;u[c]=t.readUint32BE(_,h)}for(var c=16;c<64;c++){var f=u[c-2],n=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10;f=u[c-15];var a=(f>>>7|f<<25)^(f>>>18|f<<14)^f>>>3;u[c]=(n+u[c-7]|0)+(a+u[c-16]|0)}for(var c=0;c<64;c++){var n=(((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&A^~p&d)|0)+(E+(o[c]+u[c]|0)|0)|0,a=((y>>>2|y<<30)^(y>>>13|y<<19)^(y>>>22|y<<10))+(y&v^y&g^v&g)|0;E=d,d=A,A=p,p=S+n|0,S=g,g=v,v=y,y=n+a|0}l[0]+=y,l[1]+=v,l[2]+=g,l[3]+=S,l[4]+=p,l[5]+=A,l[6]+=d,l[7]+=E,D+=64,w-=64}return D}function b(u){var l=new i;l.update(u);var _=l.digest();return l.clean(),_}e.hash=b})(ut);var Ft={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.sharedKey=e.generateKeyPair=e.generateKeyPairFromSeed=e.scalarMultBase=e.scalarMult=e.SHARED_KEY_LENGTH=e.SECRET_KEY_LENGTH=e.PUBLIC_KEY_LENGTH=void 0;const t=ze,r=pe;e.PUBLIC_KEY_LENGTH=32,e.SECRET_KEY_LENGTH=32,e.SHARED_KEY_LENGTH=32;function i(c){const h=new Float64Array(16);if(c)for(let f=0;f<c.length;f++)h[f]=c[f];return h}const o=new Uint8Array(32);o[0]=9;const s=i([56129,1]);function b(c){let h=1;for(let f=0;f<16;f++){let n=c[f]+h+65535;h=Math.floor(n/65536),c[f]=n-h*65536}c[0]+=h-1+37*(h-1)}function u(c,h,f){const n=~(f-1);for(let a=0;a<16;a++){const m=n&(c[a]^h[a]);c[a]^=m,h[a]^=m}}function l(c,h){const f=i(),n=i();for(let a=0;a<16;a++)n[a]=h[a];b(n),b(n),b(n);for(let a=0;a<2;a++){f[0]=n[0]-65517;for(let C=1;C<15;C++)f[C]=n[C]-65535-(f[C-1]>>16&1),f[C-1]&=65535;f[15]=n[15]-32767-(f[14]>>16&1);const m=f[15]>>16&1;f[14]&=65535,u(n,f,1-m)}for(let a=0;a<16;a++)c[2*a]=n[a]&255,c[2*a+1]=n[a]>>8}function _(c,h){for(let f=0;f<16;f++)c[f]=h[2*f]+(h[2*f+1]<<8);c[15]&=32767}function D(c,h,f){for(let n=0;n<16;n++)c[n]=h[n]+f[n]}function w(c,h,f){for(let n=0;n<16;n++)c[n]=h[n]-f[n]}function y(c,h,f){let n,a,m=0,C=0,N=0,P=0,R=0,j=0,I=0,F=0,O=0,T=0,Y=0,Q=0,J=0,X=0,U=0,L=0,B=0,x=0,$=0,K=0,W=0,V=0,q=0,G=0,k=0,Ae=0,Pe=0,$e=0,Qe=0,ht=0,Wt=0,ee=f[0],te=f[1],re=f[2],ne=f[3],ie=f[4],oe=f[5],ae=f[6],ue=f[7],se=f[8],ce=f[9],fe=f[10],he=f[11],le=f[12],de=f[13],De=f[14],be=f[15];n=h[0],m+=n*ee,C+=n*te,N+=n*re,P+=n*ne,R+=n*ie,j+=n*oe,I+=n*ae,F+=n*ue,O+=n*se,T+=n*ce,Y+=n*fe,Q+=n*he,J+=n*le,X+=n*de,U+=n*De,L+=n*be,n=h[1],C+=n*ee,N+=n*te,P+=n*re,R+=n*ne,j+=n*ie,I+=n*oe,F+=n*ae,O+=n*ue,T+=n*se,Y+=n*ce,Q+=n*fe,J+=n*he,X+=n*le,U+=n*de,L+=n*De,B+=n*be,n=h[2],N+=n*ee,P+=n*te,R+=n*re,j+=n*ne,I+=n*ie,F+=n*oe,O+=n*ae,T+=n*ue,Y+=n*se,Q+=n*ce,J+=n*fe,X+=n*he,U+=n*le,L+=n*de,B+=n*De,x+=n*be,n=h[3],P+=n*ee,R+=n*te,j+=n*re,I+=n*ne,F+=n*ie,O+=n*oe,T+=n*ae,Y+=n*ue,Q+=n*se,J+=n*ce,X+=n*fe,U+=n*he,L+=n*le,B+=n*de,x+=n*De,$+=n*be,n=h[4],R+=n*ee,j+=n*te,I+=n*re,F+=n*ne,O+=n*ie,T+=n*oe,Y+=n*ae,Q+=n*ue,J+=n*se,X+=n*ce,U+=n*fe,L+=n*he,B+=n*le,x+=n*de,$+=n*De,K+=n*be,n=h[5],j+=n*ee,I+=n*te,F+=n*re,O+=n*ne,T+=n*ie,Y+=n*oe,Q+=n*ae,J+=n*ue,X+=n*se,U+=n*ce,L+=n*fe,B+=n*he,x+=n*le,$+=n*de,K+=n*De,W+=n*be,n=h[6],I+=n*ee,F+=n*te,O+=n*re,T+=n*ne,Y+=n*ie,Q+=n*oe,J+=n*ae,X+=n*ue,U+=n*se,L+=n*ce,B+=n*fe,x+=n*he,$+=n*le,K+=n*de,W+=n*De,V+=n*be,n=h[7],F+=n*ee,O+=n*te,T+=n*re,Y+=n*ne,Q+=n*ie,J+=n*oe,X+=n*ae,U+=n*ue,L+=n*se,B+=n*ce,x+=n*fe,$+=n*he,K+=n*le,W+=n*de,V+=n*De,q+=n*be,n=h[8],O+=n*ee,T+=n*te,Y+=n*re,Q+=n*ne,J+=n*ie,X+=n*oe,U+=n*ae,L+=n*ue,B+=n*se,x+=n*ce,$+=n*fe,K+=n*he,W+=n*le,V+=n*de,q+=n*De,G+=n*be,n=h[9],T+=n*ee,Y+=n*te,Q+=n*re,J+=n*ne,X+=n*ie,U+=n*oe,L+=n*ae,B+=n*ue,x+=n*se,$+=n*ce,K+=n*fe,W+=n*he,V+=n*le,q+=n*de,G+=n*De,k+=n*be,n=h[10],Y+=n*ee,Q+=n*te,J+=n*re,X+=n*ne,U+=n*ie,L+=n*oe,B+=n*ae,x+=n*ue,$+=n*se,K+=n*ce,W+=n*fe,V+=n*he,q+=n*le,G+=n*de,k+=n*De,Ae+=n*be,n=h[11],Q+=n*ee,J+=n*te,X+=n*re,U+=n*ne,L+=n*ie,B+=n*oe,x+=n*ae,$+=n*ue,K+=n*se,W+=n*ce,V+=n*fe,q+=n*he,G+=n*le,k+=n*de,Ae+=n*De,Pe+=n*be,n=h[12],J+=n*ee,X+=n*te,U+=n*re,L+=n*ne,B+=n*ie,x+=n*oe,$+=n*ae,K+=n*ue,W+=n*se,V+=n*ce,q+=n*fe,G+=n*he,k+=n*le,Ae+=n*de,Pe+=n*De,$e+=n*be,n=h[13],X+=n*ee,U+=n*te,L+=n*re,B+=n*ne,x+=n*ie,$+=n*oe,K+=n*ae,W+=n*ue,V+=n*se,q+=n*ce,G+=n*fe,k+=n*he,Ae+=n*le,Pe+=n*de,$e+=n*De,Qe+=n*be,n=h[14],U+=n*ee,L+=n*te,B+=n*re,x+=n*ne,$+=n*ie,K+=n*oe,W+=n*ae,V+=n*ue,q+=n*se,G+=n*ce,k+=n*fe,Ae+=n*he,Pe+=n*le,$e+=n*de,Qe+=n*De,ht+=n*be,n=h[15],L+=n*ee,B+=n*te,x+=n*re,$+=n*ne,K+=n*ie,W+=n*oe,V+=n*ae,q+=n*ue,G+=n*se,k+=n*ce,Ae+=n*fe,Pe+=n*he,$e+=n*le,Qe+=n*de,ht+=n*De,Wt+=n*be,m+=38*B,C+=38*x,N+=38*$,P+=38*K,R+=38*W,j+=38*V,I+=38*q,F+=38*G,O+=38*k,T+=38*Ae,Y+=38*Pe,Q+=38*$e,J+=38*Qe,X+=38*ht,U+=38*Wt,a=1,n=m+a+65535,a=Math.floor(n/65536),m=n-a*65536,n=C+a+65535,a=Math.floor(n/65536),C=n-a*65536,n=N+a+65535,a=Math.floor(n/65536),N=n-a*65536,n=P+a+65535,a=Math.floor(n/65536),P=n-a*65536,n=R+a+65535,a=Math.floor(n/65536),R=n-a*65536,n=j+a+65535,a=Math.floor(n/65536),j=n-a*65536,n=I+a+65535,a=Math.floor(n/65536),I=n-a*65536,n=F+a+65535,a=Math.floor(n/65536),F=n-a*65536,n=O+a+65535,a=Math.floor(n/65536),O=n-a*65536,n=T+a+65535,a=Math.floor(n/65536),T=n-a*65536,n=Y+a+65535,a=Math.floor(n/65536),Y=n-a*65536,n=Q+a+65535,a=Math.floor(n/65536),Q=n-a*65536,n=J+a+65535,a=Math.floor(n/65536),J=n-a*65536,n=X+a+65535,a=Math.floor(n/65536),X=n-a*65536,n=U+a+65535,a=Math.floor(n/65536),U=n-a*65536,n=L+a+65535,a=Math.floor(n/65536),L=n-a*65536,m+=a-1+37*(a-1),a=1,n=m+a+65535,a=Math.floor(n/65536),m=n-a*65536,n=C+a+65535,a=Math.floor(n/65536),C=n-a*65536,n=N+a+65535,a=Math.floor(n/65536),N=n-a*65536,n=P+a+65535,a=Math.floor(n/65536),P=n-a*65536,n=R+a+65535,a=Math.floor(n/65536),R=n-a*65536,n=j+a+65535,a=Math.floor(n/65536),j=n-a*65536,n=I+a+65535,a=Math.floor(n/65536),I=n-a*65536,n=F+a+65535,a=Math.floor(n/65536),F=n-a*65536,n=O+a+65535,a=Math.floor(n/65536),O=n-a*65536,n=T+a+65535,a=Math.floor(n/65536),T=n-a*65536,n=Y+a+65535,a=Math.floor(n/65536),Y=n-a*65536,n=Q+a+65535,a=Math.floor(n/65536),Q=n-a*65536,n=J+a+65535,a=Math.floor(n/65536),J=n-a*65536,n=X+a+65535,a=Math.floor(n/65536),X=n-a*65536,n=U+a+65535,a=Math.floor(n/65536),U=n-a*65536,n=L+a+65535,a=Math.floor(n/65536),L=n-a*65536,m+=a-1+37*(a-1),c[0]=m,c[1]=C,c[2]=N,c[3]=P,c[4]=R,c[5]=j,c[6]=I,c[7]=F,c[8]=O,c[9]=T,c[10]=Y,c[11]=Q,c[12]=J,c[13]=X,c[14]=U,c[15]=L}function v(c,h){y(c,h,h)}function g(c,h){const f=i();for(let n=0;n<16;n++)f[n]=h[n];for(let n=253;n>=0;n--)v(f,f),n!==2&&n!==4&&y(f,f,h);for(let n=0;n<16;n++)c[n]=f[n]}function S(c,h){const f=new Uint8Array(32),n=new Float64Array(80),a=i(),m=i(),C=i(),N=i(),P=i(),R=i();for(let O=0;O<31;O++)f[O]=c[O];f[31]=c[31]&127|64,f[0]&=248,_(n,h);for(let O=0;O<16;O++)m[O]=n[O];a[0]=N[0]=1;for(let O=254;O>=0;--O){const T=f[O>>>3]>>>(O&7)&1;u(a,m,T),u(C,N,T),D(P,a,C),w(a,a,C),D(C,m,N),w(m,m,N),v(N,P),v(R,a),y(a,C,a),y(C,m,P),D(P,a,C),w(a,a,C),v(m,a),w(C,N,R),y(a,C,s),D(a,a,N),y(C,C,a),y(a,N,R),y(N,m,n),v(m,P),u(a,m,T),u(C,N,T)}for(let O=0;O<16;O++)n[O+16]=a[O],n[O+32]=C[O],n[O+48]=m[O],n[O+64]=N[O];const j=n.subarray(32),I=n.subarray(16);g(j,j),y(I,I,j);const F=new Uint8Array(32);return l(F,I),F}e.scalarMult=S;function p(c){return S(c,o)}e.scalarMultBase=p;function A(c){if(c.length!==e.SECRET_KEY_LENGTH)throw new Error(`x25519: seed must be ${e.SECRET_KEY_LENGTH} bytes`);const h=new Uint8Array(c);return{publicKey:p(h),secretKey:h}}e.generateKeyPairFromSeed=A;function d(c){const h=(0,t.randomBytes)(32,c),f=A(h);return(0,r.wipe)(h),f}e.generateKeyPair=d;function E(c,h,f=!1){if(c.length!==e.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect secret key length");if(h.length!==e.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect public key length");const n=S(c,h);if(f){let a=0;for(let m=0;m<n.length;m++)a|=n[m];if(a===0)throw new Error("X25519: invalid shared key")}return n}e.sharedKey=E})(Ft);function Mt(e){return globalThis.Buffer!=null?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e}function Fr(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?Mt(globalThis.Buffer.allocUnsafe(e)):new Uint8Array(e)}function mt(e,t){t||(t=e.reduce((o,s)=>o+s.length,0));const r=Fr(t);let i=0;for(const o of e)r.set(o,i),i+=o.length;return Mt(r)}function xn(e,t){if(e.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),i=0;i<r.length;i++)r[i]=255;for(var o=0;o<e.length;o++){var s=e.charAt(o),b=s.charCodeAt(0);if(r[b]!==255)throw new TypeError(s+" is ambiguous");r[b]=o}var u=e.length,l=e.charAt(0),_=Math.log(u)/Math.log(256),D=Math.log(256)/Math.log(u);function w(g){if(g instanceof Uint8Array||(ArrayBuffer.isView(g)?g=new Uint8Array(g.buffer,g.byteOffset,g.byteLength):Array.isArray(g)&&(g=Uint8Array.from(g))),!(g instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(g.length===0)return"";for(var S=0,p=0,A=0,d=g.length;A!==d&&g[A]===0;)A++,S++;for(var E=(d-A)*D+1>>>0,c=new Uint8Array(E);A!==d;){for(var h=g[A],f=0,n=E-1;(h!==0||f<p)&&n!==-1;n--,f++)h+=256*c[n]>>>0,c[n]=h%u>>>0,h=h/u>>>0;if(h!==0)throw new Error("Non-zero carry");p=f,A++}for(var a=E-p;a!==E&&c[a]===0;)a++;for(var m=l.repeat(S);a<E;++a)m+=e.charAt(c[a]);return m}function y(g){if(typeof g!="string")throw new TypeError("Expected String");if(g.length===0)return new Uint8Array;var S=0;if(g[S]!==" "){for(var p=0,A=0;g[S]===l;)p++,S++;for(var d=(g.length-S)*_+1>>>0,E=new Uint8Array(d);g[S];){var c=r[g.charCodeAt(S)];if(c===255)return;for(var h=0,f=d-1;(c!==0||h<A)&&f!==-1;f--,h++)c+=u*E[f]>>>0,E[f]=c%256>>>0,c=c/256>>>0;if(c!==0)throw new Error("Non-zero carry");A=h,S++}if(g[S]!==" "){for(var n=d-A;n!==d&&E[n]===0;)n++;for(var a=new Uint8Array(p+(d-n)),m=p;n!==d;)a[m++]=E[n++];return a}}}function v(g){var S=y(g);if(S)return S;throw new Error(`Non-${t} character`)}return{encode:w,decodeUnsafe:y,decode:v}}var $n=xn,Hn=$n;const Kn=e=>{if(e instanceof Uint8Array&&e.constructor.name==="Uint8Array")return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Unknown type, must be binary type")},Wn=e=>new TextEncoder().encode(e),Vn=e=>new TextDecoder().decode(e);class qn{constructor(t,r,i){this.name=t,this.prefix=r,this.baseEncode=i}encode(t){if(t instanceof Uint8Array)return`${this.prefix}${this.baseEncode(t)}`;throw Error("Unknown type, must be binary type")}}class zn{constructor(t,r,i){if(this.name=t,this.prefix=r,r.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=r.codePointAt(0),this.baseDecode=i}decode(t){if(typeof t=="string"){if(t.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(t)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(t.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(t){return Mr(this,t)}}class Gn{constructor(t){this.decoders=t}or(t){return Mr(this,t)}decode(t){const r=t[0],i=this.decoders[r];if(i)return i.decode(t);throw RangeError(`Unable to decode multibase string ${JSON.stringify(t)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const Mr=(e,t)=>new Gn({...e.decoders||{[e.prefix]:e},...t.decoders||{[t.prefix]:t}});class Yn{constructor(t,r,i,o){this.name=t,this.prefix=r,this.baseEncode=i,this.baseDecode=o,this.encoder=new qn(t,r,i),this.decoder=new zn(t,r,o)}encode(t){return this.encoder.encode(t)}decode(t){return this.decoder.decode(t)}}const st=({name:e,prefix:t,encode:r,decode:i})=>new Yn(e,t,r,i),Ge=({prefix:e,name:t,alphabet:r})=>{const{encode:i,decode:o}=Hn(r,t);return st({prefix:e,name:t,encode:i,decode:s=>Kn(o(s))})},kn=(e,t,r,i)=>{const o={};for(let D=0;D<t.length;++D)o[t[D]]=D;let s=e.length;for(;e[s-1]==="=";)--s;const b=new Uint8Array(s*r/8|0);let u=0,l=0,_=0;for(let D=0;D<s;++D){const w=o[e[D]];if(w===void 0)throw new SyntaxError(`Non-${i} character`);l=l<<r|w,u+=r,u>=8&&(u-=8,b[_++]=255&l>>u)}if(u>=r||255&l<<8-u)throw new SyntaxError("Unexpected end of data");return b},Xn=(e,t,r)=>{const i=t[t.length-1]==="=",o=(1<<r)-1;let s="",b=0,u=0;for(let l=0;l<e.length;++l)for(u=u<<8|e[l],b+=8;b>r;)b-=r,s+=t[o&u>>b];if(b&&(s+=t[o&u<<r-b]),i)for(;s.length*r&7;)s+="=";return s},Z=({name:e,prefix:t,bitsPerChar:r,alphabet:i})=>st({prefix:t,name:e,encode(o){return Xn(o,i,r)},decode(o){return kn(o,i,r,e)}}),Jn=st({prefix:"\0",name:"identity",encode:e=>Vn(e),decode:e=>Wn(e)}),Qn=Object.freeze(Object.defineProperty({__proto__:null,identity:Jn},Symbol.toStringTag,{value:"Module"})),Zn=Z({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),ei=Object.freeze(Object.defineProperty({__proto__:null,base2:Zn},Symbol.toStringTag,{value:"Module"})),ti=Z({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),ri=Object.freeze(Object.defineProperty({__proto__:null,base8:ti},Symbol.toStringTag,{value:"Module"})),ni=Ge({prefix:"9",name:"base10",alphabet:"0123456789"}),ii=Object.freeze(Object.defineProperty({__proto__:null,base10:ni},Symbol.toStringTag,{value:"Module"})),oi=Z({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),ai=Z({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),ui=Object.freeze(Object.defineProperty({__proto__:null,base16:oi,base16upper:ai},Symbol.toStringTag,{value:"Module"})),si=Z({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),ci=Z({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),fi=Z({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),hi=Z({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),li=Z({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),di=Z({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),Di=Z({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),bi=Z({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),_i=Z({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),Ei=Object.freeze(Object.defineProperty({__proto__:null,base32:si,base32hex:li,base32hexpad:Di,base32hexpadupper:bi,base32hexupper:di,base32pad:fi,base32padupper:hi,base32upper:ci,base32z:_i},Symbol.toStringTag,{value:"Module"})),wi=Ge({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),vi=Ge({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),yi=Object.freeze(Object.defineProperty({__proto__:null,base36:wi,base36upper:vi},Symbol.toStringTag,{value:"Module"})),gi=Ge({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),pi=Ge({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),mi=Object.freeze(Object.defineProperty({__proto__:null,base58btc:gi,base58flickr:pi},Symbol.toStringTag,{value:"Module"})),Si=Z({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Oi=Z({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),Ci=Z({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),Ui=Z({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),Ai=Object.freeze(Object.defineProperty({__proto__:null,base64:Si,base64pad:Oi,base64url:Ci,base64urlpad:Ui},Symbol.toStringTag,{value:"Module"})),Pr=Array.from("🚀🪐☄🛰🌌🌑🌒🌓🌔🌕🌖🌗🌘🌍🌏🌎🐉☀💻🖥💾💿😂❤😍🤣😊🙏💕😭😘👍😅👏😁🔥🥰💔💖💙😢🤔😆🙄💪😉☺👌🤗💜😔😎😇🌹🤦🎉💞✌✨🤷😱😌🌸🙌😋💗💚😏💛🙂💓🤩😄😀🖤😃💯🙈👇🎶😒🤭❣😜💋👀😪😑💥🙋😞😩😡🤪👊🥳😥🤤👉💃😳✋😚😝😴🌟😬🙃🍀🌷😻😓⭐✅🥺🌈😈🤘💦✔😣🏃💐☹🎊💘😠☝😕🌺🎂🌻😐🖕💝🙊😹🗣💫💀👑🎵🤞😛🔴😤🌼😫⚽🤙☕🏆🤫👈😮🙆🍻🍃🐶💁😲🌿🧡🎁⚡🌞🎈❌✊👋😰🤨😶🤝🚶💰🍓💢🤟🙁🚨💨🤬✈🎀🍺🤓😙💟🌱😖👶🥴▶➡❓💎💸⬇😨🌚🦋😷🕺⚠🙅😟😵👎🤲🤠🤧📌🔵💅🧐🐾🍒😗🤑🌊🤯🐷☎💧😯💆👆🎤🙇🍑❄🌴💣🐸💌📍🥀🤢👅💡💩👐📸👻🤐🤮🎼🥵🚩🍎🍊👼💍📣🥂"),Ni=Pr.reduce((e,t,r)=>(e[r]=t,e),[]),Ti=Pr.reduce((e,t,r)=>(e[t.codePointAt(0)]=r,e),[]);function Ii(e){return e.reduce((t,r)=>(t+=Ni[r],t),"")}function Fi(e){const t=[];for(const r of e){const i=Ti[r.codePointAt(0)];if(i===void 0)throw new Error(`Non-base256emoji character: ${r}`);t.push(i)}return new Uint8Array(t)}const Mi=st({prefix:"🚀",name:"base256emoji",encode:Ii,decode:Fi}),Pi=Object.freeze(Object.defineProperty({__proto__:null,base256emoji:Mi},Symbol.toStringTag,{value:"Module"}));new TextEncoder;new TextDecoder;const Gt={...Qn,...ei,...ri,...ii,...ui,...Ei,...yi,...mi,...Ai,...Pi};function jr(e,t,r,i){return{name:e,prefix:t,encoder:{name:e,prefix:t,encode:r},decoder:{decode:i}}}const Yt=jr("utf8","u",e=>"u"+new TextDecoder("utf8").decode(e),e=>new TextEncoder().encode(e.substring(1))),lt=jr("ascii","a",e=>{let t="a";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},e=>{e=e.substring(1);const t=Fr(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}),Rr={utf8:Yt,"utf-8":Yt,hex:Gt.base16,latin1:lt,ascii:lt,binary:lt,...Gt};function ye(e,t="utf8"){const r=Rr[t];if(!r)throw new Error(`Unsupported encoding "${t}"`);return(t==="utf8"||t==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?Mt(globalThis.Buffer.from(e,"utf-8")):r.decoder.decode(`${r.prefix}${e}`)}function ge(e,t="utf8"){const r=Rr[t];if(!r)throw new Error(`Unsupported encoding "${t}"`);return(t==="utf8"||t==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8"):r.encoder.encode(e).substring(1)}var kt=function(e,t,r){if(r||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return e.concat(s||Array.prototype.slice.call(t))},ji=function(){function e(t,r,i){this.name=t,this.version=r,this.os=i,this.type="browser"}return e}(),Ri=function(){function e(t){this.version=t,this.type="node",this.name="node",this.os=H.dist.process.platform}return e}(),Li=function(){function e(t,r,i,o){this.name=t,this.version=r,this.os=i,this.bot=o,this.type="bot-device"}return e}(),Bi=function(){function e(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}return e}(),xi=function(){function e(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}return e}(),$i=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,Hi=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,Xt=3,Ki=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",$i]],Jt=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function Wi(e){return e?Qt(e):typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new xi:typeof navigator<"u"?Qt(navigator.userAgent):zi()}function Vi(e){return e!==""&&Ki.reduce(function(t,r){var i=r[0],o=r[1];if(t)return t;var s=o.exec(e);return!!s&&[i,s]},!1)}function Qt(e){var t=Vi(e);if(!t)return null;var r=t[0],i=t[1];if(r==="searchbot")return new Bi;var o=i[1]&&i[1].split(".").join("_").split("_").slice(0,3);o?o.length<Xt&&(o=kt(kt([],o,!0),Gi(Xt-o.length),!0)):o=[];var s=o.join("."),b=qi(e),u=Hi.exec(e);return u&&u[1]?new Li(r,s,b,u[1]):new ji(r,s,b)}function qi(e){for(var t=0,r=Jt.length;t<r;t++){var i=Jt[t],o=i[0],s=i[1],b=s.exec(e);if(b)return o}return null}function zi(){var e=typeof H.dist.process<"u"&&H.dist.process.version;return e?new Ri(H.dist.process.version.slice(1)):null}function Gi(e){for(var t=[],r=0;r<e;r++)t.push("0");return t}var Oe={};/*! *****************************************************************************
|
|
1
|
+
"use strict";const H=require("./index-Lyx2KgEl.js");var Tt={},nt={},M={},gr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(u,l){var _=u>>>16&65535,D=u&65535,w=l>>>16&65535,y=l&65535;return D*y+(_*y+D*w<<16>>>0)|0}e.mul=Math.imul||t;function r(u,l){return u+l|0}e.add=r;function i(u,l){return u-l|0}e.sub=i;function o(u,l){return u<<l|u>>>32-l}e.rotl=o;function s(u,l){return u<<32-l|u>>>l}e.rotr=s;function b(u){return typeof u=="number"&&isFinite(u)&&Math.floor(u)===u}e.isInteger=Number.isInteger||b,e.MAX_SAFE_INTEGER=9007199254740991,e.isSafeInteger=function(u){return e.isInteger(u)&&u>=-e.MAX_SAFE_INTEGER&&u<=e.MAX_SAFE_INTEGER}})(gr);Object.defineProperty(M,"__esModule",{value:!0});var pr=gr;function Qr(e,t){return t===void 0&&(t=0),(e[t+0]<<8|e[t+1])<<16>>16}M.readInt16BE=Qr;function Zr(e,t){return t===void 0&&(t=0),(e[t+0]<<8|e[t+1])>>>0}M.readUint16BE=Zr;function en(e,t){return t===void 0&&(t=0),(e[t+1]<<8|e[t])<<16>>16}M.readInt16LE=en;function tn(e,t){return t===void 0&&(t=0),(e[t+1]<<8|e[t])>>>0}M.readUint16LE=tn;function mr(e,t,r){return t===void 0&&(t=new Uint8Array(2)),r===void 0&&(r=0),t[r+0]=e>>>8,t[r+1]=e>>>0,t}M.writeUint16BE=mr;M.writeInt16BE=mr;function Sr(e,t,r){return t===void 0&&(t=new Uint8Array(2)),r===void 0&&(r=0),t[r+0]=e>>>0,t[r+1]=e>>>8,t}M.writeUint16LE=Sr;M.writeInt16LE=Sr;function wt(e,t){return t===void 0&&(t=0),e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}M.readInt32BE=wt;function vt(e,t){return t===void 0&&(t=0),(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}M.readUint32BE=vt;function yt(e,t){return t===void 0&&(t=0),e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]}M.readInt32LE=yt;function gt(e,t){return t===void 0&&(t=0),(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t])>>>0}M.readUint32LE=gt;function et(e,t,r){return t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0),t[r+0]=e>>>24,t[r+1]=e>>>16,t[r+2]=e>>>8,t[r+3]=e>>>0,t}M.writeUint32BE=et;M.writeInt32BE=et;function tt(e,t,r){return t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0),t[r+0]=e>>>0,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24,t}M.writeUint32LE=tt;M.writeInt32LE=tt;function rn(e,t){t===void 0&&(t=0);var r=wt(e,t),i=wt(e,t+4);return r*4294967296+i-(i>>31)*4294967296}M.readInt64BE=rn;function nn(e,t){t===void 0&&(t=0);var r=vt(e,t),i=vt(e,t+4);return r*4294967296+i}M.readUint64BE=nn;function on(e,t){t===void 0&&(t=0);var r=yt(e,t),i=yt(e,t+4);return i*4294967296+r-(r>>31)*4294967296}M.readInt64LE=on;function an(e,t){t===void 0&&(t=0);var r=gt(e,t),i=gt(e,t+4);return i*4294967296+r}M.readUint64LE=an;function Or(e,t,r){return t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0),et(e/4294967296>>>0,t,r),et(e>>>0,t,r+4),t}M.writeUint64BE=Or;M.writeInt64BE=Or;function Cr(e,t,r){return t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0),tt(e>>>0,t,r),tt(e/4294967296>>>0,t,r+4),t}M.writeUint64LE=Cr;M.writeInt64LE=Cr;function un(e,t,r){if(r===void 0&&(r=0),e%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(e/8>t.length-r)throw new Error("readUintBE: array is too short for the given bitLength");for(var i=0,o=1,s=e/8+r-1;s>=r;s--)i+=t[s]*o,o*=256;return i}M.readUintBE=un;function sn(e,t,r){if(r===void 0&&(r=0),e%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(e/8>t.length-r)throw new Error("readUintLE: array is too short for the given bitLength");for(var i=0,o=1,s=r;s<r+e/8;s++)i+=t[s]*o,o*=256;return i}M.readUintLE=sn;function cn(e,t,r,i){if(r===void 0&&(r=new Uint8Array(e/8)),i===void 0&&(i=0),e%8!==0)throw new Error("writeUintBE supports only bitLengths divisible by 8");if(!pr.isSafeInteger(t))throw new Error("writeUintBE value must be an integer");for(var o=1,s=e/8+i-1;s>=i;s--)r[s]=t/o&255,o*=256;return r}M.writeUintBE=cn;function fn(e,t,r,i){if(r===void 0&&(r=new Uint8Array(e/8)),i===void 0&&(i=0),e%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!pr.isSafeInteger(t))throw new Error("writeUintLE value must be an integer");for(var o=1,s=i;s<i+e/8;s++)r[s]=t/o&255,o*=256;return r}M.writeUintLE=fn;function hn(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat32(t)}M.readFloat32BE=hn;function ln(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat32(t,!0)}M.readFloat32LE=ln;function dn(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat64(t)}M.readFloat64BE=dn;function Dn(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat64(t,!0)}M.readFloat64LE=Dn;function bn(e,t,r){t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0);var i=new DataView(t.buffer,t.byteOffset,t.byteLength);return i.setFloat32(r,e),t}M.writeFloat32BE=bn;function _n(e,t,r){t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0);var i=new DataView(t.buffer,t.byteOffset,t.byteLength);return i.setFloat32(r,e,!0),t}M.writeFloat32LE=_n;function En(e,t,r){t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0);var i=new DataView(t.buffer,t.byteOffset,t.byteLength);return i.setFloat64(r,e),t}M.writeFloat64BE=En;function wn(e,t,r){t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0);var i=new DataView(t.buffer,t.byteOffset,t.byteLength);return i.setFloat64(r,e,!0),t}M.writeFloat64LE=wn;var pe={};Object.defineProperty(pe,"__esModule",{value:!0});function vn(e){for(var t=0;t<e.length;t++)e[t]=0;return e}pe.wipe=vn;Object.defineProperty(nt,"__esModule",{value:!0});var _e=M,pt=pe,yn=20;function gn(e,t,r){for(var i=1634760805,o=857760878,s=2036477234,b=1797285236,u=r[3]<<24|r[2]<<16|r[1]<<8|r[0],l=r[7]<<24|r[6]<<16|r[5]<<8|r[4],_=r[11]<<24|r[10]<<16|r[9]<<8|r[8],D=r[15]<<24|r[14]<<16|r[13]<<8|r[12],w=r[19]<<24|r[18]<<16|r[17]<<8|r[16],y=r[23]<<24|r[22]<<16|r[21]<<8|r[20],v=r[27]<<24|r[26]<<16|r[25]<<8|r[24],g=r[31]<<24|r[30]<<16|r[29]<<8|r[28],S=t[3]<<24|t[2]<<16|t[1]<<8|t[0],p=t[7]<<24|t[6]<<16|t[5]<<8|t[4],A=t[11]<<24|t[10]<<16|t[9]<<8|t[8],d=t[15]<<24|t[14]<<16|t[13]<<8|t[12],E=i,c=o,h=s,f=b,n=u,a=l,m=_,C=D,N=w,P=y,R=v,j=g,I=S,F=p,O=A,T=d,Y=0;Y<yn;Y+=2)E=E+n|0,I^=E,I=I>>>16|I<<16,N=N+I|0,n^=N,n=n>>>20|n<<12,c=c+a|0,F^=c,F=F>>>16|F<<16,P=P+F|0,a^=P,a=a>>>20|a<<12,h=h+m|0,O^=h,O=O>>>16|O<<16,R=R+O|0,m^=R,m=m>>>20|m<<12,f=f+C|0,T^=f,T=T>>>16|T<<16,j=j+T|0,C^=j,C=C>>>20|C<<12,h=h+m|0,O^=h,O=O>>>24|O<<8,R=R+O|0,m^=R,m=m>>>25|m<<7,f=f+C|0,T^=f,T=T>>>24|T<<8,j=j+T|0,C^=j,C=C>>>25|C<<7,c=c+a|0,F^=c,F=F>>>24|F<<8,P=P+F|0,a^=P,a=a>>>25|a<<7,E=E+n|0,I^=E,I=I>>>24|I<<8,N=N+I|0,n^=N,n=n>>>25|n<<7,E=E+a|0,T^=E,T=T>>>16|T<<16,R=R+T|0,a^=R,a=a>>>20|a<<12,c=c+m|0,I^=c,I=I>>>16|I<<16,j=j+I|0,m^=j,m=m>>>20|m<<12,h=h+C|0,F^=h,F=F>>>16|F<<16,N=N+F|0,C^=N,C=C>>>20|C<<12,f=f+n|0,O^=f,O=O>>>16|O<<16,P=P+O|0,n^=P,n=n>>>20|n<<12,h=h+C|0,F^=h,F=F>>>24|F<<8,N=N+F|0,C^=N,C=C>>>25|C<<7,f=f+n|0,O^=f,O=O>>>24|O<<8,P=P+O|0,n^=P,n=n>>>25|n<<7,c=c+m|0,I^=c,I=I>>>24|I<<8,j=j+I|0,m^=j,m=m>>>25|m<<7,E=E+a|0,T^=E,T=T>>>24|T<<8,R=R+T|0,a^=R,a=a>>>25|a<<7;_e.writeUint32LE(E+i|0,e,0),_e.writeUint32LE(c+o|0,e,4),_e.writeUint32LE(h+s|0,e,8),_e.writeUint32LE(f+b|0,e,12),_e.writeUint32LE(n+u|0,e,16),_e.writeUint32LE(a+l|0,e,20),_e.writeUint32LE(m+_|0,e,24),_e.writeUint32LE(C+D|0,e,28),_e.writeUint32LE(N+w|0,e,32),_e.writeUint32LE(P+y|0,e,36),_e.writeUint32LE(R+v|0,e,40),_e.writeUint32LE(j+g|0,e,44),_e.writeUint32LE(I+S|0,e,48),_e.writeUint32LE(F+p|0,e,52),_e.writeUint32LE(O+A|0,e,56),_e.writeUint32LE(T+d|0,e,60)}function Ur(e,t,r,i,o){if(o===void 0&&(o=0),e.length!==32)throw new Error("ChaCha: key size must be 32 bytes");if(i.length<r.length)throw new Error("ChaCha: destination is shorter than source");var s,b;if(o===0){if(t.length!==8&&t.length!==12)throw new Error("ChaCha nonce must be 8 or 12 bytes");s=new Uint8Array(16),b=s.length-t.length,s.set(t,b)}else{if(t.length!==16)throw new Error("ChaCha nonce with counter must be 16 bytes");s=t,b=o}for(var u=new Uint8Array(64),l=0;l<r.length;l+=64){gn(u,s,e);for(var _=l;_<l+64&&_<r.length;_++)i[_]=r[_]^u[_-l];mn(s,0,b)}return pt.wipe(u),o===0&&pt.wipe(s),i}nt.streamXOR=Ur;function pn(e,t,r,i){return i===void 0&&(i=0),pt.wipe(r),Ur(e,t,r,r,i)}nt.stream=pn;function mn(e,t,r){for(var i=1;r--;)i=i+(e[t]&255)|0,e[t]=i&255,i>>>=8,t++;if(i>0)throw new Error("ChaCha: counter overflow")}var Ar={},Ue={};Object.defineProperty(Ue,"__esModule",{value:!0});function Sn(e,t,r){return~(e-1)&t|e-1&r}Ue.select=Sn;function On(e,t){return(e|0)-(t|0)-1>>>31&1}Ue.lessOrEqual=On;function Nr(e,t){if(e.length!==t.length)return 0;for(var r=0,i=0;i<e.length;i++)r|=e[i]^t[i];return 1&r-1>>>8}Ue.compare=Nr;function Cn(e,t){return e.length===0||t.length===0?!1:Nr(e,t)!==0}Ue.equal=Cn;(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Ue,r=pe;e.DIGEST_LENGTH=16;var i=function(){function b(u){this.digestLength=e.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var l=u[0]|u[1]<<8;this._r[0]=l&8191;var _=u[2]|u[3]<<8;this._r[1]=(l>>>13|_<<3)&8191;var D=u[4]|u[5]<<8;this._r[2]=(_>>>10|D<<6)&7939;var w=u[6]|u[7]<<8;this._r[3]=(D>>>7|w<<9)&8191;var y=u[8]|u[9]<<8;this._r[4]=(w>>>4|y<<12)&255,this._r[5]=y>>>1&8190;var v=u[10]|u[11]<<8;this._r[6]=(y>>>14|v<<2)&8191;var g=u[12]|u[13]<<8;this._r[7]=(v>>>11|g<<5)&8065;var S=u[14]|u[15]<<8;this._r[8]=(g>>>8|S<<8)&8191,this._r[9]=S>>>5&127,this._pad[0]=u[16]|u[17]<<8,this._pad[1]=u[18]|u[19]<<8,this._pad[2]=u[20]|u[21]<<8,this._pad[3]=u[22]|u[23]<<8,this._pad[4]=u[24]|u[25]<<8,this._pad[5]=u[26]|u[27]<<8,this._pad[6]=u[28]|u[29]<<8,this._pad[7]=u[30]|u[31]<<8}return b.prototype._blocks=function(u,l,_){for(var D=this._fin?0:2048,w=this._h[0],y=this._h[1],v=this._h[2],g=this._h[3],S=this._h[4],p=this._h[5],A=this._h[6],d=this._h[7],E=this._h[8],c=this._h[9],h=this._r[0],f=this._r[1],n=this._r[2],a=this._r[3],m=this._r[4],C=this._r[5],N=this._r[6],P=this._r[7],R=this._r[8],j=this._r[9];_>=16;){var I=u[l+0]|u[l+1]<<8;w+=I&8191;var F=u[l+2]|u[l+3]<<8;y+=(I>>>13|F<<3)&8191;var O=u[l+4]|u[l+5]<<8;v+=(F>>>10|O<<6)&8191;var T=u[l+6]|u[l+7]<<8;g+=(O>>>7|T<<9)&8191;var Y=u[l+8]|u[l+9]<<8;S+=(T>>>4|Y<<12)&8191,p+=Y>>>1&8191;var Q=u[l+10]|u[l+11]<<8;A+=(Y>>>14|Q<<2)&8191;var J=u[l+12]|u[l+13]<<8;d+=(Q>>>11|J<<5)&8191;var X=u[l+14]|u[l+15]<<8;E+=(J>>>8|X<<8)&8191,c+=X>>>5|D;var U=0,L=U;L+=w*h,L+=y*(5*j),L+=v*(5*R),L+=g*(5*P),L+=S*(5*N),U=L>>>13,L&=8191,L+=p*(5*C),L+=A*(5*m),L+=d*(5*a),L+=E*(5*n),L+=c*(5*f),U+=L>>>13,L&=8191;var B=U;B+=w*f,B+=y*h,B+=v*(5*j),B+=g*(5*R),B+=S*(5*P),U=B>>>13,B&=8191,B+=p*(5*N),B+=A*(5*C),B+=d*(5*m),B+=E*(5*a),B+=c*(5*n),U+=B>>>13,B&=8191;var x=U;x+=w*n,x+=y*f,x+=v*h,x+=g*(5*j),x+=S*(5*R),U=x>>>13,x&=8191,x+=p*(5*P),x+=A*(5*N),x+=d*(5*C),x+=E*(5*m),x+=c*(5*a),U+=x>>>13,x&=8191;var $=U;$+=w*a,$+=y*n,$+=v*f,$+=g*h,$+=S*(5*j),U=$>>>13,$&=8191,$+=p*(5*R),$+=A*(5*P),$+=d*(5*N),$+=E*(5*C),$+=c*(5*m),U+=$>>>13,$&=8191;var K=U;K+=w*m,K+=y*a,K+=v*n,K+=g*f,K+=S*h,U=K>>>13,K&=8191,K+=p*(5*j),K+=A*(5*R),K+=d*(5*P),K+=E*(5*N),K+=c*(5*C),U+=K>>>13,K&=8191;var W=U;W+=w*C,W+=y*m,W+=v*a,W+=g*n,W+=S*f,U=W>>>13,W&=8191,W+=p*h,W+=A*(5*j),W+=d*(5*R),W+=E*(5*P),W+=c*(5*N),U+=W>>>13,W&=8191;var V=U;V+=w*N,V+=y*C,V+=v*m,V+=g*a,V+=S*n,U=V>>>13,V&=8191,V+=p*f,V+=A*h,V+=d*(5*j),V+=E*(5*R),V+=c*(5*P),U+=V>>>13,V&=8191;var q=U;q+=w*P,q+=y*N,q+=v*C,q+=g*m,q+=S*a,U=q>>>13,q&=8191,q+=p*n,q+=A*f,q+=d*h,q+=E*(5*j),q+=c*(5*R),U+=q>>>13,q&=8191;var G=U;G+=w*R,G+=y*P,G+=v*N,G+=g*C,G+=S*m,U=G>>>13,G&=8191,G+=p*a,G+=A*n,G+=d*f,G+=E*h,G+=c*(5*j),U+=G>>>13,G&=8191;var k=U;k+=w*j,k+=y*R,k+=v*P,k+=g*N,k+=S*C,U=k>>>13,k&=8191,k+=p*m,k+=A*a,k+=d*n,k+=E*f,k+=c*h,U+=k>>>13,k&=8191,U=(U<<2)+U|0,U=U+L|0,L=U&8191,U=U>>>13,B+=U,w=L,y=B,v=x,g=$,S=K,p=W,A=V,d=q,E=G,c=k,l+=16,_-=16}this._h[0]=w,this._h[1]=y,this._h[2]=v,this._h[3]=g,this._h[4]=S,this._h[5]=p,this._h[6]=A,this._h[7]=d,this._h[8]=E,this._h[9]=c},b.prototype.finish=function(u,l){l===void 0&&(l=0);var _=new Uint16Array(10),D,w,y,v;if(this._leftover){for(v=this._leftover,this._buffer[v++]=1;v<16;v++)this._buffer[v]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(D=this._h[1]>>>13,this._h[1]&=8191,v=2;v<10;v++)this._h[v]+=D,D=this._h[v]>>>13,this._h[v]&=8191;for(this._h[0]+=D*5,D=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=D,D=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=D,_[0]=this._h[0]+5,D=_[0]>>>13,_[0]&=8191,v=1;v<10;v++)_[v]=this._h[v]+D,D=_[v]>>>13,_[v]&=8191;for(_[9]-=8192,w=(D^1)-1,v=0;v<10;v++)_[v]&=w;for(w=~w,v=0;v<10;v++)this._h[v]=this._h[v]&w|_[v];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,y=this._h[0]+this._pad[0],this._h[0]=y&65535,v=1;v<8;v++)y=(this._h[v]+this._pad[v]|0)+(y>>>16)|0,this._h[v]=y&65535;return u[l+0]=this._h[0]>>>0,u[l+1]=this._h[0]>>>8,u[l+2]=this._h[1]>>>0,u[l+3]=this._h[1]>>>8,u[l+4]=this._h[2]>>>0,u[l+5]=this._h[2]>>>8,u[l+6]=this._h[3]>>>0,u[l+7]=this._h[3]>>>8,u[l+8]=this._h[4]>>>0,u[l+9]=this._h[4]>>>8,u[l+10]=this._h[5]>>>0,u[l+11]=this._h[5]>>>8,u[l+12]=this._h[6]>>>0,u[l+13]=this._h[6]>>>8,u[l+14]=this._h[7]>>>0,u[l+15]=this._h[7]>>>8,this._finished=!0,this},b.prototype.update=function(u){var l=0,_=u.length,D;if(this._leftover){D=16-this._leftover,D>_&&(D=_);for(var w=0;w<D;w++)this._buffer[this._leftover+w]=u[l+w];if(_-=D,l+=D,this._leftover+=D,this._leftover<16)return this;this._blocks(this._buffer,0,16),this._leftover=0}if(_>=16&&(D=_-_%16,this._blocks(u,l,D),l+=D,_-=D),_){for(var w=0;w<_;w++)this._buffer[this._leftover+w]=u[l+w];this._leftover+=_}return this},b.prototype.digest=function(){if(this._finished)throw new Error("Poly1305 was finished");var u=new Uint8Array(16);return this.finish(u),u},b.prototype.clean=function(){return r.wipe(this._buffer),r.wipe(this._r),r.wipe(this._h),r.wipe(this._pad),this._leftover=0,this._fin=0,this._finished=!0,this},b}();e.Poly1305=i;function o(b,u){var l=new i(b);l.update(u);var _=l.digest();return l.clean(),_}e.oneTimeAuth=o;function s(b,u){return b.length!==e.DIGEST_LENGTH||u.length!==e.DIGEST_LENGTH?!1:t.equal(b,u)}e.equal=s})(Ar);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=nt,r=Ar,i=pe,o=M,s=Ue;e.KEY_LENGTH=32,e.NONCE_LENGTH=12,e.TAG_LENGTH=16;var b=new Uint8Array(16),u=function(){function l(_){if(this.nonceLength=e.NONCE_LENGTH,this.tagLength=e.TAG_LENGTH,_.length!==e.KEY_LENGTH)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(_)}return l.prototype.seal=function(_,D,w,y){if(_.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var v=new Uint8Array(16);v.set(_,v.length-_.length);var g=new Uint8Array(32);t.stream(this._key,v,g,4);var S=D.length+this.tagLength,p;if(y){if(y.length!==S)throw new Error("ChaCha20Poly1305: incorrect destination length");p=y}else p=new Uint8Array(S);return t.streamXOR(this._key,v,D,p,4),this._authenticate(p.subarray(p.length-this.tagLength,p.length),g,p.subarray(0,p.length-this.tagLength),w),i.wipe(v),p},l.prototype.open=function(_,D,w,y){if(_.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(D.length<this.tagLength)return null;var v=new Uint8Array(16);v.set(_,v.length-_.length);var g=new Uint8Array(32);t.stream(this._key,v,g,4);var S=new Uint8Array(this.tagLength);if(this._authenticate(S,g,D.subarray(0,D.length-this.tagLength),w),!s.equal(S,D.subarray(D.length-this.tagLength,D.length)))return null;var p=D.length-this.tagLength,A;if(y){if(y.length!==p)throw new Error("ChaCha20Poly1305: incorrect destination length");A=y}else A=new Uint8Array(p);return t.streamXOR(this._key,v,D.subarray(0,D.length-this.tagLength),A,4),i.wipe(v),A},l.prototype.clean=function(){return i.wipe(this._key),this},l.prototype._authenticate=function(_,D,w,y){var v=new r.Poly1305(D);y&&(v.update(y),y.length%16>0&&v.update(b.subarray(y.length%16))),v.update(w),w.length%16>0&&v.update(b.subarray(w.length%16));var g=new Uint8Array(8);y&&o.writeUint64LE(y.length,g),v.update(g),o.writeUint64LE(w.length,g),v.update(g);for(var S=v.digest(),p=0;p<S.length;p++)_[p]=S[p];v.clean(),i.wipe(S),i.wipe(g)},l}();e.ChaCha20Poly1305=u})(Tt);var Tr={},qe={},It={};Object.defineProperty(It,"__esModule",{value:!0});function Un(e){return typeof e.saveState<"u"&&typeof e.restoreState<"u"&&typeof e.cleanSavedState<"u"}It.isSerializableHash=Un;Object.defineProperty(qe,"__esModule",{value:!0});var me=It,An=Ue,Nn=pe,Ir=function(){function e(t,r){this._finished=!1,this._inner=new t,this._outer=new t,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var i=new Uint8Array(this.blockSize);r.length>this.blockSize?this._inner.update(r).finish(i).clean():i.set(r);for(var o=0;o<i.length;o++)i[o]^=54;this._inner.update(i);for(var o=0;o<i.length;o++)i[o]^=106;this._outer.update(i),me.isSerializableHash(this._inner)&&me.isSerializableHash(this._outer)&&(this._innerKeyedState=this._inner.saveState(),this._outerKeyedState=this._outer.saveState()),Nn.wipe(i)}return e.prototype.reset=function(){if(!me.isSerializableHash(this._inner)||!me.isSerializableHash(this._outer))throw new Error("hmac: can't reset() because hash doesn't implement restoreState()");return this._inner.restoreState(this._innerKeyedState),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},e.prototype.clean=function(){me.isSerializableHash(this._inner)&&this._inner.cleanSavedState(this._innerKeyedState),me.isSerializableHash(this._outer)&&this._outer.cleanSavedState(this._outerKeyedState),this._inner.clean(),this._outer.clean()},e.prototype.update=function(t){return this._inner.update(t),this},e.prototype.finish=function(t){return this._finished?(this._outer.finish(t),this):(this._inner.finish(t),this._outer.update(t.subarray(0,this.digestLength)).finish(t),this._finished=!0,this)},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype.saveState=function(){if(!me.isSerializableHash(this._inner))throw new Error("hmac: can't saveState() because hash doesn't implement it");return this._inner.saveState()},e.prototype.restoreState=function(t){if(!me.isSerializableHash(this._inner)||!me.isSerializableHash(this._outer))throw new Error("hmac: can't restoreState() because hash doesn't implement it");return this._inner.restoreState(t),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},e.prototype.cleanSavedState=function(t){if(!me.isSerializableHash(this._inner))throw new Error("hmac: can't cleanSavedState() because hash doesn't implement it");this._inner.cleanSavedState(t)},e}();qe.HMAC=Ir;function Tn(e,t,r){var i=new Ir(e,t);i.update(r);var o=i.digest();return i.clean(),o}qe.hmac=Tn;qe.equal=An.equal;Object.defineProperty(Tr,"__esModule",{value:!0});var Vt=qe,qt=pe,In=function(){function e(t,r,i,o){i===void 0&&(i=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=t,this._info=o;var s=Vt.hmac(this._hash,i,r);this._hmac=new Vt.HMAC(t,s),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return e.prototype._fillBuffer=function(){this._counter[0]++;var t=this._counter[0];if(t===0)throw new Error("hkdf: cannot expand more");this._hmac.reset(),t>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},e.prototype.expand=function(t){for(var r=new Uint8Array(t),i=0;i<r.length;i++)this._bufpos===this._buffer.length&&this._fillBuffer(),r[i]=this._buffer[this._bufpos++];return r},e.prototype.clean=function(){this._hmac.clean(),qt.wipe(this._buffer),qt.wipe(this._counter),this._bufpos=0},e}(),Fn=Tr.HKDF=In,ze={},it={},ot={};Object.defineProperty(ot,"__esModule",{value:!0});ot.BrowserRandomSource=void 0;const zt=65536;class Mn{constructor(){this.isAvailable=!1,this.isInstantiated=!1;const t=typeof self<"u"?self.crypto||self.msCrypto:null;t&&t.getRandomValues!==void 0&&(this._crypto=t,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(t){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");const r=new Uint8Array(t);for(let i=0;i<r.length;i+=zt)this._crypto.getRandomValues(r.subarray(i,i+Math.min(r.length-i,zt)));return r}}ot.BrowserRandomSource=Mn;var at={};Object.defineProperty(at,"__esModule",{value:!0});at.NodeRandomSource=void 0;const Pn=pe;class jn{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof H.commonjsRequire<"u"){const t=H.requireCryptoBrowserify();t&&t.randomBytes&&(this._crypto=t,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(t){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let r=this._crypto.randomBytes(t);if(r.length!==t)throw new Error("NodeRandomSource: got fewer bytes than requested");const i=new Uint8Array(t);for(let o=0;o<i.length;o++)i[o]=r[o];return(0,Pn.wipe)(r),i}}at.NodeRandomSource=jn;Object.defineProperty(it,"__esModule",{value:!0});it.SystemRandomSource=void 0;const Rn=ot,Ln=at;class Bn{constructor(){if(this.isAvailable=!1,this.name="",this._source=new Rn.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new Ln.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(t){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(t)}}it.SystemRandomSource=Bn;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.randomStringForEntropy=e.randomString=e.randomUint32=e.randomBytes=e.defaultRandomSource=void 0;const t=it,r=M,i=pe;e.defaultRandomSource=new t.SystemRandomSource;function o(_,D=e.defaultRandomSource){return D.randomBytes(_)}e.randomBytes=o;function s(_=e.defaultRandomSource){const D=o(4,_),w=(0,r.readUint32LE)(D);return(0,i.wipe)(D),w}e.randomUint32=s;const b="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function u(_,D=b,w=e.defaultRandomSource){if(D.length<2)throw new Error("randomString charset is too short");if(D.length>256)throw new Error("randomString charset is too long");let y="";const v=D.length,g=256-256%v;for(;_>0;){const S=o(Math.ceil(_*256/g),w);for(let p=0;p<S.length&&_>0;p++){const A=S[p];A<g&&(y+=D.charAt(A%v),_--)}(0,i.wipe)(S)}return y}e.randomString=u;function l(_,D=b,w=e.defaultRandomSource){const y=Math.ceil(_/(Math.log(D.length)/Math.LN2));return u(y,D,w)}e.randomStringForEntropy=l})(ze);var ut={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=M,r=pe;e.DIGEST_LENGTH=32,e.BLOCK_SIZE=64;var i=function(){function u(){this.digestLength=e.DIGEST_LENGTH,this.blockSize=e.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return u.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},u.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},u.prototype.clean=function(){r.wipe(this._buffer),r.wipe(this._temp),this.reset()},u.prototype.update=function(l,_){if(_===void 0&&(_=l.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var D=0;if(this._bytesHashed+=_,this._bufferLength>0){for(;this._bufferLength<this.blockSize&&_>0;)this._buffer[this._bufferLength++]=l[D++],_--;this._bufferLength===this.blockSize&&(s(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(_>=this.blockSize&&(D=s(this._temp,this._state,l,D,_),_%=this.blockSize);_>0;)this._buffer[this._bufferLength++]=l[D++],_--;return this},u.prototype.finish=function(l){if(!this._finished){var _=this._bytesHashed,D=this._bufferLength,w=_/536870912|0,y=_<<3,v=_%64<56?64:128;this._buffer[D]=128;for(var g=D+1;g<v-8;g++)this._buffer[g]=0;t.writeUint32BE(w,this._buffer,v-8),t.writeUint32BE(y,this._buffer,v-4),s(this._temp,this._state,this._buffer,0,v),this._finished=!0}for(var g=0;g<this.digestLength/4;g++)t.writeUint32BE(this._state[g],l,g*4);return this},u.prototype.digest=function(){var l=new Uint8Array(this.digestLength);return this.finish(l),l},u.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{state:new Int32Array(this._state),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},u.prototype.restoreState=function(l){return this._state.set(l.state),this._bufferLength=l.bufferLength,l.buffer&&this._buffer.set(l.buffer),this._bytesHashed=l.bytesHashed,this._finished=!1,this},u.prototype.cleanSavedState=function(l){r.wipe(l.state),l.buffer&&r.wipe(l.buffer),l.bufferLength=0,l.bytesHashed=0},u}();e.SHA256=i;var o=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function s(u,l,_,D,w){for(;w>=64;){for(var y=l[0],v=l[1],g=l[2],S=l[3],p=l[4],A=l[5],d=l[6],E=l[7],c=0;c<16;c++){var h=D+c*4;u[c]=t.readUint32BE(_,h)}for(var c=16;c<64;c++){var f=u[c-2],n=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10;f=u[c-15];var a=(f>>>7|f<<25)^(f>>>18|f<<14)^f>>>3;u[c]=(n+u[c-7]|0)+(a+u[c-16]|0)}for(var c=0;c<64;c++){var n=(((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&A^~p&d)|0)+(E+(o[c]+u[c]|0)|0)|0,a=((y>>>2|y<<30)^(y>>>13|y<<19)^(y>>>22|y<<10))+(y&v^y&g^v&g)|0;E=d,d=A,A=p,p=S+n|0,S=g,g=v,v=y,y=n+a|0}l[0]+=y,l[1]+=v,l[2]+=g,l[3]+=S,l[4]+=p,l[5]+=A,l[6]+=d,l[7]+=E,D+=64,w-=64}return D}function b(u){var l=new i;l.update(u);var _=l.digest();return l.clean(),_}e.hash=b})(ut);var Ft={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.sharedKey=e.generateKeyPair=e.generateKeyPairFromSeed=e.scalarMultBase=e.scalarMult=e.SHARED_KEY_LENGTH=e.SECRET_KEY_LENGTH=e.PUBLIC_KEY_LENGTH=void 0;const t=ze,r=pe;e.PUBLIC_KEY_LENGTH=32,e.SECRET_KEY_LENGTH=32,e.SHARED_KEY_LENGTH=32;function i(c){const h=new Float64Array(16);if(c)for(let f=0;f<c.length;f++)h[f]=c[f];return h}const o=new Uint8Array(32);o[0]=9;const s=i([56129,1]);function b(c){let h=1;for(let f=0;f<16;f++){let n=c[f]+h+65535;h=Math.floor(n/65536),c[f]=n-h*65536}c[0]+=h-1+37*(h-1)}function u(c,h,f){const n=~(f-1);for(let a=0;a<16;a++){const m=n&(c[a]^h[a]);c[a]^=m,h[a]^=m}}function l(c,h){const f=i(),n=i();for(let a=0;a<16;a++)n[a]=h[a];b(n),b(n),b(n);for(let a=0;a<2;a++){f[0]=n[0]-65517;for(let C=1;C<15;C++)f[C]=n[C]-65535-(f[C-1]>>16&1),f[C-1]&=65535;f[15]=n[15]-32767-(f[14]>>16&1);const m=f[15]>>16&1;f[14]&=65535,u(n,f,1-m)}for(let a=0;a<16;a++)c[2*a]=n[a]&255,c[2*a+1]=n[a]>>8}function _(c,h){for(let f=0;f<16;f++)c[f]=h[2*f]+(h[2*f+1]<<8);c[15]&=32767}function D(c,h,f){for(let n=0;n<16;n++)c[n]=h[n]+f[n]}function w(c,h,f){for(let n=0;n<16;n++)c[n]=h[n]-f[n]}function y(c,h,f){let n,a,m=0,C=0,N=0,P=0,R=0,j=0,I=0,F=0,O=0,T=0,Y=0,Q=0,J=0,X=0,U=0,L=0,B=0,x=0,$=0,K=0,W=0,V=0,q=0,G=0,k=0,Ae=0,Pe=0,$e=0,Qe=0,ht=0,Wt=0,ee=f[0],te=f[1],re=f[2],ne=f[3],ie=f[4],oe=f[5],ae=f[6],ue=f[7],se=f[8],ce=f[9],fe=f[10],he=f[11],le=f[12],de=f[13],De=f[14],be=f[15];n=h[0],m+=n*ee,C+=n*te,N+=n*re,P+=n*ne,R+=n*ie,j+=n*oe,I+=n*ae,F+=n*ue,O+=n*se,T+=n*ce,Y+=n*fe,Q+=n*he,J+=n*le,X+=n*de,U+=n*De,L+=n*be,n=h[1],C+=n*ee,N+=n*te,P+=n*re,R+=n*ne,j+=n*ie,I+=n*oe,F+=n*ae,O+=n*ue,T+=n*se,Y+=n*ce,Q+=n*fe,J+=n*he,X+=n*le,U+=n*de,L+=n*De,B+=n*be,n=h[2],N+=n*ee,P+=n*te,R+=n*re,j+=n*ne,I+=n*ie,F+=n*oe,O+=n*ae,T+=n*ue,Y+=n*se,Q+=n*ce,J+=n*fe,X+=n*he,U+=n*le,L+=n*de,B+=n*De,x+=n*be,n=h[3],P+=n*ee,R+=n*te,j+=n*re,I+=n*ne,F+=n*ie,O+=n*oe,T+=n*ae,Y+=n*ue,Q+=n*se,J+=n*ce,X+=n*fe,U+=n*he,L+=n*le,B+=n*de,x+=n*De,$+=n*be,n=h[4],R+=n*ee,j+=n*te,I+=n*re,F+=n*ne,O+=n*ie,T+=n*oe,Y+=n*ae,Q+=n*ue,J+=n*se,X+=n*ce,U+=n*fe,L+=n*he,B+=n*le,x+=n*de,$+=n*De,K+=n*be,n=h[5],j+=n*ee,I+=n*te,F+=n*re,O+=n*ne,T+=n*ie,Y+=n*oe,Q+=n*ae,J+=n*ue,X+=n*se,U+=n*ce,L+=n*fe,B+=n*he,x+=n*le,$+=n*de,K+=n*De,W+=n*be,n=h[6],I+=n*ee,F+=n*te,O+=n*re,T+=n*ne,Y+=n*ie,Q+=n*oe,J+=n*ae,X+=n*ue,U+=n*se,L+=n*ce,B+=n*fe,x+=n*he,$+=n*le,K+=n*de,W+=n*De,V+=n*be,n=h[7],F+=n*ee,O+=n*te,T+=n*re,Y+=n*ne,Q+=n*ie,J+=n*oe,X+=n*ae,U+=n*ue,L+=n*se,B+=n*ce,x+=n*fe,$+=n*he,K+=n*le,W+=n*de,V+=n*De,q+=n*be,n=h[8],O+=n*ee,T+=n*te,Y+=n*re,Q+=n*ne,J+=n*ie,X+=n*oe,U+=n*ae,L+=n*ue,B+=n*se,x+=n*ce,$+=n*fe,K+=n*he,W+=n*le,V+=n*de,q+=n*De,G+=n*be,n=h[9],T+=n*ee,Y+=n*te,Q+=n*re,J+=n*ne,X+=n*ie,U+=n*oe,L+=n*ae,B+=n*ue,x+=n*se,$+=n*ce,K+=n*fe,W+=n*he,V+=n*le,q+=n*de,G+=n*De,k+=n*be,n=h[10],Y+=n*ee,Q+=n*te,J+=n*re,X+=n*ne,U+=n*ie,L+=n*oe,B+=n*ae,x+=n*ue,$+=n*se,K+=n*ce,W+=n*fe,V+=n*he,q+=n*le,G+=n*de,k+=n*De,Ae+=n*be,n=h[11],Q+=n*ee,J+=n*te,X+=n*re,U+=n*ne,L+=n*ie,B+=n*oe,x+=n*ae,$+=n*ue,K+=n*se,W+=n*ce,V+=n*fe,q+=n*he,G+=n*le,k+=n*de,Ae+=n*De,Pe+=n*be,n=h[12],J+=n*ee,X+=n*te,U+=n*re,L+=n*ne,B+=n*ie,x+=n*oe,$+=n*ae,K+=n*ue,W+=n*se,V+=n*ce,q+=n*fe,G+=n*he,k+=n*le,Ae+=n*de,Pe+=n*De,$e+=n*be,n=h[13],X+=n*ee,U+=n*te,L+=n*re,B+=n*ne,x+=n*ie,$+=n*oe,K+=n*ae,W+=n*ue,V+=n*se,q+=n*ce,G+=n*fe,k+=n*he,Ae+=n*le,Pe+=n*de,$e+=n*De,Qe+=n*be,n=h[14],U+=n*ee,L+=n*te,B+=n*re,x+=n*ne,$+=n*ie,K+=n*oe,W+=n*ae,V+=n*ue,q+=n*se,G+=n*ce,k+=n*fe,Ae+=n*he,Pe+=n*le,$e+=n*de,Qe+=n*De,ht+=n*be,n=h[15],L+=n*ee,B+=n*te,x+=n*re,$+=n*ne,K+=n*ie,W+=n*oe,V+=n*ae,q+=n*ue,G+=n*se,k+=n*ce,Ae+=n*fe,Pe+=n*he,$e+=n*le,Qe+=n*de,ht+=n*De,Wt+=n*be,m+=38*B,C+=38*x,N+=38*$,P+=38*K,R+=38*W,j+=38*V,I+=38*q,F+=38*G,O+=38*k,T+=38*Ae,Y+=38*Pe,Q+=38*$e,J+=38*Qe,X+=38*ht,U+=38*Wt,a=1,n=m+a+65535,a=Math.floor(n/65536),m=n-a*65536,n=C+a+65535,a=Math.floor(n/65536),C=n-a*65536,n=N+a+65535,a=Math.floor(n/65536),N=n-a*65536,n=P+a+65535,a=Math.floor(n/65536),P=n-a*65536,n=R+a+65535,a=Math.floor(n/65536),R=n-a*65536,n=j+a+65535,a=Math.floor(n/65536),j=n-a*65536,n=I+a+65535,a=Math.floor(n/65536),I=n-a*65536,n=F+a+65535,a=Math.floor(n/65536),F=n-a*65536,n=O+a+65535,a=Math.floor(n/65536),O=n-a*65536,n=T+a+65535,a=Math.floor(n/65536),T=n-a*65536,n=Y+a+65535,a=Math.floor(n/65536),Y=n-a*65536,n=Q+a+65535,a=Math.floor(n/65536),Q=n-a*65536,n=J+a+65535,a=Math.floor(n/65536),J=n-a*65536,n=X+a+65535,a=Math.floor(n/65536),X=n-a*65536,n=U+a+65535,a=Math.floor(n/65536),U=n-a*65536,n=L+a+65535,a=Math.floor(n/65536),L=n-a*65536,m+=a-1+37*(a-1),a=1,n=m+a+65535,a=Math.floor(n/65536),m=n-a*65536,n=C+a+65535,a=Math.floor(n/65536),C=n-a*65536,n=N+a+65535,a=Math.floor(n/65536),N=n-a*65536,n=P+a+65535,a=Math.floor(n/65536),P=n-a*65536,n=R+a+65535,a=Math.floor(n/65536),R=n-a*65536,n=j+a+65535,a=Math.floor(n/65536),j=n-a*65536,n=I+a+65535,a=Math.floor(n/65536),I=n-a*65536,n=F+a+65535,a=Math.floor(n/65536),F=n-a*65536,n=O+a+65535,a=Math.floor(n/65536),O=n-a*65536,n=T+a+65535,a=Math.floor(n/65536),T=n-a*65536,n=Y+a+65535,a=Math.floor(n/65536),Y=n-a*65536,n=Q+a+65535,a=Math.floor(n/65536),Q=n-a*65536,n=J+a+65535,a=Math.floor(n/65536),J=n-a*65536,n=X+a+65535,a=Math.floor(n/65536),X=n-a*65536,n=U+a+65535,a=Math.floor(n/65536),U=n-a*65536,n=L+a+65535,a=Math.floor(n/65536),L=n-a*65536,m+=a-1+37*(a-1),c[0]=m,c[1]=C,c[2]=N,c[3]=P,c[4]=R,c[5]=j,c[6]=I,c[7]=F,c[8]=O,c[9]=T,c[10]=Y,c[11]=Q,c[12]=J,c[13]=X,c[14]=U,c[15]=L}function v(c,h){y(c,h,h)}function g(c,h){const f=i();for(let n=0;n<16;n++)f[n]=h[n];for(let n=253;n>=0;n--)v(f,f),n!==2&&n!==4&&y(f,f,h);for(let n=0;n<16;n++)c[n]=f[n]}function S(c,h){const f=new Uint8Array(32),n=new Float64Array(80),a=i(),m=i(),C=i(),N=i(),P=i(),R=i();for(let O=0;O<31;O++)f[O]=c[O];f[31]=c[31]&127|64,f[0]&=248,_(n,h);for(let O=0;O<16;O++)m[O]=n[O];a[0]=N[0]=1;for(let O=254;O>=0;--O){const T=f[O>>>3]>>>(O&7)&1;u(a,m,T),u(C,N,T),D(P,a,C),w(a,a,C),D(C,m,N),w(m,m,N),v(N,P),v(R,a),y(a,C,a),y(C,m,P),D(P,a,C),w(a,a,C),v(m,a),w(C,N,R),y(a,C,s),D(a,a,N),y(C,C,a),y(a,N,R),y(N,m,n),v(m,P),u(a,m,T),u(C,N,T)}for(let O=0;O<16;O++)n[O+16]=a[O],n[O+32]=C[O],n[O+48]=m[O],n[O+64]=N[O];const j=n.subarray(32),I=n.subarray(16);g(j,j),y(I,I,j);const F=new Uint8Array(32);return l(F,I),F}e.scalarMult=S;function p(c){return S(c,o)}e.scalarMultBase=p;function A(c){if(c.length!==e.SECRET_KEY_LENGTH)throw new Error(`x25519: seed must be ${e.SECRET_KEY_LENGTH} bytes`);const h=new Uint8Array(c);return{publicKey:p(h),secretKey:h}}e.generateKeyPairFromSeed=A;function d(c){const h=(0,t.randomBytes)(32,c),f=A(h);return(0,r.wipe)(h),f}e.generateKeyPair=d;function E(c,h,f=!1){if(c.length!==e.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect secret key length");if(h.length!==e.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect public key length");const n=S(c,h);if(f){let a=0;for(let m=0;m<n.length;m++)a|=n[m];if(a===0)throw new Error("X25519: invalid shared key")}return n}e.sharedKey=E})(Ft);function Mt(e){return globalThis.Buffer!=null?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e}function Fr(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?Mt(globalThis.Buffer.allocUnsafe(e)):new Uint8Array(e)}function mt(e,t){t||(t=e.reduce((o,s)=>o+s.length,0));const r=Fr(t);let i=0;for(const o of e)r.set(o,i),i+=o.length;return Mt(r)}function xn(e,t){if(e.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),i=0;i<r.length;i++)r[i]=255;for(var o=0;o<e.length;o++){var s=e.charAt(o),b=s.charCodeAt(0);if(r[b]!==255)throw new TypeError(s+" is ambiguous");r[b]=o}var u=e.length,l=e.charAt(0),_=Math.log(u)/Math.log(256),D=Math.log(256)/Math.log(u);function w(g){if(g instanceof Uint8Array||(ArrayBuffer.isView(g)?g=new Uint8Array(g.buffer,g.byteOffset,g.byteLength):Array.isArray(g)&&(g=Uint8Array.from(g))),!(g instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(g.length===0)return"";for(var S=0,p=0,A=0,d=g.length;A!==d&&g[A]===0;)A++,S++;for(var E=(d-A)*D+1>>>0,c=new Uint8Array(E);A!==d;){for(var h=g[A],f=0,n=E-1;(h!==0||f<p)&&n!==-1;n--,f++)h+=256*c[n]>>>0,c[n]=h%u>>>0,h=h/u>>>0;if(h!==0)throw new Error("Non-zero carry");p=f,A++}for(var a=E-p;a!==E&&c[a]===0;)a++;for(var m=l.repeat(S);a<E;++a)m+=e.charAt(c[a]);return m}function y(g){if(typeof g!="string")throw new TypeError("Expected String");if(g.length===0)return new Uint8Array;var S=0;if(g[S]!==" "){for(var p=0,A=0;g[S]===l;)p++,S++;for(var d=(g.length-S)*_+1>>>0,E=new Uint8Array(d);g[S];){var c=r[g.charCodeAt(S)];if(c===255)return;for(var h=0,f=d-1;(c!==0||h<A)&&f!==-1;f--,h++)c+=u*E[f]>>>0,E[f]=c%256>>>0,c=c/256>>>0;if(c!==0)throw new Error("Non-zero carry");A=h,S++}if(g[S]!==" "){for(var n=d-A;n!==d&&E[n]===0;)n++;for(var a=new Uint8Array(p+(d-n)),m=p;n!==d;)a[m++]=E[n++];return a}}}function v(g){var S=y(g);if(S)return S;throw new Error(`Non-${t} character`)}return{encode:w,decodeUnsafe:y,decode:v}}var $n=xn,Hn=$n;const Kn=e=>{if(e instanceof Uint8Array&&e.constructor.name==="Uint8Array")return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Unknown type, must be binary type")},Wn=e=>new TextEncoder().encode(e),Vn=e=>new TextDecoder().decode(e);class qn{constructor(t,r,i){this.name=t,this.prefix=r,this.baseEncode=i}encode(t){if(t instanceof Uint8Array)return`${this.prefix}${this.baseEncode(t)}`;throw Error("Unknown type, must be binary type")}}class zn{constructor(t,r,i){if(this.name=t,this.prefix=r,r.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=r.codePointAt(0),this.baseDecode=i}decode(t){if(typeof t=="string"){if(t.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(t)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(t.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(t){return Mr(this,t)}}class Gn{constructor(t){this.decoders=t}or(t){return Mr(this,t)}decode(t){const r=t[0],i=this.decoders[r];if(i)return i.decode(t);throw RangeError(`Unable to decode multibase string ${JSON.stringify(t)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const Mr=(e,t)=>new Gn({...e.decoders||{[e.prefix]:e},...t.decoders||{[t.prefix]:t}});class Yn{constructor(t,r,i,o){this.name=t,this.prefix=r,this.baseEncode=i,this.baseDecode=o,this.encoder=new qn(t,r,i),this.decoder=new zn(t,r,o)}encode(t){return this.encoder.encode(t)}decode(t){return this.decoder.decode(t)}}const st=({name:e,prefix:t,encode:r,decode:i})=>new Yn(e,t,r,i),Ge=({prefix:e,name:t,alphabet:r})=>{const{encode:i,decode:o}=Hn(r,t);return st({prefix:e,name:t,encode:i,decode:s=>Kn(o(s))})},kn=(e,t,r,i)=>{const o={};for(let D=0;D<t.length;++D)o[t[D]]=D;let s=e.length;for(;e[s-1]==="=";)--s;const b=new Uint8Array(s*r/8|0);let u=0,l=0,_=0;for(let D=0;D<s;++D){const w=o[e[D]];if(w===void 0)throw new SyntaxError(`Non-${i} character`);l=l<<r|w,u+=r,u>=8&&(u-=8,b[_++]=255&l>>u)}if(u>=r||255&l<<8-u)throw new SyntaxError("Unexpected end of data");return b},Xn=(e,t,r)=>{const i=t[t.length-1]==="=",o=(1<<r)-1;let s="",b=0,u=0;for(let l=0;l<e.length;++l)for(u=u<<8|e[l],b+=8;b>r;)b-=r,s+=t[o&u>>b];if(b&&(s+=t[o&u<<r-b]),i)for(;s.length*r&7;)s+="=";return s},Z=({name:e,prefix:t,bitsPerChar:r,alphabet:i})=>st({prefix:t,name:e,encode(o){return Xn(o,i,r)},decode(o){return kn(o,i,r,e)}}),Jn=st({prefix:"\0",name:"identity",encode:e=>Vn(e),decode:e=>Wn(e)}),Qn=Object.freeze(Object.defineProperty({__proto__:null,identity:Jn},Symbol.toStringTag,{value:"Module"})),Zn=Z({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),ei=Object.freeze(Object.defineProperty({__proto__:null,base2:Zn},Symbol.toStringTag,{value:"Module"})),ti=Z({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),ri=Object.freeze(Object.defineProperty({__proto__:null,base8:ti},Symbol.toStringTag,{value:"Module"})),ni=Ge({prefix:"9",name:"base10",alphabet:"0123456789"}),ii=Object.freeze(Object.defineProperty({__proto__:null,base10:ni},Symbol.toStringTag,{value:"Module"})),oi=Z({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),ai=Z({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),ui=Object.freeze(Object.defineProperty({__proto__:null,base16:oi,base16upper:ai},Symbol.toStringTag,{value:"Module"})),si=Z({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),ci=Z({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),fi=Z({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),hi=Z({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),li=Z({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),di=Z({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),Di=Z({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),bi=Z({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),_i=Z({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),Ei=Object.freeze(Object.defineProperty({__proto__:null,base32:si,base32hex:li,base32hexpad:Di,base32hexpadupper:bi,base32hexupper:di,base32pad:fi,base32padupper:hi,base32upper:ci,base32z:_i},Symbol.toStringTag,{value:"Module"})),wi=Ge({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),vi=Ge({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),yi=Object.freeze(Object.defineProperty({__proto__:null,base36:wi,base36upper:vi},Symbol.toStringTag,{value:"Module"})),gi=Ge({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),pi=Ge({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),mi=Object.freeze(Object.defineProperty({__proto__:null,base58btc:gi,base58flickr:pi},Symbol.toStringTag,{value:"Module"})),Si=Z({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Oi=Z({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),Ci=Z({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),Ui=Z({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),Ai=Object.freeze(Object.defineProperty({__proto__:null,base64:Si,base64pad:Oi,base64url:Ci,base64urlpad:Ui},Symbol.toStringTag,{value:"Module"})),Pr=Array.from("🚀🪐☄🛰🌌🌑🌒🌓🌔🌕🌖🌗🌘🌍🌏🌎🐉☀💻🖥💾💿😂❤😍🤣😊🙏💕😭😘👍😅👏😁🔥🥰💔💖💙😢🤔😆🙄💪😉☺👌🤗💜😔😎😇🌹🤦🎉💞✌✨🤷😱😌🌸🙌😋💗💚😏💛🙂💓🤩😄😀🖤😃💯🙈👇🎶😒🤭❣😜💋👀😪😑💥🙋😞😩😡🤪👊🥳😥🤤👉💃😳✋😚😝😴🌟😬🙃🍀🌷😻😓⭐✅🥺🌈😈🤘💦✔😣🏃💐☹🎊💘😠☝😕🌺🎂🌻😐🖕💝🙊😹🗣💫💀👑🎵🤞😛🔴😤🌼😫⚽🤙☕🏆🤫👈😮🙆🍻🍃🐶💁😲🌿🧡🎁⚡🌞🎈❌✊👋😰🤨😶🤝🚶💰🍓💢🤟🙁🚨💨🤬✈🎀🍺🤓😙💟🌱😖👶🥴▶➡❓💎💸⬇😨🌚🦋😷🕺⚠🙅😟😵👎🤲🤠🤧📌🔵💅🧐🐾🍒😗🤑🌊🤯🐷☎💧😯💆👆🎤🙇🍑❄🌴💣🐸💌📍🥀🤢👅💡💩👐📸👻🤐🤮🎼🥵🚩🍎🍊👼💍📣🥂"),Ni=Pr.reduce((e,t,r)=>(e[r]=t,e),[]),Ti=Pr.reduce((e,t,r)=>(e[t.codePointAt(0)]=r,e),[]);function Ii(e){return e.reduce((t,r)=>(t+=Ni[r],t),"")}function Fi(e){const t=[];for(const r of e){const i=Ti[r.codePointAt(0)];if(i===void 0)throw new Error(`Non-base256emoji character: ${r}`);t.push(i)}return new Uint8Array(t)}const Mi=st({prefix:"🚀",name:"base256emoji",encode:Ii,decode:Fi}),Pi=Object.freeze(Object.defineProperty({__proto__:null,base256emoji:Mi},Symbol.toStringTag,{value:"Module"}));new TextEncoder;new TextDecoder;const Gt={...Qn,...ei,...ri,...ii,...ui,...Ei,...yi,...mi,...Ai,...Pi};function jr(e,t,r,i){return{name:e,prefix:t,encoder:{name:e,prefix:t,encode:r},decoder:{decode:i}}}const Yt=jr("utf8","u",e=>"u"+new TextDecoder("utf8").decode(e),e=>new TextEncoder().encode(e.substring(1))),lt=jr("ascii","a",e=>{let t="a";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},e=>{e=e.substring(1);const t=Fr(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}),Rr={utf8:Yt,"utf-8":Yt,hex:Gt.base16,latin1:lt,ascii:lt,binary:lt,...Gt};function ye(e,t="utf8"){const r=Rr[t];if(!r)throw new Error(`Unsupported encoding "${t}"`);return(t==="utf8"||t==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?Mt(globalThis.Buffer.from(e,"utf-8")):r.decoder.decode(`${r.prefix}${e}`)}function ge(e,t="utf8"){const r=Rr[t];if(!r)throw new Error(`Unsupported encoding "${t}"`);return(t==="utf8"||t==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8"):r.encoder.encode(e).substring(1)}var kt=function(e,t,r){if(r||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return e.concat(s||Array.prototype.slice.call(t))},ji=function(){function e(t,r,i){this.name=t,this.version=r,this.os=i,this.type="browser"}return e}(),Ri=function(){function e(t){this.version=t,this.type="node",this.name="node",this.os=H.dist.process.platform}return e}(),Li=function(){function e(t,r,i,o){this.name=t,this.version=r,this.os=i,this.bot=o,this.type="bot-device"}return e}(),Bi=function(){function e(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}return e}(),xi=function(){function e(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}return e}(),$i=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,Hi=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,Xt=3,Ki=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",$i]],Jt=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function Wi(e){return e?Qt(e):typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new xi:typeof navigator<"u"?Qt(navigator.userAgent):zi()}function Vi(e){return e!==""&&Ki.reduce(function(t,r){var i=r[0],o=r[1];if(t)return t;var s=o.exec(e);return!!s&&[i,s]},!1)}function Qt(e){var t=Vi(e);if(!t)return null;var r=t[0],i=t[1];if(r==="searchbot")return new Bi;var o=i[1]&&i[1].split(".").join("_").split("_").slice(0,3);o?o.length<Xt&&(o=kt(kt([],o,!0),Gi(Xt-o.length),!0)):o=[];var s=o.join("."),b=qi(e),u=Hi.exec(e);return u&&u[1]?new Li(r,s,b,u[1]):new ji(r,s,b)}function qi(e){for(var t=0,r=Jt.length;t<r;t++){var i=Jt[t],o=i[0],s=i[1],b=s.exec(e);if(b)return o}return null}function zi(){var e=typeof H.dist.process<"u"&&H.dist.process.version;return e?new Ri(H.dist.process.version.slice(1)):null}function Gi(e){for(var t=[],r=0;r<e;r++)t.push("0");return t}var Oe={};/*! *****************************************************************************
|
|
2
2
|
Copyright (c) Microsoft Corporation.
|
|
3
3
|
|
|
4
4
|
Permission to use, copy, modify, and/or distribute this software for any
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-Lyx2KgEl.js");require("react");require("react-dom");exports.MAINNET=e.MAINNET;exports.TESTNET=e.TESTNET;exports.dark=e.dark;exports.default=e.WormholeConnect;exports.light=e.light;
|
package/lib/index.mjs
CHANGED