edge-currency-accountbased 0.22.21 → 0.23.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.
Files changed (57) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/android/src/main/assets/edge-currency-accountbased/{645.chunk.js → 216.chunk.js} +6 -6
  3. package/android/src/main/assets/edge-currency-accountbased/244.chunk.js +1 -1
  4. package/android/src/main/assets/edge-currency-accountbased/387.chunk.js +9 -0
  5. package/android/src/main/assets/edge-currency-accountbased/491.chunk.js +1 -1
  6. package/android/src/main/assets/edge-currency-accountbased/549.chunk.js +1 -1
  7. package/android/src/main/assets/edge-currency-accountbased/94.chunk.js +8 -9
  8. package/android/src/main/assets/edge-currency-accountbased/bnb.chunk.js +3 -3
  9. package/android/src/main/assets/edge-currency-accountbased/edge-currency-accountbased.js +2 -2
  10. package/android/src/main/assets/edge-currency-accountbased/eos.chunk.js +11 -11
  11. package/android/src/main/assets/edge-currency-accountbased/ethereum.chunk.js +9 -9
  12. package/android/src/main/assets/edge-currency-accountbased/fio.chunk.js +2 -2
  13. package/android/src/main/assets/edge-currency-accountbased/hedera.chunk.js +2 -2
  14. package/android/src/main/assets/edge-currency-accountbased/polkadot.chunk.js +2 -2
  15. package/android/src/main/assets/edge-currency-accountbased/ripple.chunk.js +5 -4
  16. package/android/src/main/assets/edge-currency-accountbased/solana.chunk.js +3 -3
  17. package/android/src/main/assets/edge-currency-accountbased/stellar.chunk.js +6 -6
  18. package/android/src/main/assets/edge-currency-accountbased/tezos.chunk.js +3 -3
  19. package/android/src/main/assets/edge-currency-accountbased/tron.chunk.js +1 -1
  20. package/android/src/main/assets/edge-currency-accountbased/zcash.chunk.js +2 -2
  21. package/lib/binance/bnbEngine.js +28 -16
  22. package/lib/binance/bnbTypes.js +11 -0
  23. package/lib/common/engine.js +47 -3
  24. package/lib/common/types.js +20 -0
  25. package/lib/declare-modules.d.js +0 -22
  26. package/lib/eos/eosEngine.js +32 -21
  27. package/lib/eos/eosTypes.js +16 -0
  28. package/lib/eos/info/eosInfo.js +3 -1
  29. package/lib/ethereum/ethEngine.js +90 -140
  30. package/lib/ethereum/ethTypes.js +64 -0
  31. package/lib/fio/fioConst.js +26 -55
  32. package/lib/fio/fioEngine.js +830 -609
  33. package/lib/fio/fioError.js +15 -22
  34. package/lib/fio/fioInfo.js +13 -23
  35. package/lib/fio/fioPlugin.js +85 -94
  36. package/lib/fio/fioTypes.js +180 -1
  37. package/lib/hedera/hederaEngine.js +24 -12
  38. package/lib/hedera/hederaTypes.js +37 -0
  39. package/lib/polkadot/polkadotEngine.js +30 -10
  40. package/lib/polkadot/polkadotTypes.js +37 -0
  41. package/lib/solana/solanaEngine.js +25 -27
  42. package/lib/solana/solanaTypes.js +37 -0
  43. package/lib/stellar/stellarEngine.js +21 -19
  44. package/lib/stellar/stellarTypes.js +10 -0
  45. package/lib/tezos/tezosEngine.js +23 -18
  46. package/lib/tezos/tezosTypes.js +16 -0
  47. package/lib/tron/tronEngine.js +14 -7
  48. package/lib/tron/tronPlugin.js +1 -1
  49. package/lib/tron/tronTypes.js +15 -11
  50. package/lib/xrp/xrpEngine.js +86 -59
  51. package/lib/xrp/xrpTypes.js +16 -0
  52. package/lib/zcash/zecEngine.js +33 -27
  53. package/lib/zcash/zecInfo.js +4 -1
  54. package/lib/zcash/zecPlugin.js +20 -6
  55. package/lib/zcash/zecTypes.js +57 -1
  56. package/package.json +3 -3
  57. package/android/src/main/assets/edge-currency-accountbased/206.chunk.js +0 -8
