edge-currency-accountbased 4.13.0 → 4.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/android/src/main/assets/edge-currency-accountbased/2963.chunk.js +6 -0
- package/android/src/main/assets/edge-currency-accountbased/3829.chunk.js +2 -2
- package/android/src/main/assets/edge-currency-accountbased/4163.chunk.js +3 -3
- package/android/src/main/assets/edge-currency-accountbased/5870.chunk.js +4 -4
- package/android/src/main/assets/edge-currency-accountbased/6845.chunk.js +9 -0
- package/android/src/main/assets/edge-currency-accountbased/780.chunk.js +1 -0
- package/android/src/main/assets/edge-currency-accountbased/8163.chunk.js +2 -0
- package/android/src/main/assets/edge-currency-accountbased/8330.chunk.js +1 -0
- package/android/src/main/assets/edge-currency-accountbased/algorand.chunk.js +2 -2
- package/android/src/main/assets/edge-currency-accountbased/axelar.chunk.js +2 -2
- package/android/src/main/assets/edge-currency-accountbased/bnb.chunk.js +4 -4
- package/android/src/main/assets/edge-currency-accountbased/cardano.chunk.js +2 -2
- package/android/src/main/assets/edge-currency-accountbased/edge-currency-accountbased.js +2 -2
- package/android/src/main/assets/edge-currency-accountbased/eos.chunk.js +7 -7
- package/android/src/main/assets/edge-currency-accountbased/ethereum.chunk.js +9 -9
- package/android/src/main/assets/edge-currency-accountbased/filecoin.chunk.js +1 -1
- package/android/src/main/assets/edge-currency-accountbased/fio.chunk.js +2 -2
- package/android/src/main/assets/edge-currency-accountbased/hedera.chunk.js +1 -1
- package/android/src/main/assets/edge-currency-accountbased/polkadot.chunk.js +2 -2
- package/android/src/main/assets/edge-currency-accountbased/ripple.chunk.js +5 -5
- package/android/src/main/assets/edge-currency-accountbased/solana.chunk.js +3 -3
- package/android/src/main/assets/edge-currency-accountbased/stellar.chunk.js +6 -6
- package/android/src/main/assets/edge-currency-accountbased/tezos.chunk.js +3 -3
- package/android/src/main/assets/edge-currency-accountbased/tron.chunk.js +1 -1
- package/android/src/main/assets/edge-currency-accountbased/zcash.chunk.js +3 -4
- package/lib/algorand/AlgorandTools.js +5 -5
- package/lib/binance/BinanceEngine.js +5 -5
- package/lib/binance/BinanceTools.js +5 -5
- package/lib/cardano/CardanoTools.js +5 -5
- package/lib/common/CurrencyEngine.js +30 -14
- package/lib/common/periodicTask.js +73 -0
- package/lib/common/tokenHelpers.js +7 -0
- package/lib/common/uriHelpers.js +27 -7
- package/lib/common/utils.js +4 -0
- package/lib/cosmos/CosmosTools.js +5 -5
- package/lib/declare-modules.d.js +36 -0
- package/lib/eos/EosTools.js +5 -5
- package/lib/ethereum/EthereumEngine.js +21 -5
- package/lib/ethereum/EthereumNetwork.js +193 -73
- package/lib/ethereum/EthereumTools.js +22 -29
- package/lib/ethereum/ethereumInfos.js +7 -11
- package/lib/ethereum/ethereumTypes.js +9 -7
- package/lib/ethereum/fees/feeProviders.js +6 -2
- package/lib/ethereum/info/amoyInfo.js +121 -0
- package/lib/ethereum/info/ethereumInfo.js +11 -0
- package/lib/ethereum/info/{ropstenInfo.js → holeskyInfo.js} +37 -55
- package/lib/ethereum/info/{rinkebyInfo.js → sepoliaInfo.js} +33 -48
- package/lib/ethereum/networkAdapters/AmberdataAdapter.js +11 -8
- package/lib/ethereum/networkAdapters/BlockbookAdapter.js +11 -8
- package/lib/ethereum/networkAdapters/BlockbookWsAdapter.js +257 -0
- package/lib/ethereum/networkAdapters/BlockchairAdapter.js +14 -9
- package/lib/ethereum/networkAdapters/BlockcypherAdapter.js +12 -9
- package/lib/ethereum/networkAdapters/EvmScanAdapter.js +25 -14
- package/lib/ethereum/networkAdapters/FilfoxAdapter.js +13 -10
- package/lib/ethereum/networkAdapters/PulsechainScanAdapter.js +12 -9
- package/lib/ethereum/networkAdapters/RpcAdapter.js +23 -14
- package/lib/ethereum/networkAdapters/types.js +18 -2
- package/lib/filecoin/FilecoinTools.js +6 -8
- package/lib/fio/FioTools.js +6 -8
- package/lib/hedera/HederaTools.js +6 -6
- package/lib/piratechain/PiratechainTools.js +5 -5
- package/lib/polkadot/PolkadotTools.js +5 -5
- package/lib/ripple/RippleEngine.js +4 -1
- package/lib/ripple/RippleTools.js +4 -4
- package/lib/solana/SolanaEngine.js +14 -5
- package/lib/solana/SolanaTools.js +15 -10
- package/lib/stellar/StellarTools.js +4 -4
- package/lib/tezos/TezosTools.js +14 -4
- package/lib/tron/TronTools.js +10 -7
- package/lib/zcash/ZcashEngine.js +13 -9
- package/lib/zcash/ZcashTools.js +5 -5
- package/lib/zcash/zcashInfo.js +1 -1
- package/package.json +4 -2
- package/android/src/main/assets/edge-currency-accountbased/1075.chunk.js +0 -1
- package/android/src/main/assets/edge-currency-accountbased/5737.chunk.js +0 -6
- package/android/src/main/assets/edge-currency-accountbased/6277.chunk.js +0 -1
- package/android/src/main/assets/edge-currency-accountbased/6483.chunk.js +0 -2
- package/android/src/main/assets/edge-currency-accountbased/9119.chunk.js +0 -9
- package/lib/ethereum/info/goerliInfo.js +0 -181
- package/lib/ethereum/info/kovanInfo.js +0 -300
- package/lib/ethereum/info/mumbaiInfo.js +0 -250
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 4.15.0 (2024-07-22)
|
|
6
|
+
|
|
7
|
+
- added: (Solana/Ethereum) Add optional `lightMode` support to disable transaction query
|
|
8
|
+
- added: Add optional `testPrivateKeys` function to `parseUriCommon`
|
|
9
|
+
- changed: (Zcash) Updated address explorer
|
|
10
|
+
- changed: (Tron) Special case the `usdt-trc20` uri prefix
|
|
11
|
+
- changed: Upgrade edge-core-js to v2.9.0
|
|
12
|
+
- fixed: Prevent fatal error reporting for missing txlist json file
|
|
13
|
+
- fixed: (Zcash) Use additional insufficient funds check before sending amount to synchronizer
|
|
14
|
+
|
|
15
|
+
## 4.14.0 (2024-07-19)
|
|
16
|
+
|
|
17
|
+
- added: Added Amoy Polygon testnet
|
|
18
|
+
- added: Added Sepolia and Holesky Ethereum testnet
|
|
19
|
+
- added: Added support for WebSocket connections to Blockbook servers via `BlockbookWsAdapter`
|
|
20
|
+
- remove: Remove deprecated Ethereum testnets: Goerli, Kovan, Rinkeby, and Ropsten.
|
|
21
|
+
- remove: Remove deprecated Mumbai Polygon testnet
|
|
22
|
+
|
|
5
23
|
## 4.13.0 (2024-07-16)
|
|
6
24
|
|
|
7
25
|
- changed: FIO SDK upgraded to v1.9.2
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
(self.webpackChunkedge_currency_accountbased=self.webpackChunkedge_currency_accountbased||[]).push([[2963],{67526:function(Ce,h){"use strict";h.byteLength=c,h.toByteArray=F,h.fromByteArray=Q;for(var T=[],u=[],t=typeof Uint8Array<"u"?Uint8Array:Array,G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",N=0,K=G.length;N<K;++N)T[N]=G[N],u[G.charCodeAt(N)]=N;u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63;function y(O){var C=O.length;if(C%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var x=O.indexOf("=");x===-1&&(x=C);var M=x===C?0:4-x%4;return[x,M]}function c(O){var C=y(O),x=C[0],M=C[1];return(x+M)*3/4-M}function b(O,C,x){return(C+x)*3/4-x}function F(O){var C,x=y(O),M=x[0],z=x[1],H=new t(b(O,M,z)),I=0,m=z>0?M-4:M,d;for(d=0;d<m;d+=4)C=u[O.charCodeAt(d)]<<18|u[O.charCodeAt(d+1)]<<12|u[O.charCodeAt(d+2)]<<6|u[O.charCodeAt(d+3)],H[I++]=C>>16&255,H[I++]=C>>8&255,H[I++]=C&255;return z===2&&(C=u[O.charCodeAt(d)]<<2|u[O.charCodeAt(d+1)]>>4,H[I++]=C&255),z===1&&(C=u[O.charCodeAt(d)]<<10|u[O.charCodeAt(d+1)]<<4|u[O.charCodeAt(d+2)]>>2,H[I++]=C>>8&255,H[I++]=C&255),H}function U(O){return T[O>>18&63]+T[O>>12&63]+T[O>>6&63]+T[O&63]}function j(O,C,x){for(var M,z=[],H=C;H<x;H+=3)M=(O[H]<<16&16711680)+(O[H+1]<<8&65280)+(O[H+2]&255),z.push(U(M));return z.join("")}function Q(O){for(var C,x=O.length,M=x%3,z=[],H=16383,I=0,m=x-M;I<m;I+=H)z.push(j(O,I,I+H>m?m:I+H));return M===1?(C=O[x-1],z.push(T[C>>2]+T[C<<4&63]+"==")):M===2&&(C=(O[x-2]<<8)+O[x-1],z.push(T[C>>10]+T[C>>4&63]+T[C<<2&63]+"=")),z.join("")}},48287:function(Ce,h,T){"use strict";/*!
|
|
2
|
+
* The buffer module from node.js, for the browser.
|
|
3
|
+
*
|
|
4
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/const u=T(67526),t=T(251),G=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;h.Buffer=c,h.SlowBuffer=H,h.INSPECT_MAX_BYTES=50;const N=2147483647;h.kMaxLength=N,c.TYPED_ARRAY_SUPPORT=K(),!c.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function K(){try{const n=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(n,e),n.foo()===42}catch{return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function y(n){if(n>N)throw new RangeError('The value "'+n+'" is invalid for option "size"');const e=new Uint8Array(n);return Object.setPrototypeOf(e,c.prototype),e}function c(n,e,r){if(typeof n=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(n)}return b(n,e,r)}c.poolSize=8192;function b(n,e,r){if(typeof n=="string")return Q(n,e);if(ArrayBuffer.isView(n))return C(n);if(n==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(ge(n,ArrayBuffer)||n&&ge(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ge(n,SharedArrayBuffer)||n&&ge(n.buffer,SharedArrayBuffer)))return x(n,e,r);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const o=n.valueOf&&n.valueOf();if(o!=null&&o!==n)return c.from(o,e,r);const a=M(n);if(a)return a;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return c.from(n[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}c.from=function(n,e,r){return b(n,e,r)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array);function F(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function U(n,e,r){return F(n),n<=0?y(n):e!==void 0?typeof r=="string"?y(n).fill(e,r):y(n).fill(e):y(n)}c.alloc=function(n,e,r){return U(n,e,r)};function j(n){return F(n),y(n<0?0:z(n)|0)}c.allocUnsafe=function(n){return j(n)},c.allocUnsafeSlow=function(n){return j(n)};function Q(n,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=I(n,e)|0;let o=y(r);const a=o.write(n,e);return a!==r&&(o=o.slice(0,a)),o}function O(n){const e=n.length<0?0:z(n.length)|0,r=y(e);for(let o=0;o<e;o+=1)r[o]=n[o]&255;return r}function C(n){if(ge(n,Uint8Array)){const e=new Uint8Array(n);return x(e.buffer,e.byteOffset,e.byteLength)}return O(n)}function x(n,e,r){if(e<0||n.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(n.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let o;return e===void 0&&r===void 0?o=new Uint8Array(n):r===void 0?o=new Uint8Array(n,e):o=new Uint8Array(n,e,r),Object.setPrototypeOf(o,c.prototype),o}function M(n){if(c.isBuffer(n)){const e=z(n.length)|0,r=y(e);return r.length===0||n.copy(r,0,0,e),r}if(n.length!==void 0)return typeof n.length!="number"||he(n.length)?y(0):O(n);if(n.type==="Buffer"&&Array.isArray(n.data))return O(n.data)}function z(n){if(n>=N)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+N.toString(16)+" bytes");return n|0}function H(n){return+n!=n&&(n=0),c.alloc(+n)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype},c.compare=function(e,r){if(ge(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),ge(r,Uint8Array)&&(r=c.from(r,r.offset,r.byteLength)),!c.isBuffer(e)||!c.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;let o=e.length,a=r.length;for(let f=0,p=Math.min(o,a);f<p;++f)if(e[f]!==r[f]){o=e[f],a=r[f];break}return o<a?-1:a<o?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);let o;if(r===void 0)for(r=0,o=0;o<e.length;++o)r+=e[o].length;const a=c.allocUnsafe(r);let f=0;for(o=0;o<e.length;++o){let p=e[o];if(ge(p,Uint8Array))f+p.length>a.length?(c.isBuffer(p)||(p=c.from(p)),p.copy(a,f)):Uint8Array.prototype.set.call(a,p,f);else if(c.isBuffer(p))p.copy(a,f);else throw new TypeError('"list" argument must be an Array of Buffers');f+=p.length}return a};function I(n,e){if(c.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||ge(n,ArrayBuffer))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);const r=n.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;let a=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return ce(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ye(n).length;default:if(a)return o?-1:ce(n).length;e=(""+e).toLowerCase(),a=!0}}c.byteLength=I;function m(n,e,r){let o=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(n||(n="utf8");;)switch(n){case"hex":return ze(this,e,r);case"utf8":case"utf-8":return R(this,e,r);case"ascii":return Re(this,e,r);case"latin1":case"binary":return $e(this,e,r);case"base64":return Oe(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tr(this,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),o=!0}}c.prototype._isBuffer=!0;function d(n,e,r){const o=n[e];n[e]=n[r],n[r]=o}c.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let r=0;r<e;r+=2)d(this,r,r+1);return this},c.prototype.swap32=function(){const e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let r=0;r<e;r+=4)d(this,r,r+3),d(this,r+1,r+2);return this},c.prototype.swap64=function(){const e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let r=0;r<e;r+=8)d(this,r,r+7),d(this,r+1,r+6),d(this,r+2,r+5),d(this,r+3,r+4);return this},c.prototype.toString=function(){const e=this.length;return e===0?"":arguments.length===0?R(this,0,e):m.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0},c.prototype.inspect=function(){let e="";const r=h.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},G&&(c.prototype[G]=c.prototype.inspect),c.prototype.compare=function(e,r,o,a,f){if(ge(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),o===void 0&&(o=e?e.length:0),a===void 0&&(a=0),f===void 0&&(f=this.length),r<0||o>e.length||a<0||f>this.length)throw new RangeError("out of range index");if(a>=f&&r>=o)return 0;if(a>=f)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,a>>>=0,f>>>=0,this===e)return 0;let p=f-a,L=o-r;const X=Math.min(p,L),W=this.slice(a,f),Z=e.slice(r,o);for(let q=0;q<X;++q)if(W[q]!==Z[q]){p=W[q],L=Z[q];break}return p<L?-1:L<p?1:0};function g(n,e,r,o,a){if(n.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,he(r)&&(r=a?0:n.length-1),r<0&&(r=n.length+r),r>=n.length){if(a)return-1;r=n.length-1}else if(r<0)if(a)r=0;else return-1;if(typeof e=="string"&&(e=c.from(e,o)),c.isBuffer(e))return e.length===0?-1:P(n,e,r,o,a);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?a?Uint8Array.prototype.indexOf.call(n,e,r):Uint8Array.prototype.lastIndexOf.call(n,e,r):P(n,[e],r,o,a);throw new TypeError("val must be string, number or Buffer")}function P(n,e,r,o,a){let f=1,p=n.length,L=e.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(n.length<2||e.length<2)return-1;f=2,p/=2,L/=2,r/=2}function X(Z,q){return f===1?Z[q]:Z.readUInt16BE(q*f)}let W;if(a){let Z=-1;for(W=r;W<p;W++)if(X(n,W)===X(e,Z===-1?0:W-Z)){if(Z===-1&&(Z=W),W-Z+1===L)return Z*f}else Z!==-1&&(W-=W-Z),Z=-1}else for(r+L>p&&(r=p-L),W=r;W>=0;W--){let Z=!0;for(let q=0;q<L;q++)if(X(n,W+q)!==X(e,q)){Z=!1;break}if(Z)return W}return-1}c.prototype.includes=function(e,r,o){return this.indexOf(e,r,o)!==-1},c.prototype.indexOf=function(e,r,o){return g(this,e,r,o,!0)},c.prototype.lastIndexOf=function(e,r,o){return g(this,e,r,o,!1)};function $(n,e,r,o){r=Number(r)||0;const a=n.length-r;o?(o=Number(o),o>a&&(o=a)):o=a;const f=e.length;o>f/2&&(o=f/2);let p;for(p=0;p<o;++p){const L=parseInt(e.substr(p*2,2),16);if(he(L))return p;n[r+p]=L}return p}function k(n,e,r,o){return Le(ce(e,n.length-r),n,r,o)}function v(n,e,r,o){return Le(We(e),n,r,o)}function ae(n,e,r,o){return Le(Ye(e),n,r,o)}function Ee(n,e,r,o){return Le(nr(e,n.length-r),n,r,o)}c.prototype.write=function(e,r,o,a){if(r===void 0)a="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")a=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,a===void 0&&(a="utf8")):(a=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const f=this.length-r;if((o===void 0||o>f)&&(o=f),e.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");let p=!1;for(;;)switch(a){case"hex":return $(this,e,r,o);case"utf8":case"utf-8":return k(this,e,r,o);case"ascii":case"latin1":case"binary":return v(this,e,r,o);case"base64":return ae(this,e,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ee(this,e,r,o);default:if(p)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),p=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Oe(n,e,r){return e===0&&r===n.length?u.fromByteArray(n):u.fromByteArray(n.slice(e,r))}function R(n,e,r){r=Math.min(n.length,r);const o=[];let a=e;for(;a<r;){const f=n[a];let p=null,L=f>239?4:f>223?3:f>191?2:1;if(a+L<=r){let X,W,Z,q;switch(L){case 1:f<128&&(p=f);break;case 2:X=n[a+1],(X&192)===128&&(q=(f&31)<<6|X&63,q>127&&(p=q));break;case 3:X=n[a+1],W=n[a+2],(X&192)===128&&(W&192)===128&&(q=(f&15)<<12|(X&63)<<6|W&63,q>2047&&(q<55296||q>57343)&&(p=q));break;case 4:X=n[a+1],W=n[a+2],Z=n[a+3],(X&192)===128&&(W&192)===128&&(Z&192)===128&&(q=(f&15)<<18|(X&63)<<12|(W&63)<<6|Z&63,q>65535&&q<1114112&&(p=q))}}p===null?(p=65533,L=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),a+=L}return De(o)}const we=4096;function De(n){const e=n.length;if(e<=we)return String.fromCharCode.apply(String,n);let r="",o=0;for(;o<e;)r+=String.fromCharCode.apply(String,n.slice(o,o+=we));return r}function Re(n,e,r){let o="";r=Math.min(n.length,r);for(let a=e;a<r;++a)o+=String.fromCharCode(n[a]&127);return o}function $e(n,e,r){let o="";r=Math.min(n.length,r);for(let a=e;a<r;++a)o+=String.fromCharCode(n[a]);return o}function ze(n,e,r){const o=n.length;(!e||e<0)&&(e=0),(!r||r<0||r>o)&&(r=o);let a="";for(let f=e;f<r;++f)a+=Ue[n[f]];return a}function tr(n,e,r){const o=n.slice(e,r);let a="";for(let f=0;f<o.length-1;f+=2)a+=String.fromCharCode(o[f]+o[f+1]*256);return a}c.prototype.slice=function(e,r){const o=this.length;e=~~e,r=r===void 0?o:~~r,e<0?(e+=o,e<0&&(e=0)):e>o&&(e=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<e&&(r=e);const a=this.subarray(e,r);return Object.setPrototypeOf(a,c.prototype),a};function te(n,e,r){if(n%1!==0||n<0)throw new RangeError("offset is not uint");if(n+e>r)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,r,o){e=e>>>0,r=r>>>0,o||te(e,r,this.length);let a=this[e],f=1,p=0;for(;++p<r&&(f*=256);)a+=this[e+p]*f;return a},c.prototype.readUintBE=c.prototype.readUIntBE=function(e,r,o){e=e>>>0,r=r>>>0,o||te(e,r,this.length);let a=this[e+--r],f=1;for(;r>0&&(f*=256);)a+=this[e+--r]*f;return a},c.prototype.readUint8=c.prototype.readUInt8=function(e,r){return e=e>>>0,r||te(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||te(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||te(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||te(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||te(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readBigUInt64LE=pe(function(e){e=e>>>0,me(e,"offset");const r=this[e],o=this[e+7];(r===void 0||o===void 0)&&_e(e,this.length-8);const a=r+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,f=this[++e]+this[++e]*2**8+this[++e]*2**16+o*2**24;return BigInt(a)+(BigInt(f)<<BigInt(32))}),c.prototype.readBigUInt64BE=pe(function(e){e=e>>>0,me(e,"offset");const r=this[e],o=this[e+7];(r===void 0||o===void 0)&&_e(e,this.length-8);const a=r*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],f=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+o;return(BigInt(a)<<BigInt(32))+BigInt(f)}),c.prototype.readIntLE=function(e,r,o){e=e>>>0,r=r>>>0,o||te(e,r,this.length);let a=this[e],f=1,p=0;for(;++p<r&&(f*=256);)a+=this[e+p]*f;return f*=128,a>=f&&(a-=Math.pow(2,8*r)),a},c.prototype.readIntBE=function(e,r,o){e=e>>>0,r=r>>>0,o||te(e,r,this.length);let a=r,f=1,p=this[e+--a];for(;a>0&&(f*=256);)p+=this[e+--a]*f;return f*=128,p>=f&&(p-=Math.pow(2,8*r)),p},c.prototype.readInt8=function(e,r){return e=e>>>0,r||te(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},c.prototype.readInt16LE=function(e,r){e=e>>>0,r||te(e,2,this.length);const o=this[e]|this[e+1]<<8;return o&32768?o|4294901760:o},c.prototype.readInt16BE=function(e,r){e=e>>>0,r||te(e,2,this.length);const o=this[e+1]|this[e]<<8;return o&32768?o|4294901760:o},c.prototype.readInt32LE=function(e,r){return e=e>>>0,r||te(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,r){return e=e>>>0,r||te(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readBigInt64LE=pe(function(e){e=e>>>0,me(e,"offset");const r=this[e],o=this[e+7];(r===void 0||o===void 0)&&_e(e,this.length-8);const a=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(o<<24);return(BigInt(a)<<BigInt(32))+BigInt(r+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24)}),c.prototype.readBigInt64BE=pe(function(e){e=e>>>0,me(e,"offset");const r=this[e],o=this[e+7];(r===void 0||o===void 0)&&_e(e,this.length-8);const a=(r<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(a)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+o)}),c.prototype.readFloatLE=function(e,r){return e=e>>>0,r||te(e,4,this.length),t.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,r){return e=e>>>0,r||te(e,4,this.length),t.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||te(e,8,this.length),t.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||te(e,8,this.length),t.read(this,e,!1,52,8)};function re(n,e,r,o,a,f){if(!c.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>a||e<f)throw new RangeError('"value" argument is out of bounds');if(r+o>n.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,r,o,a){if(e=+e,r=r>>>0,o=o>>>0,!a){const L=Math.pow(2,8*o)-1;re(this,e,r,o,L,0)}let f=1,p=0;for(this[r]=e&255;++p<o&&(f*=256);)this[r+p]=e/f&255;return r+o},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,r,o,a){if(e=+e,r=r>>>0,o=o>>>0,!a){const L=Math.pow(2,8*o)-1;re(this,e,r,o,L,0)}let f=o-1,p=1;for(this[r+f]=e&255;--f>=0&&(p*=256);)this[r+f]=e/p&255;return r+o},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,r,o){return e=+e,r=r>>>0,o||re(this,e,r,1,255,0),this[r]=e&255,r+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,r,o){return e=+e,r=r>>>0,o||re(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,r,o){return e=+e,r=r>>>0,o||re(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,r,o){return e=+e,r=r>>>0,o||re(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,r,o){return e=+e,r=r>>>0,o||re(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function ue(n,e,r,o,a){Ne(e,o,a,n,r,7);let f=Number(e&BigInt(4294967295));n[r++]=f,f=f>>8,n[r++]=f,f=f>>8,n[r++]=f,f=f>>8,n[r++]=f;let p=Number(e>>BigInt(32)&BigInt(4294967295));return n[r++]=p,p=p>>8,n[r++]=p,p=p>>8,n[r++]=p,p=p>>8,n[r++]=p,r}function le(n,e,r,o,a){Ne(e,o,a,n,r,7);let f=Number(e&BigInt(4294967295));n[r+7]=f,f=f>>8,n[r+6]=f,f=f>>8,n[r+5]=f,f=f>>8,n[r+4]=f;let p=Number(e>>BigInt(32)&BigInt(4294967295));return n[r+3]=p,p=p>>8,n[r+2]=p,p=p>>8,n[r+1]=p,p=p>>8,n[r]=p,r+8}c.prototype.writeBigUInt64LE=pe(function(e,r=0){return ue(this,e,r,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=pe(function(e,r=0){return le(this,e,r,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(e,r,o,a){if(e=+e,r=r>>>0,!a){const X=Math.pow(2,8*o-1);re(this,e,r,o,X-1,-X)}let f=0,p=1,L=0;for(this[r]=e&255;++f<o&&(p*=256);)e<0&&L===0&&this[r+f-1]!==0&&(L=1),this[r+f]=(e/p>>0)-L&255;return r+o},c.prototype.writeIntBE=function(e,r,o,a){if(e=+e,r=r>>>0,!a){const X=Math.pow(2,8*o-1);re(this,e,r,o,X-1,-X)}let f=o-1,p=1,L=0;for(this[r+f]=e&255;--f>=0&&(p*=256);)e<0&&L===0&&this[r+f+1]!==0&&(L=1),this[r+f]=(e/p>>0)-L&255;return r+o},c.prototype.writeInt8=function(e,r,o){return e=+e,r=r>>>0,o||re(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1},c.prototype.writeInt16LE=function(e,r,o){return e=+e,r=r>>>0,o||re(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2},c.prototype.writeInt16BE=function(e,r,o){return e=+e,r=r>>>0,o||re(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2},c.prototype.writeInt32LE=function(e,r,o){return e=+e,r=r>>>0,o||re(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4},c.prototype.writeInt32BE=function(e,r,o){return e=+e,r=r>>>0,o||re(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4},c.prototype.writeBigInt64LE=pe(function(e,r=0){return ue(this,e,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=pe(function(e,r=0){return le(this,e,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function be(n,e,r,o,a,f){if(r+o>n.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Pe(n,e,r,o,a){return e=+e,r=r>>>0,a||be(n,e,r,4,34028234663852886e22,-34028234663852886e22),t.write(n,e,r,o,23,4),r+4}c.prototype.writeFloatLE=function(e,r,o){return Pe(this,e,r,!0,o)},c.prototype.writeFloatBE=function(e,r,o){return Pe(this,e,r,!1,o)};function ke(n,e,r,o,a){return e=+e,r=r>>>0,a||be(n,e,r,8,17976931348623157e292,-17976931348623157e292),t.write(n,e,r,o,52,8),r+8}c.prototype.writeDoubleLE=function(e,r,o){return ke(this,e,r,!0,o)},c.prototype.writeDoubleBE=function(e,r,o){return ke(this,e,r,!1,o)},c.prototype.copy=function(e,r,o,a){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(o||(o=0),!a&&a!==0&&(a=this.length),r>=e.length&&(r=e.length),r||(r=0),a>0&&a<o&&(a=o),a===o||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-r<a-o&&(a=e.length-r+o);const f=a-o;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,a):Uint8Array.prototype.set.call(e,this.subarray(o,a),r),f},c.prototype.fill=function(e,r,o,a){if(typeof e=="string"){if(typeof r=="string"?(a=r,r=0,o=this.length):typeof o=="string"&&(a=o,o=this.length),a!==void 0&&typeof a!="string")throw new TypeError("encoding must be a string");if(typeof a=="string"&&!c.isEncoding(a))throw new TypeError("Unknown encoding: "+a);if(e.length===1){const p=e.charCodeAt(0);(a==="utf8"&&p<128||a==="latin1")&&(e=p)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,e||(e=0);let f;if(typeof e=="number")for(f=r;f<o;++f)this[f]=e;else{const p=c.isBuffer(e)?e:c.from(e,a),L=p.length;if(L===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(f=0;f<o-r;++f)this[f+r]=p[f%L]}return this};const Ae={};function fe(n,e,r){Ae[n]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${n}]`,this.stack,delete this.name}get code(){return n}set code(a){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:a,writable:!0})}toString(){return`${this.name} [${n}]: ${this.message}`}}}fe("ERR_BUFFER_OUT_OF_BOUNDS",function(n){return n?`${n} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),fe("ERR_INVALID_ARG_TYPE",function(n,e){return`The "${n}" argument must be of type number. Received type ${typeof e}`},TypeError),fe("ERR_OUT_OF_RANGE",function(n,e,r){let o=`The value of "${n}" is out of range.`,a=r;return Number.isInteger(r)&&Math.abs(r)>2**32?a=ve(String(r)):typeof r=="bigint"&&(a=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(a=ve(a)),a+="n"),o+=` It must be ${e}. Received ${a}`,o},RangeError);function ve(n){let e="",r=n.length;const o=n[0]==="-"?1:0;for(;r>=o+4;r-=3)e=`_${n.slice(r-3,r)}${e}`;return`${n.slice(0,r)}${e}`}function je(n,e,r){me(e,"offset"),(n[e]===void 0||n[e+r]===void 0)&&_e(e,n.length-(r+1))}function Ne(n,e,r,o,a,f){if(n>r||n<e){const p=typeof e=="bigint"?"n":"";let L;throw f>3?e===0||e===BigInt(0)?L=`>= 0${p} and < 2${p} ** ${(f+1)*8}${p}`:L=`>= -(2${p} ** ${(f+1)*8-1}${p}) and < 2 ** ${(f+1)*8-1}${p}`:L=`>= ${e}${p} and <= ${r}${p}`,new Ae.ERR_OUT_OF_RANGE("value",L,n)}je(o,a,f)}function me(n,e){if(typeof n!="number")throw new Ae.ERR_INVALID_ARG_TYPE(e,"number",n)}function _e(n,e,r){throw Math.floor(n)!==n?(me(n,r),new Ae.ERR_OUT_OF_RANGE(r||"offset","an integer",n)):e<0?new Ae.ERR_BUFFER_OUT_OF_BOUNDS:new Ae.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,n)}const Ge=/[^+/0-9A-Za-z-_]/g;function xe(n){if(n=n.split("=")[0],n=n.trim().replace(Ge,""),n.length<2)return"";for(;n.length%4!==0;)n=n+"=";return n}function ce(n,e){e=e||1/0;let r;const o=n.length;let a=null;const f=[];for(let p=0;p<o;++p){if(r=n.charCodeAt(p),r>55295&&r<57344){if(!a){if(r>56319){(e-=3)>-1&&f.push(239,191,189);continue}else if(p+1===o){(e-=3)>-1&&f.push(239,191,189);continue}a=r;continue}if(r<56320){(e-=3)>-1&&f.push(239,191,189),a=r;continue}r=(a-55296<<10|r-56320)+65536}else a&&(e-=3)>-1&&f.push(239,191,189);if(a=null,r<128){if((e-=1)<0)break;f.push(r)}else if(r<2048){if((e-=2)<0)break;f.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;f.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;f.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return f}function We(n){const e=[];for(let r=0;r<n.length;++r)e.push(n.charCodeAt(r)&255);return e}function nr(n,e){let r,o,a;const f=[];for(let p=0;p<n.length&&!((e-=2)<0);++p)r=n.charCodeAt(p),o=r>>8,a=r%256,f.push(a),f.push(o);return f}function Ye(n){return u.toByteArray(xe(n))}function Le(n,e,r,o){let a;for(a=0;a<o&&!(a+r>=e.length||a>=n.length);++a)e[a+r]=n[a];return a}function ge(n,e){return n instanceof e||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===e.name}function he(n){return n!==n}const Ue=function(){const n="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const o=r*16;for(let a=0;a<16;++a)e[o+a]=n[r]+n[a]}return e}();function pe(n){return typeof BigInt>"u"?Me:n}function Me(){throw new Error("BigInt not supported")}},93689:function(Ce,h,T){"use strict";var u;u={value:!0};var t=T(53662),G=T(99211);const N=t.asCodec(_=>G.base16.parse(t.asString(_)),_=>G.base16.stringify(_).toLowerCase()),K=t.asCodec(_=>G.base32.parse(t.asString(_),{loose:!0}),_=>G.base32.stringify(_,{pad:!1})),y=t.asCodec(_=>G.base64.parse(t.asString(_)),_=>G.base64.stringify(_)),c=t.asObject({voucherId:t.asString,activates:t.asDate,created:t.asDate,ip:t.asString,ipDescription:t.asString,deviceDescription:t.asOptional(t.asString)}),b=t.asObject({encryptionType:t.asNumber,data_base64:y,iv_hex:N}),F=t.asObject({salt_hex:N,n:t.asNumber,r:t.asNumber,p:t.asNumber}),U=t.asObject({loginRequest:t.asOptional(t.asObject({appId:t.asString}).withRest),publicKey:y,timeout:t.asOptional(t.asNumber)}).withRest,j=t.asObject({publicKey:y,box:b}),Q=t.asArray(y),O=t.asObject({data:t.asUnknown,challengeId:t.asOptional(t.asString),deviceDescription:t.asOptional(t.asString),otp:t.asOptional(t.asString),syncToken:t.asOptional(t.asString),voucherId:t.asOptional(t.asString),voucherAuth:t.asOptional(y),loginId:t.asOptional(y),loginAuth:t.asOptional(y),userId:t.asOptional(y),passwordAuth:t.asOptional(y),pin2Id:t.asOptional(y),pin2Auth:t.asOptional(y),recovery2Id:t.asOptional(y),recovery2Auth:t.asOptional(Q),loginIds:t.asOptional(t.asArray(y)),otpResetAuth:t.asOptional(t.asString),did:t.asOptional(t.asString),l1:t.asOptional(y),lp1:t.asOptional(y),lpin1:t.asOptional(y),lra1:t.asOptional(y),recoveryAuth:t.asOptional(y)}),C=t.asObject({results:t.asOptional(t.asUnknown),status_code:t.asNumber,message:t.asString}),x=t.asObject({otpTimeout:t.asOptional(t.asNumber,7*24*60*60),otpKey:K}),M=t.asObject({passwordAuth:y,passwordAuthBox:b,passwordAuthSnrp:F,passwordBox:b,passwordKeySnrp:F}),z=t.asObject({pin2Id:y}),H=t.asObject({pin2Id:t.asOptional(y),pin2Auth:t.asOptional(y),pin2Box:t.asOptional(b),pin2KeyBox:t.asOptional(b),pin2TextBox:b}),I=t.asObject({recovery2Id:y}),m=t.asObject({recovery2Id:y,recovery2Auth:Q,recovery2Box:b,recovery2KeyBox:b,question2Box:b}),d=t.asObject({loginAuthBox:b,loginAuth:y}),g=t.asObject({userId:y,userTextBox:b}),P=t.asObject({approvedVouchers:t.asOptional(t.asArray(t.asString)),rejectedVouchers:t.asOptional(t.asArray(t.asString))}),$=t.asObject({keyBoxes:t.asArray(b),newSyncKeys:t.asOptional(t.asArray(t.asString),()=>[])}),k=t.asObject({appId:t.asString,loginId:y,parentBox:t.asOptional(b)}),v=t.asObject({challengeId:t.asString,challengeUri:t.asString}),ae=t.asObject({request:U,replies:t.asArray(j)}),Ee=t.asValue(!0),Oe=t.asObject({appId:t.asString,created:t.asDate,loginId:y,syncToken:t.asOptional(t.asString),children:t.asOptional(t.asArray(_=>Oe(_))),parentBox:t.asOptional(b),otpKey:t.asOptional(t.asEither(Ee,K)),otpResetDate:t.asOptional(t.asDate),otpTimeout:t.asOptional(t.asNumber),passwordAuthBox:t.asOptional(b),passwordAuthSnrp:t.asOptional(F),passwordBox:t.asOptional(t.asEither(Ee,b)),passwordKeySnrp:t.asOptional(F),pin2Box:t.asOptional(t.asEither(Ee,b)),pin2KeyBox:t.asOptional(b),pin2TextBox:t.asOptional(b),question2Box:t.asOptional(b),recovery2Box:t.asOptional(t.asEither(Ee,b)),recovery2KeyBox:t.asOptional(b),loginAuthBox:t.asOptional(b),userId:t.asOptional(y),userTextBox:t.asOptional(b),pendingVouchers:t.asOptional(t.asArray(c),()=>[]),keyBoxes:t.asOptional(t.asArray(b)),mnemonicBox:t.asOptional(b),rootKeyBox:t.asOptional(b),syncKeyBox:t.asOptional(b)}),R=t.asArray(t.asObject({loginId:y,otpResetPending:t.asOptional(t.asBoolean,!1),pendingVouchers:t.asOptional(t.asArray(c),()=>[]),recovery2Corrupt:t.asOptional(t.asBoolean,!1)})),we=t.asObject({login_id:t.asOptional(y),otp_reset_auth:t.asOptional(t.asString),otp_timeout_date:t.asOptional(t.asDate),reason:t.asOptional(t.asValue("ip","otp"),"otp"),voucher_activates:t.asOptional(t.asDate),voucher_auth:t.asOptional(y),voucher_id:t.asOptional(t.asString)}),De=t.asObject({otpResetDate:t.asDate}),Re=t.asObject({wait_seconds:t.asOptional(t.asNumber)}),$e=t.asObject({question2Box:b}),ze=t.asObject({loginId:y,passwordAuthSnrp:t.asOptional(F),questionBox:t.asOptional(b),questionKeySnrp:t.asOptional(F),recoveryAuthSnrp:t.asOptional(F)}),tr=t.uncleaner(b),te=t.uncleaner(j),re=t.uncleaner(U),ue=t.uncleaner(O),le=t.uncleaner(C),be=t.uncleaner(x),Pe=t.uncleaner(M),ke=t.uncleaner(z),Ae=t.uncleaner(H),fe=t.uncleaner(I),ve=t.uncleaner(m),je=t.uncleaner(d),Ne=t.uncleaner(g),me=t.uncleaner(P),_e=t.uncleaner($),Ge=t.uncleaner(k),xe=t.uncleaner(v),ce=t.uncleaner(ae),We=t.uncleaner(Oe),nr=t.uncleaner(R),Ye=t.uncleaner(we),Le=t.uncleaner(De),ge=t.uncleaner(Re),he=t.uncleaner($e),Ue=t.uncleaner(ze);function pe(_,A="Login requires a CAPTCHA"){if(!(this instanceof pe))throw new TypeError("Class constructor ChallengeError cannot be invoked without 'new'");var S;function D(J){return S=new Error(J),Object.defineProperty(S,"constructor",{value:pe,configurable:!0,writable:!0}),S}return D(A),S.name="ChallengeError",S.challengeId=_.challengeId,S.challengeUri=_.challengeUri,S}function Me(_="Please send a larger amount"){if(!(this instanceof Me))throw new TypeError("Class constructor DustSpendError cannot be invoked without 'new'");var A;function S(D){return A=new Error(D),Object.defineProperty(A,"constructor",{value:Me,configurable:!0,writable:!0}),A}return S(_),A.name="DustSpendError",A}function n(_){if(!(this instanceof n))throw new TypeError("Class constructor InsufficientFundsError cannot be invoked without 'new'");var A;function S(Ie){return A=new Error(Ie),Object.defineProperty(A,"constructor",{value:n,configurable:!0,writable:!0}),A}const{tokenId:D=null,networkFee:J}=_!=null?_:{};return S(`Insufficient ${D!=null?D:"funds"}`),A.tokenId=D,A.networkFee=J,A.name="InsufficientFundsError",A}function e(_="Cannot reach the network"){if(!(this instanceof e))throw new TypeError("Class constructor NetworkError cannot be invoked without 'new'");var A;function S(D){return A=new Error(D),Object.defineProperty(A,"constructor",{value:e,configurable:!0,writable:!0}),A}return S(_),A.name="NetworkError",A}function r(_="Unable to create zero-amount transaction."){if(!(this instanceof r))throw new TypeError("Class constructor NoAmountSpecifiedError cannot be invoked without 'new'");var A;function S(D){return A=new Error(D),Object.defineProperty(A,"constructor",{value:r,configurable:!0,writable:!0}),A}return S(_),A.name="NoAmountSpecifiedError",A}function o(_="The application is too old. Please upgrade."){if(!(this instanceof o))throw new TypeError("Class constructor ObsoleteApiError cannot be invoked without 'new'");var A;function S(D){return A=new Error(D),Object.defineProperty(A,"constructor",{value:o,configurable:!0,writable:!0}),A}return S(_),A.name="ObsoleteApiError",A}function a(_,A="Invalid OTP token"){if(!(this instanceof a))throw new TypeError("Class constructor OtpError cannot be invoked without 'new'");var S;function D(Ie){return S=new Error(Ie),Object.defineProperty(S,"constructor",{value:a,configurable:!0,writable:!0}),S}D(A),S.name="OtpError",S.reason="otp";const J=t.asMaybe(we)(_);if(J!=null)return J.login_id!=null&&(S.loginId=G.base64.stringify(J.login_id)),S.resetToken=J.otp_reset_auth,S.reason=J.reason,S.resetDate=J.otp_timeout_date,S.voucherActivates=J.voucher_activates,J.voucher_auth!=null&&(S.voucherAuth=G.base64.stringify(J.voucher_auth)),S.voucherId=J.voucher_id,S}function f(_,A="Invalid password"){if(!(this instanceof f))throw new TypeError("Class constructor PasswordError cannot be invoked without 'new'");var S;function D(Ie){return S=new Error(Ie),Object.defineProperty(S,"constructor",{value:f,configurable:!0,writable:!0}),S}D(A),S.name="PasswordError";const J=t.asMaybe(Re)(_);if(J!=null)return S.wait=J.wait_seconds,S}function p(_="Not enough confirmed funds"){if(!(this instanceof p))throw new TypeError("Class constructor PendingFundsError cannot be invoked without 'new'");var A;function S(D){return A=new Error(D),Object.defineProperty(A,"constructor",{value:p,configurable:!0,writable:!0}),A}return S(_),A.name="PendingFundsError",A}function L(_="Wallets can not be the same currency"){if(!(this instanceof L))throw new TypeError("Class constructor SameCurrencyError cannot be invoked without 'new'");var A;function S(D){return A=new Error(D),Object.defineProperty(A,"constructor",{value:L,configurable:!0,writable:!0}),A}return S(_),A.name="SameCurrencyError",A}function X(_="Spending to self"){if(!(this instanceof X))throw new TypeError("Class constructor SpendToSelfError cannot be invoked without 'new'");var A;function S(D){return A=new Error(D),Object.defineProperty(A,"constructor",{value:X,configurable:!0,writable:!0}),A}return S(_),A.name="SpendToSelfError",A}function W(_,A,S="from"){if(!(this instanceof W))throw new TypeError("Class constructor SwapAboveLimitError cannot be invoked without 'new'");var D;function J(Ie){return D=new Error(Ie),Object.defineProperty(D,"constructor",{value:W,configurable:!0,writable:!0}),D}return J("Amount is too high"),D.name="SwapAboveLimitError",D.pluginId=_.pluginId,D.nativeMax=A,D.direction=S,D}function Z(_,A,S="from"){if(!(this instanceof Z))throw new TypeError("Class constructor SwapBelowLimitError cannot be invoked without 'new'");var D;function J(Ie){return D=new Error(Ie),Object.defineProperty(D,"constructor",{value:Z,configurable:!0,writable:!0}),D}return J("Amount is too low"),D.name="SwapBelowLimitError",D.pluginId=_.pluginId,D.nativeMin=A,D.direction=S,D}function q(_,A){if(!(this instanceof q))throw new TypeError("Class constructor SwapCurrencyError cannot be invoked without 'new'");var S;function D(E){return S=new Error(E),Object.defineProperty(S,"constructor",{value:q,configurable:!0,writable:!0}),S}const{fromWallet:J,toWallet:Ie,fromTokenId:Qe,toTokenId:qe}=A,_r=J.currencyConfig.currencyInfo.pluginId,i=Ie.currencyConfig.currencyInfo.pluginId,s=`${_r}:${String(Qe)}`,l=`${i}:${String(qe)}`;return D(`${_.displayName} does not support ${s} to ${l}`),S.name="SwapCurrencyError",S.pluginId=_.pluginId,S.fromTokenId=Qe!=null?Qe:null,S.toTokenId=qe!=null?qe:null,S}function He(_,A){if(!(this instanceof He))throw new TypeError("Class constructor SwapPermissionError cannot be invoked without 'new'");var S;function D(J){return S=new Error(J),Object.defineProperty(S,"constructor",{value:He,configurable:!0,writable:!0}),S}return A!=null?D(A):D("You are not allowed to make this trade"),S.name="SwapPermissionError",S.pluginId=_.pluginId,S.reason=A,S}function Xe(_="Invalid username"){if(!(this instanceof Xe))throw new TypeError("Class constructor UsernameError cannot be invoked without 'new'");var A;function S(D){return A=new Error(D),Object.defineProperty(A,"constructor",{value:Xe,configurable:!0,writable:!0}),A}return S(_),A.name="UsernameError",A}function se(_){return function(S){if(S instanceof Error&&S.name===_)return S}}const Er=se("ChallengeError"),ir=se("DustSpendError"),or=se("InsufficientFundsError"),ar=se("NetworkError"),wr=se("NoAmountSpecifiedError"),sr=se("ObsoleteApiError"),ur=se("OtpError"),gr=se("PasswordError"),xr=se("PendingFundsError"),Ir=se("SameCurrencyError"),Te=se("SpendToSelfError"),mr=se("SwapAboveLimitError"),Br=se("SwapBelowLimitError"),cr=se("SwapCurrencyError"),Cr=se("SwapPermissionError"),Rr=se("UsernameError"),Or=t.asObject(b),Ze=t.asObject({loginId:y,voucherAuth:y,voucherId:t.asString,created:t.asDate,activates:t.asDate,status:t.asValue("pending","approved","rejected"),ip:t.asString,ipDescription:t.asString,deviceDescription:t.asOptional(t.asString)}),lr=t.asObject({appId:t.asString,created:t.asOptional(t.asDate,()=>new Date),loginId:y,children:t.asOptional(t.asArray(_=>lr(_)),()=>[]),parentBox:t.asOptional(b),parentId:()=>{},otpKey:t.asOptional(K),otpResetAuth:t.asOptional(t.asString),otpResetDate:t.asOptional(t.asDate),otpTimeout:t.asOptional(t.asNumber),passwordAuth:t.asOptional(y),passwordAuthBox:t.asOptional(b),passwordAuthSnrp:t.asOptional(F),passwordBox:t.asOptional(b),passwordKeySnrp:t.asOptional(F),pin2Id:t.asOptional(y),pin2Auth:t.asOptional(y),pin2Box:t.asOptional(b),pin2KeyBox:t.asOptional(b),pin2TextBox:t.asOptional(b),recovery2Id:t.asOptional(y),recovery2Auth:t.asOptional(Q),question2Box:t.asOptional(b),recovery2Box:t.asOptional(b),recovery2KeyBox:t.asOptional(b),loginAuth:t.asOptional(y),loginAuthBox:t.asOptional(b),userId:t.asOptional(y),userTextBox:t.asOptional(b),keyBoxes:t.asOptional(t.asArray(b),()=>[]),mnemonicBox:t.asOptional(b),rootKeyBox:t.asOptional(b),syncKeyBox:t.asOptional(b),vouchers:t.asOptional(t.asArray(Ze),()=>[]),pinBox:t.asOptional(b),pinId:t.asOptional(t.asString),pinKeyBox:t.asOptional(b)}),br=t.uncleaner(lr),Pr=t.uncleaner(Or);h.WK=pe,h.DE=Me,h.k5=n,h.Dr=e,h.ef=r,h.GY=o,h.WM=a,h.Kz=f,h.uX=p,h.IK=L,h.gw=X,h.WU=W,h.G8=Z,h.xQ=q,h.D7=He,h.hi=Xe,h.zU=N,h.dq=K,h.m$=y,h.MU=v,h.ID=x,h.k0=M,h.D4=z,h.kL=H,h.jx=I,h.A_=m,h.v1=d,h.TL=g,h.Og=P,h.ft=$,h.KU=k,h.ZU=b,h.ye=j,h.Xj=U,h.Rn=lr,h.bo=c,h.KL=Or,h.rW=F,h.U3=Ze,h.$Y=ae,h.EJ=Oe,h.XY=O,h.v7=C,h.up=Er,h.h=ir,h.Cx=or,h.Zz=ar,h.CU=wr,h.ib=sr,h.eT=ur,h._0=gr,h.UR=xr,h.Up=Ir,h.y0=Te,h.A2=mr,h.ql=Br,h.FX=cr,h.Jr=Cr,h.zS=Rr,h.pK=R,h.ud=we,h.Zk=De,h.Mf=Re,h.U0=Q,h.CX=$e,h.l4=ze,h.Jv=xe,h.T0=be,h.z8=Pe,h.Gt=ke,h.Fm=Ae,h.b4=fe,h.N2=ve,h.K8=je,h.gB=Ne,h.bd=me,h.GG=_e,h.V$=Ge,h.CC=tr,h.dT=te,h.uT=re,h._j=br,h.p4=Pr,h.W0=ce,h.zk=We,h.AB=ue,h.sn=le,h._u=nr,h.Py=Ye,h.iu=Le,h.l7=ge,h.JU=he,h.O6=Ue},251:function(Ce,h){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */h.read=function(T,u,t,G,N){var K,y,c=N*8-G-1,b=(1<<c)-1,F=b>>1,U=-7,j=t?N-1:0,Q=t?-1:1,O=T[u+j];for(j+=Q,K=O&(1<<-U)-1,O>>=-U,U+=c;U>0;K=K*256+T[u+j],j+=Q,U-=8);for(y=K&(1<<-U)-1,K>>=-U,U+=G;U>0;y=y*256+T[u+j],j+=Q,U-=8);if(K===0)K=1-F;else{if(K===b)return y?NaN:(O?-1:1)*(1/0);y=y+Math.pow(2,G),K=K-F}return(O?-1:1)*y*Math.pow(2,K-G)},h.write=function(T,u,t,G,N,K){var y,c,b,F=K*8-N-1,U=(1<<F)-1,j=U>>1,Q=N===23?Math.pow(2,-24)-Math.pow(2,-77):0,O=G?0:K-1,C=G?1:-1,x=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===1/0?(c=isNaN(u)?1:0,y=U):(y=Math.floor(Math.log(u)/Math.LN2),u*(b=Math.pow(2,-y))<1&&(y--,b*=2),y+j>=1?u+=Q/b:u+=Q*Math.pow(2,1-j),u*b>=2&&(y++,b/=2),y+j>=U?(c=0,y=U):y+j>=1?(c=(u*b-1)*Math.pow(2,N),y=y+j):(c=u*Math.pow(2,j-1)*Math.pow(2,N),y=0));N>=8;T[t+O]=c&255,O+=C,c/=256,N-=8);for(y=y<<N|c,F+=N;F>0;T[t+O]=y&255,O+=C,y/=256,F-=8);T[t+O-C]|=x*128}},73992:function(Ce,h){"use strict";var T=Object.prototype.hasOwnProperty,u;function t(y){try{return decodeURIComponent(y.replace(/\+/g," "))}catch{return null}}function G(y){try{return encodeURIComponent(y)}catch{return null}}function N(y){for(var c=/([^=?&]+)=?([^&]*)/g,b={},F;F=c.exec(y);){var U=t(F[1]),j=t(F[2]);U===null||j===null||U in b||(b[U]=j)}return b}function K(y,c){c=c||"";var b=[],F,U;typeof c!="string"&&(c="?");for(U in y)if(T.call(y,U)){if(F=y[U],!F&&(F===null||F===u||isNaN(F))&&(F=""),U=encodeURIComponent(U),F=encodeURIComponent(F),U===null||F===null)continue;b.push(U+"="+F)}return b.length?c+b.join("&"):""}h.stringify=K,h.parse=N},92063:function(Ce){"use strict";Ce.exports=function(T,u){if(u=u.split(":")[0],T=+T,!T)return!1;switch(u){case"http":case"ws":return T!==80;case"https":case"wss":return T!==443;case"ftp":return T!==21;case"gopher":return T!==70;case"file":return!1}return T!==0}},63054:function(Ce,h,T){"use strict";T.d(h,{lK:function(){return ce}});function u(...i){if(i.length>1){i[0]=i[0].slice(0,-1);const s=i.length-1;for(let l=1;l<s;++l)i[l]=i[l].slice(1,-1);return i[s]=i[s].slice(1),i.join("")}else return i[0]}function t(i){return"(?:"+i+")"}function G(i){return i===void 0?"undefined":i===null?"null":Object.prototype.toString.call(i).split(" ").pop().split("]").shift().toLowerCase()}function N(i){return i.toUpperCase()}function K(i){return i!=null?i instanceof Array?i:typeof i.length!="number"||i.split||i.setInterval||i.call?[i]:Array.prototype.slice.call(i):[]}function y(i){const s="[A-Za-z]",l="[\\x0D]",E="[0-9]",w="[\\x22]",B=u(E,"[A-Fa-f]"),Y="[\\x0A]",ie="[\\x20]",ee=t(t("%[EFef]"+B+"%"+B+B+"%"+B+B)+"|"+t("%[89A-Fa-f]"+B+"%"+B+B)+"|"+t("%"+B+B)),de="[\\:\\/\\?\\#\\[\\]\\@]",V="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ye=u(de,V),Se=i?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",Be=i?"[\\uE000-\\uF8FF]":"[]",oe=u(s,E,"[\\-\\.\\_\\~]",Se),Ve=t(s+u(s,E,"[\\+\\-\\.]")+"*"),fr=t(t(ee+"|"+u(oe,V,"[\\:]"))+"*"),Ar=t(t("25[0-5]")+"|"+t("2[0-4]"+E)+"|"+t("1"+E+E)+"|"+t("[1-9]"+E)+"|"+E),Tr=t(Ar+"\\."+Ar+"\\."+Ar+"\\."+Ar),ne=t(B+"{1,4}"),Ke=t(t(ne+"\\:"+ne)+"|"+Tr),Mr=t(t(ne+"\\:")+"{6}"+Ke),kr=t("\\:\\:"+t(ne+"\\:")+"{5}"+Ke),vr=t(t(ne)+"?\\:\\:"+t(ne+"\\:")+"{4}"+Ke),jr=t(t(t(ne+"\\:")+"{0,1}"+ne)+"?\\:\\:"+t(ne+"\\:")+"{3}"+Ke),Hr=t(t(t(ne+"\\:")+"{0,2}"+ne)+"?\\:\\:"+t(ne+"\\:")+"{2}"+Ke),qr=t(t(t(ne+"\\:")+"{0,3}"+ne)+"?\\:\\:"+ne+"\\:"+Ke),Vr=t(t(t(ne+"\\:")+"{0,4}"+ne)+"?\\:\\:"+Ke),Kr=t(t(t(ne+"\\:")+"{0,5}"+ne)+"?\\:\\:"+ne),zr=t(t(t(ne+"\\:")+"{0,6}"+ne)+"?\\:\\:"),Fr=t([Mr,kr,vr,jr,Hr,qr,Vr,Kr,zr].join("|")),Gr=t("[vV]"+B+"+\\."+u(oe,V,"[\\:]")+"+"),Wr=t("\\["+t(Fr+"|"+Gr)+"\\]"),Dr=t(t(ee+"|"+u(oe,V))+"*"),hr=t(Wr+"|"+Tr+"(?!"+Dr+")|"+Dr),pr=t(E+"*"),$r=t(t(fr+"@")+"?"+hr+t("\\:"+pr)+"?"),dr=t(ee+"|"+u(oe,V,"[\\:\\@]")),Yr=t(dr+"*"),Nr=t(dr+"+"),Xr=t(t(ee+"|"+u(oe,V,"[\\@]"))+"+"),Fe=t(t("\\/"+Yr)+"*"),Je=t("\\/"+t(Nr+Fe)+"?"),Ur=t(Xr+Fe),Sr=t(Nr+Fe),er="(?!"+dr+")",et=t(Fe+"|"+Je+"|"+Ur+"|"+Sr+"|"+er),rr=t(t(dr+"|"+u("[\\/\\?]",Be))+"*"),yr=t(t(dr+"|[\\/\\?]")+"*"),Lr=t(t("\\/\\/"+$r+Fe)+"|"+Je+"|"+Sr+"|"+er),Zr=t(Ve+"\\:"+Lr+t("\\?"+rr)+"?"+t("\\#"+yr)+"?"),Qr=t(t("\\/\\/"+$r+Fe)+"|"+Je+"|"+Ur+"|"+er),Jr=t(Qr+t("\\?"+rr)+"?"+t("\\#"+yr)+"?"),rt=t(Zr+"|"+Jr),tt=t(Ve+"\\:"+Lr+t("\\?"+rr)+"?"),nt="^("+Ve+")\\:"+t(t("\\/\\/("+t("("+fr+")@")+"?("+hr+")"+t("\\:("+pr+")")+"?)")+"?("+Fe+"|"+Je+"|"+Sr+"|"+er+")")+t("\\?("+rr+")")+"?"+t("\\#("+yr+")")+"?$",it="^(){0}"+t(t("\\/\\/("+t("("+fr+")@")+"?("+hr+")"+t("\\:("+pr+")")+"?)")+"?("+Fe+"|"+Je+"|"+Ur+"|"+er+")")+t("\\?("+rr+")")+"?"+t("\\#("+yr+")")+"?$",ot="^("+Ve+")\\:"+t(t("\\/\\/("+t("("+fr+")@")+"?("+hr+")"+t("\\:("+pr+")")+"?)")+"?("+Fe+"|"+Je+"|"+Sr+"|"+er+")")+t("\\?("+rr+")")+"?$",at="^"+t("\\#("+yr+")")+"?$",st="^"+t("("+fr+")@")+"?("+hr+")"+t("\\:("+pr+")")+"?$";return{NOT_SCHEME:new RegExp(u("[^]",s,E,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(u("[^\\%\\:]",oe,V),"g"),NOT_HOST:new RegExp(u("[^\\%\\[\\]\\:]",oe,V),"g"),NOT_PATH:new RegExp(u("[^\\%\\/\\:\\@]",oe,V),"g"),NOT_PATH_NOSCHEME:new RegExp(u("[^\\%\\/\\@]",oe,V),"g"),NOT_QUERY:new RegExp(u("[^\\%]",oe,V,"[\\:\\@\\/\\?]",Be),"g"),NOT_FRAGMENT:new RegExp(u("[^\\%]",oe,V,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(u("[^]",oe,V),"g"),UNRESERVED:new RegExp(oe,"g"),OTHER_CHARS:new RegExp(u("[^\\%]",oe,ye),"g"),PCT_ENCODED:new RegExp(ee,"g"),IPV6ADDRESS:new RegExp("\\[?("+Fr+")\\]?","g")}}var c=y(!1),b=y(!0);const F=2147483647,U=36,j=1,Q=26,O=38,C=700,x=72,M=128,z="-",H=/^xn--/,I=/[^\0-\x7E]/,m=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},g=U-j,P=Math.floor,$=String.fromCharCode;function k(i){throw new RangeError(d[i])}function v(i,s){const l=[];let E=i.length;for(;E--;)l[E]=s(i[E]);return l}function ae(i,s){const l=i.split("@");let E="";l.length>1&&(E=l[0]+"@",i=l[1]),i=i.replace(m,".");const w=i.split("."),B=v(w,s).join(".");return E+B}function Ee(i){const s=[];let l=0;const E=i.length;for(;l<E;){const w=i.charCodeAt(l++);if(w>=55296&&w<=56319&&l<E){const B=i.charCodeAt(l++);(B&64512)==56320?s.push(((w&1023)<<10)+(B&1023)+65536):(s.push(w),l--)}else s.push(w)}return s}const Oe=i=>String.fromCodePoint(...i),R=function(i){return i-48<10?i-22:i-65<26?i-65:i-97<26?i-97:U},we=function(i,s){return i+22+75*(i<26)-((s!=0)<<5)},De=function(i,s,l){let E=0;for(i=l?P(i/C):i>>1,i+=P(i/s);i>g*Q>>1;E+=U)i=P(i/g);return P(E+(g+1)*i/(i+O))},Re=function(i){const s=[],l=i.length;let E=0,w=M,B=x,Y=i.lastIndexOf(z);Y<0&&(Y=0);for(let ie=0;ie<Y;++ie)i.charCodeAt(ie)>=128&&k("not-basic"),s.push(i.charCodeAt(ie));for(let ie=Y>0?Y+1:0;ie<l;){let ee=E;for(let V=1,ye=U;;ye+=U){ie>=l&&k("invalid-input");const Se=R(i.charCodeAt(ie++));(Se>=U||Se>P((F-E)/V))&&k("overflow"),E+=Se*V;const Be=ye<=B?j:ye>=B+Q?Q:ye-B;if(Se<Be)break;const oe=U-Be;V>P(F/oe)&&k("overflow"),V*=oe}const de=s.length+1;B=De(E-ee,de,ee==0),P(E/de)>F-w&&k("overflow"),w+=P(E/de),E%=de,s.splice(E++,0,w)}return String.fromCodePoint(...s)},$e=function(i){const s=[];i=Ee(i);let l=i.length,E=M,w=0,B=x;for(const ee of i)ee<128&&s.push($(ee));let Y=s.length,ie=Y;for(Y&&s.push(z);ie<l;){let ee=F;for(const V of i)V>=E&&V<ee&&(ee=V);const de=ie+1;ee-E>P((F-w)/de)&&k("overflow"),w+=(ee-E)*de,E=ee;for(const V of i)if(V<E&&++w>F&&k("overflow"),V==E){let ye=w;for(let Se=U;;Se+=U){const Be=Se<=B?j:Se>=B+Q?Q:Se-B;if(ye<Be)break;const oe=ye-Be,Ve=U-Be;s.push($(we(Be+oe%Ve,0))),ye=P(oe/Ve)}s.push($(we(ye,0))),B=De(w,de,ie==Y),w=0,++ie}++w,++E}return s.join("")};var re={version:"2.1.0",ucs2:{decode:Ee,encode:Oe},decode:Re,encode:$e,toASCII:function(i){return ae(i,function(s){return I.test(s)?"xn--"+$e(s):s})},toUnicode:function(i){return ae(i,function(s){return H.test(s)?Re(s.slice(4).toLowerCase()):s})}};const ue={};function le(i){const s=i.charCodeAt(0);let l;return s<16?l="%0"+s.toString(16).toUpperCase():s<128?l="%"+s.toString(16).toUpperCase():s<2048?l="%"+(s>>6|192).toString(16).toUpperCase()+"%"+(s&63|128).toString(16).toUpperCase():l="%"+(s>>12|224).toString(16).toUpperCase()+"%"+(s>>6&63|128).toString(16).toUpperCase()+"%"+(s&63|128).toString(16).toUpperCase(),l}function be(i){let s="",l=0;const E=i.length;for(;l<E;){const w=parseInt(i.substr(l+1,2),16);if(w<128)s+=String.fromCharCode(w),l+=3;else if(w>=194&&w<224){if(E-l>=6){const B=parseInt(i.substr(l+4,2),16);s+=String.fromCharCode((w&31)<<6|B&63)}else s+=i.substr(l,6);l+=6}else if(w>=224){if(E-l>=9){const B=parseInt(i.substr(l+4,2),16),Y=parseInt(i.substr(l+7,2),16);s+=String.fromCharCode((w&15)<<12|(B&63)<<6|Y&63)}else s+=i.substr(l,9);l+=9}else s+=i.substr(l,3),l+=3}return s}function Pe(i,s){function l(E){const w=be(E);return w.match(s.UNRESERVED)?w:E}return i.scheme&&(i.scheme=String(i.scheme).replace(s.PCT_ENCODED,l).toLowerCase().replace(s.NOT_SCHEME,"")),i.userinfo!==void 0&&(i.userinfo=String(i.userinfo).replace(s.PCT_ENCODED,l).replace(s.NOT_USERINFO,le).replace(s.PCT_ENCODED,N)),i.host!==void 0&&(i.host=String(i.host).replace(s.PCT_ENCODED,l).toLowerCase().replace(s.NOT_HOST,le).replace(s.PCT_ENCODED,N)),i.path!==void 0&&(i.path=String(i.path).replace(s.PCT_ENCODED,l).replace(i.scheme?s.NOT_PATH:s.NOT_PATH_NOSCHEME,le).replace(s.PCT_ENCODED,N)),i.query!==void 0&&(i.query=String(i.query).replace(s.PCT_ENCODED,l).replace(s.NOT_QUERY,le).replace(s.PCT_ENCODED,N)),i.fragment!==void 0&&(i.fragment=String(i.fragment).replace(s.PCT_ENCODED,l).replace(s.NOT_FRAGMENT,le).replace(s.PCT_ENCODED,N)),i}const ke=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[\dA-F:.]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Ae="".match(/(){0}/)[1]===void 0;function fe(i,s={}){const l={},E=s.iri!==!1?IRI_PROTOCOL:URI_PROTOCOL;s.reference==="suffix"&&(i=(s.scheme?s.scheme+":":"")+"//"+i);const w=i.match(ke);if(w){Ae?(l.scheme=w[1],l.userinfo=w[3],l.host=w[4],l.port=parseInt(w[5],10),l.path=w[6]||"",l.query=w[7],l.fragment=w[8],isNaN(l.port)&&(l.port=w[5])):(l.scheme=w[1]||void 0,l.userinfo=i.indexOf("@")!==-1?w[3]:void 0,l.host=i.indexOf("//")!==-1?w[4]:void 0,l.port=parseInt(w[5],10),l.path=w[6]||"",l.query=i.indexOf("?")!==-1?w[7]:void 0,l.fragment=i.indexOf("#")!==-1?w[8]:void 0,isNaN(l.port)&&(l.port=i.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?w[4]:void 0)),l.host&&(l.host=l.host.replace(E.IPV6ADDRESS,"$1")),l.scheme===void 0&&l.userinfo===void 0&&l.host===void 0&&l.port===void 0&&!l.path&&l.query===void 0?l.reference="same-document":l.scheme===void 0?l.reference="relative":l.fragment===void 0?l.reference="absolute":l.reference="uri",s.reference&&s.reference!=="suffix"&&s.reference!==l.reference&&(l.error=l.error||"URI is not a "+s.reference+" reference.");const B=ue[(s.scheme||l.scheme||"").toLowerCase()];if(!s.unicodeSupport&&(!B||!B.unicodeSupport)){if(l.host&&(s.domainHost||B&&B.domainHost))try{l.host=punycode.toASCII(l.host.replace(E.PCT_ENCODED,be).toLowerCase())}catch(Y){l.error=l.error||"Host's domain name can not be converted to ASCII via punycode: "+Y}Pe(l,URI_PROTOCOL)}else Pe(l,E);B&&B.parse&&B.parse(l,s)}else l.error=l.error||"URI can not be parsed.";return l}function ve(i,s){const l=s.iri!==!1?b:c,E=[];return i.userinfo!==void 0&&(E.push(i.userinfo),E.push("@")),i.host!==void 0&&E.push(String(i.host).replace(l.IPV6ADDRESS,"[$1]")),typeof i.port=="number"&&(E.push(":"),E.push(i.port.toString(10))),E.length?E.join(""):void 0}const je=/^\.\.?\//,Ne=/^\/\.(\/|$)/,me=/^\/\.\.(\/|$)/,_e=/^\.\.?$/,Ge=/^\/?(?:.|\n)*?(?=\/|$)/;function xe(i){const s=[];for(;i.length;)if(i.match(je))i=i.replace(je,"");else if(i.match(Ne))i=i.replace(Ne,"/");else if(i.match(me))i=i.replace(me,"/"),s.pop();else if(i==="."||i==="..")i="";else{const l=i.match(Ge);if(l){const E=l[0];i=i.slice(E.length),s.push(E)}else throw new Error("Unexpected dot segment condition")}return s.join("")}function ce(i,s={}){const l=s.iri?b:c,E=[],w=ue[(s.scheme||i.scheme||"").toLowerCase()];if(w&&w.serialize&&w.serialize(i,s),i.host&&!l.IPV6ADDRESS.test(i.host)){if(s.domainHost||w&&w.domainHost)try{i.host=s.iri?re.toUnicode(i.host):re.toASCII(i.host.replace(l.PCT_ENCODED,be).toLowerCase())}catch(Y){i.error=i.error||"Host's domain name can not be converted to "+(s.iri?"Unicode":"ASCII")+" via punycode: "+Y}}Pe(i,l),s.reference!=="suffix"&&i.scheme&&(E.push(i.scheme),E.push(":"));const B=ve(i,s);if(B!==void 0&&(s.reference!=="suffix"&&E.push("//"),E.push(B),i.path&&i.path.charAt(0)!=="/"&&E.push("/")),i.path!==void 0){let Y=i.path;!s.absolutePath&&(!w||!w.absolutePath)&&(Y=xe(Y)),B===void 0&&(Y=Y.replace(/^\/\//,"/%2F")),E.push(Y)}return i.query!==void 0&&(E.push("?"),E.push(i.query)),i.fragment!==void 0&&(E.push("#"),E.push(i.fragment)),E.join("")}function We(i,s,l={},E){const w={};return E||(i=fe(ce(i,l),l),s=fe(ce(s,l),l)),l=l||{},!l.tolerant&&s.scheme?(w.scheme=s.scheme,w.userinfo=s.userinfo,w.host=s.host,w.port=s.port,w.path=xe(s.path||""),w.query=s.query):(s.userinfo!==void 0||s.host!==void 0||s.port!==void 0?(w.userinfo=s.userinfo,w.host=s.host,w.port=s.port,w.path=xe(s.path||""),w.query=s.query):(s.path?(s.path.charAt(0)==="/"?w.path=xe(s.path):((i.userinfo!==void 0||i.host!==void 0||i.port!==void 0)&&!i.path?w.path="/"+s.path:i.path?w.path=i.path.slice(0,i.path.lastIndexOf("/")+1)+s.path:w.path=s.path,w.path=xe(w.path)),w.query=s.query):(w.path=i.path,s.query!==void 0?w.query=s.query:w.query=i.query),w.userinfo=i.userinfo,w.host=i.host,w.port=i.port),w.scheme=i.scheme),w.fragment=s.fragment,w}function nr(i,s,l){return ce(We(fe(i,l),fe(s,l),l,!0),l)}function Ye(i,s){return typeof i=="string"?i=ce(fe(i,s),s):typeOf(i)==="object"&&(i=fe(ce(i,s),s)),i}function Le(i,s,l){return typeof i=="string"?i=ce(fe(i,l),l):typeOf(i)==="object"&&(i=ce(i,l)),typeof s=="string"?s=ce(fe(s,l),l):typeOf(s)==="object"&&(s=ce(s,l)),i===s}function ge(i,s){return i&&i.toString().replace(!s||!s.iri?URI_PROTOCOL.ESCAPE:IRI_PROTOCOL.ESCAPE,le)}function he(i,s){return i&&i.toString().replace(!s||!s.iri?c.PCT_ENCODED:b.PCT_ENCODED,be)}var Ue={scheme:"http",domainHost:!0,parse:function(i,s){return i.host||(i.error=i.error||"HTTP URIs must have a host."),i},serialize:function(i,s){return(i.port===(String(i.scheme).toLowerCase()!=="https"?80:443)||i.port==="")&&(i.port=void 0),i.path||(i.path="/"),i}},pe={scheme:"https",domainHost:Ue.domainHost,parse:Ue.parse,serialize:Ue.serialize};const Me={},e="[A-Za-z0-9\\-\\.\\_\\~"+(!0?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",r="[0-9A-Fa-f]",o=t(t("%[EFef]"+r+"%"+r+r+"%"+r+r)+"|"+t("%[89A-Fa-f]"+r+"%"+r+r)+"|"+t("%"+r+r)),a="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",f="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",p=u(f,'[\\"\\\\]'),L=t(a+"+"+t("\\."+a+"+")+"*"),X=t("\\\\"+p),W=t(f+"|"+X),Z=t('\\"'+W+'*\\"'),q="[\\x21-\\x5A\\x5E-\\x7E]",He="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Xe=t(e+"|"+o+"|"+He),se=t(L+"|\\["+q+"*\\]"),Er=t(L+"|"+Z),ir=t(Er+"\\@"+se),or=t(ir+t("\\,"+ir)+"*"),ar=t(Xe+"*"),wr=ar,sr=t(ar+"\\="+wr),ur=t(sr+t("\\&"+sr)+"*"),gr=t("\\?"+ur),xr=new RegExp("^mailto\\:"+or+"?"+gr+"?$"),Ir=new RegExp(e,"g"),Te=new RegExp(o,"g"),mr=new RegExp(u("[^]",a,"[\\.]",'[\\"]',p),"g"),Br=new RegExp(u("[^]",a,"[\\.]","[\\[]",q,"[\\]]"),"g"),cr=new RegExp(u("[^]",e,He),"g"),Cr=cr,Rr=new RegExp("^"+or+"$"),Or=new RegExp("^"+ur+"$");function Ze(i){const s=be(i);return s.match(Ir)?s:i}var lr={scheme:"mailto",parse:function(i,s){const l=i.to=i.path?i.path.split(","):[];if(i.path=void 0,i.query){let E=!1;const w={},B=i.query.split("&");for(let Y=0,ie=B.length;Y<ie;++Y){const ee=B[Y].split("=");switch(ee[0]){case"to":const de=ee[1].split(",");for(let V=0,ye=de.length;V<ye;++V)l.push(de[V]);break;case"subject":i.subject=he(ee[1],s);break;case"body":i.body=he(ee[1],s);break;default:E=!0,w[he(ee[0],s)]=he(ee[1],s);break}}E&&(i.headers=w)}i.query=void 0;for(let E=0,w=l.length;E<w;++E){const B=l[E].split("@");if(B[0]=he(B[0]),s.unicodeSupport)B[1]=he(B[1],s).toLowerCase();else try{B[1]=re.toASCII(he(B[1],s).toLowerCase())}catch(Y){i.error=i.error||"Email address's domain name can not be converted to ASCII via punycode: "+Y}l[E]=B.join("@")}return i},serialize:function(i,s){const l=K(i.to);if(l){for(let B=0,Y=l.length;B<Y;++B){const ie=String(l[B]),ee=ie.lastIndexOf("@"),de=ie.slice(0,ee).replace(Te,Ze).replace(Te,N).replace(mr,le);let V=ie.slice(ee+1);try{V=s.iri?re.toUnicode(V):re.toASCII(he(V,s).toLowerCase())}catch(ye){i.error=i.error||"Email address's domain name can not be converted to "+(s.iri?"Unicode":"ASCII")+" via punycode: "+ye}l[B]=de+"@"+V}i.path=l.join(",")}const E=i.headers=i.headers||{};i.subject&&(E.subject=i.subject),i.body&&(E.body=i.body);const w=[];for(const B in E)E[B]!==Me[B]&&w.push(B.replace(Te,Ze).replace(Te,N).replace(cr,le)+"="+E[B].replace(Te,Ze).replace(Te,N).replace(Cr,le));return w.length&&(i.query=w.join("&")),i}};const br="(?:[0-9A-Za-z][0-9A-Za-z\\-]{1,31})",Pr="(?:\\%[0-9A-Fa-f]{2})",_="[0-9A-Za-z\\(\\)\\+\\,\\-\\.\\:\\=\\@\\;\\$\\_\\!\\*\\'\\/\\?\\#]",A="(?:(?:"+Pr+"|"+_+")+)",S=new RegExp("^urn\\:("+br+")$"),D=new RegExp("^("+br+")\\:("+A+")$"),J=/^([^\:]+)\:(.*)/,Ie=/[\x00-\x20\\\"\&\<\>\[\]\^\`\{\|\}\~\x7F-\xFF]/g;var Qe={scheme:"urn",parse:function(i,s){const l=i.path&&i.path.match(J);if(l){const E="urn:"+l[1].toLowerCase();let w=ue[E];w||(w=ue[E]={scheme:E,parse:function(B,Y){return B},serialize:ue.urn.serialize}),i.scheme=E,i.path=l[2],i=w.parse(i,s)}else i.error=i.error||"URN can not be parsed.";return i},serialize:function(i,s){const l=i.scheme||s.scheme;if(l&&l!=="urn"){const E=l.match(S)||["urn:"+l,l];i.scheme="urn",i.path=E[1]+":"+(i.path?i.path.replace(Ie,le):"")}return i}};const qe=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/;var _r={scheme:"urn:uuid",parse:function(i,s){return!s.tolerant&&(!i.path||!i.path.match(qe))&&(i.error=i.error||"UUID is not valid."),i},serialize:function(i,s){return!s.tolerant&&(!i.path||!i.path.match(qe))?i.scheme=void 0:i.path=(i.path||"").toLowerCase(),ue.urn.serialize(i,s)}};ue.http=Ue,ue.https=pe,ue.mailto=lr,ue.urn=Qe,ue["urn:uuid"]=_r},61160:function(Ce,h,T){"use strict";var u=T(92063),t=T(73992),G=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,N=/[\n\r\t]/g,K=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,y=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,b=/^[a-zA-Z]:/;function F(I){return(I||"").toString().replace(G,"")}var U=[["#","hash"],["?","query"],function(m,d){return O(d.protocol)?m.replace(/\\/g,"/"):m},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],j={hash:1,query:1};function Q(I){var m;typeof window<"u"?m=window:typeof T.g<"u"?m=T.g:typeof self<"u"?m=self:m={};var d=m.location||{};I=I||d;var g={},P=typeof I,$;if(I.protocol==="blob:")g=new M(unescape(I.pathname),{});else if(P==="string"){g=new M(I,{});for($ in j)delete g[$]}else if(P==="object"){for($ in I)$ in j||(g[$]=I[$]);g.slashes===void 0&&(g.slashes=K.test(I.href))}return g}function O(I){return I==="file:"||I==="ftp:"||I==="http:"||I==="https:"||I==="ws:"||I==="wss:"}function C(I,m){I=F(I),I=I.replace(N,""),m=m||{};var d=c.exec(I),g=d[1]?d[1].toLowerCase():"",P=!!d[2],$=!!d[3],k=0,v;return P?$?(v=d[2]+d[3]+d[4],k=d[2].length+d[3].length):(v=d[2]+d[4],k=d[2].length):$?(v=d[3]+d[4],k=d[3].length):v=d[4],g==="file:"?k>=2&&(v=v.slice(2)):O(g)?v=d[4]:g?P&&(v=v.slice(2)):k>=2&&O(m.protocol)&&(v=d[4]),{protocol:g,slashes:P||O(g),slashesCount:k,rest:v}}function x(I,m){if(I==="")return m;for(var d=(m||"/").split("/").slice(0,-1).concat(I.split("/")),g=d.length,P=d[g-1],$=!1,k=0;g--;)d[g]==="."?d.splice(g,1):d[g]===".."?(d.splice(g,1),k++):k&&(g===0&&($=!0),d.splice(g,1),k--);return $&&d.unshift(""),(P==="."||P==="..")&&d.push(""),d.join("/")}function M(I,m,d){if(I=F(I),I=I.replace(N,""),!(this instanceof M))return new M(I,m,d);var g,P,$,k,v,ae,Ee=U.slice(),Oe=typeof m,R=this,we=0;for(Oe!=="object"&&Oe!=="string"&&(d=m,m=null),d&&typeof d!="function"&&(d=t.parse),m=Q(m),P=C(I||"",m),g=!P.protocol&&!P.slashes,R.slashes=P.slashes||g&&m.slashes,R.protocol=P.protocol||m.protocol||"",I=P.rest,(P.protocol==="file:"&&(P.slashesCount!==2||b.test(I))||!P.slashes&&(P.protocol||P.slashesCount<2||!O(R.protocol)))&&(Ee[3]=[/(.*)/,"pathname"]);we<Ee.length;we++){if(k=Ee[we],typeof k=="function"){I=k(I,R);continue}$=k[0],ae=k[1],$!==$?R[ae]=I:typeof $=="string"?(v=$==="@"?I.lastIndexOf($):I.indexOf($),~v&&(typeof k[2]=="number"?(R[ae]=I.slice(0,v),I=I.slice(v+k[2])):(R[ae]=I.slice(v),I=I.slice(0,v)))):(v=$.exec(I))&&(R[ae]=v[1],I=I.slice(0,v.index)),R[ae]=R[ae]||g&&k[3]&&m[ae]||"",k[4]&&(R[ae]=R[ae].toLowerCase())}d&&(R.query=d(R.query)),g&&m.slashes&&R.pathname.charAt(0)!=="/"&&(R.pathname!==""||m.pathname!=="")&&(R.pathname=x(R.pathname,m.pathname)),R.pathname.charAt(0)!=="/"&&O(R.protocol)&&(R.pathname="/"+R.pathname),u(R.port,R.protocol)||(R.host=R.hostname,R.port=""),R.username=R.password="",R.auth&&(v=R.auth.indexOf(":"),~v?(R.username=R.auth.slice(0,v),R.username=encodeURIComponent(decodeURIComponent(R.username)),R.password=R.auth.slice(v+1),R.password=encodeURIComponent(decodeURIComponent(R.password))):R.username=encodeURIComponent(decodeURIComponent(R.auth)),R.auth=R.password?R.username+":"+R.password:R.username),R.origin=R.protocol!=="file:"&&O(R.protocol)&&R.host?R.protocol+"//"+R.host:"null",R.href=R.toString()}function z(I,m,d){var g=this;switch(I){case"query":typeof m=="string"&&m.length&&(m=(d||t.parse)(m)),g[I]=m;break;case"port":g[I]=m,u(m,g.protocol)?m&&(g.host=g.hostname+":"+m):(g.host=g.hostname,g[I]="");break;case"hostname":g[I]=m,g.port&&(m+=":"+g.port),g.host=m;break;case"host":g[I]=m,y.test(m)?(m=m.split(":"),g.port=m.pop(),g.hostname=m.join(":")):(g.hostname=m,g.port="");break;case"protocol":g.protocol=m.toLowerCase(),g.slashes=!d;break;case"pathname":case"hash":if(m){var P=I==="pathname"?"/":"#";g[I]=m.charAt(0)!==P?P+m:m}else g[I]=m;break;case"username":case"password":g[I]=encodeURIComponent(m);break;case"auth":var $=m.indexOf(":");~$?(g.username=m.slice(0,$),g.username=encodeURIComponent(decodeURIComponent(g.username)),g.password=m.slice($+1),g.password=encodeURIComponent(decodeURIComponent(g.password))):g.username=encodeURIComponent(decodeURIComponent(m))}for(var k=0;k<U.length;k++){var v=U[k];v[4]&&(g[v[1]]=g[v[1]].toLowerCase())}return g.auth=g.password?g.username+":"+g.password:g.username,g.origin=g.protocol!=="file:"&&O(g.protocol)&&g.host?g.protocol+"//"+g.host:"null",g.href=g.toString(),g}function H(I){(!I||typeof I!="function")&&(I=t.stringify);var m,d=this,g=d.host,P=d.protocol;P&&P.charAt(P.length-1)!==":"&&(P+=":");var $=P+(d.protocol&&d.slashes||O(d.protocol)?"//":"");return d.username?($+=d.username,d.password&&($+=":"+d.password),$+="@"):d.password?($+=":"+d.password,$+="@"):d.protocol!=="file:"&&O(d.protocol)&&!g&&d.pathname!=="/"&&($+="@"),(g[g.length-1]===":"||y.test(d.hostname)&&!d.port)&&(g+=":"),$+=g+d.pathname,m=typeof d.query=="object"?I(d.query):d.query,m&&($+=m.charAt(0)!=="?"?"?"+m:m),d.hash&&($+=d.hash),$}M.prototype={set:z,toString:H},M.extractProtocol=C,M.location=Q,M.trimLeft=F,M.qs=t,Ce.exports=M},99211:function(Ce,h){"use strict";Object.defineProperty(h,"__esModule",{value:!0});function T(O,C,x){var M;if(x===void 0&&(x={}),!C.codes){C.codes={};for(var z=0;z<C.chars.length;++z)C.codes[C.chars[z]]=z}if(!x.loose&&O.length*C.bits&7)throw new SyntaxError("Invalid padding");for(var H=O.length;O[H-1]==="=";)if(--H,!x.loose&&!((O.length-H)*C.bits&7))throw new SyntaxError("Invalid padding");for(var I=new((M=x.out)!=null?M:Uint8Array)(H*C.bits/8|0),m=0,d=0,g=0,P=0;P<H;++P){var $=C.codes[O[P]];if($===void 0)throw new SyntaxError("Invalid character "+O[P]);d=d<<C.bits|$,m+=C.bits,m>=8&&(m-=8,I[g++]=255&d>>m)}if(m>=C.bits||255&d<<8-m)throw new SyntaxError("Unexpected end of data");return I}function u(O,C,x){x===void 0&&(x={});for(var M=x,z=M.pad,H=z===void 0?!0:z,I=(1<<C.bits)-1,m="",d=0,g=0,P=0;P<O.length;++P)for(g=g<<8|255&O[P],d+=8;d>C.bits;)d-=C.bits,m+=C.chars[I&g>>d];if(d&&(m+=C.chars[I&g<<C.bits-d]),H)for(;m.length*C.bits&7;)m+="=";return m}var t={chars:"0123456789ABCDEF",bits:4},G={chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bits:5},N={chars:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bits:5},K={chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bits:6},y={chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bits:6},c={parse:function(C,x){return T(C.toUpperCase(),t,x)},stringify:function(C,x){return u(C,t,x)}},b={parse:function(C,x){return x===void 0&&(x={}),T(x.loose?C.toUpperCase().replace(/0/g,"O").replace(/1/g,"L").replace(/8/g,"B"):C,G,x)},stringify:function(C,x){return u(C,G,x)}},F={parse:function(C,x){return T(C,N,x)},stringify:function(C,x){return u(C,N,x)}},U={parse:function(C,x){return T(C,K,x)},stringify:function(C,x){return u(C,K,x)}},j={parse:function(C,x){return T(C,y,x)},stringify:function(C,x){return u(C,y,x)}},Q={parse:T,stringify:u};h.base16=c,h.base32=b,h.base32hex=F,h.base64=U,h.base64url=j,h.codec=Q},82671:function(Ce,h,T){"use strict";T.d(h,{ef:function(){return y},gw:function(){return Q},k5:function(){return N}});var u=T(93689);const t=u.WK,G=u.DE,N=u.k5,K=u.Dr,y=u.ef,c=u.GY,b=u.WM,F=u.Kz,U=u.uX,j=u.IK,Q=u.gw,O=u.WU,C=u.G8,x=u.xQ,M=u.D7,z=u.hi,H=u.zU,I=u.dq,m=u.m$,d=u.MU,g=u.ID,P=u.k0,$=u.D4,k=u.kL,v=u.jx,ae=u.A_,Ee=u.v1,Oe=u.TL,R=u.Og,we=u.ft,De=u.KU,Re=u.ZU,$e=u.ye,ze=u.Xj,tr=u.Rn,te=u.bo,re=u.KL,ue=u.rW,le=u.U3,be=u.$Y,Pe=u.EJ,ke=u.XY,Ae=u.v7,fe=u.up,ve=u.h,je=u.Cx,Ne=u.Zz,me=u.CU,_e=u.ib,Ge=u.eT,xe=u._0,ce=u.UR,We=u.Up,nr=u.y0,Ye=u.A2,Le=u.ql,ge=u.FX,he=u.Jr,Ue=u.zS,pe=u.pK,Me=u.ud,n=u.Zk,e=u.Mf,r=u.U0,o=u.CX,a=u.l4,f=u.Jv,p=u.T0,L=u.z8,X=u.Gt,W=u.Fm,Z=u.b4,q=u.N2,He=u.K8,Xe=u.gB,se=u.bd,Er=u.GG,ir=u.V$,or=u.CC,ar=u.dT,wr=u.uT,sr=u._j,ur=u.p4,gr=u.W0,xr=u.zk,Ir=u.AB,Te=u.sn,mr=u._u,Br=u.Py,cr=u.iu,Cr=u.l7,Rr=u.JU,Or=u.O6}}]);
|