edge-currency-accountbased 4.32.4 → 4.34.0
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/CHANGELOG.md +11 -0
- package/android/src/main/assets/edge-currency-accountbased/1715.chunk.js +1 -0
- package/android/src/main/assets/edge-currency-accountbased/2851.chunk.js +1 -1
- package/android/src/main/assets/edge-currency-accountbased/4649.chunk.js +4 -4
- package/android/src/main/assets/edge-currency-accountbased/6845.chunk.js +9 -0
- package/android/src/main/assets/edge-currency-accountbased/7920.chunk.js +55 -0
- package/android/src/main/assets/edge-currency-accountbased/axelar.chunk.js +2 -2
- package/android/src/main/assets/edge-currency-accountbased/edge-currency-accountbased.js +8 -8
- package/android/src/main/assets/edge-currency-accountbased/fio.chunk.js +2 -2
- package/android/src/main/assets/edge-currency-accountbased/polkadot.chunk.js +1 -1
- package/android/src/main/assets/edge-currency-accountbased/solana.chunk.js +1 -1
- package/android/src/main/assets/edge-currency-accountbased/sui.chunk.js +2 -0
- package/lib/algorand/algorandInfo.js +3 -1
- package/lib/algorand/algorandTestnetInfo.js +3 -1
- package/lib/binance/binanceInfo.js +6 -2
- package/lib/cardano/cardanoInfo.js +6 -2
- package/lib/cardano/cardanoTestnetInfo.js +6 -2
- package/lib/cosmos/engine/CosmosEngine.js +2 -2
- package/lib/cosmos/engine/ThorchainEngine.js +10 -9
- package/lib/cosmos/info/axelarInfo.js +6 -2
- package/lib/cosmos/info/coreumInfo.js +3 -1
- package/lib/cosmos/info/cosmoshubInfo.js +6 -2
- package/lib/cosmos/info/osmosisInfo.js +3 -1
- package/lib/cosmos/info/thorchainruneInfo.js +6 -2
- package/lib/eos/info/eosInfo.js +6 -2
- package/lib/eos/info/telosInfo.js +6 -2
- package/lib/eos/info/waxInfo.js +6 -2
- package/lib/ethereum/info/amoyInfo.js +3 -1
- package/lib/ethereum/info/arbitrumInfo.js +3 -1
- package/lib/ethereum/info/avalancheInfo.js +3 -1
- package/lib/ethereum/info/baseInfo.js +3 -1
- package/lib/ethereum/info/binancesmartchainInfo.js +3 -1
- package/lib/ethereum/info/bobevmInfo.js +3 -1
- package/lib/ethereum/info/celoInfo.js +3 -1
- package/lib/ethereum/info/ethDevInfo.js +3 -1
- package/lib/ethereum/info/ethereumInfo.js +4 -2
- package/lib/ethereum/info/ethereumclassicInfo.js +3 -1
- package/lib/ethereum/info/ethereumpowInfo.js +3 -1
- package/lib/ethereum/info/fantomInfo.js +3 -1
- package/lib/ethereum/info/filecoinFevmCalibrationInfo.js +3 -1
- package/lib/ethereum/info/filecoinFevmInfo.js +3 -1
- package/lib/ethereum/info/holeskyInfo.js +4 -2
- package/lib/ethereum/info/optimismInfo.js +3 -1
- package/lib/ethereum/info/polygonInfo.js +3 -1
- package/lib/ethereum/info/pulsechainInfo.js +3 -1
- package/lib/ethereum/info/rskInfo.js +3 -1
- package/lib/ethereum/info/sepoliaInfo.js +3 -1
- package/lib/ethereum/info/zksyncInfo.js +3 -1
- package/lib/filecoin/calibrationInfo.js +6 -2
- package/lib/filecoin/filecoinInfo.js +6 -2
- package/lib/fio/FioEngine.js +63 -71
- package/lib/fio/fioInfo.js +4 -2
- package/lib/fio/fioTypes.js +15 -1
- package/lib/hedera/hederaInfo.js +6 -2
- package/lib/hedera/hederaTestnetInfo.js +6 -2
- package/lib/index.js +4 -0
- package/lib/piratechain/piratechainInfo.js +6 -2
- package/lib/polkadot/info/liberlandInfo.js +3 -1
- package/lib/polkadot/info/liberlandTestnetInfo.js +3 -1
- package/lib/polkadot/info/polkadotInfo.js +6 -2
- package/lib/ripple/rippleInfo.js +6 -2
- package/lib/solana/solanaInfo.js +3 -1
- package/lib/stellar/stellarInfo.js +6 -2
- package/lib/sui/SuiEngine.js +485 -0
- package/lib/sui/SuiTools.js +196 -0
- package/lib/sui/suiInfo.js +68 -0
- package/lib/sui/suiTypes.js +56 -0
- package/lib/sui/suitestnetInfo.js +69 -0
- package/lib/tezos/tezosInfo.js +6 -2
- package/lib/ton/tonInfo.js +6 -2
- package/lib/tron/tronInfo.js +3 -1
- package/lib/zcash/zcashInfo.js +6 -2
- package/package.json +3 -2
- package/android/src/main/assets/edge-currency-accountbased/9119.chunk.js +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 4.34.0 (2025-01-14)
|
|
6
|
+
|
|
7
|
+
- changed: Upgrade edge-core-js to v2.23.0
|
|
8
|
+
|
|
9
|
+
## 4.33.0 (2025-01-13)
|
|
10
|
+
|
|
11
|
+
- added: Add SUI
|
|
12
|
+
- fixed: Ignore incorrect fees sent by the Midgard server, and instead just use 0.02 RUNE for Thorchain native transactions.
|
|
13
|
+
- fixed: Fix EVM Alchemy urls
|
|
14
|
+
- fixed: (FIO) OBT data encryption/decryption
|
|
15
|
+
|
|
5
16
|
## 4.32.4 (2024-12-25)
|
|
6
17
|
|
|
7
18
|
- fixed: Set correct Thorchain fee parameters when sending.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkedge_currency_accountbased=self.webpackChunkedge_currency_accountbased||[]).push([[1715],{89190:function(K,k,D){D.d(k,{CG:function(){return u},ai:function(){return g},ee:function(){return O},t2:function(){return r},tW:function(){return S}});function g(s){if(!Number.isSafeInteger(s)||s<0)throw new Error(`positive integer expected, not ${s}`)}function e(s){if(typeof s!="boolean")throw new Error(`boolean expected, not ${s}`)}function F(s){return s instanceof Uint8Array||s!=null&&typeof s=="object"&&s.constructor.name==="Uint8Array"}function O(s,...f){if(!F(s))throw new Error("Uint8Array expected");if(f.length>0&&!f.includes(s.length))throw new Error(`Uint8Array expected of length ${f}, not of length=${s.length}`)}function S(s){if(typeof s!="function"||typeof s.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");g(s.outputLen),g(s.blockLen)}function r(s,f=!0){if(s.destroyed)throw new Error("Hash instance has been destroyed");if(f&&s.finished)throw new Error("Hash#digest() has already been called")}function u(s,f){O(s);const p=f.outputLen;if(s.length<p)throw new Error(`digestInto() expects output buffer of length at least ${p}`)}const h={number:g,bool:e,bytes:O,hash:S,exists:r,output:u};var b=null},6013:function(K,k,D){D.d(k,{TQ:function(){return S},ol:function(){return r},r9:function(){return O}});var g=D(89190),e=D(32531);function F(u,h,b,s){if(typeof u.setBigUint64=="function")return u.setBigUint64(h,b,s);const f=BigInt(32),p=BigInt(4294967295),d=Number(b>>f&p),H=Number(b&p),_=s?4:0,E=s?0:4;u.setUint32(h+_,d,s),u.setUint32(h+E,H,s)}const O=(u,h,b)=>u&h^~u&b,S=(u,h,b)=>u&h^u&b^h&b;class r extends e.Vw{constructor(h,b,s,f){super(),this.blockLen=h,this.outputLen=b,this.padOffset=s,this.isLE=f,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(h),this.view=(0,e.O8)(this.buffer)}update(h){(0,g.t2)(this);const{view:b,buffer:s,blockLen:f}=this;h=(0,e.ZJ)(h);const p=h.length;for(let d=0;d<p;){const H=Math.min(f-this.pos,p-d);if(H===f){const _=(0,e.O8)(h);for(;f<=p-d;d+=f)this.process(_,d);continue}s.set(h.subarray(d,d+H),this.pos),this.pos+=H,d+=H,this.pos===f&&(this.process(b,0),this.pos=0)}return this.length+=h.length,this.roundClean(),this}digestInto(h){(0,g.t2)(this),(0,g.CG)(h,this),this.finished=!0;const{buffer:b,view:s,blockLen:f,isLE:p}=this;let{pos:d}=this;b[d++]=128,this.buffer.subarray(d).fill(0),this.padOffset>f-d&&(this.process(s,0),d=0);for(let A=d;A<f;A++)b[A]=0;F(s,f-8,BigInt(this.length*8),p),this.process(s,0);const H=(0,e.O8)(h),_=this.outputLen;if(_%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const E=_/4,w=this.get();if(E>w.length)throw new Error("_sha2: outputLen bigger than state");for(let A=0;A<E;A++)H.setUint32(4*A,w[A],p)}digest(){const{buffer:h,outputLen:b}=this;this.digestInto(h);const s=h.slice(0,b);return this.destroy(),s}_cloneInto(h){h||(h=new this.constructor),h.set(...this.get());const{blockLen:b,buffer:s,length:f,finished:p,destroyed:d,pos:H}=this;return h.length=f,h.pos=H,h.finished=p,h.destroyed=d,f%b&&h.buffer.set(s),h}}},79271:function(K,k,D){D.d(k,{B4:function(){return _},P5:function(){return H},WM:function(){return E},im:function(){return w},lD:function(){return O}});const g=BigInt(2**32-1),e=BigInt(32);function F(i,c=!1){return c?{h:Number(i&g),l:Number(i>>e&g)}:{h:Number(i>>e&g)|0,l:Number(i&g)|0}}function O(i,c=!1){let n=new Uint32Array(i.length),L=new Uint32Array(i.length);for(let t=0;t<i.length;t++){const{h:o,l:x}=F(i[t],c);[n[t],L[t]]=[o,x]}return[n,L]}const S=(i,c)=>BigInt(i>>>0)<<e|BigInt(c>>>0),r=(i,c,n)=>i>>>n,u=(i,c,n)=>i<<32-n|c>>>n,h=(i,c,n)=>i>>>n|c<<32-n,b=(i,c,n)=>i<<32-n|c>>>n,s=(i,c,n)=>i<<64-n|c>>>n-32,f=(i,c,n)=>i>>>n-32|c<<64-n,p=(i,c)=>c,d=(i,c)=>i,H=(i,c,n)=>i<<n|c>>>32-n,_=(i,c,n)=>c<<n|i>>>32-n,E=(i,c,n)=>c<<n-32|i>>>64-n,w=(i,c,n)=>i<<n-32|c>>>64-n;function A(i,c,n,L){const t=(c>>>0)+(L>>>0);return{h:i+n+(t/2**32|0)|0,l:t|0}}const T={fromBig:F,split:O,toBig:S,shrSH:r,shrSL:u,rotrSH:h,rotrSL:b,rotrBH:s,rotrBL:f,rotr32H:p,rotr32L:d,rotlSH:H,rotlSL:_,rotlBH:E,rotlBL:w,add:A,add3L:(i,c,n)=>(i>>>0)+(c>>>0)+(n>>>0),add3H:(i,c,n,L)=>c+n+L+(i/2**32|0)|0,add4L:(i,c,n,L)=>(i>>>0)+(c>>>0)+(n>>>0)+(L>>>0),add4H:(i,c,n,L,t)=>c+n+L+t+(i/2**32|0)|0,add5H:(i,c,n,L,t,o)=>c+n+L+t+o+(i/2**32|0)|0,add5L:(i,c,n,L,t)=>(i>>>0)+(c>>>0)+(n>>>0)+(L>>>0)+(t>>>0)};k.Ay=T},21454:function(K,k,D){D.d(k,{w:function(){return O}});var g=D(89190),e=D(32531);class F extends e.Vw{constructor(r,u){super(),this.finished=!1,this.destroyed=!1,(0,g.tW)(r);const h=(0,e.ZJ)(u);if(this.iHash=r.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const b=this.blockLen,s=new Uint8Array(b);s.set(h.length>b?r.create().update(h).digest():h);for(let f=0;f<s.length;f++)s[f]^=54;this.iHash.update(s),this.oHash=r.create();for(let f=0;f<s.length;f++)s[f]^=106;this.oHash.update(s),s.fill(0)}update(r){return(0,g.t2)(this),this.iHash.update(r),this}digestInto(r){(0,g.t2)(this),(0,g.ee)(r,this.outputLen),this.finished=!0,this.iHash.digestInto(r),this.oHash.update(r),this.oHash.digestInto(r),this.destroy()}digest(){const r=new Uint8Array(this.oHash.outputLen);return this.digestInto(r),r}_cloneInto(r){r||(r=Object.create(Object.getPrototypeOf(this),{}));const{oHash:u,iHash:h,finished:b,destroyed:s,blockLen:f,outputLen:p}=this;return r=r,r.finished=b,r.destroyed=s,r.blockLen=f,r.outputLen=p,r.oHash=u._cloneInto(r.oHash),r.iHash=h._cloneInto(r.iHash),r}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const O=(S,r,u)=>new F(S,r).update(u).digest();O.create=(S,r)=>new F(S,r)},78226:function(K,k,D){D.d(k,{s:function(){return h}});var g=D(6013),e=D(32531);const F=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),O=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),S=new Uint32Array(64);class r extends g.ol{constructor(){super(64,32,8,!1),this.A=O[0]|0,this.B=O[1]|0,this.C=O[2]|0,this.D=O[3]|0,this.E=O[4]|0,this.F=O[5]|0,this.G=O[6]|0,this.H=O[7]|0}get(){const{A:f,B:p,C:d,D:H,E:_,F:E,G:w,H:A}=this;return[f,p,d,H,_,E,w,A]}set(f,p,d,H,_,E,w,A){this.A=f|0,this.B=p|0,this.C=d|0,this.D=H|0,this.E=_|0,this.F=E|0,this.G=w|0,this.H=A|0}process(f,p){for(let l=0;l<16;l++,p+=4)S[l]=f.getUint32(p,!1);for(let l=16;l<64;l++){const I=S[l-15],m=S[l-2],M=(0,e.Ow)(I,7)^(0,e.Ow)(I,18)^I>>>3,T=(0,e.Ow)(m,17)^(0,e.Ow)(m,19)^m>>>10;S[l]=T+S[l-7]+M+S[l-16]|0}let{A:d,B:H,C:_,D:E,E:w,F:A,G:B,H:C}=this;for(let l=0;l<64;l++){const I=(0,e.Ow)(w,6)^(0,e.Ow)(w,11)^(0,e.Ow)(w,25),m=C+I+(0,g.r9)(w,A,B)+F[l]+S[l]|0,T=((0,e.Ow)(d,2)^(0,e.Ow)(d,13)^(0,e.Ow)(d,22))+(0,g.TQ)(d,H,_)|0;C=B,B=A,A=w,w=E+m|0,E=_,_=H,H=d,d=m+T|0}d=d+this.A|0,H=H+this.B|0,_=_+this.C|0,E=E+this.D|0,w=w+this.E|0,A=A+this.F|0,B=B+this.G|0,C=C+this.H|0,this.set(d,H,_,E,w,A,B,C)}roundClean(){S.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class u extends r{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const h=(0,e.ld)(()=>new r),b=null},64443:function(K,k,D){D.d(k,{Zf:function(){return p}});var g=D(6013),e=D(79271),F=D(32531);const[O,S]=(()=>e.Ay.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(E=>BigInt(E))))(),r=new Uint32Array(80),u=new Uint32Array(80);class h extends g.ol{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:w,Al:A,Bh:B,Bl:C,Ch:l,Cl:I,Dh:m,Dl:M,Eh:T,El:i,Fh:c,Fl:n,Gh:L,Gl:t,Hh:o,Hl:x}=this;return[w,A,B,C,l,I,m,M,T,i,c,n,L,t,o,x]}set(w,A,B,C,l,I,m,M,T,i,c,n,L,t,o,x){this.Ah=w|0,this.Al=A|0,this.Bh=B|0,this.Bl=C|0,this.Ch=l|0,this.Cl=I|0,this.Dh=m|0,this.Dl=M|0,this.Eh=T|0,this.El=i|0,this.Fh=c|0,this.Fl=n|0,this.Gh=L|0,this.Gl=t|0,this.Hh=o|0,this.Hl=x|0}process(w,A){for(let a=0;a<16;a++,A+=4)r[a]=w.getUint32(A),u[a]=w.getUint32(A+=4);for(let a=16;a<80;a++){const G=r[a-15]|0,W=u[a-15]|0,R=e.Ay.rotrSH(G,W,1)^e.Ay.rotrSH(G,W,8)^e.Ay.shrSH(G,W,7),N=e.Ay.rotrSL(G,W,1)^e.Ay.rotrSL(G,W,8)^e.Ay.shrSL(G,W,7),P=r[a-2]|0,j=u[a-2]|0,v=e.Ay.rotrSH(P,j,19)^e.Ay.rotrBH(P,j,61)^e.Ay.shrSH(P,j,6),$=e.Ay.rotrSL(P,j,19)^e.Ay.rotrBL(P,j,61)^e.Ay.shrSL(P,j,6),V=e.Ay.add4L(N,$,u[a-7],u[a-16]),J=e.Ay.add4H(V,R,v,r[a-7],r[a-16]);r[a]=J|0,u[a]=V|0}let{Ah:B,Al:C,Bh:l,Bl:I,Ch:m,Cl:M,Dh:T,Dl:i,Eh:c,El:n,Fh:L,Fl:t,Gh:o,Gl:x,Hh:y,Hl:U}=this;for(let a=0;a<80;a++){const G=e.Ay.rotrSH(c,n,14)^e.Ay.rotrSH(c,n,18)^e.Ay.rotrBH(c,n,41),W=e.Ay.rotrSL(c,n,14)^e.Ay.rotrSL(c,n,18)^e.Ay.rotrBL(c,n,41),R=c&L^~c&o,N=n&t^~n&x,P=e.Ay.add5L(U,W,N,S[a],u[a]),j=e.Ay.add5H(P,y,G,R,O[a],r[a]),v=P|0,$=e.Ay.rotrSH(B,C,28)^e.Ay.rotrBH(B,C,34)^e.Ay.rotrBH(B,C,39),V=e.Ay.rotrSL(B,C,28)^e.Ay.rotrBL(B,C,34)^e.Ay.rotrBL(B,C,39),J=B&l^B&m^l&m,Q=C&I^C&M^I&M;y=o|0,U=x|0,o=L|0,x=t|0,L=c|0,t=n|0,{h:c,l:n}=e.Ay.add(T|0,i|0,j|0,v|0),T=m|0,i=M|0,m=l|0,M=I|0,l=B|0,I=C|0;const Z=e.Ay.add3L(v,V,Q);B=e.Ay.add3H(Z,j,$,J),C=Z|0}({h:B,l:C}=e.Ay.add(this.Ah|0,this.Al|0,B|0,C|0)),{h:l,l:I}=e.Ay.add(this.Bh|0,this.Bl|0,l|0,I|0),{h:m,l:M}=e.Ay.add(this.Ch|0,this.Cl|0,m|0,M|0),{h:T,l:i}=e.Ay.add(this.Dh|0,this.Dl|0,T|0,i|0),{h:c,l:n}=e.Ay.add(this.Eh|0,this.El|0,c|0,n|0),{h:L,l:t}=e.Ay.add(this.Fh|0,this.Fl|0,L|0,t|0),{h:o,l:x}=e.Ay.add(this.Gh|0,this.Gl|0,o|0,x|0),{h:y,l:U}=e.Ay.add(this.Hh|0,this.Hl|0,y|0,U|0),this.set(B,C,l,I,m,M,T,i,c,n,L,t,o,x,y,U)}roundClean(){r.fill(0),u.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class b extends h{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class s extends h{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class f extends h{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}const p=(0,F.ld)(()=>new h),d=null,H=null,_=null},32531:function(K,k,D){D.d(k,{Vw:function(){return m},Fc:function(){return p},c:function(){return f},My:function(){return H},tY:function(){return T},Id:function(){return I},O8:function(){return r},aT:function(){return w},qv:function(){return b},po:function(){return L},aZ:function(){return h},Ow:function(){return u},ZJ:function(){return l},DH:function(){return S},ld:function(){return i},t6:function(){return c}});const g=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;var e=D(89190);/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */function F(t){return t instanceof Uint8Array||t!=null&&typeof t=="object"&&t.constructor.name==="Uint8Array"}const O=t=>new Uint8Array(t.buffer,t.byteOffset,t.byteLength),S=t=>new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4)),r=t=>new DataView(t.buffer,t.byteOffset,t.byteLength),u=(t,o)=>t<<32-o|t>>>o,h=(t,o)=>t<<o|t>>>32-o>>>0,b=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,s=t=>t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255,f=b?t=>t:t=>s(t);function p(t){for(let o=0;o<t.length;o++)t[o]=s(t[o])}const d=Array.from({length:256},(t,o)=>o.toString(16).padStart(2,"0"));function H(t){(0,e.ee)(t);let o="";for(let x=0;x<t.length;x++)o+=d[t[x]];return o}const _={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function E(t){if(t>=_._0&&t<=_._9)return t-_._0;if(t>=_._A&&t<=_._F)return t-(_._A-10);if(t>=_._a&&t<=_._f)return t-(_._a-10)}function w(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);const o=t.length,x=o/2;if(o%2)throw new Error("padded hex string expected, got unpadded hex of length "+o);const y=new Uint8Array(x);for(let U=0,a=0;U<x;U++,a+=2){const G=E(t.charCodeAt(a)),W=E(t.charCodeAt(a+1));if(G===void 0||W===void 0){const R=t[a]+t[a+1];throw new Error('hex string expected, got non-hex character "'+R+'" at index '+a)}y[U]=G*16+W}return y}const A=async()=>{};async function B(t,o,x){let y=Date.now();for(let U=0;U<t;U++){x(U);const a=Date.now()-y;a>=0&&a<o||(await A(),y+=a)}}function C(t){if(typeof t!="string")throw new Error(`utf8ToBytes expected string, got ${typeof t}`);return new Uint8Array(new TextEncoder().encode(t))}function l(t){return typeof t=="string"&&(t=C(t)),(0,e.ee)(t),t}function I(...t){let o=0;for(let y=0;y<t.length;y++){const U=t[y];(0,e.ee)(U),o+=U.length}const x=new Uint8Array(o);for(let y=0,U=0;y<t.length;y++){const a=t[y];x.set(a,U),U+=a.length}return x}class m{clone(){return this._cloneInto()}}const M={}.toString;function T(t,o){if(o!==void 0&&M.call(o)!=="[object Object]")throw new Error("Options should be object or undefined");return Object.assign(t,o)}function i(t){const o=y=>t().update(l(y)).digest(),x=t();return o.outputLen=x.outputLen,o.blockLen=x.blockLen,o.create=()=>t(),o}function c(t){const o=(y,U)=>t(U).update(l(y)).digest(),x=t({});return o.outputLen=x.outputLen,o.blockLen=x.blockLen,o.create=y=>t(y),o}function n(t){const o=(y,U)=>t(U).update(l(y)).digest(),x=t({});return o.outputLen=x.outputLen,o.blockLen=x.blockLen,o.create=y=>t(y),o}function L(t=32){if(g&&typeof g.getRandomValues=="function")return g.getRandomValues(new Uint8Array(t));throw new Error("crypto.getRandomValues must be defined")}}}]);
|