@@ -19,4 +19,4 @@ ${h.join(`
19
19
  `,c}}l.TokenBalanceMap=t;class s extends e.QueryBuilder{constructor(){super(),this._builder=new r.CryptoGetAccountBalanceQuery,this._builder.setHeader(new h.QueryHeader),this._inner.setCryptogetaccountbalance(this._builder)}setAccountId(c){return this._builder.setAccountid(new p.AccountId(c)._toProto()),this}_doLocalValidate(c){}_getMethod(){return i.CryptoService.cryptoGetBalance}_getHeader(){return this._builder.getHeader()}_mapResponseHeader(c){return c.getCryptogetaccountbalance().getHeader()}_mapResponse(c){const d=c.getCryptogetaccountbalance();return new t(d.getTokenbalancesList())}_isPaymentRequired(){return!1}}l.TokenBalanceQuery=s},73204:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenBurnTransaction=void 0;const e=u(66498),i=u(34468),h=u(99280),p=u(16206),r=u(44431);class n extends e.SingleTransactionBuilder{constructor(){super(),this._body=new i.TokenBurnTransactionBody,this._inner.setTokenburn(this._body)}setTokenId(t){return this._body.setToken(new p.TokenId(t)._toProto()),this}setAmount(t){return this._body.setAmount((t instanceof r.default?t:new r.default(t)).toString()),this}addSerial(t){return this._body.addSerialnumbers(t.toString()),this}setSerials(t){return this._body.setSerialnumbersList(t.map(s=>s.toString())),this}get _method(){return h.TokenService.burnToken}_doValidate(t){}}l.TokenBurnTransaction=n},98241:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenCreateTransaction=void 0;const e=u(66498),i=u(90335),h=u(14788),p=u(99280),r=u(13660),n=u(24231);class o extends e.SingleTransactionBuilder{constructor(){super(),this._body=new h.TokenCreateTransactionBody,this._inner.setTokencreation(this._body),this.setAutoRenewPeriod(789e4),this.setExpirationTime(Date.now()+789e4)}setName(s){return this._body.setName(s),this}setSymbol(s){return this._body.setSymbol(s),this}setDecimals(s){return this._body.setDecimals(s),this}setInitialSupply(s){return this._body.setInitialsupply(s.toString()),this}setTreasury(s){return this._body.setTreasury(new i.AccountId(s)._toProto()),this}setAdminKey(s){return this._body.setAdminkey(s._toProtoKey()),this}setKycKey(s){return this._body.setKyckey(s._toProtoKey()),this}setFreezeKey(s){return this._body.setFreezekey(s._toProtoKey()),this}setWipeKey(s){return this._body.setWipekey(s._toProtoKey()),this}setSupplyKey(s){return this._body.setSupplykey(s._toProtoKey()),this}setFeeScheduleKey(s){return this._body.setFeeScheduleKey(s._toProtoKey()),this}setFreezeDefault(s){return this._body.setFreezedefault(s),this}setExpirationTime(s){return this._body.setExpiry(r.timestampToProto(r.dateToTimestamp(s))),this}setAutoRenewAccount(s){return this._body.setAutorenewaccount(new i.AccountId(s)._toProto()),this}setAutoRenewPeriod(s){return this._body.setAutorenewperiod(n.newDuration(s)),this}setCustomFees(s){for(const a of s)this._body.addCustomFees(a._toProto());return this}setTokenType(s){return this._body.setTokentype(s.code),this}setSupplyType(s){return this._body.setSupplytype(s.code),this}setMaxSupply(s){return this._body.setMaxsupply(s.toString()),this}get _method(){return p.TokenService.createToken}_doValidate(s){}}l.TokenCreateTransaction=o},54955:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenDeleteTransaction=void 0;const e=u(66498),i=u(41137),h=u(99280),p=u(16206);class r extends e.SingleTransactionBuilder{constructor(){super(),this._body=new i.TokenDeleteTransactionBody,this._inner.setTokendeletion(this._body)}setTokenId(o){return this._body.setToken(new p.TokenId(o)._toProto()),this}get _method(){return h.TokenService.deleteToken}_doValidate(o){}}l.TokenDeleteTransaction=r},82685:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenDissociateTransaction=void 0;const e=u(66498),i=u(13273),h=u(99280),p=u(16206),r=u(90335);class n extends e.SingleTransactionBuilder{constructor(){super(),this._body=new i.TokenDissociateTransactionBody,this._inner.setTokendissociate(this._body)}setAccountId(t){return this._body.setAccount(new r.AccountId(t)._toProto()),this}addTokenId(t){return this._body.addTokens(new p.TokenId(t)._toProto()),this}get _method(){return h.TokenService.dissociateTokens}_doValidate(t){}}l.TokenDissociateTransaction=n},98169:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenFeeScheduleUpdateTransaction=void 0;const e=u(66498),i=u(56456),h=u(99280),p=u(16206);class r extends e.SingleTransactionBuilder{constructor(){super(),this._body=new i.TokenFeeScheduleUpdateTransactionBody,this._inner.setTokenFeeScheduleUpdate(this._body)}setTokenId(o){return this._body.setTokenId(new p.TokenId(o)._toProto()),this}setCustomFees(o){for(const t of o)this._body.addCustomFees(t._toProto());return this}get _method(){return h.TokenService.updateTokenFeeSchedule}_doValidate(o){}}l.TokenFeeScheduleUpdateTransaction=r},49634:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenFreezeTransaction=void 0;const e=u(66498),i=u(24320),h=u(99280),p=u(16206),r=u(90335);class n extends e.SingleTransactionBuilder{constructor(){super(),this._body=new i.TokenFreezeAccountTransactionBody,this._inner.setTokenfreeze(this._body)}setTokenId(t){return this._body.setToken(new p.TokenId(t)._toProto()),this}setAccountId(t){return this._body.setAccount(new r.AccountId(t)._toProto()),this}get _method(){return h.TokenService.freezeTokenAccount}_doValidate(t){}}l.TokenFreezeTransaction=n},22014:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenGrantKycTransaction=void 0;const e=u(66498),i=u(44641),h=u(99280),p=u(16206),r=u(90335);class n extends e.SingleTransactionBuilder{constructor(){super(),this._body=new i.TokenGrantKycTransactionBody,this._inner.setTokengrantkyc(this._body)}setTokenId(t){return this._body.setToken(new p.TokenId(t)._toProto()),this}setAccountId(t){return this._body.setAccount(new r.AccountId(t)._toProto()),this}get _method(){return h.TokenService.grantKycToTokenAccount}_doValidate(t){}}l.TokenGrantKycTransaction=n},16206:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenId=void 0;const e=u(33276),i=u(24231),h=u(44431),p=u(52978),r=u(90078);class n{constructor(t,s,a){if(typeof t=="number"&&s!=null&&a!=null)this.shard=t,this.realm=s,this.token=a;else{const c=t,d=c instanceof n?c:i.normalizeEntityId("token",c);this.shard=d.shard,this.realm=d.realm,this.token=d.token}}static fromString(t){return new n(t)}static _fromProto(t){return new n({shard:new h.default(t.getShardnum()).toNumber(),realm:new h.default(t.getRealmnum()).toNumber(),token:new h.default(t.getTokennum()).toNumber()})}nft(t){return new r.NftId(this,t)}toString(){return`${this.shard}.${this.realm}.${this.token}`}static fromSolidityAddress(t){if(t.length!==40)throw new Error(`Invalid hex encoded solidity address length:
20
20
  expected length 40, got length ${t.length}`);const s=new h.default(t.slice(0,8),16).toNumber(),a=new h.default(t.slice(8,24),16).toNumber(),c=new h.default(t.slice(24,40),16).toNumber();return new n(s,a,c)}toSolidityAddress(){const t=new Uint8Array(20),s=new DataView(t.buffer,0,20);return s.setUint32(0,this.shard),s.setUint32(8,this.realm),s.setUint32(16,this.token),p.encode(t,!0)}_toProto(){const t=new e.TokenID;return t.setShardnum(this.shard.toString()),t.setRealmnum(this.realm.toString()),t.setTokennum(this.token.toString()),t}}l.TokenId=n},96592:function(v,l,u){"use strict";var e=this&&this.__awaiter||function(T,R,B,D){function I(k){return k instanceof B?k:new B(function(A){A(k)})}return new(B||(B=Promise))(function(k,A){function M(U){try{z(D.next(U))}catch(b){A(b)}}function _(U){try{z(D.throw(U))}catch(b){A(b)}}function z(U){U.done?k(U.value):I(U.value).then(M,_)}z((D=D.apply(T,R||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l.TokenInfoQuery=void 0;const i=u(2820),h=u(96666),p=u(79643),r=u(16206),n=u(36356),o=u(99280),t=u(90335),s=u(8200),a=u(13660),c=u(44431),d=u(96700),f=u(27672),y=u(24231);class g extends i.QueryBuilder{constructor(){super(),this._builder=new n.TokenGetInfoQuery,this._builder.setHeader(new h.QueryHeader),this._inner.setTokengetinfo(this._builder)}setTokenId(R){return this._builder.setToken(new r.TokenId(R)._toProto()),this}getCost(R){const B=Object.create(null,{getCost:{get:()=>super.getCost}});return e(this,void 0,void 0,function*(){const D=p.Hbar.fromTinybar(25),I=yield B.getCost.call(this,R);return I.isGreaterThan(D)?I:D})}_doLocalValidate(R){}_getMethod(){return o.TokenService.getTokenInfo}_getHeader(){return this._builder.getHeader()}_mapResponseHeader(R){return R.getTokengetinfo().getHeader()}_mapResponse(R){const B=R.getTokengetinfo().getTokeninfo();return{tokenId:r.TokenId._fromProto(B.getTokenid()),name:B.getName(),symbol:B.getSymbol(),decimals:B.getDecimals(),totalSupply:new c.default(B.getTotalsupply()),treasury:t.AccountId._fromProto(B.getTreasury()),adminKey:B.hasAdminkey()?s._fromProtoKey(B.getAdminkey()):null,kycKey:B.hasKyckey()?s._fromProtoKey(B.getKyckey()):null,freezeKey:B.hasFreezekey()?s._fromProtoKey(B.getFreezekey()):null,wipeKey:B.hasWipekey()?s._fromProtoKey(B.getWipekey()):null,supplyKey:B.hasSupplykey()?s._fromProtoKey(B.getSupplykey()):null,defaultFreezeStatus:B.getDefaultfreezestatus()===0?null:B.getDefaultfreezestatus()===1,defaultKycStatus:B.getDefaultkycstatus()===0?null:B.getDefaultkycstatus()===1,isDeleted:B.getDeleted(),autoRenewAccount:B.hasAutorenewaccount()?t.AccountId._fromProto(B.getAutorenewaccount()):null,autoRenewPeriod:new c.default(B.getAutorenewperiod().getSeconds()).toNumber(),expirationTime:B.hasExpiry()?a.timestampToDate(B.getExpiry()):null,tokenMemo:B.getMemo(),customFees:B.getCustomFeesList().map(D=>y.customFeeFromProto(D)),tokenType:f.TokenType._fromCode(B.getTokentype()),supplyType:d.TokenSupplyType._fromCode(B.getSupplytype()),maxSupply:new c.default(B.getMaxsupply())}}}l.TokenInfoQuery=g},63478:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenMintTransaction=void 0;const e=u(66498),i=u(64053),h=u(99280),p=u(16206),r=u(44431);class n extends e.SingleTransactionBuilder{constructor(){super(),this._body=new i.TokenMintTransactionBody,this._inner.setTokenmint(this._body)}setTokenId(t){return this._body.setToken(new p.TokenId(t)._toProto()),this}setAmount(t){return this._body.setAmount((t instanceof r.default?t:new r.default(t)).toString()),this}addMetadata(t){return this._body.addMetadata(t),this}setMetadata(t){return this._body.setMetadataList(t),this}get _method(){return h.TokenService.mintToken}_doValidate(t){}}l.TokenMintTransaction=n},92852:function(v,l,u){"use strict";var e=this&&this.__awaiter||function(f,y,g,T){function R(B){return B instanceof g?B:new g(function(D){D(B)})}return new(g||(g=Promise))(function(B,D){function I(M){try{A(T.next(M))}catch(_){D(_)}}function k(M){try{A(T.throw(M))}catch(_){D(_)}}function A(M){M.done?B(M.value):R(M.value).then(I,k)}A((T=T.apply(f,y||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l.TokenNftInfoQuery=void 0;const i=u(2820),h=u(96666),p=u(79643),r=u(90078),n=u(56847),o=u(58808),t=u(58285),s=u(99280),a=u(90335),c=u(13660);class d extends i.QueryBuilder{constructor(){super(),this._byNftBuilder=new n.TokenGetNftInfoQuery,this._byTokenBuilder=new o.TokenGetNftInfosQuery,this._byAccountBuilder=new t.TokenGetAccountNftInfosQuery,this._byNftBuilder.setHeader(new h.QueryHeader),this._byTokenBuilder.setHeader(new h.QueryHeader),this._byAccountBuilder.setHeader(new h.QueryHeader)}setNftId(y){return this._byNftBuilder.setNftid(y._toProto()),this._inner.clearTokengetnftinfo(),this._inner.clearTokengetnftinfos(),this._inner.clearTokengetaccountnftinfos(),this._inner.setTokengetnftinfo(this._byNftBuilder),this}setTokenId(y){return this._byTokenBuilder.setTokenid(y._toProto()),this._inner.clearTokengetnftinfo(),this._inner.clearTokengetnftinfos(),this._inner.clearTokengetaccountnftinfos(),this._inner.setTokengetnftinfos(this._byTokenBuilder),this}setAccountId(y){return this._byAccountBuilder.setAccountid(y._toProto()),this._inner.clearTokengetnftinfo(),this._inner.clearTokengetnftinfos(),this._inner.clearTokengetaccountnftinfos(),this._inner.setTokengetaccountnftinfos(this._byAccountBuilder),this}getCost(y){const g=Object.create(null,{getCost:{get:()=>super.getCost}});return e(this,void 0,void 0,function*(){const T=p.Hbar.fromTinybar(25),R=yield g.getCost.call(this,y);return R.isGreaterThan(T)?R:T})}_doLocalValidate(y){}_getMethod(){return s.TokenService.getTokenNftInfo}_getHeader(){return this._byAccountBuilder.hasAccountid()?this._byAccountBuilder.getHeader():this._byTokenBuilder.hasTokenid()?this._byTokenBuilder.getHeader():this._byNftBuilder.getHeader()}_mapResponseHeader(y){return this._byAccountBuilder.hasAccountid()?y.getTokengetaccountnftinfos().getHeader():this._byTokenBuilder.hasTokenid()?y.getTokengetnftinfos().getHeader():y.getTokengetnftinfo().getHeader()}_mapResponse(y){let g;return this._byAccountBuilder.hasAccountid()?g=y.getTokengetaccountnftinfos().getNftsList():this._byTokenBuilder.hasTokenid()?g=y.getTokengetnftinfos().getNftsList():g=[y.getTokengetnftinfo().getNft()],g.map(T=>({nftId:T.hasNftid()?r.NftId._fromProto(T.getNftid()):null,accountId:T.hasAccountid()?a.AccountId._fromProto(T.getAccountid()):null,creationTime:T.hasCreationtime()?c.timestampToDate(T.getCreationtime()):null,metadata:T.getMetadata_asU8()}))}}l.TokenNftInfoQuery=d},35715:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenRevokeKycTransaction=void 0;const e=u(66498),i=u(43881),h=u(99280),p=u(16206),r=u(90335);class n extends e.SingleTransactionBuilder{constructor(){super(),this._body=new i.TokenRevokeKycTransactionBody,this._inner.setTokenrevokekyc(this._body)}setTokenId(t){return this._body.setToken(new p.TokenId(t)._toProto()),this}setAccountId(t){return this._body.setAccount(new r.AccountId(t)._toProto()),this}get _method(){return h.TokenService.revokeKycFromTokenAccount}_doValidate(t){}}l.TokenRevokeKycTransaction=n},96700:function(v,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenSupplyType=void 0;class u{constructor(i){this.code=i}toString(){switch(this){case u.Infinite:return"INFINITE";case u.Finite:return"FINITE";default:return`UNKNOWN TOKEN_TYPE CODE (${this.code})`}}static _fromCode(i){var h;return(h=u[i])!==null&&h!==void 0?h:new u(i)}}l.TokenSupplyType=u,u.Infinite=new u(0),u.Finite=new u(1),u[0]=u.Infinite,u[1]=u.Finite},94881:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenTransferTransaction=void 0;const e=u(66498),i=u(682),h=u(78436),p=u(33276),r=u(44431),n=u(90335),o=u(16206);class t extends e.SingleTransactionBuilder{constructor(){super(),this._body=new i.CryptoTransferTransactionBody,this._tokenIdIndexes=new Map,this._body.setTokentransfersList([]),this._inner.setCryptotransfer(this._body),console.warn("Use `TransferTransaction` instead")}addSender(a,c,d){return this.addTransfer(a,c,d instanceof r.default?d.negated():new r.default(d).negated())}addRecipient(a,c,d){return this.addTransfer(a,c,d instanceof r.default?d:new r.default(d))}addTransfer(a,c,d){const f=this._tokenIdIndexes.get(new o.TokenId(a).toString()),y=new o.TokenId(a);f==null&&this._tokenIdIndexes.set(y.toString(),this._body.getTokentransfersList().length);let g;f!=null?g=this._body.getTokentransfersList()[f]:(g=new p.TokenTransferList,this._body.addTokentransfers(g)),g.setToken(y._toProto());const T=g.getTransfersList(),R=new p.AccountAmount;return R.setAccountid(new n.AccountId(c)._toProto()),R.setAmount(d instanceof r.default?d.toString(10):new r.default(d).toString(10)),T.push(R),this}_doValidate(a){}get _method(){return h.CryptoService.cryptoTransfer}}l.TokenTransferTransaction=t},27672:function(v,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenType=void 0;class u{constructor(i){this.code=i}toString(){switch(this){case u.FungibleCommon:return"FUNGIBLE_COMMON";case u.NonFungibleUnique:return"NON_FUNGIBLE_UNIQUE";default:return`UNKNOWN TOKEN_TYPE CODE (${this.code})`}}static _fromCode(i){var h;return(h=u[i])!==null&&h!==void 0?h:new u(i)}}l.TokenType=u,u.FungibleCommon=new u(0),u.NonFungibleUnique=new u(1),u[0]=u.FungibleCommon,u[1]=u.NonFungibleUnique},98531:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenUnfreezeTransaction=void 0;const e=u(66498),i=u(36079),h=u(99280),p=u(16206),r=u(90335);class n extends e.SingleTransactionBuilder{constructor(){super(),this._body=new i.TokenUnfreezeAccountTransactionBody,this._inner.setTokenunfreeze(this._body)}setTokenId(t){return this._body.setToken(new p.TokenId(t)._toProto()),this}setAccountId(t){return this._body.setAccount(new r.AccountId(t)._toProto()),this}get _method(){return h.TokenService.unfreezeTokenAccount}_doValidate(t){}}l.TokenUnfreezeTransaction=n},90450:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenUpdateTransaction=void 0;const e=u(66498),i=u(90335),h=u(86784),p=u(99280),r=u(13660),n=u(16206),o=u(24231);class t extends e.SingleTransactionBuilder{constructor(){super(),this._body=new h.TokenUpdateTransactionBody,this._inner.setTokenupdate(this._body)}setTokenId(a){return this._body.setToken(new n.TokenId(a)._toProto()),this}setName(a){return this._body.setName(a),this}setSymbol(a){return this._body.setSymbol(a),this}setTreasury(a){return this._body.setTreasury(new i.AccountId(a)._toProto()),this}setAdminKey(a){return this._body.setAdminkey(a._toProtoKey()),this}setKycKey(a){return this._body.setKyckey(a._toProtoKey()),this}setFreezeKey(a){return this._body.setFreezekey(a._toProtoKey()),this}setWipeKey(a){return this._body.setWipekey(a._toProtoKey()),this}setSupplyKey(a){return this._body.setSupplykey(a._toProtoKey()),this}setExpirationTime(a){return this._body.setExpiry(r.timestampToProto(r.dateToTimestamp(a))),this}setAutoRenewAccount(a){return this._body.setAutorenewaccount(new i.AccountId(a)._toProto()),this}setAutoRenewPeriod(a){return this._body.setAutorenewperiod(o.newDuration(a)),this}get _method(){return p.TokenService.updateToken}_doValidate(a){}}l.TokenUpdateTransaction=t},91569:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TokenWipeTransaction=void 0;const e=u(66498),i=u(95475),h=u(99280),p=u(16206),r=u(90335),n=u(44431);class o extends e.SingleTransactionBuilder{constructor(){super(),this._body=new i.TokenWipeAccountTransactionBody,this._inner.setTokenwipe(this._body)}setTokenId(s){return this._body.setToken(new p.TokenId(s)._toProto()),this}setAccountId(s){return this._body.setAccount(new r.AccountId(s)._toProto()),this}setAmount(s){return this._body.setAmount((s instanceof n.default?s:new n.default(s)).toString()),this}addSerial(s){return this._body.addSerialnumbers(s.toString()),this}setSerials(s){return this._body.setSerialnumbersList(s.map(a=>a.toString())),this}get _method(){return h.TokenService.wipeTokenAccount}_doValidate(s){}}l.TokenWipeTransaction=o},24231:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.customFeeFromProto=l.getResponseHeader=l.runValidation=l.reqDefined=l.timeoutPromise=l.setTimeoutAwaitable=l.getSdkKeys=l.normalizeEntityId=l.newDuration=l.orThrow=void 0;const e=u(46517),i=u(2338),h=u(85267),p=u(920),r=u(448),n=u(67890),o=u(41734);function t(B,D="value must not be null"){return y(B,D)}l.orThrow=t;function s(B){if(!Number.isSafeInteger(B))throw new TypeError("duration cannot have fractional seconds");const D=new e.Duration;return D.setSeconds(B.toString()),D}l.newDuration=s;function a(B,D){switch(typeof D){case"object":if(D[B]==null)break;return Object.assign({shard:0,realm:0},D);case"string":{const I=D.split(".");if(I.length===1){const k={[B]:Number(I[0])};return a(B,k)}else if(I.length===3)return{shard:Number(I[0]),realm:Number(I[1]),[B]:Number(I[2])};break}case"number":{if(!Number.isInteger(D)||D<0)break;if(!Number.isSafeInteger(D))throw new Error(`${B} ID outside safe integer range for number: ${D}`);return a(B,{[B]:D})}default:}throw new Error(`invalid ${B} ID: ${D}`)}l.normalizeEntityId=a;function c(B){return B.getKeysList().map(D=>p.Ed25519PublicKey.fromBytes(D.getEd25519_asU8()))}l.getSdkKeys=c;function d(B){return new Promise(D=>setTimeout(D,B))}l.setTimeoutAwaitable=d;function f(B,D,I){const k=new Promise((A,M)=>{setTimeout(()=>{I(M)},B)});return Promise.race([D,k])}l.timeoutPromise=f;function y(B,D){if(B==null)throw new Error(D);return B}l.reqDefined=y;function g(B,D){const I=[];if(D(I),I.length>0)throw new h.LocalValidationError(B.constructor.name,I)}l.runValidation=g;function T(B){switch(B.getResponseCase()){case i.Response.ResponseCase.RESPONSE_NOT_SET:throw new Error(`expected body for query response: ${B.toString()}`);case i.Response.ResponseCase.GETBYKEY:return B.getGetbykey().getHeader();case i.Response.ResponseCase.GETBYSOLIDITYID:return B.getGetbysolidityid().getHeader();case i.Response.ResponseCase.CONTRACTCALLLOCAL:return B.getContractcalllocal().getHeader();case i.Response.ResponseCase.CONTRACTGETBYTECODERESPONSE:return B.getContractgetbytecoderesponse().getHeader();case i.Response.ResponseCase.CONTRACTGETINFO:return B.getContractgetinfo().getHeader();case i.Response.ResponseCase.CONTRACTGETRECORDSRESPONSE:return B.getContractgetrecordsresponse().getHeader();case i.Response.ResponseCase.CRYPTOGETACCOUNTBALANCE:return B.getCryptogetaccountbalance().getHeader();case i.Response.ResponseCase.CRYPTOGETACCOUNTRECORDS:return B.getCryptogetaccountrecords().getHeader();case i.Response.ResponseCase.CRYPTOGETINFO:return B.getCryptogetinfo().getHeader();case i.Response.ResponseCase.CRYPTOGETPROXYSTAKERS:return B.getCryptogetproxystakers().getHeader();case i.Response.ResponseCase.FILEGETCONTENTS:return B.getFilegetcontents().getHeader();case i.Response.ResponseCase.FILEGETINFO:return B.getFilegetinfo().getHeader();case i.Response.ResponseCase.TRANSACTIONGETRECEIPT:return B.getTransactiongetreceipt().getHeader();case i.Response.ResponseCase.TRANSACTIONGETRECORD:return B.getTransactiongetrecord().getHeader();case i.Response.ResponseCase.TRANSACTIONGETFASTRECORD:return B.getTransactiongetfastrecord().getHeader();default:throw new Error(`unsupported response case ${B.getResponseCase()}`)}}l.getResponseHeader=T;function R(B){switch(B.getFeeCase()){case o.CustomFee.FeeCase.FIXED_FEE:return new r.CustomFixedFee(B);case o.CustomFee.FeeCase.FRACTIONAL_FEE:return new n.CustomFractionalFee(B);default:throw new Error("custom fee is not set")}}l.customFeeFromProto=R},33037:function(v){(function(l,u){if(!0)v.exports=u();else var e,i})(this,function(){return function(l){var u={};function e(i){if(u[i])return u[i].exports;var h=u[i]={i,l:!1,exports:{}};return l[i].call(h.exports,h,h.exports,e),h.l=!0,h.exports}return e.m=l,e.c=u,e.d=function(i,h,p){e.o(i,h)||Object.defineProperty(i,h,{enumerable:!0,get:p})},e.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},e.t=function(i,h){if(1&h&&(i=e(i)),8&h||4&h&&typeof i=="object"&&i&&i.__esModule)return i;var p=Object.create(null);if(e.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:i}),2&h&&typeof i!="string")for(var r in i)e.d(p,r,function(n){return i[n]}.bind(null,r));return p},e.n=function(i){var h=i&&i.__esModule?function(){return i.default}:function(){return i};return e.d(h,"a",h),h},e.o=function(i,h){return Object.prototype.hasOwnProperty.call(i,h)},e.p="",e(e.s=10)}([function(l,u,e){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var i=e(3);u.Metadata=i.BrowserHeaders},function(l,u,e){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.debug=function(){for(var i=[],h=0;h<arguments.length;h++)i[h]=arguments[h];console.debug?console.debug.apply(null,i):console.log.apply(null,i)}},function(l,u,e){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var i=e(0),h=e(8),p=e(9),r=e(1),n=e(4),o=e(14);u.client=function(a,c){return new t(a,c)};var t=function(){function a(c,d){this.started=!1,this.sentFirstMessage=!1,this.completed=!1,this.closed=!1,this.finishedSending=!1,this.onHeadersCallbacks=[],this.onMessageCallbacks=[],this.onEndCallbacks=[],this.parser=new h.ChunkParser,this.methodDefinition=c,this.props=d,this.createTransport()}return a.prototype.createTransport=function(){var c=this.props.host+"/"+this.methodDefinition.service.serviceName+"/"+this.methodDefinition.methodName,d={methodDefinition:this.methodDefinition,debug:this.props.debug||!1,url:c,onHeaders:this.onTransportHeaders.bind(this),onChunk:this.onTransportChunk.bind(this),onEnd:this.onTransportEnd.bind(this)};this.props.transport?this.transport=this.props.transport(d):this.transport=n.makeDefaultTransport(d)},a.prototype.onTransportHeaders=function(c,d){if(this.props.debug&&r.debug("onHeaders",c,d),this.closed)this.props.debug&&r.debug("grpc.onHeaders received after request was closed - ignoring");else if(d!==0){this.responseHeaders=c,this.props.debug&&r.debug("onHeaders.responseHeaders",JSON.stringify(this.responseHeaders,null,2));var f=s(c);this.props.debug&&r.debug("onHeaders.gRPCStatus",f);var y=f&&f>=0?f:p.httpStatusToCode(d);this.props.debug&&r.debug("onHeaders.code",y);var g=c.get("grpc-message")||[];if(this.props.debug&&r.debug("onHeaders.gRPCMessage",g),this.rawOnHeaders(c),y!==p.Code.OK){var T=this.decodeGRPCStatus(g[0]);this.rawOnError(y,T,c)}}},a.prototype.onTransportChunk=function(c){var d=this;if(this.closed)this.props.debug&&r.debug("grpc.onChunk received after request was closed - ignoring");else{var f=[];try{f=this.parser.parse(c)}catch(y){return this.props.debug&&r.debug("onChunk.parsing error",y,y.message),void this.rawOnError(p.Code.Internal,"parsing error: "+y.message)}f.forEach(function(y){if(y.chunkType===h.ChunkType.MESSAGE){var g=d.methodDefinition.responseType.deserializeBinary(y.data);d.rawOnMessage(g)}else y.chunkType===h.ChunkType.TRAILERS&&(d.responseHeaders?(d.responseTrailers=new i.Metadata(y.trailers),d.props.debug&&r.debug("onChunk.trailers",d.responseTrailers)):(d.responseHeaders=new i.Metadata(y.trailers),d.rawOnHeaders(d.responseHeaders)))})}},a.prototype.onTransportEnd=function(){if(this.props.debug&&r.debug("grpc.onEnd"),this.closed)this.props.debug&&r.debug("grpc.onEnd received after request was closed - ignoring");else if(this.responseTrailers!==void 0){var c=s(this.responseTrailers);if(c!==null){var d=this.responseTrailers.get("grpc-message"),f=this.decodeGRPCStatus(d[0]);this.rawOnEnd(c,f,this.responseTrailers)}else this.rawOnError(p.Code.Internal,"Response closed without grpc-status (Trailers provided)")}else{if(this.responseHeaders===void 0)return void this.rawOnError(p.Code.Unknown,"Response closed without headers");var y=s(this.responseHeaders),g=this.responseHeaders.get("grpc-message");if(this.props.debug&&r.debug("grpc.headers only response ",y,g),y===null)return void this.rawOnEnd(p.Code.Unknown,"Response closed without grpc-status (Headers only)",this.responseHeaders);var T=this.decodeGRPCStatus(g[0]);this.rawOnEnd(y,T,this.responseHeaders)}},a.prototype.decodeGRPCStatus=function(c){if(!c)return"";try{return decodeURIComponent(c)}catch{return c}},a.prototype.rawOnEnd=function(c,d,f){var y=this;this.props.debug&&r.debug("rawOnEnd",c,d,f),this.completed||(this.completed=!0,this.onEndCallbacks.forEach(function(g){if(!y.closed)try{g(c,d,f)}catch(T){setTimeout(function(){throw T})}}))},a.prototype.rawOnHeaders=function(c){this.props.debug&&r.debug("rawOnHeaders",c),this.completed||this.onHeadersCallbacks.forEach(function(d){try{d(c)}catch(f){setTimeout(function(){throw f})}})},a.prototype.rawOnError=function(c,d,f){var y=this;f===void 0&&(f=new i.Metadata),this.props.debug&&r.debug("rawOnError",c,d),this.completed||(this.completed=!0,this.onEndCallbacks.forEach(function(g){if(!y.closed)try{g(c,d,f)}catch(T){setTimeout(function(){throw T})}}))},a.prototype.rawOnMessage=function(c){var d=this;this.props.debug&&r.debug("rawOnMessage",c.toObject()),this.completed||this.closed||this.onMessageCallbacks.forEach(function(f){if(!d.closed)try{f(c)}catch(y){setTimeout(function(){throw y})}})},a.prototype.onHeaders=function(c){this.onHeadersCallbacks.push(c)},a.prototype.onMessage=function(c){this.onMessageCallbacks.push(c)},a.prototype.onEnd=function(c){this.onEndCallbacks.push(c)},a.prototype.start=function(c){if(this.started)throw new Error("Client already started - cannot .start()");this.started=!0;var d=new i.Metadata(c||{});d.set("content-type","application/grpc-web+proto"),d.set("x-grpc-web","1"),this.transport.start(d)},a.prototype.send=function(c){if(!this.started)throw new Error("Client not started - .start() must be called before .send()");if(this.closed)throw new Error("Client already closed - cannot .send()");if(this.finishedSending)throw new Error("Client already finished sending - cannot .send()");if(!this.methodDefinition.requestStream&&this.sentFirstMessage)throw new Error("Message already sent for non-client-streaming method - cannot .send()");this.sentFirstMessage=!0;var d=o.frameRequest(c);this.transport.sendMessage(d)},a.prototype.finishSend=function(){if(!this.started)throw new Error("Client not started - .finishSend() must be called before .close()");if(this.closed)throw new Error("Client already closed - cannot .send()");if(this.finishedSending)throw new Error("Client already finished sending - cannot .finishSend()");this.finishedSending=!0,this.transport.finishSend()},a.prototype.close=function(){if(!this.started)throw new Error("Client not started - .start() must be called before .close()");if(this.closed)throw new Error("Client already closed - cannot .close()");this.closed=!0,this.props.debug&&r.debug("request.abort aborting request"),this.transport.cancel()},a}();function s(a){var c=a.get("grpc-status")||[];if(c.length>0)try{var d=c[0];return parseInt(d,10)}catch{return null}return null}},function(l,u,e){var i;i=function(){return function(h){var p={};function r(n){if(p[n])return p[n].exports;var o=p[n]={i:n,l:!1,exports:{}};return h[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=h,r.c=p,r.i=function(n){return n},r.d=function(n,o,t){r.o(n,o)||Object.defineProperty(n,o,{configurable:!1,enumerable:!0,get:t})},r.n=function(n){var o=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(o,"a",o),o},r.o=function(n,o){return Object.prototype.hasOwnProperty.call(n,o)},r.p="",r(r.s=1)}([function(h,p,r){"use strict";Object.defineProperty(p,"__esModule",{value:!0});var n=r(3),o=function(){function t(s,a){s===void 0&&(s={}),a===void 0&&(a={splitValues:!1});var c,d=this;this.headersMap={},s&&(typeof Headers<"u"&&s instanceof Headers?n.getHeaderKeys(s).forEach(function(f){n.getHeaderValues(s,f).forEach(function(y){a.splitValues?d.append(f,n.splitHeaderValue(y)):d.append(f,y)})}):typeof(c=s)=="object"&&typeof c.headersMap=="object"&&typeof c.forEach=="function"?s.forEach(function(f,y){d.append(f,y)}):typeof Map<"u"&&s instanceof Map?s.forEach(function(f,y){d.append(y,f)}):typeof s=="string"?this.appendFromString(s):typeof s=="object"&&Object.getOwnPropertyNames(s).forEach(function(f){var y=s[f];Array.isArray(y)?y.forEach(function(g){d.append(f,g)}):d.append(f,y)}))}return t.prototype.appendFromString=function(s){for(var a=s.split(`\r
21
21
  `),c=0;c<a.length;c++){var d=a[c],f=d.indexOf(":");if(f>0){var y=d.substring(0,f).trim(),g=d.substring(f+1).trim();this.append(y,g)}}},t.prototype.delete=function(s,a){var c=n.normalizeName(s);if(a===void 0)delete this.headersMap[c];else{var d=this.headersMap[c];if(d){var f=d.indexOf(a);f>=0&&d.splice(f,1),d.length===0&&delete this.headersMap[c]}}},t.prototype.append=function(s,a){var c=this,d=n.normalizeName(s);Array.isArray(this.headersMap[d])||(this.headersMap[d]=[]),Array.isArray(a)?a.forEach(function(f){c.headersMap[d].push(n.normalizeValue(f))}):this.headersMap[d].push(n.normalizeValue(a))},t.prototype.set=function(s,a){var c=n.normalizeName(s);if(Array.isArray(a)){var d=[];a.forEach(function(f){d.push(n.normalizeValue(f))}),this.headersMap[c]=d}else this.headersMap[c]=[n.normalizeValue(a)]},t.prototype.has=function(s,a){var c=this.headersMap[n.normalizeName(s)];if(!Array.isArray(c))return!1;if(a!==void 0){var d=n.normalizeValue(a);return c.indexOf(d)>=0}return!0},t.prototype.get=function(s){var a=this.headersMap[n.normalizeName(s)];return a!==void 0?a.concat():[]},t.prototype.forEach=function(s){var a=this;Object.getOwnPropertyNames(this.headersMap).forEach(function(c){s(c,a.headersMap[c])},this)},t.prototype.toHeaders=function(){if(typeof Headers<"u"){var s=new Headers;return this.forEach(function(a,c){c.forEach(function(d){s.append(a,d)})}),s}throw new Error("Headers class is not defined")},t}();p.BrowserHeaders=o},function(h,p,r){"use strict";Object.defineProperty(p,"__esModule",{value:!0});var n=r(0);p.BrowserHeaders=n.BrowserHeaders},function(h,p,r){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.iterateHeaders=function(n,o){for(var t=n[Symbol.iterator](),s=t.next();!s.done;)o(s.value[0]),s=t.next()},p.iterateHeadersKeys=function(n,o){for(var t=n.keys(),s=t.next();!s.done;)o(s.value),s=t.next()}},function(h,p,r){"use strict";Object.defineProperty(p,"__esModule",{value:!0});var n=r(2);function o(t){return t}p.normalizeName=function(t){if(typeof t!="string"&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()},p.normalizeValue=function(t){return typeof t!="string"&&(t=String(t)),t},p.getHeaderValues=function(t,s){var a=t;if(a instanceof Headers&&a.getAll)return a.getAll(s);var c=a.get(s);return c&&typeof c=="string"?[c]:c},p.getHeaderKeys=function(t){var s=t,a={},c=[];return s.keys?n.iterateHeadersKeys(s,function(d){a[d]||(a[d]=!0,c.push(d))}):s.forEach?s.forEach(function(d,f){a[f]||(a[f]=!0,c.push(f))}):n.iterateHeaders(s,function(d){var f=d[0];a[f]||(a[f]=!0,c.push(f))}),c},p.splitHeaderValue=function(t){var s=[];return t.split(", ").forEach(function(a){a.split(",").forEach(function(c){s.push(c)})}),s}}])},l.exports=i()},function(l,u,e){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var i=e(5),h=function(p){return i.CrossBrowserHttpTransport({withCredentials:!1})(p)};u.setDefaultTransportFactory=function(p){h=p},u.makeDefaultTransport=function(p){return h(p)}},function(l,u,e){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var i=e(6),h=e(7);u.CrossBrowserHttpTransport=function(p){if(i.detectFetchSupport()){var r={credentials:p.withCredentials?"include":"same-origin"};return i.FetchReadableStreamTransport(r)}return h.XhrTransport({withCredentials:p.withCredentials})}},function(l,u,e){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(n){for(var o,t=1,s=arguments.length;t<s;t++)for(var a in o=arguments[t])Object.prototype.hasOwnProperty.call(o,a)&&(n[a]=o[a]);return n}).apply(this,arguments)};Object.defineProperty(u,"__esModule",{value:!0});var h=e(0),p=e(1);u.FetchReadableStreamTransport=function(n){return function(o){return function(t,s){return t.debug&&p.debug("fetchRequest",t),new r(t,s)}(o,n)}};var r=function(){function n(o,t){this.cancelled=!1,this.controller=self.AbortController&&new AbortController,this.options=o,this.init=t}return n.prototype.pump=function(o,t){var s=this;if(this.reader=o,this.cancelled)return this.options.debug&&p.debug("Fetch.pump.cancel at first pump"),void this.reader.cancel();this.reader.read().then(function(a){if(a.done)return s.options.onEnd(),t;s.options.onChunk(a.value),s.pump(s.reader,t)}).catch(function(a){s.cancelled?s.options.debug&&p.debug("Fetch.catch - request cancelled"):(s.cancelled=!0,s.options.debug&&p.debug("Fetch.catch",a.message),s.options.onEnd(a))})},n.prototype.send=function(o){var t=this;fetch(this.options.url,i({},this.init,{headers:this.metadata.toHeaders(),method:"POST",body:o,signal:this.controller&&this.controller.signal})).then(function(s){if(t.options.debug&&p.debug("Fetch.response",s),t.options.onHeaders(new h.Metadata(s.headers),s.status),!s.body)return s;t.pump(s.body.getReader(),s)}).catch(function(s){t.cancelled?t.options.debug&&p.debug("Fetch.catch - request cancelled"):(t.cancelled=!0,t.options.debug&&p.debug("Fetch.catch",s.message),t.options.onEnd(s))})},n.prototype.sendMessage=function(o){this.send(o)},n.prototype.finishSend=function(){},n.prototype.start=function(o){this.metadata=o},n.prototype.cancel=function(){this.cancelled?this.options.debug&&p.debug("Fetch.abort.cancel already cancelled"):(this.cancelled=!0,this.reader?(this.options.debug&&p.debug("Fetch.abort.cancel"),this.reader.cancel()):this.options.debug&&p.debug("Fetch.abort.cancel before reader"),this.controller&&this.controller.abort())},n}();u.detectFetchSupport=function(){return typeof Response<"u"&&Response.prototype.hasOwnProperty("body")&&typeof Headers=="function"}},function(l,u,e){"use strict";var i,h=this&&this.__extends||(i=function(c,d){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,y){f.__proto__=y}||function(f,y){for(var g in y)y.hasOwnProperty(g)&&(f[g]=y[g])})(c,d)},function(c,d){function f(){this.constructor=c}i(c,d),c.prototype=d===null?Object.create(d):(f.prototype=d.prototype,new f)});Object.defineProperty(u,"__esModule",{value:!0});var p=e(0),r=e(1),n=e(11);u.XhrTransport=function(c){return function(d){if(n.detectMozXHRSupport())return new t(d,c);if(n.detectXHROverrideMimeTypeSupport())return new o(d,c);throw new Error("This environment's XHR implementation cannot support binary transfer.")}};var o=function(){function c(d,f){this.options=d,this.init=f}return c.prototype.onProgressEvent=function(){this.options.debug&&r.debug("XHR.onProgressEvent.length: ",this.xhr.response.length);var d=this.xhr.response.substr(this.index);this.index=this.xhr.response.length;var f=a(d);this.options.onChunk(f)},c.prototype.onLoadEvent=function(){this.options.debug&&r.debug("XHR.onLoadEvent"),this.options.onEnd()},c.prototype.onStateChange=function(){this.options.debug&&r.debug("XHR.onStateChange",this.xhr.readyState),this.xhr.readyState===XMLHttpRequest.HEADERS_RECEIVED&&this.options.onHeaders(new p.Metadata(this.xhr.getAllResponseHeaders()),this.xhr.status)},c.prototype.sendMessage=function(d){this.xhr.send(d)},c.prototype.finishSend=function(){},c.prototype.start=function(d){var f=this;this.metadata=d;var y=new XMLHttpRequest;this.xhr=y,y.open("POST",this.options.url),this.configureXhr(),this.metadata.forEach(function(g,T){y.setRequestHeader(g,T.join(", "))}),y.withCredentials=Boolean(this.init.withCredentials),y.addEventListener("readystatechange",this.onStateChange.bind(this)),y.addEventListener("progress",this.onProgressEvent.bind(this)),y.addEventListener("loadend",this.onLoadEvent.bind(this)),y.addEventListener("error",function(g){f.options.debug&&r.debug("XHR.error",g),f.options.onEnd(g.error)})},c.prototype.configureXhr=function(){this.xhr.responseType="text",this.xhr.overrideMimeType("text/plain; charset=x-user-defined")},c.prototype.cancel=function(){this.options.debug&&r.debug("XHR.abort"),this.xhr.abort()},c}();u.XHR=o;var t=function(c){function d(){return c!==null&&c.apply(this,arguments)||this}return h(d,c),d.prototype.configureXhr=function(){this.options.debug&&r.debug("MozXHR.configureXhr: setting responseType to 'moz-chunked-arraybuffer'"),this.xhr.responseType="moz-chunked-arraybuffer"},d.prototype.onProgressEvent=function(){var f=this.xhr.response;this.options.debug&&r.debug("MozXHR.onProgressEvent: ",new Uint8Array(f)),this.options.onChunk(new Uint8Array(f))},d}(o);function s(c,d){var f=c.charCodeAt(d);if(f>=55296&&f<=56319){var y=c.charCodeAt(d+1);y>=56320&&y<=57343&&(f=65536+(f-55296<<10)+(y-56320))}return f}function a(c){for(var d=new Uint8Array(c.length),f=0,y=0;y<c.length;y++){var g=String.prototype.codePointAt?c.codePointAt(y):s(c,y);d[f++]=255&g}return d}u.MozChunkedArrayBufferXHR=t,u.stringToArrayBuffer=a},function(l,u,e){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var i,h=e(0),p=function(d){return d===9||d===10||d===13};function r(d){return p(d)||d>=32&&d<=126}function n(d){for(var f=0;f!==d.length;++f)if(!r(d[f]))throw new Error("Metadata is not valid (printable) ASCII");return String.fromCharCode.apply(String,Array.prototype.slice.call(d))}function o(d){return(128&d.getUint8(0))==128}function t(d){return d.getUint32(1,!1)}function s(d,f,y){return d.byteLength-f>=y}function a(d,f,y){if(d.slice)return d.slice(f,y);var g=d.length;y!==void 0&&(g=y);for(var T=new Uint8Array(g-f),R=0,B=f;B<g;B++)T[R++]=d[B];return T}u.decodeASCII=n,u.encodeASCII=function(d){for(var f=new Uint8Array(d.length),y=0;y!==d.length;++y){var g=d.charCodeAt(y);if(!r(g))throw new Error("Metadata contains invalid ASCII");f[y]=g}return f},function(d){d[d.MESSAGE=1]="MESSAGE",d[d.TRAILERS=2]="TRAILERS"}(i=u.ChunkType||(u.ChunkType={}));var c=function(){function d(){this.buffer=null,this.position=0}return d.prototype.parse=function(f,y){if(f.length===0&&y)return[];var g,T=[];if(this.buffer==null)this.buffer=f,this.position=0;else if(this.position===this.buffer.byteLength)this.buffer=f,this.position=0;else{var R=this.buffer.byteLength-this.position,B=new Uint8Array(R+f.byteLength),D=a(this.buffer,this.position);B.set(D,0);var I=new Uint8Array(f);B.set(I,R),this.buffer=B,this.position=0}for(;;){if(!s(this.buffer,this.position,5))return T;var k=a(this.buffer,this.position,this.position+5),A=new DataView(k.buffer,k.byteOffset,k.byteLength),M=t(A);if(!s(this.buffer,this.position,5+M))return T;var _=a(this.buffer,this.position+5,this.position+5+M);if(this.position+=5+M,o(A))return T.push({chunkType:i.TRAILERS,trailers:(g=_,new h.Metadata(n(g)))}),T;T.push({chunkType:i.MESSAGE,data:_})}},d}();u.ChunkParser=c},function(l,u,e){"use strict";var i;Object.defineProperty(u,"__esModule",{value:!0}),function(h){h[h.OK=0]="OK",h[h.Canceled=1]="Canceled",h[h.Unknown=2]="Unknown",h[h.InvalidArgument=3]="InvalidArgument",h[h.DeadlineExceeded=4]="DeadlineExceeded",h[h.NotFound=5]="NotFound",h[h.AlreadyExists=6]="AlreadyExists",h[h.PermissionDenied=7]="PermissionDenied",h[h.ResourceExhausted=8]="ResourceExhausted",h[h.FailedPrecondition=9]="FailedPrecondition",h[h.Aborted=10]="Aborted",h[h.OutOfRange=11]="OutOfRange",h[h.Unimplemented=12]="Unimplemented",h[h.Internal=13]="Internal",h[h.Unavailable=14]="Unavailable",h[h.DataLoss=15]="DataLoss",h[h.Unauthenticated=16]="Unauthenticated"}(i=u.Code||(u.Code={})),u.httpStatusToCode=function(h){switch(h){case 0:return i.Internal;case 200:return i.OK;case 400:return i.InvalidArgument;case 401:return i.Unauthenticated;case 403:return i.PermissionDenied;case 404:return i.NotFound;case 409:return i.Aborted;case 412:return i.FailedPrecondition;case 429:return i.ResourceExhausted;case 499:return i.Canceled;case 500:return i.Unknown;case 501:return i.Unimplemented;case 503:return i.Unavailable;case 504:return i.DeadlineExceeded;default:return i.Unknown}}},function(l,u,e){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var i=e(3),h=e(4),p=e(6),r=e(12),n=e(7),o=e(5),t=e(9),s=e(13),a=e(15),c=e(2);(function(d){d.setDefaultTransport=h.setDefaultTransportFactory,d.CrossBrowserHttpTransport=o.CrossBrowserHttpTransport,d.FetchReadableStreamTransport=p.FetchReadableStreamTransport,d.XhrTransport=n.XhrTransport,d.WebsocketTransport=r.WebsocketTransport,d.Code=t.Code,d.Metadata=i.BrowserHeaders,d.client=function(f,y){return c.client(f,y)},d.invoke=s.invoke,d.unary=a.unary})(u.grpc||(u.grpc={}))},function(l,u,e){"use strict";var i;function h(){if(i!==void 0)return i;if(XMLHttpRequest){i=new XMLHttpRequest;try{i.open("GET","https://localhost")}catch{}}return i}function p(r){var n=h();if(!n)return!1;try{return n.responseType=r,n.responseType===r}catch{}return!1}Object.defineProperty(u,"__esModule",{value:!0}),u.xhrSupportsResponseType=p,u.detectMozXHRSupport=function(){return typeof XMLHttpRequest<"u"&&p("moz-chunked-arraybuffer")},u.detectXHROverrideMimeTypeSupport=function(){return typeof XMLHttpRequest<"u"&&XMLHttpRequest.prototype.hasOwnProperty("overrideMimeType")}},function(l,u,e){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var i,h=e(1),p=e(8);(function(n){n[n.FINISH_SEND=1]="FINISH_SEND"})(i||(i={}));var r=new Uint8Array([1]);u.WebsocketTransport=function(){return function(n){return function(o){o.debug&&h.debug("websocketRequest",o);var t,s=function(d){if(d.substr(0,8)==="https://")return"wss://"+d.substr(8);if(d.substr(0,7)==="http://")return"ws://"+d.substr(7);throw new Error("Websocket transport constructed with non-https:// or http:// host.")}(o.url),a=[];function c(d){if(d===i.FINISH_SEND)t.send(r);else{var f=d,y=new Int8Array(f.byteLength+1);y.set(new Uint8Array([0])),y.set(f,1),t.send(y)}}return{sendMessage:function(d){t&&t.readyState!==t.CONNECTING?c(d):a.push(d)},finishSend:function(){t&&t.readyState!==t.CONNECTING?c(i.FINISH_SEND):a.push(i.FINISH_SEND)},start:function(d){(t=new WebSocket(s,["grpc-websockets"])).binaryType="arraybuffer",t.onopen=function(){var f;o.debug&&h.debug("websocketRequest.onopen"),t.send((f="",d.forEach(function(y,g){f+=y+": "+g.join(", ")+`\r
22
- `}),p.encodeASCII(f))),a.forEach(function(y){c(y)})},t.onclose=function(f){o.debug&&h.debug("websocketRequest.onclose",f),o.onEnd()},t.onerror=function(f){o.debug&&h.debug("websocketRequest.onerror",f)},t.onmessage=function(f){o.onChunk(new Uint8Array(f.data))}},cancel:function(){o.debug&&h.debug("websocket.abort"),t.close()}}}(n)}}},function(l,u,e){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var i=e(2);u.invoke=function(h,p){if(h.requestStream)throw new Error(".invoke cannot be used with client-streaming methods. Use .client instead.");var r=i.client(h,{host:p.host,transport:p.transport,debug:p.debug});return p.onHeaders&&r.onHeaders(p.onHeaders),p.onMessage&&r.onMessage(p.onMessage),p.onEnd&&r.onEnd(p.onEnd),r.start(p.metadata),r.send(p.request),r.finishSend(),{close:function(){r.close()}}}},function(l,u,e){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.frameRequest=function(i){var h=i.serializeBinary(),p=new ArrayBuffer(h.byteLength+5);return new DataView(p,1,4).setUint32(0,h.length,!1),new Uint8Array(p,5).set(h),new Uint8Array(p)}},function(l,u,e){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var i=e(0),h=e(2);u.unary=function(p,r){if(p.responseStream)throw new Error(".unary cannot be used with server-streaming methods. Use .invoke or .client instead.");if(p.requestStream)throw new Error(".unary cannot be used with client-streaming methods. Use .client instead.");var n=null,o=null,t=h.client(p,{host:r.host,transport:r.transport,debug:r.debug});return t.onHeaders(function(s){n=s}),t.onMessage(function(s){o=s}),t.onEnd(function(s,a,c){r.onEnd({status:s,statusMessage:a,headers:n||new i.Metadata,message:o,trailers:c})}),t.start(r.metadata),t.send(r.request),t.finishSend(),{close:function(){t.close()}}}}])})},69323:function(v,l){"use strict";var u=this&&this.__extends||function(){var a=function(c,d){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,y){f.__proto__=y}||function(f,y){for(var g in y)y.hasOwnProperty(g)&&(f[g]=y[g])},a(c,d)};return function(c,d){a(c,d);function f(){this.constructor=c}c.prototype=d===null?Object.create(d):(f.prototype=d.prototype,new f)}}();Object.defineProperty(l,"__esModule",{value:!0});var e=256,i=function(){function a(c){c===void 0&&(c="="),this._paddingCharacter=c}return a.prototype.encodedLength=function(c){return this._paddingCharacter?(c+2)/3*4|0:(c*8+5)/6|0},a.prototype.encode=function(c){for(var d="",f=0;f<c.length-2;f+=3){var y=c[f]<<16|c[f+1]<<8|c[f+2];d+=this._encodeByte(y>>>3*6&63),d+=this._encodeByte(y>>>2*6&63),d+=this._encodeByte(y>>>1*6&63),d+=this._encodeByte(y>>>0*6&63)}var g=c.length-f;if(g>0){var y=c[f]<<16|(g===2?c[f+1]<<8:0);d+=this._encodeByte(y>>>3*6&63),d+=this._encodeByte(y>>>2*6&63),g===2?d+=this._encodeByte(y>>>1*6&63):d+=this._paddingCharacter||"",d+=this._paddingCharacter||""}return d},a.prototype.maxDecodedLength=function(c){return this._paddingCharacter?c/4*3|0:(c*6+7)/8|0},a.prototype.decodedLength=function(c){return this.maxDecodedLength(c.length-this._getPaddingLength(c))},a.prototype.decode=function(c){if(c.length===0)return new Uint8Array(0);for(var d=this._getPaddingLength(c),f=c.length-d,y=new Uint8Array(this.maxDecodedLength(f)),g=0,T=0,R=0,B=0,D=0,I=0,k=0;T<f-4;T+=4)B=this._decodeChar(c.charCodeAt(T+0)),D=this._decodeChar(c.charCodeAt(T+1)),I=this._decodeChar(c.charCodeAt(T+2)),k=this._decodeChar(c.charCodeAt(T+3)),y[g++]=B<<2|D>>>4,y[g++]=D<<4|I>>>2,y[g++]=I<<6|k,R|=B&e,R|=D&e,R|=I&e,R|=k&e;if(T<f-1&&(B=this._decodeChar(c.charCodeAt(T)),D=this._decodeChar(c.charCodeAt(T+1)),y[g++]=B<<2|D>>>4,R|=B&e,R|=D&e),T<f-2&&(I=this._decodeChar(c.charCodeAt(T+2)),y[g++]=D<<4|I>>>2,R|=I&e),T<f-3&&(k=this._decodeChar(c.charCodeAt(T+3)),y[g++]=I<<6|k,R|=k&e),R!==0)throw new Error("Base64Coder: incorrect characters for decoding");return y},a.prototype._encodeByte=function(c){var d=c;return d+=65,d+=25-c>>>8&0-65-26+97,d+=51-c>>>8&26-97-52+48,d+=61-c>>>8&52-48-62+43,d+=62-c>>>8&62-43-63+47,String.fromCharCode(d)},a.prototype._decodeChar=function(c){var d=e;return d+=(42-c&c-44)>>>8&-e+c-43+62,d+=(46-c&c-48)>>>8&-e+c-47+63,d+=(47-c&c-58)>>>8&-e+c-48+52,d+=(64-c&c-91)>>>8&-e+c-65+0,d+=(96-c&c-123)>>>8&-e+c-97+26,d},a.prototype._getPaddingLength=function(c){var d=0;if(this._paddingCharacter){for(var f=c.length-1;f>=0&&c[f]===this._paddingCharacter;f--)d++;if(c.length<4||d>2)throw new Error("Base64Coder: incorrect padding")}return d},a}();l.Coder=i;var h=new i;function p(a){return h.encode(a)}l.encode=p;function r(a){return h.decode(a)}l.decode=r;var n=function(a){u(c,a);function c(){return a!==null&&a.apply(this,arguments)||this}return c.prototype._encodeByte=function(d){var f=d;return f+=65,f+=25-d>>>8&0-65-26+97,f+=51-d>>>8&26-97-52+48,f+=61-d>>>8&52-48-62+45,f+=62-d>>>8&62-45-63+95,String.fromCharCode(f)},c.prototype._decodeChar=function(d){var f=e;return f+=(44-d&d-46)>>>8&-e+d-45+62,f+=(94-d&d-96)>>>8&-e+d-95+63,f+=(47-d&d-58)>>>8&-e+d-48+52,f+=(64-d&d-91)>>>8&-e+d-65+0,f+=(96-d&d-123)>>>8&-e+d-97+26,f},c}(i);l.URLSafeCoder=n;var o=new n;function t(a){return o.encode(a)}l.encodeURLSafe=t;function s(a){return o.decode(a)}l.decodeURLSafe=s,l.encodedLength=function(a){return h.encodedLength(a)},l.maxDecodedLength=function(a){return h.maxDecodedLength(a)},l.decodedLength=function(a){return h.decodedLength(a)}},98099:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=u(97117);function i(j,O){return O===void 0&&(O=0),(j[O+0]<<8|j[O+1])<<16>>16}l.readInt16BE=i;function h(j,O){return O===void 0&&(O=0),(j[O+0]<<8|j[O+1])>>>0}l.readUint16BE=h;function p(j,O){return O===void 0&&(O=0),(j[O+1]<<8|j[O])<<16>>16}l.readInt16LE=p;function r(j,O){return O===void 0&&(O=0),(j[O+1]<<8|j[O])>>>0}l.readUint16LE=r;function n(j,O,W){return O===void 0&&(O=new Uint8Array(2)),W===void 0&&(W=0),O[W+0]=j>>>8,O[W+1]=j>>>0,O}l.writeUint16BE=n,l.writeInt16BE=n;function o(j,O,W){return O===void 0&&(O=new Uint8Array(2)),W===void 0&&(W=0),O[W+0]=j>>>0,O[W+1]=j>>>8,O}l.writeUint16LE=o,l.writeInt16LE=o;function t(j,O){return O===void 0&&(O=0),j[O]<<24|j[O+1]<<16|j[O+2]<<8|j[O+3]}l.readInt32BE=t;function s(j,O){return O===void 0&&(O=0),(j[O]<<24|j[O+1]<<16|j[O+2]<<8|j[O+3])>>>0}l.readUint32BE=s;function a(j,O){return O===void 0&&(O=0),j[O+3]<<24|j[O+2]<<16|j[O+1]<<8|j[O]}l.readInt32LE=a;function c(j,O){return O===void 0&&(O=0),(j[O+3]<<24|j[O+2]<<16|j[O+1]<<8|j[O])>>>0}l.readUint32LE=c;function d(j,O,W){return O===void 0&&(O=new Uint8Array(4)),W===void 0&&(W=0),O[W+0]=j>>>24,O[W+1]=j>>>16,O[W+2]=j>>>8,O[W+3]=j>>>0,O}l.writeUint32BE=d,l.writeInt32BE=d;function f(j,O,W){return O===void 0&&(O=new Uint8Array(4)),W===void 0&&(W=0),O[W+0]=j>>>0,O[W+1]=j>>>8,O[W+2]=j>>>16,O[W+3]=j>>>24,O}l.writeUint32LE=f,l.writeInt32LE=f;function y(j,O){O===void 0&&(O=0);var W=t(j,O),K=t(j,O+4);return W*4294967296+K-(K>>31)*4294967296}l.readInt64BE=y;function g(j,O){O===void 0&&(O=0);var W=s(j,O),K=s(j,O+4);return W*4294967296+K}l.readUint64BE=g;function T(j,O){O===void 0&&(O=0);var W=a(j,O),K=a(j,O+4);return K*4294967296+W-(W>>31)*4294967296}l.readInt64LE=T;function R(j,O){O===void 0&&(O=0);var W=c(j,O),K=c(j,O+4);return K*4294967296+W}l.readUint64LE=R;function B(j,O,W){return O===void 0&&(O=new Uint8Array(8)),W===void 0&&(W=0),d(j/4294967296>>>0,O,W),d(j>>>0,O,W+4),O}l.writeUint64BE=B,l.writeInt64BE=B;function D(j,O,W){return O===void 0&&(O=new Uint8Array(8)),W===void 0&&(W=0),f(j>>>0,O,W),f(j/4294967296>>>0,O,W+4),O}l.writeUint64LE=D,l.writeInt64LE=D;function I(j,O,W){if(W===void 0&&(W=0),j%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(j/8>O.length-W)throw new Error("readUintBE: array is too short for the given bitLength");for(var K=0,m=1,G=j/8+W-1;G>=W;G--)K+=O[G]*m,m*=256;return K}l.readUintBE=I;function k(j,O,W){if(W===void 0&&(W=0),j%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(j/8>O.length-W)throw new Error("readUintLE: array is too short for the given bitLength");for(var K=0,m=1,G=W;G<W+j/8;G++)K+=O[G]*m,m*=256;return K}l.readUintLE=k;function A(j,O,W,K){if(W===void 0&&(W=new Uint8Array(j/8)),K===void 0&&(K=0),j%8!==0)throw new Error("writeUintBE supports only bitLengths divisible by 8");if(!e.isSafeInteger(O))throw new Error("writeUintBE value must be an integer");for(var m=1,G=j/8+K-1;G>=K;G--)W[G]=O/m&255,m*=256;return W}l.writeUintBE=A;function M(j,O,W,K){if(W===void 0&&(W=new Uint8Array(j/8)),K===void 0&&(K=0),j%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!e.isSafeInteger(O))throw new Error("writeUintLE value must be an integer");for(var m=1,G=K;G<K+j/8;G++)W[G]=O/m&255,m*=256;return W}l.writeUintLE=M;function _(j,O){O===void 0&&(O=0);var W=new DataView(j.buffer,j.byteOffset,j.byteLength);return W.getFloat32(O)}l.readFloat32BE=_;function z(j,O){O===void 0&&(O=0);var W=new DataView(j.buffer,j.byteOffset,j.byteLength);return W.getFloat32(O,!0)}l.readFloat32LE=z;function U(j,O){O===void 0&&(O=0);var W=new DataView(j.buffer,j.byteOffset,j.byteLength);return W.getFloat64(O)}l.readFloat64BE=U;function b(j,O){O===void 0&&(O=0);var W=new DataView(j.buffer,j.byteOffset,j.byteLength);return W.getFloat64(O,!0)}l.readFloat64LE=b;function w(j,O,W){O===void 0&&(O=new Uint8Array(4)),W===void 0&&(W=0);var K=new DataView(O.buffer,O.byteOffset,O.byteLength);return K.setFloat32(W,j),O}l.writeFloat32BE=w;function F(j,O,W){O===void 0&&(O=new Uint8Array(4)),W===void 0&&(W=0);var K=new DataView(O.buffer,O.byteOffset,O.byteLength);return K.setFloat32(W,j,!0),O}l.writeFloat32LE=F;function C(j,O,W){O===void 0&&(O=new Uint8Array(8)),W===void 0&&(W=0);var K=new DataView(O.buffer,O.byteOffset,O.byteLength);return K.setFloat64(W,j),O}l.writeFloat64BE=C;function x(j,O,W){O===void 0&&(O=new Uint8Array(8)),W===void 0&&(W=0);var K=new DataView(O.buffer,O.byteOffset,O.byteLength);return K.setFloat64(W,j,!0),O}l.writeFloat64LE=x},4153:function(v,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function u(p,r,n){return~(p-1)&r|p-1&n}l.select=u;function e(p,r){return(p|0)-(r|0)-1>>>31&1}l.lessOrEqual=e;function i(p,r){if(p.length!==r.length)return 0;for(var n=0,o=0;o<p.length;o++)n|=p[o]^r[o];return 1&n-1>>>8}l.compare=i;function h(p,r){return p.length===0||r.length===0?!1:i(p,r)!==0}l.equal=h},79984:function(v,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function u(e){return typeof e.saveState<"u"&&typeof e.restoreState<"u"&&typeof e.cleanSavedState<"u"}l.isSerializableHash=u},52978:function(v,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function u(n){var o=n+48;return o+=9-n>>>8&-48+65-10,String.fromCharCode(o)}function e(n){var o=n+48;return o+=9-n>>>8&-48+97-10,String.fromCharCode(o)}var i=256;function h(n){var o=i;return o+=(47-n&n-58)>>8&-i+n-48,o+=(64-n&n-71)>>8&-i+n-65+10,o+=(96-n&n-103)>>8&-i+n-97+10,o}function p(n,o){o===void 0&&(o=!1);for(var t=o?e:u,s="",a=0;a<n.length;a++)s+=t(n[a]>>>4),s+=t(n[a]&15);return s}l.encode=p;function r(n){if(n.length===0)return new Uint8Array(0);if(n.length%2!==0)throw new Error("hex: input string must be divisible by two");for(var o=new Uint8Array(n.length/2),t=0,s=0;s<n.length;s+=2){var a=h(n.charCodeAt(s)),c=h(n.charCodeAt(s+1));o[s/2]=a<<4|c,t|=a&i,t|=c&i}if(t!==0)throw new Error("hex: incorrect characters for decoding");return o}l.decode=r},25629:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=u(79984),i=u(4153),h=u(17309),p=function(){function n(o,t){this._finished=!1,this._inner=new o,this._outer=new o,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var s=new Uint8Array(this.blockSize);t.length>this.blockSize?this._inner.update(t).finish(s).clean():s.set(t);for(var a=0;a<s.length;a++)s[a]^=54;this._inner.update(s);for(var a=0;a<s.length;a++)s[a]^=106;this._outer.update(s),e.isSerializableHash(this._inner)&&e.isSerializableHash(this._outer)&&(this._innerKeyedState=this._inner.saveState(),this._outerKeyedState=this._outer.saveState()),h.wipe(s)}return n.prototype.reset=function(){if(!e.isSerializableHash(this._inner)||!e.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},n.prototype.clean=function(){e.isSerializableHash(this._inner)&&this._inner.cleanSavedState(this._innerKeyedState),e.isSerializableHash(this._outer)&&this._outer.cleanSavedState(this._outerKeyedState),this._inner.clean(),this._outer.clean()},n.prototype.update=function(o){return this._inner.update(o),this},n.prototype.finish=function(o){return this._finished?(this._outer.finish(o),this):(this._inner.finish(o),this._outer.update(o.subarray(0,this.digestLength)).finish(o),this._finished=!0,this)},n.prototype.digest=function(){var o=new Uint8Array(this.digestLength);return this.finish(o),o},n.prototype.saveState=function(){if(!e.isSerializableHash(this._inner))throw new Error("hmac: can't saveState() because hash doesn't implement it");return this._inner.saveState()},n.prototype.restoreState=function(o){if(!e.isSerializableHash(this._inner)||!e.isSerializableHash(this._outer))throw new Error("hmac: can't restoreState() because hash doesn't implement it");return this._inner.restoreState(o),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},n.prototype.cleanSavedState=function(o){if(!e.isSerializableHash(this._inner))throw new Error("hmac: can't cleanSavedState() because hash doesn't implement it");this._inner.cleanSavedState(o)},n}();l.HMAC=p;function r(n,o,t){var s=new p(n,o);s.update(t);var a=s.digest();return s.clean(),a}l.hmac=r,l.equal=i.equal},97117:function(v,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function u(n,o){var t=n>>>16&65535,s=n&65535,a=o>>>16&65535,c=o&65535;return s*c+(t*c+s*a<<16>>>0)|0}l.mul=Math.imul||u;function e(n,o){return n+o|0}l.add=e;function i(n,o){return n-o|0}l.sub=i;function h(n,o){return n<<o|n>>>32-o}l.rotl=h;function p(n,o){return n<<32-o|n>>>o}l.rotr=p;function r(n){return typeof n=="number"&&isFinite(n)&&Math.floor(n)===n}l.isInteger=Number.isInteger||r,l.MAX_SAFE_INTEGER=9007199254740991,l.isSafeInteger=function(n){return l.isInteger(n)&&n>=-l.MAX_SAFE_INTEGER&&n<=l.MAX_SAFE_INTEGER}},26545:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=u(25629),i=u(98099),h=u(17309);function p(r,n,o,t,s){for(var a=new e.HMAC(r,n),c=a.digestLength,d=new Uint8Array(4),f=new Uint8Array(c),y=new Uint8Array(c),g=new Uint8Array(s),T=a.update(o).saveState(),R=0;R*c<s;R++){i.writeUint32BE(R+1,d),a.restoreState(T).update(d).finish(y);for(var B=0;B<c;B++)f[B]=y[B];for(var B=2;B<=t;B++){a.reset().update(y).finish(y);for(var D=0;D<c;D++)f[D]^=y[D]}for(var B=0;B<c&&R*c+B<s;B++)g[R*c+B]=f[B]}return h.wipe(f),h.wipe(y),h.wipe(d),a.cleanSavedState(T),a.clean(),g}l.deriveKey=p},73294:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=u(98099),i=u(17309);l.DIGEST_LENGTH=32,l.BLOCK_SIZE=64;var h=function(){function o(){this.digestLength=l.DIGEST_LENGTH,this.blockSize=l.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 o.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},o.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},o.prototype.clean=function(){i.wipe(this._buffer),i.wipe(this._temp),this.reset()},o.prototype.update=function(t,s){if(s===void 0&&(s=t.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var a=0;if(this._bytesHashed+=s,this._bufferLength>0){for(;this._bufferLength<this.blockSize&&s>0;)this._buffer[this._bufferLength++]=t[a++],s--;this._bufferLength===this.blockSize&&(r(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(s>=this.blockSize&&(a=r(this._temp,this._state,t,a,s),s%=this.blockSize);s>0;)this._buffer[this._bufferLength++]=t[a++],s--;return this},o.prototype.finish=function(t){if(!this._finished){var s=this._bytesHashed,a=this._bufferLength,c=s/536870912|0,d=s<<3,f=s%64<56?64:128;this._buffer[a]=128;for(var y=a+1;y<f-8;y++)this._buffer[y]=0;e.writeUint32BE(c,this._buffer,f-8),e.writeUint32BE(d,this._buffer,f-4),r(this._temp,this._state,this._buffer,0,f),this._finished=!0}for(var y=0;y<this.digestLength/4;y++)e.writeUint32BE(this._state[y],t,y*4);return this},o.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},o.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}},o.prototype.restoreState=function(t){return this._state.set(t.state),this._bufferLength=t.bufferLength,t.buffer&&this._buffer.set(t.buffer),this._bytesHashed=t.bytesHashed,this._finished=!1,this},o.prototype.cleanSavedState=function(t){i.wipe(t.state),t.buffer&&i.wipe(t.buffer),t.bufferLength=0,t.bytesHashed=0},o}();l.SHA256=h;var p=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 r(o,t,s,a,c){for(;c>=64;){for(var d=t[0],f=t[1],y=t[2],g=t[3],T=t[4],R=t[5],B=t[6],D=t[7],I=0;I<16;I++){var k=a+I*4;o[I]=e.readUint32BE(s,k)}for(var I=16;I<64;I++){var A=o[I-2],M=(A>>>17|A<<32-17)^(A>>>19|A<<32-19)^A>>>10;A=o[I-15];var _=(A>>>7|A<<32-7)^(A>>>18|A<<32-18)^A>>>3;o[I]=(M+o[I-7]|0)+(_+o[I-16]|0)}for(var I=0;I<64;I++){var M=(((T>>>6|T<<26)^(T>>>11|T<<21)^(T>>>25|T<<7))+(T&R^~T&B)|0)+(D+(p[I]+o[I]|0)|0)|0,_=((d>>>2|d<<32-2)^(d>>>13|d<<32-13)^(d>>>22|d<<32-22))+(d&f^d&y^f&y)|0;D=B,B=R,R=T,T=g+M|0,g=y,y=f,f=d,d=M+_|0}t[0]+=d,t[1]+=f,t[2]+=y,t[3]+=g,t[4]+=T,t[5]+=R,t[6]+=B,t[7]+=D,a+=64,c-=64}return a}function n(o){var t=new h;t.update(o);var s=t.digest();return t.clean(),s}l.hash=n},95666:function(v,l,u){"use strict";var e=this&&this.__extends||function(){var r=function(n,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,s){t.__proto__=s}||function(t,s){for(var a in s)s.hasOwnProperty(a)&&(t[a]=s[a])},r(n,o)};return function(n,o){r(n,o);function t(){this.constructor=n}n.prototype=o===null?Object.create(o):(t.prototype=o.prototype,new t)}}();Object.defineProperty(l,"__esModule",{value:!0});var i=u(93350);l.DIGEST_LENGTH=48,l.BLOCK_SIZE=128;var h=function(r){e(n,r);function n(){var o=r!==null&&r.apply(this,arguments)||this;return o.digestLength=l.DIGEST_LENGTH,o}return n.prototype._initState=function(){this._stateHi[0]=3418070365,this._stateHi[1]=1654270250,this._stateHi[2]=2438529370,this._stateHi[3]=355462360,this._stateHi[4]=1731405415,this._stateHi[5]=2394180231,this._stateHi[6]=3675008525,this._stateHi[7]=1203062813,this._stateLo[0]=3238371032,this._stateLo[1]=914150663,this._stateLo[2]=812702999,this._stateLo[3]=4144912697,this._stateLo[4]=4290775857,this._stateLo[5]=1750603025,this._stateLo[6]=1694076839,this._stateLo[7]=3204075428},n}(i.SHA512);l.SHA384=h;function p(r){var n=new h;n.update(r);var o=n.digest();return n.clean(),o}l.hash=p},93350:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=u(98099),i=u(17309);l.DIGEST_LENGTH=64,l.BLOCK_SIZE=128;var h=function(){function o(){this.digestLength=l.DIGEST_LENGTH,this.blockSize=l.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return o.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},o.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},o.prototype.clean=function(){i.wipe(this._buffer),i.wipe(this._tempHi),i.wipe(this._tempLo),this.reset()},o.prototype.update=function(t,s){if(s===void 0&&(s=t.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var a=0;if(this._bytesHashed+=s,this._bufferLength>0){for(;this._bufferLength<l.BLOCK_SIZE&&s>0;)this._buffer[this._bufferLength++]=t[a++],s--;this._bufferLength===this.blockSize&&(r(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(s>=this.blockSize&&(a=r(this._tempHi,this._tempLo,this._stateHi,this._stateLo,t,a,s),s%=this.blockSize);s>0;)this._buffer[this._bufferLength++]=t[a++],s--;return this},o.prototype.finish=function(t){if(!this._finished){var s=this._bytesHashed,a=this._bufferLength,c=s/536870912|0,d=s<<3,f=s%128<112?128:256;this._buffer[a]=128;for(var y=a+1;y<f-8;y++)this._buffer[y]=0;e.writeUint32BE(c,this._buffer,f-8),e.writeUint32BE(d,this._buffer,f-4),r(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,f),this._finished=!0}for(var y=0;y<this.digestLength/8;y++)e.writeUint32BE(this._stateHi[y],t,y*8),e.writeUint32BE(this._stateLo[y],t,y*8+4);return this},o.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},o.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{stateHi:new Int32Array(this._stateHi),stateLo:new Int32Array(this._stateLo),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},o.prototype.restoreState=function(t){return this._stateHi.set(t.stateHi),this._stateLo.set(t.stateLo),this._bufferLength=t.bufferLength,t.buffer&&this._buffer.set(t.buffer),this._bytesHashed=t.bytesHashed,this._finished=!1,this},o.prototype.cleanSavedState=function(t){i.wipe(t.stateHi),i.wipe(t.stateLo),t.buffer&&i.wipe(t.buffer),t.bufferLength=0,t.bytesHashed=0},o}();l.SHA512=h;var p=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function r(o,t,s,a,c,d,f){for(var y=s[0],g=s[1],T=s[2],R=s[3],B=s[4],D=s[5],I=s[6],k=s[7],A=a[0],M=a[1],_=a[2],z=a[3],U=a[4],b=a[5],w=a[6],F=a[7],C,x,j,O,W,K,m,G;f>=128;){for(var N=0;N<16;N++){var H=8*N+d;o[N]=e.readUint32BE(c,H),t[N]=e.readUint32BE(c,H+4)}for(var N=0;N<80;N++){var V=y,Y=g,$=T,Q=R,S=B,L=D,E=I,P=k,Z=A,q=M,ee=_,J=z,te=U,oe=b,re=w,X=F;if(C=k,x=F,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=(B>>>14|U<<32-14)^(B>>>18|U<<32-18)^(U>>>41-32|B<<32-(41-32)),x=(U>>>14|B<<32-14)^(U>>>18|B<<32-18)^(B>>>41-32|U<<32-(41-32)),W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,C=B&D^~B&I,x=U&b^~U&w,W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,C=p[N*2],x=p[N*2+1],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,C=o[N%16],x=t[N%16],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,j=m&65535|G<<16,O=W&65535|K<<16,C=j,x=O,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=(y>>>28|A<<32-28)^(A>>>34-32|y<<32-(34-32))^(A>>>39-32|y<<32-(39-32)),x=(A>>>28|y<<32-28)^(y>>>34-32|A<<32-(34-32))^(y>>>39-32|A<<32-(39-32)),W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,C=y&g^y&T^g&T,x=A&M^A&_^M&_,W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,P=m&65535|G<<16,X=W&65535|K<<16,C=Q,x=J,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=j,x=O,W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,Q=m&65535|G<<16,J=W&65535|K<<16,g=V,T=Y,R=$,B=Q,D=S,I=L,k=E,y=P,M=Z,_=q,z=ee,U=J,b=te,w=oe,F=re,A=X,N%16===15)for(var H=0;H<16;H++)C=o[H],x=t[H],W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=o[(H+9)%16],x=t[(H+9)%16],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,j=o[(H+1)%16],O=t[(H+1)%16],C=(j>>>1|O<<32-1)^(j>>>8|O<<32-8)^j>>>7,x=(O>>>1|j<<32-1)^(O>>>8|j<<32-8)^(O>>>7|j<<32-7),W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,j=o[(H+14)%16],O=t[(H+14)%16],C=(j>>>19|O<<32-19)^(O>>>61-32|j<<32-(61-32))^j>>>6,x=(O>>>19|j<<32-19)^(j>>>61-32|O<<32-(61-32))^(O>>>6|j<<32-6),W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,o[H]=m&65535|G<<16,t[H]=W&65535|K<<16}C=y,x=A,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[0],x=a[0],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[0]=y=m&65535|G<<16,a[0]=A=W&65535|K<<16,C=g,x=M,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[1],x=a[1],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[1]=g=m&65535|G<<16,a[1]=M=W&65535|K<<16,C=T,x=_,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[2],x=a[2],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[2]=T=m&65535|G<<16,a[2]=_=W&65535|K<<16,C=R,x=z,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[3],x=a[3],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[3]=R=m&65535|G<<16,a[3]=z=W&65535|K<<16,C=B,x=U,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[4],x=a[4],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[4]=B=m&65535|G<<16,a[4]=U=W&65535|K<<16,C=D,x=b,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[5],x=a[5],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[5]=D=m&65535|G<<16,a[5]=b=W&65535|K<<16,C=I,x=w,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[6],x=a[6],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[6]=I=m&65535|G<<16,a[6]=w=W&65535|K<<16,C=k,x=F,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[7],x=a[7],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[7]=k=m&65535|G<<16,a[7]=F=W&65535|K<<16,d+=128,f-=128}return d}function n(o){var t=new h;t.update(o);var s=t.digest();return t.clean(),s}l.hash=n},56249:function(v,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var u="utf8: invalid string",e="utf8: invalid source encoding";function i(r){for(var n=new Uint8Array(h(r)),o=0,t=0;t<r.length;t++){var s=r.charCodeAt(t);s<128?n[o++]=s:s<2048?(n[o++]=192|s>>6,n[o++]=128|s&63):s<55296?(n[o++]=224|s>>12,n[o++]=128|s>>6&63,n[o++]=128|s&63):(t++,s=(s&1023)<<10,s|=r.charCodeAt(t)&1023,s+=65536,n[o++]=240|s>>18,n[o++]=128|s>>12&63,n[o++]=128|s>>6&63,n[o++]=128|s&63)}return n}l.encode=i;function h(r){for(var n=0,o=0;o<r.length;o++){var t=r.charCodeAt(o);if(t<128)n+=1;else if(t<2048)n+=2;else if(t<55296)n+=3;else if(t<=57343){if(o>=r.length-1)throw new Error(u);o++,n+=4}else throw new Error(u)}return n}l.encodedLength=h;function p(r){for(var n=[],o=0;o<r.length;o++){var t=r[o];if(t&128){var s=void 0;if(t<224){if(o>=r.length)throw new Error(e);var a=r[++o];if((a&192)!==128)throw new Error(e);t=(t&31)<<6|a&63,s=128}else if(t<240){if(o>=r.length-1)throw new Error(e);var a=r[++o],c=r[++o];if((a&192)!==128||(c&192)!==128)throw new Error(e);t=(t&15)<<12|(a&63)<<6|c&63,s=2048}else if(t<248){if(o>=r.length-2)throw new Error(e);var a=r[++o],c=r[++o],d=r[++o];if((a&192)!==128||(c&192)!==128||(d&192)!==128)throw new Error(e);t=(t&15)<<18|(a&63)<<12|(c&63)<<6|d&63,s=65536}else throw new Error(e);if(t<s||t>=55296&&t<=57343)throw new Error(e);if(t>=65536){if(t>1114111)throw new Error(e);t-=65536,n.push(String.fromCharCode(55296|t>>10)),t=56320|t&1023}}n.push(String.fromCharCode(t))}return n.join("")}l.decode=p},17309:function(v,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function u(e){for(var i=0;i<e.length;i++)e[i]=0;return e}l.wipe=u},99469:function(v,l,u){var e=u(33019),i=e,h=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof h<"u"&&h||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();i.exportSymbol("proto.google.protobuf.BoolValue",null,h),i.exportSymbol("proto.google.protobuf.BytesValue",null,h),i.exportSymbol("proto.google.protobuf.DoubleValue",null,h),i.exportSymbol("proto.google.protobuf.FloatValue",null,h),i.exportSymbol("proto.google.protobuf.Int32Value",null,h),i.exportSymbol("proto.google.protobuf.Int64Value",null,h),i.exportSymbol("proto.google.protobuf.StringValue",null,h),i.exportSymbol("proto.google.protobuf.UInt32Value",null,h),i.exportSymbol("proto.google.protobuf.UInt64Value",null,h),proto.google.protobuf.DoubleValue=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.DoubleValue,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.DoubleValue.displayName="proto.google.protobuf.DoubleValue"),proto.google.protobuf.FloatValue=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.FloatValue,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.FloatValue.displayName="proto.google.protobuf.FloatValue"),proto.google.protobuf.Int64Value=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.Int64Value,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.Int64Value.displayName="proto.google.protobuf.Int64Value"),proto.google.protobuf.UInt64Value=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.UInt64Value,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.UInt64Value.displayName="proto.google.protobuf.UInt64Value"),proto.google.protobuf.Int32Value=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.Int32Value,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.Int32Value.displayName="proto.google.protobuf.Int32Value"),proto.google.protobuf.UInt32Value=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.UInt32Value,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.UInt32Value.displayName="proto.google.protobuf.UInt32Value"),proto.google.protobuf.BoolValue=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.BoolValue,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.BoolValue.displayName="proto.google.protobuf.BoolValue"),proto.google.protobuf.StringValue=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.StringValue,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.StringValue.displayName="proto.google.protobuf.StringValue"),proto.google.protobuf.BytesValue=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.BytesValue,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.BytesValue.displayName="proto.google.protobuf.BytesValue"),e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DoubleValue.prototype.toObject=function(p){return proto.google.protobuf.DoubleValue.toObject(p,this)},proto.google.protobuf.DoubleValue.toObject=function(p,r){var n,o={value:e.Message.getFloatingPointFieldWithDefault(r,1,0)};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.DoubleValue.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.DoubleValue;return proto.google.protobuf.DoubleValue.deserializeBinaryFromReader(n,r)},proto.google.protobuf.DoubleValue.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readDouble();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.DoubleValue.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.DoubleValue.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.DoubleValue.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n!==0&&r.writeDouble(1,n)},proto.google.protobuf.DoubleValue.prototype.getValue=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.google.protobuf.DoubleValue.prototype.setValue=function(p){return e.Message.setProto3FloatField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FloatValue.prototype.toObject=function(p){return proto.google.protobuf.FloatValue.toObject(p,this)},proto.google.protobuf.FloatValue.toObject=function(p,r){var n,o={value:e.Message.getFloatingPointFieldWithDefault(r,1,0)};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.FloatValue.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.FloatValue;return proto.google.protobuf.FloatValue.deserializeBinaryFromReader(n,r)},proto.google.protobuf.FloatValue.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readFloat();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.FloatValue.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.FloatValue.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.FloatValue.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n!==0&&r.writeFloat(1,n)},proto.google.protobuf.FloatValue.prototype.getValue=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.google.protobuf.FloatValue.prototype.setValue=function(p){return e.Message.setProto3FloatField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Int64Value.prototype.toObject=function(p){return proto.google.protobuf.Int64Value.toObject(p,this)},proto.google.protobuf.Int64Value.toObject=function(p,r){var n,o={value:e.Message.getFieldWithDefault(r,1,0)};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.Int64Value.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.Int64Value;return proto.google.protobuf.Int64Value.deserializeBinaryFromReader(n,r)},proto.google.protobuf.Int64Value.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readInt64();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.Int64Value.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.Int64Value.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.Int64Value.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n!==0&&r.writeInt64(1,n)},proto.google.protobuf.Int64Value.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Int64Value.prototype.setValue=function(p){return e.Message.setProto3IntField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UInt64Value.prototype.toObject=function(p){return proto.google.protobuf.UInt64Value.toObject(p,this)},proto.google.protobuf.UInt64Value.toObject=function(p,r){var n,o={value:e.Message.getFieldWithDefault(r,1,0)};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.UInt64Value.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.UInt64Value;return proto.google.protobuf.UInt64Value.deserializeBinaryFromReader(n,r)},proto.google.protobuf.UInt64Value.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readUint64();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.UInt64Value.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.UInt64Value.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.UInt64Value.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n!==0&&r.writeUint64(1,n)},proto.google.protobuf.UInt64Value.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.UInt64Value.prototype.setValue=function(p){return e.Message.setProto3IntField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Int32Value.prototype.toObject=function(p){return proto.google.protobuf.Int32Value.toObject(p,this)},proto.google.protobuf.Int32Value.toObject=function(p,r){var n,o={value:e.Message.getFieldWithDefault(r,1,0)};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.Int32Value.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.Int32Value;return proto.google.protobuf.Int32Value.deserializeBinaryFromReader(n,r)},proto.google.protobuf.Int32Value.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readInt32();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.Int32Value.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.Int32Value.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.Int32Value.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n!==0&&r.writeInt32(1,n)},proto.google.protobuf.Int32Value.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Int32Value.prototype.setValue=function(p){return e.Message.setProto3IntField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UInt32Value.prototype.toObject=function(p){return proto.google.protobuf.UInt32Value.toObject(p,this)},proto.google.protobuf.UInt32Value.toObject=function(p,r){var n,o={value:e.Message.getFieldWithDefault(r,1,0)};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.UInt32Value.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.UInt32Value;return proto.google.protobuf.UInt32Value.deserializeBinaryFromReader(n,r)},proto.google.protobuf.UInt32Value.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readUint32();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.UInt32Value.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.UInt32Value.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.UInt32Value.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n!==0&&r.writeUint32(1,n)},proto.google.protobuf.UInt32Value.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.UInt32Value.prototype.setValue=function(p){return e.Message.setProto3IntField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.BoolValue.prototype.toObject=function(p){return proto.google.protobuf.BoolValue.toObject(p,this)},proto.google.protobuf.BoolValue.toObject=function(p,r){var n,o={value:e.Message.getBooleanFieldWithDefault(r,1,!1)};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.BoolValue.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.BoolValue;return proto.google.protobuf.BoolValue.deserializeBinaryFromReader(n,r)},proto.google.protobuf.BoolValue.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readBool();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.BoolValue.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.BoolValue.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.BoolValue.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n&&r.writeBool(1,n)},proto.google.protobuf.BoolValue.prototype.getValue=function(){return e.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.BoolValue.prototype.setValue=function(p){return e.Message.setProto3BooleanField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.StringValue.prototype.toObject=function(p){return proto.google.protobuf.StringValue.toObject(p,this)},proto.google.protobuf.StringValue.toObject=function(p,r){var n,o={value:e.Message.getFieldWithDefault(r,1,"")};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.StringValue.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.StringValue;return proto.google.protobuf.StringValue.deserializeBinaryFromReader(n,r)},proto.google.protobuf.StringValue.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readString();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.StringValue.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.StringValue.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.StringValue.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n.length>0&&r.writeString(1,n)},proto.google.protobuf.StringValue.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.StringValue.prototype.setValue=function(p){return e.Message.setProto3StringField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.BytesValue.prototype.toObject=function(p){return proto.google.protobuf.BytesValue.toObject(p,this)},proto.google.protobuf.BytesValue.toObject=function(p,r){var n,o={value:r.getValue_asB64()};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.BytesValue.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.BytesValue;return proto.google.protobuf.BytesValue.deserializeBinaryFromReader(n,r)},proto.google.protobuf.BytesValue.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readBytes();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.BytesValue.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.BytesValue.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.BytesValue.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue_asU8(),n.length>0&&r.writeBytes(1,n)},proto.google.protobuf.BytesValue.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.BytesValue.prototype.getValue_asB64=function(){return e.Message.bytesAsB64(this.getValue())},proto.google.protobuf.BytesValue.prototype.getValue_asU8=function(){return e.Message.bytesAsU8(this.getValue())},proto.google.protobuf.BytesValue.prototype.setValue=function(p){return e.Message.setProto3BytesField(this,1,p)},i.object.extend(l,proto.google.protobuf)},35620:function(v,l,u){"use strict";u.d(l,{US:function(){return r}});var e=u(79911);const i=e.base16,h=e.base32,p=e.base32hex,r=e.base64,n=e.base64url,o=e.codec;var t=null}}]);
22
+ `}),p.encodeASCII(f))),a.forEach(function(y){c(y)})},t.onclose=function(f){o.debug&&h.debug("websocketRequest.onclose",f),o.onEnd()},t.onerror=function(f){o.debug&&h.debug("websocketRequest.onerror",f)},t.onmessage=function(f){o.onChunk(new Uint8Array(f.data))}},cancel:function(){o.debug&&h.debug("websocket.abort"),t.close()}}}(n)}}},function(l,u,e){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var i=e(2);u.invoke=function(h,p){if(h.requestStream)throw new Error(".invoke cannot be used with client-streaming methods. Use .client instead.");var r=i.client(h,{host:p.host,transport:p.transport,debug:p.debug});return p.onHeaders&&r.onHeaders(p.onHeaders),p.onMessage&&r.onMessage(p.onMessage),p.onEnd&&r.onEnd(p.onEnd),r.start(p.metadata),r.send(p.request),r.finishSend(),{close:function(){r.close()}}}},function(l,u,e){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.frameRequest=function(i){var h=i.serializeBinary(),p=new ArrayBuffer(h.byteLength+5);return new DataView(p,1,4).setUint32(0,h.length,!1),new Uint8Array(p,5).set(h),new Uint8Array(p)}},function(l,u,e){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var i=e(0),h=e(2);u.unary=function(p,r){if(p.responseStream)throw new Error(".unary cannot be used with server-streaming methods. Use .invoke or .client instead.");if(p.requestStream)throw new Error(".unary cannot be used with client-streaming methods. Use .client instead.");var n=null,o=null,t=h.client(p,{host:r.host,transport:r.transport,debug:r.debug});return t.onHeaders(function(s){n=s}),t.onMessage(function(s){o=s}),t.onEnd(function(s,a,c){r.onEnd({status:s,statusMessage:a,headers:n||new i.Metadata,message:o,trailers:c})}),t.start(r.metadata),t.send(r.request),t.finishSend(),{close:function(){t.close()}}}}])})},69323:function(v,l){"use strict";var u=this&&this.__extends||function(){var a=function(c,d){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,y){f.__proto__=y}||function(f,y){for(var g in y)y.hasOwnProperty(g)&&(f[g]=y[g])},a(c,d)};return function(c,d){a(c,d);function f(){this.constructor=c}c.prototype=d===null?Object.create(d):(f.prototype=d.prototype,new f)}}();Object.defineProperty(l,"__esModule",{value:!0});var e=256,i=function(){function a(c){c===void 0&&(c="="),this._paddingCharacter=c}return a.prototype.encodedLength=function(c){return this._paddingCharacter?(c+2)/3*4|0:(c*8+5)/6|0},a.prototype.encode=function(c){for(var d="",f=0;f<c.length-2;f+=3){var y=c[f]<<16|c[f+1]<<8|c[f+2];d+=this._encodeByte(y>>>3*6&63),d+=this._encodeByte(y>>>2*6&63),d+=this._encodeByte(y>>>1*6&63),d+=this._encodeByte(y>>>0*6&63)}var g=c.length-f;if(g>0){var y=c[f]<<16|(g===2?c[f+1]<<8:0);d+=this._encodeByte(y>>>3*6&63),d+=this._encodeByte(y>>>2*6&63),g===2?d+=this._encodeByte(y>>>1*6&63):d+=this._paddingCharacter||"",d+=this._paddingCharacter||""}return d},a.prototype.maxDecodedLength=function(c){return this._paddingCharacter?c/4*3|0:(c*6+7)/8|0},a.prototype.decodedLength=function(c){return this.maxDecodedLength(c.length-this._getPaddingLength(c))},a.prototype.decode=function(c){if(c.length===0)return new Uint8Array(0);for(var d=this._getPaddingLength(c),f=c.length-d,y=new Uint8Array(this.maxDecodedLength(f)),g=0,T=0,R=0,B=0,D=0,I=0,k=0;T<f-4;T+=4)B=this._decodeChar(c.charCodeAt(T+0)),D=this._decodeChar(c.charCodeAt(T+1)),I=this._decodeChar(c.charCodeAt(T+2)),k=this._decodeChar(c.charCodeAt(T+3)),y[g++]=B<<2|D>>>4,y[g++]=D<<4|I>>>2,y[g++]=I<<6|k,R|=B&e,R|=D&e,R|=I&e,R|=k&e;if(T<f-1&&(B=this._decodeChar(c.charCodeAt(T)),D=this._decodeChar(c.charCodeAt(T+1)),y[g++]=B<<2|D>>>4,R|=B&e,R|=D&e),T<f-2&&(I=this._decodeChar(c.charCodeAt(T+2)),y[g++]=D<<4|I>>>2,R|=I&e),T<f-3&&(k=this._decodeChar(c.charCodeAt(T+3)),y[g++]=I<<6|k,R|=k&e),R!==0)throw new Error("Base64Coder: incorrect characters for decoding");return y},a.prototype._encodeByte=function(c){var d=c;return d+=65,d+=25-c>>>8&0-65-26+97,d+=51-c>>>8&26-97-52+48,d+=61-c>>>8&52-48-62+43,d+=62-c>>>8&62-43-63+47,String.fromCharCode(d)},a.prototype._decodeChar=function(c){var d=e;return d+=(42-c&c-44)>>>8&-e+c-43+62,d+=(46-c&c-48)>>>8&-e+c-47+63,d+=(47-c&c-58)>>>8&-e+c-48+52,d+=(64-c&c-91)>>>8&-e+c-65+0,d+=(96-c&c-123)>>>8&-e+c-97+26,d},a.prototype._getPaddingLength=function(c){var d=0;if(this._paddingCharacter){for(var f=c.length-1;f>=0&&c[f]===this._paddingCharacter;f--)d++;if(c.length<4||d>2)throw new Error("Base64Coder: incorrect padding")}return d},a}();l.Coder=i;var h=new i;function p(a){return h.encode(a)}l.encode=p;function r(a){return h.decode(a)}l.decode=r;var n=function(a){u(c,a);function c(){return a!==null&&a.apply(this,arguments)||this}return c.prototype._encodeByte=function(d){var f=d;return f+=65,f+=25-d>>>8&0-65-26+97,f+=51-d>>>8&26-97-52+48,f+=61-d>>>8&52-48-62+45,f+=62-d>>>8&62-45-63+95,String.fromCharCode(f)},c.prototype._decodeChar=function(d){var f=e;return f+=(44-d&d-46)>>>8&-e+d-45+62,f+=(94-d&d-96)>>>8&-e+d-95+63,f+=(47-d&d-58)>>>8&-e+d-48+52,f+=(64-d&d-91)>>>8&-e+d-65+0,f+=(96-d&d-123)>>>8&-e+d-97+26,f},c}(i);l.URLSafeCoder=n;var o=new n;function t(a){return o.encode(a)}l.encodeURLSafe=t;function s(a){return o.decode(a)}l.decodeURLSafe=s,l.encodedLength=function(a){return h.encodedLength(a)},l.maxDecodedLength=function(a){return h.maxDecodedLength(a)},l.decodedLength=function(a){return h.decodedLength(a)}},98099:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=u(97117);function i(j,O){return O===void 0&&(O=0),(j[O+0]<<8|j[O+1])<<16>>16}l.readInt16BE=i;function h(j,O){return O===void 0&&(O=0),(j[O+0]<<8|j[O+1])>>>0}l.readUint16BE=h;function p(j,O){return O===void 0&&(O=0),(j[O+1]<<8|j[O])<<16>>16}l.readInt16LE=p;function r(j,O){return O===void 0&&(O=0),(j[O+1]<<8|j[O])>>>0}l.readUint16LE=r;function n(j,O,W){return O===void 0&&(O=new Uint8Array(2)),W===void 0&&(W=0),O[W+0]=j>>>8,O[W+1]=j>>>0,O}l.writeUint16BE=n,l.writeInt16BE=n;function o(j,O,W){return O===void 0&&(O=new Uint8Array(2)),W===void 0&&(W=0),O[W+0]=j>>>0,O[W+1]=j>>>8,O}l.writeUint16LE=o,l.writeInt16LE=o;function t(j,O){return O===void 0&&(O=0),j[O]<<24|j[O+1]<<16|j[O+2]<<8|j[O+3]}l.readInt32BE=t;function s(j,O){return O===void 0&&(O=0),(j[O]<<24|j[O+1]<<16|j[O+2]<<8|j[O+3])>>>0}l.readUint32BE=s;function a(j,O){return O===void 0&&(O=0),j[O+3]<<24|j[O+2]<<16|j[O+1]<<8|j[O]}l.readInt32LE=a;function c(j,O){return O===void 0&&(O=0),(j[O+3]<<24|j[O+2]<<16|j[O+1]<<8|j[O])>>>0}l.readUint32LE=c;function d(j,O,W){return O===void 0&&(O=new Uint8Array(4)),W===void 0&&(W=0),O[W+0]=j>>>24,O[W+1]=j>>>16,O[W+2]=j>>>8,O[W+3]=j>>>0,O}l.writeUint32BE=d,l.writeInt32BE=d;function f(j,O,W){return O===void 0&&(O=new Uint8Array(4)),W===void 0&&(W=0),O[W+0]=j>>>0,O[W+1]=j>>>8,O[W+2]=j>>>16,O[W+3]=j>>>24,O}l.writeUint32LE=f,l.writeInt32LE=f;function y(j,O){O===void 0&&(O=0);var W=t(j,O),K=t(j,O+4);return W*4294967296+K-(K>>31)*4294967296}l.readInt64BE=y;function g(j,O){O===void 0&&(O=0);var W=s(j,O),K=s(j,O+4);return W*4294967296+K}l.readUint64BE=g;function T(j,O){O===void 0&&(O=0);var W=a(j,O),K=a(j,O+4);return K*4294967296+W-(W>>31)*4294967296}l.readInt64LE=T;function R(j,O){O===void 0&&(O=0);var W=c(j,O),K=c(j,O+4);return K*4294967296+W}l.readUint64LE=R;function B(j,O,W){return O===void 0&&(O=new Uint8Array(8)),W===void 0&&(W=0),d(j/4294967296>>>0,O,W),d(j>>>0,O,W+4),O}l.writeUint64BE=B,l.writeInt64BE=B;function D(j,O,W){return O===void 0&&(O=new Uint8Array(8)),W===void 0&&(W=0),f(j>>>0,O,W),f(j/4294967296>>>0,O,W+4),O}l.writeUint64LE=D,l.writeInt64LE=D;function I(j,O,W){if(W===void 0&&(W=0),j%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(j/8>O.length-W)throw new Error("readUintBE: array is too short for the given bitLength");for(var K=0,m=1,G=j/8+W-1;G>=W;G--)K+=O[G]*m,m*=256;return K}l.readUintBE=I;function k(j,O,W){if(W===void 0&&(W=0),j%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(j/8>O.length-W)throw new Error("readUintLE: array is too short for the given bitLength");for(var K=0,m=1,G=W;G<W+j/8;G++)K+=O[G]*m,m*=256;return K}l.readUintLE=k;function A(j,O,W,K){if(W===void 0&&(W=new Uint8Array(j/8)),K===void 0&&(K=0),j%8!==0)throw new Error("writeUintBE supports only bitLengths divisible by 8");if(!e.isSafeInteger(O))throw new Error("writeUintBE value must be an integer");for(var m=1,G=j/8+K-1;G>=K;G--)W[G]=O/m&255,m*=256;return W}l.writeUintBE=A;function M(j,O,W,K){if(W===void 0&&(W=new Uint8Array(j/8)),K===void 0&&(K=0),j%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!e.isSafeInteger(O))throw new Error("writeUintLE value must be an integer");for(var m=1,G=K;G<K+j/8;G++)W[G]=O/m&255,m*=256;return W}l.writeUintLE=M;function _(j,O){O===void 0&&(O=0);var W=new DataView(j.buffer,j.byteOffset,j.byteLength);return W.getFloat32(O)}l.readFloat32BE=_;function z(j,O){O===void 0&&(O=0);var W=new DataView(j.buffer,j.byteOffset,j.byteLength);return W.getFloat32(O,!0)}l.readFloat32LE=z;function U(j,O){O===void 0&&(O=0);var W=new DataView(j.buffer,j.byteOffset,j.byteLength);return W.getFloat64(O)}l.readFloat64BE=U;function b(j,O){O===void 0&&(O=0);var W=new DataView(j.buffer,j.byteOffset,j.byteLength);return W.getFloat64(O,!0)}l.readFloat64LE=b;function w(j,O,W){O===void 0&&(O=new Uint8Array(4)),W===void 0&&(W=0);var K=new DataView(O.buffer,O.byteOffset,O.byteLength);return K.setFloat32(W,j),O}l.writeFloat32BE=w;function F(j,O,W){O===void 0&&(O=new Uint8Array(4)),W===void 0&&(W=0);var K=new DataView(O.buffer,O.byteOffset,O.byteLength);return K.setFloat32(W,j,!0),O}l.writeFloat32LE=F;function C(j,O,W){O===void 0&&(O=new Uint8Array(8)),W===void 0&&(W=0);var K=new DataView(O.buffer,O.byteOffset,O.byteLength);return K.setFloat64(W,j),O}l.writeFloat64BE=C;function x(j,O,W){O===void 0&&(O=new Uint8Array(8)),W===void 0&&(W=0);var K=new DataView(O.buffer,O.byteOffset,O.byteLength);return K.setFloat64(W,j,!0),O}l.writeFloat64LE=x},4153:function(v,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function u(p,r,n){return~(p-1)&r|p-1&n}l.select=u;function e(p,r){return(p|0)-(r|0)-1>>>31&1}l.lessOrEqual=e;function i(p,r){if(p.length!==r.length)return 0;for(var n=0,o=0;o<p.length;o++)n|=p[o]^r[o];return 1&n-1>>>8}l.compare=i;function h(p,r){return p.length===0||r.length===0?!1:i(p,r)!==0}l.equal=h},79984:function(v,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function u(e){return typeof e.saveState<"u"&&typeof e.restoreState<"u"&&typeof e.cleanSavedState<"u"}l.isSerializableHash=u},52978:function(v,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function u(n){var o=n+48;return o+=9-n>>>8&-48+65-10,String.fromCharCode(o)}function e(n){var o=n+48;return o+=9-n>>>8&-48+97-10,String.fromCharCode(o)}var i=256;function h(n){var o=i;return o+=(47-n&n-58)>>8&-i+n-48,o+=(64-n&n-71)>>8&-i+n-65+10,o+=(96-n&n-103)>>8&-i+n-97+10,o}function p(n,o){o===void 0&&(o=!1);for(var t=o?e:u,s="",a=0;a<n.length;a++)s+=t(n[a]>>>4),s+=t(n[a]&15);return s}l.encode=p;function r(n){if(n.length===0)return new Uint8Array(0);if(n.length%2!==0)throw new Error("hex: input string must be divisible by two");for(var o=new Uint8Array(n.length/2),t=0,s=0;s<n.length;s+=2){var a=h(n.charCodeAt(s)),c=h(n.charCodeAt(s+1));o[s/2]=a<<4|c,t|=a&i,t|=c&i}if(t!==0)throw new Error("hex: incorrect characters for decoding");return o}l.decode=r},25629:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=u(79984),i=u(4153),h=u(17309),p=function(){function n(o,t){this._finished=!1,this._inner=new o,this._outer=new o,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var s=new Uint8Array(this.blockSize);t.length>this.blockSize?this._inner.update(t).finish(s).clean():s.set(t);for(var a=0;a<s.length;a++)s[a]^=54;this._inner.update(s);for(var a=0;a<s.length;a++)s[a]^=106;this._outer.update(s),e.isSerializableHash(this._inner)&&e.isSerializableHash(this._outer)&&(this._innerKeyedState=this._inner.saveState(),this._outerKeyedState=this._outer.saveState()),h.wipe(s)}return n.prototype.reset=function(){if(!e.isSerializableHash(this._inner)||!e.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},n.prototype.clean=function(){e.isSerializableHash(this._inner)&&this._inner.cleanSavedState(this._innerKeyedState),e.isSerializableHash(this._outer)&&this._outer.cleanSavedState(this._outerKeyedState),this._inner.clean(),this._outer.clean()},n.prototype.update=function(o){return this._inner.update(o),this},n.prototype.finish=function(o){return this._finished?(this._outer.finish(o),this):(this._inner.finish(o),this._outer.update(o.subarray(0,this.digestLength)).finish(o),this._finished=!0,this)},n.prototype.digest=function(){var o=new Uint8Array(this.digestLength);return this.finish(o),o},n.prototype.saveState=function(){if(!e.isSerializableHash(this._inner))throw new Error("hmac: can't saveState() because hash doesn't implement it");return this._inner.saveState()},n.prototype.restoreState=function(o){if(!e.isSerializableHash(this._inner)||!e.isSerializableHash(this._outer))throw new Error("hmac: can't restoreState() because hash doesn't implement it");return this._inner.restoreState(o),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},n.prototype.cleanSavedState=function(o){if(!e.isSerializableHash(this._inner))throw new Error("hmac: can't cleanSavedState() because hash doesn't implement it");this._inner.cleanSavedState(o)},n}();l.HMAC=p;function r(n,o,t){var s=new p(n,o);s.update(t);var a=s.digest();return s.clean(),a}l.hmac=r,l.equal=i.equal},97117:function(v,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function u(n,o){var t=n>>>16&65535,s=n&65535,a=o>>>16&65535,c=o&65535;return s*c+(t*c+s*a<<16>>>0)|0}l.mul=Math.imul||u;function e(n,o){return n+o|0}l.add=e;function i(n,o){return n-o|0}l.sub=i;function h(n,o){return n<<o|n>>>32-o}l.rotl=h;function p(n,o){return n<<32-o|n>>>o}l.rotr=p;function r(n){return typeof n=="number"&&isFinite(n)&&Math.floor(n)===n}l.isInteger=Number.isInteger||r,l.MAX_SAFE_INTEGER=9007199254740991,l.isSafeInteger=function(n){return l.isInteger(n)&&n>=-l.MAX_SAFE_INTEGER&&n<=l.MAX_SAFE_INTEGER}},26545:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=u(25629),i=u(98099),h=u(17309);function p(r,n,o,t,s){for(var a=new e.HMAC(r,n),c=a.digestLength,d=new Uint8Array(4),f=new Uint8Array(c),y=new Uint8Array(c),g=new Uint8Array(s),T=a.update(o).saveState(),R=0;R*c<s;R++){i.writeUint32BE(R+1,d),a.restoreState(T).update(d).finish(y);for(var B=0;B<c;B++)f[B]=y[B];for(var B=2;B<=t;B++){a.reset().update(y).finish(y);for(var D=0;D<c;D++)f[D]^=y[D]}for(var B=0;B<c&&R*c+B<s;B++)g[R*c+B]=f[B]}return h.wipe(f),h.wipe(y),h.wipe(d),a.cleanSavedState(T),a.clean(),g}l.deriveKey=p},73294:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=u(98099),i=u(17309);l.DIGEST_LENGTH=32,l.BLOCK_SIZE=64;var h=function(){function o(){this.digestLength=l.DIGEST_LENGTH,this.blockSize=l.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 o.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},o.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},o.prototype.clean=function(){i.wipe(this._buffer),i.wipe(this._temp),this.reset()},o.prototype.update=function(t,s){if(s===void 0&&(s=t.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var a=0;if(this._bytesHashed+=s,this._bufferLength>0){for(;this._bufferLength<this.blockSize&&s>0;)this._buffer[this._bufferLength++]=t[a++],s--;this._bufferLength===this.blockSize&&(r(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(s>=this.blockSize&&(a=r(this._temp,this._state,t,a,s),s%=this.blockSize);s>0;)this._buffer[this._bufferLength++]=t[a++],s--;return this},o.prototype.finish=function(t){if(!this._finished){var s=this._bytesHashed,a=this._bufferLength,c=s/536870912|0,d=s<<3,f=s%64<56?64:128;this._buffer[a]=128;for(var y=a+1;y<f-8;y++)this._buffer[y]=0;e.writeUint32BE(c,this._buffer,f-8),e.writeUint32BE(d,this._buffer,f-4),r(this._temp,this._state,this._buffer,0,f),this._finished=!0}for(var y=0;y<this.digestLength/4;y++)e.writeUint32BE(this._state[y],t,y*4);return this},o.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},o.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}},o.prototype.restoreState=function(t){return this._state.set(t.state),this._bufferLength=t.bufferLength,t.buffer&&this._buffer.set(t.buffer),this._bytesHashed=t.bytesHashed,this._finished=!1,this},o.prototype.cleanSavedState=function(t){i.wipe(t.state),t.buffer&&i.wipe(t.buffer),t.bufferLength=0,t.bytesHashed=0},o}();l.SHA256=h;var p=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 r(o,t,s,a,c){for(;c>=64;){for(var d=t[0],f=t[1],y=t[2],g=t[3],T=t[4],R=t[5],B=t[6],D=t[7],I=0;I<16;I++){var k=a+I*4;o[I]=e.readUint32BE(s,k)}for(var I=16;I<64;I++){var A=o[I-2],M=(A>>>17|A<<32-17)^(A>>>19|A<<32-19)^A>>>10;A=o[I-15];var _=(A>>>7|A<<32-7)^(A>>>18|A<<32-18)^A>>>3;o[I]=(M+o[I-7]|0)+(_+o[I-16]|0)}for(var I=0;I<64;I++){var M=(((T>>>6|T<<26)^(T>>>11|T<<21)^(T>>>25|T<<7))+(T&R^~T&B)|0)+(D+(p[I]+o[I]|0)|0)|0,_=((d>>>2|d<<32-2)^(d>>>13|d<<32-13)^(d>>>22|d<<32-22))+(d&f^d&y^f&y)|0;D=B,B=R,R=T,T=g+M|0,g=y,y=f,f=d,d=M+_|0}t[0]+=d,t[1]+=f,t[2]+=y,t[3]+=g,t[4]+=T,t[5]+=R,t[6]+=B,t[7]+=D,a+=64,c-=64}return a}function n(o){var t=new h;t.update(o);var s=t.digest();return t.clean(),s}l.hash=n},95666:function(v,l,u){"use strict";var e=this&&this.__extends||function(){var r=function(n,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,s){t.__proto__=s}||function(t,s){for(var a in s)s.hasOwnProperty(a)&&(t[a]=s[a])},r(n,o)};return function(n,o){r(n,o);function t(){this.constructor=n}n.prototype=o===null?Object.create(o):(t.prototype=o.prototype,new t)}}();Object.defineProperty(l,"__esModule",{value:!0});var i=u(93350);l.DIGEST_LENGTH=48,l.BLOCK_SIZE=128;var h=function(r){e(n,r);function n(){var o=r!==null&&r.apply(this,arguments)||this;return o.digestLength=l.DIGEST_LENGTH,o}return n.prototype._initState=function(){this._stateHi[0]=3418070365,this._stateHi[1]=1654270250,this._stateHi[2]=2438529370,this._stateHi[3]=355462360,this._stateHi[4]=1731405415,this._stateHi[5]=2394180231,this._stateHi[6]=3675008525,this._stateHi[7]=1203062813,this._stateLo[0]=3238371032,this._stateLo[1]=914150663,this._stateLo[2]=812702999,this._stateLo[3]=4144912697,this._stateLo[4]=4290775857,this._stateLo[5]=1750603025,this._stateLo[6]=1694076839,this._stateLo[7]=3204075428},n}(i.SHA512);l.SHA384=h;function p(r){var n=new h;n.update(r);var o=n.digest();return n.clean(),o}l.hash=p},93350:function(v,l,u){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=u(98099),i=u(17309);l.DIGEST_LENGTH=64,l.BLOCK_SIZE=128;var h=function(){function o(){this.digestLength=l.DIGEST_LENGTH,this.blockSize=l.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return o.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},o.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},o.prototype.clean=function(){i.wipe(this._buffer),i.wipe(this._tempHi),i.wipe(this._tempLo),this.reset()},o.prototype.update=function(t,s){if(s===void 0&&(s=t.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var a=0;if(this._bytesHashed+=s,this._bufferLength>0){for(;this._bufferLength<l.BLOCK_SIZE&&s>0;)this._buffer[this._bufferLength++]=t[a++],s--;this._bufferLength===this.blockSize&&(r(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(s>=this.blockSize&&(a=r(this._tempHi,this._tempLo,this._stateHi,this._stateLo,t,a,s),s%=this.blockSize);s>0;)this._buffer[this._bufferLength++]=t[a++],s--;return this},o.prototype.finish=function(t){if(!this._finished){var s=this._bytesHashed,a=this._bufferLength,c=s/536870912|0,d=s<<3,f=s%128<112?128:256;this._buffer[a]=128;for(var y=a+1;y<f-8;y++)this._buffer[y]=0;e.writeUint32BE(c,this._buffer,f-8),e.writeUint32BE(d,this._buffer,f-4),r(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,f),this._finished=!0}for(var y=0;y<this.digestLength/8;y++)e.writeUint32BE(this._stateHi[y],t,y*8),e.writeUint32BE(this._stateLo[y],t,y*8+4);return this},o.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},o.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{stateHi:new Int32Array(this._stateHi),stateLo:new Int32Array(this._stateLo),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},o.prototype.restoreState=function(t){return this._stateHi.set(t.stateHi),this._stateLo.set(t.stateLo),this._bufferLength=t.bufferLength,t.buffer&&this._buffer.set(t.buffer),this._bytesHashed=t.bytesHashed,this._finished=!1,this},o.prototype.cleanSavedState=function(t){i.wipe(t.stateHi),i.wipe(t.stateLo),t.buffer&&i.wipe(t.buffer),t.bufferLength=0,t.bytesHashed=0},o}();l.SHA512=h;var p=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function r(o,t,s,a,c,d,f){for(var y=s[0],g=s[1],T=s[2],R=s[3],B=s[4],D=s[5],I=s[6],k=s[7],A=a[0],M=a[1],_=a[2],z=a[3],U=a[4],b=a[5],w=a[6],F=a[7],C,x,j,O,W,K,m,G;f>=128;){for(var N=0;N<16;N++){var H=8*N+d;o[N]=e.readUint32BE(c,H),t[N]=e.readUint32BE(c,H+4)}for(var N=0;N<80;N++){var V=y,Y=g,$=T,Q=R,S=B,L=D,E=I,P=k,Z=A,q=M,ee=_,J=z,te=U,oe=b,re=w,X=F;if(C=k,x=F,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=(B>>>14|U<<32-14)^(B>>>18|U<<32-18)^(U>>>41-32|B<<32-(41-32)),x=(U>>>14|B<<32-14)^(U>>>18|B<<32-18)^(B>>>41-32|U<<32-(41-32)),W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,C=B&D^~B&I,x=U&b^~U&w,W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,C=p[N*2],x=p[N*2+1],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,C=o[N%16],x=t[N%16],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,j=m&65535|G<<16,O=W&65535|K<<16,C=j,x=O,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=(y>>>28|A<<32-28)^(A>>>34-32|y<<32-(34-32))^(A>>>39-32|y<<32-(39-32)),x=(A>>>28|y<<32-28)^(y>>>34-32|A<<32-(34-32))^(y>>>39-32|A<<32-(39-32)),W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,C=y&g^y&T^g&T,x=A&M^A&_^M&_,W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,P=m&65535|G<<16,X=W&65535|K<<16,C=Q,x=J,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=j,x=O,W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,Q=m&65535|G<<16,J=W&65535|K<<16,g=V,T=Y,R=$,B=Q,D=S,I=L,k=E,y=P,M=Z,_=q,z=ee,U=J,b=te,w=oe,F=re,A=X,N%16===15)for(var H=0;H<16;H++)C=o[H],x=t[H],W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=o[(H+9)%16],x=t[(H+9)%16],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,j=o[(H+1)%16],O=t[(H+1)%16],C=(j>>>1|O<<32-1)^(j>>>8|O<<32-8)^j>>>7,x=(O>>>1|j<<32-1)^(O>>>8|j<<32-8)^(O>>>7|j<<32-7),W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,j=o[(H+14)%16],O=t[(H+14)%16],C=(j>>>19|O<<32-19)^(O>>>61-32|j<<32-(61-32))^j>>>6,x=(O>>>19|j<<32-19)^(j>>>61-32|O<<32-(61-32))^(O>>>6|j<<32-6),W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,o[H]=m&65535|G<<16,t[H]=W&65535|K<<16}C=y,x=A,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[0],x=a[0],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[0]=y=m&65535|G<<16,a[0]=A=W&65535|K<<16,C=g,x=M,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[1],x=a[1],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[1]=g=m&65535|G<<16,a[1]=M=W&65535|K<<16,C=T,x=_,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[2],x=a[2],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[2]=T=m&65535|G<<16,a[2]=_=W&65535|K<<16,C=R,x=z,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[3],x=a[3],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[3]=R=m&65535|G<<16,a[3]=z=W&65535|K<<16,C=B,x=U,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[4],x=a[4],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[4]=B=m&65535|G<<16,a[4]=U=W&65535|K<<16,C=D,x=b,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[5],x=a[5],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[5]=D=m&65535|G<<16,a[5]=b=W&65535|K<<16,C=I,x=w,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[6],x=a[6],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[6]=I=m&65535|G<<16,a[6]=w=W&65535|K<<16,C=k,x=F,W=x&65535,K=x>>>16,m=C&65535,G=C>>>16,C=s[7],x=a[7],W+=x&65535,K+=x>>>16,m+=C&65535,G+=C>>>16,K+=W>>>16,m+=K>>>16,G+=m>>>16,s[7]=k=m&65535|G<<16,a[7]=F=W&65535|K<<16,d+=128,f-=128}return d}function n(o){var t=new h;t.update(o);var s=t.digest();return t.clean(),s}l.hash=n},56249:function(v,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var u="utf8: invalid string",e="utf8: invalid source encoding";function i(r){for(var n=new Uint8Array(h(r)),o=0,t=0;t<r.length;t++){var s=r.charCodeAt(t);s<128?n[o++]=s:s<2048?(n[o++]=192|s>>6,n[o++]=128|s&63):s<55296?(n[o++]=224|s>>12,n[o++]=128|s>>6&63,n[o++]=128|s&63):(t++,s=(s&1023)<<10,s|=r.charCodeAt(t)&1023,s+=65536,n[o++]=240|s>>18,n[o++]=128|s>>12&63,n[o++]=128|s>>6&63,n[o++]=128|s&63)}return n}l.encode=i;function h(r){for(var n=0,o=0;o<r.length;o++){var t=r.charCodeAt(o);if(t<128)n+=1;else if(t<2048)n+=2;else if(t<55296)n+=3;else if(t<=57343){if(o>=r.length-1)throw new Error(u);o++,n+=4}else throw new Error(u)}return n}l.encodedLength=h;function p(r){for(var n=[],o=0;o<r.length;o++){var t=r[o];if(t&128){var s=void 0;if(t<224){if(o>=r.length)throw new Error(e);var a=r[++o];if((a&192)!==128)throw new Error(e);t=(t&31)<<6|a&63,s=128}else if(t<240){if(o>=r.length-1)throw new Error(e);var a=r[++o],c=r[++o];if((a&192)!==128||(c&192)!==128)throw new Error(e);t=(t&15)<<12|(a&63)<<6|c&63,s=2048}else if(t<248){if(o>=r.length-2)throw new Error(e);var a=r[++o],c=r[++o],d=r[++o];if((a&192)!==128||(c&192)!==128||(d&192)!==128)throw new Error(e);t=(t&15)<<18|(a&63)<<12|(c&63)<<6|d&63,s=65536}else throw new Error(e);if(t<s||t>=55296&&t<=57343)throw new Error(e);if(t>=65536){if(t>1114111)throw new Error(e);t-=65536,n.push(String.fromCharCode(55296|t>>10)),t=56320|t&1023}}n.push(String.fromCharCode(t))}return n.join("")}l.decode=p},17309:function(v,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function u(e){for(var i=0;i<e.length;i++)e[i]=0;return e}l.wipe=u},99469:function(v,l,u){var e=u(33019),i=e,h=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof h<"u"&&h||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();i.exportSymbol("proto.google.protobuf.BoolValue",null,h),i.exportSymbol("proto.google.protobuf.BytesValue",null,h),i.exportSymbol("proto.google.protobuf.DoubleValue",null,h),i.exportSymbol("proto.google.protobuf.FloatValue",null,h),i.exportSymbol("proto.google.protobuf.Int32Value",null,h),i.exportSymbol("proto.google.protobuf.Int64Value",null,h),i.exportSymbol("proto.google.protobuf.StringValue",null,h),i.exportSymbol("proto.google.protobuf.UInt32Value",null,h),i.exportSymbol("proto.google.protobuf.UInt64Value",null,h),proto.google.protobuf.DoubleValue=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.DoubleValue,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.DoubleValue.displayName="proto.google.protobuf.DoubleValue"),proto.google.protobuf.FloatValue=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.FloatValue,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.FloatValue.displayName="proto.google.protobuf.FloatValue"),proto.google.protobuf.Int64Value=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.Int64Value,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.Int64Value.displayName="proto.google.protobuf.Int64Value"),proto.google.protobuf.UInt64Value=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.UInt64Value,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.UInt64Value.displayName="proto.google.protobuf.UInt64Value"),proto.google.protobuf.Int32Value=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.Int32Value,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.Int32Value.displayName="proto.google.protobuf.Int32Value"),proto.google.protobuf.UInt32Value=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.UInt32Value,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.UInt32Value.displayName="proto.google.protobuf.UInt32Value"),proto.google.protobuf.BoolValue=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.BoolValue,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.BoolValue.displayName="proto.google.protobuf.BoolValue"),proto.google.protobuf.StringValue=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.StringValue,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.StringValue.displayName="proto.google.protobuf.StringValue"),proto.google.protobuf.BytesValue=function(p){e.Message.initialize(this,p,0,-1,null,null)},i.inherits(proto.google.protobuf.BytesValue,e.Message),i.DEBUG&&!COMPILED&&(proto.google.protobuf.BytesValue.displayName="proto.google.protobuf.BytesValue"),e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DoubleValue.prototype.toObject=function(p){return proto.google.protobuf.DoubleValue.toObject(p,this)},proto.google.protobuf.DoubleValue.toObject=function(p,r){var n,o={value:e.Message.getFloatingPointFieldWithDefault(r,1,0)};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.DoubleValue.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.DoubleValue;return proto.google.protobuf.DoubleValue.deserializeBinaryFromReader(n,r)},proto.google.protobuf.DoubleValue.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readDouble();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.DoubleValue.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.DoubleValue.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.DoubleValue.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n!==0&&r.writeDouble(1,n)},proto.google.protobuf.DoubleValue.prototype.getValue=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.google.protobuf.DoubleValue.prototype.setValue=function(p){return e.Message.setProto3FloatField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FloatValue.prototype.toObject=function(p){return proto.google.protobuf.FloatValue.toObject(p,this)},proto.google.protobuf.FloatValue.toObject=function(p,r){var n,o={value:e.Message.getFloatingPointFieldWithDefault(r,1,0)};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.FloatValue.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.FloatValue;return proto.google.protobuf.FloatValue.deserializeBinaryFromReader(n,r)},proto.google.protobuf.FloatValue.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readFloat();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.FloatValue.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.FloatValue.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.FloatValue.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n!==0&&r.writeFloat(1,n)},proto.google.protobuf.FloatValue.prototype.getValue=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.google.protobuf.FloatValue.prototype.setValue=function(p){return e.Message.setProto3FloatField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Int64Value.prototype.toObject=function(p){return proto.google.protobuf.Int64Value.toObject(p,this)},proto.google.protobuf.Int64Value.toObject=function(p,r){var n,o={value:e.Message.getFieldWithDefault(r,1,0)};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.Int64Value.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.Int64Value;return proto.google.protobuf.Int64Value.deserializeBinaryFromReader(n,r)},proto.google.protobuf.Int64Value.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readInt64();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.Int64Value.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.Int64Value.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.Int64Value.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n!==0&&r.writeInt64(1,n)},proto.google.protobuf.Int64Value.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Int64Value.prototype.setValue=function(p){return e.Message.setProto3IntField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UInt64Value.prototype.toObject=function(p){return proto.google.protobuf.UInt64Value.toObject(p,this)},proto.google.protobuf.UInt64Value.toObject=function(p,r){var n,o={value:e.Message.getFieldWithDefault(r,1,0)};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.UInt64Value.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.UInt64Value;return proto.google.protobuf.UInt64Value.deserializeBinaryFromReader(n,r)},proto.google.protobuf.UInt64Value.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readUint64();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.UInt64Value.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.UInt64Value.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.UInt64Value.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n!==0&&r.writeUint64(1,n)},proto.google.protobuf.UInt64Value.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.UInt64Value.prototype.setValue=function(p){return e.Message.setProto3IntField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Int32Value.prototype.toObject=function(p){return proto.google.protobuf.Int32Value.toObject(p,this)},proto.google.protobuf.Int32Value.toObject=function(p,r){var n,o={value:e.Message.getFieldWithDefault(r,1,0)};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.Int32Value.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.Int32Value;return proto.google.protobuf.Int32Value.deserializeBinaryFromReader(n,r)},proto.google.protobuf.Int32Value.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readInt32();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.Int32Value.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.Int32Value.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.Int32Value.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n!==0&&r.writeInt32(1,n)},proto.google.protobuf.Int32Value.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Int32Value.prototype.setValue=function(p){return e.Message.setProto3IntField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UInt32Value.prototype.toObject=function(p){return proto.google.protobuf.UInt32Value.toObject(p,this)},proto.google.protobuf.UInt32Value.toObject=function(p,r){var n,o={value:e.Message.getFieldWithDefault(r,1,0)};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.UInt32Value.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.UInt32Value;return proto.google.protobuf.UInt32Value.deserializeBinaryFromReader(n,r)},proto.google.protobuf.UInt32Value.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readUint32();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.UInt32Value.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.UInt32Value.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.UInt32Value.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n!==0&&r.writeUint32(1,n)},proto.google.protobuf.UInt32Value.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.UInt32Value.prototype.setValue=function(p){return e.Message.setProto3IntField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.BoolValue.prototype.toObject=function(p){return proto.google.protobuf.BoolValue.toObject(p,this)},proto.google.protobuf.BoolValue.toObject=function(p,r){var n,o={value:e.Message.getBooleanFieldWithDefault(r,1,!1)};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.BoolValue.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.BoolValue;return proto.google.protobuf.BoolValue.deserializeBinaryFromReader(n,r)},proto.google.protobuf.BoolValue.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readBool();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.BoolValue.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.BoolValue.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.BoolValue.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n&&r.writeBool(1,n)},proto.google.protobuf.BoolValue.prototype.getValue=function(){return e.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.BoolValue.prototype.setValue=function(p){return e.Message.setProto3BooleanField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.StringValue.prototype.toObject=function(p){return proto.google.protobuf.StringValue.toObject(p,this)},proto.google.protobuf.StringValue.toObject=function(p,r){var n,o={value:e.Message.getFieldWithDefault(r,1,"")};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.StringValue.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.StringValue;return proto.google.protobuf.StringValue.deserializeBinaryFromReader(n,r)},proto.google.protobuf.StringValue.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readString();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.StringValue.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.StringValue.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.StringValue.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue(),n.length>0&&r.writeString(1,n)},proto.google.protobuf.StringValue.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.StringValue.prototype.setValue=function(p){return e.Message.setProto3StringField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.BytesValue.prototype.toObject=function(p){return proto.google.protobuf.BytesValue.toObject(p,this)},proto.google.protobuf.BytesValue.toObject=function(p,r){var n,o={value:r.getValue_asB64()};return p&&(o.$jspbMessageInstance=r),o}),proto.google.protobuf.BytesValue.deserializeBinary=function(p){var r=new e.BinaryReader(p),n=new proto.google.protobuf.BytesValue;return proto.google.protobuf.BytesValue.deserializeBinaryFromReader(n,r)},proto.google.protobuf.BytesValue.deserializeBinaryFromReader=function(p,r){for(;r.nextField()&&!r.isEndGroup();){var n=r.getFieldNumber();switch(n){case 1:var o=r.readBytes();p.setValue(o);break;default:r.skipField();break}}return p},proto.google.protobuf.BytesValue.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.google.protobuf.BytesValue.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.google.protobuf.BytesValue.serializeBinaryToWriter=function(p,r){var n=void 0;n=p.getValue_asU8(),n.length>0&&r.writeBytes(1,n)},proto.google.protobuf.BytesValue.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.BytesValue.prototype.getValue_asB64=function(){return e.Message.bytesAsB64(this.getValue())},proto.google.protobuf.BytesValue.prototype.getValue_asU8=function(){return e.Message.bytesAsU8(this.getValue())},proto.google.protobuf.BytesValue.prototype.setValue=function(p){return e.Message.setProto3BytesField(this,1,p)},i.object.extend(l,proto.google.protobuf)},35620:function(v,l,u){"use strict";u.d(l,{US:function(){return r},YU:function(){return i}});var e=u(79911);const i=e.base16,h=e.base32,p=e.base32hex,r=e.base64,n=e.base64url,o=e.codec;var t=null}}]);