@ -375,5 +375,5 @@ function wc(a){function b(){if(!e.calledRun&&(e.calledRun=!0,!ja)){za||(za=!0,Qa
setTimeout ( function ( ) { setTimeout ( function ( ) { e . setStatus ( "" ) } , 1 ) ; b ( ) } , 1 ) ) : b ( ) ) } } e . run = e . run = wc ; function xc ( a , b ) { if ( ! b || ! e . noExitRuntime ) { if ( ! e . noExitRuntime && ( ja = ! 0 , p = void 0 , Qa ( J ) , e . onExit ) ) e . onExit ( a ) ; m ? process . exit ( a ) : ca && "function" === typeof quit && quit ( a ) ; throw new ga ( a ) ; } } e . exit = e . exit = xc ; var zc = [ ] ;
function z ( a ) { void 0 !== a ? ( e . print ( a ) , e . ba ( a ) , a = JSON . stringify ( a ) ) : a = "" ; ja = ! 0 ; var b = "abort(" + a + ") at " + Ha ( ) + "\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information." ; zc && zc . forEach ( function ( c ) { b = c ( b , a ) } ) ; throw b ; } e . abort = e . abort = z ; if ( e . preInit ) for ( "function" == typeof e . preInit && ( e . preInit = [ e . preInit ] ) ; 0 < e . preInit . length ; ) e . preInit . pop ( ) ( ) ; var yc = ! 0 ; e . noInitialRun && ( yc = ! 1 ) ; wc ( ) ; F = e . HEAPU8 ;
var E = e . _malloc , tc = e . _hdnode _public _ckd _address _optimized , sc = e . _ecdsa _read _pubkey , B = e . Pointer _stringify , Ac = E ( 72 ) , Bc = E ( 33 ) , Cc = E ( 32 ) , Dc = E ( 60 ) ; function Ec ( a ) { var b = new Uint8Array ( 33 ) ; b . set ( a . public _key , 0 ) ; F . set ( b , Bc ) ; b = new Uint8Array ( 32 ) ; b . set ( a . chain _code , 0 ) ; F . set ( b , Cc ) ; sc ( 0 , Bc , Ac ) } function Fc ( a , b , c ) { tc ( Ac , Cc , a , b , Dc , 60 , c ) ; return B ( Dc ) } function Gc ( a , b , c , d , f ) { var g = [ ] ; Ec ( a ) ; for ( a = b ; a <= c ; a ++ ) g . push ( Fc ( a , d , f ) ) ; return g } "undefined" !== typeof module && ( module . exports = { serializeNode : Ec , deriveAddress : Fc , deriveAddressRange : Gc } ) ;
function Hc ( a ) { a = a . data ; var b = a . type ; switch ( b ) { case "deriveAddressRange" : b = Gc ( a . node , a . firstIndex , a . lastIndex , a . version ); postMessage ( { addresses : b , firstIndex : a . firstIndex , lastIndex : a . lastIndex } ) ; break ; default : throw Error ( "Unknown message type: " + b ) ; } } l && ( this . onmessage = Hc ) ;
function Hc ( a ) { a = a . data ; var b = a . type ; switch ( b ) { case "deriveAddressRange" : b = Gc ( a . node , a . firstIndex , a . lastIndex , a . version ,! ! a . segwit ); postMessage ( { addresses : b , firstIndex : a . firstIndex , lastIndex : a . lastIndex } ) ; break ; default : throw Error ( "Unknown message type: " + b ) ; } } l && ( this . onmessage = Hc ) ;